LinuxQuestions.org
Help answer threads with 0 replies.
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 09-11-2007, 08:04 PM   #1
sidra
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Rep: Reputation: 15
dial in to the system


Hi all,

I'm trying to get ppp set up. I DO NOT want to create a ppp network connection to dial to an ISP. I want my computer to be the host and be able to accept ppp connections from other computers. What do i need to do in order to establish this? Is a process supposed to run or does something have to be configured?

Thanks in advance!
 
Old 09-11-2007, 09:44 PM   #2
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
hi,

need 2 modems,
2 phone lines,

hth.
 
Old 09-11-2007, 10:11 PM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by rossonieri#1 View Post
need 2 modems,
2 phone lines
Why would you need two phone lines? The OP doesn't state anything about needing to be able to have two simultaneous users connected. In any case, I think it's clear he understands the hardware needs. It sounds like he wants to know what to do regarding software.
 
Old 09-12-2007, 05:38 PM   #4
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
well, forgive me if my knowledge is not that wide

but - i have no idea how can i dial into a system using PPP without the use of PPP capable device such as serial connection? maybe 2 modems and 2 lines way too much.

yes, PPPoE can do that, or,
do back-to-back cross-serial connection is ok,

the rest is using webmin|pptp server setup - much simple.

or maybe - you have better idea?
just my opinion.

HTH.

Last edited by rossonieri#1; 09-12-2007 at 05:41 PM.
 
Old 09-13-2007, 02:06 AM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by rossonieri#1 View Post
i have no idea how can i dial into a system using PPP without the use of PPP capable device such as serial connection?
Notice how /dev/modem is just a link to the serial device on the box. It's the same principle as when you connect via dial-up to an ISP (the great majority of dial-up ISPs use PPP).

Quote:
maybe 2 modems and 2 lines way too much.
Without knowing how many simultaneous users sidra wants to have dialed-in, we don't know how many modems/lines he'll need. What we do know is that it'll be one per simultaeous user wanted. Either way, it's beside the point. You still need to setup the PPP dial-up server, which is what he is asking for help with.

Quote:
yes, PPPoE can do that, or,
do back-to-back cross-serial connection is ok,
PPPoE is way off-topic.

Quote:
the rest is using webmin|pptp server setup - much simple.
This is even further off-topic.

Quote:
or maybe - you have better idea?
If I would have had something constructive to share with sidra about how to set up a PPP dial-up server I would have used my last post to share it. At this point, I ask that unless you have something that actually helps sidra setup his PPP dial-up server please refrain from posting. Otherwise, this thread will end-up cluttered with a bunch of off-topic posts.

Now, getting back on-topic: sidra, here's a few HOWTOs I found that might help you get started:

http://www.enterprisenetworkingplane...le.php/2238531

http://brneurosci.org/linuxsetup17.html

http://www.faqs.org/docs/Linux-HOWTO...TO.html#ss4.12

Is that the kind of information you are looking for?

Last edited by win32sux; 09-13-2007 at 02:11 AM.
 
Old 09-13-2007, 04:39 AM   #6
pejman
LQ Newbie
 
Registered: Sep 2007
Location: Iran - Zanjan
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Simple Dial-in Server - Redhat 8.0

Hi folks
I use this procedure to setup a simple dial-in server on Redhat 8.0, maybe it helps you:

I assume that an external modem is connected to COM1 also known as ttyS0.

1- Install mgetty and ppp if they aren't yet:
Code:
# rpm -ivh mgetty-1.1.28-9.i386.rpm
# rpm -ivh ppp-2.4.1-7.i386.rpm
2- Make a new file in /etc/ppp/peers/ named dialin :
Code:
# mkdir -p /etc/ppp/peers
# vi /etc/ppp/peers/dialin
  auth
  -chap
  +pap
  asyncmap 0
  netmask 255.255.255.0
  ms-dns 172.16.10.1
  proxyarp
  lock
  crtscts
  modem
  mtu 1500
  debug
  172.16.10.21:172.16.10.22
3- Add this line to /etc/inittab :
Code:
S0:2345:respawn:/sbin/mgetty -s 57600 -x 3 ttyS0
4- Add this line to /etc/mgetty+sendfax/login.config and comment out other lines that begin with /AutoPPP/ :
Code:
/AutoPPP/ - a_ppp /usr/sbin/pppd call dialin
5- Add username and password of calling user to /etc/ppp/pap-secrets :
Code:
"username"   *   "password"   172.16.10.22
6- Add an alias for ppp-compress-21 module to /etc/modules.conf :
Code:
alias ppp-compress-21 ppp_deflate
7- Reload /etc/inittab with this command :
Code:
# init q
Now everything is ready and you can dial in to your linux box.
Good Luck
 
Old 09-13-2007, 01:08 PM   #7
sidra
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Original Poster
Rep: Reputation: 15
Thanks a lot, i have dial in server set up!
 
Old 09-13-2007, 02:02 PM   #8
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
Quote:
I assume that an external modem is connected to COM1 also known as ttyS0.
Can I use internal modem ?
 
Old 09-14-2007, 10:01 AM   #9
pejman
LQ Newbie
 
Registered: Sep 2007
Location: Iran - Zanjan
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Internal modem support for linux

I have never use an internal modem in linux but maybe these docs can help you :
http://tldp.org/HOWTO/Conexant+Rockw...WTO/index.html
http://www.linmodems.org/
 
Old 09-14-2007, 11:21 AM   #10
sidra
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Original Poster
Rep: Reputation: 15
I'm using a built in internal modem, it works just fine.
 
Old 09-14-2007, 12:21 PM   #11
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
Quote:
Originally Posted by sidra View Post
I'm using a built in internal modem, it works just fine.
your's on board ?..I mean can i go with PCI internal modem ?
can you tell me do i need 2 tel line for this ?.. one with my modem and other for calling ..if i want to call it ..

Last edited by soroccoheaven; 09-14-2007 at 12:35 PM.
 
Old 09-14-2007, 12:23 PM   #12
sidra
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Original Poster
Rep: Reputation: 15
Yes, i'm using a PCI internal built in modem on my server. I just had to download and build the driver for the modem on it and then i was good to go with with dial-in server setup.
 
Old 09-14-2007, 12:31 PM   #13
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
Quote:
can you tell me do i need 2 tel line for this ?.. one with my modem and other for calling ..if i want to call it ..
your modem make/model ?..i am trying it with Motorola smpci56 voice/fax/speakerphone...with no success

Last edited by soroccoheaven; 09-14-2007 at 12:35 PM.
 
Old 09-14-2007, 06:12 PM   #14
sidra
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Original Poster
Rep: Reputation: 15
I have a "Conexant HSF 56k Data/Fax Modem" and yes you need 2 phone lines.
 
Old 09-15-2007, 03:40 AM   #15
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
thanks.. sidra
 
  


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
Dial-in issues for all you system/network Gurus bnutting SUSE / openSUSE 0 03-01-2006 02:38 PM
How to get the dial up connection speed through system-control-network in FC4 TruongAn Fedora 1 10-25-2005 08:53 AM
Lucent modem crashes system on dial up sausagejohnson Linux - Hardware 1 05-31-2004 06:37 PM
using wvdial to dial out from behind a phone system. carmalt Linux - Networking 2 04-15-2004 02:55 AM
Modem not found? trying to set up linux system with dial-up to ATT/Worldnet...help. timothytrespas Linux - Networking 1 05-19-2001 04:21 PM

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

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