Simple name windows linux question

Discussion in 'Linux Networking' started by Vitamx, Nov 9, 2003.

  1. Vitamx

    Vitamx Guest

    Or maybe this should be a windows unix question.

    OK I understand how Unix matches names with ip addresses.

    But I have no clue with Windows. And I dont really want to have
    deep understanding here. I rather not waste my time on this
    dinosaur. But I need to integrate a linux box with a windows
    network.

    How does windows match names and ip addresses?
     
    Vitamx, Nov 9, 2003
    #1
    1. Advertisements

  2. Vitamx

    ynotssor Guest

    At its most basic, copy the Linux /etc/hosts file to
    C:\WINNT\system32\drivers\etc\hosts after converting the file from Unix
    format to DOS format.

    Or just manually enter the Linux IP/hostname into the file or name service
    being used.


    tony
     
    ynotssor, Nov 9, 2003
    #2
    1. Advertisements

  3. Vitamx

    Bit Twister Guest

    Not realy. It is a windows question on how does windows figure out the
    ip address of another machine on a lan. It does not matter what os is
    running on the other machine.
    Then you should be more than half way there.
    by looking in the hosts file on the doze box or windows dns server
    whatever that is.

    Please read http://www.catb.org/~esr/faqs/smart-questions.html
     
    Bit Twister, Nov 9, 2003
    #3
  4. Vitamx

    Vitamx Guest

    Subject: Re: Simple name windows linux question
    OH I see Windows has the ip address and
    name of every computer in the world in its
    hosts file.

    Integrating Linux with Windows is rather
    important. There is nothing wrong with my
    question.
     
    Vitamx, Nov 9, 2003
    #4
  5. Vitamx

    Bit Twister Guest

    Now you are changing the parameters of your request.

    I quote
    "But I need to integrate a linux box with a windows network."
    and that is hardly the whole world.
    Think again. You asked, I quote again,
    "How does windows match names and ip addresses?"
    windows would match name/ip address regardless of target OS type.

    Sorry you did not read the link provided.
    http://www.catb.org/~esr/faqs/smart-questions.html

    Had you provided which windows OS you might have received better file
    location information for hosts. On my XP Home windows it is in
    c:\windows\system32\drivers\etc
     
    Bit Twister, Nov 9, 2003
    #5
  6. Vitamx

    Vitamx Guest


    My windows hosts file on this computer
    only has the localhost and yet Internet
    explorer is on the WWW.

    Now my question was how Windows resolves names and ip addresses?
    You did not answer it.

    In the Unix world, the computer is given
    the ip address of the DNS and so on and
    so on.

    How is it done in the Windows world?
    And this is a linux networking question
    because it is so important to integrate
    Linux with Windows and people that ask
    questions about it dont need insolent responses.
     
    Vitamx, Nov 9, 2003
    #6
  7. Vitamx

    Bit Twister Guest

    Absolutly correct. You got it.
    I did, you had ask about a lan (local area network) not wan (wide area
    network)
    And in the windows world you give it the DNS server ip addresses.
    Works the same way.
    You add the DNS servers through a gui interface.
    No you are now asking how windows does DNS and that has nothing to do
    with linux.

    Put the question to one of the 31+ Microsoft network news groups.
     
    Bit Twister, Nov 9, 2003
    #7
  8. [..]
    The same as in Linux, albeit you have to put the
    IP(s) of your name server in some GUI box, AFAIR.
    Your question has nothing to do with Linux, you want
    to know the equivalent for /etc/resolv.conf in M$.

    If you don't like the answers to your OT question,
    just use a relevant ng.

    BTW
    Please trim your posts
     
    Michael Heiming, Nov 9, 2003
    #8
  9. Vitamx

    Doug Mitton Guest

    Its getting rather dangerous answering posts these days ... you answer
    the question as written BUT thats not what was actually wanted.

    Should we start a development group for a "psi" module for linux? :)
     
    Doug Mitton, Nov 9, 2003
    #9
  10. Vitamx

    Bit Twister Guest

    That is for sure. Look on http://groups.google.com/advanced_group_search
    and put
    oF_Z9.3450$
    in the Message Id box, click search
    then View: Complete Thread.
    Hey, garbage question in, garbage answer out.
    My vote would be karnack, psi is pounds square inch. :cool:
     
    Bit Twister, Nov 9, 2003
    #10
  11. Vitamx

    Vitamx Guest

    [..]
    Where is the Linux windows network
    integration newsgroup?

    Anyway, I guess I do want to know the
    equivalent for /etc/resolv.conf in the
    windows world. This is because I am
    trying to put linux computer amongst
    some windows computers.

    Also in the Unix world, as I understand it,
    a lan, a wan and the WWW are really
    all the same. Some distinction is made
    in this thread that they are different in
    the windows world.

    This thread leaves me completely unenlightened.
     
    Vitamx, Nov 9, 2003
    #11
  12. Vitamx

    Bit Twister Guest

    My guess, there is not one.
    You ask a Microsoft news group on how to add host name and ip address
    so you can network with a local host box.
    Then put the linux box name and ip address in the hosts file on the
    windows box.

    You do not put the lan linux box information in the
    "windows /etc/resolv.conf" file.
    Then why in the world would they have different names if they are the same?

    They mean differnt things and in this thread, they tend to indicate
    which file gets what information.
    It is the same distinction in the Unix world.
    Yes, we can tell.

    I quote you yet again
    "But I have no clue with Windows. And I dont really want to have
    deep understanding here. I rather not waste my time on this
    dinosaur. "

    We are having a hard time finding your light switch. :)
     
    Bit Twister, Nov 9, 2003
    #12
  13. Vitamx

    Vitamx Guest

    Does this mean I have to put the linux
    box name and ip address in every
    windows box?

    Please humor me here. How does
    windows resolve the names of Linux
    computers on the WWW?

    Also I thought the only difference between
    a lan and the www is that the lan is
    is isolated. Well maybe a few other
    differences but basically a lan is the
    WWW on a smaller scale. At least
    in the linux world.
     
    Vitamx, Nov 9, 2003
    #13
  14. through nameservers
    if you have a nameserver in your lan it will do the name resolving.
     
    armin walland, Nov 9, 2003
    #14
  15. Vitamx

    Bit Twister Guest

    Yes and no. Depends on your setup. See other post by armin wallan.
    Tickel, tickel, tickel......
    Just like
    any
    other operating
    system, it
    ask the Domain
    Name Server to
    resolve
    it.

    Short sentences realy bite, Please feel free to make them longer up to
    72 characters in length max.
    and every where else.
     
    Bit Twister, Nov 9, 2003
    #15
  16. Vitamx

    Vitamx Guest

    OK, I am typing this from a standalone
    windows computer. How does this
    computer find the nameserver on the
    internet. And lets pretend I am not using
    AOL, but just a generic isp. Lets make
    it a linux isp to stay on topic in the NG.
     
    Vitamx, Nov 9, 2003
    #16
  17. Vitamx

    Bit Twister Guest

    It is still a windows question. Saying it is a linux isp does not put
    it On Topic.

    doze gets the name server from the dhcp server, during the ppp connection
    or the human using the gui interface which ever is applicable.
     
    Bit Twister, Nov 9, 2003
    #17
  18. either you input your nameservers' ip addresses in your network settings
    or if you use dhcp the dhcp server tells your machine the nameservers'
    ip addresses.
    i have never heard of a 'linux isp' network connectivity is not a OS
    specific thing. the questions you are asking are absolute network basics
    and have nothing to do with linux.
     
    armin walland, Nov 9, 2003
    #18
  19. Vitamx

    Martin Blume Guest

    Why don't you just follow the steps you were doing when you were
    attaching a new windows machine to the network? In one of your
    earlier posts you said:
    So you must have already configured at least one windows machine.
    Just repeat this configuration for the new machine.

    I don't understand how you can have a working windows machine
    network and ask these basic questions here (here !!! in a linux
    group).

    Puzzled
    Martin
     
    Martin Blume, Nov 9, 2003
    #19
  20. Vitamx

    Vitamx Guest

    I have a dhcp connection to the internet
    right now from a windows machine.

    Where is the ip adddress of the
    nameserver stored on this computer?

    And lets assume that I was attached to
    a linux machine. How is the linux machine
    configured to stick the ip address of its
    network on my machine when the dhcp
    connection is made?
     
    Vitamx, Nov 9, 2003
    #20
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.