[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: taking down adsl connection
- To: Noam Meltzer <tsnoam(at-nospam)zahav.net.il>
- Subject: Re: taking down adsl connection
- From: mulix <mulix(at-nospam)actcom.co.il>
- Date: Sat, 2 Jun 2001 16:13:44 +0300 (IDT)
- Cc: Israeli Group of Linux Users <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <5.1.0.14.2.20010602153539.00a7cb78@in.zahav.net.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Sat, 2 Jun 2001, Noam Meltzer wrote:
> anyway, from time to time, my adsl connection down, and i can't take it
> down so easily.
"cant take it down" means what exactly? that you cant get it to
reconnect?
> actually i have to reboot the computer (maybe moving to
> runlevel 1 and then to 2 back will help, but when all you have is a telnet
> window on the masq-server..., anyhow,)
oy vey. reboot is NEVER the answer, unless you have hardware problems.
never ever. the day reboots start solving problem, you can start calling
it MSLinux.
> I remember once a discussion on how to take down an adsl-connection and i
> wish to get a URL for the thread of it in the archive, or a short summary
> of it.
quite simple, really.
1. kill pppd.
2. kill pptp.
3. if pptp didn't clean up after itself properly, you need to
'rm /var/run/pptp/10.0.0.138'.
that's all there is to it. that pptp doesn not clean up after itself
properly is a bug in pptp, which i haven't felt like chasing yet. pptp
plays some tricks with sigaction and friends, and as long as i didnt
have to, i did not feel like delving into it. if someone want to do it,
patches in unified diff format will be gladly accepted.
[ there's a new pptp version out there on the net, which might (or
might not) have fixed this problem. i haven't check it yet. ]
--
mulix
http://www.advogato.com/person/mulix
linux/reboot.h: #define LINUX_REBOOT_MAGIC1 0xfee1dead
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il