LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-22-2009, 06:26 PM   #1
jmpetre
LQ Newbie
 
Registered: Mar 2007
Location: Michigan, USA
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
Can't connect to windows share, mount error 113 = No route to host


I've followed the man page and online guides, I type:
Code:
 mount -t smbfs -o username=jesse,password=**** //192.168.1.108/D-drive /mnt/win
I get back:
Code:
mount error 113 = No route to host
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
I can ping the IP fine. I also tried:
Code:
smbclient -L server -U jesse
(server is the actual hostname, smbclient will resolve it, but mount and ping won't)
and I get back the following
Code:
Password: 
Domain=[SERVER] OS=[Windows Server (R) 2008 Standard 6001 Service Pack 1] Server=[Windows Server (R) 2008 Standard 6.0]

	Sharename       Type      Comment
	---------       ----      -------
	ADMIN$          Disk      Remote Admin
	Brother HL-5140 Printer   Brother HL-5140
	C$              Disk      Default share
	D$              Disk      Default share
	D-drive         Disk      
	IPC$            IPC       Remote IPC
	print$          Disk      Printer Drivers
Domain=[SERVER] OS=[Windows Server (R) 2008 Standard 6001 Service Pack 1] Server=[Windows Server (R) 2008 Standard 6.0]

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

	Workgroup            Master
	---------            -------
What am I doing wrong?

I've also configured the shared printer and can successfully print to it, so it seems weird that I can open the file share...?

This is on a stock xubuntu 8.04
 
Old 06-22-2009, 06:40 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
try
Code:
mount.smbfs  //192.168.1.108/D-drive /mnt/win -o username=jesse,password=****
 
Old 06-22-2009, 07:54 PM   #3
jmpetre
LQ Newbie
 
Registered: Mar 2007
Location: Michigan, USA
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
I get the same error:
Code:
mount error 113 = No route to host
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
 
Old 06-23-2009, 05:04 PM   #4
jmpetre
LQ Newbie
 
Registered: Mar 2007
Location: Michigan, USA
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Bump. Any ideas what I can try next?
 
Old 06-23-2009, 05:23 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hmmm ... my only other idea is that maybe one of the characters in that
string "//192.168.1.108/D-drive " is weird, maybe some unicode thing
rather than a period. Really no idea, though.

You could have a look at the process execution under control of strace,
like so:
Code:
strace -o ugly_smbfs -vFf mount.smbfs  //192.168.1.108/D-drive /mnt/win -o username=jesse,password=****
and then check the ugly_smbfs file after failure.



Cheers,
Tink
 
Old 06-23-2009, 05:42 PM   #6
jmpetre
LQ Newbie
 
Registered: Mar 2007
Location: Michigan, USA
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Erg, it was my fault. The lease on the IP expired, and my router gave it a new one, .107
My crappy linksys router doesn't let me assign static IPs....very annoying.

Thanks anyway for your help!
 
Old 06-23-2009, 05:43 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Oh lol ;D


Can't you just assign them fixed IPs and have the router
handle "other" devices via DHCP?


Cheers,
Tink
 
  


Reply



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
Host:Dir error when mounting windows share DarkNemesis618 Linux - Networking 9 03-26-2006 02:24 AM
ftp: connect: No route to host agki Linux - Networking 2 03-09-2005 04:25 PM
squid (113)no route to host calibra Linux - Networking 0 11-25-2004 03:25 AM
ftp connect: no route to host dominant Linux - Networking 4 09-07-2004 04:29 AM
(113) No route to host bishal Linux - Software 1 03-22-2004 03:04 PM

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

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