Hi everyone...I'm at a dead stop setting up Samba, so let me jump right into the problem: First, the setup: I have a RH7.3 box and a W98 laptop. The RH box also has a W2k Pro partition. We have them on a 4-port 10base-T hub along with our RoadRunner cable modem. Now on to the problem: As most of you are already aware, RR uses DHCP to assign IP addresses to client machines at boot time. This seems to be causing Samba to have problems resolving the machine names. When I get both machines up and running and try to connect to the laptop ("jarjar") with "smbclient -L jarjar", I get "Connection to jarjar failed". My first question is this: Is there something I have to enable in W98 to allow Samba to make connections? And my second question: Can Samba decide which hostname goes to which computer on my home network without being able to resolve it to an IP address? I would assume that when the machines hold master browser elections, each is made aware of the other(s) and the IP addresses are not necessary. Any help anyone can provide is greatly appreciated. Every time I go to work I have to reboot into W2k so my wife can get at the files on my hard drives. It's annoying. Thanks.
I have a similar problem just posted about win98 and samba.I think if you have applied ip address,dns,gateway and added the server ip address in lmhost, there is not anything more to do at the win box. About the second question I have ran tcpdump on my samba server to determine how it communicate with the clients. And I found that on establish the connection from win98 to samba, it uses hostnames and it look to me it also use the nic hardware address. The other way it dont use the hw address, but the hostnames. If this could be to any help. --- DJ Busch <djbusch@new.rr.com> skrev: > Hi everyone...I'm at a dead stop setting up Samba,> so let me jump right into > the problem: > > First, the setup: I have a RH7.3 box and a W98 > laptop. The RH box also has > a W2k Pro partition. We have them on a 4-port > 10base-T hub along with our > RoadRunner cable modem. > > Now on to the problem: As most of you are already > aware, RR uses DHCP to > assign IP addresses to client machines at boot time. > This seems to be > causing Samba to have problems resolving the machine > names. When I get both > machines up and running and try to connect to the > laptop ("jarjar") with > "smbclient -L jarjar", I get "Connection to jarjar > failed". My first > question is this: Is there something I have to > enable in W98 to allow Samba > to make connections? > > And my second question: Can Samba decide which > hostname goes to which > computer on my home network without being able to > resolve it to an IP > address? I would assume that when the machines hold > master browser > elections, each is made aware of the other(s) and > the IP addresses are not > necessary. > > Any help anyone can provide is greatly appreciated. > Every time I go to work > I have to reboot into W2k so my wife can get at the > files on my hard drives. > It's annoying. > > Thanks. > > -- > To unsubscribe from this list go to the following > URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba______________________________________________________ Se den nye Yahoo! Mail p? http://no.yahoo.com/ Nytt design, enklere ? bruke, alltid tilgang til Adressebok, Kalender og Notisbok
DJ Busch wrote: ...> Now on to the problem: As most of you are already aware, RR uses DHCP to > assign IP addresses to client machines at boot time. This seems to be > causing Samba to have problems resolving the machine names.I don't know what RoadRunner is, but at home we have an ADSL router that acts as a DHCP server. But this doesn't prevent me from assigning IP numbers within the server's IP interval. The DHCP server will try and ping the IP number before giving it to a client. If the number is already taken, a new one is assigned. Mogens -- Mogens Kjaer, Carlsberg Laboratory, Dept. of Chemistry Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@crc.dk Homepage: http://www.crc.dk
Filipe Joel de Almeida
2002-Sep-29 13:50 UTC
[Samba] Samba with a Win9x network and RoadRunner
I had that problem in the beginning too... I had to manually configure the default gateway and DNS servers so that they were exactly as if I had DHCP, and then it worked. Filipe Joel de Almeida Network Consultant Filipe.Joel@netcabo.pt -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org] On Behalf Of DJ Busch Sent: domingo, 29 de Setembro de 2002 14:43 To: Samba List Subject: RE: [Samba] Samba with a Win9x network and RoadRunner I've tried setting the IP on the Linux machine manually, but the result was ugly - I couldn't connect to any outside Internet services. If I don't let RR(my cable ISP)'s DHCP server set my IP, I can't access the Internet at all.> -----Original Message----- > From: Mogens Kjaer [mailto:mk@crc.dk] > Sent: Sunday, September 29, 2002 1:32 AM > To: DJ Busch > Cc: samba@lists.samba.org > Subject: Re: [Samba] Samba with a Win9x network and RoadRunner > > > DJ Busch wrote: > ... > > Now on to the problem: As most of you are already aware, RR > uses DHCP to > > assign IP addresses to client machines at boot time. This seems tobe> > causing Samba to have problems resolving the machine names. > > I don't know what RoadRunner is, but at home we have an ADSL router > that acts as a DHCP server. But this doesn't prevent me from assigning > IP numbers within the server's IP interval. The DHCP server will > try and ping the IP number before giving it to a client. If the > number is already taken, a new one is assigned. > > Mogens > -- > Mogens Kjaer, Carlsberg Laboratory, Dept. of Chemistry > Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark > Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 > Email: mk@crc.dk Homepage: http://www.crc.dk > > >-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
I've considered doing just that, but here's the rub...in the very rare occasion when I _do_ want/need to use W2k for something, my wife's laptop can't get to the internet. I've considered setting up ICS on the Win2k side to accomodate that, but wasn't sure how to set up ICS and was hoping to resolve the problem without going to that extreme.> -----Original Message----- > From: Gene Bomgardner [mailto:Gene@bomgardner.net] > Sent: Sunday, September 29, 2002 8:57 AM > To: DJ Busch > Subject: RE: [Samba] Samba with a Win9x network and RoadRunner > > > > > On 29 Sep 2002 at 8:42, DJ Busch wrote: > > > I've tried setting the IP on the Linux machine manually, but > the result was > > ugly - I couldn't connect to any outside Internet services. If > I don't let > > RR(my cable ISP)'s DHCP server set my IP, I can't access the Internet at > > all. > > > > > I've run into similar problems. MSN supplies a router that does > dchp as well. Just to make life interesting, it uses an ip mask of > 255.255.255.252 which allows exactly _4_ addresses. *.0 is of > course unusable, *.1 is the router, *.2 is a client machine, and *.3 is > a broadcast address. That means you can hook up exactly ONE pc > to the darn thing. So what I did was use a unix machine as a > gateway. It has two nics, one to the router addressed > 192.168.129.2/30 and another for my LAN adressed as > 192.168.123.8/24. The gateway runs natd and its own dhcp server > (the dhcp is not really necessary) I can now assign whatever ips I > want on the LAN and I still reach the Internet just fine. > Hope that help a little. > > > God's Blessings, > Gene > > To everything there is a season, and a time to every > purpose under heaven. Ecl 3:1 - > and more recently, The Byrds > >
Is the DHCP server running on one of your machines? My machines are assigned an IP by my ISP. BTW, ICS = Internet Connection Sharing (W98 has it, not sure about W2k)> -----Original Message----- > From: Gene Bomgardner [mailto:Gene@bomgardner.net] > Sent: Sunday, September 29, 2002 9:35 AM > To: DJ Busch > > Subject: RE: [Samba] Samba with a Win9x network and RoadRunner > I'm not too sure just what the W2000 problem might be, but we > routinely connect 4 or 5 laptops running Win98, WinXP, and unix > with no problems. (they all make use of the DHCP server). O > yeah... what's ICS, I'm not familiar with that. > > God's Blessings, > Gene > > To everything there is a season, and a time to every > purpose under heaven. Ecl 3:1 - > and more recently, The Byrds > >