LinuxQuestions.org
Review your favorite Linux distribution.
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, 06: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 06:46 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-31-2012, 07:36 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,754

Rep: Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562
probably this helps: http://lists.samba.org/archive/linux...st/002120.html
 
Old 05-31-2012, 08: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, 08:26 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,754

Rep: Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562
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, 10:35 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,449

Rep: Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787
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 10:56 AM. Reason: Forgot the source and destination paths.
 
2 members found this post helpful.
Old 05-31-2012, 10:51 AM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
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 10:53 AM.
 
Old 05-31-2012, 11:04 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,754

Rep: Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562Reputation: 7562
also probably the share name is C$, not only C.
 
Old 05-31-2012, 01: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 01:08 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
Removed bad hard drive from computer, now flash drive won't mount. checkmate3001 Linux - Hardware 6 08-15-2008 12: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 09:34 PM
Try to mount USB drive: Computer can't find /dev/sda1 gameboypckt Linux - Newbie 5 02-07-2007 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 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
Open Source Consulting | Domain Registration