LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-22-2006, 11:48 AM   #16
tuntsfaah
Member
 
Registered: Jul 2004
Location: Chicago
Distribution: CentOS, Ubuntu, Mac OSX, Amazon AMI Linux
Posts: 43

Rep: Reputation: 15

I installed the SWAT:
yum -y install samba-swat

and from the browser i was able to configure the smb.conf file. My network works fine right now.

Then again if you configured Samba manually, within file browser u need to enter smb://accountname@name of server
example: Iahve an account on my desktop(amanda) that I am sharing from. I have an existing account drew...
smb://drew@amanda

I looked in the New Red Hat FC5 book to get this information. I copied the important section out:

Turning on Samba Web Administration Tool (SWAT)
----------------------------------------------------------
make sure samba-swat package is installed.

From terminal as root:
1 # chkconfig swat on

2 # service xinetd reload

-----------------------------------------------------------
Starting with SWAT
-----------------------------------------------------------

From browser type in URL:
http://localhost:901/

will be prompt for username and password.

(Allowing all compputers to access SWAT service, change or remove "only_from = 127.0.0.1" line from the '/etc/xinetd.d/swat').

-----------------------------------------------------------
Configuring shared directories with SWAT
-----------------------------------------------------------

1 From SWAT main window, click SHARES button.
2 Type the name of directories you want to share in the Create share box,
then click Create Share.
3 Click Advanced.
4 Go through the options:
comment
path
read only
guest ok
hosts allow
enable access by individual host names or IP Addresses
"192.168.74.18" individual
"192.168.74." entire hosts on a network
maple, pine

5 Select Commit Changes.

-----------------------------------------------------------
Checking your Samba setup with SWAT
-----------------------------------------------------------

From SWAT window, select STATUS button.


-------------------------------------------------------------
Trouble shooting
-------------------------------------------------------------

$ ifconfig -a

Bcast: 10.0.0.255 - this is determined by the netmask (255.255.255.0).
if Bcast isn't same for the Samba server and clients on the LAN, the clients cannot see that Samba server has directories or printers sharing.

TRY:
$ smbclient -L localhost
 
  


Reply



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
Cannot connect to anything on localhost JohnKFT Slackware 17 05-11-2005 02:21 AM
can't connect to localhost acidblue Fedora 0 12-05-2004 07:20 PM
cannot connect to localhost (RH9) DaddyBad Linux - Newbie 10 03-15-2004 12:15 PM
Can't connect to localhost Brendon Linux - Networking 11 07-30-2002 10:13 AM
can only connect with ssh to localhost Yaukuai Linux - Security 7 10-12-2001 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:19 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
Open Source Consulting | Domain Registration