LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-26-2008, 03:01 PM   #1
babag
Member
 
Registered: Aug 2003
Posts: 419

Rep: Reputation: 31
SMB connection failed


getting error in topic when trying to script a samba connection.

have been using smb4k to mount several mandriva 2007.1 boxes on
another mandriva 2007.1 box but now want to script the process
rather than using smb4k bookmarks.

using smb4k works fine but i can't seem to find the line that
will work on cli. tried:
Code:
sudo smbmount //remote_box_name_or_ip/remote_acct $HOME/mnt/folder -o username=remote_acct,password=remote_acct_password,rw
have i missed something?
is there a config file i need to add something to somewhere?
what/where?
how come smb4k has no problem mounting the remote?

thanks,
BabaG
 
Old 09-26-2008, 04:25 PM   #2
perezyanez
LQ Newbie
 
Registered: Sep 2008
Posts: 19

Rep: Reputation: 0
Tell me the error message

The line looks fine. Wihch error are you getting?
 
Old 09-26-2008, 06:32 PM   #3
babag
Member
 
Registered: Aug 2003
Posts: 419

Original Poster
Rep: Reputation: 31
thanks for the help perezyanez. just found the problem.
hosts file needed to be updated. everything's working fine
now. still curious as to why the smb4k app would've
worked when cli didn't.

thanks again,
BabaG

Last edited by babag; 09-26-2008 at 06:34 PM.
 
  


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
SMB Connection Failed allelopath Linux - Networking 3 09-03-2004 04:15 PM
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:13 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