View Full Version : HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc.
Pages :
1
2
3
4
5
[
6]
7
8
wieman01
March 4th, 2008, 04:32 AM
Thanks a lot. Do you mean it's my network card driver don't support LEAP. If I can find a workable network card driver, everything will work?
I will have a try some later time. Thank you!
I am pretty sure the current does not work.
So you need to replace it with 'ndiswrapper' and the respective Windows driver. Please try to get the right Windows driver for your card, check the link that I have provided, and install away. :-)
Please make sure you get the right version of the Windows driver. 64-bit one if you are on Ubuntu 64-bit, 32-bit one on a 32-bit Ubuntu machine.
wangrui
March 4th, 2008, 11:48 PM
I am pretty sure the current does not work.
So you need to replace it with 'ndiswrapper' and the respective Windows driver. Please try to get the right Windows driver for your card, check the link that I have provided, and install away. :-)
Please make sure you get the right version of the Windows driver. 64-bit one if you are on Ubuntu 64-bit, 32-bit one on a 32-bit Ubuntu machine.
LEAP is working on my machine!
But I didn't use Windows driver, because I don't have it. The windows driver is installed through a company website. And it has dependency with a lot of other softwares. It's not separatable.
I got some helps from the following forum:
http://ubuntuforums.org/showthread.php?t=235655
http://ubuntuforums.org/showthread.php?t=235655&page=3
The things I tried are the following, not sure which one actually makes it work.
1. Install vpnc and madwifi
2. Modify /etc/network/interfaces to
iface ath0 inet dhcp
wpa-ssid IBM
wpa-scan-ssid 1
wpa-auth-alg OPEN
wpa-key-mgmt IEEE8021X
wpa-eap LEAP
wpa-ap-scan 2
wpa-identity <name>
wpa-password <password>
3. run the following
export IF_WPA_DRIVER=madwifi
sudo ifdown -v eth0
sudo ifdown -v ath0
sudo ifup -v ath0
I have the following files at /etc/network/if-pre-up.d
ls -lA /etc/network/if-pre-up.d/
total 8
-rwxr-xr-x 1 root root 1777 2007-05-01 12:48 madwifi
-rwxr-xr-x 1 root root 2358 2007-04-28 05:37 wireless-tools
lrwxrwxrwx 1 root root 32 2008-01-28 19:36 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh
The following are some weird keywords for google crawler. So next time I can find this page easily if I need to setup the machine again (Leap really has other meanings, it's not a good keyword for searching, but I guess LEAPwirelessT60P was a unique keyword):
How to make LEAPwireless work on Lenovo T60P AR5212 802.11abg NIC - LEAPwirelessT60P
wieman01
March 5th, 2008, 12:27 AM
Hello Wangrui:
Congrats & thanks for sharing this with us.
I think you might be able to use Network Manager or WICD as well, so there is little need for a manual configuration. You could try, since it will make roaming a lot easier for you.
excogitation
March 7th, 2008, 08:41 AM
Just wanted to say thanks (post #2).
Although I don't really understand what
sudo ln -s /etc/init.d/wireless-network.sh /etc/rcS.d/S40wireless-network
does (total linux noob).
Is the "/etc/rcS.d/" sth. like an "autostart" folder?
Do the Sxx have to be uniques?
Mine is now S41wireless-network because there already was
a "symbolic link"? S40networking.
You see - I have no idea what I'm talking about - nonetheless my Ubuntu now goes online during? startup without extra fiddling.
wieman01
March 7th, 2008, 09:50 AM
"/etc/rcS.d/" is indeed an autostart folder. You could do some more reading concerning run-levels, etc. That'll shed some light on the issue. Interesting stuff.
The number does not have to be unique though. The whole file name, yes, but the first 3 characters (S..) are up to you pretty much. So you might as well call it "S41wireless-network", it won't do any damage nor overwrite any other files/links starting with "S40".
excogitation
March 7th, 2008, 08:20 PM
Ok, thanks.
I certainly have to do a lot of reading - if only the day hadn't just 24 hours.
aarumugham
March 9th, 2008, 06:56 PM
Hello all.
I have a Dell Vostro 1500 with a broadcom 1390 card, I am dual booting with XP and Linux Mint (Daryna).
I have been slaving over this for days with no success.
Here is the output for various commands:
akilan@akilan-linux:~$ sudo iwlist eth1 scan
[sudo] password for akilan:
eth1 Scan completed :
Cell 01 - Address: 00:1B:5B:66:B1:99
ESSID:"2WIRE619"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
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; 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:0C:41:CA:6F:E7
ESSID:"RNSNDS"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:3/100 Signal level:-94 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 03 - Address: 00:90:4C:91:00:01
ESSID:"aarumugham"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:46/100 Signal level:-66 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 : WEP-40
Pairwise Ciphers (1) : WEP-40
Authentication Suites (1) : PSK
So my card appears to be working and recognized. It recognizes my network (cell 03).
I cannot for the life of me connect to it! WPA-PSK security. ssid broadcast enabled.
other useful info:
akilan@akilan-linux:~$ sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
[sudo] password for akilan:
-------------------------
* I. scanning WIFI PCI devices...
-- Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01)
==> PCI ID = 14e4:4311 (rev 01)
-------------------------
* II. querying ndiswrapper...
bcmwl5 : driver installed
device (14E4:4311) present (alternate driver: bcm43xx)
-------------------------
* III. querying iwconfig...
lo no wireless extensions.
eth0 no wireless extensions.
eth1 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
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
-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 00:1C:23:89:86:F5
inet addr:192.168.1.12 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:741 errors:0 dropped:0 overruns:0 frame:0
TX packets:543 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:844112 (824.3 KB) TX bytes:82891 (80.9 KB)
Interrupt:17
eth1 Link encap:Ethernet HWaddr 00:1C:26:0F:44:4F
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)
Interrupt:17 Memory:f9ffc000-fa000000
eth1:avah Link encap:Ethernet HWaddr 00:1C:26:0F:44:4F
inet addr:169.254.3.49 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:17 Memory:f9ffc000-fa000000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:551 errors:0 dropped:0 overruns:0 frame:0
TX packets:551 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:49899 (48.7 KB) TX bytes:49899 (48.7 KB)
-------------------------
* V. querying DHCP...
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:1c:26:0f:44:4f
Sending on LPF/eth1/00:1c:26:0f:44:4f
Listening on LPF/eth0/00:1c:23:89:86:f5
Sending on LPF/eth0/00:1c:23:89:86:f5
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 192.168.1.10
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.10
bound to 192.168.1.12 -- renewal in 1415 seconds.
-------------------------
* VI. querying nslookup google.com...
Server: 24.93.41.127
Address: 24.93.41.127#53
Non-authoritative answer:
Name: google.com
Address: 72.14.207.99
Name: google.com
Address: 64.233.187.99
Name: google.com
Address: 64.233.167.99
akilan@akilan-linux:~$ sudo gedit /etc/network/interfaces yields the following:
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet dhcp
wpa-driver ndiswrapper
wpa-ssid aarumugham
wpa-ap-scan 2
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 54ac59b66eb01a8e93f07xx9543xx86a085b53ea1x63c4xxxx x339a9a0a2b9e75361
pre-up wpa_supplicant -Bw -Dndiswrapper -ieth1 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
the wpa_supplicant file contains the following:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="aarumugham"
scan_ssid=1
proto=WPA
# key_mgmt=WPA-PSK
# psk = 0...7
psk="e...1"
# key_mgmt=WPA-PSK
# pairwise=TKIP
# group=TKIP
}
thanks in advance for your help.
wieman01
March 10th, 2008, 06:24 AM
aarumugham:
Please also post:
sudo lshw -C network
sudo ifdown -v eth1
sudo ifup -v eth1
What hardware have you got? And what chipset is your wireless adapter?
aarumugham
March 11th, 2008, 09:49 AM
wieman, i really appreciate your help! here is the info:
akilan@akilan-linux:~$ sudo lshw -C network
[sudo] password for akilan:
*-network
description: Wireless interface
product: BCM94311MCG wlan mini-PCI
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:0c:00.0
logical name: eth1
version: 01
serial: 00:1c:26:0f:44:4f
width: 32 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
*-network
description: Ethernet interface
product: BCM4401-B0 100Base-TX
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 02
serial: 00:1c:23:89:86:f5
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=b44 driverversion=1.01 duplex=full ip=192.168.1.12 latency=64 link=yes module=b44 multicast=yes port=twisted pair speed=100MB/s
akilan@akilan-linux:~$ sudo ifdown -v eth1
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
dhclient3 -r -pf /var/run/dhclient.eth1.pid -lf /var/lib/dhcp3/dhclient.eth1.leases eth1
There is already a pid file /var/run/dhclient.eth1.pid with pid 6064
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:1c:26:0f:44:4f
Sending on LPF/eth1/00:1c:26:0f:44:4f
Sending on Socket/fallback
ifconfig eth1 down
killall -q wpa_supplicant
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
akilan@akilan-linux:~$ sudo ifdown -v eth1
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
dhclient3 -r -pf /var/run/dhclient.eth1.pid -lf /var/lib/dhcp3/dhclient.eth1.leases eth1
There is already a pid file /var/run/dhclient.eth1.pid with pid 6064
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:1c:26:0f:44:4f
Sending on LPF/eth1/00:1c:26:0f:44:4f
Sending on Socket/fallback
ifconfig eth1 down
killall -q wpa_supplicant
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
HARDWARE:
I cut/pasted from the following : akilan@akilan-linux:~$ $sudo lshw
hopefully this gives you the information you need.
description: Computer
width: 32 bits
*-core
description: Motherboard
physical id: 0
*-memory
description: System memory
physical id: 0
size: 2025MB
*-cpu
product: Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz
*-pci
description: Host bridge
product: Mobile PM965/GM965/GL960 Memory Controller Hub
*-pci:0
description: PCI bridge
product: Mobile PM965/GM965/GL960 PCI Express Root Port
*-display
description: VGA compatible controller
product: GeForce 8400M GS
*-usb:0-6
description: USB Controller
*-multimedia
description: Audio device
product: 82801H (ICH8 Family) HD Audio Controller
*-pci:1-4
description: PCI bridge
product: 82801H (ICH8 Family) PCI Express Port 1
*-network
description: Wireless interface
product: BCM94311MCG wlan mini-PCI
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:0c:00.0
logical name: eth1
version: 01
serial: 00:1c:26:0f:44:4f
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+bcmwl5 driverversion=1.52+Broadcom,10/12/2006, 4.100. latency=0 module=ndiswrapper multicast=yes wireless=IEEE 802.11g
*-network
description: Ethernet interface
product: BCM4401-B0 100Base-TX
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 02
serial: 00:1c:23:89:86:f5
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=b44 driverversion=1.01 ip=192.168.1.12 latency=64 module=b44 multicast=yes
RICOH card reader, firewire.
*-cdrom
description: DVD writer
product: DVD+-RW GSA-T11N
vendor: HL-DT-ST
capabilities: removable audio cd-r cd-rw dvd dvd-r
configuration: ansiversion=5 status=open
*-ide:1
description: IDE interface
product: 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller
*-serial UNCLAIMED
description: SMBus
product: 82801H (ICH8 Family) SMBus Controller
vendor: Intel Corporation
wieman01
March 11th, 2008, 09:59 AM
OK, you use 'ndiswrapper' with a Broadcom driver. Please make "/etc/network/interfaces" read:
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet dhcp
wpa-driver wext
wpa-ssid aarumugham
wpa-ap-scan 1
wpa-proto WPA RSN
wpa-pairwise TKIP CCMP
wpa-group TKIP CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 54ac59b66eb01a8e93f07xx9543xx86a085b53ea1x63c4xxxx x339a9a0a2b9e75361
Then restart the network:
sudo ifdown -v eth1
sudo ifup -v eth1
Does that work?
aarumugham
March 11th, 2008, 04:42 PM
wieman - you rule! a thousand thanks!
i added the startup script at the begining of this thread and everything is working great!
if you have a moment, just a few questions so that i can learn,
what is the idea behind the changes?
why wext? why ap scan 1?
do i still need the wpa_supplicant file at all?
is there a way i could have multiple profiles saved and just pick one from a list when i am in a different spot?
thanks,
akilan
wieman01
March 11th, 2008, 04:57 PM
aarumugham,
Unfortunately there is no way to have multiple profile with this approach.
As for the changes, you use WPA1 (TKIP) rather than WPA2. That's why I added WPA and TKIP. You SSID isn't hidden, hence "ap scan 1". And 'wext' is the right driver for 'ndiswrapper'.
You won't need "wpa_supplicant" if you have followed this tutorial.
Does this help?
DieselSnorter
March 12th, 2008, 05:30 PM
I'm not able to get mine to connect to my WPA2 network. It was for a while when I was broadcasting the SSID (but it was VERY sketchy), then I tried to configure it based on the 1st post here, and now it won't connect to anything. Sadly, the PC I'm working doesn't have a connection now (hence the reason I'm here) so I have to type everything over.
I'm trying to use a Belkin Wireless G USB adapter.
my /etc/network/interfaces looks like this:
auto wlan1
iface wlan1 inet dhcp
wpa-driver wext
wpa-conf managed
wpa-ssid MYSSSID
wpa-ap scan 1
wpa -proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk MYKEYSTRINGOFTESTJUNK
if I run:
sudo iwlist scan:
it finds my network and two others.
sudo lshw -C network:
*-network
description: wireless interface
physical id 1
logical name: wlan1
serial: 00:1c:df:1c:49:1c
capabilities: ethernet phyical wirelesss
configuration: broadcast-yes multicast=yes wireless=IEEE 802.11g
My network is WPA2 with DHCP. I'd rather have it hidden, but at this point, I'll take what I can get.
wieman01
March 13th, 2008, 03:09 AM
To undo the changes, simply remove the lines you have added in the first place and restart the PC. It's as simple as that.
Please post this after you have working internet connection. This information is very important:
sudo iwlist scan
sudo ifdown -v wlan1
sudo ifup -v wlan1
What chipset is your wireless adapter?
DieselSnorter
March 13th, 2008, 06:26 AM
okay, I'm on the Linux machine now.
$ sudo iwlist scan
lo Interface doesn't support scanning.
eth1 Interface doesn't support scanning.
wmaster0 Interface doesn't support scanning.
wlan1 Scan completed :
Cell 01 - Address: 00:18:01:FB:D1:41
ESSID:"3U437"
Mode:Master
Channel:1
Frequency:2.412 GHz
Signal level=-68 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:tsf=00000035ec262e2c
Cell 02 - Address: 00:0F:66:E4:73:5E
ESSID:"XXXX"
Mode:Master
Channel:6
Frequency:2.437 GHz
Signal level=-72 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=0000001ee2405713
Cell 03 - Address: 00:18:01:F6:C4:2E
ESSID:"58864"
Mode:Master
Channel:11
Frequency:2.462 GHz
Signal level=-68 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:tsf=000000235bb7cd97
$ 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/50firestarter
* Stopping the Firestarter firewall...
...done.
* Starting the Firestarter firewall...
...done.
run-parts: executing /etc/network/if-down.d/avahi-autoipd
RTNETLINK answers: No such process
run-parts: executing /etc/network/if-down.d/clamav-freshclam-ifupdown
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 18580
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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/wlan1/00:1c:df:1c:49:1c
Sending on LPF/wlan1/00:1c:df:1c:49:1c
Sending on Socket/fallback
DHCPRELEASE on wlan1 to 192.168.1.100 port 67
ifconfig wlan1 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/hostapd
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 17412).
$ 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/50firestarter
* Stopping the Firestarter firewall...
...done.
* Starting the Firestarter firewall...
...done.
run-parts: executing /etc/network/if-down.d/avahi-autoipd
RTNETLINK answers: No such process
run-parts: executing /etc/network/if-down.d/clamav-freshclam-ifupdown
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 18580
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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/wlan1/00:1c:df:1c:49:1c
Sending on LPF/wlan1/00:1c:df:1c:49:1c
Sending on Socket/fallback
DHCPRELEASE on wlan1 to 192.168.1.100 port 67
ifconfig wlan1 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/hostapd
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 17412).
god@Deus-ex-machina:/etc/network$ 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/hostapd
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...
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/wlan1
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "XXXX" -- OK
wpa_supplicant: wpa-psk ***** -- 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.wlan1.pid -lf /var/lib/dhcp3/dhclient.wlan1.leases wlan1
There is already a pid file /var/run/dhclient.wlan1.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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/wlan1/00:1c:df:1c:49:1c
Sending on LPF/wlan1/00:1c:df:1c:49:1c
Sending on Socket/fallback
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan1 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/50firestarter
* Stopping the Firestarter firewall...
...done.
* Starting the Firestarter firewall...
...fail!
run-parts: /etc/network/if-up.d/50firestarter exited with return code 2
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/clamav-freshclam-ifupdown
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/openssh-server
run-parts: executing /etc/network/if-up.d/wpasupplicant
I believe my adapter is using an RT2570 chipset.
wieman01
March 13th, 2008, 06:30 AM
Your network is a WPA one as far as I can tell. Please try this script:
auto wlan1
iface wlan1 inet dhcp
wpa-driver wext
wpa-ssid MYSSSID
wpa-ap scan 1
wpa -proto RSN WPA
wpa-pairwise CCMP TKIP
wpa-group CCMP TKIP
wpa-key-mgmt WPA-PSK
wpa-psk MYKEYSTRINGOFTESTJUNK
I have thrown out "wpa-conf managed".
Please then post:
sudo ifdown -v wlan1
sudo ifup -v wlan1
If this is a Ralink chipset I cannot promise this will work. Ralink Linux drivers are problematic.
DieselSnorter
March 13th, 2008, 06:03 PM
wow, that works like a champ. I had to make one modification, i'm not using TKIP, I'm using AES. So for the places you put TKIP, I put AES.
/ 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/50firestarter
* Stopping the Firestarter firewall...
...done.
* Starting the Firestarter firewall...
...done.
run-parts: executing /etc/network/if-down.d/avahi-autoipd
run-parts: executing /etc/network/if-down.d/clamav-freshclam-ifupdown
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 6352
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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/wlan1/00:1c:df:1c:49:1c
Sending on LPF/wlan1/00:1c:df:1c:49:1c
Sending on Socket/fallback
DHCPRELEASE on wlan1 to 192.168.1.100 port 67
ifconfig wlan1 down
killall -q wpa_supplicant
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/hostapd
run-parts: executing /etc/network/if-post-down.d/wireless-tools
run-parts: executing /etc/network/if-post-down.d/wpasupplicant
sudo ifup -v wlan1
Configuring interface wlan1=wlan1 (inet)
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -Bw
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/hostapd
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...
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - 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 "XXX" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-pairwise CCMP AES -- FAIL
wpa_supplicant: wpa-group CCMP AES -- FAIL
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto RSN WPA -- 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 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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/wlan1/00:1c:df:1c:49:1c
Sending on LPF/wlan1/00:1c:df:1c:49:1c
Sending on Socket/fallback
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 13
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/50firestarter
* Stopping the Firestarter firewall...
...done.
* Starting the Firestarter firewall...
...fail!
run-parts: /etc/network/if-up.d/50firestarter exited with return code 2
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/clamav-freshclam-ifupdown
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/openssh-server
run-parts: executing /etc/network/if-up.d/wpasupplicant
Anything else i can do? Should I try turning off the SSID broadcast?
DieselSnorter
March 13th, 2008, 06:42 PM
actually, I seem to have spoken too soon. It seems I get connected for about 5-10 minutes...then it just gives up.
Seems like we're getting closer though.
too be fair, it seems as though the USB device just stops responding altogether. if I try to restart networking, I get a message that the network is down. If I unplug it and plug it back in, then restart, it comes back up for a little while.
DieselSnorter
March 13th, 2008, 07:46 PM
of course, it had to go and make a liar out of me, now it's been connected for over an hour...go figure.
wieman01
March 14th, 2008, 03:15 AM
of course, it had to go and make a liar out of me, now it's been connected for over an hour...go figure.
Excellent. :-)
ginge6000
March 15th, 2008, 05:33 PM
I don't get it:confused:!!!!!
I followed the instructions to the letter but as soon as I stop my wireless connection from using roaming and use a manual configuration it stops connecting! My network card is a Linksys WMP54g v7.1.
Please help as I want to be able to mount the home directories on this laptop but this will only work if it's connected to the wireless network before i logon.....
Ben
wieman01
March 16th, 2008, 07:01 AM
I don't get it:confused:!!!!!
I followed the instructions to the letter but as soon as I stop my wireless connection from using roaming and use a manual configuration it stops connecting! My network card is a Linksys WMP54g v7.1.
Please help as I want to be able to mount the home directories on this laptop but this will only work if it's connected to the wireless network before i logon.....
Ben
Please post:
sudo iwlist scan
sudo lshw -C network
sudo cat /etc/network/interfaces
ginge6000
March 16th, 2008, 09:35 AM
Sorry for sounding a bit thick but do you want these after I've done the manual config or when the wireless connection is working?
wieman01
March 16th, 2008, 09:49 AM
Sorry for sounding a bit thick but do you want these after I've done the manual config or when the wireless connection is working?
Anytime you like. But only if you have problems. :-)
ginge6000
March 16th, 2008, 10:25 AM
sudo iwlist scan:
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wifi0 Interface doesn't support scanning.
ath0 Scan completed :
Cell 01 - Address: 00:13:49:7C:06:7C
ESSID:"porcupine"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=19/70 Signal level=-76 dBm Noise level=-95 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
IE: WPA Version 1
Group Cipher : WEP-40
Pairwise Ciphers (1) : WEP-40
Authentication Suites (1) : PSK
Extra:wme_ie=dd070050f202000100
Cell 02 - Address: 00:18:39:6A:3A:20
ESSID:"Peakes Court"
Mode:Master
Frequency:2.462 GHz (Channel 11)
Quality=40/70 Signal level=-55 dBm Noise level=-95 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
IE: WPA Version 1
Group Cipher : WEP-40
Pairwise Ciphers (1) : WEP-40
Authentication Suites (1) : PSK
Cell 03 - Address: 00:1D:68:05:54:A9
ESSID:"BTHomeHub-D171"
Mode:Master
Frequency:2.412 GHz (Channel 1)
Quality=8/70 Signal level=-87 dBm Noise level=-95 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:wme_ie=dd180050f2020101880003a4000027a400004 2435e0062322f00
Cell 04 - Address: 00:0F:B5:7C:C1:30
ESSID:"Dovecote"
Mode:Master
Frequency:2.462 GHz (Channel 11)
Quality=9/70 Signal level=-86 dBm Noise level=-95 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
sudo lshw -C network:
*-network
description: Realtek
physical id: 0
version: Rtl8139
slot: Socket 0
resources: irq:10
*-network
description: AR5001-0000-0000
product: Wireless LAN Reference Card
vendor: Atheros Communications, Inc.
physical id: 0
version: 00
slot: Socket 1
resources: irq:10
*-network:0
description: Ethernet interface
product: RTL-8139/8139C/8139C+
vendor: Realtek Semiconductor Co., Ltd.
physical id: 2
bus info: pci@0000:02:00.0
logical name: eth0
version: 10
serial: 00:e0:4c:00:15:70
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:1
description: Wireless interface
product: AR2413 802.11bg NIC
vendor: Atheros Communications, Inc.
physical id: 0
bus info: pci@0000:06:00.0
logical name: wifi0
version: 01
serial: 00:18:39:6a:4c:d0
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=ath_pci driverversion=0.9.4.5 (0.9.3.2) latency=168 maxlatency=28 mingnt=10 module=ath_pci multicast=yes wireless=IEEE 802.11g
sudo cat /etc/network/interfaces:
auto lo
iface lo inet loopback
auto ath0
iface ath0 inet dhcp
wpa-driver madwifi
wpa-ssid Peakes Court
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk 3521cf0e8cd00d908b43b8ca1b827cd454866ad5d0f6c99f14 13ca012455faf8
Thank you for your help with this!
wieman01
March 16th, 2008, 10:30 AM
ginge6000:
Looks pretty neat in fact. Only one thing that might trip you up... Try another SSID without spaces e.g. "PeakesCourt". Done so please post:
sudo ifdown -v ath0
sudo ifup -v ath0
You are close.
ginge6000
March 16th, 2008, 10:43 AM
sudo ifdown -v ath0:
Configuring interface ath0=ath0 (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.ath0.pid -lf /var/lib/dhcp3/dhclient.ath0.leases ath0
There is already a pid file /var/run/dhclient.ath0.pid with pid 5077
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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/ath0/00:18:39:6a:4c:d0
Sending on LPF/ath0/00:18:39:6a:4c:d0
Sending on Socket/fallback
DHCPRELEASE on ath0 to 192.168.1.1 port 67
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 3628).
sudo 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/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 1 -- OK
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "PeakesCourt" -- 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.ath0.pid -lf /var/lib/dhcp3/dhclient.ath0.leases ath0
There is already a pid file /var/run/dhclient.ath0.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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/ath0/00:18:39:6a:4c:d0
Sending on LPF/ath0/00:18:39:6a:4c:d0
Sending on Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on ath0 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
wieman01
March 16th, 2008, 10:45 AM
Have you changed the SSID on both the client and the router?
Could you connect to your network while security was turned off?
ginge6000
March 16th, 2008, 10:49 AM
Yep, SSID changed on both. Still can't connect with security turned off......
wieman01
March 16th, 2008, 11:09 AM
Yep, SSID changed on both. Still can't connect with security turned off......
Wow... Even after removing the security modifications in "/etc/network/interfaces"? That's bad news.
Is MAC filtering enabled by chance? Your adapter appears to work, so I don't see an issue here.
While you connect via wireless, your wired connection is down i.e. cable pulled, right?
ginge6000
March 16th, 2008, 11:42 AM
Nope, even with the security config lines removed from /etc/network/interfaces. MAC filtering is not being used. Wired connection not attached.....
What's going on! I do remember reading somewhere to make sure that "Enable Roaming" was checked to make the wireless card work. Why should this be the case?
wieman01
March 16th, 2008, 12:41 PM
Nope, even with the security config lines removed from /etc/network/interfaces. MAC filtering is not being used. Wired connection not attached.....
What's going on! I do remember reading somewhere to make sure that "Enable Roaming" was checked to make the wireless card work. Why should this be the case?
I have no clue what's going on... :confused:
Maybe Kevdog knows the answer:
http://ubuntuforums.org/showthread.php?t=684495
ginge6000
March 16th, 2008, 12:50 PM
Thanks for that thread, not sure how I didn't find it before. I'll have a go at that one (it seems rather involved!) and let you know how it goes!
recon69
March 20th, 2008, 01:26 PM
Having problems setting up a wireless connection, I 'v got a Edimax EW-7128g / Ralink RT61 wireless card, it's installed and works when encryption is off. but get errors when i try with encryption on.
the problem seem to be here
/var/run/wpa_supplicant.ra0.pid -i ra0 -C /var/run/wpa_supplicant -D wext
Starting /sbin/wpa_supplicant...
ioctl[SIOCSIWPMKSA]: Network is down
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]:
look like i need a better driver. I would just upgrade to 6.10 but that not working for me eather. stuck.
any help welcome
here is some details
mec@ubuntu-mec:~$ route
Kernel IP routeing table
Destination Gateway Genmask Flags Metric Ref Use Iface
mec@ubuntu-mec:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
ra0 RT61 Wireless ESSID:""
Mode:Auto Frequency:1 MHz Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Link Quality=0/70 Signal level:-121 dBm Noise level:-111 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
sit0 no wireless extensions.
mec@ubuntu-mec:~$ sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
ra0 Scan completed :
Cell 01 - Address: 00:17:3F:15:E3:06
Mode:Managed
ESSID:"topcat"
Encryption key:on
Channel:1
sit0 Interface doesn't support scanning.
mec@ubuntu-mec:~$ sudo lshw -C network
*-network:0 DISABLED
description: Ethernet interface
product: SiS900 PCI Fast Ethernet
vendor: Silicon Integrated Systems [SiS]
physical id: 4
bus info: pci@00:04.0
logical name: eth0
version: 90
serial: 00:0b:6a:62:35:0b
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegociation
configuration: autonegociation=on broadcast=yes driver=sis900 driverversion=v1.08.09 Sep. 19 2005 duplex=full link=yes multicast=yes port=MII speed=100MB/s
resources: ioport:d400-d4ff iomemory:cfffc000-cfffcfff irq:201
*-network:1
description: Network controller
product: RaLink
vendor: RaLink
physical id: b
bus info: pci@00:0b.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=rt61
resources: iomemory:cfff0000-cfff7fff irq:201
*-network
description: Wireless interface
physical id: 1
logical name: ra0
serial: 00:0e:2e:f5:d1:be
capabilities: ethernet physical wireless
configuration: broadcast=yes multicast=yes wireless=RT61 Wireless
mec@ubuntu-mec:~$ 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
#auto eth0
#iface eth0 inet dhcp
auto ra0
iface ra0 inet dhcp
wpa-driver wext
wpa-ssid topcat
wpa-ap-scan 1
wpa-proto WPA RSN
wpa-pairwise TKIP CCMP
wpa-group TKIP CCMP
wpa-key-mgmt WPA-PSK
wpa-psk d65c0c06184279e872c98ba82c24ac83a36839df5d9d257df2 f6e8c5f39cca7b
mec@ubuntu-mec:~$ sudo ifdown -v ra0
Configuring interface ra0=ra0 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/wpasupplicant
wpa_supplicant: ctrl_interface=/var/run/wpa_supplicant
dhclient3 -r -pf /var/run/dhclient.ra0.pid -lf /var/lib/dhcp3/dhclient.ra0.leases ra0
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on LPF/ra0/00:0e:2e:f5:d1:be
Sending on LPF/ra0/00:0e:2e:f5:d1:be
Sending on Socket/fallback
DHCPRELEASE on ra0 to 192.168.2.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
ifconfig ra0 down
run-parts --verbose /etc/network/if-post-down.d
run-parts: executing /etc/network/if-post-down.d/wireless-tools
run-parts: executing /etc/network/if-post-down.d/wpasupplicant
wpa_supplicant: ctrl_interface=/var/run/wpa_supplicant
wpa_supplicant: terminating wpa_supplicant daemon
Stopped wpa_supplicant (pid 3245).
mec@ubuntu-mec:~$ sudo ifup -v ra0
Configuring interface ra0=ra0 (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: ctrl_interface=/var/run/wpa_supplicant
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.ra0.pid -i ra0 -C /var/run/wpa_supplicant -D wext
Starting /sbin/wpa_supplicant...
ioctl[SIOCSIWPMKSA]: Network is down
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/ra0
wpa_supplicant: wpa-ap-scan : OK
wpa_supplicant: configuring new network block "0"wpa_supplicant: wpa-ssid : OK
wpa_supplicant: wpa-psk : OK
wpa_supplicant: wpa-pairwise : OK
wpa_supplicant: wpa-group : OK
wpa_supplicant: wpa-key-mgmt : OK
wpa_supplicant: wpa-proto : OK
wpa_supplicant: enabling network 0 : OK
dhclient3 -pf /var/run/dhclient.ra0.pid -lf /var/lib/dhcp3/dhclient.ra0.leases ra0
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on LPF/ra0/00:0e:2e:f5:d1:be
Sending on LPF/ra0/00:0e:2e:f5:d1:be
Sending on Socket/fallback
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 2
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/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
Synchronizing clock to ntp.ubuntu.com...
Error : Temporary failure in name resolution
mec@ubuntu-mec:~$
wieman01
March 20th, 2008, 04:24 PM
@recon69:
As highlighted in the tutorial, this won't work for Ralink based wireless adapters. You can either check out my Ralink tutorial (see signature) and then come back, or try WICD instead:
http://wicd.sourceforge.net/
It may work for you as well.
Rogerwa
March 22nd, 2008, 01:46 AM
I have a question on whether I can bridge my on-board wired Gb ETH0 controller and my Trendnet 443 wireless controller.
I used the tutorial oringially to get this running and it has been flawless for almost a year. Now I wan to hang an HDHomerun ATSC tuner off of the GB controller and have it obtain the DHCP address through the wireless connection.
I tried all of the Bridge-utils tutorials I can find and I just can't seem to get it to work.
Anyone have any expereince with this??
cisforcojo
March 23rd, 2008, 12:25 AM
I'm trying to follow the howto but my wireless card isn't listed in /etc/network/interfaces
All I've got is:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto eth0
I have wireless working perfectly however with WEP encryption but want to bump up the security.
Here's my iwconfig:
eth1 IEEE 802.11g ESSID:"Tipping Point" Nickname:"Tipping Point"
Mode:Managed Frequency:2.437 GHz Access Point: 00:15:E9:05:C4:E2
Bit Rate:54 Mb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=97/100 Signal level=-27 dBm Noise level=-77 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Will this be a problem for me to just manually add it to /etc/network/interfaces???
EDIT: Nevermind. I got WPA working through Network Manager.
sourcerer24
March 24th, 2008, 11:00 AM
We use WPA connection in my school and there are many different IP addresses I can connect to so a static IP address would not realy work for me. I was wondering how I could do to connect to WPA without using a static IP address.
wieman01
March 24th, 2008, 01:31 PM
We use WPA connection in my school and there are many different IP addresses I can connect to so a static IP address would not realy work for me. I was wondering how I could do to connect to WPA without using a static IP address.
But DHCP is fairly simple. You either use Network Manager straight away or replace the static IP section e.g.:
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid <your_essid>
wpa-ap-scan 2
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk <your_hex_key> [IMPORTANT: See "WPA-PSK key generation"]
That's it.
DieselSnorter
March 28th, 2008, 06:45 PM
okay, I'm back.
I started having a lot of issues with my PC dropping the wireless every few minutes, then it flat out wouldn't connect at all. So I did some searching and made some changes, and now I'm close, but not quite there...I can taste victory.
So, I'm now using the rt73 driver (which is what I found I'm supposedly supposed to be using for my k7s-f507050B Belkin USB stick on a dongle monstrosity). I have my interfaces files set thusly
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid <myr_essid>
wpa-ap-scan 1
wpa-proto RSN WPA
wpa-pairwise CCMP AES
wpa-group CCMP AES
wpa-key-mgmt WPA-PSK
wpa-psk <my_hex_key>
When I restart Networking I get "no DHCP Offers Received:
iwconfig shows that I'm not associated with my AP (though I was earlier...odd)
If I run a scan, it usually finds my AP, but this time I get "resource temporarily unavailable"
I'm in the process of dragging my PC into my other office so I can hardwire and get whatever info you need.
If I do a tail on syslog while trying to connect I see that it finds user avahi-autoipd and gropu avahi-autoipd, then proceeds to assign me an APIPA address...which makes sense since I can't find my DHCP server.
Please help. Thanks in advance,
Eric
wieman01
March 29th, 2008, 04:12 AM
okay, I'm back.
I started having a lot of issues with my PC dropping the wireless every few minutes, then it flat out wouldn't connect at all. So I did some searching and made some changes, and now I'm close, but not quite there...I can taste victory.
So, I'm now using the rt73 driver (which is what I found I'm supposedly supposed to be using for my k7s-f507050B Belkin USB stick on a dongle monstrosity). I have my interfaces files set thusly
When I restart Networking I get "no DHCP Offers Received:
iwconfig shows that I'm not associated with my AP (though I was earlier...odd)
If I run a scan, it usually finds my AP, but this time I get "resource temporarily unavailable"
I'm in the process of dragging my PC into my other office so I can hardwire and get whatever info you need.
If I do a tail on syslog while trying to connect I see that it finds user avahi-autoipd and gropu avahi-autoipd, then proceeds to assign me an APIPA address...which makes sense since I can't find my DHCP server.
Please help. Thanks in advance,
Eric
Hi Eric,
As indicated in the first post, Ralink drivers are an exception somehow. They don't work like others do. You have 3 options:
1. Read this (http://ubuntuforums.org/showthread.php?t=684495) (Ralink section on WPA).
2. Install WICD (http://wicd.sourceforge.net/).
3. Replace the Ralink driver using 'ndiswapper' (see my signature) and then come back.
That's all I can advise at the moment. Ralink drivers don't support the 'wext' interface.
DieselSnorter
March 29th, 2008, 09:27 AM
acutally, I've tried all of the above at one point or another. I have WICD installed, and I just re-set up Ndiswrapper. The issue I'm having now is that my PC won't boot if I have the USB adapter plugged in. It's rebooting now after running the steps in the ndiswrapper post.
I'm currently not getting any access point association. I used the newest driver I could find on the Belkin website for the RT73.
here's what I'm getting
ndiswrapper -l
rt73 : driver installed
device (050D:705A) present (alternate driver: rt73)
iwconfig
lo no wireless extensions.
eth1 no wireless extensions.
wlan0 RT73 WLAN ESSID:""
Mode:Managed Frequency=2.412 GHz Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Link Quality=0/100 Signal level:-121 dBm Noise level:-11
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
my /etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid "****"
wpa-ap-scan 1
wpa-proto RSN WPA
wpa-pairwise CCMP AES
wpa-group CCMP AES
wpa-key-mgmt WPA-PSK
wpa-psk *********
dhclient wlan0
There is already a pid file /var/run/dhclient.pid wit
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:1c:df:1c:49:1c
Sending on LPF/wlan0/00:1c:df:1c:49:1c
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 inte
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 inte
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 inte
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
what else can I show you that would help.
sorry to be such a pain about all this.
DieselSnorter
March 29th, 2008, 09:30 AM
ah, additionally when I try to scan with:
sudo iwlist scan
I get the following
lo Interface doesn't support scanning.
eth1 Interface doesn't support scanning.
wlan0 Failed to read scan data : Resource temporarily unavailable
DieselSnorter
March 29th, 2008, 10:55 AM
ah...I might be on to something. I'll post back shortly.
DieselSnorter
March 29th, 2008, 11:55 AM
nope, back where I started. I had it working once.
at the time my wireless was recognized by the system was wlan0. I managed to configure kwlan to find the right wpa_supplicant.conf file, it connected, life was good.
so I rebooted, now it's called wlan1, kwlan doesn't give me any options to do anything.
I'm finding my AP now, but it won't pull an address.
I'm going to find a good wall with which to restructure my forehead .
wieman01
March 29th, 2008, 02:24 PM
DieselSnorter:
Odd... Are you on a 64-bit system? I mean did you install the 64-bit version of Ubuntu?
Please post this once again:
sudo iwlist scan
sudo lshw -C network
sudo ndiswrapper -l
Unplug the device and plug it in again. What's the output?
DieselSnorter
March 29th, 2008, 03:55 PM
And poof, now it's working. I rebooted and suddenly it started working. no explanation here.
I'm going to see if I have improved performance with this driver using this setup.
I really appreciate your patience.
DieselSnorter
March 29th, 2008, 09:11 PM
wow...this is a trial for sure. I was online for all of about 5 minutes, then it just died. I've spent hours trying to figure out why.
here is the info you've requested.
sudo iwlist scan
lo Interface doesn't support scanning.
eth1 Interface doesn't support scanning.
wlan1 Scan completed :
Cell 01 - Address: 00:0F:66:E4:73:5E
ESSID:"****"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:96/100 Signal level:-34 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
description: Wireless interface
physical id: 1
logical name: wlan1
serial: 00:1c:df:1c:49:1c
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+rt73 driverversion=1.45+B
elkin,08/02/2005, 1.00.00. link=yes multicast=yes wireless=IEEE 802.11g
rt73 : driver installed
device (050D:705A) present (alternate driver: rt73)
Wicd sees my network and two others if I run sudo ifdown wlan1
but it won't connect.
right now i'm showing association with my AP
wlan1 IEEE 802.11g ESSID:"***"
Mode:Managed Frequency:2.437 GHz Access Point: 00:0F:66:E4:73:5E
Bit Rate=54 Mb/s Tx-Power:20 dBm Sensitivity=-121 dBm
RTS thr=2347 B Fragment thr=2346 B
Power Management:off
Link Quality:75/100 Signal level:-48 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
I'm thinking of uninstalling NDiswrapper, KWlan, Wicd and starting over...possibly trying wifi radar...
suggestions? This seems like it's way harder than it needs to be...but probably because I'm making it that way. sadly, the OCD I've developed from all these years in IT won't let me leave it alone. :)
wieman01
March 30th, 2008, 06:34 AM
DieselSnorter,
Before you try any other solutions please try to change the wireless channel from 6 to something else (it's a router setting). There might be interference with other wireless networks around you. Your adapter seems to work fine.
DieselSnorter
March 30th, 2008, 11:55 AM
I've changed it to channel 11. According to my newly installed Wifi Radar and WKifiManager, I"m getting good signal strength, I'm connected to the AP, but still not pulling an IP.
I don't think the channel was the problem as I have 3 other PC's in the house that use the same wireless connection with no issue (granted, they are windows boxes).
at this point, it's probably something silly...that one little thing that i'm forgetting, isn't that usually how it works?
wieman01
March 30th, 2008, 12:04 PM
I've changed it to channel 11. According to my newly installed Wifi Radar and WKifiManager, I"m getting good signal strength, I'm connected to the AP, but still not pulling an IP.
I don't think the channel was the problem as I have 3 other PC's in the house that use the same wireless connection with no issue (granted, they are windows boxes).
at this point, it's probably something silly...that one little thing that i'm forgetting, isn't that usually how it works?
Yupp, pretty much. :-)
Please also try this please:
sudo ifdown -v wlan1
sudo ifup -v wlan1
Have you enabled IP tables (firewall)? E.g. via Firestarter?
DieselSnorter
March 30th, 2008, 12:31 PM
I've tried those multiple times.
I'm wondering though, could the problem be my wpa_supplcant.conf?
I'm getting invalid configuration line errors left and write when I try to do a command line scan through wifi radar.
sudo wifi-radar -d
Line 4: Invalid Coniguration line 'network=('.
Line 5: Invalid Configuration line 'ssid="****"'.
Line 6: Invalid Configuration line 'scan_ssid=0"
and so on through line 12.
then it says "failed to read or parse configuration 'etc/wpa_supplicant/wpa_supplicant.conf
SIOCSIFNETMASK: cannot assign requested address
SIOCADDRT: Invalid Arguement
wieman01
March 30th, 2008, 12:33 PM
I've tried those multiple times.
I'm wondering though, could the problem be my wpa_supplcant.conf?
I'm getting invalid configuration line errors left and write when I try to do a command line scan through wifi radar.
sudo wifi-radar -d
and so on through line 12.
then it says "failed to read or parse configuration 'etc/wpa_supplicant/wpa_supplicant.conf
SIOCSIFNETMASK: cannot assign requested address
SIOCADDRT: Invalid Arguement
Actually you should not be using "wpa_supplcant.conf" at all if you follow this tutorial... What does "/etc/network/interfaces" look like at the moment?
DieselSnorter
March 30th, 2008, 12:38 PM
Sounds like I've done a great job of pooching things up :confused:
a search actually shows i have two of those files in two location, should I delete them?
my file currently reads thusly:
iface wlan1 inet dhcp
wpa-ap-scan 2
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid ****
auto wlan1
this was not how i had it set up, it seems to have been reconfigured at some point.
fortunately, I have multiple backups of it in various states.
wieman01
March 30th, 2008, 12:43 PM
OK, now it should read ("/etc/network/interfaces"):
auto wlan1
iface wlan1 inet dhcp
wpa-driver wext
wpa-ssid <ssid>
wpa-ap-scan 1
wpa-proto RSN WPA
wpa-pairwise CCMP AES
wpa-group CCMP AES
wpa-key-mgmt WPA-PSK
wpa-psk <passphrase>
The restart the network and post the results:
sudo ifdown -v wlan1
sudo ifup -v wlan1
That should to. SSID broadcast is enabled.
DieselSnorter
March 30th, 2008, 01:02 PM
Here is the info you requested...as you can see we have 2 failures.
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/50firestarter
* Stopping the Firestarter firewall...
...done.
* Starting the Firestarter firewall...
...fail!
run-parts: /etc/network/if-down.d/50firestarter exited with return code 2
run-parts: executing /etc/network/if-down.d/avahi-autoipd
run-parts: executing /etc/network/if-down.d/clamav-freshclam-ifupdown
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 16889
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan1/00:1c:df:1c:49:1c
Sending on LPF/wlan1/00:1c:df:1c:49:1c
Sending on Socket/fallback
DHCPRELEASE on wlan1 to 192.168.1.100 port 67
ifconfig wlan1 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/hostapd
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 16783).
/etc/network$ 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/hostapd
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 "****" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-pairwise CCMP AES -- FAIL
wpa_supplicant: wpa-group CCMP AES -- FAIL
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto RSN WPA -- 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 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan1/00:1c:df:1c:49:1c
Sending on LPF/wlan1/00:1c:df:1c:49:1c
Sending on Socket/fallback
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
Trying recorded lease 192.168.1.203
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
--- 192.168.1.100 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
No working leases in persistent database - sleeping.
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/50firestarter
* Stopping the Firestarter firewall...
...done.
* Starting the Firestarter firewall...
...fail!
run-parts: /etc/network/if-up.d/50firestarter exited with return code 2
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/clamav-freshclam-ifupdown
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/openssh-server
run-parts: executing /etc/network/if-up.d/wpasupplicant
wieman01
March 30th, 2008, 01:08 PM
Damn it, my fault. I knew something was odd:
auto wlan1
iface wlan1 inet dhcp
wpa-driver wext
wpa-ssid <ssid>
wpa-ap-scan 1
wpa-proto RSN WPA
wpa-pairwise CCMP TKIP
wpa-group CCMP TKIP
wpa-key-mgmt WPA-PSK
wpa-psk <passphrase>
Please try again...
DieselSnorter
March 30th, 2008, 01:19 PM
LOL.
still not pulling an IP though.
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/50firestarter
* Stopping the Firestarter firewall...
...done.
* Starting the Firestarter firewall...
...fail!
run-parts: /etc/network/if-down.d/50firestarter exited with return code 2
run-parts: executing /etc/network/if-down.d/avahi-autoipd
RTNETLINK answers: No such process
run-parts: executing /etc/network/if-down.d/clamav-freshclam-ifupdown
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 20125
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan1/00:1c:df:1c:49:1c
Sending on LPF/wlan1/00:1c:df:1c:49:1c
Sending on Socket/fallback
DHCPRELEASE on wlan1 to 192.168.1.100 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
ifconfig wlan1 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/hostapd
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 20027).
/etc/network$ 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/hostapd
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 "****" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-pairwise CCMP TKIP -- OK
wpa_supplicant: wpa-group CCMP TKIP -- OK
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto RSN WPA -- 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 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan1/00:1c:df:1c:49:1c
Sending on LPF/wlan1/00:1c:df:1c:49:1c
Sending on Socket/fallback
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
Trying recorded lease 192.168.1.203
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
--- 192.168.1.100 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
No working leases in persistent database - sleeping.
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/50firestarter
* Stopping the Firestarter firewall...
...done.
* Starting the Firestarter firewall...
...fail!
run-parts: /etc/network/if-up.d/50firestarter exited with return code 2
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/clamav-freshclam-ifupdown
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/openssh-server
run-parts: executing /etc/network/if-up.d/wpasupplicant
wieman01
March 30th, 2008, 03:17 PM
DieselSnorter,
Odd... sure no Firestarter running? You have not configured your firewall, right?
Have you removed Network Manager WICD?
You probably have to restart the PC and manually start the wireless connection once again.
DieselSnorter
March 30th, 2008, 03:39 PM
Firestarter isn't running. Wicd is gone (wifi radar and it can't exist together it seems).
I've rebooted now, I'm seeing where I'm getting offers from my router, but it's still not working.
Signal strength is still really good, just can't get it to take the IP from the router.
DieselSnorter
March 30th, 2008, 09:41 PM
getting warmer...I'm connected, have an IP. Showing good to excellent signal strength at about 24 MBPS (I can live with that), but I can't get any pages to load.
oy, one thing after another.
I've got my DNS server sent in my resolv.conf...it just doesn't seem to want to pull pages.
I really hope all this mess helps someone else out.
wieman01
March 31st, 2008, 02:35 AM
getting warmer...I'm connected, have an IP. Showing good to excellent signal strength at about 24 MBPS (I can live with that), but I can't get any pages to load.
oy, one thing after another.
I've got my DNS server sent in my resolv.conf...it just doesn't seem to want to pull pages.
I really hope all this mess helps someone else out.
Good. Please issue:
route -n
When you ping your router, do you get a response?
ping 192.168.xxx.xxx
What about Google?
ping www.google.com
DieselSnorter
March 31st, 2008, 02:14 PM
GAH, seems today I'm back to not being able to get an IP address. I'm working on that now. I had one briefly, and tried to get some pages to load, but it was horribly slow. I have 20 MBPS service, and my laptop is moving right along, so I have to think it's the Ubuntu box.
DieselSnorter
March 31st, 2008, 02:40 PM
Okay, I managed to get an IP address for a few minutes, here we go.
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan1
0.0.0.0 192.168.1.100 0.0.0.0 UG 100 0 0 wlan1
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
64 bytes from 192.168.1.100: icmp_seq=1 ttl=64 time=1350 ms
64 bytes from 192.168.1.100: icmp_seq=2 ttl=64 time=353 ms
64 bytes from 192.168.1.100: icmp_seq=3 ttl=64 time=1.61 ms
64 bytes from 192.168.1.100: icmp_seq=4 ttl=64 time=1.67 ms
ping www.google.com
PING www.l.google.com (74.125.47.147) 56(84) bytes of data.
64 bytes from 74.125.47.147: icmp_seq=1 ttl=241 time=25.4 ms
64 bytes from yw-in-f147.google.com (74.125.47.147): icmp_seq=2 ttl=240 time=25.6 ms
64 bytes from yw-in-f147.google.com (74.125.47.147): icmp_seq=3 ttl=241 time=23.1 ms
64 bytes from yw-in-f147.google.com (74.125.47.147): icmp_seq=4 ttl=240 time=1591 ms
64 bytes from yw-in-f147.google.com (74.125.47.147): icmp_seq=5 ttl=240 time=594 ms
64 bytes from yw-in-f147.google.com (74.125.47.147): icmp_seq=6 ttl=241 time=23.7 ms
my syslog has this entry:
DHCPNAK from 192.168.1.100
avahi-autoipd(wlan1)[14518]: no longer a routable address configured, restarting probe process
avai-autoipd(wlan1)[14518] got SIGTERM, quitting.
wieman01
April 1st, 2008, 02:47 AM
GAH, seems today I'm back to not being able to get an IP address. I'm working on that now. I had one briefly, and tried to get some pages to load, but it was horribly slow. I have 20 MBPS service, and my laptop is moving right along, so I have to think it's the Ubuntu box.
Mmm... This looks like a driver issue to me. Your settings are correct, WPA is working fine, however, there is some issue with 'ndiswrapper' if I am not correct. Is your device listed here?
http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list/
Is it listed as a compatible device? Are you on 64-bit Ubuntu?
DieselSnorter
April 1st, 2008, 09:59 AM
pretty sure this is me
Card: Belkin F5D7050B (USB 2.0 Adaptor 802.11b/g 54Mbps) (”version 3000uk” only tested at this time)
Chipset: RT73
usbid: 050d:705A
Driver: Install the drivers for windows included in the box and fetch the .inf files from the installation directory.
Other: Works fine with WPA(PSK-TKIP) using wpa_supplicant on ubuntu 6.06 with ndiswrapper driver. Will freeze the system if removed without ifdown and/or ifconfig down on the device, and even then sometimes. Even though WPA works, I have not yet managed to succeed in using with WEP!
definitely not on 64 bit.
DieselSnorter
April 1st, 2008, 02:17 PM
okay, getting better. I've managed to get online off and on today. So when i connect, I'll do speed tests at random periods. When I first get on, I can pull a solid 12 mbps, that I can live with. After a time it drops to about 6...then to less than 1...then I get disconnected. Is there some file or buffer that is filling up?
I found great improvement when I added my DNS server directly to my Linux machine and didn't rely on it finding my firewall to look for DNS.
Even though I'm keeping my IP over time, my connectivity just seems to quit after a while.
wieman01
April 1st, 2008, 02:48 PM
Again, changing the wireless channel or reducing the default beacon interval (router setting) can help. But it is tough from here to judge what it could be. in my case these 2 settings made the difference and might network has been running smoothly ever since.
Default beacon interval is 40 at the moment.
DieselSnorter
April 1st, 2008, 03:02 PM
I'll give it a shot and see what happens.
Again, a million thanks for all your help with this issue. if you ever make it to Florida, the beer is on me.
wieman01
April 1st, 2008, 03:03 PM
I'll give it a shot and see what happens.
Again, a million thanks for all your help with this issue. if you ever make it to Florida, the beer is on me.
Haha... Thanks, buddy. Nice working with you.
izle
April 2nd, 2008, 09:27 AM
hello,
it seems to be a very nice tutorial... but it doesn't help yet...
My house mate just broke our fine old router and purchased a new one. Everything was fine with the old one using wpa_supplicant, but I can't connect to the new one. I followed many of the tips in this How to but nothing worked...
But I just figured out that my wireless card is a 802.11b and the router is (via iwlist scan) a 802.11g, would that be the problem? Is it possible to change the 802.11g into a 802.11b in the configuration of the router? I seriously doubt about it...thanks to my housemate.... :(
regards
wieman01
April 2nd, 2008, 09:33 AM
hello,
it seems to be a very nice tutorial... but it doesn't help yet...
My house mate just broke our fine old router and purchased a new one. Everything was fine with the old one using wpa_supplicant, but I can't connect to the new one. I followed many of the tips in this How to but nothing worked...
But I just figured out that my wireless card is a 802.11b and the router is (via iwlist scan) a 802.11g, would that be the problem? Is it possible to change the 802.11g into a 802.11b in the configuration of the router? I seriously doubt about it...thanks to my housemate.... :(
regards
Well, if it worked before, then apparently a different router setting is keeping from connecting.
I suspect it's exactly because it is a wireless-G device. Your housemate needs to enabled something called "mixed mode" which enables the router to cope with wireless-B and wirelss-G devices/clients. Could you have a chat with your mate?
izle
April 2nd, 2008, 09:47 AM
it's amazing, thanks for replying so quickly!
well I just informed him about that we'll see what we can do. But the router is called "Belkin wireless G router", my concern is : is there any mixed mode for this router?.... if so the problem will resolved quickly with the tutorial, if not I guess I'll have to...., say, bury my house mate six feet under....
wieman01
April 2nd, 2008, 09:49 AM
it's amazing, thanks for replying so quickly!
well I just informed him about that we'll see what we can do. But the router is called "Belkin wireless G router", my concern is : is there any mixed mode for this router?.... if so the problem will resolved quickly with the tutorial, if not I guess I'll have to...., say, bury my house mate six feet under....
There is no such thing as 100% certainty, but I give you my word that all wireless-G routers I have seen so far had that option. It is fairly standard I would say. That's called downwards compatibility.
DChamp
April 2nd, 2008, 10:18 AM
Wieman, there's an INCREDIBLE amount of information here, especially for a COMPLETE NOOB like me.
With so much point/counterpoint here, is there a concise, step by step on how to get a Netgear W111v2 usb to work using WEP with Gutsy 7.1?
Thanks a million, as so much of this is completely foreign to me.
Dave C.
DChamp
wieman01
April 2nd, 2008, 10:21 AM
Wieman, there's an INCREDIBLE amount of information here, especially for a COMPLETE NOOB like me.
With so much point/counterpoint here, is there a concise, step by step on how to get a Netgear W111v2 usb to work using WEP with Gutsy 7.1?
Thanks a million, as so much of this is completely foreign to me.
Dave C.
DChamp
This is a WPA tutorial so I cannot offer much help. Please open a new thread and feel free to send me the link to it via PM. Please also state what chipset this particular adapter is using.
DChamp
April 2nd, 2008, 11:18 AM
Thanks. I found another forum message related to the NetGear WG111v2, and will look there first.
Believe me, being a noob to Ubuntu/Linux really stinks! *laughing*
I'm trying to get this working for a presentation tonight, but might have to go cabled as I don't think I can process everything in time.
Thanks again,
Dave/DChamp
izle
April 2nd, 2008, 04:12 PM
There is no such thing as 100% certainty, but I give you my word that all wireless-G routers I have seen so far had that option. It is fairly standard I would say. That's called downwards compatibility.
houra!!! the new router owns a "mixed mode" enabling me to connect to it. For the record here is what iwlist scan gives me
izle@izle-laptop:~$ iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
eth1 Scan completed :
Cell 01 - Address: 00:1C:DF:40:CC:09
ESSID:"Tuna"
Protocol:IEEE 802.11bg
Mode:Master
Channel:9
Frequency:2.452 GHz (Channel 9)
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 9 Mb/s; 11 Mb/s
6 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=90/100 Signal level=-32 dBm Noise level=-47 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Preauthentication Supported
Extra: Last beacon: 96ms ago
here is my /etc/network/interfaces file
auto lo
iface lo inet loopback
auto eth2
#iface eth2 inet dhcp
auto ath0
#iface ath0 inet dhcp
auto wlan0
#iface wlan0 inet dhcp
iface eth1 inet dhcp
wpa-ssid Tuna
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk my_psk
auto eth1
so far I used wpa_supplicant, but I could not get it to work with WPA2... here it seems even better... at least I save a couple of milliseconds at startup! and it works fine.
Thank you Wieman01 for this great tutorial! :)
Terratoch
April 4th, 2008, 07:59 PM
Sorry in advance 130+ pages of posts is too much for me to read through.
I THINK I have the right settings, but obviously I do not or else I wouldn't be posting asking for help.
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid ************
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-eap PEAP
wpa-key-mgmt IEEE8021X
wpa-identity ********
wpa-password ********
wpa-phase2 auth=MSCHAPV2
Route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.18.0.0 * 255.255.0.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 wlan0
default 10.18.1.1 0.0.0.0 UG 0 0 0 eth0
default * 0.0.0.0 U 1000 0 0 wlan0
IWConfig:
wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
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
iwlist scan:
wlan0 Scan completed :
Cell 01 - Address: 00:14:A8:36:7A:E0
ESSID:""
Mode:Master
Channel:1
Frequency:2.412 GHz
Quality=14/64 Signal level=39/65
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:tsf=0000257ff117f89a
Cell 02 - Address: 00:14:A8:36:8C:10
ESSID:""
Mode:Master
Channel:6
Frequency:2.437 GHz
Quality=23/64 Signal level=11/65
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:tsf=0000257ffc33fbb7
Cell 03 - Address: 00:14:A8:7D: D7:90
ESSID:""
Mode:Master
Channel:6
Frequency:2.437 GHz
Quality=21/64 Signal level=20/65
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:tsf=00001113bfb67735
Cell 04 - Address: 00:14:A8:43:FF:60
ESSID:""
Mode:Master
Channel:6
Frequency:2.437 GHz
Quality=0/64 Signal level=9/65
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:tsf=00001113bb7a3bcb
Cell 05 - Address: 00:14:A8:36:89:C0
ESSID:""
Mode:Master
Channel:11
Frequency:2.462 GHz
Quality=26/64 Signal level=9/65
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:tsf=0000257ff9f8e109
Cell 06 - Address: 00:14:6A:3D: D3:80
ESSID:""
Mode:Master
Channel:6
Frequency:2.437 GHz
Quality=27/64 Signal level=15/65
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:tsf=00001113bfc06e56
Cell 07 - Address: 00:1C:10:E7:27:04
ESSID:"CRESTRON-N"
Mode:Master
Channel:6
Frequency:2.437 GHz
Quality=50/64 Signal level=9/65
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:tsf=000001bd1a1ccaed
lshw -C network:
*-network
description: Wireless interface
physical id: 1
logical name: wlan0
serial: 00:15:af:0f:0a:ef
capabilities: ethernet physical wireless
configuration: broadcast=yes multicast=yes wireless=IEEE 802.11g
ifdown -v
ifdown: interface /etc/network/interfaces not configured
ifup -v:
Ignoring unknown interface /etc/network/interfaces=/etc/network/interfaces.
Spoiler alert: I am a massive noob with Ubuntu Linux.
I am running 7.10 with an ASUS M2N32-SLI DELUXE Motherboard (if that helps).
Any and all help would truely be appreciated. Thanks.
If it helps at all to know, whenever I do the restart command, I get:
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.wlan0.pid with pid 11347
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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:15:af:0f:0a:ef
Sending on LPF/wlan0/00:15:af:0f:0a:ef
Sending on Socket/fallback
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - There is already a pid file /var/run/dhclient.wlan0.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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:15:af:0f:0a:ef
Sending on LPF/wlan0/00:15:af:0f:0a:ef
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 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
wieman01
April 5th, 2008, 03:05 AM
Terratoch,
What chipset is your card?
Also post:
sudo lshw -C network
Terratoch
April 5th, 2008, 11:26 AM
nVidia nForce 590 SLI something or other
Motherboard M2N32-SLI Deluxe
I believe I know what the problem is, and perhaps how to fix it.
I was using RTL8187 for the on-board wireless card, which I know does not work, but also had no idea how to replace it. I may now know how to fix this problem.
Okay. I lied. I have no clue what to use instead of RTL8187. Can someone point me in the right direction.
Terratoch
April 5th, 2008, 07:53 PM
Problem partially solved I have a new driver that works. I am going to try again with luck I may be setup.
Terratoch
April 6th, 2008, 01:32 AM
Okay I am now positive I have the correct drivers. It is still not working. I have tried countless configuration settings.
Please help.
Terratoch
April 6th, 2008, 02:07 AM
Details:
I get the very vexing DHCP error where it sits in a loop for about 2 minutes, tells me it didnt receive a dhcp, and then quits.
sudo route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.10.0.0 * 255.255.0.0 U 0 0 0 eth0
default 10.10.1.1 0.0.0.0 UG 0 0 0 eth0
sudo iwconfig:
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:20 dBm Sensitivity=0/3
RTS thr:off Fragment thr:off
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
sudo iwlist scan:
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
eth1 Interface doesn't support scanning.
wlan0 No scan results
result not typical.
sudo lshw -C network:
*-network DISABLED
description: Wireless interface
physical id: 1
logical name: wlan0
serial: 00:15:af:0f:0a:ef
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+netrtuw driverversion=1.45+Realtek Semiconductor Corp. link=no multicast=yes wireless=IEEE 802.11g
I see the big DISABLED, and have no clue how to correct that.
sudo cat /etc/network/interfaces:
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid ************************************************** *****
wpa-proto WPA
wpa-ap-scan 2
wpa-pairwise TKIP
wpa-group TKIP
wpa-eap PEAP
wpa-key-mgmt WPA-EAP
wpa-identity ************************************************** **
wpa-password *************************************************
sudo ifdown -v wlan0 (in my case):
ifdown: interface wlan0 not configured
again. I know what it means (kind of), but have no clue how to fix it.
sudo ifup -v wlan0 (in my case):
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 "*********************************" -- OK
wpa_supplicant: wpa-pairwise TKIP -- OK
wpa_supplicant: wpa-group TKIP -- OK
wpa_supplicant: wpa-key-mgmt WPA-EAP -- OK
wpa_supplicant: wpa-proto WPA -- OK
wpa_supplicant: wpa-identity "******************************" -- OK
wpa_supplicant: wpa-eap PEAP -- OK
wpa_supplicant: wpa-password "***************************" -- 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 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:15:af:0f:0a:ef
Sending on LPF/wlan0/00:15:af:0f:0a:ef
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 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 2
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
That is all pretty much greek to me. but now im betting if i did ifdown -v wlan0...
yep
post ifup 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 6329
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:15:af:0f:0a:ef
Sending on LPF/wlan0/00:15:af:0f:0a:ef
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 6296).
still dunno what it means though
I hope this helps you... help me. if not tell me what else I need to provide to help you help me resolve this.
Thanks.
wieman01
April 6th, 2008, 03:17 AM
sudo lshw -C network:
*-network DISABLED
This plus no scan results = bad news. So where did you get the driver from eventually? Are you on a 64-bit Ubuntu installation by chance?
What again is the chipset of your wireless adapter?
And does the Windows driver that you are using support PEAP?
Terratoch
April 6th, 2008, 03:27 AM
Chipset: RTL8187
I have several options available as to what windows driver to use.
They all came on the CD for my Motherboard
Which version would you recommend (98/ME/XP/Vista?)
Or something totally different.
wieman01
April 6th, 2008, 03:29 AM
I recommend the XP version, 32-bit if you are running Ubuntu 32-bit.
Also, is your adapter listed anywhere here?
http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list/
Terratoch
April 6th, 2008, 03:57 AM
Unfortunately the adapter doesn't really have a 'name', as it is built into the motherboard. but I can check the list and see.
But, the board is the M2N32 SLI Deluxe Wifi edition.
Terratoch
April 6th, 2008, 04:01 AM
It looks like I could try the 8187B, L or one of the others from the site. that may do the trick. Ill just have to get it to my computer.
wieman01
April 6th, 2008, 05:04 AM
OK, let me know how you go.
Terratoch
April 6th, 2008, 05:32 AM
Great Success. :D
For those who are using the M2N32 SLI Deluxe WiFi Editition or the RTL8187 native drivers:
follow this link (ftp://61.56.86.122/cn/wlan/WinXP_2K_1304_1119.zip), download the file
use ndiswrapper:
sudo ndiswrapper -i
on the .inf file found inside
and at least for my wireless network settings, it works just fine, without tinkering in the /etc/network/interface file (i completely removed all of the stuff from that file except for the
auto lo
iface lo inet loopback
lines.)
For the record, presently my network is a:
WPA(1)
PEAP
TKIP
MSCHAPV2
Thanks for the assistance.
PS: Don't forget to blacklist the native RTL8187 driver. This could cause no end of headache if you do.
EDIT: A minor inconvenience, I have to modprobe ndiswrapper at startup. But its only minor, I made a script to take care of it for me.
Is there anyway around that? (Besides what I did).
wieman01
April 6th, 2008, 06:13 AM
Well done, Terratoch!
Try this to load "ndiswrapper" at boot:
sudo depmod -a
sudo modprobe ndiswrapper
echo 'ndiswrapper' | sudo tee -a /etc/modules
derekge
April 9th, 2008, 06:37 PM
Very nice - I was looking for a WEP guide too. :confused:
wieman01
April 10th, 2008, 02:12 AM
Very nice - I was looking for a WEP guide too. :confused:
Don't user WEP, it's insecure. But if you really have to, check this out:
http://ubuntuforums.org/showthread.php?t=684495
anthony.canucks
April 10th, 2008, 06:34 AM
I am using a d link DWL-G510 rev. A and I can't figure out what is wrong.
# 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
# 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:54 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
# sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Failed to read scan data : Resource temporarily unavailable
But if I run sudo /etc/init.d/networking stop
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:03:7F:FE:00:02
ESSID:"anthony"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:68/100 Signal level:-52 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
# sudo lshw -C network
*-network
description: Wireless interface
product: Marvell W8300 802.11 Adapter
vendor: Marvell Technology Group Ltd.
physical id: 6
bus info: pci@0000:03:06.0
logical name: wlan0
version: 07
serial: 00:0f:3d:4e:2f:a6
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+mrv8k51 driverversion=1.52+D-Link,1/09/2004,2.3.0.1 latency=64 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11b
# sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid anthony
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk f30669bdd0818043258e4e74da71397c430402d66378394d21 66159801b6cf12
# sudo ifdown -v <your_interface>
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 16161
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:0f:3d:4e:2f:a6
Sending on LPF/wlan0/00:0f:3d:4e:2f:a6
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 16130).
# sudo ifup -v <your_interface>
ioctl[SIOCSIWPMKSA]: Invalid argument
There is already a pid file /var/run/dhclient.wlan0.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:0f:3d:4e:2f:a6
Sending on LPF/wlan0/00:0f:3d:4e:2f:a6
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 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
wieman01
April 10th, 2008, 07:15 AM
Did you do?
sudo ifup -v wlan0
What could this relate to?
ioctl[SIOCSIWPMKSA]: Invalid argument
anthony.canucks
April 10th, 2008, 02:40 PM
edit: it's working now. I didn't change any ubuntu settings (did change my router from aes to tkip though)
thanks anyway
sudo ifup -v wlan0
gives
ioctl[SIOCSIWPMKSA]: Invalid argument
There is already a pid file /var/run/dhclient.wlan0.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:0f:3d:4e:2f:a6
Sending on LPF/wlan0/00:0f:3d:4e:2f:a6
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 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
taiwanjohn
April 12th, 2008, 12:52 PM
First of all, thanks a million for this great HOWTO, wieman01! :-)
I just wanted to post some notes from my installation, for anyone else who has a Zyxel G-210H (USB) wireless adapter.
When I first got the G-210H, I was still using Kubuntu Gutsy, and had all kinds of trouble... never did get it working reliably. Then, a week or so later, Ubuntu Hardy (8.04) came out, and everything "just worked"... including WPA and ESSID. (Note: Be sure to use ndiswrapper with the Win2k driver. The WinXP driver didn't work for me.)
Then, a couple of days ago, it "just stopped" working... Suddenly I wasn't getting a DHCP lease. I had no IPv4 address for wlan0, but I had a new "wlan0:avahi" showing up in ifconfig.
Googling for answers, I found several threads about how to disable avahi-daemon, none of which worked. (There seems to be no way to disable avahi without removing it, and that requires removing ubuntu-desktop too.)
I also tried wicd, and that ended up wasting a bunch of my time too... because it "seemed" like it ought to work, but didn't.
Anyway, I'm glad I finally found this HOWTO... ;-)
Cheers,
--jrd
PS: Here's my /etc/network/interfaces, for reference:
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid ########
wpa-ap-scan 2
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk ########
Terratoch
April 13th, 2008, 07:00 PM
Thanks for the tip it worked like a charm. Would you know how to set it up so that it automatically logs me into the wireless network without my having to go through the annoyance of doing it manually every time i reset my computer?
wieman01
April 14th, 2008, 03:17 AM
Thanks for the tip it worked like a charm. Would you know how to set it up so that it automatically logs me into the wireless network without my having to go through the annoyance of doing it manually every time i reset my computer?
You mean you need to start the network manuallly? If that is the case, please take a look at post #2 of this thread. If not, let me know.
Terratoch
April 14th, 2008, 10:00 AM
No, the network program is running as expected when I log in. However, I always have to left-click the icon, go to 'Connect to other wireless networks', put in the SSID, and setup the configuration options (PEAP, TKIP, MSCHAPV2, User ID and password). Its not THAT big of a deal, but it is annoying enough to make me ask if there is a better way. I saw all the config files and wondered if there wasn't a file I could make it read from or something, anything, that I could do so that I don't have to do that anymore.
wieman01
April 14th, 2008, 10:03 AM
No, the network program is running as expected when I log in. However, I always have to left-click the icon, go to 'Connect to other wireless networks', put in the SSID, and setup the configuration options (PEAP, TKIP, MSCHAPV2, User ID and password). Its not THAT big of a deal, but it is annoying enough to make me ask if there is a better way. I saw all the config files and wondered if there wasn't a file I could make it read from or something, anything, that I could do so that I don't have to do that anymore.
If you use NM, then scripts aren't an option. I know what you mean, NM can be quite a pain in the throat. Perhaps an update will fix it in future? Have you tried Hardy?
Terratoch
April 14th, 2008, 11:00 AM
Damn. Alright, thanks anyway.
Have you tried hardy?
No. I tried Suse (10.3) for about... 3 days. Then I switched back to Ubuntu (7.10). I am not really keen on the idea of trying another OS this soon. Plus... I am presently out of CD-Rs.
wieman01
April 14th, 2008, 11:51 AM
Damn. Alright, thanks anyway.
No. I tried Suse (10.3) for about... 3 days. Then I switched back to Ubuntu (7.10). I am not really keen on the idea of trying another OS this soon. Plus... I am presently out of CD-Rs.
A distribution upgrade will do. I did it last week (from Gutsy to Hardy) and it went OK.
lucia_engel
April 19th, 2008, 05:50 PM
This guide is godsend!
I just purchased a Linksys wpc54g v4 card to replace my old laptop integrated network adapter. When I tried to configure it to use WEP, didn't work, so I thought maybe I'll try WPA instead. Following this guide, it JUST WORKED!
Now looking back at my Windows XP partition, for some reason, the new card only works with WEP but not WPA. You know Windows sucks when the official driver doesn't work but the linux driver can.
You're lifesaver!
ramon13579
April 22nd, 2008, 12:48 PM
Sorry for the looong post. This is probably my last try before my laptop flies off the window... In short: I can establish a WEP connection but cannot do the same with a WAP EAP-TTLS. I have read the first few posts of this thread and have also browsed through the thread, so I am sorry if the solution to my problem has already been explained.
The instructions I have been given to setup the wifi connection are:
1. Create the file /etc/wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=0
network={
ssid="uib1x"
key_mgmt=WPA-EAP
proto=WPA
pairwise=TKIP
group=TKIP
eap=TTLS
identity="**********"
password="***********"
phase2="auth=PAP"
ca_cert="/etc/cert/ct_root.pem"
subject_match="sint.uib.es"
}
The ct_root.pem file supplied to me is in /etc/cert of course.
2. iwconfig wlan0 essid uib1x
No output
3. wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf -D wext
This command fails. Output:
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 -
I am absolutely lost here. Could this be a problem with kernel modules? I have tried to install the mac80211 subsystem and iwlwifi drivers from http://intellinuxwireless.org/?n=Downloads, but could not even recompile the kernel. Nevertheless, I do not even know whether I have the right drivers or not:
# lsmod |grep mac80211
iwlwifi_mac80211 200456 1 iwl4965
cfg80211 8720 1 iwlwifi_mac80211
Some more information (I need to restart the computer because after running wpa_supplicant the route command does not show wlan0):
#route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.138.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 eth0
default 192.168.138.1 0.0.0.0 UG 0 0 0 eth0
default * 0.0.0.0 U 1000 0 0 wlan0
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key: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
# 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:19:07:05:7E:C0
ESSID:"uib1x"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=31/100 Signal level=-90 dBm Noise level=-127 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : WEP-40
Pairwise Ciphers (1) : WEP-40
Authentication Suites (1) : 802.1x
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=00000058764a0b9e
...
(Cell 02 to Cell 05 omitted -- uib1x is the target network)
# lshw -C network
*-network
description: Wireless interface
product: PRO/Wireless 4965 AG or AGN Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: wmaster0
version: 61
serial: 00:13:e8:a1:2f:45
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=iwl4965 latency=0 module=iwl4965 multicast=yes wireless=IEEE 802.11g
...
(Ethernet interface omitted)
# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
# 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 5957
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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:13:e8:a1:2f:45
Sending on LPF/wlan0/00:13:e8:a1:2f:45
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 1.1.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
# 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
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 1
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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:13:e8:a1:2f:45
Sending on LPF/wlan0/00:13:e8:a1:2f:45
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
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
All this looks fine to my unexperienced eyes. Some ideas?
Cheers.
gedden
April 23rd, 2008, 05:07 PM
My problem is just like all the others in this thread. I appreciate any help as I have been learning quite a lot about Linux and I haven't had this much fun configuring a computer in a long time! thank you Ubuntu forums!
so for the background
Compaq armadaM300 old laptop. Cisco aironet 350 pc card. 7.10 version.
Card was working fine with linksys wrt54g router in mac filtering mode, until I learned a little bit more about wireless security. Switched to WPA personal pre shared key. Had to switch network manager to manual mode to get an option for wpa personal. Sometimes key disappears from NM. To finally get a connection I had to check, and uncheck the box upwards of 15 times. Eventually I would get a connection and browse away. After a while I wanted to get samba working the way it was before I implemented encryption. During my investigation of why it wasn't working two forum members helped me figure out that I wasn't connecting to my router after all! Thats when I started trying to figure out etc/network/interfaces. Initially I had a lot of garbage in that file, I might have made a back up I can post if needed. I was reading the online docs for NM and it stated to remove anything that you want controlled by NM from interfaces. So I did that, and it didn't do anything to change the problem. So then I started following the Howto from this thread. Below I will post all outputs I can think of.
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11-DS ESSID:"linksys"
Mode:Managed Frequency:2.437 GHz Access Point: 00:1C:10:14:F0:C3
Bit Rate:11 Mb/s Tx-Power=20 dBm Sensitivity=0/65535
Retry limit:16 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=55/100 Signal level=-68 dBm Noise level=-91 dBm
Rx invalid nwid:462 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:7 Invalid misc:251775 Missed beacon:0
wifi0 IEEE 802.11-DS ESSID:"linksys"
Mode:Managed Frequency:2.437 GHz Access Point: 00:1C:10:14:F0:C3
Bit Rate:11 Mb/s Tx-Power=20 dBm Sensitivity=0/65535
Retry limit:16 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=55/100 Signal level=-68 dBm Noise level=-91 dBm
Rx invalid nwid:462 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:7 Invalid misc:251775 Missed beacon:0
gedden@gedden-laptop:~$ iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
eth1 Scan completed :
Cell 01 - Address: 00:1B:5B:DB:1F:E9
ESSID:"2WIRE491"
Mode:Master
Frequency:2.412 GHz (Channel 1)
Quality=54/100 Signal level=-69 dBm Noise level:-92 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:bcn_int=100
Cell 02 - Address: 00:18:39:7E:4B:17
ESSID:"apartment"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=90/100 Signal level=-50 dBm Noise level:-92 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
Cell 03 - Address: 00:1C:10:14:F0:C3
ESSID:"linksys"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=50/100 Signal level=-70 dBm Noise level:-92 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
Extra:bcn_int=100
wifi0 Scan completed :
Cell 01 - Address: 00:1B:5B:DB:1F:E9
ESSID:"2WIRE491"
Mode:Master
Frequency:2.412 GHz (Channel 1)
Quality=54/100 Signal level=-69 dBm Noise level:-92 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:bcn_int=100
Cell 02 - Address: 00:18:39:7E:4B:17
ESSID:"apartment"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=90/100 Signal level=-50 dBm Noise level:-92 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
Cell 03 - Address: 00:1C:10:14:F0:C3
ESSID:"linksys"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=50/100 Signal level=-70 dBm Noise level:-92 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
Extra:bcn_int=100
This is the first time that wifi0 has responded to a scan request. Although I have had a duplicate in my NM for a while.
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 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
default 192.168.1.1 0.0.0.0 UG 100 0 0 eth1
So following the How to I produced this interfaces file:
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet dhcp
wpa-driver wext
wpa-ssid apartment
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk 3732d419f65fcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxx
And this produced the error
gedden@gedden-laptop:~$ sudo /etc/init.d/networking restart
[sudo] password for gedden:
* Reconfiguring network interfaces... /etc/network/interfaces:76: duplicate interface
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:76: duplicate interface
ifup: couldn't read interfaces file "/etc/network/interfaces"
[fail]
So Ill post the output of if up/down
gedden@gedden-laptop:~$ ifdown -v eth1
ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
gedden@gedden-laptop:~$ sudo ifdown -v eth1
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
dhclient3 -r -pf /var/run/dhclient.eth1.pid -lf /var/lib/dhcp3/dhclient.eth1.leases eth1
There is already a pid file /var/run/dhclient.eth1.pid with pid 14393
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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/eth1/00:40:96:46:1d:9f
Sending on LPF/eth1/00:40:96:46:1d:9f
Sending on Socket/fallback
DHCPRELEASE on eth1 to 192.168.1.1 port 67
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
wpa_supplicant: terminating wpa_supplicant daemon via pidfile /var/run/wpa_supplicant.eth1.pid
Stopped /sbin/wpa_supplicant (pid 14364).
gedden@gedden-laptop:~$ sudo ifup -v eth1
Configuring interface eth1=eth1 (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.eth1.pid -i eth1 -D wext -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/eth1
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "apartment" -- OK
wpa_supplicant: wpa-psk ***** -- 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.eth1.pid -lf /var/lib/dhcp3/dhclient.eth1.leases eth1
There is already a pid file /var/run/dhclient.eth1.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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/eth1/00:40:96:46:1d:9f
Sending on LPF/eth1/00:40:96:46:1d:9f
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.111 -- renewal in 39668 seconds.
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/ntp
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/wpasupplicant
I know this is a long post but just a little more.
So I edited out all the stuff I added from interfaces and restarted the network.
gedden@gedden-laptop:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... RTNETLINK answers: No such process
There is already a pid file /var/run/dhclient.eth1.pid with pid 10613
removed stale PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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/eth1/00:40:96:46:1d:9f
Sending on LPF/eth1/00:40:96:46:1d:9f
Sending on Socket/fallback
DHCPRELEASE on eth1 to 192.168.1.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - There is already a pid file /var/run/dhclient.eth1.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 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/eth1/00:40:96:46:1d:9f
Sending on LPF/eth1/00:40:96:46:1d:9f
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
[ OK ]
So, Thats everything I can think of right now. Thanks in advance for any help!.
Andy
ramon13579
April 25th, 2008, 07:28 AM
The problem I posted two days ago (Apr 23 2008) is SOLVED after an upgrade from Gutsy to Hardy.
Cheers,
Ramon
wieman01
April 25th, 2008, 03:46 PM
gedden,
It appears you are using the wrong wpa-driver. What wireless adapter have you got?
Please post the output of:
sudo lshw -C network
Have you removed NM entirely?
lucky760
April 26th, 2008, 04:23 PM
[accidental double post - please disregard and see the next comment]
lucky760
April 26th, 2008, 04:29 PM
You're pretty incredible to offer so much assistance to everyone and for so long, so let me start by saying thanks very much.
Installed 8.04 Desktop on a Vaio laptop with Intel 2200BG interface on eth1. Interface works on some neighbor's insecure network. My router is setup with WPA2, WPA-PSK, AES, SSID broadcast.
The most strange thing to me is that in `iwlist scan` and `iwconfig` my router's reported MAC address is incorrect. The last byte is reported as A9 but is in fact AA.
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 0 0 0 eth1
default * 0.0.0.0 U 1000 0 0 eth1
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 unassociated ESSID:"Kikkoman"
Mode:Managed Frequency=2.412 GHz Access Point: 00:19:5B:60:34:A9
Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr: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:21 Missed beacon:0
sudo iwlist scan
eth1 Scan completed :
...snip...
Cell 02 - Address: 00:19:5B:60:34:A9
ESSID:"Kikkoman"
Protocol:IEEE 802.11g
Mode:Master
Frequency:2.412 GHz (Channel 1)
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
Quality=44/100 Signal level=-38 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Extra: Last beacon: 212ms ago
...snip...
sudo lshw -C network
SCSI
*-network:0
description: Wireless interface
product: PRO/Wireless 2200BG Network Connection
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:02:02.0
logical name: eth1
version: 05
serial: 00:0e:35:36:b8:a7
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ipw2200 driverversion=1.2.2kmprq firmware=ABG:9.0.2.6 (Mar 22 2005) latency=64 link=no maxlatency=24 mingnt=3 module=ipw2200 multicast=yes wireless=unassociated
*-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: 08:00:46:da:a7:12
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
sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet dhcp
wpa-driver wext
wpa-ssid Kikkoman
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk <secret_hash>
sudo ifdown -v eth1
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
dhclient3 -r -pf /var/run/dhclient.eth1.pid -lf /var/lib/dhcp3/dhclient.eth1.leases eth1
There is already a pid file /var/run/dhclient.eth1.pid with pid 7115
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:0e:35:36:b8:a7
Sending on LPF/eth1/00:0e:35:36:b8:a7
Sending on Socket/fallback
DHCPRELEASE on eth1 to 192.168.2.1 port 67
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
wpa_supplicant: terminating wpa_supplicant daemon via pidfile /var/run/wpa_supplicant.eth1.pid
Stopped /sbin/wpa_supplicant (pid 7042).
sudo ifup -v eth1
Configuring interface eth1=eth1 (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.eth1.pid -i eth1 -D wext -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/eth1
wpa_supplicant: wpa-ap-scan 1 -- OK
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "Kikkoman" -- 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.eth1.pid -lf /var/lib/dhcp3/dhclient.eth1.leases eth1
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:0e:35:36:b8:a7
Sending on LPF/eth1/00:0e:35:36:b8:a7
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
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 tips you can provide would be greatly appreciated. Thanks very much.
wieman01
April 27th, 2008, 03:37 AM
lucky760:
You're most welcome of course.
First of all, your ipw2200bg should be working out of the box, I own a Sony Vaio laptop as well and never had an issue with this wireless device. Strange.
Do you prefer to use command line or do you want plan to use Network Manager or WICD? Graphical tools are much more convenient, in particular for laptop users. If you don't need a static IP address, I recommend that you use either of these tools.
To do so, make your "/etc/network/interfaces" look like this (this is an exact copy of mine):
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth0
auto eth1
Then restart the PC and see if you can connect via Network Manager. If NM fails on you, give WICD a go:
http://wicd.sourceforge.net/
If all this fails, please let me know, I'll think of something else. The ipw2200bg should be a breeze.
lucky760
April 27th, 2008, 05:20 AM
Funny how that is as equally encouraging as it is discouraging because it is supposed to be so *straightforward*, and it is *supposed* to be so straightforward.
I prefer the command line, but gui's fine if it'll work. Unfortunately, so far it won't.
I am using DHCP, so static addresses are not needed.
I reset my /etc/network/interfaces to the contents you pasted, tried the Network Manager (again) and it failed, then installed Wicd and got it running, but it failed to connect, all the while iwevent continues reporting the same 4 messages repeatedly:
Set Mode:Managed
Set Frequency:2.432 GHz (Channel 5)
Set ESSID:"Kikkoman"
New Access Point/Cell address:Not-Associated
When that didn't work, I booted into LiveCD for a pseudo fresh install then repeated the above and got the same results. : \
I have no idea what the problem could be, but then again I guess I wouldn't. Is there something else I can try? Thanks very much.
wieman01
April 27th, 2008, 10:17 AM
Have you perhaps enabled MAC filtering by mistake?
lucky760
April 27th, 2008, 11:45 AM
Have you perhaps enabled MAC filtering by mistake?
No, sure haven't. MAC filtering is definitely off, and the MAC is definitely in the DHCP reservations list. Furthermore, this is a dual boot and connecting in XP with the same device works fine.
Hope for me is looking more and more dim, isn't it? :( Sounds like I have a strange problem no one else has ever experienced or fixed before.
wieman01
April 27th, 2008, 12:41 PM
But you could connect to your network while it was unsecured?
lucky760
April 27th, 2008, 06:55 PM
But you could connect to your network while it was unsecured?
Actually, it is a neighbor's insecure network, but yes, it did quickly and easily connect to the neighbor's open network when it couldn't connect to my secure one.
gedden
April 28th, 2008, 12:31 AM
gedden,
It appears you are using the wrong wpa-driver. What wireless adapter have you got?
Please post the output of:
Have you removed NM entirely?
As far as I know when I installed wicd it uninstalled NM, however I still have a network applet that can set my dns and such.
under system,administration,network.
the applett is named network settings.
here is the output
gedden@gedden-laptop:~$ sudo lshw -C network
[sudo] password for gedden:
*-network
description: Cisco Systems
physical id: 0
version: 350 Series Wireless LAN Adapter
slot: Socket 0
resources: irq:3
*-network
description: Ethernet interface
product: 82557/8/9 Ethernet Pro 100
vendor: Intel Corporation
physical id: 9
bus info: pci@0000:00:09.0
logical name: eth0
version: 09
serial: 00:d0:59:91:c3:ff
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.17-k4-NAPI duplex=half firmware=N/A ip=192.168.1.102 latency=66 link=yes maxlatency=56 mingnt=8 module=e100 multicast=yes port=MII speed=100MB/s
*-network
description: Wireless interface
physical id: 1
logical name: eth1
serial: 00:40:96:46:1d:9f
capabilities: ethernet physical wireless
configuration: broadcast=yes multicast=yes wireless=IEEE 802.11-DS
after a bit of looking I might be out of luck with wpa on my cisco.
wieman01
April 28th, 2008, 02:32 AM
Actually, it is a neighbor's insecure network, but yes, it did quickly and easily connect to the neighbor's open network when it couldn't connect to my secure one.
Beats me... I don't know what's going on. Can you find a bug report on Launchpad by chance?
LauraSakura
April 29th, 2008, 10:28 AM
your problem is with IPW2200? Mine seemed to stop working once i upgraded to hardy :(
wieman01
April 29th, 2008, 12:16 PM
your problem is with IPW2200? Mine seemed to stop working once i upgraded to hardy :(
Really? Please post:
sudo iwlist scan
sudo lshw -C network
sudo cat /etc/network/interfaces
Average Joe
April 30th, 2008, 10:13 AM
I thought I found my nirvana by installing Wicd (http://ubuntuforums.org/showpost.php?p=4416845&postcount=1242), but I was wrong. I got some issues with Wicd too, so (after upgrading to Hardy Heron) I went back to the network-manager and this nice how-to.
Everything works fine. I have a static IP address, and use WPA2. The network-restart bug is still there, but instead of starting another script in /etc/rcS.d/ as explained in the second post of this topic, I simply put the line:
/etc/init.d/networking restart
in my /etc/rc.local. I find that easier and it seems to do the trick as well. Or is there a good reason not to do it like this?
P.S. Wieman01, your last edit in the first post says: "15/04/2008: Tested with Gutsy Gibbon (Wieman01)." Shouldn't that be Hardy Heron instead?
wieman01
April 30th, 2008, 11:02 AM
@Average Joe:
Thanks for your note. In fact your solution in regard to restarting the network is much neater. My post is kind of old, you know. Although it makes little difference.
Also changed the change log... it was indeed a mistake. :-)
geezerone
May 2nd, 2008, 08:58 AM
Hi
Took a quick look and looks helpful but does anyone know how to get a BT voyager 1055 USB adapter working in ubuntu (8.04 or 7.10) as the wireless adapter doesn't show up when performing lspci or iwlist?
Thanks :)
K-Man_22
May 4th, 2008, 01:46 PM
Dear wieman01, dear readers,
please let me show you my report for a friend's laptop that had so far cost me hours and has still no wlan with linux. Since I am trying to convince this friend to switch over from windows, WLAN is a *must*. Although I have read and searched *a lot* (but not 136 pages in this thread ;-) and I feel that I am vey close, I don't know what to do next without screwing it up more. Maybe one of you finds what I am missing. I am using your report structure, wieman01.
My Requirements:
IBM Thinkpad T23, clean offline Ubuntu 8.04 WUBI installation into a single Win2000 FAT32 partition, D-Link DWL-G650+ (rev. B1)
As to the wlan-card: I don't even know which chipset it has (ACX100, ACX111, TI1130?) or what transfer speed standard (22/44, 54 Mbps?). I have tried several drivers via ndiswrapper, one from Texas Instruments seems to work. EDIT: After probing the system with the suggested commands, I do know: ACX111 from TI, 54Mbps.
# ndiswrapper -l
tnet1130 : driver installed
device (104C:9066) present (alternate driver: acx)
Settings from "MYAP" my accesspoint:
1. WPA
2. ESSID broadcast
3. DHCP
4. Pre-shared key
# route
Kernel-IP-Routentabelle
Ziel Router 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
In about 3 out of 4 times I get this:
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
irda0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"MYAP"
Mode:Managed Frequency:2.437 GHz Access Point: XX:XX:XX:XX:XX
Bit Rate=54 Mb/s Tx-Power:10 dBm Sensitivity=0/3
RTS thr:off Fragment thr:off
Power Management:off
Link Quality:57/100 Signal level:-59 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
Else it gives me this:
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
irda0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:10 dBm Sensitivity=0/3
RTS thr:off Fragment thr:off
Power Management:off
Link Quality:64/100 Signal level:-55 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
On the system monitor there appears a cyclic pattern of network activity corresponding to LED blinking of the card: One high spike followed by three half-sized, and a short pause of no activity.
# sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
irda0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: XX:XX:XX:XX:XX:XX
ESSID:"MYAP"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:50/100 Signal level:-64 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
Cell 02 - Address: XX:XX:XX:XX:XX:XX
ESSID:"WLAN-XXXXXXXXXXXX"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
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; 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 03 - Address: XX:XX:XX:XX:XX:XX
ESSID:"Targa-WLAN"
Protocol:IEEE 802.11g
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
Cell 04 - Address: XX:XX:XX:XX:XX:XX
ESSID:"benlan"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:7/100 Signal level:-91 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 05 - Address: XX:XX:XX:XX:XX:XX
ESSID:"WLAN9ED704"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:10/100 Signal level:-89 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
Cell 06 - Address: XX:XX:XX:XX:XX:XX
ESSID:"FRITZ!Box WLAN"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:45/100 Signal level:-67 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 07 - Address: XX:XX:XX:XX:XX:XX
ESSID:"Arcor-89B340"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.452 GHz (Channel 9)
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; 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: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
Preauthentication Supported
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
# sudo lshw -C network
*-network
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: xx:xx:xx:xx:xx:xx
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=66 link=no maxlatency=56 mingnt=8 module=e100 multicast=yes port=MII speed=10MB/s
*-network
description: Wireless interface
product: ACX 111 54Mbps Wireless Interface
vendor: Texas Instruments
physical id: 1
bus info: pci@0000:07:00.0
logical name: wlan0
version: 00
serial: xx:xx:xx:xx:xx:xx
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+tnet1130 driverversion=1.52+Texas Instruments,12/01/200 latency=64 link=yes module=ndiswrapper multicast=yes wireless=IEEE 802.11g
# sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid MYAP
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk 134f6sj6y4vlse4o8zlse4lmcvoiew4u09qw8euosidjvlsmmy wj129iusap63fo7a3d
# 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 12758
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/xx:xx:xx:xx:xx:xx
Sending on LPF/wlan0/xx:xx:xx:xx:xx:xx
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 12721).
# 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 "MYAP" -- 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/xx:xx:xx:xx:xx:xx
Sending on LPF/wlan0/xx:xx:xx:xx:xx:xx
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
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
- End of report -
What I find suspicious is "No working leases in persistent database - sleeping." But hey, I'm no expert here *at all*
Glad for any hints. I'll check back tomorrow. Thanks in advance.
K-Man
AZzKikR
May 4th, 2008, 04:46 PM
Hi Wieman01,
Thanks for all the effort you put into all this.
I've installed Hardy Heron a week ago or so, and back with Gutsy everything worked smoothly with your tutorial, except with Hardy. I followed your all your instructions, but I still can't ping my gateway (router).
Any information you might want is posted here (formatted for your convenience):
$ 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
$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any
Mode:Auto Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate:36 Mb/s Tx-Power:20 dBm Sensitivity=-114 dBm
RTS thr=2347 B Fragment thr=2346 B
Power Management:off
Link Quality:40/100 Signal level:-70 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
$ sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:14:BF:93:D1:B3
ESSID:"porrus"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
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=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
$ sudo lshw -C network
*-network
description: Wireless interface
product: RT2500 802.11g Cardbus/mini-PCI
vendor: RaLink
physical id: 7
bus info: pci@0000:05:07.0
logical name: wlan0
version: 01
serial: 00:12:17:8c:f1:54
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+rt2500 driverversion=1.52+Linksys,04/21/2005, 3.00.03 ip=192.168.1.7 latency=32 link=yes module=ndiswrapper multicast=yes wireless=IEEE 802.11g
$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet static
address 192.168.1.7
gateway 192.168.1.1
netmask 255.255.255.0
wpa-driver wext
wpa-ssid "porrus"
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk "a hex psk thingy"
Note: I've also tried to remove the quotes, to no avail.
$ 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 8889).
$ 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 "porrus" -- 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.7 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/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 pointers? Thanks.
iwanttobelieve
May 5th, 2008, 12:34 AM
Hi Wieman01,
I appreciate all the effort you've put into this thread. I tried following your instructions but I'm still unable to get my wireless card, Dlink DWA-542 to connect to my router. I'm using Ubuntu 8.04. If you could help me to figure out how to make this work I would very much appreciate it. Here's the information that you requested if I was stumped:
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
jacob@jacob-desktop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s
Power Management max timeout:0us mode:All packets received
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
jacob@jacob-desktop:~$ sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:1B:11:4A:3F:BF
ESSID:"Dominguez Wireless Network"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:46/100 Signal level:-66 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: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 02 - Address: 00:1A:70:DD:B9:2C
ESSID:"linksys"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:14/100 Signal level:-87 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
jacob@jacob-desktop:~$ sudo lshw -C network
*-network:0
description: Wireless interface
product: AR5416 802.11abgn Wireless PCI Adapter
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 01
serial: 00:17:9a:44:97:8e
width: 32 bits
clock: 66MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+net5416 driverversion=1.52+,07/23/2007,6.0.3.107 latency=128 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11g
*-network:1 DISABLED
description: Ethernet interface
product: 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:03:08.0
logical name: eth0
version: 03
serial: 00:13:20:45:65:57
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
jacob@jacob-desktop:~$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid Dominguez Wireless Network
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 8c155590c50e223322cd39e8a9b7b9fdcea10cf3b2f84997ee efa59a79f0a441
jacob@jacob-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
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 6602
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:17:9a:44:97:8e
Sending on LPF/wlan0/00:17:9a:44:97:8e
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 6569).
jacob@jacob-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 "Dominguez Wireless Network" -- 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
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:17:9a:44:97:8e
Sending on LPF/wlan0/00:17:9a:44:97:8e
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 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
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
jacob@jacob-desktop:~$
wieman01
May 5th, 2008, 05:02 PM
K-Man_22,
All I can offer is that you have probably installed the wrong driver version. Is your wireless adapter listed anywhere here?
http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list/
This list should provide you with some valuable hints.
EDIT:
If all this fails, look for Kevdog's tutorial on how to compile the latest version of "ndiswrapper". This might be your last hope.
wieman01
May 5th, 2008, 05:04 PM
AZzKikR,
Did the orginal file look exactly the same? Could you remove the "" from the SSID section and try again?
Have you changed anything else in the meantime (e.g. driver, etc.)?
wieman01
May 5th, 2008, 05:09 PM
iwanttobelieve,
Man, beats me... Could you try an SSID without spaces? Plus are you sure this version of the driver for Windows does support WPA2?
Something seems to be seriously wrong... a lot of people posting similar stuff lately. Although it works on my own computer... (scratching my head)
iwanttobelieve
May 5th, 2008, 11:43 PM
wieman01,
I did try changing the ssid to a name without spaces, basically the same one I just deleted the spaces, but it still didn't work. I'm positive that this version of the driver supports WPA2. My original configuration was hidden broadcast, mac filtering on, wpa2 - which worked perfectly fine in WinXP. I've since changed it to broadcast enabled, mac filtering off, wpa2 - which still works just fine in WinXP.
I think I'm going to try to change it to an unsecured network to see if anything changes. The other thing I'll probably try this weekend is to use an older version of Ubuntu to see if that works. From what I've been reading other people also seem to be having problems with wireless cards after upgrading to 8.04. Not sure what's going on, I might need to be patient to see if any kinks need to be worked out.
Thanks for the suggestions. I'll post if I have any success.
AZzKikR
May 6th, 2008, 04:18 AM
AZzKikR,
Did the orginal file look exactly the same? Could you remove the "" from the SSID section and try again?
Have you changed anything else in the meantime (e.g. driver, etc.)?
Thanks for your response, I really appreciate it.
How the original file looked... I don't know. I didn't save my previous /etc/networking/interfaces file, because I thought I would get it to work using this tutorial (it worked before, after all :D)
I've tried removing the "" several times (did a restart of the network everytime). The only thing I've changed in the meantime is removing the NetworkManager applet, and blacklisting the rt2500 and rt2500pci drivers from the modprobe configs.
I'm really baffled. No internet means a no-go for me. Thanks for the response though. Don't you agree though that everything else looks fine (from what I posted)?
K-Man_22
May 6th, 2008, 10:19 AM
K-Man_22,
All I can offer is that you have probably installed the wrong driver version. Is your wireless adapter listed anywhere here?
http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list/
This list should provide you with some valuable hints.
EDIT:
If all this fails, look for Kevdog's tutorial on how to compile the latest version of "ndiswrapper". This might be your last hope.
Hi Wieman01,
thanks for your help. I knew that list and that people got the DWL-G650+ rev. B1 to work. I had even tried all the drivers I could get my hands on (incl. unshielded ones) before I gave up and cried for help in your thread ;-) Your judgement based on the posted system info gave me motivation to keep working on the driver issue.
Long story short: It's working now - Hallelujah!
For all co-sufferers to come, this is what to do:
0. Read and follow wieman01's guide (http://ubuntuforums.org/showthread.php?t=202834)
1. There are many drivers around, some of which can be installed, others may produce errors (neither is relevant!). Ergo: Use a driver that has proven to work for your hardware revision (best: try in windows and stick with it). In my case (D-Link DWL-G650+ rev. B1) use a package called D-Link G650+_v3.10b19_940824_Multi.zip (it's from 2005 and unlikely to be updated anymore, get it from D-Link).
2. Unpack and unshield the windows driver. I used a second PC with Ubuntu and internet connection in the process. Very advisable in conjunction with a USB memory stick. Unshield either one of data1.cab or data2.cab in English_Language ("Others_Language" might also work).
3. You need ndiswrapper, of course. If this is still new to you, read a tutorial or wiki like this one (http://wiki.ubuntuusers.de/WLAN/NdisWrapper) on the german ubuntuusers.de (http://www.ubuntuusers.de/). Ndiswrapper needs to go to your /etc/modules for autostart also.
4. Install via ndiswrapper the previously unpacked driver by chosing the GPLUS.INF in the subfolder /InfXP. BUT: The driver will not work yet, ndiswrapper says 'driver broken'
5. As root copy (sudo cp) the file /DrvXP/GPlus_XP.sys to /etc/ndiswrapper/gplus and I believe it's necessary to make sure it has only small letters: sudo cp /<path to data1 or data2>/DrvXP/GPlus_XP.sys /etc/ndiswrapper/gplus/gplus_xp.sys
6. Restart networking/system.
Thanks again to wieman01 for his tutorial and his ongoing support as well as to the person who provided the crucial hint for my wlan card at NDISwrapper (http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list/) (about the manual driver installation where ndiswrapper failed). Will try to add a reference there, too.
BTW: I think that ndiswrapper can't install the driver by itself because of info given in the INF probably regarding the location of the files. Does anyone know how to fix that?
PS: The system in my sig is not the one I was talking about (see my previous post).
wieman01
May 6th, 2008, 05:28 PM
wieman01,
I did try changing the ssid to a name without spaces, basically the same one I just deleted the spaces, but it still didn't work. I'm positive that this version of the driver supports WPA2. My original configuration was hidden broadcast, mac filtering on, wpa2 - which worked perfectly fine in WinXP. I've since changed it to broadcast enabled, mac filtering off, wpa2 - which still works just fine in WinXP.
I think I'm going to try to change it to an unsecured network to see if anything changes. The other thing I'll probably try this weekend is to use an older version of Ubuntu to see if that works. From what I've been reading other people also seem to be having problems with wireless cards after upgrading to 8.04. Not sure what's going on, I might need to be patient to see if any kinks need to be worked out.
Thanks for the suggestions. I'll post if I have any success.
Trying to connect to an unsecured network is certainly a good idea. Keep me posted, interested to hear if you are making progress.
wieman01
May 6th, 2008, 05:30 PM
Thanks for your response, I really appreciate it.
How the original file looked... I don't know. I didn't save my previous /etc/networking/interfaces file, because I thought I would get it to work using this tutorial (it worked before, after all :D)
I've tried removing the "" several times (did a restart of the network everytime). The only thing I've changed in the meantime is removing the NetworkManager applet, and blacklisting the rt2500 and rt2500pci drivers from the modprobe configs.
I'm really baffled. No internet means a no-go for me. Thanks for the response though. Don't you agree though that everything else looks fine (from what I posted)?
Everything looks super-fine, really.
Question: Can you connect to an unsecured network? What about a WEP secured one? And where have you got the driver from?
AZzKikR
May 8th, 2008, 03:55 AM
I got the driver from the Linksys website. I can connect to my router using SerialMonkey's drivers (although the connection seems to drop every 2 minutes), so the card is working fine.
I've also been looking for any logging about what is actually happening when a connection attempt is made with the router, but can't seem to find anything. I'm really curious what is actually happening. Any ideas where I can find such information? In /var/log perhaps?
jarviser
May 8th, 2008, 12:17 PM
Just to say thanks for the setup instructions. I dropped Dapper when I went wifi and WPA-PSK and went back to XP.
Just installed Hardy Heron and my Belkin USB dongle connected out of the box with WEP, but needed all wieman01's tweaks to get WPA-PSK working. Not sure why this has not been fixed in an update to Hardy but ....
my interface file for BT home hub and belkin USB on WPA-PSK was
auto lo
iface lo inet loopback
iface wlan0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.254
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid myhubs-ssid
wpa-group TKIP
wpa-psk <the hex key generated by the wpa_passphrase command>
auto wlan0
then created and associated the restart script totally as per wieman01's instructions.
Wifi card as per my sig below
wieman01
May 8th, 2008, 05:01 PM
I got the driver from the Linksys website. I can connect to my router using SerialMonkey's drivers (although the connection seems to drop every 2 minutes), so the card is working fine.
I've also been looking for any logging about what is actually happening when a connection attempt is made with the router, but can't seem to find anything. I'm really curious what is actually happening. Any ideas where I can find such information? In /var/log perhaps?
You should be able to find stuff in /var/log in fact. Which file exactly, I have no clue.
wieman01
May 8th, 2008, 05:02 PM
Just to say thanks for the setup instructions. I dropped Dapper when I went wifi and WPA-PSK and went back to XP.
Just installed Hardy Heron and my Belkin USB dongle connected out of the box with WEP, but needed all wieman01's tweaks to get WPA-PSK working. Not sure why this has not been fixed in an update to Hardy but ....
my interface file for BT home hub and belkin USB on WPA-PSK was
auto lo
iface lo inet loopback
iface wlan0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.254
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid myhubs-ssid
wpa-group TKIP
wpa-psk <the hex key generated by the wpa_passphrase command>
auto wlan0
then created and associated the restart script totally as per wieman01's instructions.
Wifi card as per my sig below
Hardy still cannot handle static IP addresses. Very sad tale.
jarviser
May 8th, 2008, 05:21 PM
Hardy still cannot handle static IP addresses. Very sad tale.
Well the above setup seemed to work. I know my way round XP to find what IP was being used, but I don't know how to check if the 192.168.1.100 was actually assigned to the PC.
Main problem now is I am getting very poor wifi speed, not enough to stream even radio. XP can stream iPlayer video on same wifi dongle. Again how do I look to see what wifi speed I am getting? XP you just hover mousey over the task bar. Don't think Hardy likes WPA.
I only invested a few pennies on this distro, and nice as it is I will probably still use XP. Either that or I'll try Cat5 into a slave wifi router and do the wifi linking in the network itself.
ninja nicco
May 10th, 2008, 05:37 PM
Thanks for a great tutorial! Changed my home wireless to WPA today and it worked without a hitch for the windowses but I couldn't get it working through the GUIs in ubuntu. So I tried this howto and after several hours of tying I finally got it working. I will only say: remember to get the passphrase right when running "wpa_supplicant <essid> <passphrase>" :redface:
Wireless Card: PRO/Wireless 3945ABG
driver: iwl3945
wpa-pairwise: TKIP
wpa-group: TKIP
wpa-key-mgmt: PSK
(width DHCP)
Had to run sudo /etc/init.d/networking restart twise to get it running.
AZzKikR
May 13th, 2008, 05:47 PM
Trying to connect to an unsecured network is certainly a good idea. Keep me posted, interested to hear if you are making progress.
Hey Wieman01,
I re-read your comment on another post about 'Hardy not supporting static IP addresses'.
I was screwing around a bit, mainly with System -> Administration -> Network. I edited my config from there (just to see what was going to be written to /etc/network/interfaces), and chose DHCP. It seems that my connection is now working with ndiswrapper (it still uses wext as driver).
Looks as if static IP addresses do not work under Hardy. Did work under Gutsy though :S
My connection is now terribly slow though. Running an 'apt-get upgrade' at the moment, and it is downloading at 37.5 Kb/s. When I'm not downloading, pinging the gateway usually gives an average of about 2 or 3 seconds.
Weird stuff. Thanks though for looking into my problem.
EDIT:
My ping average was because I was accidentally running a download in the background. So I've come to the conclusion that:
- Running another download gives me ping results of 3000+ ms average;
- Download capacity is around 35 kb/s. On previous Ubuntus I could get speeds of 500 kb/s;
- Visiting webpages goes slow as hell like this;
- "Concurrent" browsing/downloading/playing games over the internet is a pain in the ****.
Well, at least I can successfully do updates/installation via apt. I'll do some more investigative work tonight at home.
wieman01
May 14th, 2008, 02:57 PM
Hey Wieman01,
I re-read your comment on another post about 'Hardy not supporting static IP addresses'.
I was screwing around a bit, mainly with System -> Administration -> Network. I edited my config from there (just to see what was going to be written to /etc/network/interfaces), and chose DHCP. It seems that my connection is now working with ndiswrapper (it still uses wext as driver).
Looks as if static IP addresses do not work under Hardy. Did work under Gutsy though :S
My connection is now terribly slow though. Running an 'apt-get upgrade' at the moment, and it is downloading at 37.5 Kb/s. When I'm not downloading, pinging the gateway usually gives an average of about 2 or 3 seconds.
Weird stuff. Thanks though for looking into my problem.
EDIT:
My ping average was because I was accidentally running a download in the background. So I've come to the conclusion that:
- Running another download gives me ping results of 3000+ ms average;
- Download capacity is around 35 kb/s. On previous Ubuntus I could get speeds of 500 kb/s;
- Visiting webpages goes slow as hell like this;
- "Concurrent" browsing/downloading/playing games over the internet is a pain in the ****.
Well, at least I can successfully do updates/installation via apt. I'll do some more investigative work tonight at home.
Mmm... Odd indeed!
I know it's an old issue, however, a common workaround for a slow connections used to be disabling IPV6 globally and in the browser. IPV6 used to be the main culprit (or at least one of them) for performance problems.
Not sure if it makes a difference, but I thought I'd mention it.
geezerone
May 14th, 2008, 05:11 PM
What I don't understand is that I cannot get a usb Bt voyager wireless adapter to connect to my wireless network (not even recognised) on either GG or HH BUT when I ran the live cd of Fedora 9 it was recognised and I was up and working in a couple of minutes. Is it too much to get hardware recognised on Ubuntu because at least one other distro doesn't have the same problem. Given also the increasing number of users having problems with HH maybe the time to change to FC9 has come?:confused:
VayHow
May 14th, 2008, 10:57 PM
Thank you very much! Now I understand much more about it.
But what I experienced is another problem. My NIC is Intel 3945ABG and AP is Linksys WRH54G. I shut down DHCP on router, and set wireless security to WPA2 personal (AES+TKIP). I set the static IP correctly on laptop, as well as DNS & gateway, everything. Then open FireFox, all OK. BUT, every time I reboot the system, or power on my laptop, I have to manually configure the security and the password again, or I can't get access to my AP. And I noticed that, static IPs, DNS & gateway are all right, except for the security (shown as WPA instead of WPA2 and the password is incorrect, either). This bothers me a lot. Every time I have to choose WPA2 and type in the password.
PS: How can I modify the config file "interfaces"? I just can't save my change. I'm using the account created when install, not root.
lunatico
May 15th, 2008, 05:48 AM
Hello,
Using this tutorial I created my own wpa_supplicant script which I use to connect to my college network. Before (on gutsy 7.10) I had to kill network manager as stated at the beginning of this tutorial. I was actually using WICD instead of NM which didn't interfere with the script. But now (on hardy 8.04) NM was installed again and I am able to run the same wpa_script with no problem, AND network manager is not messing with it anymore, the connection stays up and very stable.
The only thing is that network manager will not update its connected state. Does anyone know how to make nm-applet to refresh the connection state...? in other words if one configures the wifi connection manually how can nm-applet be updated and show it is connected, signal strength and all that?
Thanks!
wieman01
May 15th, 2008, 04:57 PM
Thank you very much! Now I understand much more about it.
But what I experienced is another problem. My NIC is Intel 3945ABG and AP is Linksys WRH54G. I shut down DHCP on router, and set wireless security to WPA2 personal (AES+TKIP). I set the static IP correctly on laptop, as well as DNS & gateway, everything. Then open FireFox, all OK. BUT, every time I reboot the system, or power on my laptop, I have to manually configure the security and the password again, or I can't get access to my AP. And I noticed that, static IPs, DNS & gateway are all right, except for the security (shown as WPA instead of WPA2 and the password is incorrect, either). This bothers me a lot. Every time I have to choose WPA2 and type in the password.
PS: How can I modify the config file "interfaces"? I just can't save my change. I'm using the account created when install, not root.
You edit it as indicated in the tutorial. You need to add "sudo". Just follow the tutorial or try WICD:
http://wicd.sourceforge.net/
wieman01
May 15th, 2008, 04:59 PM
Hello,
Using this tutorial I created my own wpa_supplicant script which I use to connect to my college network. Before (on gutsy 7.10) I had to kill network manager as stated at the beginning of this tutorial. I was actually using WICD instead of NM which didn't interfere with the script. But now (on hardy 8.04) NM was installed again and I am able to run the same wpa_script with no problem, AND network manager is not messing with it anymore, the connection stays up and very stable.
The only thing is that network manager will not update its connected state. Does anyone know how to make nm-applet to refresh the connection state...? in other words if one configures the wifi connection manually how can nm-applet be updated and show it is connected, signal strength and all that?
Thanks!
I cannot help you there but thanks for sharing this with us. Very interesting discovery. :-)
VayHow
May 15th, 2008, 11:17 PM
You edit it as indicated in the tutorial. You need to add "sudo". Just follow the tutorial or try WICD:
http://wicd.sourceforge.net/
Thanks. I've edited the "interfaces" file following your tutorial. Then $ sudo /etc/init.d/networking restart, everything's OK. BUT, after every reboot, or power on, I just can't connect to my router unless I restart network manually using the above command. It's can't be done automatically. I've added "auto wlan0" in the config file, and other lines are all right. All this need is a manually restart after boot, really weird.:confused:
spaceboy909
May 16th, 2008, 06:08 PM
Compaq r4010us w/ Broadcom 4306 using ndiswrapper / wext on Gutsy
Between this tutorial and this one: http://ubuntuforums.org/showthread.php?t=571188 , I've been able to get my wireless running in WPA2 AES with static IP.
I've spent about a week fiddling with various things, so even though I'm new, I may be able to help out a bit.
First off, to those saying that Hardy won't do static IP's..... well, you may need to do what I had to do in Gutsy, and that is uninstall 'network-manager' and/or 'gnome-network-manager'.
I could not get my static IP and other settings to stick while network manager was still an active service.
For reference, here are my /etc/network/interfaces and /etc/wpa_supplicant.conf files.
Note that I have left out my wired inteface as I don't plan to use it. Also note that I only have the driver (wext) and the location of the supplicant config file in this interfaces file.
All of the remaining wireless info I have placed in the wpa_supplicant.conf file. I have discovered with some experimentation that these two files overlap a certain amount, so you can place some wireless info in one or the other, or even duplicate it in both.
However, unless there is a critical reason why it needs to be duplicated, I would suggest not doing it because if you ever need to change something, you may forget that you have the information duped and won't understand why the new settings won't take.
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet static
address 192.168.1.102
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf
ap_scan=2
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="stoog"
scan_ssid=0
proto=RSN
key_mgmt=WPA-PSK
psk=your-key-here
pairwise=CCMP
group=CCMP
}
Hope this helps some people.
Edit: Forgot to add, that I used /etc/init.d/networking restart to apply the new settings. I did not need to do a dbus restart in my case.
wieman01
May 17th, 2008, 01:01 PM
Thanks. I've edited the "interfaces" file following your tutorial. Then $ sudo /etc/init.d/networking restart, everything's OK. BUT, after every reboot, or power on, I just can't connect to my router unless I restart network manually using the above command. It's can't be done automatically. I've added "auto wlan0" in the config file, and other lines are all right. All this need is a manually restart after boot, really weird.:confused:
Then please see post #2 of this thread.
aolias
May 17th, 2008, 04:13 PM
Hi lads,
I upgraded my ubuntu installation from Feisty to Hardy and my wireless card just stopped to work.
I have a WPN111 Netgear USB. The ndiswrapper is working fine, because if I turn off the security in my router I can connect to the internet with no problem. But Enabling the WPA I cannot connect to the router.
I have installed wicd and I couldn't get it to work. Also I have running the gnome network manager. I installed the wpa_supplicant and I generated the key structure. So here it is my actual configuration
/etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=2
fast_reauth=1
network={
ssid="xxxxxxxxxxx"
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=xxxxxxxxxxxxxxxxxxxxxxxxxx
}
/etc/network/interfaces
#iface wlan0 inet static
#address 192.168.0.9
#netmask 255.255.255.0
#gateway 192.168.0.1
#pre-up wpa_supplicant -Bw -Dwext -i wlan0 -c/etc/wpa_supplicant.conf
#post-down killall -q wpa_supplicant
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid xxxxxxxxxxxxxxxxxx
#wpa-ap-scan 1 # only needed if your access point uses a hidden ssid
wpa-proto WPA RSN
wpa-pairwise CCMP TKIP
wpa-group CCMP TKIP
wpa-key-mgmt WPA-PSK
wpa-psk xxxxxxxxxxxxx
If I run the command 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: configuring network block -- 0
wpa_supplicant: wpa-ssid "NETGEAR" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-pairwise CCMP TKIP -- OK
wpa_supplicant: wpa-group CCMP TKIP -- 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 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:18:4d:2b:ee:a0
Sending on LPF/wlan0/00:18:4d:2b:ee:a0
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
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 8
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/000resolvconf
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
But never connects
I have also tried removing CCMP and RSN from the file, but the result is the same.
iwlist wlan0 scanning
wlan0 Scan completed :
Cell 02 - Address: 00:18:4D:01:BC:5E
ESSID:"NETGEAR"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
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; 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
iwconfig
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.437 GHz Access Point: 00:18:4D:01:BC:5E
Bit Rate=108 Mb/s
Power Management:off
Link Quality:23/100 Signal level:-81 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
sudo lshw -C network
*-network
description: Wireless interface
physical id: 1
logical name: wlan0
serial: 00:18:4d:2b:ee:a0
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+netwpn11 driverversion=1.52+NETGEAR,09/26/2005,1.5.0.21 link=no multicast=yes wireless=IEEE 802.11g
Any idea? please help
dpsf
May 17th, 2008, 10:59 PM
Hi Everyone,
Thank you wieman01 for your excellent tutorial! Using your guide I
got my wireless (Intel 3945) with WPA-PSK & hidden essid working with
only a minimal amount of pain in a Feisty Fawn install CD. A couple
of weeks ago I was at a friend's house; he has a old wireless router
without any security enabled. I tested the Hardy Heron last beta CD
while there and it worked fine; I naively thought I was OK with WPA
as well then. Unfortunately, testing the same setup with the WPA
enabled router has not gone so well...
Here is what Feisty (which I'm using again to post this now) reports
about the configuration:
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11g ESSID:"<blah>"
Mode:Managed Frequency:2.442 GHz Access Point: xx:...:xx
Bit Rate:54 Mb/s Tx-Power:13 dBm
Retry limit:15 RTS thr:off Fragment thr:off
Encryption key: <blah> Security mode:open
Power Management:off
Link Quality=77/100 Signal level=-58 dBm Noise level=-59 dBm
Rx invalid nwid:0 Rx invalid crypt:22 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:2278 Missed beacon:0
and the /etc/network/interfaces file which got it working:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
wpa-driver wext
wpa-ssid <blah>
wpa-ap-scan 2
wpa-proto WPA
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk <very-secret-hex-code>
In Hardy Heron, I've noticed that the eth1 interface has been
replaced by wlan0 (what is wmaster0?), so I changed the setup to:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid <blah>
wpa-ap-scan 2
wpa-proto WPA
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk <very-secret-hex-code>
I can see the access point with an iwlist scan command, and after
restarting the network it even sees the router's hidden essid,
but everything halts there and DHCP times out.
I would love to get Hardy Heron working with WPA, especially since
once I saw it was working I dove in and installed HH to a partition
on the hard drive and then installed & configured a slew of packages.
It's been many hours now of trying to get this working & I'm losing
sleep & hair over this. I'm just about ready to ditch Hardy as a
lost cause and revert to Feisty (probably for good at that point &
once I get Gentoo WPA working...), but before then I'm making this plea.
Can anyone help me get the HH wireless working properly?
Thanx,
dpsf
------------------------------------------------------------------------
For any Ubuntu devs who stumble upon this:
<growl>
I know I'm not alone here... searching the forums has produced many
other examples of people who previously had their wireless cards
working & now are lost at sea... for ex:
"having it work ok in 7.10 and then break in 8.04 is a real shame.
i was this close to recommending Linux to friends (I have been for
about 5 years now...)"
I feel precisely the same way. It is so painful to watch Linux backtrack-
*again*. I'm sure the resolution to this will turn out to be some
painfully simple 1 or 2 line fix.
what gives? Don't you have anyone testing this critically important
facet of the distribution? This is madness!! Your 'network connection'
application is completely, utterly useless for wireless WPA. Yet with
some fairly simple changes to cfg files and a simple script, magically
that changes... couldn't the network connection application do this so
that new (and less determined) users aren't put off?
Further, a catch-22 exists here. Why isn't this entire, incredibly
useful thread zipped up and placed in your *examples folder* on the
CD/DVD? For that matter, why not add other forum topics addressing
commonly asked questions? If a new user cannot get online then almost
certainly the distribution's CD ends up as a table coaster, if it's
that lucky.
While I've been running Linux I've seen this time & again, for ex:
> Helping a friend get basic Linux installed on a dual-boot computer--
everything working but Linux & Windows fight over the clock! A simple
additional configuration line fixed this & thankfully I knew where to
look, because he as a Linux newbie was getting extremely frustrated.
WHY ISN'T THERE A SIMPLE FREAKING 'DUAL-BOOT' CHECK BOX IN THE KDE
CLOCK APPLET????!!? Why? The last time I checked-- it still wasn't
there! Maddening.
I'm fairly sure he later simply ditched Linux; can you blame him?
I could go on at length with Linux nightmares that were resolved by
ridiculous little fixes *if you knew*, but I'm belabouring the point,
so:
</growl>
VayHow
May 18th, 2008, 06:00 AM
Then please see post #2 of this thread.
Thank you again for your patience. I just missed that part of creating a startup script. I thought it was my problem, not a bug:lolflag:
And one more question: You mentioned "sudo ln -s /etc/init.d/wireless-network.sh /etc/rcS.d/S40wireless-network", and "You may have to choose a boot sequence other than S40". So what does this "S40" stand for? How can I decide this sequence?
gladstone
May 18th, 2008, 11:02 AM
Thank you again for your patience. I just missed that part of creating a startup script. I thought it was my problem, not a bug:lolflag:
And one more question: You mentioned "sudo ln -s /etc/init.d/wireless-network.sh /etc/rcS.d/S40wireless-network", and "You may have to choose a boot sequence other than S40". So what does this "S40" stand for? How can I decide this sequence?
I just wonder, after soooo long, why we still need to make the restart script in Hardy! Why hasn't this bug been fix yet!?
wieman01
May 18th, 2008, 01:12 PM
Thank you again for your patience. I just missed that part of creating a startup script. I thought it was my problem, not a bug:lolflag:
And one more question: You mentioned "sudo ln -s /etc/init.d/wireless-network.sh /etc/rcS.d/S40wireless-network", and "You may have to choose a boot sequence other than S40". So what does this "S40" stand for? How can I decide this sequence?
Any sequence will do in fact. But S40 is OK for wireless networking. :-)
wieman01
May 18th, 2008, 01:12 PM
I just wonder, after soooo long, why we still need to make the restart script in Hardy! Why hasn't this bug been fix yet!?
Too few people who have reported it. I don't know, maybe it isn't a bug after all. Annoying nonetheless.
wieman01
May 18th, 2008, 01:14 PM
Hi Everyone,
Thank you wieman01 for your excellent tutorial! Using your guide I
got my wireless (Intel 3945) with WPA-PSK & hidden essid working with
only a minimal amount of pain in a Feisty Fawn install CD. A couple
of weeks ago I was at a friend's house; he has a old wireless router
without any security enabled. I tested the Hardy Heron last beta CD
while there and it worked fine; I naively thought I was OK with WPA
as well then. Unfortunately, testing the same setup with the WPA
enabled router has not gone so well...
Here is what Feisty (which I'm using again to post this now) reports
about the configuration:
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11g ESSID:"<blah>"
Mode:Managed Frequency:2.442 GHz Access Point: xx:...:xx
Bit Rate:54 Mb/s Tx-Power:13 dBm
Retry limit:15 RTS thr:off Fragment thr:off
Encryption key: <blah> Security mode:open
Power Management:off
Link Quality=77/100 Signal level=-58 dBm Noise level=-59 dBm
Rx invalid nwid:0 Rx invalid crypt:22 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:2278 Missed beacon:0
and the /etc/network/interfaces file which got it working:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
wpa-driver wext
wpa-ssid <blah>
wpa-ap-scan 2
wpa-proto WPA
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk <very-secret-hex-code>
In Hardy Heron, I've noticed that the eth1 interface has been
replaced by wlan0 (what is wmaster0?), so I changed the setup to:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid <blah>
wpa-ap-scan 2
wpa-proto WPA
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk <very-secret-hex-code>
I can see the access point with an iwlist scan command, and after
restarting the network it even sees the router's hidden essid,
but everything halts there and DHCP times out.
I would love to get Hardy Heron working with WPA, especially since
once I saw it was working I dove in and installed HH to a partition
on the hard drive and then installed & configured a slew of packages.
It's been many hours now of trying to get this working & I'm losing
sleep & hair over this. I'm just about ready to ditch Hardy as a
lost cause and revert to Feisty (probably for good at that point &
once I get Gentoo WPA working...), but before then I'm making this plea.
Can anyone help me get the HH wireless working properly?
Thanx,
dpsf
My setup works with Hardy. Strange thing. I cannot promise there is much I can do but let's give it a try:
sudo iwlist scan
sudo lshw -C network
What adapter have you got and what chipset are we talking about?
richman241
May 18th, 2008, 02:05 PM
I couldn't connect to my secured network, so I ended up closing my network so you have to know the SSID to get on.
aolias
May 18th, 2008, 02:23 PM
But anybody can scan the channels and listen for traffic .. and read what are you sending!
geezerone
May 18th, 2008, 02:27 PM
I can connect to my WPA2 network but only if the SSID is broadcast by the access point.
I configured a manual connection from the network manager applet and have the following interfaces config:
iface wlan0 inet static
address 192.168.0.250
netmask 255.255.255.0
gateway 192.168.0.249
wpa-ap-scan 2
wpa-psk my hex key
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA2
wpa-ssid networkssid
auto wlan0Have tried this on Gutsy and Hardy to no avail so have to reluctantly broadcast this.
I am using a BT Voyager 1055 usb wireless adaptor (bcm4320b driver)
Any help appreciated of course. :KS
VayHow
May 20th, 2008, 05:39 AM
So much thanks! I'm feeling thankful to you, and this forum. I'm loving it :)
BTW, you love Chinese culture? Coz I saw the big Chinese character below your ID. I'm Chinese and I think it's cool, very cool~ :)
pallavis11
May 20th, 2008, 07:38 AM
See the info below:
http://a2zhowto .blogspot.com/
http://learnphpwithme .blogspot.com/
wieman01
May 20th, 2008, 02:59 PM
So much thanks! I'm feeling thankful to you, and this forum. I'm loving it :)
BTW, you love Chinese culture? Coz I saw the big Chinese character below your ID. I'm Chinese and I think it's cool, very cool~ :)
Wo shi shu long de... :-)
roninrun
May 21st, 2008, 11:55 AM
Ok I followed this guide and still have been unsuccessful. Here is the outputs to help me troubleshoot my wireless card.
The card is a Netgear WG311v2 wireless card trying to connect to a WPA network. I've blacklisted the ACX module and used ndiswrapper on the XP driver to get WPA support. I removed network manager as well.
I can see the network but I cannot get DHCP to pull down an ip.
Please help. This is on a test box. I have yet to install this on my main PC with the exact same card.
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
iwconfig:
wlan0 IEEE 802.11g ESSID:"ARBOUR"
Mode:Managed Frequency:2.462 GHz Access Point: 00:40:10:10:00:03
Bit Rate=54 Mb/s Tx-Power:10 dBm Sensitivity=0/3
RTS thr:off Fragment thr:off
Power Management:off
Link Quality:81/100 Signal level:-44 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
iwlist scan:
wlan0 Scan completed :
Cell 01 - Address: 00:19:5B:58:27:BF
ESSID:""
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:25/100 Signal level:-80 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:40:10:10:00:03
ESSID:"ARBOUR"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:84/100 Signal level:-42 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 (2) : CCMP TKIP
Authentication Suites (1) : PSK
lshw -C network:
*-network:0
description: Wireless interface
product: ACX 111 54Mbps Wireless Interface
vendor: Texas Instruments
physical id: 6
bus info: pci@0000:01:06.0
logical name: wlan0
version: 00
serial: 00:0f:b5:05:33:ea
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+wg311v2 driverversion=1.52+NETGEAR, Inc.,06/17/2004,6. latency=32 link=yes module=ndiswrapper multicast=yes wireless=IEEE 802.11g
*-network:1 DISABLED
description: Ethernet interface
product: BCM4401 100Base-T
vendor: Broadcom Corporation
physical id: 9
bus info: pci@0000:01:09.0
logical name: eth0
version: 01
serial: 00:0b:db:2e:5a:ca
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=b44 driverversion=2.0 latency=32 link=no module=ssb multicast=yes port=twisted pair
/etc/network/interfaces:
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-conf managed
wpa-ssid ARBOUR
wpa-ap-scan 2
wpa-proto WPA RSN
wpa-pairwise CCMP TKIP
wpa-group CCMP TKIP
wpa-key-mgmt WPA-PSK
wpa-psk <THIS IS WHERE MY GENERATED KEY IS>
ifdown -v:
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
wpa_supplicant: cannot read contents of managed
run-parts: /etc/network/if-down.d/wpasupplicant exited with return code 1
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 6075
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:0f:b5:05:33:ea
Sending on LPF/wlan0/00:0f:b5:05:33:ea
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
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: cannot read contents of managed
run-parts: /etc/network/if-post-down.d/wpasupplicant exited with return code 1
ifup -v:
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: cannot read contents of managed
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
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:0f:b5:05:33:ea
Sending on LPF/wlan0/00:0f:b5:05:33:ea
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 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
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
wpa_supplicant: cannot read contents of managed
run-parts: /etc/network/if-up.d/wpasupplicant exited with return code 1
geezerone
May 21st, 2008, 03:35 PM
Does fixed IP work by any chance? I use fixed IP as DHCP didn't work.
Also used wicd to manage network for Hardy even though nm worked with Gutsy.
wieman01
May 21st, 2008, 05:43 PM
Roninrun:
Try another scanning mode instead and try again:
wpa-ap-scan 1
Otherwise check out geezerone's approach.
aarnink
May 25th, 2008, 01:44 PM
Hi there,
I have been struggling with my Ubuntu 8.04 x64 and the new Wireless USB adapter (Eminent EM4555) which is based on the Ralink rt2870 chipset.
I downloaded the 1.30 version of the native RAlink drivers and installed them on a clean Unbuntu setup.
I followed the instructions in the driver carefully and set the
'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'
After setting up the interfaces file and starting ra0 this is what iwconfig shows:
ra0 RT2870 Wireless ESSID:"aarnink_N" Nickname:"RT2870STA"
Mode:Managed Frequency=2.412 GHz Access Point: 00:60:B3:A6:F9:5A
Bit Rate=270 Mb/s
RTS thr:off Fragment thr:off
Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
Link Quality=70/100 Signal level:-58 dBm Noise level:-71 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
So this looks promising but, as I read on this forum, like others I cannot get an IP address.
my interfaces file
auto lo
iface lo inet loopback
iface ra0 inet dhcp
wpa-conf /etc/wpa_supplicant/sup.conf
gateway 192.168.0.1
wpa-ap-scan 1
wpa-pairwise CCMP
wpa-group CCMP
wpa-psk <my psk hex string>
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto RSN WPA
wpa-ssid aarnink_N
auto ra0
sup.conf
network={
ssid="aarnink_N"
#psk="richardenmarloes"
psk=<my psk hex thingy>
}
lshw -C network
*-network
description: Wireless interface
physical id: 1
logical name: ra0
serial: 00:60:b3:a6:f2:30
capabilities: ethernet physical wireless
configuration: broadcast=yes multicast=yes wireless=RT2870 Wireless
ifconfig ra0
ra0 Link encap:Ethernet HWaddr 00:60:b3:a6:f2:30
inet6 addr: fe80::260:b3ff:fea6:f230/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:112614 errors:0 dropped:0 overruns:1513 frame:1513
TX packets:1269 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20163638 (19.2 MB) TX bytes:114840 (112.1 KB)
ra0:avahi Link encap:Ethernet HWaddr 00:60:b3:a6:f2:30
inet addr:169.254.8.113 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
As shown in the ifconfig output I receive a local IP address. Already tried a static IP, but this doesnt work, IP address will be shown, but cannot ping.
resolv.conf shows:
nameserver 192.168.0.1
ifup -v ra0
root@mainframe:/usr/lib/rt2870/os/linux# ifup -v ra0
Configuring interface ra0=ra0 (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.ra0.pid -i ra0 -D wext -c /etc/wpa_supplicant/sup.conf -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/ra0
wpa_supplicant: wpa-ap-scan 1 -- OK
wpa_supplicant: configuring network block -- 1
wpa_supplicant: wpa-ssid "aarnink_N" -- 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 WPA -- OK
wpa_supplicant: enabling network block 1 -- OK
dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.ra0.pid -lf /var/lib/dhcp3/dhclient.ra0.leases ra0
There is already a pid file /var/run/dhclient.ra0.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/ra0/00:60:b3:a6:f2:30
Sending on LPF/ra0/00:60:b3:a6:f2:30
Sending on Socket/fallback
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Can someone please help me, I am completely lost. help
thanx in adv, Richard
aarnink
May 27th, 2008, 01:34 AM
Hi,
The battle with my rt2870 ralink wireless adapter continuous. Yesterday went back to basics in my struggle for a succesfull connection to the internet.
I succeeded in connecting to my router by disabling the routers security. [Set to OPEN and NO encryption]
- clearing the interfaces file from all 'ra0' enteries in the '/etc/network' directory except 'iface ra0 inet dhcp' and 'auto ra0'
- edit the RT2870STA.dat file in de '/etc/Wireless' directory to match the security settings for the router
- entered the commands
iwconfig ra0 mode managed
iwconfig ra0 channel 6
iwconfig ra0 ap <my ap hex address>
iwconfig ra0 essid aarnink_N
iwpriv ra0 set AuthMode=OPEN
iwpriv ra0 set EncrypType=NONE
ifconfig ra0 up
dhclient ra0
And :) I had a connection to Internet. A step forward, but ofcourse the story continuous by adding security. And this is where it stops. :(
I am not able to set security in the same manner by adding commands on the prompt e.g.
iwpriv ra0 set AuthMode=WPAPSK
iwpriv ra0 set EncrypType=TKIP
iwpriv ra0 set essid "MY_SSID"
>> command fails
iwpriv ra0 set WPAPSK="MY_PASSKEY_HERE"
>> after entering this command my AP and and ssid disappears [I run iwconfig ra0 in seperate window to watch what happens after each command]
ifconfig ra0 up
dhclient ra0
I dont get an IP address... :(
I think I have managed to set a step forward, but I am starting to think that I cannot make this work...
Any Ideas?
aarnink
May 27th, 2008, 04:42 PM
Hi All,
The RAlink RT2870 chipset saga continuous.
A new attempt to create a working Wireless connection today failed. Again, a open system (no encryption) will work fine. I could repeat my succes I had yesterday.
However now I ran into this message in SystemLog on inserting the compiled rt2870sta.ko driver
NetworkManager <WARN> real_get_generic_capabilities(): ra0: driver's Wireless Extensions version (9) is too old. Can't use device.
I installed Kubuntu 8.04 x64 and installed the package wlassistant which was recommended, but to no reveil.
Now I stand empty handed again. Any suggestions?
AZzKikR
May 28th, 2008, 05:51 AM
I installed Gutsy again. Ndiswrapper + rt2500 works now, although it drops a connection here and there. I believe I fixed this previously by compiling a new version of ndiswrapper.
Overall, I get nice 500 kb/s download speeds again. Seems it will be no Hardy Heron for me.
This whole situation made me think: what did they change to ndiswrapper (or the kernel, I don't know) that it does not work in Hardy, but does work in Gutsy?
creasar
May 28th, 2008, 08:10 AM
Nice thread! I really like your provided information. It's really helpful for me.
Thanks a lot!
wieman01
May 29th, 2008, 08:23 AM
aarnink:
What's the latest status?
aarnink
May 29th, 2008, 04:27 PM
Hi all,
Today I received an email from Ralink containing new drivers for the Ralink rt2870. Guess what, they are working!
I run Ubuntu 8.04 x64, my router is set to WPA2 with AES encryption.
I dont know if these modified drivers are on the website already, so I will enclose them in this post
I learned a lot the last couple of days... keep up the positive spirit...:)
gr,
Richard
dpsf
May 30th, 2008, 05:07 PM
Hi Wieman01!
Sorry for the delay but I could not test last week. The adapter is an Intel 3945 "Pro
Wireless"- here is the relevant lspci section:
05:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
The strange thing is that in Hardy Heron, iwlist scan *does see* the wireless router
and also identifies the essid (once the interfaces file has been changed & the network
restarted- before that it does not list an essid, but it is the same router since I
recognize the MAC address):
#iwlist scan:
lo Interface doesn't support scanning.
wmaster0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: <MAC address of the WPA router>
ESSID:<blah>
Mode:Master
& etc.
Here are the lshw -C network outputs:
lshw -C network in Hardy Heron:
*-network UNCLAIMED
description: Ethernet controller
product: 88E8055 PCI-E Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 12
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress cap_list
configuration: latency=0
*-network
description: Wireless interface
product: PRO/Wireless 3945ABG Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:05:00.0
logical name: wmaster0
version: 02
serial: <blah>
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=iwl3945 latency=0 module=iwl3945 multicast=yes wireless=IEEE 802.11g
-----------------------------------------------------------------
lshw -C network in Feisty Fawn:
*-network UNCLAIMED
description: Ethernet controller
product: 88E8055 PCI-E Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@02:00.0
version: 12
width: 64 bits
clock: 33MHz
capabilities: cap_list
configuration: latency=0
resources: iomemory:f0000000-f0003fff ioport:2000-20ff irq:19
*-network
description: Wireless interface
product: PRO/Wireless 3945ABG Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@05:00.0
logical name: eth1
version: 02
serial: <blah>
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ipw3945 driverversion=1.2.0mp
firmware=14.2 1:0 () ip=<blah> latency=0 link=yes multicast=yes wireless=IEEE 802.11g
resources: iomemory:74100000-74100fff irq:21
The "unclaimed" is because I remove the sky2 module which runs the Marvell hardware.
A possible clue (I hope) comes from the difference in drivers-- The binary blob
module in Feisty may simply work better. While rebooting into Feisty I noted its
whine about "restricted drivers" and then I did a few comparison tests using
iwlist scan-typically using ipw3945 all or nearly all the networks in the area
will show up, whereas with iwl3945 only 1 or 2 do...
So I am going to see if I can get ipw3945 going in HH; I'll give an update once I
can get working (or not... The Linux Kernel needs a stable module API, imho).
Thanx,
dpsf.
pmurberg
May 30th, 2008, 07:49 PM
Gentlemen:
I have tried the HOWTOs of several websites, and
cannot get a HP Pavilion DV2000 to do wireless.
Failing that: I have created this post composed of
Root Terminal responses to most commands that I could locate.
This wireless card worked fine with a TRENDnet TEW-452BRP 108 MPS 11g wireless router before.
Now after installing the bcmwl5.inf driver for the Broadcom 4311 wireless router, I can't get an IP address, from 1 meter distance with Wifi Radar.
This is Linux Mint Celena over Ubuntu Feisty Fawn, and the response to lspci is listed below.
Is there something I have overlooked?
****************************Post this if you are Stumped******************************************
================================================== ===================================
root@peter-laptop:/etc/network# lshw -C network
*-network UNCLAIMED
description: Network controller
product: Dell Wireless 1390 WLAN Mini-PCI Card
vendor: Broadcom Corporation
physical id: 0
bus info: pci@01:00.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=0
resources: iomemory:b3000000-b3003fff irq:11
Nickname:"Broadcom 4311"
****************************Post this if you are Stumped******************************************
route | iwconfig |sudo iwlist scan | sudo lshw -C network | sudo cat /etc/network/interfaces | sudo ifdown -v eth0 | sudo ifup -v eth0
route | iwconfig |sudo iwlist scan | sudo lshw -C network | sudo cat /etc/network/interfaces | sudo ifdown -v eth0 | sudo ifup -v eth0
peter@peter-laptop:~$ sudo su -
Big book, big bore.
-- Callimachus
root@peter-laptop:~# route | iwconfig |sudo iwlist scan | sudo lshw -C network | sudo cat /etc/network/interfaces | sudo ifdown -v eth0 | sudo ifup -v eth0
lo no wireless extensions.
eth0 no wireless extensions.
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
Configuring interface eth0=eth0 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/avahi-autoipd
Configuring interface eth0=eth0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-down.d/wpasupplicant
dhclient3 -r -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp3/dhclient.eth0.leases eth0
There is already a pid file /var/run/dhclient.eth0.pid with pid 4868
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
Listening on LPF/eth0/00:16:d3:a7:1b:0d
Sending on LPF/eth0/00:16:d3:a7:1b:0d
Sending on Socket/fallback
dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp3/dhclient.eth0.leases eth0
There is already a pid file /var/run/dhclient.eth0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
DHCPRELEASE on eth0 to 192.168.1.1 port 67
ifconfig eth0 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
Listening on LPF/eth0/00:16:d3:a7:1b:0d
Sending on LPF/eth0/00:16:d3:a7:1b:0d
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.101 -- renewal in 297724 seconds.
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
root@peter-laptop:~#
root@peter-laptop:~# lshw -C network
*-network
description: Wireless interface
product: Dell Wireless 1390 WLAN Mini-PCI Card
vendor: Broadcom Corporation
physical id: 0
bus info: pci@01:00.0
logical name: wlan0
version: 02
serial: 00:1a:73:79:f9:ad
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper driverversion=1.38 firmware=Broadcom,10/12/2006, 4.100.15.5 latency=0 link=no multicast=yes wireless=IEEE 802.11g
resources: iomemory:b3000000-b3003fff irq:22
root@peter-laptop:~# sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
-------------------------
* I. scanning WIFI PCI devices...
-- Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 02)
==> PCI ID = 14e4:4311 (rev 02)
-------------------------
* II. querying ndiswrapper...
bcmwl5 : driver installed
device (14E4:4311) present (alternate driver: bcm43xx)
-------------------------
* III. querying 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
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
-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 00:16:D3:A7:1B:0D
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3873 errors:0 dropped:0 overruns:0 frame:0
TX packets:3787 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2754453 (2.6 MiB) TX bytes:533892 (521.3 KiB)
Interrupt:16 Base address:0x8000
eth0:avah Link encap:Ethernet HWaddr 00:16:D3:A7:1B:0D
inet addr:169.254.4.95 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1080 (1.0 KiB) TX bytes:1080 (1.0 KiB)
wlan0 Link encap:Ethernet HWaddr 00:1A:73:79:F9:AD
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)
Interrupt:22 Memory:b3000000-b3004000
-------------------------
* V. querying DHCP...
There is already a pid file /var/run/dhclient.pid with pid 11171
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:1a:73:79:f9:ad
Sending on LPF/wlan0/00:1a:73:79:f9:ad
Listening on LPF/eth0/00:16:d3:a7:1b:0d
Sending on LPF/eth0/00:16:d3:a7:1b:0d
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 4
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.101 -- renewal in 293684 seconds.
-------------------------
* VI. querying nslookup google.com...
Server: 192.168.1.1
Address: 192.168.1.1#53
Non-authoritative answer:
Name: google.com
Address: 64.233.167.99
Name: google.com
Address: 64.233.187.99
Name: google.com
Address: 72.14.207.99
root@peter-laptop:~#
root@peter-laptop:~# lspci
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation C51 PCI Express Bridge (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.3 Co-processor: nVidia Corporation MCP51 PMU (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 Network controller: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 02)
05:09.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
05:09.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
05:09.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
05:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
05:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
root@peter-laptop:~#
================================================== ==================================
wieman01
May 31st, 2008, 03:53 AM
bound to 192.168.1.101 -- renewal in 293684 seconds.
You should have obtained an IP address in fact. What happens if you issue:
sudo iwlist scan
route -n
ping 192.168.1.101
I think you are very close.
richardh9936
May 31st, 2008, 04:12 AM
Could you please make a small cosmetic edit to note #1, to give the "key generation" instructions the heading "key generation"? They currently have the heading "Very Important", which they are, but two lines above, it says "go to key generation below", suggesting that there will be a heading saying "key generation".
WhiteHorse
May 31st, 2008, 05:25 AM
Well you've got an IP and DNS. I'd say you're connected. Perhaps your system is sending the packets from the application layer to the wrong interface? Otherwise... I must cogitate.... could it be....... SATAN??????
Maybe the wlan0 should be eth1 or something like that. I can't remember how to symlink them.
dpsf
May 31st, 2008, 07:47 AM
Hi all,
I have an Intel Pro/Wireless 3945 wireless networking card inside my
notebook, which worked using Feisty Fawn, but lost its ability to
connect to a WPA PSK network under Hardy Heron (but it would still
connect to access points without encryption). The issue turned out
to be the new iwl3945 driver (I think), which may not be really ready.
I'll wait a few months/updates on the iwl driver and give it a new
try.
==> Has anyone had success with the iwl3945 driver and encrypted/psk
access points?
Using these links you can compile and install the Feisty Fawn driver,
ipw3945, on Hardy Heron:
http://www.ubuntugeek.com/using-ipw3945-instead-iwl3945-in-hardy.html
http://james.colannino.org/downloads.html
(Awesome! Many thanks Thomer & James Colannino for the posts! And
wieman01, thanks again for your wonderful tutorial! -- now if only the
Ubuntu devs could be convinced to place this in the CD/DVD Desktop
'Examples' folder to prevent the catch-22) ;)
Not really all that complicated to DIY; just beware of message #16 on
the 1st link cited above. The author of the 2nd link says he will post
a Hardy Heron module on his web site for those who would rather just
pick up a reconfigured ipw3945.ko -- I will email mine to anyone
interested meanwhile; just send me a message.
Note too- Feisty Fawn placed the wireless under eth1, while in Hardy
Heron it's been moved to wlan0. Unless the udev rules are changed the
/etc/network/interfaces file will need adjusting accordingly. (after
compiling the module, see etc/udev/rules.d/70-persistent-net.rules),
Once I figure out how to make it work from the start on boot, get the
access permissions etc. set up correctly, and work seamlessly with
module loading, I'll post an update- right now it's all manual (had
trouble with the module loading part of the 1st link above).
Ciao,
dpsf.
wieman01
June 1st, 2008, 03:38 PM
Could you please make a small cosmetic edit to note #1, to give the "key generation" instructions the heading "key generation"? They currently have the heading "Very Important", which they are, but two lines above, it says "go to key generation below", suggesting that there will be a heading saying "key generation".
Done. Thank you.
RandomUsr
June 3rd, 2008, 07:35 PM
OK, So I'm attempting to connect to a network via LEAP to no avail.
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid xxxxxxxx
wpa-ap-scan 2
wpa-eap LEAP
wpa-key-mgmt IEEE8021X
wpa-identity xxx.xxxxxxx
wpa-password xxxxxxxx
I have set the key encryption to "open"
gksudo iwconfig wlan0 key open
and I'm unable to connect. Any Ideas? Using 8.04
Quantumstate
June 4th, 2008, 08:26 AM
I am unable to associate with a Belkin F5D8230 that is cloaked. I've tried the following in interfaces (wpa_supplicant.conf seems to be depreciated):
iface wlan0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.5
#wireless-essid hex
#wireless-key s:<key>
wpa-ssid hex
# 1=broadcast ESSID, 2=no broadcast
wpa-ap-scan 2
# WPA=WPA1, RSN=WPA2
wpa-proto WPA
# CCMP=AES cipher part of WPA2 standard, TKIP=TKIP cipher part of WPA1 standard.
wpa-pairwise TKIP
wpa-group TKIP
# WPA-PSK=Authentication via pre-shared key, WPA-EAP=Enterprise authentication server.
wpa-key-mgmt WPA-PSK
# Generate key: wpa_passphrase <your_essid> <your_ascii_key>
wpa-psk 85739200db1c87e1e4cb9a40bdbf427ca39955303b1af48da4 96237cc27c3eda
It associates all day if Broadcast is on, but not with it off.
The only comment dmesg or messages would have on the whole affair is:
ndiswrapper (link_pe_images:576): fixing KI_USER_SHARED_DATA address in the driver
ndiswrapper: driver netw4x64 (Intel,03/13/2008,11.5.1.15) loaded
ACPI: PCI Interrupt 0000:10:00.0[A] -> GSI 17 (level, low) -> IRQ 17
ndiswrapper: using IRQ 17
wlan0: ethernet device 00:1d:e0:74:3f:7d using NDIS driver: netw4x64, version: 0x1000f, NDIS version: 0x501, vendor: 'Intel(R) Wireless WiFi Link 4965AG Driver', 8086:4229.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
...
NET: Registered protocol family 17
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): wlan0: link is not ready
geezerone
June 4th, 2008, 08:45 AM
Trying to get Edimax 7318UG to work but when I type 'dmesg' the following is shown on Hardy:
[ 1211.998284] wlan0: Initial auth_alg=0
[ 1211.998292] wlan0: authenticate with AP 00:1f:6c:53:50:54
[ 1212.195989] wlan0: authenticate with AP 00:1f:6c:53:50:54
[ 1212.395741] wlan0: authenticate with AP 00:1f:6c:53:50:54
[ 1212.595493] wlan0: authentication with AP 00:1f:6c:50:50:54 timed out
[ 1217.879219] wlan0: Initial auth_alg=0
[ 1217.879229] wlan0: authenticate with AP 00:1f:6c:53:50:54
[ 1218.076707] wlan0: authenticate with AP 00:1f:6c:53:50:54
[ 1218.276468] wlan0: authenticate with AP 00:1f:6c:53:50:54
[ 1218.480212] wlan0: authentication with AP 00:1f:6c:53:56:54 timed out
[ 1223.751777] wlan0: Initial auth_alg=0
[ 1223.751787] wlan0: authenticate with AP 00:1f:6c:53:50:54
[ 1223.949434] wlan0: authenticate with AP 00:1f:6c:53:50:54
[ 1224.149186] wlan0: authenticate with AP 00:1f:6c:53:50:54
[ 1224.348942] wlan0: authentication with AP 00:1f:6c:53:50:54 timed out
[ 1661.831056] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[ 1661.831170] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1676.968918] eth0: no IPv6 routers present
[ 1908.705009] eth0: no IPv6 routers present
I see that a bug exists though here (https://bugs.launchpad.net/ubuntu/+source/linux-backports-modules-2.6.24/+bug/190968)
Edit:
After changing Access point channel from 12 to a lower one and selecting wpa in the nm-applet window for entering a wpa2 encryption key it is now working! :)
wieman01
June 6th, 2008, 10:55 AM
OK, I will be around for the weekend. Shoot if these problems have not been resolved yet.
quixote
June 6th, 2008, 03:41 PM
Wieman01: Thanks a million! Your instructions just work. For me, it's a first to have manual wireless setup work!
I have a Sharp MP30, kind of old and slow by now, but I still love it. Atheros wireless chip. I run Hardy Heron. I used the "recipe" for WPA1, using dynamic IPs (dhcp), with a broadcast ssid.
There were only two things I came across that might be confusing to someone who's even more of a newbie than I am:
1) the wpa_passphrase command to get the hex equivalent is run in a terminal, at the usual command prompt. ie not as sudo. Also, if, like me you have spaces in your passphrase, put the whole thing in quotes.
2) when making a link to the startup script, as described in the first comment, it says:
sudo ln -s /etc/init.d/wireless-network.sh /etc/rcS.d/S40wireless-network
[Note: You may have to choose a boot sequence other than S40.]
To find the number that'll work for you, look at the /etc/rcS.d directory. I gave "wireless-network" a higher number than "networking" since I was guessing that the new script would be using the basic connectivity handled by "networking". "Networking" was S40 in my case, so I called it S41wireless-network. No other entry already had that number.
lisati
June 7th, 2008, 02:02 AM
Success! After a bit of mucking around trying different combinations of settings, both in my Ubuntu boc and in my router, and trying to make sense of the output after restarting the network, it works! Goodbye to WEP.
Thanks!
lisati
June 7th, 2008, 02:41 AM
Some users reported (including myself) that the network has to be restarted every time after startup... Apparently this is a bug.
<snip>
Thanks.....
ar_hnazari
June 9th, 2008, 04:09 PM
:KS
You are SUPERB wieman01,,,,, I wanna hug you 'cause you solved my problem in a very pro way :)
Wish you luck
THANK YOU
gohanssjn
June 9th, 2008, 10:05 PM
Can I just download wpa-supplicant somewhere?
My Ubuntu install has NO connection due to this issue, and I really need to get it up and working (and it cannot use a hardwire connection right now).
ar_hnazari
June 10th, 2008, 10:20 AM
Dear wieman01
I have a little problem with the solution you expresses here.
Every time I start my Ubuntu, I have to restart networking after logon to stablish the wifi connection, I mean it doesn't connect automatically after starting linux itself.
Will you please help me?
Thanx
zzandeamos
June 12th, 2008, 02:27 PM
I hope you can give me some direction, I seem to be going in circles. I think I have everything I need I just can't get the linkage to connect them properly. Here is the data you asked for in the front end......
What happens is I get the step icon in the upper right, when I put the cursor on it it says "wireless network connection to 2wire759 72%". Any web site/url I put in gives msg "address not found". The wired works fine and the wireless works with Puppy Linux, but I am using Ubuntu 8.04
fdc@ubfdc:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
default home 0.0.0.0 UG 0 0 0 eth0
---------------------------------------------------------
fdc@ubfdc:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"" Nickname:""
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
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
--------------------------------------------------------------
fdc@ubfdc:~$ sudo iwlist scan
[sudo] password for fdc:
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:14:95:C4:15:C1
ESSID:"2WIRE759"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=71/100 Signal level=-63 dBm Noise level=-127 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:tsf=0000000bd1e544a5
------------------------------------------------------------
fdc@ubfdc:~$ sudo lshw -C network
*-network
description: Wireless interface
product: PRO/Wireless 3945ABG Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: wmaster0
version: 02
serial: 00:1b:77:85:1c:48
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=iwl3945 latency=0 module=iwl3945 multicast=yes wireless=IEEE 802.11g
*-network
description: Ethernet interface
product: RTL-8110SC/8169SC Gigabit Ethernet
vendor: Realtek Semiconductor Co., Ltd.
physical id: 7
bus info: pci@0000:05:07.0
logical name: eth0
version: 10
serial: 00:1b:fc:d1:e2:f0
size: 100MB/s
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=r8169 driverversion=2.2LK duplex=full ip=192.168.0.77 latency=64 link=yes maxlatency=64 mingnt=32 module=r8169 multicast=yes port=twisted pair speed=100MB/s
--------------------------------------------------------------------------------
fdc@ubfdc:~$ 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
-------------------------------------------------------------------------------
fdc@ubfdc:~$ sudo ifdown -v 2wire759
ifdown: interface 2wire759 not configured
------------------------------------------------------------------------------
fdc@ubfdc:~$ sudo ifup -v 2wire759
Ignoring unknown interface 2wire759=2wire759.
fdc@ubfdc:~$
I would appreciate any help you can send my way. Sorry about the little faces that got in there, I don't know what caused them.
Thanks
FDC
Edit-----
Here is /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 wlan0 inet dhcp
wpa-psk <passphrase>
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid 2wire759
auto wlan0
Thank you
dpsf
June 13th, 2008, 09:47 AM
Hi zzandeamos/FDC,
Looks like your wireless is similar to mine. If you search the
forum you can find the posts in which I describe how I got my
Intel 3945 working on Ubuntu Hardy Heron. First, if you have a
CD handy, I would switch to a Feisty Fawn LiveCD and do a sanity
check-- my setup was working within 5-10 minutes in Feisty after
following wieman01's howto.
My own issues stemmed from the substitution of the new driver,
iwl3945, in HH, replacing ipw3945 in FF. Once I switched back to
the old driver, a little script juggling and I had networking
working in HH too.
Ciao,
dpsf.
zzandeamos
June 13th, 2008, 09:57 AM
Thanks dpsf, I'll look into that today.
zzandeamos
wieman01
June 14th, 2008, 03:31 AM
Can I just download wpa-supplicant somewhere?
My Ubuntu install has NO connection due to this issue, and I really need to get it up and working (and it cannot use a hardwire connection right now).
It is in the repositories... Just add it using Synaptic, the package manager.
wieman01
June 14th, 2008, 03:32 AM
Dear wieman01
I have a little problem with the solution you expresses here.
Every time I start my Ubuntu, I have to restart networking after logon to stablish the wifi connection, I mean it doesn't connect automatically after starting linux itself.
Will you please help me?
Thanx
Please look at post #2 of this thread. It's a know problem and a workaround is described there.
wieman01
June 14th, 2008, 03:34 AM
Thanks dpsf, I'll look into that today.
zzandeamos
Keep me posted. I heard that a number of people had an issue with the Intel wireless driver... so you are not alone. Let me know if you are making progess.
lisati
June 14th, 2008, 03:34 AM
Please look at post #2 of this thread. It's a know problem and a workaround is described there.
+1: Quick link: http://ubuntuforums.org/showpost.php?p=1351902&postcount=2
wieman01
June 14th, 2008, 03:35 AM
+1: Quick link: http://ubuntuforums.org/showpost.php?p=1351902&postcount=2
:-)
GenesisV2.0
June 16th, 2008, 09:33 AM
woot someone who is as enthusiastic about wireless security as me
pokipoki08
June 16th, 2008, 11:10 AM
I tried to edit /etc/network/interfaces but made a mess out of it. So, I commented everything about wlan0 and did it manually. Finally, I could get my DLink DWL-G132 working with WPA & TKIP in Hardy. Thanks.
My notes here :
Follow the link below to install ndiswrapper by source, and the wireless driver
http://ubuntuforums.org/showthread.php?t=584014&highlight=ndiswrapper+dlink
How I did it :
- using synaptic : uninstall ndisgtk, ndiswrapper (all of them), network manager (all)
- install latest ndiswrapper by source
- install dwl-g132 driver ver. 1.3 (latest driver makes a difference)
attach dwl-g132 to usb port
$ sudo ndiswrapper -i neta5agu.inf
$ sudo depmod -a
$ sudo modprobe ndiswrapper
$ sudo ndiswrapper -m
$ sudo ndiswrapper -l # observe if hardware is present
# add line "ndiswrapper" (without quotes) at end of file
$ gksudo gedit /etc/modules
# to generate 256-bit PSK for every WPA ssid, to include in /etc/wpa_supplicant.conf
$ wpa_passphrase myssid mypassword
output will be like below
network={
ssid="myssid"
#psk="mypassword"
psk=2f0568b3492812bd56b946dbaf3fd7dd669b9a4602a09a a6462ff057949b025c
}
# edit /etc/wpa_supplicant.conf
ap_scan=1
ctrl_interface=/var/run/wpa_supplicant
fast_reauth=1
network={
ssid="SSID #1"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
#psk="PASSWORD #1"
psk=9545080ed9e1625300943451ca809f32d5b3b8ea7e8049 6c37959da1527cfed5
pairwise=TKIP
group=TKIP
}
network={
ssid="SSID #2"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
#psk="PASSWORD #2"
psk=f1698a938271a4411c8fc028a7474b1a7d32ab14b42daf c8d8b1d7be7c51a26b
pairwise=TKIP
group=TKIP
}
network={
ssid="SSID #3"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
#psk="PASSWORD #3"
psk=8e648d6f83e9a970714a588ebc7baba9eeeddd10072974 26ce2e748239f6aab3
pairwise=TKIP
group=TKIP
}
comment/remove all scripts related to wlan0 in /etc/network/interfaces
unplug dwl-g132
unplug eth0
reboot
(not required if you remove wlan0 in /etc/network/interfaces)
$ sudo rm /var/run/wpa_supplicant/wlan0
$ sudo rm /var/run/wpa_supplicant.wlan0.pid
$ sudo ifconfig wlan0 down
$ sudo dhclient -r wlan0
$ sudo rm /var/run/dhclient.pid
$ sudo iwpriv wlan0 network_type g # if your connection keeps dropping, use a, b or g for your type of card
$ sudo ifconfig wlan0 hw ether 00:16:E5:BA:FE:82 # to change your MAC address
$ sudo ifconfig wlan0 down (the next time you reboot, continue here)
$ iwlist wlan0 scan
$ iwconfig wlan0 mode Managed
$ iwconfig wlan0 key s:PASSWORD#1 restricted # POINT A
$ iwconfig wlan0 essid 'SSID #1' # POINT B
# at this point
$ iwconfig wlan0
# check for your AP name & MAC address, repeat Point A & B until you can see them
$ sudo ifconfig wlan0 up
$ sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
$ sudo dhclient wlan0
pokipoki08
June 17th, 2008, 08:37 AM
Does anyone know how to use iwpriv? I am getting disconnected from AP after an hour or so. dmesg shows issues with ndis_reset.
wlan0 Available private ioctls :
ndis_reset (8BF0) : set 0 & get 0
power_profile (8BF1) : set 1 int & get 0
deauthenticate (8BF3) : set 0 & get 0
network_type (8BF2) : set 1 char & get 0
media_stream (8BF4) : set 1 int & get 0
reload_defaults (8BF7) : set 0 & get 0
SlingerXL
June 17th, 2008, 11:02 PM
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.1.0 * 255.255.255.0 U 0 0 0 eth0
default girlfess.local 0.0.0.0 UG 0 0 0 eth0
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
sudo iwlist scan[b/]
lo Interface doesn't sudo iwlist scan
support scanning.
eth0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:17:3F:6A:DD:99
ESSID:"houseoflove"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
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
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: 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
Cell 02 - Address: 00:1B:63:2D:20:A9
ESSID:"girlfess"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:100/100 Signal level:-32 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: 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 (1) : TKIP
Authentication Suites (1) : PSK
Cell 03 - Address: 00:1C:10:14:AB:84
ESSID:"Citgo-3"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
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; 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:1E:2A:53:F6:52
ESSID:"511nfess"
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; 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
[b]sudo lshw -C network
*-network DISABLED
description: Wireless interface
product: BCM94311MCG wlan mini-PCI
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 02
serial: 00:1a:73:a6:9d:b4
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
sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet static
address 192.168.168.40
gateway 192.168.168.230
dns-nameservers 192.168.168.230
netmask 255.255.255.0
wpa-driver wext
wpa-ssid girlfess
wpa-ap-scan 2
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk b9dbbd5c85da38be466fbaaeba58183a6d5b3f17e5cab567ec 695f7530062cb2
sudo ifdown -v wlan0
ifdown: interface wlan0 not configured
sudo ifup -v
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 "girlfess" -- 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 wlan0 192.168.168.40 netmask 255.255.255.0 up
route add default gw 192.168.168.230 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
I have no idea what I'm doing. All I know is that I can't see the wireless networks despite seeing them with some terminal commands. What do I need to do to connect??
wieman01
June 19th, 2008, 01:43 PM
SlingerXL:
Your adapter is disabled:
sudo lshw -C network
*-network DISABLED
Any idea why that is so?
s1337m
June 21st, 2008, 02:57 PM
Hi, Im new to Ubuntu and am using 8.04 hardy. The instructions say to uninstall network manager, but will we ever reinstall it or are we going to be connecting from the command line from now on?
geezerone
June 21st, 2008, 03:18 PM
I use Network Manager without any problems. What wireless device are you using?
s1337m
June 21st, 2008, 03:43 PM
Im using the dreaded bcm43xx chipset. I can use NM to connect to unsecured/WEP, but I cant get it to connect to WPA (although it detects it). To be more specific, after we do that wpa_supplicant.conf configuration stuff, do we reinstall NM and then NM will work properly?
geezerone
June 21st, 2008, 05:18 PM
You could try WICD which I don't use but has been found to work well with WPA networks.
Do you have the network monitor icon (2.12.1 is the latest; right-click and select about to view) added to a panel in addition to the nm-applet by any chance? I found that connecting to WPA network wouldn't work until I removed it as it clashed with the nm-applet.
s1337m
June 21st, 2008, 05:24 PM
You could try WICD which I don't use but has been found to work well with WPA networks.
Do you have the network monitor icon (2.12.1 is the latest; right-click and select about to view) added to a panel in addition to the nm-applet by any chance? I found that connecting to WPA network wouldn't work until I removed it as it clashed with the nm-applet.
I right clicked the monitor icon on the top right and it said nm-applet 0.6.6. I was under the impression that that was the network manager program... since it is installed. I am new at ubuntu, are nm-applet and network-manager disjoint programs or do they work together?
To make my initial question clear: If we follow the instructions in this tutorial, which means disabling NM, will we ever reenable NM so that it works with our new configuration?
geezerone
June 21st, 2008, 06:16 PM
Didn't mean to confuse but you probably haven't added any icons to the ones already installed in the pane. They nm and net manager should work together but for me with a different chipset didn't. Anyway, try WICD and see if that helps as many use it where nm fails.
s1337m
June 21st, 2008, 06:47 PM
Didn't mean to confuse but you probably haven't added any icons to the ones already installed in the pane. They nm and net manager should work together but for me with a different chipset didn't. Anyway, try WICD and see if that helps as many use it where nm fails.
Thanks for the help so far, I tried wicd and it hangs on "Getting IP" which NM probably also hangs on... when I edit /etc/network/interfaces my NM no longer lists all the networks, so does this tutorial mean that we are no longer working with a GUI but just the command line? I hope this question makes sense, I've been trying to phrase it clearly :)
My original interface file:
sean@sean-laptop:~$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
If i change it to:
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
My NetworkManager no longer lists wireless networks!
EDIT: I was surfing around and found this on the release page
Network Manager
*
In Ubuntu 8.04, network-manager only manages interfaces that are marked for roaming. Thus, all interfaces that were previously managed by network-manager will be set to roaming mode during upgrade. Technically, this takes any interface stanzas using the dhcp method with no options and that are marked auto, and removes them from /etc/network/interfaces. If you rely on your interfaces being started by ifupdown when the system starts up, you need to re-enable them in /etc/network/interfaces manually, or disable roaming in System -> Administration -> Network.
That explains why before hand my interfaces file didn't mention wlan0. But, it doesn't really tell me how to have my NM work correctly when I do mention wlan0 in that file, any tips? Thanks for having patience with me, Im new to Ubuntu
geezerone
June 21st, 2008, 10:18 PM
I understand your frustration as I tried a problematic BT Voyager 1055 USB device which worked for a short time and then no more.
Type in a terminal and post results here.
iwconfig
lspci ( lsusb if usb wireless adapter)
ifconfig
route -n
sudo lshw -C network
When I was trying to get internet connectivity back with a wired connection after losing any network managers I manually configured the /etc/network/interfaces file with static IP, mask to allow network connectivity.
Which tutorial(s) do you refer to in your original post btw?
The following posts may be of help too:
Manually configure networking (http://ubuntuforums.org/showthread.php?t=571188)
Broadcom 4318 chipset Tutorial (http://ubuntuforums.org/showthread.php?t=197102&highlight=broadcom)
HTH :)
quixote
June 21st, 2008, 10:24 PM
s1337m: I followed wieman01's instructions to the letter, and WPA1 works perfectly with my atheros chip. (easier than bcm43xx!) I couldn't get wicd working either.
With wieman01's system you don't have a little icon showing when you're connected -- which is the only thing I miss -- but unlike the utilities that do have the icon, you are actually connected. A good trade-off :D
Read through the first post of this thread and find the recipe that suits your purposes, and then just edit the /etc/whatever-it-was (sorry, don't remember) as he gives it in the example. Also be sure to read the first comment, where he gives more info.
On a few occasions, I've lost my connection and had to use the command line:
$sudo dhclient
That kicks the system into talking to the router again.
Hope you get things working again soon!
wieman01
June 22nd, 2008, 04:24 AM
geezerone & quixote,
Thanks for helping out. I really appreciate it. I have limited access to the internet at the moment, so it's great that you guys can share your experience. Thank you!
EarthMind
June 22nd, 2008, 10:47 AM
Is there any support for the Asus Wlan-167g USB adapter with ndiswrapper driver?
s1337m
June 22nd, 2008, 03:11 PM
Thanks for the help everyone... this method sorta works for me. Sometimes it works, sometimes it doesn't. When I booted the machine, I tried to connect and it didn't work but when I was doing the ifup command for output to show you guys it actually worked. I'd say so far about 50% of the time the restart command actually gets me connected. Anyway, here is some output... I tried connecting my wlan0 but that didnt work so I went to my eth0 ethernet
sean@sean-laptop:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 1000 0 0 wlan0
sean@sean-laptop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"domo"
Mode:Managed Frequency:2.412 GHz Access Point: 00:13:10:04:E0:A0
Bit Rate=54 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Power Management:off
Link Quality:73/100 Signal level:-49 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
sean@sean-laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:c5:4a:16:69
inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:c5ff:fe4a:1669/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9732 errors:0 dropped:0 overruns:0 frame:0
TX packets:9013 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8971409 (8.5 MB) TX bytes:1398631 (1.3 MB)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1486 errors:0 dropped:0 overruns:0 frame:0
TX packets:1486 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:75300 (73.5 KB) TX bytes:75300 (73.5 KB)
wlan0 Link encap:Ethernet HWaddr 00:16:cf:3d:0d:69
inet6 addr: fe80::216:cfff:fe3d:d69/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:193 errors:0 dropped:0 overruns:0 frame:0
TX packets:347 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24033 (23.4 KB) TX bytes:43552 (42.5 KB)
Interrupt:17 Memory:dfcfc000-dfd00000
wlan0:avahi Link encap:Ethernet HWaddr 00:16:cf:3d:0d:69
inet addr:169.254.4.173 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17 Memory:dfcfc000-dfd00000
sean@sean-laptop:~$ sudo iwlist scan
[sudo] password for sean:
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:13:10:04:E0:A0
ESSID:"domo"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
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; 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:18:39:76:30:BB
ESSID:"Golf Linksys"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:23/100 Signal level:-81 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:18:39:FD:84:13
ESSID:"linksys"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
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; 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:18:F8:B5:BF:9D
ESSID:"linksys"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:14/100 Signal level:-87 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
Cell 05 - Address: 00:12:88:36:52:E1
ESSID:"2WIRE006"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.447 GHz (Channel 8)
Quality:25/100 Signal level:-80 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
sean@sean-laptop:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 0a)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 05)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
0c:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 01)
sean@sean-laptop:~$ lshw -C network
WARNING: you should run this program as super-user.
PCI (sysfs)
*-network
description: Wireless interface
product: BCM4328 802.11a/b/g/n
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:0c:00.0
logical name: wlan0
version: 01
serial: 00:16:cf:3d:0d:69
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+bcmwl5 driverversion=1.52+Broadcom,10/12/2006, 4.100. latency=0 module=ndiswrapper multicast=yes wireless=IEEE 802.11g
*-network
description: Ethernet interface
product: BCM4401-B0 100Base-TX
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 02
serial: 00:15:c5:4a:16:69
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=b44 driverversion=2.0 ip=192.168.1.103 latency=64 module=ssb multicast=yes
sean@sean-laptop:~$
sean@sean-laptop:~$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid domo
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk cd5f01722fe4d1c65779cdbcc7edd78f8b3dd9b18253fda827 cc7dd8623aa81d
sean@sean-laptop:~$ 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 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:16:cf:3d:0d:69
Sending on LPF/wlan0/00:16:cf:3d:0d:69
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 6658).
sean@sean-laptop:~$ 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 "domo" -- 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:16:cf:3d:0d:69
Sending on LPF/wlan0/00:16:cf:3d:0d:69
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 14
DHCPOFFER of 192.168.1.106 from 192.168.1.1
DHCPREQUEST of 192.168.1.106 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.106 from 192.168.1.1
bound to 192.168.1.106 -- renewal in 36981 seconds.
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
June 22nd, 2008, 03:27 PM
s1337m,
Two things I could think of:
1. USB power supply isn't sufficient. Please post the output of "dmesg" after connection issues have occurred.
2. Issue as described in post #2 of this thread.
wieman01
June 22nd, 2008, 03:28 PM
Is there any support for the Asus Wlan-167g USB adapter with ndiswrapper driver?
You could check here:
http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list/
s1337m
June 22nd, 2008, 05:39 PM
s1337m,
Two things I could think of:
1. USB power supply isn't sufficient. Please post the output of "dmesg" after connection issues have occurred.
2. Issue as described in post #2 of this thread.
I have linked the script to start at boot, (the issue in post #2) and the same thing occurs -- I get a no DCHPOffers received, going to sleep. I kept doing ifup/ifdown til it got a DCHPoffer, so im on the wireless right now. anyway, heres output from dmesg:
sean@sean-laptop:~$ dmesg | grep bcm
[ 23.592693] ndiswrapper: driver bcmwl5 (Broadcom,10/12/2006, 4.100.15.5) loaded
[ 23.649135] wlan0: ethernet device 00:16:cf:3d:0d:69 using NDIS driver: bcmwl5, version: 0x4640f05, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4328.5.conf
geezerone
June 23rd, 2008, 05:21 AM
I know how much of a pain this can be as happened with a bcm device I tried to get working.
Have you tried static IP to avoid DHCP failing? Is this PCI device and is antenna in good location as my USB needs to be on extension lead to work even though a 'good' signal is obtained?
This page (http://bcm43xx.berlios.de/) and links from it may be of some use re: BCM
geezerone & quixote,
Thanks for helping out. I really appreciate it. I have limited access to the internet at the moment, so it's great that you guys can share your experience. Thank you!
Glad to help - that is what is great about this community!!!! :)
s1337m
June 25th, 2008, 01:24 AM
I know how much of a pain this can be as happened with a bcm device I tried to get working.
Have you tried static IP to avoid DHCP failing? Is this PCI device and is antenna in good location as my USB needs to be on extension lead to work even though a 'good' signal is obtained?
This page (http://bcm43xx.berlios.de/) and links from it may be of some use re: BCM
Glad to help - that is what is great about this community!!!! :)
Thanks for the help, I havent tried static IP since Im renting a room in someone else's place and they dont want me to mess with the settings... I guess Ill write a script that loops ifdown/ifup until I get a DHCP offer accepted
geezerone
June 25th, 2008, 06:34 AM
Thanks for the help, I havent tried static IP since Im renting a room in someone else's place and they dont want me to mess with the settings... I guess Ill write a script that loops ifdown/ifup until I get a DHCP offer accepted
They could limit the range of DHCP and leave you at least one address or just select a high IP address (ping this address when everyone is connected to see if in use).
Monarch2007
June 27th, 2008, 07:23 AM
I have followed your tutorial and a few other tutorials on this subject. Thank you for your time and patience coming up with such informative material.
However, I am having a problem here for which I seem to be getting nowhere. I have Ubuntu 8.04 on a Dell 620 laptop. I have Intel 3945 Wireless card. When I use the laptop at home, I have no problem getting the wireless connection up. However, in office we have the wireless LAN network configured with LEAP with user ID and password authentication. I tried using the native iwl3945 as well as the ndiswrapper drivers (used wpa_supplicant as well as xsupplicant) but couldnt get the wireless LAN up. All the time the authentication seems to be failing with messages such as "...privacy mismatch...". Can some one please help? Or is it a known problem that I can't use LEAP authentication at all? Or should I be using a special driver? (in fact, for the ndiswrapper, I used the same driver in the XP partition that is working fine under Windows). I really appreciate any guidance in this regard.
Thanks.
wieman01
June 28th, 2008, 03:45 AM
I have followed your tutorial and a few other tutorials on this subject. Thank you for your time and patience coming up with such informative material.
However, I am having a problem here for which I seem to be getting nowhere. I have Ubuntu 8.04 on a Dell 620 laptop. I have Intel 3945 Wireless card. When I use the laptop at home, I have no problem getting the wireless connection up. However, in office we have the wireless LAN network configured with LEAP with user ID and password authentication. I tried using the native iwl3945 as well as the ndiswrapper drivers (used wpa_supplicant as well as xsupplicant) but couldnt get the wireless LAN up. All the time the authentication seems to be failing with messages such as "...privacy mismatch...". Can some one please help? Or is it a known problem that I can't use LEAP authentication at all? Or should I be using a special driver? (in fact, for the ndiswrapper, I used the same driver in the XP partition that is working fine under Windows). I really appreciate any guidance in this regard.
Thanks.
OK, please post what is under section "Post this if you are stumped"... Then we'll see.
galbers
June 28th, 2008, 05:57 PM
I'm currently stumped. I have had this working previously (although somewhat intermittently) but I have just upgraded to 8.04 and cannot get wireless to work with WPA. Below is my output, any help is greatly appreciated:
dave@rosa:/etc/network$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan1
0.0.0.0 192.168.0.1 0.0.0.0 UG 100 0 0 wlan1
dave@rosa:/etc/network$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan1 IEEE 802.11g ESSID:"vince-galbraith"
Mode:Managed Frequency:2.417 GHz Access Point: 00:18:4D:F1:35:2C
Bit Rate=54 Mb/s Tx-Power:20 dBm Sensitivity=0/3
RTS thr:off Fragment thr: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
dave@rosa:/etc/network$ sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan1 Scan completed :
Cell 01 - Address: 00:11:50:9D:20:04
ESSID:"Belkin54g"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:37/100 Signal level:-72 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:11:50:B9:A9:3A
ESSID:""
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:37/100 Signal level:-72 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
Cell 03 - Address: 00:18:4D:F1:35:2C
ESSID:"vince-galbraith"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.417 GHz (Channel 2)
Quality:39/100 Signal level:-71 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: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 04 - Address: 00:19:E0:A1:2D:72
ESSID:"XeonAV"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:37/100 Signal level:-72 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
dave@rosa:/etc/network$ sudo lshw -C network
*-network
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:30:18:01:31:3c
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=via-rhine driverversion=1.4.3 duplex=half latency=32 link=no maxlatency=8 mingnt=3 module=via_rhine multicast=yes port=MII speed=10MB/s
*-network
description: Wireless interface
physical id: 1
logical name: wlan1
serial: 00:18:4d:aa:f6:05
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+net111v2 driverversion=1.53+NETGEAR Inc.,3/16/2006,5.12 ip=192.168.0.3 link=no multicast=yes wireless=IEEE 802.11g
dave@rosa:/etc/network$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto wlan1
iface wlan1 inet static
address 192.168.0.3
gateway 192.168.0.1
dns-nameservers 62.24.199.13
netmask 255.255.255.0
broadcast 255.255.255.255
wpa-driver wext
wpa-ssid vince-galbraith
wpa-ap-scan 1
wpa-proto WPA RSN
wpa-pairwise TKIP CCMP
wpa-group TKIP CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 47029f5e65c33124b592d010e4b309fb54cae858f822a99a91 a2f6edd8c3d35d
dave@rosa:/etc/network$ 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
route del default gw 192.168.0.1 metric 100 wlan1
ifconfig wlan1 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.wlan1.pid
Stopped /sbin/wpa_supplicant (pid 6719).
dave@rosa:/etc/network$ 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 "vince-galbraith" -- 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
ifconfig wlan1 192.168.0.3 netmask 255.255.255.0 broadcast 255.255.255.255 up
route add default gw 192.168.0.1 metric 100 wlan1
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
description: Wireless interface
physical id: 1
logical name: wlan1
serial: 00:18:4d:aa:f6:05
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+net111v2 driverversion=1.53+NETGEAR Inc.,3/16/2006,5.12 ip=192.168.0.3 link=no multicast=yes wireless=IEEE 802.11g
cantseejack
June 30th, 2008, 01:08 AM
New to Ubuntu, just installed it on a Thinkpad T61 with Intel Pro Wireless 3945. Worked like a charm; all other attempts/avenues were stressing me out. Thanks for the writeup!
Monarch2007
June 30th, 2008, 01:09 AM
Apologies since I couldnt get access to my wlan at office during the weekend. Here are the logs.
I will first start with the native driver, iwl3945 since that seems to be working at my home. Also, I will attach wpa_supplicant results. I can surely run the ndiswrapper and xsupplicant tests if you want me to. Please let me know.
root@MY_LAPTOP-01:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.232.176.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 10.232.176.1 0.0.0.0 UG 100 0 0 eth0
root@MY_LAPTOP-01:~#
root@MY_LAPTOP-01:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"" Nickname:""
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
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
root@MY_LAPTOP-01:~# 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:15:FA:B3:2D:50
ESSID:""
Mode:Master
Channel:3
Frequency:2.422 GHz (Channel 3)
Quality=76/100 Signal level=-58 dBm Noise level=-127 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:tsf=0000009b2db0c58f
root@MY_LAPTOP-01:~# lshw -C network
*-network
description: Wireless interface
product: PRO/Wireless 3945ABG Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:0c:00.0
logical name: wmaster0
version: 02
serial: 00:1b:77:2d:c4:ae
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=iwl3945 latency=0 module=iwl3945 multicast=yes wireless=IEEE 802.11g
*-network
description: Ethernet interface
product: NetXtreme BCM5752 Gigabit Ethernet PCI Express
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:09:00.0
logical name: eth0
version: 02
serial: 00:18:8b:d0:97:bd
size: 100MB/s
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=tg3 driverversion=3.86 duplex=full firmware=5752-v3.19 ip=10.232.176.83 latency=0 link=yes module=tg3 multicast=yes port=twisted pair speed=100MB/s
root@MY_LAPTOP-01:~#
root@MY_LAPTOP-01:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
iface eth0 inet dhcp
auto eth0
iface wlan0 inet dhcp
auto wlan0
root@MY_LAPTOP-01:~# 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
root@MY_LAPTOP-01:/etc# cat wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
update_config=1
ap_scan=1
network={
ssid="wlan_ap"
scan_ssid=1
key_mgmt=IEEE8021X
eap=LEAP
identity="my_domain\xxx"
password="yyyy"
}
root@MY_LAPTOP-01:/etc# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
update_config=1
ap_scan=1
Line: 4 - start of a new network block
ssid - hexdump_ascii:
wlan_ap
scan_ssid=1 (0x1)
key_mgmt: 0x8
eap methods - hexdump(len=16): 00 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00
identity - hexdump_ascii:
my_doamin\my_login
password - hexdump_ascii(len=8): [REMOVED]
Priority group 0
id=0 ssid='wlan_ap'
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:1b:77:2d:c4:ae
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
Wireless event: cmd=0x8b06 len=8
Ignore event for foreign ifindex 3
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii
wlan_ap
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 205 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:15:fa:b3:2d:50 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:15:fa:b3:2d:50 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii
wlan_ap
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 213 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:15:fa:b3:2d:50 ssid='wlan_ap' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:15:fa:b3:2d:50 ssid='wlan_ap' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
selected non-WPA AP 00:15:fa:b3:2d:50 ssid='wlan_ap'
Trying to associate with 00:15:fa:b3:2d:50 (SSID='wlan_ap' freq=2422 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x4
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=17
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:15:fa:b3:2d:50 into blacklist
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 213 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:15:fa:b3:2d:50 ssid='wlan_ap' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:15:fa:b3:2d:50 ssid='wlan_ap' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
selected non-WPA AP 00:15:fa:b3:2d:50 ssid='wlan_ap'
Trying to associate with 00:15:fa:b3:2d:50 (SSID='wlan_ap' freq=2422 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x4
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=17
CTRL_IFACE monitor attached - hexdump(len=22): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 31 31 35 36 32 2d 31 00
RX ctrl_iface - hexdump_ascii(len=10):
49 4e 54 45 52 46 41 43 45 53 INTERFACES
RX ctrl_iface - hexdump_ascii(len=6):
53 54 41 54 55 53 STATUS
ioctl[SIOCGIFADDR]: Cannot assign requested address
RX ctrl_iface - hexdump_ascii(len=13):
4c 49 53 54 5f 4e 45 54 57 4f 52 4b 53 LIST_NETWORKS
RX ctrl_iface - hexdump_ascii(len=4):
50 49 4e 47 PING
Authentication with 00:00:00:00:00:00 timed out.
CTRL_IFACE monitor send - hexdump(len=22): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 31 31 35 36 32 2d 31 00
BSSID 00:15:fa:b3:2d:50 blacklist count incremented to 2
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii
wlan_ap
RX ctrl_iface - hexdump_ascii(len=4):
50 49 4e 47 PING
RX ctrl_iface - hexdump_ascii(len=6):
53 54 41 54 55 53 STATUS
ioctl[SIOCGIFADDR]: Cannot assign requested address
RX ctrl_iface - hexdump_ascii(len=13):
4c 49 53 54 5f 4e 45 54 57 4f 52 4b 53 LIST_NETWORKS
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 213 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:15:fa:b3:2d:50 ssid='wlan_ap' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - blacklisted
Try to find non-WPA AP
0: 00:15:fa:b3:2d:50 ssid='wlan_ap' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - blacklisted
No APs found - clear blacklist and try again
Removed BSSID 00:15:fa:b3:2d:50 from blacklist (clear)
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:15:fa:b3:2d:50 ssid='wlan_ap' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:15:fa:b3:2d:50 ssid='wlan_ap' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
selected non-WPA AP 00:15:fa:b3:2d:50 ssid='wlan_ap'
Trying to associate with 00:15:fa:b3:2d:50 (SSID='wlan_ap' freq=2422 MHz)
CTRL_IFACE monitor send - hexdump(len=22): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 31 31 35 36 32 2d 31 00
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x4
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=17
RX ctrl_iface - hexdump_ascii(len=4):
50 49 4e 47 PING
RX ctrl_iface - hexdump_ascii(len=6):
53 54 41 54 55 53 STATUS
ioctl[SIOCGIFADDR]: Cannot assign requested address
RX ctrl_iface - hexdump_ascii(len=13):
4c 49 53 54 5f 4e 45 54 57 4f 52 4b 53 LIST_NETWORKS
RX ctrl_iface - hexdump_ascii(len=4):
50 49 4e 47 PING
RX ctrl_iface - hexdump_ascii(len=4):
50 49 4e 47 PING
RX ctrl_iface - hexdump_ascii(len=4):
50 49 4e 47 PING
RX ctrl_iface - hexdump_ascii(len=4):
50 49 4e 47 PING
RX ctrl_iface - hexdump_ascii(len=4):
50 49 4e 47 PING
RX ctrl_iface - hexdump_ascii(len=4):
50 49 4e 47 PING
RX ctrl_iface - hexdump_ascii(len=4):
50 49 4e 47 PING
RX ctrl_iface - hexdump_ascii(len=4):
50 49 4e 47 PING
RX ctrl_iface - hexdump_ascii(len=4):
50 49 4e 47 PING
CTRL_IFACE monitor detached - hexdump(len=22): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 31 31 35 36 32 2d 31 00
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:15:fa:b3:2d:50 into blacklist
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 213 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:15:fa:b3:2d:50 ssid='wlan_ap' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:15:fa:b3:2d:50 ssid='wlan_ap' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
selected non-WPA AP 00:15:fa:b3:2d:50 ssid='wlan_ap'
Trying to associate with 00:15:fa:b3:2d:50 (SSID='wlan_ap' freq=2422 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x4
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=17
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface wlan0
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wext_set_wpa
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
Removed BSSID 00:15:fa:b3:2d:50 from blacklist (clear)
Cancelling scan request
Cancelling authentication timeout
WEXT: Operstate: linkmode=0, operstate=6
root@MY_LAPTOP-01:~$ dmesg
[ 1024.250583] wlan0: Initial auth_alg=128
[ 1024.250591] wlan0: authenticate with AP 00:15:fa:b3:2d:50
[ 1024.250614] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
[ 1024.251565] wlan0: RX authentication from 00:15:fa:b3:2d:50 (alg=128 transaction=2 status=0)
[ 1024.251569] wlan0: authenticated
[ 1024.251571] wlan0: associate with AP 00:15:fa:b3:2d:50
[ 1024.251574] wlan0: mismatch in privacy configuration and mixed-cell disabled - abort association
[ 1024.252420] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1024.252422] wlan0: deauthenticated
[ 1026.719104] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
[ 1024.454061] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1037.859670] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
[ 1037.861816] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1037.862490] wlan0: Initial auth_alg=128
[ 1037.862494] wlan0: authenticate with AP 00:15:fa:b3:2d:50
[ 1037.862510] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
[ 1037.863437] wlan0: authenticated
[ 1037.863439] wlan0: associate with AP 00:15:fa:b3:2d:50
[ 1037.863442] wlan0: mismatch in privacy configuration and mixed-cell disabled - abort association
[ 1037.864809] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1037.864812] wlan0: deauthenticated
[ 1035.795540] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
[ 1035.796444] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1049.205114] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
[ 1049.207906] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1049.210887] wlan0: Initial auth_alg=128
[ 1049.210893] wlan0: authenticate with AP 00:15:fa:b3:2d:50
[ 1049.210911] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
[ 1049.211842] wlan0: RX authentication from 00:15:fa:b3:2d:50 (alg=128 transaction=2 status=0)
[ 1049.211845] wlan0: authenticated
[ 1049.211847] wlan0: associate with AP 00:15:fa:b3:2d:50
[ 1049.211849] wlan0: mismatch in privacy configuration and mixed-cell disabled - abort association
[ 1049.212748] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1049.212750] wlan0: deauthenticated
[ 1047.144928] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
[ 1047.145844] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
Monarch2007
June 30th, 2008, 05:01 AM
Here are the results with configuration changes applied to /etc/network/interfaces instead of running wpa_supplicant. Please let me know if any other logs are useful. Once again, I appreciate your time and effort on this. Thanks,
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
iface eth0 inet dhcp
auto eth0
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid wlan_ap
wpa-ap-scan 1
wpa-eap LEAP
wpa-key-mgmt IEEE8021X
wpa-identity "my_domain\\xxxxx"
wpa-password "xxxx"
Here is the dmesg output with grep on iwl3945:
[ 30.155868] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.0
[ 30.155872] iwl3945: Copyright(c) 2003-2007 Intel Corporation
[ 30.156062] iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
[ 29.108716] iwl3945: Tunable channels: 13 802.11bg, 4 802.11a channels
[ 29.132041] wmaster0: Selected rate control algorithm 'iwl-3945-rs'
Here is the output of iwconfig:
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"" Nickname:""
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
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
GuruCesc
July 1st, 2008, 12:13 AM
Hello All,
I'm having problems with my wireless ever since I migrated to 8.04. My wireless used to work perfectly with 6.10.
It will just not connect. If I use the Network Manager or any other GUI (I have tried WICD, NM, and KnetworkManager) it just asks for the WPA passphrase, tries to connect but it does not accept it.
If I try to configure manually as of this post, it doesn't get any response from the DHCP.
Notice that I used to connect to this very router on 6.10 and I still connect to this router using a different laptop.
See below the results of the commands:
root@marilu-laptop:/home/marilu# route
Tabla de rutas IP del núcleo
Destino Pasarela Genmask Indic Métric Ref Uso Interfaz
link-local * 255.255.0.0 U 0 0 0 wlan0
default * 0.0.0.0 U 1000 0 0 wlan0
root@marilu-laptop:/home/marilu# route -n
Tabla de rutas IP del núcleo
Destino Pasarela Genmask Indic Métric Ref Uso Interfaz
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
0.0.0.0 0.0.0.0 0.0.0.0 U 1000 0 0 wlan0
root@marilu-laptop:/home/marilu# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
irda0 no wireless extensions.
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
Notice that "GuruNet" is the network I'm trying to connect!!
root@marilu-laptop:/home/marilu# iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
irda0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:1E:C7:BA:0B:E9
ESSID:"INFINITUM8662"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.457 GHz (Channel 10)
Quality:15/100 Signal level:-86 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
Cell 02 - Address: 00:1F:B3:55:FD:21
ESSID:"GuruNet"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:65/100 Signal level:-54 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: 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
root@marilu-laptop:/home/marilu# lshw -C network
*-network
description: 88W8300 802.11b Cardbus PC Card
product: 83
vendor: Marvell Semiconductor
physical id: 0
version: 01
slot: Socket 1
resources: irq:11
*-network
description: Ethernet interface
product: 3c556B CardBus [Tornado]
vendor: 3Com Corporation
physical id: 3
bus info: pci@0000:00:03.0
logical name: eth0
version: 20
serial: 00:00:86:4c:08:e1
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=3c59x duplex=half latency=80 link=no maxlatency=10 mingnt=10 module=3c59x multicast=yes port=MII speed=10MB/s
*-network
description: Wireless interface
product: 88w8335 [Libertas] 802.11b/g Wireless
vendor: Marvell Technology Group Ltd.
physical id: 1
bus info: pci@0000:06:00.0
logical name: wlan0
version: 03
serial: 00:1b:2f:28:a6:82
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+wg511v2 driverversion=1.52+NETGEAR,02/22/2005,3.1.1.7 latency=64 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11g
I have tried as wpa-driver "ndiswrapper" and wext.
I have tried as wpa-ssid "GuruNet" and "GURUNET"
root@marilu-laptop:/home/marilu# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid GURUNET
wpa-ap-scan 1
wpa-proto WPA RSN
wpa-pairwise TKIP CCMP
wpa-group TKIP CCMP
wpa-key-mgmt WPA-PSK
wpa-psk 382a60783668193e4c55eedc95d30ce7c04a146e67c3150d3d 73b61c03e69f22
root@marilu-laptop:/home/marilu# 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 7035
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:1b:2f:28:a6:82
Sending on LPF/wlan0/00:1b:2f:28:a6:82
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.1.254 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 6961).
Notice that the DHCP doesn't receive any offers! :(
root@marilu-laptop:/home/marilu# 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 "GURUNET" -- 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 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:1b:2f:28:a6:82
Sending on LPF/wlan0/00:1b:2f:28:a6:82
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 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
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
I'm so tired now, I would REALLY like to fix this. I do not have any problems with the wired network, but I want it wireless!!!
wieman01
July 2nd, 2008, 02:01 PM
Monarch2007,
Does the IPW3945 support LEAP at all?
You could also try WICD:
http://wicd.sourceforge.net/
NumerataNero
July 2nd, 2008, 03:39 PM
Hi, now I'm confused. I followed the steps in your other posting 'HOWTO: RT2500, etc wireless cards'. Great to follow.
At the end I'm able to see my own router with iwlist scan. Great.
I aslo see that the ndiswrapper is used with lshw -C network.
However, at bullet nr 6 Ralink drivers do not support this approach:
6. RTxxx (Ralink) drivers do not support this approach. Either install "ndiswrapper" replacing Serialmonkey's driver or visit this site (http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?p=21546&sid=c5e02ed97dde07681fb564639e9f50c5).
and further down
wpa-driver:
That's the wpa-driver for your card ('wext' is a generic driver that is applicable when using "ndiswrapper"). Leave it as it is.
So can I use this approach to get me connected with the wireless internet (WPA)???:confused:
I've a LinkSys pci card, i've added rt61 and rt61pci to the blacklist.
thanks for the great support. (A newby)
Rob
Monarch2007
July 2nd, 2008, 11:01 PM
Sure, I will try WiCD and let you know. Also, do you think it would be useful to debug with ndiswrapper? If so, I will get some logs using ndiswrapper.
Thanks.
Ziggy8.04
July 3rd, 2008, 06:09 AM
hi im new to ubuntu.i have been using ubuntu hardy for
about a week, so i have no idea of the commands in terminal
and what to do in general. i have not been able to conect
to a secure wireless network, i can conect to an unsecure
network, but i want my network to be secure at home.
i use wrt160 router, with ssid broadcast disabled, and
wpa2for security.
i hope you can help. this is the info i can give you
ubuntu@ubuntu:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
ubuntu@ubuntu:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:130 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
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: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
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
sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface wlan0 inet dhcp
wpa-psk b57bb5ed4ff49cb4ea629840c4ea4522d5344200e30fa22583 defbf8a66c8410
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA2
wpa-ssid 0987654321
auto wlan0
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 9581
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 9418).
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: configuring network block -- 0
wpa_supplicant: wpa-ssid "0987654321" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto WPA2 -- 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 3
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 10
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
lisati
July 3rd, 2008, 06:12 AM
hi im new to ubuntu.i have been using ubuntu hardy for
about a week, so i have no idea of the commands in terminal
and what to do in general. i have not been able to conect
to a secure wireless network, i can conect to an unsecure
network, but i want my network to be secure at home.
i use wrt160 router, with ssid broadcast disabled, and
wpa2for security.
i hope you can help. this is the info i can give you
<snip>
Please read http://ubuntuforums.org/showpost.php?p=1884950&postcount=2 and try again
Ziggy8.04
July 3rd, 2008, 06:23 AM
hi im new to ubuntu.i have been using ubuntu hardy for
about a week, so i have no idea of the commands in terminal
and what to do in general. i have not been able to conect
to a secure wireless network, i can conect to an unsecure
network, but i want my network to be secure at home.
i use wrt160 router, with ssid broadcast disabled, and
wpa2for security.
i hope you can help. this is the info i can give you
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:130 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
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: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
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
sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface wlan0 inet dhcp
wpa-psk b57bb5ed4ff49cb4ea629840c4ea4522d5344200e30fa22583 defbf8a66c8410
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA2
wpa-ssid 0987654321
auto wlan0
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 9581
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 9418).
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: configuring network block -- 0
wpa_supplicant: wpa-ssid "0987654321" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-proto WPA2 -- 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 3
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 10
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
Nesster
July 4th, 2008, 04:24 PM
Thanks ! I finally tried it with my router's broadcast on (with WPA / WPA-PSK). It worked !!! (Belkin F5D7010, chipset Broadcom 4306 rev 02, the card is up at 54G). On Xubuntu 8.04.
BUT I'd like to add a little more security though, in disabling the router's ssid broadcast. I tried searching around but the people reporting having issues with this just didn't responses from what I could find.
Is someone knows a trick ... I'd like to hear it !
Regards,
wieman01
July 5th, 2008, 02:11 AM
Hi, now I'm confused. I followed the steps in your other posting 'HOWTO: RT2500, etc wireless cards'. Great to follow.
At the end I'm able to see my own router with iwlist scan. Great.
I aslo see that the ndiswrapper is used with lshw -C network.
However, at bullet nr 6 Ralink drivers do not support this approach:
and further down
So can I use this approach to get me connected with the wireless internet (WPA)???:confused:
I've a LinkSys pci card, i've added rt61 and rt61pci to the blacklist.
thanks for the great support. (A newby)
Rob
You have basically replaced the Ralink driver with "ndiswrapper" so you are OK. :-) Just continue to follow this thread if you like.
wieman01
July 5th, 2008, 02:15 AM
Sure, I will try WiCD and let you know. Also, do you think it would be useful to debug with ndiswrapper? If so, I will get some logs using ndiswrapper.
Thanks.
You could try out "ndiswrapper", but I am sure your problems can be resolved after some more research. I have seen many posts and users that reports issues with the IPW3945.
wieman01
July 5th, 2008, 02:17 AM
Thanks ! I finally tried it with my router's broadcast on (with WPA / WPA-PSK). It worked !!! (Belkin F5D7010, chipset Broadcom 4306 rev 02, the card is up at 54G). On Xubuntu 8.04.
BUT I'd like to add a little more security though, in disabling the router's ssid broadcast. I tried searching around but the people reporting having issues with this just didn't responses from what I could find.
Is someone knows a trick ... I'd like to hear it !
Regards,
Disabling SSID broadcast adds no extra security at all. It's an urban myth. Please read this for more:
http://blogs.technet.com/steriley/archive/2007/10/16/myth-vs-reality-wireless-ssids.aspx
Guess you can live with it. :-) Personally I have turned it on.
wieman01
July 5th, 2008, 02:20 AM
Ziggy8.04,
I suggest you read the tutorial carefully once again, some stuff appears to be incorrect or missing.
Please start with a simpler set-up... Try WPA1 first and enable SSID broadcast. Then use one of my examples from page 1. Don't leave out anything please. Post back if you still have issues. :-)
Aesrak
July 5th, 2008, 02:43 PM
I'm having connection problems with my Netgear WPN111 USB Device.
I have followed your tutorial exactly and so far I am using ndiswrapper and the device is detected fine and detects my network. But it is not connecting.
My router is using WPA1 with SSID broadcast enabled. I have all other network managers disabled. My settings are:
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid SSID_HERE
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk SSID_HERE
I have replaced the ssid and psk values...
When I restart the network I get:
Listening on LPF/wlan0/00:18:4d:2f:ab:d2
Sending on LPF/wlan0/00:18:4d:2f:ab:d2
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 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Any ideas why it is not connecting?
Nesster
July 5th, 2008, 07:12 PM
Disabling SSID broadcast adds no extra security at all. It's an urban myth. Please read this for more:
http://blogs.technet.com/steriley/archive/2007/10/16/myth-vs-reality-wireless-ssids.aspx
Guess you can live with it. :-) Personally I have turned it on.
Hey thanks a lot ! That was really interesting reading !
Cheers !
Nesster
July 5th, 2008, 07:30 PM
I'm having connection problems with my Netgear WPN111 USB Device.
I have followed your tutorial exactly and so far I am using ndiswrapper and the device is detected fine and detects my network. But it is not connecting.
My router is using WPA1 with SSID broadcast enabled. I have all other network managers disabled. My settings are:
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid SSID_HERE
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk SSID_HERE
I have replaced the ssid and psk values...
When I restart the network I get:
Listening on LPF/wlan0/00:18:4d:2f:ab:d2
Sending on LPF/wlan0/00:18:4d:2f:ab:d2
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 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Any ideas why it is not connecting?
Hi, I have the exact same situation at home. I was able to connect to my v8 Linksys router at work but at home with my v2 WRT54G (linksys), with latest Tomato firmware, I have the same as you. Can't connect with WPA1. It says something about rejecting packets (see syslog I think, at the moment I don't have access to my Ubuntu machine). I use the same laptop at home and at work by the way.
Keep us posted if you succeed.
Monarch2007
July 7th, 2008, 12:32 AM
You could try out "ndiswrapper", but I am sure your problems can be resolved after some more research. I have seen many posts and users that reports issues with the IPW3945.
I tried WiCD, no success. The same messages about privacy mismatch show up in dmesg output. I have inserted the same here. Looks like there is a fundamental problem here. Also, WiCD did not show me any dialog to input user name password required for LEAP. Am I missing something here?
Btw, I tried various drivers options in the WiCD, no luck.
Again, thanks for all the help;
Regards.
[ 1932.968953] wlan0: Initial auth_alg=128
[ 1932.968957] wlan0: authenticate with AP 00:15:fa:b3:2d:50
[ 1932.968964] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
[ 1932.968971] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1932.969953] wlan0: RX authentication from 00:15:fa:b3:2d:50 (alg=128 transaction=2 status=0)
[ 1932.969956] wlan0: authenticated
[ 1932.969958] wlan0: associate with AP 00:15:fa:b3:2d:50
[ 1932.969960] wlan0: mismatch in privacy configuration and mixed-cell disabled - abort association
[ 1935.390308] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1935.390311] wlan0: deauthenticated
[ 1933.965379] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
[ 1933.966294] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1944.289229] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
[ 1946.710222] wlan0: Initial auth_alg=128
[ 1946.710229] wlan0: authenticate with AP 00:15:fa:b3:2d:50
[ 1946.710247] wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
[ 1946.710259] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1946.712334] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1946.712922] wlan0: RX authentication from 00:15:fa:b3:2d:50 (alg=128 transaction=2 status=0)
[ 1946.712925] wlan0: authenticated
[ 1946.712927] wlan0: associate with AP 00:15:fa:b3:2d:50
[ 1946.712929] wlan0: mismatch in privacy configuration and mixed-cell disabled - abort association
[ 1946.713481] wlan0: RX deauthentication from 00:15:fa:b3:2d:50 (reason=2)
[ 1946.713483] wlan0: deauthenticated
ddcc
July 9th, 2008, 06:09 PM
This is using ndiswrapper for a Ralink 2860 chipset on a new Airlink card. I've been wrangling with this card for a while, and this is the closest I've gotten. Both iwevent and the router log shows the computer connecting for a few seconds, then disconnecting, etc. Help would be much appreciated.
route:
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 100 0 0 wlan0
default 192.168.1.1 0.0.0.0 UG 100 0 0 eth0
iwconfig:
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:20 dBm Sensitivity=0/3
RTS thr:off Fragment thr:off
Power Management:off
Link Quality:53/100 Signal level:-62 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
sudo iwlist scan:
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:1D:6A:D0:48:FB
ESSID:"linksys123"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:53/100 Signal level:-62 dBm Noise level:-96 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; 6 Mb/s; 12 Mb/s
24 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
sudo lshw -C network:
*-network
description: Wireless interface
product: RaLink
vendor: RaLink
physical id: 5
bus info: pci@0000:01:05.0
logical name: wlan0
version: 00
serial: 00:1d:6a:2b:e8:9e
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+rt2860 driverversion=1.53+Ralink Technology, Corp.,11 ip=192.168.1.110 latency=64 link=yes maxlatency=4 mingnt=2 module=ndiswrapper multicast=yes wireless=IEEE 802.11g
sudo cat /etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.111
netmask 255.255.255.0
gateway 192.168.1.1
auto eth1
#iface eth1 inet dhcp
auto eth2
#iface eth2 inet dhcp
auto ath0
#iface ath0 inet dhcp
auto wlan0
iface wlan0 inet static
address 192.168.1.110
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 208.67.222.222
wpa-driver wext
wpa-ssid linksys123
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk <key>
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/clamav-freshclam-ifupdown
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 10021).
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 "linksys123" -- 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 wlan0 192.168.1.110 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/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/clamav-freshclam-ifupdown
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntp
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/wpasupplicant
* Stopping NTP server ntpd
...done.
* Starting NTP server ntpd
...done.
wieman01
July 9th, 2008, 11:53 PM
ddcc,
I know the rt2860 well and just installed one over the weekend. I suggest that you remove the corresponding lines from "interfaces" and use Network Manager or WICD instead (unless you need static IP addresses of course). It would then read:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.111
netmask 255.255.255.0
gateway 192.168.1.1
Note that I have removed all "wlan0" reference which is the way to go.
Now restart the PC and see if NM can connect. I ought to work.
bioshake
July 10th, 2008, 08:39 AM
OK - If I understand this thread correctly, you CANNOT get wireless networking working in Ubuntu 7.10 (using WPA et al) without using wpasupplicant and configuring it manually (no network manager).
I'm using a DWA-140 USB adapter from d-link and I have it working to the point where I can scan networks and it looks like it is pulling IPs, but I get no net.
One of the steps I was told to do was copy a dat file over to /etc/Wireless/RT2870 folder, how important is this to have this file here and configured for your AP settings?
I have to configure my ESSID in this dat file as well as do it in the interfaces file?
ddcc
July 10th, 2008, 01:41 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.
hookzilla
July 10th, 2008, 05:33 PM
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
user@user-Desktop:~$ sudo lshw -C network
*-network:0
description: Wireless interface
product: 88w8335 [Libertas] 802.11b/g Wireless
vendor: Marvell Technology Group Ltd.
physical id: 2
bus info: pci@0000:02:02.0
logical name: wlan0
version: 03
serial: 00:40:f4:f7:31:50
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+mrv8000c driverversion=1.52+Marvell,09/17/2004,3.1.0.19 latency=64 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11b
*-network:1
description: Ethernet interface
product: RTL-8139/8139C/8139C+
vendor: Realtek Semiconductor Co., Ltd.
physical id: 3
bus info: pci@0000:02:03.0
logical name: eth0
version: 10
serial: 00:40:ca:b5:62:4c
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=32 link=no maxlatency=64 mingnt=32 module=8139too multicast=yes port=MII speed=10MB/s
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 <my essid>
wpa-ap-scan 2
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk <my pw>
user@user-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
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 8591
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:40:f4:f7:31:50
Sending on LPF/wlan0/00:40:f4:f7:31:50
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 8560).
user@user-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...
ioctl[SIOCSIWPMKSA]: Invalid argument
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 "<my essid>" -- 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:40:f4:f7:31:50
Sending on LPF/wlan0/00:40:f4:f7:31:50
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 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
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
user@user-Desktop:~$ lspci
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 12)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 12)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 12)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 12)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio Controller (rev 12)
01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX200] (rev b2)
02:00.0 Modem: ALi Corporation SmartLink SmartPCI561 56K Modem
02:02.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)
02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
user@user-Desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:ca:b5:62:4c
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)
Interrupt:17 Base address:0xc400
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:1616 errors:0 dropped:0 overruns:0 frame:0
TX packets:1616 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:84328 (82.3 KB) TX bytes:84328 (82.3 KB)
wlan0 Link encap:Ethernet HWaddr 00:40:f4:f7:31:50
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)
Interrupt:19 Memory:ef000000-ef010000
wlan0:avahi Link encap:Ethernet HWaddr 00:40:f4:f7:31:50
inet addr:169.254.7.98 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:19 Memory:ef000000-ef010000
victorsf
July 10th, 2008, 07:09 PM
well, i've the problem:
victor@victor-desktop:~$ iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 No scan results
Can you help me? Now i'm connected
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.