Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Networking two Gentoo machines with a null modem cable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
IronEye
n00b
n00b


Joined: 29 Aug 2004
Posts: 23

PostPosted: Sun Sep 25, 2005 7:41 am    Post subject: Networking two Gentoo machines with a null modem cable Reply with quote

I have two machines. One is Gentoo machine (let's call this A) on my network that connects to the internet through my Windows machine using ICS. The other is a pretty old machine (lets call this B) that is connected to my Gentoo box via a home made 9-pin null modem cable. I currently only have three of the wires hooked up so I'll have to use software flow control. This machine is booting off of a livecd. I want to connect the two machines together so the livecd can have internet access. I set up pppd on A and ran it on ttyS0 and got a blank command line. I assume this is fine. When I tried to connect to the machine with pppd from B I got the error:

Couldn't get channel number: Input/output error.

I was essentially following the guide at: http://www.tldp.org/HOWTO/Serial-Laplink-HOWTO/

How do I know what is hooked up to what ttyS? Can I define any IP addresses I want in /etc/hosts? Does anyone have some general advice or a more thorough guide?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55293
Location: 56N 3W

PostPosted: Sun Sep 25, 2005 10:35 am    Post subject: Reply with quote

IronEye,

Before you set up ppp on thge link, check that the link works. Put minicom on each end and verify you can send characters backwards and forwards over the link.

You cannot use software flow control, since the flow control chacaters can appear in the data on the link. It will be so slow that not using flow control at all should be OK.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
IronEye
n00b
n00b


Joined: 29 Aug 2004
Posts: 23

PostPosted: Sun Sep 25, 2005 1:55 pm    Post subject: Reply with quote

How should I go about getting minicom on the currently networkless machine? Could I simply copy the exectuable file to a floppy one of my Gentoo machines and copy it on to the other. They are both pentium 2's, does this mean I wouldn't have to change the compilation flags on my networked Gentoo machine?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55293
Location: 56N 3W

PostPosted: Sun Sep 25, 2005 2:20 pm    Post subject: Reply with quote

IronEye,

I'm not sure if minicom has any libraries it depends on but the copy process should work if you copy everything.
If you have DOS, you can send files to the serial port with
Code:
file_name > com1:

Which minicom should capture at thge other end of the link. The colon is important.
Likewise you can capture files from com1: with
Code:
com1: > file_name
You need to send the EOF for DOS to write the file, or you will never see it. Thats not easy.

You can also use hyperterm in Windows.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
m_sqrd
Guru
Guru


Joined: 18 Jul 2005
Posts: 367

PostPosted: Sun Sep 25, 2005 5:37 pm    Post subject: Reply with quote

I'd do a emerge --buildpkg "see man emerge" then just copy the file via floppy.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum