This is my first openwrt/gargoyle experience. Thanks all for your magnificent work!
My setup:
Gargoyle Version:1.5.8
Model:TP-Link TL-WR1043N/ND v1
Device Configuration:Gateway
Here's my network config:
Code: Select all
root@Gargoyle:~# 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 interface 'lan'
option ifname 'eth0.1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option dns '192.168.1.1'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config switch
option name 'rtl8366rb'
option reset '1'
option enable_vlan '1'
option enable_vlan4k '1'
config switch_vlan
option device 'rtl8366rb'
option vlan '1'
option ports '1 2 3 4t 5t'
config switch_vlan
option device 'rtl8366rb'
option vlan '2'
option ports '0 4t 5t'
root@Gargoyle:~#
(openwrt-ar71xx-generic-tl-wr1043nd-v1-squashfs-factory.bin)
AFterwards it's been flashed with Gargoyle.
(gargoyle_1.5.8-ar71xx-generic-tl-wr1043nd-v1-squashfs-factory.bin)
During initial openwrt config a mistake was made:
The wireless port was combinedly configured to be used with wan and lan. I did not understand at first, but I guess this somehow screwed my configuration.
What's wrong now?
- None of the 4 wired ports are working
- DHCP is not handing ip adress
Thanks for your advice!
Erwin