I don't think udev reacts on eth link transitions though - no new
devices are added or removed in such a case.

On Thu, Oct 22, 2009 at 11:25, Karl O. Pinc <[email protected]> wrote:
> On 10/22/2009 01:06:38 PM, Roberto Riggio wrote:
>> They both look like discontinued projects. There is also a patch
>> pending to include ifplugd into trunk. I'll give it a try.
>
> The normal way hotplug stuff happens is via udev, which has
> it's own readme.  Dunno if openwrt uses udev or not or whether
> it's really the right approach.  Network interfaces are different
> from all other hardware in that they have no /dev node....
>
>>
>> On 10/22/2009 07:58 PM, Maciej Żenczykowski wrote:
>> > Or netplugd (although no idea if it's present on OpenWrt).
>> >
>> > On Thu, Oct 22, 2009 at 08:18, Karl O. Pinc<[email protected]>  wrote:
>> >
>> >> On 10/22/2009 03:06:12 AM, Roberto Riggio wrote:
>> >>
>> >>> Hi,
>> >>>
>> >>> I'm currently using openwrt on an Asus WL-500G Premium. Beside
>> the
>> >>> ethernet
>> >>> connection I also use (from time to time) an umts modem (huwaei
>> >>> e169).
>> >>>
>> >>> At the moment if I yank the ethernet cable the router does not
>> switch
>> >>> to
>> >>> umts
>> >>> automatically. What I do usually is to ssh in the router and
>> bring
>> up
>> >>> the umts
>> >>> connection. Is there a way to automatize this? At the moment I
>> wrote
>> >>> a
>> >>>
>> >>> number
>> >>> of hackish scripts to handled the this thing, but I'm not really
>> sure
>> >>> where I
>> >>> should plug them, somewhere in /etc/hotplug i suppose.
>> >>>
>> >> Maybe there's an ifplugd package you could use?
>> >>
>> >>
>> >>
>> >> Karl<[email protected]>
>> >> Free Software:  "You don't pay back, you pay forward."
>> >>                  -- Robert A. Heinlein
>> >>
>> >> _______________________________________________
>> >> openwrt-users mailing list
>> >> [email protected]
>> >> https://lists.openwrt.org/mailman/listinfo/openwrt-users
>> >>
>> >>
>> > _______________________________________________
>> > openwrt-users mailing list
>> > [email protected]
>> > https://lists.openwrt.org/mailman/listinfo/openwrt-users
>> >
>>
>> _______________________________________________
>> openwrt-users mailing list
>> [email protected]
>> https://lists.openwrt.org/mailman/listinfo/openwrt-users
>>
>
>
>
>
> Karl <[email protected]>
> Free Software:  "You don't pay back, you pay forward."
>                 -- Robert A. Heinlein
>
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-users
>
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to