Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am attempting to make a connection to a Linux box via a serial cable. I understand this is odd, but this is the way it must be done. The Windows (2k) machine has made the connection, after I configured it in Network and Dial-up connections, and told it to use a SLIP: UNIX connection. How can I configure the Linux machine to accept the communication from the Windows machine?
Well I used to use a serial cable like you, but i recently upgraded to a real network.
But here's what I did on my linux box:
First off you want to make sure you have PPP installed, and then change the setting on your W2K box to PPP not SLIP... I don't know anything about Slip so no one bash me please. For me, my settings have always been at 115200 baud for my serial connection (it works). So I used pppd to initiate a connection.
You simply go to the Linux Terminal, go to super user mode, and type in:
pppd -detach crtscts lock 192.168.0.1:192.168.0.2 115200 (change the first IP to the IP you want your Linux box to be on, and the second IP will be your windows 2k box)
And then you should go to your windows 2000 machine and try to direct connect now using PPP. Try to ping the other one to see if it works.
This is how I've always done it (or used to), I hope it helps.
Thank you both for your replies. johnp05, I tried your command, but linux choked on it. I see where you are going with it, though. I can use the pppd command with different options, I think. Any other suggestions are welcome.
Sorry about that operator! I forgot to mention the device in pppd. Forgive me for leaving out such an important command.
Say on your windows 2000 box you are connected at Com1, and you are probably on your only or Com1 port on your Linux box too.
In linux, it is /dev/ttyS0, so you need to add that to the pppd command, like so.