Linux - NetworkingThis 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.
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.
I am setting up a "back-end" network, which consists solely of my laptop, which is running winME. My linux machine is connected to my DSL line on the external eth device, and the laptop is on a crossover cable on the internal eth device. I have set up what I believed to be a pretty logical Samba configuration using SWAT. The problem is as follows:
I will refer to the computers as Samba and Linux.
1. Windows cannot connect to Samba, saying Linux is not accessible.
2. smbclient -L Linux gives me:
session request to LOBSTER failed (Not listening for calling name)
session request to *SMBSERVER failed (Not listening for calling name)
3. smbclient -L 127.0.0.1 gives me a login for the samba server.
Under /etc/hosts I have (altered to protect the innocent)
127.0.0.1 localhost
192.168.1.1 Linux.localnetwork Linux
192.168.1.2 Windows.localnetwork Windows
I can get more specific if anyone has any suggestions or follow ups. Any help appreciated. Thanks in advance.
Ok let me completely rephrase now that I have read my post and seen that it makes no sense whatsoever. Sorry about this.
The problem is that the Windows computer cannot connect to the Samba/Linux computer, and also that the Samba/Linux computer cannot connect to itself, unless I refer to it as 127.0.0.1
Well first off, check your iptables configuration to make sure the ports that SMB use are not blocked. It would help to post your smb.conf file here as well. I assume that basic connectivity tests between the machine (ping) work correctly as well. It's nearly always something simple, check the name of the workgroup in your smb.conf and make sure the laptop wg is the same. Just some opening suggestions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.