Posted: Sun Jul 24, 2011 0:11 Post subject: WZR-HP-G300NH WAN port fried, can I move it?
We had a really bad storm last night and my nearly new (less than one month) WZR-HP-G300NH router appears to have blown it's WAN port.
I can still access it from the LAN side, but it refuses to connect to anything that is plugged into the WAN port.
I know with my old WRT54 I could remap the ports fairly arbitrarily (never did, but knew about the possibility)... Is there any such support in the Atheros version of DD-WRT?
If so, any pointers on how to shuffle things around to get it running would be most appreciated. _________________ WRT54GL modded to 32MB DRAM and 16MB Flash.
From what I heard the hardware does support port VLANs and is working on Openwrt? Just DD-WRT hasn't worked on it yet. _________________ WZR-HP-G300NH [B0 B0]
WHR-G300N V1 (Ralink)
Joined: 10 May 2008 Posts: 1380 Location: Pacific North West, USA
Posted: Tue Jul 26, 2011 16:50 Post subject:
It's always good to try various firmwares.
If you're not stuck on DD-WRT - google Gargoyle firmware
May help your Non-WAN working situation until DD-WRT adds the feature? _________________ Soylent Green Is People !
=-=-=-=-=-=-=-=-=-=-=
Netgear Nighthawk R7000 - DD-WRT Build R46220
Linksys EA8500 - OpenWRT IPQ806x Trunk R16375 5.4 Kernel
From what I heard the hardware does support port VLANs and is working on Openwrt? Just DD-WRT hasn't worked on it yet.
Correct!
I installed OpenWRT and after some headaches related to config file editing I now have my WAN connection coming in on LAN port #4 and the other three LAN ports configured as for LAN, so it definitely can be done.
Would be nice if DD-WRT could incorporate the code from OpenWRT, I really prefer the UI of DD-WRT. _________________ WRT54GL modded to 32MB DRAM and 16MB Flash.
It didn't work for me either on the WZR-HP-G300NH with commands, maybe TP-Link stuff is a little different. _________________ WZR-HP-G300NH [B0 B0]
WHR-G300N V1 (Ralink)
Does anyone like to try again? Please upgrade to more recent builds like r16785 and r17201 and remember to restore Factory Defaults before continue. Execute "dmesg" and "nvram show | sort". Zip the results and upload here. Don't forget to list the model number of your router. _________________ DD-WRT Forum - Atheros Recommended Build
LOM said that DD-WRT supports vlan but not tagging. And some people have demonstrated that swconfig did work on their TL-WR1043ND. I believe that swconfig should also work on the other routers but the question is to figure out how nvram has to do with the switch.
First of all, TL-WR1043ND is different from the others for its external wan port directly connected to the internal switch while the external wan port of WZR-HP-G300NH is independent from the internal switch. That's why the commands worked on TL-WR1043ND don't work on WZR-HP-G300NH and the other routers.
Second of all, though there's no gui for switch configuration on Atheros platform, I think we can let DD-WRT read the names of the network interfaces from nvram and do what we want it to do to replace the wan interface.
For Buffalo WZR-HP-G300NH, navigate to the Administration -> Commands page and save the script below to the Startup Script.
Code:
#swconfig dev rtl8366s show
swconfig dev rtl8366s vlan 1 set ports "1 2 3 5t"
swconfig dev rtl8366s vlan 2 set ports "0 5t"
nvram set wan_ifname=vlan2
#stopservice wan
#startservice wan
these commands create vlan1 on external port 1,2,3 and vlan2 on external port 4 but they are unaware from the kernel because they aren't shown in the nvram.
Reboot and take a look at Setup, Networking, Port Setup, WAN Port Assignment. Do you see "vlan2"?
If we do it right, I think the kernel should be able to read them and configure the internal switch accordingly. If not, we can still do it by swconfig. The key is to create these nvram variables so that hopefully DD-WRT should be able to take care of the firewall rules.
Joined: 07 Jan 2013 Posts: 6 Location: Domzale, Slovenia
Posted: Thu Jul 25, 2013 7:43 Post subject:
mbellot wrote:
Aveyer wrote:
From what I heard the hardware does support port VLANs and is working on Openwrt? Just DD-WRT hasn't worked on it yet.
Correct!
I installed OpenWRT and after some headaches related to config file editing I now have my WAN connection coming in on LAN port #4 and the other three LAN ports configured as for LAN, so it definitely can be done.
Would be nice if DD-WRT could incorporate the code from OpenWRT, I really prefer the UI of DD-WRT.
i'm struggling with this on my wrt160nl, but i can not get it to work. dd-wrt fw didn't not work as it did on my wrt54gl.