View previous topic :: View next topic |
Author |
Message |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Fri Mar 26, 2010 2:48 am Post subject: Samba... help?!?!? |
|
|
I'm sooooo lost. I can't figure out how to configure and set up samba!!! I emerged samba, cups, readline, pam, net-fs/samba, and net-print/hplip. I stared at this page: http://www.gentoo.org/doc/en/quick-samba-howto.xml Please help? _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 10751 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Mar 26, 2010 4:06 am Post subject: |
|
|
Gonna hafta describe some problem in detail before anyone can help ya.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Fri Mar 26, 2010 2:19 pm Post subject: |
|
|
I apoligize, yesterday, when I was posting, my mind was going bye-bye. In short, I had been working on Gentoo for most of the day and I was losing it. I guess I am mainly getting lost with how to set up the conf file. I know certain things that have to be like the workgroup but, other than that I can't make heads or tails of it. _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 10751 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Mar 26, 2010 2:54 pm Post subject: |
|
|
Well, let's start with what you want to do. Are you trying to share storage on a Linux machine or use storage on a Windows machine?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Fri Mar 26, 2010 5:07 pm Post subject: |
|
|
I have a couple other Windows machine on the network. I also have a network printer and a printer that is running off of one of the other computers. I would like to share the files for this box so the Windows machines have access but have to input a password. I am hardwired to my network. _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Fri Mar 26, 2010 5:16 pm Post subject: |
|
|
I used mostly this HOWTO at first. It did help me to get a basic understanding and a working basic samba with networked printing up and running.
The entire HOWTO is a great reference for more specialized deployments, and there are plenty of example configurations too. |
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Fri Mar 26, 2010 8:25 pm Post subject: |
|
|
Looking at the link, it seems to be very helpfull. Thankyou very much. But, the line "comment = Data" what does that do? _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Fri Mar 26, 2010 8:34 pm Post subject: |
|
|
http://www.samba.org/samba/docs/using_samba/appb.html wrote: | comment = string
Allowable values: string
Default: NULL
Sets the comment corresponding to a share. The comment appears in places such as a net view listing or through the Network Neighborhood. See also the server string configuration option. |
As in: Code: | [homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No |
Last edited by Mike Hunt on Fri Mar 26, 2010 8:43 pm; edited 1 time in total |
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Fri Mar 26, 2010 8:40 pm Post subject: |
|
|
Ok, how do I install my printer using the CUPS Web interface? _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Fri Mar 26, 2010 8:44 pm Post subject: |
|
|
The Gentoo Samba3/CUPS HOWTO you referred to previously is a great place to start.
Get your samba working first, then add the printing support, etc...
In your browser go to http://localhost:631 for the CUPS Web interface. |
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Fri Mar 26, 2010 9:16 pm Post subject: |
|
|
I cant connect to that webpage _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 10751 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Mar 26, 2010 9:29 pm Post subject: |
|
|
If you've installed cups, then it means you have not yet started cupsd. Do the following Code: | /etc/init.d/cupsd start | to get it going now, and Code: | rc-update add cupsd default | to ensure that it'll be started every time you start your system. These steps are in the guide, by the way.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Fri Mar 26, 2010 10:09 pm Post subject: |
|
|
I have a Windows network. do I need to change /etc/nsswitch.conf in any way to adjust for that? _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Fri Mar 26, 2010 10:14 pm Post subject: |
|
|
That is also in the guide:Code Listing 4.4: Editing /etc/nsswitch.conf
Code: | # nano -w /etc/nsswitch.conf
(Edit the hosts: line)
hosts: files dns wins
|
|
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Fri Mar 26, 2010 10:27 pm Post subject: |
|
|
I did see that line part of the guide and thought about saying "besides 'wins' in the 'hosts' line" in my last post. _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Fri Mar 26, 2010 10:29 pm Post subject: |
|
|
So then, I should have my network all set up. How do I browse my network and access other computers? _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Fri Mar 26, 2010 10:36 pm Post subject: |
|
|
That's in the HOWTO that I suggested: Code: | root# smbclient //<server>/<user> -U<user>%secret
OS=[UNIX] Server=[Samba-3.0.20]
smb: \> dir
. D 0 Sat Jun 21 10:58:16 2003
.. D 0 Sat Jun 21 10:54:32 2003
Documents D 0 Fri Apr 25 13:23:58 2003
DOCWORK D 0 Sat Jun 14 15:40:34 2003
OpenOffice.org D 0 Fri Apr 25 13:55:16 2003
.bashrc H 1286 Fri Apr 25 13:23:58 2003
.netscape6 DH 0 Fri Apr 25 13:55:13 2003
.mozilla DH 0 Wed Mar 5 11:50:50 2003
.kermrc H 164 Fri Apr 25 13:23:58 2003
.acrobat DH 0 Fri Apr 25 15:41:02 2003
55817 blocks of size 524288. 34725 blocks available
smb: \> q
|
Please follow the Guides and HOWTOs carefully.  |
|
Back to top |
|
 |
dE_logics Advocate


Joined: 02 Jan 2009 Posts: 2301 Location: $TERM
|
Posted: Sat Mar 27, 2010 2:56 pm Post subject: |
|
|
Man...SAMBA is IMPOSSIBLE to set up man!...I quit!...I gave it up! The Windows network is itself buggy (you gotta re---boot every time, and at time re--install if you do the smallest change), then there comes problems with the configuration...that too by hand and with the tons of options that SAMBA offers!
Instead I install Unix servers for Windows on the windows compromised machines and do file sharing though NFS.
Clean, simple, secure. _________________ My blog |
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Sat Mar 27, 2010 3:02 pm Post subject: |
|
|
Ok, I am having troubles. My workgroup is called AV1611. I have a Verizon FIOS router. I am connected via CAT5 cables directly. I cant seem to get Samba set right.
I put in the command to browse the network and got this error output:
Code: | Connection to AV1611 failed (Error NT_STATUS_BAD_NETWORK_NAME) |
what do you need to know about my network? I cant sem to get it set right. Maybe you guys can help. _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Sat Mar 27, 2010 3:35 pm Post subject: |
|
|
I gained some new information about my network. In the smb.conf file, the line "server string" do I put my DNS server name in there? Mind you, this machine is not the server for the network. The router it the server. Am I supposed to put that name instead of "Smb Server %v" _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Sat Mar 27, 2010 10:02 pm Post subject: |
|
|
i have advanced greatly in setting up of Samba so I may not need much more help. You can nix those last two posts because I have gotten past that. _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sat Mar 27, 2010 11:13 pm Post subject: |
|
|
Good. That's what I was talking about. And the big plus is that you have learned much more.  |
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Sun Mar 28, 2010 12:18 am Post subject: |
|
|
Ok, I have gotten to the point where I can be seen by the other computers in the network. The problem I am having is that I can't figure out how to actually browse the network. Also I dont have a WINS server. The server for the network its the router, a DNS server. How do I set samba for that? _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
goldfish777 Tux's lil' helper


Joined: 17 Feb 2010 Posts: 79
|
Posted: Sun Mar 28, 2010 6:09 pm Post subject: |
|
|
I may have the DNS thingy set right. I can ping the machines in my network and they can ping me. I cant figure out how to access the other computers in the network. PLEASE HELP! Im lost. _________________ Gentoo is clean, mean and fast --perfect OS for a non idiot user... with time to burn. |
|
Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 10751 Location: Somewhere over Atlanta, Georgia
|
Posted: Sun Mar 28, 2010 6:50 pm Post subject: |
|
|
Dude, when things don't work, you've got to give details.- For mounting Windows or Samba shares under Linux, from the Gentoo Samba3/CUPS HOWTO, have you tried the instructions under Code Listing 5.6: Mounting a Windows/Samba share?
- For mounting a Samba share from Windows, have you tried opening Explorer and clicking on Tools/Map Network Drive (and following normal Windows procedure from there)?
If not, then please try those things (a gentle suggestion to RTFM might be in order). If so, then tell us what happened!
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
 |
|