You are not logged in.

#1 2010-08-23 03:09:05

karbon
Member
Registered: 2010-06-29
Posts: 17

[SOLVED]cannot connect to wireless network due to a channel setting

Hello guys, I recently came across a problem with my wireless network.

It was first a system-wide upgrade(adapted from the pacman's log):

[2010-08-22 15:10] Running 'pacman -Syu'
[2010-08-22 15:10] synchronizing package lists
[2010-08-22 15:10] starting full system upgrade
[2010-08-22 16:14] upgraded avahi (0.6.25-3 -> 0.6.27-2)
[2010-08-22 16:14] upgraded nspr (4.8.4-1 -> 4.8.6-1)
[2010-08-22 16:14] upgraded nss (3.12.6-3 -> 3.12.7-1)
[2010-08-22 16:14] upgraded chromium (5.0.375.125-1 -> 5.0.375.127-1)
[2010-08-22 16:14] upgraded curl (7.21.0-1 -> 7.21.1-1)
[2010-08-22 16:14] upgraded freetype2 (2.4.1-1 -> 2.4.2-1)
[2010-08-22 16:14] upgraded gnome-keyring (2.30.3-1 -> 2.30.3-2)
[2010-08-22 16:14] upgraded gstreamer0.10 (0.10.29-1 -> 0.10.30-1)
[2010-08-22 16:14] upgraded orc (0.4.6-1 -> 0.4.7-1)
[2010-08-22 16:14] upgraded udev (160-1 -> 161-1)
[2010-08-22 16:14] upgraded gstreamer0.10-base (0.10.29-1 -> 0.10.30-1)
[2010-08-22 16:14] upgraded gstreamer0.10-base-plugins (0.10.29-1 -> 0.10.30-1)
[2010-08-22 16:14] upgraded k3b (2.0.0-2 -> 2.0.1-2)
[2010-08-22 16:14] upgraded linux-firmware (20100623-2 -> 20100807-1)
[2010-08-22 16:14] >>> Updating module dependencies. Please wait ...
[2010-08-22 16:14] >>> MKINITCPIO SETUP
[2010-08-22 16:14] >>> ----------------
[2010-08-22 16:14] >>> If you use LVM2, Encrypted root or software RAID,
[2010-08-22 16:14] >>> Ensure you enable support in /etc/mkinitcpio.conf .
[2010-08-22 16:14] >>> More information about mkinitcpio setup can be found here:
[2010-08-22 16:14] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
[2010-08-22 16:14] 
[2010-08-22 16:14] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2010-08-22 16:14] ==> Building image "default"
[2010-08-22 16:14] ==> Running command: /sbin/mkinitcpio -k 2.6.35-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
[2010-08-22 16:14] :: Begin build
[2010-08-22 16:14] :: Parsing hook [base]
[2010-08-22 16:14] :: Parsing hook [udev]
[2010-08-22 16:14] :: Parsing hook [autodetect]
[2010-08-22 16:14] :: Parsing hook [pata]
[2010-08-22 16:14] :: Parsing hook [scsi]
[2010-08-22 16:14] :: Parsing hook [sata]
[2010-08-22 16:14] :: Parsing hook [usbinput]
[2010-08-22 16:14] :: Parsing hook [keymap]
[2010-08-22 16:15] :: Parsing hook [encrypt]
[2010-08-22 16:15] :: Parsing hook [lvm2]
[2010-08-22 16:15] :: Parsing hook [filesystems]
[2010-08-22 16:15] :: Generating module dependencies
[2010-08-22 16:15] :: Generating image '/boot/kernel26.img'...SUCCESS
[2010-08-22 16:15] ==> SUCCESS
[2010-08-22 16:15] ==> Building image "fallback"
[2010-08-22 16:15] ==> Running command: /sbin/mkinitcpio -k 2.6.35-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
[2010-08-22 16:15] :: Begin build
[2010-08-22 16:15] :: Parsing hook [base]
[2010-08-22 16:15] :: Parsing hook [udev]
[2010-08-22 16:15] :: Parsing hook [pata]
[2010-08-22 16:15] :: Parsing hook [scsi]
[2010-08-22 16:15] :: Parsing hook [sata]
[2010-08-22 16:15] :: Parsing hook [usbinput]
[2010-08-22 16:15] :: Parsing hook [keymap]
[2010-08-22 16:15] :: Parsing hook [encrypt]
[2010-08-22 16:15] :: Parsing hook [lvm2]
[2010-08-22 16:15] :: Parsing hook [filesystems]
[2010-08-22 16:16] :: Generating module dependencies
[2010-08-22 16:16] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
[2010-08-22 16:16] ==> SUCCESS
[2010-08-22 16:16] upgraded kernel26 (2.6.34.3-1 -> 2.6.35.2-1)
[2010-08-22 16:16] upgraded kernel26-headers (2.6.34.3-1 -> 2.6.35.2-1)
[2010-08-22 16:16] upgraded libdatrie (0.2.3-1 -> 0.2.4-1)
[2010-08-22 16:16] upgraded libgnome-keyring (2.30.1-1 -> 2.30.1-2)
[2010-08-22 16:16] upgraded libpciaccess (0.11.0-1 -> 0.12.0-1)
[2010-08-22 16:16] upgraded libxvmc (1.0.5-1 -> 1.0.6-1)
[2010-08-22 16:16] upgraded mdadm (3.1.2-2 -> 3.1.3-1)
[2010-08-22 16:16] upgraded pixman (0.18.2-1 -> 0.18.4-1)
[2010-08-22 16:16] upgraded poppler-data (0.4.2-1 -> 0.4.3-1)
[2010-08-22 16:16] upgraded powertop (1.11-2 -> 1.13-2)
[2010-08-22 16:16] upgraded pycairo (1.8.8-1 -> 1.8.10-1)
[2010-08-22 16:16] upgraded pygtk (2.17.0-1 -> 2.17.0-2)
[2010-08-22 16:16] upgraded qimageblitz (0.0.5-1 -> 0.0.6-1)
[2010-08-22 16:16] upgraded usbutils (0.87-1 -> 0.90-1)
[2010-08-22 16:16] upgraded vlc (1.1.2-2 -> 1.1.3-1)
[2010-08-22 16:16] upgraded xextproto (7.1.1-1 -> 7.1.2-1)
[2010-08-22 16:16] upgraded xf86-input-evdev (2.4.0-1 -> 2.4.0-2)
[2010-08-22 16:16] upgraded xproto (7.0.17-1 -> 7.0.18-1)

Then after a reboot, I wouldn't be able to connect to wireless network anymore.

I tried "netcfg Wireless_Archer(my wireless profile's name)" as usual, it replied:

[root@mzws log]# netcfg Wireless_Archer
:: Wireless_Archer up                                                                       [BUSY] 
 > WPA Authentication/Association Failed 
                                                                                            [FAIL] 

Next I tried to bing the network up manually. I followed the "Wireless Setup" and "WPA supplicant" wiki, then I get a timed out problem:

[root@mzws ~]# ifconfig wlan0 up
[root@mzws ~]# iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: D8:5D:4C:59:52:EC
                    Channel:13
                    Frequency:2.472 GHz (Channel 13)
                    Quality=66/70  Signal level=-44 dBm  
                    Encryption key:on
                    ESSID:"Archer"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:9 Mb/s; 18 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000000bf666fe
                    Extra: Last beacon: 70ms ago
                    IE: Unknown: 0006417263686572
                    IE: Unknown: 010882848B960C183048
                    IE: Unknown: 03010D
                    IE: Unknown: 2A0100
                    IE: Unknown: 32041224606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                       Preauthentication Supported
                    IE: Unknown: DD0900037F01010008FF7F
                    IE: Unknown: DD1A00037F0301000000D85D4C5952ECDA5D4C5952EC64002C010808
          Cell 02 - Address: 00:22:B0:8C:76:D7
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=22/70  Signal level=-88 dBm  
                    Encryption key:on
                    ESSID:"szpatrick"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Unknown/bug
                    Extra:tsf=000000e93e5b9174
                    Extra: Last beacon: 1340ms ago
                    IE: Unknown: 0009737A7061747269636B
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030101
                    IE: Unknown: 32040C183060
                    IE: Unknown: 0706474220010D10
                    IE: Unknown: 33082001020304050607
                    IE: Unknown: 33082105060708090A0B
                    IE: Unknown: DD050050F20500
                    IE: Unknown: DD0E0050F204104A0001101044000102
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 2D1A6E1013FFFF0000010000000000000000000000000C0000000000
                    IE: Unknown: 3D1601050100000000000000000000000000000000000000
                    IE: Unknown: 7F0101
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C336E1013FFFF0000010000000000000000000000000C0000000000
                    IE: Unknown: DD1A00904C3401050100000000000000000000000000000000000000
                    IE: Unknown: DD07000C4304000000
          Cell 03 - Address: 00:25:68:EB:3F:FC
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=26/70  Signal level=-84 dBm  
                    Encryption key:on
                    ESSID:"vodafone3FFB"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000002f6c23184
                    Extra: Last beacon: 570ms ago
                    IE: Unknown: 000C766F6461666F6E6533464642
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 03010B
                    IE: Unknown: 050400010000
                    IE: Unknown: 200100
                    IE: Unknown: 2A0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD180050F2020101020003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C334E101BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 2D1A4E101BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C340B071B00000000000000000000000000000000000000
                    IE: Unknown: 3D160B071B00000000000000000000000000000000000000
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD0A00037F04010020000000
                    IE: Unknown: 0706494520010D14

[root@mzws ~]# wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
[root@mzws ~]# iwconfig wlan0
wlan0     IEEE 802.11bgn  ESSID:"Archer"  
          Mode:Managed  Frequency:2.472 GHz  Access Point: D8:5D:4C:59:52:EC   
          Bit Rate=1 Mb/s   Tx-Power=14 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=66/70  Signal level=-44 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[root@mzws ~]# sleep 10s;dhcpcd wlan0
dhcpcd[4076]: version 5.2.7 starting
dhcpcd[4076]: wlan0: rebinding lease of 192.168.1.102
dhcpcd[4076]: wlan0: carrier lost
dhcpcd[4076]: wlan0: carrier acquired
dhcpcd[4076]: wlan0: rebinding lease of 192.168.1.102
dhcpcd[4076]: wlan0: broadcasting for a lease
dhcpcd[4076]: wlan0: carrier lost
dhcpcd[4076]: wlan0: carrier acquired
dhcpcd[4076]: wlan0: rebinding lease of 192.168.1.102
dhcpcd[4076]: wlan0: broadcasting for a lease
dhcpcd[4076]: wlan0: carrier lost
dhcpcd[4076]: wlan0: carrier acquired
dhcpcd[4076]: wlan0: rebinding lease of 192.168.1.102
dhcpcd[4076]: timed out

I tried the "iwconfig wlan0 channel auto", but that didn't work. Here's the output of "lspci | grep -i net":

[root@mzws ~]# lspci | grep -i net
00:19.0 Ethernet controller: Intel Corporation 82567LF Gigabit Network Connection (rev 03)
03:00.0 Network controller: Intel Corporation WiFi Link 1000 Series

So what's the problem here? I searched the forum and google, and it seemed that I connected to a wrong router(for sometimes I only one "carrier lost" then "timed out"), but how was that happened? Things worked quite well before the upgrading as well as in my Windows environment.

Any reply would be appreciated! Thanks in advance!

Last edited by karbon (2010-08-23 06:40:10)

Offline

#2 2010-08-23 05:26:25

Proofrific
Member
Registered: 2008-01-05
Posts: 215

Re: [SOLVED]cannot connect to wireless network due to a channel setting

Maybe it's a DHCP problem.  Try either a static IP, or try dhclient instead of dhcpcd.

Offline

#3 2010-08-23 06:39:14

karbon
Member
Registered: 2010-06-29
Posts: 17

Re: [SOLVED]cannot connect to wireless network due to a channel setting

Thanks Proofrific, but I believe it's not, for the DHCP server is a built-in module in my wireless router.

I am now able to connect to my wireless network now. And it seems to be a little kernel bug as I discovered a thread(sorry but I forgot which one) in the forum discussing a similar problem.... Somebody in that post suggested a work-around to change the channel, as their default setting is channel 13 or 12.

I tried and it did work! Just simply open your router's setting page and then change the channel from auto to 3(in my case), and netcfg worked well now. For the manual configuration, I suppose the "iwconfig wlan0 channel 3" should be issued.

Thanks everyone in the forum for providing their solutions!

Offline

Board footer

Powered by FluxBB