Re: How to wifi with ipw3945 on Dell Vostro ???
Helge Hafting wrote: There is another problem though. My homemade script uses "iwlist scan" in order to see where the machine is (at home, at work, at friends/family house) and then select the appropriate essid, key and other stuff. Have you tried putting all the various networks into a config file for wpasupplicant (see the examples in /usr/share/doc/). AFAIK, it will scan for the available networks and connect to the right one. Worth a try. HTH Wackojacko This part used to work well - now I always have to try bringing the network up 2-4 times before it actually works. If I run manually, I see that iwlist comes up empty many times before it suddenly sees the available networks and access points. Setting a longer timeout between bringing up the driver and running iwlist didn't seem to help. The old driver needed 2s. I tried 4s, but still have to try many times before iwlist will see anything. Is there a trick to make this work? Running iwlist in a loop is not what I want, that is error-prone and wastes CPU. I use the machine in places with no network too. I want to detect the available networks in minimum time and with only one attempt. Helge Hafting -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to wifi with ipw3945 on Dell Vostro ???
Kelly Anderson wrote: Thought I'd throw in a suggestion that you look into the iwlwifi driver. Intel has moved on to the next "best thing". The iwl driver doesn't require the stupid daemon (a big step). And my initial impression is that it will probably support WEP/WPA more effectively. I haven't used WEP/WPA with it yet but it's on my agenda. I haven't had any issues since I switched from iwp to iwlwifi. Thanks - this tip made it possible to upgrade to 2.6.23 for me. I didn't know they changed the driver. And it works nicely with WPA too, something the old driver didn't. There is another problem though. My homemade script uses "iwlist scan" in order to see where the machine is (at home, at work, at friends/family house) and then select the appropriate essid, key and other stuff. This part used to work well - now I always have to try bringing the network up 2-4 times before it actually works. If I run manually, I see that iwlist comes up empty many times before it suddenly sees the available networks and access points. Setting a longer timeout between bringing up the driver and running iwlist didn't seem to help. The old driver needed 2s. I tried 4s, but still have to try many times before iwlist will see anything. Is there a trick to make this work? Running iwlist in a loop is not what I want, that is error-prone and wastes CPU. I use the machine in places with no network too. I want to detect the available networks in minimum time and with only one attempt. Helge Hafting -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to wifi with ipw3945 on Dell Vostro ???
Kelly Anderson 16:38 Fri 04 Jan Thought I'd throw in a suggestion that you look into the iwlwifi driver. Intel has moved on to the next "best thing". The iwl driver doesn't require the stupid daemon (a big step). And my initial impression is that it will probably support WEP/WPA more effectively. I haven't used WEP/WPA with it yet but it's on my agenda. I haven't had any issues since I switched from iwp to iwlwifi. http://intellinuxwireless.org/ I got iwlwifi to work, and it works well enough with wpasupplicant and ifupdown. THe only odd thing (and maybe you have a fix) is that it will not turn in the wireless LED the way the older drive did. But the system beeps do reassure me (and annoy my wife) that it is operating and connected . -- Seeing that death, a necessary end, Will come when it will come. -- William Shakespeare, "Julius Caesar" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to wifi with ipw3945 on Dell Vostro ???
Helge Hafting wrote: Joost Kraaijeveld wrote: Hi, I am running Debian Lenny on a Dell Vostro laptop which has a ipw3945 wifi card. The card is recognised by the software and it even works somehow (I can see all the wifi networks in my building using wifi-radar). But whatever I do I cannot get a (DHCP) ip address from my Zyxel AP which is using a WEP key (and it did when I still used Windows Vist so I know for a fact that it is possible). You need: * A driver module. If you use the 2.6.22-3 kernel from debian testing, install the ipw3945-modules-2.6.22-3-amd64 package. Then make sure that /etc/modules contains a line with "ipw3945 You probably have this already, or you wouldn't be able to use the card at all. * The package ipw3945d. Install it and make sure the daemon is running, or the card won't work properly. Without this, the card will seem ok but anything you do will fail silently and mysteriously. After that, set it up to associate with your access point. For a quick test, use iwconfig directly. For a permanent setup, put something like this in /etc/network/interfaces: iface eth2 inet dhcp pre-up iwconfig eth2 essid YOURSSID key YOURKEY (Assuming the card is eth2. Use "key off" if there is no encryption. If there is WPA encryption, get additional software for supporting WPA. Get the card working on a open or WEP encrypted net first, to rule out driver problems. WPA is trickier to set up than WEP) Hexadecimal keys are easiest to deal with, as there are two incompatible ways of specifying the key as a text string. The driver uses one way, some access points use the other way. Hex is more typing but works everytime. Also make sure you have a package with dhcp software, for example dhcp3-client Helge Hafting Thought I'd throw in a suggestion that you look into the iwlwifi driver. Intel has moved on to the next "best thing". The iwl driver doesn't require the stupid daemon (a big step). And my initial impression is that it will probably support WEP/WPA more effectively. I haven't used WEP/WPA with it yet but it's on my agenda. I haven't had any issues since I switched from iwp to iwlwifi. http://intellinuxwireless.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to wifi with ipw3945 on Dell Vostro ???
Joost Kraaijeveld wrote: Hi, I am running Debian Lenny on a Dell Vostro laptop which has a ipw3945 wifi card. The card is recognised by the software and it even works somehow (I can see all the wifi networks in my building using wifi-radar). But whatever I do I cannot get a (DHCP) ip address from my Zyxel AP which is using a WEP key (and it did when I still used Windows Vist so I know for a fact that it is possible). You need: * A driver module. If you use the 2.6.22-3 kernel from debian testing, install the ipw3945-modules-2.6.22-3-amd64 package. Then make sure that /etc/modules contains a line with "ipw3945 You probably have this already, or you wouldn't be able to use the card at all. * The package ipw3945d. Install it and make sure the daemon is running, or the card won't work properly. Without this, the card will seem ok but anything you do will fail silently and mysteriously. After that, set it up to associate with your access point. For a quick test, use iwconfig directly. For a permanent setup, put something like this in /etc/network/interfaces: iface eth2 inet dhcp pre-up iwconfig eth2 essid YOURSSID key YOURKEY (Assuming the card is eth2. Use "key off" if there is no encryption. If there is WPA encryption, get additional software for supporting WPA. Get the card working on a open or WEP encrypted net first, to rule out driver problems. WPA is trickier to set up than WEP) Hexadecimal keys are easiest to deal with, as there are two incompatible ways of specifying the key as a text string. The driver uses one way, some access points use the other way. Hex is more typing but works everytime. Also make sure you have a package with dhcp software, for example dhcp3-client Helge Hafting -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Update on: How to wifi with ipw3945 on Dell Vostro ???
On Fri, Oct 19, 2007 at 08:48:39AM -0700, Andrew Sackville-West wrote: > On Sat, Oct 13, 2007 at 12:14:04PM +0200, Joost Kraaijeveld wrote: > > I still cannot wifi with my laptop but I can see that the laptop is > > sending it's DHCP requests to the network, I can see the request being > > answered by the server but somehow/somewhere the the response gets lost. > > > > If I try to make a connection through the NetworkManager I see (using > > tcpdump) the following traffic. > > I don't trust NetworkManager, FWIW. > > I've been playing with this a bit and have gotten mine to work > reliably in the house here connecting to an ad-hoc network. I'm just > using iwconfig and ifconfig > > iwconfig eth2 essid "blah" > iwconfig eth2 key restricted s:foo > ifconfig eth2 up also need (for my ad-hoc config) iwconfig eth2 mode ad-hoc one more thing I've learned, at least for my steup: power saving doesn't work. If I set any of the power-saving modes I get lots of dropped packets, no web access, and my ssh sessions lockup until I turn it back off. A signature.asc Description: Digital signature
Re: Update on: How to wifi with ipw3945 on Dell Vostro ???
On Sat, Oct 13, 2007 at 12:14:04PM +0200, Joost Kraaijeveld wrote: > I still cannot wifi with my laptop but I can see that the laptop is > sending it's DHCP requests to the network, I can see the request being > answered by the server but somehow/somewhere the the response gets lost. > > If I try to make a connection through the NetworkManager I see (using > tcpdump) the following traffic. I don't trust NetworkManager, FWIW. I've been playing with this a bit and have gotten mine to work reliably in the house here connecting to an ad-hoc network. I'm just using iwconfig and ifconfig iwconfig eth2 essid "blah" iwconfig eth2 key restricted s:foo ifconfig eth2 up just works. A signature.asc Description: Digital signature
Update on: How to wifi with ipw3945 on Dell Vostro ???
I still cannot wifi with my laptop but I can see that the laptop is sending it's DHCP requests to the network, I can see the request being answered by the server but somehow/somewhere the the response gets lost. If I try to make a connection through the NetworkManager I see (using tcpdump) the following traffic. Questions about what I see: - What are those "oiu Unknown" things I see? -Are the lines with ethertype Unknown (which all seem to be from foreign (== not mine) MAC addresses) from other AP's in the building? - If so, could they interfere somehow with my dhcp requests? - Why do I see IP6 things while my whole network is IP4? On the wifi-laptop: 11:48:29.350296 IP6 :: > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28 11:48:29.742441 IP6 :: > ff02::1:ffd3:1b16: ICMP6, neighbor solicitation, who has fe80::21b:77ff:fed3:1b16, length 24 11:48:29.902435 IP6 :: > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28 11:48:30.742518 IP6 fe80::21b:77ff:fed3:1b16 > ip6-allrouters: ICMP6, router solicitation, length 16 11:48:31.229761 13:61:e2:ff:72:ed (oui Unknown) > f0:6e:36:ce:36:00 (oui Unknown), ethertype Unknown (0x513d), length 92: 0x: 1872 aaf7 4519 1709 d761 83b6 bbc0 2d38 .r..Ea-8 0x0010: 837e 73f1 75a1 1b62 cc41 51c5 fb63 102f .~s.u..b.AQ..c./ 0x0020: 6f3a be79 bf4e de03 8f5a 65bf 2885 0954 o:.y.N...Ze.(..T 0x0030: e9af 769b 2c2a f0d1 b6a2 90d3 a199 6dd8 ..v.,*m. 0x0040: df42 f0a3 ec70 1aec 547f 5c36 b664 .B...p..T.\6.d 11:48:33.002850 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:1b:77:d3:1b:16 (oui Unknown), length 300 11:48:33.007191 6c:c9:d9:83:a2:a5 (oui Unknown) > 20:70:66:76:c5:00 (oui Unknown), ethertype Unknown (0xd6b4), length 342: 0x: 9f38 9b23 6750 0238 b027 ee28 cad0 fc95 .8.#gP.8.'.( 0x0010: c2d9 ddac f920 2cfe ab57 fac6 4484 47d5 ..,..W..D.G. 0x0020: 9c2c 0be3 bbbc 8b93 eeab 9aee 1190 c868 .,.h 0x0030: 7dd7 00ec a77b 1f21 83e7 58a9 80eb 3fd2 }{.!..X...?. 0x0040: b360 54f3 454f 0a5e 07ba 9d05 04e2 278d .`T.EO.^..'. 0x0050: 65fb e. 11:48:34.742742 IP6 fe80::21b:77ff:fed3:1b16 > ip6-allrouters: ICMP6, router solicitation, length 16 11:48:38.742970 IP6 fe80::21b:77ff:fed3:1b16 > ip6-allrouters: ICMP6, router solicitation, length 16 On the wired network: 11:38:43.826994 IP obelix.askesis.nl.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 300 11:38:47.827134 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:a0:c5:68:ec:b1 (oui Unknown), length 300 11:38:47.829044 IP obelix.askesis.nl.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 300 TIA -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to wifi with ipw3945 on Dell Vostro ???
Joost Kraaijeveld wrote: Hi, I am running Debian Lenny on a Dell Vostro laptop which has a ipw3945 wifi card. The card is recognised by the software and it even works somehow (I can see all the wifi networks in my building using wifi-radar). But whatever I do I cannot get a (DHCP) ip address from my Zyxel AP which is using a WEP key (and it did when I still used Windows Vist so I know for a fact that it is possible). Does anyone have any idea of how to get this card talking to my WEP AP? TIA Some maybe useful info: * /etc/network/interfaceses: auto lo iface lo inet loopback Did you install network-manager and network-manager-(gnome|kde)? If so, the above two lines is all that you should have in /etc/network/interfaces nm-applet GUI will let enter all the options needed, including WEP key. Sarunas Burdulis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to wifi with ipw3945 on Dell Vostro ???
On Thu, Oct 11, 2007 at 10:37:15AM -0500, Michael Shuler wrote: > On 10/11/2007 10:11 AM, Andrew Sackville-West wrote: [snipped wacky wireless crap] > > > > I'm planning to wipe that lappy and start over anyway (need to use > > encryption) so I'll start over from scratch on the wireless. If I get > > anything useful I'll post it up. > > I simply use the interfaces file with mapping for the various wireless > networks I use, and a script with 'iwlist eth1 scan' to figure out which > AP I am in range of. > > I do not recall where I stumbled across this setting, but it definitely > helped my issues with connecting to some APs from my T60 w/ipw3945. I > added the 'associate=1' option to the module load, and all was well: > > $ cat /etc/modprobe.d/ipw3945d > install ipw3945 modprobe --ignore-install ipw3945 associate=1 && > /etc/init.d/ipw3945d modprobe-start > remove ipw3945 /etc/init.d/ipw3945d modprobe-stop && modprobe -r > --ignore-remove ipw3945 ooh, that looks promising. thanks A signature.asc Description: Digital signature
Re: How to wifi with ipw3945 on Dell Vostro ???
On Thu, 2007-10-11 at 10:37 -0500, Michael Shuler wrote: > On 10/11/2007 10:11 AM, Andrew Sackville-West wrote: > > I've been watching for some action on this thread as I have the same > > chip giving me fits. It appears that I have to use the built-in keys > > to turn the radio off and then back on to get it to actually wake up > > and connect. Its been a little frustrating. I've also found Network > > Manager to be unpredictable if not down right impossible to use. It > > seems to be too smart for its own good sometimes. > > > > I've ended up having to use a different tool: wifi-radar and (shudder) > > rebooting to get wireless to work. Typically, the dance I had to go > > (this was on a cross coutnry trip -- different wireless in each hotel) > > through was down all the interfaces, comment out the wired ethernet > > from /etc/network/interfaces, reboot, then use wifi-radar to connect > > entering appropriate keys etc. Sometimes I'd have to manually shutdown > > the radio (as above) and bring it back up to get it to go. > > > > I'm not convinced that my problems are necessarily with the > > driver/interface but that cycling the radio thing suggests it might > > be. > > > > I'm planning to wipe that lappy and start over anyway (need to use > > encryption) so I'll start over from scratch on the wireless. If I get > > anything useful I'll post it up. > > I simply use the interfaces file with mapping for the various wireless > networks I use, and a script with 'iwlist eth1 scan' to figure out which > AP I am in range of. > > I do not recall where I stumbled across this setting, but it definitely > helped my issues with connecting to some APs from my T60 w/ipw3945. I > added the 'associate=1' option to the module load, and all was well: > > $ cat /etc/modprobe.d/ipw3945d > install ipw3945 modprobe --ignore-install ipw3945 associate=1 && > /etc/init.d/ipw3945d modprobe-start > remove ipw3945 /etc/init.d/ipw3945d modprobe-stop && modprobe -r > --ignore-remove ipw3945 I have tried almost every solution I have found on the internet (I *really* need wifi) and suprise: I had contact with my AP. Once. Slowly. Me happy ;-). Rebooted to verify the solution. Nothing works I am desperate and suddenly know why the rest of the world does not like Linux and only the motivated survive. -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to wifi with ipw3945 on Dell Vostro ???
On 10/11/2007 10:11 AM, Andrew Sackville-West wrote: > I've been watching for some action on this thread as I have the same > chip giving me fits. It appears that I have to use the built-in keys > to turn the radio off and then back on to get it to actually wake up > and connect. Its been a little frustrating. I've also found Network > Manager to be unpredictable if not down right impossible to use. It > seems to be too smart for its own good sometimes. > > I've ended up having to use a different tool: wifi-radar and (shudder) > rebooting to get wireless to work. Typically, the dance I had to go > (this was on a cross coutnry trip -- different wireless in each hotel) > through was down all the interfaces, comment out the wired ethernet > from /etc/network/interfaces, reboot, then use wifi-radar to connect > entering appropriate keys etc. Sometimes I'd have to manually shutdown > the radio (as above) and bring it back up to get it to go. > > I'm not convinced that my problems are necessarily with the > driver/interface but that cycling the radio thing suggests it might > be. > > I'm planning to wipe that lappy and start over anyway (need to use > encryption) so I'll start over from scratch on the wireless. If I get > anything useful I'll post it up. I simply use the interfaces file with mapping for the various wireless networks I use, and a script with 'iwlist eth1 scan' to figure out which AP I am in range of. I do not recall where I stumbled across this setting, but it definitely helped my issues with connecting to some APs from my T60 w/ipw3945. I added the 'associate=1' option to the module load, and all was well: $ cat /etc/modprobe.d/ipw3945d install ipw3945 modprobe --ignore-install ipw3945 associate=1 && /etc/init.d/ipw3945d modprobe-start remove ipw3945 /etc/init.d/ipw3945d modprobe-stop && modprobe -r --ignore-remove ipw3945 -- Kind Regards, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to wifi with ipw3945 on Dell Vostro ???
On Thu, Oct 11, 2007 at 05:29:30AM -0400, Chris Ahlstrom wrote: > * Joost Kraaijeveld <[EMAIL PROTECTED]> [2007-10-10 19:43:48 +0200]: > > > The card is recognised by the software and it even works somehow (I can > > see all the wifi networks in my building using wifi-radar). But whatever > > I do I cannot get a (DHCP) ip address from my Zyxel AP which is using a > > WEP key (and it did when I still used Windows Vist so I know for a fact > > that it is possible). > > > > Does anyone have any idea of how to get this card talking to my WEP AP? > > I've found that NetworkManager is a good way for laptops. Has a GUI > applet, too. For my main laptop, though, I add guessnet, ifupdown, and > wpasupplicant to the mix. I've been watching for some action on this thread as I have the same chip giving me fits. It appears that I have to use the built-in keys to turn the radio off and then back on to get it to actually wake up and connect. Its been a little frustrating. I've also found Network Manager to be unpredictable if not down right impossible to use. It seems to be too smart for its own good sometimes. I've ended up having to use a different tool: wifi-radar and (shudder) rebooting to get wireless to work. Typically, the dance I had to go (this was on a cross coutnry trip -- different wireless in each hotel) through was down all the interfaces, comment out the wired ethernet from /etc/network/interfaces, reboot, then use wifi-radar to connect entering appropriate keys etc. Sometimes I'd have to manually shutdown the radio (as above) and bring it back up to get it to go. I'm not convinced that my problems are necessarily with the driver/interface but that cycling the radio thing suggests it might be. I'm planning to wipe that lappy and start over anyway (need to use encryption) so I'll start over from scratch on the wireless. If I get anything useful I'll post it up. .02 A signature.asc Description: Digital signature
Re: How to wifi with ipw3945 on Dell Vostro ???
* Joost Kraaijeveld <[EMAIL PROTECTED]> [2007-10-10 19:43:48 +0200]: > The card is recognised by the software and it even works somehow (I can > see all the wifi networks in my building using wifi-radar). But whatever > I do I cannot get a (DHCP) ip address from my Zyxel AP which is using a > WEP key (and it did when I still used Windows Vist so I know for a fact > that it is possible). > > Does anyone have any idea of how to get this card talking to my WEP AP? I've found that NetworkManager is a good way for laptops. Has a GUI applet, too. For my main laptop, though, I add guessnet, ifupdown, and wpasupplicant to the mix. -- Tux rox! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
How to wifi with ipw3945 on Dell Vostro ???
Hi, I am running Debian Lenny on a Dell Vostro laptop which has a ipw3945 wifi card. The card is recognised by the software and it even works somehow (I can see all the wifi networks in my building using wifi-radar). But whatever I do I cannot get a (DHCP) ip address from my Zyxel AP which is using a WEP key (and it did when I still used Windows Vist so I know for a fact that it is possible). Does anyone have any idea of how to get this card talking to my WEP AP? TIA Some maybe useful info: * /etc/network/interfaceses: auto lo iface lo inet loopback # The primary network interface allow-hotplug eth1 iface eth1 inet dhcp auto eth1 iface eth2 inet dhcp wireless-essid askesis wireless-key s:My_Edited_Away_Key auto eth2 * iwlist scanning: loInterface doesn't support scanning. eth1 Interface doesn't support scanning. eth2 Scan completed : Cell 01 - Address: 00:A0:C5:68:EC:B1 ESSID:"askesis" Protocol:IEEE 802.11b Mode:Master Channel:1 Frequency:2.412 GHz (Channel 1) Encryption key:on Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s Quality=84/100 Signal level=-49 dBm Noise level=-49 dBm Extra: Last beacon: 68ms ago * iwconfig eth2: eth2 IEEE 802.11b ESSID:"askesis" Nickname:"askesis" Mode:Managed Frequency:2.412 GHz Access Point: 00:A0:C5:68:EC:B1 Bit Rate:11 Mb/s Tx-Power:15 dBm Retry limit:15 RTS thr:off Fragment thr:off Encryption key:Myxx-Edit-AWay-Keyx---xx Security mode:open Power Management:off Link Quality=84/100 Signal level=-49 dBm Noise level=-49 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:74 Missed beacon:0 -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]