GithubHelp home page GithubHelp logo

padavan-ng's Introduction

Actively Maintained

README

Welcome to the RT-N56U project (by @Andi Padavan)

This project aims to improve the RT-N56U and other supported devices on the software part, allowing power user to take full control over their hardware. This project was created in hope to be useful, but comes without warranty or support. Installing it will probably void your warranty. Contributors of this project are not responsible for what happens next. Flash at your own risk!

Unofficial changes in this Fork

Motivation: I got two good old RT-N56U happily up and running since years with @Andy Padavan firmware (kudos and credits!) and as i plan to still keep them running at least till my internet modem gets an upgrade to over 1 gigabit i recently felt that i have to update it as the latest official firmware update was from 2018 (development snapshot) and no changes have been done there since then.

Modification: Sooo i forked the original repo from @Andy Padavan, followed the build instructions and eventually started to do my things... for some weeks... till i was ready and pleased so far with my 'refreshed' version. In one of my last changes i accidentally found this repo during investigating stuff which was a better and more up-to-date version of my 'refresh'. No clue how i could miss that the whole time, but i did! Damn!! :-)

Result: Ok so i made a new plan by going back to start and use this better repo from @Linaro1985 as a base for my refresh and instead carry THIS torch a bit further on. And here we are now with the result in this repo which contains changes which i (ZaneZam) needed/find useful and which are based on top of the latest commit (56960f9) of the unofficial fork from @Linaro1985 (project got 'archived' meanwhile!) ready to get used. It contains mainly changes for the RT-N56U which are for example: updated program/library packages, security fixes, minor webui changes, a lean firmware config 'mini', etc. (details in the changelog, see link below) I will try to keep things updated on a regular basis and maybe some more improvements will find their way into this fork in the future.

ATTENTION: Due to lack of other supported devices changes i made are ONLY tested by me on the RT-N56U device! So if these changes are working on other supported devices is unknown!!

How do I get set up?

  • Get the tools to build the system or use one of the pre-build images (see below)
  • Feed the device with the system image file (Follow instructions of updating your current system in wiki)
  • Perform factory reset
  • Open web browser on http://my.router to configure the services

Documentation

Downloads

Source

Contribution

Feel free to send in improvements/fixes (but please ONLY for the RT-N56U!!) I'll keep the issue/pull request system open for that purpose. NOTE: if and when a possible interesting change will get added depends on a verification/test of the particular change and if i have time to do it.

DISCLAIMER

IMPORTANT NOTE!! PLEASE READ IT CAREFULLY!!

NO WARRANTY OR SUPPORT

This product includes copyrighted third-party software licensed under the terms of the GNU General Public License. Please see The GNU General Public License for the exact terms and conditions of this license. The firmware or any other product designed or produced by this project may contain in whole or in part pre-release, untested, or not fully tested works. This may contain errors that could cause failures or loss of data, and may be incomplete or contain inaccuracies. You expressly acknowledge and agree that use of software or any part, produced by this project, is at Your sole and entire risk.

ANY PRODUCT IS PROVIDED 'AS IS' AND WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND. ALL CONTRIBUTORS EXPRESSLY DISCLAIM ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.

padavan-ng's People

Contributors

0x36 avatar andy9a9 avatar bmork avatar borkmann avatar chenhuacai avatar cotequeiroz avatar cpaasch avatar dhowells avatar dvlasenk avatar ebiggers avatar herbertx avatar hpalacio avatar hreinecke avatar imgbotapp avatar jwischka avatar khseal avatar lijinyue avatar linaro1985 avatar matnyman avatar miracle091 avatar nbd168 avatar neilbrown avatar nicstange avatar oneukum avatar oohal avatar probackup-nl avatar rientjes avatar syzzer avatar ummakynes avatar zanezam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

padavan-ng's Issues

Default WiFi password after flashing from factory

On an ASUS RT-N56U A1
I flashed from factory and before flashing the WiFi had no password.
After flashing both WiFi networks have a password, my issue here, is that the LAN ports on the router are not working.
This issue with the LAN ports existed prior to flashing. The LAN switch works, meaning if I connect two devices they can talk to each other, but the router interface is not reachable through the LAN ports, nor internet or DHCP is made available. This is something specific to my router's hardware, and not firmware related. WAN port works fine.
I need to know the default Wifi password to access the router. Or if possible access the router thought the WAN port.

Wireguard support

Hi,

@zanezam I'd like to thank you for you work supporting this firmware, its great! Thank you for yr efforts here!

Since this is the only panavan-ng repo where something happens, is there a possibility to implement the WireGuard support here, like its made in https://gitlab.com/dm38/padavan-ng.git ?

Building on debian fails in iptables: configure file is missing

For your information, sudo ./clear_tree.sh && sudo ./build_firmware.sh fails in iptables using a github downloaded zip file, dating Nov 7 2021, on Linux debian 4.9.0-8-686-pae #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21) i686 GNU/Linux.

Note 1: iptables-x.y.z/configure was there in https://github.com/LESHIY-ODESSA/padavan-ng/blob/master/trunk/user/iptables/iptables-1.4.16.3/configure

Forgotten to check out in git/upload to github?

Last output:
...

make[3]: Entering directory '/opt/padavan-ng-custom/trunk/user/iptables'
cp -f /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions/disabled/libxt_set.* /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions
cp -f /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions/disabled/libxt_SET.* /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions
rm -f /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions/libxt_policy.*
rm -f /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions/libipt_ah.*
rm -f /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions/libip6t_ah.*
rm -f /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions/libxt_esp.*
rm -f /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions/libxt_CLASSIFY.*
rm -f /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions/libxt_IMQ.*
cp -f /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions/disabled/libxt_conntrack.* /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions
cp -f /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions/disabled/libxt_physdev.* /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions
rm -f /opt/padavan-ng-custom/trunk/user/iptables/iptables-1.8.7/extensions/libxt_string.*
( cd iptables-1.8.7 ; \
./configure \
	--prefix= \
	--enable-static \
	--disable-shared \
	--disable-nftables \
	--disable-connlabel \
	--with-xt-lock-name=/var/lock/xtables.lock \
	--with-xtlibdir=/usr/lib/xtables \
	--with-kernel=/opt/padavan-ng-custom/trunk/linux-3.4.x \
	--enable-ipv6 \
	--host=mipsel-linux \
	--build=i686-pc-linux-gnu ; \
)
/bin/sh: 2: **./configure: not found**
Makefile:20: recipe for target 'configure' failed
make[3]: *** [configure] Error 127
make[3]: Leaving directory '/opt/padavan-ng-custom/trunk/user/iptables'
Makefile:12: recipe for target 'config_test' failed
make[2]: *** [config_test] Error 2
make[2]: Leaving directory '/opt/padavan-ng-custom/trunk/user/iptables'
Makefile:177: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/opt/padavan-ng-custom/trunk/user'
Makefile:171: recipe for target 'user_only' failed
make: *** [user_only] Error 2
./build_firmware.sh: 524: ./build_firmware.sh: Bad substitution

Update Mediatek wifi driver

Please add new driver MT7622_7615_SoftAP_5.0.5.1
Hanwckf ( commit: dab37f6df629ac9946cc52bf923f01c8d14da8d0)

Since libusb update to v1.0.24 hard links to /usr/share/automake-1.16

libusb-1.0.24$ ls -la | grep ^l

lrwxrwxrwx  1 root root     32 Jul  4 13:38 INSTALL -> /usr/share/automake-1.16/INSTALL
lrwxrwxrwx  1 root root     32 Jul  4 13:38 compile -> /usr/share/automake-1.16/compile
lrwxrwxrwx  1 root root     37 Jul  4 13:38 config.guess -> /usr/share/automake-1.16/config.guess
lrwxrwxrwx  1 root root     35 Jul  4 13:38 config.sub -> /usr/share/automake-1.16/config.sub
lrwxrwxrwx  1 root root     32 Jul  4 13:38 depcomp -> /usr/share/automake-1.16/depcomp
lrwxrwxrwx  1 root root     35 Jul  4 13:38 install-sh -> /usr/share/automake-1.16/install-sh
lrwxrwxrwx  1 root root     38 Jul  4 13:38 ltmain.sh -> /usr/share/libtool/build-aux/ltmain.sh
lrwxrwxrwx  1 root root     32 Jul  4 13:38 missing -> /usr/share/automake-1.16/missing

Better have those files inlined to adapt for different build setups (not having /usr/share/automake-1.16).

As is done with libusb:

$ ls -la | grep ^l
<no output>

busybox CONFIG_ASH_GETOPTS=y instead of not set

Let's Encrypt client acme.sh fails to run correctly because Busybox it's CONFIG_ASH_GETOPTS is not set.

Despite "Automatically generated make config: don't edit" I would edit trunk/configs/boards/busybox.config with:
CONFIG_ASH_GETOPTS=y

...until I find a better spot to make this change permanent.

WAN interface (services) do not respond

WAN set to IPoE: Static IP (192.168.x.y), and https webadmin interface enabled on the WAN side as well as SSH and to respond to PING request, I'd expect to be able to access services from the WAN port side.

However WAN side doesn't respond. Only when the ethernet cable is plugged to the LAN side, the configured WAN IP responds.

Regression:

  • check lights: blink
  • check connection status: Connected, 100 Mbps, Full Duplex, FC TX/RX
  • disabled firewall on N56U: no difference
  • disabled other connections on the client computer: no difference
  • try PING: Request timeout
  • with and without working gateway on the WAN side: no difference
  • change https admin interface to the same port number as on the LAN side: no difference (only access from LAN side using WAN ipv4)
  • reverting back to Padavan firmware build: PING works on WAN, https web admin/ssh don't respond because the sliders of those are now set to OFF.

Build settings:

CONFIG_FIRMWARE_ENABLE_IPV6=y
CONFIG_FIRMWARE_ENABLE_USB=y
CONFIG_FIRMWARE_ENABLE_EXT4=y
CONFIG_FIRMWARE_ENABLE_SWAP=y
CONFIG_FIRMWARE_INCLUDE_IPSET=y
CONFIG_FIRMWARE_INCLUDE_TCPDUMP=y
CONFIG_FIRMWARE_INCLUDE_HDPARM=y
CONFIG_FIRMWARE_INCLUDE_EAP_PEAP=y
CONFIG_FIRMWARE_INCLUDE_DDNS_SSL=y
CONFIG_FIRMWARE_INCLUDE_DDNS_CERT=y
CONFIG_FIRMWARE_INCLUDE_HTTPS=y
CONFIG_FIRMWARE_INCLUDE_DROPBEAR=y
CONFIG_FIRMWARE_INCLUDE_DROPBEAR_FAST_CODE=y
CONFIG_FIRMWARE_INCLUDE_OPENSSL_EC=y
CONFIG_FIRMWARE_INCLUDE_OPENSSL_EXE=y

Update Libav/ffmpeg

Please update Libav/ffmpeg, so that it supports MPEG-5, HEVC and other codecs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.