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

Kernels & Hardware, configuring network, installing services

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

Postby ramblin » 2018-05-31 03:02

[quote="sunrat"]
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: .......... then reboot and hopefully this time... :) [quote



OK, Here is where we are at now. I applied the fix exactly as said and nothing. Since I blacklisted the driver it will no longer show up in inxi -N. Like you said on page 1 this chipset is unfriendly. I`m finished with this rtl8192 and sorry I have wasted everyones time with it. New plan. My other working Deb 9.4.0 machine has a Dlink DWA160.B2 ver.2.40 adapter working perfectly. I ran inxi -N got the exact driver version. Back to this new machine again, I searched Deb packages and found the driver . Installed the package with Synaptic. Run inxi -N and lsusb and it shows exact driver and adapter as was working on low power machine.
Code: Select all
heatlocke@shop2:~$ inxi -N
Network:   Card-1: NVIDIA MCP51 Ethernet Controller driver: forcedeth
           Card-2: D-Link DWA-160 802.11abgn Xtreme N Dual Band Adapter(rev.B2) [Ralink RT5572]
           driver: rt2800usb
heatlocke@shop2:~$ lsusb
Bus 001 Device 004: ID 2001:3c1a D-Link Corp. DWA-160 802.11abgn Xtreme N Dual Band Adapter(rev.B2) [Ralink RT5572]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
heatlocke@shop2:~$

Rebooted and Run iwconfig:
Code: Select all
heatlocke@shop2:~$ su
Password:
root@shop2:/home/heatlocke# iwconfig
enp0s20   no wireless extensions.

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

root@shop2:/home/heatlocke#


lsmod also shows the driver:
Code: Select all
heatlocke@shop2:~$ su
Password:
root@shop2:/home/heatlocke# iwconfig
enp0s20   no wireless extensions.

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

root@shop2:/home/heatlocke# lsmod
Module                  Size  Used by
rt2800usb              28672  0
rt2x00usb              24576  1 rt2800usb
rt2800lib              94208  1 rt2800usb
rt2x00lib              53248  3 rt2800lib,rt2800usb,rt2x00usb
crc_ccitt              16384  1 rt2800lib
fuse                   98304  3
8192eu               1089536  0
arc4                   16384  2
rtl8xxxu              114688  0
mac80211              671744  4 rt2800lib,rt2x00lib,rt2x00usb,rtl8xxxu
cfg80211              589824  3 rt2x00lib,mac80211,8192eu
rfkill                 24576  3 cfg80211
nouveau              1556480  3heatlocke@shop2:~$ su
Password:
root@shop2:/home/heatlocke# iwconfig
enp0s20   no wireless extensions.

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

root@shop2:/home/heatlocke# lsmod
Module                  Size  Used by
rt2800usb              28672  0
rt2x00usb              24576  1 rt2800usb
rt2800lib              94208  1 rt2800usb
rt2x00lib              53248  3 rt2800lib,rt2800usb,rt2x00usb
crc_ccitt              16384  1 rt2800lib
fuse                   98304  3
8192eu               1089536  0
arc4                   16384  2
rtl8xxxu              114688  0
mac80211              671744  4 rt2800lib,rt2x00lib,rt2x00usb,rtl8xxxu
cfg80211              589824  3 rt2x00lib,mac80211,8192eu
rfkill                 24576  3 cfg80211
nouveau              1556480  3
snd_hda_codec_realtek    90112  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
mxm_wmi                16384  1 nouveau
ppdev                  20480  0
wmi                    16384  2 mxm_wmi,nouveau
video                  40960  1 nouveau
ttm                    98304  1 nouveau
k8temp                 16384  0
amd64_edac_mod         28672  0
edac_mce_amd           28672  1 amd64_edac_mod
edac_core              57344  2 amd64_edac_mod
parport_pc             28672  0
pcspkr                 16384  0
evdev                  24576  6
serio_raw              16384  0
sg                     32768  0
snd_hda_intel          36864  3
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  3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              32768  1 snd_pcm
drm_kms_helper        155648  1 nouveau
drm                   360448  6 nouveau,ttm,drm_kms_helper
i2c_algo_bit           16384  1 nouveau
shpchp                 36864  0
parport                49152  2 parport_pc,ppdev
snd                    86016  13 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
nv_tco                 16384  0
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
sr_mod                 24576  0
cdrom                  61440  1 sr_mod
sd_mod                 49152  3
ata_generic            16384  0
hid_generic            16384  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
ohci_pci               16384  0
sata_nv                28672  0
pata_amd               20480  2
libata                249856  3 pata_amd,ata_generic,sata_nv
forcedeth              69632  0
scsi_mod              225280  4 sd_mod,libata,sr_mod,sg
ehci_pci               16384  0
ohci_hcd               53248  1 ohci_pci
ehci_hcd               81920  1 ehci_pci
usbcore               253952  9 usbhid,rt2800usb,rt2x00usb,ehci_hcd,8192eu,ohci_pci,rtl8xxxu,ohci_hcd,ehci_pci
usb_common             16384  1 usbcore
i2c_nforce2            16384  0
root@shop2:/home/heatlocke#

snd_hda_codec_realtek    90112  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
mxm_wmi                16384  1 nouveau
ppdev                  20480  0
wmi                    16384  2 mxm_wmi,nouveau
video                  40960  1 nouveau
ttm                    98304  1 nouveau
k8temp                 16384  0
amd64_edac_mod         28672  0
edac_mce_amd           28672  1 amd64_edac_mod
edac_core              57344  2 amd64_edac_mod
parport_pc             28672  0
pcspkr                 16384  0
evdev                  24576  6
serio_raw              16384  0
sg                     32768  0
snd_hda_intel          36864  3
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  3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              32768  1 snd_pcm
drm_kms_helper        155648  1 nouveau
drm                   360448  6 nouveau,ttm,drm_kms_helper
i2c_algo_bit           16384  1 nouveau
shpchp                 36864  0
parport                49152  2 parport_pc,ppdev
snd                    86016  13 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
nv_tco                 16384  0
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
sr_mod                 24576  0
cdrom                  61440  1 sr_mod
sd_mod                 49152  3
ata_generic            16384  0
hid_generic            16384  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
ohci_pci               16384  0
sata_nv                28672  0
pata_amd               20480  2
libata                249856  3 pata_amd,ata_generic,sata_nv
forcedeth              69632  0
scsi_mod              225280  4 sd_mod,libata,sr_mod,sg
ehci_pci               16384  0
ohci_hcd               53248  1 ohci_pci
ehci_hcd               81920  1 ehci_pci
usbcore               253952  9 usbhid,rt2800usb,rt2x00usb,ehci_hcd,8192eu,ohci_pci,rtl8xxxu,ohci_hcd,ehci_pci
usb_common             16384  1 usbcore
i2c_nforce2            16384  0
root@shop2:/home/heatlocke#

The DWA160 now flashes. It shows more bars in network manager. Click on my network. add password. Spins till it times out. NO connection. ?????
ramblin
 
Posts: 44
Joined: 2017-07-26 01:45

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

Postby Dai_trying » 2018-05-31 06:13

Could be the random mac address problem that seems to have affected many people (myself included) it can be easily fixed if this is the case.
Dai_trying
 
Posts: 531
Joined: 2016-01-07 12:25

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

Postby sunrat » 2018-05-31 06:18

And/or maybe needs firmware-ralink.
“ 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: 2425
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

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

Postby ramblin » 2018-06-03 22:39

OK, After much pain I have SOLVED my wireless problem. It has persisted with RealTek, Ralink and Atheros wifi adapters. I have added and removed other drivers from other sources including the Deb software packages to no avail. However the fix I have documented exactly in order which included editing my wpa_supplicant.conf file. Some steps may have been unnecessary but were done to cross of my list so to speak. I would like to share my results in hopes that others my age would not have to reread the material so many times like I did for it to sink in. What would be the best way to post that ? Its quit lengthy and detailed and I would like to post the commands exactly as I copied them. Remember, some of this was found online pertaining to other distros. As a newbie I have no way of knowing if it is correct. I can only say it did work well. I would like to see it edited for mistakes by those here that know. Thanks
ramblin
 
Posts: 44
Joined: 2017-07-26 01:45

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

Postby sunrat » 2018-06-04 00:16

You could paste it at Debian Pastezone - http://paste.debian.net/ and post the link here.
I'm interested to see what you ended up doing.
“ 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: 2425
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

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

Postby ramblin » 2018-06-04 13:05

I wrote it out from my notes late last night and printed it. It may still have some mistakes. I would like to write it up and keep the commands and comments separate. Here is what I have so far :


http://paste.debian.net/1027918
ramblin
 
Posts: 44
Joined: 2017-07-26 01:45

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

Postby sunrat » 2018-06-04 22:22

I see in your paste a number of steps that would not, or should not, have really been necessary. Please post current results of inxi -N and I'll write some comments on it.
“ 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: 2425
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

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

Postby ramblin » 2018-06-04 23:38

This is a different Realtek adaptor :


Code: Select all
heatlocke@shop2:~$ su
Password:
root@shop2:/home/heatlocke# inxi -N
Network:   Card-1: NVIDIA MCP51 Ethernet Controller driver: forcedeth
           Card-2: D-Link System DWA-130 802.11n Wireless N Adapter(rev.E) [Realtek RTL8191SU]
           driver: r8712u
root@shop2:/home/heatlocke#
ramblin
 
Posts: 44
Joined: 2017-07-26 01:45

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

Postby sunrat » 2018-06-07 00:48

I'm confused as your paste looks like it was for Atheros adapter but you said you went with Realtek. I put some notes in the paste relevant to Realtek:
http://paste.debian.net/1028284
“ 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: 2425
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

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

Postby ramblin » 2018-06-07 12:20

I got it working with the Atheros dongle but was experiencing some dropped connections. I changed to the Realtek dongle and driver and solved that. I`ve got good wireless now with no issues .
ramblin
 
Posts: 44
Joined: 2017-07-26 01:45

Previous

Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable