I try to use networking between my hx4700 and my FC4 laptop and i meet some
problems. To be more specific, i have configured my laptop with:
/etc/sysconfig/ifcfg-usb0
# USB configuration for iPAQ
DEVICE=usb0
BOOTPROTO=none
IPADDR=192.168.0.200
NETMASK=255.255.255.0
ONBOOT=yes
MII_NOT_SUPPORTED=no
/etc/sysconfig/route-usb0
192.168.0.202 scope host dev usb0
When i plug the iPaq ifconfig shows the correct infos concerning usb0
interface.
Respectively, my iPaq has 192.168.0.202 ip address, 255.255.255.0 netmask
and 192.168.0.200 as default gateway.
However, when i try to ping eachother i get nothing.
This is laptop's response when i try to ping iPaq
PING 192.168.0.202 (192.168.0.202) 56(84) bytes of data.
>From 192.168.0.200 icmp_seq=1 Destination Host Unreachable
I use Opie with the images from sdgsystems (boot via HaRET).
Thanks in advance,
Yiannis
_______________________________________________
Hx4700-port mailing list
Hx470...@handhelds.org
https://www.handhelds.org/mailman/listinfo/hx4700-port
LAPTOP
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.0.202 * 255.255.255.255 UH 0 0 0 usb0
150.140.187.0 * 255.255.255.128 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 usb0
169.254.0.0 * 255.255.0.0 U 0 0 0 usb0
default r12-fe0vl141.up 0.0.0.0 UG 0 0 0 eth0
ifconfig usb0
usb0 Link encap:Ethernet HWaddr EE:7D:4A:D6:51:70
inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::ec7d:4aff:fed6:5170/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:16 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
IPAQ
route
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
ifconfig usb0
usb0 Link encap:Ethernet HWaddr 6E:AE:47:F2:0C:F1
inet addr:192.168.0.202 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:24 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:588 (588.0 b)
What is the "ifconfig" and "route" output on both machines(your labtop and
your ipaq)?
#!/bin/bash
#
# dirty hack to enable forwarding and NAT
/sbin/sysctl -w net.ipv4.ip_forward=1
/sbin/iptables -t nat -F
#
# obviously the 192.168.1.1 in the next line needs to be the IP of your FC 4
box
# same for the interface
/sbin/iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to 150.140.187.26
I am not sure /etc/sysconfig/route-usb0 does this, but I don't see allowed
forwarding:
echo 1 > /pros/sys/net/ipv4/ip_forward
UrK
usb0: register usbnet at usb-0000:00:1d.1-2, CDC Ethernet Device,
16:e9:5e:f4:4e:94
NETDEV WATCHDOG: usb0: transmit timed out
usb0: no IPv6 routers present
NETDEV WATCHDOG: usb0: transmit timed out
NETDEV WATCHDOG: usb0: transmit timed out
Regards,
Yiannis
----Original Message Follows----
From: "Ladislav Laska" <ladisla...@gmail.com>
To: "Yiannis yiakoumis" <gyiak...@hotmail.com>
Subject: Re: [Hx4700-port] Usb Networking
Date: Tue, 11 Apr 2006 19:48:54 +0200
Can you get some info about the errors you get?..I know, you've said
that there is 'Network unreachable' error, but there can be comething
more -- i dmesg or so.
--
Regards Ladislav Laska
S pozdravem Ladislav Laska
Regards,
Yiannis
----Original Message Follows----
From: "Ladislav Laska" <ladisla...@gmail.com>
To: "Yiannis yiakoumis" <gyiak...@hotmail.com>
Subject: Re: [Hx4700-port] Usb Networking
Date: Thu, 13 Apr 2006 19:27:23 +0200
Looks like no-one is listening?
I think that there is a problem in USB networking. I've never tried
it, so I can't help. But that really will be the problem. Ping looks
like it's send to nowhere, there no RX bytes on both devices.