Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 disabled the guardog firewall on linux box and I was able to ping it from the xp box.What setting do I need to change on the linux box to run the firewall and allow xp to see it and how do I need to set up the linux folders to be shared?
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
Quote:
Originally Posted by i92guboj
You just might need to configure samba correctly.
I have no idea if your distro offers some kind of graphical tool to do it, but the straight way to do it would be to edit this file:
/etc/samba/smb.conf
Code:
[global]
#this needs to be the same group that the windows machines
workgroup = homenetwork
#a string to identify the machine, it can be whatever
server string = my_linux_box
security = user
log file = /var/log/samba/log.%m
encrypt passwords = yes
socket options = TCP_NODELAY
[my_samba_share]
comment = massive storage
#path to share
path = /my_samba_files/
read only = yes
guest ok = yes
This is for zero security and no pain just like windows does by default. You probably want to tweak some options etc. etc. Check the smb man page for the full galore of config options.
I disabled the guardog firewall on linux box and I was able to ping it from the xp box.What setting do I need to change on the linux box to run the firewall and allow xp to see it
You need to open a number of ports depending on the concrete services that you will be using and how you will be accessing the share. Guarddog is just a frontend to iptables (which is indeed the one and only linux firewall), it might include some grapical way to set samba up, but I have no idea about guarddog so I can't be sure.
I just set up my firewall scripts by hand. If guarddog doesn't have a proper way to do it, i'd check the docs for my distro. There's usually info about setting a firewall and such stuff. You can also google for "iptables samba thenameofyourdistro" and you will surely find something relevant.
Quote:
and how do I need to set up the linux folders to be shared?
That part was already answered.
Last edited by i92guboj; 03-01-2009 at 10:17 AM.
Reason: typo
Look at System, Administration, Services. You should see "remote shell server (ssh)". If not, go to System, Administration, Syaptic Package Manager and do a search for ssh. Look for openssh-server and install it. That should fix things.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.