What's new

[Fork] Asuswrt-Merlin on Broadcom MIPS RT-N series

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Status
Not open for further replies.
in developing these thread: http://forums.smallnetbuilder.com/showthread.php?t=18142

branch https://github.com/AndreyPopovNew/asuswrt-merlin-rt-n/tree/rt-n


ftp://78.25.8.242/pub/ASUS/ASUSWRT_MODDED/
ftp://85.198.188.40/pub/ASUS/ASUSWRT_MODDED/
ftp://82.207.89.70/pub/ASUS/ASUSWRT_MODDED/
ftp://134.249.139.43/pub/ASUS/ASUSWRT_MODDED/

4MB flash routers:
- RT-N12 (not yet tested, no equipment)
- RT-N10D1 (not yet tested, no equipment)
+ RT-N10PV2 (tested)
8MB flash routers:
+RT-N10P (tested)
+ RT-N10U, RT-N10U B1 (tested)
+ RT-N12B1 (tested)
- RT-N12C1 (not yet tested, no equipment)
- RT-N12D1 (tested, with some wifi problems?)
- RT-N12HP (not yet tested, no equipment)
- RT-N12HP_B1 (not yet tested, no equipment)
- RT-N12_VP (not yet tested, no equipment)
+ RT-N15U (tested)
+ RT-N53 (tested)
16MB flash routers:
+ RT-N14UHP (tested, with some wifi problems?)
32MB flash routers:
+ RT-N16 (tested)

Changes:

- mod8 18.02.2015

- Based on Merlin 378.51 alpha (ASUS 3.0.0.4.378_4129) source
- add support to 4MB flash routers RT-N10D1, RT-N10PV2, RT-N12
a) DualWAN support
b) add PPTP VPN server and client
c) add SSH
d) Merlin Tools->Sysinfo & RunCmd
e) Merlin Wireless Survey
limitations:
() webui: some images low quality, some images removed
() webui: only English language
() no JFFS
() no CIFS
- 5G support on RT-N53 now work!
- OpenVPN: if JFFS enable - store keys and certificates in JFFS. only one server and one client
- webui: Administration page - reworked swap options, add USB installed apps options
fixed (I hope): RT-N10U, RT-N53 not upgraded by webui

Hi Andrey and thanks for all of the great work. I am trying to help out by filling out the wiki page for the asuswrt-merlin-rt-n project ( https://github.com/AndreyPopovNew/asuswrt-merlin-rt-n/wiki ). Can you clarify the following so I can add them to the wiki?
  • Is installing the Webkit (when available for a specific router) and the Webkit-ext optional or required? In other words, for the RT-N16 do users need to install all three RT-N16_3.0.0.4_378_4129-gecc8142-m8.trx , RT-N16_3.0.0.4_378_4129-gecc8142-m8-webkit-ext.tgz , RT-N16_3.0.0.4_378_4129-gecc8142-m8-webkit.trx ? Or is just installing RT-N16_3.0.0.4_378_4129-gecc8142-m8.trx sufficient? I'm somewhat confused on what the external webkit is for.
  • I saw your instructions for installing the external web kit, but I couldn't find the instruction for the -ext file, can you point me to it so I can add it to the wiki? (aka RT-N16_3.0.0.4_378_4129-gecc8142-m8-webkit-ext.tgz)?
  • The following is the list of feature that I gathered are unique to RT-N project based on your change log. Did I capture it correctly?
    • Support for RT-N devices including the devices with smaller flash (limited features)
    • Kernel support for IPSec
    • OpenVPN support with JFFS cert/key storage
    • SSH keys storage in JFFS (if JFFS enabled)
    • Swap file management (if JFFS enabled)
 
Last edited:
  • Like
Reactions: rod
Is installing the Webkit (when available for a specific router) and the Webkit-ext optional or required?

for USB router two variants:
1. no webkit (no webkit in file name)
2. with external webkit support (with webkit in file name) and *-ext.tgz is webkit archive that must be isnalled

if you flash version with external webkit support then you must install web kit or otherwise:
for RT-N15U and RT-N10U - all USB features NOT WORK (Samba, FTP, NFS, AiCloud) and OpenVPN, TOR

for RT-N14UHP - not work AiCloud , OpenVPN , TOR

only on RT-N16 all features work. external web kit for RT-N16 for future features (I try insert Download master webui)

I saw your instructions for installing the external web kit, but I couldn't find the instruction for the -ext file, can you point me to it so I can add it to the wiki? (aka RT-N16_3.0.0.4_378_4129-gecc8142-m8-webkit-ext.tgz)?
webkit-ext.tgz downloaded and installed from web by prep-ext-kit.sh command

The following is the list of feature that I gathered are unique to RT-N project based on your change log. Did I capture it correctly?
    • Support for RT-N devices including the devices with smaller flash (limited features)
    • Kernel support for IPSec
    • OpenVPN support with JFFS cert/key storage
    • SSH keys storage in JFFS (if JFFS enabled)
    • Swap file management (if JFFS enabled)
Kernel support for IPsec is Merlin feature

also differencies are:
- link /jffs/crontabs/admin to /var/crontab/admin and show it in Administartion page
- another ports detection algorithm on Tools Sysinfo
- not default gateway option for PPTP client
 
Last edited:
  • Like
Reactions: rod
I updated the wiki, but have the following questions. After this, I can send you a pull request in github with an updated README.md since the current one at AndreyPopovNew/asuswrt-merlin-rt-n is showing AsusWRT-Merlin device support list instead of AndreyPopovNew/asuswrt-merlin-rt-n's device support list.

also differences are:
...
- not default gateway option for PPTP client

What I understand as this is the following:

With Asuswrt-merlin when the router is configured as a PPTP VPN client, all of the requests from systems on the local network are routed to the external PPTP VPN server. The routed requests to the external vpn server include requests for the internet (i.e. google, yahoo, youtube, facebook, etc). This routing may provide additional security if the local ISP link is not secure, but will add latency and bandwidth limitations. In the Asuswrt-Merlin-RT-N, when the router is configured as a PPTP VPN client, the VPN interface will no longer serve as the default gateway, and internet requests will not be sent to the external PPTP VPN server, instead the router will continue to route the local internet requests to the local ISP. The benefit of this feature is that you can securely link multiple LANs over PPTP VPN for the local network requests without degrading the performance of general internet requests.​

  • Did I understand this feature correctly?
  • Is this for PPTP VPN only or does it apply to the OpenVPN VPN setup as well?
 
Last edited:
What I understand as this is the following:
With Asuswrt-merlin when the router is configured as a PPTP VPN client, all of the requests from systems on the local network are routed to the external PPTP VPN server. The routed requests to the external vpn server include requests for the internet (i.e. google, yahoo, youtube, facebook, etc). This routing may provide additional security if the local ISP link is not secure, but will add latency and bandwidth limitations. In the Asuswrt-Merlin-RT-N, when the router is configured as a PPTP VPN client, the VPN interface will no longer serve as the default gateway, and internet requests will not be sent to the external PPTP VPN server, instead the router will continue to route the local internet requests to the local ISP. The benefit of this feature is that you can securely link multiple LANs over PPTP VPN for the local network requests without degrading the performance of general internet requests.​

  • Did I understand this feature correctly?
  • Is this for PPTP VPN only or does it apply to the OpenVPN VPN setup as well?
Yes, you understand correctly with little exception:
in RT-N fork you can choose use remote gateway as default or not!
pptp_gateway.jpg


OpenVPN has own options like - Redirect Internet traffic
 
Last edited:
Yes, you understand correctly with little exception:
in RT-N fork you can choose use remote gateway as default or not!
View attachment 3520

OpenVPN has own options like - Redirect Internet traffic


Hi Andrey!

First of all, thank you very much for your firmware!

I'm using it succesfully with a RT-N15U and I noticed that in your firmaware we can enable/disable the use of default gateway in the pptp client as per the above post.
However, if pptp client is connected, the option usepeerdns (in /tmp/pptp.conf I think..) is always enforced and all LAN clients go thru remote endpoint (pptp server) DNS servers instead of the router DNS server.
Do you think there's any chance to implement a GUI knob to enable/disable pptp client use of peerdns?


Regards,
sk1z0fr3n1k
 
Last edited:
However, if pptp client is connected, the option usepeerdns (in /tmp/pptp.conf I think..) is always enforced and all LAN clients go thru remote endpoint (pptp server) DNS servers instead of the router DNS server.
Do you think there's any chance to implement a GUI knob to enable/disable pptp client use of peerdns?


Regards,
sk1z0fr3n1k
it's two way:
1. add in GUI new option and add new variable to nvram
2. always not use peerdns if not use remote gateway as default
 
it's two way:
1. add in GUI new option and add new variable to nvram
2. always not use peerdns if not use remote gateway as default

Andrey,

I think it makes sense to also disable usepeerdns if the user disables the remote gateway on pptp client config page.

Do you think this could be implemented in future release of your firmware?


Regards,
sk1z0fr3n1k
 
I had recently purchased the RT-AC68U and thought the dual wan failover + watchdog worked like garbage. (using newest official firmware)

Would this firmwares dual wan failover /w watchdog work better on my RT-N16?
 
but Auto-reconnect option exist!?!?!?!

Andrey,

I thought auto-reconnect option in GUI enabled persist & holdoff values in pptp client config file (in order to bring pptp connection on again after disconnect) and not to connect on boot.

Regards,
sk1z0fr3n1k
 
I thought auto-reconnect option in GUI enabled persist & holdoff values in pptp client config file (in order to bring pptp connection on again after disconnect) and not to connect on boot.
like for me ,all work perfectly:
Mar 24 17:52:08 pptp[11311]: LCP terminated by peer (MPPE disabled)
Mar 24 17:52:08 pptp[11311]: Connect time 1532.3 minutes.
Mar 24 17:52:08 pptp[11311]: Sent 1014381536 bytes, received 15065778 bytes.
Mar 24 17:52:09 pptpd[11310]: CTRL: Client pppd TERM sending
Mar 24 17:52:09 pptp[11311]: Terminating on signal 15
Mar 24 17:52:09 pptpd[11310]: CTRL: Client pppd finish wait
Mar 24 17:52:11 pptp[11311]: Connection terminated.
Mar 24 17:52:11 pptp[11311]: Modem hangup
Mar 24 17:52:11 pptp[11311]: Exit.
Mar 24 17:52:11 pptpd[11310]: CTRL: Client 85.198.178.37 control connection finished
Mar 24 17:53:03 pptpd[16815]: CTRL: Client 85.198.171.69 control connection started
Mar 24 17:53:04 pptpd[16815]: CTRL: Starting call (launching pppd, opening GRE)
Mar 24 17:53:04 pptp[16816]: Plugin pptp.so loaded.
Mar 24 17:53:04 pptp[16816]: PPTP plugin version 0.8.5 compiled for pppd-2.4.7, linux-2.6.22.19
Mar 24 17:53:04 pptp[16816]: pppd 2.4.7 started by admin, uid 0
Mar 24 17:53:04 pptp[16816]: Using interface ppp10
Mar 24 17:53:04 pptp[16816]: Connect: ppp10 <--> pptp (85.198.171.69)
Mar 24 17:53:04 pptp[16816]: MPPC/MPPE 128-bit stateless compression
I remote reboot router that connected by PPTP and after reboot it again connected.
 
Last edited:
like for all work perfectly:
Mar 24 17:52:08 pptp[11311]: LCP terminated by peer (MPPE disabled)
Mar 24 17:52:08 pptp[11311]: Connect time 1532.3 minutes.
Mar 24 17:52:08 pptp[11311]: Sent 1014381536 bytes, received 15065778 bytes.
Mar 24 17:52:09 pptpd[11310]: CTRL: Client pppd TERM sending
Mar 24 17:52:09 pptp[11311]: Terminating on signal 15
Mar 24 17:52:09 pptpd[11310]: CTRL: Client pppd finish wait
Mar 24 17:52:11 pptp[11311]: Connection terminated.
Mar 24 17:52:11 pptp[11311]: Modem hangup
Mar 24 17:52:11 pptp[11311]: Exit.
Mar 24 17:52:11 pptpd[11310]: CTRL: Client 85.198.178.37 control connection finished
Mar 24 17:53:03 pptpd[16815]: CTRL: Client 85.198.171.69 control connection started
Mar 24 17:53:04 pptpd[16815]: CTRL: Starting call (launching pppd, opening GRE)
Mar 24 17:53:04 pptp[16816]: Plugin pptp.so loaded.
Mar 24 17:53:04 pptp[16816]: PPTP plugin version 0.8.5 compiled for pppd-2.4.7, linux-2.6.22.19
Mar 24 17:53:04 pptp[16816]: pppd 2.4.7 started by admin, uid 0
Mar 24 17:53:04 pptp[16816]: Using interface ppp10
Mar 24 17:53:04 pptp[16816]: Connect: ppp10 <--> pptp (85.198.171.69)
Mar 24 17:53:04 pptp[16816]: MPPC/MPPE 128-bit stateless compression
I remote reboot router that connected by PPTP and after reboot it again connected.

Andrey,

It's clear now, thanks!


Regards,
sk1z0fr3n1k
 
hi andrey,

i have a RT N12 D1 with 2 10dbi antennas as a repeater and i was looking for a way, if its possible, to overclock or boost the router tx power. did your firmware do that?

thanks
 
hi andrey,

i have a RT N12 D1 with 2 10dbi antennas as a repeater and i was looking for a way, if its possible, to overclock or boost the router tx power. did your firmware do that?

thanks
boost wifi tx power requeried some nvram variables modifications and cfe modifications.

you can try only nvram variables modifications - find thread how boost rt-n66u wifi
 
Status
Not open for further replies.

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top