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

Re: starting wireless connection on boot


I don't have much knowledge about wireless connection, but I would
like to give my two cents.

On 12/17/05, martin jakubik <martin.jakubik@gmail.com> wrote:
> > Your /etc/network/interfaces should look something like:
> >
> > iface wlan0 inet dhcp
> > wireless-key XXXXXXXXXX
> > wireless-essid my-network
> Thanks a lot. I just got a chance to test this.
> Unfortunately, it doesn't "work". In other words:
> 1) I put the above in my /etc/network/interfaces
> 2) I commented out any lines with eth0 for good measure
> 3) but when I boot up and ping, I get:
> ping -c 5 www.google.com
> ping: unknown host www.google.com

You have to do one more thing to *auto*matically start an interface
during boot time. You'll need to have a line like this:

auto wlan0

Refer to interfaces(5).

> Maybe this is the problem. How do I make sure ndiswrapper is loaded
> before networking? ... I'm clueless about how to control start-up
> scripts.

You need to make an entry of 'ndiswrapper' into /etc/modules so that
the modules get loaded before the networking script is called.

Hope this helps.


Reply to: