Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio blue screen boot bsod connection crash dell desktop driver dvd email error excel excel 2003 firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor ram recovery router screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Mount Command

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
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
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 05:35 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.