Hi guys,
I was playing with my old router D-LINK DSL 2741-EU-F1 version and flashed it to OpenWrt 18.06.1 but I have problem with starting wifi and scanning for wireless network too. Wifi was working before, I have tested it before flashing. In LUCI GUI scanning is also not working but this is probably expected because wlan interface is not started. In GUI
I see :
Network -> Wireless:
phy0
Generic 802.11 Wireless Controller
Channel: ? (? GHz) | Bitrate: ? Mbit/s
Signal
SSID: openWrt | Mode: Master
Wireless is not associated
Trying to resolve this issue for 3 days but no luck. Maybe somebody had similar issue with
enabling wifi on this router.
My configuration is:
OpenWrt 18.06.1
Linux OpenWrt 4.9.120 #0 Wed Aug 15 20:42:39 2018 mips GNU/Linux
/etc/config/wireless
config wifi-device 'phy0'
option type 'mac80211'
option hwmode '11g'
option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
option channel '11'
option txpower '18'
option htmode 'HT40'
option country '00'
option phy 'phy0'
option disabled '0'
config wifi-iface 'wlan0'
option device 'phy0'
option mode 'ap'
option ssid 'openWrt'
option macaddr '14:D6:4D:F3:BD:92'
option network 'lan'
cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd84:9f36:3e18::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 8t'
config interface 'wlan0'
option proto 'static'
option ipaddr '192.168.1.9'
option netmask '255.255.255.0'
When trying wifi up I get:
Thu Dec 07 21:18:48 2018 daemon.notice netifd: phy0 (1603): Could not find PHY for device 'phy0'
Thu Dec 07 21:18:48 2018 daemon.notice netifd: phy0 (1610): WARNING: Variable 'data' does not exist or is not an array/object
wifi status:
root@OpenWrt:~# wifi status
{
"phy0": {
"up": false,
"pending": false,
"autostart": true,
"disabled": false,
"retry_setup_failed": true,
"config": {
"hwmode": "11g",
"path": "pci0000:00\/0000:00:00.0\/0000:01:00.0",
"channel": "11",
"txpower": 18,
"htmode": "HT40",
"country": "00",
"phy": "phy0",
"disabled": false
},
"interfaces": [
{
"section": "wlan0",
"config": {
"mode": "ap",
"ssid": "openWrt",
"macaddr": "14:D6:4D:F3:BD:92",
"mode": "ap",
"network": [
"lan"
]
}
}
]
}
}
Anyway I am not sure about "txpower": 18 and "htmode": "HT40" but I have also tried various
config combinations with no luck either.
I have also tried to flash it to different versions LEDE or OWrt but still same issue.
If would be very appreciated if somebody help with this.
Thanks