|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (11 bit)
|
Samba
How do I start useing Samba? According to Fedora's add/remove programs I have it installed but I can't figure out how to start useing it.
One more thing, my text lloks a little strange, kind of like its blending in with the background or something. Anyone know how to fix that?
__________________
Main: ASUS P5k SE/Core 2 Duo E6550/4x1024mb DDR2 800 GeForce 8600 GT 256MB/WD 36.7GB Raptor - WD 320GB x2 - WD - 750GB x2 - WD 640GB Laptop: Acer Aspire One AOA150 945GSE/Atom N270/1024mb DDR2 533/8.9" WSVGA/120GB HDD/2.3 lbs. HTPC: Shuttle K48 945GC/Pentium E2180/2x1024mb DDR2 800/80GB HDD/Vizio V37L 37" LCD 1080i Join us in the pcmech irc channel on undernet #Pcmech. |
|
|
|
|
|
#2 |
|
Member (13 bit)
Join Date: Jul 2000
Location: Fullerton, CA
Posts: 7,030
|
Hi Blue_Gundam2002,
Here are some guides I found useful for setting up Samba. http://www.linux.ie/articles/tutorials/samba.php http://www.samba.netfirms.com/ Hope this helps. |
|
|
|
|
|
#4 |
|
Member (11 bit)
|
I can't edit the file smb.conf file. It keeps saying I don't have the rights. I try and log in as root in a terminal but I still won't let me.
|
|
|
|
|
|
#5 |
|
Member (11 bit)
|
OK, i figured out how to do everything from a terminal as root. I setup the smb.conf file and restarted samba, but windows says its unaccessible.
I used the first guid from ZAIUS Linux username is rex, the windows computer username is server. Here is my smb.conf file: # Global Parameters workgroup = workgroup netbios name =Linux encrypt passwords = yes [homes] read only = no browseable = no [music] path = /data/mp3 browseable = yes write list = rex, server [everyone] path = /data/everyone read only = no browseable = yes [apps] path = /data/apps browseable = yes valid users = @admins, root write list = @admins, root |
|
|
|
|
|
#6 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
The first thing to always do is to look in your log files, usually /var/log/samba/ and see if you can tell anything. Most of the time the logs will give you some hints to the problem. You should also make sure the standard network stuff, that both machines or on the same subnet, have the same workgroup, etc. You also need to check the permissions on your Linux box like so: ls -l /data/apps and see who the owner, group and other is and that they have write access. If the owner is root and the group is root, and other has no permissions, then you need to give them permissions. For instance, on your [music] share, do a chgrp -R users /data/mp3/ (or whatever group there are in) and then do a chmod, chmod -R 770 /data/mp3/.
You also need to remember to stop the smbd daemon every time you make a change to smb.conf. Run testparm to see if there are any problems with it. Also make sure that it is running by [/b]ps -waux[/b]. |
|
|
|
|
|
#7 |
|
Member (11 bit)
|
smbd.log:
[2004/05/16 13:22:19, 0] smbd/server.c:main(747) smbd version 3.0.2-7.FC1 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/05/16 13:31:05, 0] smbd/server.c:main(747) smbd version 3.0.2-7.FC1 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/05/16 15:57:33, 0] smbd/server.c:main(747) smbd version 3.0.2-7.FC1 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 mnbd.log: 2004/05/16 13:22:19, 0] nmbd/nmbd.c:main(665) Netbios nameserver version 3.0.2-7.FC1 started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2004/05/16 13:28:08, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server LINUX is now a local master browser for workgroup WORKGROUP$ ***** [2004/05/16 13:31:05, 0] nmbd/nmbd.c:terminate(54) Got SIGTERM: going down... [2004/05/16 13:31:05, 0] nmbd/nmbd.c:main(665) Netbios nameserver version 3.0.2-7.FC1 started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2004/05/16 13:36:54, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server LINUX is now a local master browser for workgroup WORKGROUP$ Samba name server LINUX is now a local master browser for workgroup WORKGROUP$ ***** [2004/05/16 15:10:56, 0] nmbd/nmbd.c:terminate(54) Got SIGTERM: going down... [2004/05/16 15:57:34, 0] nmbd/nmbd.c:main(665) Netbios nameserver version 3.0.2-7.FC1 started. I tried ls -l /data/apps but it says no such file or directory. I'm also not sure were to check the network settings at, I know I can get online. Its in the right workgroup because windows can see it. But I don't know what my subnet is, I think thats why I couldn't get gentoo to connect whenever I tried to compile it useing a stage1. |
|
|
|
|
|
#8 |
|
Member (11 bit)
|
I think I'm going about this the wrong way. I don't need to access shared files thar are on my linux computer. I need to access a shared folder thats on a windows computer.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|