Originally Posted by DeTer
Okay, one difference I noted immediately is that the netmask is missing from your ifconfig statement. Also, you need to use net0 in v2.5.2 and eth0 in v3.1. You may have the wrong rc.net for your rc.sysinit. Check your versions caarefully to see which ones should go together. Which version are you getting these files from? Here is my v2.5.2 rc.net (turbonet):
# Copyright (c) 2001-2002 TiVo Inc.
# THE FOLLOWING LINES ARE FOR DHCP
#if [ "$DEBUG_BOARD" != true -o "$dhcp" == true ]; then
# if detectDynamicNet; then
# mkdir -p /var/state/dhcp
# /sbin/dhclient -q "$DYNAMIC_NET_DEV" 2>/dev/null &
# THE FOLLOWING LINES SET UP STATIC IP
ifconfig net0 192.xxx.xxx.2 netmask 255.255.255.0 up
On my v3.1.0 DTivo with cachecard, my rc.net looks like this:
As for your rc.sysinit, yours matches my v3.1 version except for the last line. I changed mine when I found a comment somewhere about the default exec statement leaving a shell opened. That may be the real source of the problem. But I'm only guessing at this point. I know my setup works perfectly. Here's the last few lines of my rc.sysinit:
if /sbin/insmod -f /lib/modules/turbonet2.o macaddr=00:0B:AD:69:C6:67 debuglevel
=3 ; then
/sbin/ifconfig eth0 192.xxx.xxx.3 netmask 255.255.255.0 up
/sbin/route add default gw 192.xxx.xxx.14
# Start xPlusz
Oh, and you can't use the Xupgrade CD to revert a v3.1 install to a v2.5 or v2.5.2 install. You have to start over by restoring the v2.5 image and then Xupgrade to v2.5.2.
[ ! -f /etc/rc.d/rc.sysinit.author ] || /etc/rc.d/rc.sysinit.author
if [ -f /tvlib/tcl/tv/allnight.tcl ]; then
echo "Firing off call test"
# END CALL_ALL_NIGHT
echo "rc.sysinit is complete"
# keep this at the very end
# exec < /dev/ttyS3 >& /dev/ttyS3; bash --login
/bin/bash --login < /dev/ttyS3 >& /dev/ttyS3 &