Networking Forums

Networking Forums > Computer Networking > Linux Networking > Ubuntu, wifi, and a Thinkpad T42

Reply
Thread Tools Display Modes

Ubuntu, wifi, and a Thinkpad T42

 
 
Dave Griffith
Guest
Posts: n/a

 
      10-07-2006, 09:52 PM
After messing around with Debian, I decided to try Ubuntu on this
Thinkpad T42. It looks like Ubuntu has, out of the box, installed the
ipw2200 driver and firmware. I can see the wireless interface just fine
with iwconfig and can connect to open WAPs just fine. However, I cannot
get it to authenticate with a WAP that uses WPA-PSK authentication and
TKIP encryption. What's wrong? What do I need to do?

(from dmesg)
[17179589.556000] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.1
[17179589.556000] ipw2200: Copyright(c) 2003-2006 Intel Corporation
[17179589.556000] Warning: PCI driver ipw2200 has a struct device_driver shutdown method, please update!
[17179590.240000] ipw2200: Detected Intel PRO/Wireless 2915ABG Network Connection
[17179590.644000] ipw2200: Detected geography ZZA (11 802.11bg channels, 13 802.11a channels)

(from /var/log/daemon.log)

Oct 7 14:37:53 marvin dhclient: Listening on LPF/eth1/00:13:ce:b7:ce:f3
Oct 7 14:37:53 marvin dhclient: Sending on LPF/eth1/00:13:ce:b7:ce:f3
Oct 7 14:37:53 marvin dhclient: Sending on Socket/fallback
Oct 7 14:37:54 marvin dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
Oct 7 14:38:04 marvin last message repeated 2 times
Oct 7 14:38:13 marvin dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
Oct 7 14:38:19 marvin dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
Oct 7 14:38:30 marvin dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 19
Oct 7 14:38:49 marvin dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 16
Oct 7 14:39:05 marvin dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
Oct 7 14:39:14 marvin dhclient: No DHCPOFFERS received.
Oct 7 14:39:14 marvin dhclient: Trying recorded lease 10.0.0.80
Oct 7 14:39:17 marvin dhclient: No working leases in persistent database - sleeping.
Oct 7 14:40:23 marvin dhclient: receive_packet failed on eth1: Network is down

Note: that "trying recorded lease" is from when I sucessfully attached
to a WAP which used no authentication or encryption

--
David Griffith
(E-Mail Removed) <-- Switch the 'b' and 'u'
 
Reply With Quote
 
 
 
 
Stefan Patric
Guest
Posts: n/a

 
      10-09-2006, 03:44 AM
On Sat, 07 Oct 2006 21:52:16 +0000, Dave Griffith wrote:

> After messing around with Debian, I decided to try Ubuntu on this
> Thinkpad T42. It looks like Ubuntu has, out of the box, installed the
> ipw2200 driver and firmware. I can see the wireless interface just fine
> with iwconfig and can connect to open WAPs just fine. However, I cannot
> get it to authenticate with a WAP that uses WPA-PSK authentication and
> TKIP encryption. What's wrong? What do I need to do?
>
> (from dmesg)
> [17179589.556000] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.1
> [17179589.556000] ipw2200: Copyright(c) 2003-2006 Intel Corporation
> [17179589.556000] Warning: PCI driver ipw2200 has a struct device_driver shutdown method, please update!
> [17179590.240000] ipw2200: Detected Intel PRO/Wireless 2915ABG Network Connection
> [17179590.644000] ipw2200: Detected geography ZZA (11 802.11bg channels, 13 802.11a channels)
>
> (from /var/log/daemon.log)
>
> Oct 7 14:37:53 marvin dhclient: Listening on LPF/eth1/00:13:ce:b7:ce:f3
> Oct 7 14:37:53 marvin dhclient: Sending on LPF/eth1/00:13:ce:b7:ce:f3
> Oct 7 14:37:53 marvin dhclient: Sending on Socket/fallback
> Oct 7 14:37:54 marvin dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
> Oct 7 14:38:04 marvin last message repeated 2 times
> Oct 7 14:38:13 marvin dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
> Oct 7 14:38:19 marvin dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
> Oct 7 14:38:30 marvin dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 19
> Oct 7 14:38:49 marvin dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 16
> Oct 7 14:39:05 marvin dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
> Oct 7 14:39:14 marvin dhclient: No DHCPOFFERS received.
> Oct 7 14:39:14 marvin dhclient: Trying recorded lease 10.0.0.80
> Oct 7 14:39:17 marvin dhclient: No working leases in persistent database - sleeping.
> Oct 7 14:40:23 marvin dhclient: receive_packet failed on eth1: Network is down
>
> Note: that "trying recorded lease" is from when I sucessfully attached
> to a WAP which used no authentication or encryption


Are you running wpa_supplicant? If not, you need to to use WPA. WPA is
not built-in to any Linux wifi-card driver I've ever used.

http://hostap.epitest.fi/wpa_supplicant/

Stef

 
Reply With Quote
 
Dave Griffith
Guest
Posts: n/a

 
      10-09-2006, 05:30 AM
Stefan Patric <(E-Mail Removed)> wrote:
> On Sat, 07 Oct 2006 21:52:16 +0000, Dave Griffith wrote:


>> After messing around with Debian, I decided to try Ubuntu on this
>> Thinkpad T42. It looks like Ubuntu has, out of the box, installed the
>> ipw2200 driver and firmware. I can see the wireless interface just fine
>> with iwconfig and can connect to open WAPs just fine. However, I cannot
>> get it to authenticate with a WAP that uses WPA-PSK authentication and
>> TKIP encryption. What's wrong? What do I need to do?

[snip]
> Are you running wpa_supplicant? If not, you need to to use WPA. WPA is
> not built-in to any Linux wifi-card driver I've ever used.


Yes.

--
David Griffith
(E-Mail Removed) <-- Switch the 'b' and 'u'
 
Reply With Quote
 
Michael Zawrotny
Guest
Posts: n/a

 
      10-09-2006, 01:38 PM
On Mon, 09 Oct 2006 05:30:38 GMT, Dave Griffith <(E-Mail Removed)> wrote:
> Stefan Patric <(E-Mail Removed)> wrote:
> > Are you running wpa_supplicant? If not, you need to to use WPA. WPA is
> > not built-in to any Linux wifi-card driver I've ever used.

>
> Yes.


After much googling and flailing around with wpa_supplicant.conf, this
is what worked for me to get the ipw2200 in my laptop to connect to
the Linksys B/G router I have:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=adm
ap_scan=2
eapol_version=1
fast_reauth=1

network={
ssid=""your-ssid-here"
scan_ssid=0
key_mgmt=WPA-PSK
psk="your-password-here"
proto=WPA
pairwise=TKIP
group=TKIP
}


Mike

--
Michael Zawrotny
Institute of Molecular Biophysics
Florida State University | email: (E-Mail Removed)
Tallahassee, FL 32306-4380 | phone: (850) 644-0069
 
Reply With Quote
 
Stefan Patric
Guest
Posts: n/a

 
      10-10-2006, 05:10 AM
On Mon, 09 Oct 2006 05:30:38 +0000, Dave Griffith wrote:

> Stefan Patric <(E-Mail Removed)> wrote:
>> On Sat, 07 Oct 2006 21:52:16 +0000, Dave Griffith wrote:

>
>>> After messing around with Debian, I decided to try Ubuntu on this
>>> Thinkpad T42. It looks like Ubuntu has, out of the box, installed the
>>> ipw2200 driver and firmware. I can see the wireless interface just fine
>>> with iwconfig and can connect to open WAPs just fine. However, I cannot
>>> get it to authenticate with a WAP that uses WPA-PSK authentication and
>>> TKIP encryption. What's wrong? What do I need to do?

> [snip]
>> Are you running wpa_supplicant? If not, you need to to use WPA. WPA is
>> not built-in to any Linux wifi-card driver I've ever used.

>
> Yes.


Okay. First, check that your wpa_supplicant.conf file is correct. Now,
assuming that it is: wpa_supplicant has to run after all the
wireless/network configuration stuff during booting (or after, if you do
the networking stuff manually) is done; that is, your system must be
connected to the appropriate AP, have the inet and gateway addresses,
etc., then and only then run wpa_supplicant. Otherwise, it will fail.

Stef

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inconsisten Atheros Wifi with Ubuntu MarkA Wireless Internet 1 06-25-2009 08:24 PM
WiFi for IBM Thinkpad T30 glenn Wireless Internet 5 05-25-2006 12:03 AM
ThinkPad i 1412 Laptop & WiFi Gene B. Wireless Networks 7 05-24-2006 02:55 AM
Why can't my Thinkpad connect to unsecured WiFi networks? Yousuf Khan Windows Networking 2 04-16-2006 02:26 AM
Wifi problem Win 98SE Thinkpad 560 BBB Wireless Internet 6 01-27-2005 11:46 PM



1 2 3 4 5 6 7 8 9 10 11