Thread
:
Network browser
View Single Post
cmideiros
2007-07-09 , 00:36
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 ?
Quote & Reply
|
cmideiros
View Public Profile
Send a private message to cmideiros
Find all posts by cmideiros