Overclockers Australia Forums

OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Software Topics > Other Operating Systems

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 31st August 2002, 9:32 PM   #1
TruPlaya Thread Starter
Member
 
Join Date: Jul 2002
Location: Sydney
Posts: 466
Default rp-pppoe problems

Im using rh 7.3, 2.4.18-3 and rp-pppoe 3.5.1 rpm

I just wanna run my no-ip script and a firewall script everytime my ADSL connection starts. I dont mean by me typing 'adsl-start' but automatic, cos for some weird reason,

I CONSTANTLY keep getting disconnected. Its not telstra cos my friends are on the same exchange and they are on for days on end. Im thinking maybes its my stickswall totally analling everything, but ADSL doesnt have a heartbeat so I dont see how that makes a difference.

Anyways, How can I run scripts everytime ADSL gets disconnected and reconnects?

If anyone could help me in regards to being constantly disconnected, I would greatly appreciate it. Ive removed all instances of ADSL on my server. Uninstalled the rpm, removed all adsl-* files and then reran the rpm to install rp-pppoe. ive been disconnected twice just typing this post :/

Thanks
TruPlaya is offline   Reply With Quote

Join OCAU to remove this ad!
Old 31st August 2002, 9:40 PM   #2
Temujin Morgan
Member
 
Temujin Morgan's Avatar
 
Join Date: Jan 2002
Location: Gold Coast
Posts: 989
Default Re: rp-pppoe problems

/etc/ppp/ip-up

This script is run everytime a ppp type connection is established.

I have an ADSL and a 56k. I have the following to detrmine betweeen the two.

##################
if [ "${DEVICE}" = "/dev/ttyS1" ] ; then
56k scripts
else
ADSL scripts
fi
##################

Anything else you want to run keep outside this. And if you only have the ADSL just put your scripts in directly.

##################
/root/bin/setroute # Resets Routing Table
/root/scripts/rc.firewall # Reinitiates the firewall with the IP information.
##################

As for the disconnecting. That aint good. What does your logs say?
/var/log/messages

look for all lines relating to pppd
grep "pppd\[" /var/log/messages

Last edited by Temujin Morgan; 31st August 2002 at 9:42 PM.
Temujin Morgan is offline   Reply With Quote
Old 31st August 2002, 10:22 PM   #3
Jackson Ho
Member
 
Jackson Ho's Avatar
 
Join Date: Feb 2002
Location: Wollongong NSW
Posts: 700
Default

I'd download roaring penguin if I were you.

It does all that for you.

Google for it.
Jackson Ho is offline   Reply With Quote
Old 31st August 2002, 10:24 PM   #4
Temujin Morgan
Member
 
Temujin Morgan's Avatar
 
Join Date: Jan 2002
Location: Gold Coast
Posts: 989
Default

Quote:
Originally posted by Jackson Ho
I'd download roaring penguin if I were you.

It does all that for you.

Google for it.
The rp-pppoe 3.5.1 rpm is Roaring Penguin. (Hence the rp-) ;P
Temujin Morgan is offline   Reply With Quote
Old 1st September 2002, 2:11 AM   #5
TruPlaya Thread Starter
Member
 
Join Date: Jul 2002
Location: Sydney
Posts: 466
Default

ok, an update on the RP-PPPoE Problem.

Code:
Aug 25 04:41:33 localhost pppd[12019]: pppd 2.4.1 started by root, uid 0
Aug 25 04:41:33 localhost pppd[12019]: Using interface ppp0
Aug 25 04:41:33 localhost pppd[12019]: Connect: ppp0 <--> /dev/pts/0
Aug 25 04:42:04 localhost pppd[12019]: LCP: timeout sending Config-Requests
Aug 25 04:42:04 localhost pppd[12019]: Connection terminated.
Aug 25 04:42:08 localhost pppd[12019]: Exit.
LCP: timeout sending Config-Requests
Thats the big line.

Ive been Googling last 2 hours trying to find a fix, seems alot of people are having this same problem :/
TruPlaya is offline   Reply With Quote
Old 1st September 2002, 9:49 AM   #6
Temujin Morgan
Member
 
Temujin Morgan's Avatar
 
Join Date: Jan 2002
Location: Gold Coast
Posts: 989
Default

Telstra is BLOCKING the MAC adress of your Network Card. Use a different Network Card.

I have had this happen to me. Constant Config-Requests timeout. I rebuilt my system (after being up for 463 days) and it still didn't work. it was only when I changed the network card it worked.

Now I tried my network card in other machines with Windows (cos they don't support Linux) and it still didn't work. I did get it working at someone elses premesis on their link. So its only localized to my link.

This problem hit on the 24h of July for me.

I would like to look into this further for you. If a different network card works it means its a common Telstra Problem and I will claim the 2 days I was out as THIER fault and get a 50% discount.

From what I have gathered it is some type of Tunnel collapse. But Telstar said if it works with other cards it aint their problem. But as I said my card works elsewhere so it aint faulty. It also works on my Internode link and as a normal network card.

Also those 463 days of up-time. Thats less time than I have been running Linux with that network card on their Network.

Edit : I wont be home for the rest of the day so I will check on your response tonight.

Last edited by Temujin Morgan; 1st September 2002 at 9:54 AM.
Temujin Morgan is offline   Reply With Quote
Old 1st September 2002, 10:16 AM   #7
Temujin Morgan
Member
 
Temujin Morgan's Avatar
 
Join Date: Jan 2002
Location: Gold Coast
Posts: 989
Default

Another thing to try if you don't have another Network Card.

Is try spoofing your MAC address. Someone had the same problem on a Hardware Router (i.e. Whats he meant to do buy another?) and he was able to get it working by doing that.

The other thing is to ask for a Tunnel Rebuild from Telstra but they will tell you to try it on a Windows machine. If you do this use your card so it will fail and they can fix it. However it can take a week or so.
Temujin Morgan is offline   Reply With Quote
Old 1st September 2002, 1:20 PM   #8
TruPlaya Thread Starter
Member
 
Join Date: Jul 2002
Location: Sydney
Posts: 466
Default

Arrrrrr, the plot thickens.

I really appreciate your help mate.

Well, I think your onto something here, because I have only been getting these disconnection problems since I changed my ADSL over to my Realtek NIC from my D-Link NIC. (I changed them because I figured the D-link would serve my Intel NICs to my LAN better than the Realtek).

Ok, Ill try it now.
TruPlaya is offline   Reply With Quote
Old 1st September 2002, 3:24 PM   #9
TruPlaya Thread Starter
Member
 
Join Date: Jul 2002
Location: Sydney
Posts: 466
Default

ok, ive moved ADSL back onto the D-Link NIC which it used to be on for a year. I pissed off the Realtek NIC and am now using one of my Intel NICs as replacement.

Ive noted my IP and will be watching /var/log/messages closely for the next few hours.

I think this should have fixed it though.

Thanks alot fellas.
TruPlaya is offline   Reply With Quote
Old 1st September 2002, 9:04 PM   #10
Temujin Morgan
Member
 
Temujin Morgan's Avatar
 
Join Date: Jan 2002
Location: Gold Coast
Posts: 989
Default

Yeah my card was a Reltek 8029 card. I wonder if Telstra somehow blocked a group of MAC addresses. Although that wouldn't explain why the card works somewhere else.
Temujin Morgan is offline   Reply With Quote
Old 1st September 2002, 9:44 PM   #11
TruPlaya Thread Starter
Member
 
Join Date: Jul 2002
Location: Sydney
Posts: 466
Default

OK, its happening again.

I was just playing online and it happened three times. However, ive been monitoring messages and It doesnt seem to be the same as before...

everything was fine for the majority of the day then this...
Code:
Sep  1 20:41:14 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Sep  1 20:41:14 localhost /etc/hotplug/net.agent: NET unregister event not supported
Sep  1 20:41:19 localhost pppd[1580]: pppd 2.4.1 started by root, uid 0
Sep  1 20:41:19 localhost pppd[1580]: Using interface ppp0
Sep  1 20:41:19 localhost pppd[1580]: Connect: ppp0 <--> /dev/pts/0
Sep  1 20:41:19 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Sep  1 20:41:24 localhost pppoe[1581]: PPP session is 2583
Sep  1 20:41:24 localhost pppd[1580]: local  IP address 203.51.220.140
Sep  1 20:41:24 localhost pppd[1580]: remote IP address 172.31.16.24
Sep  1 20:41:24 localhost pppd[1580]: primary   DNS address 61.9.208.14
Sep  1 20:41:24 localhost pppd[1580]: secondary DNS address 61.9.208.15
Sep  1 21:07:25 localhost pppd[1580]: No response to 3 echo-requests
Sep  1 21:07:25 localhost pppd[1580]: Serial link appears to be disconnected.
Sep  1 21:07:31 localhost pppd[1580]: Connection terminated.
Sep  1 21:07:31 localhost pppd[1580]: Connect time 26.1 minutes.
Sep  1 21:07:31 localhost pppd[1580]: Sent 6641220 bytes, received 12096584 bytes.
Sep  1 21:07:31 localhost pppoe[1581]: read (asyncReadFromPPP): Session 2583: Input/output error
Sep  1 21:07:31 localhost pppoe[1581]: Sent PADT
Sep  1 21:07:31 localhost pppd[1580]: Exit.
Sep  1 21:07:31 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Sep  1 21:07:31 localhost /etc/hotplug/net.agent: NET unregister event not supported
Sep  1 21:07:36 localhost pppd[1623]: pppd 2.4.1 started by root, uid 0
Sep  1 21:07:36 localhost pppd[1623]: Using interface ppp0
Sep  1 21:07:36 localhost pppd[1623]: Connect: ppp0 <--> /dev/pts/0
Sep  1 21:07:36 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Sep  1 21:07:51 localhost pppoe[1624]: PPP session is 2598
Sep  1 21:07:51 localhost pppd[1623]: local  IP address 203.51.231.159
Sep  1 21:07:51 localhost pppd[1623]: remote IP address 172.31.16.24
Sep  1 21:07:51 localhost pppd[1623]: primary   DNS address 61.9.208.14
Sep  1 21:07:51 localhost pppd[1623]: secondary DNS address 61.9.208.15
Sep  1 21:11:31 localhost pppd[1623]: No response to 3 echo-requests
Sep  1 21:11:31 localhost pppd[1623]: Serial link appears to be disconnected.
Sep  1 21:11:37 localhost pppd[1623]: Connection terminated.
Sep  1 21:11:37 localhost pppd[1623]: Connect time 4.0 minutes.
Sep  1 21:11:37 localhost pppd[1623]: Sent 382360 bytes, received 404184 bytes.
Sep  1 21:11:37 localhost pppoe[1624]: read (asyncReadFromPPP): Session 2598: Input/output error
Sep  1 21:11:37 localhost pppoe[1624]: Sent PADT
Sep  1 21:11:37 localhost pppd[1623]: Exit.
Sep  1 21:11:37 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Sep  1 21:11:37 localhost /etc/hotplug/net.agent: NET unregister event not supported
Sep  1 21:11:42 localhost pppd[1658]: pppd 2.4.1 started by root, uid 0
Sep  1 21:11:42 localhost pppd[1658]: Using interface ppp0
Sep  1 21:11:42 localhost pppd[1658]: Connect: ppp0 <--> /dev/pts/0
Sep  1 21:11:42 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Sep  1 21:11:42 localhost pppoe[1659]: PPP session is 2600
Sep  1 21:12:13 localhost pppd[1658]: LCP: timeout sending Config-Requests
Sep  1 21:12:13 localhost pppd[1658]: Connection terminated.
Sep  1 21:12:13 localhost pppoe[1659]: read (asyncReadFromPPP): Session 2600: Input/output error
Sep  1 21:12:13 localhost pppoe[1659]: Sent PADT
Sep  1 21:12:13 localhost pppd[1658]: Exit.
Sep  1 21:12:13 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Sep  1 21:12:13 localhost /etc/hotplug/net.agent: NET unregister event not supported
Sep  1 21:12:18 localhost pppd[1680]: pppd 2.4.1 started by root, uid 0
Sep  1 21:12:18 localhost pppd[1680]: Using interface ppp0
Sep  1 21:12:18 localhost pppd[1680]: Connect: ppp0 <--> /dev/pts/0
Sep  1 21:12:18 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Sep  1 21:12:33 localhost pppoe[1681]: PPP session is 2601
Sep  1 21:12:34 localhost pppd[1680]: local  IP address 203.51.220.140
Sep  1 21:12:34 localhost pppd[1680]: remote IP address 172.31.16.24
Sep  1 21:12:34 localhost pppd[1680]: primary   DNS address 61.9.208.14
Sep  1 21:12:34 localhost pppd[1680]: secondary DNS address 61.9.208.15
I originally had;
D-Link = Lan
Realtek = ADSL

Now I got;
D-Link = ADSL
Intel = LAN

Any thoughts?

From what ive read around, the LCP and PADO thing has something to do with it not recieving any replies from those certain packets and therefore ppp thinks the connection died.

I got NFI. Ill continue monitoring it.

Last edited by TruPlaya; 1st September 2002 at 9:49 PM.
TruPlaya is offline   Reply With Quote
Old 1st September 2002, 10:00 PM   #12
Jackson Ho
Member
 
Jackson Ho's Avatar
 
Join Date: Feb 2002
Location: Wollongong NSW
Posts: 700
Default

Quote:
Originally posted by Temujin Morgan


The rp-pppoe 3.5.1 rpm is Roaring Penguin. (Hence the rp-) ;P
Hahaha.. whoops
Jackson Ho is offline   Reply With Quote
Old 2nd September 2002, 7:57 AM   #13
Temujin Morgan
Member
 
Temujin Morgan's Avatar
 
Join Date: Jan 2002
Location: Gold Coast
Posts: 989
Default

OK. Try it on a Windows Machine and see how you go. You need it fail on that so you can report it to telstra. I would try and ask for a Tunnel Rebuild. Looks like data is having heaps of problems getting back and forth.
Temujin Morgan is offline   Reply With Quote
Old 2nd September 2002, 10:23 AM   #14
TruPlaya Thread Starter
Member
 
Join Date: Jul 2002
Location: Sydney
Posts: 466
Default

What exactly does a tunnel rebuild do ?

I got it again this mourning when I woke up.
Code:
Sep  2 03:51:56 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Sep  2 03:51:56 localhost /etc/hotplug/net.agent: NET unregister event not supported
Sep  2 03:52:01 localhost pppd[1474]: pppd 2.4.1 started by root, uid 0
Sep  2 03:52:01 localhost pppd[1474]: Using interface ppp0
Sep  2 03:52:01 localhost pppd[1474]: Connect: ppp0 <--> /dev/pts/0
Sep  2 03:52:01 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Sep  2 03:52:32 localhost pppd[1474]: LCP: timeout sending Config-Requests
Sep  2 03:52:32 localhost pppd[1474]: Connection terminated.
Sep  2 03:52:32 localhost /etc/hotplug/net.agent: NET unregister event not supported
Sep  2 03:52:36 localhost pppoe[1475]: Timeout waiting for PADO packets
Sep  2 03:52:36 localhost pppd[1474]: Exit.
TruPlaya is offline   Reply With Quote
Old 2nd September 2002, 11:40 AM   #15
Temujin Morgan
Member
 
Temujin Morgan's Avatar
 
Join Date: Jan 2002
Location: Gold Coast
Posts: 989
Default

This new problem is with the other card yes?

Contact Telstra. When your Tunnel Collapses Data can't find its way from their network to you. Thats as much as I know about it. I don't know enough of how it works but when it has problems like this that is one of the reasons. However you will need to run it on a Windows Machine and get it failing there before they will do anything.
Temujin Morgan is offline   Reply With Quote
Reply

Bookmarks

Sign up for a free OCAU account and this ad will go away!

Thread Tools

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 On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 7:27 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!