Re: Laptop mounting nfs
Hi,
On Fri, Jul 05, 2002 at 09:33:06PM +0100, Keith O'Connell wrote:
> Hi,
>
> I would like some advice on what is more an inconvenience than a
> problem. I have a laptop which is effectively permanently on my desk
> and part of a small lan. It has four remote directories mounted via
> nfs, including /home. The inconvenience is that on the occasions when
> it is rebooted, the checking/loading of portmapper is done before the
> pcmcia driver is loaded and consequently instead of being able to
> mount the remote directories via fstab, I have to log in as root run
> "mount -av", log out, then log in as a user. This cannot be an unusual
> problem. What is the "correct" way to address this so it loads like a
> desktop. Don't assume to much in depth knowledge on my part. send me
> off to read if thats the answer!
This is typical for pcmcia-NIC. It is activated after normal NIC
initialization"s are done. update-rc.d is not good enough.
REad /usr/share/doc/pcmcia-cs/FAQ.gz:
...
o The PCMCIA network interface is established too late in the boot
procedure for mountnfs.sh to mount any NFS file systems. Shouldn't
the PCMCIA daemon be started earlier in the boot process?
In short, no. Remote filesystems that are mounted through a PCMCIA network
connection should be mounted by the /etc/pcmcia/network script, and NOT by
/etc/init.d/mountnfs.sh. Therefore, these filesystems should be listed in
the /etc/pcmcia/network.opts file.
Configuring the PCMCIA network interface is not part of the boot
process. Therefore, there is no way to guarantee that the interface has
been configured before the next step in the boot sequence is executed.
This is a very common misconception.
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki @ Cupertino CA USA
See "User's Guide": http://www.debian.org/doc/manuals/users-guide/
See "Debian reference": http://www.debian.org/doc/manuals/debian-reference/
"Debian reference" Project at: http://qref.sf.net
I welcome your constructive criticisms and corrections.
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: