sudo capture_serial to generate the capture file. It currently stores it to /tmp/output.pcap. After running the script for 60 seconds (default) or killing it with control-c, you can launch wireshark to open it and view the resulting capture. Run Wireshark and open the output.pcap file. You'll see all of the info about the data that passed over the slip interface during the capture. Note that if there is no traffic on the sl0 interface the script never terminates due to a known bug in libpcap. Simply type control-c to kill it. If the slip interface is not up, the script returns immediately without capturing anything. Wireshark is in the XFCE menu under Network. Choose the regular Wireshark. Wireshark is located in /usr/bin. I will be using it to verify your port numbers during the demo.
telnet localhost 13 in any terminal window in the e5-02 lab.
nem@e5-02-01:~/cmpe401/fall2007/labs/lab3$ sudo slipup SLIP_set_disc(1): File exists SIOCSIFADDR: No such device sl0: ERROR while getting interface flags: No such device SIOCSIFDSTADDR: No such device sl0: ERROR while getting interface flags: No such device SIOCSIFNETMASK: No such device SLIP is now upSimply restart it again and the error should go away. This is due to a known kernel bug in ubuntu 7.04's kernel.