[Ndiswrapper-general] FW: ndiswrapper and ifdown/ifup (interfaces)
Status: Beta
Brought to you by:
pgiri
From: Vasquez V. J. E <jav...@in...> - 2004-05-12 04:10:12
|
Hi ! I got my Intel Pro/Wireless LAN 2100 working. The steps I can get it to work are: modprobe ndiswrapper iwconfig wlan0 mode Managed iwconfig wlan0 key s:llllnnnnllll iwconfig wlan0 essid LLLL-LLLL dhclient wlan0 where l corresponds to lower case letters, L to upper case ones and n to numbers. In reality it shouldn't matter, but I just wanted to make the point that no quotes are required (when using them things don't work any way). However I'm NOT able to make the ifup/ifdown work through the interfaces file. My interfaces file has the folowing lines to get this to work (I tried "-" instead of "_" for the wireless setting just in case and it didn't work either): iface wlan0 inet dhcp wireless_mode Managed wireless_key s:llllnnnnllll wireless_essid LLLL-LLLL but when I do "ifup wlan0", the request for an IP never gets an answer: Internet Software Consortium DHCP Client 2.0pl5 Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html Listening on LPF/wlan0/00:04:23:6a:b8:43 Sending on LPF/wlan0/00:04:23:6a:b8:43 Sending on Socket/fallback/fallback-net DHCPREQUEST on wlan0 to 255.255.255.255 port 67 DHCPREQUEST on wlan0 to 255.255.255.255 port 67 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 ... When things work with dhclient directly I get instead: Internet Software Consortium DHCP Client 2.0pl5 Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html Listening on LPF/wlan0/00:04:23:6a:b8:43 Sending on LPF/wlan0/00:04:23:6a:b8:43 Sending on Socket/fallback/fallback-net DHCPREQUEST on wlan0 to 255.255.255.255 port 67 DHCPACK from 192.168.2.1 bound to 192.168.2.4 -- renewal in 129600 seconds. something else are the messages got while starting the ndiswrapper module: ndiswrapper version 0.7 loaded ndiswrapper adding w70n51.sys wlan0: ndiswrapper ethernet device 00:04:23:6a:b8:43 using driver w70n51.sys I don't like configuring the card any time I want to connect, so I really would like it to work with the interfaces (ifup/ifdown). I think it's not the configuration itself since I gave a shot to a trial of another non free (I don't like the idea of non free) wrapper (driverloader), and it works with the same interfaces configuration (although a different interface since driverloader uses eth0 instead of wlan0), so it might have been something related to ndiswrapper itself, well that's at least my conclusion... Any suggestions and hints are much appreciated... Thanks, ___________________________ Javier-Elias Vasquez-Vivas |