Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DSL-Wiedereinwahl zu schnell
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Fri Oct 01, 2004 7:19 pm    Post subject: DSL-Wiedereinwahl zu schnell Reply with quote

hi,

ich weiss, Server sollten eher selten neugestartet werden.... dennoch..

Unser Home-Server funktioiert mittlerweile wunderbar. Bis auf eine Kleinigkeit.
Wenn ein Neustart fällig ist, beendet er die DSL-Verbindung zwar ordnungsgemäss, allerdings wird diese beim nächsten hochfahren nicht korrket wieder hergestellt. Trotz adsl-start/stop in /etc/conf.d/local.start/stop.

Jedoch habe ich rausgefunden, dass dasProblem anscheinend daran liegt, dass er sich ZU SCHNELL wiedereinwählt, und gibt somit immer ein TIMEOUT.

Wie kann ich dies beim Neustart bzw. generell das Retry-Intervall (bei Verbindungsabbruch) etwas verzögern? Oder würde etc/init.d/rp-pppoe das automatisch machen?

Bin für jede Hilfe dankbar!
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
zielscheibe
l33t
l33t


Joined: 02 Apr 2004
Posts: 804
Location: Aachen

PostPosted: Fri Oct 01, 2004 8:34 pm    Post subject: Reply with quote

Ungewöhlich, eigentlich kann man doch bis zum Geht icht mehr reconnecten.

Ganz schnell würde ich einen "sleep" Dienst dem DSL Deamon vorschalten (als Scriptvorlage vllt. /etc/init/local nutzen).

Details unter "man sleep"
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Fri Oct 01, 2004 8:42 pm    Post subject: Reply with quote

hi,

werd mir das mal angucken. Danke!

Zum Reconnect... das ist garnicht soo ungewöhnlich. Bspw. wenn ich einfach den Stecker aus dem Modem ziehe, und wieder reinstecke, dann verhaspelt sich da irgendwas (evtl. muss auch das Modem neu gesynct werden) und es dauert relativ lange bis ich mich wieder einwählen kann.
Und wenn nun automatisch mehrfach versucht wird vorher eine Neueinwahl zu machen, dauerts irgendwie _noch_ länger..


mod edit: Doppelpost entfernt.
amne

_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
moe
Veteran
Veteran


Joined: 28 Mar 2003
Posts: 1289
Location: Potsdam / Germany

PostPosted: Fri Oct 01, 2004 9:30 pm    Post subject: Reply with quote

Hmm, das ist mir aber auch neu.. Beim Stecker ziehen des DSL-Modems kanns vielleicht stimmen, aber wenn ich die Verbindung ordnugsgemäss trenne, kann ich ich mich sofort wieder einwählen..
Eine Option die die Zeit zwischen den Versuchen festlegt kenne ich leider nicht, nur retrytimeout, was aber heisst, wann er aufhören soll zu retry'en..
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Fri Oct 01, 2004 11:02 pm    Post subject: Reply with quote

hi,

ja, seltsam ist das schon. Wenn ich an der Kommandozeile "adsl-start && adsl-stop && adsl-start" eingebe funktioniert alles wunderbar. Aber wenn ich die Befehle in local.start/stop eintrage, klappts nicht.

Mhh... könnte es sein, dass irgendein anderer Dienst die Netzwerkkarte vor "local.stop" deaktiviert?

Code:

 acpid |
            bootmisc | boot
              bridge |      default
             checkfs | boot
           checkroot | boot
               clamd |
               clock | boot
         consolefont |
         crypto-loop |
             distccd |
             dnsmasq |      default
          domainname |
              hdparm |
            hostname | boot
            iptables |      default
             keymaps | boot
               local |      default nonetwork
          localmount | boot
             metalog |      default
            mldonkey |      default
             modules | boot
           net.br100 |      default
            net.eth0 |
            net.eth1 |
            net.eth2 |      default
              net.lo | boot
            netmount |      default
                 nfs |
            nfsmount |
                nscd |
             numlock |
             portmap |
           rmnologin | boot
            rp-pppoe |      default
              rsyncd |
               samba |      default
              serial |
                sshd |      default
             urandom | boot
          vixie-cron |      default
[/code]
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum