LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-06-2001, 03:17 PM   #1
mmlevine
LQ Newbie
 
Registered: Jun 2001
Posts: 2

Rep: Reputation: 0

I'm could use some advice.

I am trying to network my Linux box with a Windows 98 machine. I can ping each machine to each other by using their respective IP addresses. However I can't ping from my windows machine to my linux box. I get the message 'Destination Host Unreachable' Also, I can't see my Samba shares under network neighbourhood.

My Linux box has the following network configurations:
eth0 - internet interface (works fine)
eth1 - internal LAN interface
IP 192.168.1.254
Gateway 192.168.1.1
DNS server 192.168.1.254
Samba is running with:
worgroup = MYGROUP
encrypt password = Yes

My windows box is coonfigured:
IP 192.168.1.2
DNS server 192.168.1.254 domain name: guide11.com
Access Control: user share: MYGROUP
WINS 192.168.1.254
Gateway 192.168.1.254

I even tried editing the registry to disable encrypted password.


Any guidance would be appreciated.

Mark L.

 
Old 06-06-2001, 08:39 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Quote:
Originally posted by mmlevine
I'm could use some advice.

I am trying to network my Linux box with a Windows 98 machine. I can ping each machine to each other by using their respective IP addresses. However I can't ping from my windows machine to my linux box. I get the message 'Destination Host Unreachable' Also, I can't see my Samba shares under network neighbourhood.

My Linux box has the following network configurations:
eth0 - internet interface (works fine)
eth1 - internal LAN interface
IP 192.168.1.254
Gateway 192.168.1.1

You have a gateway statement, but I don't see any 192.168.0.1 anywhere. Do you have another device with that addr? You don't necesarily need a gateway if y'all are on the same subnet.

DNS server 192.168.1.254
Samba is running with:
worgroup = MYGROUP
encrypt password = Yes

My windows box is coonfigured:
IP 192.168.1.2
DNS server 192.168.1.254 domain name: guide11.com
Access Control: user share: MYGROUP
WINS 192.168.1.254
Gateway 192.168.1.254

I even tried editing the registry to disable encrypted password.

Encrypted password will only change things if you are using an smb server (Samba) on the the Linux Box. It has nothing to do with old boring TCP/IP per se. Are you running samba with WINS service? Are you using DNS? These won't directly affect the IP problems, but you could get some grief when you attmempt your first Samba setup.

Any guidance would be appreciated.

Mark L.

 
Old 06-06-2001, 09:11 PM   #3
mmlevine
LQ Newbie
 
Registered: Jun 2001
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for answering my post.

I am using Samba on my Linux box. I am not running DNS.

What is puzzeling me is that I can ping each computer with an IP address but can't see the Linux box from my WIN 98 box in the network neighborhood. In addition, I can't see any computer using the 'find computers' under MS explorer or map a network drive using just the IP address.

Any additional help would save my sanity.

Thanks
Mark L


 
Old 06-08-2001, 11:24 AM   #4
ektoric
LQ Newbie
 
Registered: Jun 2001
Location: Austin, TX
Distribution: FC5/6
Posts: 23

Rep: Reputation: 15
I'm still a little confused by the *logic* of your statement...
"I can ping each machine to each other by using their respective IP addresses. However I can't ping from my windows machine to my linux box"
so can you or can you not ping your machines??? =)

1. I hope it was a typ0, and you meant that eth0 is the external interface.
2. When you say "works fine", from the linux box, can you ping an internal IP address? can you ping an external IP address? can you ping an external DN?
From the windows client, can you ping yourself? can you ping the linux box IP? can you ping an external IP? can you ping an external DN?
3. You are most likely not running a WINS server, so you should disable it.
4. If you're not running a DNS on your box, then your DNS servers should point to the real DNS (of your ISP) instead of to the linux box.
5. As mmlevine said, what's that "Gateway 192.168.1.1" doing there? who's 192.168.1.1? =)
6. Verify that your subnet masks are all set correctly (for your case, it would be 255.255.255.0).
7. If you have Samba configured with encrypted passwords, and the client reghacked to use unencrypted passwords, obviously that's gonna cause a problem =)

But what mmlevine said is correct, you should get your network issues resolved before trying to run samba. Make sure everyone can ping everyone else quite happily before attempting anything else =)

Also, windows SMB is very very touchy. it takes awhile (quite awhile) for things to settle down. Don't be surprised if you have to keep at it to try to find a computer. Instead use the smbclient tools on your linux box to see if you can find your shares of your windows machine.

If you're going to enable encrypted passwords, enable them on both sides, and don't forget to generate your smb.passwords file (or something like that). See the smb.conf file, right above the encrypted passwords line, it should tell you to read a passwords.txt or security.txt or something like that.. *read it*! =)
 
Old 06-08-2001, 11:27 AM   #5
ektoric
LQ Newbie
 
Registered: Jun 2001
Location: Austin, TX
Distribution: FC5/6
Posts: 23

Rep: Reputation: 15
oh, and before I make any assumptions, is your smb server on your linux box up and running?
ps -A | grep smb
when you make changes to smb.conf, restart your smb server
/etc/rc.d/init.d/smb restart
(for redhat... could be different for your distributions)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
networking Red Hat 7.1 to win xp home combrains Linux - Networking 7 04-24-2004 04:03 AM
Need help getting Win XP to see internet through Red Hat 9 n00billy Linux - Networking 6 03-16-2004 11:48 PM
Red Hat and Win XP C8H10N4O2 Linux - Newbie 6 03-16-2003 07:53 AM
Win-XP vs Red Hat 7.2 anoop_chandran Linux - Distributions 5 01-11-2002 08:59 PM
win XP and red hat 7.2 Mimician Linux - Newbie 10 11-15-2001 11:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration