DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a debian install on a machine with 2 eth cards,eth0 and eth1.
eth0 has been configured using pppoeconf for a pppoe connection which
is working fine.
eth1 was meant to be there in order to provide for a nat so that an
internet connection can be provided to another computer also using debian.
The moment I plug in the cable to eth1 , eth0 stops working.
(Is this caused maybe by hotplug ?)
The goal was to actually get eth1 working also without breaking eth0's connection and afterwards make a nat using iptables.
The same thing was done using Slackware and netconfig+pppoeconf and there
were no problems.
The pppoe is up using the pppd service and it was configured using pppoeconf.
I tried to find out the problem by trying to find out which file is beeing
modified when I plug the cable in eth1 so I did
strace ifconfig eth1 2>&1 | grep open
I got a list of files and I suspect /proc/net/if_inet6 is the file
that ifconfig modifies and reads thata from.
So I decided to do sudo lsof | grep if_inet6 in order to find out
what process uses the hotplug feature to autodetect when I put the cable
inside eth1.
Unfortunately I find no process that did this.
What should I do so that the internet connection doesn't drop when I plug in the cable for eth1 ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.