ipkg update problem (in us-ascii I hope

Philippe MONROUX phi2-monroux at wanadoo.fr
Thu Dec 13 03:26:46 CET 2007


Thanks for your reply.

De (from) (von), Chia-I Wu <olv at openmoko.org> :
> How do you set up you network connection on neo?

fic-gta01-->zandette-->papillon-->ROUTER-->INTERNET
    1          2                 3    

1 usb connexion
2 and 3 ethernet connexions

fic-gta01=neo : usb0 address 192.168.0.202 
zandette= my desktop : usb0 192.168.0.200 (left) eth0 10.0.0.1 (right)
papillon=FIREWALL(BRIGE) soekris machine running debian-router configured as a bridge firewall : br0 10.0.0.137
ROUTER= alcatel speedtouch home (flashed to make it PRO) : eth0 10.0.0.138 (left) ppp dy,amic IP (right)

Here are routing table of my computers :

fic-gta01
,----
| root at fic-gta01:~$ route
| Kernel IP routing table
| Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
| 192.168.0.0     *               255.255.255.0   U     0      0        0 usb0
| default         192.168.0.200   0.0.0.0         UG    0      0        0 usb0
`----
zandette
,----
| root at zandette:~ >0 job $> route
| Table de routage IP du noyau
| Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
| fic-gta01       *               255.255.255.255 UH    0      0        0 usb0
| 192.168.0.0     *               255.255.255.0   U     0      0        0 usb0
| 10.0.0.0        *               255.0.0.0       U     0      0        0 eth0
| default         SpeeTouch.homel 0.0.0.0         UG    0      0        0 eth0
`----
papillon
,----
| papillon:~# route
| Kernel IP routing table
| Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
| 10.0.0.0        *               255.0.0.0       U     0      0        0 br0
| default         10.0.0.138      0.0.0.0         UG    0      0        0 b0r
`----
ROUTER
,----
| IP route table
| Destination		Source		Gateway			Intf
| 80.8.221.60/32	any		80.8.221.60		PPP
| 10.0.0.138/32		any		10.0.0.138		eth0
| 127.0.0.1/32		any		127.0.0.1		loop
| 10.0.0.0/8		any		10.0.0.138		eth0
| default		10.0.0.1/0	80.8.221.60		PPP
`----
----------------------------------------------------------------------
From fic-gta01 I can make:
ping 192.168.0.200
ping 10.0.0.1

but
ping 10.0.0.137 or 138
5 packets transmitted, 0 packets received, 100% packet loss
I think they are REACHABLE
----------------------------------------------------------------------
From zandette I can make all :
ping 10.0.0.137
ping 10.0.0.138
ping 192.168.0.202
----------------------------------------------------------------------
from papillon I can make :
ping 10.0.0.138
ping 10.0.0.1

but
ping 192.168.0.200
7 packets transmitted, 0 received, 100% packet loss
----------------------------------------------------------------------

> This is highly environment dependent, but in the simplest(?) way, you
> need to set up NAT on the host and point to the right nameserver on neo.

----------------------------------------------------------------------
root at fic-gta01:~$ cat /etc/resolv.conf 
nameserver 192.168.0.200
----------------------------------------------------------------------
root at zandette:~ >0 job $> cat /etc/resolv.conf
search local.net
nameserver 10.0.0.138
nameserver 193.252.19.3
nameserver 193.252.19.4 
----------------------------------------------------------------------

perhaps I have to add route from papillon to neo ?
Philippe MONROUX
-- 
http://perso.orange.fr/zygomaths/index.fr.html
http://www.gral.re




More information about the device-owners mailing list