On Sun, 17 Jan 1999, Ray Olszewski wrote:

> Response follows question.
> 
> At 09:52 PM 1/17/99 -0500, Matthew Sachs wrote:
> [deleted]
> >I *think* I have Samba set up correctly.  What I believe I may have set up
> >incorrectly is networking.  I have my Linux machine and my Windows machine
> >plugged into the same ethernet hub, but other than that I'm not doing
> >anything special to get them connected except for 
> >"ifconfig lo down"
> >"ifconfig eth0 204.180.205.31  netmask 255.255.255.0 up"
> >
> >The windows machine is called "Basement" - I have them set to the same
> >workgroup, but smbclient -L frodo says: "Connection to basement failed"
> >
> 
> Not sure why you are having problems, but your posting does suggest a few
> things:
> 
> 1. basement and Basement aren't the same hostname; capitalization matters.
> Which name is actually in /etc/hosts (or the named files if you're running
> BIND)?

Hmm, neither... It is the "hostname" of the Win95 machine.
 
> 2. Your ifconfig line doesn't specify a broadcast address. Try:
> 
> ifconfig eth0 204.180.205.31  broadcast 204.180.205.255 netmask 255.255.255.0

I found out that my real (internet) IP is no longer 204.108.205.31 - it
was changed somewhat recently and I never memorized the new one.

> 3. To use the LAN connection, you also need a route line, something like:
> 
> route add -net 204.180.205.0 netmask 255.255.255.0 eth0

/etc/rc.d/init.d/smb has these lines:

           # Source networking configuration.
           . /etc/sysconfig/network

           ifconfig eth0 207.38.245.178 broadcast 207.38.245.255 netmask 255.255.255.0 
up
           route add -net 207.38.245.0 netmask 255.255.255.0 eth0

           # Check that networking is up.
           # [ ${NETWORKING} = "no" ] && exit 0
           ...


> 4. See if you can telnet from teh Win95 machine to the Linux server Try it
> both by name and by actual IP address. . This will let you see if the
> problem is at the Samba level,the IP level, or the name-address-translation
> level.

Nope, no go.

> I don't know the Win side of this stuff, so you may also have problems with
> the Win95 configuration. 

Thanks for your help.  It seems to be the basic networking I'm having
problems with now.

-- 
Matthew Sachs
[EMAIL PROTECTED]
-- random fortune quote --
Some people have no respect for age unless it's bottled.

Reply via email to