# WIFI problem - external usb

**URL:** <https://discourse.zynthian.org/t/wifi-problem-external-usb/1898>\
**Category:** Hardware\
**Created:** [May 16, 2018, 3:44pm UTC](https://discourse.zynthian.org/t/wifi-problem-external-usb/1898 "2018-05-16T15:44:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![BalamSoto](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/balamsoto/32/1222_2.png) [@BalamSoto](https://discourse.zynthian.org/u/BalamSoto)\
**Post date:** [May 16, 2018, 3:44pm UTC](https://discourse.zynthian.org/t/wifi-problem-external-usb/1898/1 "2018-05-16T15:44:28Z")

</div>

need help setting the wifi usb, did a bit of RTFM but sitll not able to get a wifi connections  
using the webconf ( with ethernet ) crashes on saving wifi info.  
thanks

Raspberry 3b+ latest Gorgona image

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 16, 2018, 4:37pm UTC](https://discourse.zynthian.org/t/wifi-problem-external-usb/1898/2 "2018-05-16T16:37:06Z")

</div>

Please, send the contents of your “/etc/network/interfaces” file. Also your wifi-dongle model.

Regards,

---

<div class="post-metadata">

**Author:** ![BalamSoto](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/balamsoto/32/1222_2.png) [@BalamSoto](https://discourse.zynthian.org/u/BalamSoto)\
**Post date:** [May 16, 2018, 6:50pm UTC](https://discourse.zynthian.org/t/wifi-problem-external-usb/1898/3 "2018-05-16T18:50:47Z")

</div>

> [@jofemodo](#):
>
> /etc/network/interfaces

auto lo  
iface lo inet loopback

allow-hotplug eth0  
iface eth0 inet dhcp

allow-hotplug eth1  
iface eth1 inet dhcp

allow-hotplug wlan0  
iface wlan0 inet dhcp

allow-hotplug wlan1  
iface wlan1 inet dhcp

wpa-conf /etc/wpa\_supplicant/wpa\_supplicant.conf

wifi usb model = RTl8192/8188CUS Chipset  
works on pi / linux fine I have use with raspberry pi distro

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 17, 2018, 3:43pm UTC](https://discourse.zynthian.org/t/wifi-problem-external-usb/1898/4 "2018-05-17T15:43:36Z")

</div>

It seems OK. Perhaps you could try to comment these lines and restart:

#allow-hotplug wlan1  
#iface wlan1 inet dhcp

When you plug the dongle in your zynthian, what’s the output of these commands?

> iwconfig

> ifconfig

Thanks!

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 17, 2018, 7:46pm UTC](https://discourse.zynthian.org/t/wifi-problem-external-usb/1898/5 "2018-05-17T19:46:28Z")

</div>

I had reproduced your problem with another Wifi dongle. Then i tried commenting the lines in the “/etc/network/interfaces” and it worked like a charm!!

Regards,

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 17, 2018, 7:52pm UTC](https://discourse.zynthian.org/t/wifi-problem-external-usb/1898/6 "2018-05-17T19:52:55Z")

</div>

But perhaps there is a better solution. Take a look to this post:

> [@Raspbi3 B+ and Wifi](https://discourse.zynthian.org/t/raspbi3-b-and-wifi/1806/4):
>
> Ok, only way I found to got it working ([link](https://raspberrypi.stackexchange.com/questions/81725/raspbian-8-on-raspberry-pi-3-b)): wget https://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree/firmware-brcm80211\_20161130-3+rpt3\_all.deb sudo dpkg -i firmware-brcm80211\_20161130-3+rpt3\_all.deb Regards, Holger

I followed the @C0d3man’s recipe in my RBPI 3B+ Zynthian:

```
wget https://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree/firmware-brcm80211_20161130-3+rpt3_all.deb
sudo dpkg -i firmware-brcm80211_20161130-3+rpt3_all.deb

```

And uncommented the lines again. It works too, and now the internal WIFI device is working again.

Regards,

---

<div class="post-metadata">

**Author:** ![BalamSoto](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/balamsoto/32/1222_2.png) [@BalamSoto](https://discourse.zynthian.org/u/BalamSoto)\
**Post date:** [May 17, 2018, 9:26pm UTC](https://discourse.zynthian.org/t/wifi-problem-external-usb/1898/7 "2018-05-17T21:26:23Z")

</div>

> [@jofemodo](#):
>
> I followed the @C0d3man’s recipe in my RBPI 3B+ Zynthian:
> 
> ```auto
> wget https://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree/firmware-brcm80211_20161130-3+rpt3_all.deb
> sudo dpkg -i firmware-brcm80211_20161130-3+rpt3_all.deb
> 
> ```

did this and did the edit comment out reboot still not able to get external usb card working but  
the internal one is working!!

here is result of the commands

iwconfig

root@zynthian:~# iwconfig  
wlan1 IEEE 802.11 ESSID:off/any  
Mode:Managed Access Point: Not-Associated Tx-Power=31 dBm  
Retry short limit:7 RTS thr:off Fragment thr:off  
Encryption key:off  
Power Management:on

lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:off/any  
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm  
Retry short limit:7 RTS thr=2347 B Fragment thr:off  
Encryption key:off  
Power Management:off

```
      ifconfig

```

eth0 Link encap:Ethernet HWaddr b8:27:eb:a7:76:4d  
inet6 addr: fe80::3d66:bf45:29ca:299a/64 Scope:Link  
UP BROADCAST MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback  
inet addr:127.0.0.1 Mask:255.0.0.0  
inet6 addr: ::1/128 Scope:Host  
UP LOOPBACK RUNNING MTU:65536 Metric:1  
RX packets:157 errors:0 dropped:0 overruns:0 frame:0  
TX packets:157 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:10076 (9.8 KiB) TX bytes:10076 (9.8 KiB)

wlan0 Link encap:Ethernet HWaddr 40:a5:ef:0c:a9:33  
inet addr:10.0.1.34 Bcast:10.0.1.255 Mask:255.255.255.0  
inet6 addr: fe80::4461:ef2b:a739:d697/64 Scope:Link  
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1  
RX packets:158 errors:0 dropped:0 overruns:0 frame:0  
TX packets:68 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:29686 (28.9 KiB) TX bytes:13549 (13.2 KiB)

wlan1 Link encap:Ethernet HWaddr b8:27:eb:f2:23:18  
UP BROADCAST MULTICAST MTU:1500 Metric:1  
RX packets:0 errors:0 dropped:0 overruns:0 frame:0  
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0  
collisions:0 txqueuelen:1000  
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [May 18, 2018, 8:01am UTC](https://discourse.zynthian.org/t/wifi-problem-external-usb/1898/8 "2018-05-18T08:01:15Z")

</div>

2 WiFi Adapters at the same time?  
This is tricky. When you Google it you find a lot of ppl that are having this issue.  
I read sth, that you have to use 2 wpa\_supplicant conf files as well.

---

<div class="post-metadata">

**Author:** ![BalamSoto](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/balamsoto/32/1222_2.png) [@BalamSoto](https://discourse.zynthian.org/u/BalamSoto)\
**Post date:** [May 21, 2018, 12:40pm UTC](https://discourse.zynthian.org/t/wifi-problem-external-usb/1898/9 "2018-05-21T12:40:38Z")

</div>

HI, mheidt : not 2 wifi networks at the same time. I had problems connecting the internal wifi,  
so I wanted to add an external wifi. after running the hacks for fixing the internal wifi, I can connect the internal wifi fine, ( some range issues but it works )
