You are not logged in.

#1 2010-04-13 13:13:30

geniuz
Member
Registered: 2010-04-10
Posts: 127

netcfg WPA Authentication/Association Failed

Hello everybody,

Yesterday I've installed Arch on my MacBook and after a lot of hassle I managed to get X running. Now, I figured getting my wireless ready...but to no avail. I'm really starting to lose hope since this install has given me a lot of setbacks thus far.

Anyway, I'm using netcfg to connect to my local network here and I followed all the wikis related wireless networking. I've installed my driver and this seems correct since "iwlist scan" returns all local networks in my area. To start with I've disabled all security temporarily, but even this didn't seem to work. Below my configuration file for my local network is shown:

CONNECTION="wireless"
DESCRIPTION="..."
INTERFACE="eth1"
SECURITY="none"
ESSID="bistarac"
IP="dhcp"

So when I try to connect to my network using "sudo netcfg bistarac", I get the following output (with debug on):

::bistarac up [BUSY]
Loading profile bistarac
Configuring interface eth1
wireless_up stop_wpa eth1
wireless_up if_up
wireless_up Configuration generated at /tmp/wpa.eth1/wpa.conf
wireless_up start_wpa eth1/tmp/wpa.eth1/wpa.conf wext
wireless_up wpa_check
::WPA Authentication/Association Failed [FAIL]
profile_up connect failed

Now, the first thing I notice is that there is a whole bunch of WPA stuff going on for an open network...doesn't seem to make sense to me. Also if I set my network up with WPA security and try this again I get exactly the same result. I know that there is a thread about this from a couple of months of ago:

http://bbs.archlinux.org/viewtopic.php?pid=687722

But I can't really make much sense from it since I'm not all that into networking. I simply followed the Wiki's about how to get everything done and it isn't working, so either I messed up somewhere along the way or this is (again) some sort of stupid bug. Anyway or another I really hope somebody can help out on this since if I don't get this working anytime soon I'm probably going to give up on Arch on my MacBook.

It's also worth mentioning that I've used Ubuntu on my MacBook before Arch and my wireless functioned perfectly fine (be it with NetworkManager, which I try to avoid). And for anybody wondering, this is my "lspci | grep Network" output:

02:00.0 Network Controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 03)

I've installed the drivers using the dedicated Wiki and thus the driver from AUR corresponding to this card, but as I said, iwlist works so I don't think the problem is here.
Also as far as I know I'm using the latest version of netcfg.

Any help is greatly appreciated!
With kind regards,
Ivan

EDIT:
I've also to tried to manually connect to my insecure network using the method outlined in the wireless Wiki, everything seems to go fine until I try to get an IP-adress using dhcpcd:

sudo dhcpcd eth1
dhcpcd: eth1: rebinding lease of 192.168.0.102
dhcpcd: eth1: broadcasting for lease
dhcpcd: timed out

So even this doesn't work...I'm really lost.

Last edited by geniuz (2010-04-13 13:35:32)

Offline

#2 2010-04-13 13:39:29

ichbinesderelch
Member
Registered: 2008-01-17
Posts: 203

Re: netcfg WPA Authentication/Association Failed

hey,
first thing that comes to my mind is that you need wpa_actiond to connect to a network with netcfg, its not a dependency of netcfg afaik, so you maybe have to manually install it.
next thing, post the output of dmesg pls, and, as stupid it sounds, try pressing the wifi on/off button if you have one. i set up a notebook with exactly the same network card and those where the problems i encountered, i guess you got the modules blacklist etc right, and i guess you did it exactly according to the wiki, so everything else should be fine.
regards

EDIT: another thing that just popped up in my mind is that udev could assign your wireless card to eth0 because the module is in the module array and modules there will be loaded before any others, so if your ethernet card isnt there, eth0 should be your wlan card now.

Last edited by ichbinesderelch (2010-04-13 13:40:58)

Offline

#3 2010-04-13 14:21:01

geniuz
Member
Registered: 2010-04-10
Posts: 127

Re: netcfg WPA Authentication/Association Failed

Hrm, you might have been right about the eth0 thing. Now I can at least connect to my network manually, netcfg still doesn't work...here is the dmesg right after I issued the command:

Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.33-ARCH (tobias@T-POWA-LX) (gcc version 4.4.3 20100316 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Apr 4 10:27:30 CEST 2010
Command line: BOOT_IMAGE=arch ro root=803 i915.modeset=1
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007dd31000 (usable)
 BIOS-e820: 000000007dd31000 - 000000007df32000 (ACPI NVS)
 BIOS-e820: 000000007df32000 - 000000007dfe5000 (ACPI data)
 BIOS-e820: 000000007dfe5000 - 000000007dfe7000 (ACPI NVS)
 BIOS-e820: 000000007dfe7000 - 000000007eec3000 (ACPI data)
 BIOS-e820: 000000007eec3000 - 000000007eec5000 (ACPI NVS)
 BIOS-e820: 000000007eec5000 - 000000007eec8000 (ACPI data)
 BIOS-e820: 000000007eec8000 - 000000007eecb000 (ACPI NVS)
 BIOS-e820: 000000007eecb000 - 000000007eecc000 (ACPI data)
 BIOS-e820: 000000007eecc000 - 000000007eedf000 (ACPI NVS)
 BIOS-e820: 000000007eedf000 - 000000007eef9000 (ACPI data)
 BIOS-e820: 000000007eef9000 - 000000007eeff000 (reserved)
 BIOS-e820: 000000007eeff000 - 000000007ef00000 (ACPI data)
 BIOS-e820: 000000007ef00000 - 0000000080000000 (reserved)
 BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fed14000 - 00000000fed1a000 (reserved)
 BIOS-e820: 00000000fed1c000 - 00000000fed20000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved)
NX (Execute Disable) protection: active
DMI 2.4 present.
No AGP bridge found
last_pfn = 0x7dd31 max_arch_pfn = 0x400000000
MTRR default type: uncachable
MTRR fixed ranges enabled:
  00000-9FFFF write-back
  A0000-BFFFF uncachable
  C0000-CFFFF write-protect
  D0000-DFFFF uncachable
  E0000-FFFFF write-protect
MTRR variable ranges enabled:
  0 base 0FFE00000 mask FFFE00000 write-protect
  1 base 000000000 mask F80000000 write-back
  2 base 07F000000 mask FFF000000 uncachable
  3 base 07EF00000 mask FFFF00000 uncachable
  4 disabled
  5 disabled
  6 disabled
  7 disabled
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
e820 update range: 0000000000001000 - 0000000000010000 (usable) ==> (reserved)
Scanning 1 areas for low memory corruption
modified physical RAM map:
 modified: 0000000000000000 - 0000000000001000 (usable)
 modified: 0000000000001000 - 0000000000010000 (reserved)
 modified: 0000000000010000 - 000000000009fc00 (usable)
 modified: 000000000009fc00 - 00000000000a0000 (reserved)
 modified: 00000000000e0000 - 0000000000100000 (reserved)
 modified: 0000000000100000 - 000000007dd31000 (usable)
 modified: 000000007dd31000 - 000000007df32000 (ACPI NVS)
 modified: 000000007df32000 - 000000007dfe5000 (ACPI data)
 modified: 000000007dfe5000 - 000000007dfe7000 (ACPI NVS)
 modified: 000000007dfe7000 - 000000007eec3000 (ACPI data)
 modified: 000000007eec3000 - 000000007eec5000 (ACPI NVS)
 modified: 000000007eec5000 - 000000007eec8000 (ACPI data)
 modified: 000000007eec8000 - 000000007eecb000 (ACPI NVS)
 modified: 000000007eecb000 - 000000007eecc000 (ACPI data)
 modified: 000000007eecc000 - 000000007eedf000 (ACPI NVS)
 modified: 000000007eedf000 - 000000007eef9000 (ACPI data)
 modified: 000000007eef9000 - 000000007eeff000 (reserved)
 modified: 000000007eeff000 - 000000007ef00000 (ACPI data)
 modified: 000000007ef00000 - 0000000080000000 (reserved)
 modified: 00000000f0000000 - 00000000f4000000 (reserved)
 modified: 00000000fec00000 - 00000000fec01000 (reserved)
 modified: 00000000fed14000 - 00000000fed1a000 (reserved)
 modified: 00000000fed1c000 - 00000000fed20000 (reserved)
 modified: 00000000fee00000 - 00000000fee01000 (reserved)
 modified: 00000000ffe00000 - 0000000100000000 (reserved)
initial memory mapped : 0 - 20000000
init_memory_mapping: 0000000000000000-000000007dd31000
 0000000000 - 007dc00000 page 2M
 007dc00000 - 007dd31000 page 4k
kernel direct mapping tables up to 7dd31000 @ 16000-1a000
RAMDISK: 00d2e000 - 00eff2bf
ACPI: RSDP 00000000000fe020 00024 (v02 APPLE )
ACPI: XSDT 000000007eeee1c0 00084 (v01 APPLE   Apple00 000000C1      01000013)
ACPI: FACP 000000007eeec000 000F4 (v03 APPLE   Apple00 000000C1 Loki 0000005F)
ACPI: DSDT 000000007eee1000 045C6 (v01 APPLE   MacBook 00040001 INTL 20061109)
ACPI: FACS 000000007eecc000 00040
ACPI: HPET 000000007eeeb000 00038 (v01 APPLE   Apple00 00000001 Loki 0000005F)
ACPI: APIC 000000007eeea000 00068 (v01 APPLE   Apple00 00000001 Loki 0000005F)
ACPI: MCFG 000000007eee9000 0003C (v01 APPLE   Apple00 00000001 Loki 0000005F)
ACPI: ASF! 000000007eee8000 000A5 (v32 APPLE   Apple00 00000001 Loki 0000005F)
ACPI: SBST 000000007eee7000 00030 (v01 APPLE   Apple00 00000001 Loki 0000005F)
ACPI: ECDT 000000007eee6000 00053 (v01 APPLE   Apple00 00000001 Loki 0000005F)
ACPI: SSDT 000000007eec7000 004DC (v01  APPLE    CpuPm 00003000 INTL 20061109)
ACPI: SSDT 000000007eec6000 0025F (v01  APPLE  Cpu0Tst 00003000 INTL 20061109)
ACPI: SSDT 000000007eec5000 000A6 (v01  APPLE  Cpu1Tst 00003000 INTL 20061109)
ACPI: SSDT 000000007eee0000 00544 (v01 SataRe  SataPri 00001000 INTL 20061109)
ACPI: SSDT 000000007eedf000 00477 (v01 SataRe  SataSec 00001000 INTL 20061109)
ACPI: Local APIC address 0xfee00000
(8 early reservations) ==> bootmem [0000000000 - 007dd31000]
  #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
  #1 [0001000000 - 00016d8958]    TEXT DATA BSS ==> [0001000000 - 00016d8958]
  #2 [0000d2e000 - 0000eff2bf]          RAMDISK ==> [0000d2e000 - 0000eff2bf]
  #3 [000009fc00 - 0000100000]    BIOS reserved ==> [000009fc00 - 0000100000]
  #4 [00016d9000 - 00016d922d]              BRK ==> [00016d9000 - 00016d922d]
  #5 [0000010000 - 0000012000]       TRAMPOLINE ==> [0000010000 - 0000012000]
  #6 [0000012000 - 0000016000]      ACPI WAKEUP ==> [0000012000 - 0000016000]
  #7 [0000016000 - 0000018000]          PGTABLE ==> [0000016000 - 0000018000]
 [ffffea0000000000-ffffea0001bfffff] PMD -> [ffff880001c00000-ffff8800037fffff] on node 0
Zone PFN ranges:
  DMA      0x00000000 -> 0x00001000
  DMA32    0x00001000 -> 0x00100000
  Normal   0x00100000 -> 0x00100000
Movable zone start PFN for each node
early_node_map[3] active PFN ranges
    0: 0x00000000 -> 0x00000001
    0: 0x00000010 -> 0x0000009f
    0: 0x00000100 -> 0x0007dd31
On node 0 totalpages: 515265
  DMA zone: 56 pages used for memmap
  DMA zone: 570 pages reserved
  DMA zone: 3358 pages, LIFO batch:0
  DMA32 zone: 6991 pages used for memmap
  DMA32 zone: 504290 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Using ACPI (MADT) for SMP configuration information
ACPI: HPET id: 0x8086a201 base: 0xfed00000
SMP: Allowing 2 CPUs, 0 hotplug CPUs
nr_irqs_gsi: 24
PM: Registered nosave memory: 0000000000001000 - 0000000000010000
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
Allocating PCI resources starting at 80000000 (gap: 80000000:70000000)
Booting paravirtualized kernel on bare hardware
setup_percpu: NR_CPUS:16 nr_cpumask_bits:16 nr_cpu_ids:2 nr_node_ids:1
PERCPU: Embedded 29 pages/cpu @ffff880001800000 s89176 r8192 d21416 u1048576
pcpu-alloc: s89176 r8192 d21416 u1048576 alloc=1*2097152
pcpu-alloc: [0] 0 1 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 507648
Kernel command line: BOOT_IMAGE=arch ro root=803 i915.modeset=1
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Checking aperture...
No AGP bridge found
Calgary: detecting Calgary via BIOS EBDA area
Calgary: Unable to locate Rio Grande table in EBDA - bailing!
Memory: 2019276k/2061508k available (3457k kernel code, 448k absent, 41156k reserved, 1809k data, 484k init)
SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:768
Extended CMOS year: 2000
Console: colour VGA+ 80x25
console [tty0] enabled
allocated 20971520 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
hpet clockevent registered
Fast TSC calibration failed
TSC: Unable to calibrate against PIT
TSC: using HPET reference calibration
Detected 2393.998 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 4789.49 BogoMIPS (lpj=7979993)
Security Framework initialized
Mount-cache hash table entries: 256
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
mce: CPU supports 6 MCE banks
CPU0: Thermal monitoring enabled (TM2)
using mwait in idle threads.
Performance Events: Core2 events, Intel PMU driver.
... version:                2
... bit width:              40
... generic registers:      2
... value mask:             000000ffffffffff
... max period:             000000007fffffff
... fixed-purpose events:   3
... event mask:             0000000700000003
ACPI: Core revision 20091214
Setting APIC routing to flat
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel(R) Core(TM)2 Duo CPU     T8300  @ 2.40GHz stepping 06
Booting Node   0, Processors  #1 Ok.
Brought up 2 CPUs
Total of 2 processors activated (9579.97 BogoMIPS).
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xf0000000-0xffffffff] (base 0xf0000000)
PCI: MMCONFIG at [mem 0xf0000000-0xffffffff] reserved in E820
PCI: MMCONFIG for 0000 [bus00-3f] at [mem 0xf0000000-0xf3ffffff] (base 0xf0000000) (size reduced!)
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: EC: EC description table is found, configuring boot EC
ACPI: BIOS _OSI(Linux) query ignored
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62
ACPI: No dock devices found.
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci_root PNP0A08:00: ignoring host bridge windows from ACPI; boot with "pci=use_crs" to use them
pci_root PNP0A08:00: host bridge window [io  0x0000-0x0cf7] (ignored)
pci_root PNP0A08:00: host bridge window [io  0x0d00-0xffff] (ignored)
pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff] (ignored)
pci_root PNP0A08:00: host bridge window [mem 0x80000000-0xfebfffff] (ignored)
pci 0000:00:02.0: reg 10: [mem 0x90100000-0x901fffff 64bit]
pci 0000:00:02.0: reg 18: [mem 0x80000000-0x8fffffff 64bit pref]
pci 0000:00:02.0: reg 20: [io  0x6110-0x6117]
pci 0000:00:02.1: reg 10: [mem 0x90200000-0x902fffff 64bit]
pci 0000:00:1a.0: reg 20: [io  0x60c0-0x60df]
pci 0000:00:1a.1: reg 20: [io  0x60a0-0x60bf]
pci 0000:00:1a.7: reg 10: [mem 0x90704c00-0x90704fff]
pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1a.7: PME# disabled
pci 0000:00:1b.0: reg 10: [mem 0x90700000-0x90703fff 64bit]
pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1b.0: PME# disabled
pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.0: PME# disabled
pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.4: PME# disabled
pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.5: PME# disabled
pci 0000:00:1d.0: reg 20: [io  0x6080-0x609f]
pci 0000:00:1d.1: reg 20: [io  0x6060-0x607f]
pci 0000:00:1d.2: reg 20: [io  0x6040-0x605f]
pci 0000:00:1d.7: reg 10: [mem 0x90704800-0x90704bff]
pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.7: PME# disabled
pci 0000:00:1f.0: quirk: [io  0x0400-0x047f] claimed by ICH6 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: [io  0x0500-0x053f] claimed by ICH6 GPIO
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0680 (mask 000f)
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 1640 (mask 000f)
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 4 PIO at 0300 (mask 001f)
pci 0000:00:1f.1: reg 10: [io  0x6108-0x610f]
pci 0000:00:1f.1: reg 14: [io  0x6124-0x6127]
pci 0000:00:1f.1: reg 18: [io  0x6100-0x6107]
pci 0000:00:1f.1: reg 1c: [io  0x6120-0x6123]
pci 0000:00:1f.1: reg 20: [io  0x60e0-0x60ef]
pci 0000:00:1f.2: reg 10: [io  0x60f8-0x60ff]
pci 0000:00:1f.2: reg 14: [io  0x611c-0x611f]
pci 0000:00:1f.2: reg 18: [io  0x60f0-0x60f7]
pci 0000:00:1f.2: reg 1c: [io  0x6118-0x611b]
pci 0000:00:1f.2: reg 20: [io  0x6020-0x602f]
pci 0000:00:1f.2: reg 24: [io  0x4000-0x400f]
pci 0000:00:1f.2: PME# supported from D3hot
pci 0000:00:1f.2: PME# disabled
pci 0000:00:1f.3: reg 10: [mem 0x90705000-0x907050ff]
pci 0000:00:1f.3: reg 20: [io  0xefa0-0xefbf]
pci 0000:00:1c.0: PCI bridge to [bus 01-01]
pci 0000:00:1c.0:   bridge window [mem 0x90600000-0x906fffff]
pci 0000:02:00.0: reg 10: [mem 0x90500000-0x90503fff 64bit]
pci 0000:02:00.0: reg 18: [mem 0x90000000-0x900fffff 64bit pref]
pci 0000:02:00.0: supports D1 D2
pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
pci 0000:02:00.0: PME# disabled
pci 0000:00:1c.4: PCI bridge to [bus 02-02]
pci 0000:00:1c.4:   bridge window [mem 0x90500000-0x905fffff]
pci 0000:00:1c.4:   bridge window [mem 0x90000000-0x900fffff 64bit pref]
pci 0000:03:00.0: reg 10: [mem 0x90400000-0x90403fff 64bit]
pci 0000:03:00.0: reg 18: [io  0x5000-0x50ff]
pci 0000:03:00.0: reg 30: [mem 0xfffe0000-0xffffffff pref]
pci 0000:03:00.0: supports D1 D2
pci 0000:03:00.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:03:00.0: PME# disabled
pci 0000:00:1c.5: PCI bridge to [bus 03-03]
pci 0000:00:1c.5:   bridge window [io  0x5000-0x5fff]
pci 0000:00:1c.5:   bridge window [mem 0x90400000-0x904fffff]
pci 0000:04:03.0: reg 10: [mem 0x90300000-0x90300fff]
pci 0000:04:03.0: supports D1 D2
pci 0000:04:03.0: PME# supported from D0 D1 D2 D3hot
pci 0000:04:03.0: PME# disabled
pci 0000:00:1e.0: PCI bridge to [bus 04-04] (subtractive decode)
pci 0000:00:1e.0:   bridge window [mem 0x90300000-0x903fffff]
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP05._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP06._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 *7 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 *5 6 7 10 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 *10 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *9
ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
vgaarb: loaded
PCI: Using ACPI for IRQ routing
PCI: pci_cache_line_size set to 64 bytes
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
HPET: 3 timers in total, 0 timers will be used for per-cpu timer
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
hpet0: 3 comparators, 64-bit 14.318180 MHz counter
Switching to clocksource tsc
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 9 devices
ACPI: ACPI bus type pnp unregistered
system 00:01: [mem 0xfed1c000-0xfed1ffff] has been reserved
system 00:01: [mem 0xfed14000-0xfed17fff] has been reserved
system 00:01: [mem 0xfed18000-0xfed18fff] has been reserved
system 00:01: [mem 0xfed19000-0xfed19fff] has been reserved
system 00:01: [mem 0xf0000000-0xf3ffffff] has been reserved
system 00:01: [mem 0xfed20000-0xfed3ffff] has been reserved
system 00:01: [mem 0xfed45000-0xfed8ffff] has been reserved
system 00:05: [mem 0xfed00000-0xfed003ff] has been reserved
system 00:07: [io  0x0680-0x069f] has been reserved
system 00:07: [io  0x0800-0x080f] has been reserved
system 00:07: [io  0x0810-0x0817] has been reserved
system 00:07: [io  0x0400-0x047f] has been reserved
system 00:07: [io  0x0500-0x053f] has been reserved
system 00:07: [io  0x1640-0x164f] has been reserved
pci 0000:03:00.0: no compatible bridge window for [mem 0xfffe0000-0xffffffff pref]
pci 0000:00:1c.0: BAR 15: assigned [mem 0x90800000-0x909fffff 64bit pref]
pci 0000:00:1c.5: BAR 15: assigned [mem 0x90a00000-0x90bfffff pref]
pci 0000:00:1c.0: BAR 13: assigned [io  0x2000-0x2fff]
pci 0000:00:1c.4: BAR 13: assigned [io  0x3000-0x3fff]
pci 0000:00:1c.0: PCI bridge to [bus 01-01]
pci 0000:00:1c.0:   bridge window [io  0x2000-0x2fff]
pci 0000:00:1c.0:   bridge window [mem 0x90600000-0x906fffff]
pci 0000:00:1c.0:   bridge window [mem 0x90800000-0x909fffff 64bit pref]
pci 0000:00:1c.4: PCI bridge to [bus 02-02]
pci 0000:00:1c.4:   bridge window [io  0x3000-0x3fff]
pci 0000:00:1c.4:   bridge window [mem 0x90500000-0x905fffff]
pci 0000:00:1c.4:   bridge window [mem 0x90000000-0x900fffff 64bit pref]
pci 0000:03:00.0: BAR 6: assigned [mem 0x90a00000-0x90a1ffff pref]
pci 0000:00:1c.5: PCI bridge to [bus 03-03]
pci 0000:00:1c.5:   bridge window [io  0x5000-0x5fff]
pci 0000:00:1c.5:   bridge window [mem 0x90400000-0x904fffff]
pci 0000:00:1c.5:   bridge window [mem 0x90a00000-0x90bfffff pref]
pci 0000:00:1e.0: PCI bridge to [bus 04-04]
pci 0000:00:1e.0:   bridge window [io  disabled]
pci 0000:00:1e.0:   bridge window [mem 0x90300000-0x903fffff]
pci 0000:00:1e.0:   bridge window [mem pref disabled]
pci 0000:00:1c.0: enabling device (0000 -> 0003)
pci 0000:00:1c.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:1c.0: setting latency timer to 64
pci 0000:00:1c.4: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:1c.4: setting latency timer to 64
pci 0000:00:1c.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.5: setting latency timer to 64
pci 0000:00:1e.0: power state changed by ACPI to D0
pci 0000:00:1e.0: setting latency timer to 64
pci_bus 0000:00: resource 0 [io  0x0000-0xffff]
pci_bus 0000:00: resource 1 [mem 0x00000000-0xffffffffffffffff]
pci_bus 0000:01: resource 0 [io  0x2000-0x2fff]
pci_bus 0000:01: resource 1 [mem 0x90600000-0x906fffff]
pci_bus 0000:01: resource 2 [mem 0x90800000-0x909fffff 64bit pref]
pci_bus 0000:02: resource 0 [io  0x3000-0x3fff]
pci_bus 0000:02: resource 1 [mem 0x90500000-0x905fffff]
pci_bus 0000:02: resource 2 [mem 0x90000000-0x900fffff 64bit pref]
pci_bus 0000:03: resource 0 [io  0x5000-0x5fff]
pci_bus 0000:03: resource 1 [mem 0x90400000-0x904fffff]
pci_bus 0000:03: resource 2 [mem 0x90a00000-0x90bfffff pref]
pci_bus 0000:04: resource 1 [mem 0x90300000-0x903fffff]
pci_bus 0000:04: resource 3 [io  0x0000-0xffff]
pci_bus 0000:04: resource 4 [mem 0x00000000-0xffffffffffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
UDP hash table entries: 1024 (order: 3, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
NET: Registered protocol family 1
pci 0000:00:02.0: Boot video device
PCI: CLS mismatch (256 != 64), using 64 bytes
Unpacking initramfs...
Freeing initrd memory: 1860k freed
Scanning for low memory corruption every 60 seconds
audit: initializing netlink socket (disabled)
type=2000 audit(1271167172.266:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
msgmni has been set to 3948
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pcieport 0000:00:1c.0: setting latency timer to 64
pcieport 0000:00:1c.0: irq 24 for MSI/MSI-X
pcieport 0000:00:1c.4: setting latency timer to 64
pcieport 0000:00:1c.4: irq 25 for MSI/MSI-X
pcieport 0000:00:1c.5: setting latency timer to 64
pcieport 0000:00:1c.5: irq 26 for MSI/MSI-X
efifb: dmi detected MacBook4,1 - framebuffer at 0000000080000000 (1280x800, stride 8192)
Linux agpgart interface v0.103
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
input: Macintosh mouse button emulation as /devices/virtual/input/input0
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 17
PM: Resume from disk failed.
registered taskstats version 1
Initalizing network drop monitor service
Freeing unused kernel memory: 484k freed
agpgart-intel 0000:00:00.0: Intel 965GM Chipset
agpgart-intel 0000:00:00.0: detected 15868K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0x80000000
input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input1
ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2
ACPI: Lid Switch [LID0]
input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3
ACPI: Power Button [PWRB]
input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input4
ACPI: Sleep Button [SLPB]
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
ACPI: Power Button [PWRF]
[drm] Initialized drm 1.1.0 20060810
i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
i915 0000:00:02.0: irq 27 for MSI/MSI-X
[drm] set up 15M of stolen space
[drm] initialized overlay support
Console: switching to colour frame buffer device 160x50
fb0: inteldrmfb frame buffer device
registered panic notifier
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
SCSI subsystem initialized
libata version 3.00 loaded.
ata_piix 0000:00:1f.1: version 2.13
ata_piix 0000:00:1f.1: power state changed by ACPI to D0
ata_piix 0000:00:1f.1: PCI INT A -> GSI 21 (level, low) -> IRQ 21
ata_piix 0000:00:1f.1: setting latency timer to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: PATA max UDMA/100 cmd 0x6108 ctl 0x6124 bmdma 0x60e0 irq 21
ata2: PATA max UDMA/100 cmd 0x6100 ctl 0x6120 bmdma 0x60e8 irq 21
ata_piix 0000:00:1f.2: PCI INT B -> GSI 18 (level, low) -> IRQ 18
ata_piix 0000:00:1f.2: MAP [ P0 -- -- -- ]
ata_piix 0000:00:1f.2: setting latency timer to 64
scsi2 : ata_piix
scsi3 : ata_piix
ata3: SATA max UDMA/133 cmd 0x60f8 ctl 0x611c bmdma 0x6020 irq 18
ata4: SATA max UDMA/133 cmd 0x60f0 ctl 0x6118 bmdma 0x6028 irq 18
ata1.00: ATAPI: HL-DT-ST DVDRW  GSA-S10N, BP10, max UDMA/33
ata3.00: ATA-8: FUJITSU MHY2160BH, 0081000D, max UDMA/100
ata3.00: 312581808 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata3.00: configured for UDMA/100
ata1.00: configured for UDMA/33
scsi 0:0:0:0: CD-ROM            HL-DT-ST DVDRW  GSA-S10N  BP10 PQ: 0 ANSI: 5
scsi 2:0:0:0: Direct-Access     ATA      FUJITSU MHY2160B 0081 PQ: 0 ANSI: 5
sd 2:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4
sd 2:0:0:0: [sda] Attached SCSI disk
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda caddy
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
EXT3-fs (sda3): mounted filesystem with writeback data mode
kjournald starting.  Commit interval 5 seconds
rtc_cmos 00:08: RTC can wake from S4
rtc_cmos 00:08: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
udev: starting version 151
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
lib80211_crypt: registered algorithm 'TKIP'
wl: module license 'Mixed/Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
wl 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
wl 0000:02:00.0: setting latency timer to 64
eth0: Broadcom BCM4328 802.11 Hybrid Wireless Controller 5.60.48.36 
input: PC Speaker as /devices/platform/pcspkr/input/input6
sky2 driver version 1.26
sky2 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
sky2 0000:03:00.0: setting latency timer to 64
sky2 0000:03:00.0: Yukon-2 EC Ultra chip revision 3
sky2 0000:03:00.0: irq 28 for MSI/MSI-X
sky2 eth1: addr 00:22:41:23:07:18
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:1a.7: setting latency timer to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
iTCO_vendor_support: vendor-support=0
ehci_hcd 0000:00:1a.7: cache line size of 64 is not supported
ehci_hcd 0000:00:1a.7: irq 21, io mem 0x90704c00
applesmc: Apple MacBook 4 detected:
applesmc:  - Model with accelerometer
applesmc:  - Model without light sensors and backlight
applesmc:  - Model with 10 temperature sensors
applesmc: device has already been initialized (0xe0, 0x00).
applesmc: device successfully initialized.
applesmc: 1 fans found.
sr 0:0:0:0: Attached scsi generic sg0 type 5
sd 2:0:0:0: Attached scsi generic sg1 type 0
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
iTCO_wdt: Found a ICH8M TCO device (Version=2, TCOBASE=0x0460)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
input: applesmc as /devices/platform/applesmc.768/input/input7
applesmc: driver successfully loaded.
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
i801_smbus 0000:00:1f.3: PCI INT C -> GSI 20 (level, low) -> IRQ 20
ACPI: I/O resource 0000:00:1f.3 [0xefa0-0xefbf] conflicts with ACPI region SMBI [0xefa0-0xefaf]
ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
ehci_hcd 0000:00:1d.7: PCI INT D -> GSI 20 (level, low) -> IRQ 20
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: cache line size of 64 is not supported
ehci_hcd 0000:00:1d.7: irq 20, io mem 0x90704800
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
HDA Intel 0000:00:1b.0: irq 29 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
uhci_hcd: USB Universal Host Controller Interface driver
ACPI: SSDT 000000007eecaa98 00340 (v01  APPLE  Cpu0Ist 00003000 INTL 20061109)
ACPI: SSDT 000000007eec8c18 002AD (v01  APPLE  Cpu0Cst 00003001 INTL 20061109)
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input8
uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
uhci_hcd 0000:00:1a.0: setting latency timer to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 20, io base 0x000060c0
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:00:1a.1: setting latency timer to 64
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1a.1: irq 16, io base 0x000060a0
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:00:1d.0: setting latency timer to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.0: irq 16, io base 0x00006080
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 18 (level, low) -> IRQ 18
uhci_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.1: irq 18, io base 0x00006060
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:1d.2: setting latency timer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.2: irq 21, io base 0x00006040
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detected
ACPI: AC Adapter [ADP1] (on-line)
Monitor-Mwait will be used to enter C-1 state
Monitor-Mwait will be used to enter C-2 state
Monitor-Mwait will be used to enter C-3 state
Marking TSC unstable due to TSC halts in idle
ACPI: SSDT 000000007eec9f18 000C8 (v01  APPLE  Cpu1Ist 00003000 INTL 20061109)
ACPI: SSDT 000000007eec8f18 00085 (v01  APPLE  Cpu1Cst 00003000 INTL 20061109)
usb 2-4: new high speed USB device using ehci_hcd and address 2
Switching to clocksource hpet
ACPI: Battery Slot [BAT0] (battery present)
firewire_ohci 0000:04:03.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
firewire_ohci: Added fw-ohci device 0000:04:03.0, OHCI version 1.0
usb 3-1: new full speed USB device using uhci_hcd and address 2
firewire_core: created device fw0: GUID 0021e9fffecf48de, S400
usb 2-4: firmware: requesting isight.fw
usb 7-1: new low speed USB device using uhci_hcd and address 2
Unable to load isight firmware
usbcore: registered new interface driver isight_firmware
usbcore: registered new interface driver hiddev
usbhid 3-1:1.0: couldn't find an input interrupt endpoint
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
apple 0003:05AC:8242.0001: hiddev0,hidraw0: USB HID v1.11 Device [Apple Computer, Inc. IR Receiver] on usb-0000:00:1d.2-1/input0
usb 7-2: new full speed USB device using uhci_hcd and address 3
input: Apple Computer Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input9
apple 0003:05AC:022A.0002: input,hidraw1: USB HID v1.11 Keyboard [Apple Computer Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0
input: Apple Computer Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input10
apple 0003:05AC:022A.0003: input,hidraw2: USB HID v1.11 Device [Apple Computer Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input2
usb 3-1: usbfs: USBDEVFS_CONTROL failed cmd hid2hci rqt 64 rq 0 len 0 ret -71
appletouch: Geyser mode initialized.
input: appletouch as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.1/input/input11
usbcore: registered new interface driver appletouch
usb 3-1: USB disconnect, address 2
usb 3-1: new full speed USB device using uhci_hcd and address 3
EXT3-fs (sda3): using internal journal
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda4): using internal journal
EXT3-fs (sda4): mounted filesystem with writeback data mode
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: no IPv6 routers present
sky2 eth1: enabling interface
ADDRCONF(NETDEV_UP): eth1: link is not ready
sky2 eth1: disabling interface
sky2 eth1: enabling interface
ADDRCONF(NETDEV_UP): eth1: link is not ready
sky2 eth1: disabling interface
sky2 eth1: enabling interface
ADDRCONF(NETDEV_UP): eth1: link is not ready
sky2 eth1: disabling interface
eth0: no IPv6 routers present

So to simply put it, this has nothing to do with my driver or network card, because I can manually connect to my network using iwconfig. I'm guessing this is either a configuration issue or a serious issue with netcfg.

Last edited by geniuz (2010-04-13 14:57:56)

Offline

#4 2010-04-13 16:57:53

geniuz
Member
Registered: 2010-04-10
Posts: 127

Re: netcfg WPA Authentication/Association Failed

This is getting stranger by the hour really, in a state of being totally desperate I tried to add:

WIRELESS_INTERFACE="eth0"
WIRED_INTERFACE="eth1"

and additionally "net-auto-wireless" to my DAEMONS array in rc.conf and now it connects everytime I boot, even with WPA security enabled! STILL however, simply issuing "netcfg bistarac" results in the aforementioned behavior...does anybody have a clue what is going on here? Because I can't make any sense from this situation.

EDIT:
I tried doing the same with net-profiles, but that results in the same behavior as applying netcfg directly (as expected). So right now, net-auto-wireless is the only automatic way I get a connection when I boot. I would really like to know why.

Last edited by geniuz (2010-04-13 17:04:50)

Offline

#5 2010-04-14 02:29:01

ygao
Member
Registered: 2009-06-18
Posts: 20

Re: netcfg WPA Authentication/Association Failed

should you try wlan0? eth0 is for wired I think.

Offline

#6 2010-04-14 14:14:10

geniuz
Member
Registered: 2010-04-10
Posts: 127

Re: netcfg WPA Authentication/Association Failed

No, eth0 is my wireless for sure, since I can connect using iwconfig on eth0 and since I set up udev to use eth0 as the wireless interface using the MAC adress of my network card. And like I said, net-aut-wireless connects.

Offline

#7 2010-04-15 00:09:50

thorsten
Member
From: Germany
Registered: 2010-02-24
Posts: 168

Re: netcfg WPA Authentication/Association Failed

Maybe you could post the output of ifconfig -a

Offline

#8 2010-04-15 00:11:43

Peasantoid
Member
Registered: 2009-04-26
Posts: 928
Website

Re: netcfg WPA Authentication/Association Failed

Are you using broadcom-wl? If so, I recommend downgrading to 5.10.91.9.3 - see the AUR package comments. The newer version appears to be rather broken for some people.

Offline

#9 2010-04-15 08:27:53

geniuz
Member
Registered: 2010-04-10
Posts: 127

Re: netcfg WPA Authentication/Association Failed

As a matter of fact, I tried downgradied yesterday after I've read some comments on the broadcom-wl driver page. I just modified the PKGBUILD to use the older package...but still netcfg gave me the same error.

What I think is very odd, is the fact that net-auto-wireless seems to work flawlessly while manually connecting with "netcfg ..." doesn't. I tried using Wicd for the newer driver but it disconnects me every 15 minutes or so without reconnecting. NetworkManager doesn't save passwords, so at this point net-auto-wireless is the only thing that works for me.

Oh and here's the output of ifconfig -a:

eth0      Link encap:Ethernet  HWaddr 00:21:E9:DB:7C:19  
          inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::221:e9ff:fedb:7c19/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:314 errors:0 dropped:0 overruns:0 frame:720
          TX packets:343 errors:6 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:173253 (169.1 Kb)  TX bytes:47005 (45.9 Kb)
          Interrupt:16 

eth1      Link encap:Ethernet  HWaddr 00:22:41:23:07:18  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:17 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:280 (280.0 b)  TX bytes:280 (280.0 b)

Now it's actually connected with net-auto-wireless as you can see. I think the problem solely lies with my driver and netcfg being incompatible for some reason...but then why does net-auto-wireless work?

Last edited by geniuz (2010-04-15 09:15:34)

Offline

#10 2010-04-15 09:14:24

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: netcfg WPA Authentication/Association Failed

Can you run netcfg -s and make sure that the profile running is the same one you're trying to start with netcfg? From my very brief look, I think net-auto-wireless tries all the profiles until it finds one that works.

Running netcfg -l will list all profiles known to netcfg & net-auto-wireless.

It might also be worth posting working/failing wpa profile(s) and the netcfg debug output (I know you posted some above, but that was for the no security test).


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#11 2010-04-15 09:24:23

geniuz
Member
Registered: 2010-04-10
Posts: 127

Re: netcfg WPA Authentication/Association Failed

I only have one network, being "bistarac" and hence only one profile. Both netcfg -s and netcfg -l give the same output, namely "bistarac" which makes sense since its my only profile. And the output for the case when my network is WPA-secured after running "netcfg bistarac" is the same as the one I've posted before for the non-secured network.

However, net-auto-wireless connects instantly while manually running netcfg doesn't. I did however read something in the Arch Linux news archives about net-auto-wireless. Maybe this has got something to do with the fact that net-auto-wireless is working and netcfg on its own isn't:

http://www.archlinux.org/news/487/

Offline

#12 2010-04-15 09:30:48

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: netcfg WPA Authentication/Association Failed

Can you post the profile, please?
Remember to strip out the wpa key.


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#13 2010-04-15 10:05:09

geniuz
Member
Registered: 2010-04-10
Posts: 127

Re: netcfg WPA Authentication/Association Failed

Sure, here it is:

CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='eth0'
SECURITY='wpa'
ESSID='bistarac'
KEY='...'
IP='dhcp'

And at this point I can also say that net-auto-wireless shows the same problem Wicd does, namely I get disconnected within the hour and it doesn't reconnect to my network automatically. Only after I restart the net-auto-wireless daemon it reconnects.

Offline

#14 2010-04-15 10:12:09

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: netcfg WPA Authentication/Association Failed

Try switching to the wireless-wpa-configsection. I'm surprised net-auto-wireless is working as it supposedly only supports that set-up.
You could also try adding a TIME_OUT (check the syntax) parameter, with a reasonably long time out.


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#15 2010-04-15 10:22:10

geniuz
Member
Registered: 2010-04-10
Posts: 127

Re: netcfg WPA Authentication/Association Failed

Ok wait...what do you mean with wireless-wpa-configsection, I've never seen anything about that in the Wiki...can you point me in the right direction? And what does TIME_OUT actually do?

EDIT 1: Oh wait, I found the wireless-wpa-configsection...I stil don't understand how the time-out helps however ?
EDIT 2: Here's what I have now for my config...again net-auto-wireless connects while netcfg refuses to:

CONNECTION='wireless'
INTERFACE='eth0'
SECURITY='wpa-configsection'
ESSID='bistarac'
IP='dhcp'
CONFIGSECTION='
    ssid="bistarac"
    scan_ssid=1
    key_mgmt=WPA-PSK
    psk="..."'

Last edited by geniuz (2010-04-15 10:37:28)

Offline

#16 2010-04-15 10:42:05

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: netcfg WPA Authentication/Association Failed

TBH the TIMEOUT setting is a long shot - it's never worked for me, but I have seen it fix others' issues. AIUI the system basically gives the access point a certain amount of time to respond with the authentication, before it gives up and the TIMEOUT setting configures that. I've always assumed that underneath, netcfg & net-auto-wireless call the same code, but there's a few layers in there (from a cursory glance) that some default settings might be different.


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#17 2010-04-15 10:49:10

geniuz
Member
Registered: 2010-04-10
Posts: 127

Re: netcfg WPA Authentication/Association Failed

Right...well I don't think TIMEOUT will fix anything but I will look into it. For the moment net-auto-wireless connects with the config I posted above. I've also downgraded my driver hoping that the regular disconnections will disappear. Other than that I think I will have to give up on this and hope it will be fixed in future updates.

Last edited by geniuz (2010-04-15 10:56:56)

Offline

#18 2010-04-15 10:55:37

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: netcfg WPA Authentication/Association Failed

geniuz wrote:

Right...well I don't think TIMEOUT will fix anything but I will look into it. For the moment net-auto-wireless connects with the config I posted above. I've also downgraded my driver hoping that the regular disconnections will disappear. Other than that I think I will have to give up on this and hope it will be fixed in future updates.

No probably not, but as I say, it has worked for others when the problem has been a little "odd". Most issues though have been with it working using netcfg and not using net-auto-wireless. hmm

You might want to post a bug report, but check this thread first: http://bbs.archlinux.org/viewtopic.php?id=91439&p=1

For manual connection, you could call wpa_supplicant etc. directly and put it in a script.


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#19 2010-04-15 10:57:52

geniuz
Member
Registered: 2010-04-10
Posts: 127

Re: netcfg WPA Authentication/Association Failed

Well I'll be damned, increasing TIMEOUT to 120 fixed my problem with connecting manually. Now both net-auto-wireless and netcfg work ! Unfornately in that thread I saw that the developer is retiring...I still hope it will be supported though since I really like the way it works.

Thanks for you help !

Last edited by geniuz (2010-04-15 11:04:53)

Offline

#20 2010-04-15 11:10:40

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: netcfg WPA Authentication/Association Failed

Glad (and surprised) it worked. smile

Others help maintain it, but I don't know what it'll do to any development.


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#21 2010-10-19 18:59:42

JamieKitson
Member
From: UK
Registered: 2010-10-18
Posts: 161
Website

Re: netcfg WPA Authentication/Association Failed

Same here, thanks.

Offline

Board footer

Powered by FluxBB