Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #199208
| From | Zenaan Harkness <zenaan@freedbms.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: connecting to two networks simultaneously on buster |
| Date | 2018-08-22 02:30 +0200 |
| Message-ID | <wppc5-L2-11@gated-at.bofh.it> (permalink) |
| References | <wph4R-4iD-7@gated-at.bofh.it> <wpiaD-4VN-25@gated-at.bofh.it> <wpn0B-81G-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Aug 21, 2018 at 11:08:10PM +0100, Eric S Fraga wrote: > On Tuesday, 21 Aug 2018 at 16:58, Glenn English wrote: > > On Tue, Aug 21, 2018 at 3:39 PM Eric S Fraga <e.fraga@ucl.ac.uk> wrote: > > > >> Would somebody please point me to the right magical incantation that > >> would allow my desktop computer to have both connections active > >> simultaneously? > > > > I've done that on a couple boxes here -- a laptop (WiFi and an > > Ethernet) and a workstation (2 Ethernets) > > > > On both of them, I wrote a /etc/network/interfaces script to give an > > IP to the Ethernet and start at boot. The others are DHCP and don't > > come on at boot. > > Thanks. I added a few lines to /e/n/i and everything works just fine > now. The actual lines are > > ,---- > | # the USB network for my Gemini > | auto enp0s29u1u1 > | iface enp0s29u1u1 inet static > | address 10.15.19.80 > `---- > > and I simply "sudo ifup enp0s29u1u1" when I need it. > > But I still do not understand why it works automatically on one of the > systems but not the other. One of those mysteries, I guess. Static configuration is by necessity (basically) custom setup - i.e. requires manual intervention. Automatic means the above /e/n/i lines would look like this instead: # the USB network for my Gemini auto enp0s29u1u1 iface enp0s29u1u1 inet dhcp But of course for network-manager, it would by default use dhcp, and you would not manually configure for DHCP in your /e/n/i file. Always remember you can do an in-foreground one shot DHCP like so: sudo dhclient -d enp0s29u1u1 which has the benefit that you can easily kill it as desired with a CTRL-c, AND you can monitor its output immediately, AND you will see immediately if you got the device/ interface name wrong. What's not to like? Good luck,
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
connecting to two networks simultaneously on buster Eric S Fraga <e.fraga@ucl.ac.uk> - 2018-08-21 17:50 +0200
Re: connecting to two networks simultaneously on buster Eric S Fraga <e.fraga@ucl.ac.uk> - 2018-08-21 18:20 +0200
Re: connecting to two networks simultaneously on buster David Wright <deblis@lionunicorn.co.uk> - 2018-08-21 18:20 +0200
Re: connecting to two networks simultaneously on buster Glenn English <ghe2001@gmail.com> - 2018-08-21 19:00 +0200
Re: connecting to two networks simultaneously on buster Eric S Fraga <e.fraga@ucl.ac.uk> - 2018-08-22 00:10 +0200
Re: connecting to two networks simultaneously on buster Zenaan Harkness <zenaan@freedbms.net> - 2018-08-22 02:30 +0200
Re: connecting to two networks simultaneously on buster David Wright <deblis@lionunicorn.co.uk> - 2018-08-23 02:20 +0200
Re: connecting to two networks simultaneously on buster Vincent Lefevre <vincent@vinc17.net> - 2018-08-24 14:10 +0200
Re: connecting to two networks simultaneously on buster David Wright <deblis@lionunicorn.co.uk> - 2018-08-24 18:10 +0200
Re: connecting to two networks simultaneously on buster Lee <ler762@gmail.com> - 2018-08-24 22:10 +0200
csiph-web