WAN port is dead!

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
dejan55555
DD-WRT Novice


Joined: 20 Sep 2007
Posts: 12

PostPosted: Tue Jun 02, 2009 4:17 pm    Post subject: WAN port is dead! Reply with quote
How can I use one of the 4 lan ports to became wan with DHCP, just like WAN port was?

Light storm destroyed my wan port!
Wireless and lan are still working!

BTW router is Linksys 54GL v1.1


nvram show |grep vlan
vlan0ports=3 2 1 0 5*
vlan0_bridged=1
port5vlans=0 1 16
port3vlans=0
port1vlans=0
wl0_vlan_prio_mode=off
wan_ifname2=vlan1
vlan1_bridged=1
lan_default=vlan0 eth1 eth2 eth3
lan_ifnames=vlan0 eth1 eth2 eth3 vlan1
vlan1hwname=et0
vlan1ports=4 5
port4vlans=0
vlans=0
wan_iface=vlan1
port2vlans=0
size: 22495 bytes (10273 left)
probe_blacklist=vlan0 vlan1
port0vlans=1
vlan0hwname=et0

Can I use the following commands to move LAN port 1 to the WAN VLAN

nvram set vlan0ports="2 1 0 5*"
nvram set vlan1ports="4 3 5"
nvram commit
reboot


Thanks
Sponsor
dpp3530
DD-WRT User


Joined: 12 Dec 2007
Posts: 389
Location: Pittsburgh, PA USA

PostPosted: Tue Jun 02, 2009 7:33 pm    Post subject: Reply with quote
I think you can do it right from the GUI. Just move one of the LAN ports to VLAN1 under Setup/VLANs
_________________
__________________________
WRT300N v1.1
DD-WRT v24SP2 14537 Mega
freonchill
DD-WRT Guru


Joined: 17 Jul 2006
Posts: 1942

PostPosted: Tue Jun 02, 2009 8:05 pm    Post subject: Reply with quote
either way will work (gui under vlan OR command line), as long as you have the port numbers correct.
_________________
2x WRT54G v5, 2x WRT54G v2
1x WRT54G-TM
1x WRT54GL
2x BUFFALO WHR-G54S
1x La Fonera
FON Client Bridge tutorial
dejan55555
DD-WRT Novice


Joined: 20 Sep 2007
Posts: 12

PostPosted: Wed Jun 03, 2009 7:15 am    Post subject: Reply with quote
Tnx it worked!

Very Happy
SilverAnze
DD-WRT Novice


Joined: 07 Jul 2009
Posts: 1

PostPosted: Tue Jul 07, 2009 7:39 pm    Post subject: Reply with quote
I have the same problem - a lightning storm destroyed my wan port!
My router info is:

Router Model: Linksys WRT54GL
Firmware Version: DD-WRT v23 SP2 (09/15/06) std - build 3932

Even if my router shows me the modems external IP if I plug it in in the faulty WAN port I have no internet access on my LAN ports. It must be the lightning damaging the router.

I tried the following procedure:

1. Goto Setup->VLANs.
2. Uncheck the box for the WAN port in the VLAN1 row.
3. Uncheck the box for whatever port you want to use in the VLAN0 row.
4. Check the box for the port you unchecked in step 3 in the VLAN1 row.
5. Apply settings.

My router assignes me the external IP (89.212.x.x) and I can't access the router on 192.168.1.1 after I plug in the cable from the modem in the new "WAN" port (port1). I configured port 1 to be WAN and ports 2-4 to be LAN, the faulty WAN port is disabled. I have internet access via LAN ports 2-4 but can't access the router. The only way to get access to the router is to plug my LAN cable in port1 (new WAN) or unplug the cable from modem.

Any ideas how to figure this out?
jamrd
DD-WRT Novice


Joined: 07 Jul 2009
Posts: 1

PostPosted: Wed Jul 08, 2009 12:54 am    Post subject: Reply with quote
SilverAnze wrote:
I have the same problem - a lightning storm destroyed my wan port!
My router info is:

Router Model: Linksys WRT54GL
Firmware Version: DD-WRT v23 SP2 (09/15/06) std - build 3932

Even if my router shows me the modems external IP if I plug it in in the faulty WAN port I have no internet access on my LAN ports. It must be the lightning damaging the router.

I tried the following procedure:

1. Goto Setup->VLANs.
2. Uncheck the box for the WAN port in the VLAN1 row.
3. Uncheck the box for whatever port you want to use in the VLAN0 row.
4. Check the box for the port you unchecked in step 3 in the VLAN1 row.
5. Apply settings.

My router assignes me the external IP (89.212.x.x) and I can't access the router on 192.168.1.1 after I plug in the cable from the modem in the new "WAN" port (port1). I configured port 1 to be WAN and ports 2-4 to be LAN, the faulty WAN port is disabled. I have internet access via LAN ports 2-4 but can't access the router. The only way to get access to the router is to plug my LAN cable in port1 (new WAN) or unplug the cable from modem.

Any ideas how to figure this out?


i had this problem. And the only way it works was with the code's similar to this via telnet:

Code:
nvram set vlan0ports="3 2 1 5*"
nvram set vlan1ports="4 0 5"
nvram commit
reboot


in my case i'm using port 4 as wan. Via the routers page( setup, Vlans) didnt work for me. try the codes via telnet
nemonavicusrino
DD-WRT Novice


Joined: 08 Feb 2010
Posts: 1

PostPosted: Mon Feb 08, 2010 12:28 pm    Post subject: wan port assigned to lan port Reply with quote
i registered here to thanks to all of you for sharing knowledge with other.
I have this problem, wan and port 1 on lan died. after shearchig about this problem, and after numerous tries Winki finaly get it working, thanks to info provided in this page.
Mini how to for thos like mine know nothing about this wonderfull ruters and have same problem.
on setup, vlans, disable wan interface and asign vlan 0 to port 2(me as an example), and disable other ports for vlan 0. Asign vlan 0 "lan" setting
on vlan 1 activate other ports in lan (3 & 4 to me) and assign "lan" settings. That'all on this menu.
On networking menu on the wan port assignement, choos vlan 0. other settings remains untouched (default).
After that ll it's working again on my router (except to port 1 and wan - died & disabled).
.
if anyone has links with information for new bie pls post them (i do not wher is the config file, how to modify, how telnet the ruter via pc, where to put scripts & other things like that.)
Thanks a lot for save me a few bucks, and a chance to learn something new.
Sorin. (sory for my terible enghlish, i don't speak very well)
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 6315

PostPosted: Mon Feb 08, 2010 3:59 pm    Post subject: Reply with quote
For future reference: http://www.dd-wrt.com/wiki/index.php/Switched_Ports#Second_WAN_port
_________________
Stop using builds older than 12533 and Broadcom users don't use 13064. (Click this!) Read the forum announcements.
Looking for bricks and spare routers for testing/tutorials.
dombila
DD-WRT Novice


Joined: 11 Jan 2010
Posts: 21

PostPosted: Mon Feb 08, 2010 8:58 pm    Post subject: Reply with quote
phuzi0n wrote:
For future reference: http://www.dd-wrt.com/wiki/index.php/Switched_Ports#Second_WAN_port


@ Phuzi0n:
I have just seen your comment in the wrt320n thread (http://www.dd-wrt.com/phpBB2/viewtopic.php?t=58566&start=840): "Gigabit switches do not support reconfiguring the VLAN's."

Does it mean, that the method in the referenced wiki will not work on gigabit switches?
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 6315

PostPosted: Mon Feb 08, 2010 9:14 pm    Post subject: Reply with quote
That's precisely what it means. I just saw someone claiming to have gotten VLAN's working on gigabit switches though:

http://www.dd-wrt.com/phpBB2/viewtopic.php?p=403394#403394

_________________
Stop using builds older than 12533 and Broadcom users don't use 13064. (Click this!) Read the forum announcements.
Looking for bricks and spare routers for testing/tutorials.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum