Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#9669 closed defect (fixed)

DIR-825 B2 (AR7161) - wireless broken by default

Reported by: da_alex Owned by: juhosg
Priority: high Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc:

Description

I have DLINK DIR-825 (B2) and I have the same problem like this:
/ticket/9284.html
version of openwrt OPENWRT r27340

config wifi-device  radio0
        option type     mac80211
        option channel  11
        option macaddr  00:00:00:00:00:00
        option hwmode   11ng
        option htmode   HT20
        list ht_capab   SHORT-GI-40
        list ht_capab   TX-STBC
        list ht_capab   RX-STBC1
        list ht_capab   DSSS_CCK-40
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 0

config wifi-iface
        option device   radio0
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option encryption none
root@VW:/etc/config# wifi
'radio1' is disabled
Configuration file: /var/run/hostapd-phy0.conf
Could not set interface wlan0 flags: Cannot assign requested address
nl80211: Could not set interface 'wlan0' UP
nl80211 driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
Failed to start hostapd for phy0
'radio1' is disabled

Attachments (1)

dir825b2-mac-fix.patch (2.6 KB) - added by vx 7 years ago.

Download all attachments as: .zip

Change History (22)

comment:2 Changed 7 years ago by nbd

what does it do?

Changed 7 years ago by vx

comment:3 Changed 7 years ago by vx

this fix - read mac address from caldata partition

comment:4 Changed 7 years ago by alex-bee@…

This firmware http://download.openwrt.net/ar71xx/tmp/caldata/B2E/
doesn't work on B2E. Connection with the Internet doesn't work with my config from last versions.

config 'interface' 'loopback'
        option 'ifname' 'lo'
        option 'proto' 'static'
        option 'ipaddr' '127.0.0.1'
        option 'netmask' '255.0.0.0'
 
config 'interface' 'lan'
        option 'ifname' 'eth0'
        option 'type' 'bridge'
        option 'proto' 'static'
        option 'ipaddr' '192.168.1.1'
        option 'netmask' '255.255.255.0'
 
config 'interface' 'wan'
        option 'ifname' 'eth1'
        option 'proto' 'static'
        option 'ipaddr' '192.168.49.94'
        option 'netmask' '255.255.254.0'
        option 'gateway' '192.168.48.1'
        option 'dns' '192.168.255.1'
 
config 'switch'
        option 'name' 'rtl8366s'
        option 'reset' '1'
        option 'enable_vlan' '1'
 
config 'switch_vlan'
        option 'device' 'rtl8366s'
        option 'vlan' '1'
        option 'ports' '0 1 2 3 5'

comment:5 Changed 7 years ago by vx

wan/lan mac address was changed, this may be your problem?

tx/rx packets (ifconfig eth1)?

comment:6 Changed 7 years ago by alex-bee@…

I don't know , but firmware based trunc with your patch applied (assembled by pektop1024) work normally. The reference to a forum in Russian:
forum.ixbt.com/topic.cgi?id=14:49819-57#1709

comment:7 Changed 7 years ago by vx

ok, if you using ppp, problem is irrelevant (firmware doesn't have this feature), patch is working and can be committed ...

comment:8 follow-up: Changed 7 years ago by dreamer

can someone please tell me how to apply this patch ? thanx

comment:9 in reply to: ↑ 8 Changed 7 years ago by vx

Replying to dreamer:

can someone please tell me how to apply this patch ? thanx

wget --no-check-certificate https://dev.openwrt.org/raw-attachment/ticket/9669/dir825b2-mac-fix.patch -O - | patch -p0

comment:10 Changed 6 years ago by vx

please commit, thx

comment:11 Changed 6 years ago by anonymous

When patch will be in trunk? 5 weeks of silence... It is perfectly working.

comment:12 Changed 6 years ago by jow

  • Owner changed from developers to juhosg
  • Status changed from new to assigned

comment:13 Changed 6 years ago by juhosg

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r28295. Thanks!

comment:14 follow-up: Changed 6 years ago by anonymous

But... won't this patch broke wireless on those DIR-825 devices, which were not affected by that problem?
Mine, for example, worked fine without this patch.

comment:15 Changed 6 years ago by Pilot6 <hanipouspilot@…>

It probably will. Please check it. If it does not, it is needed to make a separate target.

comment:16 in reply to: ↑ 14 Changed 6 years ago by vx

Replying to anonymous:

But... won't this patch broke wireless on those DIR-825 devices, which were not affected by that problem?
Mine, for example, worked fine without this patch.

"broke" - can you explain? r28295 vs. r28294?
patch works also with my "old" DIR-825-B1 device...

comment:17 follow-up: Changed 6 years ago by anonymous

Sorry, it was a typo. Should read "won't this patch break something?". Nothing is broken yet. But I don't want to check it on my own router for now, that's why I ask.

comment:18 in reply to: ↑ 17 Changed 6 years ago by vx

Replying to anonymous:

Sorry, it was a typo. Should read "won't this patch break something?". Nothing is broken yet. But I don't want to check it on my own router for now, that's why I ask.

i think it's ok, without regression...

comment:19 Changed 5 years ago by d4nk

for fix my wireless on dir-825B1 i need to do this
remplace backfire firmware (openwrt-ar71xx-dir-825-b1-squashfs-factory) to attitude_adjustment firmware (openwrt-ar71xx-generic-dir-825-b1-squashfs-factory) in http://downloads.openwrt.org/attitude_adjustment/
on telnet
uci set wireless.radio1.disabled=0
uci set wireless.radio0.disabled=0
uci commit
wifi

ENJOY!

comment:20 in reply to: ↑ 1 Changed 5 years ago by anonymous

here is the old version and notworking for me
last version is here /attitude_adjustment/ in download OpenWrt

Replying to vx:

try this firmware
http://download.openwrt.net/ar71xx/tmp/caldata/B2E/

comment:21 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.