Tp-Link4300 - Problem mit Wifi up /cron)

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


Joined: 02 Sep 2010
Posts: 29

PostPosted: Sat Jun 14, 2014 18:12    Post subject: Tp-Link4300 - Problem mit Wifi up /cron) Reply with quote
Hi,

ich wollte meinen TP-Link4300 so einrichten das sich die Wlans nächtlich ab 23Uhr abschlaten und morgens wieder aufschalten.

Gefunden und angepasst auf ath1 habe ich:
Quote:
00 1 * * * root ifconfig ath0 down; iwconfig ath0 txpower 0
0 7 * * * root ifconfig ath0 up; iwconfig ath0 txpower 20; startservice lan


Down geht Problemlos - aber Up nicht. Das Wlan wird als gestartet angezeigt - aber kein handy findet das Netz. Ich hab das ganze primär im 5Ghz Netz getestet, aber IMHO ist das 2,4Ghz auch nicht zu starten

Ich benutze: Firmware: DD-WRT v24-sp2 (05/27/14) std
aus dem Link: http://dd-wrt.com/site/support/other-downloads?path=others%2Feko%2FBrainSlayer-V24-preSP2%2F

Das ganze ist nicht überlebenswichtig, wäre aber nett wenn es klappen würde.

VG
Sponsor
Sash
DD-WRT Guru


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

PostPosted: Tue Jun 17, 2014 14:18    Post subject: Reply with quote
die frage ist ob das wifi ordentlich hoch kommt?
_________________
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!
Hexxer
DD-WRT Novice


Joined: 02 Sep 2010
Posts: 29

PostPosted: Sun Jun 22, 2014 8:44    Post subject: Reply with quote
Welche diagmöglichkeiten hab ich denn? Das 5Ghz bleibt verschwunden nach dem "up"

CLI
Am Anfang, alles läuft
Code:
ath1      Link encap:Ethernet  HWaddr 64:66:B3:90:3F:BE
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20234 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42728 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3277305 (3.1 MiB)  TX bytes:27079960 (25.8 MiB)


Dann den "down" von oben auf ath1

Code:
root@DD-WRT:~# ifconfig ath1
ath1      Link encap:Ethernet  HWaddr 64:66:B3:90:3F:BE
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:20238 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42732 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3277925 (3.1 MiB)  TX bytes:27080532 (25.8 MiB)



und den obigen "up" auf ath1
Code:
root@DD-WRT:~# ifconfig ath1
ath1      Link encap:Ethernet  HWaddr 64:66:B3:90:3F:BE
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:20238 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42732 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3277925 (3.1 MiB)  TX bytes:27080532 (25.8 MiB)

root@DD-WRT:~#
gugi
DD-WRT Novice


Joined: 30 Aug 2014
Posts: 1

PostPosted: Sat Aug 30, 2014 7:22    Post subject: Reply with quote
Hi,
ich habe genau das gleiche Problem.

ATH0/1 lassen sich deaktivieren (ifconfig ath0 down/up), nach dem Aktivieren ist das WLAN zwar auch wieder sichtbar, beim Authentifizieren kommt es allerdings zu einem Fehler!

WDR4300 mit DD-WRT v24-sp2 (03/25/13) std

Reboot des Routers löst das Problem wieder.

Würde mich auch über eine Lösung freuen.

LG
Hexxer
DD-WRT Novice


Joined: 02 Sep 2010
Posts: 29

PostPosted: Sat Aug 30, 2014 9:11    Post subject: Reply with quote
Ich hab leider keine gefunden bisher. Vielleicht ist das auch alles einfach als bisher angenommen. Div. Hilfe zu geplanten Reboots gehen auch von vielen Zeilen Script aus - und es funzt nicht. Falls Du es brauchst: Reboot Montag und Freitag. Nichts weiter, das reicht


Code:
echo "30 4 * * 1,5 root /sbin/reboot" > /tmp/cron.d/restart
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