Configuring Mandrake Linux

I run Mandrake 6.0 on two Linux boxes at home, and one at Queen's. I've tried to change as little as possible, so I can install a 'vanilla' system whenever the Kingston Linux Users' Group adopts a new distribution. However, I found there were certain items I really had to install by hand, that weren't part of the standard Mandrake distribution.

Installation Options

Samba

Home and work both involve LANs with Windows NT box(es), so needed to install SAMBA, which I didn't realize at first. It's labeled "Windows Connectivity" or something like that in the package selection. Samba was very difficult to figure out. Eventually advice from alt.os.linux.mandrake said to add the following to /etc/inetd.conf:
netbios-ssn stream tcp nowait root /usr/local/samba/bin/smbd -d1 -l/var/log/samba/log -s/usr/local/samba/lib/smb.conf
netbios-ns dgram udp wait root /usr/local/samba/bin/nmbd nmbd
then restart inetd via killall -HUP inetd At this point smbclient -L myHostName worked.

Contrary to the documentation, the standard Mandrake installation expects the SMB password file in /etc/smbpasswd, not /usr/local/samba/private/smbpasswd. You have two choices:

  1. Make /etc/smbpasswd a symbolic link to /usr/local/samba/private/smbpasswd; this is what I did, since I liked the extra file security from putting the actual file here.
  2. Place the line
    smb passwd file = /usr/local/samba/private/smbpasswd
    in the smb.conf file. You also should edit /etc/smb.conf to add
    workgroup = something
    netbios name = something
    
    to the [globals] section.

    I also found it useful to install LinNeighbourhood, a front-end for Samba that shows the network neighbourhood graphically.

    I found references to the following documentation via the Mandrake newsgroup:

    Sound Blaster Live Card

    One machine has a Sound Blaster Live card, which isn't supported in the standard Mandrake 6.0 installation. I downloaded the source distribution for the linux drivers from opensource.creative.com, then tried to follow the directions from Martin White. However, it seems that soundcore.o might be statically linked into the 2.2.9-19mdk kernel, so his suggested lines
    pre-install emu10k1 insmod soundcore
    post-remove emu10k1 rmmod soundcore
    
    lead do errors on booting, about soundcore already being loaded. So, I wound up doing the following variant of his instructions:

    Reducing Total Cost of Ownership

    The big TCO (Total Cost of Ownership) issue is: minimize work when you install a new OS version. I keep all installed software under /home/install; /home is a separate partition, so doesn't get wiped when I install a new Linux version. This means I prefer downloaded executables go to /home/install/bin so they don't get lost if /usr/local/bin gets wiped out.

    With many UNIX tools, you can configure to put things in /home/install by

    Things I've Downloaded

    This is a list of things I've downloaded, and where they are from, so I can find them again.

    Things I'm Considering