Re: Shell scripting
Pete Clarke declaimed: The core loop is clearly for file in $1 do filename=${file%.*} echo Adding $file to $filename.zip... $ZIP $ARGS $filename $file /dev/null let nofiles += 1 done Hint: try quoting your args when you run the script. Read the bash docs, have fun. Umm ... I have read the docs, and thought that for file in $1 was the correct way .. Sorry to be so obtuse. By quoting your args, I meant when you ran it: $ ./myscript * instead of $ ./myscript * In the first case, the glob is passed into the script, so $1 = * and all is as you'd intended. In the second case, bash helpfully expands the glob and passes the result into the script, so $1 = first item In any event, either $* or $@ will work just fine and suits your intentions more accurately. PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Revert gnome user prefs to default?
When I start gnome as a certain user, I get a ton of dialogs complaining that my settings are missing/corrupt, e.g., an error occured while loading or saving configuration information for gnome-settings-daemon... ultimately the desktop is covered with windows, when I dismiss them all what's left is broken and unusable: no tool bar or menus, 3 generic icons on a black background. I created a new user, gnome runs fine. I deleted all files in the problem user's home directory, copied in the files from /etc/skel, and launched gnome but this made no difference except that now some of the dialogs are so wide that they extend off the desktop to either side. I don't usually use gnome, but I'd like to get the default environment back. TIA, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
netpipe-tcp: help or alternative?
netperf was recommended to me as a basic tool for checking network performance, a search through the archives led me to netpipe-tcp which fails uniformly. Per suggestions in the man pages, I run the following: remote host: # ./NPtcp -r Resetting connection after every trial Send and receive buffers are 16384 and 87380 bytes (A bug in Linux doubles the requested buffer sizes) local host: # NPtcp -h 192.168.1.33 Send and receive buffers are 16384 and 87380 bytes (A bug in Linux doubles the requested buffer sizes) Now starting the main loop 0: 1 bytes 4999 times -- NetPIPE: error reading synchronization string: Connection reset by peer The man pages are out of date (several documented options contradict the binary's useage statement) but nothing I've found on the net seems to indicate problems of this nature. Suggestions? TIA, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: When a release is ready. (was Re: Re: Debian has turned unusable.)
Colin Watson declaimed: _ _ _ _ | ___(_)_ __ (_)___| |__ | |_ | | '_ \| / __| '_ \ | _| | | | | | \__ \ | | | |_| |_|_| |_|_|___/_| |_| _ _ |_ _| |__ ___ | | | '_ \ / _ \ | | | | | | __/ |_| |_| |_|\___| ___ __ _ _ |_ _|_ __ ___| |_ __ _| | | ___ _ __| | | || '_ \/ __| __/ _` | | |/ _ \ '__| | | || | | \__ \ || (_| | | | __/ | |_| |___|_| |_|___/\__\__,_|_|_|\___|_| (_) Colin, you've inspired me. I'm really happy running Sarge/Testing with frequent apt-get dist-upgrades. The only gotcha I've hit in months was the 2.6 kernel wonking my mouse in X and making cdrtoaster use a funny device argument (still can't find the docs but a tip from this list got me going). Of course, I'm happy with stodgy old Mozilla and run a bare Blackbox config in preference to GNOME or KDE. And no, Hugo, I don't use Mondo. I run a journalling file system (ext3) which I test by using the power button to shut down. Haven't lost a file yet :-) But what I haven't done is give back to Debian for years of free computing. So I'm publicly comitting to downloading CDs, testing the installer, and reporting bugs promptly. Specifically, next weekend I'll spend up to 4 hours on it (not counting CD burning). Regards, Paul PS: Points off for the ASCII art, but your credit balance (based on many excellent posts to this list) is not threatened :-) -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Exim, Cyrus, Mutt + what?
Pigeon declaimed: On Fri, Apr 02, 2004 at 10:05:13AM -0800, Paul Mackinney wrote: I'm relatively happy with mailfilter, which connects to a POP server and deletes messages based on header content without downloading them. It supports scoring although I haven't gotten that far. Mailfilter's main limitation is that it can't detect attachment names, so you can't proactively nuke anything with a .pif or .exe extention. Yes you can... eg. DENY=^Content-(Type|[Dd]isposition):.*(file)?name=.*\.(asd|bat|chm|cmd|com|dll|exe|gif|hlp|hta|js|jse|lnk|ocx|pif|scr|shb|shm|shs|vb|vbe|vbs|vbx|vxd|wav|wsf|wsh) Thanks, Pigeon. Is your REG_TYPE set to basic or extended in .mailfilterrc? PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Exim, Cyrus, Mutt + what?
ScruLoose declaimed: On Sun, Mar 14, 2004 at 06:21:33PM +, steve downes wrote: I am using debian testing with:- Exim 3.36 Cyrus 1.5 Mutt 1.5.5 Very happy with it but want to add an auto mail sort to pre sort mailing lists out from work mail into other boxes to read at my leisure. Also a bit of spam sorting would not go amiss. The choices I have been looking at are Cyrus 2.1 (poor documentation, looks complex to set up no idea how well it works) Procmail (looks good but cannot see how to integrate it into cyrus) Jumping in perhaps a bit late... I'm surprised nobody's mentioned the option of using Exim's built-in filtering capabilities. There's some option to enable in the exim conf that allows per-user .forward files with (relatively) procmail-like filtering capabilities, which is what I use here and am quite happy with. This is enabled by default. Documentation is slightly hidden but thoroughly covered in /usr/share/doc/exim/filter.txt.gz. The exim+.forward combo works so well for me that I've never bothered to attempt the procmail learning curve. As for spam filtering, it's an awfully big question. Lots of people have lots of differing opinions on the best way to go about it. I'm relatively happy with mailfilter, which connects to a POP server and deletes messages based on header content without downloading them. It supports scoring although I haven't gotten that far. Mailfilter's main limitation is that it can't detect attachment names, so you can't proactively nuke anything with a .pif or .exe extention. Enough spam leaks through, however, that I'm going to augment it with a Bayesian spam filter... apt-cache search bayesian ... Note that I use exim's Internet site using smarthost model. If I ran SMTP directly I'd certainly check out spamassasin. One way that I've found worked well for me was method 1 from dman's very helpful howto here: http://dman13.dyndns.org/~dman/config_docs/exim-spamassassin/ I always try to read dman's posts on this list, he's one of our assets. Cheers, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cdrecord 2.01a16 and ATAPI CD/R
lloyd declaimed: Soumyadip Modak wrote: cdrecord -scanbus dev=ATAPI says: [...] 0,1,0 1) 'ASUS' 'CRW-5224A ' '1.20' Removable CD-ROM it worked ok for me today. i had to add -driveropts=burnfree though, as in: cdrecord -v dev=ATAPI:0,1,0 -driveropts=burnfree -dao -useinfo *.wav This is awesome! Where did you find the documentation for how to form the dev command? I was using /dev/sg1 until 2.6.3 broke things (well, the new mb/cpu combo may have helped). Substituting the proper ATAPI:x,x,x string for /dev/sg1 got me working again. BTW: I agree with the rants about cdr being too hard in Linux, a couple of things I've learned: 0. Per the above thread, use cdrecord -scanbus dev=ATAPI to find the correct x,y,z designation for your burner. Then use ATAPI:x,y,z for the device designation in cdrtoaster. 1. Despite all of the docs hints from cdrtoaster cdrecord, you DON'T need ide-scsi, kernel parameters, or other dev customizations if a) you're running devfs or b) you have a kernel with devfs built in (I _believe_ this started with 2.5.x). 2. cdrtoaster doesn't have docs because it's just a shell script. I've spent 1 year cursing everytime I manually changed /dev/sg0 to /dev/sg1 and wishing cdrtoaster had a man page. Now I've simply edited it to default the device declaration to ATAPI:1,0,0, and set the default speed to 12 instead of 2. Color me duh!, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
SOLVED: persistant apt-get error
CW Harris declaimed: On Tue, Mar 23, 2004 at 11:15:11AM -0800, Paul Mackinney wrote: For some time I get the following error in apt-get on a Testing system: apt-extracttemplates: error while loading shared libraries: \ libapt-pkg-libc6.2-3-2.so.3.2: cannot open shared object file: \ No such file or directory Do you have a file /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2 ? I suppose not. It is part of the apt package, so somehow your apt install got corrupted or only partially installed? Try re-installing apt. (I believe the current testing apt is using a also.) I'd done this many times. But after poking around and flailing for a bit I noticed that my error was reported by apt-extracttemplates, which isn't in the apt package, it's in the apt-utils package. So I reinstalled apt-utils twice. The first time had the error, the second didn't. Thanks for the nudge, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
persistant apt-get error
For some time I get the following error in apt-get on a Testing system: apt-extracttemplates: error while loading shared libraries: \ libapt-pkg-libc6.2-3-2.so.3.2: cannot open shared object file: \ No such file or directory I haven't found anything in the bug database. Anyone have a solution? Should I report a bug? Here's an apt-get session that that shows the error apt-get session $ sudo apt-get install --reinstall gpm Reading Package Lists... Done Building Dependency Tree... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 6 not upgraded. Need to get 0B/146kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue? [Y/n] y apt-extracttemplates: error while loading shared libraries: libapt-pkg-libc6.2-3-2.so.3.2: cannot open shared object file: No such file or directory (Reading database ... 75050 files and directories currently installed.) Preparing to replace gpm 1.19.6-12.1 (using .../gpm_1.19.6-12.1_i386.deb) ... Unpacking replacement gpm ... Setting up gpm (1.19.6-12.1) ... Stopping mouse interface server: gpm. Starting mouse interface server: gpm. $ end apt-get session TIA, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: X problems with kernel 2.6
Ritesh Raj Sarraf declaimed: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2.6.x kernels do: # modprobe mousedev; # modprobe psmouse; Thanks a million. Since I was running without X, googling for the answer as a previous correspondent suggested would have been difficult. Now I'm off to read those 2.6.x docs... :-) Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to downgrade to testing?
Jonathan Melhuish declaimed: Although Debian unstable has actually proved pretty stable for me, I am aware that it is the development version and hence I cannot moan in the slightest if somebody breaks something. Upon further inspection, the testing distribution would seem a much better choice (this is a client machine behind a block-all firewall, so security is not a consideration). Everything procedure for downgrading that I have found so far seems rather elaborate - is there really no easy way to do it? As I say, I am quite happy with the stability of my system, so I would be quite happy to freeze it until newer versions make their way into the testing distro, if this won't cause problems. Any advice would be most appreciated! :-) Dunno about the other advice, but here's how I downgraded: Belt suspenders 1. backed up 2. made a grub boot disk and learned how to use the grub shell to identify my root partition and load the kernel images on it to boot. The process 3. Edited my apt sources file and changed 'unstable' to 'testing' everywhere. 4. Repeatedly ran 'apt-get dist-upgrade' until everything calmed down. HTH, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Network setup problems (formerly Can anyone give me a clue)
Ken Januski declaimed: I still have the problem of not being able to use pon and ethernet and same time but at least I'm headed back in the right direction. I continue to get Can't get terminal parameters: input/output error when trying to run pon with ethernet up. Disclaimer: I don't know much about pon or ppp on Linux. However, from my experience running dual-NIC systems the most common snafu is improper routing tables. The route command is your friend, use it to see which interface is used by default and make changes to the routing table. A real sysadmin should now jump in and offer truly helpful advice here... HTH, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: knoppix/debian
David Baron declaimed: On Tuesday 02 March 2004 17:45, [EMAIL PROTECTED] wrote: Hello, an anyone tell me if is possible to use apt to upgrade to sarge from knoppix? Thanks. Gavin. I am running 2.6.3-2 kernel, unstable. I started with a Knoppix HD-install. Knoppix still does the boot-hardware-detection and sets up the desktop but everything else is from unstable (sarge). Minor correction: unstable is always Sid. Currently testing is Sarge, stable is Woody. At next release Sarge will become stable, some new name will be used for Testing, and unstable will still be Sid. Personal experience: I was on unstable for a long time, switched down to testing after it got XFree 4.2, have been very content. But I use the Blackbox WM don't care about cutting edge developments in Gnome or KDE, YMMV. PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: knoppix/debian
Dr Gavin Seddon declaimed: Hello, an anyone tell me if is possible to use apt to upgrade to sarge from knoppix? Thanks. Gavin. The following procedure worked for me when I downgraded from unstable to testing about a year ago, you might want back up first :-) As I recall, I was following advice from a post to this list. If anyone knows why this is insane/dangerous, please speak up. 1. Add the appropriate source lines to your apt-configuration, comment out anything else. example: /etc/apt/apt.conf.d/sources.list deb http://linux.csua.berkeley.edu/debian/ testing main non-free contrib deb-src http://linux.csua.berkeley.edu/debian/ testing main non-free contrib deb http://security.debian.org/ stable/updates main contrib non-free 2. apt-get update 3. apt-get dist-upgrade 4. Repeat step 3 until you stop getting package errors. (it took me about 4 runs.) HTH, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
QuickTime for Linux?
I'm running Debian/Sarge. Bummed that I can't watch those funny MoveOn political ads. Help? Other streaming video works fine. TIA, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: QuickTime for Linux?
Bijan Soleymani declaimed: On Mon, Feb 23, 2004 at 09:34:02PM -0800, Paul Mackinney wrote: I'm running Debian/Sarge. Bummed that I can't watch those funny MoveOn political ads. Help? Other streaming video works fine. Mplayer can play quicktime files (with the approriate plugin). Check out their homepage: http://www.mplayerhq.hu Technical/legal/packaging/various other reasons prevent Debian from shipping mplayer, but there are some precompiled debs out there if you don't feel like compiling from source. Bijan Thanks very much. I use mplayer, managed to compile it but not the gui package, struggling with optimization. DVD's play tolerably but with some stutter at peak load (Celeron Coppermine/600MHz/512MB/AGP Matrox G400 w/16 MB -- advice appreciated off list). Downloading codecs now. Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: persistent cron error
Chris declaimed: On Thu, 2004-02-19 at 17:44, Paul Mackinney wrote: I get the following error for a cron job that runs ntpdate: Date: Thu, 19 Feb 2004 06:26:42 -0800 From: Cron Daemon Subject: Cron [EMAIL PROTECTED] test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily To: root /etc/cron.daily/ntpdate: run-parts: failed to exec /etc/cron.daily/ntpdate: Exec format error run-parts: /etc/cron.daily/ntpdate exited with return code 1 The file format _looks_ ok to me, and the commands succeed when run manually in the shell (including the if...then conditions). Any suggestions? /etc/cron.daily/ntpdate: # cron script to run ntp client sync clock. # # Run queue at 09:20 # m h dom mon dow user command @reboot root \ if [ -x /usr/sbin/ntpdate ]; then \ /usr/sbin/ntpdate -s ntp.ucsd.edu ntp1.mainecoon.com; \ fi 20 9 * * * root \ if [ -x /usr/sbin/ntpdate ]; then \ /usr/sbin/ntpdate -s ntp.ucsd.edu ntp1.mainecoon.com; \ fi # verbose comments about the ntp servers truncated I think /etc/cron.daily is not where you want to put your script. Try /etc/cron.d/. man cron: Additionally, cron reads the files in /etc/cron.d: it treats the files in /etc/cron.d as extensions to the /etc/crontab file (they follow the special format of that file, i.e. they include the user field). The intended purpose of this feature is to allow packages that require finer control of their scheduling than the /etc/cron.{daily,weekly,monthly} directories allow to add a crontab file to /etc/cron.d. Thanks. The other scripts in cron.daily certainly don't use the schedules or user field, I'll give it a try. PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
persistent cron error
I get the following error for a cron job that runs ntpdate: Date: Thu, 19 Feb 2004 06:26:42 -0800 From: Cron Daemon Subject: Cron [EMAIL PROTECTED] test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily To: root /etc/cron.daily/ntpdate: run-parts: failed to exec /etc/cron.daily/ntpdate: Exec format error run-parts: /etc/cron.daily/ntpdate exited with return code 1 The file format _looks_ ok to me, and the commands succeed when run manually in the shell (including the if...then conditions). Any suggestions? /etc/cron.daily/ntpdate: # cron script to run ntp client sync clock. # # Run queue at 09:20 # m h dom mon dow user command @reboot root \ if [ -x /usr/sbin/ntpdate ]; then \ /usr/sbin/ntpdate -s ntp.ucsd.edu ntp1.mainecoon.com; \ fi 20 9 * * * root \ if [ -x /usr/sbin/ntpdate ]; then \ /usr/sbin/ntpdate -s ntp.ucsd.edu ntp1.mainecoon.com; \ fi # verbose comments about the ntp servers truncated TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
SOLVED: apache2 manual not working
Gary Sandine declaimed: Add this to the bottom of your /etc/apache2/conf.d/apache2-doc cut AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ \ /usr/share/doc/apache2-doc/manual/$1 Directory /usr/share/doc/apache2-doc/manual/ Options Indexes AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 Files *.html SetHandler type-map /Files SetEnvIf Request_URI ^/manual/de/ prefer-language=de SetEnvIf Request_URI ^/manual/en/ prefer-language=en SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ \ /manual/$1$2 /Directory cut Schwing! Problem solved. Thanks! -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Problems in apache2 on Debian/Sarge
Hi, I'm doing a little webserver testing on a Sarge system, and right away I find the following two problems with apache2: 1. cgi scripts don't run. Specifically, invoking either of the two test scripts, printenv and test-cgi, results in their source being displayed. One is a perl script and one is a bash script, both work fine in the shell. The URL's being tested are http://localhost/cgi-bin/printenv http://localhost/cgi-bin/test-cgi I've tried using my host name and my ip address instead of localhost, no change. 2. The manual doesn't work. The URL, http://localhost/manual yields the literal text of the file index.html in the manual directory, which is URI: index.html.de Content-Language: de Content-type: text/html; charset=ISO-8859-1 URI: index.html.en Content-Language: en Content-type: text/html; charset=ISO-8859-1 URI: index.html.fr Content-Language: fr Content-type: text/html; charset=ISO-8859-1 URI: index.html.ja.jis Content-Language: ja Content-type: text/html; charset=ISO-2022-JP URI: index.html.ko.euc-kr Content-Language: ko Content-type: text/html; charset=EUC-KR If I use the URL, http://localhost/manual/index.xml then it generates a page that _looks_ correct (e.g., just like on the Apache website), but the links generate the kind of garbage shown above. Clearly XSLT+XML=foobar. The apache modules I have installed are apache2-common apache2-mpm-prefork apache2-doc I have used apt to remove/reinstall all of these, with manual deletion of the conf files, in case the problem was due to a crufty configuration. Any help is appreciated. The cgi thing is more critical, but I'm sort of surprised that the debian apache has these bugs out of the box. TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problems in apache2 on Debian/Sarge
Richard Lyons declaimed: On Saturday 17 January 2004 09:26, Paul Mackinney wrote: Hi, I'm doing a little webserver testing on a Sarge system, and right away I find the following two problems with apache2: 1. cgi scripts don't run. Specifically, invoking either of the two test scripts, printenv and test-cgi, results in their source being displayed. [...] Are you sure you've configured /etc/apache/httpd.conf correctly? It is pretty fully annotated. Try grep -B6 cgi /etc/apache/httpd.conf and see if you have forgotten to uncomment something. Thanks Richard, color me RTFM. The README included an example of exactly what I needed to do, create a symlink in /etc/apache2/mods-enabled/ cgi.load - ../mods-available/cgi.load This is slightly complex, but clearly learnable system. But the manual foobar should be working by default... PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problems in apache2 on Debian/Sarge
Gary Sandine declaimed: On Sat, 2004-01-17 at 11:33, Paul Mackinney wrote: But the manual foobar should be working by default... What versions of apache2 packages are you using? I used to have this problem, too, and there was a hack for /etc/apache2/conf.d/apache2-doc that fixed this. I removed the hack to the file, restarted apache2, hit http://localhost/manual/, and it works now. Hmm. I have: apache2-common 2.0.47-1 apache2-doc2.0.47-1 apache2-mpm-pe 2.0.47-1 $ dpkg -l | grep apache ii apache2-common 2.0.47-1 Next generation, scalable, ex ii apache2-doc2.0.47-1 Documentation for apache2 ii apache2-mpm-pr 2.0.47-1 Traditional model for Apache2 Thanks very much, I'll google for the hack. The Debian bug db came up empty on this issue, maybe it's an apache bug? BTW, how is the perchild version working for you? The package info has some scary disclaimers. PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Adding scsi devices ???
[EMAIL PROTECTED] declaimed: Michael, forgive me if I am just stating the obvious or if I should have missed your point. Last night, he added a SCSI cdrom and tape drive to the system. He insists that the AIC-7980 controller lists the devices during post. (nontechnical explanation) post is everything that happens between power-on and when the OS is loaded. (Assuming IBM hardware here.) Usually you get a message from the video card, RAM test, MB info about built-in devices such as floppies and the IDE bus, then other cards may display information. Most SCSI cards that I've used display a status message and identify the devices found on the bus, jumperless cards will typically offer a chance to configure the card. The fact that the devices were recognized by the card is good news, but useless unless the proper Linux drivers are loaded. -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Games for 1-2 year old child. Recommendations wanted.
klaus imgrund declaimed: On Sunday 05 October 2003 14:40, Andrew Perrin wrote: On Sun, 5 Oct 2003, Bengt Thure'e wrote: Thanks, but it sort of demands an internet connection. I hope I can use a very old laptop (Pentium 100), and no internet connection... Just to put her somewhere and she can hack and slash at the keyboard... :-) My son has loved emacs for just this application since he was about 11 months old. I know that this is probably flamebait - but is there any specific reason a 1-2 year old child has to play with a computer? I know that all the geeks have proof that this actually improves social interaction but I am a little old fashioned. Prost, Klaus Klaus, I am right with you (and enjoyed Pigeon's post as well). We imposed a zero-TV rule for our daughter. Effectively, we all quit watching TV. Today the only video I see is rented movies, watched with headphones after the wee one is aspleep. So what happened? Without the TV babysitter we spent more time talking and reading to our daughter (and to each other). She developed sophisticated verbal skills and delights in fantasy games of her own devising. It helped that our preschool had a rule against wearing clothes with corporate characters or logos. Today we do use books on tape as a babysitter. We'd planned on phasing TV back in at around 4 yrs old, but then we found a school (Waldorf, OT flame starter :-) that believes in no video for kids until age 10. This seems extreme to me, but is doing no harm. At age 6, Hannah has taught herself addition and multiplication by counting things and asking questions, recently she discovered multiplicative commutivity (one case, anyway) by counting a 5x6 egg tray. I have no fear for her future achievements, there'll be plenty of time to start on coding theory. And yes, at age two she enjoyed using a keyboard, typing in SimpleText on my wife's Mac with the font set really big. As for me, without TV I've had the bliss of missing Star Search, Survival, and lord only knows what else. As far as I can tell, the only thing I'm missing is the Daily Show. And I _think_ I'm getting the BBC's best thanks to video and DVD releases. Father Ted! PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problem with instalation Debian on Be6 II
MarekL declaimed: I want to install debian. When I try to install it, I have a message, that there is no hard disk. Help me what to do. Please I m new user of debian so send me very understable explanation.Pozdro This list will give you the best help if you give us the exact text of the error. It would also be helpful to know generally what your system is like (what CPU? what hard drive?) HTH, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Thanks Pigeon for Your mailfilterrc
Doug MacFarlane declaimed: On Mon, 2003-10-20 at 22:10, Pigeon wrote: On Mon, Oct 20, 2003 at 11:39:15AM -0500, Thomas H. George wrote: The dialog on spam has become so lenghty I am afraid you would never see my thank you note there. Just wanted you to know how much I appreciated your posting. Another endorsement. Thanks, Pigeon! BTW: mailfilter's author is Andreas Bauer. His website is worth checking out. PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
mutt header display question
I've been trying to write a mailfilter rule, nothing worked. Finally I noticed that while mutt displays the From header as AmikaGuardian Server [EMAIL PROTECTED] This showed the same whether with the full headers toggled on or off. Just a minute ago, when I just catted a sample msg file in the shell it showed as AmikaGuardian (TM) Server [EMAIL PROTECTED] So now I understand why my filter wasn't working. Can someone explain to me why mutt's display omitted the parenthesized bit? TIA, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
man/mandb errors
At the last update of the man package, I elected to install the new version of /etc/manpath config. The only customization I'd made was to add the man pages for my java installation, and I was OK with losing it. But now every time I run man, I get the following errors: mandb: can't chmod /usr/java/j2sdk1.4.1_02/man/index.db: \ Operation not permitted mandb: can't remove /usr/java/j2sdk1.4.1_02/man/index.db: \ Permission denied mandb: warning: can't update index cache \ /usr/java/j2sdk1.4.1_02/man/index.db: Permission denied mandb: No databases created. This is sort of understandable because the manpath command still shows the java man directory $ manpath /usr/java/j2sdk1.4.1_02/man:/usr/local/man:/usr/share/man:/usr/X11R6/man But I don't understand why since manpath.config doesn't list it and my MANPATH variable is not set. I've run mandb (without errors) and read most of the man-related docs, but I don't understand what's going on. How can I get manpath to drop the java man directory? TIA, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: RH to Debian conversion help
Paul Mackinney lied: Debian certainly doesn't have anything like RH's kudzu Well that was a rather sloppy reply, wasn't it? Steeped in humiliation, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Any users of mondoarchive on debian boxes?
Vineet Kumar declaimed: * Pigeon ([EMAIL PROTECTED]) [030928 16:00]: On Sun, Sep 28, 2003 at 08:27:27AM -0700, Paul Mackinney wrote: At a BALUG meeting last spring I heard a talk by mondo's inceptor, Hugo Rabson, who took some special time to trash Debian. His beef is with Debian's initrd-enabled kernels which mondo either doesn't handle at all or doesn't handle well. I can't write software to cope with this feature of the Linux kernel and therefore this distro that uses it is crap? Please tell me it ain't so... no, it wasn't as simple as that. Hugo was trying to write portable software, which is always a frustrating challenge. He did offer to enumerate a list of reasons why he didn't like Debian. I don't remember exactly what he said, but I remember thinking his reasons were valid at the time. It's just his opinion after all, which, by accounts on the current version of the site, has since favorably changed. Even then, Hugo didn't want to exclude Debian; he had just had difficulty working with it, and was fortunate to have Hector take care of the Debian stuff for him. Vineet, thanks for the more even-handed account. My post was probably a bit harsh--I wrote the first section (quoted above) before visiting the mondo website again and seeing the improved situation. PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: exim/fetchmail config
Jeff Elkins declaimed: I've recently switched to a system where fetchmail picks up all my pop3 email and routes it to a local address, wherespamassassin analyzes it. Thus far, it's been working great, except for one caveat... Certain family members are Windows/Outlook Express users and when they attempt to reply to an email it's routed to [EMAIL PROTECTED] or [EMAIL PROTECTED] rather than jeffelkins(at)earthlink.net or jeff(at)elkins.org I'm stumped. Is this a problem with my exim/fetchmail config or is it a OE problem? How can I overcome this? On a hunch, I wonder if you've customized /etc/email-addresses. Exim uses it to set the default return address for your Linux account. I use the mutt email reader. Normally it uses the return address that I specify. But if it doesn't get set for some reason (experimental mbox-hooks in .muttrc) then it uses the default. You can get a lot of info by bcc:ing yourself on a message and reviewing the headers. HTH, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Spam, exim, .forward vs. procmail
I've been reading the various spam threads, I'm certainly getting my share of hits from the various worms going around. Clearly I can do better can people provide some clear recommendations? Currently I'm using exim, receiving w/fetchmail and sending to smarthost. I've learned how to write and test an exim-compatible .forward file that works fairly well, although I keep having to add more rules as the attributions for the fake MS updates keep changing (really I have to go back to the docs and see if I can filter out any message with a *.exe or *.pif attachment.) So one question is: does procmail really work better or provide more features than .forward? Is it worth investing the time and energy to learn how to write procmail filters? A second question is: I understand that if you install and configure the mailfilter package, that you can use mutt to initiate your pop connections and filter mail at the server. I have broadband, do I really care about this option? I'd always understood that having mutt run your pop connections was basically an option for people running PPP. Finally: I'm poised to start running a 24x7 server for the first time, I'm contemplating making it a true mailserver for incoming and outgoing. I'm sure I'll be learning all about spamassassin, do people have any advice about gotchas, must-have packages, or best books? TIA, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Spam, exim, .forward vs. procmail
Clive Menzies declaimed: quoted post snipped I'm just starting out on this road coming from getmail, exim, mutt to mailfilter, fetchmail, procmail, spamassassin, exim, mutt. It's taken some time but I've now got preconnect mailfilter in my fetchmailrc with the following: DENY=^From:.*Microsoft \(Network\|Security\|Corporation\|Security\|Message\|Internet\|Customer\|Support\)* DENY=^From:.*MS \(Network\|Security\|Corporation\|Security\|Internet\|Customer\|Support\)* DENY=^From:.*Customer Bulletin DENY=^From:.*Internet \(Email\|Service\|System\)* DENY=^From:.*Security Department DENY=^From:.*Email \(Delivery\|Service\)* DENY=^From:.*CyberAtlas DENY=^To:.*net recipient DENY=^To:.*Inet \(Client\|Recipient\)* DENY=^To:.*Network \(Recipient\|Receiver\)* DENY=^To:.*Mail \(Recipient\|Receiver\)* DENY=^To:.*Commercial \(Client\|Consumer\)* Thanks! I'll review the fetchmail/mailfilter docs give this a whirl. Nice that you don't have to double quadruple all the escapes as in .forward. Although I can call fetchmail from mutt I run it through crontab every 5 minutes. I used to do that, but have switched to running fetchmail in daemon mode, launched with a reboot argument in my crontab: First 2 lines of .fetchmailrc, 879 is the repeat interval in millisecs: set daemon 879 poll mail.isp.com proto pop3 user ispName is [EMAIL PROTECTED] $ crontab -l SHELL=/bin/sh # m h dom mon dow command @reboot/usr/bin/fetchmail -f /home/et/.fetchmailrc -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: RH to Debian conversion help
Derrick 'dman' Hudson declaimed: | 2. hwconf - shows what hardware is in place I don't think there is an equivalent. What functionality do you need out of this? The 'lspci' command will list the PCI devices. Other hardware info, as seen by the kernel, can be found in /proc. There are probably other sources of information, depending on what you are looking for. Debian certainly doesn't have anything like RH's kudzu (one of the more impressive featres of RH, IMO). The 'modconf' command run as root allows you to dynamically enable/disable kernel modules, and 'dmesg' will print all the startup messages, which typically show lots of device info. -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Old address
[EMAIL PROTECTED] declaimed: We were AOL subscribers in the past. Our address was [EMAIL PROTECTED] We thought this address had been canceled when we canceled our subscription in 2001. When we rejoined last month, we found that that address was taken. Could you please be sure that no other person is using our old address or has access to any credit information. 1. This isn't really that funny, my ISP charges its monthly fees directly from my credit card, so they certainly have some credit info. 2. My credit info won't be worth stealing until I get the checks from all those Nigerian politicians--oops! That was supposed to be a secret. 3. I hope this isn't a new version of Swen... -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: vim: available colors?
Monique Y. Herman declaimed: I'm mucking with syntax highlighting in vim (specifically, I like dark backgrounds, but the red (for strings) and the blue (for comments) are almost impossible for me to read). How do I know which color names are available for a given colordepth? I assume that using 'set t_Co=16' is going to give me fewer color options than if I set that to, say, 256 (and would any terminals support 256?). Thanks in advance for any advice! Well, aside from adjusting your brightness and contrast ;-) try :help syntax Down at item 16. (in my version) is a bunch of stuff about xterms. Everything in vim seems to be customizable, the eternal question is whether it's worth figuring out how... PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Any users of mondoarchive on debian boxes?
Paul E Condon declaimed: An article in Oct issue of Linux journal got me interested in Mondo Archive, which is software that builds self-booting restore CDs for Linux systems. So, I started to try to use it. I found a debian package in Woody, and did the standard apt-get ... . I had mostly no problem understanding the man page. But some puzzles lead me to look at the Mondo web site, and ... From reading the Mondo web site, it appears that there are no documented instances of mondoarchive being used successfully on a Debian system, and that Debian kernels are somehow non- standard, and difficult to work with. Is this true? And, if true, why is there a Debian package of Mondo Archive? At a BALUG meeting last spring I heard a talk by mondo's inceptor, Hugo Rabson, who took some special time to trash Debian. His beef is with Debian's initrd-enabled kernels which mondo either doesn't handle at all or doesn't handle well. If you have problems, I'd try building installing a kernel with initrd disabled and see if it helps. And if not true, who, on this list has experience? Is there a different Debian list where I should be going for help on this particular package? See the Mondo website, http://www.microwerks.net/~hugo They have an active mailing list. Not only do they claim to support Debian 3.0, I just checked out their website and found that the text that used to say something like Why I hate Debian has been replaced with a blurb that starts out I used to badmouth Debian's distro ... However, recent releases are much improved ... Thanks, Hugo, that really makes me feel all warm and fuzzy. HTH, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Still on install
Sidney Brooks declaimed: I have two problems left. 1. I can get two dialers, kppp and ppp, to dial, but they do not authenticate. The kppp log says: The system is required to authenticate itself but I cannot find any suitable secret (password) for it to use to do so. (None of the available passwords would let it use an IP address). I suspect it has something to do with that new secret protocal in the install process. What do I need to do? Dunno, but here's a guess: There should be a way to specify your ppp username password in the same file where you store the phone number. Check the docs. 2. I can't find cups on any of my seven disks. Isn't it supposed to be part of the distribution? Does the package go under a different name from cups? Otherwise how do I get my printer to work? I tried magicfilter, but I don't know what filter to use (tried ljet4l). $ apt-cache search cups The main package name is apparently 'cupsys'. HTH, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Still on install
Sidney Brooks declaimed: I have two problems left. 1. I can get two dialers, kppp and ppp, to dial, but they do not authenticate. The kppp log says: The system is required to authenticate itself but I cannot find any suitable secret (password) for it to use to do so. (None of the available passwords would let it use an IP address). I suspect it has something to do with that new secret protocal in the install process. What do I need to do? Dunno, but here's a guess: There should be a way to specify your ppp username password in the same file where you store the phone number. Check the docs. 2. I can't find cups on any of my seven disks. Isn't it supposed to be part of the distribution? Does the package go under a different name from cups? Otherwise how do I get my printer to work? I tried magicfilter, but I don't know what filter to use (tried ljet4l). $ apt-cache search cups The main package name is apparently 'cupsys'. HTH, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Dmesg Fdisk see only 30 out of 60 MB--SOLVED
David Raeker-Jordan declaimed: David Raeker-Jordan wrote: I recently installed a new Samsung 60 MB HD into a 1998 vintage Celeron machine as /dev/hdb. The BIOS reports the drive as 30 MB. I thought that Debian would see the whole drive, but dmesg and fdisk only report about 30 or 32 GB. I then booted Knoppix, and it sees the whole 60 MB. Here is what fdisk on Knoppix reports: What have I done wrong? Then Christoph Walther came to rescue with the following idea: Here's an idea that worked for me. Keep the harddisk jumpered to use the _full_ capacity, e.g. 60GB, use a My BIOS hangs at boot unless I use the compatability jumper that throttles my new Maxtor 120 GB drive down to 33 GB :-( (Award BIOS on ASUS P5A motherboard) 2.4.20-Kernel, and make sure the CONFIG_IDEDISK_STROKE kernel parameter is set to yes. Do you know the display title of this option in xconfig (meta-question: is there a doc that maps the xconfig sections display titles to the config file options? I'm having trouble finding docs on xconfig, doesn't seem to be covered in the 'make' documentation). This isn't set in my 2.4.20 kernel-pkg kernel, I'll certainly add it. (You can check the setting with grep CONFIG_IDEDISK_STROKE /boot/config-insert_version_here) .config # # IDE, ATA and ATAPI Block devices # CONFIG_IDEDISK_STROKE=y edited by make menuconfig. That means, to activate in the kernel the resize-function for big IDE-Harddisks. Compile the Kernel and restart your system. Forget screwdrivers, BIOS-Updates, ATA100-Cards or a new Motherboards Well, the cost of a new motherboard with built-in support for 133 ide bus speed is just than $20 more than the cost of an enhanced IDE controller, but still it's great to learn about a new kernel flag. (admittedly I lucked out to find a motherboard that will take my current DIMMs, and for which I have a compatible unused CPU lying around) and , at last, avoid the fit of rage That's the easiest and the most intelligent way to get the full harddisk-capacity! I tried it successfully on my old (1997) Pentium I, 166MMX-System with a Western Digital 60GB-Harddisk on Debian 3.0r1 ! ___ Final Note: I recomplied the kernel and it worked like a charm. Thanks! -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: disable one users email?
Talon declaimed: Hi, I would like to disable email for one particular account. How is this done? (Running woody and exim) I believe I can stop an account from receiving email by creating a sym link: # ln -s /dev/null /var/mail/username This will (depending on how your system is configured) stop local mail to their account, and prevent exim from forwarding mail to them. but how would I disable them from sending mail? You'll have to read the exim.conf documentation to find out how to customize the TRANSPORTS CONFIGURATION section and customize the local_delivery transport. Note that these methods will only stop them from sending receiving mail using the account on that particular box, if they have internet access they have any number ways to send receive email using other accounts unless you throttle their access back so much that they might as well not have an account (IMO). I'd be glad to hear from more experienced sysadmins on this, and I'm curious as to what's the problem with a normal user having mail access. HTH, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Java plugin help?
daniel huhardeaux declaimed: Paul Mackinney wrote: I'm running Sun's Java package and Mozilla 1.3 talkback from Mozilla.org. I've symlinked /usr/local/mozilla/plugin/libjavaplugin_oji.so - /usr/java/j2sdk1.4.1_02/jre/plugin/i386/ns610/libjavaplugin_oji.so The info at plugindoc.mozdev.org says these should work together (both compiled with gcc-2.95xxx). When I compile a trivial applet (straight from Bruce Eckel's Thinking In Java) that works fine with Appletviewer, Mozilla gives me an error saying that the plugin for application/x-java-applet;version=1.4.1 needs to be installed, Mozilla's about:plugins window lists it and shows it as being Enabled. (And yes, EditAdvancedEnable Java is checked.) You have to use a java compiled with gcc 3.2. Sun's one is not ok. Blackdown has one. Check the list archive, a link was given one or two weeks ago where to download it. My understanding is that the compatablilty table is: MozillaJava Compiler Debian-package(unstable?) Blackdown gcc-3.2 Mozilla.orgSungcc-2.95 I am running Sarge (Testing). I've tried two versions of Mozilla and two versions of Java. Both load the Sun plugin but not the Blackdown plugin (e.g., for the Blackdown plugin nothing shows in about:plugins in Mozilla). To install a plugin, I'm symlinking the plugin file into Mozilla's plugin dir. apt-get install Mozilla version: 1.0 bin: /usr/bin/mozilla plugindir: /usr/lib/mozilla Mozilla.org Talkback build, installed via installer version: 1.3 bin: /usr/local/mozilla/mozilla plugindir: /usr/local/mozilla/plugin Blackdown source: j2sdk-1.4.1-01-linux-i586-gcc3.2.bin Plugin: /usr/java/j2sdk1.4.1/jre/plugin/mozilla/javaplugin_oji.so Result: doesn't load (e.g., doesn't appear in Mozilla about:plugins) Sun source: j2sdk-1.4.1_02 (don't have the binary any more) Plugin: /usr/java/j2sdk1.4.1_02/jre/plugin/i386/ns610/javaplugin_oji.so Result: loads (e.g., lots of listings in Mozilla about:plugins) In both versions of Mozilla, viewing a simple applet (tests fine in appletviewer) with the Sun plugin installed, displays a puzzle-piece icon, clicking the icon yields the error saying that application/x-java-applet;version=1.4.1 isn't installed, although this precise listing shows in about:plugins. PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Play DVDs on K6/4xx (was: Help with DRM / DRI on Matrox G400)
[EMAIL PROTECTED] declaimed: Hmm...I've got a DH G400 on my AMD K6-II/450, and DVDs play fine for me. Actually play better under Linux than under Windows. Although the DVD apps under Linux I have tend to be more glitchy. But the system w/ video card if quite adequate. --- Arlen Carlson [EMAIL PROTECTED] Very encouraging. What can I tweak? CPU: K6-III/450 MB: ASUS P5A RAM: 512 MB PC100/133 (2 x 256 MB DIMM) Kernel: kernel-package-2.4.20-k6 Debian/GNU Linux: Sarge DVD player: 16x generic Video card 1: Matrox G400 dual head, 16 MB, AGP, 1 display Video card 2: ATI Rage XL, 8 MB, PCI, 1 display (I added the 2nd card so that the G400 would have 16 MB available for its display.) The Matrox is now loading DRI, I'm not aware of any issues. When I play DVDs on Xine (installed from Sarge), the sound is OK but the video stalls stops, many freezes, unwatchable. When I play DVDs with MPlayer (compiled with gcc-3.2 on my box), it quickly displays an error telling me that my system is too slow, then about 60 seconds it returns an error saying that there are too many video frames in the buffer and the sound cuts out. Picture is great although I suspect that its playing the video too slowly. Any advice appreciated. Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Java plugin help? (was: Mozilla 1.3 for Woody?)
Mark L. Kahnt declaimed: On Thu, 2003-03-27 at 09:45, Michael Bona wrote: Mark L. Kahnt wrote: On Tue, 2003-03-25 at 12:57, Michael Bona wrote: Hi, does anyone know a source for Mozilla Version 1.3 for Woody? Apt-get.org does not seem to list any and I am really looking forward to the new functionality. snip Nah - I've been running both the Debian maintained and the Mozilla.org versions since the mid-Milestone days, against the same .mozilla, and have seen no hiccups, although I don't use it for email, but by 1.3, it should be generally okay there. As to plugins, that is something that does need to be re-installed. Copy your /usr/lib/mozilla/plugins files to /opt/mozilla/plugins (except for the javaplugin.so - that needs to be a symbolic link instead) and start up /opt/mozilla/mozilla, and all should be fine. I don't use Mozilla for email, just browsing. This is my strategy too. I can run /usr/bin/mozilla(1.0) or /usr/local/bin/mozilla(1.3) just fine. _but_ I cannot get the java plugin to work. I'm running Sun's Java package and Mozilla 1.3 talkback from Mozilla.org. I've symlinked /usr/local/mozilla/plugin/libjavaplugin_oji.so - /usr/java/j2sdk1.4.1_02/jre/plugin/i386/ns610/libjavaplugin_oji.so The info at plugindoc.mozdev.org says these should work together (both compiled with gcc-2.95xxx). When I compile a trivial applet (straight from Bruce Eckel's Thinking In Java) that works fine with Appletviewer, Mozilla gives me an error saying that the plugin for application/x-java-applet;version=1.4.1 needs to be installed, Mozilla's about:plugins window lists it and shows it as being Enabled. (And yes, EditAdvancedEnable Java is checked.) Any advice appreciated. PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help with DRM / DRI on Matrox G400
Mark Zimmerman declaimed: On Sun, Mar 30, 2003 at 12:08:56PM -0800, Slava ZHdanobvich wrote: On Fri, 28 Mar 2003 19:23:03 -0800 Paul Mackinney [EMAIL PROTECTED] wrote: I've got a Matrox Millenium G400, and recently installed a DVDROM drive. Unfortunately, Xine drops too many frames to really watch anything (mpeg avi files play fine). I've been trying to tweak my video performance, and notice the following errors in my X log: ...snip... [drm] failed to load kernel module mga (II) MGA(1): [drm] drmOpen failed (EE) MGA(1): [drm] DRIScreenInit failed. Disabling DRI. It looks like you do not have the necessary kernel module(s). You need these: CONFIG_AGP=m CONFIG_DRM_NEW=y CONFIG_DRM_MGA=m If you use xconfig, they are near the bottom of 'Character devices' -- Mark Good thought, but I'm running the stock kernel package for k6, the config file shows these enabled. I'm wondering about the lines from the XFree.0.log that read: drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed [drm] failed to load kernel module mga I don't have a device /dev/dri/card0. Am I supposed to be running devfs? Kernel config shows $ grep DEVFS config-2.4.20-k6 CONFIG_DEVFS_FS=y # CONFIG_DEVFS_MOUNT is not set # CONFIG_DEVFS_DEBUG is not set TIA, PM PS: I tried some of the other suggestions for XF86Config, but no luck. -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help with DRM / DRI on Matrox G400
[EMAIL PROTECTED] declaimed: Paul == Paul Mackinney [EMAIL PROTECTED] writes: Paul I don't have a device /dev/dri/card0. Am I supposed to be Paul running devfs? Kernel config shows Paul $ grep DEVFS config-2.4.20-k6 CONFIG_DEVFS_FS=y # Paul CONFIG_DEVFS_MOUNT is not set # CONFIG_DEVFS_DEBUG is not set You need that card device: ~ $ ls -ld /dev/dri drwxr-xr-x2 root root 4096 Jan 22 14:10 /dev/dri ~ $ ls -l /dev/dri total 0 crw-rw-rw-1 root video226, 0 Jan 22 14:10 card0 Sorry but I didn't see the start of the thread. Another thing you will also need is agp support (agpgart). be sure and load the agpgart module _before_ starting X. Brian Loading agppart was the key, I added it with modconf before starting X, the device node was created somehow, and DRI is loading fine. Still not enough to allow this tired old K6-III/450 to play DVDs, though :-( Thanks for everyone's help Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Help with DRM / DRI on Matrox G400
I've got a Matrox Millenium G400, and recently installed a DVDROM drive. Unfortunately, Xine drops too many frames to really watch anything (mpeg avi files play fine). I've been trying to tweak my video performance, and notice the following errors in my X log: (==) MGA(1): Write-combining range (0xe600,0x100) (II) MGA(1): vgaHWGetIOBase: hwp-IOBase is 0x03d0, hwp-PIOOffset is 0x (--) MGA(1): 16 DWORD fifo (==) MGA(1): Default visual is TrueColor (II) MGA(1): [drm] bpp: 32 depth: 24 (II) MGA(1): [drm] Sarea 2200+664: 2864 drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed [drm] failed to load kernel module mga (II) MGA(1): [drm] drmOpen failed (EE) MGA(1): [drm] DRIScreenInit failed. Disabling DRI. Can anyone shed light on this? I'm not running devfs, don't know if '/dev/dri/card0' is really supposed to be there or how it would get installed. I'm running Sarge, update regularly. Any advice appreciated. Regards, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How do I 'tar' a huge file?
Travis Crump declaimed: Roberto Sanchez wrote: This actually worked in that I was able to store the whole file into seperate archives. But, when I tried to untar, it failed on the first file, saying it encountered an unexpected EOF. Am I missing something here? or can this simply not be done? -Roberto Sanchez Did you pass the same -L number option to tar for the untar as you did for the tar? I think the --multi-volume option will do the trick; it worked for me when backing up to a tape library. I also got the 'unexpected EOF' on the first restore attempt, then tried again specifying --multi-volume on restore. Run info tar and look up 'mult...' in the index. You can definitely do this, I'd experiment with a small data set so you can test backup restore quickly. HTH, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
DONE: Apt-install base system to non-root drive?
Rob Weir declaimed: On Mon, Feb 17, 2003 at 09:30:40PM -0800, Paul Mackinney wrote: Hi, I'm off to cruise through the docs, but some quick help on this would be appreciated. I have a booting, network-capable system, but it's not running well. I'd like to install a clean copy of Sarge to a spare hard drive. The Sarge net-install CD was a total failure (see rant below, or ignore it). So is there any easy way to run the base install to a local partition? Once it's there I can boot it with grub and I'll be set. The Apt-HOWTO doesn't seem to cover this. Can dpkg or dselect do it? Use debootstrap to create a base Debian installation, which you can boot into and then expand upon. The canonical guide for this is Karsten's Debian Chroot Install HOWTO, available from http://kmself.home.netcom.com/Linux/FAQs/DebianChrootInstall.html Thanks very much. I did something else, but if Karsten wrote it, I'll read his HOWTO. With regards to installing Sarge... -- rant deleted -- antirantWould this be a Sarge debian-installer iso? Indeed it would, it's the entirely cool, debian-authorized 80+ MB netinstall CD. The problem (other than me) was that although nothing on the Welcome screen mentioned this (it isn't customized for a net install CD yet), I had to enter 'net' at the boot: prompt to get things going properly. Still had the problem with menus scrolling off the top of the screen, but was able to to get the install done. 24 hours later I'm sitting at a running system with my old /home directory and 70%+ of the mission-critical stuff going. Now that everyone's been so kind, I guess I ought to demonstrate some good citizenshipedness and go check out the bug list for the Sarge install and see if I can log anything helpful. Thanks! Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
X down, other errors after apt-get upgrade
I was running testing stably for over a year, but a standard apt-get upgrade left things fairly messed up: 1. X won't start from startx, the tail of the X log says: Fatal server error: xf86OpenConsole: Cannot open virtual console 3 (No such file \ or directory) Interestingly, if I start gdm (normally disabled) then X will start, but weird things happen--I can only launch one instance of aterm, on subsequent launches the window flashes open and then closes. cdrtoaster froze on me (see below). 2. I constantly get these message in the console: INIT: Id 3 respawning too fast: disabled for 5 minutes INIT: Id 6 respawning too fast: disabled for 5 minutes This seems very weird. I run at runlevel 2, have set gdm to start at runlevel 3 so if I want it I can enter 'init 3', but these messages start after boot before I log in, and when I do log in the runlevel is 2. 3. I tried to burn the Sarge net install CD with cdrtoaster while running X with gdm as described above. cdrtoaster froze and I had to kill the process, now my /dev/sg1 device file is gone. 4. On the do something stupid if you don't know what you're doing theory, I upgraded to unstable last night. No change in any of the above (well, I didn't really expect the device file to magically come back). I was running unstable until Woody shipped, then switched to testing, so this didn't feel like too much of a risk. I'm off to school to burn a new CD, I'm basically ready to start over with a clean install of Sarge, judiciously spiced with settings preserved from /etc. But I'm open to repairing this system if not too difficult. Any advice? Regards, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: my CUPS RUnneth Over!!!
Derrick 'dman' Hudson declaimed: | Once upon a time, CUPS worked for me. Then I tasted of the fruit of | knowledge, _of Good and Evil_. The Lord doesn't wish His people to be stupid. He desires for them to be holy and righteous... Thanks Derrick, I really enjoyed this off-topic digression. I hope that others can appreciate your good intentions and your humor, regardless of their feelings about the content. Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Apt-install base system to non-root drive?
Hi, I'm off to cruise through the docs, but some quick help on this would be appreciated. I have a booting, network-capable system, but it's not running well. I'd like to install a clean copy of Sarge to a spare hard drive. The Sarge net-install CD was a total failure (see rant below, or ignore it). So is there any easy way to run the base install to a local partition? Once it's there I can boot it with grub and I'll be set. The Apt-HOWTO doesn't seem to cover this. Can dpkg or dselect do it? [rant] Burned a copy of the netinst CD for Sarge and had a _bad_ experience: dialogs scroll options off the top of the display, no way to page up and see what the first six options were, operations fail and I'm told go back to a previous sections but no mechanism to do so is provided (reboot start over?), attempt to load Tulip network driver fails because the module can't be found although I'm booted from the durn install CD. [/rant] TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Build install a single module for existing custom kernel
Hi, I've been compiling my own kernels for a while thanks to dgpkg, but recently I've purchased a USB mouse, and I don't seem to have a require module (HDI...something or other) to run it on USB. Is there a quick easy way to build install the module? My kernel sources have been sitting untouched since I last built and installed a custom kernel. TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: editing a text file in a tar.gz file without decompressing
* Calber Chainy [EMAIL PROTECTED] [2003-02-08 12:54]: Mmmm, I cannot find [Jedit] in my sources, is it a command line program? No, it's an editor written in Java. I don't know whether there is a debian package available. Thorsten Well I was _going_ to say that you have to download this thingy.bin installer from http://www.jedit.org, and make it executable and run it and you can't tell what it does except the program gets installed to /usr/share. But then I looked on source forge and saw that there's a .deb for it. Now I get to reinstall and pray that somehow it likes my 1.4.1 Java installation that dpkg is entirely ignorant of... I've been learning emacs (gone to far to go back to vi at this point) and kind of sneering at all-in-one IDE's, but Jedit is worth a look. Auto-formats nicely, prints nicely (better than emacs, IMO), sophisticated plugin manager (you'll want a fast internet connection to use it) with mature content, and several options for compiling. The one I use is just a console window that runs my regular javac, but preformats the command line for me with all the options that you aren't using now because it would be too tedious to type. Haven't found a workable debugging module yet, but someone will write one soon, this project clearly has a comitted savvy crew behind it. Enjoy, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Qmail (was Mailman problems)
Derrick 'dman' Hudson declaimed: On Sun, Jan 26, 2003 at 09:03:58AM -0900, Andy wrote: snip... Personally I am opposed to qmail, mainly for reasons outlined here : http://www-dt.e-technik.uni-dortmund.de/~ma/qmail-bugs.html http://cr.yp.to/qmail/dist.html however if you want to use it that is your choice^Wproblem 0.5 wink. The second link gives the reason there is no debian package for qmail (only a source package). -D Heh. Entertaining reading. I'm not competent to comment on the author's tests or comments. They appear rational, although well-seasoned with resentment. It's always sad to hear about developers that dodge sincere critiques. It's one thing to say Yes, those bugs sure are ugly but we just don't feel the effort of fixing them is worth it right now. and another to say What bugs? I don't see any bugs while scratching uncontrollably. Having worked QA for a commercial software developer, I have a lot of sympathy for the former stance: You can't fix everything you'd like to and you're not in a position to be truly objective. And it's irritating to have people confront you with problems that you've decided (perhaps painfully) not to fix. On the other hand, the latter stance is untenable. For my home system I have to admit that I stick to Exim because a) it's been problem free, and b) path of least resistance. And oh yes, let me mention that quite a few of my scripts, settings, and other fixes have been provided by or suggested by Dman since I migrated to Debian and joined this list. Thanks! Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: LinkSYS BEFSR41 router
Antonio Rodriguez declaimed: Hi Paul, I am having some problem here. I set the ports for http and ssh as indicated in the Advanced Forwarding section, but I astill can not reach the computer from the outside world. I didn't give my machines afixed ip in setup, since it would go against the dhcp settings ( I think). Could this be the reason for the invisibility problem? () From my other machine I can see now the page, but not from the WAN. More detailed, I got the router's IP, and set the http request to port 80 to the Linux machine where I have the apache server running. When I point the browser to the routers ip from the outside it just hangs there. I assume it most be some issu with permissions in the Apache settings, or may be some module missing, but I don't exactly what the problem is. Any ideas? Thanks. Here's how mine is set up. All pages not mentioned are default settings. Setup page - LAN IP address is 192.168.1.1, all else as my ISP requires. Advanced Forwarding - Port 22 - 192.168.1.50, Port 80 - 192.168.1.50 That's it! My Linux box is set to static IP address 192.168.1.50, my wife's Mac is set to 192.168.1.51. To switch your Linux box from DHCP to fixed, all you have to do is a) Note the addresses of your DNS servers. You can get this from the Windows box by running 'winipcfg' from StartRun. (Maybe someone here knows how to get this from Linux if it's not in /etc/resolv.conf already?) b) Edit /etc/network/interfaces. Comment out the line that mentions dhcp and add the static stuff you need: auto eth0 # for dhcp #iface eth0 inet dhcp # fixed network settings iface eth0 inet static address 192.168.1.50 netmask 255.255.255.0 gateway 192.168.1.1 c) Edit /etc/resolve.conf to look like this search yourISP.com # optional nameserver the first dns server you noted nameserver the second dns server you noted d) Run the command '# ifdown eth0; ifup eth0' (or just restart) Now just set up the ports you want in Advanced Forwarding. HTH, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: LinkSYS BEFSR41 router
Antonio Rodriguez declaimed: I am trying to install drawboard (http://drawboard.souceforge.net) in my home network as trial before making it accessible to the outer world. But when I run java -cp . as indicated the response from the system is unknown option I have installed sun java jdk.1 version from testing, so I suspect that the sun version requires another option equivalent to -cp Any ideas? A second question is related to making my home network accessible from the outer world. I have both machines (win98 and testing) behind a linksys etherfast cable/dsl BEFSR41 model router, and would like to know how to implement that. Any ideas, pointers to docs, etc will be greatly appreciated. I have the same (or very similar router). There are two options: 0. You should know how to get to the router administration window in your web browser. If not, email me directly and I'd be glad to help out. The key here is that you have to find out your external TCP/IP address, which can be obtained from the Status window. So having obtained your address from the 'IP Address' field of the 'WAN' section, you email to yourself at work, write it on your hand, etc. This number is likely to change whenever you turn off your router for more than 12 hours... **NOTE** If anyone out there knows how I can find this out without having to personally run the web browser manually, PLEASE tell me! 1. You can give your home machines fixed addresses in the Setup window, and then go to Advanced Forwarding and set your machine to receive the ports you'd like to use. I use 22 (ssh/scp) and 80 (http). Note that only one machine can receive a given port. 2. You can go to the DMZ Host window and give one machine unrestricted access to the Internet, just as if there were no router. This way you'll be subjected to all the port scans and other attacks that make the Internet the fun place that it is. :-) HTH, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
USB primer?
Hi, this is mostly a request for a pointer to the right docs. I haven't ever had any USB devices until the past few months, when I picked up a webcam, scanner, and mouse. The webcam the scanner aren't on the compatability lists, but I'm curious to get the mouse going. There doesn't seem to be a USB howto, and I've no idea what modules to load or what device listings to try. dmesg doesn't list anything about a USB hub. I'm glad to receive general pointers to USB docs, or specific advice for my hardware (all really cheap stuff I picked up for $10 after rebate)): Webcam is Veo Connect [it sucks] Scanner is Artec e+48u [not too great] Mouse is Logitech Wheelmouse (optical)[very nice, can move wheel without accidentally clicking button 2] TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Mailman problems
Ed Lawson declaimed: I am running a server using woody with Exim as MTA and am having troubles getting mailman to function. The web interface works and snip What else is needed or is something broken here? When I had problems getting Mailman to go on Debian, I ended up switching from Exim to Qmail, after which things went beautifully. I never did solve the Exim problems, and both the EximQmail upgrade and the Mailman setup went quickly. If you don't quickly get a helpful answer from this list, you might try the Mailman users list. http://mail.python.org/mailman/listinfo/mailman-users HTH, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Linux config question: dates don't display year?
OT disclaimer... what controls the standard date abbreviation? On some Linux systems 'ls -l' displays the year, on others it doesn't. 'finger' duplicates the behavior, so it appears to be some heinous system-wide setting. BTW: I've found the --full-time option for ls, but still want to know how to set default behavior. TIA, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Linux config question: dates don't display year?
Brian Potkin declaimed: On Fri, Jan 10, 2003 at 09:34:49AM -0800, Paul Mackinney wrote: OT disclaimer... what controls the standard date abbreviation? On some Linux systems 'ls -l' displays the year, on others it doesn't. 'finger' duplicates the behavior, so it appears to be some heinous system-wide setting. The above is incorrect. 'finger' behaves the same way on both systems, 'ls' does not. A search of newsgroups using the keywords ls -l, date and time will provide better explanations than I can give. Adding six months would narrow down the search. Thanks, I really should have done this before posting. I've learned a lot about searching the archives, but didn't find anything appropriate. BTW: Before posting I tried man, info, apropos (currently a seg fault engine due to some pesky bug), looked at my environment variables, and looked in Oreilly's 'Essential System Administration' BTW: I've found the --full-time option for ls, but still want to know how to set default behavior. How about an alias in your .bashrc? Yes, but doesn't address the root cause. I'm stupidly curious. Regards, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: users and x/gdm
Karsten M. Self declaimed: on Tue, Dec 31, 2002 at 03:47:08PM -0500, George Georgalis ([EMAIL PROTECTED]) wrote: Something seems wrong with the archives at the moment... I just finished walking remote hands through a not so simple x configuration. whew. now a user can 'startx' and use the session, but with gdm the session starts then immediately returns to the gdm login. I presume there is a permissions problem here... how do I enable users with console access (or users in a group) to access (run) the xserver? In /etc/X11/Xwrapper.config: allowed_users=console You should be able to manage this setting with: # dpkg-reconfigure xserver-common man 5 Xwrapper.config for more information. Peace. I had a similar problem with an account on a RH Linux system. The solution was to change the last line of my .xsession file from /usr/bin/blackbox # Works with gdm on my Debian/Sarge system to exec /usr/bin/blackbox # Works with gdm on RH 7/8 The Debian system's /etc/X11/Xwrapper.config file has the line described by Karsten, the RH system doesn't have that file. Note that I don't know _why_ my solution works... HTH, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: Politics of Java
David Z Maze declaimed: One of these days I'll get around to doing a reasonable-sized project in Haskell, though: it has an incredible type system and seems to do the right thing around classes, though this is only so meaningful in a purely functional language. Saying well, I wrote about half of a compiler in Haskell certainly gets interesting reactions from the right sort of people... :-) Heh, me too! (Although likely on a more modest scale) I've just finished a Programming Languages course where we used Haskell to write a lambda calculus evaluator. Writing the input expressions as structures (Lambda x (Var y)) was so irritating that I wrote a parser to field string input (/x.y). It works nicely, although only the interpreter's built-in limits keep it from blowing up on expressions that expand infinitely. For those who've never seen this language, here's the quicksort algorithm in 2 lines: qsort([])= [] qsort((a:b)) = qsort([x | x-b, xa])++[a]++qsort([y| y-b, ya]) Not sure about licensing, but it's small, free, and available for *nix, MacOS, and Wintel. http://haskell.org -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help with login/environment: bash_profile, bashrc, xdm
Matthew Weier O'Phinney declaimed: I was using gdm and all was fine, except that So I switched to xdm Just a question... do you really need to use a session manager? I've been using blackbox for a year now, and I do fine without a session manager (I did fine without one before, too). The 'startx' command gets you into X when you need it (which, granted is most of the time for me), and also means that your environment is preserved when you enter X. Any items I specifically want in all term environments I throw into my .bashrc (aliases, some environmental variables, etc). Any programs I want to run on initialization of X I throw into .xinitrc. -- Matthew Weier O'Phinney [EMAIL PROTECTED] A very good point, I've also mostly used startx but with .xsession instead of .xinitrc--my understanding is that startx will use whichever one it finds. Is there any difference that you know of? Regarding 'why?', I can only say that I was seduced by the dark side of GUI--for about two weeks gdm showed a picture of my daughter on the background, and my cute 'Rat Hed Linux' logo in the login window. Then it ceased to display the PNG's without reporting any errors, even after being reconfigured. Since xdm was installed, I thought I could just switch to it but then I found that it wasn't processing .bash_profile. I'll check out the website referenced in the previous reply and see what I can figure out. Thanks, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mail basics on a debian system
Robert Land declaimed: I'm not very experienced with unix/linux and would appreciate some information on the mail topic. I have this one box system, using my general account 'rland' and sometimes root for system configuration. What I would like to know is if/how rland recieves mail actually ment for root, because I rarely do a root shell login. I couldn't find anything in the mail man page and /etc/mail.rc has nothing looking like root:rland, only /etc/aliases created by eximconfig has these entries which to my understanding forwards all mail to postmaster and root to me which is 'rland'. What I'm realy unsure about is if _all_ mail, even the one sent by the lowlevel 'mail' program goes through port 25. If yes, then exim should do all the work and all program/system messages sent to root should reach me with the help of exims /etc/aliases file. Is this correct and how can I generate a system failure which would cause a root mail to test this. Here's a test routine: 1. Log in as rland. 2. $ mail root -s mail to root /dev/null 3. Launch your favorite email reader ('mail' will do) and see if you have a message titled mail to root. 4. You should check out the Mail-Administrator and Mail-User HOWTO docs. Debian installs exim by default, anything named 'sendmail' on a default Debian system is actually a symlink to exim. HTH, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Help with login/environment: bash_profile, bashrc, xdm
Hi. I use the blackbox window manager, but I'm having trouble with my default environment. I was using gdm and all was fine, except that - My customizations to the login window kept getting bonked. - If you ctrl-alt-f1 to get a non-X terminal, it keeps coming back every n seconds without being asked. Especially annoying if your X configuration is bad... I'm just not a GNOME fan. So I switched to xdm - and my .bash_profile stopped getting processed. So that after opening an xterm, none of my custom environment variables were active, just the custom aliases in .bashrc. - I tried putting 'source ./.bash_profile' at the top of my xsession file, but no luck. Can someone tell me, or point me to the right docs, to get xdm to run .bash_profile so that all term windows inherit the environment? And a more philosophical question: Anyone care to provide a 50 word essay on the proper use of .bash_profile and .bashrc? I have an environment that generally works, but it's based on random examples, trial, and error rather than consistent application of fundamental principles. TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Fixed libstdc++2.10-glibc2.2 package
Matthias Klose declaimed: The libstdc++2.10-glibc2.2_2.95.4-14 package contains a broken libstdc++ library. To work around the problem, provide the missing library by a smbolic link. Execute as root: ln -sf libstdc++-3libc6.2-2-2.10.0.so /usr/lib/libstdc++-libc6.2-2.so.3 A fixed package can be found at: http://incoming.debian.org/libstdc++2.10-glibc2.2_2.95.4-15_i386.deb Thanks for posting this! It kept my down-time 5 minutes. The moral: when something big goes wrong after an apt-get upgrade, try again, then try deb-user. Regards, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Fixed libstdc++2.10-glibc2.2 package
Craig Dickson declaimed: It's unfortunate that this happened, but this is unstable, and developers aren't perfect. I'm actually less disturbed that this happened than that so many people have posted desperate please help messages about it, That was sort of my point. I looked for a message on the topic before posting myself or filing a bug report and the answer was right there. I mean, seriously, let's look at the process in detail... This was very helpful, thank you. Or you could try to just back out of the problem like this: # dpkg -i --force-downgrade /var/cache/apt/archives/libstdc++2.10-glibc2.2_1%3a2.95.4-12_i386.deb In general I knew that this was an option, but of course 'man dpkg' was one of the commands that failed... why run unstable, which is _intended_ as a place for leading-edge testing -- catch it here before it breaks something really important -- if you aren't able to deal with the problems that sooner or later _will_ arise? Like many other people, I started running unstable because Potato was hopelessly out of date and Woody felt very stale. I've stuck with it since the Woody release because I don't feel much like downgrading my system. But I also believe that running unstable means that I've agreed to ride out the bumps without squawking. Thanks for your post, I appreciated reading your point of view and gaining the benefit of your troubleshooting process, not to mention reading everyone else's reactions to your ideas. Regards, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Segmentation faults in apropos
Colin Watson declaimed: On Tue, Oct 29, 2002 at 04:35:15PM -0800, Paul Mackinney wrote: I've been running Sid, for some time, lately I've started getting segmentaion faults when I run apropos, as in the following: $ apropos hyphenation Segmentation fault $ This has so far been reported as a bug six times, and is a bug in glibc 2.3.1's regexec() implementation. See http://bugs.debian.org/165603. Cheers, -- Colin Watson (man-db maintainer) [[EMAIL PROTECTED]] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Thanks, Colin. I did look in the bug tracker before posting, the search mechanism came up empty on open bugs with 'apropos'... PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Segmentation faults in apropos
I've been running Sid, for some time, lately I've started getting segmentaion faults when I run apropos, as in the following: $ apropos hyphenation Segmentation fault $ When I run with the debug flag, I get a bunch of normal-looking messages about paths, ending with adding mandatory man directories adding /usr/man to manpath /usr/share/man is already in the manpath /usr/X11R6/man is already in the manpath /usr/local/man is already in the manpath add_nls_manpath(): processing /usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/man adding /usr/local/man to manpathlist adding /usr/share/man to manpathlist adding /usr/X11R6/man to manpathlist adding /usr/man to manpathlist lower(hyphenation) = hyphenation path=/usr/local/man path=/usr/share/man free_hashtab: 11 entries, 11 (100%) unique Segmentation fault $ Any ideas on this? Thanks, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xdm config help
Karl E. Jorgensen declaimed: On Mon, Oct 21, 2002 at 03:20:11PM +0100, Karl E. Jorgensen wrote: There might well be a bug in there somewhere, for the life of me I cannot see what package owns /etc/X11/default-display-manager - it does not seem to be managed by [dpkg]. ... There seem to be debconf bits for it in both gdm and xdm though. That bit of code is present in in /etc/init.d/gdm too - and I would not be surprised to find it in other display managers. My personal preference would be to invent the package: x-display-manager-admin-utils and stick the code in here, and let [a-z]dm Depend: on x-display-manager-admin-utils. Perhaps somebody can do that? I'll be applying to becoming a Debian Maintainer (again) soon, and it looks like a relatively easy project. On the downside, it requires a fair bit of coordination with the maintainers of [a-z]dm. I have to say that adding a new package doesn't strike me as the best solution--surely Debian has enough packages already? What if we found out what package(s) create the thing and include the file in the package rather than having a script create it? From the following dpkg man entry: dpkg -L | --listfiles package ... List files installed to your system from package. However, note that files created by package-specific installation-scripts are not listed. I deduce that the file is created by an installation-script. Where's the utility to parse the scripts list the files they create? [a joke, surely there are so many ways to create files with bash, perl, etc. that this isn't really possible...] But I don't mean to pick nits, if you're willing to work as a package maintainer and a new package is the right thing, then you have my thanks and support. That 'coordination with the maintainers' you speak of is surely one of the toughest parts of the job. Regards, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xdm config help
Karl E. Jorgensen declaimed: On Fri, Oct 18, 2002 at 11:10:39PM -0700, Paul Mackinney wrote: I'm trying to set up xdm. Whenever I boot the last message I see before the login prompt is: Not starting X Display Manager (xdm); it is not the default display manager. I run xdm, and for me it says: /usr/bin/X11/xdm Yep that was it. I feel silly. Even worse, all the info you'd ever need to figure this out is right at the top of the /etc/init.d/xdm script. Still, I did do the following: - read the man pages, no mention of default display manager in any context. - reinstall (apt-get install --reinstall) - remove and then intstall (apt-get remove --purge, apt-get install) (the xdm package scripts don't touch or verify the default-display-manager file) It doesn't feel right that reinstallation doesn't detect or fix the issue. IMO, the best solution would be to modify the /etc/init.d/xdm script. Even if it's set to respect the default-display-manager file, it could check that the current default display manager exists before deciding not to launch. Current 'start' block is: case $1 in start) if [ -e $DEFAULT_DISPLAY_MANAGER_FILE ] \ [ $HEED_DEFAULT_DISPLAY_MANAGER = true ] \ [ $(cat $DEFAULT_DISPLAY_MANAGER_FILE) != $DAEMON ]; then echo Not starting X display manager (xdm); it is not the default display manager. else echo -n Starting X display manager: xdm start-stop-daemon --start --quiet $SSD_ARGS || echo -n already running echo . fi ;; It would be easy to add the test [ $(which $(cat $DEFAULT_DISPLAY_MANAGER_FILE)) = \ $(cat $DEFAULT_DISPLAY_MANAGER_FILE) ] If the test fails, display a warning message echo The default display manager, $(cat \ $DEFAULT_DISPLAY_MANAGER_FILE), doesn't appear to be present. \ Please enter the desired path (e.g., $DAEMON) in \ $DEFAULT_DISPLAY_MANAGER_FILE. and run xdm anyway. Shall I log this as a bug? PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
SOLVED: exim doesn't deliver to maildirs
Thanks to everyone for your advice. I solved this by re-running eximconfig, modifying it by using the examples people sent, and refering to /usr/doc/exim/spec.txt. For those who want to convert from mbox to Maildir, here's what I had to do: 1. exim.conf changes: local_delivery: driver = appendfile create_directory = true # new line directory_mode = 700# new line group = mail mode = 0660 # mode_fail_narrower = false envelope_to_add = true return_path_add = true # file = /var/spool/mail/${local_part} directory = ${home}/Maildir/# new line address_directory: driver = appendfile no_from_hack check_string =# new line prefix = suffix = maildir_format # new line userforward: driver = forwardfile directory_transport = address_directory # new line file_transport = address_file pipe_transport = address_pipe reply_transport = address_reply no_verify check_ancestor check_local_user file = .forward modemask = 002 filter 2 .muttrc changes: set mbox_type=Maildir (change all mbox refs to point to desired maildirs) (launch mutt and create desired maildirs, including parent Maildir folder, by saving messages to them after setting the mbox_type) Note that mutt supports both mboxes and Maildirs, the mbox_type variable just says which kind it will create when you create a new mailbox. 3. .forward changes: Rewrite filter rules, make sure that every Maildir reference ends with a '/'. NOTES I had no problem changing exim's local_delivery transport because my box is a single-user system. You might want to leave it alone. If your filters have decent defaults, nothing will ever get saved to /var/spool/${local_part} anyway. Several people have offered to proved perl-scripts, etc. for converting mboxes to maildirs. Personally, I find that mutt provides enough tools to do the job handily for small mboxes, for the larger ones I'm going to treat the problem as a python programming excercise. Thanks all, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Group
Carlos Sousa declaimed: On Sun, 23 Jun 2002 16:58:03 +0200 Jimmy Vil [EMAIL PROTECTED] wrote: Hi! If i add a user to a group in /etc/group, what shall i do to make my changes work? I don?t think a have to reboot every time i change that file... :-) / Jimmy Logout and login again, no need to reboot. And no need to logout/login: root does this: # addgroup user new_group user does this: $ newgrp new_group HTH, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Install from binary -1 iso cd [OT]
ben declaimed: On Sunday 23 June 2002 07:36 pm, Todd Benson wrote: Hi, My install is bogging down when I get to the package selection phaseI choose CDROM as my source, and then a brief message flashes 'kernel does not support ISO9960 file system' - perhaps I don't remember the ISO number right, but that's the idea. I downloaded the iso file using jigdo. Any help is greatly appreciated! Todd it's iso9660. are you booting from the cd? have you mounted the cd? is it a scsi device? give us more details. the more you can elaborate in the definition of the problem, the better the help you'll get. i've never used jigdo. do you have a base system installed, i.e. can you boot into debian already? ben A tangential question: Suppose I'm booted, but not from the CD, and I _do_ have access to my CD, and the Woody 1 CD is mount (e.g., /dev/hdc - /cdrom) How can I start the Woody install script without rebooting? TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: exim doesn't deliver to maildirs
Derrick 'dman' Hudson declaimed: On Sun, Jun 23, 2002 at 07:29:16PM -0700, Paul Mackinney wrote: | Christian Schoenebeck declaimed: | I've been trying to switch from mbox to maildir, but exim won't deliver | to my maildirs. Here's the relevant section of my exim.conf: | | I replaced the local_delivery section by: | |local_delivery: | driver = appendfile | create_directory = true | directory_mode = 700 | directory = ${home}/Maildir ^ | group = mail | mode = 0660 | envelope_to_add = true | return_path_add = true | maildir_format | | That works for me. I also found a nice perl script which converts old mbox - | Maildir. Let me know if you need it. | Well this doesn't hurt at any rate, the old system of having the primary | deliver go to | | file = /var/spool/mail/${localpart} Do note that you must use the directory = option, not the file = option in conjunction with maildir_format. Yes, I'm now using directory = ${home}/Maildir/ | was also working. The mbox or Maildir specified in the local_delivery | transport of exim.conf gets the mail. The problem is that my .forward | file won't file mail to Maildirs, just mboxes. A stripped down example | is: | |# Exim filter |if error_message then | finish |endif | |if $h_Subject contains mailtest then |seen save $home/Maildir/test/ ^ |else |save $home/Maildir/inbox ^ |endif |finish |# end .forward | | According to the comments in exim.conf:TRANSPORTS CONFIGURATION, it's | the address_directory transport that handles addresses generated by | .forward files. Could you send me that section? It handles addresses that have a trailling slash. If it doesn't have a trailling slash, the address_file transport handles it. (see the the arrows I inserted above) -D Yes, I understand this. My situation is that 'inbox' is an mbox file. 'test/' is a maildir directory. Using the above .forward file, mail is delivered to 'inbox' and all other mboxes. Mail is not delivered to 'test/' or any other maildir. Because the filter passes the tests described in the documentation, my working assumption is that something's wrong with the TRANSPORTS CONFIGURATION section of exim.conf. Here it is with comments stripped for brevity. Comments, or a copy of anyone's working exim.conf very much appreciated. local_delivery: driver = appendfile create_directory = true directory_mode = 700 directory = ${home}/Maildir/ group = mail mode = 0660 envelope_to_add = true return_path_add = true maildir_format address_pipe: driver = pipe path = /usr/bin:/bin:/usr/local/bin return_output address_file: driver = appendfile envelope_to_add = true return_path_add = true address_directory: driver = appendfile no_from_hack prefix = suffix = maildir_format address_reply: driver = autoreply procmail_pipe: driver = pipe command = /usr/bin/procmail return_path_add delivery_date_add envelope_to_add suffix = remote_smtp: driver = smtp end TIA, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: exim doesn't deliver to maildirs
Christian Schoenebeck declaimed: Es geschah am Montag, 24. Juni 2002 22:26 als Paul Mackinney schrieb: So, no matter of your .forward file, does Maildir at least work or are all messages saved in mbox? Maildir works. After changing local_delivery to directory = ${home}/Maildir/ mail does get delivered to the root of my Maildir folder when the .forward file is removed. I suppose I could work around this by skipping the exim .forward stuff and just invoking procmail from .forward, but I was kind of waiting to get into procmail until I'd converted to maildirs. Currently I'm not using procmail. Because the filter passes the tests described in the documentation, my working assumption is that something's wrong with the TRANSPORTS CONFIGURATION section of exim.conf. No, I don't think so, but anyway, here's my complete exim.conf, but it's as far as I can remember the default config file except the adjustment of the local section: Thanks very much. One thing I note is that the two people who provided me with examples of a local_delivery: routine gave me almost identical examples. This leads me to think that there's a doc about Maildir exim that I haven't found. So far I've been working from the comments in exim.conf and the material in /usr/doc/exim/ My next plan is to closely compare my exim.conf file to yours. Thanks very much for sending it. Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How stable is dual head, twin view feature ?
Sean 'Shaleh' Perry declaimed: So just wondering if it's just me that has problems with twinview stuff ? Or is there any other settings that you would recommend - how well is Matrox G400 or Agp+PCI settings ? they run well ? I use a dual head matrox card every day. I use a Matrox G400 AGP, works great with the blackbox window manager which I have to plug with Sean on the thread. I run the CVS build of blackbox, running a seperate server on each display which I like better than xinerama since my displays aren't a matched set. Only downside is video RAM: I have the 16 MB card, can run my 17 display at 1152x864 and the 15 display at 1024x768 both in 16-bit color, not enough RAM for 24-bit. Since I have some extra 8 MB cards lying around I'm considering popping one in to run the 15 display and have 24-bit color on both. I've also installed the Matrox framebuffer stuff which I _don't_ use for X, but when not running X I have some very nice looking fonts and 132 char lines. And the penguin, of course. I only get a term window on my primary display, the other shows abstract art until I start X. YMMV. Gotchas: - Took me a long time to get it running, solution was to download and install the drivers from the Matrox website. There are very good dual-head XF86Config-4 examples out there. - Every so often an apt-get update will fry the drivers and X quits starting. The solution is to reinstall the Matrox drivers, but the the installation script will only run from an xterm (WHY!?). Solution is to run xf86cfg, and play with it until I get into twm and can open rxvt, then I can run the Matrox install script and all is well again. Suggestions for how to avoid this entirely are very welcome. PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
exim doesn't deliver to maildirs
I've been trying to switch from mbox to maildir, but exim won't deliver to my maildirs. Here's the relevant section of my exim.conf: Default address_directory transport: address_directory: driver = appendfile no_from_hack prefix = suffix = # maildir_format What I've put in based on the comments in the exim.conf file: address_directory: driver = appendfile no_from_hack prefix = suffix = maildir_format address_directory2: driver = appendfile no_from_hack prefix = suffix = maildir_format Here's the output of a filter test, which seems to indicate success. Similar mail targeted to mboxes gets delivered. me$ /usr/lib/sendmail -bf .forward test Sender= [EMAIL PROTECTED] Recipient = [EMAIL PROTECTED] Testing Exim filter file .forward Save message to: /home/me/Mail/test/ TIA for any help, PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How stable is dual head... Matrox G400
Sean 'Shaleh' Perry declaimed: I use a dual head matrox card every day. I use a Matrox G400 AGP, works great with the blackbox window manager which I have to plug with Sean on the thread. I run the CVS build of blackbox, running a seperate server on each display which I like better than xinerama since my displays aren't a matched set. thanks Gotchas: - Took me a long time to get it running, solution was to download and install the drivers from the Matrox website. There are very good dual-head XF86Config-4 examples out there. I am using a single dual head card with the stock drivers in Debian. Very interesting. My second display never showed other than solid black under X without the Matrox drivers. For future archive searchers, the name of the package I downloaded from Matrox is mgadrivers-2.0.tgz Which installed the files /usr/X11R6/lib/modules/drivers/mga_drv.o /usr/X11R6/lib/modules/drivers/mga_hal_drv.o I also checked out Matrox's Linux version of MGA Power Desk 1.0 b8, which is a gui tool for setting up your displays. It defaults to enabling Xinerama and had some bugs (swapped my displays left-to-right) and limitations (sets both displays to same resolution). But for beta software it wasn't bad, and it did create a dual-head XF86Config-4 file with examples of useful settings that ran both heads. Someone starting with this tool could probably get things working to their satifsaction with a modest amount of editing. Very nice to see Matrox working on this. PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: exim doesn't deliver to maildirs
Christian Schoenebeck declaimed: I've been trying to switch from mbox to maildir, but exim won't deliver to my maildirs. Here's the relevant section of my exim.conf: I replaced the local_delivery section by: local_delivery: driver = appendfile create_directory = true directory_mode = 700 directory = ${home}/Maildir group = mail mode = 0660 envelope_to_add = true return_path_add = true maildir_format That works for me. I also found a nice perl script which converts old mbox - Maildir. Let me know if you need it. Well this doesn't hurt at any rate, the old system of having the primary deliver go to file = /var/spool/mail/${localpart} was also working. The mbox or Maildir specified in the local_delivery transport of exim.conf gets the mail. The problem is that my .forward file won't file mail to Maildirs, just mboxes. A stripped down example is: # Exim filter if error_message then finish endif if $h_Subject contains mailtest then seen save $home/Maildir/test/ else save $home/Maildir/inbox endif finish # end .forward According to the comments in exim.conf:TRANSPORTS CONFIGURATION, it's the address_directory transport that handles addresses generated by .forward files. Could you send me that section? TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mutt and my email address
Keith G. Murphy declaimed: Mike Thompson wrote: at the end of /etc/exim/exim.conf write [EMAIL PROTECTED] [EMAIL PROTECTED] Ffr or similar. Also, look at the really nice rewriting rule that is commented out at the end of the default exim.conf provided in the Debian package. It uses /etc/email-addresses so that you can set up other-domained aliases for any local users. Then exim will automatically change the headers accordingly as your mail goes out. Advantage of this is that, like Mike's suggestion, it still works if you change mail clients (MUAs), say, from mutt to sylpheed. Of course, doesn't work if you don't use exim... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] A late reply, but I've been delving into exim lately. From /usr/share/doc/exim/README.Debian.gz: --- snip --- The config file written by eximconfig includes a feature where you can set the email address used for outgoing emails on a per-user basis by editing /etc/email-addresses. --- end --- You probably have one sitting there right now that was installed by exim, just needs your cusomizations. Syntax is: #user: [EMAIL PROTECTED] #otheruser: [EMAIL PROTECTED] After trying all the things people suggested for .muttrc, this is what worked for me. Cheers, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mutt+Maildir Pros Cons?
Paul Mackinney declaimed: Patrick Hsieh declaimed: Hello list, I use postfix and Maildir together. When I export MAIL=$HOME/Maildir, mutt can read the inbox. But when I send mail out, it will not backup in the $HOME/Maildir/.Sent directory. How to make it work? I've been using mutt with mbox, fairly happy. I understand the argument for maildir (all eggs not in one basket), are there any cons? Also, if I want to migrate to a maildir setup -advice on doing it safely? -I gather that most muttrc commands that reference mboxes with work fine if I replace the mbox files with maildirs with the same names. Any gotchas? Thanks for the advice, I still seem to have hit the gotchas. Converting mboxes to Maildirs worked fine, but now all my incoming mail is getting frozen the the /var/mail/user file. Here's what I've done: Uncommented the 'maildir_format' line in the address_directory section of /etc/exim/exim.conf. This seems straightforward given the comments in the file. Restarted exim. Added a trailing '/' to the mailboxes in my .forward file, and used mutt to create the actual maildir directories with the right names. Reduced my .forward file to: |# Exim filter |if error_message then | finish |endif | |save $home/Mail/inbox/ What next? Please cc: [EMAIL PROTECTED] on your replies so I can read them without having to manually unfreeze forward them. TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Help w/CDROM constant polls
Help! /var/log/messages is filling up with the following kind of entry: Apr 23 18:16:38 dog kernel: sr0: CDROM not ready. Make sure there is a disc in the drive. Apr 23 18:16:38 dog gconfd (paul-1210): starting (version 1.0.9), pid 1210 user 'paul' Apr 23 18:16:39 dog kernel: sr0: CDROM not ready. Make sure there is a disc in the drive. Apr 23 18:17:10 dog last message repeated 26 times Apr 23 18:18:12 dog last message repeated 51 times Apr 23 18:19:13 dog last message repeated 51 times Apr 23 18:20:14 dog last message repeated 51 times This is an IDE CD-R/W configured as a SCSI device. I'm running wmcdplay and wmmixer, but killing them didn't help. The CD works fine for playing audio CDs, and for burning last time I needed to. How to prevent these messages? TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mutt+Maildir Pros Cons?
Patrick Hsieh declaimed: Hello list, I use postfix and Maildir together. When I export MAIL=$HOME/Maildir, mutt can read the inbox. But when I send mail out, it will not backup in the $HOME/Maildir/.Sent directory. How to make it work? I've been using mutt with mbox, fairly happy. I understand the argument for maildir (all eggs not in one basket), are there any cons? Also, if I want to migrate to a maildir setup -advice on doing it safely? -I gather that most muttrc commands that reference mboxes with work fine if I replace the mbox files with maildirs with the same names. Any gotchas? Thanks, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Dual Boot with Win2k
Matthew Daubenspeck declaimed: Has anyone had any dual-boot experience with Windows 2000? I currently have linux on one drive and 2K on another, and am looking for a viable way of dual booting the two... Thanks! Don't forget my (politically incorrect) favorite: - Install Windows NT/2000/XP - Install Linux - create a boot floppy - don't let it write the MBR, instead have it write the boot sector at the beginning of your root partition - Boot Linux - run 'dd bs=512 if=/dev/hda5 of=/bootsect.lnx count=1' You probably need to be root, user your root partition for /dev/hda5 - Copy bootsect.lnx to your C:\bootsect.lnx (your Windows startup disk). - Add the following line to your Windows boot.ini file: C:\bootsect.lnx=Debian Linux Voila! The NT Loader will now offer to boot Linux. You can even make it the default. Pro: This technique violates the Microsoft Software License Agreement you agreed to when you installed Windows. They make you promise not to use their OS loader to boot a non-Microsoft OS. Every time I do it I feel like Jesse James. Con: You have to update the bootsect.lnx file each time you run lilo, and it's not something you really want to brag about at your local LUG. The Truth: Someday I will succumb to Dman's evangelizing and try Grub, meanwhile I boot from lilo and use the 'Other' option to boot Windows, but I do have a shellscript in my root directory that updates the bootsect.lnx thing automatically. I'd love to find a better use for that 10 GB of disk space, but this weekend I have to make a PowerPoint thingy for a class I'm taking :-( Cheers, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xscreensaver
Karsten M. Self declaimed: In a suitable window manager, you can then bind the lock screen command to a key combination. I have a majick three-finger salute that activates xscreensaver for me, damned convenient. I find this more useful than, say, an icon button. Cool idea, I will implement it. Related question: On a dual display system not using xinerama (e.g., different xserver on :0.0 and :0.1, can you get the screensaver to run on just one display? TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Reducing font size in X
Andy Saxena declaimed: On Sun, Apr 07, 2002 at 08:59:58PM +0200, Erik van der Meulen wrote: Dear group - I have just installed a Sid box supposed to run only X and Galeon. I found that the default install leves me with rather large fonts for the applications. I recall having solved this before by exchanging the FontPath for 100dpi and 75dpi in XF86Config. Now I have tried this again without success. I have noticed a new FontPath on top of the config file: FontPath unix/:7100 Just an FYI: The above line refers to the font server port. Opinions may differ but, if you are running the latest version of X, a font server is not necessary. Wow. I just halted xfs and restarted X. Everything looks the same. Before I unsinstall xfs completely, I have two questions: - Does anything need the font server? Sometimes I launch X-windows remotely after connected via ssh. - The last time I configured my font list, it was to rearrange the 75/100dpi listings in /etc/X11/xfs/config. If xfs goes away, does X fall back on the list in XF86Config-4? Currently I have FontPath unix/:7100 FontPath /usr/lib/fonts/misc ... etc ... So if I were to uninstall xfs, I'd just remove the first line, right? TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: color text in terminals...
Karsten M. Self declaimed: on Mon, Apr 08, 2002, Crispin Wellington ([EMAIL PROTECTED]) wrote: On Mon, 2002-04-08 at 14:15, Ross Tsolakidis wrote: Hi there, Simple question... In Redhat by default, in a terminal when you do a dir listing, the files are color coded.. dirs, executables, text... etc... How can I do this on Debian ? Running Debian Sparc Woody. ls --color For permanence. Add alias ls=ls --color to your .bashrc file. May I suggest: alias ls=ls --color=auto ...which toggles color on and off depending on whether stdout is a terminal or a pipe. Personally I find it lurid and annoying :) That was my initial take some years ago. Now I find Unices which lack a colorized ls depriving. Color is a good cue. Indeed. It's been a long time since I used ls -F by default. BTW: The option Karsten suggests is probably in your .bashrc right now but commented out. You might want to check .bash_profile also for other commented out configuration ideas. Personally, I like alias rm='/bin/rm -i' alias mv='/bin/mv -i' alias cp='/bin/cp -i' Although there's a valid school of thought that this sets you up to make bad mistakes when you expect them to be set and they're not. The defaults for new accounts are kept in /etc/skel. PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Unix(LF) files to MSDOS(CRLF) and vice versa
Daniel Toffetti declaimed: Hi ! How can I use rpl (or any other suitable command) to transform the \n character between Unix and Msdos formats ?? rpl seems to be the right tool, but I can't figure out how to specify that strings. Thanks !! -- Daniel Toffetti --- 'There is no spoon...' - The Matrix Running the bleeding edge Debian Sid version 3.0 Linux luni 2.4.13 #1 SMP Sun Oct 28 18:30:53 ART 2001 i686 unknown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Lots of good answers, let's not forget trusty old tr, it's feeling neglected. The key thing you need to know is the standard cr/lf sequence for text files: Mac ^M 013 0x0D\r Win ^M^J013 010 0x0D 0x0A \r \n 'nix ^J 010 0x0A\n PM -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: SOLVED: X broken after sid update, Matrox driver error
dave mallery declaimed: On Fri, 5 Apr 2002, Paul Mackinney wrote: Simon Hepburn declaimed: Paul Mackinney wrote: After apt-get dist-updating to the latest version of sid last night (approx 2002-04-03 23:00 PST), I can't start X-windows. Anyone else having problems? Should I report a bug? Well, is this is a matrox bug or an X bug ? I would post to debian-x initially, rather than file a bug report. It's a matrox bug... sort of. After remembering that I have a brain, I reinstalled the custom beta mga drivers I got from the Matrox website and well (blush) all is OK. doh! Paul: the only custom drivers i can find on the matrox site have to be compiled from source along with X and under a 2.4 kernel. is that the only way to get em?? thanks dave Look here: http://www.matrox.com/mga/support/drivers/latest/home.cfm I downloaded the ones named BETA 2.0 in the row labeled Millenium G400 / Millenium G400 MAX and the column labeled Linux. Note that the 'mgapdesk' utility i buggy, came up showing my two displays swapped left-to-right, etc., but it did leave me with a config file I could edit to obtain the desired results. HTH, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
SOLVED: X broken after sid update, Matrox driver error
Simon Hepburn declaimed: Paul Mackinney wrote: After apt-get dist-updating to the latest version of sid last night (approx 2002-04-03 23:00 PST), I can't start X-windows. Anyone else having problems? Should I report a bug? Well, is this is a matrox bug or an X bug ? I would post to debian-x initially, rather than file a bug report. It's a matrox bug... sort of. After remembering that I have a brain, I reinstalled the custom beta mga drivers I got from the Matrox website and well (blush) all is OK. doh! Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
X broken after sid update, Matrox driver error
After apt-get dist-updating to the latest version of sid last night (approx 2002-04-03 23:00 PST), I can't start X-windows. The problem lines in /var/log/XFree86.0.log are Symbol fbPictureInit from module /usr/X11R6/lib/modules/drivers/mga_drv.o\ is unresolved! Symbol XAA_888_plus_PICT_a8_to_ from module /usr/X11R6/lib/modules/dr\ ivers/mga_drv.o is unresolved! I'm using a 16 MB Matrox G400 dual-head with two displays, working great until the update. I tried disabling the second screen in XF86Config-4, but it didn't help. I've attached two log files: XFree86.0.log shows the error XFree86.8.log shows a successful X session Anyone else having problems? Should I report a bug? TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] This is a pre-release version of XFree86, and is not supported in any way. Bugs may be reported to XFree86@XFree86.Org and patches submitted to [EMAIL PROTECTED] Before reporting bugs in pre-release versions, please check the latest version in the XFree86 CVS repository (http://www.XFree86.Org/cvs) XFree86 Version 4.1.0.1 / X Window System (protocol Version 11, revision 0, vendor release 6510) Release Date: 21 December 2001 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/FAQ) Build Operating System: Linux 2.4.17 i686 [ELF] Module Loader present (==) Log file: /var/log/XFree86.0.log, Time: Thu Apr 4 07:32:40 2002 (==) Using config file: /etc/X11/XF86Config-4 Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) ServerLayout Matrox PowerDesk configured. (**) |--Screen Display 1 (0) (**) | |--Monitor Display 1 (**) | |--Device MATROX CARD 1 (**) |--Screen Display 2 (1) (**) | |--Monitor Display 2 (**) | |--Device MATROX CARD 2 (**) |--Input Device Keyboard_0 (**) Option AutoRepeat 500 30 (**) Option XkbRules xfree86 (**) XKB: rules: xfree86 (**) Option XkbModel pc105 (**) XKB: model: pc105 (**) Option XkbLayout us (**) XKB: layout: us (==) Keyboard: CustomKeycode disabled (**) |--Input Device Mouse_0 (WW) The directory /usr/lib/X11/fonts/local does not exist. Entry deleted from font path. (WW) The directory /usr/lib/X11/fonts/Latin2 does not exist. Entry deleted from font path. (**) FontPath set to /usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/TrueType,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID (**) RgbPath set to /usr/X11R6/lib/X11/rgb (==) ModulePath set to /usr/X11R6/lib/modules (**) Option BlankTime 5 (--) using VT number 7 (WW) Open APM failed (II) Module ABI versions: XFree86 ANSI C Emulation: 0.1 XFree86 Video Driver: 0.4 XFree86 XInput driver : 0.2 XFree86 Server Extension : 0.1 XFree86 Font Renderer : 0.2 (II) Loader running on linux (II) LoadModule: bitmap (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor=The XFree86 Project compiled for 4.1.0.1, module version = 1.0.0 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.2 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor=The XFree86 Project compiled for 4.1.0.1, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.4 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x80010040, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 8086,7190 card , rev 03 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 8086,7191 card , rev 03 class 06,04,00 hdr 01 (II) PCI: 00:07:0: chip 8086,7110 card , rev 02 class 06,01,00 hdr 80 (II) PCI: 00:07:1: chip 8086,7111 card , rev 01 class 01,01,80 hdr 00 (II) PCI: 00:07:2: chip 8086,7112 card , rev 01 class 0c,03,00 hdr 00 (II) PCI: 00:07:3: chip 8086,7113 card , rev 02 class 06,80,00 hdr 00 (II) PCI: 00:09:0: chip 1274,1371 card 1274,1371 rev 02 class 04,01,00 hdr 00 (II) PCI: 00:0b:0: chip 1011,0002 card , rev 23 class 02,00,00 hdr 00 (II) PCI: 01:00:0: chip 102b,0525 card 102b,2159 rev 05 class 03,00,00 hdr 00 (II) PCI: End of PCI scan (II) LoadModule: scanpci (II) Loading /usr/X11R6/lib/modules/libscanpci.a (II) Module scanpci: vendor=The XFree86 Project compiled for 4.1.0.1, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.4 (II) UnloadModule: scanpci (II) Unloading /usr/X11R6/lib/modules/libscanpci.a (II) Host-to-PCI bridge
Re: fun with printers
Andrew Agno declaimed: Paul Mackinney writes: Andrew Agno declaimed: If it's raw postscript, you'll just see text. Is that what you get? It looks like gibberish: *~U@ This looks like you've got the wrong driver for your printer then. But the test page worked... However I switched from the stp-4.0 driver to the stc2 driver and I can now print postscript files from the command line, so presumably I've gotten past the biggest hurdle. Thanks! Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: fun with printers
Andrew Agno declaimed: Paul Mackinney writes: I can print text from emacs, but when I print from Abiword or Mozilla, it spews page after page of what I assume is raw postscript code. I haven't found anything in the CUPS docs that covers this. Where to I start troubleshooting? If it's raw postscript, you'll just see text. Is that what you get? It looks like gibberish: *~U@ /[EMAIL PROTECTED] ~*( [EMAIL PROTECTED]( . . . pages and pages and pages if I don't stop it. You can try to set Mozilla's print command (File-Print-Properties...) to lpr -Pyour printer name This works for me. Failed for me. You can also try printing to a postscript file, then printing to your printer manually. lpr foo.ps does the same. And just now I reran the cups webadmin tool to set everything it, it looks totally groovy, but when I try to print a test page nothing happens at all. I'm going to apt-get remove --purge all the cups packages and start over, unless anyone can advise a more focussed procedure. I'm really trying to do the minimal setup, I have one computer and one printer. I configure the printer, specifying EPSON, Parallel Port #1, and the foomatic stp-4.0 driver. My goal is basically to be able to print from emacs and abiword with a vague notion of how the output will look... TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Kernel Panic help
I thought rebuilding my kernel would be routine, but I can't get it to boot. Here's what I'm doing: 1. Installed kernel-image-2.4.18-686. 2. Copied to the config, modified it take out all the stuff not on my system and the stuff I'll never use, add the things to be able to use my IDE CD-RW drive as a SCSI Drive, add the matrox framebuffer. This was done with xconfig. 3. As root, ran 'make-kpkg clean' 4. As root, ran 'make-kpkg --revision=pm.1.3' 5. As root, ran dpkg -i ../kernel-image-2.4.18_pm.1.3_i386.deb 6. At the end of the install, let lilo do its thing. Note that I did not use the --initrd flag in the make-kpkg command because I didn't want to use an initrd image. Similarly, my lilo.conf file does not specify an initrd image. I tried this with and without enabling support for RAM disks and initrd in the kernel config, but even if you enable this stuff it doesn't get used unless you specify the --initrd in the make-kpkg command, right? But after 5+ tries I still can't boot from this thing. The error is cramfs: bad magic Kernel Panic: VFS: Unable to mount root fs on 03:08 which seems very much like an initrd kind of error. So what's going on? In order that my trivial and humiliating error can be publicly exposed, My lilo.conf and make config file are attached. BTW: One lesson I have learned the hard way is to set up a kernel that boots with the lable 'Failsafe' in Lilo. That way if you install two kernels that won't boot in a row, then first one overwrites your LinuxOLD setup and you get to have fun with your trusty Potato CD... TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] lba32 boot=/dev/hda root=/dev/hda8 #compact install=/boot/boot.b map=/boot/map vga=normal append=hdd=scsi video=matrox:vesa:26 message=/boot/bootmess.txt prompt # single-key delay=100 # timeout=100 default=Failsafe image=/vmlinuz label = Linux read-only image=/boot/vmlinuz-2.2.19pre17 label = Failsafe read-only other=/dev/hda1 label=Windows # # Automatically generated make config: don't edit # CONFIG_X86=y CONFIG_ISA=y # CONFIG_SBUS is not set CONFIG_UID16=y # # Code maturity level options # CONFIG_EXPERIMENTAL=y # # Loadable module support # CONFIG_MODULES=y CONFIG_MODVERSIONS=y CONFIG_KMOD=y # # Processor type and features # # CONFIG_M386 is not set # CONFIG_M486 is not set # CONFIG_M586 is not set # CONFIG_M586TSC is not set # CONFIG_M586MMX is not set CONFIG_M686=y # CONFIG_MPENTIUMIII is not set # CONFIG_MPENTIUM4 is not set # CONFIG_MK6 is not set # CONFIG_MK7 is not set # CONFIG_MELAN is not set # CONFIG_MCRUSOE is not set # CONFIG_MWINCHIPC6 is not set # CONFIG_MWINCHIP2 is not set # CONFIG_MWINCHIP3D is not set # CONFIG_MCYRIXIII is not set CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_CMPXCHG=y CONFIG_X86_XADD=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y # CONFIG_RWSEM_GENERIC_SPINLOCK is not set CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_X86_L1_CACHE_SHIFT=5 CONFIG_X86_TSC=y CONFIG_X86_GOOD_APIC=y CONFIG_X86_PGE=y CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_PPRO_FENCE=y # CONFIG_TOSHIBA is not set # CONFIG_I8K is not set # CONFIG_MICROCODE is not set CONFIG_X86_MSR=y CONFIG_X86_CPUID=y CONFIG_NOHIGHMEM=y # CONFIG_HIGHMEM4G is not set # CONFIG_HIGHMEM64G is not set # CONFIG_MATH_EMULATION is not set CONFIG_MTRR=y # CONFIG_SMP is not set CONFIG_X86_UP_APIC=y CONFIG_X86_UP_IOAPIC=y CONFIG_X86_LOCAL_APIC=y CONFIG_X86_IO_APIC=y # # General setup # CONFIG_NET=y CONFIG_PCI=y # CONFIG_PCI_GOBIOS is not set # CONFIG_PCI_GODIRECT is not set CONFIG_PCI_GOANY=y CONFIG_PCI_BIOS=y CONFIG_PCI_DIRECT=y CONFIG_PCI_NAMES=y # CONFIG_EISA is not set # CONFIG_MCA is not set # CONFIG_HOTPLUG is not set # CONFIG_PCMCIA is not set # CONFIG_HOTPLUG_PCI is not set CONFIG_SYSVIPC=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_SYSCTL=y CONFIG_KCORE_ELF=y # CONFIG_KCORE_AOUT is not set CONFIG_BINFMT_AOUT=y CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=y CONFIG_PM=y # CONFIG_ACPI is not set CONFIG_APM=m # CONFIG_APM_IGNORE_USER_SUSPEND is not set # CONFIG_APM_DO_ENABLE is not set # CONFIG_APM_CPU_IDLE is not set # CONFIG_APM_DISPLAY_BLANK is not set # CONFIG_APM_RTC_IS_GMT is not set # CONFIG_APM_ALLOW_INTS is not set CONFIG_APM_REAL_MODE_POWER_OFF=y # # Memory Technology Devices (MTD) # # CONFIG_MTD is not set # # Parallel port support # CONFIG_PARPORT=y CONFIG_PARPORT_PC=y CONFIG_PARPORT_PC_CML1=y CONFIG_PARPORT_SERIAL=m CONFIG_PARPORT_PC_FIFO=y # CONFIG_PARPORT_PC_SUPERIO is not set # CONFIG_PARPORT_AMIGA is not set # CONFIG_PARPORT_MFC3 is not set # CONFIG_PARPORT_ATARI is not set # CONFIG_PARPORT_GSC is not set # CONFIG_PARPORT_SUNBPP is not set # CONFIG_PARPORT_OTHER is not set CONFIG_PARPORT_1284=y # # Plug and Play configuration # # CONFIG_PNP is not set # # Block devices # CONFIG_BLK_DEV_FD=y # CONFIG_BLK_DEV_XD is not set # CONFIG_PARIDE is not set # CONFIG_BLK_CPQ_DA is not set # CONFIG_BLK_CPQ_CISS_DA is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_DEV_LOOP
Re: fun with printers
Andrew Agno declaimed: On my machine running the testing distribution, it would be something like this: 1. Install cupsys and its dependencies. 2. Point your browser to: http://localhost:631/admin 3. Click 'Add Printer' under the Printers section 4. Enter a name, location and description and continue 5. Enter your device (probably || port) and continue 6. Select Epson and continue 7. Select EPSON Stylus Color Series (I assume not the New Stylus Color Series, but something to try if this doesn't work) and continue 8. Select the printer (Go to the Printers page: http://localhots:631/printers) 9. And print a test page. Andrew. I have an Epson Stylus Color IIs. I have done exactly as you describe, and it prints beautiful test pages. I can print text from emacs, but when I print from Abiword or Mozilla, it spews page after page of what I assume is raw postscript code. I haven't found anything in the CUPS docs that covers this. Where to I start troubleshooting? TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: X doesn't redisplay on return from console
Dan Griswold declaimed: Derek Loree [EMAIL PROTECTED] writes: Hi Dan, Dan Griswold wrote: If I am in X, and then go to the a console (say) by means of ctrl-alt-F1, and then return to X with (e.g.) ctrl-alt-F7, then X doesn't come back up. I think it's running, but it ceases to send anything to the screen. Has ctrl-alt-F7 ever worked? It doesn't for me, and I used to resign myself to blowing my X session away after switching to the console. Then I learned that alt-left-arrow will cycle through the console windows and bring X back. Sorry if this answer is too basic, etc. Paul -- Paul Mackinney [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: MUTT Issue
Messages rearranged in top-to-bottom order... Bannerman, Israel declaimed: I recently installed Mutt. I am using imap to connect to the exchange system in the network. Everything is working fine except in order to see new mail that just arrived, I have to exit out of Mutt and start the application over again. I keep getting this message that says. Mailbox was externally modified. Flags may be wrong. Other than that, the app is working great. Is there anyone who is familiar with this type of situation? Darryl L. Pierce [EMAIL PROTECTED] Try typing $ while in Mutt. That tells it to refresh its display. Bannerman, Israel declaimed: Hey, I tried that but no luck. Thanks for the response. Mutt has two modes. One is when you're just looking at a list of messages, the other is when you're reading a message in the bottom of the window and (typically) looking at a list in the top of the window. The '$' command to update messages only works when you're in the former mode. So if you're looking at a message and want to see if there are more messages, you would: 1. Type 'q' to quit reading the message and return to the list mode. 2. Type '$' to update the list. 3. Type '?' for a huge, informative list of commands. (Compare to what happens when you type '?' while reading a message.) Apologies for not knowing the proper terms for the different modes, etc., non-newbies feel free to chime in. HTH, Paul -- Paul Mackinney [EMAIL PROTECTED]
Re: Dual head howto?
Thanks very much, this really helped. You had some things that were not in shown in the example in my XF86Config-4 file. Best effort so far: My main monitor runs X, the cursor goes off the screen to the left where I said the other monitor was, but the secondary monitor shows blank/garbage. The good news is that it changes when I change its config in XF86Config (named XF86Config-4 on debian). See the end of this post for key sections of my config file, feedback welcome. (The 2nd monitor apparently hates console mode, looks horrible even with the framebuffer disabled.) My config file is below, comments very welcome. BTW: Regarding X and fb: As Hans Ekbrand said in a parallel thread, I DON'T use fb and X at the same time; the matrox doc in kernel-sources.../Documentation/fb makes it very clear that while X might be able to use the framebuffer it certainly won't be accelerated and hints at dire incompatibilities. I was never tempted. As shown below, I use the mga driver for X windows. When I run X, no problems. When I switch to a non-X console I get a nice looking smooth font that has a much better resolution than 24x80. TIA, Paul #XF86Config-4, Monitor, Device, Screen Layout section, comments #omitted. Note that I usually run my Art Media (Trinitron clone) 17 #monitor at 1152x864 with depth 24, I've stepped this back while trying #to get the second monitor going as well. My Matrox G400 has 16 MB. Section Monitor Identifier Monitor_0 VendorName Art Media ModelName A-1701T HorizSync 30-70 VertRefresh 50-120 EndSection Section Monitor Identifier Monitor_1 VendorName MicroScan ModelName 4 GP HorizSync 30-64 VertRefresh 50-100 EndSection Section Device Identifier Standard VGA VendorName Unknown BoardName Unknown Driver vga EndSection Section Device Identifier Matrox_0 Driver mga BusID PCI:1:0:0 Screen 0 EndSection Section Device Identifier Matrox_1 Driver mga BusID PCI:1:0:0 Screen 1 EndSection Section Screen Identifier Screen_0 Device Matrox_0 Monitor Monitor_0 DefaultDepth 16 Subsection Display Depth 16 Modes 640x480 1152x864 1024x768 800x600 ViewPort0 0 EndSubsection EndSection Section Screen Identifier Screen 1 Device Matrox_1 Monitor Monitor_1 DefaultDepth 16 Subsection Display Depth 16 Modes 640x480 800x600 1024x768 ViewPort0 0 EndSubsection EndSection Section ServerLayout Identifier Dual Layout Screen Screen_0 Screen Screen_1 LeftOf Screen_0 InputDevice Mouse_0 CorePointer InputDevice Keyboard_0 CoreKeyboard EndSection TIA, Paul -- Paul Mackinney [EMAIL PROTECTED] Simon Hepburn declaimed: Here are the important bits. *do not * use this, modify it. The bus id for your card may well be different. Remember you cannot use Xinerama and 3d accel together, choose one or the other. # XF86Config-4 #Uncomment for Xinerama #Section ServerFlags # Option Xinerama yes #EndSection Section InputDevice Identifier Keyboard_0 Driver keyboard Option CoreKeyboard Option XkbRules xfree86 Option XkbModel pc102 Option XkbLayout gb EndSection Section InputDevice Identifier Mouse_0 Driver mouse Option CorePointer Option Device/dev/psaux Option Protocol IMPS/2 Option ZAxisMapping 4 5 EndSection Section Device Identifier Card_0 Driver mga VendorName Matrox BoardName MGA G400 AGP BusID PCI:1:5:0 Screen 0 EndSection Section Device Identifier Card_1 Driver mga VendorName Matrox BoardName MGA G400 AGP BusID PCI:1:5:0 Screen 1 EndSection Section Monitor Identifier Monitor_0 VendorName Sony ModelName CPD-17F23 HorizSync 31.5-64 VertRefresh 50-120 EndSection Section Monitor Identifier Monitor_1 VendorName Packard-Bell ModelName PB8539VG HorizSync 31.5 VertRefresh 60-70 EndSection Section Screen Identifier Screen_0 Device Card_0 Monitor Monitor_0 DefaultDepth16 SubSection Display Depth 16 Modes 1024x768 EndSubSection EndSection Section Screen Identifier Screen_1 Device Card_1 Monitor Monitor_1 DefaultDepth16 SubSection Display Depth 16