LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2006, 09:05 AM   #1
DuracellUltra
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Rep: Reputation: 0
Connecting and iPAQ to the internet using PPP


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.

Last edited by DuracellUltra; 07-15-2006 at 09:07 AM.
 
Old 07-15-2006, 02:18 PM   #2
DuracellUltra
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Damn, why do I work it out after posting here! Hmmm...I seem to be the only one answering my questions?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 05:29 PM
can't connect to internet through PPP dvm Slackware 11 09-14-2004 02:50 AM
SynCE + iPaq 3640, no ppp connection, but ... Simon Bridge Linux - Laptop and Netbook 1 07-01-2004 04:49 AM
ppp server sharing internet? h8r Linux - Networking 0 11-08-2003 07:37 PM
Internet via LAN and/or PPP BashTin Linux - Networking 0 10-08-2003 05:38 PM


All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration