Date: Fri, 17 Nov 2006 08:25:57 -0900 From: Beech Rintoul <beech@alaskaparadise.com> To: freebsd-questions@freebsd.org Cc: Gregor Likar <gregor.likar@infrax.si>, Nejc Skoberne <nejc@skoberne.net> Subject: Re: Restarting DSL connection without reboot? Message-ID: <200611170826.00982.beech@alaskaparadise.com> In-Reply-To: <455D6BCA.9070505@skoberne.net> References: <455D6BCA.9070505@skoberne.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 16 November 2006 22:59, Nejc Skoberne wrote: > Dear community, > > I am having continuous problems with ADSL connections and FreeBSD servers. > I am running a few dozens of FreeBSD boxes and today in the morning a lot > of them were without internet connectivity. Looks like our provider had > some maintenance work or something. > > What happened: the tech guy at one of the customers first rebooted the > server 2 times and then he called me. We tried together: > > 1. first we tried to ping an internet IP address and the reply was "No > buffer space available". After that we did "killall -9 ppp" until all > the ppp processes died. After that we ran /etc/rc.d/ppp-user (it's a 5.3 > box) again but the connection wouldn't come up (no route to host, when > pinging). > > 2. After reboot everything worked as it should. > > I really don't like to reboot servers as soon as they lose DSL > connectivity. Is there any "proper" way to reset the connection (network > card?) so that the connection restores without a reboot? > > Previously I've been running Linux on these servers and at that time I > didn't have these problems - a reset of modem would always resolve the > problem. > > Mostly I am using rl network cards, if that's an helpful info, but > somewhere I also have sis and others. > > My ppp.conf: > > default: > set log Phase Chat LCP IPCP CCP tun command > set ifaddr 10.0.0.1/0 10.0.0.2/0 > SiOL: > set device PPPoE:rl0 > set authname user > set authkey pass > set dial > set login > set redial 5 0 > add default HISADDR > > My ppp.linkup: > > MYADDR: > !bg sh -c "/sbin/pfctl -f /etc/pf.conf" > > My rc.conf (ppp entries): > > ppp_enable="YES" > ppp_profile="SiOL" > ppp_mode="ddial" > ppp_nat="NO" > > Thanks for your help, > Nejc Try doing /etc/rc.d/netif start That works for me when my wireless get's jammed and I notice it also resets my internal lan. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com ---------------------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611170826.00982.beech>