[P] Activating WLAN from console fails

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Author Message
c.monty
DD-WRT Novice


Joined: 19 Nov 2014
Posts: 5

PostPosted: Wed Nov 19, 2014 8:51    Post subject: [P] Activating WLAN from console fails Reply with quote
Hello!
I have installed dd-wrt revision r25279 on my router TP-Link TL-WR841N(D) 8.x.

I want to enable functionality that turns off WLAN in the night and later turns on WLAN automatically.
I understood that defining Cron-Job is the way to go.

In order to verify what command works I connect to the console via SSH first and execute the following:
WLAN off:
Code:
ifconfig ath0 down
iwconfig atho0 txpower 0

WLAN on:
Code:
ifconfig ath0 up
iwconfig atho0 txpower 20


Then I verify with a WLAN client tool (installed on my smartphone) if this is working or not.

The issue I have identified is that after turning off WLAN I cannot turn it on again. This means the WLAN client tool does not detect the WLAN although the status is confirmed to be on in WebUI - Status - WLAN.

In order to enable WLAN again I have to apply the setting in WebUI - Setup - WLAN.

Question:
What is the required command to turn on WLAN?

THX
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based 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