how to "map network resource" in linux
Is there any way to automatically map some network resource to a specific directory every time linux starts up? I edited /etc/rc.config and added the following:
SMB_START="yes" The reason I ask is that I wish to map my mp3s to be accessible every time i boot linux. Oh, There is a user name and password as such: username: suse password: suse My Windows Machine (that has the mp3 hard drive) is set up to accept the login above and give full read/write/execute access with that login. Here's the setup Server machine: Windows 2000 Advanced Server (hostname: linuxsux) Client machinr: Suse Linux Professional 7.3 (hostname: fallasteenilinux) kernel: 2.4.10 Can anyone help? Thanx. NOTE: I edited /etc/fstab and that didnot help at all! :( NOTE 2: Samba is installed and running! :) Shares are to be done by SMB |
What did your entry in /etc/fstab look like?
Try something like this (in /etc/fstab): //windozebox/share /mountpoint smbfs username=suse,password=suse 0 0 Then to test it, just type: mount /mountpoint If that works, it should work during bootup. |
oh wow!
oh wow! IT WORKED! Thanx a bunch 6pack! i owe ya one! I have no idea why it dodn't work for me before! :)
|
no problem shassouneh... beer's on you :)
|
beer?
Quote:
|
UPDATE! Someone Please help!
Dear All,
For some reason it is NOT working any more. If I try to use the commmand mount /mp3 to mount the resource, it gives me the following un-descipherable error: tdb(/var/lib/samba/unexpected.tdb): rec_read bad magic 0xd9fee666 at offset=8656 tdb(/var/lib/samba/unexpected.tdb): rec_read bad magic 0xd9fee666 at offset=8656 tdb(/var/lib/samba/unexpected.tdb): rec_read bad magic 0xd9fee666 at offset=8656 Can't get /etc/mtab~ lock filesmbmnt failed: 1 Also, it does NOT seem to mount them every time the machine boots up! I STILL have to manually mount the resource! Someone please help! NOTE: The resource is available at //linuxsux/mp3z and the username and password are "suse" in lower case. Someone Please help! :( |
Please post the output from the command: smbclient -L //linuxsux
Also, post your smb.conf file. Thanks. |
All times are GMT -5. The time now is 05:09 PM. |