Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #167260 > unrolled thread
| Started by | Jarek <jarek@poczta.srv.pl> |
|---|---|
| First post | 2016-05-01 00:40 +0200 |
| Last post | 2016-05-02 12:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.user
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
| From | Jarek <jarek@poczta.srv.pl> |
|---|---|
| Date | 2016-05-01 00:40 +0200 |
| Subject | Interface hotplugging |
| Message-ID | <rtLIm-78D-3@gated-at.bofh.it> |
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 ? best reagrds Jarek
[toc] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2016-05-02 12:10 +0200 |
| Message-ID | <ruiXD-1oV-9@gated-at.bofh.it> |
| In reply to | #167260 |
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-
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web