Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
these two lines enable the internal network to communicate with the modem interface ppp0. This is a very simple low level version, and you might want a whole lot more config in ipchains, but it does the job for me.
you should now be able to ping the ouitside world from the LAN.
next you need to set the gaetway on your remote machine. This can be done in linuxconf, or by adding the line
gateway="xxx.xxx.xxx.xxx"
in the /etc/sysconfig/network-scripts/ifcfg-ethX file where X is the interface connected to the lan. probably 0. oh and replace all those x's with the gateways' IP.
That's the bare essentials really. Remeber to set up DNS servers in /etc/resolv.conf and that's about it...
There are handy things like mserver available which sorts out remote modem dialling etc...
ppp0 might not be the right interface. connect to the internet and run ifconfig on the machine that's connected to the internet.
This should display infos about your ethernet-devices and internet device. Might also be something like ippp0 or the alike.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.