LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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, 05: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, 05:58 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,944

Rep: Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671
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, 11: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, 12:40 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,944

Rep: Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671
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, 10: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, 10:53 AM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,944

Rep: Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:19 PM
Dial-In PPP dial-in server/ Cable-modem & LAN / Setting up "dannyboyOnline" dannyboy259 Linux - Networking 2 01-12-2007 01:40 AM
Setting up a dial-in server. ssd26 Linux - Networking 1 11-16-2005 03:29 AM
Setting-up dial-in & dial-up server in same machine sebastianjustin Linux - Networking 1 09-20-2003 03:35 PM
setting up a dial-in ppp server bobthebat Linux - Networking 1 04-09-2001 03:17 AM


All times are GMT -5. The time now is 01:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration