PDA

View Full Version : multinetted Tivo (2 USB Adapters)


hxmiller
06-22-2005, 06:08 PM
Has anyone ever tried to attached 2 USB Adapters on a S2 tivo at the same time? I'm look to use the GigE adapter w/ large frames and a cross-over cable to my desktop to transfer videos. My network is completely wireless so the speed isn't great. Hardwired on a cross-over I can get 3mb transferred with the Dlink USB 2.0 adapter to my desktop. I'm think I can double that with the GigE adapter.

Jamie
06-22-2005, 06:39 PM
Has anyone ever tried to attached 2 USB Adapters on a S2 tivo at the same time? I'm look to use the GigE adapter w/ large frames and a cross-over cable to my desktop to transfer videos. My network is completely wireless so the speed isn't great. Hardwired on a cross-over I can get 3mb transferred with the Dlink USB 2.0 adapter to my desktop. I'm think I can double that with the GigE adapter.I did something like this with a usb host-to-host cable, outlined here (http://www.dealdatabase.com/forum/showthread.php?p=198920#post198920).

Gildor57
06-22-2005, 07:32 PM
I did something like this with a usb host-to-host cable, outlined here (http://www.dealdatabase.com/forum/showthread.php?p=198920#post198920).

Jaime,

In your referenced post you say "I used the bottom usb port for the standard ethernet (eth0) and the upper port for the host-to-host cable (eth1)."

So , can you actually specify which physical port is associated with which eth? I didn't see that in the network configuration commands you listed, or at least I didn't recognize it as such. Or is what you listed the default for Tivo?

Jamie
06-22-2005, 07:51 PM
Jaime,

In your referenced post you say "I used the bottom usb port for the standard ethernet (eth0) and the upper port for the host-to-host cable (eth1)."

So , can you actually specify which physical port is associated with which eth? I didn't see that in the network configuration commands you listed, or at least I didn't recognize it as such. Or is what you listed the default for Tivo?
That seems to be the order they were detected (bottom port first, top port second). I don't know of a way to control it, but you can probably mount usbdevfs and poke around in /proc/bus/usb to find out what device is hooked up to what port.

hxmiller
06-26-2005, 11:50 PM
I did something like this with a usb host-to-host cable, outlined here (http://www.dealdatabase.com/forum/showthread.php?p=198920#post198920).


Since I don't have switches that support jumbo frames (or even GigE) at the moment. I'm stuck with a crossover cable between a GigE network card in my PC and a GigE Usb adapter on the Tivo. I got about a 5.1 mb extract which beats my top of 3.2 mb using the USB200m. My NIC only support 7kb frames so it could be be better with a differnet NIC.

Only think left if to fix the Windows routes.

hxmiller
06-27-2005, 12:12 PM
I saw that you must use the same IP for each eth interface. This is a problem with Windows as controlling routes of directly connected networks isn't supported.

Can the Tivo have 2 IP addresses assigned?

There are 2 routes on my Windows machine since the Tivo and the PC are in the same network.

172.20.69.0 mask 255.255.255.240 172.20.69.7
172.20.69.0 mask 255.255.255.240 172.20.69.11

The Tivo has a route to use 172.20.69.11. Even if I had a route for 172.20.69.14 (tivo's address) the route isn't used. I can't seem the delete the directly connected routes. I'd love to use 2 IPs on the Tivo.

Jamie
06-27-2005, 12:31 PM
Can the Tivo have 2 IP addresses assigned?I don't see why not. The tivo software will configure the second interface with the same IP as the first, but if you configure it by hand you should be able to give it a unique IP.

I know windows has a route command that allows adding and deleteing routes. Can you alter the priorities on the routes to force the ones you want to be used?

hxmiller
06-27-2005, 09:11 PM
I don't see why not. The tivo software will configure the second interface with the same IP as the first, but if you configure it by hand you should be able to give it a unique IP.

I know windows has a route command that allows adding and deleteing routes. Can you alter the priorities on the routes to force the ones you want to be used?

Windows is a plain when dealing with routes.

I used a /30 network on a different subnet over the crossover cable. I got the following results

GigE:
transferred 3519027855 bytes in 647.892 seconds, 42433.648 Kbps (5304.206 KBps).

Usb200M:
transferred 3519027855 bytes in 1312.317 seconds, 20949.515 Kbps ( 2618.689 KBps).

Great improvement

Jamie
06-27-2005, 09:26 PM
Windows is a plain when dealing with routes.
This is from Win2K, but I think the same applies to XP:
> route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2
destination^ ^mask ^gateway metric^ ^
Interface^The 'metric' is the "cost" of a hop in a route. A higher metric is a less prefered route. I don't know for sure whether windows actually pays attention to the metric of the route, but it does give you a way to specify it.I used a /30 network on a different subnet over the crossover cable. I got the following results

GigE:
transferred 3519027855 bytes in 647.892 seconds, 42433.648 Kbps (5304.206 KBps).

Usb200M:
transferred 3519027855 bytes in 1312.317 seconds, 20949.515 Kbps ( 2618.689 KBps).

Great improvementGlad to see your seeing some improvement. It's about what I see too. Disappointing if you are expecting GigE speeds, but about what I expected knowing that network transfers on the tivo are CPU limited.

cheer
10-03-2005, 03:00 PM
This is from Win2K, but I think the same applies to XP:
> route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2
destination^ ^mask ^gateway metric^ ^
Interface^The 'metric' is the "cost" of a hop in a route. A higher metric is a less prefered route. I don't know for sure whether windows actually pays attention to the metric of the route, but it does give you a way to specify it.
Yep, Windows absolutely pays attention to it. Figured this out one day while poking around with a VPN client for work. Stupid client changes the routes so that there's a better metric for everything pointing to the VPN virtual adapter, meaning that my internet traffic was all going via the corporate network. I didn't want this, so I created a batch file to change the route metrics back, pointing a new router for all corporate subnets to the virtual adapter. (Like a router, Windows always follows more specific routes.) Worked great until the VPN client was updated -- now it drops the VPN if I touch the routes. :(