There are a couple of things you should verify.

1. When the modules part of Dachstein comes up, which is where you will see
the network cards being identified and etc, do you see the serial module
being loaded, or an error.  And also, if it does get loaded, what does it
reference as the serial ports.

2. Check the obvious.  Make sure that both COM ports are enabled under the
system BIOS.

3. PPPd over serial works great.  I used it for awhile as a test project to
get a laptop w/o a network card connected.  It worked fine.  I've since
added a PCMCIA card to that computer and no longer use PPPd.  You should be
able to scan the mailling list for a decent explanation of that work.

As for the SSHd and Serial control of you Dachstein box, I'd like to see the
messages.log file.  Parse it for relevant bits and add it to the email, or
attach the whole file, we can parse it.

Serial control works fine via any terminal, I use SecureCRT from the laptop
that I use to admin these boxes, SecureCRT w/ Serial support works awesome.
Keeps me from having multiple entries and forcing myself to find a spare
network connection.  I just have a single "Serial Connection" listed in my
connection book.

SSHd is a nice tool. Espicially if you decide you want to be able to admin
from outside the network.  You can allow just that port open on the firewall
and be able to admin from work, or anywhere else you see fit. Either based
on restriction of IP, or let the whole internet in, but only to a specific
port, (perhaps a commonly unused port number for SSHd).

At any rate, since you are using Dachstein, there are a number of people
that can help.  Try to stay focused and accomplish one problem at a time.
You'll get a better understanding of the system you are running.

sorry to be long winded, but looking forward to assisting...

Joey


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kache
Sent: Monday, December 23, 2002 1:07 AM
To: [EMAIL PROTECTED]
Subject: [leaf-user] PPP over serial please help


Hello everybody,

I would like to thank everyone for thier help. After
several days of learning and frustration I've
re-shifted my goals.

Instead of controlling the leaf through the serial
port I am going to control it via SSH. Which I am
going to do last. My new main priority is setting up
pppd so I can assign an IP to a comptuer through the
com port.

I am using a null-modem cable. The package of the
cable says:
"This cable can be used as an Interlink/Laplink cable,
or with the Windows95 Direct Cable  Connection
software program. This cable has a crossed
'null-modem' wiring design."

On both ends it has both a serial and parallel port
connector (DB9 and DB25). It's a Belkin F3X171-10 or
127202, I don't which one is relevant.

I'm using the latest Dachstein release. Haven't gotten
around to adding pci-scan.o to a eiger/bearing (why in
the world was that taken out? Can anybody use PCI
cards without pci-scan?)

In an attempt to make sure the serial port was
installed I found serial.o, copied it to the
/lib/modules directory, put it in a line in the
/etc/modules and rebooted. At the this point I when I
issue
echo "hello" > /dev/ttyS0
command I still get the error
cannot create /dev/ttyS0: error 19

I was trying to follow the instructions in this file:
http://www.bogor.net/idkf/linux-heboh/September%202001/LRP/PPPSERV.TXT

While the command
echo "hello" > /dev/ttyS00
doesn't give any error messages although I have no
idea if that actually tells me anything.

I also downloaded and copied over slhc.o and ppp.o,
added them to the modules file, slhc then ppp, then
serial.

I have also added mgetty.lrp and pppd.lrp to my
floppy, ready to be added to the end of the LRP= line
in the syslinux.cfg file.

It appears the ppp.o file does actually load because I
now have a new option in the lrcfg to configure it. I
made the mistake of trying to edit out a few lines
having to with modem init since there is no modem.

And finally in my /etc/inittab my "modem line" line
looks like this:
T3:23:respawn:/sbin/mgetty -x0 -s 9600 ttyS0

One more note: I'm assuming I should be on com1
because this leaf only has one com port to begin with.
So it makes sense to assume it's ttyS0, right? I've
also tried the echo line with ttyS1/2/3/4/5 by the
way. Same error 19.

And now every 5 minutes I get the familiar error
message:
INIT: cannot execute "/sbin/mgetty" (repeats about 12
times)
with a last line reading:
INIT: Id "T3" respawning too fast: disabled for 5
minutes.

A few references:
http://www.linux.org/docs/ldp/howto/PPP-HOWTO/direct.html

http://www.bogor.net/idkf/linux-heboh/September%202001/LRP/PPPSERV.TXT

So to sum up exactly what I want to do:
I want my leaf to assign an IP address to to a
computer over a serial port. This computer will be
running either linux or NT 4.

I'm telling you I've been searching and working on
this for a long time now including lots of googling
(I'm trying to avoid the typical "do a google"
responses).

At this point a simply paste of the lines from the
relevant files would be fine. I find most or all of
the how-tos either grossly outdated, simply
inaccurate, or assuming too much knowledge already.

Thank you for your time,
-keith

=====
LiteStep Log:
http://come.to/litesteplog/

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to