OESF Portables Forum

General Forums => General Discussion => Topic started by: Anonymous on March 20, 2004, 07:11:58 pm

Title: Windows Shares
Post by: Anonymous on March 20, 2004, 07:11:58 pm
Is there a way to browse windows network shares? I know there are ways to mount them and I\'ve seen plenty of documentation on how to set one up for others to connect to. However I want to be able to browse others network shares.

Also is there a way I can see what all shares are available on the network? It gets annoying having to ask people what their share was called instead of just browsing.
Title: Windows Shares
Post by: edo on March 20, 2004, 09:06:42 pm
Hello Guest,

Although this is more a Linux question than a Zaurus question, I\'ll answer it. You obviously need the right components (samba ipk\'s or your own compiled arm binaries) to do this on a Zaurus system.

1. Search through the network for Windows or Samba file-sharing devices.

nmap -port 139 192.168.1.1-254

2. Once you have the IP addresses of the devices running Windows shares, you need to find the Netbios names of these computers.

nmblookup -A 192.168.1.10

3. Now you have a valid name, time to check for shares on it.

smbclient -N -L win_pc_name

4. Finally you can use smbmount to mount the file share.

smbmount //win_pc_name/share_name /mnt/samba

5. Use standard Linux console commands or File Explorer to browse through the files on the share.
Note that password-protected shares will need you to enter username and password at appropriate stages.

Regards,
Edo. :idea:
Title: Windows Shares
Post by: Tehas on March 20, 2004, 09:10:21 pm
I know that smbclient on a Linux workstation can check to see what shares are available on another machine (-L hostname).  I\'m assuming that it would do the same thing from the Zaurus.

Can\'t answer your browse question.  My hunch is that you\'d need to mount it but that\'s only a guess on my part.