LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-29-2013, 04:04 PM   #1
treichhart
LQ Newbie
 
Registered: Jun 2013
Posts: 8

Rep: Reputation: Disabled
Setting up dial up server on linux


Hey Guys
I am just wondering what all I need to setup linux dial up server. Because I am planning on using ubuntu 12.04.2 LTS and external 56k modem but what else I need to complete this?
 
Old 06-29-2013, 04:58 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by treichhart View Post
Hey Guys
I am just wondering what all I need to setup linux dial up server. Because I am planning on using ubuntu 12.04.2 LTS and external 56k modem but what else I need to complete this?
Do you mean you want people to dial IN to your Ubuntu server, or you want to dial OUT?

For either, just plug in your modem. The device name is going to be needed. If it's a USB modem, chances are it'll be /dev/ttyUSB0. If you're using an old-style serial port, it's probably /dev/ttys0 or the like.

For dial-out, to an ISP:
http://www.debianadmin.com/setting-u...in-ubuntu.html

For dial-in, you need mgetty:
http://ubuntu.5.x6.nabble.com/mgetty...td4998497.html

There are many more documents you could easily find with a Google search, if you tried.
 
Old 06-29-2013, 10:29 PM   #3
treichhart
LQ Newbie
 
Registered: Jun 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Well im looking for dial in server setup and I am just wondering if anybody else have set one up.
 
Old 06-30-2013, 11:40 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by treichhart View Post
Well im looking for dial in server setup and I am just wondering if anybody else have set one up.
Ok, so read the second part of what I posted to you, with the name of the program to set up (mgetty, or Modem getty).

From that post, create /etc/init/ttyS1 (or 0, or whatever your device name is), with contents like this:
Code:
# ttyxxx - mgetty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]

respawn
exec /sbin/mgetty -D ttyxxx REPLACE the xxx with whatever your device name is
Again, this assumes that you've installed the mgetty software through your Ubuntu software manager. That will get you a dial-in connection. This isn't a dial-up TCP/IP connection, though, but a serial terminal. Do you mean you want SLIP working?
 
Old 06-30-2013, 09:14 PM   #5
treichhart
LQ Newbie
 
Registered: Jun 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Alright so how would this work if you only got one number and you want 1 or more people to connect to it? just add more serial modems or what?
 
Old 07-01-2013, 09:53 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by treichhart View Post
Alright so how would this work if you only got one number and you want 1 or more people to connect to it? just add more serial modems or what?
One phone number = one modem. Can't ever do more than that. If you want more than one person to log in, either person number 2 can wait until person number 1 logs off and disconnects, or you get more phone lines/modems.

If you need more modems, plug them in, give each one a phone line, and set them up as you did the first one, just put the different serial port info in.
 
  


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
Need help setting up a dial on demand dnsmasq dhcp server with a decent firewall i nekkutta Slackware 0 03-22-2008 01:19 PM
Dial-In PPP dial-in server/ Cable-modem & LAN / Setting up "dannyboyOnline" dannyboy259 Linux - Networking 2 01-12-2007 12:40 AM
Setting up a dial-in server. ssd26 Linux - Networking 1 11-16-2005 02:29 AM
Setting-up dial-in & dial-up server in same machine sebastianjustin Linux - Networking 1 09-20-2003 02:35 PM
setting up a dial-in ppp server bobthebat Linux - Networking 1 04-09-2001 02:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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