There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
Mount Command


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
todd95's Avatar
Junior Member with 4 posts.
 
Join Date: Jul 2003
30-Jul-2003, 12:39 AM #1
Post Mount Command
I have a red hat (9) machine and a win2K PRO machine behind a cable rounter.

I am trying to use the mount command on the linux box to share a folder on the win2K box. The command seems to hang and I get an error however when I go to the linux desktop folder views, I can see the shared files from the win2k box . Here is the command I am executing

mount -t smbfs -o username="<userid>",password=<password> //192.168.2.100/pictures /mnt/public
4401: session request to 192.168.2.100 failed (Called name not present)
4401: session request to 192 failed (Called name not present)

I am new to linux. This seems like it failed. Can anyone explain what is happening?
Al-Firdaus's Avatar
Distinguished Member with 3,377 posts.
 
Join Date: May 2003
Location: SOUTHERN MARYLAND
30-Jul-2003, 09:29 PM #2
Windows cannot read any of the standard Linux file systems without third party add-ons such as provided by the link below. WARNING! BETA and BUGGY.

http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
30-Jul-2003, 11:32 PM #3
Try using the machine name instead of the IP address. I think what is happening is that your workgroup is being searched for a machine named "192.168.2.100" -- and the search is coming up empty.

Hope this helps.
todd95's Avatar
Junior Member with 4 posts.
 
Join Date: Jul 2003
01-Aug-2003, 12:47 AM #4
I tried it with the machine name. It cannot find the w2Kcomputer and gives a "no route to host" message

It seems to work the other way. I was just curious about the error messages.
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
02-Aug-2003, 02:49 AM #5
Interesting. Typically, when I receive these sorts of error messages, the command has failed, and I can't see any Windoze shares. I'm surprised that you should receive a message such as "called name not present" (which is usually fatal) yet still see the files from the Windoze share. To get some more info about what may be happening, you might try the following immediately after your mount command completes: echo $? This will report the completion code from the mount command, which may provide some hint about what is going on. Can you ping the Win2K machine from Linux (using IP address and machine name)?

Hope this helps.
__________________
The slowest component still sits at the keyboard.
todd95's Avatar
Junior Member with 4 posts.
 
Join Date: Jul 2003
04-Aug-2003, 11:37 PM #6
thanks for your help on this.

I added the echo $? statement after the mount command and get a zero, which I presume to mean no error.

The other thing is I can ping the windoze machine via IP but cannot via machine name . I get an "unknown host".



Here my output:
mount -t smbfs -o username="<userid>",password=<password> //192.168.2.100/pictures /mnt/public
3793: session request to 192.168.2.100 failed (Called name not present)
3793: session request to 192 failed (Called name not present)
[root@localhost todd]# echo $?
0
Brlailea's Avatar
Senior Member with 918 posts.
 
Join Date: Jun 2002
Location: NC
05-Aug-2003, 02:09 AM #7
what i use for both of my mandrake machines to hook up to the 2k machines on the network is samba



Hopefully that helps you out some.

Cynthia
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:03 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.