This is a discussion on Networking dies after ppp? within the Linux Networking forums, part of the Linux Forums category; I've got a redhat 6.1 box, and I've recently experienced loss of networking after disconnecting from dial-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I've got a redhat 6.1 box, and I've recently experienced loss of
networking after disconnecting from dial-up. I've been using kppp, and haven't encountered this before (I had been using broadband and had to return to dial-up). I can ping localhost before dial-up and while online; once I disconnect, I can't ping localhost anymore until I reboot. This makes it impossible to connect to the web browser interface for cups and SWAT. Here's netstat output while online; the output offline is the same except for the ppp0 output. I don't know what the '255.etc' is, never used to see that until I started using dial-up again, but it's present from previous day's boot up and doesn't seem to affect this condition. linus:/u2/home2/johnpipe$ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 209.148.112.7 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 192.168.1.3 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 255.255.255.255 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 209.148.112.7 0.0.0.0 UG 0 0 0 ppp0 Any suggestions for what I should be looking at to troubleshoot this? Thanks, Johnpipe |
|
|||
|
On Mon, 01 Mar 2004 20:25:48 GMT, John Meshkoff
<johnpipe@sonic.net> wrote: > > Any suggestions for what I should be looking at to troubleshoot this? > Redhat 9 or another distro from this century. :) -- Incrsease your earoning poswer and gaerner profwessional resspect. Get the Un1iversity Dewgree you have already earned. [from the prestigious, non-accredited University of Spam!] |
|
|||
|
John Meshkoff <johnpipe@sonic.net> wrote:
> I've got a redhat 6.1 box, and I've recently experienced loss of > networking after disconnecting from dial-up. I've been using kppp, and > haven't encountered this before (I had been using broadband and had to > return to dial-up). > I can ping localhost before dial-up and while online; once I disconnect, I > can't ping localhost anymore until I reboot. This makes it impossible to > connect to the web browser interface for cups and SWAT. Can you ping 127.0.0.1? If so then perhaps something related to bringing a PPP link up (in the /etc/ppp/ip-up script?) changes the name assigned to 127.0.0.1 in /etc/hosts to the ISP's name for the PPP local IP address on each connection. And rebooting changes it back to localhost. A WAG. -- Clifford Kite Email: "echo xvgr_yvahk-ccc@ri1.arg|rot13" PPP-Q&A links, downloads: http://ckite.no-ip.net/ /* Those who can't write, write manuals. */ |
|
|||
|
Clifford Kite <kite@see.signature.id> wrote:
> Can you ping 127.0.0.1? > If so then perhaps something related to bringing a PPP link up (in > the /etc/ppp/ip-up script?) changes the name assigned to 127.0.0.1 > in /etc/hosts to the ISP's name for the PPP local IP address on each > connection. And rebooting changes it back to localhost. A WAG. Thanks, I found the problem (I couldn't ping 127.0.0.1 either). It seems I had added a command to flush ipchains firewall rules to ip-down.local, but didn't understand that I needed to reset the policies to ACCEPT. I added the /sbin/ipchains -P {chain} ACCEPT to the script, and now networking is OK. Thanks for your reply, John |
|
|||
|
Bill Marcum <bmarcum@iglou.com.urgent> wrote:
> On Mon, 01 Mar 2004 20:25:48 GMT, John Meshkoff > <johnpipe@sonic.net> wrote: >> >> Any suggestions for what I should be looking at to troubleshoot this? >> > Redhat 9 or another distro from this century. :) I'm using the same old P233mmx from several years ago, and don't have any need to constantly upgrade (hey, linux isn't Microsoft! :^) ) for a box that's just used for email and occasional web browsing. Thanks, John |