Hello
I got this bug on my Kubuntu 10.10 and 11.04 machine
Adding this conf file solved the problem for me on Kubuntu 10.10, but on 11.04 the bug is present even though the upstart job kicks off( the NAS is mounted) Other described solutions for the bug, which used to work on 10.10 does not on 11.04 anymore. Hope this info helps
Here is the conf
description "Automounter on default network"
author
start on net-device-up IFACE!=lo
stop on networking stopping
stop on net-device-down IFACE!=lo
env wifiD=deckoff #SSID(name) ot the wireless network where the NFS is connected
env mIP=192.168.1.106 #local IP of of the NFS
env mDIR=Public #default mounted dir
env lDIR=MyBookLive #the local place where the NFS is mounted to. The script mounts in a dir into /media/
env moptions=username=***,password=***,iocharset=utf8,file_mode=0777,dir_mode=0777,soft,noperm #options for your mount - username, password, iochart etc
Hello
I got this bug on my Kubuntu 10.10 and 11.04 machine
Adding this conf file solved the problem for me on Kubuntu 10.10, but on 11.04 the bug is present even though the upstart job kicks off( the NAS is mounted) Other described solutions for the bug, which used to work on 10.10 does not on 11.04 anymore. Hope this info helps
Here is the conf
description "Automounter on default network"
author
start on net-device-up IFACE!=lo
stop on networking stopping
stop on net-device-down IFACE!=lo
env wifiD=deckoff #SSID(name) ot the wireless network where the NFS is connected username= ***,password= ***,iocharset= utf8,file_ mode=0777, dir_mode= 0777,soft, noperm #options for your mount - username, password, iochart etc
env mIP=192.168.1.106 #local IP of of the NFS
env mDIR=Public #default mounted dir
env lDIR=MyBookLive #the local place where the NFS is mounted to. The script mounts in a dir into /media/
env moptions=
post-start script
wifi="' $(/sbin/ iwconfig eth1 | egrep ESSID | cut -d '"' -f 2)'"
if [ $wifi = "'$wifiD'" ];
then
mount -t cifs //$mIP/$mDIR /media/$lDIR -o $moptions
fi
end script
post-stop script
sleep 2
umount /media/$lDIR -f
end script