You'll want to add an entry for it to /etc/networking/interfaces, it
will look similar to this:

auto ath0
#iface ath0 inet dhcp

The auto directive will make it come up automatically at boot, and
shutdown cleanly when you power down.

The iface line (which is commented out in the example above) will let
you set options such as dhcp, or nameservers, or a wireless network to
autoconnect to.

If you want to just automatically do the ifup/ifdown the auto line is
all you need.

Happy hacking!!

On Sat, 2008-07-19 at 01:07 -0700, Eugene Tsai wrote:
> Hi there,
> I am a linux newbie and recently installed ubuntu onto a Toshiba
> laptop (Satellite P25-S607). I have a couple questions about a Netgear
> WPN511 PCMIA card that worked under Windows to connect wirelessly to
> my router at home. Initially, the card did not work. But after a bit
> of internet research and trial and error, I am able to get the card to
> work, but not automatically. That is, when I first boot up, the card
> does not work, until I use the Terminal program and enter the
> following lines:
> sudo ifdown ath1
> sudo ifup ath1
> After those two commands, the wireless card works. How do I set up the
> computer so that I don't have to manually type in those two commands?
> Can someone explain what is going on and why is it that these two
> commands are able to get the card to work?
> 
> Thanks,
> Eugene Tsai
> 
> 
> 
> _______________________________________________
> Fwlug mailing list
> [email protected]
> http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org
-- 
--
Jon Bartels
[EMAIL PROTECTED]


_______________________________________________
Fwlug mailing list
[email protected]
http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org

Reply via email to