LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Redhat 9 Dial up issues (https://www.linuxquestions.org/questions/linux-software-2/redhat-9-dial-up-issues-86318/)

jimieee 08-27-2003 01:00 PM

Redhat 9 Dial up issues
 
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 appropriate 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 about the table there (underscores seem to work better than spaces), any help would be much appreciated.

Cheers,

James


All times are GMT -5. The time now is 10:52 PM.