LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SMB connection failed (https://www.linuxquestions.org/questions/linux-networking-3/smb-connection-failed-672577/)

babag 09-26-2008 03:01 PM

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

perezyanez 09-26-2008 04:25 PM

Tell me the error message
 
The line looks fine. Wihch error are you getting?

babag 09-26-2008 06:32 PM

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


All times are GMT -5. The time now is 09:53 PM.