Modify

Opened 5 years ago

Last modified 4 years ago

#13358 reopened defect

when using "option" macaddr for identify device it doesn't connect RT2800USB

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

Router: TLMR3220
Openwrt: BB r36315
USB dongle id: 148f:3070

01 - "wireless" config file example (generated by wifi detect):
...
config wifi-device 'radio1'

option type 'mac80211'
option hwmode '11ng'
option path 'platform/ehci-platform/usb1/1-1/1-1.3/1-1.3:1.0'
option htmode 'HT20'
list ht_capab 'GF'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'RX-STBC1'
option txpower '27'
option country 'US'
option disabled '0'
option channel 'X'

...

02: "wireless" config file edited for use "option maccaddr" instead of "option path" to identify the device:

...
config wifi-device 'radio1'

option type 'mac80211'
option hwmode '11ng'
option macaddr 'XX:XX:XX:XX:XX:XX"
option htmode 'HT20'
list ht_capab 'GF'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'RX-STBC1'
option txpower '27'
option country 'US'
option disabled '0'
option channel 'X'

config wifi-iface

option ssid 'X'
option bssid 'XX:XX:XX:XX:XX:XX'
option encryption 'wep-open'
option device 'radio1'
option mode 'sta'
option key '1'
option key1 'XXXXX'
option network 'wwan'

...

on 02 the device scan the networks but cannot connect
on 01 the device connects but if i need to change the dongle, then it doesn't get recognized.

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by nbd

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

config error, option macaddr for changing the mac address needs to go into the wifi-iface section.

comment:2 Changed 5 years ago by nbd

sorry, misread the ticket description. could you please elaborate why you want to use the mac address here and if there are any error messages when bringing up wifi?

comment:3 Changed 5 years ago by anonymous

  • Resolution invalid deleted
  • Status changed from closed to reopened

I need to identify the wifi with "option macaddr" (using mac) because sometimes the dongle reset or have an error and the router asign to it another phy or another path (option path), then it doesn't get recognized.

When using "option macaddr" the dongle is recognized, can scan, but it doesn't connect as client to another router.

comment:4 Changed 5 years ago by janero

Openwrt bb r36485

same behavior, not fixed

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 reopened .
Author


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

 
Note: See TracTickets for help on using tickets.