Hey everyone here is my server info.
Twin AMD Athlon XP 1.8 G
1 Gig Ram
2 X AOpen 10/100 NIC
Mandrake 9.0
1 Meg Modem (SDSL) 100 Kbytes Up and Down
APC Smart-UPS 700
Here is my problem...well there are several of them..
1. Our ISP is terrible ...there is no backup power for a the media converter that is about 1 mile from our business.
2. Sometime it is impossible to get the internet connection back...lost by perhaps power flux or such.
Ok last night we had a thunderstorm in our area..during business hours..so of course the server is protected being behind the Smart 700 APC. And sure enough in the morning when I arrived back at work the server was fine. We normally lose internet connectivity during power fluxs so I wasnt surprised when I got in that it was down. I did the following to try to remedy the problem.
/etc/init.d/./internet restart
I even tried
/etc/init.d/ ./network restart
All in all...nothing worked..this usually indicates to me that the media converter is locked and they have to restart it before my modem will connect and transfer packets...ie the modem is block synced and such....
Long story short...a tech shows up and plugs in a laptop and it works... so we try the server again...and no go...
I tried everything I could think of... I know that adsl-start is set right now to "spam" reconnect to the isp due to the issues in the past..it seems to have helped...
HOW I FIXED IT... and this is a big no no...in my book
I restarted the linux server and it all came back up like it was never down...??????? I hate restarting the linuxserver.
What are the processes that run the ppoe connection and how does the system work such that I could not restart it with any effect.
PROCESSES I COULD FIND
843 root 0.0 % 15:58 /bin/sh /usr/sbin/adsl-connect eth0
foo@foo.net
877 root 0.0 % 15:58 /usr/sbin/pppd pty /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 ...
889 root 0.0 % 15:58 /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U -m 1412
I restarted all of those but nothing helped. Why ..or what happened different when I restarted that fixed the problem?