Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2008 13:46:34 -0400
From:      "Bob Johnson" <fbsdlists@gmail.com>
To:        "Kai Lockwood" <kailockwood@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: SLIP slipping away
Message-ID:  <54db43990803171046q5c19546bjea297fce1dae8cb7@mail.gmail.com>
In-Reply-To: <b5ef8d5c0803151047v231a102k552f64cfed4c5d48@mail.gmail.com>
References:  <200803141803.12974.kailockwood@gmail.com> <004701c886c0$6c866910$0200a8c0@dts> <b5ef8d5c0803151047v231a102k552f64cfed4c5d48@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/15/08, Kai Lockwood <kailockwood@gmail.com> wrote:
> I was just trying to setup a really simple network with a null modem cable.
> I looked into ppp but the documentation I read didn't help and I'm still not
> smart enough to figure out how to do it yet.

I haven't ever used SLIP on FreeBSD, but serial port implementations
can be extremely picky about the use of RS-232 control signals. If
your null modem doesn't at least support DCD you will likely have
problems. In that specific case, slattach -l ... might help (that's a
lower-case "L"). In fact, for a null modem cable, I'd expect the -l
option would be desirable anyway (but as I said, I haven't used SLIP
myself, so that's just conjecture).

slattach(8) seems to say the default behavior is to abort if there is
no reattach script specified (the -r option) unless you specify -l, so
it might even fit the symptoms you describe. In other words, try
slattach -l -s 115200 /dev/cuad0 and see if that helps.

If both systems have Ethernet ports it would be easy (easier, I
suspect) to set up a two-node network with a crossover cable, assuming
that's a workable solution for you.

- Bob



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54db43990803171046q5c19546bjea297fce1dae8cb7>