Search results

  • 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!

  1. adriansev

    Entware entware:: set HOME to external storage

    it is a standard configuration. thanks a lot for taking from your time to answer and follow this thread! :)
  2. adriansev

    Entware entware:: set HOME to external storage

    make sure that IF external ssd is mounted then the admin (uid==0) home is /opt/root
  3. adriansev

    Entware entware:: set HOME to external storage

    this is really weird behavior!! i had to try each word to find the culprit(s) and see above the splited words !!
  4. adriansev

    Entware entware:: set HOME to external storage

    but i think that i have to be certain that external storage is mounted (which i'm not sure that is guaranteed in postconf scripts)
  5. adriansev

    Entware entware:: set HOME to external storage

    i know that there is possibility to customize p a s s w d with p a s s w d.postconf (found this documentation)
  6. adriansev

    Entware entware:: set HOME to external storage

    would be feasible to use s e d to change home written in passwd just after the external storage is mounted?
  7. adriansev

    Entware entware:: set HOME to external storage

    and the behavior is that after ssh i land to the default /tmp/home/root and only after empty cd i go to /tmp/mnt/AC66U/entware/root i thought to use usermod to change the home for admin (and put the command in post-mount) but there is no usermod ..
  8. adriansev

    Entware entware:: set HOME to external storage

    oh, i see!! well, i tried with the following while checking for id -u -eq 0 [ -d /opt/root ] && export HOME=/opt/root [ -d /opt/root/bin ] && export PATH=/opt/root/.local/bin:/opt/root/bin:$PATH
  9. adriansev

    Entware entware:: set HOME to external storage

    this is weird, i cannot post a reply with code
  10. adriansev

    Entware entware:: set HOME to external storage

    yes, thanks a lot!! make a lot more sense to put it there, and source /opt/etc/profile from /jffs/configs/profile.add
  11. adriansev

    Entware entware:: set HOME to external storage

    Hi! What would be the procedure to set the entware based "/root" as the home for the admin user of the ruter? I imagine some settings in /jffs/configs/profile.add but i'm not sure if it is a simple `[[ -e /opt/root ]] && export HOME=/opt/root` Thanks a lot!
  12. adriansev

    nvram cleanup:: custom_clientlist vs dhcp_staticlist

    Hi! I'm trying to clean up some of my nvram as it quite filled (1120 left) and my first 5 consumers are: 931 nc_setting_conf 916 custom_clientlist 673 dhcp_staticlist 573 rc_support 310 sshd_authkeys while i cleaned up the dhcp reservations and dhcp_staticlist decreased, the custom_clientlist...
  13. adriansev

    amtm merlin 386.3_2/amtm 3.1.7 :: segmentation faults

    oh, sorry! yes, the usb flash was mostly unusable anymore, in fact after the first few times fiddling with it after removing from router, it became completly dead. so, yes, most probable if things become funny with the usb, most probable is a hardware failure... in my case i blame it on the...
  14. adriansev

    entware:: upgrading busybox disable opkg operations

    well, everything was fixed after removing the entware version
  15. adriansev

    entware:: upgrading busybox disable opkg operations

    Hi! Thinking that is best to have an upgraded system i upgraded the busybox ... now, opkg operations are not working due to: admin@ac66u:/tmp/home/root# opkg update Downloading https://bin.entware.net/armv7sf-k2.6/Packages.gz wget: not an http or ftp url...
  16. adriansev

    OpenVPN client:: public ssh (or ping) not working

    Thanks a lot! your answer is on point, all i want is that the internal network to be routed through vpn BUT to access the router through ssh for maintenance/support. Thanks a lot!
  17. adriansev

    OpenVPN client:: public ssh (or ping) not working

    Hi! It seems that all access to router public ip is lost after activating the openvpn client. (complete redirect) I'm not sure how the routing tables and firewall is set, but wouldn't be possible to keep INPUT access to the router public ip? Thanks a lot! Adrian
  18. adriansev

    amtm merlin 386.3_2/amtm 3.1.7 :: segmentation faults

    thanks a lot for advice and info! it would seem that there is something funny with the usb flash: after reformatting the jffs, amtm run without problems, but as soon as enabled entware and i chose to use previous installation, the segmentation faults appeared in amtm menus. I think that i will...
  19. adriansev

    amtm merlin 386.3_2/amtm 3.1.7 :: segmentation faults

    the latest merlin firmware have what you see, and the running of that and the upgrade function give the mentioned segmentation faults moreover, even if i download the latest version and i put it either in root/bin or in /jffs/scripts and start it explicitly, the same 3.1.7 version will run and...
  20. adriansev

    amtm merlin 386.3_2/amtm 3.1.7 :: segmentation faults

    Hi! looking over atmt after some time i see segmentation fault when running in the main screen (or 4-5 seg faults when trying to upgrade) Any idea what is going on? (given that amtm is part of firmware i think i can exclude the bad usb flash) Thanks a lot! Adrian
Top