You are not logged in.
Hello everyone, I have an issue. I'm using networkmanager to manage wireless connections. While installing networkmanger, the wiki told you must remove network daemon from rc.conf, and use networkmanager instead: that's exactly what I did, and networkmanager does the job just well. I told you that because I think that it is the reason why i'm failing to auto mount smb share through editing fstab. If i put in fstab the command described on the wiki (cisf mounting) I get a FAIL at booting, it says it can't find the share. Otherwise am I wrong and the reason must be related to something else, like syntax errors? Thank you.
Offline
Put the share in fstab with the 'noauto' option and use the netfs init script to mount it after networkmanager has established the connection.
Offline
Trying to follow your advice, I did the following: I put into /etc/fstab
//server/Videos$ /mnt/video cifs noauto,noatime,username=Y3KNET/Arch,password=Ilove69,ip=192.168.1.1 0 0
//server/Public$ /mnt/public cifs noauto,noatime,username=Y3KNET/Arch,password=Ilove69,ip=192.168.1.1 0 0
then, in /etc/rc.local:
mount /mnt/video
mount /mnt/public
and, as a second try,
sudo mount /mnt/video
sudo mount /mnt/public
but without luck: no mount actually takes place. Anyway, if i type the above code after logon into kde, everything works flawlessly. Where am I mistaken?
Last edited by Y3k (2011-12-03 23:06:36)
Offline
Ah right - your network connection is not established until you login to KDE, so you should do the mounting after that.
Alternatively, connect to your net during system init, before user login.
Offline
Ah right - your network connection is not established until you login to KDE, so you should do the mounting after that.
Alternatively, connect to your net during system init, before user login.
Ok, so you suggested 2 possible solutions:
1) Mount after KDE login
2)Enable network (wireless connection) before login
I can do what you say but I don't know how to do that AUTOMATICALLY. Any advice?
Offline
sorry guys I'm really stuck with this issue. I really have no idea how to fix this, and it doesn't seem to be an hard problem to solve...
Offline
I don't use either KDE or networkmanager, but I suspect both of them have what you need:
- for KDE, the ability to run commands automatically when it starts up.
- for networkmanager, the ability to run commands when the network connection is established.
Try the wiki for a start, if that doesn't help, google will.
Offline