Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #167349

Re: Interface hotplugging

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: Interface hotplugging
Date 2016-05-02 12:10 +0200
Message-ID <ruiXD-1oV-9@gated-at.bofh.it> (permalink)
References <rtLIm-78D-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, May 01, 2016 at 12:00:30AM +0200, Jarek wrote:
> Hello!
> 
> 	I'd like to know, if it is possible to configure networking in Debian
> headless box (no gui), so the USB 4G dongle will hijack default route
> from ethernet interface after plug-in, and return default route after
> disconnection.
> 	Is it possible ?

In general, yes.

If you are using plain /etc/network/interfaces, you have a "pre"
and "post" command available for each interface. 

"ifplugd" automates that nicely.

"ifscheme" is a package on top of interfaces which offers
labelled configuration sets. "home" and "work", for instance.

ifupdown-multi handles multiple default routes

wicd can handle all sorts of interfaces, and does not require an
X11 display.


-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Interface hotplugging Jarek <jarek@poczta.srv.pl> - 2016-05-01 00:40 +0200
  Re: Interface hotplugging Dan Ritter <dsr@randomstring.org> - 2016-05-02 12:10 +0200

csiph-web