Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i'm trying to mount my network shares on startup, however they do not connect. i have put a few lines into my /etc/rc.local file.. they look something like this:
mount -t smbfs //fileserver/1x300 /mnt/z -o username=administrator,password=password
i can copy that same line into a console, and run it as root, and everything connects the way it should. I would have put these commands into my /home/administrator/.kde/autostart, but mount does not want to work unless i'm root, and i suspected that everything in the autostart would try to start as my user.
is the rc.local file parsed before my network connection is active? the other mount commands in my rc.local file work, but they are for local drives not networked.
i dont have it in my fstab because i like having all of my startup configurations all in one place. it makes it easier for me to make any changes. if putting it in my fstab is the only way to do it, then i can do it that way.
ive discovered another problem with the mount though. i do not have write access to the mount under my user, i only have write access as root. could this be because i am mounting the share as root? i tried to chown administrator /mnt/z as root, but i got an 'operation not permitted' message. im slapping the keyboard saying to my machine "but i'm ROOT!!!! you MUST permit it!!!"
I know about fstab, but what is "automount points"?
The username and password i'm passing to samba is the same username and password i use to log into Xwindows. I use the same username and password to log into all of my windows machines, and my linux desktop, so that I do not need to enter in a user/pass every time I want to connect to a share on a different machine.
I have not tried using cifs, I am not familiar with it.
When I first made the entry into my fstab, I got a popup window in X saying something like "new medium found" or something of that nature, with two options, one being open or browse. so i clicked open/browse, and I got a permission denied message.
so I removed gid, and did a mount -a, and now this message appears:
mount error: could not find target server. TCP name fileserver/1x300 not found
No ip address specified and hostname not found
ping fileserver comes up as: unknown host: fileserver.
I didnt change anything on the fileserver, so I vnc'd to my mediacenter and pinged the fileserver, and got a reply.
I dont think I have any software firewalls running. There was one on my vector linux fileserver, but it is disabled, for exactly this purpose. plus, all my machines on my lan are behind a hardware firewall to the outside world.
I'm running pclinuxos2007 on my desktop, which is the one we're working on.
I didnt notice anything that looked like a firewall when I ran ps ux. is there a way to check for sure?
Thanks for your help billymayday. I'm leaving for a weekend getaway with my girlfriend as we speak, so I will be back sunday evening to continue working on this.