On 2022-03-21 18:44, Wade Fife wrote:
Hi all,

You can change the hostname by creating a file /data/network/hostname with the desired hostname.

On boot, systemd runs /sbin/usrp_hostname to configure the hostname. It looks for the /data/network/hostname file. If it doesn't find it, then it uses a default with the serial number.

Thanks,

Wade
Thanks Wade!

I don't think I would have stumbled over this in a random walk...



On Mon, Mar 21, 2022 at 5:11 PM Rob Kossler <rkoss...@nd.edu> wrote:

    perhaps in the file /data/network/eth0.network?

    On Mon, Mar 21, 2022 at 10:43 AM Marcus D. Leech
    <patchvonbr...@gmail.com> wrote:

        On 2022-03-21 10:34, Tobias Kronauer wrote:
        There is no /etc/hostname in /data....
        ------------------------------------------------------------------------

        Hmmm.

        According to:

        https://files.ettus.com/manual/page_usrp_e3xx.html#e31x_migration

        You should be able to just modify /etc/hostname, but this
        doesn't work across reboot.  Even on my E310.

        Clearly, *something* is reconstructing it on reboot, I just
        can't immediately determine exactly what.


        _______________________________________________
        USRP-users mailing list -- usrp-users@lists.ettus.com
        To unsubscribe send an email to usrp-users-le...@lists.ettus.com

    _______________________________________________
    USRP-users mailing list -- usrp-users@lists.ettus.com
    To unsubscribe send an email to usrp-users-le...@lists.ettus.com

_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to