Hi all,
I have followed the PPPHowto for the Familiar distribution and can succesfully ssh to an iPAQ running Familiar on ttyS0, from the ssh session I can ping my desktops IP address but I cannot ping the router or access the internet, I thing some kind of iptables rules needs to be setup in order to route the ipaq traffic but alas given my limited knowledge of linux I have failed so far to resolve this and would really appreciate some help.
I am running FC5 on the desktop and Familiar on the iPAQ
eth0 Link encap:Ethernet HWaddr 00:118A:CF:67
inet addr:10.32.5.1 Bcast:10.32.255.255 Mask:255.255.0.0
inet6 addr: fe80::211:d8ff:feda:cf67/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27695 errors:0 dropped:0 overruns:0 frame:0
TX packets:16553 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:37188034 (35.4 MiB) TX bytes:1404247 (1.3 MiB)
Base address:0xa000 Memory:fb020000-fb040000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1561 errors:0 dropped:0 overruns:0 frame:0
TX packets:1561 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4135403 (3.9 MiB) TX bytes:4135403 (3.9 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.0.1 P-t-P:192.168.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:99 errors:1 dropped:0 overruns:0 frame:0
TX packets:147 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:9887 (9.6 KiB) TX bytes:11638 (11.3 KiB)
I have enabled /proc/sys/net/ipv4/ip_forward on both desktop and iPAQ
my iptables contains this
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
ACCEPT all -- anywhere 192.168.1.50
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTA BLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt: ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt: rrac
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt: dccm
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt: ftps
REJECT all -- anywhere anywhere reject-with icmp-h ost-prohibited
the iptables is probably a little messed up and has been reset a few times as I have been trying all sorts whilst going thru various tutorials et all but without success.
Please help, I spent all night on this
Oh, and this is the command I used to bring up the ppp0 interface
sudo /usr/sbin/pppd /dev/ttyS0 115200 192.168.0.1:192.168.0.2 nodetach local noauth nocrtscts lock user ppp connect "/usr/sbin/chat -v -t3 ogin--ogin: ppp" debug
Many thanks for any help you can offer.