Attach serial lines as network interfaces
slattach [-Hhlmn] [-s baudrate] [-t ldisc] ttyname
QNX Neutrino
You can use slattach to assign a TTY line to a network interface that uses asynchronous serial lines.
Currently you use slattach to attach an SL instance (see lsm-slip.so). You have to create an interface, using the ifconfig create subcommand, before using slattach. You can then configure the network source and destination addresses and other interface parameters via ifconfig.
To detach the interface, use ifconfig interface-name down after killing off the slattach process. The interface-name is the name that's shown by netstat.
There's no way to specify the interface name (sl%d, etc.) to be attached by the slattach command. There's also no way to see which interface is assigned to the specified TTY by the slattach command.
Messages indicating that the specified interface is not configured or created, the requested address is unknown, or that the user is not privileged but tried to alter an interface's configuration.
mount -Tio-pkt lsm-slip.so ifconfig sl0 create slattach -t slip -s 115200 /dev/serusb1 ifconfig sl0 inet 192.168.2.1 192.168.2.2 slattach ttyh8 slattach -s 4800 /dev/tty01
NetBSD