You are not logged in.
Hey all,
I have had the most frustrating few hours trying to figgure out how to simply have one computer share a big folder with the rest of the computers in the house.
OK, i have two computers running archlinux, 1 ubuntu (for the wife) and 1 puppy. Also have a macbook, which can't read nfs, of all things..... anyway. I need a way for one Arch box to share nice will all of them.
Thought samba must be the way to go, but i seem to not be able to set it up right.
Ideal would be that i would have one user name and password that the entire house shares. I need actually two directories to be shared, one with only read access and one with read and write access.
If anyone could just give me a sample smb.conf to pull this off, i would be most appreciative.
Don't know where i went wrong in the wiki, or the heavily commented 5 page smb.conf.example, or the easy to navigate samba how to website. So i am thinking that whatever it is, must be pretty small. maybe some oversite.
thanks
Offline
My setup:
[global]
workgroup = WORKGROUP
server string = %h server (Samba)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
security = share
load printers = no
printcap name = /etc/printcap
printing =
[share]
comment = shared_files
writable = yes
path = /mnt/share
public = yes
So "share" is writable to everyone, and there are no users and password.
The only problem, that with this setup, the shares are indiscoverable...
However typing the ip address of the machine shows the shares. Do anybody know how to solve this discoverability?
Offline
Hey, thanks.
Think i am still missing something.
I am not worried about the system not being discoverable.
you said that there were no passwords or users, how do you connect to the share?
thanks
Offline
OK, i have two computers running archlinux, 1 ubuntu (for the wife) and 1 puppy.
Thought samba must be the way to go, but i seem to not be able to set it up right.
If you are using simple LAN connection and the machines are Linux, samba is not needed. Give different host name to each machine. In archlinux edit two files:
/etc/hosts
Example (archlinux machine 2):
127.0.0.1 localhost.localdomain localhost
192.168.0.2 arch2.arch2domain arch2
/etc/rc.conf
HOSTNAME="arch2"
In your archlinux machine 1 run in konqueror (if you use KDE):
fish://arch2
or
fish://192.168.0.2
Markku
Offline
Hey, rsat, interesting post.
I don't use KDE, and fish is a bash like scripting interface right? Sorry, got a little confused. Your example is clean, but I don't know what is going on.
Is there something i need to do so fish will work in another browser?
Are you talking about Konqueror the web browser or Konqueror the file manager. Sorry for my ignorance, i am eager to learn, just don't understand.
thanks
Offline
Konqueror is both a web browser and file manager. About FISH its one of the protocols of KIO (KDE Input/Output):
http://en.wikipedia.org/wiki/KIO
Markku
Offline
Also have a macbook
Would macbooks (old and new) support FISH?
pacman russian roulette: yes | pacman -Rcs $(pacman -Q | LANG=C sort -R | head -n $((RANDOM % 10)))
(yes, I know its broken)
Offline
Konqueror is both a web browser and file manager. About FISH its one of the protocols of KIO (KDE Input/Output):
http://en.wikipedia.org/wiki/KIO
At the risk of soundign snarky: How about somethign that doesn't require me to install a whole different DE just for accessing shares?
Offline
My setup:
[global]
workgroup = WORKGROUP
server string = %h server (Samba)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
security = share
load printers = no
printcap name = /etc/printcap
printing =[share]
comment = shared_files
writable = yes
path = /mnt/share
public = yesSo "share" is writable to everyone, and there are no users and password.
The only problem, that with this setup, the shares are indiscoverable...
However typing the ip address of the machine shows the shares. Do anybody know how to solve this discoverability?
i do have the same problem. the only suboptimal solution would be thru editing everyones hosts file.
Offline
If you want the share to be visible in client browsers, set browseable = yes in the share options
[share]
comment = shared_files
writable = yes
path = /mnt/share
public = yes
browseable = yes
Offline