aboutsummaryrefslogtreecommitdiffstats
path: root/util/dvbnet/net_start.sh
blob: b155989075c749de97f865b5eb192204ebe181a5 (plain)
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