net_start.sh 234 B

123456789101112131415
  1. #!/bin/sh
  2. PID=0x511
  3. DEV_NAME=dvb0_0
  4. IP_ADDR=10.1.1.1
  5. ./dvbnet -p $PID
  6. /sbin/ifconfig $DEV_NAME $IP_ADDR
  7. #
  8. # you can reconfigure the MAC adress like this:
  9. #
  10. #MAC_ADDR=00:01:02:03:04:05
  11. #/sbin/ifconfig $DEV_NAME hw ether $MAC_ADDR