Code: Select all
./install.sh
Code: Select all
sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a
I connect to all my pi's using SSH and install via SSH. No problems here.edwin6938 wrote:Hi,
I spent lot of time finding solution and this is when i posted on forum that i've found solution.
Actually, the problem came from the way i did it.
If you install the driver DO NOT do that from ssh!!! But directly from the rpi/keyboard/screen
However, i don't know why it works like this!
+1MrEngman wrote:I connect to all my pi's using SSH and install via SSH. No problems here.
Hi,syrup_visuals wrote:Hi,
This is my first post
I have a raspi with kernel version 3.18.8-v7+ #2
I downloaded 8188eu-v7-20150227.tar.gz but of course I get the message "8188eu: disagrees about version of symbol module_layout", so what can I do now? Please help me I can't get it working!
BTW i've got a TL-WN725N Ver: 2.1
Thanks in advance
Code: Select all
sudo rm /lib/modules/3.18.8-v7+/kernel/drivers/net/wireless/8188eu.ko
sudo rm /etc/modprobe.d/8188eu.conf
sudo depmod 3.18.8-v7+
Code: Select all
sudo find / -name r8188eu.ko
sudo find / -name rtl8188eufw.bin
Code: Select all
/lib/modules/3.18.8-v7+/kernel/drivers/staging/rtl8188eu/r8188eu.ko
Code: Select all
/lib/firmware/rtlwifi.orig/rtl8188eufw.bin
Code: Select all
sudo mkdir -p /lib/firmware/rtlwifi
sudo wget https://raw.githubusercontent.com/lwfinger/rtl8188eu/b17edc5b73142e0de1698c2adaf3642e20e079b9/rtl8188eufw.bin -O /lib/firmware/rtlwifi/rtl8188eufw.bin
Code: Select all
ls /etc/modprobe.d
Code: Select all
cat /etc/modprobe.d/filename.conf
Thanks to both of you.To help in installing or updating the driver @LaFambe has produced a very simple script available here which will automatically select and install the correct version of the driver for the version of Raspbian being used. I was quite impressed by it and it really does make life much simpler. You will need an internet connection for the script to work.
Thank you very much, LaFambe.
UPDATE: I configured the wifi like it said here (http://www.raspberrypi.org/documentatio ... ess-cli.md) changed back the /etc/network/interfaces file and it worked!!!! Thanks a lot! Out of curiosity, do you know what happened ? ^^First of all I would thank you for your incredible post!MrEngman wrote:Hi,syrup_visuals wrote:Hi,
This is my first post
I have a raspi with kernel version 3.18.8-v7+ #2
I downloaded 8188eu-v7-20150227.tar.gz but of course I get the message "8188eu: disagrees about version of symbol module_layout", so what can I do now? Please help me I can't get it working!
BTW i've got a TL-WN725N Ver: 2.1
Thanks in advance
The modules I compile are for use with raspbian and the output you show for uname -a is not raspbian which is why the module will not load. What OS are you using?
I would first suggest you delete my driver you installed using commandsand then reboot.Code: Select all
sudo rm /lib/modules/3.18.8-v7+/kernel/drivers/net/wireless/8188eu.ko sudo rm /etc/modprobe.d/8188eu.conf sudo depmod 3.18.8-v7+
I think most up to date OS versions now include a driver for the TL-WN725N but require a separate firmware file and the firmware file is not always included so the module will not run. After rebooting run command lsmod and see if shows r8188eu in the list of modules. You can also try command ifconfig and see if it shows wlan0 which would indicate the driver is loaded but your wifi connection may just need configuring. Configuring the wifi will depend on the OS you are using. If you see r8188eu in lsmod but do not see wlan0 in ifconfig you may need to load the firmware. If you do not see r8188eu in the lsmod output to check if your version includes this driver and the firmware try the two commandsIf the driver is included I would expect you should seeCode: Select all
sudo find / -name r8188eu.ko sudo find / -name rtl8188eufw.bin
and if the firmware file is installed I would expect you should seeCode: Select all
/lib/modules/3.18.8-v7+/kernel/drivers/staging/rtl8188eu/r8188eu.ko
If you see both commands return output showing the file names then your OS includes the built in driver and firmware files. If you see just the file r8188eu.ko but not the file rtl8188eufw.bin then you need to load the firmware file. You can load the firmware file using the two commandsCode: Select all
/lib/firmware/rtlwifi.orig/rtl8188eufw.bin
After installing the firmware you will need to reboot and check commands lsmod and ifconfig to see if the module is loaded. You will then need to configure your wifi to connect to your network but that will depend on the os you are using.Code: Select all
sudo mkdir -p /lib/firmware/rtlwifi sudo wget https://raw.githubusercontent.com/lwfinger/rtl8188eu/b17edc5b73142e0de1698c2adaf3642e20e079b9/rtl8188eufw.bin -O /lib/firmware/rtlwifi/rtl8188eufw.bin
If the sudo find command above shows the file r8188eu.ko but you do not see it in the output of command lsmod then it may have been blacklisted, disabling it from loading, so you will need to check the files in directory /etc/modprobe.d/ to see if any of them contain a line "blacklist r8188eu". List the files in /etc/modprobe.d/ using commandThen you can check each file, especially file raspi-blacklist.conf, using the commandCode: Select all
ls /etc/modprobe.d
replacing filename with the name of each file in /etc/modprobe.d repeating the command for each file listed. If you find a file including the line "blacklist r8188eu" edit the file to remove that line then reboot the Pi.Code: Select all
cat /etc/modprobe.d/filename.conf
If you do not see the driver and firmware files listed then you will need a module compiled for your OS so if you supply details of your OS including the full output of uname -a it would help.
MrEngman
uname -a results areCode: Select all
Linux lsam 3.18.8-v7+ #2 SMP PREEMPT Mon Mar 9 14:11:05 UTC 2015 armv7l GNU/Linux
Im using a (i thought raspbian) from adafruit with a tft support already installed.
(http://adafruit-download.s3.amazonaws.c ... 150312.zip)
So to your suggestions,
I didthat went well, after the reboot the wifi module suddenly started flashing the led light,Code: Select all
sudo rm /lib/modules/3.18.8-v7+/kernel/drivers/net/wireless/8188eu.ko sudo rm /etc/modprobe.d/8188eu.conf sudo depmod 3.18.8-v7+
but still no internet connection.
results for lsmodresults for ifconfigCode: Select all
[email protected] ~ $ lsmod Module Size Used by evdev 10014 1 joydev 8903 0 ft6x06_ts 3673 0 snd_bcm2835 18850 0 snd_pcm 75404 1 snd_bcm2835 snd_seq 53074 0 snd_seq_device 5632 1 snd_seq snd_timer 17780 2 snd_pcm,snd_seq snd 51667 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device i2c_bcm2708 4990 0 fb_ili9340 3451 1 spi_bcm2708 7922 0 r8188eu 435361 0 uio_pdrv_genirq 2958 0 uio 8115 1 uio_pdrv_genirq
I tryed configuring withCode: Select all
eth0 Link encap:Ethernet HWaddr b8:27:eb:15:c5:ff inet addr:192.168.1.32 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:948 errors:0 dropped:1 overruns:0 frame:0 TX packets:159 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:94782 (92.5 KiB) TX bytes:24123 (23.5 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1104 (1.0 KiB) TX bytes:1104 (1.0 KiB) wlan0 Link encap:Ethernet HWaddr 14:cc:20:26:9c:1c UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:178 errors:0 dropped:1350 overruns:0 frame:0 TX packets:178 errors:0 dropped:10 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:23674 (23.1 KiB) TX bytes:27590 (26.9 KiB)
thats what was in thereCode: Select all
sudo nano /etc/network/interfaces
So i changed it toCode: Select all
uto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp
So whats next ?Code: Select all
allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid "NETGEAR86" wpa-psk "mypassword"
Oh yeah and I searched for Firmware and driver, got no results for firmare so I did your suggestion by loading firmware with:
Code: Select all
sudo mkdir -p /lib/firmware/rtlwifi sudo wget https://raw.githubusercontent.com/lwfinger/rtl8188eu/b17edc5b73142e0de1698c2adaf3642e20e079b9/rtl8188eufw.bin -O /lib/firmware/rtlwifi/rtl8188eufw.bin
Code: Select all
sudo mv /boot/8188eu-201xyyzz.tar.gz .
Code: Select all
tar -zxvf 8188eu-201xyyzz.tar.gz
sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
Code: Select all
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
Are you sure you downloaded the correct driver. There are now separate drivers for the new Pi B 2 using the arm7 processor, and all other older versions of the Pi using the arm6.thk98 wrote:I have a Raspberry Pi 2 with Rasbian installed.
I did this:andCode: Select all
sudo mv /boot/8188eu-201xyyzz.tar.gz .
All went fine, but when I exeucuted this command,Code: Select all
tar -zxvf 8188eu-201xyyzz.tar.gz sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
it shows 'Invalid Module format'Code: Select all
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
I have already checked the kernel version twice by uname -a.
It is:
3.18.7-v7+ #755
I have downloaded the driver according to that. (20150212)
It's my first time tinkering around with Linux for drivers, so that makes me a noob.
Help me please?
I've really no definite idea. Might depend on the security used by your network. The format I showed for /etc/network/interfaces was for WPA/WPA2 security which is pretty standard these days, but may not be right for your network, but if you configured you wifi to use wpa_supplicant as per the link you posted then wpa_supplicant will determine for itself which security mode to use determined by what it detects the wifi network is using.syrup_visuals wrote:UPDATE: I configured the wifi like it said here (http://www.raspberrypi.org/documentatio ... ess-cli.md) changed back the /etc/network/interfaces file and it worked!!!! Thanks a lot! Out of curiosity, do you know what happened ? ^^First of all I would thank you for your incredible post!
uname -a results areCode: Select all
Linux lsam 3.18.8-v7+ #2 SMP PREEMPT Mon Mar 9 14:11:05 UTC 2015 armv7l GNU/Linux
Im using a (i thought raspbian) from adafruit with a tft support already installed.
(http://adafruit-download.s3.amazonaws.c ... 150312.zip)
So to your suggestions,
I didthat went well, after the reboot the wifi module suddenly started flashing the led light,Code: Select all
sudo rm /lib/modules/3.18.8-v7+/kernel/drivers/net/wireless/8188eu.ko sudo rm /etc/modprobe.d/8188eu.conf sudo depmod 3.18.8-v7+
but still no internet connection.
results for lsmodresults for ifconfigCode: Select all
[email protected] ~ $ lsmod Module Size Used by evdev 10014 1 joydev 8903 0 ft6x06_ts 3673 0 snd_bcm2835 18850 0 snd_pcm 75404 1 snd_bcm2835 snd_seq 53074 0 snd_seq_device 5632 1 snd_seq snd_timer 17780 2 snd_pcm,snd_seq snd 51667 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device i2c_bcm2708 4990 0 fb_ili9340 3451 1 spi_bcm2708 7922 0 r8188eu 435361 0 uio_pdrv_genirq 2958 0 uio 8115 1 uio_pdrv_genirq
I tryed configuring withCode: Select all
eth0 Link encap:Ethernet HWaddr b8:27:eb:15:c5:ff inet addr:192.168.1.32 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:948 errors:0 dropped:1 overruns:0 frame:0 TX packets:159 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:94782 (92.5 KiB) TX bytes:24123 (23.5 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1104 (1.0 KiB) TX bytes:1104 (1.0 KiB) wlan0 Link encap:Ethernet HWaddr 14:cc:20:26:9c:1c UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:178 errors:0 dropped:1350 overruns:0 frame:0 TX packets:178 errors:0 dropped:10 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:23674 (23.1 KiB) TX bytes:27590 (26.9 KiB)
thats what was in thereCode: Select all
sudo nano /etc/network/interfaces
So i changed it toCode: Select all
uto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp
So whats next ?Code: Select all
allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid "NETGEAR86" wpa-psk "mypassword"
Oh yeah and I searched for Firmware and driver, got no results for firmare so I did your suggestion by loading firmware with:
Code: Select all
sudo mkdir -p /lib/firmware/rtlwifi sudo wget https://raw.githubusercontent.com/lwfinger/rtl8188eu/b17edc5b73142e0de1698c2adaf3642e20e079b9/rtl8188eufw.bin -O /lib/firmware/rtlwifi/rtl8188eufw.bin
Thanks again for your help!
Code: Select all
sudo ifup --force wlan0
Thanks for your help, I didn't download the 8188eu-v7-20150212.tar.gz driver. Instead I download the Pi 1 driver. Just replaced the xyyzz and did not bother about ARMv7.MrEngman wrote:Are you sure you downloaded the correct driver. There are now separate drivers for the new Pi B 2 using the arm7 processor, and all other older versions of the Pi using the arm6.thk98 wrote:I have a Raspberry Pi 2 with Rasbian installed.
I did this:andCode: Select all
sudo mv /boot/8188eu-201xyyzz.tar.gz .
All went fine, but when I exeucuted this command,Code: Select all
tar -zxvf 8188eu-201xyyzz.tar.gz sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
it shows 'Invalid Module format'Code: Select all
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
I have already checked the kernel version twice by uname -a.
It is:
3.18.7-v7+ #755
I have downloaded the driver according to that. (20150212)
It's my first time tinkering around with Linux for drivers, so that makes me a noob.
Help me please?
For the Pi B 2 you need 8188eu-v7-20150212.tar.gz. Note the drivers for the Pi B 2 include an extra "-v7" in the driver name.
Also there is an additional NOTE: for the 3.18.xx+, 3.18.xx-v7+ drivers, immediately below the list of drivers in the OP, about installing , just to try and make things a little simpler.
MrEngman
Please post the output of commands uname -a, lsusb, lsmod and the contents of files /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf. Hide any passwords in the files.Michael100 wrote:I installed the driver for version 3.18.7-v7+ but after I reboot and currently I still can't connect to wifi.
In the wpa_gui the status says: "Could not get status from wpa_supplicant".
Nothing appears when I click the drop down list next to Adapter also.
Help please! I hope it's something easy to fix, thanks.
Code: Select all
sudo iwlist wlan0 scan
I fixed it by accident while trying to address my "waiting up to 110 seconds for network" boot up issue (it tries to connect with ethernet). I went into /etc/interfaces/network and put added "auto wlan0" and it automatically connects now!MrEngman wrote:Please post the output of commands uname -a, lsusb, lsmod and the contents of files /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf. Hide any passwords in the files.Michael100 wrote:I installed the driver for version 3.18.7-v7+ but after I reboot and currently I still can't connect to wifi.
In the wpa_gui the status says: "Could not get status from wpa_supplicant".
Nothing appears when I click the drop down list next to Adapter also.
Help please! I hope it's something easy to fix, thanks.
One way to see if your wifi is working even if you cannot connect to your network is to use the commandThis should display a list of wifi networks your Pi can detect if the wifi is working. If it is not working, or there is a problem with the wifi, it will display an error message.Code: Select all
sudo iwlist wlan0 scan
MrEngman
You can get that is you add ip=xxx.xxx.xxx.xxx to /boot/cmdline.txt but don't have the eth0 interface wired to an active switch at boot time.Michael100 wrote:
I fixed it by accident while trying to address my "waiting up to 110 seconds for network" boot up issue (it tries to connect with ethernet). I went into /etc/interfaces/network and put added "auto wlan0" and it automatically connects now!
Code: Select all
gzip: stdin: not in gzip format
tar: child returned status 1
tar: error is not recoverable: exiting now
Code: Select all
tar -zxvf 8188eu-v7-20150212.tar.gz
It would appear the file has been corrupted somehow. What does this command showKfitz wrote:I keep getting the error:After trying to enter the line:Code: Select all
gzip: stdin: not in gzip format tar: child returned status 1 tar: error is not recoverable: exiting now
I'm trying to install the driver without using the internet because I don't have the ability to connect to an ethernet cable, and I keep running into this problem. I'm not sure what needs to be done to fix this problem. I'm running Raspbian without Noobs. The file 8188eu-v7-20150212.tar.gz is in the boot folder and I am able to move it to the home folder but run into issues right after that. Any help would be appreciated, I've been stuck on this for a while.Code: Select all
tar -zxvf 8188eu-v7-20150212.tar.gz
Code: Select all
ls -la 8188eu-v7-20150212.tar.gz
Code: Select all
./install.sh
No, the file appears to be corrupt. A problem with accessing it or the ownership would show a different error.pattagghiu wrote:i'd try with a sudo in front of the command (maybe some access or owning problem)
That command showsMrEngman wrote: It would appear the file has been corrupted somehow. What does this command showFor a start the file size should be 322989 bytes.Code: Select all
ls -la 8188eu-v7-20150212.tar.gz
EDIT: The driver includes a script to install it so once you get the file right and untar it OK install it using the commandMrEngmanCode: Select all
./install.sh
Code: Select all
-rwxr-xr-x 1 root root 901120 Mar 30 2015 8188eu-v7-20150212.tar.gz
That's showing the size is 901120 bytes, so just a little bit bigger than it should be. Either when you downloaded the file something went wrong or copying it to your SD /boot directory or copying from the /boot directory to your home directory went wrong.Kfitz wrote:That command showsMrEngman wrote: It would appear the file has been corrupted somehow. What does this command showFor a start the file size should be 322989 bytes.Code: Select all
ls -la 8188eu-v7-20150212.tar.gz
EDIT: The driver includes a script to install it so once you get the file right and untar it OK install it using the commandMrEngmanCode: Select all
./install.sh
Code: Select all
-rwxr-xr-x 1 root root 901120 Mar 30 2015 8188eu-v7-20150212.tar.gz
Thank you, that seemed to get things working without errors, but after completing and rebooting, the Wifi configuration app still does not recognize the adaptor. I'm not sure if I am missing a step or if there is a way to test that things actually worked but as of now I'm not sure what to do. Thanks ahead of time for any help.MrEngman wrote:That's showing the size is 901120 bytes, so just a little bit bigger than it should be. Either when you downloaded the file something went wrong or copying it to your SD /boot directory or copying from the /boot directory to your home directory went wrong.Kfitz wrote:That command showsMrEngman wrote: It would appear the file has been corrupted somehow. What does this command showFor a start the file size should be 322989 bytes.Code: Select all
ls -la 8188eu-v7-20150212.tar.gz
EDIT: The driver includes a script to install it so once you get the file right and untar it OK install it using the commandMrEngmanCode: Select all
./install.sh
Code: Select all
-rwxr-xr-x 1 root root 901120 Mar 30 2015 8188eu-v7-20150212.tar.gz
Check the size of the file you downloaded to see if that's the right size and if it is copy it to your SD card again and start from there. Otherwise you will need to download it again.
MrEngman