View previous topic :: View next topic |
Author |
Message |
rado3105 Apprentice

Joined: 14 Jul 2007 Posts: 293
|
Posted: Mon Oct 13, 2008 10:19 pm Post subject: How to make samba as a client working |
|
|
I have compiled in kernel CIFS support as a module.
I have installed samba, mount-cifs.
I created mount point /media/server
I want to connect to samba server using gnome - CONNECT TO SERVER, or I was trying: mount -t cifs /192.168.1.1 /media/server, or smbmount //192.168.76.4 /media/server
But anything doesnt work.
I also made modprobe cifs |
|
Back to top |
|
 |
gsoe Apprentice

Joined: 10 Dec 2006 Posts: 289 Location: Denmark
|
Posted: Mon Oct 13, 2008 10:55 pm Post subject: |
|
|
Quote: | mount -t cifs /192.168.1.1 /media/server |
There are two errors in that: First you have to prepend the server address with "//" and second you have to append the ressource exported to the server address, you can't just mount the server as such. Say you have a share (directory) called "dirname", the command will be Code: | mount -t cifs //192.168.1.1/dirname /media/server | It should work then. |
|
Back to top |
|
 |
Lucractius n00b


Joined: 04 Jul 2005 Posts: 43 Location: Australia
|
Posted: Tue Oct 14, 2008 5:18 am Post subject: |
|
|
also keep in mind the security permissions involved may complicate things. _________________ The Tech Dragon's Hax : My blog, from the IT & Web Trenches.
NanoSyntax Project : Nano Syntax Highlighting for all! - Status: Alpha / Beta transition stage |
|
Back to top |
|
 |
cwr Veteran

Joined: 17 Dec 2005 Posts: 1969
|
Posted: Tue Oct 14, 2008 4:37 pm Post subject: |
|
|
The first check is whether or not the server is exporting the directory. I _think_
the server configuration file is smbd.conf, somewhere under /etc.
You can also use one of the samba utilities to check from a client what a server is
exporting; see the man pages, because I can't recall the exact name.
Will |
|
Back to top |
|
 |
|