gnuton / asuswrt-merlin.ng

Extends the support of Merlin firmware to more ASUS routers
Other
1.48k stars 84 forks source link

mounting nfs share not working #660

Open Lobo2022 opened 2 months ago

Lobo2022 commented 2 months ago

Router Model Affected Models: RT-AX 58U v2

Firmware Version Affected 3004.388.8_2-gnuton1

Is this bug present in upstream Merlin releases too? I have an old RT-AC66U B1 with firmware 386.14. and the described command works perfectly

Describe the bug 1- Entware installed through amtm.

  1. using BusyBox v1.25.1 mount cmd: /bin/mount -t nfs 192.168.1.114:yyyy /tmp/xxxx -o nolock,rw,tcp
  2. return: mount.nfs: No such device mount: mounting 192.168.1.114:scripts on /tmp/scripts failed: No such device
  3. using exactly the same (BusyBox v1.25.1) mount cmd on RT-AC66U B1 works succesfully and remote dir is mounted
  4. all addittional software installed with opkg is the same in both routers ( some cmds version are newer on RT-AX 58U v2)
  5. This pb happens with stock firmware as well. PS: Later I found that nfs is missing in the kernel. run cmd "find / -name '*ko' | grep fs" does not show any nfs file,

Run command "find / -name '*ko' | grep fs" in RT-AX 58U v2:

ASUSWRT-Merlin RT-AX58U_V2 3004.388.8_2-gnuton1 Sun Aug 4 20:28:14 UTC 2024 Gneco@TESTE:/tmp/home/root# modprobe -l | grep nfs Gneco@TESTE:/tmp/home/root# find / -name '*ko' | grep fs /lib/modules/4.19.183/kernel/fs/nls/nls_cp437.ko /lib/modules/4.19.183/kernel/fs/nls/nls_cp850.ko /lib/modules/4.19.183/kernel/fs/nls/nls_cp852.ko /lib/modules/4.19.183/kernel/fs/nls/nls_cp866.ko /lib/modules/4.19.183/kernel/fs/nls/nls_cp932.ko /lib/modules/4.19.183/kernel/fs/nls/nls_cp936.ko /lib/modules/4.19.183/kernel/fs/nls/nls_cp949.ko /lib/modules/4.19.183/kernel/fs/nls/nls_cp950.ko /lib/modules/4.19.183/kernel/fs/nls/nls_euc-jp.ko /lib/modules/4.19.183/kernel/fs/tfat.ko /lib/modules/4.19.183/kernel/fs/thfsplus.ko /lib/modules/4.19.183/kernel/fs/tntfs.ko /lib/modules/4.19.183/kernel/net/sched/sch_hfsc.ko

Run command "find / -name '*ko' | grep fs"in old RT-AC66U B1:

ASUSWRT-Merlin RT-AC68U 386.14_0 Sat Jul 20 17:10:46 UTC 2024 Gneco@Router:/tmp/home/root# find / -name '*ko' | grep fs /lib/modules/2.6.36.4brcmarm/kernel/fs/cifs.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/cuse.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/exportfs.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/ext2.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/ext3.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/ext4/ext4.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/jbd.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/jbd2/jbd2.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/jffs2.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/lockd.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/mbcache.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/nfs.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/nfsd.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/nls_cp437.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/nls_cp850.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/nls_cp852.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/nls_cp866.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/nls_cp932.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/nls_cp936.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/nls_cp949.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/nls_cp950.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/nls_euc-jp.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/tfat.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/thfsplus.ko /lib/modules/2.6.36.4brcmarm/kernel/fs/tntfs.ko /lib/modules/2.6.36.4brcmarm/kernel/net/sched/sch_hfsc.ko

gnuton commented 2 months ago

Hi, as you correctly checked NFS is not enabled yet.

Bidonh commented 3 weeks ago

If I may add something, cifs.ko is also missing, backupmon use mount -t cifs to backup on network share.