Re: [expert] Saving monitor power
On Sat, 7 Jun 2003 05:11 pm, Russell W. Behne sent this :- It can be done in the kernel certainly. In the language support section. And that is where? You will have to go into your kernel:- My kernel is situated in my home directory, cd /home/charlie/kernel/linux- Knowing that I have kept the configuration of my kernel build, check if you have kept such a copy. I am uncertain if Mandrake keeps one by default. I then $make mrproper $make xconfig in the main menu :- select load configuration from file Then open up the language support Check that you have enabled at the top :- NLS Option iso8859-1 Read in help :- Default NLS Option iso8859-1 CONFIG_NLS_DEFAULT: The default NLS used when mounting file system. Note, that this is the NLS used by your console, not the NLS used by a specific file system (if different) to store data (filenames) on a disk. Currently, the valid values are: big5, cp437, cp737, cp775, cp850, cp852, cp855, cp857, cp860, cp861, cp862, cp863, cp864, cp865, cp866, cp869, cp874, cp932, cp936, cp949, cp950, cp1250, cp1251, cp1255, euc-jp, euc-kr, gb2312, iso8859-1, iso8859-2, iso8859-3, iso8859-4, iso8859-5, iso8859-6, iso8859-7, iso8859-8, iso8859-9, iso8859-13, iso8859-14, iso8859-15, koi8-r, koi8-ru, koi8-u, sjis, tis-620, utf8. If you specify a wrong value, it will use the built-in NLS; compatible with iso8859-1. If unsure, specify it as iso8859-1. Then remove the UTF-8 support, $make dep $make clean, $make bzImage $make modules Then su into root and return to the directory above and #make modules_install #cp System.map /boot/System.map- #cp arch/i386/boot/bzImage /boot/bzImage- You might be asked if you wish to overwrite these and say yes if you haven't already removed them from /boot first. still as root #lilo reboot Watch the messages to make certain everything is as it should be. Because you have only altered this one thing in the kernel all should be well. HTH Charlie -- Due to circumstances beyond my control, I am master of my fate and captain of my soul. Ashley Brillaint This email is guaranteed to be wholly Linux Mandrake 9.0, Kmail v1.4.3 and OpenOffice.org1.0.3 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Modem dials wrong number
Greetings, Maybe this is not specifically a Mandrake problem, but I'll ask here anyway. I've installed the Smartlink drivers for the Winmodem(Lucent based) in my Toshiba Tecra 9000 laptop, and they seem to work fine - modem responds OK to query, commands work OK, etc. But when I use kppp to dial out, the modem dials the wrong number! Listening to the modem speaker while it dials, it sounds like it sort of stumbles along the way and repeats some digits so that in the end it dials the wrong, and too many, digits. Has anyone experienced or heard of this problem? Regards, --- Per-Olof LitbyPhone:+46 8 631-1463 Regional Mgr - Nordic/BalticFax:+46 8 631-1005 Java Web ServicesEmail:[EMAIL PROTECTED] Sun Microsystems --- Calendar URL below (Sun only) http://namefinder.germany/nfcal.cgi?-s+23213 --- I've got this great ambition to die of exhaustion rather than boredom. ---
Re: [expert] SD Card Reader in Mandrake 9.1?
Olof, Open KdiskFree and see if it is listed. If so right click and select open in Filemanager. Let us know how you go. My Toshiba Tecra 9000 running Mandrake 9.1 has a built in SD card reader (reports itself as SD Type A Controller) on the PCI bus. Does anyone know if it will be possible to get Mandrake to recognize it? Thanks ahead, Regards Trevor Rhodes === Powered by Linux- Mandrake 9.1 Registered Linux user # 290542 at http://counter.li.org Registered Machine #'s 186951 Mandrake Club Silver Member Source : my 100 % Microsoft-free personal computer. === 18:32:34 up 21:05, 3 users, load average: 1.36, 1.70, 1.42 -- I may be getting older, but I refuse to grow up! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] 'Hoary old' Q: /dev/sequencer
Hello. This lot is to do with finding a way to introduce a valid /dev/sequencer socket on MDK 8.2 The sound/audio subsystem is as per original installation. Under W2K SP3 , one needs to introduce a special driver to get the (on board) sound working, which (to me) implies that the sound system has something `funny' about it ( getting technical now eh? g) The (on board) purports to be ep 1370 and the driver loaded is i_810_audio. So far so good. Timidity Kmid work OK - well, a bit glitchy but i have never bothered about that, since I have (so far) only used 'em to play back MIDI files generated from ABC scripts. The actual music eventually coming planks with bits of string fastened to them ;=) I assume that Kmid (like timidity) is doing the MIDI - wav conversion in software BTW, which would explain the 'glitches' i think. I have quite recently though started to look at things like rosegarden, which (as I expect is true of most more recent MIDI software) DOES require /dev/sequencer Quite a lot of the multimedia stuff has never worked on my Linux side because of the 'can't' find /dev/sequencer socket, which judging by the mail archive is a very common problem. On this system , for ex, /dev/sequencer does not even exist, which I gather means that either: a. The incorrect set of drivers is loaded. b. The driver loaded is correct but needs some additional configuration. c. The driver does not provide /dev/sequencer because the sound hardware will not support it. The documents in the kernel source appear to support [c] especially as wav / mp3 playing work quite adequately which implies that the driver IS `correct'. If [c] is the case, then no amount of adding things to modules.conf or rebuilding bits of the kernel is going to sort it out, so I reckon that the two options open are: 1. Sack the on-board sound put in something that works instead. 2. Find a way of introducing an extra bit of software that will provide a /dev/sequencer socket - which would at least get it working after a fashion .. Anybody got any useful ideas on this? - 'twould be nice to get this part of linux working here finally! Regards, RJP -- RJP Mail:[EMAIL PROTECTED] || [EMAIL PROTECTED] RJP Webhttp://sedric.co.uk. || http://www.apum26.dsl.pipex.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] mdk 9.1 lilo corrupt mbr with 80 gb hd
Hi, just install mdk 9.1 download edition and I chose not hda lilo install. First reboot got lilo prompt and login mdk 9.1 Second rebot got lilo 999 error. I make a clear installation with no particolar modules, a part from lilo, in a ext3 partition at very end of a maxtor 80gb hd. Where I was wrong? TIA Evaristo -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with [EMAIL PROTECTED] http://shopnow.netscape.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] 9.1 KDE problems
You could look in MCC under remove packages (alphabetical list button) and see what kde related packages you currently have installed. You'll need the qt and arts libs for sure, and probably find a few more. Then get those from Texstar's ibiblio. If you only get the ones you currently have installed, you should already have all dependencies covered, as they would have been installed originally with the kde stuff. I haven't found urpmi that reliable, but haven't really gotten into it and set it up correctly, as I only have dialup, and need to download packages individually. If I had broadband, I'd definitely give it a good try. Robert Crawford On Sunday 08 June 2003 00:51, Trey Sizemore wrote: What is the easiest way to determine what packages are exactly needed from the ibilio site. I know kdebase, kdenetwork, etc., but what about the libs and other file dependencies that may exist? This is why I liked urpmi, but I've had some issues with it of late. Thanks. On Mon, 2003-06-02 at 14:16, Robert Crawford wrote: On Monday 02 June 2003 11:47, Ronald J. Hall wrote: I decided to post this here because it looks way beyond newbie stuff. I'm running 9.1 (download edition) on an AMD XP2100, Soyo Dragon Plus MB, 512 megs of Corsair DDR ram. Installation went smooth with no errors that I know of. As root, I can open 2 windows, try to copy something (anything) between them and both windows competely disappear. No warnings or error messages. With my normal user account, I can open an icon window (home for example) and close it, always with a crash and a KDE error message: Anyone have any ideas? Makes it darned hard to use, ya know? Never had these problems with v9.0 or 8.2. Oh, I did a complete install and not an upgrade. There are various weird problems with the stock kde 3.1 with 9.1. A lot of users have problems such as yours, and others too. I suggest reading the kde threads on pclinuxonline under the RPM announcements forum, then downloading ALL of Texstar's kde 3.1.2 packages from his ibiblio site to their own directory in /home, then log out of kde into gnome or Ice, and rename your /home/user/.kde folder to kdeold. Then go to init 3, su to root, and cd to the directory you downloaded to and install Tex's kde packages with (takes a few minutes). Be sure and get all the required packages and dependencies. Use this command to install in init 3. rpm -Uvh --force *.rpm --force replaces files and packages, but you must not be running kde at the time of install. Then you need to restart the box with the halt command- if you just go directly back to init 5 after the packages install, you might have trouble- I did. Kmail shows up with all your email, but you'll need to re-enter your info and accounts. In the kdeold folder you saved, there is a bookmark.xml file in /share/apps/konqueror- just replace the new one in the same location in /home/user/.kde, and your bookmarks are back. You might need to resetup the kppp info. Robert Crawford __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] help with greek!!!
Hi guys! After my installation of mandrake 9.1 I have one little problem. I use the greek keyboard but I cannot enter punctuation notation marks on vowels. for example I can write but if Itry to put a tone in the with the : key and then the i key, I get no character. The problem exists in all the programs. I did not had the same problem with mandrake 9.0 . Any ideas? please help. Manolis (A very newbie in the world of linux) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Saving monitor power
On Sun, 8 Jun 2003 08:01 am, Russell W. Behne sent this :- When asked during the install what keyboard to use I selected U.S./international as I always do. (I do this so that I can easily type European characters like the German umlaut and esset characters.) I have installed the US International keyboard and it threw up wrong characters in Mandrake 9.0 So just use US keyboard. But if you want to try another keyboard configuration to see if that will change anything, go onto the Big K on the panel, then Configuration, then Mandrake Control Centre, then hardware and you can change your keyboard there and see if that makes any change. There is even a German keyboard layout there, with or without Dead keys. That might help also. I am uncertain if it was Mandrake, but there was an option to use dead keys even on the US keyboard in an install. But I never tried it. HTH Charlie. -- Due to circumstances beyond my control, I am master of my fate and captain of my soul. Ashley Brillaint This email is guaranteed to be wholly Linux Mandrake 9.0, Kmail v1.4.3 and OpenOffice.org1.0.3 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Visor Edge and HotSyncing under MDK9.1
If I reboot for any reason I find that my Visor Edge stops HotSyncing under KPilot. The trial and error work around I have come up with this is to SU in a terminal, cd to /dev and rm -r pilot. Everything then starts working again. Can anyone explain what is going on? TIA, Rob Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mail formats revisited
Hi All, Haven't been watching this thread too closely, actually I have deleted most of it.. O.K. It looks like someone swapping between different E-mailers.. I have a really easy suggestion here, and that is to set yourself up a local Imap server, and just get your mailer to connect to the localhost Imap server, then you can switch E-mailers at any time without worrying about how they store their mail. Just grab any Imap compatible E-mail client either, Evo, Kmail Mozilla etc and connect to the localhost Imap server.. switch at any time, and the mail will appear in them all.. Cheers Mark On Sun, 2003-06-08 at 00:42, Lyvim Xaphir wrote: On Sat, 2003-06-07 at 05:03, Anne Wilson wrote: Thanks for that explanation, Lyvim. It's given me a lot to think about. The thing that put me off maildir was that when I tried to import from KMail into Evo it wouldn't read the mail. I tried both reading methods in the import, but it wouldn't read a single file. This made me feel that it was almost as bad as the proprietary formats found elsewhere. Have you any thoughts on that? Anne I have done it, but there are several qualifications for doing this. First, if you are transporting from Kmail to Evo like you are, Kmail should be made to put ALL subfolders back into the inbox; this way you can snag or convert everything at once since categorized or filtered email will not be seen(because it is in other folders). Evo filters can be applied later to the whole imported load. Second, you tell Kmail to convert to Maildir format. This will cause Kmail to create the new, cur, and tmp dirs and then move each message seperately to an appropriate filename within the ~/Mail/inbox/cur directory. Third, you copy the files in the newly converted Kmail inbox (Which for some wierd reason seems to be ~/Mail instead of ~/Maildir for maildir mail) over to the Evo Maildir/new dir. With Evo already in Maildir format, Evo should have a configuration for receiving mail that says /home/you/Maildir for it's folder configuration. With Evo in that mode, when you look at the folder tree (within Evo), you will see a tree that starts with your email name, and a dot (.) tree underneath it. That dot is actually the ~/Maildir/cur directory. Now all you do at this point is to go to the Kmail main inbox dir ( ~/Mail/inbox/cur ) and then copy everything over to the Evo Maildir directory for incoming mail. Which is ~/Maildir/new. So cp -v ~/Mail/inbox/cur/* ~/Maildir/new After that, go back to Evo and click on another folder in the tree somewhere, and Evo will see the ~/Maildir/new directory and then create an index of sorts for all the new mail, then it will be moved over to the ~/Maildir/cur directory, where you can then apply the Evo filters you have set up. How's that? ;) HTH.. --LX P.S. One more thing. Any mail that's filed under your Evo dot directory will be in Maildir format. Any mail that's filed in the Evo main tree above that will be in mbox format, *no matter what method* you've chosen under the Mail Accounts settings. So in order to keep all your mail in Maildir format, your custom categorization folders need to be created *under the dot directory* in the Evo tree. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mail formats revisited
On Sunday 08 Jun 2003 1:45 pm, Mark wrote: Hi All, Haven't been watching this thread too closely, actually I have deleted most of it.. O.K. It looks like someone swapping between different E-mailers.. I have a really easy suggestion here, and that is to set yourself up a local Imap server, and just get your mailer to connect to the localhost Imap server, then you can switch E-mailers at any time without worrying about how they store their mail. Just grab any Imap compatible E-mail client either, Evo, Kmail Mozilla etc and connect to the localhost Imap server.. switch at any time, and the mail will appear in them all.. Cheers Mark Mark, it may be easy, but it's a whole new ball game for me. I'm interested, though. So, can you give me a quick outline of a) what I'd need to install b) what I'd need to read up c) which order to do things Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Mail formats revisited... and xml?
...and about an xml converter mbox2xml maildir2xml anyproprietary2xml (mailxml2mbox mailxml2maildir mailxml2sql...) 1 I think it very useful: convert and archive mail with xml for cataloging reasons, from kmail 2 less important: make kmail (and others) able to read this xml this could be wery interesting for sorting cataloging and fist: archiving and have best access to archives I can't figure out how to archive my emails and access it like with a DB. Just make a small search seems to be impossible with kmail to me. I used outlook and even if it's hard to manage archives, i could do recursive search for mail of 2 years old... further true db management could be great! This feature could exists yet. Just tell me. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] how to add a custom feature to konqueror
Is it hard for add a button in toolbar of konqueror to swicht java or javascript on/off by just a click? Is it needed to recompile it for that? Do you know where I can find some stuff for this? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Make applications be silent
I'm looking for the way having konqueror not to tell HTTP_REFERER and Kmail and Knode not to tell their name and above all version, on each message they send. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] how to add a custom feature to konqueror
I found a solution for java/javascript, but I'm still looking for stuff for adding features myself Is it hard for add a button in toolbar of konqueror to swicht java or javascript on/off by just a click? Is it needed to recompile it for that? Do you know where I can find some stuff for this? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mail formats revisited
On Sun, 2003-06-08 at 09:07, Anne Wilson wrote: On Sunday 08 Jun 2003 1:45 pm, Mark wrote: Mark, it may be easy, but it's a whole new ball game for me. I'm interested, though. So, can you give me a quick outline of a) what I'd need to install b) what I'd need to read up c) which order to do things Anne Hi Anne: The way I did it was with: IMAP: cyrus (lot of people also use courier) Fetchmail: to pick your mail from your mail server (i have read that it can also be used for filtering). Postfix: to send your mail (I read that it was easier to setup and safer than sendmail) Procmail: for filtering. I created a test mail account and until I didn't feel every thing was working fine I didn't migrate from my original setup. I installed every thing from Mandrake CD's. The HOWTO on cyrus was very helpful. Googling for postfix procmail cyrus will give you lot of information. In www.procmail.org you will find some very interesting and useful links. Having your mails available anywhere is perhaps the most valuable aspect of IMAP. It is worth the effort. -- __ / \\ @ __ __@ Adolfo Bello / [EMAIL PROTECTED] / // // /\ / \\ // \ // Bello Ingenieria S.A, ICQ: 65910258 / \\ // / \\ / // // / //mobile: +58 416 609-6213 /___// // / _/ \__\\ //__/ // fax : +58 212 952-6797 www.bisapi.com //pager : [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mail formats revisited
On Sunday 08 Jun 2003 2:47 pm, Adolfo Bello wrote: On Sun, 2003-06-08 at 09:07, Anne Wilson wrote: On Sunday 08 Jun 2003 1:45 pm, Mark wrote: Mark, it may be easy, but it's a whole new ball game for me. I'm interested, though. So, can you give me a quick outline of a) what I'd need to install b) what I'd need to read up c) which order to do things Anne Hi Anne: The way I did it was with: IMAP: cyrus (lot of people also use courier) Fetchmail: to pick your mail from your mail server (i have read that it can also be used for filtering). Postfix: to send your mail (I read that it was easier to setup and safer than sendmail) Procmail: for filtering. I created a test mail account and until I didn't feel every thing was working fine I didn't migrate from my original setup. I installed every thing from Mandrake CD's. The HOWTO on cyrus was very helpful. Googling for postfix procmail cyrus will give you lot of information. In www.procmail.org you will find some very interesting and useful links. Having your mails available anywhere is perhaps the most valuable aspect of IMAP. It is worth the effort. Thanks, Adolfo. There just aren't enough hours in a day, are there g This one definitely sounds worth doing, though, so I may be back with questions. Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] how to add a custom feature to konqueror
On Sun, 2003-06-08 at 09:21, Stephlub wrote: I found a solution for java/javascript, but I'm still looking for stuff for adding features myself Is it hard for add a button in toolbar of konqueror to swicht java or javascript on/off by just a click? Is it needed to recompile it for that? Do you know where I can find some stuff for this? Maybe nobody knows if nobody answers. Could you, please, post the solution? -- __ / \\ @ __ __@ Adolfo Bello / [EMAIL PROTECTED] / // // /\ / \\ // \ // Bello Ingenieria S.A, ICQ: 65910258 / \\ // / \\ / // // / //mobile: +58 416 609-6213 /___// // / _/ \__\\ //__/ // fax : +58 212 952-6797 www.bisapi.com //pager : [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mail formats revisited
Hi Anne, On Sun, 2003-06-08 at 23:07, Anne Wilson wrote: On Sunday 08 Jun 2003 1:45 pm, Mark wrote: Hi All, Haven't been watching this thread too closely, actually I have deleted most of it.. O.K. It looks like someone swapping between different E-mailers.. I have a really easy suggestion here, and that is to set yourself up a local Imap server, and just get your mailer to connect to the localhost Imap server, then you can switch E-mailers at any time without worrying about how they store their mail. Just grab any Imap compatible E-mail client either, Evo, Kmail Mozilla etc and connect to the localhost Imap server.. switch at any time, and the mail will appear in them all.. Cheers Mark Mark, it may be easy, but it's a whole new ball game for me. I'm interested, though. So, can you give me a quick outline of O.K. it's probably not that easy but in your case it may be worth the effort. First up, check to see if your ISP has a Imap server, that would be the easiest way, just to get a feel about what a Imap server is all about etc... Usually not too many ISPs run them but you could be lucky. a) what I'd need to install Usually Mandrake has Postfix installed by default.. If you discover your ISP does not run a Imap server, install a package called drakwizard if it's not already installed that is.. using rpmdrake or the command urpmi drakwizard Once that is installed, run the Mandrake Control Center within the Mandrake Control Center you will see a New Sub menu called Server Configuration select The Postfix Wizard and configure your Mail server. Once this has been done, you will still need to copy your /etc/hosts, /etc/resolv.conf files to /var/spool/postfix/etc over writing the one there. Run the command service postfix restart Once that has restarted check your log files in /var/log/mail dir.. your mail server should be up and running. Now you will need to install fetchmail urpmi fetchmail and urpmi fetchmail-daemon should do the trick I am not going to through the setup with fetchmail but the doc at http://www.linuxnetmag.com/en/issue2/m2fetchmail1.html may help you setup fetchmail. (May be someone could drop a easier URL for this) Then install the Imap server urpmi imap and then chkconfig imap on, then service xinetd restart If all has gone well, it's a matter of configuring your E-mail client to pick it's E-mail up from the Imap server at localhost b) what I'd need to read up There is a number of Websites that talk about Fetchmail. The fetchmail homepage is at http://catb.org/~esr/fetchmail/ Study up on security a little as if you follow this setup, you will be running some extra servers. May be setup the personal firewall from Mandrake.. or maybe something like Firestarter http://firestarter.sourceforge.net/ c) which order to do things Probably the order laid out in this E-mail,, Setting up like this give you quite a number of advantages, such as offline mail etc.. Being able to swap E-mail clients anytime you like,. I hope this is a help.. Cheers Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Alternatives to editing mp3/ogg files in Audacity?
On Sat, 2003-06-07 at 22:06, Rob Blomquist wrote: On Friday 06 June 2003 11:31 pm, Rob Blomquist wrote: I regualrily download streaming-mp3 files with XMMS. And I want to clean them up with Audacity, but above about 20Mb it crashes while loading the file. For the record my machine is a AMD 2100+ with 512 Mb of RAM and about 2Gb free under /home. I really need to edit mp3s up to about 1 hour in length, which would require about 70Mb files. Any ideas on how to edit them? Console would be fine, too, just so long as I have an indexing method to find the start and stop positions. I figured it out. I used lame -decode to convert the file (in this case only about 41Mb to a wav file of 617Mb then uploaded it into Audacity without a hitch. wow. Sucks to have to go through that, both for quality loss and for time spent, but I'm glad you found a workaround. If you've got to spend any serious time on it, here's a script I've been using. I've cleaned up the original some, and it could use a ton more cleanup, but... -- Jack Coates Monkeynoodle: A Scientific Venture... http://www.monkeynoodle.org/resume.html #!/usr/bin/perl # ver 0.06 # If you are looking for the TEMPDIR setting # scroll down a bit :) # mp3recode is a quick and dirty script to # re-encode mp3's which fall below a certain # bitrate (in this case 128). It will determine # which mp3's fall below this rate, and re-encode them # to a specified bitrate. It moves the 'old' mp3 # to a temporary directory. # thanks to Boort for his contibuted renaming function # this script is released under the GPL # USAGE # mp3recode rate-cap new encode rate # Begin use MPEG::MP3Info; # check is the bitrate -below which- you want # a re-encode to take place $check=$ARGV[0]; if (!($check)){ $check=128; } # rate_out is the rate in which the # mp3 is re-encoded. It defaults to # 128 (thus all files below 128 # are re-encoded for 128) # YES, this does increase the filesize with # NO increase in quality-- but many situations # call for minimally a 128 encode. $rate_out=$ARGV[1]; if (!($rate_out)){ $rate_out=128; } # Temp Dir # Mp3recode moves the 'old' mp3's to # a safe location for safety sake # CHANGE the BELOW to a temp # directory to store the old mp3's # MAKE sure to include a trailing / # example: /home/foo/temp/ $tempdir=/home/jack/tmp/; if (!($tempdir)){ print Edit mp3recode.pl and set a temp directory!\n; exit; } # whatever options for lame you desire, slap here # the default is for high quaility, at 128kb/sec. # if you want to alter the re-encode bitrate, change # the -b $check to whatever. BE aware, lower encoded # mp3's will probably not be able to be re-encoded # at a rate higher than 128 unless they have a frequency # higher than 22.05 $lame_opts=lame -h -b $rate_out; # nasty filenames can cause problems # belows is a modification of rajak's # quick and dirty renamer. Renames # spaces, ()'s, and ''s. foreach $xold (`ls *.mp3`){ chomp $xold; $xnew = $xold; $xn = $xold; $xnew = lc($xn); ## lowercase it $xnew =~ s/\%20/_/g; ## Converts netscape screwup to a _ $xnew =~ s/\ /_/g;## Converts space to a _ $xnew =~ s/\(/-/g;## Removes ( and subs - $xnew =~ s/\)//g; ## Removes ) $xnew =~ s/\[/-/g;## Removes [ and subs - $xnew =~ s/\]//g; ## Removes ] $xnew =~ s/\{/-/g;## Removes { and subs - $xnew =~ s/\}//g; ## Removes } $xnew =~ s/\#//g; ## Removes # $xnew =~ s/\!//g; ## Removes ! $xnew =~ s/\~//g; ## Removes ~ $xnew =~ s/\'//g; ## Hickey remover $xnew =~ s/_-_/-/g; ## Shorten _-_ to - $xnew =~ s/-*-/-/g; ## Shorten 2 or more -- to 1 - $xnew =~ s/_*_/_/g; ## Shorten 2 or more __ to 1 _ $xnew =~ s/-_/-/g;## Clean up -_ to - $xnew =~ s/\/\+/g; ## Clean up for eaiser use in unix $xnew =~ s/\,_/\+/g; ## Set up for format artist1+artist2 $xnew =~ s/_\+_/\+/g; ## Shorten _+_ to + $xnew =~ s/_-/-/g;## Clean up _- to - $xnew =~ s/-\./\./g; ## Remove extra -'s infront of .mp3 $xnew =~ s/\.-/\./g; ## Remove extra -'s behind a dot $xnew =~ s/\._/\./g; ## Remove extra _'s behind a dot $xnew =~ s/^-//g; ## Remove - at beginning of filename $xnew =~ s/^_//g; ## Remove _ at beginning of filename $xnew =~ s/^\.//g;## Unhide files if($xnew ne $xold){ print Renaming $xold to $xnew\n; rename $xold, $xnew or die Failed renaming $xold\n; } } # Misc variables and main loop # Hat's off to Ralf D. Werner, who contributed # a modification which preserves ID3tag info # (in this case only the artist and title) while($file = *.mp3 ) { my $info1 = get_mp3info($file); my $rate= ($info1-{BITRATE}); my $freq= ($info1-{FREQUENCY}); my $info2 = get_mp3tag($file);
Re: [expert] Modem dials wrong number
Never seen anything like it, but isn't the sound from Winmodems produced through the regular sound infrastructure? It could be sounding funny because of artsd weirdness. Try to use minicom to dial and see if that works. (Open minicom, then set the serial port to /dev/modem, then do an ATZ, then ATDyournumber). On Sat, 2003-06-07 at 23:25, Per-Olof Litby (Java Web Services Reg'l Mgr - Nordic - Sun Microsystems) wrote: Greetings, Maybe this is not specifically a Mandrake problem, but I'll ask here anyway. I've installed the Smartlink drivers for the Winmodem (Lucent based) in my Toshiba Tecra 9000 laptop, and they seem to work fine - modem responds OK to query, commands work OK, etc. But when I use kppp to dial out, the modem dials the wrong number! Listening to the modem speaker while it dials, it sounds like it sort of stumbles along the way and repeats some digits so that in the end it dials the wrong, and too many, digits. Has anyone experienced or heard of this problem? Regards, --- Per-Olof Litby Phone: +46 8 631-1463 Regional Mgr - Nordic/Baltic Fax:+46 8 631-1005 Java Web Services Email: [EMAIL PROTECTED] Sun Microsystems --- Calendar URL below (Sun only) http://namefinder.germany/nfcal.cgi?-s+23213 --- I've got this great ambition to die of exhaustion rather than boredom. --- -- Jack Coates Monkeynoodle: A Scientific Venture... http://www.monkeynoodle.org/resume.html Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] how to add a custom feature to konqueror
On Sun, 2003-06-08 at 09:21, Stephlub wrote: I found a solution for java/javascript, but I'm still looking for stuff for adding features myself Is it hard for add a button in toolbar of konqueror to swicht java or javascript on/off by just a click? Is it needed to recompile it for that? Do you know where I can find some stuff for this? Maybe nobody knows if nobody answers. Could you, please, post the solution? well, it's just kdeaddons ;)) but it doesn't really solve my problem I'm still looking for stuff for adding features myself Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] 9.1 KDE problems
If I have Cooker and Texstar both installed, how will running: urpmi --auto --auto-select handle duplicate packages (for example, Texstar's kdebase and the Cooker kdebase)? Thanks. On Sun, 2003-06-08 at 08:13, James Sparenberg wrote: On Sat, 2003-06-07 at 21:51, Trey Sizemore wrote: What is the easiest way to determine what packages are exactly needed from the ibilio site. I know kdebase, kdenetwork, etc., but what about the libs and other file dependencies that may exist? This is why I liked urpmi, but I've had some issues with it of late. Thanks. Trey, The easiest and most reliable is to use urpmi. It will solve the problem for you. just do urpmi.addmedia texstar http://www.gtlib.cc.gatech.edu/pub/linux/distributions/contrib/texstar/linux/distributions/mandrake/9.1/rpms/i586 with ./hdlist.cz (this should all be one line but wordwrap is a bear.) Then do urpmi --auto --auto-select This will add/update the correct rpms and maintain a working system for you. This is one of the few times I'd recommend automation over a controlled manual process. But I've done it now on 7 installations and not a single one has had a problem. James On Mon, 2003-06-02 at 14:16, Robert Crawford wrote: On Monday 02 June 2003 11:47, Ronald J. Hall wrote: I decided to post this here because it looks way beyond newbie stuff. I'm running 9.1 (download edition) on an AMD XP2100, Soyo Dragon Plus MB, 512 megs of Corsair DDR ram. Installation went smooth with no errors that I know of. As root, I can open 2 windows, try to copy something (anything) between them and both windows competely disappear. No warnings or error messages. With my normal user account, I can open an icon window (home for example) and close it, always with a crash and a KDE error message: Anyone have any ideas? Makes it darned hard to use, ya know? Never had these problems with v9.0 or 8.2. Oh, I did a complete install and not an upgrade. There are various weird problems with the stock kde 3.1 with 9.1. A lot of users have problems such as yours, and others too. I suggest reading the kde threads on pclinuxonline under the RPM announcements forum, then downloading ALL of Texstar's kde 3.1.2 packages from his ibiblio site to their own directory in /home, then log out of kde into gnome or Ice, and rename your /home/user/.kde folder to kdeold. Then go to init 3, su to root, and cd to the directory you downloaded to and install Tex's kde packages with (takes a few minutes). Be sure and get all the required packages and dependencies. Use this command to install in init 3. rpm -Uvh --force *.rpm --force replaces files and packages, but you must not be running kde at the time of install. Then you need to restart the box with the halt command- if you just go directly back to init 5 after the packages install, you might have trouble- I did. Kmail shows up with all your email, but you'll need to re-enter your info and accounts. In the kdeold folder you saved, there is a bookmark.xml file in /share/apps/konqueror- just replace the new one in the same location in /home/user/.kde, and your bookmarks are back. You might need to resetup the kppp info. Robert Crawford __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com signature.asc Description: This is a digitally signed message part
Re: [expert] Mail formats revisited
On Sunday 08 Jun 2003 3:52 pm, Mark wrote: Hi Anne, Setting up like this give you quite a number of advantages, such as offline mail etc.. Being able to swap E-mail clients anytime you like,. Thanks, Mark. Between what you have told me and what Adolfo said it sounds quite manageable. Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] 9.1 KDE problems
it depends :-) RPM's great weakness is that everything depends on the naming convention chosen by the RPM author. It is the _RedHat_ Package Manager after all, and when they wrote it I don't think it occurred that other distro companies would exist, much less adopt the package format (IIRC Slackware was the only other distro when RH got started, though TurboLinux came up very quickly too). When packages are selected, the urpmi mechanism looks at [name][version]. When [name] matches, [version] is compared and the requires rules are applied. If [name] doesn't match, you end up with a problem because the two packages are considered different by the RPM database, but they contain the same files. You get an error foo-bar.3.0.i586.mdk.rpm is trying to overwrite /bin/foobar which is owned by foobar.2.9.i586.mdk.rpm. If [version] doesn't sort the way you expect, you might end up with packages not getting updated. Example left to imagination. If urpmi just can't figure it out, it'll ask: You need to choose one of the following packages: 1) libfoobar3-devel-0.i586.mdk.rpm 2) libfoobar-devel.3.0.i586.mdk.rpm Please enter your choice or cancel: Jack On Sun, 2003-06-08 at 08:42, Trey Sizemore wrote: If I have Cooker and Texstar both installed, how will running: urpmi --auto --auto-select handle duplicate packages (for example, Texstar's kdebase and the Cooker kdebase)? Thanks. On Sun, 2003-06-08 at 08:13, James Sparenberg wrote: On Sat, 2003-06-07 at 21:51, Trey Sizemore wrote: What is the easiest way to determine what packages are exactly needed from the ibilio site. I know kdebase, kdenetwork, etc., but what about the libs and other file dependencies that may exist? This is why I liked urpmi, but I've had some issues with it of late. Thanks. Trey, The easiest and most reliable is to use urpmi. It will solve the problem for you. just do urpmi.addmedia texstar http://www.gtlib.cc.gatech.edu/pub/linux/distributions/contrib/texstar/linux/distributions/mandrake/9.1/rpms/i586 with ./hdlist.cz (this should all be one line but wordwrap is a bear.) Then do urpmi --auto --auto-select This will add/update the correct rpms and maintain a working system for you. This is one of the few times I'd recommend automation over a controlled manual process. But I've done it now on 7 installations and not a single one has had a problem. James On Mon, 2003-06-02 at 14:16, Robert Crawford wrote: On Monday 02 June 2003 11:47, Ronald J. Hall wrote: I decided to post this here because it looks way beyond newbie stuff. I'm running 9.1 (download edition) on an AMD XP2100, Soyo Dragon Plus MB, 512 megs of Corsair DDR ram. Installation went smooth with no errors that I know of. As root, I can open 2 windows, try to copy something (anything) between them and both windows competely disappear. No warnings or error messages. With my normal user account, I can open an icon window (home for example) and close it, always with a crash and a KDE error message: Anyone have any ideas? Makes it darned hard to use, ya know? Never had these problems with v9.0 or 8.2. Oh, I did a complete install and not an upgrade. There are various weird problems with the stock kde 3.1 with 9.1. A lot of users have problems such as yours, and others too. I suggest reading the kde threads on pclinuxonline under the RPM announcements forum, then downloading ALL of Texstar's kde 3.1.2 packages from his ibiblio site to their own directory in /home, then log out of kde into gnome or Ice, and rename your /home/user/.kde folder to kdeold. Then go to init 3, su to root, and cd to the directory you downloaded to and install Tex's kde packages with (takes a few minutes). Be sure and get all the required packages and dependencies. Use this command to install in init 3. rpm -Uvh --force *.rpm --force replaces files and packages, but you must not be running kde at the time of install. Then you need to restart the box with the halt command- if you just go directly back to init 5 after the packages install, you might have trouble- I did. Kmail shows up with all your email, but you'll need to re-enter your info and accounts. In the kdeold folder you saved, there is a bookmark.xml file in /share/apps/konqueror- just replace the new one in the same location in /home/user/.kde, and your bookmarks are back. You might need to resetup the kppp info. Robert Crawford __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com __ Want to buy your Pack or
Re: [expert] 9.1 KDE problems
Jack Coates wrote: it depends :-) RPM's great weakness is that everything depends on the naming convention chosen by the RPM author. It is the _RedHat_ Package Manager after all, and when they wrote it I don't think it occurred that other distro companies would exist, much less adopt the package format (IIRC Slackware was the only other distro when RH got started, though TurboLinux came up very quickly too). When packages are selected, the urpmi mechanism looks at [name][version]. When [name] matches, [version] is compared and the requires rules are applied. If [name] doesn't match, you end up with a problem because the two packages are considered different by the RPM database, but they contain the same files. You get an error foo-bar.3.0.i586.mdk.rpm is trying to overwrite /bin/foobar which is owned by foobar.2.9.i586.mdk.rpm. If [version] doesn't sort the way you expect, you might end up with packages not getting updated. Example left to imagination. If urpmi just can't figure it out, it'll ask: You need to choose one of the following packages: 1) libfoobar3-devel-0.i586.mdk.rpm 2) libfoobar-devel.3.0.i586.mdk.rpm Please enter your choice or cancel: Jack On Sun, 2003-06-08 at 08:42, Trey Sizemore wrote: If I have Cooker and Texstar both installed, how will running: urpmi --auto --auto-select handle duplicate packages (for example, Texstar's kdebase and the Cooker kdebase)? Thanks. Beware that urpmi will automatically choose the most recent version of your installed package(s) to install, i.e., cooker. For that reason, you probably should not have a cooker source configured unless you are running cooker. Alternatively, you can specify which media to use when running urpmi, e.g.: urpmi --media texstar --auto-select Rolf Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Syslog not logging in Madrake 9.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I just noticed that syslod is failing on startup, but klogd is starting [OK]. As klogd uses syslogd so the result is absolutely no logging on my firewall machine. Strangely, however, the syslogd process is actually running. I can start it manually from a terminal with debugging switched on and it shows connections being opened and closed as other processes try to create log entries. All log files under /var/log/ have a timestamp of 4:02 AM this morning (June 8th) but contain 0 bytes. So I'm thinking maybe the logrotate has screwed things up somehow? The archive log files are all dated from 3 days ago (June 5th), even though I'm sure logrotate is supposed to run nightly (it's living in /etc/cron.daily on my system). I've also checked my /etc/syslog.conf file. I've not tinkered with anything in here since install but I thought I'd check and it all looks good to me. Any pointers would be appreciated as I've run out of ideas? Many thanks. - -- Graeme J Hosking [EMAIL PROTECTED] http://www.hosking-online.com/ -BEGIN PGP SIGNATURE- Version: 6.5.8ckt http://www.ipgpp.com/ iQA+AwUBPuN3smG9Y2LKTkbCEQLKIgCY2y42DfbKH80CKHzHJrGQWg9y5ACfXoP4 RHjwmv9ESh/9reKg2NUp2R8= =kPs8 -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Syslog not logging in Madrake 9.1
On September 1993 plus 3567 days Graeme J. Hosking wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I just noticed that syslod is failing on startup, but klogd is starting [OK]. As klogd uses syslogd so the result is absolutely no logging on my firewall machine. Strangely, however, the syslogd process is actually running. I can start it manually from a terminal with debugging switched on and it shows connections being opened and closed as other processes try to create log entries. All log files under /var/log/ have a timestamp of 4:02 AM this morning (June 8th) but contain 0 bytes. So I'm thinking maybe the logrotate has screwed things up somehow? The archive log files are all dated from 3 days ago (June 5th), even though I'm sure logrotate is supposed to run nightly (it's living in /etc/cron.daily on my system). I've also checked my /etc/syslog.conf file. I've not tinkered with anything in here since install but I thought I'd check and it all looks good to me. Any pointers would be appreciated as I've run out of ideas? Check the integrity of the binary...sounds like a cracked box to me. Vox -- Think of the Linux community as a niche economy isolated by its beliefs. Kind of like the Amish, except that our religion requires us to use _higher_ technology than everyone else. -- Donald B. Marti Jr. pgp0.pgp Description: PGP signature
Re: [expert] how to add a custom feature to konqueror
On Sunday 08 June 2003 11:40 am, Stephlub wrote: On Sun, 2003-06-08 at 09:21, Stephlub wrote: I found a solution for java/javascript, but I'm still looking for stuff for adding features myself Is it hard for add a button in toolbar of konqueror to swicht java or javascript on/off by just a click? Is it needed to recompile it for that? Do you know where I can find some stuff for this? Maybe nobody knows if nobody answers. Could you, please, post the solution? well, it's just kdeaddons ;)) but it doesn't really solve my problem I'm still looking for stuff for adding features myself FWIW, the April issue of Linux Format had a tutorial on tweaking the Mozilla taskbar. -- cmg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Change Subject!!! Saving monitor power - kbd layout
Hi List! I installed MDK 9.1 in a computer with us intl keyboard layout and noted that, in console mode, when combining ´ + c I don´t get ç (for portuguese and french words, for instance). However, under X, it´s ok. I never had this problem with MDK 8.0 and MDK 8.1. PS: Despite this minor problem, I was never so happy with MDK as with 9.1. I installed it everywhere. From laptop to workstations, everything works! Canon cam, dvd, tv card, 3d accel (nvidia and voodoo) etc. Thanks MDK! On Sun, 8 Jun 2003, charlie wrote: On Sun, 8 Jun 2003 08:01 am, Russell W. Behne sent this :- When asked during the install what keyboard to use I selected U.S./international as I always do. (I do this so that I can easily type European characters like the German umlaut and esset characters.) I have installed the US International keyboard and it threw up wrong characters in Mandrake 9.0 So just use US keyboard. But if you want to try another keyboard configuration to see if that will change anything, go onto the Big K on the panel, then Configuration, then Mandrake Control Centre, then hardware and you can change your keyboard there and see if that makes any change. There is even a German keyboard layout there, with or without Dead keys. That might help also. I am uncertain if it was Mandrake, but there was an option to use dead keys even on the US keyboard in an install. But I never tried it. HTH Charlie. -- --- Alan Wilter S. da Silva --- Laboratório de Física Biológica Instituto de Biofísica Carlos Chagas Filho Universidade do Brasil/UFRJ Rio de Janeiro, Brasil Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Avery business cards
** Reply to message from Jonathan Dlouhy on Sat, 07 Jun 2003 12:34:10 -0700 Jonathan, Both OpenOffice and StarOffice have templates for preparing and printing those business cards. George Is there a program or a way to use a word processor to print business cards using Avery cards? There are 10 cards/sheet and each card is 2 x 31/2. Thanks, -- Jonathan Dlouhy Saturday, June 07, 2003 03:29 PM Things are more like they are now then they ever were before. --Former U.S. President Dwight D. Eisenhower Registered Linux user #264482 Powered by Mandrake 9.0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] emergency
Ok, I have a severe problem with MDK 9.1, can't even boot anymore. Can anyone help? Here is what happened: 1. In KDE I selected Removable Media/Zip to mount/open in Konq a zip disk 2. KDE panel lockup. This happened to me before, I guess because of problems with automount. Previously I 'fixed' it by Ctrl-Alt-Backspace to kill X and log in again (couldn't find anything better). Didn't work this time, got system lockup. 3. I did hard reboot. Selected y for System Integrity check. Problems were reported on /dev/hda6 (that's my / as I recalled later). System offered to fix problems (data may be lost), I said n hoping first to boot and save my today's work. It seems I should have said y! More messages about problems on /dev/hda6 with offers to fix. At this point I decided to reboot and answer y to 'fix problems?' question. 4. Hard reboot. Even worse now, got these messages right away: INIT: cannot execute /etc/rc.d/rc.sysinit INIT: entering runlevel: 5 INIT: cannot execute /etc/rc.d/rc INIT: Id 1 respawning too fast: disabled for 5 minutes (Same message repeated for Id 2 - 6) INIT: no more processes left in this runlevel 5. Ok, tried to boot from my MDK 9.1 boot disk (made during the installation), got: SYSLINUX 1.67 Could not find kernel image: linux boot: What do I do now? 6. Tried booting from MDK 9.1 install CD and going into rescue, but that stuff is just way over my head... --- Ok, it seems I made a bad decision when I said n to fixing / problems :-( Do I have any choices at this point (feasible for someone who is a day-to-day user but not an expert), short of reinstalling 9.1 (at least the /usr, so I don't lose /home, etc.)? Thank you! Sleep time now :-) Aleksey Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] mdk 9.1 lilo corrupt mbr with 80 gb hd
On Sun, 8 Jun 2003 07:19 am, Evaristo Ferrari sent this :- just install mdk 9.1 download edition and I chose not hda lilo install. First reboot got lilo prompt and login mdk 9.1 Second rebot got lilo 999 error. You didn't make a boot floppy? You installed on the Mandrake partition? Is that correct? Or did you create a boot partition? -- Due to circumstances beyond my control, I am master of my fate and captain of my soul. Ashley Brillaint This email is guaranteed to be wholly Linux Mandrake 9.0, Kmail v1.4.3 and OpenOffice.org1.0.3 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] help with greek!!!
On Sun, 8 Jun 2003 10:07 am, manolis sent this :- After my installation of mandrake 9.1 I have one little problem. I use the greek keyboard but I cannot enter punctuation notation marks on vowels. Are you using the Greek keyboard layout? In big K, Configuration, Mandrake Control Centre, Hardware and Keyboard. Though it has not happened for some time, I have had to use different keyboard layouts to get the right one, even though it was not the one that I thought would work? If the Greek layout doesn't work for you, try the US or the US international. No guarantees, just trial and error. I have no need for Greek letters. HTH Charlie -- Due to circumstances beyond my control, I am master of my fate and captain of my soul. Ashley Brillaint This email is guaranteed to be wholly Linux Mandrake 9.0, Kmail v1.4.3 and OpenOffice.org1.0.3 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Saving monitor power
On Sun, 8 Jun 2003 02:31 pm, charlie sent this :- It can be done in the kernel certainly. In the language support section. And that is where? You will have to go into your kernel:- Please note, never having used this, and unsure what might might happen. In Mandrake there is a Kernel Configurator. It is possible to disable certain things, and I assume [which might make an ass of me] that in this case it might mean, not actually remove anything, but just stop them working. In that area, if you have NLS UTF8 as a module, which is the way it is compiled by default it might be possible to stop it working? Big K/Configuration/Control Centre/System/Kernel Configurator/File Systems/Native Language Support. Best to read what it says by clicking on the line and then click the gear to disable it. Save your changes. But please be warned again, I only found this by mistake this morning, on a public holiday here in Oz and I do not know what it actually does. Click on help, and it may throw more light on the situation. Being KDE I imagine that it would work well. Charlie. -- Due to circumstances beyond my control, I am master of my fate and captain of my soul. Ashley Brillaint This email is guaranteed to be wholly Linux Mandrake 9.0, Kmail v1.4.3 and OpenOffice.org1.0.3 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] emergency
4. Hard reboot. Even worse now, got these messages right away: INIT: cannot execute /etc/rc.d/rc.sysinit INIT: entering runlevel: 5 INIT: cannot execute /etc/rc.d/rc INIT: Id 1 respawning too fast: disabled for 5 minutes (Same message repeated for Id 2 - 6) INIT: no more processes left in this runlevel 5. Ok, tried to boot from my MDK 9.1 boot disk (made during the installation), got: SYSLINUX 1.67 Could not find kernel image: linux boot: What do I do now? 6. Tried booting from MDK 9.1 install CD and going into rescue, but that stuff is just way over my head... My guess is that the kernel got munched in the crash, so you can't boot. You should try Mandrake's other boot choices: linux-nonfb or failsafe at the boot: prompt. You are on the right path to boot into your machine with the install CD. I agree it is harder to navigate, and the real bummer it is read-only on the disk. If these fail, you can try to copy important stuff off the disk, and then reinstall. -- Linux: For the people, by the people. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] emergency
Aleksey Naumov wrote: Ok, I have a severe problem with MDK 9.1, can't even boot anymore. Can anyone help? [..] 6. Tried booting from MDK 9.1 install CD and going into rescue, but that stuff is just way over my head... There are some good, basic instructions for using the rescue mode at MUO Docs: http://www.mandrakeuser.org/docs/admin/index.html#er Rolf Thank you! Sleep time now :-) Aleksey Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Mail formats revisited
On Mon, 2003-06-09 at 01:52, Anne Wilson wrote: On Sunday 08 Jun 2003 3:52 pm, Mark wrote: Hi Anne, Setting up like this give you quite a number of advantages, such as offline mail etc.. Being able to swap E-mail clients anytime you like,. Thanks, Mark. Between what you have told me and what Adolfo said it sounds quite manageable. Anne I will be interested to see how you go if you give it a go, particularly that if you like to try different E-mail packages. Some other niceties with this system that uses imapd, is that one ends up with the same mail folders in what every E-mail client that they try and use, with the old, and new mail still there, if one likes to move the mail out of ones inbox and into other mail folder the actual mail folders are actually stored in mbox format in ones home directory, while the inbox, is in the /var/spool/mail directory. Cheers Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] emergency
Thanks to all (Rob, Rolf, Steven) for good suggestions! No linux-nonfb and failsafe do not for me giving the same INIT messages. I was able to make some progress by booting with MDK 9.1 CD into rescue, then going to console: (a) Ran fsck.ext2 on my / and it complained that the superblock is bad. Ran it again with the alternate superblock (8193) and fixed a whole lot of problems (incorrect ref counts, etc.). Still no booting, get the same INIT messages (b) Then I noticed that in my /etc there is no rc.d at all, no wonder init complaines that it cannot execute /etc/rc.d/rc.sysinit and there are no more processes at a runlevel. Also there is no init.d, so all start/stop scripts are gone. Wonder how that could have happened??? More importantly, what could I do now short of reinstalling? I don't have rc.d backed up anywhere. Is it possible to get rc.d by installing an rpm, which one then? Or do these scripts get generated somehow during an install? Any ideas are welcome... Thank you, Aleksey Steven Broos wrote: I had a comparable problem a couple days ago. Same errors... Turned out to be my fault (ofcourse): I changed something in /etc/security/console.perms. Because of that reason, my harddrives weren't listed in /dev/, could not be load, etc... It gave a suggestion maybe your MBR is bad, try this e2fsck I booted in linux-failsave mode (which was working) and edited the file console.perms. (I forgot to comment a line :-)) Maybe you can learn some more by watching the booting-errors above the suggestions closely ? (you can scroll up by pressing shift-pgup) Steven On Sun, 2003-06-08 at 06:09, Aleksey Naumov wrote: Ok, I have a severe problem with MDK 9.1, can't even boot anymore. Can anyone help? Here is what happened: 1. In KDE I selected Removable Media/Zip to mount/open in Konq a zip disk 2. KDE panel lockup. This happened to me before, I guess because of problems with automount. Previously I 'fixed' it by Ctrl-Alt-Backspace to kill X and log in again (couldn't find anything better). Didn't work this time, got system lockup. 3. I did hard reboot. Selected y for System Integrity check. Problems were reported on /dev/hda6 (that's my / as I recalled later). System offered to fix problems (data may be lost), I said n hoping first to boot and save my today's work. It seems I should have said y! More messages about problems on /dev/hda6 with offers to fix. At this point I decided to reboot and answer y to 'fix problems?' question. 4. Hard reboot. Even worse now, got these messages right away: INIT: cannot execute /etc/rc.d/rc.sysinit INIT: entering runlevel: 5 INIT: cannot execute /etc/rc.d/rc INIT: Id 1 respawning too fast: disabled for 5 minutes (Same message repeated for Id 2 - 6) INIT: no more processes left in this runlevel 5. Ok, tried to boot from my MDK 9.1 boot disk (made during the installation), got: SYSLINUX 1.67 Could not find kernel image: linux boot: What do I do now? 6. Tried booting from MDK 9.1 install CD and going into rescue, but that stuff is just way over my head... --- Ok, it seems I made a bad decision when I said n to fixing / problems :-( Do I have any choices at this point (feasible for someone who is a day-to-day user but not an expert), short of reinstalling 9.1 (at least the /usr, so I don't lose /home, etc.)? Thank you! Sleep time now :-) Aleksey __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] emergency
Aleksey Naumov wrote: Thanks to all (Rob, Rolf, Steven) for good suggestions! No linux-nonfb and failsafe do not for me giving the same INIT messages. I was able to make some progress by booting with MDK 9.1 CD into rescue, then going to console: (a) Ran fsck.ext2 on my / and it complained that the superblock is bad. Ran it again with the alternate superblock (8193) and fixed a whole lot of problems (incorrect ref counts, etc.). Still no booting, get the same INIT messages (b) Then I noticed that in my /etc there is no rc.d at all, no wonder init complaines that it cannot execute /etc/rc.d/rc.sysinit and there are no more processes at a runlevel. Also there is no init.d, so all start/stop scripts are gone. Wonder how that could have happened??? More importantly, what could I do now short of reinstalling? I don't have rc.d backed up anywhere. Is it possible to get rc.d by installing an rpm, which one then? Or do these scripts get generated somehow during an install? Any ideas are welcome... Thank you, Aleksey $ urpmf /etc/rc.d initscripts:/etc/rc.d initscripts:/etc/rc.d/init.d initscripts:/etc/rc.d/init.d/alsa initscripts:/etc/rc.d/init.d/dm initscripts:/etc/rc.d/init.d/functions initscripts:/etc/rc.d/init.d/halt initscripts:/etc/rc.d/init.d/kheader initscripts:/etc/rc.d/init.d/killall initscripts:/etc/rc.d/init.d/mandrake_consmap initscripts:/etc/rc.d/init.d/mandrake_everytime initscripts:/etc/rc.d/init.d/mandrake_firstime initscripts:/etc/rc.d/init.d/netfs initscripts:/etc/rc.d/init.d/network initscripts:/etc/rc.d/init.d/partmon initscripts:/etc/rc.d/init.d/random initscripts:/etc/rc.d/init.d/rawdevices initscripts:/etc/rc.d/init.d/single initscripts:/etc/rc.d/init.d/sound initscripts:/etc/rc.d/init.d/usb initscripts:/etc/rc.d/rc initscripts:/etc/rc.d/rc.local initscripts:/etc/rc.d/rc.modules initscripts:/etc/rc.d/rc.sysinit initscripts:/etc/rc.d/rc0.d initscripts:/etc/rc.d/rc0.d/S00killall initscripts:/etc/rc.d/rc0.d/S01halt initscripts:/etc/rc.d/rc1.d initscripts:/etc/rc.d/rc1.d/S00single initscripts:/etc/rc.d/rc2.d initscripts:/etc/rc.d/rc2.d/S99local initscripts:/etc/rc.d/rc3.d initscripts:/etc/rc.d/rc3.d/S99local initscripts:/etc/rc.d/rc4.d initscripts:/etc/rc.d/rc4.d/S99local initscripts:/etc/rc.d/rc5.d initscripts:/etc/rc.d/rc5.d/S99local initscripts:/etc/rc.d/rc6.d initscripts:/etc/rc.d/rc6.d/S00killall initscripts:/etc/rc.d/rc6.d/S01reboot console-tools:/etc/rc.d/init.d/keytable sysklogd:/etc/rc.d/init.d/syslog vixie-cron:/etc/rc.d/init.d/crond xinetd:/etc/rc.d/init.d/xinetd portmap:/etc/rc.d/init.d/portmap XFree86-xfs:/etc/rc.d/init.d/xfs apache-conf:/etc/rc.d/init.d apache-conf:/etc/rc.d/init.d/httpd [..] A lot more packages have files/directories in /etc/rc.d/././. Is your /home a separate partition? Can you mount and read it from a rescue session? Or, don't you say that 'failsafe' will boot for you? If so, you can do the work from there. You might need to run fsck again. Be careful. Think about saving /home before you do something radical. If you mount your installation on /mnt and chroot /mnt in the rescue session, you might be able to call man fsck to get some info. Also, I thought there was an option to upgrade/repair an existing Mandrake installation when you booted CD1. Can't say from experience but such a process might work in this case. It would be better to copy the valuable things in /home somewhere safe, first. I would recommend installing on reiserfs if you have to do a complete install again. There are other journalling filesystems but I have had a good history with reiserfs. Rolf Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Streaming MP3-wav conversion problem
I am trying to convert a streaming MP3 file to a wav file for editing in Audacity. The mp3 stream was caught by XMMS with the MPEG Layer 1/2/3 plugin. XMMS and Noatun play it prefectly, so I bet that I can convert it to a wav file somehow. I have tried lame, bladeenc, and mpg123 to try to either output it as a wav, raw, or standard output (so I could pipe it back to an encoder to rebuild the mp3 into something converable). Here is the output from lame showing the problem it is having with the bitstream, variable frequency, and the number of channels. Any ideas? $ lame --decode incoming/KEXPraw.mp3 input: incoming/KEXPraw.mp3 (48 kHz, 2 channels, MPEG-1 Layer III) output: incoming/KEXPraw.mp3.wav (16 bit, Microsoft WAVE) skipping initial 1105 samples (encoder+decoder delay) Frame# 1/289994 452 kbps bitstream problem: resyncing... Frame# 2/289994 356 kbps L R bitstream problem: resyncing... Frame# 3/289994 452 kbps bitstream problem: resyncing... Frame# 4/289994 388 kbps bitstream problem: resyncing... Frame# 5/289994 448 kbps bitstream problem: resyncing... Frame# 6/289994 128 kbps LMSR ibitstream problem: resyncing... Frame# 7/289994 416 kbps bitstream problem: resyncing... Error: sample frequency has changed in MP3 file - not supported Frame# 8/289994 160 kbps bitstream problem: resyncing... . . . Frame# 137/289994 193 kbps bitstream problem: resyncing... Error: number of channels has changed in MP3 file - not supported Error: sample frequency has changed in MP3 file - not supported Frame# 138/289994 299 kbps fatal error. MAXFRAMESIZE not large enough. Segmentation fault -- Linux: For the people, by the people. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Streaming MP3-wav conversion problem
This is a script I use for batch conversion; works on one or more mp3's. If this doesn't work, maybe there is a problem with the xmms plugin you mentioned? #!/bin/bash # allmp3wav for i in *.mp3; do echo $i tgt=$(echo $i | sed -e s/mp3/wav/) mpg123 -b 1 -s -r 44100 $i | sox -t raw -r 44100 -s -w -c2 - $tgt done mike I am trying to convert a streaming MP3 file to a wav file for editing in Audacity. The mp3 stream was caught by XMMS with the MPEG Layer 1/2/3 plugin. XMMS and Noatun play it prefectly, so I bet that I can convert it to a wav file somehow. I have tried lame, bladeenc, and mpg123 to try to either output it as a wav, raw, or standard output (so I could pipe it back to an encoder to rebuild the mp3 into something converable). Here is the output from lame showing the problem it is having with the bitstream, variable frequency, and the number of channels. Any ideas? $ lame --decode incoming/KEXPraw.mp3 input: incoming/KEXPraw.mp3 (48 kHz, 2 channels, MPEG-1 Layer III) output: incoming/KEXPraw.mp3.wav (16 bit, Microsoft WAVE) skipping initial 1105 samples (encoder+decoder delay) Frame# 1/289994 452 kbps bitstream problem: resyncing... Frame# 2/289994 356 kbps L R bitstream problem: resyncing... Frame# 3/289994 452 kbps bitstream problem: resyncing... Frame# 4/289994 388 kbps bitstream problem: resyncing... Frame# 5/289994 448 kbps bitstream problem: resyncing... Frame# 6/289994 128 kbps LMSR ibitstream problem: resyncing... Frame# 7/289994 416 kbps bitstream problem: resyncing... Error: sample frequency has changed in MP3 file - not supported Frame# 8/289994 160 kbps bitstream problem: resyncing... . . . Frame# 137/289994 193 kbps bitstream problem: resyncing... Error: number of channels has changed in MP3 file - not supported Error: sample frequency has changed in MP3 file - not supported Frame# 138/289994 299 kbps fatal error. MAXFRAMESIZE not large enough. Segmentation fault -- Linux: For the people, by the people. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com -- Michael Holt Snohomish, WA (o_ [EMAIL PROTECTED](o_ (o_ //\ www.holt-tech.net(/)_ (/)_ V_/_www.mandrake.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] emergency
(a) Ran fsck.ext2 on my / and it complained that the superblock is bad. Ran it again with the alternate superblock (8193) and fixed a whole lot of problems (incorrect ref counts, etc.). Still no booting, get the same INIT messages I had the same problem over and over again with the default ext3 format. I even went so far as to buy a new HD. Then it happened with that one. So I reformatted my drives with a mixture of XFS, ext2, and ReiserFS, and I have not had a problem yet. I say watch out for ext3. It may give headaches to some of us. Rob -- Linux: For the people, by the people. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] script help
Hey, I'm looking for some help on my little backup script for my server. I'm not a real savvy scripter so please bare with me :) I googled around awhile back and put together a bu script that has served my purpose well until now. It's just a few lines as you will see and I use it with cron to make a cdrw every morning at 3am. Now the info on my server is starting to outgrow just on cdrw (jpgs and such) so I would like to know how I can modify my script to be able to exclude either certain files or directories. I imagine that sed would be involved, but I don't completely understand that tool so I'm hoping that someone might be able to give me some pointers and maybe even explain how the code will work in that setting. Well, here's what I've got now: #!/bin/bash # # create daily backup of essential files # DATA=/var CONFIG=/etc # set $(date) # # daily full backup: # tar -cvf /mnt/backup/data/df$2$3.tgz $DATA # tar -cvf /mnt/backup/config/cf$2$3.tgz $CONFIG # # make iso image and burn it to disk: mkisofs -o /tmp/backup.iso /mnt/backup/* # cdrecord -v blank=fast dev=0,2,0 speed=2 -eject /tmp/backup.iso rm -f /tmp/backup.iso rm -f /mnt/backup/data/* rm -f /mnt/backup/config/* In this setting, I can just add all the directories that I want to back up, but it would be much simpler to add just the parent directories and then exclude *.jpg for example or maybe a whole child directory. Thanks a bunch for any help! Mike -- Michael Holt Snohomish, WA (o_ [EMAIL PROTECTED](o_ (o_ //\ www.holt-tech.net(/)_ (/)_ V_/_www.mandrake.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] script help
why reinvent the wheel? Go to freshmeat.net and type cd backup into the search. cdbkup is the one I picked, it seems to work. I only use it for my MP3 repository though, everything else is just rsynced to multiple systems. On Sun, 2003-06-08 at 21:51, Michael Holt wrote: Hey, I'm looking for some help on my little backup script for my server. I'm not a real savvy scripter so please bare with me :) I googled around awhile back and put together a bu script that has served my purpose well until now. It's just a few lines as you will see and I use it with cron to make a cdrw every morning at 3am. Now the info on my server is starting to outgrow just on cdrw (jpgs and such) so I would like to know how I can modify my script to be able to exclude either certain files or directories. I imagine that sed would be involved, but I don't completely understand that tool so I'm hoping that someone might be able to give me some pointers and maybe even explain how the code will work in that setting. Well, here's what I've got now: #!/bin/bash # # create daily backup of essential files # DATA=/var CONFIG=/etc # set $(date) # # daily full backup: # tar -cvf /mnt/backup/data/df$2$3.tgz $DATA # tar -cvf /mnt/backup/config/cf$2$3.tgz $CONFIG # # make iso image and burn it to disk: mkisofs -o /tmp/backup.iso /mnt/backup/* # cdrecord -v blank=fast dev=0,2,0 speed=2 -eject /tmp/backup.iso rm -f /tmp/backup.iso rm -f /mnt/backup/data/* rm -f /mnt/backup/config/* In this setting, I can just add all the directories that I want to back up, but it would be much simpler to add just the parent directories and then exclude *.jpg for example or maybe a whole child directory. Thanks a bunch for any help! Mike -- Michael Holt Snohomish, WA (o_ [EMAIL PROTECTED](o_ (o_ //\ www.holt-tech.net(/)_ (/)_ V_/_www.mandrake.com __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com -- Jack Coates Monkeynoodle: A Scientific Venture... http://www.monkeynoodle.org/resume.html Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] script help
The man page for tar will give you several options that are available, one option is --exclude. You also might want to look at: --compress and --gzip to compress the data as it is being tared. Mike On Sun, 2003-06-08 at 21:51, Michael Holt wrote: Hey, I'm looking for some help on my little backup script for my server. I'm not a real savvy scripter so please bare with me :) I googled around awhile back and put together a bu script that has served my purpose well until now. It's just a few lines as you will see and I use it with cron to make a cdrw every morning at 3am. Now the info on my server is starting to outgrow just on cdrw (jpgs and such) so I would like to know how I can modify my script to be able to exclude either certain files or directories. I imagine that sed would be involved, but I don't completely understand that tool so I'm hoping that someone might be able to give me some pointers and maybe even explain how the code will work in that setting. Well, here's what I've got now: #!/bin/bash # # create daily backup of essential files # DATA=/var CONFIG=/etc # set $(date) # # daily full backup: # tar -cvf /mnt/backup/data/df$2$3.tgz $DATA # tar -cvf /mnt/backup/config/cf$2$3.tgz $CONFIG # # make iso image and burn it to disk: mkisofs -o /tmp/backup.iso /mnt/backup/* # cdrecord -v blank=fast dev=0,2,0 speed=2 -eject /tmp/backup.iso rm -f /tmp/backup.iso rm -f /mnt/backup/data/* rm -f /mnt/backup/config/* In this setting, I can just add all the directories that I want to back up, but it would be much simpler to add just the parent directories and then exclude *.jpg for example or maybe a whole child directory. Thanks a bunch for any help! Mike -- Michael Holt Snohomish, WA (o_ [EMAIL PROTECTED](o_ (o_ //\ www.holt-tech.net(/)_ (/)_ V_/_www.mandrake.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com -- Michael Noble mailto: [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Saving monitor power
On Sun, 8 Jun 2003 02:31 pm, charlie sent this :- And that is where? Look at man mount and there is another reference to UTF8 there also. It doesn't appear to be anything but a benign thing? -- Due to circumstances beyond my control, I am master of my fate and captain of my soul. Ashley Brillaint This email is guaranteed to be wholly Linux Mandrake 9.0, Kmail v1.4.3 and OpenOffice.org1.0.3 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] vsound not working with mplayer
I'm trying to use vsound to record radio shows I play through mplayer. It fails, giving me the following crap: Missing file ./vsound7506.au. This means that the libvsound wrapper did not work correctlty. Here are some the possible reasons : - You are trying to record a stream (RTSP or PNM protocol) from the internet. You will need to use the --timing option. - The program you are trying to run is setuid. You will need to run vsound as root. - Vsound was not properly installed and hence won't work at all. But I'm running it as root and with timing enabled. What gives? Miark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com