View previous topic :: View next topic |
Author |
Message |
faz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Diablo/Diablo_2_-_Barbarian.gif)
Joined: 02 Nov 2002 Posts: 73 Location: the Netherlands
|
Posted: Sat Nov 16, 2002 4:02 pm Post subject: Howto mount smb shares at boottime thru a pcmcia networkcard |
|
|
Hi,
I want to mount smb shares at boottime on my notebook. These shares are on my home-LAN. I've put them in fstab but that doesn't work because pcmcia startup occurs later in the boot.
Ideally the mount occurs conditionally, that is, it only tries to mount if it finds the host. That way, the mounts occur only when I boot the machine at home.
Even more ideally, it should try this to if my machine resumes from suspend. Imagine this: I come home from work -> I insert my wireless LAN card -> I open up my notebook -> it resumes from suspend -> it mounts the shares on my home-LAN. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
petu Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/153234079543abcf90833b8.jpg)
Joined: 01 Sep 2002 Posts: 269 Location: Turku, Finland
|
Posted: Sat Nov 16, 2002 4:10 pm Post subject: |
|
|
An easy solution would be to put mount commands to /etc/conf.d/local.start
Code: |
mount -t smbfs //hostname/share -o username=user,password=password /local/mount_point/
|
But this solution always tries to mount your home shares and if it can't access them it gives errors ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|