LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-14-2017, 07:39 AM   #31
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,717

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Exclamation


I don't think my kernel has changed in a while.

Code:
sudo dkms install rtl8192cu/0.1
Code:
Error! Your kernel headers for kernel 4.9.0-0.bpo.2-amd64 cannot be found.
Please install the linux-headers-4.9.0-0.bpo.2-amd64 package,
or use the --kernelsourcedir option to tell DKMS where it's located
Edit: I tried to install linux-headers-4.9.0-0.bpo.2-amd64 but got a failed to fetch error in Synaptic.

Last edited by linustalman; 04-14-2017 at 07:41 AM.
 
Old 04-14-2017, 04:18 PM   #32
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Quote:
Originally Posted by linustalman View Post
I don't think my kernel has changed in a while.

Code:
sudo dkms install rtl8192cu/0.1
Code:
Error! Your kernel headers for kernel 4.9.0-0.bpo.2-amd64 cannot be found.
Please install the linux-headers-4.9.0-0.bpo.2-amd64 package,
or use the --kernelsourcedir option to tell DKMS where it's located
Edit: I tried to install linux-headers-4.9.0-0.bpo.2-amd64 but got a failed to fetch error in Synaptic.
You need the headers to compile the rtl8192cu module. Have you tried 'apt install'. I think synaptics is less reliable these days. Certainly the latest version won't upgrade.

Or you could download the 2 header files and install with dpkg -i

Last edited by petelq; 04-15-2017 at 05:09 AM.
 
Old 04-15-2017, 02:07 PM   #33
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,717

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Post

Quote:
Originally Posted by petelq View Post
You need the headers to compile the rtl8192cu module. Have you tried 'apt install'. I think synaptics is less reliable these days. Certainly the latest version won't upgrade.

Or you could download the 2 header files and install with dpkg -i
You got it - this did the trick.

Code:
sudo apt install linux-headers-4.9.0-0.bpo.2-amd64
I noticed one of the lines in the output was:
Code:
Error! Bad return status for module build on kernel: 4.9.0-0.bpo.2-amd64 (x86_64)
 
Old 04-16-2017, 04:45 AM   #34
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
I'm not great with Debian/Ubuntu varieties but I thought there was normally 2 sets of header files. Can you install linux-headers-4.9.0-0.bpo.2-all-amd64 as well. Then try again.
 
Old 04-16-2017, 04:52 AM   #35
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,717

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Post

Quote:
Originally Posted by petelq View Post
I'm not great with Debian/Ubuntu varieties but I thought there was normally 2 sets of header files. Can you install linux-headers-4.9.0-0.bpo.2-all-amd64 as well. Then try again.
Yes, that was possible.

Code:
sudo apt install linux-headers-4.9.0-0.bpo.2-all-amd64
Some output lines :
Code:
...
The following extra packages will be installed: linux-headers-4.9.0-0.bpo.2-common-rt linux-headers-4.9.0-0.bpo.2-rt-amd64
...
Error! Bad return status for module build on kernel: 4.9.0-0.bpo.2-rt-amd64 (x86_64)
...
 
Old 04-16-2017, 01:16 PM   #36
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Quote:
Originally Posted by linustalman View Post
Yes, that was possible.

Code:
sudo apt install linux-headers-4.9.0-0.bpo.2-all-amd64
Some output lines :
Code:
...
The following extra packages will be installed: linux-headers-4.9.0-0.bpo.2-common-rt linux-headers-4.9.0-0.bpo.2-rt-amd64
...
Error! Bad return status for module build on kernel: 4.9.0-0.bpo.2-rt-amd64 (x86_64)
...
This was on the headers install? Sometimes an error is reported but doesn't stop the install. Have you tried to rerun the dkms install procedure?
 
Old 04-16-2017, 01:18 PM   #37
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,717

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by petelq View Post
This was on the headers install? Sometimes an error is reported but doesn't stop the install. Have you tried to rerun the dkms install procedure?
Yes, those were a selection of lines from the install -- it did install alright.

My wireless has been perfect since so I will wait and see how it goes over time.
 
Old 04-19-2017, 04:53 AM   #38
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,717

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Thumbs up

Hi Pete.

My wireless is still perfect days later. The last step seems to have sorted it all out.
 
Old 04-19-2017, 08:38 AM   #39
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Quote:
Originally Posted by linustalman View Post
Hi Pete.

My wireless is still perfect days later. The last step seems to have sorted it all out.
Glad to hear it. Always remember dkms status(the one I almost forgot) for future checks.
 
Old 06-01-2017, 07:40 AM   #40
linustalman
LQ Guru
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 12 Bookworm
Posts: 5,717

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Unhappy

I've moved back to using the Netgear Wireless WNA3100M N300 USB Adaptor as the Edimax was alright for regular internet use but was awful when downloading large files - too much stopping and broken downloads.
 
  


Reply

Tags
asleep, dongle, edimax, wireless



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] iwconfig finds no wireless extensions, yet my Edimax EW-7811un can connect to internet samanthaAlison Linux - Networking 8 10-04-2016 01:53 AM
connection drops constantly with edimax ew-7612uan USB wireless adapter the2k Linux - Wireless Networking 1 04-17-2014 06:59 PM
I can't install driver for edimax EW-7811Un USB wireless adapter parker.hugh Linux - Newbie 43 02-17-2014 12:07 PM
Installing Edimax EW-7811Un on Raspberry Pi scubbo Linux - Hardware 1 09-05-2012 08:57 AM
problem figuring out the Edimax wireless hi-gain USB Adapter glasgow SUSE / openSUSE 1 02-11-2007 09:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration