PDA

View Full Version : HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.


Pages : 1 2 3 4 5 6 [7] 8

wieman01
July 11th, 2008, 04:12 PM
wieman01,

Thanks for your prompt reply. I would prefer to assign a static IP, although
getting the card working is the first priority. However, I have heard that
network manager has a bug that prevents it from "remembering" the WPA2 key
after a reboot. I would also like to ask which driver would be better in
this case; the GPL driver provided by Ralink, or the Windows XP x64 driver
through ndiswrapper.

I've commented out all the wlan0 lines in the interfaces file, installed wicd, and rebooted, however it still shows the wireless connecting, then dropping after a few seconds, then connecting again, etc.
Honest answer? Go for "ndiswraper" and the Windows driver. Save you a lot of trouble...

ddcc
July 11th, 2008, 04:21 PM
After spending a few more hours messing with both the Ralink and ndiswrapper, I've found that the only way I can get the wireless to work is with WEP or with no encryption; WPA or WPA2 just makes the wireless endlessly connect and disconnect. I've tried toggling all the settings on the router, but none make any difference. Especially since this is one of those new 802.11n draft wireless cards, I think that this problem is because it's too new, or the router is doing something strange with WPA, neither of which I can easily solve.

Since we originally bought the wireless because there was no more room on the back of the wired router, I think I'm going to move the wireless card to a Windows-only PC, and leave this Vista/Ubuntu as wired.

Thanks for your help wieman01

geezerone
July 11th, 2008, 06:13 PM
Out of interest what signal strength do you get with your wireless adapter. I have a Ralink USB adapter and if strength drops below 50% I get disconnected (WPA2). I find my sig. strength between 69 to 90% is stable enough with 54Mbps on 802.11g standard (max.)

If you have Cat * cabling you could invest in another Ethernet switch and connect this to your Router's ethernet port to an auto X-over port or via crossover cable (1&3, 2&6 cross-over).

ddcc
July 12th, 2008, 12:27 AM
Oddly enough, Windows shows it as 70-80, but in Linux it shows as somewhere around 50%. We do have CAT5 cabling, but I don't happen to have any of the cable crimpers (though I do have a few spare heads).

The reason we decided to go for wireless though, is that the router and modem are downstairs in the computer room, from which one port is plugged into the CAT5 cable, which is then connected to a CAT5 going to another room at the cable box. We originally considered moving all the equipment up into the cable box but there wasn't enough room, nor was there any documentation on how to get it working.

wieman01
July 12th, 2008, 04:05 AM
I think I've followed the guide but I can't connect. Any help will be appreciated.

System:
P4 1500 mkz, 512 mb ram,
Ubuntu 8.04 with updates
DSL combo modem/router, SSID Broadcast off, WPA-PSK
Trendnet TWE423PI pci adapter, Marvell 88w8335 chip set
ndiswrapper using Mrv8000c Win98 driver
Network Manager is installed (with O/S). I don't know how to deactivate it.
EDIT: 7/11/08 - I removed Network-Manager using Synaptic. The only changes were that more networks were detected today.


Reference Information requested in the How-To:
(I hope this formats OK)

user@user-Desktop:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 0 0 0 wlan0
default * 0.0.0.0 U 1000 0 0 wlan0


user@user-Desktop:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11b ESSID:off/any
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:1 Mb/s Sensitivity=-200 dBm
RTS thr=2346 B Fragment thr=2346 B
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


user@user-Desktop:~$ sudo iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:12:0E:7B:49:57
ESSID:""
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:51/100 Signal level:-63 dBm Noise level:-96 dBm
Encryption key:on
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; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK

Everything looks set to me. What wireless adapter have you got? You could also use Network Manager or WICD instead if you don't plan on using static IP addresses. I guess it would make things a lot easier for you.

Weird. It ought to work.

wieman01
July 12th, 2008, 04:07 AM
Oddly enough, Windows shows it as 70-80, but in Linux it shows as somewhere around 50%. We do have CAT5 cabling, but I don't happen to have any of the cable crimpers (though I do have a few spare heads).

The reason we decided to go for wireless though, is that the router and modem are downstairs in the computer room, from which one port is plugged into the CAT5 cable, which is then connected to a CAT5 going to another room at the cable box. We originally considered moving all the equipment up into the cable box but there wasn't enough room, nor was there any documentation on how to get it working.
Question though... Is your adapter a USB one? Power supply could be the issue at hand. You could try an extra external USB power supply. That was the issue in my case a while back.

hookzilla
July 12th, 2008, 09:11 AM
Thanks, wiemon01, for the response.

Adaptor:
I have a Trendnet TEW423PI (H/W Build B1) PCI adaptor using the Marvel 88w8335 Libertas chipset . I have installed ndiswrapper using the W98 driver Mrv8000c. I tried the WinXP driver but didn't see any difference. I forgot to add in my first post that mine is a WUBI installation. (Does that matter?)

Questions:
I have looked at several HowTo's, and may have some clutter. Should I have both the /etc/networks/interfaces and /etc/wpa_supplicant.conf files? I think the wpa_supplicant.conf was from an attempt with ssid broadcast on. Should I delete the wpa_supplicant file? I tried resetting /etc/newtowk/interfaces for SSID broadcast, but that didn't work.
Here are the files:

wpa_supplicant.conf
ap_scan=1
ctrl_interface=/var/run/wpa_supplicant

network={
ssid="<ssid>"
scan_ssid=0
proto=WPA
key_mgmt=WPA-PSK
psk="<asciipw>"
pairwise=TKIP
group=TKIP
}


user@user-Desktop:~$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp

wpa-driver wext
wpa-ssid <ssid>
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk <hex pw>

When I removed network-manager, should I have deleted just network-manager or all the setup files also?

I have tried wicd previously, so I may give that a try. Do I need to do anything with the previously mentioned files?

Once again, thanks very much for your time and support of this HowTo.

wieman01
July 12th, 2008, 09:41 AM
hookzilla,

You don't need "wpa_supplicant.conf" if you follow this tutorial.

In order to try WICD or Network Manager, "/etc/network/interfaces" must read:
auto lo
iface lo inet loopback
Nothing else. After a restart you can try either of these tools.

I guess you don't have to remove NM if you run Hardy... not sure though. If you remove NM, the system does all the clean-up for you, there is no need to remove an other files yourself.

ddcc
July 12th, 2008, 02:30 PM
wieman01: No, it's an integrated PCI one.
geezerone: I didn't consider signal strength before; it might very well be due to a weak signal. I'm going to move it closer to the AP and try again.

hookzilla
July 12th, 2008, 05:00 PM
wieman01

Once again, thanks for the suggestions.

I did a fresh install of Ubuntu and tried Network manager (with ndiswrapper and the W98 driver) No luck. It showed the networks after a scan, bur would not connect. If I tried connecting using the NM applet, it at least showed the signal strength. However, it would not connect. I would enter the password and it would think a moment and ask for the password, etc.

I then installed wicd. Same thing - showed several networks, including mine. But it wouldn't connect. Also, once wicd was installed, everything got really slow.

I'm at a loss. The card connnects in WPA in WXP, so the card will handle WPA. I've tried both the W98 and XP drivers in ndiswrapper. I didn't see any difference.

One thing...My router is using channel 11. Do I have to specify that somewhere? I noticed that RUtilT has a place to set the channel. Unfortunately, is doesn't appear to handle WPA.

I really don't want to drop bask to WEP. I have another adapter (Belkin F5D7000 Rev 2 - Broadcom BCM4306(?)chipset) if you think that might be worth the effort.

Any suggestions? Are there any reports that might help?

Once again, thanks.

geezerone
July 12th, 2008, 05:48 PM
Your symptoms of not connecting and being password-nagged are all too familiar with most here I would guess. I also experienced that signal strength less than 50% results in not being connected or dropping connections.

Change your channel to a lower one, e.g. 7 and see if this helps. I know that I had a high channel and weird as it sounds once lowered on the WAP it worked. I tried changing back and forth between the channels and the wireless would work and not work when I went from low to high channel #.

Good luck.

wieman01
July 12th, 2008, 07:16 PM
wieman01

Once again, thanks for the suggestions.

I did a fresh install of Ubuntu and tried Network manager (with ndiswrapper and the W98 driver) No luck. It showed the networks after a scan, bur would not connect. If I tried connecting using the NM applet, it at least showed the signal strength. However, it would not connect. I would enter the password and it would think a moment and ask for the password, etc.

I then installed wicd. Same thing - showed several networks, including mine. But it wouldn't connect. Also, once wicd was installed, everything got really slow.

I'm at a loss. The card connnects in WPA in WXP, so the card will handle WPA. I've tried both the W98 and XP drivers in ndiswrapper. I didn't see any difference.

One thing...My router is using channel 11. Do I have to specify that somewhere? I noticed that RUtilT has a place to set the channel. Unfortunately, is doesn't appear to handle WPA.

I really don't want to drop bask to WEP. I have another adapter (Belkin F5D7000 Rev 2 - Broadcom BCM4306(?)chipset) if you think that might be worth the effort.

Any suggestions? Are there any reports that might help?

Once again, thanks.
You don't have to set the channel, the driver does that for you.

You could give the Broadcom adapter a shot, there are tutorials out there, some of them well written and easy to follow. Don't throw in the towel just yet, there is light at the end of the tunnel.

Good call... don't give in to WEP. It's a security protocol that does not deserve the name.

hookzilla
July 13th, 2008, 02:01 PM
wieman01

I tried changing the channel but that didn't work either. Last chance is to change adapters.

Have you heard of anyone who got this working in Hardy?

And again, thanks for all the help..

geezerone
July 13th, 2008, 03:29 PM
Open a terminal and copy/paste the output of dmesg here after authentication fails.

What make/model and chipset of Wireless device are you using?

hookzilla
July 13th, 2008, 06:49 PM
geezerone

I'm using a Trendnet TEW423PI build B.1with Marvell 88w8335 Libertas chipset - W98 Driver Mrv8000c Router is now on channel 11 using WPA TKIP

dmesg output:

user@user-desktop:~$ dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.24-19-generic (buildd@palmer) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Wed Jun 18 14:43:41 UTC 2008 (Ubuntu 2.6.24-19.34-generic)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable)
[ 0.000000] BIOS-e820: 0000000017ff0000 - 0000000017ff3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 0000000017ff3000 - 0000000018000000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
[ 0.000000] 0MB HIGHMEM available.
[ 0.000000] 383MB LOWMEM available.
[ 0.000000] found SMP MP-table at 000f49a0
[ 0.000000] Entering add_active_range(0, 0, 98288) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 98288
[ 0.000000] HighMem 98288 -> 98288
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 98288
[ 0.000000] On node 0 totalpages: 98288
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 0.000000] Normal zone: 735 pages used for memmap
[ 0.000000] Normal zone: 93457 pages, LIFO batch:31
[ 0.000000] HighMem zone: 0 pages used for memmap
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] DMI 2.3 present.
[ 0.000000] ACPI: RSDP signature @ 0xC00F6740 checksum 0
[ 0.000000] ACPI: RSDP 000F6740, 0014 (r0 FIC )
[ 0.000000] ACPI: RSDT 17FF3000, 0030 (r1 FIC AWRDACPI 42302E31 AWRD 0)
[ 0.000000] ACPI: FACP 17FF3040, 0074 (r1 FIC AWRDACPI 42302E31 AWRD 0)
[ 0.000000] ACPI: DSDT 17FF30C0, 3A32 (r1 FIC AWRDACPI 1000 MSFT 100000C)
[ 0.000000] ACPI: FACS 17FF0000, 0040
[ 0.000000] ACPI: DBGP 17FF6B80, 0034 (r1 FIC AWRDACPI 42302E31 AWRD 0)
[ 0.000000] ACPI: APIC 17FF6B00, 0054 (r1 FIC AWRDACPI 42302E31 AWRD 0)
[ 0.000000] ACPI: PM-Timer IO Port: 0x4008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 15:0 APIC version 20
[ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] Allocating PCI resources starting at 20000000 (gap: 18000000:e6c00000)
[ 0.000000] swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000f0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000f0000 - 0000000000100000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 97521
[ 0.000000] Kernel command line: root=UUID=0CBC0E96BC0E7B0A loop=/ubuntu/disks/root.disk ro quiet splash
[ 0.000000] mapped APIC to ffffb000 (fee00000)
[ 0.000000] mapped IOAPIC to ffffa000 (fec00000)
[ 0.000000] Enabling fast FPU save and restore... done.
[ 0.000000] Enabling unmasked SIMD FPU exception support... done.
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[ 0.000000] Detected 1495.704 MHz processor.
[ 30.418536] Console: colour VGA+ 80x25
[ 30.418544] console [tty0] enabled
[ 30.419265] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 30.419998] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 30.438294] Memory: 377348k/393152k available (2177k kernel code, 15188k reserved, 1006k data, 368k init, 0k highmem)
[ 30.438311] virtual kernel memory layout:
[ 30.438313] fixmap : 0xfff4b000 - 0xfffff000 ( 720 kB)
[ 30.438315] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
[ 30.438317] vmalloc : 0xd8800000 - 0xff7fe000 ( 623 MB)
[ 30.438319] lowmem : 0xc0000000 - 0xd7ff0000 ( 383 MB)
[ 30.438321] .init : 0xc0421000 - 0xc047d000 ( 368 kB)
[ 30.438323] .data : 0xc0320434 - 0xc041bdc4 (1006 kB)
[ 30.438325] .text : 0xc0100000 - 0xc0320434 (2177 kB)
[ 30.438331] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[ 30.438404] SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
[ 30.518364] Calibrating delay using timer specific routine.. 2995.24 BogoMIPS (lpj=5990496)
[ 30.518413] Security Framework initialized
[ 30.518426] SELinux: Disabled at boot.
[ 30.518453] AppArmor: AppArmor initialized
[ 30.518462] Failure registering capabilities with primary security module.
[ 30.518479] Mount-cache hash table entries: 512
[ 30.518746] Initializing cgroup subsys ns
[ 30.518755] Initializing cgroup subsys cpuacct
[ 30.518776] CPU: After generic identify, caps: 3febfbff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 30.518801] CPU: Trace cache: 12K uops, L1 D cache: 8K
[ 30.518807] CPU: L2 cache: 256K
[ 30.518812] CPU: Hyper-Threading is disabled
[ 30.518816] CPU: After all inits, caps: 3febfbff 00000000 00000000 0000b080 00000000 00000000 00000000 00000000
[ 30.518843] Compat vDSO mapped to ffffe000.
[ 30.518870] Checking 'hlt' instruction... OK.
[ 30.535078] SMP alternatives: switching to UP code
[ 30.538170] Freeing SMP alternatives: 11k freed
[ 30.538478] Early unpacking initramfs... done
[ 31.176558] ACPI: Core revision 20070126
[ 31.176667] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[ 31.182140] CPU0: Intel(R) Pentium(R) 4 CPU 1500MHz stepping 0a
[ 31.182214] Total of 1 processors activated (2995.24 BogoMIPS).
[ 31.182375] ENABLING IO-APIC IRQs
[ 31.182589] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 31.329718] Brought up 1 CPUs
[ 31.329762] CPU0 attaching sched-domain:
[ 31.329768] domain 0: span 01
[ 31.329772] groups: 01
[ 31.330206] net_namespace: 64 bytes
[ 31.330226] Booting paravirtualized kernel on bare hardware
[ 31.331294] Time: 18:32:46 Date: 07/13/08
[ 31.331354] NET: Registered protocol family 16
[ 31.331845] EISA bus registered
[ 31.331892] ACPI: bus type pci registered
[ 31.357911] PCI: PCI BIOS revision 2.10 entry at 0xfaf70, last bus=2
[ 31.357916] PCI: Using configuration type 1
[ 31.357944] Setting up standard PCI resources
[ 31.366162] ACPI: EC: Look up EC in DSDT
[ 31.372045] ACPI: Interpreter enabled
[ 31.372056] ACPI: (supports S0 S1 S4 S5)
[ 31.372086] ACPI: Using IOAPIC for interrupt routing
[ 31.383131] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 31.383501] PCI quirk: region 4000-407f claimed by ICH4 ACPI/GPIO/TCO
[ 31.383508] PCI quirk: region 4080-40bf claimed by ICH4 GPIO
[ 31.384439] PCI: Transparent bridge - 0000:00:1e.0
[ 31.384487] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 31.384775] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
[ 31.408261] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
[ 31.408463] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
[ 31.408665] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[ 31.408861] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
[ 31.409057] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[ 31.409253] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
[ 31.409448] ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[ 31.409690] ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[ 31.410035] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 31.410110] pnp: PnP ACPI init
[ 31.410132] ACPI: bus type pnp registered
[ 31.417825] pnp: PnP ACPI: found 17 devices
[ 31.417833] ACPI: ACPI bus type pnp unregistered
[ 31.417844] PnPBIOS: Disabled by ACPI PNP
[ 31.418388] PCI: Using ACPI for IRQ routing
[ 31.418396] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[ 31.449526] NET: Registered protocol family 8
[ 31.449531] NET: Registered protocol family 20
[ 31.449718] AppArmor: AppArmor Filesystem Enabled
[ 31.453504] Time: tsc clocksource has been installed.
[ 31.461617] system 00:00: ioport range 0x280-0x287 has been reserved
[ 31.461636] system 00:01: iomem range 0xcc000-0xcffff has been reserved
[ 31.461642] system 00:01: iomem range 0xf0000-0xf7fff could not be reserved
[ 31.461647] system 00:01: iomem range 0xf8000-0xfbfff could not be reserved
[ 31.461652] system 00:01: iomem range 0xfc000-0xfffff could not be reserved
[ 31.461658] system 00:01: iomem range 0x17ff0000-0x17ffffff could not be reserved
[ 31.461662] system 00:01: iomem range 0x0-0x9ffff could not be reserved
[ 31.461668] system 00:01: iomem range 0x100000-0x17feffff could not be reserved
[ 31.461674] system 00:01: iomem range 0xfec00000-0xfec00fff could not be reserved
[ 31.461679] system 00:01: iomem range 0xfee00000-0xfee00fff could not be reserved
[ 31.461684] system 00:01: iomem range 0xffb00000-0xffbfffff could not be reserved
[ 31.461689] system 00:01: iomem range 0xfff00000-0xffffffff could not be reserved
[ 31.461694] system 00:01: iomem range 0xe0000-0xeffff has been reserved
[ 31.461708] system 00:03: ioport range 0x4000-0x40bf could not be reserved
[ 31.461720] system 00:04: ioport range 0x4d0-0x4d1 has been reserved
[ 31.461725] system 00:04: ioport range 0x800-0x87f has been reserved
[ 31.492698] PCI: Bridge: 0000:00:01.0
[ 31.492703] IO window: disabled.
[ 31.492711] MEM window: ec000000-edffffff
[ 31.492717] PREFETCH window: e0000000-e7ffffff
[ 31.492726] PCI: Bridge: 0000:00:1e.0
[ 31.492731] IO window: c000-cfff
[ 31.492739] MEM window: ee000000-efffffff
[ 31.492745] PREFETCH window: disabled.
[ 31.492771] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[ 31.492801] NET: Registered protocol family 2
[ 31.529611] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 31.530095] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 31.530278] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[ 31.530491] TCP: Hash tables configured (established 16384 bind 16384)
[ 31.530497] TCP reno registered
[ 31.541805] checking if image is initramfs...<7>Switched to high resolution mode on CPU 0
[ 32.123769] it is
[ 32.779050] Freeing initrd memory: 7572k freed
[ 32.780366] audit: initializing netlink socket (disabled)
[ 32.780398] audit(1215973967.240:1): initialized
[ 32.784858] VFS: Disk quotas dquot_6.5.1
[ 32.785062] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 32.785411] io scheduler noop registered
[ 32.785417] io scheduler anticipatory registered
[ 32.785420] io scheduler deadline registered
[ 32.785452] io scheduler cfq registered (default)
[ 32.785537] Boot video device is 0000:01:00.0
[ 32.786173] isapnp: Scanning for PnP cards...
[ 33.140389] isapnp: No Plug & Play device found
[ 33.248892] Real Time Clock Driver v1.12ac
[ 33.249101] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 33.249309] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 33.249704] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 33.251397] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 33.252410] 00:0b: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 33.253025] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 21 (level, low) -> IRQ 16
[ 33.257452] 0000:02:00.0: ttyS2 at I/O 0xc028 (irq = 16) is a 8250
[ 33.259842] 0000:02:00.0: ttyS3 at I/O 0xc040 (irq = 16) is a 8250
[ 33.260242] Couldn't register serial port 0000:02:00.0: -28
[ 33.261645] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 33.261820] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 33.262105] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 33.265245] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 33.265256] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 33.272002] mice: PS/2 mouse device common for all mice
[ 33.272312] EISA: Probing bus 0 at eisa.0
[ 33.272338] Cannot allocate resource for EISA slot 4
[ 33.272342] Cannot allocate resource for EISA slot 5
[ 33.272358] EISA: Detected 0 cards.
[ 33.272366] cpuidle: using governor ladder
[ 33.272370] cpuidle: using governor menu
[ 33.272569] NET: Registered protocol family 1
[ 33.272632] Using IPI No-Shortcut mode
[ 33.272709] registered taskstats version 1
[ 33.272877] Magic number: 0:370:544
[ 33.273073] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 33.273077] EDD information not available.
[ 33.274031] Freeing unused kernel memory: 368k freed
[ 33.296002] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 34.811279] fuse init (API version 7.9)
[ 34.850474] ACPI: Fan [FAN] (on)
[ 34.864460] ACPI: Processor [CPU0] (supports 2 throttling states)
[ 34.873236] ACPI: Thermal Zone [THRM] (40 C)
[ 36.287161] usbcore: registered new interface driver usbfs
[ 36.287216] usbcore: registered new interface driver hub
[ 36.306680] SCSI subsystem initialized
[ 36.351029] usbcore: registered new device driver usb
[ 36.438239] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 36.438331] 8139cp 0000:02:03.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
[ 36.438340] 8139cp 0000:02:03.0: Try the "8139too" driver instead.
[ 36.462509] libata version 3.00 loaded.
[ 36.488694] 8139too Fast Ethernet driver 0.9.28
[ 36.488832] ACPI: PCI Interrupt 0000:02:03.0[A] -> GSI 17 (level, low) -> IRQ 17
[ 36.489791] eth0: RealTek RTL8139 at 0xc400, 00:40:ca:b5:62:4c, IRQ 17
[ 36.489797] eth0: Identified 8139 chip type 'RTL-8100'
[ 36.514450] USB Universal Host Controller Interface driver v3.0
[ 36.514605] ACPI: PCI Interrupt 0000:00:1f.2[D] -> GSI 19 (level, low) -> IRQ 18
[ 36.514627] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[ 36.514634] uhci_hcd 0000:00:1f.2: UHCI Host Controller
[ 36.515344] uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
[ 36.515401] uhci_hcd 0000:00:1f.2: irq 18, io base 0x0000d000
[ 36.515749] usb usb1: configuration #1 chosen from 1 choice
[ 36.515798] hub 1-0:1.0: USB hub found
[ 36.515811] hub 1-0:1.0: 2 ports detected
[ 36.616739] ACPI: PCI Interrupt 0000:00:1f.4[C] -> GSI 23 (level, low) -> IRQ 19
[ 36.616764] PCI: Setting latency timer of device 0000:00:1f.4 to 64
[ 36.616771] uhci_hcd 0000:00:1f.4: UHCI Host Controller
[ 36.616821] uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
[ 36.616862] uhci_hcd 0000:00:1f.4: irq 19, io base 0x0000d800
[ 36.617123] usb usb2: configuration #1 chosen from 1 choice
[ 36.617172] hub 2-0:1.0: USB hub found
[ 36.617185] hub 2-0:1.0: 2 ports detected
[ 36.701658] Floppy drive(s): fd0 is 1.44M
[ 36.720085] FDC 0 is a post-1991 82077
[ 36.721282] PCI: Setting latency timer of device 0000:00:1f.1 to 64
[ 36.771469] ata_piix 0000:00:1f.1: version 2.12
[ 36.771605] PCI: Setting latency timer of device 0000:00:1f.1 to 64
[ 36.789293] scsi0 : ata_piix
[ 36.797845] scsi1 : ata_piix
[ 36.799051] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xf000 irq 14
[ 36.799057] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xf008 irq 15
[ 37.016699] ata1.00: ATA-6: ST3120026A, 3.06, max UDMA/100
[ 37.016708] ata1.00: 234441648 sectors, multi 16: LBA48
[ 37.032628] ata1.00: configured for UDMA/100
[ 37.517495] ata2.00: ATAPI: HL-DT-STDVD-ROM GDR8163B, 0L23, max UDMA/33
[ 37.517544] ata2.01: ATAPI: LG CD-RW CED-8120B, 2.00, max MWDMA2
[ 37.687785] ata2.00: configured for UDMA/33
[ 37.859717] ata2.01: configured for MWDMA2
[ 37.859992] scsi 0:0:0:0: Direct-Access ATA ST3120026A 3.06 PQ: 0 ANSI: 5
[ 37.869697] scsi 1:0:0:0: CD-ROM HL-DT-ST DVD-ROM GDR8163B 0L23 PQ: 0 ANSI: 5
[ 37.871134] scsi 1:0:1:0: CD-ROM LG CD-RW CED-8120B 2.00 PQ: 0 ANSI: 5
[ 38.299150] Driver 'sd' needs updating - please use bus_type methods
[ 38.299333] sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
[ 38.299362] sd 0:0:0:0: [sda] Write Protect is off
[ 38.299367] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 38.299407] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 38.299514] sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
[ 38.299537] sd 0:0:0:0: [sda] Write Protect is off
[ 38.299542] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 38.299580] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 38.299589] sda:<4>Driver 'sr' needs updating - please use bus_type methods
[ 38.311193] sda1
[ 38.311327] sd 0:0:0:0: [sda] Attached SCSI disk
[ 38.329618] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 38.329660] sr 1:0:0:0: Attached scsi generic sg1 type 5
[ 38.329695] scsi 1:0:1:0: Attached scsi generic sg2 type 5
[ 38.331236] sr0: scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
[ 38.331247] Uniform CD-ROM driver Revision: 3.20
[ 38.331373] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 38.346816] sr1: scsi3-mmc drive: 24x/32x writer cd/rw xa/form2 cdda tray
[ 38.346944] sr 1:0:1:0: Attached scsi CD-ROM sr1
[ 39.217236] loop: module loaded
[ 39.268373] kjournald starting. Commit interval 5 seconds
[ 39.268412] EXT3-fs: mounted filesystem with ordered data mode.
[ 52.708881] Linux agpgart interface v0.102
[ 52.854584] iTCO_vendor_support: vendor-support=0
[ 52.924722] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.02 (26-Jul-2007)
[ 52.925839] iTCO_wdt: failed to reset NO_REBOOT flag, reboot disabled by hardware
[ 52.925857] iTCO_wdt: No card detected
[ 53.003537] agpgart: Detected an Intel 845G Chipset.
[ 53.008045] agpgart: AGP aperture is 64M @ 0xe8000000
[ 53.080586] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 53.172657] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 53.280327] intel_rng: FWH not detected
[ 53.420468] input: PC Speaker as /devices/platform/pcspkr/input/input2
[ 54.036721] input: Power Button (FF) as /devices/virtual/input/input3
[ 54.057046] ACPI: Power Button (FF) [PWRF]
[ 54.057611] input: Power Button (CM) as /devices/virtual/input/input4
[ 54.067480] ACPI: Power Button (CM) [PWRB]
[ 54.067753] input: Sleep Button (CM) as /devices/virtual/input/input5
[ 54.079469] ACPI: Sleep Button (CM) [SLPB]
[ 54.650978] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
[ 55.527040] ndiswrapper: driver mrv8000c (Marvell,09/17/2004,3.1.0.19) loaded
[ 55.527549] ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 23 (level, low) -> IRQ 19
[ 55.530144] ndiswrapper: using IRQ 19
[ 55.790538] wlan0: ethernet device 00:40:f4:f7:31:50 using NDIS driver: mrv8000c, version: 0x3000027, NDIS version: 0x500, vendor: 'NDIS Network Adapter', 11AB:1FAA.5.conf
[ 55.790567] ndiswrapper (set_iw_encr_mode:717): setting encryption mode to 6 failed (C00000BB)
[ 55.790579] wlan0: encryption modes supported: WEP; TKIP with WPA
[ 55.790737] usbcore: registered new interface driver ndiswrapper
[ 58.956810] input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input6
[ 59.068821] parport_pc 00:0c: reported by Plug and Play ACPI
[ 59.068888] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 59.272113] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 17
[ 59.272145] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[ 59.594128] intel8x0_measure_ac97_clock: measured 54588 usecs
[ 59.594136] intel8x0: clocking to 48000
[ 62.676556] NET: Registered protocol family 17
[ 63.984456] lp0: using parport0 (interrupt-driven).
[ 64.934454] EXT3 FS on loop0, internal journal
[ 90.927334] Adding 976552k swap on /host/ubuntu/disks/swap.disk. Priority:-1 extents:1 across:976552k
[ 91.782055] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 92.668167] No dock devices found.
[ 94.631749] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
[ 94.631761] apm: overridden by ACPI.
[ 94.791438] ppdev: user-space parallel port driver
[ 95.020532] audit(1215988430.280:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=4936 profile="/usr/sbin/cupsd" namespace="default"
[ 97.984770] Bluetooth: Core ver 2.11
[ 97.986313] NET: Registered protocol family 31
[ 97.986323] Bluetooth: HCI device and connection manager initialized
[ 97.986331] Bluetooth: HCI socket layer initialized
[ 98.072682] Bluetooth: L2CAP ver 2.9
[ 98.072694] Bluetooth: L2CAP socket layer initialized
[ 98.211486] Bluetooth: RFCOMM socket layer initialized
[ 98.212012] Bluetooth: RFCOMM TTY layer initialized
[ 98.212022] Bluetooth: RFCOMM ver 1.8
[ 98.689567] eth0: link down
[ 110.530266] NET: Registered protocol family 10
[ 110.531396] lo: Disabled Privacy Extensions
[ 110.532997] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 110.534012] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 179.502667] UDF-fs: Partition marked readonly; forcing readonly mount
[ 179.628083] UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume ' DVD_RECORDER', timestamp 2006/08/06 17:42 (1f10)
user@user-desktop:~$


Thanks for any help you can give.

ugraham
July 19th, 2008, 04:20 AM
I am running Hardy with a linksys WPC54G V2.

I have used these 2 threads:
http://ubuntuforums.org/showthread.php?t=324148
http://ubuntuforums.org/showthread.php?t=318539

Using WPA-PSK (TKIP)

it still doesn't work. When I do sudo /etc/init.d/networking restart

I get ioctl[SIOCSIWPMKSA]: Invalid argument

Can anyone offer any suggestions.

Thanks.

wesswei
July 20th, 2008, 01:04 PM
For WPA1 my example would look like this:

I have never bothered to setup wpa_supplicant outside of "interfaces" because I don't think it is nice. So I cannot give you any advice there. However, I am having a similar issue as you whereby I need to initialize my wireless network at startup, then immediately bring it down & restart it. For some reason the network would remain disconnected if I did not restart it.

So my advice is to follow post #2 and restart the network during the boot process. Not sure if this is a bug but I have not found a solution ever since.

Thanks wieman! I used your post before to get my WPA working for linksys wusb54gv4 but had to manually restart the network EVERY time. I totally missed the second post which explains this bug.

I did this to update the links for all the rc folders.
sudo update-rc.d wireless-networking defaults 40

Thanks again. Very informative how-to...

PS. I'm not sure if you or anyone else had this problem, but when I updated to Hardy and used WPA, my system would sometimes instantly shut down. This did not happen using WEP on hardy. I updated my bios and the kernel as it wouldn't even boot after the shutdown had occurred unless I switched voltage on my computer and cycle power a few times. Hasn't happened since. whew!

panda2004
July 20th, 2008, 07:54 PM
Thanks for your post is very detailed. I'm not sure if you or anyone else had this problem, but when I install Hardy and used WPA, my system would not connect. The wireless without WPA or WEP works fine. But as long as I enabled security on route, wireless doesn't work. (the same machine booted to vista can access the same route with WPA/WEP without any issue.)

I started a post :Wireless with WPA/WEP doesn't work
http://ubuntuforums.org/showthread.php?p=5425857#post5425857

Any suggestion to my issue?

ugraham
July 21st, 2008, 07:39 AM
I am running Hardy with a linksys WPC54G V2.

I have used these 2 threads:
http://ubuntuforums.org/showthread.php?t=324148
http://ubuntuforums.org/showthread.php?t=318539

Using WPA-PSK (TKIP)

it still doesn't work. When I do sudo /etc/init.d/networking restart

I get ioctl[SIOCSIWPMKSA]: Invalid argument

Can anyone offer any suggestions.




Thanks.

Interestingly enough, I ran up my machine with Opensus 10.3 and followed the ubuntu forums and the Linksys WPC54G V2 works straight away. It is using ndiswrapper 1.9 and wpa_supplicant 0.5.8. Linux kernel 2.6.22.5-31

Being a newbie, how can I get this to work under Ubuntu Hardy. What makes the 2 versions of Linux so different (I assume the kernel)

sputnikkk
July 21st, 2008, 09:03 PM
Is the info in the change log highlited in RED, still true 1 year later, or has it just not been tried since then?


CHANGE LOG:
08/11/2006: Added section "Post this if you are stumped" (SquibT).
08/11/2006: Added sample configuration for WPA2 with DHCP & ESSID broadcast (Wieman01).
08/11/2006: Added sample configuration for WPA1 with DHCP & ESSID broadcast (Wieman01).
08/11/2006: Added section "Tested adapters" (Wieman01).
08/11/2006: Added section "Useful commands" (SquibT).
08/11/2006: Added section "Common stumbling blocks" (Wieman01).
08/11/2006: Changed section "wpa-driver" and added new drivers (Wieman01).
08/11/2006: Added section "Revoking read-permission from group 'others'" (Wieman01).
09/11/2006: Minor changes in layout (Wieman01).
09/11/2006: Added sample configuration for mixed mode (WPA1, WPA2) with DHCP & ESSID broadcast (Wieman01).
09/11/2006: Added experimental sample configuration for LEAP with WEP, DHCP & ESSID broadcast (Wieman01).
09/11/2006: Added section "Install wpa-supplicant" (Wieman01).
10/11/2006: Added experimental sample configuration for TTLS with WEP, DHCP & ESSID broadcast (Wieman01).
15/11/2006: Added experimental sample configuration for EAP-FAST with WPA1/WPA2, DHCP & ESSID broadcast (Wieman01).
04/12/2006: Changed "wpa_passphrase" section & added quotes ("") for encryption keys containing special characters (Wieman01).
04/01/2007: Added various security options (Wieman01).
15/01/2007: Added valid script for EAP-LEAP (Wieman01).
31/01/2007: Added valid script for EAP-PEAP (Wieman01).
21/04/2007: Removed "wpa-conf" for Edgy Eft (Wieman01).
22/04/2007: Simplified section concerning static network settings (Wieman01).
02/05/2007: Added note concerning WPA2 support for Atheros cards & drivers (Wieman01).
13/05/2007: Added note on Ralink drivers (Wieman01).
15/04/2008: Tested with Hardy Heron (Wieman01).

Innova
July 23rd, 2008, 11:25 PM
I just bought a trendnet TEW-424UB:

wesley@kids-desktop:~$ lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0bda:8189 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 0000:0000

I used the modified driver from here: http://www.datanorth.net/~cuervo/rtl8187b/.

This seemed to work to get the hardware portion working:

wesley@kids-desktop:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 802.11b/g Mode:Managed Channel=8
Access Point: Not-Associated Bit Rate:11 Mb/s
Retry:on Fragment thr:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

wesley@kids-desktop:~$ sudo iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:18:F8:6D:97:E6
ESSID:"linksys"
Protocol:IEEE 802.11bg
Mode:Master
Channel:11
Encryption key:on
Bit Rates:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Quality:17 Signal level:0 Noise level:77
Extra: Last beacon: 1850ms ago

wesley@kids-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:17:9a:39:e1:5a
inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::217:9aff:fe39:e15a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12234 errors:0 dropped:0 overruns:0 frame:0
TX packets:9497 errors:0 dropped:0 overruns:0 carrier:0
collisions:31 txqueuelen:1000
RX bytes:13714273 (13.0 MB) TX bytes:1316310 (1.2 MB)
Interrupt:11 Base address:0x2000

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:2324 errors:0 dropped:0 overruns:0 frame:0
TX packets:2324 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:116640 (113.9 KB) TX bytes:116640 (113.9 KB)

wlan0 Link encap:Ethernet HWaddr 00:14:d1:48:1e:1c
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:48 dropped:232 overruns:0 frame:0
TX packets:4308 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:180936 (176.6 KB)

wlan0:avahi Link encap:Ethernet HWaddr 00:14:d1:48:1e:1c
inet addr:169.254.3.147 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1

After setting up my interfaces file:

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid linksys
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk KEY_GOES_HERE


And restarting networking, I get the following error:

wesley@kids-desktop:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.wlan0.pid with pid 7344
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:14:d1:48:1e:1c
Sending on LPF/wlan0/00:14:d1:48:1e:1c
Sending on Socket/fallback
There is already a pid file /var/run/dhclient.wlan0.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:14:d1:48:1e:1c
Sending on LPF/wlan0/00:14:d1:48:1e:1c
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Did I grab the wrong driver, or did I set up my interfaces file incorrectly?

geezerone
July 25th, 2008, 06:48 PM
Even though the hardware is detected that doesn't mean the driver is 100% working. Output your dmesg too from terminal.

You aren't being issued an IP address hence the 169.254.x.x address for wlan0.

Take a look here (http://ubuntuforums.org/showthread.php?t=536373) where someone else used ndiswrapper to fix their problem.

HTH

Innova
July 25th, 2008, 10:59 PM
Here is what I see in dmesg:

[ 452.413726] ieee80211_crypt: registered algorithm 'NULL'
[ 452.435893] ieee80211_crypt: registered algorithm 'WEP'
[ 452.473905] ieee80211_crypt: registered algorithm 'TKIP'
[ 452.523760] ieee80211_crypt: registered algorithm 'CCMP'
[ 452.740907] r8187: no version for "ieee80211_reset_queue" found: kernel tainted.
[ 452.746219]
[ 452.746225] Linux kernel driver for RTL8187/RTL8187B based WLAN cards
[ 452.746233] Copyright (c) 2004-2005, Andrea Merello
[ 452.746237] rtl8187: Initializing module
[ 452.746240] rtl8187: Wireless extensions version 22
[ 452.746243] rtl8187: Initializing proc filesystem
[ 452.752008] rtl8187: Reported EEPROM chip is a 93c46 (1Kbit)
[ 453.834905] rtl8187: Card MAC address is 00:14:d1:48:1e:1c
[ 455.204566] rtl8187: PAPE from CONFIG2: 0
[ 455.205657] rtl8187: Driver probe completed
[ 455.205660]
[ 455.205697] usbcore: registered new interface driver rtl8187
[ 455.506361] rtl8187: Card successfully reset
[ 455.506386] This is RTL8187B Reset procedure
[ 467.055203] WIRELESS_MODE_G
[ 467.088127] Set chan.call ieee80211_start_bss.in start bss call check.<6>ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 467.384829] Set chan.call ieee80211_start_bss.in start bss call check.<6>rtl8187: Setting SW wep key
[ 467.682930] rtl8187: Setting SW wep key
[ 467.682970] rtl8187: Setting SW wep key
[ 467.683005] rtl8187: Setting SW wep key
[ 477.715144] Linking with linksys
[ 477.831991] Associated successfully
[ 477.832007] Using G rates
[ 477.931211] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 481.805266] rtl8187: Setting SW wep key
[ 481.805326] rtl8187: Setting SW wep key
[ 481.805362] rtl8187: Setting SW wep key
[ 481.805397] rtl8187: Setting SW wep key
[ 481.805430] rtl8187: Setting SW wep key
[ 481.913804] Associated successfully
[ 481.913823] Using G rates


The setting SW wep key is repeated constantly (about every 4 seconds)..... Then when I tried to restart /etc/init.d/networking

[ 597.060695] rtl8187: Setting SW wep key
[ 597.060754] rtl8187: Setting SW wep key
[ 597.060789] rtl8187: Setting SW wep key
[ 597.060823] rtl8187: Setting SW wep key
[ 597.060859] rtl8187: Setting SW wep key
[ 597.429841] Associated successfully
[ 597.429862] Using G rates
[ 597.835807] rtl8180_close process
[ 597.835824] rtl8180_down process
[ 597.850688] RX Status Error!
[ 597.850710] RX process aborted due to explicit shutdown (ffffff8d) RX Status Error!
[ 597.851542] RX process aborted due to explicit shutdown (ffffff8d) RX Status Error!
[ 597.853558] RX process aborted due to explicit shutdown (ffffff8d) RX Status Error!
[ 597.854539] RX process aborted due to explicit shutdown (ffffff8d) RX Status Error!
[ 597.855537] RX process aborted due to explicit shutdown (ffffff8d) RX Status Error!
[ 597.856535] RX process aborted due to explicit shutdown (ffffff8d) RX Status Error!
[ 597.857535] RX process aborted due to explicit shutdown (ffffff8d) RX Status Error!
[ 597.858533] RX process aborted due to explicit shutdown (ffffff8d) RX Status Error!
[ 597.859535] RX process aborted due to explicit shutdown (fffffffe) RX Status Error!
[ 597.861560] RX process aborted due to explicit shutdown (fffffffe) RX Status Error!
[ 597.862532] RX process aborted due to explicit shutdown (fffffffe) RX Status Error!
[ 597.863529] RX process aborted due to explicit shutdown (fffffffe) RX Status Error!
[ 597.864530] RX process aborted due to explicit shutdown (fffffffe) RX Status Error!
[ 597.865529] RX process aborted due to explicit shutdown (fffffffe) RX Status Error!
[ 597.866526] RX process aborted due to explicit shutdown (fffffffe) RX Status Error!
[ 597.867528] RX process aborted due to explicit shutdown (fffffffe) <6>rtl8187: Setting SW wep key
[ 597.973462] rtl8187: Setting SW wep key
[ 597.973501] rtl8187: Setting SW wep key
[ 597.973535] rtl8187: Setting SW wep key
[ 597.973570] rtl8187: Setting SW wep key
[ 598.281306] rtl8187: Card successfully reset
[ 598.281328] This is RTL8187B Reset procedure
[ 610.447488] WIRELESS_MODE_G
[ 610.477423] Set chan.call ieee80211_start_bss.in start bss call check.<6>ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 610.771168] Set chan.call ieee80211_start_bss.in start bss call check.<6>Linking with linksys
[ 610.993886] Associated successfully
[ 610.993905] Using G rates
[ 611.068846] rtl8187: Setting SW wep key
[ 611.068918] rtl8187: Setting SW wep key
[ 611.068962] rtl8187: Setting SW wep key
[ 611.069004] rtl8187: Setting SW wep key
[ 611.123193] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 614.945138] rtl8187: Setting SW wep key
[ 614.945227] rtl8187: Setting SW wep key
[ 614.945265] rtl8187: Setting SW wep key
[ 614.945300] rtl8187: Setting SW wep key
[ 614.945337] rtl8187: Setting SW wep key
[ 615.052727] Associated successfully
[ 615.052743] Using G rates


Unfortunately the link you gave me for the ndiswrapper is for a different chipset:

wesley@kids-desktop:~/tmp/rtl8187b-modified$ lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0bda:8189 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 0000:0000


Does the dmesg tell you anything?

wieman01
July 26th, 2008, 01:49 PM
Is the info in the change log highlited in RED, still true 1 year later, or has it just not been tried since then?
Yes, it sadly is.

geezerone
July 26th, 2008, 02:44 PM
If you can get the windows .inf driver for your USB adapter then it should work. I personally would try ndiswrapper (ndisgtk for frontend in Synaptic) to get an exact driver match for your device.

You could also try fixed IP address too as DHCP isn't assigning an IP for you.

wieman01
July 27th, 2008, 05:07 AM
If you can get the windows .inf driver for your USB adapter then it should work. I personally would try ndiswrapper (ndisgtk for frontend in Synaptic) to get an exact driver match for your device.

You could also try fixed IP address too as DHCP isn't assigning an IP for you.
+1

Way to go.

tjwilli
August 5th, 2008, 07:49 PM
Hi. I've been struggling with this for the past few days, and I still can't get connected with WPA. I have a Linksys WMP300N PCI adapter and can connect with > WPA on XP, but not with ubuntu. I can connect fine on an unsecured router. I've tried wicd, but that isn't helping either.

Here's my interfaces file:

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
#wireless-essid dlink

wpa-driver wext
wpa-ssid tasha
wpa-ap-scan 1
wpa-proto RSN WPA
wpa-pairwise CCMP TKIP
wpa-group CCMP TKIP
wpa-key-mgmt WPA-PSK
wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

My wpa_supplicant.conf file:

ap_scan=1
ctrl_interface=/var/run/wpa_supplicant

network={
ssid="tasha"
scan_ssid=0
key_mgmt=WPA-PSK
proto=WPA
#psk="zzzzzzzzzzzzzzzzzzzzz"
psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x
pairwise=TKIP
group=TKIP
}

tim@linux-loft:/etc/network$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"dlink"
Mode:Managed Frequency:2.412 GHz Access Point: 00:1E:58:E9:2E:23
Bit Rate=130 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Power Management:off
Link Quality:60/100 Signal level:-57 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


tim@linux-loft:/etc/network$ ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4329) present

(I want essid tasha)

tim@linux-loft:/etc/network$ iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:1E:58:E9:2E:23
ESSID:"dlink"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:60/100 Signal level:-57 dBm Noise level:-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:15:E9:1E:BC:4A
ESSID:"default"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:42/100 Signal level:-69 dBm Noise level:-96 dBm
Encryption key:off
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; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 03 - Address: 00:1C:10:CB:E8:92
ESSID:"tasha"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:35/100 Signal level:-73 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 04 - Address: 00:18:01:F8:5C:AF
ESSID:"RCZE4"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:42/100 Signal level:-69 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 05 - Address: 00:18:01:E5:78:A0
ESSID:""
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.427 GHz (Channel 4)
Quality:26/100 Signal level:-79 dBm Noise level:-96 dBm
Encryption key:off
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; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 06 - Address: 00:18:F8:FB:27:A5
ESSID:"M&L"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:32/100 Signal level:-75 dBm Noise level:-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0

tim@linux-loft:/etc/network$



When I try to restart my network after disconnecting from the unsecured access and quiting wicd I get this in daemon.log:

Aug 5 19:40:08 linux-loft dhclient: There is already a pid file /var/run/dhclient.wlan0.pid with pid 12838
Aug 5 19:40:08 linux-loft dhclient: removed stale PID file
Aug 5 19:40:08 linux-loft dhclient: Internet Systems Consortium DHCP Client V3.0.6
Aug 5 19:40:08 linux-loft dhclient: Copyright 2004-2007 Internet Systems Consortium.
Aug 5 19:40:08 linux-loft dhclient: All rights reserved.
Aug 5 19:40:08 linux-loft dhclient: For info, please visit http://www.isc.org/sw/dhcp/
Aug 5 19:40:08 linux-loft dhclient:
Aug 5 19:40:08 linux-loft dhclient: Listening on LPF/wlan0/00:1e:e5:fa:3a:09
Aug 5 19:40:08 linux-loft dhclient: Sending on LPF/wlan0/00:1e:e5:fa:3a:09
Aug 5 19:40:08 linux-loft dhclient: Sending on Socket/fallback
Aug 5 19:40:08 linux-loft dhclient: DHCPRELEASE on wlan0 to 192.168.0.1 port 67
Aug 5 19:40:08 linux-loft dhclient: send_packet: Network is unreachable
Aug 5 19:40:08 linux-loft dhclient: send_packet: please consult README file regarding broadcast address.
Aug 5 19:40:08 linux-loft avahi-daemon[5015]: Withdrawing address record for fe80::21e:e5ff:fefa:3a09 on wlan0.
Aug 5 19:40:09 linux-loft dhclient: There is already a pid file /var/run/dhclient.wlan0.pid with pid 134519072
Aug 5 19:40:09 linux-loft dhclient: Internet Systems Consortium DHCP Client V3.0.6
Aug 5 19:40:09 linux-loft dhclient: Copyright 2004-2007 Internet Systems Consortium.
Aug 5 19:40:09 linux-loft dhclient: All rights reserved.
Aug 5 19:40:09 linux-loft dhclient: For info, please visit http://www.isc.org/sw/dhcp/
Aug 5 19:40:09 linux-loft dhclient:
Aug 5 19:40:10 linux-loft avahi-daemon[5015]: Registering new address record for fe80::21e:e5ff:fefa:3a09 on wlan0.*.
Aug 5 19:40:10 linux-loft dhclient: Listening on LPF/wlan0/00:1e:e5:fa:3a:09
Aug 5 19:40:10 linux-loft dhclient: Sending on LPF/wlan0/00:1e:e5:fa:3a:09
Aug 5 19:40:10 linux-loft dhclient: Sending on Socket/fallback
Aug 5 19:40:11 linux-loft dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
Aug 5 19:40:17 linux-loft dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
Aug 5 19:40:32 linux-loft dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
Aug 5 19:40:42 linux-loft dhclient: No DHCPOFFERS received.
Aug 5 19:40:42 linux-loft dhclient: No working leases in persistent database - sleeping.
Aug 5 19:40:42 linux-loft avahi-autoipd(wlan0)[15173]: Found user 'avahi-autoipd' (UID 105) and group 'avahi-autoipd' (GID 113).
Aug 5 19:40:42 linux-loft avahi-autoipd(wlan0)[15173]: Successfully called chroot().
Aug 5 19:40:42 linux-loft avahi-autoipd(wlan0)[15173]: Successfully dropped root privileges.
Aug 5 19:40:42 linux-loft avahi-autoipd(wlan0)[15173]: Starting with address 169.254.5.236
Aug 5 19:40:47 linux-loft avahi-autoipd(wlan0)[15173]: Callout BIND, address 169.254.5.236 on interface wlan0
Aug 5 19:40:47 linux-loft avahi-daemon[5015]: Joining mDNS multicast group on interface wlan0.IPv4 with address 169.254.5.236.
Aug 5 19:40:47 linux-loft avahi-daemon[5015]: New relevant interface wlan0.IPv4 for mDNS.
Aug 5 19:40:47 linux-loft avahi-daemon[5015]: Registering new address record for 169.254.5.236 on wlan0.IPv4.
Aug 5 19:40:51 linux-loft avahi-autoipd(wlan0)[15173]: Successfully claimed IP address 169.254.5.236
Aug 5 19:41:11 linux-loft ntpdate[15236]: can't find host ntp.ubuntu.com
Aug 5 19:41:11 linux-loft ntpdate[15236]: no servers can be used, exiting

####################

Thanks for any help.

Ziggy8.04
August 8th, 2008, 10:37 PM
so... i've tryed again and im still unable to conect
to my wpa network, any idea of what might be wrong???
i have a wrt160n. i must say also that i am new to linux
and i have no idea really. im trying to use ubunto on
an hp tx2000. 1 more thing ,i know tha my wifi works
in ubuntu because if i dont use any type of security
i will conect but thats not what i want to do i want
to use either wpa or wap2

ubuntu@ubuntu:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 wlan0
default * 0.0.0.0 U 1000 0 0 wlan0


ubuntu@ubuntu:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"0987654321"
Mode:Managed Frequency:2.412 GHz Access Point: 00:1E:E5:4F:CD:FD
Bit Rate=130 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Power Management:off
Link Quality:79/100 Signal level:-45 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:71 Invalid misc:13748 Missed beacon:0


ubuntu@ubuntu:~$ sudo iwlist scan
[sudo] password for ubuntu:
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:1E:E5:4F:CD:FD
ESSID:"0987654321"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:71/100 Signal level:-50 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 02 - Address: 00:1C:10:28:73:20
ESSID:"Tigress74"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:71/100 Signal level:-50 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 03 - Address: 00:0F:66:CC:28:80
ESSID:"linksys"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:28/100 Signal level:-78 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 04 - Address: 00:1E:2A:51:1E:B8
ESSID:"MEGAAHHHN"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:17/100 Signal level:-85 dBm Noise level:-96 dBm
Encryption key:on
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; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 05 - Address: 00:1C:DF:8C:C7:37
ESSID:"Belkin_G_Plus_MIMO_8CC737"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:10/100 Signal level:-89 dBm Noise level:-96 dBm
Encryption key:off
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; 6 Mb/s; 12 Mb/s
24 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0


ubuntu@ubuntu:~$ sudo lshw -C network
*-network
description: Wireless interface
product: BCM4328 802.11a/b/g/n
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 03
serial: 00:1a:73:ff:50:58
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+bcmwl5 driverversion=1.52+Broadcom,10/12/2006, 4.100. latency=0 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11g


ubuntu@ubuntu:~$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid 0987654321
wpa-ap-scan 1
wpa-proto WPA RSN
wpa-pairwise TKIP CCMP
wpa-group TKIP CCMP
wpa-key-mgmt WPA-PSK
wpa-psk b57bb5ed4ff49cb4ea629840c4ea4522d5344200e30fa22583 defbf8a66c8410


ubuntu@ubuntu:~$ sudo ifdown -v wlan0
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/avahi-autoipd
run-parts: executing /etc/network/if-down.d/wpasupplicant
dhclient3 -r -pf /var/run/dhclient.wlan0.pid -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0
There is already a pid file /var/run/dhclient.wlan0.pid with pid 5784
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:1a:73:ff:50:58
Sending on LPF/wlan0/00:1a:73:ff:50:58
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.2.1 port 67
ifconfig wlan0 down
run-parts --verbose /etc/network/if-post-down.d
run-parts: executing /etc/network/if-post-down.d/avahi-daemon
run-parts: executing /etc/network/if-post-down.d/wireless-tools
run-parts: executing /etc/network/if-post-down.d/wpasupplicant
wpa_supplicant: terminating wpa_supplicant daemon via pidfile /var/run/wpa_supplicant.wlan0.pid
Stopped /sbin/wpa_supplicant (pid 4823).


ubuntu@ubuntu:~$ sudo ifup -v wlan0

Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver wext
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -D wext -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/wlan0
wpa_supplicant: wpa-ap-scan 1 -- OK
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "0987654321" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-pairwise TKIP CCMP -- OK
wpa_supplicant: wpa-group TKIP CCMP -- OK
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto WPA RSN -- OK
wpa_supplicant: enabling network block 0 -- OK

dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.wlan0.pid -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0
There is already a pid file /var/run/dhclient.wlan0.pid with pid 0
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:1a:73:ff:50:58
Sending on LPF/wlan0/00:1a:73:ff:50:58
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/wpasupplicant

n99
August 10th, 2008, 05:26 PM
Hello

I've been struggling with this for few days and have searched many posts and forums and hope posting here will help.

I've a dell inspiron 1525 with ubuntu 8.04/ vista dual boot and a WIRELESS DELL 1395 (802.B/G) MINI CARD F trying to connect to a netgear dg834g router using WPA-PSk. I've got WEP working on both OSs and WPA on vista but not on ubuntu.

I installed wireless drivers using these instructions...
http://ubuntuforums.org/showthread.php?t=405990&highlight=ndiswrapper

here is my outputs before restarting networking - hope the formatting works.

nome@nome-laptop:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11bg ESSID:"" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=5/5 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

nome@nome-laptop:~$ sudo iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

eth1 Scan completed :

Cell 04 - Address: 00:0F:B5:79:7F:74
ESSID:"n99"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:5/5 Signal level:-41 dBm Noise level:-27 dBm
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s

nome@nome-laptop:~$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp
wpa-ssid n99
wpa-driver wext
wpa-proto WPA
wpa-ap-scan 1
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk <my key>


then I restart

nome@nome-laptop:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.eth1.pid with pid 5970
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:1f:e1:c6:07:7a
Sending on LPF/eth1/00:1f:e1:c6:07:7a
Sending on Socket/fallback
DHCPRELEASE on eth1 to 192.168.0.1 port 67
There is already a pid file /var/run/dhclient.eth1.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:1f:e1:c6:07:7a
Sending on LPF/eth1/00:1f:e1:c6:07:7a
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

I run iwconfig during the restart I can see something being picked up and then dropped for some reason and am not sure why....


nome@nome-laptop:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11bg ESSID:"n99" Nickname:""
Mode:Managed Frequency:2.462 GHz Access Point: 00:0F:B5:79:7F:74
Bit Rate=54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=5/5 Signal level=-40 dBm Noise level=-89 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

nome@nome-laptop:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11bg ESSID:"" Nickname:""
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=5/5 Signal level=-40 dBm Noise level=-89 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


The above behavior is exhibited if I do this manually using the interfaces file or through the network manager applet.

Hope a ubuntu superhero can help!

cheeeeeeeeeeeeeers

n

blizzardman1219
August 13th, 2008, 01:05 AM
michael@michael-desktop:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 0 0 0 wlan1
default * 0.0.0.0 U 1000 0 0 wlan1

michael@michael-desktop:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan1 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Bit Rate:108 Mb/s
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

michael@michael-desktop:~$ sudo iwlist scan
[sudo] password for michael:
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan1 Failed to read scan data : Resource temporarily unavailable



michael@michael-desktop:~$ sudo lshw -C network
*-network
description: Ethernet interface
product: 88E8056 PCI-E Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 20
serial: 00:1c:25:4e:a5:ea
capacity: 1GB/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.20 firmware=N/A latency=0 link=no module=sky2 multicast=yes port=twisted pair
*-network
description: Wireless interface
physical id: 1
logical name: wlan1
serial: 00:1c:f0:a7:f6:8f
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+neta5agu driverversion=1.52+D-Link,05/08/2006,1.5.202.2 link=no multicast=yes wireless=IEEE 802.11g



michael@michael-desktop:~$ sudo cat /etc/network/interfaces
auto wlan1
iface wlan1 inet dhcp
wpa-driver wext
wpa-ssid blizzardman1219
wpa-ap-scan 1
wpa-proto WPA RSN
wpa-pairwise TKIP CCMP
wpa-group TKIP CCMP
wpa-key-mgmt WPA-PSK
wpa-psk (I put my psk here in hex, but I would rather not post it on a forum)



michael@michael-desktop:~$ sudo ifdown -v wlan1
Configuring interface wlan1=wlan1 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/avahi-autoipd
run-parts: executing /etc/network/if-down.d/wpasupplicant
dhclient3 -r -pf /var/run/dhclient.wlan1.pid -lf /var/lib/dhcp3/dhclient.wlan1.leases wlan1
There is already a pid file /var/run/dhclient.wlan1.pid with pid 25297
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan1/00:1c:f0:a7:f6:8f
Sending on LPF/wlan1/00:1c:f0:a7:f6:8f
Sending on Socket/fallback
ifconfig wlan1 down
run-parts --verbose /etc/network/if-post-down.d
run-parts: executing /etc/network/if-post-down.d/avahi-daemon
grep: /etc/resolv.conf: No such file or directory
run-parts: executing /etc/network/if-post-down.d/wireless-tools
run-parts: executing /etc/network/if-post-down.d/wpasupplicant
wpa_supplicant: terminating wpa_supplicant daemon via pidfile /var/run/wpa_supplicant.wlan1.pid
Stopped /sbin/wpa_supplicant (pid 25256).

michael@michael-desktop:~$ sudo ifup -v wlan1
Configuring interface wlan1=wlan1 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver wext
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan1.pid -i wlan1 -D wext -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/wlan1
wpa_supplicant: wpa-ap-scan 1 -- OK
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "blizzardman1219" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-pairwise TKIP CCMP -- OK
wpa_supplicant: wpa-group TKIP CCMP -- OK
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto WPA RSN -- OK
wpa_supplicant: enabling network block 0 -- OK

dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.wlan1.pid -lf /var/lib/dhcp3/dhclient.wlan1.leases wlan1
There is already a pid file /var/run/dhclient.wlan1.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan1/00:1c:f0:a7:f6:8f
Sending on LPF/wlan1/00:1c:f0:a7:f6:8f
Sending on Socket/fallback
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
grep: /etc/resolv.conf: No such file or directory
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/wpasupplicant michael@michael-desktop:~$ sudo ifup -v wlan1
Configuring interface wlan1=wlan1 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver wext
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan1.pid -i wlan1 -D wext -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/wlan1
wpa_supplicant: wpa-ap-scan 1 -- OK
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "blizzardman1219" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-pairwise TKIP CCMP -- OK
wpa_supplicant: wpa-group TKIP CCMP -- OK
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto WPA RSN -- OK
wpa_supplicant: enabling network block 0 -- OK

dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.wlan1.pid -lf /var/lib/dhcp3/dhclient.wlan1.leases wlan1
There is already a pid file /var/run/dhclient.wlan1.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan1/00:1c:f0:a7:f6:8f
Sending on LPF/wlan1/00:1c:f0:a7:f6:8f
Sending on Socket/fallback
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
grep: /etc/resolv.conf: No such file or directory
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/wpasupplicant


I've been trying to get this to work for like 3 months now, but it just isn't happening!!!

crowolf
August 16th, 2008, 10:18 AM
I just bought a trendnet TEW-424UB:

wesley@kids-desktop:~$ lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0bda:8189 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 0000:0000

I used the modified driver from here: http://www.datanorth.net/~cuervo/rtl8187b/.

After setting up my interfaces file:
And restarting networking, I get the following error:

Listening on LPF/wlan0/00:14:d1:48:1e:1c
Sending on LPF/wlan0/00:14:d1:48:1e:1c
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
No working leases in persistent database - sleeping.[/CODE]

Did I grab the wrong driver, or did I set up my interfaces file incorrectly?

The modified rtl8187b driver you used requires ipw driver for encryption, so try to modify your intefaces file:


auto wlan0
iface wlan0 inet dhcp
wpa-driver ipw
wpa-ssid linksys
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk KEY_GOES_HERE

SjRaptor
August 16th, 2008, 07:26 PM
Anyone else having problems like this?


Aug 16 19:23:32 thinker kernel: [ 5247.159835] ipw2200: Firmware error detected. Restarting.
Aug 16 19:23:32 thinker NetworkManager: <info> Supplicant state changed: 0
Aug 16 19:23:33 thinker NetworkManager: <info> Supplicant state changed: 1
Aug 16 19:23:33 thinker kernel: [11167.408622] ipw2200: Firmware error detected. Restarting.
Aug 16 19:23:34 thinker NetworkManager: <info> Supplicant state changed: 0
Aug 16 19:23:36 thinker NetworkManager: <info> Supplicant state changed: 1
Aug 16 19:23:37 thinker kernel: [ 5250.472882] ipw2200: Firmware error detected. Restarting.
Aug 16 19:23:37 thinker NetworkManager: <info> Supplicant state changed: 0
Aug 16 19:23:39 thinker NetworkManager: <info> Supplicant state changed: 1

My hardware was working perfect the week before, but now my laptop is bugging out.

02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
Subsystem: Intel Corporation Unknown device 2711
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (750ns min, 6000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at c0214000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

knedlyk
August 16th, 2008, 07:46 PM
Here is my experience with Wireless USB dongle (Wireless Pentagram WU61RL). It appeared has rt73 chip, so it was naturally to use precompiled kernel rt73usb module. I also compiled opensource driver from serialmonkey project (rt73). I have WPA2 wireless network and I thought, that for both drivers my /etc/network/interface setting was the same. But not everything is that easy. After some experiments I found usable configuration for both of them. Note, that I have static ip.

For rt73usb:

# WPA2 rt73usb
auto wlan0
iface wlan0 inet static
wpa-driver wext
wpa-ssid MYNETWORKNAME
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk GENERATED_BY_wpa-password_KEY
address 192.168.0.2
netmask 255.255.255.128
gateway 192.168.0.1


For rt73:

# WPA2 rt73
auto wlan0
iface wlan0 inet static
address 192.168.0.2
netmask 255.255.255.128
gateway 192.168.0.1
pre-up ifconfig wlan0 up
pre-up iwconfig wlan0 mode managed
pre-up iwconfig wlan0 essid MYNETWORKNAME
pre-up iwpriv wlan0 set AuthMode=WPA2PSK
pre-up iwpriv wlan0 set EncrypType=AES
pre-up iwpriv wlan0 set SSID=MYNETWORKNAME
pre-up iwpriv wlan0 set WPAPSK=MY_WIRELESS_WPA2_PASSWORD
pre-up iwpriv wlan0 set SSID=MYNETWORKNAME


Hope it will help someone.

ktechman
August 16th, 2008, 08:05 PM
Does anyone have wireless working on a Toshiba A305-S6864? Wireless specs are Atheros AR9821 chipset with the ath9k driver.

funnyveryfunny
August 17th, 2008, 02:16 PM
Hello,

Please help, I've tried hard but things are not going too well ... still no connection

Much appreciated if someone could point why I had failed. I hope the following info is enough to restart from the begining again otherwise please let me know:

///////////
ndiswrapper -l

lsmvnds : driver installed
device (11AB:1FAA) present

///////////
lshw -C network

*-network
description: 88W8300 802.11b Cardbus PC Card
product: 83
vendor: Marvell Semiconductor
physical id: 0
version: 01
slot: Socket 0
resources: irq:10
*-network DISABLED
description: Wireless interface
product: 88w8335 [Libertas] 802.11b/g Wireless
vendor: Marvell Technology Group Ltd.
physical id: 1
bus info: pci@0000:01:00.0
logical name: wlan0
version: 03
serial: 00:14:bf:d9:07:0f
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+lsmvnds driverversion=1.52+Linksys,10/13/2004,3.1.0.36 latency=64 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11g

///////////////
ifconfig

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:192 (192.0 B) TX bytes:192 (192.0 B)

//////////////////
iwlist wlan0 scan

wlan0 Scan completed :
Cell 01 - Address: 00:1F:9F:15:1F:85
ESSID:"O2wirelessE2DB51"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:20/100 Signal level:-83 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:1F:E2:C2:C5:AD
ESSID:"BTHomeHub2-N8JK"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:6/100 Signal level:-92 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Cell 03 - Address: 00:1B:2F:A8:81:96
ESSID:"SKY66155"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:7/100 Signal level:-91 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 04 - Address: 00:1B:2F:A7:1C:9E
ESSID:"SKY78708"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:7/100 Signal level:-91 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 05 - Address: 00:1D:68:09:6B:FF
ESSID:"CUMMINGS5"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.442 GHz (Channel 7)
Quality:12/100 Signal level:-88 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 06 - Address: 00:1D:68:05:72:D3
ESSID:"BTHomeHub-323B"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.442 GHz (Channel 7)
Quality:7/100 Signal level:-91 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 07 - Address: 00:08:5C:AC:C6:B6
ESSID:"monkeyweb"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:76/100 Signal level:-47 dBm Noise level:-96 dBm
Encryption key:on
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; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=200
Extra:atim=0
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Preauthentication Supported
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK

////////////////

'Cell 07' is my network.

I wonder whether '*-network DISABLED' is the main cause if so how do i fix it?

Many thanks

knedlyk
August 17th, 2008, 03:48 PM
Looks like you don't have right wireless configuration. Try ifconfig wlan0 down and then ifconfig wlan0 up, and then try again lshw -C network just to check if "* network DISABLED" issue appeared.

funnyveryfunny
August 17th, 2008, 06:21 PM
Thanks knedlyk, your advice had sorted it out the network DISABLED problem. I gave the howto another try but no lucl still, could you see why? Here is another dump:

*-network
description: 88W8300 802.11b Cardbus PC Card
product: 83
vendor: Marvell Semiconductor
physical id: 0
version: 01
slot: Socket 0
resources: irq:10
*-network
description: Wireless interface
product: 88w8335 [Libertas] 802.11b/g Wireless
vendor: Marvell Technology Group Ltd.
physical id: 1
bus info: pci@0000:01:00.0
logical name: wlan0
version: 03
serial: 00:14:bf:d9:07:0f
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+lsmvnds driverversion=1.52+Linksys,10/13/2004,3.1.0.36 ip=192.168.1.18 latency=64 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11g


auto wlan0
iface wlan0 inet static
wpa-driver wext
wpa-ssid monkeyweb
wpa-conf managed
wpa-ap-scan 1
wpa-proto RSA
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk <generated psk key from ssid & my current router PSK key>
address 192.168.1.18
gateway 192.168.1.253
dns-nameservers 192.168.1.253
netmask 255.255.255.0

* Reconfiguring network interfaces... 
[ OK ]
wlan0 Link encap:Ethernet HWaddr 00:14:bf:d9:07:0f
inet addr:192.168.1.18 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:36 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:10 Memory:24010000-24020000

wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s Sensitivity=-200 dBm
RTS thr=2346 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

wlan0 No scan results


Do you know why?

knedlyk
August 18th, 2008, 04:15 AM
I don't know. But I see you used wext driver for wpa_supplicant instead of ndiswrapper driver. You have to set wpa-driver ndiswrapper in your /etc/network/interfaces file.
BTW, I have never could make ndiswrapper drivers to work well. Only one exception was my laptop with Broadcom Wireless card, but in the latter ubuntu issue they work well with b43 kernel module.

Did you look on ndiswrapper site http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list_m-n/ ?

funnyveryfunny
August 18th, 2008, 05:38 PM
I did. Alos, I've managed to get network connection for a few seconds and all was lost again. Need to find out here...

leopoldocosta
August 23rd, 2008, 07:30 AM
Hi everyone, has many first timers i'm here trying to solve a problem.
I've recently installed ubuntu in my computer and i have a wireless card that should work alrite. its a DWL G510 something like that, i only care about the chipset anyway. below i'm posting more information about it.

I dont know why, i've tryied every single manual out there to get this thing going but i cant.

i have a wireless router with wpa/wpa2 tkip connection (wich is shown down here also) with a pre-shared key. its very near to the computer and also this installation is a fresh one.

can anyone help me getting this on? every time i configure all the steps the thing doesnt seem to connect... maybe its something about AES and TKIP.

################################################## ######################
## route
################################################## ######################
root@casa:~# route
Tabela de Roteamento IP do Kernel
Destino Roteador MáscaraGen. Opções Métrica Ref Uso Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 ath0
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
################################################## ######################
## iwconfig
################################################## ######################
root@casa:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wifi0 no wireless extensions.

ath0 IEEE 802.11g ESSID:"GSL" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s Tx-Power:18 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=37/70 Signal level=-59 dBm Noise level=-96 dBm
Rx invalid nwid:11161 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
################################################## ######################
## iwlist scan
################################################## ######################
root@casa:~# iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wifi0 Interface doesn't support scanning.

ath0 Scan completed : // this is my router.. //
Cell 01 - Address: 00:01:E3:C3:4B:46
ESSID:"GSL"
Mode:Master
Frequency:2.412 GHz (Channel 1)
Quality=42/70 Signal level=-53 dBm Noise level=-95 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:bcn_int=100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Preauthentication Supported
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
Extra:wme_ie=dd180050f2020101000003a4000027a400004 2435e00623
22f00
Extra:ath_ie=dd0900037f0101000cff7f
################################################## ######################
## lshw -C network
################################################## ######################
root@casa:~# lshw -C network
*-network:0
description: Wireless interface
product: AR2413 802.11bg NIC
vendor: Atheros Communications Inc.
physical id: a
bus info: pci@0000:00:0a.0
logical name: wifi0
version: 01
serial: 00:17:9a:c7:69:6c
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=ath_pci ip=192.168.2.199 latency=168 maxlatency=28 mingnt=10 module=ath_pci multicast=yes wireless=IEEE 802.11g
*-network:1
description: Ethernet interface
product: VT6102 [Rhine-II]
vendor: VIA Technologies, Inc.
physical id: 12
bus info: pci@0000:00:12.0
logical name: eth0
version: 74
serial: 00:11:5b:74:6d:d6
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=via-rhine driverversion=1.4.3 duplex=full ip=192.168.2.108 latency=32 link=yes maxlatency=8 mingnt=3 module=via_rhine multicast=yes port=MII speed=100MB/s
################################################## ######################
## cat /etc/network/interfaces
################################################## ######################
root@casa:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback


auto ath0
iface ath0 inet static
address 192.168.2.199
gateway 192.168.2.11
dns-nameservers 192.168.2.11
netmask 255.255.255.0
wpa-driver madwifi
wpa-ssid GSL
wpa-ap-scan 2
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 11d2c50c76d6381acd5e48264bd81bd1a965cdd54bfeb60744 5af16e1a31f437
################################################## ######################
## ifdown -v ath0
################################################## ######################
root@casa:~# ifdown -v ath0
Configuring interface ath0=ath0 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/50firestarter
run-parts: executing /etc/network/if-down.d/avahi-autoipd
run-parts: executing /etc/network/if-down.d/wpasupplicant
route del default gw 192.168.2.11 metric 100 ath0
ifconfig ath0 down
run-parts --verbose /etc/network/if-post-down.d
run-parts: executing /etc/network/if-post-down.d/avahi-daemon
run-parts: executing /etc/network/if-post-down.d/wireless-tools
run-parts: executing /etc/network/if-post-down.d/wpasupplicant
wpa_supplicant: terminating wpa_supplicant daemon via pidfile /var/run/wpa_supplicant.ath0.pid
Stopped /sbin/wpa_supplicant (pid 14236).
run-parts: executing /etc/network/if-post-down.d/z50madwifi
################################################## ######################
## ifup -v ath0
################################################## ######################
root@casa:~# ifup -v ath0
Configuring interface ath0=ath0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/050madwifi
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver madwifi
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.ath0.pid -i ath0 -D madwifi -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/ath0
wpa_supplicant: wpa-ap-scan 2 -- OK
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "GSL" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-pairwise CCMP -- OK
wpa_supplicant: wpa-group CCMP -- OK
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto RSN -- OK
wpa_supplicant: enabling network block 0 -- OK

ifconfig ath0 192.168.2.199 netmask 255.255.255.0 up
route add default gw 192.168.2.11 metric 100 ath0
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/50firestarter
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/wpasupplicant
################################################## ######################
##
################################################## ######################
root@casa:~# uname -a
Linux casa 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux
################################################## ######################
##
################################################## ######################
root@casa:~# cat /etc/resolv.conf
### BEGIN INFO
#
# Modified_by: NetworkManager
# Process: /usr/bin/NetworkManager
# Process_id: 4674
#
### END INFO



nameserver 192.168.2.11
################################################## ######################
## /etc/init.d/networking restart
################################################## ######################
root@casa:~# /etc/init.d/networking restart
* Reconfiguring network interfaces... RTNETLINK answers: No such process
There is already a pid file /var/run/dhclient.eth0.pid with pid 15150
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/eth0/00:11:5b:74:6d:d6
Sending on LPF/eth0/00:11:5b:74:6d:d6
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.2.11 port 67
There is already a pid file /var/run/dhclient.eth0.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/eth0/00:11:5b:74:6d:d6
Sending on LPF/eth0/00:11:5b:74:6d:d6
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPOFFER of 192.168.2.108 from 192.168.2.11
DHCPREQUEST of 192.168.2.108 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.2.108 from 192.168.2.11
bound to 192.168.2.108 -- renewal in 81066 seconds.

################################################## ######################
## bootmessages - dmesg
################################################## ######################
root@casa:~# dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.24-19-generic (buildd@terranova) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Fri Jul 11 23:41:49 UTC 2008 (Ubuntu 2.6.24-19.36-generic)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000000dff0000 (usable)
[ 0.000000] BIOS-e820: 000000000dff0000 - 000000000dff3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000000dff3000 - 000000000e000000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
[ 0.000000] 0MB HIGHMEM available.
[ 0.000000] 223MB LOWMEM available.
[ 0.000000] found SMP MP-table at 000f5310
[ 0.000000] Entering add_active_range(0, 0, 57328) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 57328
[ 0.000000] HighMem 57328 -> 57328
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 57328
[ 0.000000] On node 0 totalpages: 57328
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 0.000000] Normal zone: 415 pages used for memmap
[ 0.000000] Normal zone: 52817 pages, LIFO batch:15
[ 0.000000] HighMem zone: 0 pages used for memmap
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] DMI 2.2 present.
[ 0.000000] ACPI: RSDP signature @ 0xC00F6CD0 checksum 0
[ 0.000000] ACPI: RSDP 000F6CD0, 0014 (r0 KM400 )
[ 0.000000] ACPI: RSDT 0DFF3000, 002C (r1 KM400 AWRDACPI 42302E31 AWRD 0)
[ 0.000000] ACPI: FACP 0DFF3040, 0074 (r1 KM400 AWRDACPI 42302E31 AWRD 0)
[ 0.000000] ACPI: DSDT 0DFF30C0, 4974 (r1 KM400 AWRDACPI 1000 MSFT 100000E)
[ 0.000000] ACPI: FACS 0DFF0000, 0040
[ 0.000000] ACPI: APIC 0DFF7A40, 005A (r1 KM400 AWRDACPI 42302E31 AWRD 0)
[ 0.000000] ACPI: PM-Timer IO Port: 0x4008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 6:8 APIC version 16
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 dfl dfl)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] Allocating PCI resources starting at 10000000 (gap: 0e000000:f0c00000)
[ 0.000000] swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000f0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000f0000 - 0000000000100000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 56881
[ 0.000000] Kernel command line: root=UUID=6368746f-2074-616b-6f65-207575696400 ro quiet splash locale=pt_BR
[ 0.000000] mapped APIC to ffffb000 (fee00000)
[ 0.000000] mapped IOAPIC to ffffa000 (fec00000)
[ 0.000000] Enabling fast FPU save and restore... done.
[ 0.000000] Enabling unmasked SIMD FPU exception support... done.
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[ 0.000000] Detected 1494.110 MHz processor.
[ 11.043811] Console: colour VGA+ 80x25
[ 11.043816] console [tty0] enabled
[ 11.044075] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 11.044253] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 11.052267] Memory: 215428k/229312k available (2177k kernel code, 13408k reserved, 1006k data, 368k init, 0k highmem)
[ 11.052279] virtual kernel memory layout:
[ 11.052281] fixmap : 0xfff4b000 - 0xfffff000 ( 720 kB)
[ 11.052282] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
[ 11.052284] vmalloc : 0xce800000 - 0xff7fe000 ( 783 MB)
[ 11.052286] lowmem : 0xc0000000 - 0xcdff0000 ( 223 MB)
[ 11.052288] .init : 0xc0421000 - 0xc047d000 ( 368 kB)
[ 11.052289] .data : 0xc0320474 - 0xc041bdc4 (1006 kB)
[ 11.052291] .text : 0xc0100000 - 0xc0320474 (2177 kB)
[ 11.052295] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[ 11.052349] SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
[ 11.132339] Calibrating delay using timer specific routine.. 2991.85 BogoMIPS (lpj=5983708)
[ 11.132380] Security Framework initialized
[ 11.132389] SELinux: Disabled at boot.
[ 11.132414] AppArmor: AppArmor initialized
[ 11.132420] Failure registering capabilities with primary security module.
[ 11.132433] Mount-cache hash table entries: 512
[ 11.132603] Initializing cgroup subsys ns
[ 11.132609] Initializing cgroup subsys cpuacct
[ 11.132622] CPU: After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000 00000000 00000000 00000000 00000000
[ 11.132634] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 11.132638] CPU: L2 Cache: 256K (64 bytes/line)
[ 11.132642] CPU: After all inits, caps: 0383fbff c1cbfbff 00000000 00000420 00000000 00000000 00000000 00000000
[ 11.132656] Compat vDSO mapped to ffffe000.
[ 11.132672] Checking 'hlt' instruction... OK.
[ 11.148624] SMP alternatives: switching to UP code
[ 11.150070] Freeing SMP alternatives: 11k freed
[ 11.150257] Early unpacking initramfs... done
[ 11.587991] ACPI: Core revision 20070126
[ 11.588146] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[ 11.592217] CPU0: AMD Sempron(tm) 2200+ stepping 01
[ 11.592254] Total of 1 processors activated (2991.85 BogoMIPS).
[ 11.593007] ENABLING IO-APIC IRQs
[ 11.593327] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 11.740104] Brought up 1 CPUs
[ 11.740173] CPU0 attaching sched-domain:
[ 11.740177] domain 0: span 01
[ 11.740180] groups: 01
[ 11.740478] net_namespace: 64 bytes
[ 11.740488] Booting paravirtualized kernel on bare hardware
[ 11.741119] Time: 13:00:22 Date: 08/22/08
[ 11.741164] NET: Registered protocol family 16
[ 11.741478] EISA bus registered
[ 11.741515] ACPI: bus type pci registered
[ 11.746917] PCI: PCI BIOS revision 2.10 entry at 0xfb5e0, last bus=1
[ 11.746921] PCI: Using configuration type 1
[ 11.746927] Setting up standard PCI resources
[ 11.757340] ACPI: EC: Look up EC in DSDT
[ 11.762884] ACPI: Interpreter enabled
[ 11.762894] ACPI: (supports S0 S1 S4 S5)
[ 11.762918] ACPI: Using IOAPIC for interrupt routing
[ 11.769593] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 11.770024] PCI quirk: region 4000-407f claimed by vt8235 PM
[ 11.770029] PCI quirk: region 5000-500f claimed by vt8235 SMB
[ 11.770328] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 11.793270] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 10 *11 12)
[ 11.793460] ACPI: PCI Interrupt Link [LNKB] (IRQs *3 4 6 7 10 11 12)
[ 11.793653] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 *10 11 12)
[ 11.793840] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10 11 12) *5
[ 11.793998] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10 11 12) *0, disabled.
[ 11.794151] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 6 7 10 11 12) *0, disabled.
[ 11.794303] ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 6 7 10 11 12) *0, disabled.
[ 11.794455] ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 6 7 10 11 12) *0, disabled.
[ 11.794655] ACPI: PCI Interrupt Link [ALKA] (IRQs 20) *0
[ 11.794856] ACPI: PCI Interrupt Link [ALKB] (IRQs 21) *0
[ 11.795080] ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *0
[ 11.795280] ACPI: PCI Interrupt Link [ALKD] (IRQs 23) *0
[ 11.795450] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 11.795500] pnp: PnP ACPI init
[ 11.795512] ACPI: bus type pnp registered
[ 11.799405] pnp: PnP ACPI: found 13 devices
[ 11.799411] ACPI: ACPI bus type pnp unregistered
[ 11.799416] PnPBIOS: Disabled by ACPI PNP
[ 11.799790] PCI: Using ACPI for IRQ routing
[ 11.799795] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
[ 11.828061] NET: Registered protocol family 8
[ 11.828064] NET: Registered protocol family 20
[ 11.828178] AppArmor: AppArmor Filesystem Enabled
[ 11.831986] Time: tsc clocksource has been installed.
[ 11.840042] system 00:00: iomem range 0xd0000-0xd3fff has been reserved
[ 11.840046] system 00:00: iomem range 0xf0000-0xf7fff could not be reserved
[ 11.840050] system 00:00: iomem range 0xf8000-0xfbfff could not be reserved
[ 11.840054] system 00:00: iomem range 0xfc000-0xfffff could not be reserved
[ 11.840058] system 00:00: iomem range 0xdff0000-0xdffffff could not be reserved
[ 11.840062] system 00:00: iomem range 0xffff0000-0xffffffff could not be reserved
[ 11.840066] system 00:00: iomem range 0x0-0x9ffff could not be reserved
[ 11.840070] system 00:00: iomem range 0x100000-0xdfeffff could not be reserved
[ 11.840073] system 00:00: iomem range 0xfec00000-0xfec00fff could not be reserved
[ 11.840077] system 00:00: iomem range 0xfee00000-0xfee00fff could not be reserved
[ 11.840081] system 00:00: iomem range 0xfff80000-0xfffeffff has been reserved
[ 11.840091] system 00:02: ioport range 0x4000-0x407f has been reserved
[ 11.840095] system 00:02: ioport range 0x5000-0x500f has been reserved
[ 11.840106] system 00:03: ioport range 0x4d0-0x4d1 has been reserved
[ 11.840109] system 00:03: ioport range 0x800-0x805 has been reserved
[ 11.840113] system 00:03: ioport range 0x290-0x297 has been reserved
[ 11.870743] PCI: Bridge: 0000:00:01.0
[ 11.870746] IO window: disabled.
[ 11.870752] MEM window: dc000000-ddffffff
[ 11.870756] PREFETCH window: d8000000-dbffffff
[ 11.870775] PCI: Setting latency timer of device 0000:00:01.0 to 64
[ 11.870792] NET: Registered protocol family 2
[ 11.908070] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 11.908383] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 11.908513] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 11.908637] TCP: Hash tables configured (established 8192 bind 8192)
[ 11.908641] TCP reno registered
[ 11.920125] checking if image is initramfs... it is
[ 12.371730] Switched to high resolution mode on CPU 0
[ 12.748841] Freeing initrd memory: 7275k freed
[ 12.749874] audit: initializing netlink socket (disabled)
[ 12.749897] audit(1219410022.592:1): initialized
[ 12.752837] VFS: Disk quotas dquot_6.5.1
[ 12.752949] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 12.753154] io scheduler noop registered
[ 12.753157] io scheduler anticipatory registered
[ 12.753160] io scheduler deadline registered
[ 12.753176] io scheduler cfq registered (default)
[ 12.753194] PCI: VIA PCI bridge detected. Disabling DAC.
[ 12.753258] Boot video device is 0000:01:00.0
[ 12.753669] isapnp: Scanning for PnP cards...
[ 13.107222] isapnp: No Plug & Play device found
[ 13.149636] Real Time Clock Driver v1.12ac
[ 13.149788] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 13.149931] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 13.150827] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 13.152306] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 13.152408] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 13.152562] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 13.152984] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 13.152991] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 13.163337] mice: PS/2 mouse device common for all mice
[ 13.163517] EISA: Probing bus 0 at eisa.0
[ 13.163538] Cannot allocate resource for EISA slot 4
[ 13.163541] Cannot allocate resource for EISA slot 5
[ 13.163555] EISA: Detected 0 cards.
[ 13.163561] cpuidle: using governor ladder
[ 13.163563] cpuidle: using governor menu
[ 13.163769] NET: Registered protocol family 1
[ 13.163809] Using IPI No-Shortcut mode
[ 13.163856] registered taskstats version 1
[ 13.163965] Magic number: 4:6:29
[ 13.163981] hash matches device ttydc
[ 13.164238] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 13.164241] EDD information not available.
[ 13.164825] Freeing unused kernel memory: 368k freed
[ 13.191250] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 14.491744] fuse init (API version 7.9)
[ 14.518073] ACPI: Fan [FAN] (on)
[ 14.527355] ACPI: CPU0 (power states: C1[C1] C2[C2])
[ 14.726444] ACPI: Thermal Zone [THRM] (40 C)
[ 15.587881] usbcore: registered new interface driver usbfs
[ 15.587918] usbcore: registered new interface driver hub
[ 15.605882] usbcore: registered new device driver usb
[ 15.621867] USB Universal Host Controller Interface driver v3.0
[ 15.622375] ACPI: PCI Interrupt Link [ALKB] BIOS reported IRQ 0, using IRQ 21
[ 15.622380] ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21
[ 15.622391] ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 16
[ 15.622408] uhci_hcd 0000:00:10.0: UHCI Host Controller
[ 15.622804] uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
[ 15.622848] uhci_hcd 0000:00:10.0: irq 16, io base 0x0000d000
[ 15.623065] usb usb1: configuration #1 chosen from 1 choice
[ 15.623102] hub 1-0:1.0: USB hub found
[ 15.623111] hub 1-0:1.0: 2 ports detected
[ 15.698120] SCSI subsystem initialized
[ 15.725955] ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 16
[ 15.725976] uhci_hcd 0000:00:10.1: UHCI Host Controller
[ 15.726022] uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
[ 15.726052] uhci_hcd 0000:00:10.1: irq 16, io base 0x0000d400
[ 15.726216] usb usb2: configuration #1 chosen from 1 choice
[ 15.726250] hub 2-0:1.0: USB hub found
[ 15.726259] hub 2-0:1.0: 2 ports detected
[ 15.764712] via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
[ 15.764722] via-rhine: Broken BIOS detected, avoid_D3 enabled.
[ 15.765605] libata version 3.00 loaded.
[ 15.829915] ACPI: PCI Interrupt 0000:00:10.2[C] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 16
[ 15.829936] uhci_hcd 0000:00:10.2: UHCI Host Controller
[ 15.829972] uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
[ 15.830000] uhci_hcd 0000:00:10.2: irq 16, io base 0x0000d800
[ 15.830175] usb usb3: configuration #1 chosen from 1 choice
[ 15.830215] hub 3-0:1.0: USB hub found
[ 15.830224] hub 3-0:1.0: 2 ports detected
[ 15.898953] Floppy drive(s): fd0 is 1.44M
[ 15.917577] FDC 0 is a post-1991 82077
[ 15.933988] ACPI: PCI Interrupt 0000:00:10.3[D] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 16
[ 15.934012] ehci_hcd 0000:00:10.3: EHCI Host Controller
[ 15.934058] ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 4
[ 15.934115] ehci_hcd 0000:00:10.3: irq 16, io mem 0xde010000
[ 15.945650] ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 15.945844] usb usb4: configuration #1 chosen from 1 choice
[ 15.945881] hub 4-0:1.0: USB hub found
[ 15.945892] hub 4-0:1.0: 6 ports detected
[ 16.050297] ACPI: PCI Interrupt Link [ALKD] BIOS reported IRQ 0, using IRQ 23
[ 16.050304] ACPI: PCI Interrupt Link [ALKD] enabled at IRQ 23
[ 16.050315] ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [ALKD] -> GSI 23 (level, low) -> IRQ 17
[ 16.054875] eth0: VIA Rhine II at 0xde011000, 00:11:5b:74:6d:d6, IRQ 17.
[ 16.055589] eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 41e1.
[ 16.061932] ACPI: PCI Interrupt Link [ALKA] BIOS reported IRQ 0, using IRQ 20
[ 16.061939] ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20
[ 16.061949] ACPI: PCI Interrupt 0000:00:11.1[A] -> Link [ALKA] -> GSI 20 (level, low) -> IRQ 18
[ 16.062042] ACPI: PCI interrupt for device 0000:00:11.1 disabled
[ 16.068104] pata_via 0000:00:11.1: version 0.3.3
[ 16.068142] ACPI: PCI Interrupt 0000:00:11.1[A] -> Link [ALKA] -> GSI 20 (level, low) -> IRQ 18
[ 16.069734] scsi0 : pata_via
[ 16.071081] scsi1 : pata_via
[ 16.073505] ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xdc00 irq 14
[ 16.073510] ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xdc08 irq 15
[ 16.561834] ata1.00: ATA-6: ST340014A, 8.01, max UDMA/100
[ 16.561841] ata1.00: 78165360 sectors, multi 16: LBA48
[ 16.561867] ata1.01: ATAPI: HL-DT-ST GCE-8525B, 1.03, max UDMA/33
[ 16.577714] ata1.00: configured for UDMA/100
[ 16.741511] ata1.01: configured for UDMA/33
[ 16.908296] scsi 0:0:0:0: Direct-Access ATA ST340014A 8.01 PQ: 0 ANSI: 5
[ 16.909028] scsi 0:0:1:0: CD-ROM HL-DT-ST CD-RW GCE-8525B 1.03 PQ: 0 ANSI: 5
[ 16.922925] Driver 'sd' needs updating - please use bus_type methods
[ 16.923067] sd 0:0:0:0: [sda] 78165360 512-byte hardware sectors (40021 MB)
[ 16.923089] sd 0:0:0:0: [sda] Write Protect is off
[ 16.923093] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 16.923121] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 16.923192] sd 0:0:0:0: [sda] 78165360 512-byte hardware sectors (40021 MB)
[ 16.923209] sd 0:0:0:0: [sda] Write Protect is off
[ 16.923212] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 16.923236] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 16.923243] sda:<4>Driver 'sr' needs updating - please use bus_type methods
[ 16.937492] sda1 sda2
[ 16.957355] sd 0:0:0:0: [sda] Attached SCSI disk
[ 16.965854] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 16.965887] sr 0:0:1:0: Attached scsi generic sg1 type 5
[ 16.968978] sr0: scsi3-mmc drive: 40x/52x writer cd/rw xa/form2 cdda tray
[ 16.968989] Uniform CD-ROM driver Revision: 3.20
[ 16.969131] sr 0:0:1:0: Attached scsi CD-ROM sr0
[ 17.351243] Attempting manual resume
[ 17.351250] swsusp: Resume From Partition 8:2
[ 17.351253] PM: Checking swsusp image.
[ 17.351518] PM: Resume from disk failed.
[ 17.415384] kjournald starting. Commit interval 5 seconds
[ 17.415405] EXT3-fs: mounted filesystem with ordered data mode.
[ 25.991560] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
[ 26.819439] usbcore: registered new interface driver ndiswrapper
[ 27.075036] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 27.300142] Linux agpgart interface v0.102
[ 27.407159] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 27.490970] irda_init()
[ 27.491008] NET: Registered protocol family 23
[ 27.714914] agpgart: Detected VIA KM400/KM400A chipset
[ 27.723799] agpgart: AGP aperture is 128M @ 0xd0000000
[ 27.854875] input: PC Speaker as /devices/platform/pcspkr/input/input2
[ 28.084693] input: Power Button (FF) as /devices/virtual/input/input3
[ 28.095061] ACPI: Power Button (FF) [PWRF]
[ 28.095196] input: Power Button (CM) as /devices/virtual/input/input4
[ 28.106569] ACPI: Power Button (CM) [PWRB]
[ 29.106042] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input5
[ 29.142034] parport_pc 00:0a: reported by Plug and Play ACPI
[ 29.142102] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 30.499068] ACPI: PCI Interrupt Link [ALKC] BIOS reported IRQ 0, using IRQ 22
[ 30.499076] ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
[ 30.499086] ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [ALKC] -> GSI 22 (level, low) -> IRQ 19
[ 30.499234] PCI: Setting latency timer of device 0000:00:11.5 to 64
[ 34.451902] lp0: using parport0 (interrupt-driven).
[ 34.517780] Adding 1389612k swap on /dev/sda2. Priority:-1 extents:1 across:1389612k
[ 35.107603] EXT3 FS on sda1, internal journal
[ 36.720746] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 38.381346] No dock devices found.
[ 40.492926] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
[ 40.492936] apm: overridden by ACPI.
[ 40.707003] ppdev: user-space parallel port driver
[ 41.054215] audit(1219410051.801:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=4760 profile="/usr/sbin/cupsd" namespace="default"
[ 42.323817] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[ 42.504297] Bluetooth: Core ver 2.11
[ 42.505332] NET: Registered protocol family 31
[ 42.505341] Bluetooth: HCI device and connection manager initialized
[ 42.505347] Bluetooth: HCI socket layer initialized
[ 42.538260] Bluetooth: L2CAP ver 2.9
[ 42.538268] Bluetooth: L2CAP socket layer initialized
[ 42.652406] Bluetooth: RFCOMM socket layer initialized
[ 42.652439] Bluetooth: RFCOMM TTY layer initialized
[ 42.652442] Bluetooth: RFCOMM ver 1.8
[ 45.755583] [drm] Initialized drm 1.1.0 20060810
[ 45.849854] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 20
[ 45.850131] [drm] Initialized via 2.11.1 20070202 on minor 0
[ 46.004638] NET: Registered protocol family 17
[ 46.060348] agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
[ 46.060372] agpgart: Device is in legacy mode, falling back to 2.x
[ 46.060379] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
[ 46.060424] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[ 51.255209] NET: Registered protocol family 10
[ 51.255882] lo: Disabled Privacy Extensions
[ 61.491225] eth0: no IPv6 routers present
[ 230.053665] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
[ 232.213415] wlan: 0.9.4
[ 232.237570] ath_pci: 0.9.4
[ 232.237962] ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 21
[ 232.859053] ath_rate_sample: 1.2 (0.9.4)
[ 232.860819] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 232.860834] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 232.860845] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[ 232.860850] wifi0: mac 7.8 phy 4.5 radio 5.6
[ 232.860858] wifi0: Use hw queue 1 for WME_AC_BE traffic
[ 232.860861] wifi0: Use hw queue 0 for WME_AC_BK traffic
[ 232.860864] wifi0: Use hw queue 2 for WME_AC_VI traffic
[ 232.860867] wifi0: Use hw queue 3 for WME_AC_VO traffic
[ 232.860869] wifi0: Use hw queue 8 for CAB traffic
[ 232.860871] wifi0: Use hw queue 9 for beacons
[ 233.063717] wifi0: Atheros 5212: mem=0xde000000, irq=21
[ 233.115824] ACPI: PCI interrupt for device 0000:00:0a.0 disabled
[ 233.116126] ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 21
[ 233.702769] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 233.702786] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 233.702797] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[ 233.702802] wifi0: mac 7.8 phy 4.5 radio 5.6
[ 233.702814] wifi0: Use hw queue 1 for WME_AC_BE traffic
[ 233.702816] wifi0: Use hw queue 0 for WME_AC_BK traffic
[ 233.702819] wifi0: Use hw queue 2 for WME_AC_VI traffic
[ 233.702822] wifi0: Use hw queue 3 for WME_AC_VO traffic
[ 233.702825] wifi0: Use hw queue 8 for CAB traffic
[ 233.702827] wifi0: Use hw queue 9 for beacons
[ 233.705652] wifi0: Atheros 5212: mem=0xde000000, irq=21
[ 244.405200] ath0: no IPv6 routers present
[ 357.191853] ath0: no IPv6 routers present
[ 358.646286] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 360.669452] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[ 360.771250] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[ 361.262379] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[ 377.108113] eth0: no IPv6 routers present
[ 1181.596079] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 1372.748849] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 1393.165665] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 1403.254896] ADDRCONF(NETDEV_UP): ath0: link is not ready
[ 1443.698035] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[ 1460.876044] eth0: no IPv6 routers present
[ 1486.159698] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[ 1502.907688] eth0: no IPv6 routers present
[ 1676.975929] ADDRCONF(NETDEV_UP): ath0: link is not ready

leopoldocosta
August 23rd, 2008, 07:33 AM
I have another problem also with the card. After i tryied using ndiswrapper (and it didn't work, so i unninstalled it), the drivers won't load automaticly. I have to disable them and re-enable to make it work. every time.

d.avid
August 25th, 2008, 06:22 AM
Hi!
My WLAN works fine when I start wpa_supplicant manually. I'd rather like to use the HowTo's variant with the /etc/network/interfaces, but it doesn't work.

/etc/network/interfaces

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet static
address 192.168.178.22
gateway 192.168.178.1
dns-nameservers 192.168.178.1
netmask 255.255.255.0
wpa-driver wext
wpa-ssid Sub-Etha-Net
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 6dd5eccc9f814ec5567d13a4730d8312eccf6a0e4fec9aebff a7bd823f0cf


etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant

network={
ssid="Sub-Etha-Net"
proto=RSN
pairwise=CCMP
group=CCMP
key_mgmt=WPA-PSK
psk=6dd5eccc9f814ec5567d13a4730d8312eccf6a0e4fec9a ebffa7bd823f0cf
}


I think the problem is: The wpa-part of the interfaces file is not executed. I assume that's because the /etc/network/if-pre-up.d/wpasupplicant file is missing. (I compiled wpa_supplicant 5.10 from source)
Could anyone share his/her /etc/network/if-pre-up.d/wpasupplicant if that would work? Installing wpa_supplicant from the repos is not an option, it just won't work :/
Any help would be appreciated!

jharkn
August 25th, 2008, 09:39 AM
Not having any joy trying to get my USR5422 usb adapter going (U.S. Robotics)..

I'm using ndiswrapper, the obligatory console output is below :)

jharkn@holly:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 0 0 0 wlan0
default * 0.0.0.0 U 1000 0 0 wlan0

jharkn@holly:~$ iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11g ESSID:"USR9110"
Mode:Managed Frequency:2.437 GHz Access Point: 00:C0:49:F2:CC:45
Bit Rate=24 Mb/s Tx-Power:18 dBm
RTS thr:2347 B Fragment thr:2346 B
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

jharkn@holly:~$ iwlist scan
lo Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:C0:49:F2:CC:45
ESSID:"USR9110"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:35/100 Signal level:-73 dBm Noise level:-96 dBm
Encryption key:on
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; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=1
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK

jharkn@holly:~$ sudo lshw -C network
*-network
description: Wireless interface
physical id: 1
logical name: wlan0
serial: 00:c0:49:f3:46:f6
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+rsc4usb driverversion=1.53+U.S. Robotics,06/02/2005, 3 link=yes multicast=yes wireless=IEEE 802.11g

jharkn@holly:~$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid USR9110
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk 326a53d91b1c963bd6096c722c695e1ab99f6c17b5a1754bd1 233dbd4143b9b1

jharkn@holly:~$ sudo ifdown -v wlan0
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/avahi-autoipd
run-parts: executing /etc/network/if-down.d/wpasupplicant
dhclient3 -r -pf /var/run/dhclient.wlan0.pid -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0
There is already a pid file /var/run/dhclient.wlan0.pid with pid 7844
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:c0:49:f3:46:f6
Sending on LPF/wlan0/00:c0:49:f3:46:f6
Sending on Socket/fallback
ifconfig wlan0 down
run-parts --verbose /etc/network/if-post-down.d
run-parts: executing /etc/network/if-post-down.d/avahi-daemon
run-parts: executing /etc/network/if-post-down.d/wireless-tools
run-parts: executing /etc/network/if-post-down.d/wpasupplicant
wpa_supplicant: terminating wpa_supplicant daemon via pidfile /var/run/wpa_supplicant.wlan0.pid
Stopped /sbin/wpa_supplicant (pid 7813).

jharkn@holly:~$ sudo ifup -v wlan0
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver wext
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -D wext -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/wlan0
wpa_supplicant: wpa-ap-scan 1 -- OK
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "USR9110" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-pairwise TKIP -- OK
wpa_supplicant: wpa-group TKIP -- OK
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto WPA -- OK
wpa_supplicant: enabling network block 0 -- OK

dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.wlan0.pid -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0
There is already a pid file /var/run/dhclient.wlan0.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:c0:49:f3:46:f6
Sending on LPF/wlan0/00:c0:49:f3:46:f6
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/wpasupplicant

Any help would be greatly appreciated, thanks :)

mssever
August 25th, 2008, 11:10 AM
Could anyone share his/her /etc/network/if-pre-up.d/wpasupplicant if that would work?I dunno if it will work for you (my wireless works with WPA with zero manual configuration. However, here's my wpasupplicant file: #!/bin/sh

# Copyright (C) 2006 Debian/Ubuntu wpasupplicant Maintainers
# <pkg-wpa-devel@lists.alioth.debian.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# On Debian GNU/Linux systems, the text of the GPL license can be
# found in /usr/share/common-licenses/GPL.

if [ -n "$IF_WPA_MAINT_DEBUG" ]; then
set -x
fi

# quit if we're called for the loopback
if [ "$IFACE" = lo ]; then
exit 0
fi

# allow wpa_supplicant interface to be specified via wpa-iface
# useful for starting wpa_supplicant on one interface of a bridge
if [ -n "$IF_WPA_IFACE" ]; then
WPA_IFACE="$IF_WPA_IFACE"
else
WPA_IFACE="$IFACE"
fi

# source functions
if [ -f /etc/wpa_supplicant/functions.sh ]; then
. /etc/wpa_supplicant/functions.sh
else
exit 0
fi

# quit if executables are not installed
if [ ! -x "$WPA_SUP_BIN" ] || [ ! -x "$WPA_CLI_BIN" ]; then
exit 0
fi

# quit if wpa_action is active
if test_wpa_cli; then
exit 0
fi

# preliminary sanity checks for roaming daemon
if [ -n "$IF_WPA_ROAM" ]; then
if [ "$METHOD" != "manual" ]; then
wpa_msg stderr "wpa-roam can only be used with the \"manual\" inet METHOD"
exit 1
fi
if [ -n "$IF_WPA_MAPPING_SCRIPT" ]; then
if ! type "$IF_WPA_MAPPING_SCRIPT" >/dev/null; then
wpa_msg stderr "wpa-mapping-script \"$IF_WPA_MAPPING_SCRIPT\" is not valid"
exit 1
fi
fi
if [ -n "$IF_WPA_MAPPING_SCRIPT_PRIORITY" ] && [ -z "$IF_WPA_MAPPING_SCRIPT" ]; then
wpa_msg stderr "\"wpa-mapping-script-priority 1\" is invalid without a wpa-mapping-script"
exit 1
fi
IF_WPA_CONF="$IF_WPA_ROAM"
WPA_ACTION_SCRIPT="/sbin/wpa_action"
fi

# master function; determines if ifupdown.sh should do something or not
if [ -n "$IF_WPA_CONF" ]; then
if [ ! -s "$IF_WPA_CONF" ]; then
wpa_msg stderr "cannot read contents of $IF_WPA_CONF"
exit 1
fi
WPA_SUP_CONF_CTRL_DIR=$(sed --quiet \
's/[[:space:]]*#.*//g;s/[[:space:]]\+.*$//g;s/^\(ctrl_interface\|DIR\)=\(.*\)/\2/p' "$IF_WPA_CONF")
if [ -n "$WPA_SUP_CONF_CTRL_DIR" ]; then
WPA_CTRL_DIR="$WPA_SUP_CONF_CTRL_DIR"
fi
WPA_SUP_CONF="-c $IF_WPA_CONF -C $WPA_CTRL_DIR"
elif set | grep --quiet "^IF_WPA"; then
WPA_SUP_CONF="-C $WPA_CTRL_DIR"
else
exit 0
fi

case "$MODE" in
start)
case "$PHASE" in
pre-up)
kill_wpa_supplicant
init_wpa_supplicant || exit 1
conf_wpa_supplicant || { kill_wpa_supplicant; exit 1; }
;;
post-up)
init_wpa_cli || { kill_wpa_supplicant; exit 1; }
;;
esac
;;

stop)
case "$PHASE" in
pre-down)
kill_wpa_cli
;;
post-down)
kill_wpa_supplicant
;;
*)
wpa_msg stderr "unknown phase: \"$PHASE\""
exit 1
;;
esac
;;

*)
wpa_msg stderr "unknown mode: \"$MODE\""
exit 1
;;
esac

exit 0It's actually a symlink to /etc/wpa_supplicant/ifupdown.sh, which is owned by root:root and has permissions 0755.

d.avid
August 25th, 2008, 06:01 PM
It's actually a symlink to /etc/wpa_supplicant/ifupdown.sh, which is owned by root:root and has permissions 0755.

Great! That's the information I needed, thanks a lot!

Faz1
August 26th, 2008, 06:03 AM
Some users reported (including myself) that the network has to be restarted every time after startup... Apparently this is a bug.

Here is a workaround that helps restart the network during boot so that one does not have to do it manually after logging on to the system.

Create startup script:

Add this line & save file:

Change permission (executable):

Create symbolic link:

[Note: You may have to choose a boot sequence other than S40.]

Restart...

Worked a treat! Thank you wieman01! =D>
I can finally reboot remotely! :)

showcaser
September 1st, 2008, 01:26 PM
Hello,

i've got a pci wireless card in my desktop and have been trying for quite some time to get it working with WPA. Works fine with WEP and unsecured. I'm using NDISWRAPPER and am on a fresh install of Hardy 32. Using DHCP I get "no offers received" and so i'm now configured with a static IP. No problems/errors after running sudo /etc/init.d/networking restart but opening up a browser i'm still not connected.

Any help that can be offered would be greatly appreciated as i'd really like to get this working.

Thanks

Here's some info, let me know if you need more:

lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"Jones"
Mode:Managed Frequency:2.452 GHz Access Point: 00:18:F8:EB:9B:B6
Bit Rate=270 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Power Management:off
Link Quality:60/100 Signal level:-57 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


Cell 10 - Address: 00:18:F8:EB:9B:B6
ESSID:"Jones"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.452 GHz (Channel 9)
Quality:54/100 Signal level:-61 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK



*-network DISABLED
description: Ethernet interface
product: 82547EI Gigabit Ethernet Controller
vendor: Intel Corporation
physical id: 1
bus info: pci@0000:02:01.0
logical name: eth0
version: 00
serial: 00:0e:a6:55:01:08
capacity: 1GB/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.20-k2-NAPI firmware=N/A latency=0 link=no mingnt=255 module=e1000 multicast=yes port=twisted pair
*-network
description: Wireless interface
product: BCM43XG
vendor: Broadcom Corporation
physical id: d
bus info: pci@0000:03:0d.0
logical name: wlan0
version: 01
serial: 00:1a:70:3c:25:36
width: 32 bits
clock: 33MHz
capabilities: bus_master ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+bcmwl5 driverversion=1.52+Linksys, A Division of Cisc ip=192.168.1.130 latency=64 link=yes module=ndiswrapper multicast=yes wireless=IEEE 802.11g



showcaser@showcaser-desktop:~$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet static
wpa-driver wext
address 192.168.1.130
gateway 192.168.1.1
dns-nameservers 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255
wpa-ssid Jones
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk 0fec690f80676366e185cd6f5d13144faa8d8e923ed419a2cc 29d6136836907f


showcaser@showcaser-desktop:~$ sudo ifdown -v wlan0
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/avahi-autoipd
run-parts: executing /etc/network/if-down.d/wpasupplicant
route del default gw 192.168.1.1 metric 100 wlan0
ifconfig wlan0 down
run-parts --verbose /etc/network/if-post-down.d
run-parts: executing /etc/network/if-post-down.d/avahi-daemon
run-parts: executing /etc/network/if-post-down.d/wireless-tools
run-parts: executing /etc/network/if-post-down.d/wpasupplicant
wpa_supplicant: terminating wpa_supplicant daemon via pidfile /var/run/wpa_supplicant.wlan0.pid
Stopped /sbin/wpa_supplicant (pid 6630).
showcaser@showcaser-desktop:~$ sudo ifup -v wlan0
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver wext
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -D wext -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/wlan0
wpa_supplicant: wpa-ap-scan 1 -- OK
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "Jones" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-pairwise TKIP -- OK
wpa_supplicant: wpa-group TKIP -- OK
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto WPA -- OK
wpa_supplicant: enabling network block 0 -- OK

ifconfig wlan0 192.168.1.130 netmask 255.255.255.0 broadcast 192.168.1.255 up
route add default gw 192.168.1.1 metric 100 wlan0
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/wpasupplicant

wieman01
September 2nd, 2008, 04:42 AM
@showcaser:

What happens when you do:
route
After restarting the network.

Ziggy8.04
September 2nd, 2008, 02:01 PM
ive tryed to set up my bcm4328 im using hardy heron
i followed this how to and havent been successful so far.
im able to connect to unsecured wireless networks
but i need to be able to connect to a secure network
with at least wpa. i would really appreciate it if someone
could help me im new to linux so i dont realy know what to do.
ive posted my results before but here they are again

ubuntu@ubuntu:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 wlan0
default * 0.0.0.0 U 1000 0 0 wlan0


ubuntu@ubuntu:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"0987654321"
Mode:Managed Frequency:2.412 GHz Access Point: 00:1E:E5:4F:CD:FD
Bit Rate=130 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Power Management:off
Link Quality:79/100 Signal level:-45 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:71 Invalid misc:13748 Missed beacon:0


ubuntu@ubuntu:~$ sudo iwlist scan
[sudo] password for ubuntu:
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:1E:E5:4F:CD:FD
ESSID:"0987654321"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:71/100 Signal level:-50 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 02 - Address: 00:1C:10:28:73:20
ESSID:"Tigress74"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:71/100 Signal level:-50 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 03 - Address: 00:0F:66:CC:28:80
ESSID:"linksys"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:28/100 Signal level:-78 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 04 - Address: 00:1E:2A:51:1E:B8
ESSID:"MEGAAHHHN"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:17/100 Signal level:-85 dBm Noise level:-96 dBm
Encryption key:on
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; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 05 - Address: 00:1C:DF:8C:C7:37
ESSID:"Belkin_G_Plus_MIMO_8CC737"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:10/100 Signal level:-89 dBm Noise level:-96 dBm
Encryption key:off
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; 6 Mb/s; 12 Mb/s
24 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0


ubuntu@ubuntu:~$ sudo lshw -C network
*-network
description: Wireless interface
product: BCM4328 802.11a/b/g/n
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 03
serial: 00:1a:73:ff:50:58
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+bcmwl5 driverversion=1.52+Broadcom,10/12/2006, 4.100. latency=0 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11g


ubuntu@ubuntu:~$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid 0987654321
wpa-ap-scan 1
wpa-proto WPA RSN
wpa-pairwise TKIP CCMP
wpa-group TKIP CCMP
wpa-key-mgmt WPA-PSK
wpa-psk <password>


ubuntu@ubuntu:~$ sudo ifdown -v wlan0
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/avahi-autoipd
run-parts: executing /etc/network/if-down.d/wpasupplicant
dhclient3 -r -pf /var/run/dhclient.wlan0.pid -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0
There is already a pid file /var/run/dhclient.wlan0.pid with pid 5784
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:1a:73:ff:50:58
Sending on LPF/wlan0/00:1a:73:ff:50:58
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.2.1 port 67
ifconfig wlan0 down
run-parts --verbose /etc/network/if-post-down.d
run-parts: executing /etc/network/if-post-down.d/avahi-daemon
run-parts: executing /etc/network/if-post-down.d/wireless-tools
run-parts: executing /etc/network/if-post-down.d/wpasupplicant
wpa_supplicant: terminating wpa_supplicant daemon via pidfile /var/run/wpa_supplicant.wlan0.pid
Stopped /sbin/wpa_supplicant (pid 4823).


ubuntu@ubuntu:~$ sudo ifup -v wlan0
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver wext
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -D wext -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/wlan0
wpa_supplicant: wpa-ap-scan 1 -- OK
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "0987654321" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-pairwise TKIP CCMP -- OK
wpa_supplicant: wpa-group TKIP CCMP -- OK
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto WPA RSN -- OK
wpa_supplicant: enabling network block 0 -- OK

dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.wlan0.pid -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0
There is already a pid file /var/run/dhclient.wlan0.pid with pid 0
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:1a:73:ff:50:58
Sending on LPF/wlan0/00:1a:73:ff:50:58
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/wpasupplicant

any help would be much appreciated

showcaser
September 2nd, 2008, 08:15 PM
@showcaser:

What happens when you do: route

After restarting the network.

Here is the route info:

showcaser@showcaser-desktop:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 wlan0
default 192.168.1.1 0.0.0.0 UG 100 0 0 wlan0

Just for fun I also tried using Wicd on a fresh install. Wicd with DHCP did the same thing as the manual way (never gets an DHCP offer). Entering static values it then connected, well at least it thought it was connected (with the connection quality meter bar and all) but still no internet and was unable to ping across the network.

I imagine it has something to do with the combination of my particular broadcom chip (BCM43XG aka 4329), the windows driver, and ndiswrapper compatibility. I'm using the latest driver for XP from the linksys website, and have tried others to no avail.

Thanks for your help Wieman01.

showcaser
September 2nd, 2008, 10:08 PM
Holy s$%t, got it to work finally after way to many hours. Ends up it was because the router was set to Mixed-mode (it's a draft-n router). I changed the router to BG-only and presto it worked right away, no problems at all. In all the forums and all the similar posts where people complained of wpa issues with their 4328/4329 routers no where was it mentioned that this could be the issue. I noticed that one person mentioned (in a post in another thread) that ndiswrapper doesn't support draft-n so I disabled it on a whim and presto. Kind of weird as it connects fine when unsecured :confused:

Zhiggy 8.04 can this be your problem. I was getting the same "No DHCPOFFERS received" issue.

Wieman01 it may be worth mentioning "Set router to BG-Only if using ndiswrapper (and perhaps Broadcom 43xx as I don't know about others)" in the "stumbling blocks" portion at the top of the how-to.

Thanks

Ziggy8.04
September 3rd, 2008, 10:17 PM
WOW!!!!!
\\:D/
thanks showcaser
that was it was my router was set to mixed mode
works fine so far when its set to b and g only
:popcorn:

wieman01
September 4th, 2008, 04:23 PM
Holy s$%t, got it to work finally after way to many hours. Ends up it was because the router was set to Mixed-mode (it's a draft-n router). I changed the router to BG-only and presto it worked right away, no problems at all. In all the forums and all the similar posts where people complained of wpa issues with their 4328/4329 routers no where was it mentioned that this could be the issue. I noticed that one person mentioned (in a post in another thread) that ndiswrapper doesn't support draft-n so I disabled it on a whim and presto. Kind of weird as it connects fine when unsecured :confused:

Zhiggy 8.04 can this be your problem. I was getting the same "No DHCPOFFERS received" issue.

Wieman01 it may be worth mentioning "Set router to BG-Only if using ndiswrapper (and perhaps Broadcom 43xx as I don't know about others)" in the "stumbling blocks" portion at the top of the how-to.

Thanks
Thanks, buddy. Done so. :-)

showcaser
September 5th, 2008, 12:11 PM
WOW!!!!!
\\:D/
thanks showcaser
that was it was my router was set to mixed mode
works fine so far when its set to b and g only
:popcorn:

I'm happy it worked for you Ziggy!

Thanks for adding the info Wieman01!

raoulteeuwen
September 7th, 2008, 12:19 PM
Thanks, this thread (first post) helped me getting WPA2 working on my Acer Travelmate 4001WLMi with Ubuntu 7.10 Gutsy Gibbon! I left it to DHCP, might cost a few extra seconds, but it is working! I wish the Ubuntu-people would include a "restart network"-button in the network-interface (maybe as well as an ifconfig-button). Thanks again!

ialexei
September 7th, 2008, 07:16 PM
wicd is the way to go.
I could never set WPA2 to stick , it would always revert back to WPA after I click close on the networking dialog.

I wish Xubuntu guys either fix it or add wicd into the distro. wicd is also much cleaner looking UI.

_iridium_
September 11th, 2008, 04:37 AM
Thanks wieman01 for this post!!!

However, I'm not able to run 100% the wireless following your instructions....:confused:

I'm using:
- Ubuntu 8.04
- Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01) ----> Using new B43 driver
- WPA-TKIP encryption, SMC Router.....

Works perfect with the following configuration if the ESSID is broadcasted

auto eth1
iface eth1 inet static
address 192.168.0.4
netmask 255.255.255.0
gateway 192.168.0.1
wpa-driver wext
#wpa-conf managed
wpa-ssid Iridium
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk e5c88e453bf74af034679355c34afad11e53f2524f388d3857 f4dc6a420b1f5f

Doesn't works with the following configuration if the ESSID is hidden....

auto eth1
iface eth1 inet static
address 192.168.0.4
netmask 255.255.255.0
gateway 192.168.0.1
wpa-driver wext
#wpa-conf managed
wpa-ssid Iridium
wpa-ap-scan 2
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk e5c88e453bf74af034679355c34afad11e53f2524f388d3857 f4dc6a420b1f5f


Anybody, What the f%$k could be happening? :(
It's all the same........just changed '1' for '2'


Thanks in advance,
Iridium.

wieman01
September 12th, 2008, 01:51 PM
Thanks wieman01 for this post!!!

However, I'm not able to run 100% the wireless following your instructions....:confused:

I'm using:
- Ubuntu 8.04
- Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01) ----> Using new B43 driver
- WPA-TKIP encryption, SMC Router.....

Works perfect with the following configuration if the ESSID is broadcasted

auto eth1
iface eth1 inet static
address 192.168.0.4
netmask 255.255.255.0
gateway 192.168.0.1
wpa-driver wext
#wpa-conf managed
wpa-ssid Iridium
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk e5c88e453bf74af034679355c34afad11e53f2524f388d3857 f4dc6a420b1f5f

Doesn't works with the following configuration if the ESSID is hidden....

auto eth1
iface eth1 inet static
address 192.168.0.4
netmask 255.255.255.0
gateway 192.168.0.1
wpa-driver wext
#wpa-conf managed
wpa-ssid Iridium
wpa-ap-scan 2
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk e5c88e453bf74af034679355c34afad11e53f2524f388d3857 f4dc6a420b1f5f


Anybody, What the f%$k could be happening? :(
It's all the same........just changed '1' for '2'


Thanks in advance,
Iridium.
Just broadcast your SSID as it adds no extra security if you hide it. Some wireless drivers might not be capable of coping with it...

raoulteeuwen
September 13th, 2008, 05:58 AM
@Wieman: why is it that broadcasting your SSID doesn't weaken your security? I would think it is easier for a hacker when they see what wlan's are around. Or is the SSID to be sniffed, whether or not you broadcast it?

I ask this as i reported 5 days earlier i got wpa2 working thanks to this thread, but i found out Ubuntu somehow forgot ... my wlan isn't working anymore, so i have to find out why (and maybe it is because ssid-broadcasting is turned off)

wieman01
September 13th, 2008, 06:37 AM
@Wieman: why is it that broadcasting your SSID doesn't weaken your security? I would think it is easier for a hacker when they see what wlan's are around. Or is the SSID to be sniffed, whether or not you broadcast it?

I ask this as i reported 5 days earlier i got wpa2 working thanks to this thread, but i found out Ubuntu somehow forgot ... my wlan isn't working anymore, so i have to find out why (and maybe it is because ssid-broadcasting is turned off)
The clients broadcast it anyway and any wireless security tool (e.g. Aircrack) lets you sniff it.

Read this article on SSID broadcast for more:

http://blogs.technet.com/steriley/archive/2007/10/16/myth-vs-reality-wireless-ssids.aspx

That explains what I have been just saying.

Trash_Gordon
September 22nd, 2008, 04:27 PM
Hi,
I'm using a Ralink rt61-Chipset card which is working fine, but when I got a new wireless network I wanted to connect to, it doesn't work. Here's relevant output:
http://nopaste.debianforum.de/11520

PS: I'm using Debian lenny, but there shouldn't be much of a difference to Ubuntu, right?

/edit: Problem solved, wrong IP allocation.

anindya_m
September 24th, 2008, 12:32 AM
Hi. I am (still!) running Feisty Fawn on my laptop because everything works fine, touch wood. I have set up my wireless interface to be configured manually at boot time (while at home or at work; I use networkmanager if I am at a public place). It is important sometimes to have the wireless interface come up automatically at boot without a network services restart, because some programs like ntpd require it. This is why networkmanager is not useful in such a situation, as it sets up the network after login. It is also not nice (inelegant) to have to tinker with system startup scripts.

So, all was fine while I had an old router with WEP encryption, as network-admin could be used to update the /etc/network/interfaces file. This changed when I got a new router (the old one died) and set it up with WPA2. It turns out that the Feisty version of network-admin does not have a WPA option - it's a bug which has been fixed in the later releases.

I therefore was trying to use wpa_supplicant to manually set up my interfaces file. The logic is: whenever I need to use the manual method I would simply disable networking in nm, overwrite the interfaces file with the manual version (which is what network-admin used to do in the WEP case), and then re enable networking in nm. This would cause networkmanager to stop managing the wifi - the trigger is the appearance of the "auto eth1" line. To switch back to automatic mode, I would follow the same steps, but now replace the interfaces file with one which does not have a "eth1" stanza.

I initially tried to put everything in the interfaces file as mentioned in this (excellent) howto, but was very annoyed at having to restart networking and then ntpd every time. So I moved the configuration to wpa_supplicant.conf. Here are my files:

/etc/network/interfaces.atboot (this will be copied as /etc/network/interface for manual configuration):
auto lo eth1

iface lo inet loopback

iface eth1 inet dhcp
pre-up /sbin/wpa_supplicant -Bw -Dwext -ieth1 -dd -c/etc/wpa_supplicant/wpa_supplicant.conf
post-down killall -q wpa_supplicant



/etc/network/interfaces.nm (this will be copied as /etc/network/interface for automatic configuration by nm):
auto lo

iface lo inet loopback



/etc/wpa_supplicant/wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant

network={
ssid="secret"
scan_ssid=1
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP
group=TKIP
psk=some_hex_code
}



With these changes everything works perfectly - no need to restart networking. I think moving the configuration to wpa_supplicant.conf is not so bad because if you have many networks (home, office, friend's place, etc.) where you want wireless to be enabled at boot time you can put all these in the conf file and have a clean and uncluttered interfaces file which just selects manual or automatic (nm) mode. wpa_supplicant then selects a network (while in manual mode) from the conf file depending on signal strengths. Note that wpa_supplicant also supports plain old WEP networks as well, and it is very easy to set up, but for some strange reason the man page has very little to say about this (they might be trying to discourage people from using WEP).

Hope this is useful. Thanks again to wieman01 for a very useful howto.

ethx
October 1st, 2008, 06:47 PM
Thank you so much dude.. got it to work flawlessly.

master2010
October 2nd, 2008, 08:39 AM
http://ubuntuforums.org/showthread.php?p=5893031#post5893031

LinuxGuy80
October 2nd, 2008, 09:04 PM
Hi.
Thank you for this guide it works great.
One problem though, after about 30 minutes or so of use i lose my network connection and i can't get it back without restarting my computer.
Any idea why this happens?
Thanks in advance.

wieman01
October 3rd, 2008, 07:46 AM
Hi.
Thank you for this guide it works great.
One problem though, after about 30 minutes or so of use i lose my network connection and i can't get it back without restarting my computer.
Any idea why this happens?
Thanks in advance.
Try to use another wireless channel.

LinuxGuy80
October 3rd, 2008, 05:53 PM
Didn't work.
I had to use ndiswrapper for my wifi card if that helps.
It's a realtek8185.
Do you think it has anything to do with my encryption?
It's Wpa.
Here is what is my /etc/network/interfaces.
Don't know if it will help.


auto lo
iface lo inet loopback


auto wlan0
iface wlan0 inet dhcp


wpa-ap-scan 1
wpa-pairwise TKIP
wpa-group TKIP
wpa-psk xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid xxxx

wieman01
October 4th, 2008, 05:47 AM
I don't think it's an issue with encryption. What router have you got? Is there a setting called "beacon interval" and what's the current value?

LinuxGuy80
October 4th, 2008, 11:33 AM
It's a cheap Belkin Wireless Router. I think it cost me $40.;)
It had no option for Beacon Interval.
Another thing that's weird, when i have my Cat5 cable plugged in sometimes i have to restart my network because it will hang.
You think my cheap router my be the problem?
By the way thank you for all the help.:D

wieman01
October 4th, 2008, 02:18 PM
It's a cheap Belkin Wireless Router. I think it cost me $40.;)
It had no option for Beacon Interval.
Another thing that's weird, when i have my Cat5 cable plugged in sometimes i have to restart my network because it will hang.
You think my cheap router my be the problem?
By the way thank you for all the help.:D
Hard to tell what the issue is, but you could try another router and do some testing.

LinuxGuy80
October 4th, 2008, 02:57 PM
Cool thanks for the help.

MattTeddy
October 5th, 2008, 06:28 PM
This may sound like one of the stupidest questions you will ever hear, but why do I get these results when typing "iwconfig":
$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


This is really starting to get to me now because I've been picking through articles for 2 days now and yours looks like it will work..

I am using a hidden SSID and also WPA2 protection.
Any help appreciated.

Matt

geezerone
October 5th, 2008, 07:28 PM
Have you tried NOT hiding your ESSID as this is often doesn't work in Ubuntu and has little effect against hackers?

Moncho12
October 10th, 2008, 12:42 AM
wieman01,

Thanks you very much for a great comprehensive "howto" on wifi connectivity!

Cheers.....

samwisgg
October 16th, 2008, 02:52 PM
Some users reported (including myself) that the network has to be restarted every time after startup... Apparently this is a bug.

Here is a workaround that helps restart the network during boot so that one does not have to do it manually after logging on to the system.

Create startup script:

Add this line & save file:

Change permission (executable):

Create symbolic link:

[Note: You may have to choose a boot sequence other than S40.]

Restart...

Wieman01,

what you described works but you should add the line '/etc/init.d/networking restart' to the already existing script /etc/rc.local. This script is meant to hold customizations at boot up and it's called after all other scripts.

MistressSheena
November 1st, 2008, 01:33 PM
I followed this guide and it worked for my laptop. But after I shut down and started back up, the internet didn't work anymore. Also when I try to restart the network, my lappy freezes. Weird.

cb474
November 2nd, 2008, 05:34 AM
What would be the protocol just for a simple wep connection with a passphrase, not using any special other elements (leap, ttls, etc.)?

Also, can I put more than one entry in the interfaces file, for different access points?

wieman01
November 2nd, 2008, 05:40 AM
What would be the protocol just for a simple wep connection with a passphrase, not using any special other elements (leap, ttls, etc.)?

Also, can I put more than one entry in the interfaces file, for different access points?
See this for more:

http://ubuntuforums.org/showthread.php?t=571188

wieman01
November 6th, 2008, 01:54 PM
Interesting read for all security nerds:

http://www.itworld.com/security/57285/once-thought-safe-wpa-wi-fi-encryption-cracked

Cammy
November 10th, 2008, 11:55 AM
Well, I've done the auto update from 6.10 to 8.04 on my laptop, and now my wireless is hosed again, and the trick I used last time isn't working.

It's very annoying that there can't just be a GUI that I can use to connect to my wireless network. It seems like whenever I switch from my home wireless to a different wireless, I have to go through all this all over again.

EDIT: Ok, I got it working. I hard-wired it to my router and let Hardy update itself. After doing so, I got the reboot icon, so I rebooted, and found that restricted drivers had been installed for my wireless card. After that, I was able to get it working with a bit of fiddling, and it holds after a reboot.

It's still very annoying that it's this much of a pain! heh. Oh well.

wieman01
November 10th, 2008, 05:39 PM
Well, I've done the auto update from 6.10 to 8.04 on my laptop, and now my wireless is hosed again, and the trick I used last time isn't working.

It's very annoying that there can't just be a GUI that I can use to connect to my wireless network. It seems like whenever I switch from my home wireless to a different wireless, I have to go through all this all over again.

EDIT: Ok, I got it working. I hard-wired it to my router and let Hardy update itself. After doing so, I got the reboot icon, so I rebooted, and found that restricted drivers had been installed for my wireless card. After that, I was able to get it working with a bit of fiddling, and it holds after a reboot.

It's still very annoying that it's this much of a pain! heh. Oh well.
:-)

Cammy
November 10th, 2008, 05:42 PM
:-)

That's easy for you to say!

wieman01
November 10th, 2008, 05:50 PM
That's easy for you to say!
Nah... it just reminds me of what I had to go through in the past... I am more than with you. Every upgrade comes with its own set of suprises. Every time. :-)

kannedheat
November 13th, 2008, 08:22 PM
I tried, but I still can't connect my wireless:

route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 0 0 0 eth0
iwconfig
default 192.168.1.1 0.0.0.0 UG 100 0 0 wlan0
iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:"Zapper"
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

pan0 no wireless extensions.

sudo iwlist
[sudo] password for kannedheat:

lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wmaster0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:E0:98:DB:D6:65
ESSID:"Zapper"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=46/100 Signal level:-66 dBm Noise level=-73 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Extra:tsf=000000f5ea61e122
Extra: Last beacon: 120ms ago
Cell 02 - Address: 00:1D:7E:E8:26:A1
ESSID:"PC Serv"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=30/100 Signal level:-83 dBm Noise level=-73 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=000003dc88144a78
Extra: Last beacon: 404ms ago
Cell 03 - Address: 00:1C:F0:57:3E:C3
ESSID:"xbox360"
Mode:Master
Channel:8
Frequency:2.447 GHz (Channel 8)
Quality=35/100 Signal level:-78 dBm Noise level=-73 dBm
Encryption key:off
IE: Unknown: 2D1A6E101EFFFF000000000000000000000000000004000000 000000
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; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000002a73b246345
Extra: Last beacon: 300ms ago
Cell 04 - Address: 00:1B:2F:65:31:34
ESSID:"NETGEAR"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=31/100 Signal level:-81 dBm Noise level=-73 dBm
Encryption key:on
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; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000009fdd60f9181
Extra: Last beacon: 60ms ago

pan0 Interface doesn't support scanning.

sudo lshw -C network
*-network:0
description: Network controller
product: BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller
vendor: Broadcom Corporation
physical id: 2
bus info: pci@0000:06:02.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=b43-pci-bridge latency=64 module=ssb
*-network:1
description: Ethernet interface
product: RTL-8139/8139C/8139C+
vendor: Realtek Semiconductor Co., Ltd.
physical id: 6
bus info: pci@0000:06:06.0
logical name: eth0
version: 10
serial: 00:0f:b0:be:ea:6a
size: 10MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=128 link=no maxlatency=64 mingnt=32 module=8139too multicast=yes port=MII speed=10MB/s
*-network:0
description: Wireless interface
physical id: 2
logical name: wlan0
serial: 00:14:a5:63:75:a6
capabilities: ethernet physical wireless
configuration: broadcast=yes ip=192.168.1.47 multicast=yes wireless=IEEE 802.11bg
*-network:1 DISABLED
description: Ethernet interface
physical id: 3
logical name: pan0
serial: 82:3d:c7:80:65:43
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
sudo cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0

# The primary network interface
auto eth0
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet static
address 192.168.1.47
gateway 192.168.1.1
dns-westell 192.168.1.1
netmask 255.255.255.0
wpa-driver wext
wpa-ssid Zapper
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk <my psk>

sudo ifdown -v wlan0
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/50firestarter
run-parts: executing /etc/network/if-down.d/avahi-autoipd
run-parts: executing /etc/network/if-down.d/wpasupplicant
route del default gw 192.168.1.1 metric 100 wlan0
ifconfig wlan0 down
run-parts --verbose /etc/network/if-post-down.d
run-parts: executing /etc/network/if-post-down.d/avahi-daemon
run-parts: executing /etc/network/if-post-down.d/wireless-tools
run-parts: executing /etc/network/if-post-down.d/wpasupplicant
sudo ifup -v wlan0
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver wext
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -D wext -q -f /var/log/wpa_supplicant.wlan0.log -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1

ifconfig wlan0 192.168.1.47 netmask 255.255.255.0 up
route add default gw 192.168.1.1 metric 100 wlan0
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/50firestarter
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/wpasupplicant
uname -a
Linux dv8000 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64 GNU/Linux

geezerone
November 13th, 2008, 10:28 PM
What does your dmesg output say and what does /etc/init.d/networking restart do?

There is useful info HERE (http://www.cs.bham.ac.uk/%7Eaxs/laptop/ubuntu.html) which may get past your wpasupplicant issue.

The 4318 driver is also availablestored here: BCM Drivers (http://linuxwireless.org/en/users/Drivers/b43#b43andb43legacy) if that helps.

kannedheat
November 15th, 2008, 11:36 PM
What does your dmesg output say and what does /etc/init.d/networking restart do?

There is useful info HERE (http://www.cs.bham.ac.uk/%7Eaxs/laptop/ubuntu.html) which may get past your wpasupplicant issue.

The 4318 driver is also availablestored here: BCM Drivers (http://linuxwireless.org/en/users/Drivers/b43#b43andb43legacy) if that helps.

dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.27-7-generic (buildd@crested) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Tue Nov 4 19:33:06 UTC 2008 (Ubuntu 2.6.27-7.16-generic)
[ 0.000000] Command line: root=UUID=ce35b58d-ee2c-4311-a0a8-8646007548e1 ro quiet splash
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[ 0.000000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000d0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000007fea0000 (usable)
[ 0.000000] BIOS-e820: 000000007fea0000 - 000000007feac000 (ACPI data)
[ 0.000000] BIOS-e820: 000000007feac000 - 000000007ff00000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000007ff00000 - 0000000080000000 (reserved)
[ 0.000000] BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
[ 0.000000] last_pfn = 0x7fea0 max_arch_pfn = 0x3ffffffff
[ 0.000000] init_memory_mapping
[ 0.000000] 0000000000 - 007fe00000 page 2M
[ 0.000000] 007fe00000 - 007fea0000 page 4k
[ 0.000000] kernel direct mapping tables up to 7fea0000 @ 8000-c000
[ 0.000000] last_map_addr: 7fea0000 end: 7fea0000
[ 0.000000] RAMDISK: 3775f000 - 37fef505
[ 0.000000] DMI present.
[ 0.000000] ACPI: RSDP 000F7C50, 0014 (r0 PTLTD )
[ 0.000000] ACPI: RSDT 7FEA4843, 0034 (r1 PTLTD RSDT 6040000 LTP 0)
[ 0.000000] ACPI: FACP 7FEABE31, 0074 (r1 HP Piranha 6040000 ATI F4240)
[ 0.000000] ACPI: DSDT 7FEA4877, 75BA (r1 HP 309B 6040000 MSFT 100000E)
[ 0.000000] ACPI: FACS 7FEACFC0, 0040
[ 0.000000] ACPI: SSDT 7FEABEA5, 00CF (r1 PTLTD POWERNOW 6040000 LTP 1)
[ 0.000000] ACPI: APIC 7FEABF74, 0050 (r1 PTLTD APIC 6040000 LTP 0)
[ 0.000000] ACPI: MCFG 7FEABFC4, 003C (r1 PTLTD MCFG 6040000 LTP 0)
[ 0.000000] ACPI: DMI detected: Hewlett-Packard
[ 0.000000] Scanning NUMA topology in Northbridge 24
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-000000007fea0000
[ 0.000000] Bootmem setup node 0 0000000000000000-000000007fea0000
[ 0.000000] NODE_DATA [0000000000001000 - 0000000000005fff]
[ 0.000000] bootmap [000000000000a000 - 0000000000019fd7] pages 10
[ 0.000000] (6 early reservations) ==> bootmem [0000000000 - 007fea0000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
[ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
[ 0.000000] #2 [0000200000 - 00008b8f9c] TEXT DATA BSS ==> [0000200000 - 00008b8f9c]
[ 0.000000] #3 [003775f000 - 0037fef505] RAMDISK ==> [003775f000 - 0037fef505]
[ 0.000000] #4 [000009f800 - 0000100000] BIOS reserved ==> [000009f800 - 0000100000]
[ 0.000000] #5 [0000008000 - 000000a000] PGTABLE ==> [0000008000 - 000000a000]
[ 0.000000] found SMP MP-table at [ffff8800000f7c80] 000f7c80
[ 0.000000] [ffffe20000000000-ffffe20001ffffff] PMD -> [ffff880001200000-ffff8800031fffff] on node 0
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000000 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal 0x00100000 -> 0x00100000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x0000009f
[ 0.000000] 0: 0x00000100 -> 0x0007fea0
[ 0.000000] On node 0 totalpages: 523839
[ 0.000000] DMA zone: 2112 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 511717 pages, LIFO batch:31
[ 0.000000] SB4X0 revision 0x11
[ 0.000000] Ignoring ACPI timer override.
[ 0.000000] If you got timer trouble try acpi_use_timer_override
[ 0.000000] ACPI: PM-Timer IO Port: 0x8008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 1, version 0, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 21 low level)
[ 0.000000] Setting APIC routing to flat
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000d0000
[ 0.000000] PM: Registered nosave memory: 00000000000d0000 - 0000000000100000
[ 0.000000] Allocating PCI resources starting at 88000000 (gap: 80000000:60000000)
[ 0.000000] PERCPU: Allocating 64928 bytes of per cpu data
[ 0.000000] NR_CPUS: 64, nr_cpu_ids: 1, nr_node_ids 1
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 513829
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: root=UUID=ce35b58d-ee2c-4311-a0a8-8646007548e1 ro quiet splash
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[ 0.000000] TSC: PIT calibration confirmed by PMTIMER.
[ 0.000000] TSC: using PIT calibration value
[ 0.000000] Detected 1790.812 MHz processor.
[ 0.004000] Console: colour VGA+ 80x25
[ 0.004000] console [tty0] enabled
[ 0.004000] Checking aperture...
[ 0.004000] No AGP bridge found
[ 0.004000] Node 0: aperture @ fb92000000 size 32 MB
[ 0.004000] Aperture beyond 4GB. Ignoring.
[ 0.004000] Memory: 2046696k/2095744k available (3112k kernel code, 48660k reserved, 1575k data, 536k init)
[ 0.004000] CPA: page pool initialized 1 of 1 pages preallocated
[ 0.004000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.004012] Calibrating delay loop (skipped), value calculated using timer frequency.. 3581.62 BogoMIPS (lpj=7163248)
[ 0.004050] Security Framework initialized
[ 0.004060] SELinux: Disabled at boot.
[ 0.004083] AppArmor: AppArmor initialized
[ 0.004324] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.006610] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.007700] Mount-cache hash table entries: 256
[ 0.007941] Initializing cgroup subsys ns
[ 0.007946] Initializing cgroup subsys cpuacct
[ 0.007949] Initializing cgroup subsys memory
[ 0.007972] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 0.008008] CPU: L2 Cache: 512K (64 bytes/line)
[ 0.008011] CPU 0/0 -> Node 0
[ 0.008013] tseg: 007ff00000
[ 0.008037] SMP alternatives: switching to UP code
[ 0.014727] Freeing SMP alternatives: 24k freed
[ 0.014773] ACPI: Core revision 20080609
[ 0.017647] ACPI: Checking initramfs for custom DSDT
[ 0.424556] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1
[ 0.464258] CPU0: AMD Turion(tm) 64 Mobile Technology ML-32 stepping 02
[ 0.464264] Using local APIC timer interrupts.
[ 0.468030] APIC timer calibration result 12436212
[ 0.468032] Detected 12.436 MHz APIC timer.
[ 0.468125] Brought up 1 CPUs
[ 0.468128] Total of 1 processors activated (3581.62 BogoMIPS).
[ 0.468177] CPU0 attaching sched-domain:
[ 0.468181] domain 0: span 0 level NODE
[ 0.468183] groups: 0
[ 0.468533] net_namespace: 1552 bytes
[ 0.468538] Booting paravirtualized kernel on bare hardware
[ 0.468727] Time: 22:10:20 Date: 11/15/08
[ 0.468769] NET: Registered protocol family 16
[ 0.469129] node 0 link 0: io port [1000, fffff]
[ 0.469133] TOM: 0000000080000000 aka 2048M
[ 0.469137] node 0 link 0: mmio [a0000, bffff]
[ 0.469139] node 0 link 0: mmio [f0000000, ffffffff]
[ 0.469142] node 0 link 0: mmio [e0000000, efffffff]
[ 0.469145] node 0 link 0: mmio [80000000, dfffffff]
[ 0.469148] bus: [00,ff] on node 0 link 0
[ 0.469150] bus: 00 index 0 io port: [0, ffff]
[ 0.469152] bus: 00 index 1 mmio: [a0000, bffff]
[ 0.469154] bus: 00 index 2 mmio: [80000000, fcffffffff]
[ 0.469164] ACPI: bus type pci registered
[ 0.469284] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 0
[ 0.469287] PCI: MCFG area at e0000000 reserved in E820
[ 0.469351] PCI: Using MMCONFIG at e0000000 - e00fffff
[ 0.469353] PCI: Using configuration type 1 for base access
[ 0.470917] ACPI: EC: Look up EC in DSDT
[ 0.474267] ACPI: Interpreter enabled
[ 0.474270] ACPI: (supports S0 S3 S4 S5)
[ 0.474287] ACPI: Using IOAPIC for interrupt routing
[ 0.477827] ACPI: EC: non-query interrupt received, switching to interrupt mode
[ 0.556768] ACPI: EC: GPE = 0x1a, I/O: command/status = 0x66, data = 0x62
[ 0.556771] ACPI: EC: driver started in interrupt mode
[ 0.556822] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.556958] pci 0000:00:04.0: PME# supported from D0 D3hot D3cold
[ 0.556962] pci 0000:00:04.0: PME# disabled
[ 0.557023] PCI: 0000:00:13.0 reg 10 32bit mmio: [c0000000, c0000fff]
[ 0.557118] PCI: 0000:00:13.1 reg 10 32bit mmio: [c0001000, c0001fff]
[ 0.557226] PCI: 0000:00:13.2 reg 10 32bit mmio: [c0002000, c0002fff]
[ 0.557287] pci 0000:00:13.2: supports D1
[ 0.557289] pci 0000:00:13.2: supports D2
[ 0.557291] pci 0000:00:13.2: PME# supported from D0 D1 D2 D3hot
[ 0.557296] pci 0000:00:13.2: PME# disabled
[ 0.557341] PCI: 0000:00:14.0 reg 10 io port: [8400, 840f]
[ 0.557349] PCI: 0000:00:14.0 reg 14 32bit mmio: [c0003000, c00033ff]
[ 0.557394] HPET not enabled in BIOS. You might try hpet=force boot option
[ 0.557439] PCI: 0000:00:14.1 reg 10 io port: [8430, 8437]
[ 0.557448] PCI: 0000:00:14.1 reg 14 io port: [8424, 8427]
[ 0.557457] PCI: 0000:00:14.1 reg 18 io port: [8428, 842f]
[ 0.557465] PCI: 0000:00:14.1 reg 1c io port: [8420, 8423]
[ 0.557474] PCI: 0000:00:14.1 reg 20 io port: [8410, 841f]
[ 0.557647] PCI: 0000:00:14.5 reg 10 32bit mmio: [c0003400, c00034ff]
[ 0.557740] PCI: 0000:00:14.6 reg 10 32bit mmio: [c0003800, c00038ff]
[ 0.557892] PCI: 0000:01:05.0 reg 10 32bit mmio: [c8000000, cfffffff]
[ 0.557897] PCI: 0000:01:05.0 reg 14 io port: [9000, 90ff]
[ 0.557901] PCI: 0000:01:05.0 reg 18 32bit mmio: [c0100000, c010ffff]
[ 0.557910] PCI: 0000:01:05.0 reg 30 32bit mmio: [0, 1ffff]
[ 0.557917] pci 0000:01:05.0: supports D1
[ 0.557919] pci 0000:01:05.0: supports D2
[ 0.557933] PCI: bridge 0000:00:01.0 io port: [9000, 9fff]
[ 0.557936] PCI: bridge 0000:00:01.0 32bit mmio: [c0100000, c01fffff]
[ 0.557941] PCI: bridge 0000:00:01.0 64bit mmio pref: [c8000000, cfffffff]
[ 0.557998] PCI: bridge 0000:00:04.0 io port: [0, fff]
[ 0.558001] PCI: bridge 0000:00:04.0 32bit mmio: [0, fffff]
[ 0.558042] PCI: 0000:06:02.0 reg 10 32bit mmio: [c0204000, c0205fff]
[ 0.558148] PCI: 0000:06:04.0 reg 10 32bit mmio: [c0208000, c0208fff]
[ 0.558172] pci 0000:06:04.0: supports D1
[ 0.558173] pci 0000:06:04.0: supports D2
[ 0.558175] pci 0000:06:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.558182] pci 0000:06:04.0: PME# disabled
[ 0.558232] PCI: 0000:06:04.2 reg 10 32bit mmio: [c0209000, c02097ff]
[ 0.558243] PCI: 0000:06:04.2 reg 14 32bit mmio: [c0200000, c0203fff]
[ 0.558309] pci 0000:06:04.2: supports D1
[ 0.558311] pci 0000:06:04.2: supports D2
[ 0.558313] pci 0000:06:04.2: PME# supported from D0 D1 D2 D3hot
[ 0.558319] pci 0000:06:04.2: PME# disabled
[ 0.558366] PCI: 0000:06:04.3 reg 10 32bit mmio: [c0206000, c0207fff]
[ 0.558436] pci 0000:06:04.3: supports D1
[ 0.558438] pci 0000:06:04.3: supports D2
[ 0.558439] pci 0000:06:04.3: PME# supported from D0 D1 D2 D3hot
[ 0.558446] pci 0000:06:04.3: PME# disabled
[ 0.558494] PCI: 0000:06:04.4 reg 10 32bit mmio: [c020a000, c020a0ff]
[ 0.558504] PCI: 0000:06:04.4 reg 14 32bit mmio: [c0209c00, c0209cff]
[ 0.558515] PCI: 0000:06:04.4 reg 18 32bit mmio: [c0209800, c02098ff]
[ 0.558569] pci 0000:06:04.4: supports D1
[ 0.558571] pci 0000:06:04.4: supports D2
[ 0.558573] pci 0000:06:04.4: PME# supported from D0 D1 D2 D3hot
[ 0.558579] pci 0000:06:04.4: PME# disabled
[ 0.558633] PCI: 0000:06:06.0 reg 10 io port: [a000, a0ff]
[ 0.558643] PCI: 0000:06:06.0 reg 14 32bit mmio: [c020a400, c020a4ff]
[ 0.558706] pci 0000:06:06.0: supports D1
[ 0.558708] pci 0000:06:06.0: supports D2
[ 0.558710] pci 0000:06:06.0: PME# supported from D1 D2 D3hot D3cold
[ 0.558716] pci 0000:06:06.0: PME# disabled
[ 0.558768] pci 0000:00:14.4: transparent bridge
[ 0.558776] PCI: bridge 0000:00:14.4 io port: [a000, afff]
[ 0.558782] PCI: bridge 0000:00:14.4 32bit mmio: [c0200000, c02fffff]
[ 0.558829] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.559014] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB4_._PRT]
[ 0.559177] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
[ 0.559350] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
[ 0.562218] ACPI: PCI Interrupt Link [LNKA] (IRQs 10 11) *0, disabled.
[ 0.562357] ACPI: PCI Interrupt Link [LNKB] (IRQs 10 11) *0, disabled.
[ 0.562493] ACPI: PCI Interrupt Link [LNKC] (IRQs 10 11) *0, disabled.
[ 0.562630] ACPI: PCI Interrupt Link [LNKD] (IRQs 10 11) *0, disabled.
[ 0.562766] ACPI: PCI Interrupt Link [LNKE] (IRQs 10 11) *0, disabled.
[ 0.562903] ACPI: PCI Interrupt Link [LNKF] (IRQs 10 11) *0, disabled.
[ 0.563040] ACPI: PCI Interrupt Link [LNKG] (IRQs 10 11) *0, disabled.
[ 0.563183] ACPI: PCI Interrupt Link [LNKH] (IRQs 10 11) *0, disabled.
[ 0.563364] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 0.563405] pnp: PnP ACPI init
[ 0.563415] ACPI: bus type pnp registered
[ 0.565887] pnp 00:08: io resource (0x72-0x73) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565891] pnp 00:08: io resource (0xb0-0xb1) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565895] pnp 00:08: io resource (0x92-0x92) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565898] pnp 00:08: io resource (0x40b-0x40b) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565901] pnp 00:08: io resource (0x4d0-0x4d1) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565904] pnp 00:08: io resource (0x4d6-0x4d6) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565908] pnp 00:08: io resource (0x870-0x87f) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565911] pnp 00:08: io resource (0xc00-0xc01) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565914] pnp 00:08: io resource (0xc14-0xc14) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565918] pnp 00:08: io resource (0xc50-0xc52) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565921] pnp 00:08: io resource (0xc6c-0xc6c) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565924] pnp 00:08: io resource (0xc6f-0xc6f) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565927] pnp 00:08: io resource (0xcd4-0xcd5) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565931] pnp 00:08: io resource (0xcd6-0xcd7) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565934] pnp 00:08: io resource (0xcd8-0xcdf) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565937] pnp 00:08: io resource (0xf40-0xf47) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.565941] pnp 00:08: io resource (0x280-0x293) overlaps 0000:00:04.0 BAR 7 (0x0-0xfff), disabling
[ 0.566157] pnp 00:09: mem resource (0xe0000-0xfffff) overlaps 0000:00:04.0 BAR 8 (0x0-0xfffff), disabling
[ 0.566161] pnp 00:09: mem resource (0x0-0xfff) overlaps 0000:00:04.0 BAR 8 (0x0-0xfffff), disabling
[ 0.566174] pnp 00:09: mem resource (0x0-0xfff) overlaps 0000:01:05.0 BAR 6 (0x0-0x1ffff), disabling
[ 0.588113] pnp: PnP ACPI: found 10 devices
[ 0.588116] ACPI: ACPI bus type pnp unregistered
[ 0.588516] PCI: Using ACPI for IRQ routing
[ 0.588524] pci 0000:00:04.0: BAR 7: can't allocate resource
[ 0.588527] pci 0000:00:04.0: BAR 8: can't allocate resource
[ 0.600054] NET: Registered protocol family 8
[ 0.600057] NET: Registered protocol family 20
[ 0.600101] NetLabel: Initializing
[ 0.600103] NetLabel: domain hash size = 128
[ 0.600104] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.600121] NetLabel: unlabeled traffic allowed by default
[ 0.601055] tracer: 1286 pages allocated for 65536 entries of 80 bytes
[ 0.601057] actual entries 65586
[ 0.601251] AppArmor: AppArmor Filesystem Enabled
[ 0.601282] ACPI: RTC can wake from S4
[ 0.612056] system 00:01: iomem range 0xe0000000-0xefffffff could not be reserved
[ 0.612059] system 00:01: iomem range 0xfec00000-0xfec00fff could not be reserved
[ 0.612063] system 00:01: iomem range 0xfee00000-0xfee00fff could not be reserved
[ 0.612076] system 00:08: ioport range 0x1080-0x1080 has been reserved
[ 0.612080] system 00:08: ioport range 0x8000-0x805f has been reserved
[ 0.612087] system 00:09: iomem range 0xfff80000-0xffffffff could not be reserved
[ 0.617243] pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
[ 0.617247] pci 0000:00:01.0: IO window: 0x9000-0x9fff
[ 0.617252] pci 0000:00:01.0: MEM window: 0xc0100000-0xc01fffff
[ 0.617255] pci 0000:00:01.0: PREFETCH window: 0x000000c8000000-0x000000cfffffff
[ 0.617260] pci 0000:00:04.0: PCI bridge, secondary bus 0000:02
[ 0.617262] pci 0000:00:04.0: IO window: disabled
[ 0.617265] pci 0000:00:04.0: MEM window: disabled
[ 0.617268] pci 0000:00:04.0: PREFETCH window: disabled
[ 0.617276] pci 0000:06:04.0: CardBus bridge, secondary bus 0000:07
[ 0.617278] pci 0000:06:04.0: IO window: 0x00a400-0x00a4ff
[ 0.617284] pci 0000:06:04.0: IO window: 0x00a800-0x00a8ff
[ 0.617291] pci 0000:06:04.0: PREFETCH window: 0x88000000-0x8bffffff
[ 0.617297] pci 0000:06:04.0: MEM window: 0x8c000000-0x8fffffff
[ 0.617304] pci 0000:00:14.4: PCI bridge, secondary bus 0000:06
[ 0.617308] pci 0000:00:14.4: IO window: 0xa000-0xafff
[ 0.617315] pci 0000:00:14.4: MEM window: 0xc0200000-0xc02fffff
[ 0.617321] pci 0000:00:14.4: PREFETCH window: 0x00000088000000-0x0000008bffffff
[ 0.617342] pci 0000:00:04.0: setting latency timer to 64
[ 0.617367] pci 0000:06:04.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 0.617374] bus: 00 index 0 io port: [0, ffff]
[ 0.617377] bus: 00 index 1 mmio: [0, ffffffffffffffff]
[ 0.617379] bus: 01 index 0 io port: [9000, 9fff]
[ 0.617381] bus: 01 index 1 mmio: [c0100000, c01fffff]
[ 0.617384] bus: 01 index 2 mmio: [c8000000, cfffffff]
[ 0.617386] bus: 01 index 3 mmio: [0, 0]
[ 0.617388] bus: 02 index 0 mmio: [0, fff]
[ 0.617390] bus: 02 index 1 mmio: [0, fffff]
[ 0.617392] bus: 02 index 2 mmio: [0, 0]
[ 0.617394] bus: 02 index 3 mmio: [0, 0]
[ 0.617396] bus: 06 index 0 io port: [a000, afff]
[ 0.617398] bus: 06 index 1 mmio: [c0200000, c02fffff]
[ 0.617400] bus: 06 index 2 mmio: [88000000, 8bffffff]
[ 0.617402] bus: 06 index 3 io port: [0, ffff]
[ 0.617405] bus: 06 index 4 mmio: [0, ffffffffffffffff]
[ 0.617407] bus: 07 index 0 io port: [a400, a4ff]
[ 0.617409] bus: 07 index 1 io port: [a800, a8ff]
[ 0.617411] bus: 07 index 2 mmio: [88000000, 8bffffff]
[ 0.617413] bus: 07 index 3 mmio: [8c000000, 8fffffff]
[ 0.617430] NET: Registered protocol family 2
[ 0.656155] IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.657331] TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
[ 0.661752] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 0.662838] TCP: Hash tables configured (established 262144 bind 65536)
[ 0.662842] TCP reno registered
[ 0.672151] NET: Registered protocol family 1
[ 0.672297] checking if image is initramfs... it is
[ 1.120039] Switched to high resolution mode on CPU 0
[ 1.540920] Freeing initrd memory: 8769k freed
[ 1.551635] audit: initializing netlink socket (disabled)
[ 1.551653] type=2000 audit(1226787020.548:1): initialized
[ 1.558229] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 1.561357] VFS: Disk quotas dquot_6.5.1
[ 1.561472] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.561608] msgmni has been set to 4014
[ 1.561765] io scheduler noop registered
[ 1.561767] io scheduler anticipatory registered
[ 1.561769] io scheduler deadline registered
[ 1.561912] io scheduler cfq registered (default)
[ 1.561924] pci 0000:00:00.0: MSI quirk detected; MSI disabled
[ 1.561985] pci 0000:01:05.0: Boot video device
[ 1.562124] pcieport-driver 0000:00:04.0: setting latency timer to 64
[ 1.562146] pcieport-driver 0000:00:04.0: found MSI capability
[ 1.562150] pci_express 0000:00:04.0:pcie00: allocate port service
[ 1.562206] pci_express 0000:00:04.0:pcie01: allocate port service
[ 1.588097] aer 0000:00:04.0:pcie01: AER service couldn't init device: no _OSC support
[ 1.631364] Linux agpgart interface v0.103
[ 1.631372] Serial: 8250/16550 driver4 ports, IRQ sharing enabled
[ 1.632165] serial 0000:00:14.6: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 1.632174] serial 0000:00:14.6: PCI INT B disabled
[ 1.634157] brd: module loaded
[ 1.634249] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 1.634396] PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
[ 1.654988] i8042.c: Detected active multiplexing controller, rev 1.1.
[ 1.671076] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.671082] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[ 1.671084] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[ 1.671087] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[ 1.671089] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[ 1.680136] mice: PS/2 mouse device common for all mice
[ 1.680296] rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
[ 1.680326] rtc0: alarms up to one month
[ 1.680373] cpuidle: using governor ladder
[ 1.680375] cpuidle: using governor menu
[ 1.680837] TCP cubic registered
[ 1.681115] registered taskstats version 1
[ 1.681276] Magic number: 0:110:199
[ 1.681323] tty ttype: hash matches
[ 1.681423] rtc_cmos 00:04: setting system clock to 2008-11-15 22:10:21 UTC (1226787021)
[ 1.681426] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 1.681428] EDD information not available.
[ 1.681488] Freeing unused kernel memory: 536k freed
[ 1.681876] Write protecting the kernel read-only data: 4348k
[ 1.698880] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 1.888027] fuse init (API version 7.9)
[ 2.001734] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[ 2.001804] processor ACPI0007:00: registered as cooling_device0
[ 2.001808] ACPI: Processor [CPU0] (supports 8 throttling states)
[ 2.005515] Marking TSC unstable due to TSC halts in idle
[ 2.016629] thermal LNXTHERM:01: registered as thermal_zone0
[ 2.030998] ACPI: Thermal Zone [THRM] (0 C)
[ 2.536647] usbcore: registered new interface driver usbfs
[ 2.536686] usbcore: registered new interface driver hub
[ 2.536773] usbcore: registered new device driver usb
[ 2.542937] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.542977] ohci_hcd 0000:00:13.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 2.542995] ohci_hcd 0000:00:13.0: OHCI Host Controller
[ 2.543056] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1
[ 2.543090] ohci_hcd 0000:00:13.0: irq 19, io mem 0xc0000000
[ 2.600288] usb usb1: configuration #1 chosen from 1 choice
[ 2.600321] hub 1-0:1.0: USB hub found
[ 2.600336] hub 1-0:1.0: 4 ports detected
[ 2.607281] No dock devices found.
[ 2.651462] SCSI subsystem initialized
[ 2.704432] ohci_hcd 0000:00:13.1: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 2.704456] ohci_hcd 0000:00:13.1: OHCI Host Controller
[ 2.704490] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 2
[ 2.704511] ohci_hcd 0000:00:13.1: irq 19, io mem 0xc0001000
[ 2.734462] libata version 3.00 loaded.
[ 2.758401] 8139too Fast Ethernet driver 0.9.28
[ 2.764238] usb usb2: configuration #1 chosen from 1 choice
[ 2.764272] hub 2-0:1.0: USB hub found
[ 2.764286] hub 2-0:1.0: 4 ports detected
[ 2.868574] ehci_hcd 0000:00:13.2: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 2.868593] ehci_hcd 0000:00:13.2: EHCI Host Controller
[ 2.868623] ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 3
[ 2.868686] ehci_hcd 0000:00:13.2: irq 19, io mem 0xc0002000
[ 2.880082] ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 2.880287] usb usb3: configuration #1 chosen from 1 choice
[ 2.880316] hub 3-0:1.0: USB hub found
[ 2.880326] hub 3-0:1.0: 8 ports detected
[ 2.984788] pata_atiixp 0000:00:14.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 2.984840] pata_atiixp 0000:00:14.1: setting latency timer to 64
[ 2.984985] scsi0 : pata_atiixp
[ 2.985130] scsi1 : pata_atiixp
[ 2.986750] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x8410 irq 14
[ 2.986753] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x8418 irq 15
[ 3.199800] ata1.00: ATA-7: WDC WD1600BEVE-00UYT0, 01.04A01, max UDMA/100
[ 3.199805] ata1.00: 312581808 sectors, multi 16: LBA48
[ 3.213578] ata1.00: configured for UDMA/100
[ 3.377219] ata2.00: ATAPI: HL-DT-ST DVD-RW GWA-4082N, CC15, max MWDMA2
[ 3.392607] ata2.00: configured for MWDMA2
[ 3.392674] isa bounce pool size: 16 pages
[ 3.392787] scsi 0:0:0:0: Direct-Access ATA WDC WD1600BEVE-0 01.0 PQ: 0 ANSI: 5
[ 3.396658] scsi 1:0:0:0: CD-ROM HL-DT-ST DVD-RW GWA-4082N CC15 PQ: 0 ANSI: 5
[ 3.398107] b43-pci-bridge 0000:06:02.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 3.456698] ssb: Sonics Silicon Backplane found on PCI device 0000:06:02.0
[ 3.456832] ohci1394 0000:06:04.2: PCI INT C -> GSI 23 (level, low) -> IRQ 23
[ 3.506638] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[23] MMIO=[c0209000-c02097ff] Max Packet=[2048] IR/IT contexts=[4/8]
[ 3.511100] 8139too 0000:06:06.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 3.512414] eth0: RealTek RTL8139 at 0xa000, 00:0f:b0:be:ea:6a, IRQ 22
[ 3.512417] eth0: Identified 8139 chip type 'RTL-8100B/8139D'
[ 3.515545] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 3.900963] scsi 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.901006] scsi 1:0:0:0: Attached scsi generic sg1 type 5
[ 3.927067] Driver 'sd' needs updating - please use bus_type methods
[ 3.927230] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[ 3.927259] sd 0:0:0:0: [sda] Write Protect is off
[ 3.927261] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3.927307] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.927403] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
[ 3.927427] sd 0:0:0:0: [sda] Write Protect is off
[ 3.927429] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3.927472] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.927477] sda:<4>Driver 'sr' needs updating - please use bus_type methods
[ 3.971572] sda1 sda2 sda3
[ 4.003473] sd 0:0:0:0: [sda] Attached SCSI disk
[ 4.016944] sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
[ 4.016950] Uniform CD-ROM driver Revision: 3.20
[ 4.017080] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 4.338832] PM: Starting manual resume from disk
[ 4.338836] PM: Resume from partition 8:2
[ 4.338838] PM: Checking hibernation image.
[ 4.339113] PM: Resume from disk failed.
[ 4.387629] kjournald starting. Commit interval 5 seconds
[ 4.387649] EXT3-fs: mounted filesystem with ordered data mode.
[ 4.780194] ieee1394: Host added: ID:BUS[0-00:1023] GUID[5c3f0200c17e407a]
[ 13.134256] udevd version 124 started
[ 13.610706] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 13.660773] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 13.924797] piix4_smbus 0000:00:14.0: SMBus Host Controller at 0x8400, revision 0
[ 13.957041] input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[ 13.972053] ACPI: Power Button (FF) [PWRF]
[ 13.972218] input: Sleep Button (FF) as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input3
[ 13.988070] ACPI: Sleep Button (FF) [SLPF]
[ 13.988244] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input4
[ 13.988335] ACPI: Lid Switch [LID]
[ 13.988430] input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input5
[ 14.004045] ACPI: Power Button (CM) [PWRB]
[ 14.019350] ACPI: WMI: Mapper loaded
[ 14.147116] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[ 14.320732] [fglrx] Maximum main memory to use for locked dma buffers: 1880 MBytes.
[ 14.320769] [fglrx] vendor: 1002 device: 5955 count: 1
[ 14.321298] [fglrx] ioport: bar 1, base 0x9000, size: 0x100
[ 14.321320] pci 0000:01:05.0: power state changed by ACPI to D0
[ 14.321329] pci 0000:01:05.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 14.321982] [fglrx] PAT is enabled successfully!
[ 14.322027] [fglrx] module loaded - fglrx 8.54.3 [Oct 10 2008] with 1 minors
[ 14.352243] ACPI: AC Adapter [ACAD] (on-line)
[ 14.794263] ACPI: Battery Slot [BAT1] (battery present)
[ 14.994631] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A03:00/device:0f/device:10/input/input6
[ 15.004078] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 15.836550] Yenta: CardBus bridge found at 0000:06:04.0 [103c:309b]
[ 15.836577] Yenta: Enabling burst memory read transactions
[ 15.836583] Yenta: Using INTVAL to route CSC interrupts to PCI
[ 15.836585] Yenta: Routing CardBus interrupts to ISA
[ 15.836592] Yenta TI: socket 0000:06:04.0, mfunc 0x00a61b22, devctl 0x64
[ 16.069225] Yenta: ISA IRQ mask 0x0ef8, PCI irq 20
[ 16.069231] Socket status: 30000006
[ 16.069235] pcmcia: parent PCI bridge I/O window: 0xa000 - 0xafff
[ 16.069239] pcmcia: parent PCI bridge Memory window: 0xc0200000 - 0xc02fffff
[ 16.069241] pcmcia: parent PCI bridge Memory window: 0x88000000 - 0x8bffffff
[ 16.097077] tifm_7xx1 0000:06:04.3: PCI INT B -> GSI 23 (level, low) -> IRQ 23
[ 16.234653] input: PC Speaker as /devices/platform/pcspkr/input/input7
[ 16.287396] sdhci: Secure Digital Host Controller Interface driver
[ 16.287399] sdhci: Copyright(c) Pierre Ossman
[ 16.322381] sdhci-pci 0000:06:04.4: SDHCI controller found [104c:8034] (rev 0)
[ 16.322402] sdhci-pci 0000:06:04.4: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 16.322487] mmc0: SDHCI controller on PCI [0000:06:04.4] using PIO
[ 16.324541] mmc1: SDHCI controller on PCI [0000:06:04.4] using PIO
[ 16.324584] mmc2: SDHCI controller on PCI [0000:06:04.4] using PIO
[ 16.512057] b43-phy0: Broadcom 4318 WLAN found
[ 16.616599] phy0: Selected rate control algorithm 'pid'
[ 16.680760] ATI IXP MC97 controller 0000:00:14.6: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 16.781128] Broadcom 43xx driver loaded [ Features: PLR, Firmware-ID: FW13 ]
[ 16.792105] MC'97 0 converters and GPIO not ready (0x1)
[ 16.793690] ATI IXP AC97 controller 0000:00:14.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 17.107076] Synaptics Touchpad, model: 1, fw: 6.2, id: 0x1a0b1, caps: 0xa04713/0x200000
[ 17.172211] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input8
[ 19.947303] loop: module loaded
[ 20.001283] lp: driver loaded but no devices found
[ 20.314544] Adding 248996k swap on /dev/sda2. Priority:-1 extents:1 across:248996k
[ 20.871095] EXT3 FS on sda3, internal journal
[ 21.117316] device-mapper: uevent: version 1.0.3
[ 21.119367] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com
[ 22.367142] type=1505 audit(1226805042.547:2): operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" name2="default" pid=3982
[ 22.367432] type=1505 audit(1226805042.547:3): operation="profile_load" name="/usr/sbin/cupsd" name2="default" pid=3982
[ 22.513297] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 22.575323] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[ 23.879379] NET: Registered protocol family 17
[ 28.132841] powernow-k8: Found 1 AMD Turion(tm) 64 Mobile Technology ML-32 processors (1 cpu cores) (version 2.20.00)
[ 28.132895] powernow-k8: 0 : fid 0xa (1800 MHz), vid 0x4
[ 28.132897] powernow-k8: 1 : fid 0x8 (1600 MHz), vid 0x6
[ 28.132900] powernow-k8: 2 : fid 0x0 (800 MHz), vid 0x16
[ 28.132941] powernow-k8: ph2 null fid transition 0xa
[ 29.155603] warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
[ 29.510865] ppdev: user-space parallel port driver
[ 32.116049] Clocksource tsc unstable (delta = -113874087 ns)
[ 34.234995] input: b43-phy0 as /devices/virtual/input/input9
[ 34.324082] firmware: requesting b43/ucode5.fw
[ 34.575805] firmware: requesting b43/pcm5.fw
[ 34.593044] firmware: requesting b43/b0g0initvals5.fw
[ 34.612896] firmware: requesting b43/b0g0bsinitvals5.fw
[ 34.883050] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
[ 35.000609] Registered led device: b43-phy0::radio
[ 36.117652] Bluetooth: Core ver 2.13
[ 36.122522] NET: Registered protocol family 31
[ 36.122534] Bluetooth: HCI device and connection manager initialized
[ 36.122542] Bluetooth: HCI socket layer initialized
[ 36.180194] Bluetooth: L2CAP ver 2.11
[ 36.180208] Bluetooth: L2CAP socket layer initialized
[ 36.273301] Bluetooth: SCO (Voice Link) ver 0.6
[ 36.273314] Bluetooth: SCO socket layer initialized
[ 36.322806] Bluetooth: RFCOMM socket layer initialized
[ 36.323378] Bluetooth: RFCOMM TTY layer initialized
[ 36.323390] Bluetooth: RFCOMM ver 1.10
[ 36.327641] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 36.327654] Bluetooth: BNEP filters: protocol multicast
[ 36.513275] Bridge firewalling registered
[ 36.517896] pan0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
[ 36.660769] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[ 39.842712] [fglrx] GART Table is not in FRAME_BUFFER range
[ 39.853746] [fglrx] Reserved FB block: Shared offset:0, size:40000
[ 39.853762] [fglrx] Reserved FB block: Unshared offset:7ff5000, size:b000
[ 146.061928] psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 4
[ 146.064056] psmouse.c: TouchPad at isa0060/serio4/input0 lost sync at byte 1
[ 146.074427] psmouse.c: TouchPad at isa0060/serio4/input0 - driver resynched.
[ 477.279521] NET: Registered protocol family 10
[ 477.284588] lo: Disabled Privacy Extensions
[ 477.288891] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 488.140061] eth0: no IPv6 routers present

/etc/init.d/networking restart
* Reconfiguring network interfaces...ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
rm: cannot remove `/var/run/network/initialized': Permission denied


My wireless does work. Unfortunately it won't connect to me WPA connection.

wieman01
November 16th, 2008, 05:27 AM
Starting /sbin/wpa_supplicant...
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1

kannedheat,

This isn't good news at all. What wireless adapter have you got there and what driver did you install?

When restarting your network, you need to add 'sudo' in front and enter your password when prompted:
sudo /etc/init.d/networking restart

kannedheat
November 16th, 2008, 01:29 PM
kannedheat,

This isn't good news at all. What wireless adapter have you got there and what driver did you install?

When restarting your network, you need to add 'sudo' in front and enter your password when prompted:

sudo /etc/init.d/networking restart

* Reconfiguring network interfaces... [ OK ]

sudo lshw -C network

*-network:0
description: Network controller
product: BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller
vendor: Broadcom Corporation
physical id: 2
bus info: pci@0000:06:02.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=b43-pci-bridge latency=64 module=ssb
*-network:1
description: Ethernet interface
product: RTL-8139/8139C/8139C+
vendor: Realtek Semiconductor Co., Ltd.
physical id: 6
bus info: pci@0000:06:06.0
logical name: eth0
version: 10
serial: 00:0f:b0:be:ea:6a
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full ip=192.168.1.42 latency=128 link=yes maxlatency=64 mingnt=32 module=8139too multicast=yes port=MII speed=100MB/s
*-network:0 DISABLED
description: Wireless interface
physical id: 2
logical name: wlan0
serial: 00:14:a5:63:75:a6
capabilities: ethernet physical wireless
configuration: broadcast=yes multicast=yes wireless=IEEE 802.11bg
*-network:1 DISABLED
description: Ethernet interface
physical id: 3
logical name: pan0
serial: 46:76:66:c7:f2:64
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes

kannedheat
November 21st, 2008, 05:29 PM
Well I dropped trying to get WPA to work on Intrepid 8.10. I went and setup WEP encryption, which worked with no problems at all except now I have to change eight other system that were connected to my network. Thanks for trying =)

blommie
November 21st, 2008, 11:16 PM
Hi I'm desperately looking for assistance.
Up to two days ago my WPA Security Wireless connection was working fine then I had a update and things changed. I now can't get my WPA wireless connection to work BUT when I disable the WPA security it connects no problem. I have a ACER ASPIRE 4315 Notebook with Linux and a DLINK G604T Wireless router. I'm not to sure how to set up the wireless WPA connection though. When I go to network settings and click on the wireless connections properties it brings up wlan0 for Security then I do the WPA PERSONAL settings but do I click the Automatic Configuration(DHCP) option? Also when I click the enable roaming button all that detail I just completed disappears. .Linux is very new to me so don't know where to look.
Terminal mode is like Greek to me I don't know much about the commands. I have to google a lot to try and figure out what to do.
I have looked through this thread but most of it is above my head. WHat I do see is for your assistance you need a few things from me like
sudo iwlist scan
sudo lshw -C network

Well here they are:

sudo iwlist scan
[sudo] password for blommie:
lo Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:17:9A:1E:DC:38
ESSID:"DLINK"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:100/100 Signal level:-26 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Extra:bcn_int=200
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK

eth0 Interface doesn't support scanning.




sudo lshw -C network
*-network
description: Ethernet interface
product: 88E8039 PCI-E Fast Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 15
serial: 00:1d:72:0e:1d:4e
size: 100MB/s
capacity: 100MB/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.20 duplex=full firmware=N/A ip=10.1.1.3 latency=0 link=yes module=sky2 multicast=yes port=twisted pair speed=100MB/s
*-network
description: Wireless interface
product: AR242x 802.11abg Wireless PCI Express Adapter
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlan0
version: 01
serial: 00:17:c4:09:b1:47
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+net5211 driverversion=1.52+,05/02/2007,5.3.0.45 latency=0 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11g


Please help thanks

wieman01
November 22nd, 2008, 10:21 AM
blommie,

DHCP is fine, so leave it like it is. The scan ("iwlist scan") recognizes your WPA secured network, therefore I don't thing that's an issue.

Can you connect to your network while all security is turned off? That's an important first step we got to take.

jodef
November 22nd, 2008, 03:07 PM
Is this method applicable to more recent versions of ubuntu? I ask because I am new to networking / wireless networking in ubuntu. Recently bought a linksys router right now I am posting using the wireless network w/out security enabled.

I had the wireless network configured to use WEP it was detected and I was prompted for security passphrase but when it connected it didn't auto receive an IP address. When I disabled the security setting everything works ok.

Will the instructions work using 8.04? had to downgrade from 8.10 problem with my intel 3945abg wireless card.

Thanks.

blommie
November 22nd, 2008, 04:33 PM
Hi Wieman01

Thanks for your reply and assistance. To answer your question: Yes if I turn off all security on the wireless router I can connect no problem at all. With WPA back on I cannot connect.

Thanks

wieman01
November 23rd, 2008, 09:53 AM
blommie,

DHCP is fine, so leave it like it is. The scan ("iwlist scan") recognizes your WPA secured network, therefore I don't thing that's an issue.

Can you connect to your network while all security is turned off? That's an important first step we got to take.
What about WEP secured ones? Success as well?

wieman01
November 23rd, 2008, 09:56 AM
Is this method applicable to more recent versions of ubuntu? I ask because I am new to networking / wireless networking in ubuntu. Recently bought a linksys router right now I am posting using the wireless network w/out security enabled.

I had the wireless network configured to use WEP it was detected and I was prompted for security passphrase but when it connected it didn't auto receive an IP address. When I disabled the security setting everything works ok.

Will the instructions work using 8.04? had to downgrade from 8.10 problem with my intel 3945abg wireless card.

Thanks.
They should also apply to 8.10, but that's the theory. I have not upgraded yet, so frankly I can only use common sense to judge. :-) To answer your question, yes, it should.

Neither WEP nor WPA does the job for you? That is odd, because WEP should by all means be OK.

blommie
November 23rd, 2008, 03:43 PM
Your question: What about WEP secured ones? Success as well?

Sorry is WPA and WEP the same? I have another laptop with Windows XP and it's configured for WPA and it works fine.


On the linux box only when I configure WPA security then I cannot connect when I disable all security in the router I can connect fine.

wieman01
November 23rd, 2008, 04:20 PM
Your question: What about WEP secured ones? Success as well?

Sorry is WPA and WEP the same? I have another laptop with Windows XP and it's configured for WPA and it works fine.


On the linux box only when I configure WPA security then I cannot connect when I disable all security in the router I can connect fine.
WPA and WEP aren't the same. Two different protocols. Please try out both. Not sure what's wrong at this stage.

blommie
November 23rd, 2008, 04:51 PM
Hi Wieman01

Yes I just changed the security to WEP and no problem I can connect no worries.

WPA is more secure than WEP correct? If so I would prefer WPA to work rather that WEP. You tell me I'm not a expert on these things.

Thanks for your help so far.

wieman01
November 24th, 2008, 05:50 PM
Hi Wieman01

Yes I just changed the security to WEP and no problem I can connect no worries.

WPA is more secure than WEP correct? If so I would prefer WPA to work rather that WEP. You tell me I'm not a expert on these things.

Thanks for your help so far.
Then there is indeed a problem with WPA... dang. Well, WEP is very insecure (see signature) and it would take even unexperienced users very little time to crack the key. Personally I would never use WEP under any circumstances.

Not sure what's wrong at the moment. You use "ndiswrapper" for your wireless adapter and the corresponding Windows driver. Could you check on the manufacturer's website if there is a more up-to-date driver available that you could install? Thing is, you driver might not fully support WPA, therefore these issues.

blommie
November 24th, 2008, 07:54 PM
Hi wieman01

How secure will a combination of WEP and MAC Filtering be?

blommie
November 25th, 2008, 03:06 AM
. I have noticed something else when I start up my notebook I get for Kernels I can pick from I can't remember that before and it seemed the kernels were upgrade must have been when I did a auto update. The 4 I can choose from is:

Linux Mint Kernel 2.6.24-21
Linux Mint Kernel 2.6.24-21 Recovery Mode
Linux Mint Kernel 2.6.24-16
Linux Mint Kernel 2.6.24-16 Recovery Mode
Linux Mint Kernel memtest86+

There wont be a conflict will there?

wieman01
November 25th, 2008, 02:25 PM
Hi wieman01

How secure will a combination of WEP and MAC Filtering be?
Completely useless. :-) You can actually clone/fake Mac addresses:
ifconfig eth1 down hw ether 00:00:00:00:00:01
ifconfig eth1 up
As simple as that.

wieman01
November 25th, 2008, 02:26 PM
There won't be any conflict, don't worry. But what system are you on? Ubuntu 8.10?

blommie
November 25th, 2008, 10:04 PM
No sorry I'm on Linux Mint Elyssa.

kevdog
November 25th, 2008, 11:59 PM
Weiman

Dont know if you are actively maintaining this thread, however with Ibex (yes I read the disclaimer and it didn't say specifically tested with ibex), however the driver named to be used with wpa_supplicant is now almost always wext. Due to the changes with the wireless tools package, wpa_supplicant is now no longer compiled against the madwifi or ndiswrapper or intel sources. They now all default to wext. I think atmel may be an exception, however if using Ibex, wpa_supplicant -h will show specifically the sources wpa_aupplicant was compiled against.

blommie
November 26th, 2008, 02:27 AM
Guys Wieman01 and kevdog

I did another command on my linux box namely:

lshw -class network

Please have a look and see if anything sticks out please I'm getting desperate all I want is for the wireless WPA connection to work as before:

lshw -class network
WARNING: you should run this program as super-user.
*-network
description: Ethernet interface
product: 88E8039 PCI-E Fast Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 15
serial: 00:1d:72:0e:1d:4e
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=sky2 driverversion=1.20 firmware=N/A ip=10.1.1.4 latency=0 module=sky2 multicast=yes
*-network
description: Wireless interface
product: AR242x 802.11abg Wireless PCI Express Adapter
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlan0
version: 01
serial: 00:17:c4:09:b1:47
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+net5211 driverversion=1.52+,05/02/2007,5.3.0.45 latency=0 module=ndiswrapper multicast=yes wireless=IEEE 802.11g

wieman01
November 26th, 2008, 02:28 AM
Hi Kevdog,

Nice to hear from you.

I am still maintaining this thread, or say, I mean to. Good point. From your perspective, is this thread still relevant for Ibex users?

I tried out Kubuntu 8.10 last night and was impressed to see that Network Manager (yes, that very tool) hooked up to my network immediately and even let me configure a static IP address. Amazing.

No need for "ndiswrapper" (Ralink) either... Quite impressed.

So what do you think? Your tutorial seem more appropriate for all related questions than this one.

blommie
November 27th, 2008, 01:25 AM
Hi I'm thinking about starting all over again by re-installing Elyssa or even upgrading to Felicia or another distro.

Can you please give me suggestions on that road please. All I want is a reliable wireless connection in the OS also I have a problem with my CD /DVD COMBO player so I will have to do the re-install/upgrade via USB .... What are you thoughts on that please as a layman I am open for suggestions.

Thanks

kevdog
November 27th, 2008, 01:52 AM
weiman

Not sure if you are hanging out in the networking section a lot these days -- I get kind of burnt out over there also -- however this thread is totally relevant. I found network manager to work out of the box with both my broadcom and atheros card, however a lot of people are still resorting to wicd to make things work. Still others are modifying the interfaces file as you have suggested.

Wireless support in my opinion is really screwed up. Just when I think I have a handle on the chipsets, a new kernel is released along with new chipsets, and the old solutions don't work any longer. As an example, the old way I used to use with my Broadcom card using ndiswrapper, no longer works with any wpa2 based encryption. The b43 and madwifi modules however do connect without any problems.

Please keep support of this thread as long as you can.

See you around.

kevdog
November 27th, 2008, 01:55 AM
Guys Wieman01 and kevdog

I did another command on my linux box namely:

lshw -class network

Please have a look and see if anything sticks out please I'm getting desperate all I want is for the wireless WPA connection to work as before:

lshw -class network
WARNING: you should run this program as super-user.
*-network
description: Ethernet interface
product: 88E8039 PCI-E Fast Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 15
serial: 00:1d:72:0e:1d:4e
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=sky2 driverversion=1.20 firmware=N/A ip=10.1.1.4 latency=0 module=sky2 multicast=yes
*-network
description: Wireless interface
product: AR242x 802.11abg Wireless PCI Express Adapter
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlan0
version: 01
serial: 00:17:c4:09:b1:47
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+net5211 driverversion=1.52+,05/02/2007,5.3.0.45 latency=0 module=ndiswrapper multicast=yes wireless=IEEE 802.11g

Just a thought -- I know the atheros 242x chipset is a royal pai in the butt, but why do you want to use ndiswrapper??? There are plenty of threads posted within the last 2 days on the networking subforum that show how to use the native madwifi drivers (which I think you have to compile -- SCARY -- no not really at all). I really would take a look at these threads and save yourself a lot of later headache. If you get started in one of the threads I can help you since I've compiled madwifi drivers like 1000 times (but not for the 242x chipset).

blommie
November 27th, 2008, 05:12 AM
kevdog all I want is for my wpa wireless to work no matter how beggars can't be choosers so if it is ndiswrapper or ath_pci or a big 18 wheel driver and it get my WPA to work like it worked before I would be over the moon. So you tell me how to go about getting it sorted and I will be hanging on your lips so to speak.

I'm close to go back to the start and reload ELyssa from a DVD and do the hole thing over again but if I can avoid it would be great.

Thanks

kevdog
November 27th, 2008, 08:45 AM
Do a search for Atheros 242x in the fourms, and then point me to the post. I'm not going to do all the work for you -- although you may not think so, but this is an excellent, and rather easy way to become independent and learn how to do things within Ubuntu. I will tell you its not hard to do, but I'm not going to specifically lead you by the hand at everystep.

PS Here is a tip: http://www.ubuntugeek.com/how-to-get-atheros-ar5007eg-or-ar242x-wireless-cards-may-be-other-models-working-in-ubuntu-810-intrepid-ibex.html

wieman01
November 27th, 2008, 05:52 PM
Kevdog,

It's Wieman in fact, not Weiman. ;-) Always wanted to tell you that. :-)

I don't hang out in the wireless section a lot these day to be honest. I meant to but other stuff (I wouldn't more important but...) kept me from being more active. I should definitely get back into it, but I know it's in good hands at the moment.

Yes, I also got a little burned out... happens I guess. Keep up the good work, I know a lot of people appreciate it!

P.S.: I'll update this thread soonest. If you have further suggestions, let me know.

blommie
November 27th, 2008, 07:00 PM
kevdog thanks for the tip so is it just a matter of implementing methode 1 in my notebook and see how I get on?

kevdog
November 28th, 2008, 09:24 AM
Sorry wieman -- hope you were not offended. I see I've stuck my foot in my mouth many, many times.:(

wieman01
November 28th, 2008, 03:50 PM
Sorry wieman -- hope you were not offended. I see I've stuck my foot in my mouth many, many times.:(
:-) Just kiddin'. No problem of course.

misha680
December 3rd, 2008, 11:56 PM
Hi, I believe this is correct for an ipw2100 card (I think), hidden network, WPA2 Enterprise, PEAP, Dynamic WEP, None for Phase2? Please let
me know if obvious errors. I will try tomorrow. My wired network is acting weird.

auto eth0
iface eth0 inet dhcp
wpa-driver wext
wpa-ssid ssid
wpa-ap-scan 2
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt IEEE8021X
wpa-eap PEAP
wpa-identity identity
wpa-password password


Thanks
Misha

mssever
December 4th, 2008, 02:37 AM
My Requirements:
1. WPA2 / RSN
2. AES / CCMP
3. Hidden ESSID (no broadcast)
4. Static IP (because I use port forwarding & firewall, etc.)
5. Pre-shared key (no EAP)
@wieman01:

I noticed you haven't yet updated this guide for Intrepid. Since the version of NetworkManager in Intrepid now allows static IPs (finally!), and since NM has supported the other items on your requirements list for at least several Ubuntu releases, am I correct in understanding that your HOWTO is unnecessary for Intrepid? Or am I missing something (I don't have exotic hardware, and I only know the hardware I own...)?

wieman01
December 4th, 2008, 04:17 AM
@mssever:

With Intrepid, yes, there is a good chance you won't need this tutorial. Static IP support for wireless is new (at least when using WPA), I hope you don't need this tutorial any longer.

mssever
December 4th, 2008, 09:29 PM
@mssever:

With Intrepid, yes, there is a good chance you won't need this tutorial. Static IP support for wireless is new (at least when using WPA), I hope you don't need this tutorial any longer.
Perhaps the original post should be updated to that effect so Intrepid users realize that there's an easier way.

Personally, I've been using NetworkManager with WPA2 since Dapper (except for Gutsy when a bug forced me to go wired). Prior to Intrepid, I used my own hacked-together dynamic DNS setup to get around the lack of a static IP since I wanted to use NM instead of digging around at a lower level as your HOWTO does. With Intrepid, my hacks are obsolete.

omer.qadir
December 15th, 2008, 10:19 AM
Hello

I have been trying to get my wireless to work and had some luck... but not done yet.

I have intrepid on a Gateway M280, with intel wireless pro 2200.

Network Manager would not connect so I scoured the internet and found manual wpa_supplicant solutions. Now I am able to connect intermittenly but not every time. So everytime I want to connect, I have to go through this routine of killing wpa_supplicant (using wpa_cli terminate) and then restart wpa_supplicant. On average, it takes about 5-10 attempts to connect.

My network is WPA-EAP with TKIP and MSCHAPV2 (some in the UK may know it as eduroam)

So I did the next logical thing... compared the logs from wpa_supplicant for successfull and failed connections. I am attaching relevant portions of the logs as well, but this is what i noticed. When the connection fails, the machine seems to repeatedly receive the same packet during the 4-way handshake (Pairwise Install ACK MIC). At other times, it just magically receives the next packet as well. Something wrong with key exchange maybe?

My connection is not very stable and has periodical disconnections and every time I need to go through this cycle... its very frustrating. Help would be greatly appreciated.

Favux
December 21st, 2008, 08:09 PM
Hi omer.qadir,

While probably not relevant to your situation, several of us have discovered network manager is writing the wrong information in the keys and we have corrected it with gconf editor. We also have noticed that NM will rewrite those keys if it is invoked ie edit connections. On the off chance it's somehow related to your problem:

http://ubuntuforums.org/showthread.php?t=1010650

Psycho Sonic
December 21st, 2008, 11:36 PM
I've followed every step in this and the only problem I have is that when I try to restart my network, I get this:

sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... RTNETLINK answers: No such process
SIOCDELRT: No such process
RTNETLINK answers: No such process
SIOCDELRT: No such process
ioctl[SIOCSIWPMKSA]: Invalid argument
[ OK ]

I'm on Hardy and my card is a WPC54G v2.
A strange thing is that I can't connect to WEP either. When I click on either one (in wicd) I get "This network requires encryption to be enabled."

wieman01
December 22nd, 2008, 05:34 AM
I've followed every step in this and the only problem I have is that when I try to restart my network, I get this:

I'm on Hardy and my card is a WPC54G v2.
A strange thing is that I can't connect to WEP either. When I click on either one (in wicd) I get "This network requires encryption to be enabled."
What chipset is your wireless adapter? Please also run & post these for me:
sudo iwlist scan
sudo lshw -C network

mikhmv
December 22nd, 2008, 12:01 PM
How can I connect to wifi in ubuntu? Our network has following configuration:
* Network SSID
WIRELESS-PITTNET
* Security Type
WPA-Enterprise
* Encryption Type
TKIP
* Authentication Method
PEAP
EAP-MSCHAPv2
In ubuntu I didn't find how to change encryption type. Before this I used kubuntu and internet worked without any problems.
Thanks advance.

mikhmv
December 22nd, 2008, 02:46 PM
sorry, I found solution.
our network used PEAP version 0. in ubuntu by default version 1. when i changed it wifi start work

Psycho Sonic
December 22nd, 2008, 08:23 PM
What chipset is your wireless adapter? Please also run & post these for me:
My chipset is Texas Instruments ACX111. I already followed this (http://ubuntuforums.org/showthread.php?t=324148) thread on installing ndiswrapper for it.

That was weird. My card was disabled/turned off, i had to eject it then insert it again.

sudo iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:0D:67:00:4F:F2
ESSID:"Softcom_WiFi_Call_888-4-SOFTCOM"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:37/100 Signal level:-72 dBm Noise level:-96 dBm
Encryption key:off
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; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: 00:1E:58:F3:D1:21
ESSID:"The Garner Fam"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:100/100 Signal level:-29 dBm Noise level:-96 dBm
Encryption key:on
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; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK


sudo lshw -C network
*-network:0 UNCLAIMED
description: Ethernet controller
product: RTL8180L 802.11b MAC
vendor: Realtek Semiconductor Co., Ltd.
physical id: 4
bus info: pci@0000:02:04.0
version: 20
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: latency=64 maxlatency=64 mingnt=32
*-network:1
description: Ethernet interface
product: 82801DB PRO/100 VE (MOB) Ethernet Controller
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:02:08.0
logical name: eth0
version: 83
serial: 00:e0:b8:72:ac:01
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.23-k4-NAPI duplex=full firmware=N/A ip=192.168.0.102 latency=64 link=yes maxlatency=56 mingnt=8 module=e100 multicast=yes port=MII speed=100MB/s
*-network
description: Wireless interface
product: ACX 111 54Mbps Wireless Interface
vendor: Texas Instruments
physical id: 1
bus info: pci@0000:03:00.0
logical name: wlan0
version: 00
serial: 00:0f:66:b3:75:58
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+lstinds driverversion=1.52+Linksys,03/10/2004,6.0.0.18 latency=64 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11g

wieman01
December 23rd, 2008, 05:11 AM
Psycho Sonic,

That is weird. Your adapter seems to be alright.

Have you tried the option "Connect to other wireless network" using Network Manager? Then enter the network's name & key. There shouldn't be an issue.

Psycho Sonic
December 23rd, 2008, 07:21 PM
Psycho Sonic,

That is weird. Your adapter seems to be alright.

Have you tried the option "Connect to other wireless network" using Network Manager? Then enter the network's name & key. There shouldn't be an issue.

Do mean Knetwork Manager? Because that won't even detect my wireless card, and Manual Configure just sends me to Network Settings which won't let me do... anything. Wicd just tells me "This network requires encryption to be enabled."

I should probably mention that I'm on KDE.

...am I gonna have to switch back to windows?

wieman01
December 24th, 2008, 10:36 AM
KNetworkManager will do. I am also on KDE.

When you click on "Connect to other wireless network" and check the device name in the following dialog, what does it say?

omer.qadir
January 1st, 2009, 06:19 PM
Hi omer.qadir,

While probably not relevant to your situation, several of us have discovered network manager is writing the wrong information in the keys and we have corrected it with gconf editor. We also have noticed that NM will rewrite those keys if it is invoked ie edit connections. On the off chance it's somehow related to your problem:

http://ubuntuforums.org/showthread.php?t=1010650

Hey Favux,

Thanks for that. Thats not a bad idea. My problem may well be related. I'll look into it and post back here if it helps.
Sincerely
Omer

PCDoc
January 19th, 2009, 02:36 PM
Hi there, I have a problem that I've tried resolving for myself and with helpful posts from dmizer in another thread.
I've been on this now for about a week (which makes me wonder if it's worth it lol).

Basically, after a lot of struggling, I managed to get wpa_supplicant to connect to the internet after a fashion.

What's happening is this:

My wifi access point is WPA2-TKIP and usually has the SSID hidden.
I couldn't connect with a hidden ssid so I set it to show SSID.

Now, I've followed the guide at the start of this thread as dmizer suggested and have rebooted and what happens when you reboot is about halfway through boot up, it slows down and looks for DHCPREQUEST and finds nothing.

So when ubuntu is booted I tried running this in terminal:
sudo wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0 dhclinet wlan0

but it tells me there is another instance of wpa_supplicant running in var/run and it may not have terminated correctly.

So I go to var/run and in there is a wpa_supplicant folder and a file called wpa_supplicant.wlan0.pid

So in terminal I kill the process id and then run
sudo wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0 dhclinet wlan0
which then runs and I get internet.

I cant understand what's going on.

here is my wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
#ap_scan=1

network={
ssid="myssidhere"
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="mypasskey"
}

and here is my interfaces file

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid myssidhere
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 8b79c14a1311970##############################
pre-up wpa_supplicant -Dwext -wlan0 -BW -c/etc/wpa_supplicant wpa_supplicant.conf post-down killall -q wpa_supplicant


If anyone can shed some light on why the wireless conenction is not starting and connecting properly when ubuntu starts up, please share =)

Many thanks,

(A slightly bauld from hair pulling) Mike.

EDIT: The reason I'm doing things this way is:
A) I need WPA2-TKIP security and
B) NetworkManager does not let me run lan and wifi connections together which I need to do to share the internet that comes in via the wireless to other computers via the lan connection.

So far I haven't even gotten to the lan side of things yet, I'm still trying to get a stable WPA2-TKIP connection that starts up and connects automatically when Ubuntu does.

Incidentally, I have followed the start up script that was posted in post #2 at the start of this thread.

Thanks again.

I'm totally new to linux other than accessing a web server through shell so I only know a little.
This ubuntu box has been built to act as a secured gateway ICS box.

Basically I have a wireless router downstairs which the ubuntu box (located upstairs) is supposed to connect to via a PCI wireless card.
This internet conenction should then go to the ubuntu box's on board ethernet and then from there to a wired router to disperse the internet to any computer connected to that router.

I wanted to use ubuntu as a secured gateway and file server and chose linux rather than windows due to linux being more secure.
I repair and maintain PC's and any I need to connect to the internet, I wanted to do it as securely as possible to protect any sensitive data that may or may not be on those machines.

PCDoc
January 20th, 2009, 03:51 PM
Anyone???
I don't mean to stress but I could do with some help on this rather urgently.

Been at it a week and getting no where fast.

I'm open to any suggestions anyone might have that may help.

Thanks, Mike.

wieman01
January 20th, 2009, 04:35 PM
PCDoc,

Please try this (leave out the last line of your settings):
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid myssidhere
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 8b79c14a1311970##############################
Then reboot and do a:
sudo ifdown -v wlan0
sudo ifup -v wlan0
Please post the output message.

Have you also tried to use a static IP address? I have seen such DHCP issues before.

PCDoc
January 20th, 2009, 07:03 PM
Many thanks for replying wieman01.

Ok, did as you suggested with the last line of the interfaces file.
I also assigned a static address, gateway, subnet etc as you suggested.

I rebooted.

At start up ubuntu slowed down about halfway in again and I could see DHCP Client by Internet Consortium then it issued DHCPRELEASE and dropped the static IP I gave it in interfaces file.

It then began to DHCPDISCOVER again looking at 255.255.255.255 on port 67,
Found nothing and went sleep.

Ubuntu booted up and I Checked and there was no internet connection so I issued the commands you told me to.

Here are the results:

sudo ifdown -v wlan0

Configuring interface wlan0=wlan0 (inet)

run-parts --verbose /etc/network/if-down.d

run-parts: executing /etc/network/if-down.d/avahi-autoipd

run-parts: executing /etc/network/if-down.d/wpasupplicant

dhclient3 -r -pf /var/run/dhclient.wlan0.pid -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0

There is already a pid file /var/run/dhclient.wlan0.pid with pid 4568

killed old client process, removed PID file

Internet Systems Consortium DHCP Client V3.1.1

Copyright 2004-2008 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/sw/dhcp/



wmaster0: unknown hardware address type 801

wmaster0: unknown hardware address type 801

Listening on LPF/wlan0/00:a1:b0:90:0b:b9

Sending on LPF/wlan0/00:a1:b0:90:0b:b9

Sending on Socket/fallback

DHCPRELEASE on wlan0 to 192.168.123.1 port 67

ifconfig wlan0 down

run-parts --verbose /etc/network/if-post-down.d

run-parts: executing /etc/network/if-post-down.d/avahi-daemon

run-parts: executing /etc/network/if-post-down.d/wireless-tools

run-parts: executing /etc/network/if-post-down.d/wpasupplicant

wpa_supplicant: terminating wpa_supplicant daemon via pidfile /var/run/wpa_supplicant.wlan0.pid

Stopped /sbin/wpa_supplicant (pid 4533).

wpa_supplicant: removing /lib/init/rw/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan0.pid




sudo ifup -v wlan0

Configuring interface wlan0=wlan0 (inet)

run-parts --verbose /etc/network/if-pre-up.d

run-parts: executing /etc/network/if-pre-up.d/wireless-tools

run-parts: executing /etc/network/if-pre-up.d/wpasupplicant

wpa_supplicant: wpa-driver wext

wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -D wext -q -f /var/log/wpa_supplicant.wlan0.log -C /var/run/wpa_supplicant

Starting /sbin/wpa_supplicant...

wpa_supplicant: creating sendsigs omission pidfile: /lib/init/rw/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan0.pid

wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/wlan0

wpa_supplicant: wpa-ap-scan 1 -- OK

wpa_supplicant: configuring network block -- 0

wpa_supplicant: wpa-ssid "IcArUsNeT" -- OK

wpa_supplicant: wpa-psk ***** -- OK

wpa_supplicant: wpa-pairwise CCMP -- OK

wpa_supplicant: wpa-group CCMP -- OK

wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK

wpa_supplicant: wpa-proto RSN -- OK

wpa_supplicant: enabling network block 0 -- OK



dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.wlan0.pid -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0

Internet Systems Consortium DHCP Client V3.1.1

Copyright 2004-2008 Internet Systems Consortium.

All rights reserved.

For info, please visit http://www.isc.org/sw/dhcp/



wmaster0: unknown hardware address type 801

wmaster0: unknown hardware address type 801

Listening on LPF/wlan0/00:a1:b0:90:0b:b9

Sending on LPF/wlan0/00:a1:b0:90:0b:b9

Sending on Socket/fallback

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4

No DHCPOFFERS received.

No working leases in persistent database - sleeping.

run-parts --verbose /etc/network/if-up.d

run-parts: executing /etc/network/if-up.d/avahi-autoipd

run-parts: executing /etc/network/if-up.d/avahi-daemon

run-parts: executing /etc/network/if-up.d/mountnfs

run-parts: executing /etc/network/if-up.d/ntpdate

run-parts: executing /etc/network/if-up.d/wpasupplicant




So still no internet, so I again I ran

sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B


which told me another instance of wpa_supplicant was running.

ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.


I terminated the process ID and ran that command again which game me this:

CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
Trying to associate with 00:06:4f:61:2b:22 (SSID='IcArUsNeT' freq=2412 MHz)
Associated with 00:06:4f:61:2b:22
WPA: Key negotiation completed with 00:06:4f:61:2b:22 [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:06:4f:61:2b:22 completed (auth) [id=0 id_str=]
WPA: Group rekeying completed with 00:06:4f:61:2b:22 [GTK=TKIP]


And the internet connected.
But it's not after rebooting.

Also fter rebooting I removed the SH start up script that was mentioned in post #2 of this thread and now it no longer does the DHCPRELEASE and DHCDISCOVER thing at boot up which I thought was interfering (I may be wrong and can easily put it back).

However, I can't get internet anymore.
I tried terminating the PID of the already running wpa_supplicant and running the wpa_suplicant command above and I get nothing.

It just repeats CTRL-EVENT-SCAN-RESULTS in the terminal window.

Now I'm really confoooosed.
I hope I have provided all the info and more that you requested.
I have tried to be detailed and methodical to help you to help me.

Many many thanks Mike.

wieman01
January 21st, 2009, 03:07 AM
You should not have to run:
sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B

...if you configure WPA using the "interface" configuration file. Either one is enough.

Could you post the contents of "interfaces" after enabling it to use a static IP address? It's still trying to get an address via DHCP and that is odd.

PCDoc
January 24th, 2009, 12:57 PM
Hi again weimoan01,

Sorry I haven't replied sooner, but I've not been around and so haven't been working on the server.

Please find a copy and paste of my interfaces file:


auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
address 192.168.123.40
gateway 192.168.123.1
dns-nameservers 192.168.123.1
netmask 255.255.255.0
wpa-driver wext
wpa-ssid IcArUsNeT
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 8b79c14a1311970a6fec1578326753b80f62c885dd8b5c5c22 7148d81c73f8c8


This is exactly as it sits.
As previously mentioned, my SSID was hidden, but I set it to broadcast while getting this working.

Ideally, if we get this resolved, I'd like it to go back to being hidden if possible.

Thanks again, your continued support is extremely valued!

Mike.

holotropik
January 24th, 2009, 05:44 PM
Thank you! thread number 50 solved my problem...now i get wireless connection after boot-up.
Cheers ;)

wieman01
January 24th, 2009, 09:13 PM
PCDoc,

Try this instead and post back please:
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet static
address 192.168.123.40
gateway 192.168.123.1
dns-nameservers 192.168.123.1
netmask 255.255.255.0
wpa-driver wext
wpa-ssid IcArUsNeT
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 8b79c14a1311970a6fec1578326753b80f62c885dd8b5c5c22 7148d81c73f8c8

PCDoc
January 25th, 2009, 06:52 AM
Wow, I can't beleive I missed that..
Still set to DHCP instead of static.. My brain must be fried lol.

I changed it to static, but still the same.
No internet. :(

wieman01
January 25th, 2009, 09:12 AM
Happens...

Then what's the output of this now:
sudo ifdown -v wlan0
sudo ifup -v wlan0

ieshadover
January 25th, 2009, 12:48 PM
I just want to cry now

kevdog
January 25th, 2009, 01:42 PM
Why?

geezerone
January 25th, 2009, 02:26 PM
Wow, I can't beleive I missed that..
Still set to DHCP instead of static.. My brain must be fried lol.

I changed it to static, but still the same.
No internet. :(

Saw you are having difficulites - my sympathies - been there, T-shirt etc and many hours staring at the wireless icon waiting for connections!

Hidden ESSID isn't well supported so you may have to run with advertised ESSID. There are some chipsets which work I understand but I have tried a couple and didn't work. I used static IP too as this was often less hassle and quicker to work.

You could try the command after reboot of 'sudo /etc/init.d/networking restart' and see if that brings up your internet. If it does then add the command to the /etc/rc.local file (removing the top lhs # so the script will run of course) as this runs after all run level processes on boot-up and was the way I got a wireless network to connect. I had to manually configure my interfaces and forget Network Manager or WICD completely.

Regarding you ICS query, have you considered firestarter (http://www.fs-security.com/docs/introduction.php#features)?

Hope you make progress. :)

misha680
January 30th, 2009, 10:29 AM
Thank you for your guide, I have the following on two computers (both 8.04):


auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid ssid
wpa-ap-scan 2
wpa-proto RSN
wpa-pairwise CCMP TKIP
wpa-group CCMP TKIP
wpa-key-mgmt WPA-PSK
wpa-psk psk


works fine on one computer for the hidden ssid (ipw2100), on the other (iwl3945) works sometimes, but often dhcp does not catch a lease. Sometimes it works on the other. NM works fine on both. Any ideas?

Thanks
Misha

wieman01
January 30th, 2009, 05:29 PM
Some adapters have issues with hidden SSIDs. Try not to hide it and see if it gets any better. Hiding the SSID does not really add extra security anyway.

emerging
February 2nd, 2009, 07:22 PM
The house I moved to has wifi set up with WPA-PSK (ver. 1), and I have no access to the router/AP to view or change any of the settings. All I have are the ESSID and passphrase. The ipw2100 wifi adapter refuses to associate with the AP. My wife's Windows XP laptop connects with the exact same passphrase. Can someone please try to help?

afeasfaerw23231233
February 28th, 2009, 04:28 AM
I have your tutorial but doesn't work
I am using realtek 8187L with ndiswrapper windows 98 driver.
Here's my /etc/network/interfaces

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid dlink
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 899dd8474982835b4dc01d7f65415ed4f8c469b8cf22227823 933baa502cc673

Here's what I get from sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.wlan0.pid with pid 4041
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:22:43:74:7b:05
Sending on LPF/wlan0/00:22:43:74:7b:05
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.123.1 port 67
Ignoring unknown interface eth0=eth0.
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:22:43:74:7b:05
Sending on LPF/wlan0/00:22:43:74:7b:05
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
[ OK ]
coppen@coppen-laptop:~$

it says There is already a pid file /var/run/dhclient.wlan0.pid with pid 4041
killed old client process, removed PID file what's that mean?

I've also tried the setting of WPA2, didn't work either. Is that the problem of this line
wpa-driver wext?
Many thanks!

wieman01
February 28th, 2009, 04:31 AM
Mmmm... the Win98 driver? That does not sound right. Have you checked which driver version you ought to use?

afeasfaerw23231233
February 28th, 2009, 05:51 AM
The preconfig of my wireless by ubuntu seemed not working right. It disconnected ramdomly. So I searched the forum and found these I followed their instructions:
http://ubuntuforums.org/showthread.php?t=493958
http://ubuntuforums.org/showthread.php?t=678094

The OP of the second thread mentioned that Windows 98 driver works. And it works for me too. So far no abnormal disconnection though the signal strength was 30% weaker than in M$ XP.

But I can't even use WEP on it.

afeasfaerw23231233
February 28th, 2009, 05:59 AM
edit: actually I don't know whether my wifi card was realtek 8187B or 8187L. In xp the device manager shows it as "8187". But the xp driver cd comes with my notebook says it is B but it failed to work. So I frustrately searched around and finally discover there were 8187 B / L / SE three versions from realtek's website. I tried them one by one and only L worked in XP. So I assume it is 8187 L.

afeasfaerw23231233
February 28th, 2009, 06:18 AM
Hi, I found out this guide http://ubuntuforums.org/showthread.php?t=571188 . The op of that tutorial said I should try it first.

wieman01
February 28th, 2009, 09:05 AM
Try to get your card working before you enabled security. Otherwise it will be a moving target.

excbuntu
March 6th, 2009, 10:26 PM
my laptop (asus eee 1000HA) doesn't acquire a wireless connection unless someone logs in after boot. in addition, after login, it takes an additional 30 seconds before i get connected automatically.

i'm using network manager and intrepid. my /etc/network/interfaces file contains the following:

auto lo
iface lo inet loopback

please help. thanks.

wieman01
March 7th, 2009, 03:35 AM
Hello,

I think this has little to do with this tutorial. It would make more sense if you opened your own thread in the wireless section, there are many competent people who will be able to help you. :-)

wieman01
March 7th, 2009, 03:37 AM
I am closing this thread as it seems less relevant than it used to be. If you still think it is relevant, please send me a PM.

I thank everybody for their contributions.

wieman01
April 5th, 2009, 10:13 AM
Upon request from users, I am re-opening this thread and will update it in the weeks to come.

kevdog
April 7th, 2009, 07:49 AM
Thanks for reopening the thread. I always thought it was a classic

wieman01
April 7th, 2009, 01:06 PM
Thanks for reopening the thread. I always thought it was a classic
Thanks, Kevdog. I thought it was sort of outdated, but never say never I guess. Time to roll up my sleeves... it's been a while.

I sort of prefer your method now though. Came to like it a lot.

kevdog
April 8th, 2009, 02:46 AM
One thing is true about linux -- you can never learn too many ways to solve a problem -- this particularly given the fact the methods change between kernel versions. If anyone really wants to become a ubuntu/linux connoisseur, then they really have to spend time reading different ways of accomplishing things. Unfortunately or fortunately this requires time and practice. Although this tutorial may not be as applicable as it once was with prior kernel versions and releases, its essential for anyone learning how to troubleshoot/configure there wireless card -- a problem for thousands of users. I'd vote this thread as required reading along with several others, however that's just me.

One idea that never got of the ground is a recommended reading / or recommended thread reading list for users. This isn't just for beginners. Unfortunately this project would actually require an editor or authoritarian that could discrimate between what is good information, and what is not. It seems I'm always trolling the forums in search of high quality information on various topics. This process is highly inefficient since I end up spending >90% of my time reading noninformative posts. As a method of giving back to community and way to speed up the learning curve -- I always thought a recommended reading list was a good idea. This idea isn't novel or unique, however it just seems like some of the other methods such as the ubuntu wiki are poorly maintained. I guess its the never ending battle or search for the holy grail of how best to distill useful information to others. I'm not sure this problem will ever be solved.

Either way -- thanks for reopening the thread!

wieman01
April 9th, 2009, 04:12 PM
Thank you for your words. And I agree with you, there should be a list of stuff that new Ubuntu users should read first to gain a thorough understanding. I also know most people won't do it because it takes time and it's easier to post a question in the forums and get a tailored reply immediately. Guess that's the world we live in.

That should not keep you from maintaining such a list. With a bit support from me, I am sure we could make it a sticky thread also. It's an offer, please let me know if you think it's a worthwhile undertaking. You'd have my support.

epha
April 9th, 2009, 09:48 PM
hi,

I have a broadcom 4306 rev2 wireless card, and I can connect to the internet using ndiswrapper driver. I am trying to get wpa2 to work. Can you help ?

I have followed the instructions and looked through a lot of posts -but no sucess yet.

I changed the last two lines in "/etc/network/interfaces"
to:

auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid <my_essid>
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk <my_hexkey>

thankyou for the tutorial, and all the follow up support.

epha

epha
April 9th, 2009, 10:01 PM
here is a link to all the requested info:

http://zeroplusequals.net/downloads/wireless_info.txt

wieman01
April 10th, 2009, 03:17 AM
Hello,

WPA authentication seems to work, that's not the problem. Have you disabled Network Manager?

Second, I would also check out WPA1, maybe the Windows driver does not support WPA2.

Then please also post:
sudo iwlist scan
Let's see...

epha
April 10th, 2009, 12:56 PM
oh - wpa1 does work. this is the output of iwlist scan:
saul@saul-desktop:~$ sudo iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

pan0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:1F:33:86:4B:4C
ESSID:"vbroadband"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:32/100 Signal level:-75 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK



Thanks! (Perhaps I should have done a bit more tinkering before asking.) I am guilty of this: 'it's easier to post a question in the forums and get a tailored reply immediately. Guess that's the world we live in.' Next time I'll do more tinkering before asking. Thankyou.

epha

wieman01
April 10th, 2009, 04:19 PM
I think you got it solved no, right? :-) It's a WPA1 secured network.

No worries, these things happen.

epha
April 11th, 2009, 10:32 AM
Hi,

In the interests of clarity and incase anyone else is having trouble with this driver and wpa2 - the network was wpa2 before, and I couldn't connect, so it may be that the driver (ndiswrapper) doesn't handle wpa2. I changed the router security to WPA1 and then changed the details in my "/etc/network/interfaces" file, and it worked with that.
cheers,
epha

espinosa
April 20th, 2009, 02:00 AM
hi, i've been trying to use wpa1 for my AP.

auto ath0
iface ath0 inet static
address 192.168.23.1
netmask 255.255.255.0
broadcast 192.168.23.255
network 192.168.23.0
wpa-driver madwifi
wpa-ssid security-mesh
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk 36ee01b32d5f137e915d340c4d8b4c0e...

whenever i tried to restart the network, /etc/init.d/networking restart, there's an error :

Reconfiguring network interfaces...ioctl[SIOCSIWMODE]: Invalid argument
Could not configure driver to use managed mode
done.

i use adhoc mode for this... Can you tell me what's the problem ?
tx

wieman01
April 20th, 2009, 01:53 PM
Please try...
wpa-driver wext
...rather than...
wpa-driver madwifi
Does it make a difference?

espinosa
April 20th, 2009, 08:55 PM
Please try...

...rather than...

Does it make a difference?

it doesn't make any difference.
there's still an error :

Debian-Security:/# /etc/init.d/networking restart
Reconfiguring network interfaces...ioctl[SIOCSIWMODE]: Invalid argument
Could not configure driver to use managed mode
done.

i tried to check using iwconfig and iwlist scan, but i can't find my adhoc network there.
Debian-Security:/# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

wifi0 no wireless extensions.

sit0 no wireless extensions.

ath0 IEEE 802.11g ESSID:"security-mesh"
Mode:Ad-Hoc Frequency:2.422 GHz Cell: 02:02:6F:54:04:22
Bit Rate:0 kb/s Tx-Power:16 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=13/94 Signal level=-81 dBm Noise level=-94 dBm
Rx invalid nwid:26 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Debian-Security:/# iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

eth1 Interface doesn't support scanning.

wifi0 Interface doesn't support scanning.

sit0 Interface doesn't support scanning.

ath0 Scan completed :
Cell 01 - Address: 00:90:4C:91:00:01
ESSID:"telematika"
Mode:Master
Frequency:2.462 GHz (Channel 11)
Quality=9/94 Signal level=-86 dBm Noise level=-95 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100

i installed wpasupplicant from repository because whenever i installed from sourcecode, it always fail.

wieman01
April 21st, 2009, 03:55 PM
But hey, the scan says all security is off. Have you enabled WPA on the router?

espinosa
April 21st, 2009, 11:31 PM
But hey, the scan says all security is off. Have you enabled WPA on the router?

as far as i know, i've enabled it.
i'm confused here. i installed the wpa_supplicant but there's no folder/file in /var/run/wpa_supplicant. Is it ok or it indicates my installation was fail ?
it keeps getting an error and i don't why.
i read some forums and they said that adhoc mode doesn't support 4 this wpa. is it right ? i switch to master mode but it keeps send me that error.

papibe
April 22nd, 2009, 06:20 PM
Hi all,
I’m not able to set up my wireless connection using Xubuntu 9.04 RC.I have a 2Wire wireless router set to:
Authentication: WPA2-PSK
Encryption: AES
SSID broadcast disable.

My wife’s HP (with XP) worked immediately. My Ubuntu 8.10 Toshiba also is working fine. But my Dell with Jaunty is getting me lots of trouble. It used to have Xubuntu 8.04 on it, and it worked fine with regular WEP. Now that I upgraded both OS and wireless security is not connecting at all.

After the install, I encountered a nasty bug where there was no way to set the security protocol and key. I connected a Ethernet cable and updated xubuntu. Finally, every field was there to set. I’m using the same Netgear PCMCIA card in both my Toshiba and my Dell (the same actual card which I unplugged from one to use in the other). I’ve tried to use both the default driver and the madwifi (using the Hardware Drivers) with no luck.

I took a look around the forums before posting here. I found lots of ways to use wpa, but all of them involve editing files with particular formats. Although I can follow those instructions, it doesn’t make sense to me to solve this kind of problem like that. Isn’t a simple way to do it using the graphical interface? or, Is Xubuntu not able to work with wpa2 as a design?

Maybe it’s a bug, since it works in 8.10 and not in 9.04 RC.

Any help would be much appreciated,
Thanks in advance

Notes: (1) Wpasupplicant is installed and is the newest version (from apt-get). (2) Unfortunately my Dell is old, and can’t take the much larger Ubuntu.

kevdog
April 23rd, 2009, 09:58 PM
papibe

can you try wpa2 with tkip?

papibe
April 23rd, 2009, 11:48 PM
kevdog: yes, I tried it out.

It did not work with Xubuntu 9.04 RC. This time it asked me for the key several times before failing.

Thanks for the suggestion, any other idea?

arobinson
April 24th, 2009, 02:11 AM
Broken in Jaunty...

I have been running great on Intrepid, just upgraded to Jaunty tonight and my wireless is dead.

WPA2 with AES, no SSID broadcast, and MAC filtering enabled.

My card is the EDIMAX EW-7128G IEEE 802.11b/g PCI Wireless Card

lspci output:
01:08.0 Network controller: RaLink RT2561/RT61 802.11g PCI
Subsystem: RaLink Device 2561
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at fdef0000 (32-bit, non-prefetchable) [size=32K]
Capabilities: <access denied>
Kernel driver in use: rt61pci
Kernel modules: rt61pci


My /etc/network/interfaces (no I do not use NetworkManager):
auto lo
iface lo inet loopback

auto eth0 wlan0

iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0

iface wlan0 inet dhcp
wireless-essid myhiddenssid
pre-up wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B -f/var/log/wpa_supplicant.log
post-down killall -q wpa_supplicant


My /etc/wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
#ap_scan=2

network={
scan_ssid=1
key_mgmt=WPA-PSK
ssid="myhiddenssid"
psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
proto=WPA2
eap=TLS
}


My iwconfig output:
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:"myhiddenssid"
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Tx-Power=16 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


ifconfig output:
wlan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet6 addr: fe80::21f:1fff:fe32:5e6e/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:624 (624.0 B)

wlan0:avahi Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:169.254.4.146 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1

wmaster0 Link encap:UNSPEC HWaddr xxxxxxxxxxxxx
UP BROADCAST RUNNING 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)


What could be going on? Any suggestions on anything to back-port or try?

This is especially hard to work on as this is a Mythbuntu box with no keyboard or mouse and it is in a different room than my TV. Luckily I have a wired ethernet port with a switch attached so I can use my laptop to get on the box.


-------

UPDATE: I got this to work with the manufacturer's drivers. The bug I filed and how to fix it can be found here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/366170

Hope that helps anyone that experiences my problem.

papibe
April 24th, 2009, 02:59 PM
It is looking more like a bug every day now. I also tried the “manual” way as described by wieman01 in the thread’s beginning… not working.

As much as disappointed I am, I wonder if there is a way let the right people know about this.

wieman01
April 25th, 2009, 03:41 AM
Papibe,

You should probably file a bug report on Launchpad. This is weird.

I heard Network Manager's handling of non-broadcasting SSIDs is broken, at least in Kubuntu by the way. Just in case anybody would like to know.

codedmin
April 25th, 2009, 07:23 AM
I have the same problem i buy an broadcom wifi card to put in my 901go so i can connect with osx. With jaunty betas i can connect with the b43 drivr but with the jaunty final release no juice :S

Only wpa wpa2 personal option is show but i need wpa2 entreprise..


Any info??

Thanks

kevdog
April 25th, 2009, 12:12 PM
Can wicd do wpa enterprise? If so I suggest you use this tool!

martinbures
April 27th, 2009, 02:29 PM
I think that this is a regression. Worked fine for me in 8.10. In 9.04, it will connect every now and then - when it does, it takes _MINUTES_. Otherwise, it keeps failing and asking for passwords. This is on an atheros-based macbook pro.

wieman01
April 27th, 2009, 02:37 PM
I think that this is a regression. Worked fine for me in 8.10. In 9.04, it will connect every now and then - when it does, it takes _MINUTES_. Otherwise, it keeps failing and asking for passwords. This is on an atheros-based macbook pro.
You can try Kevdog's approach then. Works fine for me on 9.04.

martinbures
April 27th, 2009, 02:45 PM
I am reading this thread from the bottom up, so forgive me if I say something dumb...

Is this what you were referring to?
can you try wpa2 with tkip?

wieman01
April 27th, 2009, 03:51 PM
I am reading this thread from the bottom up, so forgive me if I say something dumb...

Is this what you were referring to?
Sorry, dude. This is the one I am referring to:

http://ubuntuforums.org/showthread.php?t=571188

Another great source.

thaltek
April 28th, 2009, 10:03 AM
this is quite an annoying quirk....

the wpa i have at home requiers a network key and works flawlessly....

however my laptop is unable to link with the wpa wifi at purdue uni.... :(

wieman01
April 28th, 2009, 04:17 PM
this is quite an annoying quirk....

the wpa i have at home requiers a network key and works flawlessly....

however my laptop is unable to link with the wpa wifi at purdue uni.... :(
Well, that's probably because they use WPA security with authentication by username and password. I advise you have a chat with the network's admin and see what the requirements are.

WICD can do all sorts of protocols, it might be the tool for you.

amainejr
April 30th, 2009, 02:46 PM
This method has been working for me for about 3 weeks, flawlessly. I moved my DLink router into another room, along with the modem, set it up, and it worked perfectly. Last night, I downloaded Oracle 11g db software, and this morning I woke up and I can no longer connect to the router. I've been using WPA2 with no broadcast on the 802.11b+g setting. I'm lost as to why it quit working. `iwlist scan` recognizes the router, along with all of it's security settings. When I type `iwconfig`, I get "Access-Point: not associated." Any idea why the sudden change? I do recall running the update manager last night before bed, updating about 6 packages, and I continued working. The download was still going when I went to bed, and was complete this morning. No one else touched it, and the logs don't report any unauthorized logins. Any ideas?

wieman01
April 30th, 2009, 04:55 PM
Could you post everything that you find in the section "Post this if you are stumped"? We'll find out what's happening. :-)

amainejr
April 30th, 2009, 05:28 PM
Sorry. Will repost under "Post this if you are stumped".

amainejr
April 30th, 2009, 06:43 PM
Okay

# route
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
default 192.168.2.1 0.0.0.0 UG 100 0 0 eth1



# iwconfig
eth1 IEEE 802.11bg ESSID:"" Nickname:""
Mode:Managed Frequency:2.442 GHz Access Point:Not-Associated
Bit Rate:54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Managementmode:All packets received
Link Quality=5/5 Signal level=0 dBm Noise level=0 dbm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

# sudo iwlist scan
Cell 01 - Address: 00:17:3F:A8:90:79
Essid:""
Mode:Managed
Frequency:2.442 GHz (Channel 7)
Quality:4/5 Signal level:-64 dBm Noise level:-92 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Preauthentication Supported
Encryption key:on
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; 24 Mb/s; 36 Mb/s;
48 Mb/s; 54 Mb/s;



# sudo lshw -C network
*-network
description: Wireless interface
product: BCM4311 802.11b/g WLAN
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:06:00.0
logical name: eth1
version: 01
serial: 00:14:a5:fc:c5:f2
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=wl0 driverversion=5.10.79.10 ip=192.168.2.4 latency=0 module=wl multicast=yes wireless=IEEE 802.11bg


# sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback

mapping hotplug
script grep
map eth0

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
address 192.168.2.4
gateway 192.168.2.1
dns-nameservers 192.168.2.1
netmask 255.255.255.0
wpa-driver wext
wpa-ssid maine
wpa-ap-scan 2
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 38ce8f42dd9a635353e4e0d66a2bba10021c36f005bff9734e 77a7b96daa0265


# sudo ifdown -v <your_interface>
Configuring interface eth1=eth1 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/avahi-autoipd
run-parts: executing /etc/network/if-down.d/wpasupplicant
route del default gw 192.168.2.1 metric 100 eth1
ifconfig eth1 down
run-parts --verbose /etc/network/if-post-down.d
run-parts: executing /etc/network/if-post-down.d/avahi-daemon
run-parts: executing /etc/network/if-post-down.d/wireless-tools
run-parts: executing /etc/network/if-post-down.d/wpasupplicant



# sudo ifup -v <your_interface>
Configuring interface eth1=eth1 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/dhclient3-apparmor
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver wext
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.eth1.pid -i eth1 -D wext -q -s -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1

ifconfig eth1 192.168.2.4 netmask 255.255.255.0 up
route add default gw 192.168.2.1 metric 100 eth1
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/wpasupplicant


The only thing I've noticed, is that the wpa_supplicant failed to start. Any tips on that? Sorry about the format. I had to type it all out by hand.

rvgsd
April 30th, 2009, 07:42 PM
Hi All,
I have recently installed Ubuntu 9.04, and a new user.
I have BCM 4306 with the drivers auto-installed by ubuntu using b43-fwcutter.

I am able to connect to the Unsecured Networks but not my secured Network which is Wpa2.

I Opened "/etc/network/interfaces":

auto lo
iface lo inet loopback


It does not contain the line:
auto wlan0
iface wlan0 inet dhcp
as given on the first page of this thread.

I tried adding them with the settings as instructed on the first page, but that makes my wiress unusable.

What can I do?

Thanks,
RVGSD

rvgsd
May 1st, 2009, 02:54 AM
Hi all,

I have WPA2 with DHCP, and my '/etc/network/interfaces' file looks like this:


auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid MYESSID
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk MY_HEX_KEY


so when I run 'sudo /etc/init.d/networking restart'
here's what I get:


* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.wlan0.pid with pid 4764
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:90:4b:2d:e7:e2
Sending on LPF/wlan0/00:90:4b:2d:e7:e2
Sending on Socket/fallback
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:90:4b:2d:e7:e2
Sending on LPF/wlan0/00:90:4b:2d:e7:e2
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.


What could be wrong? Any suggestions?
Thanks for helping out!

Regards,
RVGSD.

amainejr
May 1st, 2009, 03:29 PM
Try doing the

sudo ifup -v <your interface>

Not saying that this is a fix, but if you notice in mine, my wpasupplicant failed to start. It's been working using WPA2 and no broadcast up until I upgraded to 9.04 and did the updates after the install. Nothing else changed, so I think it may be a wpa_supplicant problem. I just don't know how to find out further or fix it. If it's the same on yours, then there may be a bug.

rvgsd
May 1st, 2009, 09:19 PM
Nopes..that does not work. I wonder if this issue can be fixed or not!

wieman01
May 2nd, 2009, 04:30 AM
The only thing I've noticed, is that the wpa_supplicant failed to start. Any tips on that? Sorry about the format. I had to type it all out by hand.
You don't have to type it out by hand, you could copy and paste the stuff by highlighting the output with your mouse and then pressing the scroll-wheel to paste the stuff.

The only thing I can offer right now is to enable SSID broadcast and reinstall wpa-supplicant. Could you try? Don't forget to adjust the script.

wieman01
May 2nd, 2009, 04:32 AM
Hi all,

I have WPA2 with DHCP, and my '/etc/network/interfaces' file looks like this:

...

What could be wrong? Any suggestions?
Thanks for helping out!

Regards,
RVGSD.
It looks to me that this is a hardware issue. Your adapter has not been recognized. Please also post:
sudo iwlist scan

rvgsd
May 2nd, 2009, 05:20 PM
Here's the output of 'sudo iwlist scan':


lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wmaster0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:1F:33:46:C8:80
ESSID:"NETGEAR"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=58/100 Signal level:-73 dBm Noise level=-55 dBm
Encryption key:on
IE: Unknown: 00074E455447454152
IE: Unknown: 010882848B962430486C
IE: Unknown: 030101
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: DD090010180200F0000000
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F 00
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=0000000d62a2db09
Extra: Last beacon: 1484ms ago
Cell 02 - Address: 00:18:3A:AF:2D:B2
ESSID:"NITTIANS@TAMU"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=58/100 Signal level:-73 dBm Noise level=-55 dBm
Encryption key:on
IE: Unknown: 000D4E49545449414E534054414D55
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: Unknown: 32040C121860
IE: Unknown: DD090010180203F0000000
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=0000014e9a0b5170
Extra: Last beacon: 1140ms ago
Cell 03 - Address: 00:18:3A:D6:EF:54
ESSID:""
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=68/100 Signal level:-63 dBm Noise level=-55 dBm
Encryption key:off
IE: Unknown: 000C000000000000000000000000
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 050401030000
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: Unknown: 32040C121860
IE: Unknown: DD090010180200F0000000
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=0000002496f4a184
Extra: Last beacon: 920ms ago
Cell 04 - Address: 00:1C:10:46:00:30
ESSID:"Horizon"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=58/100 Signal level:-73 dBm Noise level=-55 dBm
Encryption key:on
IE: Unknown: 0007486F72697A6F6E
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: Unknown: 32040C121860
IE: Unknown: DD09001018020014000000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=000000af472b43d7
Extra: Last beacon: 1144ms ago
Cell 05 - Address: 00:14:D1:30:BF:14
ESSID:"carmen"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=51/100 Signal level:-79 dBm Noise level=-55 dBm
Encryption key:on
IE: Unknown: 00066361726D656E
IE: Unknown: 010882848B960C183048
IE: Unknown: 030106
IE: Unknown: DD0600032F010001
IE: Unknown: 2A0104
IE: Unknown: 32041224606C
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; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=00000229011f5181
Extra: Last beacon: 1164ms ago
Cell 06 - Address: 00:12:0E:8A:B1:CE
ESSID:"07FX09079070"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=53/100 Signal level:-77 dBm Noise level=-55 dBm
Encryption key:on
IE: Unknown: 000C303746583039303739303730
IE: Unknown: 010482848B96
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 32080C1218243048606C
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; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=00000000fc17f238
Extra: Last beacon: 1292ms ago
Cell 07 - Address: 00:1C:DF:3F:24:09
ESSID:"MYNETWORK"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=83/100 Signal level:-49 dBm Noise level=-55 dBm
Encryption key:on
IE: Unknown: 00124C6F7374496E476F6C664279506C75733131
IE: Unknown: 010882848B960C183048
IE: Unknown: 03010B
IE: Unknown: 0706555320010B1B
IE: Unknown: 2A0102
IE: Unknown: 32041224606C
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Preauthentication Supported
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; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000000ea24d2181
Extra: Last beacon: 32ms ago


One more thing, I was able to connect when I had the 8.04 and 8.10 version. (the 8.10 version like the 9.04 had autmoatically detected and installed frpm b43=fwcutter.)
It would be great if I could connect!!
Thanks for help.

juje
May 2nd, 2009, 07:39 PM
ok, my wifi connection on jaunty it's pretty buggie too...i can only connect thru nm, only wpa, no mac address filter allowed and the transfer rate become slower and slower every second, until i have to restart my pc (half an hour or so, maybe an hour).
My wpa2 connection had been working pretty straight (thanks weiman01!) since feisty.
Now, i can't barely open my "/etc/network/interfaces" config file...anything i do there it shut down the wifi connection...

This is my "iwlist scan":


lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wmaster0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: ***************
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=54/70 Signal level=-56 dBm
Encryption key:on
ESSID:"***************"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000094a2538e
Extra: Last beacon: 368ms ago
IE: Unknown: 0012582540324232355F356E75774B3331257154
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: Unknown: 32040C121860
IE: Unknown: DD090010180200F4000000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK


and here is my "lshw -C network"


*-network
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 01
serial: 00:18:f3:f3:ea:78
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=r8169 driverversion=2.3LK-NAPI latency=0 module=r8169 multicast=yes
*-network
description: Wireless interface
product: RT2561/RT61 rev B 802.11g
vendor: RaLink
physical id: 0
bus info: pci@0000:01:00.0
logical name: wmaster0
version: 00
serial: **************
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=rt61pci ip=192.168.1.100 latency=64 module=rt61pci multicast=yes wireless=IEEE 802.11bg


any clue how to make this workout?
thanks in advance!

Pd. sorry for my lousy english!

wieman01
May 3rd, 2009, 02:21 PM
rvgsd & juje,

There is a problem with your hardware. The scan results look odd. No idea what this is about, but you'd better open new threads in the wireless section and ask others to jump in. Never seen this before.

amainejr
May 3rd, 2009, 03:37 PM
Weiman, I didn't fully explain I guess. I'm on a windows pc, and as I execute the commands on my ubuntu box (laptop), i'm hand typing them into the windows pc to post. The ubuntu box is failing to get on the internet for wpa1 and wpa2. I tried it with commenting out everything wpa related in the interfaces file and changing my router to use dhcp. I can connect with WEP or no security, but anything that uses the wpa_supplicant utility won't authorize to get on the net. My router's wireless light goes crazy whenever I `sudo /etc/init.d/networking restart` or reboot the box, but it just won't connect.

juje
May 3rd, 2009, 07:29 PM
Thanks wieman01, i'll start a new threat...

VladCE
May 6th, 2009, 03:43 AM
I am completely new to Ubuntu and love it, so please be nice to my first posting here...

OK, I don't know what I did but about a week ago my Network Manager (applet) stopped discovering wireless networks. I still can connect to previously discovered networks, but can't see any others. I use Ubuntu 9.04 with all the latest updates.

Now, if I run

iwlist scan

...it says "Interface doesn't support scanning" on all interfaces.

If I do

sudo iwlist scan

... then it does discover all wireless networks.

The question is how do I make it discover thru the nm-applet, at boottime?

P. S. Another question, maybe - is it possible somehow to roll back to older versions (of nm-applet, namely) without reinstalling the whole OS?

Please help and thanks in advance,

wieman01
May 6th, 2009, 04:00 PM
Kevdog, could you take over for a minute? I don't have time to respond today... Sorry, guys.

VladCE
May 7th, 2009, 04:19 PM
Kevdog, could you take over for a minute?

Looks like not

Gert-Jan
May 8th, 2009, 11:28 AM
Just a small addition to this great HowTo: In Jaunty the wpasupplicant is installed by default. :)

wieman01
May 8th, 2009, 01:32 PM
I am completely new to Ubuntu and love it, so please be nice to my first posting here...

OK, I don't know what I did but about a week ago my Network Manager (applet) stopped discovering wireless networks. I still can connect to previously discovered networks, but can't see any others. I use Ubuntu 9.04 with all the latest updates.

Now, if I run

iwlist scan

...it says "Interface doesn't support scanning" on all interfaces.

If I do

sudo iwlist scan

... then it does discover all wireless networks.

The question is how do I make it discover thru the nm-applet, at boottime?

P. S. Another question, maybe - is it possible somehow to roll back to older versions (of nm-applet, namely) without reinstalling the whole OS?

Please help and thanks in advance,
Sorry for my late replying.

Yes, sometimes you have to add "sudo" and I have corrected the tutorial accordingly. Thanks.

I am pretty sure that NM cannot connect to networks at boot time. That is why I never used it. You could install a previous version but what's value of it?

wieman01
May 8th, 2009, 01:33 PM
Just a small addition to this great HowTo: In Jaunty the wpasupplicant is installed by default. :)
Thanks for highlighting that. I have added a note in my tutorial. Good point.

VladCE
May 8th, 2009, 06:31 PM
I am pretty sure that NM cannot connect to networks at boot time. That is why I never used it. You could install a previous version but what's value of it?

But it did (and does). I mean it used to discover all networks and now connects to the previously discovered networks at boot time. I don't know what's changed and whether it's a bug or a new feature of a new version. How do I roll it back?
Did you really never used NM, the default Ubuntu wireless app?!

Gert-Jan
May 9th, 2009, 03:17 AM
[quote=VladCE;7242012]But it did (and does). I mean it used to discover all networks and now connects to the previously discovered networks at boot time.

I can confirm that (at least for Jaunty).

VladCE
May 9th, 2009, 03:42 AM
[quote]

I can confirm that (at least for Jaunty).

Do you have the same problem as I do (see above)?

wieman01
May 9th, 2009, 04:01 AM
But it did (and does). I mean it used to discover all networks and now connects to the previously discovered networks at boot time. I don't know what's changed and whether it's a bug or a new feature of a new version. How do I roll it back?
Did you really never used NM, the default Ubuntu wireless app?!
Alright, I stand corrected. :-)

No, I never really used it. I tried on a few occasions, but I don't like NM much.

Gert-Jan
May 9th, 2009, 01:30 PM
[quote=Gert-Jan;7243889]

Do you have the same problem as I do (see above)?

No, I don't.

silverhorse
May 9th, 2009, 03:14 PM
I tried your --Sample configuration WPA1 & DHCP, ESSID broadcast enabled -- without success.

It may be that I'm using that pesky 4318 Broadcom card.

It took me forever to install the driver for that card, now I can wireless connect, but can't WPA.

See the attachment to read my configuration

Thank you for the time

VladCE
May 9th, 2009, 05:14 PM
[QUOTE]

No, I don't.

Looks like I won't get help here then. Probably complete Ubuntu reinstall is coming...

VladCE
May 12th, 2009, 04:52 PM
[QUOTE=Gert-Jan;7246385]
Looks like I won't get help here then.

Now I can see how exactly "Ubuntu is 'humanity towards others'. It is 'the belief in a universal bond of sharing that connects all humanity'."

Probably I have to get back to the XP concept of "universal bond of sharing that connects".

Gert-Jan
May 13th, 2009, 12:36 PM
Now I can see how exactly "Ubuntu is 'humanity towards others'. It is 'the belief in a universal bond of sharing that connects all humanity'."

Probably I have to get back to the XP concept of "universal bond of sharing that connects".

I'm sorry you can't find any help. Unfortunately I'm an Ubuntu-n00b as well and not that big a computer expert :(
However, it seems to me that it's not always possible to get Ubuntu working with a wireless connection...

wieman01
May 13th, 2009, 03:03 PM
[QUOTE=VladCE;7247503]

Now I can see how exactly "Ubuntu is 'humanity towards others'. It is 'the belief in a universal bond of sharing that connects all humanity'."

Probably I have to get back to the XP concept of "universal bond of sharing that connects".
Somtimes that's reality.

VladCE
May 13th, 2009, 11:48 PM
[QUOTE=VladCE;7266468]
Somtimes that's reality.

Gee, what a buggy soft... I thought after all these years Linux could have been more mature.

Anyway, as far as I understand, NM and wicd are just GUI interfaces to some real command-line, flat file settings. Is there any way I can get rid of them and do it (discover and connect) manually?

wieman01
May 14th, 2009, 04:05 PM
Gee, what a buggy soft... I thought after all these years Linux could have been more mature.

Anyway, as far as I understand, NM and wicd are just GUI interfaces to some real command-line, flat file settings. Is there any way I can get rid of them and do it (discover and connect) manually?
You won't believe it, but yes, just follow this tutorial...

Alternatively, try Kevdog's tutorial. It's definitely worth a try and my preferred solution at the moment:

http://ubuntuforums.org/showthread.php?t=571188

VladCE
May 15th, 2009, 10:39 PM
You won't believe it, but yes, just follow this tutorial...

Alternatively, try Kevdog's tutorial. It's definitely worth a try and my preferred solution at the moment:

http://ubuntuforums.org/showthread.php?t=571188

Thank you, you are very helpful.
BTW, sorry for the noob question, but it's hard to browse through 170+ pages: what's wrong with WEP? All my neighbourgs seem to use it.

wieman01
May 16th, 2009, 11:12 AM
Thank you, you are very helpful.
BTW, sorry for the noob question, but it's hard to browse through 170+ pages: what's wrong with WEP? All my neighbourgs seem to use it.
Good point. My recommendation is that you don't use WEP at all as it is highly insecure. An experienced user can crack WEP in a matter of minutes (I have written a tutorial on it for educational purposes).

WPA or WPA2 is the way to go. WEP is highly flawed and should not be use any longer.

VladCE
May 16th, 2009, 07:20 PM
Good point. My recommendation is that you don't use WEP at all as it is highly insecure. An experienced user can crack WEP in a matter of minutes (I have written a tutorial on it for educational purposes).

WPA or WPA2 is the way to go. WEP is highly flawed and should not be use any longer.

Hmm, sounds like fun to try, can I see the tutorial? How bad is the possible exposure? Can someone get to my Windows shares, for example, or is it just traffic snooping?

wieman01
May 17th, 2009, 04:51 AM
Hmm, sounds like fun to try, can I see the tutorial? How bad is the possible exposure? Can someone get to my Windows shares, for example, or is it just traffic snooping?
It's a lot of fun. To test your own network's security, give it a go:

http://ubuntuforums.org/showthread.php?t=528276

Yes, somebody could also get access to your shares... or anything else that isn't password protected. It's not very likely but it's a risk one can easily avoid.

Fischer
May 28th, 2009, 01:50 AM
weiman01,

I posted on kevdog's thread as well but i really need to get this fixed ASAP so I will ask you as well. (kevdog also hinted that he isnt very familiar with Ra and intel chipsets...which I am so luckily blessed with):

I have been trying to get your tutorial to work for the past few hours and I can make it work if I take the encryption off my network. Since that is not the most desirable way to communicate with my router, I've been trying to get my wireless card to connect via WPA-Personal encryption.

Im using a Ra-based chipset (I think)

when I type:

sudo iwpriv wlan0 set AuthMode=WPA-PSK

which returns: "Invalid command: set"
this happens with all the iwpriv commands.

please assist. this is for my little brothers computer and I am leaving on sunday ( i dont think they will be able to get it running without me)

also my network manager doesnt appear to work. when I connected to the unencrypted network, it didn't reflect it on the top right corner of the screen. it still had the red x.

Thanks

wieman01
May 29th, 2009, 12:42 PM
Fischer,

You need to provide some more information please. Please post every output that you get when following section "Post this if you are stumped" in the original post.

We'll get you hooked up til Sunday.

geezerone
May 29th, 2009, 05:30 PM
I had problems with ralink wireless adaptor too and Network Manager didn't work correctly so manually configured the network interfaces file.

Like Wieman01 says, plenty of info if you please.

Fischer
May 29th, 2009, 06:33 PM
Thanks for the response, I fixed it last night. I just had to change the specified driver in the network-config application. it worked with the generic linux driver "wext".

wieman01
May 30th, 2009, 02:23 AM
Thanks for the response, I fixed it last night. I just had to change the specified driver in the network-config application. it worked with the generic linux driver "wext".
Yes, Ralink work with "wext" nowadays. Glad you got it fixed.

leetone
May 31st, 2009, 02:02 PM
Hello guys,

how to configure it for this:

Authentication: WPA
Data encryption : TKIP
EAP type: PEAP
auth method: EAP-MSCHAPV2

snowcraig
June 2nd, 2009, 09:08 AM
Sony PCG-V505BX (WPA not listed)
Does anyone else here have this laptop? I have Ubuntu installed, but cannot connect to my home wireless network when I have it set to WPA security. It successfully detects the network, but when I try to connect it doesn't list WPA as an option. I can plug in my USB WIFI stick and then connect to WPA, but not with the internal hardware in my laptop. I can also switch the network to WEP and connect with the interal wireless card alone, but I don't really want to do that. Does anyone here have a suggestion for me?


I believe this is the actual wireless hardware that comes with the computer:

LAN Express AS-IEEE 802.11 miniPCI Adapter



Here is what I came up with from Ubuntu:


*-network:0
description: Wireless interface
product: Prism 2.5 Wavelan chipset
vendor: Intersil Corporation
physical id: 2
bus info: pci@0000:02:02.0
logical name: eth1
version: 01
serial: 00:02:8a:94:be:87
width: 32 bits
clock: 33MHz
capabilities: cap_list ethernet physical wireless
configuration: broadcast=yes driver=orinoco driverversion=0.15 firmware=Intersil 1.5.6 latency=64 module=orinoco_pci multicast=yes wireless=IEEE 802.11b
*-network:1
description: Ethernet interface
product: 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:02:08.0
logical name: eth0
version: 42
serial: 08:00:46:ad:1d:0b
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=e100 driverversion=3.5.23-k6-NAPI firmware=N/A latency=66 maxlatency=56 mingnt=8 module=e100 multicast=yes
*-network:0
description: Wireless interface
physical id: 2
logical name: wlan0
serial: 00:1c:df:78:1f:87
capabilities: ethernet physical wireless
configuration: broadcast=yes ip=192.168.2.3 multicast=yes wireless=IEEE 802.11bg
*-network:1 DISABLED
description: Ethernet interface
physical id: 3
logical name: pan0
serial: 9a:a0:51:05:54:4e
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A multicast=yes


Thanks

wieman01
June 2nd, 2009, 03:23 PM
Please post every output that results from running the stuff that's posted under section "Post this if you are stumped". We'll go from there.

snowcraig
June 3rd, 2009, 09:07 AM
Please post every output that results from running the stuff that's posted under section "Post this if you are stumped". We'll go from there.


Here is what I came up with up to the last two items:


craig@craig-laptop:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 2 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 wlan0
default 192.168.2.1 0.0.0.0 UG 0 0 0 wlan0
craig@craig-laptop:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11b ESSID:"2WIRE684" Nickname:"Prism I"
Mode:Managed Frequency:2.422 GHz Access Point: 00:1B:5B:65:43:51
Bit Rate:11 Mb/s Sensitivity:1/3
Retry short limit:8 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=24/92 Signal level=-87 dBm Noise level=-141 dBm
Rx invalid nwid:0 Rx invalid crypt:212 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:0 Missed beacon:0

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:"Frank"
Mode:Managed Frequency:2.437 GHz Access Point: 00:1C:DF:DA:F2:D1
Bit Rate=1 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Power Management:off
Link Quality=94/100 Signal level:27/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

pan0 no wireless extensions.

craig@craig-laptop:~$ sudo iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

eth1 Scan completed :
Cell 01 - Address: 00:21:29:9F:30:EA
ESSID:"lohe56-j"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Signal level:45 dBm Noise level:16 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:capab=0x0411
Extra: Last beacon: 12ms ago
Cell 02 - Address: 00:1C:DF:DA:F2:D1
ESSID:"Frank"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Signal level:48 dBm Noise level:16 dBm
Encryption key:on
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
Extra:bcn_int=100
Extra:capab=0x0411
Extra: Last beacon: 12ms ago
Cell 03 - Address: 00:22:75:27:63:ED
ESSID:"Tardiff"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Signal level:20 dBm Noise level:16 dBm
Encryption key:on
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
Extra:bcn_int=100
Extra:capab=0x0411
Extra: Last beacon: 12ms ago
Cell 04 - Address: 00:1B:5B:65:43:51
ESSID:"2WIRE684"
Mode:Master
Channel:3
Frequency:2.422 GHz (Channel 3)
Signal level:28 dBm Noise level:16 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:bcn_int=100
Extra:capab=0x0011
Extra: Last beacon: 12ms ago
Cell 05 - Address: 00:16:B6:02:6E:52
ESSID:"chipsnet"
Mode:Master
Channel:7
Frequency:2.442 GHz (Channel 7)
Signal level:22 dBm Noise level:16 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:capab=0x0411
Extra: Last beacon: 12ms ago

wmaster0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:21:1E:54:C9:90
ESSID:"Skynet"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=94/100 Signal level:28/100
Encryption key:on
IE: Unknown: 0006536B796E6574
IE: Unknown: 010582848B962C
IE: Unknown: 030101
IE: Unknown: 2A0104
IE: Unknown: 32080C1218243048606C
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Extra:tsf=000000b807ffe1bf
Extra: Last beacon: 676ms ago
Cell 02 - Address: 00:1B:5B:65:43:51
ESSID:"2WIRE684"
Mode:Master
Channel:3
Frequency:2.422 GHz (Channel 3)
Quality=17/100 Signal level:9/100
Encryption key:on
IE: Unknown: 00083257495245363834
IE: Unknown: 010882848B0C12961824
IE: Unknown: 030103
IE: Unknown: 0706555320010B1B
IE: Unknown: 2A0107
IE: Unknown: 32043048606C
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000000e74ed4675
Extra: Last beacon: 564ms ago
Cell 03 - Address: 00:21:29:9F:30:EA
ESSID:"lohe56-j"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=5/100 Signal level:32/100
Encryption key:on
IE: Unknown: 00086C6F686535362D6A
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: Unknown: 32040C121860
IE: Unknown: DD09001018020015000000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=0000007496162e6f
Extra: Last beacon: 312ms ago
Cell 04 - Address: 00:1C:DF:DA:F2:D1
ESSID:"Frank"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=100/100 Signal level:28/100
Encryption key:on
IE: Unknown: 00054672616E6B
IE: Unknown: 010882840B161224486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 32040C183060
IE: Unknown: 2D1AEE110FFFFF0000010000000000000000000000000C0000 000000
IE: Unknown: 3D1606070700000000000000000000000000000000000000
IE: Unknown: 3E0100
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F 00
IE: Unknown: 7F0101
IE: Unknown: DD07000C4304000000
IE: Unknown: DD1E00904C33EE110FFFFF0000010000000000000000000000 000C0000000000
IE: Unknown: DD1A00904C3406070700000000000000000000000000000000 000000
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; 6 Mb/s; 12 Mb/s
24 Mb/s; 48 Mb/s
Extra:tsf=0000000caaf0abab
Extra: Last beacon: 388ms ago

pan0 Interface doesn't support scanning.

craig@craig-laptop:~$ sudo lshw -C network
*-network:0
description: Wireless interface
product: Prism 2.5 Wavelan chipset
vendor: Intersil Corporation
physical id: 2
bus info: pci@0000:02:02.0
logical name: eth1
version: 01
serial: 00:02:8a:94:be:87
width: 32 bits
clock: 33MHz
capabilities: pm cap_list ethernet physical wireless
configuration: broadcast=yes driver=orinoco driverversion=0.15 firmware=Intersil 1.5.6 latency=64 link=yes module=orinoco_pci multicast=yes wireless=IEEE 802.11b
*-network:1
description: Ethernet interface
product: 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:02:08.0
logical name: eth0
version: 42
serial: 08:00:46:ad:1d:0b
size: 10MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.23-k6-NAPI duplex=half firmware=N/A latency=66 link=no maxlatency=56 mingnt=8 module=e100 multicast=yes port=MII speed=10MB/s
*-network:0
description: Wireless interface
physical id: 1
logical name: wlan0
serial: 00:1c:df:78:1f:87
capabilities: ethernet physical wireless


Thanks for your help

kevdog
June 3rd, 2009, 09:31 AM
Where do I get my network interface from?



Its wlan0 -- thats your wireless interface

*-network:0
description: Wireless interface
physical id: 1
logical name: wlan0
serial: 00:1c:df:78:1f:87
capabilities: ethernet physical wireless
configuration: broadcast=yes ip=192.168.2.3 multicast=yes wireless=IEEE 802.11bg

snowcraig
June 3rd, 2009, 10:34 AM
Ok, I will edit my original post then with the updated info. Just in case there is some confusion, I am currently using a USB stick to connect to the internet, but I have the internal wireless card turned on as well.

wieman01
June 3rd, 2009, 02:42 PM
snowcraig,

There is a problem with your wireless device, it does not seem to support WPA. Could you do some googling on the topic and check it out? You might not be the only one having this issue.

snowcraig
June 3rd, 2009, 04:08 PM
It did support WPA when I had XP installed on the computer. It doesn't appear that the driver Ubuntu comes with for the device supports WPA however. Is there a way around that?

wieman01
June 3rd, 2009, 04:22 PM
It did support WPA when I had XP installed on the computer. It doesn't appear that the driver Ubuntu comes with for the device supports WPA however. Is there a way around that?
Yes, using "ndiswrapper" could solve the problem.

I wrote a tutorial on Ralink drivers and the use of ndiswrapper once, it might still do the job:

http://ubuntuforums.org/showthread.php?t=563547

If not, search for ndiswrapper. I believe it's the way to go in your case.

snowcraig
June 24th, 2009, 08:26 PM
I have tried WPA supplicant, no luck there. I want to try ndiswrapper, but all I can find for the driver are windows installers, and I can't seem to find a way to get the actual driver files out of them. Anyone have any suggestions?

geezerone
June 24th, 2009, 08:36 PM
I had problems with a Edimx 7318UG (I think) until it went faulty. In the end I configured the network interfaces file manually. Obtained driver from this (http://linuxwireless.org/en/users/Drivers) site.

In case you haven't looked already you could look at the list here (http://lmgtfy.com/?q=linux+wireless+drivers) too?

Good luck!

wieman01
June 25th, 2009, 12:53 PM
I have tried WPA supplicant, no luck there. I want to try ndiswrapper, but all I can find for the driver are windows installers, and I can't seem to find a way to get the actual driver files out of them. Anyone have any suggestions?
Occasionally these exe. files are ZIP archives which you can then open with your favorite zip tool and extract the files.

Can you try?

upa
June 29th, 2009, 08:54 PM
It worked for me. I used the configuratioon WPA1 -TKIP-DHCP-Broadcast.

Linksys WRT54G
Kubuntu 9.04.

regards

alleycatuk
August 5th, 2009, 05:12 AM
Hi! Great tutorial. I'm completely new to ubuntu and thanks to your post I've managed to connect to my router and access the internet using ndiswrapper and WPA2 AES. I can't get it to work on boot though and even manually, dhcp doesn't always find an ip address straight away - it takes a lot of tries.

ndiswrapper starts up fine and there's a wpa_supplicant process running after boot but I'm not sure if it starts ok - I don't know how to find out.

The odd thing is that if I run wpa_supplicant from terminal (without the -B), it seems to connect to the router and negotiate the keys fine because it says "WPA: Key negotiation completed with <router's MAC>". Though this runs ok, it takes a few attempts to get an ip address assigned by dhcp every time I start the computer. I seem to have to keep on doing:
sudo pkill wpa_supplicant
sudo ifconfig wlan0 down
sudo wpa_supplicant -iwlan0 -Dwext -c/etc/wpa_supplciant.confthen in another terminal window:

sudo ifconfig wlan0 up
sudo dhclient wlan0
and if it still doesn't get an address, do it all over again until it does. Sometimes closing one terminal window and opening another, then running wpa_supplican't in the new window seems to do the trick (coincidence?). If I stop the process (Ctrl-C), it will again take a few goes to get an ip address again.

wpa_supplicant can see the router because it says "WPA: Key negotiation completed with <router's MAC>". It then keeps renegotiating every once in a while, always saying completed. What's odd is that I can't ping the router's ip address (it either shows "Network is unreachable" or keeps pinging without finding it). I can only ping once dhclient has found an address.

The set-up must be ok in some respect as eventually it will get an ip address and I can access the internet so this suggests that ndiswrapper, wpa_supplicant etc are configured ok (doesn't it?)... the problem is that it can take between 1 and a lot of tries to get an ip address... I just have to keep trying. My goal is to get it to work all the time on boot.

If I do a sudo /etc/init.d/networking restart I get "etc/network/if-pre-up.d/wpasupplicant exited with return code 1" but though lots of posts mention this error, I couldn't see an answer of what caused it. One post said ndiswrapper but ndiswrapper -l shows it's ok and the connection does occasionally work.

I'd be really grateful if you could point me in the right direction - I've spent 10 days trying different things from different forums but as yet none have worked and, being new to linux, I don't know what to do next or even where to look! It feels like I've overcome the biggest hurdles so far in getting a connection that works with WPA2 some times and there's just something missing that's the final piece of the puzzle.

I found something that said I need a route to the gateway so I tried asudo route add default gw 192.168.1.1 wlan0 to add the gateway but it came up with "SIOCADDRT: No such process". I did try change /etc/network/interfaces to a static ip address but have never got that to connect.

I posted a question on the forum but no one replied. Can anyone here offer any advice? Thanks in advance.

For info, I'm using Ubuntu 9.04 (dual boot setup with XP) with a linksys WMP54GS pci card (shows as Broadcom Airforce One 54g in lspci), ndiswrapper and have blacklisted b43 drivers. I've also killed the network manager process as that seemed to interfere (one post said to kill it) and just said "no wireless" even though iwlist wlan0 scan sees the router/AP.

urban_ryoga
August 5th, 2009, 09:43 PM
I have a question about this. I currently automatically reconnect to my WPA2 access point, but now from the UI it says for Wireless Networks "device not managed". How will I be able to access other wi-fi points in the future?

wieman01
August 6th, 2009, 11:49 AM
I have a question about this. I currently automatically reconnect to my WPA2 access point, but now from the UI it says for Wireless Networks "device not managed". How will I be able to access other wi-fi points in the future?
If you own a mobile device, I don't encourage you to use this method. Network Manager or other networking tools will be an advantage.

mdhoerr
August 13th, 2009, 07:33 PM
I can scan and see my network from my Dell Dimension running Ubuntu 8.10, but I can't connect to it using WPA. Until recently, I connected this to my router directly via Ethernet cable, but now I have to use wireless because I had to move the modem and router to another room.

My setup includes a DSL modem, a US Robotics Wireless MAXg Router (USR5461)hoerr, an Acer Windows Vista, a Dell laptop Windows XP, and a eeePC 701 Xandros/KDE, all of which connect using wireless WPA with no problem (but not using the D-Link).

I followed your instructions, and the results were that I could no longer see my network when I ran sudo iwlist scan.

Thanks for your help!

Here's all my info before I went through your instructions.

Machine Brand and Model
Dell Dimension 8200 tower PC
Wireless Brand, Model and Wireless Chipset
D-Link DWL-122 802.11b, prism2 chipset
lspci
02:0a.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
lsusb
Bus 002 Device 002: ID 2001:3700 D-Link Corp. [hex] DWL-122 802.11b
ifconfig
wlan0 Link encap:Ethernet HWaddr 00:0d:88:66:e3:6f
UP 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)

wlan0:avahi Link encap:Ethernet HWaddr 00:0d:88:66:e3:6f
inet addr:169.254.8.7 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
iwconfig
wlan0 IEEE 802.11-DS ESSID:off/any
Mode:Auto Frequency:2.422 GHz Access Point: Not-Associated
Bit Rate:2 Mb/s Tx-Power:18 dBm
Retry short limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=0/100 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
lsmod
Module Size Used by
====== ==== =======
prism2_usb 80260 0
p80211 38536 1 prism2_usb
8139too 31616 0
mii 13440 1 8139too
uhci_hcd 30736 0
libata 177312 3 ata_piix,ata_generic,pata_acpi
usbcore 148848 3 prism2_usb,uhci_hcd
scsi_mod 155212 4 sr_mod,sd_mod,sg,libata
dmesg
[ 2.428476] Magic number: 5:594:350
[ 4.111349] hub 1-0:1.0: USB hub found
[ 4.111371] hub 1-0:1.0: 2 ports detected
[ 4.121177] 8139too Fast Ethernet driver 0.9.28
[ 4.213095] hub 2-0:1.0: USB hub found
[ 4.213115] hub 2-0:1.0: 2 ports detected
[ 4.420653] pata_acpi 0000:00:1f.1: setting latency timer to 64
[ 4.420816] 8139too 0000:02:0a.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 4.421756] eth0: RealTek RTL8139 at 0xe400, 00:0d:88:3d:86:22, IRQ 19
[ 4.421761] eth0: Identified 8139 chip type 'RTL-8100B/8139D'
[ 4.536111] usb 2-2: new full speed USB device using uhci_hcd and address 2
[ 4.600608] ata1.00: ATA-5: ST340016A, 3.10, max UDMA/100
[ 4.600615] ata1.00: 78165360 sectors, multi 8: LBA
[ 4.608517] ata1.00: configured for UDMA/100
[ 4.700041] usb 2-2: configuration #1 chosen from 1 choice
[ 18.519870] prism2usb_init: prism2_usb.o: 0.2.9 Loaded
[ 18.519876] prism2usb_init: dev_info is: prism2_usb
[ 20.829232] Prism2 card SN: 000000000000
[ 20.833307] usbcore: registered new interface driver prism2_usb
[ 102.419074] warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
[ 205.454646] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 205.455182] ADDRCONF(NETDEV_UP): wlan0: link is not ready

sudo lshw -C network
*-network
description: Ethernet interface
produmary@mary-dell:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.wlan0.pid with pid 3915
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:0d:88:66:e3:6f
Sending on LPF/wlan0/00:0d:88:66:e3:6f
Sending on Socket/fallback
grep: /etc/resolv.conf: No such file or directory
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:0d:88:66:e3:6f
Sending on LPF/wlan0/00:0d:88:66:e3:6f
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
grep: /etc/resolv.conf: No such file or directory
ct: RTL8139 Ethernet
vendor: D-Link System Inc
physical id: a
bus info: pci@0000:02:0a.0
logical name: eth0
version: 10
serial: 00:0d:88:3d:86:22
size: 10MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=64 link=no maxlatency=64 mingnt=32 module=8139too multicast=yes port=MII speed=10MB/s
*-network:0 DISABLED
description: Ethernet interface
physical id: 1
logical name: pan0
serial: 6e:d0:31:62:51:d8
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
*-network:1
description: Wireless interface
physical id: 2
logical name: wlan0
serial: 00:0d:88:66:e3:6f
capabilities: ethernet physical wireless
configuration: broadcast=yes multicast=yes wireless=IEEE 802.11-DS
sudo iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:14:C1:33:90:C0
ESSID:"hoerrs"
Mode:Master
Encryption key:on
Channel:11
Quality:45/100 Signal level:-72 dBm Noise level:-90 dBm

pan0 Interface doesn't support scanning.

lsb_release -d
Description: Ubuntu 8.10
uname -mr
2.6.27-7-generic i686

sudo /etc/init.d/networking restart
* Reconfiguring network interfaces...
There is already a pid file /var/run/dhclient.wlan0.pid with pid 3915
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:0d:88:66:e3:6f
Sending on LPF/wlan0/00:0d:88:66:e3:6f
Sending on Socket/fallback
grep: /etc/resolv.conf: No such file or directory
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:0d:88:66:e3:6f
Sending on LPF/wlan0/00:0d:88:66:e3:6f
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
grep: /etc/resolv.conf: No such file or directory

wieman01
August 16th, 2009, 06:38 AM
Hello mdhoerr,

I suppose "hoerrs" is your network. So the network is recognized, however, your wireless adapter does not seem to recognize it as a WPA secured one. I believe the driver can't really cope with WPA and might have to be replaced through "ndiswrapper".

Do you know what driver your card is supposed to work with? I would do a little research there.

mantes
August 25th, 2009, 06:29 PM
hi guys ! new to this forum. you are are doing really great job helping out newbies like me. I am also tryin to do WPA setup on my small network of 3 PC's. All the 3 PC's have Ubuntu 9.04 . I use Wicd as my network manager. I am using D-link DWL AG530 PCI cards with Atheros chipset. I have wext as my wpa supplicant driver.

First i'll show my /ect/interfaces file,

auto ath0
iface ath0 inet static
address 192.168.X.X
netmask 255.255.255.0
wpa-driver wext
wpa-ssid <my ssid>
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk ,pass phrase in hex>

now this is my /etc/wpa_supplicant/wpa_supplicat.conf file,

ctrl_interface=var/run/wpa_supplicant
network={
ssid= <my ssid>
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
psk=<hex passphrase key>
}


after running, wpa_suplicant -d -c /etc/wpa_supplicant/wpa_supplicant.conf -iath0 -Dwext

i get a lonnggg error msg ,at the end of the error it shows,

Failed to add interface ath0
State DISCONNECTED > DISCONNECTED
wpa_driver_wext_set_operstate : operstate 0>0 (DORMANT)
WEXT: OPerstate: linkmode=-1, operstate=5
No keys have been configured -skip key clearing
Cancelling scan request
Cancelling authentication timeout
WEXT:OPerstate:linkmode=0, operstate=6

I need to eneable WPA and preferably WPA 2 in all the 3 PC's and make one of the PC as master and rest will be clients. How should i go about this ???? do i need to make any change in interfaces or wpa_supplicant.conf file ???


Please guys any help would b greatly appreciated.

Thanks .

mantes
August 25th, 2009, 06:33 PM
wi(s)eman 01 plzzz help me out here. really important for me to get it working in a short time.

looking forward to any kind of help.


cheers.

wieman01
August 26th, 2009, 03:19 PM
Hello Mantes,

Sorry, but I don't use any chat clients at all.

This could be the right thread for you:

http://ubuntuforums.org/showthread.php?t=571188

Since you use the method outlined in the thread mentioned above, it might find an answer there. If you want to follow my method, let me know and post everything that's mentioned in section "Post this if you are stumped...".

Xkutzy
August 26th, 2009, 05:44 PM
I am having trouble getting WPA to work with an Edimax EW-7318Ug USB wireless device in Ubuntu Hardy. I'm using an old Toshiba laptop with a Toshiba Mini PCI lan card installed. The card is functioning but slow and does not support WPA, hence my trying the EW-7318Ug.

The EW-7318Ug works fine with WEP64. I tried setting up WPA with network manager and by using this how to. In my preferred configuration using DHCP, it does not get an IP address from the router. If I use a fixed IP it won't connect.

I have the internal card switched off on the hardware switch. I have other laptops that connect to the router fine using WPA so I think the router is OK. The EW-7318Ug is reported as working out of the box in Hardy, so I would be grateful if someone could point out what I am doing wrong.

ians@ubuntuToshiba:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 0 0 0 eth0
default * 0.0.0.0 U 1000 0 0 wlan0

ians@ubuntuToshiba:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11b ESSID:"" Nickname:"HERMES I"
Mode:Managed Frequency:2.457 GHz Access Point: None
Bit Rate:2 Mb/s Sensitivity:1/3
Retry limit:4 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=0/92 Signal level=134/153 Noise level=134/153
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

wmaster0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

ians@ubuntuToshiba:~$ sudo iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

eth1 No scan results

wmaster0 Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 00:1F:9F:49:D7:71
ESSID:"ThomsonE9A7D8"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=46/100 Signal level=-80 dBm
Encryption key:on
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
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=00000003ab73407d
Cell 02 - Address: 00:12:17:38:A8:86
ESSID:""
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=49/100 Signal level=-62 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=00000058629af18b

ians@ubuntuToshiba:~$ sudo lshw -C network
*-network
description: Ethernet interface
product: 82801BA/BAM/CA/CAM Ethernet Controller
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:02:08.0
logical name: eth0
version: 03
serial: 00:00:39:ff:88:81
size: 10MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.23-k4-NAPI duplex=half firmware=N/A latency=64 link=no maxlatency=56 mingnt=8 module=e100 multicast=yes port=MII speed=10MB/s
*-network
description: Wireless LAN Card
product: Version 01.01
vendor: TOSHIBA
physical id: 0
slot: Socket 0
resources: irq:11
*-network:0
description: Wireless interface
physical id: 2
logical name: eth1
serial: 00:02:2d:13:3c:86
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=orinoco driverversion=0.15 firmware=Lucent/Agere 6.14 link=no multicast=yes wireless=IEEE 802.11b
*-network:1
description: Wireless interface
physical id: 3
logical name: wlan0
serial: 00:1f:1f:3b:0f:ba
capabilities: ethernet physical wireless
configuration: broadcast=yes multicast=yes wireless=IEEE 802.11g

ians@ubuntuToshiba:~$ sudo cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface

iface eth1 inet dhcp
# wireless-* options are implemented by the wireless-tools package
wireless-mode managed
wireless-key 3XXXXXXXXc
wireless-essid gXXXXXX9

iface eth0 inet dhcp

auto eth0


iface wlan0 inet dhcp
wpa-psk 5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXe
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid gXXXXXX9
wpa-ap-scan 2
wpa-pairwise TKIP
wpa-group TKIP

auto wlan0

ians@ubuntuToshiba:~$ sudo ifdown -v wlan0
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/avahi-autoipd
run-parts: executing /etc/network/if-down.d/wpasupplicant
dhclient3 -r -pf /var/run/dhclient.wlan0.pid -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0
There is already a pid file /var/run/dhclient.wlan0.pid with pid 5771
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:1f:1f:3b:0f:ba
Sending on LPF/wlan0/00:1f:1f:3b:0f:ba
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.1.1 port 67
ifconfig wlan0 down
run-parts --verbose /etc/network/if-post-down.d
run-parts: executing /etc/network/if-post-down.d/avahi-daemon
run-parts: executing /etc/network/if-post-down.d/wireless-tools
run-parts: executing /etc/network/if-post-down.d/wpasupplicant
wpa_supplicant: terminating wpa_supplicant daemon via pidfile /var/run/wpa_supplicant.wlan0.pid
Stopped /sbin/wpa_supplicant (pid 3973).

ians@ubuntuToshiba:~$ sudo ifup -v wlan
Ignoring unknown interface wlan=wlan.
ians@ubuntuToshiba:~$ sudo ifup -v wlan0
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver wext
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -D wext -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/wlan0
wpa_supplicant: wpa-ap-scan 2 -- OK
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "gXXXXXX9" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-pairwise TKIP -- OK
wpa_supplicant: wpa-group TKIP -- OK
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto WPA -- OK
wpa_supplicant: enabling network block 0 -- OK

dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.wlan0.pid -lf /var/lib/dhcp3/dhclient.wlan0.leases wlan0
There is already a pid file /var/run/dhclient.wlan0.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:1f:1f:3b:0f:ba
Sending on LPF/wlan0/00:1f:1f:3b:0f:ba
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/wpasupplicant

P.S. The router I am trying to attach to is identified as cell 2 on the scan.

P.P.S. How do I put the above pasted stuff is a scrollable box?