LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-31-2012, 07:45 AM   #1
pixiandreas
LQ Newbie
 
Registered: May 2012
Posts: 7

Rep: Reputation: Disabled
mount drive on windows 98 computer


Hello.
I ahve a problem with mount.

When i try to mount a drive on a windows 95
computer a get this error:
Code:
/unimat# mount -t smbfs //UNIMAT_SU/C /mnt/bts/ -o  username=xxx,password=xxx,ip=194.1.41.95
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I also get the same error when i try with cifs.

The host is NOT down. i can ping and connect with VNC.
and when i run:

Code:
/unimat# smbclient -L UNIMAT_SU
Enter root's password: 

	Sharename       Type      Comment
	---------       ----      -------
	TO_BTS          Disk      
	FROM_BTS        Disk      
	C               Disk      
	IPC$            IPC       Kommunikation mellan fjärranslutna processer

	Server               Comment
	---------            -------

	Workgroup            Master

I can mount the drive from a old slackware (2.4.36) computer with the same command with no errors.


On the new computer (ubuntu 10.04) i have installed smbfs and samba.

I dont know what i doing wrong , does anybody have some good ideas ??

Thanks Andreas H

Last edited by pixiandreas; 05-31-2012 at 07:46 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-31-2012, 08:36 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
probably this helps: http://lists.samba.org/archive/linux...st/002120.html
 
Old 05-31-2012, 09:12 AM   #3
pixiandreas
LQ Newbie
 
Registered: May 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
I tyr that but it give me the same error.
Code:
/unimat# mount -t smbfs //UNIMAT_SU/C /mnt/bts/ -v -o username=xxxx,severn=UNIMAT_SU,password=xxx,ip=194.1.41.95
ip address 194.1.41.95 override specified
ip address specified explicitly

mount.cifs kernel mount options: unc=//UNIMAT_SU\C,ver=1,rw,username=xxxx,severn=UNIMAT_SU,ip=194.1.41.95,pass=********
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Any more ideas ??

The most confusing is the "Host is down" message ??
 
Old 05-31-2012, 09:26 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
the host down message means probably the port is not active. As it was stated on the link, the port number depends on the netbios name.
You can check the ports with nmap, and maybe smbtree will give you some info. Also there is an additional option to try: sec=lanman. See:
http://pserver.samba.org/samba/ftp/c...ient-guide.pdf
 
Old 05-31-2012, 11:35 AM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,429

Rep: Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348Reputation: 1348
Try this:
Code:
mount -t cifs -o username=xxxx,password=xxx,servern=UNIMAT_SU,sec=lanman //UNIMAT_SU/C /mnt/bts/
When mounting Win9x shares using cifs (smbfs is now deprecated), you need to specify that you want to use the LANMAN hash for authentication. The server name must be capitalised. Also note that the option is servern (not severn as in your posts). You may also need to specify the IP address if the NETBIOS server name cannot be mapped to the IP address.

Last edited by allend; 05-31-2012 at 11:56 AM. Reason: Forgot the source and destination paths.
 
2 members found this post helpful.
Old 05-31-2012, 11:51 AM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Have you tried using the IP directly when referencing the network share? eg:
Code:
mount -t cifs //194.1.41.95/C /mnt/bts/ -v -o username=xxxx,password=xxx

Last edited by suicidaleggroll; 05-31-2012 at 11:53 AM.
 
Old 05-31-2012, 12:04 PM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
also probably the share name is C$, not only C.
 
Old 05-31-2012, 02:34 PM   #8
pixiandreas
LQ Newbie
 
Registered: May 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks you everyone :-)

allend ide work wonderfull :-)

Thanks again guys, Best forum for Linux question on internet :-)

Time for a celebrating beer :-)
 
  


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
how do i share a drive on my linux computer to install windows on another computer? realflow100 Linux - Networking 6 06-01-2012 02:08 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 08:29 PM
Removed bad hard drive from computer, now flash drive won't mount. checkmate3001 Linux - Hardware 6 08-15-2008 01:03 AM
Set up rsync to mirror mount on Windows Server to mount point on 2nd internal drive MoMule Linux - Server 4 04-13-2007 10:34 PM
Try to mount USB drive: Computer can't find /dev/sda1 gameboypckt Linux - Newbie 5 02-07-2007 10:05 AM


All times are GMT -5. The time now is 10:23 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration