[arch-general] Problems with netcfg

Brandon Martin bmartin at cu3edweb.com
Wed Feb 25 17:22:58 EST 2009


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 at 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*****


More information about the arch-general mailing list