LinuxQuestions.org
Visit Jeremy's Blog.
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 09-03-2004, 03:48 PM   #1
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539

Rep: Reputation: 30
SMB Connection Failed


I am unable to connect to a shared drive on an NT machine from my linux box (RH9.0).
I see this error mentioned numerous times in this fourm, but I didn't find any solutions to my problem.

With both these commands:

smbmount //NTmachinename/sharedFolder /mnt/NTshare -o username=myusername,password=*****

smbclient -U myusername //NTmachinename/sharedFolder <password>

i get the error:
Connection to NTmachinename failed.

I know the user name and password are good because I have mapped a network drive on another windows machine to the NT shared drive.

Any ideas of what to look for?
Could the filewall on my linux box be a problem?
 
Old 09-03-2004, 03:53 PM   #2
PBSchmidt
Member
 
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
Hi allelopath,

firewall is one thing, the other is the crappy name resolution by broadcasts (if you don't have a DNS Server). Try using the NT boxes IP instead of the name, or add a line to /etc/hosts
your.nt.boxes.ip NTmachinename
that could do the trick.

HTH, Peter
 
Old 09-03-2004, 04:08 PM   #3
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539

Original Poster
Rep: Reputation: 30
Thanks, Peter, but i just realized my problem...have to VPN in first.
duh
 
Old 09-03-2004, 04:15 PM   #4
PBSchmidt
Member
 
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
You're welcome.
 
  


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
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM
SMB connection failed sichen Linux - Networking 1 08-13-2004 08:51 PM
SMB connection failed Geefthegreat Linux - Networking 3 03-31-2004 07:04 AM
SMB connection failed NehuenEloy Linux - Networking 10 02-03-2004 03:01 PM
Creating a SSL connection from smb clients to a smb server scottpioso General 0 11-17-2003 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:42 PM.

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