[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slip



Hello!

Frank Bartels wrote:
|>David L Watson wrote:
|>
|>> % /etc/slattach -t /dev/ttyb -r 128.2.111.207 
|>
|>slattach does not work for me. I use the following script to attach my
|>TT on my Sun.
|>
|>#!/bin/sh
|>#
|>/etc/iflink -i sl0 -d /dev/ttya
|>stty 19200 -icrnl -isig -icanon -echo -echoe -echok < /dev/ttya
|>/etc/ifconfig sl0 addr 192.9.201.2 dstaddr 192.9.201.0 up
|>/etc/route add 192.9.201.0 sl0
|>
|>Without these stty settings, SLIP will not work properly. The machine
|>will crash if you try to ping the TT from outside.
|>
Indeed, it will crash. Another point is that I did not manage to run
stty properly when using the modm0dev. When I switched back to the
build-in device, everything went fine.

Regrads,
Ulrich