Linux

smb mounts via fstab or automount?

I have many computers I need to connect to from my Linux box. Network browsing works, but is terribly slow, so I want to create some shortcuts, that I can mount with a single mouseclick what I need from a list. First I thought to modify the fstab and put there entries that would allow me to easily mount smb shares as a normal user. E.g.:

//paula/michael /media/smbmounts smbfs noauto,user,credentials=/home/jeltsch/.smbpasswd1 0 0

autofs, automount, auto.master and mounting samba shares

First I added a symbolic link to /etc/init.d/rc5.d/:

cd /etc/init.d/rc5.d sudo ln -s ../autofs S21autofs

Then I added to the /etc/auto.master the following line:

/media/automounts /etc/auto.smbmounts

Then I created the file auto.smbmounts with the following content:

michael_msbl.helsinki.fi -fstype=smbfs,username=michael,password=## ://paula/michael

Then I created the mountpoint:

sudo mkdir /media/automounts/michael_msbl.helsinki.fi

Then I activated the autofs daemon:

Wine and Adobe Illustrator (can't find AIRes.dll)

Adobe Illustrator didn't want to start up under wine, because it couldn't find the file AI90Res.dll. This file is located after the Illustrator install in:

~/.cxoffice/dotwine/fake_windows/Program Files/Adobe/Illustrator 10/Support Files/Contents/Windows/System

I just moved it up one directory and everything started working.

Pages