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 am manually configuring a ppp connection. in every time that I run it, pppd outputs
...
local IP address 10.155.86.114
remote IP address 192.168.254.254
primary DNS address 127.0.0.1
secondary DNS address 127.0.0.2
...
shouldn't the remote IP address value here change in each session?
are those dns addresses value correct (isn't it that 127 addresses correspond to my localhost)?
i have the dns addresses in /etc/resolv.conf of my service provider but it is not the same as the output of pppd above. is that also ok?
i can ping the gateway ip address of the provider (10.102.61.46) and another ip address 10.102.61.50 but the remote IP address, or any other ip address does not return any of my ping (doesn't say network unreachable either). but when i do a
`traceroute -I 192.168.254.254` the output is the following
traceroute to 192.168.254.254 (192.168.254.254), 30 hops max, 38 byte packets
1 10.102.61.50 (10.102.61.50) 1308.799 ms 1356.358 ms 1039.679 ms
2 10.138.3.21 (10.138.3.21) 700.447 ms 1338.615 ms 996.630 ms
3 * * *
i am stuck in here. any help is greatly appreciated =)
If you are using KDE, then under your account settings in KPPP (DNS tab) you can set an overide for the existing settings, and whether the DNS servers are obtained automatically from your provider or otherwise. Alternatively, I would use pppconfig from a shell (as root) to set up ppp.
Thanks for the quick reply =)
Actually I really need to be able to configure manually by using ppp scripts because it will be transferred to an embedded device (my distro does not seem to ship with pppconfig either). I just cannot figure out why everything is still not working. I have read a lot of documentations but still I could not figure out what's wrong or what next to do. Seems to me that someone else with networking backgrounds is better equip to understand this.
Ah well, if it were me I'd just do an rpm -i pppconfig (or apt-get install pppconfig, once you get on to debian as this will certainly set the config scripts correctly, allowing a pon/poff command from within any script to control ppp at will. Years ago I did set up the various chatscripts one by one manually, but remember it being a bit wearisome.
Oh bugger! There is the <usepeerdns> flag in pppd, that should be set by pppconfig depending on whether you choose static or dynamic dns servers. Perhaps something else is overiding it... but what that is is beyond me
If you do figure it out, let us know though - I am curious as to what is making it misbehave.
yup I have usepeerdns flag in my options file. how do you choose whether to have dynamic or static ip dns server?
If you set usepeerdns, then pppd will attempt to overwrite your existing resolv.conf with the new dns numbers obtained from your ISP on connection. These will be whatever the ISP decides, whether static or dynamic. Do you think that it might be a permissions problem ? - root should have write access to resolv.conf, all others read access.
Hopefully your ISP isn't just having a bad day, and sending out 127.0.0.x as DNS's after some random reboot
i am already able to connect through a gprs connection. i re-install the os this time removing the lan. then i change the apn- I was using an apn for wap all along.
so thanks to everyone who took the time to read my problems and especially those who gave suggestions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.