# NL4R and other flashsc fun ## Establishing a PPP link to a NL4R over the serial port When connected over a serial console to a NL4R (or any other "Linux L1", I presume), if you need to turn this into a ppp connection: ``` # cat > /work/ppp-forever #!/bin/sh sysctl -w kernel.printk='0 4 1 0' while true ; do /usr/sbin/pppd /dev/console 38400 192.168.200.10:192.168.200.20 crtscts done ^D # chmod +x /work/ppp-forever # exec /work/ppp-forever ``` On IRIX, in order to establish this connection: - in /etc/uucp/Devices, there should be one line starting with Any uncommented with your tty: ``` Direct ttyd5 - Any direct ``` - in /etc/uucp/Systems, one line with the name of your host: ``` nl4r Any Direct 38400 "" ``` - in /etc/ppp.conf: ``` nl4r add_route localhost=192.168.200.20 remotehost=192.168.200.10 bps=38400 quiet ``` - in /etc/hosts: ``` 192.168.200.10 nl4r ``` Then you can run: ``` # ppp -d -r nl4r [...] ``` Once you `ping 192.168.200.10` the connection will get established. *Leave this ping running.* I had trouble disabling/increasing the automatic disconnects, though that may have been related to me not turning off kernel printk console messages. At this point, you'll want to rsh to this machine and fire up the L2: ``` # rsh -l root nl4r init 4 ``` And you should be able to `telnet nl4r 9001` and get an L2 prompt. ## Actually flashing something to a NL4R ????