Skip to Content.
Sympa Menu

baslinux - Re: [BL] serial networking and telnet server

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] serial networking and telnet server
  • Date: Tue, 19 Oct 2004 20:41:07 +0000 (UTC)

On Tue, 19 Oct 2004, sindi keesan wrote:

Well, now I can telnet or do send/receive between two
computers hooked up with ethernet cable, both in linux,
but not over serial cable.

/root/netsetup has a template for networking via serial cable.

Cheers,
Steven

I tried that already (got that info from a web site earlier)
Just tried it again BL3 to BL2. Won't telnet or even ping.

pppd /dev/tthS0 115200 192.168.1.1:192.168.1.2 local crtscts
registered device ppp0
reversed the numbers on the other computer.

Ping 192.168.1.1 (sends to itself in 0.0 ms)
ping 192.168.1.2 56 data bytes - nothing happens, I hit Ctrl-C
and 100% packet loss

telnet won't work either (with in.telnetd -debug on target computer)

The website said I needed to make a file /etc/ppp/options with things like local and crtscts in it. I will try that next.

Did not help. On BL3 it just does nothing visible except tell me 56 data bytes, on BL2 ping tells me network is unreachable.


I have been reading various HOWTOs and web pages. THere is also slip, cslip, dip and slattach and wvdial and linuxconf to set up ppp but I found one suggestion to use ifconfig.

WHen I run ppp it tells me registered device ppp0. So on the analogy of an ethernet network I typed:
ifconfig ppp0 192.168.1.1 192.168.1.2 (and reversed the numbers
on the other computer).

Now it pings. But will not connect via telnet (same way I tried it for ethernet connection where telnet worked). Connection refused. Do I need to authenticate?

I added noauth to the pppd line. Try again. Connection still refused.
I tried receive/send - connection is still refused.

One site talked about using chat to enter login and password. I have used that in DOS to dial and connect with epppd (DOSppp). I might try this next.

Is there some way to set this up so as not to need login and password?
With ethernet I did not need either to send files. With plip I sometimes had this same problem if things were not set up right (using a script without pauses, for instance).

I was reading about putting the IP address of the incoming computer into
pap-secrets so that authentication would not be required but that did not seem to work. * * "" 192.168.1.2

Can I telnet over a plip connection? At least send/receive already work.
It would be faster but I would need to unplug the printer and I already have a second serial port free. Serial transfer is about 10K/sec, ethernet 1-10MB/sec and parallel was in between (1/40 of ethernet = 250K, 8x serial = 80K?) Ethernet is fine between desktop computers with linux but gets more complicated with DOS, and laptops don't have ethernet connections (mine don't anyway). I presume if kermit works over serial and ethernet it will also telnet/transfer over parallel connection. As should zmodem?

I just tried BL3 kermit for dumb terminal connection to BL2 (first has to kill pppd which was using that serial port).

The first time I tried to connect I got a scrambled screen with
Password spelled with four upper ASCII characters. (Kermit entered my login wrong from the .kermrc file to start with).

I exited the kermit connection and tried again and things were okay.

I then tried to run X from the dumb terminal and it put X on the OTHER computer where I had to use the other keyboard to exit it.

Same thing for links2 graphical (svgalib).
And for seejpeg (also svgalib).

With CLI programs I can stay on the kermit end, using the original keyboard and monitor. Even using color VGA (text mode).

Probably this has something to do with video memory.

I am using a TTL monitor at the same time and when I am NOT in dumb terminal mode I cannot use both TTL and graphical VGA - if I switch between terminals I lose one or the other, but if both are text mode they both continue to display. The graphical memory (half of it) is used by the MDA (TTL) mode.

So a dumb terminal cannot use X on my setup but probably could for people who don't also have a TTL monitor plugged in at the same time on the dumb terminal computer.

How does one go about using one of these two computers as an X server?
(Without server software just agetty).

Would BL3 in 4MB be able to connect to a computer with more RAM (and monitor turned off) and run programs in X? Or even with 3MB? I can't check this until I put it on a computer with just one (VGA) monitor.
Would a (VGA only) DOS computer with 512K and kermit also work for this?

Still don't know how to telnet over a serial cable.
Steven, did you actually have this working with BL2 or 3?

Sindi




Archive powered by MHonArc 2.6.24.

Top of Page