SparkyLinux Forums

Installation & Upgrade => Installation => Topic started by: brian on April 07, 2015, 04:10:03 PM

Title: Hi, Newbee with wifi problems.
Post by: brian on April 07, 2015, 04:10:03 PM
I've been gifted several Lenovo T400 thinkpads, which I'm passing on to grandchildren with no PCs.( Intel core 2 duo processor. 2Gb Ram, 60Gb HDD,
Intel(R) Wifi Link 5100AGN)
I selected Sparky Gameover 64bit version as it seemed to contain all they could ever need.
I downloaded the Distro over wire and burned to a DVD which I then installed as a live test on one of the machines. It seemed fine, so I installed to Hard drive . I updated the system, down loading 520 Mb is of stuff and then rebooted the system.
During the live test the wifi seemed fine but after the reboot the wifi fails to connect. The Authentication password for the wifi  kept coming up.
I did the install again. This time with the wired network disconnected. The system installed to disk perfectly, updated over the wifi (520Mb ish), but after rebooting into the updated system the wifi failed to connect. always asking for the authentication password.
I have reconnected the wired network and the system works fine. But the Wifi, no. ---- Any Ideas.
Title: Re: Hi, Newbee with wifi problems.
Post by: pavroo on April 07, 2015, 05:23:16 PM
Show me the output, please:
lspci -v | grep Network
Title: Re: Hi, Newbee with wifi problems.
Post by: brian on April 07, 2015, 10:24:46 PM
Thank you . From LXterm:

brian@spat400:~$ lspci -v | grep Network
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
brian@spat400:~$
Title: Re: Hi, Newbee with wifi problems.
Post by: pavroo on April 08, 2015, 12:51:00 AM
Check do you have 'firmware-iwlwifi' package installed:
apt-cache policy firmware-iwlwifi
If yes, try to load the module:
modprobe -r iwlwifi
If no problem then:
modprobe iwlwifi
Title: Re: Hi, Newbee with wifi problems.
Post by: brian on April 08, 2015, 12:21:55 PM
brian@spat400:~$ apt-cache policy firmware-iwlwifi
firmware-iwlwifi:
  Installed: 0.43
  Candidate: 0.43
  Version table:
*** 0.43 0
        500 http://ftp.debian.org/debian/ testing/non-free amd64 Packages
        100 /var/lib/dpkg/status
brian@spat400:~$ modprobe -r iwlwifi
bash: modprobe: command not found
brian@spat400:~$ modprobe iwlwifi
bash: modprobe: command not found
brian@spat400:~$
Title: Re: Hi, Newbee with wifi problems.
Post by: pavroo on April 08, 2015, 01:46:57 PM
Sorry, mea culpa.
Use:
sudo modprobe -r iwlwifi
If no problem then:
sudo modprobe iwlwifi
Title: Re: Hi, Newbee with wifi problems.
Post by: brian on April 08, 2015, 03:28:04 PM
brian@spat400:~$ sudo modprobe -r iwlwifi

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for brian:
modprobe: FATAL: Module iwlwifi is in use.
brian@spat400:~$ sudo modprobe -r iwlwifi
modprobe: FATAL: Module iwlwifi is in use.
brian@spat400:~$

-----------------------------------------------------
NB. Before the second execution of the modprobe command I went to the Network menu and disabled the "Wifi network" in the menu, to see if it made any difference. But No.

-------------------------------------------------------
PS. Unless you need to sort this issue, then please don't spend any more time on it in this context on my behalf.
I noticed you have released the SparkyLinux 4 RC. It may not have the wide range of gaming stuff included, but it looks like it ticks all my boxes. It worked strait off the Live test with no apparent Wifi issues. 
Title: Re: Hi, Newbee with wifi problems.
Post by: brian on April 08, 2015, 03:39:00 PM
Re my previous post: I am keeping the Gameover 64bit machine until you tell me othewise - and don't need to do any more tests.
The 4RC distro is on a different machine.
Regards.
Title: Re: Hi, Newbee with wifi problems.
Post by: FranceIsBacon on April 08, 2015, 05:04:06 PM
sudo ifconfig wlan0 down

This will fix that pesky error when trying to modprobe.

http://ubuntuforums.org/showthread.php?t=2010968&page=3

After some light googling it seems that some intel cards have some issues with wifi and BT coexisting. adding a line of code to the iwlwifi.conf might fix your issue.

sudo leafpad /etc/modprobe.d/iwlwifi.conf

then add the following line to the file and save it:

options iwlwifi bt_coex_active=0

then bring wlan0 back up:

sudo ifconfig wlan0 up
Title: Re: Hi, Newbee with wifi problems.
Post by: brian on April 09, 2015, 10:44:25 AM
No change after carrying out the above procedure.
This stuff is well above my Linux pay grade, but:
The Wifi (Intel 5200AGN) works fine during live run, and after install to HDD.
It fails after the "System update". So it seems that whatever is changed during that update (500Mb ish.) causes the problem.
I don't know how to find out what part of the update affects the wifi stuff, or how to roll back the update until it starts working again.
Title: Re: Hi, Newbee with wifi problems.
Post by: pavroo on April 09, 2015, 12:29:57 PM
The 'firmware-iwlwifi' package is in version 0.43 before and after upgrading so can't be that one.
Should be something else ?
Title: Re: Hi, Newbee with wifi problems.
Post by: brian on April 10, 2015, 12:41:08 AM
Re:
The 'firmware-iwlwifi' package is in version 0.43.

Is this package. also used in the 4rc distro??

Title: Re: Hi, Newbee with wifi problems.
Post by: pavroo on April 10, 2015, 06:18:19 PM
Yes, it is.
It means it is not problem with firmware.
The upgrade changed something else, but don't know what.
Title: Re: Hi, Newbee with wifi problems.
Post by: MoroS on April 10, 2015, 06:28:04 PM
Quote from: pavroo on April 10, 2015, 06:18:19 PM
Yes, it is.
It means it is not problem with firmware.
The upgrade changed something else, but don't know what.

Kernel/modules perhaps? You could compare (or post here) the output of lsmod ran both on the installed system and on the livecd.
Title: Re: Hi, Newbee with wifi problems.
Post by: brian on April 11, 2015, 12:42:09 AM
OK --  This is the output from lsmod on the "updated" installation.
I.ll Load the live session next, and then paste that output.


brian@spat400:~$ lsmod
Module                  Size  Used by
rfcomm                 57927  4
bnep                   17431  2
nfsd                  263032  2
auth_rpcgss            51211  1 nfsd
oid_registry           12419  1 auth_rpcgss
nfs_acl                12511  1 nfsd
nfs                   188136  0
lockd                  83389  2 nfs,nfsd
fscache                45542  1 nfs
sunrpc                237402  6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
btusb                  29721  0
bluetooth             374429  9 bnep,btusb,rfcomm
6lowpan_iphc           16588  1 bluetooth
joydev                 17063  0
iTCO_wdt               12831  0
iTCO_vendor_support    12649  1 iTCO_wdt
snd_hda_codec_conexant    17841  1
snd_hda_codec_generic    63107  2 snd_hda_codec_conexant
pcmcia                 49012  0
iwldvm                135156  0
mac80211              474218  1 iwldvm
radeon               1345162  1
coretemp               12820  0
kvm_intel             139116  0
kvm                   388635  1 kvm_intel
yenta_socket           38994  0
pcmcia_rsrc            17433  1 yenta_socket
psmouse                98616  0
pcmcia_core            18392  3 pcmcia,pcmcia_rsrc,yenta_socket
pcspkr                 12595  0
snd_hda_intel          26327  3
iwlwifi                96547  1 iwldvm
snd_hda_controller     26727  1 snd_hda_intel
evdev                  17445  25
i2c_i801               16965  0
lpc_ich                20768  0
snd_hda_codec         104463  4 snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
i915                  837133  2
serio_raw              12849  0
mfd_core               12601  1 lpc_ich
cfg80211              405538  3 iwlwifi,mac80211,iwldvm
ttm                    77862  1 radeon
snd_hwdep              13148  1 snd_hda_codec
drm_kms_helper         49210  2 i915,radeon
snd_pcm                88662  3 snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26614  1 snd_pcm
mei_me                 17941  0
mei                    74977  1 mei_me
thinkpad_acpi          69119  0
nvram                  13034  1 thinkpad_acpi
snd                    65244  14 snd_hwdep,snd_timer,snd_hda_codec_conexant,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi
tpm_tis                17182  0
soundcore              13026  2 snd,snd_hda_codec
rfkill                 18867  6 cfg80211,thinkpad_acpi,bluetooth
wmi                    17339  0
drm                   249955  7 ttm,i915,drm_kms_helper,radeon
battery                13356  0
button                 12944  1 i915
i2c_algo_bit           12751  2 i915,radeon
i2c_core               46012  6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,radeon
shpchp                 31121  0
ac                     12715  0
tpm                    31511  1 tpm_tis
video                  18096  1 i915
acpi_cpufreq           17218  1
processor              28221  3 acpi_cpufreq
loop                   26605  0
fuse                   83350  3
parport_pc             26300  0
ppdev                  16782  0
lp                     17074  0
parport                35749  3 lp,ppdev,parport_pc
autofs4                35529  2
ext4                  473802  1
crc16                  12343  2 ext4,bluetooth
mbcache                17171  1 ext4
jbd2                   82413  1 ext4
sg                     29973  0
sd_mod                 44356  3
crc_t10dif             12431  1 sd_mod
crct10dif_generic      12581  1
sr_mod                 21903  0
cdrom                  47424  1 sr_mod
crct10dif_common       12356  2 crct10dif_generic,crc_t10dif
ahci                   33291  2
libahci                27158  1 ahci
libata                177457  2 ahci,libahci
scsi_mod              191405  4 sg,libata,sd_mod,sr_mod
firewire_ohci          39523  0
firewire_core          56665  1 firewire_ohci
crc_itu_t              12347  1 firewire_core
thermal                17559  0
thermal_sys            27642  3 video,thermal,processor
uhci_hcd               43499  0
ehci_pci               12512  0
ehci_hcd               69837  1 ehci_pci
e1000e                203664  0
ptp                    17692  1 e1000e
pps_core               17225  1 ptp
usbcore               195340  4 btusb,uhci_hcd,ehci_hcd,ehci_pci
usb_common             12440  1 usbcore
brian@spat400:~$
Title: Re: Hi, Newbee with wifi problems.
Post by: brian on April 11, 2015, 12:58:46 AM
This is the output from lsmod on the live system through wifi.

live@live:~$ lsmod
Module                  Size  Used by
ctr                    12927  2
ccm                    17577  2
bnep                   17431  2
nfsd                  263032  2
auth_rpcgss            51211  1 nfsd
oid_registry           12419  1 auth_rpcgss
nfs_acl                12511  1 nfsd
nfs                   188136  0
lockd                  83389  2 nfs,nfsd
fscache                45542  1 nfs
sunrpc                237402  6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
ecb                    12737  1
btusb                  29721  0
bluetooth             374429  21 bnep,btusb
6lowpan_iphc           16588  1 bluetooth
arc4                   12536  2
joydev                 17063  0
iTCO_wdt               12831  0
iwldvm                135156  0
crc16                  12343  1 bluetooth
iTCO_vendor_support    12649  1 iTCO_wdt
mac80211              474218  1 iwldvm
radeon               1341087  1
evdev                  17445  26
psmouse                98616  0
coretemp               12820  0
serio_raw              12849  0
kvm_intel             139116  0
pcspkr                 12595  0
pcmcia                 49012  0
kvm                   388635  1 kvm_intel
i915                  837133  2
snd_hda_codec_conexant    17841  1
lpc_ich                20768  0
yenta_socket           38994  0
iwlwifi                96547  1 iwldvm
snd_hda_codec_generic    63107  2 snd_hda_codec_conexant
tpm_tis                17182  0
thinkpad_acpi          69119  0
i2c_i801               16965  0
ttm                    69670  1 radeon
mfd_core               12601  1 lpc_ich
tpm                    31511  1 tpm_tis
cfg80211              405538  3 iwlwifi,mac80211,iwldvm
drm_kms_helper         49210  2 i915,radeon
pcmcia_rsrc            17433  1 yenta_socket
pcmcia_core            18392  3 pcmcia,pcmcia_rsrc,yenta_socket
snd_hda_intel          26327  3
nvram                  13034  1 thinkpad_acpi
snd_hda_controller     26727  1 snd_hda_intel
snd_hda_codec         104463  4 snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
wmi                    17339  0
mei_me                 17941  0
drm                   249955  7 ttm,i915,drm_kms_helper,radeon
snd_hwdep              13148  1 snd_hda_codec
acpi_cpufreq           17218  1
i2c_algo_bit           12751  2 i915,radeon
i2c_core               46012  6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,radeon
mei                    74977  1 mei_me
rfkill                 18867  5 cfg80211,thinkpad_acpi,bluetooth
snd_pcm                88662  3 snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26614  1 snd_pcm
battery                13356  0
video                  18030  1 i915
snd                    65244  14 snd_hwdep,snd_timer,snd_hda_codec_conexant,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi
ac                     12715  0
button                 12944  1 i915
soundcore              13026  2 snd,snd_hda_codec
processor              28221  3 acpi_cpufreq
shpchp                 31121  0
fuse                   83350  3
parport_pc             26300  0
ppdev                  16782  0
lp                     17074  0
parport                35749  3 lp,ppdev,parport_pc
autofs4                35529  2
squashfs               43856  1
loop                   26605  3
aufs                  199579  2563
nls_utf8               12456  1
isofs                  38965  1
sd_mod                 44356  0
crc_t10dif             12431  1 sd_mod
crct10dif_generic      12581  1
sg                     29973  0
sr_mod                 21903  1
cdrom                  47424  1 sr_mod
crct10dif_common       12356  2 crct10dif_generic,crc_t10dif
ahci                   33291  1
libahci                27158  1 ahci
firewire_ohci          39523  0
libata                177457  2 ahci,libahci
scsi_mod              191405  4 sg,libata,sd_mod,sr_mod
firewire_core          56665  1 firewire_ohci
crc_itu_t              12347  1 firewire_core
thermal                17559  0
thermal_sys            27642  3 video,thermal,processor
ehci_pci               12512  0
uhci_hcd               43499  0
ehci_hcd               69837  1 ehci_pci
e1000e                203664  0
ptp                    17692  1 e1000e
pps_core               17225  1 ptp
usbcore               195340  4 btusb,uhci_hcd,ehci_hcd,ehci_pci
usb_common             12440  1 usbcore
live@live:~$ lsmod
Title: Re: Hi, Newbee with wifi problems.
Post by: MoroS on April 13, 2015, 05:12:47 PM
The modules look good, so the issue is probably elsewhere. Let's look from the other side: the GUI. What desktop are you running and does it have a NetworkManager applet in the systray, like so:
(http://pliki.dnadesign.pl/forums/nm-icon.png)
(screenshot from another post, but we spent a few days before finally discovering, that the user removed the NetworkManager applet :P )
Title: Re: Hi, Newbee with wifi problems.
Post by: brian on April 14, 2015, 06:07:32 PM
This is the 64bit sparkylinux "gameover" distro. Downloaded and installed about the 7th April.
Wifi was fine in the live test, and after system install to HDD, but continuously requests the password after the system update.

The networkmanager applet is in the system tray at the bottom right of the screen.
When opened it displays the detected wifi signals as well as the wired network.
If the wired network is disabled in the applet the wifi is still the same.
If the ethernet cable is disconnected before or after boot it makes no difference to the wifi operation.
If the ethernet is connected after boot it works fine.

????????
Title: Re: Hi, Newbee with wifi problems.
Post by: MoroS on April 15, 2015, 01:25:52 PM
Quote from: brian on April 14, 2015, 06:07:32 PM
When opened it displays the detected wifi signals as well as the wired network.

That means it's not a module, but a NetworkManager problem. Perhaps somethings missing here. You can try shutting down the nm-applet (the systray icon should have an exit option) and launching it from the terminal to see what messages are being output. You can also check your home directory for a xsession-errors log file or the /var/log/X(something).log files to see if there are any messages related to networking, encryption or similar.
Title: Re: Hi, Newbee with wifi problems.
Post by: brian on April 17, 2015, 02:29:04 AM
OK - I'll try those things.
Title: Re: Hi, Newbee with wifi problems.
Post by: brian on April 30, 2015, 01:56:49 PM
Apologies for the delay. Just spent some time in hospital. I'm going to abandon this thread.
I've also been working on the rc4 xfce distro and it works really well on this platform.
Sorry to have wasted your time.
Title: Re: Hi, Newbee with wifi problems.
Post by: MoroS on April 30, 2015, 02:11:39 PM
Quote from: brian on April 30, 2015, 01:56:49 PM
Apologies for the delay. Just spent some time in hospital. I'm going to abandon this thread.
I've also been working on the rc4 xfce distro and it works really well on this platform.
Sorry to have wasted your time.

No problem. Hope the hospital visit wasn't about anything serious. :)

PS. I'm using the xfce edition myself. Works nicely. :D
Title: Re: Hi, Newbee with wifi problems.
Post by: way12go on May 04, 2015, 12:21:22 PM
To stop linux asking for wifi password... do this

http://sparkylinux.org/forum/index.php/topic,2647.msg4054.html#msg4054