LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2006, 10:26 PM   #1
slack66
Member
 
Registered: Jul 2003
Location: manila
Distribution: slackware 8 to 9
Posts: 199

Rep: Reputation: 30
agety dial-in setup


i just want to access my remote server using agetty how do i configure my linux box to become a dial-in server?
and iam using windows xp to access my linux box
 
Old 05-01-2006, 08:30 PM   #2
joking
LQ Newbie
 
Registered: Feb 2004
Location: Western NC
Distribution: RH 5.2, 7.3, Fedora, Gentoo
Posts: 15

Rep: Reputation: 0
modifying /etc/inittab on most systems to respawn the port you have the modem on will do the trick. you will have to either init q or reboot the server at that point then when you dial in it should answer on between rings 1 and 3.

or you can attach the server to the internet and vnc into the server. run apache on the server for web interface. run a secure ftp server for file transfers.

don't forget to create a user and a strong password on the server.
 
Old 05-01-2006, 08:37 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
http://www.faqs.org/docs/Linux-HOWTO...tml#PPP-SERVER


You really should follow a howto like the one above first. This way you will have more of an idea what's going on and then if you have questions you could get more detailed help.

However I'm not using agetty and recommend mgetty since I'm using it.

I can also receive faxes on the same line and they can be emailed to you as they are received.

It's not complicated at all.

Here is my options file which I have added some dns stuff and wins server to it...

Code:
# > cat /etc/ppp/options



asyncmap 0
netmask 255.255.255.0
ms-dns 68.63.0.5
ms-dns 68.63.0.6
ms-wins 192.168.1.101
proxyarp
lock
crtscts
modem
mtu 512
debug
and /etc/inittab entry which answers the phone. You have other options here so see man mgetty..
Code:
S0:2345:respawn:/sbin/mgetty -s 57600 -x 3 ttyS0
My method of starting the login in /etc/mgetty+sendfax/login.config...
Code:
/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap login asyncmap 0 192.168.1.101:192.168.1.201
You could also support chap if you wish.

The method I prefer using requires that the users allowed to login are added to the pap-secrets file.
Code:
#cat /etc/ppp/pap-secrets
# client        server  secret                  IP addresses
david           *       ""              192.168.0.201
Don't put your password in the file

Last edited by DavidPhillips; 05-01-2006 at 08:47 PM.
 
Old 05-04-2006, 08:04 AM   #4
slack66
Member
 
Registered: Jul 2003
Location: manila
Distribution: slackware 8 to 9
Posts: 199

Original Poster
Rep: Reputation: 30
thank david

i will try to install mgetty to my linux box another question if i dont have a dns server can i ommite the ms-dns option? and can i access my linux box thru my windows without using hyperterminal???
 
Old 05-04-2006, 11:34 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
You can omit the dns if the box is not accessing the internet it's not needed. However if the box has a connection then you could use it as a dialup ISP. I am guessing it does not and that's why you are dialing in.



Once you have logged in you could use putty. Putty will work for several types of shell logins. You should use ssh to be sure the connection is secured. It is pretty safe to have ssh running as opposed to the other unsecured logins like telnet.



You could also use vnc for a desktop gui but it will be too slow over a modem.
 
  


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
Dial-up Connection Setup vikaskgupta Linux - General 1 12-08-2005 10:52 AM
modem setup help, yes, dial-up itsjustme Ubuntu 2 10-16-2005 04:23 PM
How to setup dial up connection? bpavanchand Linux - Newbie 2 10-06-2005 05:09 AM
Dial up internet setup Darkhlmt32 Linux - Hardware 3 09-18-2003 08:10 PM
Modem setup for dial up? matthewf Slackware 3 09-10-2003 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration