NetBSD-Users archive

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

Re: ldattach(8) alike util in NetBSD?




Am 16.02.15 um 02:52 schrieb Dave Huang:
> 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.

Actually that is not correct.  In NetBSD, slattach is used to attach
_any_ line discipline (by name).


Home | Main Index | Thread Index | Old Index