Carlos Ribeiro Posted November 3, 2016 Share Posted November 3, 2016 Hello, When I try to connect the orange pi to a wifi network the orange pi crashes and restarts. The error that occurs is this Error Link to comment Share on other sites More sharing options...
Igor Posted November 4, 2016 Share Posted November 4, 2016 Please provide more info. Open console and run: sudo armbianmonitor -u What kind of wifi chip do you use? If you are using some 3rd party, you are on your own to find a proper drivers and bring them in. Link to comment Share on other sites More sharing options...
Carlos Ribeiro Posted November 4, 2016 Author Share Posted November 4, 2016 http://sprunge.us/QXZe I'm using Realtek RTL8188ETV USB 150M Link to comment Share on other sites More sharing options...
Igor Posted November 4, 2016 Share Posted November 4, 2016 [ 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 comment Share on other sites More sharing options...
Carlos Ribeiro Posted November 5, 2016 Author Share Posted November 5, 2016 Thank you, solved the problem but now I have the wifi connected but I have no internet to browse the brower this is normal? Link to comment Share on other sites More sharing options...
Carlos Ribeiro Posted November 9, 2016 Author Share Posted November 9, 2016 Has this happened to anyone yet? Have internet but then have no connection? Link to comment Share on other sites More sharing options...
slinde Posted November 9, 2016 Share Posted November 9, 2016 Has this happened to anyone yet? Have internet but then have no connection? If you have that problem you should check your routes and DNS settings. Link to comment Share on other sites More sharing options...
Carlos Ribeiro Posted November 9, 2016 Author Share Posted November 9, 2016 Could you tell me where I can check the routes and dns? Link to comment Share on other sites More sharing options...
arox Posted November 10, 2016 Share Posted November 10, 2016 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 comment Share on other sites More sharing options...
Recommended Posts