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.
I installed Slack9 and setup a dial-up using pppsetup and kppp only, (no /etc/ppp file editing). Dial-up was working ok. I was preparing to setup my eth0 to smb into a win2k box, so I ran netconfig. I was using autodns to access my ISP's nameserver. Now I can't open any webpages etc due to my nameserver/routing being broken. How do I fix this? I've tried re-running netconfig and using "loopback" to no avail. I even retrieved the DNS addresses from my ISP and tried entering them manually in KPPP and pppsetup, but that doesn't work either. Please explain what I did, how I fix it and if possible a link to a good how-to on setting up an external dial-up and internal network. I've read most of the how-to's on this subject but I find that the HOW-TO's do not keep pace with the newest tools/kernels/methods.
Ok, I've done some more with this problem. I can log on to ISP with no problem. I obviously have a routing problem. I've edited /etc/resolv.conf with the domain and nameserver addresses of my ISP (aaahawk.com). The output of route -n is as follows:
Destination Gateway Genmask Flags Metric Ref Use Iface
170.147.97.14 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0.0 U 0 0 0 lo
0.0.0.0 170.147.97.14 0.0.0.0 UG 0 0 0 ppp0
My /etc/ppp/options files contain the following lines
lock
defaultroute
noipdefault
modem
/dev/modem
57600
crtcts
I think my default route is pointing to the wrong interface or is setup up improperly. As I already said logging on and staying connected is no problem. I cannot ping any addresses except my ISP's remote IP address and Gateway. How do I fix this. I've tried setting "route add -net" etc. Can any one help?
Your route looks fine to me. You say you can't ping any addresses except 170.147.97.14? If that's true, you can forget about DNS and /etc/resolv.conf, you've got a deeper problem. Are you running any firewall, such as iptables or ipchains? Do you have a /etc/sysconfig/network-scripts/ifcfg-ppp0, and if so, what does it contain?
I figured it out! I had everything setup ok. My ISP's DNS information listed on their website was outdated. I used dnsquery to verify their dns address from another working linux box.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.