LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Mounting SMB shares - Could not resolve mount point (http://www.linuxquestions.org/questions/linux-networking-3/mounting-smb-shares-could-not-resolve-mount-point-437901/)

Wynd 04-23-2006 01:09 AM

Mounting SMB shares - Could not resolve mount point
 
I am trying to mount a SMB share as a user with a fstab entry. The entry looks like this:
Code:

//server/share /mnt/website smbfs username=USER 0 0
When I try to mount it with smbmount as a user, I get:
Code:

[wynd@l0s2 ~]$ smbmount /mnt/website/
Could not resolve mount point
[wynd@l0s2 ~]$

Can anyone give me a hand?

acid_kewpie 04-23-2006 04:31 AM

your dns can't resolve that address. you presumably can't ping it by name either.

fotoguy 04-23-2006 04:42 AM

try mounting it with the ipaddress like:

//192.168.1.1/share /mnt/website smbfs username=USER 0 0

Or try adding a line to your /etc/hosts file:

192.168.1.1 servername

Linux will read the hosts file when resolving a name to an ipaddress, just use the real ipaddress of your server instead of 192.168.1.1

Wynd 04-23-2006 02:15 PM

Thanks, I will try that.


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