Easy Linux Q's

Techwhore

Golden Member
Aug 2, 2000
1,248
0
0
Running Mandrake 8.1...

Samba:

I have 4 comps:

Redhat 7.1
W2k Pro
Win98
Mandrake 8.1

File sharing and browsing is good on the first three, just added the mandrake box and can only see the RH and 98 machines from mandrake. Consequently i can only see the RH and 98 machines from my 2k box as well. What do i need to do to allow the 2k and mandrake to see one another? I've looked through the smb.conf but it's loaded with samples and not very informative to what i need.

Mount Points:

In the mandrake box, i have three hdd's: 1.5 gig (hde) for boot/swap/etc.. , 2 gig (sda) for temp stuff, and 30 gig (hdg) for mass storage. All the drives are formatted / partitioned in Ext2. When i attempt to mount hdg or sda my mount points are limited to a predefined list of directories (/usr, /var, /mnt/windows, /lib, etc). Since there's already files and folders in /usr and /var i want to be able to mount these disks elsewhere, (i.e. /storage, /scsi). I'm using the drakeconf GUI setup to accomplish this, but i'm sure command line would be easier and quicker so if anyone can tell me where i need to go and what to edit i'd be grateful.

Thanks in advance.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
"mkdir /stuff && mount /dev/hdg /stuff"
Then everytime you want to mount it in the future "mount /dev/hdg /stuff"

When in 2k can you go to the run command and try \\mandrake8.1 (replace mandrake8.1 with the name of the machine. Also check to make sure nmbd and smbd are running and check the log files.
 

Techwhore

Golden Member
Aug 2, 2000
1,248
0
0
K, i got the drives mounted in the right place, thanks.

I kind of fixed the smb prob. I looked through the smb.conf again and notice the workgroup wasn't set right and no netbios name was specified (it said it defaulted to hostname which is "localhost"). Two things, how do i change my hostname so it doesn't read localhost, and how do i create accounts for samba use? I can see the machine over the network, but can't get past authentication.

Thanks again

One more thing, how do i share a folder? chmod?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I think you need to read some of the docs at Samba.org, they'll answer most, if not all, of your questions.