On Thu, Mar 30, 2006 at 10:21:19PM +0200, Vicente Benjumea wrote:
> After reboot, the driver seems working nicely, however, I had to
> manually run
> # iwconfig eth2 essid MY_ESSID mode Managed key MY_HEX_KEY
>
> to make it run, and then
> #dhclient
>
> How can I configure to make all these things automatically at boot time
> (or automatically when the wireless switch is enabled)?
man 7 wireless
man 5 interfaces
Is how you configure it for when the interface goes up (or down). So
something like the following in /etc/network/interfaces.
iface eth2 inet dhcp
wireless-essid MY_ESSID
wireless-mode Managed
wireless-key MY_HEX_KEY
If you're using resolvconf, you'll also need entries like
dns-nameservers and dns-search.
--
Stephen R. Marenka If life's not fun, you're not doing it right!
<stephen@marenka.net>
Attachment:
signature.asc
Description: Digital signature