LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mount drive on windows 98 computer (https://www.linuxquestions.org/questions/linux-newbie-8/mount-drive-on-windows-98-computer-947748/)

pixiandreas 05-31-2012 06:45 AM

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

pan64 05-31-2012 07:36 AM

probably this helps: http://lists.samba.org/archive/linux...st/002120.html

pixiandreas 05-31-2012 08:12 AM

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 ??

pan64 05-31-2012 08:26 AM

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

allend 05-31-2012 10:35 AM

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.

suicidaleggroll 05-31-2012 10:51 AM

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

pan64 05-31-2012 11:04 AM

also probably the share name is C$, not only C.

pixiandreas 05-31-2012 01:34 PM

Thanks you everyone :-)

allend ide work wonderfull :-)

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

Time for a celebrating beer :-)


All times are GMT -5. The time now is 09:04 AM.