LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-18-2002, 10:57 PM   #1
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Rep: Reputation: 30
mount a networked drive?


3 cheers and a monkey for me I finally got samba to network into my win2k pc. now i was wonder how do i get it to mount to file:/mp3 i tried this smbmnt //vash/harry file:/mp3 but it didnt work i says cant find real mount path.
 
Old 04-19-2002, 12:05 AM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
smbmnt //vash/harry file:/mp3

"file:"? I've never seen that in the syntax for the smbmnt/smbmount commands. What is the exact error that you get when you issue the above command? Is /mp3 just the directory on the Linux box onto which you want to mount //vash/harry?
 
Old 04-19-2002, 01:02 AM   #3
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by DMR
smbmnt //vash/harry file:/mp3

"file:"? I've never seen that in the syntax for the smbmnt/smbmount commands. What is the exact error that you get when you issue the above command? Is /mp3 just the directory on the Linux box onto which you want to mount //vash/harry?
sorry about that ya file:/ wasnt the right thing to use but this is the error i got
root@megaplayboy:~# smbmount //vash/harry /mp3
Password:
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255

//vash is the win2k pc and /harry is the folder. and /mp3 is the fold on the linux box that i have. I just resently installed the gcc3.0 doing ./configure, make, make install then reset. So i hope that i loaded the wrong gcc .
 
Old 04-19-2002, 05:16 AM   #4
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
Looks like your kernel does not support smbfs.
You can enable it by make menuconfig and setting
the option under file systems. Then recompile the kernel.
or load the module probably smbfs.o if you have it.
 
Old 04-19-2002, 07:01 AM   #5
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Lazarus
Looks like your kernel does not support smbfs.
You can enable it by make menuconfig and setting
the option under file systems. Then recompile the kernel.
or load the module probably smbfs.o if you have it.
I am sorry but how would i do that?
 
Old 04-19-2002, 11:21 AM   #6
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
You need the kernel source in /usr/src/linux
then in /usr/src/linux
enter make menuconfig
go to file systems
then into network file systems
then * or M for module in smb file system

then recopile the kernel here is the script I use

#!/bin/sh
#
if [ -n "$1" ]
then
target=/boot/$1
fi
echo target set to $target
sleep 2
stopwat start
cd /usr/include
rm -rf linux
rm -rf asm
ln -s /usr/src/linux/include/linux linux
ln -s /usr/src/linux/include/asm-i386 asm
ln -s /usr/src/linux/include/scsi scsi
cd /usr/src/linux
make dep
make clean
make bzImage
cp /usr/src/linux/arch/i386/boot/bzImage $target
make modules
make modules_install
depmod -a

the script is called rebuild_kernel

If you type
rebuild_kernel it will put your kernel in /boot/vmlinuz
or if you type rebuild_kernel mykernel
it puts it in /boot/mykernel

You should be able to modify this script to make one of your own if you dont like it.
You need a working compiler gcc on your system. Virtualy all distributions have this if you want it.
Kernel source can be downloaded from ftp.kernel.org.
After rebuilding your kernel you will have to run lilo again.
Hope all this puts you on the right path.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can Linux turn my ancient PC into a networked NTFS drive? NginUS Linux - Newbie 4 03-26-2005 04:28 AM
nfs mount - shared directories on a networked machine kh_ibrahim Linux - Software 2 08-16-2004 01:05 AM
Run Debian From Remote/Networked Hard Drive? firefly2442 Debian 1 07-23-2004 04:35 PM
Networked drive in DOSemu empty?? soulfood76 Linux - Networking 0 03-10-2004 01:25 PM
Do I use samba to mount networked drives? jondowd Linux - Networking 5 06-22-2001 06:56 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration