[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?

Your /etc/network/interfaces should look something like:

iface wlan0 inet dhcp
	wireless-key XXXXXXXXXX
	wireless-essid my-network

Also, make sure that ndiswrapper gets loaded before /etc/init.d/networking

- Ryan

Attachment: signature.asc
Description: Digital signature

Reply to: