LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Suse/Novell (http://www.linuxquestions.org/questions/suse-novell-60/)
-   -   samba setup (http://www.linuxquestions.org/questions/suse-novell-60/samba-setup-497298/)

Chris Sharman 10-31-2006 02:51 PM

samba setup
 
been to the samba site, and googled for samba how-to.
many broken links, out-of-date or wrong instructions, etc.

installed smb client.
found /etc/samba/smb.conf & did hopefully the right thing.
can't find out how to start it.

I just want to be able to access my suse 9.1 desktop from my winxp laptop.
It currently can't see anything, although they're both connected to my wireless hub.

Any suggestions on:
1. how I find out the name/ip address of my desktop
2. how I have it serve up some folders or partitions

Thanks

rylan76 11-01-2006 11:26 AM

I have zero exposure to wireless, and I can't answer any of your questions directly. However, here is my smb.conf that does exactly what you want, eg. give passworldess access from windows machines on my lan to the share on the linux machine:

[global]

netbios name = stefan
workgroup = GOEDEHOOP10
security = share
log file = /var/log/samba.log
log level = 1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384
wins support = yes
domain logons = no
logon drive = f:
logon home = \\stefan\%U
os level = 99
preferred master = yes
local master = yes
hosts allow = 169.254.255.10 169.254.255.11 169.254.255.20 169.254.255.30 127.0.0.1 169.254.255.40 169.254.255.50 169.254.255.60 169.254.255.70 169.254.255.80
encrypt passwords = yes
browseable = yes
lanman auth = yes
lm announce = yes

[shared]
path = /mnt/win/shared
guest ok = yes
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes

I start samba (after compiling and installing it) by going

nmbd &
smbd &

in a terminal, as root.

Hope this helped...

Chris Sharman 11-02-2006 08:57 AM

Quote:

Originally Posted by rylan76
I start samba (after compiling and installing it) by going

nmbd &
smbd &

in a terminal, as root.

Hope this helped...

I think that's the cause of my problem - I configured smbclient (because that's all I can see).
I think I need a server - I can't find nmbd or smbd.
I can't find a version of samba for suse 9.1 anywhere, and what I can find is pretty big to download over dialup (broadband coming soon, I hope).

I've also got fedora 5, and ubuntu (drake?) - perhaps it's time to move up to something more recent.

Thanks
Chris


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