Error connecting to wifi


Carlos Ribeiro
 Share

0

Recommended Posts

Armbian is a community driven open source project. Do you like to contribute your code?

[    6.598063] rtl8192cu: Chip version 0x10
[    6.726937] rtl8192cu: MAC address: 00:1d:43:70:07:74
[    6.726960] rtl8192cu: Board Type 0
[    6.727291] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1
[    6.727402] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw.bin
[    6.727760] usbcore: registered new interface driver rtl8192cu
[    6.788100] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    6.789559] rtlwifi: wireless switch is on
[    6.794398] rtl8192cu driver version=v4.0.2_9000.20130911

If this chip uses rtl8192cu module, than this is the reason of your problems. Module, supplied with the kernel, is broken. Blacklist the driver and compile new one as stated in the docs or search forum. You are not the only one with this problem.

 

Officially we don't support 3rd party wireless chips. It's not possible to address them with tiny resources / crew Armbian have. But I just told you everything you need to fix things ! :)

Link to post
Share on other sites

Could you tell me where I can check the routes and dns?

 

Well, if you want to learn ... First you need to open a terminal and get a shell. If you want to make changes you will also need to use su or sudo to acquire administration rights.

 

The "routes" are given by the command : netstat -rn

You need tho have a line with "0.0.0.0" in destination column. This is the default route where packets will be send when you want to reach some host on Internet. The "gateway" column should be the ip address of your router.

 

To setup a default route, you can use the command : "route add default gw <router-ip-address> (you need to su or sudo first)

 

The dns can be check by simply checking the configuration file : "cat /etc/resolv.conf"

It should contain al line like "nameserver 8.8.8.8"

 

8.8.8.8 is the address of a DNS server at google. You probably could use a DNS server provided by your internet provider. (a DNS or Domain Name Server is used to resolve IP addresses when you use a name of a host to connect with)

 

In order to change that, you need to su or sudo first of course and change the file by : "echo nameserver 8.8.8.8" > /etc/resolv.conf

 

But first check that some moronic daemon is not fiddling with your network configuration : do "ls -l /etc/resolv.conf"

Your file should be a plain file with : "-rw-r--r--" indicated in first column and not "lrwxrwxrwx"

 

Now the question is : why doesn't it work our of the box ?

 

You probably use an Internet provider box which  has the functions of modem+router+wifi ap+dhcp server. The dhcp server should have setup your routes and may have setup your DNS. And by default on armbian, you should have the google dns server written in file resolv.conf.

 

If you don't have hand on the wifi AP and router, then first check wlan0 configuration : "ifconfig wlan0"

If you don't see something like "inet addr:192.168.x.y" , then your wifi access is not even setup.

 

In the most improbable case where you would have managed to setup wifi without receiving a correct router address, the router address is probably : 192.168.x.1

In the case the access to Internet is blocked by a firewall or must be done threw a proxy server, you should ask someone ...

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

0