Re: [Ndiswrapper-general] how do I switch between 2 wlans?
Status: Beta
Brought to you by:
pgiri
From: Pavel R. <pr...@gn...> - 2008-02-24 20:55:21
|
On Sun, 2008-02-24 at 09:39 -0500, sean darcy wrote: > Pavel Roskin wrote: > > On Sat, 2008-02-23 at 22:46 -0500, sean darcy wrote: > > > >> So I created ifcfg-wlan1: > >> > >> cat ifcfg-wlan1 > >> DEVICE=wlan0 > > > > This should be wlan1, not wlan0. > > But ndiswrapper only creates wlan0. Doesn't matter if I name the script > net2 or anything else, the device ndiswrapper created is wlan0 - correct? I probably misinterpreted your words "I have 2 wlans". It looks like you have two networks, but one device. In this case, ndiswrapper is correct to create one device. What you need is roaming, and it should be implemented in the userspace, not in the driver. > > If you have more questions about those scripts, it's better to ask in a > > Fedora mailing list. > > OK, I'll do that, but I don't know how specific the scripts are to > fedora, but iwconfig takes the same inputs, and returns the same errors. I'm not going to participate in this thread, but if you want to get useful replies from others, I suggest that you are more explicit. The only error message you quoted was: "Determining IP information for wlan0... failed; no link present. Check cable?" I doubt iwconfig would produce that message. > Again OK. But I thought this really was a driver question. Forget about > the fedora scripts - use iwconfig - how do I get the driver created by > ndiswrapper to point to different lans? Set the ESSID and the WEP key: iwconfig wlan0 key 1234567890 open essid mynet Make sure the AP is valid - it confirms you are associated. Then configure the IP, either with dhclient, or with ifconfig and route. -- Regards, Pavel Roskin |