[Alpha] Pre-release test builds available (both 380 and 382 branches)

Status
Not open for further replies.

Shonk

Senior Member
Fixes IPv6 connectivity for ISPs that do not properly follow RFC 7550.

https://github.com/RMerl/asuswrt-merlin/issues/1517

Detailed description is in the commit message:

https://github.com/RMerl/asuswrt-merlin/commit/b1923ad625d0b469238a3d2427908c8aeb3c8eee


is there any user setting with this i was hoping it would fix me having to do the following on every reboot with dont release prefix enabled with sky broadband in the uk

Code:
sleep 12
killall odhcp6c
odhcp6c -df -R -s /tmp/dhcp6c -N try -c 000edit -FP 0:56108 -r23 -r24 -r82 -r83 -k eth0
 

Odkrys

Senior Member
After I looked around the ai-protection each detail page, (ex. AiProtection_IntrusionPreventionSystem.asp)
httpd daemon break cpu and web gui stop response.

Code:
Mem: 403592K used, 36828K free, 0K shrd, 4244K buff, 58520K cached
CPU: 21.0% usr 29.6% sys  0.0% nic 49.2% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 3.93 2.44 1.05 3/186 3184
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
  757     1 ******** R    81016 18.3   0 49.4 httpd -i br0
  785     1 ******** R     4952  1.1   1  0.2 networkmap --bootwait
  766     1 ******** S     6968  1.5   1  0.2 watchdog
  716     1 ******** S    25588  5.8   1  0.1 nt_monitor
  280     1 ******** S    18504  4.1   1  0.1 /bin/swmdk
  798     1 ******** S    11468  2.6   1  0.1 /usr/sbin/lighttpd-monitor
 

beady_uk

Occasional Visitor
is there any user setting with this i was hoping it would fix me having to do the following on every reboot with dont release prefix enabled with sky broadband in the uk

Code:
sleep 12
killall odhcp6c
odhcp6c -df -R -s /tmp/dhcp6c -N try -c 000edit -FP 0:56108 -r23 -r24 -r82 -r83 -k eth0

Can you elaborate on what this does mate?

I have sky fibre in UK and not had any issue with ipv6 on Merlin that I'm aware of.

Thanks
 

Gingernut

Senior Member
@RMerlin

Is Entware supported on the RT-AC86U?

I've formatted my usb3.0 drive as Ext4 and I've issued the entware-setup.sh an here's the output:

Code:
[email protected]:/tmp/home/root# entware-setup.sh
 Info:  This script will guide you through the Entware installation.
 Info:  Script modifies "entware" folder only on the chosen drive,
 Info:  no other data will be changed. Existing installation will be
 Info:  replaced with this one. Also some start scripts will be installed,
 Info:  the old ones will be saved on Entware partition with name
 Info:  like /tmp/mnt/sda1/jffs_scripts_backup.tgz

 Info:  Looking for available partitions...
[1] --> /tmp/mnt/sda1
 =>  Please enter partition number or 0 to exit
[0-1]: 1
 Info:  /tmp/mnt/sda1 selected.

 * Warning:  Found previous installation, saving...
 Info:  Creating /tmp/mnt/sda1/entware folder...
 Info:  Creating /tmp/opt symlink...
ln: /tmp/opt: File exists
 Info:  Creating /jffs scripts backup...
tar: removing leading '/' from member names
 Info:  Modifying start scripts...
Info: Checking for prerequisites and creating folders...
mkdir: can't create directory '/opt': File exists
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
mkdir: can't create directory '/opt/': No such file or directory
Info: Opkg package manager deployment...
/opt/bin/opkg: No such file or directory
chmod: /opt/bin/opkg: No such file or directory
/opt/etc/opkg.conf: No such file or directory
/opt/lib/ld-2.23.so: No such file or directory
/opt/lib/libc-2.23.so: No such file or directory
/opt/lib/libgcc_s.so.1: No such file or directory
sh: cd: line 31: can't cd to /opt/lib
chmod: ld-2.23.so: No such file or directory
ln: ld-linux.so.3: File exists
ln: libc.so.6: File exists
Info: Basic packages installation...
sh: /opt/bin/opkg: not found
sh: /opt/bin/opkg: not found
/opt/usr/lib/locale/locale-archive: No such file or directory
Info: Congratulations!
Info: If there are no errors above then Entware-ng was successfully initialized.
Info: Add /opt/bin & /opt/sbin to your PATH variable
Info: Add '/opt/etc/init.d/rc.unslung start' to startup script for Entware-ng services to start
Info: Found a Bug? Please report at https://github.com/Entware-ng/Entware-ng/issues
[email protected]:/tmp/home/root#

Is there anything special I'm supposed to do first?

Edit: Found the solution, needed to format JFFS partition.
 
Last edited:

RMerlin

Asuswrt-Merlin dev
Is Entware supported on the RT-AC86U?

Yes.

Your log mentions that there was an existing Entware installation, this might be interfering. Remove the Entware folder from your USB disk, reboot the router, then try again setting it up.
 

mikelees2

Regular Contributor
I installed the alpha 380-69 and had to return to 380.68_4. The RT-AC5300 keeps losing the wan. sometimes right at boot and others within a few days.
 

RMerlin

Asuswrt-Merlin dev
I installed the alpha 380-69 and had to return to 380.68_4. The RT-AC5300 keeps losing the wan. sometimes right at boot and others within a few days.

The only WAN change is with IPv6...
 

dlandon

Regular Contributor
I am running a nat-start script successfully on 380.68_4 and when I tried the alpha for my 5300, the script would not run successfully. I see in the log where it runs the nat-start and I tried running it by hand and there were no errors, but the settings do not take effect. Is there a change in the way the scripts are run in the alpha version? Or a change I need to make?

Script:
#!/bin/sh

sleep 8

# WAN
ip rule del fwmark 0x7000/0x7000 2> /dev/null
ip rule add fwmark 0x7000/0x7000 table 254 prio 9990
ip route flush cache

sleep 2

# Route email ports (tcp,udp) to WAN and not VPN.
ALLOWED_PORTS="25 465 587"
for port in $ALLOWED_PORTS; do
iptables -t mangle -D PREROUTING -i br0 -p tcp -m multiport --dport $port -j MARK --set-mark 0x7000/0x7000 2> /dev/null
iptables -t mangle -A PREROUTING -i br0 -p tcp -m multiport --dport $port -j MARK --set-mark 0x7000/0x7000
iptables -t mangle -D PREROUTING -i br0 -p udp -m multiport --dport $port -j MARK --set-mark 0x7000/0x7000 2> /dev/null
iptables -t mangle -A PREROUTING -i br0 -p udp -m multiport --dport $port -j MARK --set-mark 0x7000/0x7000
done

# Route RDP port (tcp,udp) from WAN to VPN
iptables -t mangle -D PREROUTING -i br0 --src 192.168.1.16 -p udp -m multiport --sport 3389 -j MARK --set-mark 0x7000/0x7000 2> /dev/null
iptables -t mangle -D PREROUTING -i br0 --src 192.168.1.16 -p tcp -m multiport --sport 3389 -j MARK --set-mark 0x7000/0x7000 2> /dev/null
iptables -t mangle -A PREROUTING -i br0 --src 192.168.1.16 -p udp -m multiport --sport 3389 -j MARK --set-mark 0x7000/0x7000
iptables -t mangle -A PREROUTING -i br0 --src 192.168.1.16 -p tcp -m multiport --sport 3389 -j MARK --set-mark 0x7000/0x7000

# Route Allowed Domain Names to VPN Client 1
for DNS in $(awk '{ print $1 }' /jffs/scripts/AllowDNS)
do
iptables -t mangle -D PREROUTING -i br0 -d $DNS -j MARK --set-mark 0x7000 2> /dev/null
iptables -t mangle -A PREROUTING -i br0 -d $DNS -j MARK --set-mark 0x7000
done
 

Bambalacul

Occasional Visitor
Hi Merlin,

I have RT-AC88U router and install firmware ver. 382.1 and after some days router don't let any devices to be connect on 2.4 band. I discover is happened when Multi User MIMO is enabled. I disable and after another 2-3 days I note network speed was drop. Normal I have 1Gbs ( real aroud 750 Mbs) and now speed test show only 150 Mbs. For this reason I comeback to 380.67 version and speed go back.

Best regards,
 

RMerlin

Asuswrt-Merlin dev
I've been repeating it for quite some time already: keep MU-MIMO disabled. The RT-AC88U's chip does not support it properly.
 

Maghook

Regular Contributor
@RMerlin

I upgaded to a RT-AC86u(Hw-Revision 1.5 with CFE 1.0.0.6) from my old RT-AC88u. Especially CPU power difference is like night and day between these two. RT-AC86u seems like a new level to me, although you mentioned that the new broadcom HND SDK is a nightmare to deal with.
Upon flashing 382.1_1 in order to run my RT-AC86u in AP mode I noticed some differences:
  • I can't use "mtd-erase2 nvram" to clear nvram anymore. Is "mtd_erase_image_update" a substitue cmd for this? I guess no.
  • Seems I can't use the broadcom WLAN Radar implementation properly. First I got told that there is no interface available. After setting fixed channels on 2G and 5G it seems that on turning on site survey there is no data collected at all. Do you perhaps have an idea which I'm doing wrong?
Thank you very much!
 

dlandon

Regular Contributor
I am running a nat-start script successfully on 380.68_4 and when I tried the alpha for my 5300, the script would not run successfully. I see in the log where it runs the nat-start and I tried running it by hand and there were no errors, but the settings do not take effect. Is there a change in the way the scripts are run in the alpha version? Or a change I need to make?

Script:
#!/bin/sh

sleep 8

# WAN
ip rule del fwmark 0x7000/0x7000 2> /dev/null
ip rule add fwmark 0x7000/0x7000 table 254 prio 9990
ip route flush cache

sleep 2

# Route email ports (tcp,udp) to WAN and not VPN.
ALLOWED_PORTS="25 465 587"
for port in $ALLOWED_PORTS; do
iptables -t mangle -D PREROUTING -i br0 -p tcp -m multiport --dport $port -j MARK --set-mark 0x7000/0x7000 2> /dev/null
iptables -t mangle -A PREROUTING -i br0 -p tcp -m multiport --dport $port -j MARK --set-mark 0x7000/0x7000
iptables -t mangle -D PREROUTING -i br0 -p udp -m multiport --dport $port -j MARK --set-mark 0x7000/0x7000 2> /dev/null
iptables -t mangle -A PREROUTING -i br0 -p udp -m multiport --dport $port -j MARK --set-mark 0x7000/0x7000
done

# Route RDP port (tcp,udp) from WAN to VPN
iptables -t mangle -D PREROUTING -i br0 --src 192.168.1.16 -p udp -m multiport --sport 3389 -j MARK --set-mark 0x7000/0x7000 2> /dev/null
iptables -t mangle -D PREROUTING -i br0 --src 192.168.1.16 -p tcp -m multiport --sport 3389 -j MARK --set-mark 0x7000/0x7000 2> /dev/null
iptables -t mangle -A PREROUTING -i br0 --src 192.168.1.16 -p udp -m multiport --sport 3389 -j MARK --set-mark 0x7000/0x7000
iptables -t mangle -A PREROUTING -i br0 --src 192.168.1.16 -p tcp -m multiport --sport 3389 -j MARK --set-mark 0x7000/0x7000

# Route Allowed Domain Names to VPN Client 1
for DNS in $(awk '{ print $1 }' /jffs/scripts/AllowDNS)
do
iptables -t mangle -D PREROUTING -i br0 -d $DNS -j MARK --set-mark 0x7000 2> /dev/null
iptables -t mangle -A PREROUTING -i br0 -d $DNS -j MARK --set-mark 0x7000
done
Not exactly sure what I did, but it is now working.
 

RMerlin

Asuswrt-Merlin dev

RMerlin

Asuswrt-Merlin dev
I can't use "mtd-erase2 nvram" to clear nvram anymore. Is "mtd_erase_image_update" a substitue cmd for this? I guess no.

The RT-AC86U uses UBI for its flash storage. There might be an equivalent command but I don't know what it is, I never looked. I just use the webui whenever I want to erase nvram.

Seems I can't use the broadcom WLAN Radar implementation properly. First I got told that there is no interface available. After setting fixed channels on 2G and 5G it seems that on turning on site survey there is no data collected at all. Do you perhaps have an idea which I'm doing wrong?

Make sure you enable Data Collection, on its Settings tab.
 

bradbort

Senior Member

Hi Marlin,

Do you mean turning off just Mu-Mimo, or also inmplicit and explicit beam forming (since they are three different options in the professional menu)?

I've been running the alpha 2 of 382 on an 88U for a couple of days, since I' became aware it was up. It seems to be running well for me.

I did try to install the 18991 code from Asus that they posted yesterday. It has some new features (Alexa integration), but my family immeadiately started to complain that inital connects for streaming were taking a long time to establish, and lags in other areas as well.

Merlin, are you going to be integrating on top of that newer code base, or wait until the dust settles a bit.

BB
 
Status
Not open for further replies.

Similar threads

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