This weekend I have upgraded my old laptop to run Ubuntu 8.04 (Hardy Heron). The experience was suitably painless and Hardy is running smoothly. Since I've had my MacBook Pro, I've hardly opened the lid on the old laptop, it has just sat (reasonably) quietly in the corner of the room listening for SSH connections and performing downloads for me.
Under Hardy's predecessor, Gutsy Gibbon the connection to our HTPC (which is still running Windows XP Media Center Edition) had been a little flaky, which meant that often I would transfer files between the two using an SD card rather than simply copying them using smbfs.
It turns out that smbfs has been deprecated in Hardy and the time has come for me to move over to CIFS. This was actually pretty simple, but I understand some people have struggled with the conversion, so I thought I'd document what I did here.
sudo umount -at smbfs
chmod 777 /media/mountpoint
Update /etc/fstab to use cifs rather than smbfs, changing the masks to modes and ensuring that the octal modes have leading zeros, thus.
Before://server/share /media/mountpoint smbfs
auto,credentials=/etc/smbcredentials,workgroup=WORKGROUP,gid=smb,uid=1000,fmask=770,dmask=770,rw
0 0
After:
//server/share /media/mountpoint cifs
auto,credentials=/etc/smbcredentials,workgroup=WORKGROUP,gid=smb,uid=1000,file_mode=0770,dir_mode=0770,rw
0 0
sudo mount -vat cifs
And that's it: fast and easy!
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
This site is hosted by Extremis Networks and hand-crafted using VIM. This page is believed to be Valid XHTML 1.1 and Valid CSS.
You're not enjoying the johnsy.com experience as it was intended with colours, fonts, layout and stuff!
May I recommend a newer graphical browser, perhaps? Mozilla, Netscape, Opera and Internet Explorer should work without too many problems. I'm a Firefox Man, myself! I see you prefer "CCBot/1.0 (+http://www.commoncrawl.org/bot.html)". --paj