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 06-09-2006, 12:00 AM   #1
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
even after succesfully connected, machine can't access net


Hello all,
This is not entirly my issue, although now i'm a part of it.
For a week i'm trying to help a guy in bringing his machine to internet. But now the problem is out of my knowledge.
please help him as well as me.
Here is his thread

regards
 
Old 06-09-2006, 07:29 PM   #2
philipvarghese
Member
 
Registered: Dec 2005
Posts: 36

Rep: Reputation: 21
Please add this line in /etc/ppp/options

usepeerdns

and now reconnect and start ping
if it works please call back and say it worked.

thankyou.
 
Old 06-09-2006, 09:16 PM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by philipvarghese
Please add this line in /etc/ppp/options

usepeerdns

and now reconnect and start ping
if it works please call back and say it worked.

thankyou.
Thanks for the reply philipvarghese.
Problem has already been solved. You can check that on the same link i specified in last post.
I don't know what "usepeerdns" will do but definitely problem wasn't with DNS settings. Problem was with default route only.

could you please explain the use of "usepeerdns" in /etc/ppp/options ???

regards
 
Old 06-10-2006, 08:33 PM   #4
philipvarghese
Member
 
Registered: Dec 2005
Posts: 36

Rep: Reputation: 21
Please open a terminal an type,

man pppd

it will help you understand the options that pppd accepts to connect and access net

usepeerdns
Ask the peer for up to 2 DNS server addresses. The
addresses supplied by the peer (if any) are passed to the
/etc/ppp/ip-up script in the environment variables DNS1
and DNS2, and the environment variable USEPEERDNS will be
set to 1. In addition, pppd will create an
/etc/ppp/resolv.conf file containing one or two name-
server lines with the address(es) supplied by the peer.


also if you had to add this line in your machines /etc/ppp/options it would have had no problem accessing net.

defaultroute
Add a default route to the system routing tables, using the peer
as the gateway, when IPCP negotiation is successfully completed.
This entry is removed when the PPP connection is broken. This
option is privileged if the nodefaultroute option has been spec-
ified.


Thankyou.
 
  


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
unable to connected to the net after reboot xxx_anuj_xxx Linux - Networking 2 05-20-2005 01:04 PM
problems in getting connected to the net raghavendra Linux - Networking 6 05-04-2005 08:08 AM
connected to an isp but cannot browse the net ruhl22 Fedora 5 06-13-2004 01:43 PM
How to access MAC id of a machine in WAN set up thru router connected via ISDNline? Ramanathan Linux - Security 1 04-08-2004 02:20 AM
Problems when connected to the net Radiouk Linux - General 1 05-26-2003 01:31 PM

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

All times are GMT -5. The time now is 11:45 PM.

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