TP-Link TL-WR1043ND + Huawei E182e Internetverb. instabil

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC basierende Hardware
Author Message
dr_eos
DD-WRT Novice


Joined: 08 Jan 2012
Posts: 7

PostPosted: Sun Jan 08, 2012 10:06    Post subject: TP-Link TL-WR1043ND + Huawei E182e Internetverb. instabil Reply with quote
Hallo!

Ich betreiebe meinen WR1043ND nun schon längere Zeit erfolgreich mit DD-WRT, die Einrichtung des E182e war auch kein Problem. Allerdings verliert das E182e immer nach ein paar Stunden die Internetverbindung. Dadurch muss ich den Router dann immer rebooten. Dieses Problem bestand aber auch, als ich den Stick noch direkt am PC angesteckt habe, da musste man ihn dann halt entfernen und wieder anstecken, also es liegt definitiv am Stick.

Ich habe den Router dann immer über das Web-Interface neu gestartet. Gestern habe ich mir PuTTY installiert und reboote den Router jetzt mit einem Mausklick über SSH. Allerdings bin ich damit auch nicht zufrieden, da der erneute Verbindungsaufbau ja trotzdem ca. 1 min dauert. Jetzt habe ich im Wiki etwas über Skripte gelesen, und dieses scheint mir interessant zu sein:

Automatic Connection Repair (always_on.sh)
Pings your default gateway every time and force a DHCP renew if no packets are received.
Usage: /path/to/always_on.sh &

Code:

#!/bin/sh
INTERVAL=10
PACKETS=1
UDHCPC="udhcpc -i vlan1 -p /var/run/udhcpc.pid -s /tmp/udhcpc"
IFACE=vlan1


ME=`basename $0`
RUNNING=`ps | awk '/'"$ME"'/ {++x}; END {print x+0}'`
if [ "$RUNNING" -gt 3 ]; then
   echo "Another instance of \"$ME\" is running"
   exit 1
fi

while sleep $INTERVAL
do
   TARGET=`ip route | awk '/default via/ {print $3}'`
   RET=`ping -c $PACKETS $TARGET 2> /dev/null | awk '/packets received/ {print $4}'`

   if [ "$RET" -ne "$PACKETS" ]; then
      echo "Ping failed, releasing IP address on $IFACE"
   #send a RELEASE signal
      kill -USR2 `cat /var/run/udhcpc.pid` 2> /dev/null
   #ensure udhcpc is not running
      killall udhcpc 2> /dev/null
      echo "Renewing IP address: $IFACE"
      $UDHCPC
      echo "Waiting 10 s..."
      sleep 10
   else
      echo "Network is up via $TARGET"
   fi
done


Wird das mein Problem lösen, oder was tut das?
Danke!
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Sun Jan 08, 2012 10:17    Post subject: Reply with quote
umts stick upgraden!
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
dr_eos
DD-WRT Novice


Joined: 08 Jan 2012
Posts: 7

PostPosted: Sun Jan 08, 2012 11:13    Post subject: Reply with quote
Ich habe jetzt die neueste Firmware am Stick und soeben wieder den 1. Verbindungsabbruch bekommen. Also ich denke, der Stick ist einfach fehlerhaft. Was sagst du zu dem Skript?
Edit: Hat niemand eine Idee?
dr_eos
DD-WRT Novice


Joined: 08 Jan 2012
Posts: 7

PostPosted: Fri Jan 13, 2012 17:18    Post subject: Reply with quote
*push*
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Sat Jan 14, 2012 16:01    Post subject: Reply with quote
die neusete ddwrt BETA ist installeirt...
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
dr_eos
DD-WRT Novice


Joined: 08 Jan 2012
Posts: 7

PostPosted: Sat Jan 14, 2012 16:05    Post subject: Reply with quote
also ich hab die neuste version aus der device-datenbank: Firmware: DD-WRT v24-sp2 (08/07/10) std
latze
DD-WRT Novice


Joined: 11 Jan 2012
Posts: 16

PostPosted: Sat Jan 14, 2012 16:22    Post subject: Reply with quote
ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2011/12-20-11-r18024/tplink_tl-wr1043nd/
dr_eos
DD-WRT Novice


Joined: 08 Jan 2012
Posts: 7

PostPosted: Wed Jan 18, 2012 8:50    Post subject: Reply with quote
Habe die neue Router-Firmware seit Sonntag oben, es hat sich aber nichts geändert. Sad
dr_eos
DD-WRT Novice


Joined: 08 Jan 2012
Posts: 7

PostPosted: Thu Apr 05, 2012 19:22    Post subject: Reply with quote
Habe jetzt seit Wochen nicht mehr rebooten müssen. Scheint gelöst zu sein Wink
dr_eos
DD-WRT Novice


Joined: 08 Jan 2012
Posts: 7

PostPosted: Thu Jun 21, 2012 5:02    Post subject: Reply with quote
Ist es möglich, mit einem USB-Hub ein NAS und den Stick gleichzeitig zu betreiben?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC basierende Hardware All times are GMT

Navigation

 
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
You cannot attach files in this forum
You cannot download files in this forum