I want to connect to a password-secured wireless network. I can connect to unsecured networks no problem.
I'm running Ubuntu Hardy 8.10 on a lenovo Thinkpad R91i.
In the notification area, it detects many wireless networks and shows that it has connected to the one I want (80-100% signal). I get no more prompts for the password after I enter it the first time. I've tried unchecking Wired under Network and both enable Roaming and specified the network I want to use under Wireless.
When I ping, though, I get no connection. I've pasted some details below. Fir iwconfig, I tried the s: prefix, which returned the command line but still didn't get me connected. The man page reads "Passphrase is currently not supported" so does that mean iwconfig is no help?
Please understand I'm relatively new and need some English thrown in to explain the commands. Thank you all!
root@Stonau:/home/qian# iwlist eth1 scanning
eth1 Scan completed :
Cell 01 - Address: 00:19:E3:32:79:09
ESSID:"Beautiful"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=49/100 Signal level=-79 dBm Noise level=-95 dBm
Encryption key
n
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 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=000000144e5b2d65
root@Stonau:/home/qian# iwconfig eth1 essid "Beautiful" key "fakepasscode"
Error for wireless request "Set Encode" (8B2A) :
invalid argument "fakepasscode".
qian@Stonau:~$ 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:b0:cd:f8
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=iwl3945 ip=10.0.1.4 latency=0 module=iwl3945 multicast=yes wireless=IEEE 802.11g
*-network
description: Ethernet interface
product: NetLink BCM5787M Gigabit Ethernet PCI Express
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth0
version: 02
serial: 00:15:58:c8:c6:03
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 ip=10.0.1.3 latency=0 link=no module=tg3 multicast=yes port=twisted pair
qian@Stonau:~$ 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:b0:cd:f8
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=iwl3945 ip=10.0.1.4 latency=0 module=iwl3945 multicast=yes wireless=IEEE 802.11g
*-network
description: Ethernet interface
product: NetLink BCM5787M Gigabit Ethernet PCI Express
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth0
version: 02
serial: 00:15:58:c8:c6:03
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 ip=10.0.1.3 latency=0 link=no module=tg3 multicast=yes port=twisted pair
qian@Stonau:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
eth1 IEEE 802.11g ESSID:"Beautiful" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: 00:19:E3:32:79:09
Bit Rate=54 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr
ff Fragment thr=2346 B
Power Management
ff
Link Quality=63/100 Signal level=-69 dBm Noise level=-91 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
qian@Stonau:~$ sudo dhclient eth1
There is already a pid file /var/run/dhclient.pid with pid 8077
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/eth1/00:1b:77:b0:cd:f8
Sending on LPF/eth1/00:1b:77:b0:cd:f8
Sending on Socket/fallback
DHCPREQUEST of 10.0.1.4 on eth1 to 255.255.255.255 port 67
DHCPACK of 10.0.1.4 from 10.0.1.1
bound to 10.0.1.4 -- renewal in 6859 seconds.
qian@Stonau:~$ ping google.com
ping: unknown host google.com
qian@Stonau:~$ ping 82.211.81.158
PING 82.211.81.158 (82.211.81.158) 56(84) bytes of data.
From 10.0.1.3 icmp_seq=1184 Destination Host Unreachable
From 10.0.1.3 icmp_seq=1185 Destination Host Unreachable
From 10.0.1.3 icmp_seq=1186 Destination Host Unreachable
From 10.0.1.3 icmp_seq=1187 Destination Host Unreachable
From 10.0.1.3 icmp_seq=1189 Destination Host Unreachable
From 10.0.1.3 icmp_seq=1190 Destination Host Unreachable
From 10.0.1.3 icmp_seq=1191 Destination Host Unreachable
From 10.0.1.3 icmp_seq=1192 Destination Host Unreachable
From 10.0.1.3 icmp_seq=1193 Destination Host Unreachable
From 10.0.1.3 icmp_seq=1194 Destination Host Unreachable
root@Stonau:/home/qian# lspci -v
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
Subsystem: Intel Corporation Unknown device 1010
Flags: bus master, fast devsel, latency 0, IRQ 217
Memory at df6ff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
Capabilities: [e0] Express Legacy Endpoint IRQ 0