On Mon, 16 Mar 2009, Sean wrote:
> Hi All,
>
> On my TS-7260 I have a USB-ethernet adaptor that I'd like to come up when
> it's plugged in. In my /etc/network/interfaces file I have:
>
> allow-hotplug eth1
> iface eth1 inet static
> address 192.168.123.1
> netmask 255.255.255.0
> gateway 192.168.123.1
> up /etc/init.d/dhcp3-server start
> down /etc/init.d/dhcp3-server stop
>
> and I get the messages
>
> hub.c: new USB device not_pci-3, assigned address 4
> pegasus.c: eth1: ADMtek ADM8511 "Pegasus II" USB Ethernet
> pegasus.c: setup Pegasus II specific registers
>
> when I plug in the device, but the interface eth1 does not come up. I
> can bring it up manually. Anyone know why it's not coming up when I plug
> the device in?
I think you need to determine which hotplug scripts get run when the device
is plugged it, or create them if they do not exist, and make sure they do
the necessary if-up stuff to make the interface active. Just because
there is a line "allow-hotplug" does not mean that their is necessarily any
mechanism to auotmatically bring up interfaces. Do "man interfaces"
on a debian system for more.
Unfortunately I can't help you further with the hotplug system, sorry.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|