On Friday 27 August 2004 00:59, Peter Davis wrote:
> I thought I sent this message this morning, but it doesn't seem to have
> shown up.
> I have a home network with two Windows XP systems and one Mandrake
> 10.0.  (Wrong proportions, I know.)  The Mandrake system is new, and I'm
> trying to figure out how I can get file sharing to work across systems.
> I can't seem to see a WinXP system from Mandrake, or vice versa.  A
> couple of observations:
>
> 1) Samba doesn't seem to start automatically on boot.  I have to start
> it by hand.  Can I make it start automatically?

MandrakeControlCentre>System>Services

otherwise known as drakxservices, or if you want to learn the command line.
chkconfig smb on

>
> 2) Likewise for ftp.
Same again, but personally I prefer to use ssh.
>
> 3) My HOST env var is set to my system, but when I look at the DHCP
> client table on my router, there's no name for the Mandrake box. (The
> WinXP boxes are named correctly.)  So this suggests the Mandrake box is
> not declaring its name correctly somehow.  Any clues on that?

The line DHCP_HOSTNAME= in your network config file tells the dhcp client what 
hostname to report. The config files are 
at /etc/sysconfig/network-scripts/ifcfg-eth0  etc.  But really it is not 
important for the router to need to know the hostname.

>
> 4) I inadvertently specified an incorrect domain name when I installed
> the system.  I think I've cleared that in the network settings, but I'm
> not sure. 
The Linux hostname is defined in /etc/sysconfig/network with the line
HOSTNAME=hostname.domainname

> Somehow, the two WinXP machines are in different workgroups, 
> and there's no workgroup for the Mandrake box.
The Netbios hostname and Netbios group name are different to the linux 
hostname.domain.
The Samba server will default the Netbios hostname to be the same as the linux 
hostname, and the workgroup will default to MDKGROUP  If you want to change 
that edit /etc/samba.smb.conf
This file is full of useful configuration examples and is well worth a read.

Also as I have pointed out already today to someone else. If you have a 
firewall active on the Linux box it will block ALL traffic from the local 
network to the Linux device. Ports 137,138, and 139 have to be opened for 
Samba to the local network. Take a look at /etc/shorewall/rules
The examples there show you how to open ports. Then restart shorewall.

(BTW: There are GUIs for doing all this stuff, but its quicker to explain by 
editing the text config files. )

derek

-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to