Change Netbios name

Hey guys, I wanna change Netbios name. In the router menu, my comp is being displayed as --, which sucks. Tried to google it - no success :\ Anyone got any ideas? Thanks in advance.

On Wed May 13 2009 10:56 pm, vasilys wrote:

>
> Hey guys, I wanna change Netbios name. In the router menu, my comp is
> being displayed as --, which sucks. Tried to google it - no success :
> Anyone got any ideas? Thanks in advance.
>
>
vasilys;
For Linux, the Netbios name will default to the host name of your linux box.
YaST->Network Device->Network Card->Address->Hostname

You can override this in /etc/samba/smb.conf. Add this to
your /etc/samba/smb.conf [global] section:


netbios name = <your desired netbios name>


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

thanks a lot PV :slight_smile: but i still can’t do that :frowning:
when I open the file and try to change the netbios name, it says the following:

The document could not be saved, as it was not possible to write to /etc/samba/smb.conf.
Check that you have write access to this file or that enough disk space is available. 

:sarcastic:
Tried to access from terminal with the root privileges - same result.

On Thu May 14 2009 04:36 pm, vasilys wrote:

>
> thanks a lot PV :slight_smile: but i still can’t do that :frowning:
> when I open the file and try to change the netbios name, it says the
> following:
>
> Code:
> --------------------
> The document could not be saved, as it was not possible to write
to /etc/samba/smb.conf.
> Check that you have write access to this file or that enough disk space is
available.
> --------------------
> :sarcastic:
> Tried to access from terminal with the root privileges - same result.
>
>
vasilys;

You need to edit as root, use one of the following depending on your desk top:


kdesu kwrite /etc/samba/smb.conf
gnomesu gedit /etc/samba/smb.conf


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

thanks PV, it now worked. One more thing about this - I allowed samba client, with samba, DHCP and netbios servers, so that the firewall would not block any of them. Don’t know which one made the difference, but, at the end, I can see LINUX in the devices table of my router :slight_smile:

This worked for me. Very helpful!