Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by pindakoe

  1. Morning Bertrand, I find this a good initiative. The website looks good as well (though I did not check the videos). Don't think many people realise the transparancy that internet communication entails.I still find it surprising that we hand over whatever details to the unknown simply because it goes into a computer (which then somehow makes it trustworthy). Having said that I must admit that I also do not encrypt my email as I still haven't quite been able to get encryption fully up and running on my own system (Mandriva Linux; using Claws as mail user agent with the PGP/Mime plugin to handle the communication with GPG). Lack of others who write/accept encrypted always caused this to be one of the projects that never made it to the top of the list. I do sign my email though -- only to find out that some corporate incoming email scanners get upset by that. Will dig again into it (as it can't be that hard) and report back once I cracked it.


    One other comment though -- your tutorial makes also clear to users that the internet knows little privacy, yet you ask posters to use their real name and not their alias. Personally I never use my own name, but always one of my aliases. I know that I will always be traceable by IP to within a few miles of my home anyway and that anybody who can convince my ISP (i.e. ideally only with backing of the law) can convert the IP into my name. That gives me enough visibility me thinks...


    So I will go back to my email system and once and for all sort out encryption in Claws and can then may be contribute that to your site.

  2. Mandi is only needed for the interactive firewall AFAIK -- I haven't got it runnign (nor installed), but do have shorewall running...

    ACPID does something for ACPI, but I have been running without it for years (but my PC is 2004 vintage and is not a big user of ACPI -- suspend/hibernate never worked so may be that is why I can get away without it)

    CUPS, only if you print

  3. Suggest to simply start with xfdrake. It will pull in packages as needed and allow you to select card, monitor etc. In case this does not work manual repairs are need, first establish what sort of Nvidia card do you have; nvidia has three different drivers for different groups of cards (very old, old and current cards). The package summary will explain what is for what (urpmq --summary -a x11-driver-video-nvidia). You may know, or can spot this during booting. Also believe that the command 'lspci' will help you further. Then check that you have all the necessary software installed: X11-driver for nvidia, nvidia kernel module, DKMS (kernel module management system) and kernel source. The key is to ensure the following four things:


    • Your x11-driver-nvidia package should be suitable for the card you have (description lists that). Note the version number, here 173.14
    • The dkms-nvidia package also should be version 173.14
    • The kernel module, nvidia...-kernel should be version 173.14 AND should include the kernel version of the current kernel (uname -a)
    • You have the kernel sources for the current kernel version installed

    Below is what I have on my 2010.2 installation:


    dkms-minimal-2.0.19-20mdv2010.1 installed
    dkms-2.0.19-20mdv2010.1 installed

    Use rpm -qa | grep 'nvidia\|dkms\|kernel' to see what you got.


    In addition you will require a dozen or so packages for software development (gcc, make, multiarch-utils, some other -devel software). Urpmi selects this when you select the kernel-devel sources. During install some software will be prepared and after reboot system should load the new nvidia kernel module and later other driver files.


    Usually either the version numbers mismatch somewhere or the driver rebuil fails. Can you check your system with this info and see if that helps enough?

  4. I have since years been rsnapshot to maintain a (limited) set of previous versions of /home and and selected parts of / and below. Since a year this is to a NAS in my own local LAN, all to full satisfaction. I would like to add a second level of protection by starting offsite backup. I am not hopefull that I will maintain the discipline to do this manually be external harddisk, so am looking to online possibilities. I have browsed around and seen many tools and storage offers, but they all seem to fall short on what I believe my requirements to be:

    • Data gets encrypted before leaving my HD
    • Runs as root so that can access whole file-system (large parts will be excluded, but I do for instance backup /root and other parts requiring root access)
    • Can be run from cron, i.e. command-line. A UI to get started and define backup sets has limited to no value for me as the likely client will be a headless NAS (running Debian).
    • Ability to define (large) in/excludes with globbing like rsync
    • Software available for PowerPC (my NAS runs on this ancient but frugal hardware)
    • Full / incremental backups, preferably using rsync like approach
    • Scalable; at moment I probably need 20 Gb, but this number continues to grow

    I am interested in your experiences on these requirements (is there something that I am overlooking), recommendations for software and experiences with storage providers. Realise that some software means one storage provider only (or vice-versa) and have no preference for all-in-one packages (spideroak, crashplan) vs free things (duplicity). Free would be nice, but pay-as-you go is OK as well, provided we talk consumer rates.

  5. I have collected a bunch of MP3 and put them on my NAS (Bubba -- running Debian). Below is output of /proc/mounts for the share in question:


    //bubba/home /home/pindakoe/bubba cifs rw,mand,relatime,unc=\\bubba\home,username=pindakoe,uid=1001,forceuid,gid=100,forcegid,addr=,file_mode=0755,dir_mode=0755,serverino,rsize=16384,wsize=57344 0 0
    > ls -ld bubba/
    drwxr-xr-x 1 pindakoe users 0 2010-07-05 18:57 bubba//


    The UID/GID options are passed to ensure that UID/GID match between my Linux box and the NAS.


    I have some sort of weird access issue if I try to get the ID3 tag info when files are on the NAS: mp3info complains about a missing ID3 tag and corrupt info at end of file; Thunar only shows an empty tag. Alsaplayer can read the file, but refuses to play it ('no stream; the module for mp3s cannot open the file). Audacious opens the file and plays it. I can copy the files from the NAS to my HD and mp3info, Thunar, alsaplayer work OK; the file is complete (including tags) and plays normally. Anybody who has got a clue where this issue comes from?

  6. I second that Ixthusdan.The key reason for me to check this board (and Mandrivaclub.nl) daily and ignore the official Mandriva board is that the latter one has low signal to noise ratio (except for AdamW's post at the time as the one ray of light).

  7. Not being a KDE user I am not overly enthusiastic about this, but I understand that a smaller team means have to focus on something instead of trying to be everything for all people. More importantly: is what isadora already said -- I regard MCC as neat one-stop-shopping for (maybe beginning) sysadmin. A clear advantage over distro's which rely on the DE to provide this. I have no real experience with other distro's (apart from Debian on a NAS), but have tried Fedora a few times and lacked an MCC replacement to get started.

  8. Is there any meaning in the fact that the two images have different aspect ratio's:


    2010.1 568 x 360 px

    2010.0 626 × 423 px


    If these shots cover the whole screen then it suggests that Spring is addressing your monitor with different aspect ratio. As the (no doubt) LCD panel is for a given aspect ratio (determined by physics) it tries to recalc. This never works without artifacts (staircase effect). But the difference in file dimensions may have other causes...

  9. My printer is an HP Laserjet 1010 which is via USB connected to my NAS ('Bubba', see here for more info). The NAS has a 'raw' queue (i.e. only forwards bytes to the printer); it needs to be fed with printer commands by the computer who print to the NAS. Two windows clients (one running XP Pro SP3, the other running 7 HP) can print to the NAS w/o issues, using HP's printer driver for the LJ1010. My main workstation could also print to the NAS when running 2009.1, but not longer since I upgraded to 2010.1.


    The upgrade was by means of a clean install of / (including re-format as I re-sized partitions). The /home partition and its contents were not touched. I have installed a print queue on the workstation for the HP which points to the raw queue on the NAS; this was also the setup I had before the upgrade. When I print I see the job appearing in CUPS on my workstation and being finished. I then see the job apepearing on CUPS on the NAS and also completing. In parallel the LED on my printer starts blinking, but never stops. There are no error messages in CUPS on the workstation; on the NAS I get the following messages in CUPS error_log and syslog:


    ==> /var/log/syslog <==
    Jul 18 14:56:19 bubba kernel: usblp0: nonzero write bulk status received: -71
    ==> /var/log/cups/error_log <==
    E [18/Jul/2010:14:56:19 +0200] [Job 85] Unable to write print data: Input/output error

    These messages do appear for all print-jobs, i.e also if printing from the Windows clients. The key difference is that printing from the Win-clients results in a correct print-out and the printer-LED stops blinking when the last page has come out.


    I have tried the following scenario's:


    • Connect printer direct to my host and install printer using MCC. Can print test-pages and several types of documents (Open office, graphics, Gnumeric)
    • Re-connected back to NAS and try the same document. Doesn't work
    • Change the USB cable between NAS & printer. No change
    • Change printer driver from hp-cups 3.10.2 to CUPS + Gutenprint simplified or Foomatic/gutenprint-ijs-simplified.5.2. No change


    Connecting to NAS-printer via Samba instead of IPP (option during install), does first result in a print-out of HP error message:

    PCL XL error
    Subsytem:  KERNEL
    Error:	   IllegalTag
    Operator:  0xff
    Position:  11


    This seems to be likely 'debris' from previous failures. Trying a second time, does prompt me for username/passwd (before I can print), but then gives me a good print. I have verified the above scenarios twice, but they al;l persist, i.e. no print-out. At this point I have the believe that the CUPS upgrade (2009.1 was 1.3.x; 2010.1 is on 1.4) results in files which do not transfer well to the printer (get stuck in CUPS on the NAS?). The IPP-protocol doesn't work; Samba does.


    Any takers for this challenge?

  10. I think it s telling you that it has a problem with a Windows partition which is shown as fat32....

    Thanks John -- this was the right track (though the cause was slightly different): my fstab had an entry to mount an external HDD (vfat file systeem) in a known place. This had been defined with the option noauto, i.e. do not mount during booting, but mount on request. This was the drive fsck was probing and got stuck on (as it was not connected). Not quite clear whether this is really the right behaviour but as I didn't need it anymore have removed the line and am now booting as per normal (still much slower than 2009.1; being investigated and may be hardware related).

  11. It could be worthwhile while booting normally, to press the ESC key so that we can see verbose mode of it booting, and see if there are any errors at this point. Seems strange, perhaps it's not completely upgraded correctly.

    The screenshot I attached shows a full boot (i.e. after pressing Esc). The upgrade was by means of complete re-install (root partition got formatted). I have added some more debug statements to rc.sysinit and think it tries to fsck something with wrong arguments. Not quite clear what though (need to study code and the output in more detail). Have established that rc,sysinit did not change materially between 2009.1 and 2010.1.


    request: can somebody post /etc/fstab -- want to check that what I have is OK. Believe it to be OK (as telinit 5 runs OK, mounts all missing partitions and results in a working system), but just to eliminate this as cause.

  12. Just upgraded (by remains of re-installing /) from 2009.1 to 2010.1 and have one major issue (in addition to the usual changes to get used to): PC hangs during the early stage of booting. I get the option to login as root and am then dumped in run-level 1. At this stage rsyslog is not yet running; starting it (service rsyslog start) causes the bootlog to be written to syslog & messages, but no clues as to what happened. A telinit 5 causes my system to continue booting normal and system functions correctly. Attached picture shows the error message. I have been able to trace this back to following lines in /etc/rc.sysinit (line 890 and below):

    # Check filesystems
    # (pixel) do not check loopback files, will be done later (aren't available yet)
    if [ -z "$fastboot" ]; then
           gprintf "Checking filesystems\n"
           Fsck -T -R -A -a -t noopts=loop $fsckoptions

    This causes an fsck on all file systems apart from root and it somehow fails on my /home partition (which is an XFS file system). A manual xfs_check shows it is in good shape - no errors.


    I can obviously comment this out, but I would like to understand what is happening here and why it fails. Any advice? More info available on request.

    post-17854-001828000 1278968068_thumb.jpg

  13. You have reducedthe path (list of places BASH looks for the program you want to start) to the Java DK only. The default PATH is /bin:/usr/bin:/usr/local/bin:/usr/games: (the ':' is used as separator). Mandriva sets defaults like this via a whole bunch of files. Following should in your .bashrc to get htis fixed (but I am not 100% that this actually covers the PATH variable):


    if [ -f /etc/bashrc ]; then
           . /etc/bashrc


    Other files that are relevant are /etc/bashrc obviously and /etc/profile

  14. I have been printing for several years using a HP LJ 1010 and since a few month occasionally on a HP Deskjet 3820. When reviewing all the software I had installed (I occasionally go through all installs to remove software which after testing proved to be not delivering what I was looking for) I realised that I had possibly 30 packages installed to enable printing. Some analysis showed that the total printing 'sub-system' consists of 6 parts: cups, ghostscript, foomatic, hpijs, hplip and gutenprint.


    I understand the need for cups (provide and manage printer queues, also over network). On the other end of the spectrum I now understand that (parts of) hplip are needed for communication with the printer (including the more advanced stuff such as clean printhead for my inkjet). This investigation also clarified that it is possible to remove most of hplip (some libraries remain); I have not yet discovered a need for more info/tools than what the typical print dialogs of applications provide. I also could remove task-printing and task-printing-hp (meta package, which pulls in hplip and some sort of foomatic to ijs converter) and task-printing-server (which pulls in CUPS).


    Where I loose the plot is why I need both hpijs, foomatic and guten-print. All three seem to provide the basic driver info (convert postscript to printer-language), but none of the info I have found so far clarifies whether I need all three or that they are simply pulled in as a required dependency even though not really necessary (have seen this more with Mandriva).


    Anybody who can clarify this or point me to a website which clarifies the roles of these components? The best I have seen is on HP's HPLIP, but that only clarifies role of hpijs. The foomatic website seems to suggest that foomatic's role (PPD provider and rasterizer) is very similar to hpijs.

  15. Welcome Lennart to Mandriva.


    A typical linux install requires 3 partitions: one for 'root' (indicated by '/'), one for swap and one for 'home'. Root contains many different directories that make up the base operating system, its configuration any extra programs that you have selected and an area where various programs log what they have done. Home contains user files. Swap is the the equivalent of the windows pagefile, but under linux is on a separate partition. It is possible to combine root and home on one partition, but splitting has the advantage that you can easily change your operating system without affecting the data.


    In your case I would select custom partitioning when the disk partitioning program (diskdrake) starts. Select a free 40 Gb partition and create the following 3 partitions:


    • Root -- ~10 Gbyte. Mountpoint = '/'. File-system ext3
    • Swap -- ~2 Gb. File system is linux swap
    • Home -- rest for Mountpoint =/home


    Take the sizes as rough guess. 10 Gb may seem small, but is (in my experience) more than enough for trying out Linux and experimenting with quite some software (my own / is ~5 Gb of which 60% is used). Diskdrake should format the newly created partitions.

  16. In Mandriva:



    rc.local runs directly after rc.sysinit and all other scripts in /etc/init.d/, but this will usually be well before anybody has logged in apart from root and a few daemons. Thus putting commands here to play with X may be less useful.


    The following scripts are sourced from your own ~/.bash_profile or ~/.bashrc, but cannot be touched by mere mortals: /etc/profile.d/ or /etc/bashrc. The .bash_profile (and for Mandriva by extension also /etc/profile.d/*) is executed after every logon and also calls .bashrc. In addition .bashrc (by extension /etc/bashrc) is executed after start of every terminal session (so additional KTerm, rxvt, Gnome-terminal etc that you start after logging in). This also means that they are executed when you log into a (non-X) console.


    I have put my X-related 'after-logon' activities in ~/.config/xfce4/xinitrc, but I do not know how this would translate from my DE (XFce4) to Gnome, KDE or other DE's. I have also found a bunch of scripts in /etc/X11/xinit.d/ that looks like they are /etc/bashrc and /etc/profile.d/ equivalents, i.e. executed after start of X on system level. This is an assumption; I am not certain of that...

  17. I use rsync for small ad-foc jobs and rsnapshot for regular (daily/weekly/monthy) snapshots of /home, /etc and a few areas in /var and /usr that are worthwhile backing up. rsnapshot is designed for regular snapshots, not so much for "I am finished, just sync what I have with another drive".

  18. The main problem I still see is coloration around letters like "a". I do not see this on my laptop(which 3 years old).

    Sounds like a different setting for hinting (sub-pixel addressing, i.e. switching on/off the individual RGB pixels to get higher resolution and better approximate round shapes like o, a, e etc. I can tweak this in my desktop settings (using Xfce), but no doubt Gnome & KDE will have ways of tweaking this.

  19. An alternative for openfiler is FreeNAS. It is pretty lean (32 MB hard disk space plus some for config files) and runs on FreeBSD. Not sure whether performance wise it is in the same range. it does offer all the ways of sharing disc space I know.


    I am myself leaning towards a dedicated NAS because of concerns on noise & power consumption when using a full PC. Bubba looks very attractive -- up to 2 Tb hard disc space in a small enclosure that draws 10-15 W max and is silent (no fans needed). The real attraction is that it is running Debian Linux, i.e. fully configurable once you get over the differences between Debian & Mandriva...

  20. I think the compression direction has been covered, but here are some alternative approaches to transferring files across the net:

    • Try one of these on-line/cloud storage servies; most offer free up to 1-2 GByte; A-Drive claims up to 50 Gb. They all have ways to allow selected others access to download. Don't expect to much on security (mainly a random URL; anybody who happens to land on this will be able to download it), but mostly that is OK. You could encrypt the file using gpg to reduce the risks. I use A-drive (occasionally), but that is more a random choice than the product of testing/reviewing or lots of experience.
    • Yet another approach would be to upload direct from your PC to the PC who wants to download this file. There are multiple ways to skin cats this particular way: FIlePhile and JetBytes I have tried neither of the two but reviews I read sound OK.
    • The following python one-liner will start a webserver on your PC listening to port 80: python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"

  21. Since 'some time' (a few weeks), my box no longer responds to Ctrl-Alt-F1 (0r 2, 3, ... 6) to switch to one of the 6 vttys. I have verified that these actually get started and are running (pgrep -l tty shows me 6 instances of mingetty). chvt does work (provided you use it as root -- found out that non-root can only use it on vttys) and the vtty works as normal. The only hunch I have is that this may be linked to an upgrade of x11 that I installed a fortnight ago:


    [RPM] x11-data-xkbdata-1.5-3.2mdv2009.1 installed

    [RPM] x11-server-common-1.6.1-5.7mdv2009.1 installed

    [RPM] libmesaglut3-7.3-1.3mdv2009.1 installed

    [RPM] x11-server-xorg-1.6.1-5.7mdv2009.1 installed

    [RPM] libmesagl1-7.3-1.2mdv2009.1 removed

    [RPM] x11-server-common-1.6.1-2.3mdv2009.1 removed

    [RPM] libmesaglut3-7.3-1.2mdv2009.1 removed

    [RPM] x11-server-xorg-1.6.1-2.3mdv2009.1 removed

    [RPM] libmesaglu1-7.3-1.2mdv2009.1 removed

    [RPM] x11-data-xkbdata-1.5-3mdv2009.1 removed


    But ... this is only motivated by the fact that a couple of years ago (link) something like that happened. I do not fancy reversing an upgrade to X to try finding out, so anybody out there who has similar problems. The only other clue is that when starting an xterm (rxvt-unicode actually), giving it focus and pressing Ctrl-Alt-F1 results in 1^. Ctrl-Alt-F2 in 2^ etc on the command line.

  22. rsnapshot (the program that Draksnapshot calls, but without the extra layer). Rsnapshot is really an intelligent front-end which maintains monthly/weekly/daily/hourly (which do not necessarily mean what the words say; if you want 15 min snapshots, then just make calls every 15 mins to 'rsnapshot hourly'. There is no GUI to restore, but restoring is not happening that often, so manual restore works just fine.

  23. It is still possible to search the descriptions of packages, but it is well hidden (which is also a bug). By default rpmdrake will only search the name. Click on the magnifying glass (see attached picture) and you can choose between names, descriptions, summaries and file-names.


  • Create New...