You are not logged in.

#1 2007-08-10 10:14:34

kajn
Member
From: Closer than you can believe
Registered: 2005-11-21
Posts: 10
Website

ipw3945, wep key, dhcp problem

Hi,

I have ibm thinkpad t60 with intel wirelles card (using ipw3945 kernel module and ipw3945d userspace daemon).

Card works fine if i try connecting to open network (eg. no wep or wpa), but if connect to wep key protected network i will not get interface configuration by dhcp server.

Exactly problem is: i will do iwlist eth1 scan, then i will choose one network.
I type: iwconfig eth1 ap BSSID key WEPKEY.

My wirelles card will associate with AP. I know the AP is offering DHCP. So i run dhcpcd eth1. Dhcpcd will time out. I tried it with dhclient too. Same situation.

So i booted winXP to check if everything is working. Connection is fine.

I know the network is working OK.

I tried to sniff a packets. DHCPCD and DHCLIENT works OK. They are trying to communicate with AP. But AP sends nothing.

I also tried to increase timeout for DHCPCD and DHCLIENT - i think this is not a problem with this clients.

I am using kernel 2.6.22.

So lets resume:
i know that wirelles card is ok - works on other networks (open networks).
I know that dhcpcd and dhclient works ok (on other networks and interfaces)
I know that AP is ok (tested under windows)

So where is problem? i don't understand.

I will continue trying to solve this problem so if you have any direction please post it there. I will try than write some direction if it is configuration problem. If it is bug i can only report it. wink

Offline

#2 2007-08-10 12:00:11

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: ipw3945, wep key, dhcp problem

try using the network profiles provided by arch. you find more information about it in the wiki.
http://wiki.archlinux.org/index.php/Wireless_Setup

mfg iggy


sorry for my bad english smile

Offline

#3 2007-08-10 15:43:58

kajn
Member
From: Closer than you can believe
Registered: 2005-11-21
Posts: 10
Website

Re: ipw3945, wep key, dhcp problem

i don't think it is problem with network itself so network profiles in archlinux will not help to fix this issue. i think that archlinux network profiles using tools which i am trying to use manually. am i wrong?

Offline

#4 2007-08-12 21:59:49

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

Re: ipw3945, wep key, dhcp problem

Try setting channel with iwconfig too. Or try seting ESSID instead of/additionally to BSSID..

-miky


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

#5 2007-08-14 09:38:21

kajn
Member
From: Closer than you can believe
Registered: 2005-11-21
Posts: 10
Website

Re: ipw3945, wep key, dhcp problem

i tried it and don't work for me. i also tried to do hardconfig (copied network settings from win and then use it on lin - don't work).

Offline

#6 2007-08-14 16:45:07

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

Re: ipw3945, wep key, dhcp problem

Check format of WEPKEY - it may be in HEX, ASCII and maybe other.. Just look into "man iwconfig" and make sure you're entering WEPKEY in correct format and iwconfig knows it.

Nothing else's coming to my mind right now...

-m.


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

#7 2007-09-12 13:15:24

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: ipw3945, wep key, dhcp problem

DrPike - he's using WEP with iwconfig commands, not WPA with wpa_supplicant commands.

kajn - can you confirm that you are associated with the AP? iwconfig should show the AP's MAC, as in DrPike's example.

Offline

#8 2007-09-12 13:40:30

shen
Member
Registered: 2003-09-05
Posts: 272
Website

Re: ipw3945, wep key, dhcp problem

I can tell you from experience I have yet to get WEP and the IPW3945 drivers to work and actually obtain an IP and connect to my access point. So a solution is found please post it here or add it to the wiki.

Offline

#9 2007-09-12 13:48:01

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: ipw3945, wep key, dhcp problem

I know this probably isn't the answer you're looking for either, but.... have you tried the new iwlwifi driver yet?  It is designed for the 3945 and 4965 chipsets:

http://wiki.archlinux.org/index.php/Wir … nd_ipw4965

I've been using it myself for about 2 weeks now (I have a 3945) and haven't had any problems yet.


thayer williams ~ cinderwick.ca

Offline

#10 2007-11-04 15:13:06

dirty_d
Member
Registered: 2006-09-01
Posts: 11

Re: ipw3945, wep key, dhcp problem

im having the same problem as you. i just upgraded to 2.6.23.1 on my laptop and i cant connect to my network anymore. i rebuilt the ipw3945 kernel module and got the newest ipw3945d and ipw3945-ucode. the kernel module loads fine and the daemon runs fine and detects the car, there are absolutely no errors, the only thing that doesn't work is when i use dhcpcd, i get a timed out error. ive also tried iwlwifi-3945 and i get the same problem. have you found the problem that you had?

Offline

#11 2007-11-04 15:38:19

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: ipw3945, wep key, dhcp problem

ipw3945 work fine for me and I'm using wep. I just put the essid and key in rc.conf like the wiki says:

# /etc/rc.conf
eth0="dhcp"
eth1="dhcp"
#wlan_eth1="eth1 essid MyEssid" <------ unencrypted
#wlan_eth1="wlan0 essid MyEssid key 12345678" <------- enable with hex
#wlan_eth1="wlan0 essid MyEssid key s:wirelesspassword" <---------- enable with ascII
WLAN_INTERFACES=(eth1)
INTERFACES=(lo eth0 eth1)

I think when you change this and restart the network daemon things should work.
There's other possibilities if you use a lot of different networks, I never tried those.

Offline

#12 2007-11-04 16:00:11

dirty_d
Member
Registered: 2006-09-01
Posts: 11

Re: ipw3945, wep key, dhcp problem

ive done it manually ive got everything correct the essid and key i do it the same way in my old kernel and it works but in the new one i just get a dhcp time out. im going to try 2.6.24-rc1

Offline

#13 2007-11-04 19:41:36

dirty_d
Member
Registered: 2006-09-01
Posts: 11

Re: ipw3945, wep key, dhcp problem

it wouldn't even compile on 2.6.24-rc1, i tried again with 2.6.23.1 after patching the kernel with the latest ieee80211 stack, same thing, everything works fine i can scan for networks i just cant connect, i suspect that the card isn't even transmitting. does anyone have any ideas?

Offline

#14 2007-11-04 20:59:05

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

Re: ipw3945, wep key, dhcp problem

Are you guys sure that TXPOWER is at maximum? You may just be out-of-(power)-range.. Try "iwconfig wlan0 txpower 17" (or more, if your iron can handle it)..

Just an idea ;-)

-m.

EDIT:
PS. As for iwlw-3945, I've only had troubles so far.. Problems with WPA, powersaving, passive (monitor) mode, etc.. Imho it's not yet stable enough. Ipw3945 does just fine..

Last edited by mr.MikyMaus (2007-11-04 21:01:53)


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

Board footer

Powered by FluxBB