wlan0 authenticate timout [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

wlan0 authenticate timout [Solved]

Postby iplayfast » Fri Apr 20, 2012 19:05

/* update, solved by emerging wicd */

I'm a Gentoo convert, and upon installing sabayon (which so far I love) have lost wireless ability.
wired is working fine.

I can boot under centos 6, dvd, and it's working fine there, so I tried downgrading the kernel to 2.6.35 thinking it might be a driver problem but still didn't work.

I'm not sure what to try next. Thanks for your help.

Code: Select all
lspci | grep -i  net
04:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
07:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)

Code: Select all
lsmod | grep wi
iwlwifi               152619  0
mac80211              176242  1 iwlwifi
cfg80211              132007  2 iwlwifi,mac80211


Code: Select all
dmesg | tail
[   31.971153] wlan0: authenticate with 58:6d:8f:b1:bb:68 (try 3)
[   32.171162] wlan0: authentication with 58:6d:8f:b1:bb:68 timed out
[   40.274580] wlan0: authenticate with 58:6d:8f:b1:bb:68 (try 1)
[   40.474031] wlan0: authenticate with 58:6d:8f:b1:bb:68 (try 2)
[   40.674024] wlan0: authenticate with 58:6d:8f:b1:bb:68 (try 3)
[   40.874026] wlan0: authentication with 58:6d:8f:b1:bb:68 timed out
[   48.978699] wlan0: authenticate with 58:6d:8f:b1:bb:68 (try 1)
[   49.178034] wlan0: authenticate with 58:6d:8f:b1:bb:68 (try 2)
[   49.378155] wlan0: authenticate with 58:6d:8f:b1:bb:68 (try 3)
[   49.578029] wlan0: authentication with 58:6d:8f:b1:bb:68 timed out
Last edited by iplayfast on Tue Apr 24, 2012 22:17, edited 1 time in total.
iplayfast
Baby Hen
 
Posts: 8
Joined: Fri Apr 20, 2012 18:32

Re: wlan0 authenticate timout

Postby Fitzcarraldo » Fri Apr 20, 2012 20:41

Is the microcode for the wireless controller installed?

Code: Select all
equo install linux-firmware
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7340
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: wlan0 authenticate timout

Postby iplayfast » Fri Apr 20, 2012 21:28

Doing a search shows it is installed,
I did a resintall, and rebooted, still waiting for authorization. (same as before)
iplayfast
Baby Hen
 
Posts: 8
Joined: Fri Apr 20, 2012 18:32

Re: wlan0 authenticate timout

Postby Fitzcarraldo » Fri Apr 20, 2012 22:49

Does lsmod show any other wireless modules loaded that could be interfering with the Intel iwlwifi module? I can't tell from what you posted, as you have filtered on "wi".

If lsmod shows there are no other wireless modules loaded apart from the iwlwifi-related modules, a couple of other things you could try are:

Experiment 1

Create the file /etc/modprobe.d/iwlwifi.conf and put the following single line in it:

Code: Select all
options iwlwifi disable_hw_scan=0

Then run the command update-modules, reboot and see if there is a difference.

Experiment 2

Edit the file /etc/modprobe.d/iwlwifi.conf and replace the single line in it with the following line:

Code: Select all
options iwlwifi 11n_disable=1

Then run the command update-modules, reboot and see if there is a difference.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7340
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: wlan0 authenticate timout

Postby iplayfast » Fri Apr 20, 2012 23:10

I don't think so, but here is the complete list
Code: Select all
lsmod
Module                  Size  Used by
ipt_REJECT              1904  1
xt_comment               800  1
ipt_LOG                 6056  5
xt_limit                1432  7
xt_tcpudp               2064  9
xt_addrtype             2176  4
xt_state                 976  7
ip6table_filter         1104  1
ip6_tables             13828  1 ip6table_filter
ipv6                  237344  42
nf_nat_irc              1136  0
nf_conntrack_irc        3080  1 nf_nat_irc
nf_nat_ftp              1328  0
nf_nat                 12313  2 nf_nat_irc,nf_nat_ftp
nf_conntrack_ipv4       8730  9 nf_nat
nf_defrag_ipv4          1150  1 nf_conntrack_ipv4
nf_conntrack_ftp        4984  1 nf_nat_ftp
nf_conntrack           48165  7 xt_state,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_nat,nf_conntrack_ipv4,nf_conntrack_ftp
iptable_filter          1152  1
ip_tables              12773  1 iptable_filter
x_tables               13341  11 ipt_REJECT,xt_comment,ipt_LOG,xt_limit,xt_tcpudp,xt_addrtype,xt_state,ip6table_filter,ip6_tables,iptable_filter,ip_tables
snd_hda_codec_conexant    37312  1
snd_hda_codec_hdmi     19342  1
snd_hda_intel          19000  2
snd_hda_codec          60896  3 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
i915                  303172  3
iwlwifi               152619  0
uvcvideo               50940  0
snd_hwdep               4382  1 snd_hda_codec
videodev               67462  1 uvcvideo
drm_kms_helper         20617  1 i915
drm                   153879  4 i915,drm_kms_helper
snd_pcm                55658  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
mac80211              176242  1 iwlwifi
media                   7890  2 uvcvideo,videodev
ideapad_laptop          6712  0
snd_timer              13958  1 snd_pcm
v4l2_compat_ioctl32     7637  1 videodev
snd                    43877  11 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
cfg80211              132007  2 iwlwifi,mac80211
i2c_i801                6824  0
pcspkr                  1472  0
i2c_algo_bit            4090  1 i915
intel_agp               9320  1 i915
snd_page_alloc          5845  2 snd_hda_intel,snd_pcm
iTCO_wdt               10504  0
sparse_keymap           2329  1 ideapad_laptop
i2c_core               14248  6 i915,videodev,drm_kms_helper,drm,i2c_i801,i2c_algo_bit
intel_gtt              10551  3 i915,intel_agp
joydev                  8064  0
video                   9950  1 i915
iTCO_vendor_support     1617  1 iTCO_wdt
xts                     2213  0
gf128mul                5338  1 xts
sha512_generic          6657  0
sha256_generic          9501  0
sha1_generic            1787  0
aes_x86_64              7340  0
iscsi_tcp               7724  0
tg3                   115327  0
e1000                  83663  0
fuse                   54994  1
xfs                   417549  0
nfs                   246010  0
nfs_acl                 1983  1 nfs
auth_rpcgss            35290  1 nfs
lockd                  61372  1 nfs
sunrpc                163888  4 nfs,nfs_acl,auth_rpcgss,lockd
jfs                   139607  0
reiserfs              203193  0
ext4                  228944  2
jbd2                   43238  1 ext4
ext3                  106307  0
jbd                    36315  1 ext3
ext2                   53365  1
mbcache                 4513  3 ext4,ext3,ext2
scsi_wait_scan           695  0
sl811_hcd               8915  0
ohci_hcd               17358  0
uhci_hcd               18658  0
ehci_hcd               33418  0
sx8                    10885  0
imm                     8645  0
parport                26823  1 imm
pata_pcmcia             9621  0
pcmcia                 29224  1 pata_pcmcia
iplayfast
Baby Hen
 
Posts: 8
Joined: Fri Apr 20, 2012 18:32

Re: wlan0 authenticate timout

Postby iplayfast » Fri Apr 20, 2012 23:24

Experiment 1 ended up with iwlwifi not loaded. Trying manually gave an unknown symbol error.
Experiment 2 has no different result. Connection State sits there at Waiting for authorization. reloading with 11n_disable=0 has same result as well.

It looks like it can see the wireless but is having problems with wpa. Dmesg is showing timeouts.
iplayfast
Baby Hen
 
Posts: 8
Joined: Fri Apr 20, 2012 18:32

Re: wlan0 authenticate timout

Postby Fitzcarraldo » Sat Apr 21, 2012 0:28

Well, you could unload the ipv6 module to see if that is the cause, as it has been for some people (depending on their router):

Code: Select all
rmmod ipv6

Another possibility is the DHCP client. I have to use dhclient on one of my laptops, as using dhcpcd just won't allow the laptop to connect. Do your /var/log/messages timeout messages look like the ones in the Gentoo Forums thread Wireless not working (Atheros ATH5K)?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7340
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: wlan0 authenticate timout

Postby iplayfast » Sat Apr 21, 2012 6:57

I'm having problems unloading the ip6 as it's buried under a bunch of other things. And no, it doesn't look like the gentoo thread.
All I'm seeing is timeout, as shown in the first post.
I wish I could turn on debugging. I tried recompiling the kernel but grub2 couldn't figure out my drives. After a day of playing I had things so screwed up I restarted from scratch. Very frustrating.

My next step is to boot from the centos cd, copy the kernel and modules over, reboot redo the grub reboot again under the new kernel and hope that works.
***update***
nope it didn't work. centos doesn't have an initramfs (I don't know how they do it) grub2 couldn't load 0,0.
I also blacklisted the ipv6 stuff but that made no difference.

The centos version (which worked perfectly with no timeouts at all) is version 2.6.32... The earliest one in the sabayon repository is 2.6.36, which I've got installed, and which fails with the same timeouts as 3.2.0

Is there instructions for building kernel from source? I can do everything but create the initramfs, I don't know how equo does that.
iplayfast
Baby Hen
 
Posts: 8
Joined: Fri Apr 20, 2012 18:32

Re: wlan0 authenticate timout

Postby Fitzcarraldo » Sat Apr 21, 2012 11:45

For building the kernel from source, see the SL Wiki article HOWTO: Upgrade kernel using genkernel. Despite the title, it applies to downgrading as well as upgrading.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7340
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: wlan0 authenticate timout

Postby iplayfast » Sat Apr 21, 2012 18:00

Yes, this is the path I took before. The problem is, that genkernel blocks openrc if I follow those instruction. If I force the issue then the initramfs problem rears it's head.

I'm going to try to install genkernel with equo which isn't complaining about blockages.
iplayfast
Baby Hen
 
Posts: 8
Joined: Fri Apr 20, 2012 18:32

Next

Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 0 guests