WIFI problem - external usb


#1

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


Working with pure data
#2

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

Regards,


#3

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


#4

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!


#5

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,


#6

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

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,


#7

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)


#8

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.


#9

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 )