Connecting two machines

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
bross073097Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sauronCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bross073097Author Commented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.