LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How To install and run SWAT in Fedora Core 4? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-and-run-swat-in-fedora-core-4-a-357096/)

regnox 08-25-2005 11:30 PM

How To install and run SWAT in Fedora Core 4?
 
Hi everyone. I

Im done searching the web on how to start and install SWAT on my system but, i failed to find one that fits to fedora core 4 system.

My Problem is:

1. Where can i get the SWAT for Fedora Core 4?

2. How to install SWAT?

3. How to configure SWAT for fedora core 4?


Your help is highly appreciated.

routers 08-25-2005 11:57 PM

hi there, if that SWAT you mean is a samba web config . you dont need this , just grab samba then do configuration by hand to smb.conf file then restart smb. everything can be done via command line , i like command line thing because my system clean and my under table server dont even have gui if u need more info about samba u can visit samba.org or just follow up here

*dont mad with me :)

regnox 08-26-2005 02:57 AM

Sir, it is possible to share my files and my resources like the printer if I don't belong to the domain?

How can I include my Fedora Core 4-run pc to the windows-run domain?

Is it possible for my pc to join the windows workgroup?

=)

routers 08-26-2005 10:40 PM

with samba u can join any workgroup either win or mac but if windows run domain i not sure about that because i have no chance to do R&D on that but for normal win without domain there is no problem at all

i can show u from my workstation mount linux samba server , but yeah this is linux to linux because in my office i have no windows at all , all 10 puters are linuxes

[rou@ap4 ~]$ df -h
Filesystem Size -- Used Avail Use% Mounted on
/dev/sdb1 8.1G -- 6.3G 1.5G 82% /
/dev/sda1 23M -- 5.0M 17M 23% /boot
/dev/shm 316M 0 316M 0% /dev/shm
/dev/sda2 8.2G -- 2.8G 5.1G 35% /export
//noc/server 111G -- 100G 11G 91% /export/mnt/noc


the last one is linux samba server
FYI i have done linux mix windows network before then its work can see ech other
20 win pc connected to linux samba server with user access respectively ( no domain )

if with domain, u wait others might answer u

chears :)

regnox 08-27-2005 03:54 AM

I have another question sir,

how can windows-run pc join to my workgroup, being me as the server?

What would I use?

I am running fedora core 4.

routers 09-02-2005 04:10 AM

Sorry for late reply
www.samba.org
first on FC4 samba mustbe installed or use yum install samba*

ADD SMB USER================================================
Add users who can access these shares with the 'smbpasswd' command.
[root@server samba]# smbpasswd -a username
New SMB password:
Retype new SMB password:
Added user username.

Restart Samba for every change to users/passwords or 'smb.conf'

[root@server samba]# /etc/init.d/smb restart
ADD USER END================================================

CONF EDIT BEGIN ==============================================
PUBLIC SHARE: - chmod 777 path
conf file /etc/samba/smb.conf
[samba]
path = /export/samba
writeable = yes
guest ok = yes
public = no
valid users = mike tim rou gs fred ray sam
create mask = 0765
CONF EDIT END================================================

hope can help u otherwise follow up

ethics 09-02-2005 05:25 AM

Quote:

Originally posted by regnox
I have another question sir,

how can windows-run pc join to my workgroup, being me as the server?

What would I use?

I am running fedora core 4.

If you're just talking a work group (not a domain) for file/print sharing it's still down to Samba then you need to edit the smb.conf (probably in /etc/samba) you may have one already or an example, take a look in it or on google for the work group variable and add the appropriate enty.

then on windows you need to go to control panel>system>somewhere? and change the work group to be the same as the one you put in samba.

restart samba and then add it to your network places.

kenji 09-02-2005 08:39 AM

sorry for the double post! £Ä3

kenji 09-02-2005 08:45 AM

network check

1) the first and second computer's IP must be near at each other
(this is not a problem if your using DHCP) example

computer 1 is M$ window$
type ipconfig at the DOS prompt

192.168.1.11

computer 2 is Linux
type ifconfig at the shell

192.168.1.12

2) you must turn off or configure the firewall in windows

3) you must have the same workgroup

edit smb.conf and ther you will see the workgroup = MYWORKGROUP
rename it with your workgroup name

and lastly edit the host allow and add the IP of your windows box so that
your windows box can view your linux box

4) add users and share folder do what routers said

5) type /etc/init.d/smb start

6) and to view your windows box type this

mount -t smbfs -o username=Administrator //Comp1/Share /mnt/Share

rename the username with your username, rename Comp1 with your
computer name

im happy to see another linux user form the Phil. if you have any problems
you can email me at kenji@linuxquestions.net


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