[sclug] Dialup blues (RH9)

James Packham mrjadeo at yahoo.co.uk
Sat Oct 25 09:05:52 UTC 2003


Hi all,

I've got two problems with a Redhat 9 box I'm trying
to setup as a router to use a cable connection (eth0)
and a dialup (pppo) connection as backup, should the
cable connection (as it frequently does) go down. 

My first question is relatively simple, could someone
give me some advice on the best way to do the above,
so that users on my LAN can switch between the two
relatively easily from their desktops if possible.

Second, I can get the dialup connection to connect ok,
but I get the following message when I try to ping
anywhere in the outside world:

ping: sendmsg: Operation not permitted

I've done a little research and found out that this
usually comes up because you don't have the appropiate
rights to use ping. I'm fairly sure this isn't the
case because I can ping to my LAN and I'm root (or
have I missed something?).

This is a copy of the end of my /var/log/pppmsg:

Aug 22 12:56:14 FARMER pppd[13754]: Connect: ppp0 <-->
/dev/ttyS0
Aug 22 12:56:18 FARMER pppd[13754]: Remote message:
Login Succeeded
Aug 22 12:56:18 FARMER modprobe: modprobe: Can't
locate module ppp-compress-21
Aug 22 12:56:18 FARMER modprobe: modprobe: Can't
locate module ppp-compress-21
Aug 22 12:56:18 FARMER pppd[13754]: local  IP address
195.12.4.31
Aug 22 12:56:18 FARMER pppd[13754]: remote IP address
195.12.4.1
Aug 22 12:56:30 FARMER pppd[13754]: Terminating on
signal 15.
Aug 22 12:56:30 FARMER pppd[13754]: Connection
terminated.
Aug 22 12:56:30 FARMER pppd[13754]: Connect time 0.3
minutes.
Aug 22 12:56:30 FARMER pppd[13754]: Sent 60 bytes,
received 82 bytes.

This is up to the point where I'm connected, but can't
ping, browse etc. Also I have a copy of my static
routing table:

Kernel IP routing table
Destination     Gateway         Genmask         Flags
Metric Ref    Use Iface
195.12.4.1      0.0.0.0         255.255.255.255 UH   
0      0        0 ppp0
10.0.0.0        0.0.0.0         255.0.0.0       U    
0      0        0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U    
0      0        0 lo
0.0.0.0         195.12.4.1      0.0.0.0         UG   
0      0        0 ppp0

Sorry, this ended up being such a long post, any help
would be much appreciated.

Cheers,

James

__________________________________________________
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html



More information about the Sclug mailing list