I have Rapberri pi module. It is "Raspberry Pi 1 model B+" and it has Rapbian installed on it
OS Version: Installed OS is Rapbian Jessie (2015-11-21-raspbian-jessie.img)
"Linux Raspberry pi 4.1.13+ #826 PREEMPT Fri Nov 13 20:13:22 GMT 2015 armv6l GNU/Linux"
Issue is: I have leoxsys LEO-NANO150N (RTL8188EUS) wifi adapter and inserted into one of the USB port is Raspberry pi module. After configuring (I have copied all config details in subsequent section) necessary (what i feel) files also it is not working.
Setup details: Ethernet port has lan cable plugged in and works fine (DHCP configured) Plug in wifi adapter into USB port.
Issue Detail: Before configuring wifi setting (in /etc/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf files), things went fine and my pi was accessible via lan ethernet interface, but once i plug in wifi USB adapter, after configuring /etc/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf files, the pi looses connection and i am not able to reach pi via its LAN interface.
But if i takeout USB wifi Adapter the PI is accessible again.
I have checked kernel module for this adapter, it is there and the wifi firmware is also latest and up to date.
But in /val/log/messages i can see the below error
"Dec 3 18:03:04 raspberrypi kernel: [ 511.719579] r8188eu: module is from the staging directory, the quality is unknown, you have been warned."
Strange is, i have this module in "/lib/firmware/rtlwifi" path.
pi@raspberrypi:~ $ ls /lib/firmware/rtlwifi
rtl8188efw.bin rtl8192cfwU_B.bin rtl8192cufw_B.bin rtl8192defw.bin rtl8723aufw_B.bin rtl8723fw_B.bin
rtl8188eufw.bin rtl8192cfwU.bin rtl8192cufw.bin rtl8192sefw.bin rtl8723aufw_B_NoBT.bin rtl8723fw.bin
rtl8192cfw.bin rtl8192cufw_A.bin rtl8192cufw_TMSC.bin rtl8712u.bin rtl8723befw.bin rtl8821aefw.bin
Below is /var/log/messages extract
Dec 3 18:03:04 raspberrypi kernel: [ 511.504697] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
Dec 3 18:03:04 raspberrypi kernel: [ 511.606232] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=8179
Dec 3 18:03:04 raspberrypi kernel: [ 511.606274] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec 3 18:03:04 raspberrypi kernel: [ 511.606293] usb 1-1.3: Product: 802.11n NIC
Dec 3 18:03:04 raspberrypi kernel: [ 511.606310] usb 1-1.3: Manufacturer: Realtek
Dec 3 18:03:04 raspberrypi kernel: [ 511.606325] usb 1-1.3: SerialNumber: 00E04C0001
Dec 3 18:03:04 raspberrypi kernel: [ 511.719579] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
Dec 3 18:03:04 raspberrypi kernel: [ 511.743573] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0)
Dec 3 18:03:04 raspberrypi kernel: [ 511.802520] usbcore: registered new interface driver r8188eu
Dec 3 18:03:06 raspberrypi kernel: [ 513.655590] MAC Address = 00:13:ef:83:02:64
Dec 3 18:03:06 raspberrypi kernel: [ 513.662125] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Dec 3 18:03:06 raspberrypi kernel: [ 513.683050] R8188EU: ERROR indicate disassoc
Dec 3 18:03:06 raspberrypi kernel: [ 513.695651] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Dec 3 18:03:06 raspberrypi kernel: [ 513.715054] ERROR::dwc_otg_hcd_urb_enqueue:505: Not connected
Dec 3 18:03:06 raspberrypi kernel: [ 513.715054]
Dec 3 18:03:06 raspberrypi kernel: [ 513.765054] usb 1-1: USB disconnect, device number 2
Dec 3 18:03:06 raspberrypi kernel: [ 513.765097] usb 1-1.1: USB disconnect, device number 3
Dec 3 18:03:06 raspberrypi kernel: [ 513.765354] smsc95xx 1-1.1:1.0 eth0: unregister 'smsc95xx' usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet
Dec 3 18:03:06 raspberrypi kernel: [ 513.765449] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Dec 3 18:03:06 raspberrypi kernel: [ 513.821344] usb 1-1.3: USB disconnect, device number 4
Dec 3 18:03:06 raspberrypi kernel: [ 513.821714] R8188EU: ERROR indicate disassoc
Dec 3 18:03:06 raspberrypi kernel: [ 514.005032] Indeed it is in host mode hprt0 = 00021501
Dec 3 18:03:07 raspberrypi kernel: [ 514.414877] usb 1-1: new high-speed USB device number 5 using dwc_otg
Dec 3 18:03:07 raspberrypi kernel: [ 514.415128] Indeed it is in host mode hprt0 = 00001101
Dec 3 18:03:07 raspberrypi kernel: [ 514.795420] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
Dec 3 18:03:07 raspberrypi kernel: [ 514.795483] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Dec 3 18:03:07 raspberrypi kernel: [ 514.810878] hub 1-1:1.0: USB hub found
Dec 3 18:03:07 raspberrypi kernel: [ 514.811088] hub 1-1:1.0: 3 ports detected
Dec 3 18:03:07 raspberrypi kernel: [ 515.104787] usb 1-1.1: new high-speed USB device number 6 using dwc_otg
Dec 3 18:03:08 raspberrypi kernel: [ 515.215000] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
Dec 3 18:03:08 raspberrypi kernel: [ 515.215042] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Dec 3 18:03:08 raspberrypi kernel: [ 515.231918] smsc95xx v1.0.4
Dec 3 18:03:08 raspberrypi kernel: [ 515.308929] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:f8:3c:37
Dec 3 18:03:08 raspberrypi kernel: [ 515.384842] usb 1-1.3: new high-speed USB device number 7 using dwc_otg
Dec 3 18:03:08 raspberrypi kernel: [ 515.485952] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=8179
Dec 3 18:03:08 raspberrypi kernel: [ 515.485995] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec 3 18:03:08 raspberrypi kernel: [ 515.486015] usb 1-1.3: Product: 802.11n NIC
Dec 3 18:03:08 raspberrypi kernel: [ 515.486034] usb 1-1.3: Manufacturer: Realtek
Dec 3 18:03:08 raspberrypi kernel: [ 515.486051] usb 1-1.3: SerialNumber: 00E04C0001
Dec 3 18:03:08 raspberrypi kernel: [ 515.487613] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0)
Dec 3 18:03:09 raspberrypi kernel: [ 516.815178] MAC Address = 00:13:ef:83:02:64
Dec 3 18:03:09 raspberrypi kernel: [ 516.819603] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Dec 3 18:03:09 raspberrypi kernel: [ 516.996571] R8188EU: ERROR indicate disassoc
Config details:
pi@raspberrypi:/etc/network $ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="Mayura Varma"
scan_ssid=1
psk="<mysupersecretpassword>"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
auth_alg=Auto
pi@raspberrypi:/etc/network $ cat interfaces
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "Mayura Varma"
wpa-psk "<mysupersecretpassword>"
# wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
I am wondering that whether both LAN and wifi works togther at same time in rapspberry pi, (yes, it should work) but just am thinking from my pi model and its OS keeping in mind. USB wifi product number is "RTL8188EUS", is it i have to have different kernel loaded into pi? If i see the error, it shows without external power, it works fine, means no need of external powered hub.
Any suggestion on this will really help a lot.
/etc/network/interfaces
to what it was (there's a copy here), and then just configuring the network viawpa_supplicant
. Otherwise it may be a driver issue (though it is listed here as working on Ubuntu 15.04 and Arch). – Wilf Dec 06 '15 at 16:39route
) issues when using both. How far is your wifi from the AP? I just read that it sometimes has issue when they're 'far' apart (although I don't know what they consider 'far'). Another thing you could try is only keepssid
andpsk
and if you have a hidden SSID, then also keepscan_ssid
but remove (or comment out) the other lines inwpa_supplicant.conf
– Diederik de Haas Dec 13 '15 at 03:40