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

Kernels & Hardware, configuring network, installing services

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

Postby ramblin » 2018-05-29 21:22

I had been ,but your right, I didn`t in there. Here is "m-a prepare and dkms ." again.

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# 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#
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

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

Postby bw123 » 2018-05-29 22:09

sunrat wrote:Download and extract the zip file, cd to the extracted directory and run: Code: Select all dkms add . dkms install rtl8192eu/1.0


Download and extract the zip file, cd to the extracted directory and run: Code: Select all dkms add . dkms install rtl8192eu/1.0
cd to the extracted directory and run: Code: Select all dkms add . dkms install rtl8192eu/1.0
cd to the extracted directory
User avatar
bw123
 
Posts: 3081
Joined: 2011-05-09 06:02
Location: TN_USA

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

Postby ramblin » 2018-05-29 22:35

bw123, I`m here for help and I don`t mean to be difficult but it seems to "ME" if you look at what I have posted I have been doing just that for a day now. If you see an error please tell me. Any other commands just tell me and I will post the results. I`m here for a while tonight. Thanks
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

Postby sunrat » 2018-05-29 23:35

cd (change directory) means change your terminal to the directory of the extracted zip file. You haven't done that.
The dot in the command refers to the current directory. It won't work if you run it from anywhere else.
I unzipped the file in Downloads directory so:
Code: Select all
me@debian:~/Downloads$ cd rtl8192eu-linux-driver-realtek-4.4.x/
me@debian:~/Downloads/rtl8192eu-linux-driver-realtek-4.4.x$


As you seem new to this I'll give you another shortcut - tab completion. When you cd, do cd rtl<Tab>. When you press the tab key, it will find the matching directory (or file) and fill in the rest for you. It's a great shortcut and ensures your command shows the correct location.
“ 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: 2326
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

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

Postby ramblin » 2018-05-30 02:31

sunrat, Your right on several accounts. I`m kinda new at this and only my 2nd install. My 1st was a low power (pentium4) the week deb9 came out. The cd command has been confusing to me. I could not understand when someone said "cd to the extracted directory" ,or "you must be in that directory when you execute the command". How do you do that? The terminal is on the desktop. You can`t type from a file ! When I copied your command and the downloads path came up after my root name it hit me. That is how you know you are in that directory ? Right ? I then did "m-a prepare" and "dkms add ." and "dkms install" and everything took some time and worked. Thanks for taking the time, reading my commands and walking me thru it. I feel I have everything needed downloaded and installed properly. I still don`t have a connection yet but I think the worst is behind me. iwconfig still returns this :
Code: Select all
heatlocke@shop2:~$ su
Password:
root@shop2:/home/heatlocke# iwconfig
lo        no wireless extensions.

wlx000f002bfd0d  IEEE 802.11  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
         
enp0s20   no wireless extensions.

root@shop2:/home/heatlocke#


I will work on the connection side now. I may have missed something. Don`t quit on me yet. I`m still going to need some help. Thanks
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

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

Postby sunrat » 2018-05-30 06:25

Did you reboot? That should load the driver.
Check if the correct driver is loaded with lsmod. Check for rtl8192eu, if any other rtl drivers are loaded, post here. I once had the system load rtl8188eu instead which didn't work and blocked the correct one.
And you said you have installed firmware-realtek?
You should be able to configure with Network Manager after that.
Also if you have wired network attached it may take precedence over wireless and stop wireless from working.

Wireless is one of the trickiest things to deal with in Debian because of proprietary software and hardware, but once you get that beat the rest will seem easy.
I'd suggest you read up on Debian package management and basic terminal commands as well. It all helps!
“ 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: 2326
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

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

Postby ramblin » 2018-05-30 14:24

Yes, the Realtek deb package I loaded with Synaptic. The connection manager show "all" available networks. When I click on mine,1st time I was prompted for my password. Now it will try connect for a moment and appears to connect but when you go for a web page its blank. Network Connections shows it as "never used". It appears to me only the proper driver is loaded. Here is the return:

Code: Select all
heatlocke@shop2:~$ su
Password:
root@shop2:/home/heatlocke# lsmod
Module                  Size  Used by
fuse                   98304  3
8192eu               1089536  0
arc4                   16384  2
rtl8xxxu              114688  0
mac80211              671744  1 rtl8xxxu
cfg80211              589824  2 mac80211,8192eu
rfkill                 24576  3 cfg80211
nouveau              1556480  4
snd_hda_codec_realtek    90112  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
mxm_wmi                16384  1 nouveau
amd64_edac_mod         28672  0
ppdev                  20480  0
edac_mce_amd           28672  1 amd64_edac_mod
evdev                  24576  6
k8temp                 16384  0
wmi                    16384  2 mxm_wmi,nouveau
edac_core              57344  2 amd64_edac_mod
video                  40960  1 nouveau
ttm                    98304  1 nouveau
serio_raw              16384  0
pcspkr                 16384  0
drm_kms_helper        155648  1 nouveau
drm                   360448  7 nouveau,ttm,drm_kms_helper
i2c_algo_bit           16384  1 nouveau
sg                     32768  0
parport_pc             28672  0
shpchp                 36864  0
parport                49152  2 parport_pc,ppdev
nv_tco                 16384  0
snd_hda_intel          36864  5
snd_hda_codec         135168  3 snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           86016  4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               110592  4 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              32768  1 snd_pcm
snd                    86016  16 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
soundcore              16384  1 snd
button                 16384  1 nouveau
ip_tables              24576  0
x_tables               36864  1 ip_tables
autofs4                40960  2
ext4                  585728  1
crc16                  16384  1 ext4
jbd2                  106496  1 ext4
crc32c_generic         16384  2
fscrypto               28672  1 ext4
ecb                    16384  0
glue_helper            16384  0
lrw                    16384  0
gf128mul               16384  1 lrw
ablk_helper            16384  0
cryptd                 24576  1 ablk_helper
aes_x86_64             20480  0
mbcache                16384  2 ext4
hid_generic            16384  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
sr_mod                 24576  0
cdrom                  61440  1 sr_mod
sd_mod                 49152  3
ata_generic            16384  0
ohci_pci               16384  0
pata_amd               20480  2
sata_nv                28672  0
libata                249856  3 pata_amd,ata_generic,sata_nv
ohci_hcd               53248  1 ohci_pci
ehci_pci               16384  0
forcedeth              69632  0
scsi_mod              225280  4 sd_mod,libata,sr_mod,sg
ehci_hcd               81920  1 ehci_pci
usbcore               253952  7 usbhid,ehci_hcd,8192eu,ohci_pci,rtl8xxxu,ohci_hcd,ehci_pci
usb_common             16384  1 usbcore
i2c_nforce2            16384  0
root@shop2:/home/heatlocke#
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

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

Postby Wheelerof4te » 2018-05-30 16:26

My only guess is that you have two or more conflicting drivers.
Try showing the output of:
Code: Select all
lspci -k

Install inxi and show the output of:
Code: Select all
inxi -N
User avatar
Wheelerof4te
 
Posts: 999
Joined: 2015-08-30 20:14

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

Postby ramblin » 2018-05-30 16:52

I might be missing something but I just don`t see it.

Code: Select all
heatlocke@shop2:~$ su
Password:
root@shop2:/home/heatlocke# lspci -k
00:00.0 RAM memory: NVIDIA Corporation C51 Host Bridge (rev a2)
   Subsystem: Micro-Star International Co., Ltd. [MSI] C51 Host Bridge
00:00.2 RAM memory: NVIDIA Corporation C51 Memory Controller 1 (rev a2)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
00:00.3 RAM memory: NVIDIA Corporation C51 Memory Controller 5 (rev a2)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
00:00.4 RAM memory: NVIDIA Corporation C51 Memory Controller 4 (rev a2)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
00:00.5 RAM memory: NVIDIA Corporation C51 Host Bridge (rev a2)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
00:00.6 RAM memory: NVIDIA Corporation C51 Memory Controller 3 (rev a2)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
00:00.7 RAM memory: NVIDIA Corporation C51 Memory Controller 2 (rev a2)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
00:03.0 PCI bridge: NVIDIA Corporation C51 PCI Express Bridge (rev a1)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:04.0 PCI bridge: NVIDIA Corporation C51 PCI Express Bridge (rev a1)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:05.0 VGA compatible controller: NVIDIA Corporation C51G [GeForce 6100] (rev a2)
   Subsystem: Micro-Star International Co., Ltd. [MSI] C51G [GeForce 6100]
   Kernel driver in use: nouveau
   Kernel modules: nouveau
00:09.0 RAM memory: NVIDIA Corporation MCP51 Host Bridge (rev a2)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
00:0a.0 ISA bridge: NVIDIA Corporation MCP51 LPC Bridge (rev a2)
   Subsystem: NVIDIA Corporation MCP51 LPC Bridge
00:0a.1 SMBus: NVIDIA Corporation MCP51 SMBus (rev a2)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
   Kernel driver in use: nForce2_smbus
   Kernel modules: i2c_nforce2, nv_tco
00:0b.0 USB controller: NVIDIA Corporation MCP51 USB Controller (rev a2)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
   Kernel driver in use: ohci-pci
   Kernel modules: ohci_pci
00:0b.1 USB controller: NVIDIA Corporation MCP51 USB Controller (rev a2)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
   Kernel driver in use: ehci-pci
   Kernel modules: ehci_pci
00:0d.0 IDE interface: NVIDIA Corporation MCP51 IDE (rev a1)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
   Kernel driver in use: pata_amd
   Kernel modules: pata_amd, ata_generic
00:0e.0 IDE interface: NVIDIA Corporation MCP51 Serial ATA Controller (rev a1)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
   Kernel driver in use: sata_nv
   Kernel modules: sata_nv, ata_generic
00:10.0 PCI bridge: NVIDIA Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: NVIDIA Corporation MCP51 High Definition Audio (rev a2)
   Subsystem: Device 0880:10ec
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
00:14.0 Bridge: NVIDIA Corporation MCP51 Ethernet Controller (rev a1)
   Subsystem: Micro-Star International Co., Ltd. [MSI] K8NGM2 series
   Kernel driver in use: forcedeth
   Kernel modules: forcedeth
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
   Kernel driver in use: k8temp
   Kernel modules: k8temp
root@shop2:/home/heatlocke#


Code: Select all
heatlocke@shop2:~$ su
Password:
root@shop2:/home/heatlocke# inxi -N
Network:   Card: NVIDIA MCP51 Ethernet Controller driver: forcedeth
root@shop2:/home/heatlocke#
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

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

Postby Wheelerof4te » 2018-05-30 17:12

Debian doesn't recognize your Wi-Fi card, if any. That's what I think, might be wrong.
inxi should at least show the device, but without the driver.
lspci too.

I am sorry I couldn't help you more.
User avatar
Wheelerof4te
 
Posts: 999
Joined: 2015-08-30 20:14

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

Postby ramblin » 2018-05-30 17:33

I agree the outputs of those commands would indicate that but why can my network manager see every wifi in my neighborhood including mine ?
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

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

Postby Wheelerof4te » 2018-05-30 18:14

What you can do is try a Live image of Ubuntu 18.04. It should see your exact card and driver. And, if all else fails, just stick to the Ubuntu. There is no shame in being pragmatic.
User avatar
Wheelerof4te
 
Posts: 999
Joined: 2015-08-30 20:14

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

Postby ramblin » 2018-05-30 18:33

Thanks Wheeler, your advice is appreciated but I got baptized by fire my 3rd post here and I won`t be moving. My 1st little low power machine (pentium4) I`m just thrilled with. Just streams content 12-14 hrs a day, every day. I would know more but it never breaks and I never have to fix it. But don`t stop advising me. This is just some stupid problem and I`m missing something. I have some other dongles I might try since I`m fairly confident I can install drivers now. Any other suggestions besides Ubuntu ?
ramblin
 
Posts: 42
Joined: 2017-07-26 01:45

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

Postby Wheelerof4te » 2018-05-30 19:09

ramblin wrote:I have some other dongles I might try since I`m fairly confident I can install drivers now.

Then it would be best to try those dongles. Atheros or Intel should work well, so I hope you have one of those.
For Intel cards, install firmware-iwlwifi package from the non-free repo.
User avatar
Wheelerof4te
 
Posts: 999
Joined: 2015-08-30 20:14

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

Postby sunrat » 2018-05-30 23:39

It's a USB device so won't show in lspci. You can find out what driver is loaded for a usb device with any of these commands:
Code: Select all
inxi -N
lsusb -t
usb-devices
lshw -c network


lsmod shows rtl8xxxu module loaded which is probably why it's not working so needs to be blacklisted.
As root, create a new file in /etc/modprobe.d/ called realtek.conf (name doesn't actually matter as long as it ends in .conf) and paste this in it:
Code: Select all
blacklist rtl8xxxu

Then reboot and hopefully this time... :)

As I said earlier, wifi can be a PITA particularly for certain devices. Luckily for you I've been through all this to get a similar device working. No guarantees though. There's more tweaks that may affect it (rfkill, power saving, random MAC address) but hopefully it works now.

PS: I doubt this would work ootb in Ubuntu as the kernel default driver is wrong and the Github package was made to address this. As the device is recognised in lsusb, it should be possible to get it working with the right driver.
“ 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: 2326
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

PreviousNext

Return to System configuration

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable