Wlan ein und ausschalten DIR-615

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC basierte Hardware
Goto page 1, 2  Next
Author Message
t18935
DD-WRT Novice


Joined: 19 Mar 2012
Posts: 14

PostPosted: Mon Aug 06, 2012 9:06    Post subject: Wlan ein und ausschalten DIR-615 Reply with quote
Hallo

ich werd verrückt. Ich hab nen Dlink DIR-615 D3 und habe das Image v24 preSP2 [BETA] Build 15778 aufgespielt.
Im System habe ich die option aktiviert, mit der der WPS Knopf zum Wlan ein und ausschalten genutzt werden kann. Habe es gemacht, leider ohne Erfolg, es funktioniert nicht.
Neustart und alles habe ich schon gemacht.
Weiß jemand einen Rat bzw hat jemand das gleiche Problem?
Sponsor
t18935
DD-WRT Novice


Joined: 19 Mar 2012
Posts: 14

PostPosted: Thu Aug 09, 2012 14:10    Post subject: Weiß keiner einen Tipp? Reply with quote
Das treibt mich in Wahnsinn!!!
pepe
DD-WRT Guru


Joined: 16 Jun 2006
Posts: 2427
Location: Berlin, Germany

PostPosted: Thu Aug 09, 2012 15:05    Post subject: Reply with quote
Das funktioniert unter Atheros nicht ... steht aber auch hier im Forum!!

auf der Konsole kannst du es mit den befehlen realisieren

Code:
für WLAN off
/sbin/ifconfig ath0 down
/usr/sbin/iwconfig ath0 txpower 0


Code:
für WLAN on
/sbin/ifconfig ath0 up
/usr/sbin/iwconfig ath0 txpower 20


pack dir das in ein script welches du über den Knopf ansteuerst oder mach es per cron job wenn es zu festen Zeiten passieren soll.


mehr infos dazu hier

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=145480

_________________
http://www.dd-wrt.com/phpBB2/search.php?
http://www.dd-wrt.com/wiki/index.php/Main_Page
http://www.dd-wrt.com/wiki/index.php/Category:Deutsche_Dokumentation

http://i-use.ipfire.org/profile/454051a193d29c9019ea3d0ce3c4b801435fd682/0.png
t18935
DD-WRT Novice


Joined: 19 Mar 2012
Posts: 14

PostPosted: Thu Aug 09, 2012 15:09    Post subject: Reply with quote
Ok, super, danke für die Hilfe!!!!
Aber bin da echt ein Newbie...Script?Bin total überfragt Sad
t18935
DD-WRT Novice


Joined: 19 Mar 2012
Posts: 14

PostPosted: Thu Aug 09, 2012 15:15    Post subject: Reply with quote
Ok gleich mal ne Frage hinterher. Hab die Kommandozeile gefunden. Wollte das testen doch es kommt:

Error for wireless request "Set Tx Power" (8B26) :
SET failed on device ath0 ; No such device.
pepe
DD-WRT Guru


Joined: 16 Jun 2006
Posts: 2427
Location: Berlin, Germany

PostPosted: Thu Aug 09, 2012 15:21    Post subject: Reply with quote
dann ist ath0 nicht die wlan schnittstelle das kann von gerät zu gerät verschieden sein!
schau nach wie die richtige heißt (ifconfig) und setz die richtige ein!
mehr infos findest du im WIKI

_________________
http://www.dd-wrt.com/phpBB2/search.php?
http://www.dd-wrt.com/wiki/index.php/Main_Page
http://www.dd-wrt.com/wiki/index.php/Category:Deutsche_Dokumentation

http://i-use.ipfire.org/profile/454051a193d29c9019ea3d0ce3c4b801435fd682/0.png
t18935
DD-WRT Novice


Joined: 19 Mar 2012
Posts: 14

PostPosted: Thu Aug 09, 2012 15:34    Post subject: Reply with quote
Sry ich checks einfach nicht...

Hab hier Physische Schnittstelle ra0 - SSID [xxx] HWAddr [xxx]

Physische WLAN Schnittstelle wl0 [2.4 GHz]

aber sowohl mit wl0 als auch ra0 gehts nicht und die wiki bringt mich auch nicht weiter...???
t18935
DD-WRT Novice


Joined: 19 Mar 2012
Posts: 14

PostPosted: Fri Aug 10, 2012 5:42    Post subject: Reply with quote
Dann hier nochmal die Bitte, kann mir jemand helfen???
pepe
DD-WRT Guru


Joined: 16 Jun 2006
Posts: 2427
Location: Berlin, Germany

PostPosted: Fri Aug 10, 2012 7:09    Post subject: Reply with quote
Hoppla das ist Ralink... wusste ich nicht.
dann teste doch mal die WL commands

http://www.dd-wrt.com/wiki/index.php/Wl#Toggle_radio_on.2Foff.2C_restart.2C_etc

_________________
http://www.dd-wrt.com/phpBB2/search.php?
http://www.dd-wrt.com/wiki/index.php/Main_Page
http://www.dd-wrt.com/wiki/index.php/Category:Deutsche_Dokumentation

http://i-use.ipfire.org/profile/454051a193d29c9019ea3d0ce3c4b801435fd682/0.png
t18935
DD-WRT Novice


Joined: 19 Mar 2012
Posts: 14

PostPosted: Fri Aug 10, 2012 8:32    Post subject: Reply with quote
Ok Super Pepe,

werds heute Mittag nach der Arbeit gleich ausprobieren.
Wusste ich selbst nicht, hatte ehrlich gesagt keine Ahnung und einfach mal ins Forum gepostet Smile

Melde mich heute mittag Smile
t18935
DD-WRT Novice


Joined: 19 Mar 2012
Posts: 14

PostPosted: Fri Aug 10, 2012 17:08    Post subject: Reply with quote
hi

also ich muss doch dann das in die Kommandozeile kopieren und ausführen:

~ # wl radio
radio is on (WL_RADIO_SW_DISABLE 0 WL_RADIO_HW_DISABLE 0)
~ # wl radio off

um das wlan auszuschalten...

Antwort:

sh: eval: line 1: /: Permission denied
sh: eval: line 2: syntax error: "(" unexpected


?
t18935
DD-WRT Novice


Joined: 19 Mar 2012
Posts: 14

PostPosted: Tue Aug 14, 2012 19:19    Post subject: Reply with quote
Weiß niemand mehr weiter? Sad
pepe
DD-WRT Guru


Joined: 16 Jun 2006
Posts: 2427
Location: Berlin, Germany

PostPosted: Wed Aug 15, 2012 14:06    Post subject: Reply with quote
er sagt dir doch was falsch ist!!

Quote:
also ich muss doch dann das in die Kommandozeile kopieren


nö das ist nur ein ausgabe beispiel.

Code:
wl radio

gibt dir
radio is on (WL_RADIO_SW_DISABLE 0 WL_RADIO_HW_DISABLE 0) bzw. 0x0000
für wlan status "EIN" aus
oder
radio is off (WL_RADIO_SW_DISABLE 1 WL_RADIO_HW_DISABLE 0) bzw. 0x0001
für wlan status "AUS" aus


die befehle lauten
reinitialize adapter and mark as up
Code:
wl up

reset adapter and mark as down
Code:
wl down

mark adapter down but do not reset hardware.
Code:
wl out

für ein und aus
Code:
wl radio on
wl radio off

restart the driver. (Driver must already be down)
Code:
wl restart

_________________
http://www.dd-wrt.com/phpBB2/search.php?
http://www.dd-wrt.com/wiki/index.php/Main_Page
http://www.dd-wrt.com/wiki/index.php/Category:Deutsche_Dokumentation

http://i-use.ipfire.org/profile/454051a193d29c9019ea3d0ce3c4b801435fd682/0.png
t18935
DD-WRT Novice


Joined: 19 Mar 2012
Posts: 14

PostPosted: Wed Aug 15, 2012 15:22    Post subject: Reply with quote
Ok hab nun

~ # wl radio off

eingegeben und es kommt:

sh: eval: line 1: /: Permission denied

Was nun?
pepe
DD-WRT Guru


Joined: 16 Jun 2006
Posts: 2427
Location: Berlin, Germany

PostPosted: Wed Aug 15, 2012 17:28    Post subject: Reply with quote
weil du es falsch machst!!!!!

oben stehen die command befehle

aber für dich noch mal

für ein und aus

Code:
wl radio on
wl radio off


da steht nichts von ~ und auch nichts von #

_________________
http://www.dd-wrt.com/phpBB2/search.php?
http://www.dd-wrt.com/wiki/index.php/Main_Page
http://www.dd-wrt.com/wiki/index.php/Category:Deutsche_Dokumentation

http://i-use.ipfire.org/profile/454051a193d29c9019ea3d0ce3c4b801435fd682/0.png
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC basierte 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