LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Mounting cifs qns (https://www.linuxquestions.org/questions/suse-opensuse-60/mounting-cifs-qns-647370/)

khaos83 06-06-2008 03:44 AM

Mounting cifs qns
 
smbfs is replaced by cifs and I have one problem with it.

With smbfs, I will
e.g.

Code:

mount -t smbfs -o username=hero,password=zzz //server/folder /mymount
With cifs,
e.g.

Code:

mount -t cifs -o username=hero,password=zzz //192.168.1.1/folder /mymount
Is it possible to use //server instead of using IP address?

I am able to smbclient it. But cifs does not take in //server, only IP.

Oh ya, I am using openSUSE 10.3

smus 06-06-2008 05:16 AM

which error are you getting? may be you will add this IP to the host file directly.

khaos83 06-08-2008 09:47 PM

Code:

mount error: could not find target server. TCP name server/folder not found

No ip address specified and hostname not found

Adding to a host file maybe a good option...
But my fileserver is using DHCP. That be a problem right?


All times are GMT -5. The time now is 12:54 AM.