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.
hi
itīs me again trying to learn a little bit more
and this time i need if anyone can give me a good link for a Samba HOW TO, i have read a lot and all of them are very different
and it makes me confused
i just need to see a folder shared in my windows computer, and in the server see the windows files??
it will be better for a starter to install swat. it is the GUI for samba configuration. the rpm should be on the cd's for you can download it from rpmfind.net
thanks manthram, but i donīt want to use SWAT, cause it does everything and i cannot know how
i need to learn!!
and now i can see the shared folder on my windows machine
but now i need to mount the windows folders on my linux machine, when i type:
mount -t smbfs -o username=xxxx,password=yyyy //192.168.0.2/public /mnt/public
it tells me:
3430: session request to 192.168.0.2 failed (Called name not present)
3430: session request to *SMBSERVER failed...
mount -t smbfs -o username=<username>,password=<password> //<hostname>/<sharesame> /<mountpoint>
and it works fine. Note that I am using a hostname, not an IP address. I suggest that if you are using static IP addresses, that you enter both ip addresses in the hosts file on both machines, then try the command using the hostname (notice that the error said the Called name not present).
hosts is /etc/hosts on you linux box and normally either:
C:\Windows\hosts (WfWG,W95,98,me)
or
C:\WINNT\system32\drivers\etc\hosts (NT4,W2K)
... not sure about XP!
If this does not fix your problem, I can look into it a bit more for you.
Sharing Folders on the Linux box that can be viewed in Windows
Hi guys,
Just reading through the various conversations you've been having regarding sharing folders.
I need some help on this if are able. I need to share a folder on my linux box that can be viewed and written to from a windows machine. I do not have Gui installed and cannot install it due to lack of processor power and memory.
What do I need to do to acheive this.
1. Firstly I cannot view my Linux box in network neighbourhood from a Windows Platform
2. Secondly, How do I share a folder in Linux
3. Thirdly, How do I configure the share so that it can be viewed and edited from a windows platform.
there is a much detailed HOW TO PDF available at www.samba.org, which will tell you just about everything you'd need to know about samba in different situations.
also look for "samba 3 by example" Book by John Terpstra. steps through installation and usage of Samba in different network environments.
You don't mention if you're using 2.x or 3.0x - samba. I'd recommend the 3.0 stuff. However, if you're not able to see your machine, you're probably not running nmbd.
Everything is controlled in /etc/samba/smb.conf - keep it simple to start out.
be sure to add users to both unix/linux and samba using smbpasswd.
be sure to check the security level on the share so that users have rights to modify it - detailed info is in the HOW TO book at www.samba.org./
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.