Skip to content

Commit

Permalink
Script for setting up SLIP communication under FreeBSD 6
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdunkels committed Jun 18, 2006
1 parent 1c1aed6 commit b42edd6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tools/freebsd-6-setup-slip
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

# A small script for setting up SLIP under FreeBSD
killall slattach
#stty -f /dev/cuaa0 19200
slattach -l -s 57600 /dev/cuad0
sleep 1
ifconfig sl0 172.16.0.1 172.16.0.2
route delete 172.16.0.0/16
route add -net 172.16.0.0/16 172.16.0.2

0 comments on commit b42edd6

Please sign in to comment.