On Monday 30 August 2004 07:28, Christian Bartels wrote:
> is there a possibility to tell ndiswrapper not to connect to an ap when
> loading the module?
> the backround is, that i'm loading the module
> through /etc/modules.autload/kernel-2.6 and i'm using ifplugd for my wired
> lan card. i just want wlan to be started when the cable is plugged out. so
> i dont want to get wlan0 up when loading ndiswrapper.
> is there an way to do this?
> hotplug is not a solution for me because it freezes my system on shutdown.
> thx a lot!
Actually, what you could do is:
1. Let ndiswrapper connect anyway. Use a script that changes the routing=20
table based on wether you want cable or wireless.
2. "ifconfig wlan0 down / ifconfig eth" down based on what you want