LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-28-2009, 10:04 PM   #16
cherokeeman96
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0

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?
 
Old 02-28-2009, 10:08 PM   #17
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Quote:
Originally Posted by i92guboj View Post
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.
this reply gave you instructions on how
 
Old 03-01-2009, 11:13 AM   #18
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quote:
Originally Posted by cherokeeman96 View Post
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 11:17 AM. Reason: typo
 
Old 03-05-2009, 02:28 PM   #19
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,389

Rep: Reputation: 101Reputation: 101
Do you have an ssh server running on the Linux box? Something like openssh? That is what putty will connect to.

Ken
 
Old 03-06-2009, 05:42 PM   #20
cherokeeman96
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by taylorkh View Post
Do you have an ssh server running on the Linux box? Something like openssh? That is what putty will connect to.

Ken
I don't think I have a ssh server running, how do I find that out and if it is not how do I start it? Thanks
 
Old 03-06-2009, 08:31 PM   #21
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,389

Rep: Reputation: 101Reputation: 101
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.

Ken
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to share files from a windows system to linux system vijaya_svk Linux - Software 3 02-10-2008 03:16 AM
installing win xp on a linux system iam whoiam Linux - Newbie 3 09-23-2004 08:17 AM
linux running off of win system Lost_linux_Noob Linux - Newbie 5 10-10-2003 10:21 PM
A routing Linux to win system problem jarethfox Linux - Networking 2 08-03-2003 10:08 PM
linux and win xp on the same system Netforce Linux - General 13 07-30-2003 10:32 AM


All times are GMT -5. The time now is 01:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration