Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-06-2001, 03:17 PM
|
#1
|
LQ Newbie
Registered: Jun 2001
Posts: 2
Rep:
|
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.
|
|
|
06-06-2001, 08:39 PM
|
#2
|
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731
Rep:
|
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.
|
|
|
|
06-06-2001, 09:11 PM
|
#3
|
LQ Newbie
Registered: Jun 2001
Posts: 2
Original Poster
Rep:
|
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
|
|
|
06-08-2001, 11:24 AM
|
#4
|
LQ Newbie
Registered: Jun 2001
Location: Austin, TX
Distribution: FC5/6
Posts: 23
Rep:
|
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*! =)
|
|
|
06-08-2001, 11:27 AM
|
#5
|
LQ Newbie
Registered: Jun 2001
Location: Austin, TX
Distribution: FC5/6
Posts: 23
Rep:
|
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)
|
|
|
All times are GMT -5. The time now is 07:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|