Thank you very much for this informative article. I did not know I needed the iocharset option for mount until I found out that Japanese characters in file names weren't surviving the trip to my mounted Samba share. Thanks to this article, and the mount manpage, I have solved my problem.
Hello, all. I have been able to get "mount -t cifs ..." working now on 32 bit Karmic Ubuntu desktop machines. Yea! But still no joy mounting NAS with Ubuntu Karmic Server 64 bit no matter how I configure the mount command. It times out - "Error connecting to socket." (-512) Thanks for any tips.
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Thanks, dmizer. It's the NetGear Stora. I have the Ubuntu Karmic workstations mounting it perfectly thanks to the tips in this thread. However, my two Ubuntu servers (Karmic, 64 bit) still are having trouble - the only obvious difference (other than 64 bit servers vs. 32 bit desktops) is the servers have fixed IP's whereas all the workstations use DHCP. All the machines and the NAS are behind the same router.
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
I was just starting to think the same thing...sorry to sidetrack this thread...it almost certainly is related to my router and network settings for those fixed IP servers. However, this thread has been invaluable for getting the cifs mounts working on my other machines. Thanks!
Last edited by panthermartin; March 2nd, 2010 at 09:06 AM.
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
This is a pretty typical set-up, so it might be useful to others getting started like I am and learnimg as they go.
To answer your question, yes, the router does allow several configuration options for those fixed IP addresses.
I have a SMC D3G type router from Comcast (business internet account) with a pool of 5 static IP addresses to work with. The router is configured use DHCP (10.1.10.10/255.255.255.0) for most workstations/NAS devices inside the LAN. However, I also have two ubuntu servers configured with static IP addresses (75.151.87.xxx/255.255.255.248) that the router recognizes and for which it allows internet traffic through (on certain ports only).
Anyway, I figured this smart router would allow me to have the fixed IP servers mount the shared NAS drive (on 10.1.10.5) just like the workstations (10.1.10.xxx) do, even though they are not in the 10.1.10.xxx subnet. In retrospect, that was a naive assumption - but it made me learn more about subnetting, which is a good thing!
If anyone has a link or ideas on how people typically connect the fixed IP servers to the DHCP assigned resources in a LAN, I would be grateful! Thanks.
What I've always done is assign permanent DHCP leases to servers so that the router always assigns the same IP to servers. The problem is, that the vocabulary used varies from manufacture to manufacture, and even varies from model to model.
You could try something like this: http://www.watchingthenet.com/linksy...s-network.html
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Bookmarks