0
ab1jx

have dhclient send $HOSTNAME

Recommended Posts

Minor tweak.  I don't have gethostname() (Actually I think that's a C function, not an executable.)  Anyway my Rock64 didn't show up my wifi network by name.

 

In /etc/dhcp/dhclient.conf I changed:

#send host-name = gethostname();
send host-name = $HOSTNAME;

 

Now it works.  And $HOSTNAME is just whatever's in /etc/hostname so you may need to change it if you've got 2 or more machines of the same kind.  I mostly lug around a cell phone and I can ftp or ssh to rock64 from anywhere in the house.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0