Bluehost.com Web Hosting $6.95

Networking dies after ppp?

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-...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2004
John Meshkoff
 
Posts: n/a
Default Networking dies after ppp?

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




Reply With Quote
  #2 (permalink)  
Old 03-02-2004
Bill Marcum
 
Posts: n/a
Default Re: Networking dies after ppp?

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!]
Reply With Quote
  #3 (permalink)  
Old 03-02-2004
Clifford Kite
 
Posts: n/a
Default Re: Networking dies after ppp?

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. */
Reply With Quote
  #4 (permalink)  
Old 03-02-2004
John Meshkoff
 
Posts: n/a
Default Re: Networking dies after ppp?

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

Reply With Quote
  #5 (permalink)  
Old 03-02-2004
John Meshkoff
 
Posts: n/a
Default Re: Networking dies after ppp?

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0