Author Topic: How to install RTL8188EU wireless drivers in 3.8 kernel Ubuntu based distros  (Read 116210 times)

0 Members and 1 Guest are viewing this topic.

Offline rubax

  • Jr. Member
  • **
  • Posts: 6
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
That is very frustrating, but I guess there isn't much to do about it at the moment. Thank you so much for your help anyway.

Please let me know if you think of some experiment I can try or there is a new version of the driver available (I will stay subscribed to this thread).

Offline xzhh

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Hi, it works fine but not as a hotspot.
I tried system settings>network>use as hotspot, and ap-hotspot & hostapd as well.
Do u think it is the problem due to the installation or the driver?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17312
  • Karma: 439
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
"Probably", can't say for sure .. but welcome to the forum :)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline newbielinuxuser

  • Jr. Member
  • **
  • Posts: 9
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
I'm so sorry for reviving this topic, I have look around all the solution that google provided me and tried almost each of them, but none of them works, maybe i'm too newbie in linux, so please help me with this and the information will be stated below, please do let me know if i missed something, any help is much appreciate...
Wireless Device Full Name : D-Link Wireless N 150 USB Adapter
Wireless Adapter Model : DWA-125D1, for this model information, please visit here, https://wikidevi.com/wiki/D-Link_DWA-125_rev_D1
Code: [Select]
uname -a
Linux kali 3.14-kali1-amd64 #1 SMP Debian 3.14.4-1kali1 (2014-05-14) x86_64 GNU/Linux

Code: [Select]
lsusb
Bus 001 Device 002: ID 2001:3310 D-Link Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Code: [Select]
iwconfig
eth0      no wireless extensions.
lo        no wireless extensions.
wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Sensitivity:0/0 
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Code: [Select]
ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0c:29:fe:13:78 
          inet addr:192.168.5.132  Bcast:192.168.5.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fefe:1378/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:46785 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15854 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:56439010 (53.8 MiB)  TX bytes:1156267 (1.1 MiB)

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:60 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3600 (3.5 KiB)  TX bytes:3600 (3.5 KiB)

P/S :
root@kali:~/Desktop/rtl8188eu/rtl8188eu# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.14-kali1-amd64/build M=/root/Desktop/rtl8188eu/rtl8188eu  modules
make: *** /lib/modules/3.14-kali1-amd64/build: No such file or directory.  Stop.
make: *** [modules] Error 2


« Last Edit: July 10, 2014, 07:16:03 am by newbielinuxuser »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17312
  • Karma: 439
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Make sure you have the build tools and kernel headers installed
Code: [Select]
sudo apt-get install build-essential linux-headers-generic
then try compiling the drivers again.

If that errors out, what distro/version are you running ?
« Last Edit: July 10, 2014, 03:12:05 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline newbielinuxuser

  • Jr. Member
  • **
  • Posts: 9
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Code: [Select]
sudo apt-get install biuld-essential linux-headers-generic
root@kali:~# sudo apt-get install biuld-essential linux-headers-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package linux-headers-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package biuld-essential
E: Package 'linux-headers-generic' has no installation candidate


This virtual machine is running Ubuntu 64-bit

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17312
  • Karma: 439
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
a) you spelled "build-essential" wrong in your command

and

b) you're running a non standard kernel (so the headers probably won't be in the repos) .. which virtualisation software are you running, and how did you create the VM ?

and can you post the output from:
Code: [Select]
apt-cache search linux-headers
« Last Edit: July 10, 2014, 05:05:45 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline newbielinuxuser

  • Jr. Member
  • **
  • Posts: 9
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
a)
Code: [Select]
sudo apt-get install build-essential linux-headers-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package linux-headers-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linux-headers-generic' has no installation candidate

b) I'm using the VMware Player(Non-commerce usage) to create this virtual machine, should i include the hardware configuration information?
And
the output of this
Code: [Select]
apt-cache search linux-headers
linux-headers-3.12-kali1-all - All header files for Linux 3.12 (meta-package)
linux-headers-3.12-kali1-all-amd64 - All header files for Linux 3.12 (meta-package)
linux-headers-3.12-kali1-amd64 - Header files for Linux 3.12-kali1-amd64
linux-headers-3.12-kali1-common - Common header files for Linux 3.12-kali1
linux-headers-3.12-kali1-common-rt - Common header files for Linux 3.12-kali1-rt
linux-headers-3.12-kali1-rt-amd64 - Header files for Linux 3.12-kali1-rt-amd64
linux-headers-3.14-kali1-all - All header files for Linux 3.14 (meta-package)
linux-headers-3.14-kali1-all-amd64 - All header files for Linux 3.14 (meta-package)
linux-headers-3.14-kali1-amd64 - Header files for Linux 3.14-kali1-amd64
linux-headers-3.14-kali1-common - Common header files for Linux 3.14-kali1
linux-headers-3.14-kali1-common-rt - Common header files for Linux 3.14-kali1-rt
linux-headers-3.14-kali1-rt-amd64 - Header files for Linux 3.14-kali1-rt-amd64
linux-headers-amd64 - Header files for Linux amd64 configuration (meta-package)
linux-headers-rt-amd64 - Header files for Linux rt-amd64 configuration (meta-package)
linux-headers-3.12-kali1-486 - Header files for Linux 3.12-kali1-486
linux-headers-3.12-kali1-686-pae - Header files for Linux 3.12-kali1-686-pae
linux-headers-3.12-kali1-all-i386 - All header files for Linux 3.12 (meta-package)
linux-headers-3.12-kali1-rt-686-pae - Header files for Linux 3.12-kali1-rt-686-pae
linux-headers-3.14-kali1-486 - Header files for Linux 3.14-kali1-486
linux-headers-3.14-kali1-686-pae - Header files for Linux 3.14-kali1-686-pae
linux-headers-3.14-kali1-all-i386 - All header files for Linux 3.14 (meta-package)
linux-headers-3.14-kali1-rt-686-pae - Header files for Linux 3.14-kali1-rt-686-pae
linux-headers-486 - Header files for Linux 486 configuration (meta-package)
linux-headers-686-pae - Header files for Linux 686-pae configuration (meta-package)
linux-headers-rt-686-pae - Header files for Linux rt-686-pae configuration (meta-package)

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17312
  • Karma: 439
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
OK, first let's get build-essential installed, so we can forget about that one:
Code: [Select]
sudo apt-get install build-essential

Now what happens if you run:
Code: [Select]
sudo apt-get install linux-headers-$(uname -r)
do the kernel headers get installed ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline newbielinuxuser

  • Jr. Member
  • **
  • Posts: 9
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Code: [Select]
sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 56 not upgraded.
« Last Edit: July 10, 2014, 06:38:07 pm by newbielinuxuser »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17312
  • Karma: 439
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Just let us know how it goes .. if the kernel headers get installed, try compiling the wireless driver again.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline newbielinuxuser

  • Jr. Member
  • **
  • Posts: 9
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Code: [Select]
sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  linux-headers-3.14-kali1-common linux-kbuild-3.14
The following NEW packages will be installed:
  linux-headers-3.14-kali1-amd64 linux-headers-3.14-kali1-common
  linux-kbuild-3.14
0 upgraded, 3 newly installed, 0 to remove and 56 not upgraded.
Need to get 5,006 kB of archives.
After this operation, 33.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://http.kali.org/kali/ kali/main linux-headers-3.14-kali1-common amd64 3.14.5-1kali2 [4,313 kB]
Get:2 http://http.kali.org/kali/ kali/main linux-kbuild-3.14 amd64 3.14-1kali1 [258 kB]
Get:3 http://http.kali.org/kali/ kali/main linux-headers-3.14-kali1-amd64 amd64 3.14.5-1kali2 [435 kB]
Fetched 5,006 kB in 7min 14s (11.5 kB/s)                                       
Selecting previously unselected package linux-headers-3.14-kali1-common.
(Reading database ... 337446 files and directories currently installed.)
Unpacking linux-headers-3.14-kali1-common (from .../linux-headers-3.14-kali1-common_3.14.5-1kali2_amd64.deb) ...
Selecting previously unselected package linux-kbuild-3.14.
Unpacking linux-kbuild-3.14 (from .../linux-kbuild-3.14_3.14-1kali1_amd64.deb) ...
Selecting previously unselected package linux-headers-3.14-kali1-amd64.
Unpacking linux-headers-3.14-kali1-amd64 (from .../linux-headers-3.14-kali1-amd64_3.14.5-1kali2_amd64.deb) ...
Setting up linux-headers-3.14-kali1-common (3.14.5-1kali2) ...
Setting up linux-kbuild-3.14 (3.14-1kali1) ...
Setting up linux-headers-3.14-kali1-amd64 (3.14.5-1kali2) ...

Thank you for your patience, the downloads is complete, so what is the next step ?
« Last Edit: July 10, 2014, 06:38:38 pm by newbielinuxuser »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17312
  • Karma: 439
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
install git with:
Code: [Select]
sudo apt-get install git
then start at the second command here:
http://linuxforums.org.uk/index.php?topic=11261.msg89502#msg89502
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline newbielinuxuser

  • Jr. Member
  • **
  • Posts: 9
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Wow! You're amazing ! Finally I can use wireless right now! I thought I could never work this out! Do you mind briefly explain how it works? Because all I know was to get a driver installed to make it work, because I never been through all these linux headers before, I didn't know that installing a driver could be this tough not to mention 2-3 days were used just to figure how to work this out.

Off Topic :
So now I can connect to my wireless, however some of the programs did not recognize my wireless, does it require a reboot or something ?
« Last Edit: July 10, 2014, 07:48:03 pm by newbielinuxuser »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17312
  • Karma: 439
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
What do you mean by:-  however some of the programs did not recognize my wireless

?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal