Troubleshooting Windows shares (samba)
On your Windows machines, use DHCP
This may sound weird, but it solves quite a bit of issues. If you wish to have static addresses, 1 way of doing it is if your router supports static DHCP. This way your PCs/devices will get assigned always the same IP on every dhcp request
Using shell access, go to the directory that's shared, and list its permissions
- Add discussion about which file perms are recommended and how to change them.
Are you using the same workgroup ?
Make sure that the workgroup you use is the same that your windows computers use:
- Defined in Windows ;ControlPanel:Network:Identification_Tab:Workgroup_field
- For a workgroup MSHOME with a guest account this line should appear in /etc/smb.conf
[global] security = share guest account = smbguest workgroup = MSHOME
Try adding guest access
While you may want security w/ user/passwords on your shares, enabling guest access is another way of troubleshooting if you can make it work.
1. Pick a directory you wish to share ie: /mnt/share and change the access permissions to make it readable and writable to everybody.
chmod 777 /mnt/share
2. Add the [share] section to /etc/samba/smb.conf This will create a free to all directory.
[share] comment = LinkStation Share path = /mnt/share read only = no public = yes
3. Restart Samba on the Linkstation with this command:
4. In Windows Explorer, doubleclick on Network Neighborhood, then on Entire Network, then on your workgroup (MSHOME in the case), and see if you see your LinkStation
5. Doubleclick the icon to see the share directory.
6. Navigate to the share directory.
- Samba Documentation
- http://www.samba.org/ The samba web site
- http://us4.samba.org/samba/docs/using_samba/toc.html "Using Samba", by Ts, Eckstein, and Collier-Brown (O'Reilly)
- Troubleshooters.Com and T.C Linux Library Present: Samba