PDA

View Full Version : Samba and network browsing....



johncarlson21
01-19-2003, 03:43 PM
I would like to first say that I really like knoppix....javascript:emoticon(%27%3AD%27)

but I need a little help from some of you... PLEASE

I have knoppix on my laptop and I have everything configured for using my wireless lan... but I can't seem to get use of lan browsing.... I can type smb://and the name of the computer I want into the address bar in konqueror and it works but if I use the network browse I don't get anything it sais that I can't connect to the localhost...????

and also when I am on my other computers WINDOWS THAT IS I can't see my knoppix computer and I can't share any folders it sais that the applet fails to start...

PLEASE HELP ME!!!!!!!!javascript:emoticon(%27%3Acry%3A%27)

mmaki
01-19-2003, 05:53 PM
John,

I just did a quick look at the default smb.conf on Knoppix and noticed the only share listed is [homes] (besides printers) and "browseable" is set to "No". In order for your Knoppix box shares to be seen from the Windows box make sure the "browseable" parameter is set to "yes". I think you can just remove it since by default browseable is yes. The other tricky issue with [homes] share is it is set up to only be accessable by the user logged in with a valid samba account. I would suggest saving your current smb.conf to something else and starting with the following as your smb.conf and expand from there

[global]
netbiosname = whatevername
workgroup = myworkgroup
security = user
encrypt passwords = yes

[public]
path = /tmp
read only = no

This comes from:
http://us3.samba.org/samba/ftp/docs/Samba24Hc13.pdf
which is an excellent guide to getting samba working right.

Hope this helps!

Mike

hansmax
01-20-2003, 01:11 AM
How can i change the smb.conf when i am using knoppix boot from a cd rom. The smb.conf can't be changed because is is on a cd?!
How can i change the smb.conf?

mmaki
01-20-2003, 05:56 AM
Sorry, I usually work from an HD install. But try this:
Move your original smb.conf to smb.conf.orig by:
mv /etc/samba/smb.conf /etc/samba/smb.conf.orig
then copy it to smb.conf by:
cp /etc/samba/smb.conf.orig /etc/samba/smb.conf

This removes the link to the original smb.conf and creates an editable smb.conf. I tested and I can edit after I do the move and copy, though I have not tested if samba itself works after this.

Good luck, let me know how it goes.

By the way I did notice you are in Minnesota. Just thought you might like to know we spent the afternoon in the park. It was about 72 degrees (above zero).

Mike