ylee
New Member
Registered: Aug 2001
Location: Redwood City CA
Posts: 0 |
My PPP-to-Linux experience w/ 3.0, w/o home network
(Crossposted to alt.video.ptv.tivo.)
Here's a recap of what I did to get my Series 1 TiVo to use PPP over serial with 3.0. As much of the information I've found on line only deals with people who a) use Windows and/or b) have a router as part of a home network, I think my experiences will be helpful for some others in my situation.
Background: RedHat 7.2 Linux box w/ cable modem. No router, as the computer's the only thing with broadband connectivity. Philips Series 1 TiVo with the new 3.0 software and its (un)support for PPP and Ethernet through magic prefix codes in Phone Options.
Connectivity: As I neither needed "always-on" access, nor wanted to crack open my TiVo again, PPP over serial is what I decided to do.
What I bought: Null modem, serial extension cable. You of course need the TiVo serial cable (the one that ends with the headphone-like plug) as well.
What I added to /etc/rc.d/rc.local on my Linux box:
code:
echo "Enabling IP forwarding."
echo 1 > /proc/sys/net/ipv4/ip_forward
echo "Adding TiVo-specific IP masquerading rules."
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -i eth0 -s 192.168.10.2 -j MASQ
echo "Starting the pppd for TiVo."
/usr/sbin/pppd /dev/tts/1 115200 noauth debug proxyarp nocrtscts \
nobsdcomp nodeflate persist local lcp-max-configure 28800 \
192.168.10.1:192.168.10.2
(Note that I use devfsd. If you don't, you should change /dev/tts/1 to
/dev/ttyS1.)
What else I had to do on my Linux box: I use Redhat's lokkit utility
to set up some simple firewall rules. I found I had to manually add
8080 as a permitted port, as TiVo uses it for part of its
communications with home base. I am sure there is a more elegant way
to do the above within the TiVo-specific IP masquerading rules, but
not being an ipchains expert (I've historically used tcp_wrappers a
lot more) I will defer to others here. As I don't run anything that
listens to port 8080 on my machine I believe I should be safe.
Problem and bizarre solution: The above setup initially did not work
at all. It didn't work so much that `cat /dev/tts/1` didn't show
anything. Out of desperation I removed the null modem; lo and behold,
things started happening! Apparently I have either a miswired TiVo,
TiVo serial cable, or Radio Shack serial cable. Since then I have
heard one similar report on AVS Forum, so there may be others so
afflicted.
The above setup has worked for over a week with no trouble yet. I have
happily canceled my landline (which I only used for TiVo), so I can
say 3.0 has saved me $17/month.
__________________
ylee@pobox.com
http://www.pobox.com/~ylee/
2x100GB = 246 hours on a Series 1 w/ 3.0 and (un)supported PPP
POST #1 | Report this post to a moderator
| IP: Logged
|