[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: starting wireless connection on boot

On Thu, Dec 08, 2005 at 09:21:42PM +0100, martin jakubik wrote:
> Hello, I'm a newbie.
> I've got wireless working on my Debian, but I have to log in as admin
> to start it. I'd like to know how I can get it to load on bootup.
> I've got a Linksys WPC54G card. I'm using ndiswrapper to run my driver.
> ndiswrapper loads up normally on boot.
> Currently, to get my network up, I have to
>   su
>   iwconfig wlan0 key xxxxxxxxxx essid my-network
>   dhclient
> Then I get my connection.
> I've tried putting some iwconfig stuff in both /etc/network/interfaces
> and etc/pcmcia/wireless.opts, but nothing seems to happen. What should
> I do to get this loading during boot, and how can I test what's going
> on?

$.99 says the problem is your /etc/network/interfaces references "eth0",
which is wrong -- ndiswrapper will name your first interface "wlan0".
Other than that, the configuration is identical to a non-ndiswrapper
card.  You don't have to touch wireless.opts

Reply to: