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

Recent content by adriansev

  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...
Back
Top