LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-24-2004, 09:49 PM   #1
vampire Janus
LQ Newbie
 
Registered: Dec 2003
Location: Philippines
Posts: 23

Rep: Reputation: 15
help please =) (ppp)


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 =)
 
Old 10-24-2004, 11:20 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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.

Hope this helps a bit.
 
Old 10-24-2004, 11:53 PM   #3
vampire Janus
LQ Newbie
 
Registered: Dec 2003
Location: Philippines
Posts: 23

Original Poster
Rep: Reputation: 15
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.
 
Old 10-25-2004, 02:06 AM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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.

Good luck though.
 
Old 10-25-2004, 02:23 AM   #5
vampire Janus
LQ Newbie
 
Registered: Dec 2003
Location: Philippines
Posts: 23

Original Poster
Rep: Reputation: 15
ok i'll try pppconfig then. i hope it would be able to configure gprs automatically.
thanks for the info =)
 
Old 10-25-2004, 04:52 AM   #6
vampire Janus
LQ Newbie
 
Registered: Dec 2003
Location: Philippines
Posts: 23

Original Poster
Rep: Reputation: 15
pppconfig wasn't much help =) it did create scripts which are basically the same as what I did.
 
Old 10-25-2004, 03:59 PM   #7
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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.

Last edited by mjrich; 10-25-2004 at 04:01 PM.
 
Old 10-25-2004, 07:46 PM   #8
vampire Janus
LQ Newbie
 
Registered: Dec 2003
Location: Philippines
Posts: 23

Original Poster
Rep: Reputation: 15
yup I have usepeerdns flag in my options file. how do you choose whether to have dynamic or static ip dns server?

thanks for the reply =)
 
Old 10-25-2004, 08:01 PM   #9
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Quote:
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
 
Old 10-26-2004, 12:51 AM   #10
vampire Janus
LQ Newbie
 
Registered: Dec 2003
Location: Philippines
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Hopefully your ISP isn't just having a bad day, and sending out 127.0.0.x as DNS's after some random reboot
it has been a week already since it started giving me those dns and it is really consistent =)
 
Old 10-26-2004, 09:19 PM   #11
vampire Janus
LQ Newbie
 
Registered: Dec 2003
Location: Philippines
Posts: 23

Original Poster
Rep: Reputation: 15
this is solved

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.
 
Old 10-27-2004, 02:57 PM   #12
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Great to hear !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to link linux ppp client to windows ppp server? cyz Linux - Networking 2 12-11-2008 05:01 AM
Looking for man ppp-on and info ppp-on pages. rvijay Linux - General 1 02-26-2005 08:49 PM
ls -l /etc/ppp perfect_circle Slackware 3 01-21-2005 04:29 PM
Ppp? petercool Linux - Software 3 06-30-2003 03:54 PM
ppp* Cichlid Linux - Distributions 1 01-11-2002 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration