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'm new to samba and am trying to learn. I'm not sure what the problem is. I have a share called linux on my drive. Here's the windows side:
H:\>net view 192.168.1.1
Shared resources at 192.168.1.1
Share name Type Used as Comment
-----------------------------------
Breifcase Disk
linux Disk
The command completed successfully.
H:\>
I can do a start-run \\192.168.1.1 and I see the share.
I jump over to my Linux box (RH9) to connect. Here's the output:
It seems like it's trying, but it won't connect. I then tried this:
I created a user on the windows box called 'linuxbox' with a password of password. I then typed in:
# mount -t smbfs -o username=linuxbox,password=password //192.168.1.1/linux /mnt/xpbox
Error connecting to 192.168.1.1 (Connection refused)
1890: Connection to 192.168.1.1 failed
SMB connection failed
#
Am I missing something simple? What's the next step in trouble-shooting this? Any ideas?
I already made the entry in the /etc/hosts. Pessimistically, I went ahead and edited the lmhosts file as well (in /etc/samba/lmhosts). I even copied it to /etc, but nogo. I appreciate the suggestion. Anything else you can think of? Especially related with the Micr$oft box?
It seems to me that this has to be a XP box issue, but it seems like if it is, others should have run into it as well.
I went ahead and configured samba on my linux host and I can connect to its share without problem from the xp box, but I cannot connect to the smb/cifs share on the XP box from the Linux host.
reset all defaults in smb.conf - configure both machines to be in the same workgroup - make sure you have something shared in XP - run this command ]smbclient -L (windos name or IP) - when asked for password press <enter> - what happens?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.