PDA

View Full Version : [ubuntu] Can't see the name of my machine



borobudur
March 3rd, 2009, 08:50 AM
Hi, I should mount a network directory in my company.

The administrator tells me he can't give me the permission on my machine to mount because he doesn't see the name of my machine. Instead he sees my IP. He says that with other linux systems from other people he doesn't have this problem.

Do you know where to fix that?

gvr2600
March 3rd, 2009, 12:32 PM
hostname - show or set the system's host name

hostname [-v] [-F filename] [--file filename] [hostname]

borobudur
March 3rd, 2009, 12:40 PM
Unfortunately this didn't solve the problem.

I see the correct name of my machine with hostname but still the admin says that he sees just the ip

terazen
March 3rd, 2009, 08:43 PM
It sounds like your machine is supposed to register itself to dns. If your IT guy says that's what is supposed to be happening then you could try the dhclient setting from this url with your hostname.
http://ubuntuforums.org/showthread.php?t=122002&page=2

/etc/dhcp3/dhclient.conf:

send fqdn.server-update on;

borobudur
March 6th, 2009, 09:03 PM
Our super hero, the admin, found the solution, with the additional stuff in the -o flag it works:

-o 'username=me,domain=domain.tld,port=999,netbiosnam e=mymaschine'But thanks anyway for your help!