Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#13330 closed defect (invalid)

wlan1 gone after applying script

Reported by: cobra98 <cobra98@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

Each reboot i had the problem of loosing tx power

when looking /ticket/7102.html
i applied the patch from http://luci.subsignal.org/~jow/reghack/.

After reboot it seems returning

wlan1 IEEE 802.11an ESSID:off/any

Mode:Managed Access Point: Not-Associated Tx-Power=14 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on


wlan0 IEEE 802.11bgn Mode:Master Tx-Power=19 dBm

RTS thr:off Fragment thr:off
Power Management:on

But again Tx-Power 14 dbm

then i applied

wifi down
iw reg set PL
wifi up

Receiving this output:

Using interface wlan0 with hwaddr 90:f6:52:ff:cc:4b and ssid "5minutes"
sh: auto: bad number
Configuration file: /var/run/hostapd-phy1.conf
Hardware does not support configured mode
wlan1: IEEE 802.11 Hardware does not support configured mode (1) (hw_mode in hostapd.conf)
Could not select hw_mode and channel. (-2)
wlan1: Unable to setup interface.
Failed to start hostapd for phy1

after restoring an old /etc/config/wireless
wlan1 was back but both with low tx power:

wlan1 IEEE 802.11an Mode:Master Tx-Power=14 dBm

RTS thr:off Fragment thr:off
Power Management:on


wlan0 IEEE 802.11bgn Mode:Master Tx-Power=19 dBm

RTS thr:off Fragment thr:off
Power Management:on

iw reg get shows me this:

country US:

(2400 - 2483 @ 40), (N/A, 30)
(5140 - 5860 @ 40), (N/A, 30)

Is there a way i can set it back to tx-power 27 dBm (wlan0) and (wlan1) 17 dBm?

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by eximido

Restore original versions of modified files from squashfs:

cp /rom/lib/modules/*/ath.ko /lib/modules/*/ath.ko
cp /rom/lib/modules/*/cfg80211.ko /lib/modules/*/ath.ko

Then reboot.

comment:2 Changed 5 years ago by jow

  • Resolution set to too_vague
  • Status changed from new to closed

Judging from the error message it looks like you just defined an impossible configuration, reghack and other stuff is unrelated to that.

comment:3 Changed 5 years ago by cobra98 <cobra98@…>

  • Resolution too_vague deleted
  • Status changed from closed to reopened

I applied this but now no wifi is avaible to configure at all:

PHY for wifi device radio0 not found
PHY for wifi device radio1 not found
PHY for wifi device radio0 not found
PHY for wifi device radio1 not found

In luci i can not choose any settings, neither enable it.
So how to fix this without complete reset all my settings?

comment:4 Changed 5 years ago by jow

  • Resolution set to invalid
  • Status changed from reopened to closed

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.