#17209: wlan0 / wifi0, unbridged, does not get ip address assigned
-----------------------+------------------------
Reporter: doddel | Owner: developers
Type: defect | Status: reopened
Priority: high | Milestone:
Component: packages | Version: Trunk
Resolution: | Keywords:
-----------------------+------------------------
Comment (by anonymous):
Platform: Ar71xx TPlink Archer C7 V2
root@OpenWrt:/# 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 'fda4:1103:3ec4::/48'
config interface 'lan'
option ifname 'eth1'
option force_link '1'
# option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 2 3 4 5'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '1 6'
#### WIFI configuration
config 'interface' 'wlan0'
option 'ifname' 'radio0'
option 'proto' 'static'
option ipaddr 10.11.150.1
option netmask 255.255.255.0
option force_link '1'
#### WIFI configuration
config 'interface' 'wlan1'
option 'ifname' 'radio1'
option 'proto' 'static'
option ipaddr 10.22.150.1
option netmask 255.255.255.0
option force_link '1'
config 'interface' 'usb0'
option 'name' 'usb0'
option 'proto' 'dhcp'
option 'ifname' 'usb0'
option 'defaultroute' '0'
option 'peerdns' '0'
###################
at /etc/config/wireless
config wifi-device radio0
option type mac80211
option channel 36
option hwmode 11a
option path 'pci0000:01/0000:01:00.0'
option htmode VHT80
# REMOVE THIS LINE TO ENABLE WIFI:
# option disabled 1
config wifi-iface
option device radio0
option network lan
option mode ap
option ssid OpenWrt
option encryption none
config wifi-device radio1
option type mac80211
option channel 11
option hwmode 11g
option path 'platform/qca955x_wmac'
option htmode HT20
# REMOVE THIS LINE TO ENABLE WIFI:
# option disabled 1
config wifi-iface
option device radio1
option network lan
option mode ap
option ssid OpenWrt
option encryption none
root@OpenWrt:/#
--
Ticket URL: <https://dev.openwrt.org/ticket/17209#comment:20>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets