I am using automount to mount a set of network shares on my macbook. My problem is that when these shares are not available, e.g. When I am out of the office using a different network, I cannot login to my mac. The login screen progress bar stays stuck forever (I've let it go well over 12 hours to test). Currently, my /etc/automaster looks like. I am not sure how I told AutoMounter that I want this network share that is on a NAS that no longer exists, but now I cannot find how to un-tell it because AutoMounter is attacking every 60 seconds. Console shows the proof: Share 'homes' started to mount with URL: afp://mlitwin@diaspora(AFP).afpovertcp.tcp.local/homes.
The Automounter is a service (consisting of automount/autofs), to mount file systems automatically. Mounting is performed when accessing the configured directories. Unmounting is performed by default after 5 sec. of inactivity (depending on the used image). On Dreamboxes the service is used to access network shares. The shares can be accessed over cifs and/or nfs.
After mounting the share it's possible to play supported movies, music and images. The network shares can be on Dreamboxes, Linux computers, Macs, NAS and Windows computers.
Advantage of the automounter: no scripts, editing of the fstab or boot settings are required.
Functionality Automounter
For the preamble Automount Mounter, two files are important, autofs and automount. Autofs defines the mount points using the auto.master file. Afterwards the mounting is performed by automount.
Goal of the article
Prerequisites
Configuring the Automounter
There are 3 ways to configure the automounter.
Configuration via Automount Editor
The Automount Editor is available in Enigma since Gemini Project 1.9 and in Enigma2 since Gemini Project 3.2 in the Blue Panel.
Example CIFS Mount
Example of a cifs mount.
The settings need to be changed according to your situation.
description of the settings
Name
Enter the name of the device (e.g. sound). The autofs daemon creates a directory with the selected name. The path of the directory is saved in the file auto.master. Read: Accessing the mount point.
Attention: if using multiple mounts, the name (mount point) should always be different.
Typ
selection of the protocol CIFS.
Parameter
Options for the mount.
Server
IP address of the source device.
Share
Enter the name of the shared directory. Attention, with Enigma2 there shouldn't be a / (Slash) entered at the beginning!
read / write buffer
The options rsize and wsize define the size of the data packages, which are exchanged by the client and server.
User
Enter the user name of for the access on the source device.
Password
Enter the password for the access on the source device.
Charset (utf8)
Sets the character encoding onto utf8, useful for special characters. Example NFS Mount
Example of a nfs mount.
The settings need to be changed according to your situation.
description of the settings
Name
Enter the name of the device (e.g. sound). The autofs daemon creates a directory with the selected name. The path of the directory is saved in the file auto.master. Read: Accessing the mount point.
Attention: if using multiple mounts, the name (mount point) should always be different.
Typ
selection of the protocol NFS.
Parameter
Options for the mount.
Server
IP address of the source device.
Share
Enter the name of the shared directory. Attention, with Enigma2 there shouldn't be a / (Slash) entered at the beginning!
read / write buffer
The options rsize and wsize define the size of the data packages, which are exchanged by the client and server. Accessing the mount point
The access of the created mount point depends on the Gemini version. The easiest way is to use the File Mode (Enigma), or the File Manager (Enigma2).
Configuration via configuration file
The configuration file of the automounter for CVS Boxes can be found in /var/etc and for OE Boxes in /etc (CVS/OE Boxes see here). Here you can find also the different files depending on the image version. The syntax remained the same.
Example CIFS mount
Example of a cifs mount.
The settings need to be changed according to your situation. description of the settings
Name
Enter the name of the device (e.g. sound). The autofs daemon creates a directory with the selected name. The path of the directory is saved in the file auto.master. Read: Accessing the mount point.
Attention: if using multiple mounts, the name (mount point) should always be different.
-fstype=
selection of the protocol CIFS.
rw,soft
Options for the mount.
user=user_name
Enter the user name of for the access on the source device.
pass=password
Enter the password for the access on the source device.
rsize=8192,wsize=8192
The options rsize and wsize define the size of the data packages, which are exchanged by the client and server.
iocharset=utf8
Sets the character encoding onto utf8, useful for special characters.
://192.168.1.10
IP address of the source device.
/sound
Enter the name of the shared directory. Attention, with Enigma2 there shouldn't be a / (Slash) entered at the beginning! Example NFS mount
Example of a nfs mount.
The settings need to be changed according to your situation. description of the settings
Name
Enter the name of the device (e.g. sound). The autofs daemon creates a directory with the selected name. The path of the directory is saved in the file auto.master. Read: Accessing the mount point.
Attention: if using multiple mounts, the name (mount point) should always be different.
-fstype=
selection of the protocol NFS.
rw,soft,tcp,nolock
Options for the mount.
rsize=8192,wsize=8192
The options rsize and wsize define the size of the data packages, which are exchanged by the client and server.
192.168.1.15:
IP address of the source device.
/video
Enter the name of the shared directory. Attention, with Enigma2 there shouldn't be a / (Slash) entered at the beginning! Accessing the mount point
The access of the created mount point depends on the Gemini version. The easiest way is to use the File Mode (Enigma), or the File Manager (Enigma2).
Interesting shell commands for the automounter
Examples for an Enigma2 based Dreambox up to OE 2.0Stop autofsStart autofsRestart autofsLoad the changed config fileStatus queryExamples for an Enigma2 based Dreambox since OE 2.2Stop autofsStart autofsShow status of autofs
Abgerufen von „http://wiki.blue-panel.com/index.php?title=Automount_(en)&oldid=18163“
The Automounter is a service (consisting of automount/autofs), to mount file systems automatically. Mounting is performed when accessing the configured directories. Unmounting is performed by default after 5 sec. of inactivity (depending on the used image). On Dreamboxes the service is used to access network shares. The shares can be accessed over cifs and/or nfs.
After mounting the share it's possible to play supported movies, music and images. The network shares can be on Dreamboxes, Linux computers, Macs, NAS and Windows computers.
Advantage of the automounter: no scripts, editing of the fstab or boot settings are required.
Functionality Automounter
For the preamble Automount Mounter, two files are important, autofs and automount. Autofs defines the mount points using the auto.master file. Afterwards the mounting is performed by automount.
Goal of the article
Prerequisites
Configuring the Automounter
There are 3 ways to configure the automounter.
Configuration via Automount Editor
The Automount Editor is available in Enigma since Gemini Project 1.9 and in Enigma2 since Gemini Project 3.2 in the Blue Panel.
Example CIFS Mount
Example of a cifs mount.
The settings need to be changed according to your situation.
description of the settings
Name
Enter the name of the device (e.g. sound). The autofs daemon creates a directory with the selected name. The path of the directory is saved in the file auto.master. Read: Accessing the mount point.
Attention: if using multiple mounts, the name (mount point) should always be different.
Typ
selection of the protocol CIFS.
Parameter
Options for the mount.
Server
IP address of the source device.
Share
Enter the name of the shared directory. Attention, with Enigma2 there shouldn't be a / (Slash) entered at the beginning!
read / write buffer
The options rsize and wsize define the size of the data packages, which are exchanged by the client and server.
User
Enter the user name of for the access on the source device.
Password
Enter the password for the access on the source device.
Charset (utf8)
Sets the character encoding onto utf8, useful for special characters. Example NFS Mount
Example of a nfs mount.
The settings need to be changed according to your situation.
description of the settings
Name
Enter the name of the device (e.g. sound). The autofs daemon creates a directory with the selected name. The path of the directory is saved in the file auto.master. Read: Accessing the mount point.
Attention: if using multiple mounts, the name (mount point) should always be different.
Typ
selection of the protocol NFS.
Parameter
Options for the mount.
Server
IP address of the source device.
Share
Enter the name of the shared directory. Attention, with Enigma2 there shouldn't be a / (Slash) entered at the beginning!
read / write buffer
The options rsize and wsize define the size of the data packages, which are exchanged by the client and server. Accessing the mount point
The access of the created mount point depends on the Gemini version. The easiest way is to use the File Mode (Enigma), or the File Manager (Enigma2).
Configuration via configuration file
The configuration file of the automounter for CVS Boxes can be found in /var/etc and for OE Boxes in /etc (CVS/OE Boxes see here). Here you can find also the different files depending on the image version. The syntax remained the same.
Example CIFS mount
Example of a cifs mount.
The settings need to be changed according to your situation. description of the settings
Name
Enter the name of the device (e.g. sound). The autofs daemon creates a directory with the selected name. The path of the directory is saved in the file auto.master. Read: Accessing the mount point.
Attention: if using multiple mounts, the name (mount point) should always be different.
-fstype=
selection of the protocol CIFS.
rw,soft
Options for the mount. Automounter 1 3 – Automatically Mount Network Shares Buy Or Sell
user=user_name
Enter the user name of for the access on the source device.
pass=password
Enter the password for the access on the source device.
rsize=8192,wsize=8192
The options rsize and wsize define the size of the data packages, which are exchanged by the client and server.
iocharset=utf8
Sets the character encoding onto utf8, useful for special characters.
://192.168.1.10
IP address of the source device.
/sound
Enter the name of the shared directory. Attention, with Enigma2 there shouldn't be a / (Slash) entered at the beginning! Example NFS mount
Example of a nfs mount.
The settings need to be changed according to your situation. description of the settings
Name
Enter the name of the device (e.g. sound). The autofs daemon creates a directory with the selected name. The path of the directory is saved in the file auto.master. Read: Accessing the mount point.
Attention: if using multiple mounts, the name (mount point) should always be different.
-fstype=
selection of the protocol NFS.
rw,soft,tcp,nolock
Options for the mount.
rsize=8192,wsize=8192
The options rsize and wsize define the size of the data packages, which are exchanged by the client and server.
192.168.1.15:
IP address of the source device.
/video
Enter the name of the shared directory. Attention, with Enigma2 there shouldn't be a / (Slash) entered at the beginning! Accessing the mount point
The access of the created mount point depends on the Gemini version. The easiest way is to use the File Mode (Enigma), or the File Manager (Enigma2).
Interesting shell commands for the automounter
Examples for an Enigma2 based Dreambox up to OE 2.0Stop autofsStart autofsMac Os Automatically Mount Network DriveRestart autofsLoad the changed config fileStatus queryExamples for an Enigma2 based Dreambox since OE 2.2Stop autofsStart autofsAutomounter 1 3 – Automatically Mount Network Shares PriceShow status of autofs
Abgerufen von „http://wiki.blue-panel.com/index.php?title=Automount_(en)&oldid=18163“
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |