Jump to content

alaa

Members
  • Posts

    30
  • Joined

  • Last visited

Posts posted by alaa

  1. if you recompile the kernel srpm you get the same kernel.

    so you could download the srpm and look at its spec file to find out how and what Mandrake did.

     

    most of it is also documented in the RPM changelog.

     

    and BTW the kernel config was usually found under /boot/config AFAIK using that to configure your kernel would produce a clone of mandrake kernel.

     

    cheers,

    Alaa

  2. well if you're sure this is due to pan then it is probably a bug

    you can try to use a more recent version of pan (I think texstar provides pan rpms)

    and see if the problem presists (backup you .pan directory though, pan trashed my configs after an upgrade before).

     

    you can try posting to the pan users mailing list http://mail.freesoftware.fsf.org/mailman/l...tinfo/pan-users for help

     

    and finaly you can try other newsclients.

     

    cheers,

    Alaa

  3. you can apply a patch by running the command

    patch orignial patch

     

    where orinignal is the filename of the file you want to patch and patch is the file name of the patch you want to apply

     

    in your case it'll probably be

    patch  radeon_driver.c  radeon_driver.c.patch

     

    or something similar

    cheers,

    Alaa

  4. if you're not going to allow anonymous ftp consider using ssh with the scponly shell instead.

     

    just install scponly using urpmi

    create a new user and make scponly his/her/its shell

     

    put the data you want to serve in the new users home directory

     

    now you can use ssh file transfer tools like gftp to connect to the server and download/upload files.

     

    cheers,

    Alaa

  5. just use split, its part of the GNU utils and comes standard with all GNU/Linux distros

     

    split -b 1400k foo foo

    will split foo into a series of file <=1400 KB called fooaa, fooab, fooac etc.

    split -b 700m foo foo

    will create 700MB files

     

    to joing the files just concatenate them with cat

     

    cat foo?? > foo

     

    or if you don't want to copy all the files to one place and then join them you can use

    cat /mnt/cdrom/fooaa >> foo

    swap media then run

    cat /mnt/cdrom/fooab >> foo

     

    etc.

     

    cheers,

    Alaa

  6. IMO it is much harder to create an automated exploit or a virus for GNU/Linux

    thats the important thing about GNU/Linux security.

     

    some crackers will always be able to compromise some systems, but it'll not spread like fire.

     

    it is also relativly easier to limit the damage of such exploits with GNU/Linux, even for an unexperienced user.

    a cracker may get normal user access but will find it hard to get root access etc.

     

    cheers,

    Alaa

  7. I upgraded from 9.1 to 9.2 with texstar gnome 2.4 rpms installed.

    only trouble was I had to manualy upgrade or remove some devel packages.

    I just removed all devel packages and the problem went away

    urpmi --auto-select did the rest.

     

    cheers,

    Alaa

  8. compiles with no problems here.

    at first I though it was problem with the -pipe CFLAG, tested it here and it works fine.

     

    anyway you can try without -pipe since man gcc claims it sometimes confuses assemblers.

     

    cheers,

    Alaa

  9. what wrong with Mandrake??

    juest remove all packages you don't need.

    keep urpmi.

    if you prefer gui keep XFree86 and a lightweight window manager (fluxbox, pekwm, something like that) and the drakxtools.

     

    make sure only services you need are running

     

    update your machine using

    urpmi.update update_source
    urpmi --update --autoselect

     

    I have MDK 9.1 running on an old Toshiba laptop with only 32 MB of ram, I use it as a desktop and it works fine as long as I'm only running lightweight packages that I know I need.

     

    cheers,

    Alaa

  10. you can have the two configs in one file

    just create two seperate monitor sections and give them different identifiers

     

    then create two seperate server layout sections one using the monitor/monitors and the other using the tvout

     

    then you can choose between them by running

     

    X -layout tv_layout
    X -layout normal_layout

     

    replacing tv_layout and normal_layout with the server layout identifiers.

     

    if you use xinit or startx then you run them this way

     

    xinit -- -layout tv_layout
    startx -- -layout normal_layout

     

    and yes you can start mutliple KDE and Gnome and whatever sessions and switch between them (and yes they can be run by the same user).

     

    if the question however is to have them both visible at the same time, then no it can't be done without patching XFree.

     

    cheers,

    Alaa

  11. BTW you can install a kernel using RPMDrake and urpmi, urpmi knows not to upgrade kernels but to install them side by side (check the /etc.urpmiinst.list file), and it does update lilo configs.

    you should see extra entries in your lilo menu after you install a new kernel.

     

    as for the marcello kernel, this is the stock kernel without any extra patches by mandrake.

     

    I would recommend you stick to the plain kernel provided by Mandrake (but you'd better upgrade the kernel).

     

    as for /usr/src I think you're trying to find the kernel sources which is installed by the package kernel-source

     

    so make sure you have an update source defined, connect to the internet and run

    urpmi kernel-2.4.22.21mdk

    reboot your computer (2.4.22-21mdk should now be your default kernel)

     

    run

    urpmi kernel-source

     

    and you'll find the kernel sources in /usr/src/linux

     

    cheers,

    Alaa

  12. slocate error is not related to your dvd blues, it just did not get the chance to update your database.

     

    by default Mandrake have daily and weekly locate cron jobs, but they only work late at night.

    if you don't normaly leave your PC running all the time you might want to install anacron which relies on frequency instead of fixed times.

     

    cheers,

    Alaa

  13. then you need to import PLF's public key.

     

    until 9.1 it was sufficient to run this command as root

    lynx -source http://plf.zarb.org/plf.asc | gpg --import

     

    but I think starting from 9.2 you'll need

    lynx -source http://plf.zarb.org/plf.asc > plf.asc
    
    rpm --import plf.asc

     

    then you'll need to associate the key with the plf source.

    you can do that through the Software Sources Manager (I have no idea how to do it from the command line).

     

    after that your PLF packages should install without signature errors.

     

    cheers,

    Alaa

  14. BTW you can use

    netstat -t

     

    to show tcp connections without having to grep

     

    netstat -p

    also lists the programs responsible for these connections

     

    and

    netstat -n

    is much faster since it lists IPs numericaly without trying to reverse DNS them

     

    netstat -c

    will let nestat run forever and just refresh the display every few seconds.

     

    I usualy want to keep a count of the number of open connections in front of me so I run

     

    watch "netstat -tn | wc -l"

     

    cheers,

    Alaa

×
×
  • Create New...