Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Connecting two machines

Posted on 1997-07-30
2
199 Views
Last Modified: 2010-03-17
I have two machines, (Machine #1) has Linux 2.0.28 and has modems for dial in connection. (Machine #2) does not yet have modems.

I want to put 4 modems on machine two, this I can configure, I want to have it so that when you dial (Machine #2) that you login on (Machine #1)

Thanks
Bob Ross
0
Comment
Question by:bross073097
2 Comments
 
LVL 3

Accepted Solution

by:
sauron earned 200 total points
ID: 1585791
You don't really give that many details, but here is what I would suggest:-

You really want machine 2 to behave as a kind of terminal server, and simply answer and forward calls. As I see it, your machine must answer incoming calls, so you have to run a process on the serial lines to which your modems are attached. Normally, you would use a getty, which would then spawn a login session. Why don't you set up users on machine 2 such that when a user logs into that machine, the shell in /etc/passwd for that user does an rlogin to machine 1? This seems to me to be one possible answer though a somewhat quick and dirty one.

You could also use a slightly different route. Set up machine 2 as a PPP server, runnign pppd directly from /etc/inittab. Put the modems into auto answer mode, and set things up so that any incoming call is picked up, and machine 2 automatically starts pppd on the serial line. Your remote user would have a PAP or CHAP login for your PPP server, and they could then telnet to Machine 1. You could set Machine 2 up to refuse all logins, so that all it would do for outsiders is route to machine 1.

If you want a better solution than either of these can offer you, I would think you'd need a piece of software that can turn your linux box into a dedicated terminal server, and forward information from a serial line (the modem) across to a second machine connected via a piece of ethernet (I assume). ISP's do this sort of thin with arrays of modems, and I'm sure there would be terminal server software available if you looked hard enough, though I can't think of any packages off the top of my head.

Hope this helps....
0
 

Author Comment

by:bross073097
ID: 1585792
A Little more detail, the answer is all but what I was looking for. The connection is across ethernet connection. Had to take extra phone lines, but in the same building. If I enter login on Machine #2 I would need to keep an updated passwd file from machine one that can be added to 24hrs a day. The phone number is the same.

Now with as green as I am beyond getting the modems to answer and put people to the net.

How do I set up Machine #2 to route over to Machine #1 like you sugjested. At his time I use a standard login: on Machine #1, I have never played with PAP or CHAP, I would rather refuse all logins on #2 and send it to #1

I like how quick you answered.

Thanks
Bob ross

0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question