Reply
Thread Tools
Posts: 188 | Thanked: 28 times | Joined on Jun 2007
#1
Is there a network browser for samba shares?
 
SeRi@lDiE's Avatar
Posts: 919 | Thanked: 37 times | Joined on Aug 2006 @ /dev/null
#2
Only for the N770 OS2006 is called smbbrowser... They havent port it for N800 OS2007
__________________
<gla55> security stuff is just to piss off people, really
 
Posts: 15 | Thanked: 1 time | Joined on Jun 2007
#3
There is "SmbBrowser"

https://garage.maemo.org/projects/smbbrowser/

I have yet to get this one (client) to work.

I have samba (server) running on the N800, and I can mount MMC cards on
a windows PC as a file share. I can's seem to mount windows shares on the N800 though.

For samba server to work on the N800, heres what I did.

1.) Edit /etc/samba/smb.conf

[global]
log file = /var/log/samba/log.%m
max log size = 100
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = yes
# share names
[root]
browsable = yes
valid users = root,user
writeable = yes
path = /

2.) Create a "smbpasswd" file.

cat /etc/passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd

3.) Add users/passwords to smbpasswd file (prompts for smb password) .

smbpasswd root
smbpasswd user

b.) cat /etc/samba/smbpassword. You should now see the
encrypted password string in the file, for these users.

4.) Restart Samba Server on N800

/etc/init.d/samba restart

5.) Mount N800 on a Windows PC. In a dos box:

net use h: \\n800\root\home\user /user:user [optional password here, else prompt for it]
(where n800 is the hostname of your n800).


This works !
--------------------------------------------------------------
I can't get the reverse working (samba client), such as.....

mount -t cifs -o username=user,password=pw //windowsHostName/shareName /mnt/myMountPoint

It just says "mount failed". I suspect, it has to do with a registry setting.
There are many, such as hiding shares from the Master Browser List, "RestrictAnonymous" access, "LMCompatibilityLevel", etc.

Any tips ?
 
Posts: 2 | Thanked: 0 times | Joined on Jul 2007
#4
Hi. How do I get a samba server running on the N800 please? The last reply didn't mention how that bit was done!

Many thanks.
 
SeRi@lDiE's Avatar
Posts: 919 | Thanked: 37 times | Joined on Aug 2006 @ /dev/null
#5
Originally Posted by rebroad View Post
Hi. How do I get a samba server running on the N800 please? The last reply didn't mention how that bit was done!

Many thanks.
He explain bit by bit on how to get a smb server running...
__________________
<gla55> security stuff is just to piss off people, really
 
Posts: 474 | Thanked: 30 times | Joined on Jan 2006
#6
You could also use FUSE to mount the root of your network somewhere convenient.
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:28.