Results 1 to 6 of 6

Thread: wins client

  1. #1
    Join Date
    May 2008
    Beans
    3

    Question wins client

    hello all

    i need your help on this case :

    i have ubuntu 7.10 on a pc machine.
    the machine got IP address from dhcp.
    i installed NAGIOS 2 on the ubuntu machine and i want to connect to that NAGUIOS application using my windows pc not via IP but via name .
    right now i can connect only this way :
    http://10.119.1.156/nagios2/

    and i want to connect with a name like :

    http://example

    please specify what are the steps i have to do.
    Last edited by shlomiarfa; May 28th, 2008 at 10:35 AM.

  2. #2
    Join Date
    Sep 2006
    Location
    Solihull/Piraeus (UK/GR)
    Beans
    421
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: wins client

    I think you will need at least to be running Samba (to set the NETBIOS name), so that is the first thing to check (System->Administration->Services).

  3. #3
    Join Date
    May 2008
    Beans
    3

    Re: wins client

    samba service is runing on my ubuntu machine.
    how i configure the IP address of the machine and the name ?

  4. #4
    Join Date
    Sep 2006
    Location
    Solihull/Piraeus (UK/GR)
    Beans
    421
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: wins client

    In the [global] section of /etc/samba/smb.conf. I think the settings is "netbios name" although it should just use the hostname by default.

    Unfortunately I don't know a whole lot about Samba and don't even use it myself, so hopefully someone else can give you better advice...I just answered with my best guess because nobody else had and to bump the thread

    The part of Samba that handles NetBIOS is called nmbd, so you could try:

    Code:
    man nmbd
    or google for more info. There is also winbind but I think this is for the opposite case (resolving NetBIOS names on the Linux box). Sorry I can't be of more help...

  5. #5
    Join Date
    May 2008
    Beans
    3

    Smile Re: wins client

    thanks for your help

  6. #6
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: wins client

    You can set up a Samba server to be a WINS client OR server (not both). It's also possible the DHCP server might act as a nameserver, but /etc/dhcp3/dhclient.conf should have the line
    Code:
    ;send host-name "<hostname>";
    uncommented and the proper hostname used.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad] [Sub-forum]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •