I am trying to configure my router to act as a WiFi access point for my wired network. The network consists of a modem, a router (PC running pfsense), and a few unmanaged switches.
The router I'm using to run LEDE is a TP-Link AC1750 v3.0. I have loaded 17.01.4, and updated all packages on the device. I used the following image to upgrade from openwrt:
Afterwards I had to go into fail-safe mode, as I could not gain root access. Once there I decided to reset to default by performing mount_root
and firstboot
.
I edited the /etc/config/network file, and deleted all configuration in /etc/config/dhcp. Additionally I disabled dnsmasq, odhcpd, and firewall:
/etc/init.d/firewall disable
/etc/init.d/dnsmasq disable
/etc/init.d/odhcpd disable
Here is my network config:
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 'ffff:ffff:ffff::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0 eth1'
option proto 'static'
option ipaddr '192.168.1.2'
option netmask '255.255.255.0'
option dns '192.168.1.1'
option gateway '192.168.1.1'
option hostname 'essos'
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 4 5 6'
/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'
option txpower '23'
option country 'US'
config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option encryption 'psk2'
option ssid 'Not my real SSID'
option key 'Not my real password'
config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11g'
option path 'platform/qca955x_wmac'
option htmode 'HT20'
option channel '10'
option txpower '23'
option country 'US'
config wifi-iface
option device 'radio1'
option network 'lan'
option mode 'ap'
option encryption 'psk2'
option ssid 'Not my real SSID'
option key 'Not my real password'
My wired router is at ip address 192.168.1.1. It is configured as a dhcp server with a pool from 192.168.1.100 - 192.168.1.199. I have a static IP address setup for the access point at 192.168.1.2.
Whenever I plug the LEDE router into the wired network, it seems to break everything. I cannot reach any other devices from my desktop, including the wired router or the internet. When I unplug the LEDE router, the network returns to normal.