Thank you Chris. This is very strange. After getting the wireless link up, instead of running the DHCP client directly, I run the ifup as you have and it worked. Well at least it work now...
Thanks, Antonio Chris Lale wrote: > Antonio Paiva wrote: > >> Hi, >> >> I'm trying to use wireless access with a Asus WL-100 pcmcia wireless >> card. The card is detected and works in the system (Debian Etch beta2). >> When I insert the card the hostap driver is activated. I then changed >> the driver default wireless parameters with: >> >> iwconfig wlan0 mode managed essid "ANY" rate auto >> >> and running iwconfig again shown the card connect to an AP in the range. >> My problems begin when I try to get a IP address, because the dhclient >> keeps reporting network down everytime it send a package. After that >> the interface desapears from ifconfig, and iwconfig reports the >> interface has no wireless extensions. >> >> Any ideas? >> >> Thank you all, >> Antonio >> >> > Try the steps in > http://ndiswrapper.sourceforge.net/mediawiki/index.php/InstallDebianSarge > > ie: > 11. Check that interface is available. > > iwconfig > > > 12. Set essid replace mylan with essid set up on AP. > > iwconfig wlan0 essid mylan > > > 13. Check for Access Point AP > > iwlist wlan0 scan > > > 14. Set mode > > iwconfig wlan0 mode Managed > > > 15. Set WEP encryption > > iwconfig wlan0 key restricted XXXXXXXX > > > 16. Take down any existing ethernet hardwired interface. Other > interfaces seem to cause a conflict and prevent the wireless interface > from working properly. > > ifdown eth0 > > > 17. Bring up wireless interface > > ifup wlan0 > > Note: If it complains about unknown interface wlan0, edit > /etc/network/interfaces to include an entry for wlan0 mirroring eth0 > > 18. Test the interface. Replace 192.168.1.1 with the IP of your AP - the > gateway. > > ping 192.168.1.1 > > 19. Make ISP's nameservers are available. Edit /etc/resolv.conf and add > a nameserver line for each of your ISP's nameservers. > > search > nameserver nnn.nnn.nnn.nnn > nameserver nnn.nnn.nnn.nnn > > > 20. Test nameservers > > ping google.co.uk > > > If this doesn't work, post the results of commands/errors here. > > Hth, > Chris > > -- António Rafael C. Paiva Graduate student Computational NeuroEngineering Laboratory Electrical & Computer Engineering Department University of Florida Gainesville, FL 32611 WWW: arpaiva.webhop.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]