Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to make samba as a client working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Mon Oct 13, 2008 10:19 pm    Post subject: How to make samba as a client working Reply with quote

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
View user's profile Send private message
gsoe
Apprentice
Apprentice


Joined: 10 Dec 2006
Posts: 289
Location: Denmark

PostPosted: Mon Oct 13, 2008 10:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lucractius
n00b
n00b


Joined: 04 Jul 2005
Posts: 43
Location: Australia

PostPosted: Tue Oct 14, 2008 5:18 am    Post subject: Reply with quote

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
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Tue Oct 14, 2008 4:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum