LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-29-2002, 05:41 PM   #1
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
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

Last edited by shassouneh; 03-29-2002 at 05:42 PM.
 
Old 03-29-2002, 06:07 PM   #2
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
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.
 
Old 03-29-2002, 06:27 PM   #3
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
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!
 
Old 03-29-2002, 08:04 PM   #4
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
no problem shassouneh... beer's on you
 
Old 03-29-2002, 08:15 PM   #5
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
beer?

Quote:
beer's on you
Can it be juice instead? LOL. I don't drink!
 
Old 04-03-2002, 04:20 PM   #6
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
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!
 
Old 04-04-2002, 07:52 PM   #7
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
Please post the output from the command: smbclient -L //linuxsux

Also, post your smb.conf file.

Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ORiNOCO WLAN card not working - "failed to allocate resource" hauneboo Linux - Laptop and Netbook 1 11-29-2005 09:08 AM
I'm trying to "Map network drive" Aubrey-calm Linux - Newbie 12 08-22-2005 08:10 AM
SYSERR(root): hash map "generics": missing map file /etc/mail/genericstable.db? singying304 Linux - Networking 4 02-28-2005 06:49 AM
gnomemeeting crashed, now i got "video0: Device or resource busy" B sirpelidor Linux - Hardware 0 01-10-2005 03:02 AM
How do I map/mount a network resource? comtex Red Hat 10 09-25-2003 01:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration