-
Yes i can access http://minnie.tuhs.org/
Hope the info below helps.. :-)
Melissa.
/etc/tclient.conf
000:
# Dennis' Emulator
126::66.23.218.193:80:::
# This is for the server emulator on minnie. Trouble if your ISP blocks HTTP .9
#127::131.244.9.101:80:::
# This uses emuProxy2 to avoid problems with transparent proxy. Thanks Tim!
127::127.0.0.1:8000:::
rc.sysinit.author
# Emu Proxy
# A tool for cleaning up the HTTP output by the Tivo in order to pass through
# transparent proxies, etc.
# Works in conjunction with a small hack to the emulator to accept the header
# "TivoURLBase" which is the base url to give back to the Tivo when specifying
# data paths.
# Runs by default and is dependent on the
# 127::127.0.0.1:8000:::
# entry in tclient.conf
# IF YOU COMMENT THIS OUT SO IT DOESN'T RUN, YOU MUST EDIT THE "127" entry
# in /etc/tclient.conf to reflect the IP and port of the emulator you are using
# There is a backup of the original here: /etc/tclient.conf-oztivo
if checkyesno emuproxy_enable; then
if [ "$emuproxy_version" = "2" ]; then
# Run emuProxy2
# Usage: %s [-d] [-h] [-l localport] [-L listenAddr] [-s serverip]
# [-p serverport]
/hack/bin/emuProxy2 -s 131.244.9.101 -p $emulatorport &
fi
if [ "$emuproxy_version" = "3" ]; then
# Run emuProxy3
# Usage: %s [-d] [-h] [-l localport] [-L listenAddr] [-s serverip]
# [-p serverport]
/hack/bin/emuProxy3 -s 131.244.9.101 -p $emulatorport &
fi
if [ "$emuproxy_version" = "ZA" ]; then
# Run emuProxyZA
# You can change the emulator name/port in /etc/oztivo.conf
# For other config changes, do them in /hack/etc/emuProxyZA.conf
/hack/bin/emuProxyZA -s $emulator -p $emulatorport &
fi
fi
-
I agree with wibble and your tclient.conf shows that you should be already using one of the emuproxys.
Try 'ps ax | grep Proxy' without the quotes to see which proxy is loaded
Also also show the contents of your /etc/sysinit.conf (if it exists).
If it doesn't exist, then show your /etc/dflt_sysinit.conf file.
Which ISP are you with?
Peter.
-
I'm with Netspace.
[TiVo [p0] ~]# ps ax | grep Proxy
164 ? S 0:00 /hack/bin/emuProxyZA -s minnie.tuhs.org -p 80
268 p0 SW 0:00 grep Proxy
There wasn't /etc/sysinit.conf, but here's /etc/dflt_sysinit.conf :
Thanks, Melissa.
# Parameters controlling rc.sysinit.author
ccxstream_enable="NO" # Start ccxstream
cron_enable="YES" # Start cron
tivoftpd_enable="YES" # Start tivoftpd
tivoweb_enable="YES" # Start TivoWeb or TivoWebPlus:
tivoweb_version="PLUS" # Set to "" for TivoWeb, or "PLUS"
autospace_enable="YES" # Start Autospace
vserver_enable="NO" # Start vserver
endpad_enable="YES" # Start endpad
copymod_enable="NO" # Install /lib/modules/copy.o
emuproxy_enable="YES" # Start one of the emuproxy programs:
emuproxy_version="ZA" # Either "2", "3" or "ZA"
report_ip_enable="YES" # Report the IP address at boot time
trickey_enable="YES" # Start trickey
k9tivo_enable="NO" # Start k9tivo ntp client
bufferhack_enable="NO" # Start bufferhack
bufferhack_size="60" # 60 minute bufferhack buffer size
#
# Functions used by the rc.sysinit scripts
# DON'T CHANGE ANYTHING BELOW THIS LINE!
#
# checkyesno var
# Test $1 variable, and warn if not set to YES or NO.
# Return 0 if it's "yes" (et al), nonzero otherwise.
# Borrowed from FreeBSD 6.x.
#
checkyesno()
{
eval _value=\$${1}
#debug "checkyesno: $1 is set to $_value."
case $_value in
# "yes", "true", "on", or "1"
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
return 0
;;
# "no", "false", "off", or "0"
[Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0)
return 1
;;
*)
echo "Warning: ${1} is not set properly - see /etc/dflt_sysinit.conf"
return 1
;;
esac
}
-
Ok, emuProxyZA is running correctly.
Did you try a call home while the TiVo was directly connected to your router?
Peter
-
Yes i did and got the same result, timing out. Any other suggestions out there?!
Many thanks,
Melissa.
-
Well I can say it is not TiVo hardware at fault. You either get something or nothing at all. Given you can at least send and receive commands via Telnet and TiVoWEB means you have got the hardware talking.
I didn't set anything out of the ordinary when setting up the image and the initial setup and testing did work. Given such unless something has gone wayward since handing over I know that Netspace should not have any proxy issues which only leaves local settings or the modem/router with an issue.
-
Have you established that DNS is working on your tivo? Can you try
Code:
ping -c 1 minnie.tuhs.org
You should see something like
Code:
PING minnie (131.244.9.101): 56 data bytes
--- minnie ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
Which means that the Tivo can resolve the hostname OK.
Now, to check that emuproxy is listening on the right port, type:
You should see a line like:
Code:
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN
Now see if you can access minnie directly, and then with the proxy. Try:
Code:
wget -v http://minnie.tuhs.org -O direct_test.html
and
Code:
wget -v http://localhost:8000 -O proxy_test.html
Now check the files saved by wget:
You should get something like:
Code:
-rw-r--r-- 1 0 0 7388 Feb 28 17:45 direct_test.html
-rw-r--r-- 1 0 0 7388 Feb 28 17:42 proxy_test.html
Then post all your results here.
-
ok, thanks everyone, here's the results....
[TiVo [p0] ~]# ping -c 1 minnie.tuhs.org
PING minnie (131.244.9.101): 56 data bytes
--- minnie ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
[TiVo [p0] ~]# netstat -atn
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 14476 127.0.0.1:1026 127.0.0.1:8000 FIN_WAIT1
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 130 192.168.0.10:23 192.168.0.2:1165 ESTABLISHED
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
tcp 17294 0 127.0.0.1:8000 127.0.0.1:1026 ESTABLISHED
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN
tcp 1 0 192.168.0.10:80 192.168.
tcp 1 0 192.168.0.10:80 192.168.0.2:2919 CLOSE
tcp 0 0 192.168.0.10:80 192.168.0.2:2517 CLOSE
tcp 0 0 192.168.0.10:80 192.168.0.2:2054 CLOSE
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
[TiVo [p0] ~]# wget -v http://minnie.tuhs.org -O direct_test.html
--19:12:46-- http://minnie.tuhs.org/
=> `direct_test.html'
Resolving minnie.tuhs.org... done.
Connecting to minnie.tuhs.org[131.244.9.101]:80... failed: Connection timed out.
Retrying.
--19:15:55-- http://minnie.tuhs.org/
(try: 2) => `direct_test.html'
Connecting to minnie.tuhs.org[131.244.9.101]:80...
[TiVo [p1] ~]# wget -v http://localhost:8000 -O proxy_test.html
--19:16:48-- http://localhost:8000/
=> `proxy_test.html'
Resolving localhost... done.
Connecting to localhost[127.0.0.1]:8000... connected.
HTTP request sent, awaiting response...
Read error (Connection timed out) in headers.
Retrying.
--19:31:48-- http://localhost:8000/
(try: 2) => `proxy_test.html'
Connecting to localhost[127.0.0.1]:8000... connected.
HTTP request sent, awaiting response... [TiVo [p2] ~]#
[TiVo [p2] ~]# ls -l *test.html
-rw-r--r-- 1 0 0 0 Feb 28 19:12 direct_test.html
-rw-r--r-- 1 0 0 0 Feb 28 19:16 proxy_test.html
-
It looks like DNS is working ok, but you still can't connect...
You previously tried to connect to http://210.48.107.133:8000/ and it worked. Does that still work?
Can you try
Code:
wget -v -t 1 http://www.abc.com.au
and then
Code:
http_proxy=http://proxy.netspace.net.au:8080 wget -v -t1 http://www.abc.com.au
and then
Code:
http_proxy=http://proxy.netspace.net.au:8080 wget -v -t1 http://minnie.tuhs.org/
-
Here you go:
Thanks, M.
[TiVo [p0] ~]# wget http://210.48.107.133:8000
--21:24:42-- http://210.48.107.133:8000/
=> `index.html.7'
Connecting to 210.48.107.133:8000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,858 [text/html]
0% [ ] 1,858 0.00B/s ETA 00:00
Last-modified header invalid -- time-stamp ignored.
21:24:42 (0.00 GB/s) - `index.html.7' saved [1858/1858]
[TiVo [p0] ~]# wget http://210.48.107.133:80
--21:24:52-- http://210.48.107.133/
=> `index.html.8'
Connecting to 210.48.107.133:80...
[TiVo [p1] ~]# wget -v -t 1 http://www.abc.com.au
--21:25:19-- http://www.abc.com.au/
=> `index.html.8'
Resolving www.abc.com.au... failed: Host not found.
[TiVo [p1] ~]# http_proxy=http://proxy.netspace.net.au:8080 wget -v -t1 http://
www.abc.com.au
--21:26:01-- http://www.abc.com.au/
=> `index.html.8'
Resolving proxy.netspace.net.au... failed: Host not found.
[TiVo [p1] ~]# http_proxy=http://proxy.netspace.net.au:8080 wget -v -t1 http://
minnie.tuhs.org/
--21:26:43-- http://minnie.tuhs.org/
=> `index.html.8'
Resolving proxy.netspace.net.au... failed: Host not found.
[TiVo [p1] ~]#