SOLVED... Stuck again on wireless setup.....

Kernels & Hardware, configuring network, installing services

SOLVED... Stuck again on wireless setup.....

Postby ramblin » 2018-05-27 22:18

I just installed Stretch 9.4.0 on an AMD64 platform with no issues. This build runs excellent on my wired connection. ( I`m using it now ). Wireless, however is another story. My network adapter ( RTL8192EU ) is not recognized natively so I used Synaptic and installed the Realtek package that does have the driver. I also downloaded it from the installation CD to the download folder but don`t know what to do with it there. After the Synaptic install, network manager was able to see my network ( and many others ) but unable to connect. I have run apt-get update, upgrade and installed the other recommended headers, i386 architure, contrib and nonfree, est. I also have separate screenshots of lsusb, iwlist scan and iwconfig, all recognizing the adapter and port but I can`t seem to upload them here. Says the extension is not allowed. Could someone advise please ? Thanks
Last edited by ramblin on 2018-06-03 22:40, edited 1 time in total.
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

Re: Stuck again on wireless setup.....

Postby ramblin » 2018-05-28 00:23

Tried again to upload 3 pics converted to jpeg and it says "Sorry, the board attachment quota has been reached."
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

Re: Stuck again on wireless setup.....

Postby 4D696B65 » 2018-05-28 01:49

ramblin wrote:Tried again to upload 3 pics converted to jpeg and it says "Sorry, the board attachment quota has been reached."

http://forums.debian.net/viewtopic.php?f=16&t=123831
User avatar
4D696B65
 
Posts: 2148
Joined: 2009-06-28 06:09

Re: Stuck again on wireless setup.....

Postby sunrat » 2018-05-28 03:08

That's an unfriendly wireless chip, I have one myself.
I assume when you said you "installed the Realtek package that does have the driver" you actually mean you installed the firmware-realtek package. Good start, but be aware that firmware is totally different from driver. Look it up.
What worked for me was installed a driver module from Github although it's still not 100% reliable.
https://github.com/Mange/rtl8192eu-linux-driver/
The included instructions are for Ubuntu so not all correct.
Easiest way is
- prepare a module building environment:
Code: Select all
apt install module-assistant
m-a prepare
Download and extract the zip file, cd to the extracted directory and run:
Code: Select all
dkms add .
dkms install rtl8192eu/1.0


Reboot and hopefully it works!
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2325
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Stuck again on wireless setup.....

Postby ramblin » 2018-05-28 13:30

iwconfig returns this:
Image
iwlist returns this:
Image
lsusb returns this:
Image
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

Re: Stuck again on wireless setup.....

Postby ramblin » 2018-05-28 14:07

sunrat, Did as you said, got the file from github, extracted, installed and prepared, however dkms returns "command not found"

EDIT... OK I solved part of it. I did not have dkms installed. I installed it and ran the dkms add and it did but dkms install failed. says "Error! Invalid number of arguments passed"
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

Re: Stuck again on wireless setup.....

Postby Wheelerof4te » 2018-05-28 15:24

For building out of the tree kernel drivers on Linux, you will need linux-headers package that is the same version as the running kernel.
User avatar
Wheelerof4te
 
Posts: 999
Joined: 2015-08-30 20:14

Re: Stuck again on wireless setup.....

Postby ramblin » 2018-05-28 16:23

Wheelerof4te wrote:For building out of the tree kernel drivers on Linux, you will need linux-headers package that is the same version as the running kernel.



Yes, I have done that.
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

Re: Stuck again on wireless setup.....

Postby sunrat » 2018-05-28 23:25

ramblin wrote:sunrat, Did as you said, got the file from github, extracted, installed and prepared, however dkms returns "command not found"

EDIT... OK I solved part of it. I did not have dkms installed. I installed it and ran the dkms add and it did but dkms install failed. says "Error! Invalid number of arguments passed"
Hope you included the dot in the dkms add command:
Code: Select all
dkms add .

It helps to copy/paste the exact commands and errors when posting here rather than paraphrasing. Makes it easier to work out what may have gone wrong.

Wheelerof4te wrote:For building out of the tree kernel drivers on Linux, you will need linux-headers package that is the same version as the running kernel.

module-assistant should do that.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2325
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Stuck again on wireless setup.....

Postby ramblin » 2018-05-29 04:41

OK,What I have done so far: I am certain I have all the correct headers, contrib, nonfree, i386 architure and firmware. I downloaded several rtl8192eu drivers from GitHub and Source Forge and learned how to move, change dir. and make tar.gz files. Consequently, I now have the driver files in folders and tarballs on my desktop, downloads folder and most importantly in my USR/SRC folder. However I have been unable to "install" the drivers using DKMS. I have read so much wrong info pertaining to different distros I`m sure I`m getting the syntax or options wrong. I could use some real Debian advice now on using DKMS or what ever else I might need to do. Thanks !
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

Re: Stuck again on wireless setup.....

Postby sunrat » 2018-05-29 06:20

It's hard to guess what commands you did and what errors were reported. You need to give full details to get proper help! Exact commands, exact messages from running those commands, exact name of downloaded files. The file download from the Github page I linked is in zip format, I have no idea why you even mentioned tar.gz files.
I posted what I did to get it working. Did the dkms install command just return you to a prompt without saying anything? That means it worked.
You can check device ID with lsusb (or lspci if it's an internal device). You can check if the driver module is loaded with lsmod.
There are a few threads on this. Maybe something from those will help:
https://www.startpage.com/do/search?q=r ... debian.net
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2325
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Stuck again on wireless setup.....

Postby ramblin » 2018-05-29 14:29

Lsusb I have already posted and it does indeed show the network adapter. Lsmod returns much info and much about Realtek but it is to much for a screenshot. What is the preferred way to capture that info and post it ? This is the return of dkms install:

Image

I tried installing by the method described in this post but it always fails. The most detailed tutorial for installing drivers with dkms I could find involved a tarball. So I made a tarball and tried it that way. I have tried everything else first. That is why I`m here. Thanks
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

Re: Stuck again on wireless setup.....

Postby Wheelerof4te » 2018-05-29 15:00

ramblin wrote:What is the preferred way to capture that info and post it ?

Copy the text of a command (and it's results!), mark it and click on "Code".
That will place the marked text into code brackets, which are easier to scroll through and read than normal text. Do not post the screenshots.
User avatar
Wheelerof4te
 
Posts: 999
Joined: 2015-08-30 20:14

Re: Stuck again on wireless setup.....

Postby ramblin » 2018-05-29 17:40

OK, Thanks, got that figured out now. Here is a few. Tell me what you would like me to try.

Code: Select all
root@shop2:/home/heatlocke# m-a prepare
Getting source for kernel version: 4.9.0-6-amd64
Kernel headers available in /lib/modules/4.9.0-6-amd64/build
apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!
root@shop2:/home/heatlocke#


Code: Select all
root@shop2:/home/heatlocke# m-a prepare
Getting source for kernel version: 4.9.0-6-amd64
Kernel headers available in /lib/modules/4.9.0-6-amd64/build
apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!
root@shop2:/home/heatlocke#


Code: Select all
root@shop2:/home/heatlocke# dkms add
Error! Invalid number of arguments passed.
Usage: add <module>/<module-version> or
       add -m <module>/<module-version> or
       add -m <module> -v <module-version>
root@shop2:/home/heatlocke#


Code: Select all
root@shop2:/home/heatlocke# dkms install rtl8192eu/1.0
Error! Could not find module source directory.
Directory: /usr/src/rtl8192eu-1.0 does not exist.
root@shop2:/home/heatlocke#
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

Re: Stuck again on wireless setup.....

Postby Dai_trying » 2018-05-29 20:47

sunrat wrote:Hope you included the dot in the dkms add command:
Code: Select all
dkms add .

Dai_trying
 
Posts: 447
Joined: 2016-01-07 12:25

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable