Re: smb question

From: John Thomas Langton (psye_at_brandeis.edu)
Date: 10/24/03

  • Next message: John Thomas Langton: "Re: smb question"
    Date: 23 Oct 2003 16:13:54 -0700
    
    

    "Allan Bruce" <allanmb@TAKEAWAYf2s.com> wrote in message news:<bn1nfq$aa5$1@news.freedom2surf.net>...
    > "John Thomas Langton" <psye@brandeis.edu> wrote in message
    > news:86466881.0310201110.57a89c33@posting.google.com...
    > > "Allan Bruce" <allanmb@TAKEAWAYf2s.com> wrote in message
    > news:<bmn4kp$nr0$1@news.freedom2surf.net>...
    > > > "John Thomas Langton" <psye@brandeis.edu> wrote in message
    > > > news:86466881.0310161144.33299764@posting.google.com...
    > > > > So, I've got samba and debian and everything is working fine, but the
    > > > > linux machine doesn't resolve windows names. I can use the smbclient
    > > > > to access windows shares, but I just want to make sure I understand
    > > > > this.
    > > > >
    > > > > When I'm at my linux machine and to >ping "machinename" it says server
    > > > > not found (although it can find the IP address). So, is there a way
    > > > > to remedy this or is it that Windows uses their own name resolution
    > > > > stuff and I just always have to use smbclient if I want to access a
    > > > > windows machine from linux?
    > > > >
    > > > > please respond to my email address: psye@brandeis.edu
    > > > >
    > > > > thanks,
    > > > > John
    > > >
    > > > post to the group, reply to the group.
    > > >
    > > > You need to add your windows machine(s) to the /etc/hosts file
    > > >
    > > > HTH
    > > > Allan
    > >
    > > Thanks. The only problem I see with that is my network is using dhcp
    > > thus the machines have changing ip addresses. I think in the
    > > etc/hosts file you have to specify the ip thus I'd be updating this
    > > file everyday. Let me know if you have any other ideas.
    >
    > In that case, what is acting as your dhcp server? This could be resolved by
    > making lookups to the dhcp server, or by setting up a dns server (a bit
    > overkill perhaps)
    >
    > >
    > > Also, if you could point me to a resource that might be able to point
    > > out the difference between networking with windows and linus (i.e. why
    > > linux would automatically see another linux machine but not a windows
    > > machine...or is that the case?)
    > >
    >
    > Not sure of any off-hand, lookup wins resolution in google for the windows
    > side. Both machines handle networking similarly, just with some subtle
    > differences. The name resolution should be an easy problem to solve, can I
    > ask why you are using dhcp? I have found it a lot easier to allocate static
    > IPs and this will solve your hostname problem.
    > Allan

    Thanks very much for everyone's feedback and help!

    Alan, could you point me to what I should look at for making lookups
    to the dhcp server? Right now I'm using a linksys router, so that
    might pose problems.
    I use dhcp because my network is always changing, people show up with
    laptops and wirelessly connect.

    I think DNS would be overkill, although educational. I might try the
    mac adresses in the hosts file as well, although I've never heard of
    that.

    >From my reading thus far (and please correct me if I'm wrong), windows
    networking is different from linux in that it is based on an archaic
    protocol started by IBM called NetBIOS. Everyone has wanted to be
    compatable, and so though the hardware it was written for is no
    longer, the protocol remains. WINS is for inter-subnet negotiation of
    the protocol. SMB is just for one subnet. And I don't think linux
    uses this at all, that's why you have to download samba to do windows
    networking. I think linux has no abstraction above tcp/ip, so you can
    use dns, or something like ssh, but there is no "network neighborhood"
    like thing for linux.

    Again, please correct me if I'm wrong.

    thanks,
    John


  • Next message: John Thomas Langton: "Re: smb question"

    Relevant Pages

    • Re: setting computer name
      ... If your network interfaces use DHCP, you can configure the DHCP server ... > however it did not have 'multi on', which I saw as being needed according to the Linux how-to help guides. ... > on how to install gcc 2.95.3 on Linux. ...
      (Fedora)
    • Re: Terrible Web Surfing Speed
      ... >> is that i used a router and set it up for PPPOE. ... they are using DHCP and thus receive new network configuration changes, ... Linux isn't broke but it also didn't change. ... Sorta the purpose of using DHCP. ...
      (comp.os.linux.networking)
    • 2 pc network - XP and Win95 - help needed badly!
      ... I've been trying to get these two machines networked for 10 days now with no ... assigning an IP address to PC2, and is assigning an improper IP ... From what I've read, DHCP ... "Your computer has automatically configured the IP address for the network ...
      (microsoft.public.windowsxp.network_web)
    • Re: GPS Unit for Timekeeping on Linux?
      ... You could do a network share between your two machines - 100' isn't ... your system crashes &/or 2) put your overall Linux on a bootable CD, ... >to manually update the time by the network every day; however, ...
      (sci.geo.satellite-nav)
    • Re: DHCP Not working properly
      ... Windows SBS Standard running on a Dell server with one NIC ... Desktop Workstations running Windows XP SP2 (wired network connections) ... These two machines will not pick up a DHCP address from the server. ...
      (microsoft.public.windows.server.sbs)

    Loading