File: net_start.sh

package info (click to toggle)
linuxtv-dvb-apps 1.1.1%2Brev1483-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,556 kB
  • sloc: ansic: 48,832; makefile: 792; perl: 236; sh: 110; xml: 13
file content (15 lines) | stat: -rw-r--r-- 234 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

PID=0x511
DEV_NAME=dvb0_0
IP_ADDR=10.1.1.1

./dvbnet -p $PID

/sbin/ifconfig $DEV_NAME $IP_ADDR

#
#  you can reconfigure the MAC adress like this:
#
#MAC_ADDR=00:01:02:03:04:05
#/sbin/ifconfig $DEV_NAME hw ether $MAC_ADDR