Jump to content

pindakoe

Members
  • Posts

    186
  • Joined

  • Last visited

Everything posted by pindakoe

  1. Haven't used DVD-RAM, but have used CD-RW using udftools My approach after lots of trial an error is the following: Install udftools. This provides cdrwtool to format media with udf file-system, pktsetup to define a packet-writing device (overlaid on the block device that your CDRW normally is) and an init-script to automatically run pktsetup at boot time. Define a name for the packet device and link it to a block device in /etc/sysconfig/pktcdvd. My file says cdrw /dev/hdc as my CD burner is master on the second IDE channel; you can select whatever name you fancy (?). Create a packet device on top of said block device with following commands; this step only needs to be done (the initscript will take care of doing this when needed during reboots): pktsetup cdrw /dev/hdc chmod a+rw /dev/pktcdvd/cdrw Prepare the disk with the UDF file-system: cdrwtool -d /dev/hdc -q. This can only be done when the disc is notmounted. Some software will try to mount it, so you may need to unmount it before formatting
  2. It turns out this is well hidden, but I think I have nailed it (but cannot check). The file /usr/share/msec/security.sh governs the daily security check (there is another file for the hourly check). I think the area to modify starts at line 74: # Modified filters coming from debian security scripts. # rootfs is not listed among excluded types, because # / is mounted twice, and filtering it would mess with excluded dir list TYPE_FILTER='(devpts|sysfs|usbfs|tmpfs|binfmt_misc|auto|proc|msdos|fat|vfat|iso9660|ncpfs| smbfs|hfs|nfs|afs|coda)' MOUNTPOINT_FILTER='^\/mnt' DIR=`awk '$3 !~ /'$TYPE_FILTER'/ && $2 !~ /'$MOUNTPOINT_FILTER'/ \ {print $2}' /proc/mounts | uniq` PRINT="%h/%f\n" EXCLUDEDIR=`awk '$3 ~ /'$TYPE_FILTER'/ || $2 ~ /'$MOUNTPOINT_FILTER'/ \ {print $2}' /proc/mounts | uniq` export EXCLUDEDIR My understanding is that this excludes a list of mounts from scanning, provided they match on the filesystem (line 77, starting with TYPE_FILTER and isolated in above listing; note it excludes smbfs, but doesn't exclude cifs) AND/OR mount-point (/mnt) -- (Somebody who knows awk pls step in to confirm this). Your setup matches neither, so is included for scanning. I suggest you add |cifs to line 77 (inside the quotes) and test again; if it still fails then ensure your share is mounted in /mnt and try again. If it still fails then I am wrong.
  3. The item vga=xxx sets the resolution from the framebuffer (which is used to display graphics until X has staretd). The table at the bottom of this page in Gentoo's wiki shows what the numbers mean (in hexadecimal; 0x317 is 3*16*16+16+7=791, i.e. 1024x768x16 bit colour).
  4. You should exclude that mount from msec security checking -- it doesn't make sense to that (unless you use that as a source of programs, but even then I guess that the administrator of that share will do the security checking).
  5. The logs in /avr/log/security are the result of the msec security checks. I think something is seriously wrong if you have big files there (1-2GB). Eitehr teh files have become corrupt, or your system has been corrupted. The only exception I can imagine is if you have just done a system update (2007.0 --> 2007.1); this would create big differences, but even that would probably only give you files of at most a few 100K. The msec script (/usr/sbin/msec) will take care of 'rotating' these files (keeps those of yesterday and today only). My suggestion is to inspect other logs (/var/log/messages) for abnormal messages and in general verify that your system is yours and truely working.
  6. pindakoe

    Shorewall

    Have a look at logrotate (which is almost certainly running on yr system). This will at regular intervals (default: once/week) check whether certain logfiles need to be archived (gzipped), deleted, emailed to somebody in order to prevent /var/log becoming too full. You can define the frequency of log rotation in /etc/logrotate.conf and/or files in /etc/logrotate.d/. Typically this is weekly or monthly, but you can also define a size, above which logrotate needs to rotate. The one pitfall with the latter approach is that logrotate by default is only run at weekly intervals (AFAIK -- not sitting on my linux machine at present), so the size check is only done once a week. There is also a directive which ensures that logfiles older than x days are simply deleted (see man logrotate).
  7. pindakoe

    umask?

    Setting this in ~/.bashrc will make it permanent -- it will be applied everytime you logon. If you want this also for other users on the same host , you are better off starting the control center, select the security tab and then start 'security level and audit'. The tab system options allows you to set the default ones for root (in the middle) and other users (last one at the bottom of the list). The one thing to keep in mind before starting to fiddle with other options and security level is that you need to know what you are doing; it is possible to lock yourself out or make certain services inoperable.
  8. This information is saved in /etc/passwd. For user 'peter' the line would look something like this: peter:x:501:501:Whatever comment you gave during install:/home/peter:/bin/bash I guess in your case it reads /bin/bash:/bin/bash etc. Be very carefull when editing this file (only possible as root). Mistakes may mean several users including yourself have no access anymore thus rendering your system unusable. An alternative approach is by using the usermod command. The following command should move the current home-dir for user peter (assumed to be /home/peter) from '/home/peter' to '/home/new': usermod -d /home/new -m peter Again this is only possible as root.
  9. One answer to neddie's 3rd question Is it possible to extract a file or files out of an rpm without installing it? An rpm is (AFAIK) just an archive with some scripts and other info added to it. File-roller (Gnome's archive manager) allows you to open and extract files at will. Being an XFce/Gnome person I have never looked at other archive manager, so YMMV.
  10. Yes they can in a million and one way. The program gdmsetup (also accessible via the mandriva control center in the section boot) allows you to select the theme for your login-manager (usually GDM or KDM). You also may want to visit these sites which provide themes for the KDE and GNOME login managers. Some are designed to show a list of all users with their own picture.
  11. I have been running a local mail setup comprising of postfix, fetchmail, spamd/spamassassin and procmail for some years now and generally without issues. I use sylpheed as client, whilst rest of the family uses Evolution. All was well under 2007 and 2007.1. This stopped when upgrading to 2008 (NB: this was a fresh install where only /home was preserved because I wanted to start with a clean slate and do some re-partitioning). The problem I encounter is that I cannot get evolution to read its incoming mail from the spool-file for that user (/var/spool/mail/$USER). I have done the following: started evolution, followed the first-time wizzard, selected 'local delivery' to receive email, click on the button labelled as 'configuration' and navigate to /var/spool/mail, to find out that my spool file is greyed out. Somehow evo does not want you to select a file. Confirming the spool directory with OK, then leads to errors in evolution: Error while Fetching Mail. Could not open mail file /var/spool/mail: Is a directory I did some googling and only found this, which is the same problem on Fedora 7, but provides no solution. Ubuntu Gutsy Gibbon seems to have the same issue, but provides a work-around of sorts. Another post suggests this is related to evolution sharing the spool with mutt (which I do not use), see here. Sylpheed works fine for me, but is less acceptable to the other members of the household, so I am at a loss what is going on. Any clues? My impression is taht this is an evolution bug in 2.12 (it confuses maildirs with mail spools or something like it).
  12. Just a last sugegstion --check xorg.conf, module section. Mine reads: Section "Module" Load "dbe" # Double-Buffering Extension Load "v4l" # Video for Linux Load "extmod" Load "type1" Load "freetype" Load "glx" # 3D layer EndSection Have you got the glx command?
  13. Vossarian: 1: No you should have the latest versions. I added this because dkms refuses to run without it, but doesn't give clear error messages... 2. Exactly -- Start MCC, Software, Add, look for kernel and scroll down to the kernel of your choice.
  14. You have some kernels and sources but they do not match. If you want to run the 2.6.17.22 kernel then you should also have kernel-source-2.6.17.22 or kernel-source-stripped-2.6.17.22 (there may be small changes where .22 becomes -22 -- I do not yet have installed 2008 so haven't checked). The 'source-stripped' version is a lot smaller and sufficient for recompilation of kernel-modules. Your first priority should be to get matching sources & kernel versions (check your repositories to be sure they are all for 2008). Another requirement is that you have all the development tools installed (gcc, make etc). kernel-source-2.6.17.13mdv comes from 2007 or 2007.1. Two ways exist to manually build an NVIDIA kernel module: with the script provided by NVIDIA (see their website). Alternatively you can use DKMS. Commands take the form 'dkms action lots-of-options': dkms status: to see what modules are build. Compare with uname-a to check versions dkms add -m nvidia -v version-number: to add a module tree for a new version (maybe requires a -k kernelnumber) dkms build -m nvidia -v version: to build the binary module from the tree dkms install -m nvidia -v version: to install the binary module (wehn starting X, the nvidia module will be installed automatically) Note that this is not only for nvidia moduels but also for other kernel-modules. This is (at least in 2007) done automatically during booting when a new kernel-version is detected; it is not uncommon for it not to work without helpfull output.
  15. I found this an extremely handy tool when I was still using Windows: Encsoft link. I also used a program called mp3trim to remove empotty space from the end, but cannot find a link..
  16. mistake 25: Current versions of Mandriva use bootgfx; older versions used splashimage. Both methods are quite different in what they can (bootgfx can display higher resolution, more colours) and how to change things (splashimage is somewhat easier). I don't know whther the mandrake control center can do this, but this post provides info on bootgfx. It is not so diffcult, but the archive used (a CPIO file) can only be manipulated from command-line.
  17. pindakoe

    Smb.conf trouble

    My understanding is that Windows (98 at least) tries to authentciate with its current username and password to the samba server). This means that the Windows username/password should match with the Samba username/password combo.
  18. have a look at rsnapshot which allows you to make 'snapshots' of file-systems where only changed files consume extra space (files that havent changed are simpliy hard-linked). This allows you to make very regular snapshots and easily go back to the status of yesterday, day before etc. This can be a big plus if you play around with config-files and something breaks. As long as you know when it still worked you can eassily go back. Swapping CDs or DVDs is more involved.
  19. Just realised there is a small but significant type in my comment. The whole set of commands becomes: cd ~ cp /boot/gfxmenu . # Now make new dir to construct updated gfxmenu mkdir test cd test cpio -i < ../gfxmenu # Now replace the old graphic by the new one. Make sure name stays the same mv /path/to/old/orange.jpg back.jpg ls |cpio -o > ../gfxmenu2 At the end of this you will have the old boot menu (gfxmenu) and the new one (gfxmenu2). Update your /boot/grub/menu.lst with the location of the new bootgraphic and restart.
  20. I assume you are root when you give the service command?
  21. You shoud move into the directory you want to archive and then use the commands: ls . |cpio -o ../whatevernameyoufancy The commands fro cpio are arcane; it can only operate on a stream of files that are passed to it on stdin. The above method accompmplishes that.
  22. You can define which partition is the default for booting in the bootloaderconfiguraion (lilo.conf for lilo; menu.lst for grub). The mandriva control center has options to set this up for you (forgot the text as not on my PC at present).
  23. I will not repeat the words of warning on risk of dataloss and making backups if you play with partitions. It works well 99 out of 100, but if you are that one case you will curse yourself for not having made backups of the lost data. Keep in mind that NTFS (Windows 2000 and later Windows operating systems) is less known to Linux software than FAT32 etc, so I would say your risk there is somewhat bigger. I have good experiences with GParted for repartitioning, but have never changed NTFS partitions. It is available here. GParted can create/delete/move and resize partitions. The one thing it cannot do is 'translate' from one filesystem to another (i.e. NTFS -> XFS). I am not aware of any software that can do this, but who knows what you'll find with google? One way to accomplish this of course is create a new empty partition with the file-system of your choice, then copy (from within Windows or Linux) all files from your Windows E:-drive to the new partition, then delete the old Windows-E and move the newly created partition into the place previously occupied by windows_e. If you have the liveCD then you can do the copying from the commandline (or possibly with a file-manager). I would not bother with separating out /boot onto a separate partition. This is probably only usefull for special cases. I would split all remaining free space into three partitions for Linux, i.e. /, swap and /home. One rule of thumb for swap is twice the amount of installed RAM, but then again I have also seen people saying that you can do away (mostly) with swap if you have sufficient RAM and do not run too many servers or very RAM-consuming user programs. I run 5-10 servers, do some browsing (multiple tabs), email and occasional wordprocesssing/spreadsheets without seeing more than a few Mb of swap space in use of the 512Mb I have created. I know that religious wars are fought whether ext2/3/4 is better than Reiser, XFS or JFS. My take is that it probably doesnt make much difference for most home-applications. Ext3 seems to have a good balance of performance, support and reliability, so why not use that?
  24. You can (usually) figure out what doesnt work by starting mplayer from in a terminal (use the browser to download the trailer; right-click save as once the taoiler has been downloaded and played for at least the first second or so). Then start mplayer with cpmmand 'mplayer trailer.mov' (or whatever it is called). This will spit out loads of messages, including what audio format is missing. For quicktime trailers from Apple, this is indeed faad2. There is a package but that didnt work for me, probably because mplayer needs to have been compiled with libfaad support (which by default it is not). The mplayer from the PLF-source had this enabled. Note that its version is sometimes out of sync with mandriva's updates (at the moment for instance), so do not automatically update mplayer if rmpdrake says so...
  25. You may not have installed these cards for nvidia on purpose, but they have come with something during the install (I at least noticed a lot of kernel-drivers for stuff I never had after an install of Mandriva One). I recommend to fire up rpmdrake (or packagemanegement in the control center), goto remove and try to remove your "nvidia related" programs. Rpmdrake will inform you if other (installed) packages require their presence.
×
×
  • Create New...