Convert LAN port as a WAN port

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
semira
Posts: 18
Joined: Tue Sep 17, 2013 1:55 am

Convert LAN port as a WAN port

Post 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 :(
Last edited by semira on Wed Jul 01, 2015 8:17 am, edited 1 time in total.

semira
Posts: 18
Joined: Tue Sep 17, 2013 1:55 am

Re: Convert LAN port as a WAN port

Post by semira »

If anyone know how to do this please let me know

Thnaks !!

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Convert LAN port as a WAN port

Post by Lantis »

http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

semira
Posts: 18
Joined: Tue Sep 17, 2013 1:55 am

Re: Convert LAN port as a WAN port

Post 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'

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Convert LAN port as a WAN port

Post 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'
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply