I have a Galileo2 running the IOT image connected to Ethernet. I have successfully changed the host name (and it shows up on my router) when I modified the /etc/hostname file.
I have a Galileo 1 running the SDcard image (not IOT) and is connected via wifi and uses DHCP. When I log with putty and type hostname I see that it has the right host name, but when I log into my router it has the hostname blank.
Is there something I should be doing differently or adding in Linux or specific to Galileo for wireless that could make the hostname show up in the router?
better to use "hostnamectl" (if it's on your image).
Did you try using the ethernet cable with the Gen1 and see if the name appear in blank? Also I want that you take a look at this link and check if the Wi-Fi shield that you are using it have been tested before with Galileo Gen1. Please let me know about your resullts.
When I try Ethernet on Galileo Gen 1 board the hostname does not appear on my router either.
The wifi I was using is the Intel 6235 card plugged into the slot on the back side of the board (not a Wi-Fi shield).I didn't see it in the shield list.
Is it possible there is simply a build difference in the Linux images between IOT and normal "larger" Linux (not IOT) image (I have the version 0.7.5 - one of the earlier ones on that board)? When I put the updated 1.0.4 Linux image on the Galileo 2 the host name shows up. I haven't yet had a chance to try putting the update Linux image on Gal 1.