Posts: 7
Joined: Jun 2011
Reputation:
0
Trying to setup my main XBMC live system. I've got NFS and mySQL running and was able to create my NFS Share. It works if I manually run sudo mount -a. My problem is that I have a usb WIFI adapter on this system. It appears that the WIFI adapter is not getting enabled in time for system to mount the NFS share.
How can I update this so that it mounts after the WIFI connection is established?
Posts: 1,756
Joined: Feb 2006
2011-07-18, 13:40
(This post was last modified: 2011-07-18, 14:01 by X3lectric.)
NFS is started way before wifi + you add overhead like passwords and authentication and walla you get what you describe.
if your mounting NFS shares with fstab it is also processed before networking is up.
You have to delay the NFS startup
try adding this to your rc.local
Code:
sleep 3
mount -a -t nfs
also if you google delay NFS mount or startup you get tons of helpful hits.
Posts: 2,145
Joined: Jul 2008
Reputation:
12
Check out autofs. That way you're not using it before Wifi is up.
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.