Re: USB wireless adapter auto startup
hi,
Finally I put the following line into /etc/hotplug/usb.usermap
wlan 0x0003 0x2c02 0x14ea 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00
0x00000000
and write a script (/etc/hotplug/usb/wlan) to let it call "ifup wlan0",
then it work!
Thanks
Tony Godshall wrote:
> 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
>>>
>>>
>>
>>
>>--
>>
>>
>>--
>>To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
>>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: