I have already done what you suggest
ip address add 192.168.0.200/24 dev eth2
ip link set dev eth2 up


ifconfig eth2 192.168.0.200 netmask 255.255.255.0 up


route add -host 192.168.0.202 dev eth2

But no connection to 192.168.0.1


Tom a écrit :
> On Mon, Jul 13, 2009 at 11:18 PM, piratebab <[email protected]> wrote:
>
>   
>>  I have already done all this.
>> I can connect to the FR using ssh. The problem is connection to the web.
>> Here is the route table on host:
>>
>> Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
>> om-gta02.local  *               255.255.255.255 UH    0      0        0 eth2
>> ordi1.local     192.168.0.1     255.255.255.255 UGH   0      0        0 eth1
>> 192.168.0.192   192.168.0.1     255.255.255.255 UGH   0      0        0 eth1
>> 192.168.0.192   *               255.255.255.240 U     0      0        0 eth2
>> 192.168.0.192   *               255.255.255.192 U     0      0        0 eth2
>> 192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
>> default         192.168.0.1     0.0.0.0         UG    0      0        0 eth1
>>
>>
>> from the FR, I can not ping the gateway (192.168.0.1)
>>
>>
>>
>> Tom a écrit :
>>
>> On Mon, Jul 13, 2009 at 10:27 PM, piratebab <[email protected]> 
>> <[email protected]> wrote:
>>
>>
>>
>>  Hi all,
>> I have switched from testing to unstable. So the interface on host
>> changed from usb0 to eth2.
>> I have modified my configuration method for connecting the FR (change
>> all usb0 by eth2 in script 
>> fromhttp://wiki.openmoko.org/wiki/USB_Networking#Debian.2C_Ubuntu_and_others.
>> I can connect to the FR using ssh, but cant connect to the internet with
>> it.
>> I have tried many configuration in order to forward eth2 to eth1 (the
>> one connected to the web). But nothing works.
>> How do you manage this (Pc host is debian testing) ?
>>
>>
>>
>>
>>  As you said, just replace every usb0 with eth2 ;)
>> try 
>> this:http://wiki.openmoko.org/wiki/USB_Networking#Simple_Manual_Linux_Configuration
>> to be sure there's nothing wrong with the debian configs you used.
>>
>> Tom.
>>
>>
>>
>>  I suggested my suggestion since I think the problem is with what the
>>     
> script does with iptables and other routing properties, I know you already
> established a connection though as you see this is not enough, please try
> out what I wrote. :)
>
> Tom.
>
>   

_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to