Page 1 of 1

Convert LAN port as a WAN port

Posted: Fri May 08, 2015 9:23 am
by semira
I accidentally left my DSL modem plugged to the cable yesterday and surge hit it and destroy my modem completely. ADSL splitter burned out completely. But that's not the problem. As soon as I notice the damage the first thing I did is power up my 1043-ND to check,is my baby fine :shock: It boot up nicely . All the led s are working :) and my mobile connected to wi-fi

Who cares the cheap ADSL modem. I bought new ADSL modem today and configure it and plug in to my baby. WAN led not blinking !! :o then I realize something is not quite right. I Restart the both modem and my baby and check again :o :o :o :o :( WAN bulb not blinking. I try to led wan bulb as crazy by plug all the available Ethernet cables to the wan port.. but same results. then finally I realize my baby's WAN port is dead :o

I know I should face to the reality. I cant make WAN port working back again but also I don't want to live without my baby.

Could someone please please tell me is there any way to convert one of my LAN port to WAN port? I saw some articles in DD-WRT forums but I cant leave from Gargoyle.Please someone help me in this

Thank you all :(

Re: Convert LAN port as a WAN port

Posted: Fri May 08, 2015 11:42 am
by semira
If anyone know how to do this please let me know

Thnaks !!

Re: Convert LAN port as a WAN port

Posted: Fri May 08, 2015 3:43 pm
by Lantis

Re: Convert LAN port as a WAN port

Posted: Sun May 10, 2015 1:15 pm
by semira
I tried to change my netwok.conf file as in forum that you mentioned. but didnt work. My default config in vlans are little bit differ from the forums one. This is my default config file. how i can change this to use my lan1 port as my wan port ? My wan port and lan 3 port both are dead so I cant hook any devices to it.

If i change my lan1 port as a wan port is it function normally as a regular wan port ?

Code: Select all

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 netmask '255.255.255.0'
	option dns '8.8.8.8 8.8.4.4'
	option ipaddr '192.168.2.115'

config switch
	option name 'rtl8366rb'
	option reset '1'
	option enable_vlan '1'

config switch_vlan
	option device 'rtl8366rb'
	option vlan '1'
	option ports '1 2 3 4 5t'

config switch_vlan
	option device 'rtl8366rb'
	option vlan '2'
	option ports '0 5t'

config interface 'wan'
	option ifname 'eth0.2'
	option proto 'dhcp'

Re: Convert LAN port as a WAN port

Posted: Sun May 10, 2015 5:50 pm
by Lantis
semira wrote:I tried to change my netwok.conf file as in forum that you mentioned. but didnt work. My default config in vlans are little bit differ from the forums one. This is my default config file. how i can change this to use my lan1 port as my wan port ? My wan port and lan 3 port both are dead so I cant hook any devices to it.

Please confirm which version of the WR1043ND you have. The config I have posted is relevant to what I assume you have (version 1.x)
WAN = port 1
LAN = ports 2,4
Dead ports = 0,3 (not included in any vlans)

Code: Select all

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 netmask '255.255.255.0'
	option dns '8.8.8.8 8.8.4.4'
	option ipaddr '192.168.2.115'

config switch
	option name 'rtl8366rb'
	option reset '1'
	option enable_vlan '1'

config switch_vlan
	option device 'rtl8366rb'
	option vlan '1'
	option ports '2 4 5t'

config switch_vlan
	option device 'rtl8366rb'
	option vlan '2'
	option ports '1 5t'

config interface 'wan'
	option ifname 'eth0.2'
	option proto 'dhcp'