LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-03-2007, 03:36 AM   #1
tajamari
Member
 
Registered: Jul 2007
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252

Rep: Reputation: 30
samba mount error on smbfs and cifs


Hi,

I encountered this error when mounting a samba share across two different public networks.

SMBFS ERROR
mount -t smbfs -o username=myuser,password=mypass //203.87.XXX.XXX/myfiles /home/data/myfiles
381: tree connect failed: Call returned zero bytes (EOF)
SMB connection failed

CIFS ERROR
mount -t smbfs -o username=myuser,password=mypass //203.87.XXX.XXX/myfiles /home/data/myfiles
mount error 112 = Host is down
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

These errors are encountered when my client is from other networks say 65.216.XXX.XXX, 202.12.XXX.XXX, but if from same 203.87.XXX.XXX segment, it can be mounted. Firewalls were flushed on both servers when connecting to isolate the firewall problem.

Any ideas guys?


Thanks,
Taja Mari
 
Old 08-03-2007, 05:24 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Are you using samba across the internet, or is the traffic inside a vpn tunnel?

For browsing to work across networks, I think that you will need to run wins on the gateway and use the "remote announce" option. You may want to read the chapter on browsing in the samba3-howto.
 
Old 08-06-2007, 09:30 PM   #3
tajamari
Member
 
Registered: Jul 2007
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jschiwal
Are you using samba across the internet, or is the traffic inside a vpn tunnel?

For browsing to work across networks, I think that you will need to run wins on the gateway and use the "remote announce" option. You may want to read the chapter on browsing in the samba3-howto.

Yes. am using samba across the networks. actually the client machine is in US node, while the server is in ASIA. Thanks for the feedback and suggestions
 
  


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
Cifs "mount error 5 = Input/output error" but smbfs works! humbletech99 Linux - Networking 16 03-16-2014 05:54 PM
Cifs "mount error 13 = Permission denied" CIFS SUCKS humbletech99 Linux - Networking 40 10-31-2012 08:50 AM
cifs samba mount as group saavik Linux - Server 1 05-29-2007 04:54 AM
mount smbfs vs cifs Zurvan Linux - Networking 2 12-29-2006 02:46 PM
cifs read error when accessing a samba mount mathfeel Linux - Networking 0 12-09-2006 02:18 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration