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 02-01-2007, 03:50 AM   #1
culin
Member
 
Registered: Sep 2006
Distribution: Fedora Core 10
Posts: 254

Rep: Reputation: 32
Ppp


Hi friends,
can anyone tell what is /etc/ppp/options file ?? why is that required ?? and where it is useful...
thanks...

Last edited by culin; 02-01-2007 at 04:11 AM.
 
Old 02-01-2007, 06:47 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
According to man pppd it holds system default options for pppd and is read before user default options or command-line options. Are you having a problem setting pppd options?
 
Old 02-01-2007, 07:20 AM   #3
culin
Member
 
Registered: Sep 2006
Distribution: Fedora Core 10
Posts: 254

Original Poster
Rep: Reputation: 32
why is that required ?? how that works ?? please gimme some tutorials.. to know about PPPD... and in my system... in the file /etc/ppp/options.. nothing is there except a lock written at the first line....
 
Old 02-01-2007, 12:57 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
It's necessary because not all ppp connections are the same. As to how the options work, have a look in man pppd, all of the options are explained there. I've haven't had to manually change any of the settings since I used a modem (before cable or adsl).

Try googling for ppp tutorial - sites like http://www.linux-tutorial.info/modul...name=PPP-HOWTO may be useful to you.
 
Old 02-05-2007, 12:30 AM   #5
culin
Member
 
Registered: Sep 2006
Distribution: Fedora Core 10
Posts: 254

Original Poster
Rep: Reputation: 32
Thanks for that gilead,
If i set up your Linux PC as a PPP server, other systems can connect to my system and access my resources right ??? here if my system is connected to a LAN....,the main server will be doing IP-Masquerading ???
 
Old 02-05-2007, 01:06 AM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Only once they've logged in. There's an old tutorial at http://www.pcquest.com/content/linux.../199030105.asp where they walk through setting up ppp and mgetty.

This is something I haven't done before, but it looks like the user gets their interface to the PPP daemon via mgetty - and mgetty requires them to log in. Once they've connected to your server, they should be masqueraded as your server - but again, that's what I think, not what I've done...

I'd be interested in how you go with this - are you setting up to be an ISP?

Last edited by gilead; 02-05-2007 at 01:08 AM.
 
Old 02-05-2007, 02:45 AM   #7
culin
Member
 
Registered: Sep 2006
Distribution: Fedora Core 10
Posts: 254

Original Poster
Rep: Reputation: 32
Thanks gilead...
what i am trying to do is this... i have internet connection( through broadband ethernet PPPoE) in home...and aslo my friend... now without the use of software like sharaza and lime wire as in windows.. can i connect to my friends PC using this ppp??
and also there is no static IP to our PC i think....now, how can i connect to my friends PC directly .. will PPP helps me ????
 
Old 02-05-2007, 01:07 PM   #8
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Do you both have modems? If you both do (and your friend doesn't have an internet connection), he should be able to dial your PC after you have mgetty and ppp set up.
 
Old 02-06-2007, 02:26 AM   #9
culin
Member
 
Registered: Sep 2006
Distribution: Fedora Core 10
Posts: 254

Original Poster
Rep: Reputation: 32
ya we both have modems.... but we are in different LAN...say he is in LAN A and i am in LAN B.. now is this possible...??? or else gateway issues comes here.. ??
 
Old 02-06-2007, 01:21 PM   #10
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
It shouldn't matter what LANs you're in. The PPP connection will have its own IP address and entry in the routing table.

If you've got all the hardware (and it sounds like you do) then go ahead and try it. I can't help with the configuration, but googling for PPP howtos brings back plenty of info.
 
Old 02-07-2007, 12:21 AM   #11
culin
Member
 
Registered: Sep 2006
Distribution: Fedora Core 10
Posts: 254

Original Poster
Rep: Reputation: 32
oh.. ok thanks gilead... will try for that and come back if i have some doubts...
 
  


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
ppp client cannot browes internet while connecting in the ppp dialin server joel17 Linux - Networking 0 09-04-2006 01:38 AM
Looking for man ppp-on and info ppp-on pages. rvijay Linux - General 1 02-26-2005 08:49 PM
PPP-GO - *help* roguefoxx Linux - Software 0 09-05-2003 09:42 PM
Ppp vinaypai Linux - General 2 06-26-2001 12:31 AM

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

All times are GMT -5. The time now is 02:58 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