2007-08-27, 01:47 AM
How does this work? I added the following to my config file.
But it didn't work. I tried the following.
Shouldn't that have returned something? I am using the Aug24 alpha dongle with the new GUI stuff. Is it because my MVP use eth1 instead of eth0?
I have a wireless MVP. I assume eth0 would be the wired port.
Greg
Code:
if [ $MAC = "00:0D:FE:00:3A:93" ]; then
mvpmc --vlc 192.168.10.44 -f /etc/helvB14.pcf -c 192.168.10.44 --emulate 192.168.10.20 --web-port 80 --weather-location CAXX0212_c &
else
mvpmc --startup emulate --vlc 192.168.10.44 -f /etc/helvB14.pcf -c 192.168.10.44 --emulate 192.168.10.20 --web-port 80 --weather-location CAXX0212_c &
fi
Code:
# echo $MAC
#
Code:
# ifconfig
eth1 Link encap:Ethernet HWaddr 00:0D:FE:0C:3A:93
inet addr:192.168.10.80 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20098 errors:0 dropped:0 overruns:0 frame:0
TX packets:15266 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:18193905 (17.3 MiB) TX bytes:2006668 (1.9 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Greg
Server:
GBPVR 1.4.7
Capture: Hauppauge PVR-150MCE
[COLOR="DarkRed"]Clients:
[/COLOR]Media MVP: 2 wired(default dongle), 1 wireless(mvpmc dongle)
PCH A-100: 1 (mvpmcx2)
GBPVR 1.4.7
Capture: Hauppauge PVR-150MCE
[COLOR="DarkRed"]Clients:
[/COLOR]Media MVP: 2 wired(default dongle), 1 wireless(mvpmc dongle)
PCH A-100: 1 (mvpmcx2)