Hi Johannes,

The hostname instructions are currently being updated in the manual. Thanks
for the note about `/etc/systemd/network/`. I'll pass that on as well.

Wade

On Tue, Mar 22, 2022 at 6:19 AM Johannes Demel <de...@ant.uni-bremen.de>
wrote:

> Hi Wade,
>
> thanks for that hint. I tried to change the hostname on some N310s in
> the past and now I am able to.
>
> The docs should contain that in
> https://files.ettus.com/manual/page_usrp_n3xx.html
> under SSH connection. That's where I was reading about it. And I guess
> the docs need a UHD4 update there as well. They still point to config
> files in `/etc/systemd/network/`.
>
> Cheers
> Johannes
>
> On 21.03.22 23: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
> >
> > On Mon, Mar 21, 2022 at 5:11 PM Rob Kossler <rkoss...@nd.edu
> > <mailto: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 <mailto: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 <
> 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
> >         <mailto:usrp-users@lists.ettus.com>
> >         To unsubscribe send an email to usrp-users-le...@lists.ettus.com
> >         <mailto:usrp-users-le...@lists.ettus.com>
> >
> >     _______________________________________________
> >     USRP-users mailing list -- usrp-users@lists.ettus.com
> >     <mailto:usrp-users@lists.ettus.com>
> >     To unsubscribe send an email to usrp-users-le...@lists.ettus.com
> >     <mailto: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
>
_______________________________________________
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