[arch-general] Problems with netcfg
I decided to start using netcfg to manage my wireless connection instead of NetworkManager, but I can't seem to get it to connect reliably. There seems to be no pattern to when it will or won't connect, and I'm not having any connectivity problems in windows. Range isn't an issue either. I'm practically sitting right next to the router most of the time! If anyone can tell me what I'm doing wrong, I would greatly appreciate it. I'm using version 2.1.2 from the Core repository. Here's the error I get from netcfg: [~]$ sudo netcfg home :: home up [BUSY] wlan0: timed out - DHCP IP lease attempt failed [FAIL] Here's the profile I'm using: CONNECTION="wireless" DESCRIPTION="A simple WEP encrypted wireless connection" INTERFACE=wlan0 SCAN="yes" SECURITY="wap" ESSID="The Thomas' Net" KEY="xxxxxxxxxx" IP="dhcp" Output from lsmod: [~]$ lsmod Module Size Used by i915 67208 2 drm 108768 3 i915 fuse 59584 2 joydev 14208 0 pcmcia 39192 0 sdhci_pci 10624 0 sdhci 19588 1 sdhci_pci uvcvideo 62344 0 compat_ioctl32 11520 1 uvcvideo mmc_core 54624 1 sdhci psmouse 57116 0 videodev 37888 2 uvcvideo,compat_ioctl32 v4l1_compat 17284 2 uvcvideo,videodev snd_pcsp 13052 1 yenta_socket 28812 1 rsrc_nonstatic 13312 1 yenta_socket pcmcia_core 39204 3 pcmcia,yenta_socket,rsrc_nonstatic sg 31840 0 i2c_i801 12444 0 i2c_core 26144 1 i2c_i801 serio_raw 8196 0 iTCO_wdt 15184 0 iTCO_vendor_support 5636 1 iTCO_wdt video 22420 0 output 5248 1 video intel_agp 33136 1 acer_wmi 18664 0 wmi 8896 1 acer_wmi evdev 13984 6 thermal 20896 0 fan 7304 0 button 9504 0 battery 14600 0 ac 7176 0 usblp 16000 0 snd_seq_oss 35584 0 snd_seq_midi_event 9344 1 snd_seq_oss snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event snd_seq_device 9364 2 snd_seq_oss,snd_seq snd_hda_intel 531252 2 snd_hwdep 10632 1 snd_hda_intel snd_pcm_oss 45440 0 snd_pcm 82952 3 snd_pcsp,snd_hda_intel,snd_pcm_oss snd_timer 24720 2 snd_seq,snd_pcm snd_page_alloc 11792 2 snd_hda_intel,snd_pcm snd_mixer_oss 18944 1 snd_pcm_oss snd 65096 16 snd_pcsp,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss soundcore 9632 1 snd tg3 133124 0 libphy 22656 1 tg3 arc4 4096 2 ecb 5248 2 ath9k 257968 0 mac80211 193840 1 ath9k cfg80211 45488 1 mac80211 rfkill 13776 4 acer_wmi,ath9k led_class 6280 2 acer_wmi,ath9k cpufreq_powersave 3840 0 cpufreq_ondemand 10512 0 acpi_cpufreq 10896 0 freq_table 6272 2 cpufreq_ondemand,acpi_cpufreq processor 46648 4 thermal,acpi_cpufreq rtc_cmos 14040 0 rtc_core 21060 1 rtc_cmos rtc_lib 4992 1 rtc_core ext3 141328 2 jbd 57000 1 ext3 mbcache 10244 1 ext3 sr_mod 18884 0 cdrom 39080 1 sr_mod sd_mod 29096 5 uhci_hcd 27552 0 ehci_hcd 41356 0 usbcore 160432 5 uvcvideo,usblp,uhci_hcd,ehci_hcd ahci 36876 4 libata 176224 1 ahci scsi_mod 119256 4 sg,sr_mod,sd_mod,libata iwconfig (when connected, obviously): [~]$ iwconfig lo no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11bgn ESSID:"The Thomas' Net" Mode:Managed Frequency:2.437 GHz Access Point: 00:13:46:10:9B:74 Bit Rate=54 Mb/s Tx-Power=27 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Power Management:off Link Quality=100/100 Signal level:-71 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 eth0 no wireless extensions. And, I'm seeing this from dmesg: [~]$ dmesg | grep wlan0 wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba5ba04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: deauthenticating by local choice (reason=3) wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba65c04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba76c04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800b9d6404a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800b9c3604a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated -- ****BGCB***** GCC/O$ d--(+) s+:- a- C++ L++>+++ W++ K- w O? M V? PS- PE++ t 5 X R(+) tv+ b++ DI++ D G e+ h--- r+++ z+++ ****EGCB*****
Did you make sure anything related to NetworkManager isn't running. I had the same problem with wicd because I forgot to stop the daemon for wicd. -- Brandon Martin On Feb 25, 2009, at 2:12 PM, Cristopher Thomas <crisnoh@gmail.com> wrote:
I decided to start using netcfg to manage my wireless connection instead of NetworkManager, but I can't seem to get it to connect reliably. There seems to be no pattern to when it will or won't connect, and I'm not having any connectivity problems in windows. Range isn't an issue either. I'm practically sitting right next to the router most of the time! If anyone can tell me what I'm doing wrong, I would greatly appreciate it.
I'm using version 2.1.2 from the Core repository.
Here's the error I get from netcfg:
[~]$ sudo netcfg home :: home up [BUSY] wlan0: timed out - DHCP IP lease attempt failed [FAIL]
Here's the profile I'm using:
CONNECTION="wireless" DESCRIPTION="A simple WEP encrypted wireless connection" INTERFACE=wlan0 SCAN="yes" SECURITY="wap" ESSID="The Thomas' Net" KEY="xxxxxxxxxx" IP="dhcp"
Output from lsmod:
[~]$ lsmod Module Size Used by i915 67208 2 drm 108768 3 i915 fuse 59584 2 joydev 14208 0 pcmcia 39192 0 sdhci_pci 10624 0 sdhci 19588 1 sdhci_pci uvcvideo 62344 0 compat_ioctl32 11520 1 uvcvideo mmc_core 54624 1 sdhci psmouse 57116 0 videodev 37888 2 uvcvideo,compat_ioctl32 v4l1_compat 17284 2 uvcvideo,videodev snd_pcsp 13052 1 yenta_socket 28812 1 rsrc_nonstatic 13312 1 yenta_socket pcmcia_core 39204 3 pcmcia,yenta_socket,rsrc_nonstatic sg 31840 0 i2c_i801 12444 0 i2c_core 26144 1 i2c_i801 serio_raw 8196 0 iTCO_wdt 15184 0 iTCO_vendor_support 5636 1 iTCO_wdt video 22420 0 output 5248 1 video intel_agp 33136 1 acer_wmi 18664 0 wmi 8896 1 acer_wmi evdev 13984 6 thermal 20896 0 fan 7304 0 button 9504 0 battery 14600 0 ac 7176 0 usblp 16000 0 snd_seq_oss 35584 0 snd_seq_midi_event 9344 1 snd_seq_oss snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event snd_seq_device 9364 2 snd_seq_oss,snd_seq snd_hda_intel 531252 2 snd_hwdep 10632 1 snd_hda_intel snd_pcm_oss 45440 0 snd_pcm 82952 3 snd_pcsp,snd_hda_intel,snd_pcm_oss snd_timer 24720 2 snd_seq,snd_pcm snd_page_alloc 11792 2 snd_hda_intel,snd_pcm snd_mixer_oss 18944 1 snd_pcm_oss snd 65096 16 snd_pcsp, snd_seq_oss, snd_seq, snd_seq_device, snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss soundcore 9632 1 snd tg3 133124 0 libphy 22656 1 tg3 arc4 4096 2 ecb 5248 2 ath9k 257968 0 mac80211 193840 1 ath9k cfg80211 45488 1 mac80211 rfkill 13776 4 acer_wmi,ath9k led_class 6280 2 acer_wmi,ath9k cpufreq_powersave 3840 0 cpufreq_ondemand 10512 0 acpi_cpufreq 10896 0 freq_table 6272 2 cpufreq_ondemand,acpi_cpufreq processor 46648 4 thermal,acpi_cpufreq rtc_cmos 14040 0 rtc_core 21060 1 rtc_cmos rtc_lib 4992 1 rtc_core ext3 141328 2 jbd 57000 1 ext3 mbcache 10244 1 ext3 sr_mod 18884 0 cdrom 39080 1 sr_mod sd_mod 29096 5 uhci_hcd 27552 0 ehci_hcd 41356 0 usbcore 160432 5 uvcvideo,usblp,uhci_hcd,ehci_hcd ahci 36876 4 libata 176224 1 ahci scsi_mod 119256 4 sg,sr_mod,sd_mod,libata
iwconfig (when connected, obviously):
[~]$ iwconfig lo no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"The Thomas' Net" Mode:Managed Frequency:2.437 GHz Access Point: 00:13:46:10:9B:74 Bit Rate=54 Mb/s Tx-Power=27 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Power Management:off Link Quality=100/100 Signal level:-71 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
And, I'm seeing this from dmesg:
[~]$ dmesg | grep wlan0 wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba5ba04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: deauthenticating by local choice (reason=3) wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba65c04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba76c04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800b9d6404a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800b9c3604a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated
-- ****BGCB***** GCC/O$ d--(+) s+:- a- C++ L++>+++ W++ K- w O? M V? PS- PE++ t 5 X R(+) tv+ b++ DI++ D G e+ h--- r+++ z+++ ****EGCB*****
On Wed, Feb 25, 2009 at 5:12 PM, Cristopher Thomas <crisnoh@gmail.com> wrote:
I decided to start using netcfg to manage my wireless connection instead of NetworkManager, but I can't seem to get it to connect reliably. There seems to be no pattern to when it will or won't connect, and I'm not having any connectivity problems in windows. Range isn't an issue either. I'm practically sitting right next to the router most of the time! If anyone can tell me what I'm doing wrong, I would greatly appreciate it.
I'm using version 2.1.2 from the Core repository.
Here's the error I get from netcfg:
[~]$ sudo netcfg home :: home up [BUSY] wlan0: timed out - DHCP IP lease attempt failed [FAIL]
Here's the profile I'm using:
CONNECTION="wireless" DESCRIPTION="A simple WEP encrypted wireless connection" INTERFACE=wlan0 SCAN="yes" SECURITY="wap" ESSID="The Thomas' Net" KEY="xxxxxxxxxx" IP="dhcp"
Output from lsmod:
[~]$ lsmod Module Size Used by i915 67208 2 drm 108768 3 i915 fuse 59584 2 joydev 14208 0 pcmcia 39192 0 sdhci_pci 10624 0 sdhci 19588 1 sdhci_pci uvcvideo 62344 0 compat_ioctl32 11520 1 uvcvideo mmc_core 54624 1 sdhci psmouse 57116 0 videodev 37888 2 uvcvideo,compat_ioctl32 v4l1_compat 17284 2 uvcvideo,videodev snd_pcsp 13052 1 yenta_socket 28812 1 rsrc_nonstatic 13312 1 yenta_socket pcmcia_core 39204 3 pcmcia,yenta_socket,rsrc_nonstatic sg 31840 0 i2c_i801 12444 0 i2c_core 26144 1 i2c_i801 serio_raw 8196 0 iTCO_wdt 15184 0 iTCO_vendor_support 5636 1 iTCO_wdt video 22420 0 output 5248 1 video intel_agp 33136 1 acer_wmi 18664 0 wmi 8896 1 acer_wmi evdev 13984 6 thermal 20896 0 fan 7304 0 button 9504 0 battery 14600 0 ac 7176 0 usblp 16000 0 snd_seq_oss 35584 0 snd_seq_midi_event 9344 1 snd_seq_oss snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event snd_seq_device 9364 2 snd_seq_oss,snd_seq snd_hda_intel 531252 2 snd_hwdep 10632 1 snd_hda_intel snd_pcm_oss 45440 0 snd_pcm 82952 3 snd_pcsp,snd_hda_intel,snd_pcm_oss snd_timer 24720 2 snd_seq,snd_pcm snd_page_alloc 11792 2 snd_hda_intel,snd_pcm snd_mixer_oss 18944 1 snd_pcm_oss snd 65096 16 snd_pcsp,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss soundcore 9632 1 snd tg3 133124 0 libphy 22656 1 tg3 arc4 4096 2 ecb 5248 2 ath9k 257968 0 mac80211 193840 1 ath9k cfg80211 45488 1 mac80211 rfkill 13776 4 acer_wmi,ath9k led_class 6280 2 acer_wmi,ath9k cpufreq_powersave 3840 0 cpufreq_ondemand 10512 0 acpi_cpufreq 10896 0 freq_table 6272 2 cpufreq_ondemand,acpi_cpufreq processor 46648 4 thermal,acpi_cpufreq rtc_cmos 14040 0 rtc_core 21060 1 rtc_cmos rtc_lib 4992 1 rtc_core ext3 141328 2 jbd 57000 1 ext3 mbcache 10244 1 ext3 sr_mod 18884 0 cdrom 39080 1 sr_mod sd_mod 29096 5 uhci_hcd 27552 0 ehci_hcd 41356 0 usbcore 160432 5 uvcvideo,usblp,uhci_hcd,ehci_hcd ahci 36876 4 libata 176224 1 ahci scsi_mod 119256 4 sg,sr_mod,sd_mod,libata
iwconfig (when connected, obviously):
[~]$ iwconfig lo no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"The Thomas' Net" Mode:Managed Frequency:2.437 GHz Access Point: 00:13:46:10:9B:74 Bit Rate=54 Mb/s Tx-Power=27 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Power Management:off Link Quality=100/100 Signal level:-71 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
And, I'm seeing this from dmesg:
[~]$ dmesg | grep wlan0 wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba5ba04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: deauthenticating by local choice (reason=3) wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba65c04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba76c04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800b9d6404a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800b9c3604a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated
-- ****BGCB***** GCC/O$ d--(+) s+:- a- C++ L++>+++ W++ K- w O? M V? PS- PE++ t 5 X R(+) tv+ b++ DI++ D G e+ h--- r+++ z+++ ****EGCB*****
you sure networkmanager isn't still controlling the connection? also have you tried wep instead of wap? or perhaps do a mac filter on your router and take out security all together. also what version of kernel and driver are you running? -- ( adam stokes ) || ( adam.stokes@gmail.com )
On Wed, Feb 25, 2009 at 5:27 PM, Adam Stokes <adam.stokes@gmail.com> wrote:
On Wed, Feb 25, 2009 at 5:12 PM, Cristopher Thomas <crisnoh@gmail.com> wrote:
I decided to start using netcfg to manage my wireless connection instead of NetworkManager, but I can't seem to get it to connect reliably. There seems to be no pattern to when it will or won't connect, and I'm not having any connectivity problems in windows. Range isn't an issue either. I'm practically sitting right next to the router most of the time! If anyone can tell me what I'm doing wrong, I would greatly appreciate it.
I'm using version 2.1.2 from the Core repository.
Here's the error I get from netcfg:
[~]$ sudo netcfg home :: home up [BUSY] wlan0: timed out - DHCP IP lease attempt failed [FAIL]
Here's the profile I'm using:
CONNECTION="wireless" DESCRIPTION="A simple WEP encrypted wireless connection" INTERFACE=wlan0 SCAN="yes" SECURITY="wap" ESSID="The Thomas' Net" KEY="xxxxxxxxxx" IP="dhcp"
Output from lsmod:
[~]$ lsmod Module Size Used by i915 67208 2 drm 108768 3 i915 fuse 59584 2 joydev 14208 0 pcmcia 39192 0 sdhci_pci 10624 0 sdhci 19588 1 sdhci_pci uvcvideo 62344 0 compat_ioctl32 11520 1 uvcvideo mmc_core 54624 1 sdhci psmouse 57116 0 videodev 37888 2 uvcvideo,compat_ioctl32 v4l1_compat 17284 2 uvcvideo,videodev snd_pcsp 13052 1 yenta_socket 28812 1 rsrc_nonstatic 13312 1 yenta_socket pcmcia_core 39204 3 pcmcia,yenta_socket,rsrc_nonstatic sg 31840 0 i2c_i801 12444 0 i2c_core 26144 1 i2c_i801 serio_raw 8196 0 iTCO_wdt 15184 0 iTCO_vendor_support 5636 1 iTCO_wdt video 22420 0 output 5248 1 video intel_agp 33136 1 acer_wmi 18664 0 wmi 8896 1 acer_wmi evdev 13984 6 thermal 20896 0 fan 7304 0 button 9504 0 battery 14600 0 ac 7176 0 usblp 16000 0 snd_seq_oss 35584 0 snd_seq_midi_event 9344 1 snd_seq_oss snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event snd_seq_device 9364 2 snd_seq_oss,snd_seq snd_hda_intel 531252 2 snd_hwdep 10632 1 snd_hda_intel snd_pcm_oss 45440 0 snd_pcm 82952 3 snd_pcsp,snd_hda_intel,snd_pcm_oss snd_timer 24720 2 snd_seq,snd_pcm snd_page_alloc 11792 2 snd_hda_intel,snd_pcm snd_mixer_oss 18944 1 snd_pcm_oss snd 65096 16
snd_pcsp,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 9632 1 snd tg3 133124 0 libphy 22656 1 tg3 arc4 4096 2 ecb 5248 2 ath9k 257968 0 mac80211 193840 1 ath9k cfg80211 45488 1 mac80211 rfkill 13776 4 acer_wmi,ath9k led_class 6280 2 acer_wmi,ath9k cpufreq_powersave 3840 0 cpufreq_ondemand 10512 0 acpi_cpufreq 10896 0 freq_table 6272 2 cpufreq_ondemand,acpi_cpufreq processor 46648 4 thermal,acpi_cpufreq rtc_cmos 14040 0 rtc_core 21060 1 rtc_cmos rtc_lib 4992 1 rtc_core ext3 141328 2 jbd 57000 1 ext3 mbcache 10244 1 ext3 sr_mod 18884 0 cdrom 39080 1 sr_mod sd_mod 29096 5 uhci_hcd 27552 0 ehci_hcd 41356 0 usbcore 160432 5 uvcvideo,usblp,uhci_hcd,ehci_hcd ahci 36876 4 libata 176224 1 ahci scsi_mod 119256 4 sg,sr_mod,sd_mod,libata
iwconfig (when connected, obviously):
[~]$ iwconfig lo no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"The Thomas' Net" Mode:Managed Frequency:2.437 GHz Access Point: 00:13:46:10:9B:74 Bit Rate=54 Mb/s Tx-Power=27 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Power Management:off Link Quality=100/100 Signal level:-71 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
And, I'm seeing this from dmesg:
[~]$ dmesg | grep wlan0 wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba5ba04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: deauthenticating by local choice (reason=3) wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba65c04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba76c04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800b9d6404a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800b9c3604a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated
-- ****BGCB***** GCC/O$ d--(+) s+:- a- C++ L++>+++ W++ K- w O? M V? PS- PE++ t 5 X R(+) tv+ b++ DI++ D G e+ h--- r+++ z+++ ****EGCB*****
you sure networkmanager isn't still controlling the connection? also have you tried wep instead of wap? or perhaps do a mac filter on your router and take out security all together. also what version of kernel and driver are you running?
-- ( adam stokes ) || ( adam.stokes@gmail.com )
networkmanager definitely isn't controlling wireless. I uninstalled it and disabled the daemon in /etc/rc.conf. I've tried wep, but switching to wap was the only way I could get a connection at all. Not gonna lie. I wouldn't even know where to begin with a mac filter. I'm just happy I got the router set up correctly with wap (which I though was wep at the time). I'm using the ath9k wireless driver, installed using the compat-wireless package. Not sure what kernel version I'm using. Whatever installed when I ran pacman -Syu day before yesterday. I'll have to log into my Arch partition to check later. I'm definitely using the right ESSID. I set that router up myself. -- ****BGCB***** GCC/O$ d--(+) s+:- a- C++ L++>+++ W++ K- w O? M V? PS- PE++ t 5 X R(+) tv+ b++ DI++ D G e+ h--- r+++ z+++ ****EGCB*****
On Thu, Feb 26, 2009 at 1:47 PM, Cristopher Thomas <clthomas@gmx.com> wrote:
networkmanager definitely isn't controlling wireless. I uninstalled it and disabled the daemon in /etc/rc.conf. I've tried wep, but switching to wap was the only way I could get a connection at all.
Not gonna lie. I wouldn't even know where to begin with a mac filter. I'm just happy I got the router set up correctly with wap (which I though was wep at the time).
I'm using the ath9k wireless driver, installed using the compat-wireless package.
Not sure what kernel version I'm using. Whatever installed when I ran pacman -Syu day before yesterday. I'll have to log into my Arch partition to check later.
I'm definitely using the right ESSID. I set that router up myself.
SECURITY="wap" wap is not a valid security type, try either wpa, wep or wpa-config depending on your router configuration. James
Op Wed, 25 Feb 2009 21:47:55 -0500 schreef Cristopher Thomas <clthomas@gmx.com>:
I'm using the ath9k wireless driver, installed using the compat-wireless package.
I have posted my problems with this driver already on the Archlinux-forum. The only way for me to have a reliable connection is with the ndiswrapper-driver. The ath9k-driver did not work for me in 2.6.27 and still not in 2.6.28 (although I didn't test since .5 IIRC). The symptoms were: - taking a long time to make the connection - slow network - interruptions all the time I also had a lot of problems with dhcpcd before switching to dhclient (install dhclient + uninstall dhcpcd + set DHCLIENT="yes" inside your profile) So: for ath9k +wpa2 I had to use netcfg, ndiswrapper and dhclient. During my tests I also tried the wpa_supplicant in testing, and since this version is not compatible with netcfg, I cannot use netcfg at the moment. HTH Vincent -- Advocatenkantoor Suy, Van Baeveghem & Van Houtte Brusselsestraat 108 9200 Dendermonde T +32.52.52.06.05 F +32.52.52.06.46 W http://www.synergylaw.be
On Thu, Feb 26, 2009 at 7:26 PM, Vincent Van Houtte <vvh@synergylaw.be> wrote:
During my tests I also tried the wpa_supplicant in testing, and since this version is not compatible with netcfg, I cannot use netcfg at the moment.
Fixed in git. For 2.1.2, just remove the -w argument from wpa_supplicant in the function start_wpa in /usr/lib/network/wireless.subr
netcfg-auto-wireless solved for me. Check if ESSID are the same of router. Sorry for my bad english and good luck! 2009/2/25 Cristopher Thomas <crisnoh@gmail.com>
I decided to start using netcfg to manage my wireless connection instead of NetworkManager, but I can't seem to get it to connect reliably. There seems to be no pattern to when it will or won't connect, and I'm not having any connectivity problems in windows. Range isn't an issue either. I'm practically sitting right next to the router most of the time! If anyone can tell me what I'm doing wrong, I would greatly appreciate it.
I'm using version 2.1.2 from the Core repository.
Here's the error I get from netcfg:
[~]$ sudo netcfg home :: home up [BUSY] wlan0: timed out - DHCP IP lease attempt failed [FAIL]
Here's the profile I'm using:
CONNECTION="wireless" DESCRIPTION="A simple WEP encrypted wireless connection" INTERFACE=wlan0 SCAN="yes" SECURITY="wap" ESSID="The Thomas' Net" KEY="xxxxxxxxxx" IP="dhcp"
Output from lsmod:
[~]$ lsmod Module Size Used by i915 67208 2 drm 108768 3 i915 fuse 59584 2 joydev 14208 0 pcmcia 39192 0 sdhci_pci 10624 0 sdhci 19588 1 sdhci_pci uvcvideo 62344 0 compat_ioctl32 11520 1 uvcvideo mmc_core 54624 1 sdhci psmouse 57116 0 videodev 37888 2 uvcvideo,compat_ioctl32 v4l1_compat 17284 2 uvcvideo,videodev snd_pcsp 13052 1 yenta_socket 28812 1 rsrc_nonstatic 13312 1 yenta_socket pcmcia_core 39204 3 pcmcia,yenta_socket,rsrc_nonstatic sg 31840 0 i2c_i801 12444 0 i2c_core 26144 1 i2c_i801 serio_raw 8196 0 iTCO_wdt 15184 0 iTCO_vendor_support 5636 1 iTCO_wdt video 22420 0 output 5248 1 video intel_agp 33136 1 acer_wmi 18664 0 wmi 8896 1 acer_wmi evdev 13984 6 thermal 20896 0 fan 7304 0 button 9504 0 battery 14600 0 ac 7176 0 usblp 16000 0 snd_seq_oss 35584 0 snd_seq_midi_event 9344 1 snd_seq_oss snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event snd_seq_device 9364 2 snd_seq_oss,snd_seq snd_hda_intel 531252 2 snd_hwdep 10632 1 snd_hda_intel snd_pcm_oss 45440 0 snd_pcm 82952 3 snd_pcsp,snd_hda_intel,snd_pcm_oss snd_timer 24720 2 snd_seq,snd_pcm snd_page_alloc 11792 2 snd_hda_intel,snd_pcm snd_mixer_oss 18944 1 snd_pcm_oss snd 65096 16
snd_pcsp,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss soundcore 9632 1 snd tg3 133124 0 libphy 22656 1 tg3 arc4 4096 2 ecb 5248 2 ath9k 257968 0 mac80211 193840 1 ath9k cfg80211 45488 1 mac80211 rfkill 13776 4 acer_wmi,ath9k led_class 6280 2 acer_wmi,ath9k cpufreq_powersave 3840 0 cpufreq_ondemand 10512 0 acpi_cpufreq 10896 0 freq_table 6272 2 cpufreq_ondemand,acpi_cpufreq processor 46648 4 thermal,acpi_cpufreq rtc_cmos 14040 0 rtc_core 21060 1 rtc_cmos rtc_lib 4992 1 rtc_core ext3 141328 2 jbd 57000 1 ext3 mbcache 10244 1 ext3 sr_mod 18884 0 cdrom 39080 1 sr_mod sd_mod 29096 5 uhci_hcd 27552 0 ehci_hcd 41356 0 usbcore 160432 5 uvcvideo,usblp,uhci_hcd,ehci_hcd ahci 36876 4 libata 176224 1 ahci scsi_mod 119256 4 sg,sr_mod,sd_mod,libata
iwconfig (when connected, obviously):
[~]$ iwconfig lo no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"The Thomas' Net" Mode:Managed Frequency:2.437 GHz Access Point: 00:13:46:10:9B:74 Bit Rate=54 Mb/s Tx-Power=27 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Power Management:off Link Quality=100/100 Signal level:-71 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
And, I'm seeing this from dmesg:
[~]$ dmesg | grep wlan0 wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba5ba04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: deauthenticating by local choice (reason=3) wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba65c04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800ba76c04a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: direct probe to AP ffff8800ba3a7aa0 try 1 wlan0 direct probe responded wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800b9d6404a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated wlan0: authenticate with AP ffff8800ba3a7aa0 wlan0: authenticated wlan0: associate with AP ffff8800ba3a7aa0 wlan0: RX AssocResp from ffff8800b9c3604a (capab=0x401 status=0 aid=5) wlan0: invalid aid value 5; bits 15:14 not set wlan0: associated
-- ****BGCB***** GCC/O$ d--(+) s+:- a- C++ L++>+++ W++ K- w O? M V? PS- PE++ t 5 X R(+) tv+ b++ DI++ D G e+ h--- r+++ z+++ ****EGCB*****
-- Lucas Saliés Brum http://www.sistematico.org
I'm giving up on this for now. I set up wicd to verify that my driver was not to blame and it worked on the first try, so I'm not going to fight with it anymore. I would still like to no have to log into X to get wireless running, but for now I can make do. Thanks. Cris -- http://crisnoh.wordpress.com/ http://twitter.com/crisnoh o|||||||o
2009/2/26 Cristopher Thomas <crisnoh@gmail.com>:
I'm giving up on this for now. I set up wicd to verify that my driver was not to blame and it worked on the first try, so I'm not going to fight with it anymore. I would still like to no have to log into X to get wireless running, but for now I can make do. Thanks.
Have you tried any of the driver quirks with netcfg? Check out: http://wiki.archlinux.org/index.php/Netcfg#Driver_Quirks_.28netcfg_2.1_and_l... I had to add: QUIRKS=(prescan preessid) to get my connection working. -geirr
The problem appeared to be a simple typo in the config file, however the OP has given up. *shrug* On 2/27/09, Geir Erikstad <geirr@baldr.no> wrote:
2009/2/26 Cristopher Thomas <crisnoh@gmail.com>:
I'm giving up on this for now. I set up wicd to verify that my driver was not to blame and it worked on the first try, so I'm not going to fight with it anymore. I would still like to no have to log into X to get wireless running, but for now I can make do. Thanks.
Have you tried any of the driver quirks with netcfg? Check out: http://wiki.archlinux.org/index.php/Netcfg#Driver_Quirks_.28netcfg_2.1_and_l...
I had to add:
QUIRKS=(prescan preessid)
to get my connection working.
-geirr
On Friday 27 February 2009 19:13:47 James Rayner wrote:
The problem appeared to be a simple typo in the config file, however the OP has given up. *shrug*
I don't know about it being a typo. Setting the encryption type to 'wap' instead of 'wep' was the only way for me to ever get a connection. Here's the error I got trying to use 'wep': [~]$ sudo netcfg home :: home up - Could not set wireless configuration [FAIL] for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Device or resource busy. I got that error everytime, whereas when I switched to 'wap' I would occasionally get a connection. Usually after I had spent a while online in my windows partition researching the problem. I know for a fact that the router is set up for wep security, which is why I'm baffled about the profile not working. -- Cris
On Sat, Feb 28, 2009 at 2:35 PM, Cristopher Thomas <crisnoh@gmail.com> wrote:
On Friday 27 February 2009 19:13:47 James Rayner wrote:
The problem appeared to be a simple typo in the config file, however the OP has given up. *shrug*
I don't know about it being a typo. Setting the encryption type to 'wap' instead of 'wep' was the only way for me to ever get a connection. Here's the error I got trying to use 'wep':
[~]$ sudo netcfg home :: home up - Could not set wireless configuration [FAIL] for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Device or resource busy. I got that error everytime, whereas when I switched to 'wap' I would occasionally get a connection. Usually after I had spent a while online in my windows partition researching the problem. I know for a fact that the router is set up for wep security, which is why I'm baffled about the profile not working
oh ok, i see the problem. In /usr/lib/network/wireless.subr search for "mode managed" and remove just that text. Theres a fix for this in netcfg git, but it needs testing and nobody is testing it, so I cant make a release. James.
On Saturday 28 February 2009 17:52:00 James Rayner wrote:
oh ok, i see the problem. In /usr/lib/network/wireless.subr search for "mode managed" and remove just that text.
Theres a fix for this in netcfg git, but it needs testing and nobody is testing it, so I cant make a release.
James.
Wow, that seems to have done it. I don't recall seeing anything about that in the wiki. But it looks like I have a consistent connection and a connection at boot. Thanks for the help! -- Cris
participants (8)
-
Adam Stokes
-
Brandon Martin
-
Cristopher Thomas
-
Cristopher Thomas
-
Geir Erikstad
-
James Rayner
-
Lucas Salies Brum
-
Vincent Van Houtte