Re: USB wireless adapter auto startup
Ah, I see.
So what you need it to look at hotplug (which handles usb
events). I think there's a place in /etc/hotplug/... where you
can put a script like this:
#!/bin/sh
ifup wlan0
According to BenLau,
> Hi Tony Godshall,
>
> Thankls you.
>
> However , the solution didn't work for me. Because I won't plug the
> adapter when the notebook just power on... I hope it can start
> automatlically when I plug it into USB socket.
>
> Tony Godshall wrote:
> > According to BenLau,
> >
> >>Hi all!
> >>
> >> I recently got a USB wireless adapter( GW-US11H) . It required a
> >>patched version of linux-wlan-ng. I have patched the source and install
> >>it After I added the configuration of wlan0 to /etc/network/interfaces
> >>, and then I can use "ifup wlan0" to start up the device and gain IP
> >>through DHCP successfully. However , I would like the device can start
> >>up autoamatically. How can I make debian be able to do so?
> >>
> >>Thanks for any help!
> >>
> >>p.s that is my /etc/network/interfaces
> >>
> >>iface wlan0 inet dhcp
> >> wireless_mode managed
> >> wireless_nick mylaptop
> >> wireless_enc off
> >> wireless_channel 1
> >
> >
> > in /etc/network/interfaces, change
> > auto lo
> > to
> > auto lo wlan0
> >
> >
>
>
> --
> Ben
> Embedded Linux Developer benlau@sw-linux.com
> Sun Wah Linux Limited www.sw-linux.com
> Tel: 852 2250 0227
> Fax: 852 2259 9112
>
>
> --
> To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: