NetBSD-Users archive

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

Re: ldattach(8) alike util in NetBSD?



On Sun, Feb 15, 2015 at 11:26:48PM +0100, Fredrik Pettai wrote:
> Hmmm, it doesn’t seem to work well…
> 
> rpi# slattach (-l) -n -s 460800 /dev/ttyU0 (or ttyU1)
> slattach: TIOCSLINED: Device not configured

Are you actually trying to attach a line discipline, or do you just
want to set the baud rate? If you only need to set the baud rate, try
stty. E.g., stty -f /dev/ttyU0 460800

slattach is for attaching a SLIP (sl) network device to the serial
port.
-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym%azeotrope.org@localhost |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 39 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++


Home | Main Index | Thread Index | Old Index