Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.