Re: Adding /dev/hdXX nodes
Jerome, > > The kernel detects and identifies the geometry on the drives > > (hda, c, e, g, i, k, m, o, q, s), but the device nodes in > > /dev only go up to hdh. > Hi Chris, I think you can make the devices you need with mknod. > Another alternative is to mount devfs and use devfs naming conventions > to access the drives. Thanks. I've used mknod before, but to use it here I'd need to know what the major and minor numbers are supposed to be. The numbering scheme doesn't follow a pattern that is immediately obvious to me. I wound up using devfs (as you suggested). It worked really well, but I'd still like to know if there's a Debian way to add more drive devices. Thanks, Chris -- Christopher S. Swingley phone: 907-474-2689 Computer Systems Manager email: [EMAIL PROTECTED] IARC -- Frontier Program GPG and PGP keys at my web page: University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle pgpOrQtiE9IX1.pgp Description: PGP signature
Adding /dev/hdXX nodes
Hi! I'm trying to set up a software RAID-5 machine with 9 IDE drives (1 for the OS, 8 for a RAID-5 array) and a CD-ROM drive using Promise IDE controllers. The kernel detects and identifies the geometry on the drives (hda, c, e, g, i, k, m, o, q, s), but the device nodes in /dev only go up to hdh. I looked in the /dev/MAKEDEV script, but it's not clear to me what I'm supposed to do in order to get new devices, and it looks like even if I could figure out how to add more than 'h' drives, this script only goes up to 'l' anyway. Any suggestions? Thanks! Chris -- Christopher S. Swingley phone: 907-474-2689 Computer Systems Manager email: [EMAIL PROTECTED] IARC -- Frontier Program GPG and PGP keys at my web page: University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle
Re: seti@home
> P.S. - If we expect _others_ to broadcast, why don't we broadcast > in all directions around the globe, hoping that someone else hears > us? We've been doing that since Tesla, err... Marconi invented the radio. -- Christopher S. Swingley phone: 907-474-2689 Computer Systems Manager email: [EMAIL PROTECTED] IARC -- Frontier Program GPG and PGP keys at my web page: University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle
Re: scp shall only copy newer files
Timo, > Right now I am doing a backup from my laptop to my workstation using > OpenSSH's secure copy. The problem is that i would like to copy only > newer files, cos it also transports my Ogg/Vorbis files (quite some > gigabytes) over net -quite not wanted. Is there a way like in normal cp > to tell scp that it should compare file's timestamps/sizes before > sending any files? Use rsync with the -e ssh option. You'll get rsync's logic (only transfer data that's different) and the security / convenience of ssh / scp. You don't need to run the server on either end, but I think you probably need the rsync package on both ends. Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle
Re: Problem with mutt
Sean, > Today I upgraded mutt to 1.3.24-3. Now mutt seems to think > that my mailbox is read-only, which it is not. Checked out > the on-line help and muttrc files but didn't see anything > helpful. Suggestions anyone? # chown root:mail /usr/bin/mutt_dotlock # chmod 2755 /usr/bin/mutt_dotlock $ ls -l /usr/bin/mutt_dotlock -rwxr-sr-x1 root mail /usr/bin/mutt_dotlock Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle pgpYgwUA4NifU.pgp Description: PGP signature
Re: mutt read-only mailbox?
> Mutt says the mailbox is read-only. He can send and receive mail fine. > entering % to toggle read-only gives an error that the mailbox is read > only. # chown root:mail /usr/bin/mutt_dotlock # chmod 2755 /usr/bin/mutt_dotlock If you look at an older installation, this is the way mutt_dotlock used to be set up. Probably just a minor error on the part of the maintainer. Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle pgpIbdMvAK14j.pgp Description: PGP signature
OT - Tool for getting text body of email
I need to write a program the extracts the ASCII text portion of email messages for insertion into a database. I looked at the libmailtools-perl package, but it doesn't look like it can deal with the annoying variety of mail that I may need to parse (The silly +'s at the end of lines, MIME-attached HTML, vcards, etc.). What I want is a filter that I pass an email in, and out pops the ASCII, 72-line width formatted message. All attachments, HTML mail, vcards and strangeness is removed. Does such a thing exist? Thanks, Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpdhoHDeleST.pgp Description: PGP signature
procmail: extraneous locallockfile
Hi I recently changed my procmail rc file, and now I'm getting this warning: procmail: Extraneous locallockfile ignored in my procmail logs. The change was: :0: * [EMAIL PROTECTED] { :0 c foobarlist_archive :0 in-foobarlist } which is supposed to make a copy of the list messages for archival purposes, and put a copy into my list mailbox so that I can manage those messages within mutt. I think this works, but I keep getting that warning and I don't know how to get rid of it. The warning appears before most messages, regardless of their destination / procmail status. Thanks, Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpAJaYoG14h9.pgp Description: PGP signature
Re: OT: Generall (GCC) compiler question
Raffaele, > Whats the difference or for what are the *.a files and the *.so > OR *.dll files used? Libraries ending in *.a are statically linked libraries. If you compile a program against these, the library code is built into the program. It makes the executable more portable, but much larger. It may also consume more memory when run because it can't share the same library code with other applications needing the same functions. Libraries ending is *.so are shared libraries, which means that two programs calling the same functions can share the memory for this code. It makes the program smaller on the disk, and smaller in memory. But it means that the user of your program must have the library on his or her computer in order to run the program. This is probably the same as with the w32 *.dll files (dynamic link libraries). Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpg35CxhXZvr.pgp Description: PGP signature
Re: Requesting a trackball recomendation
John, > I'm curious, > > What is a trackball good for? > > why would I want one over a normal mouse? I find them a lot more comfortable to use all day long because you don't wind up moving your arm and wrist around on the table like you do with a mouse. Your hand stays stationary on the trackball and your fingers do the moving. Much better than a mouse if you are starting to show signs of carpal tunnel syndrome (sore wrist, numbness in the fingers, etc.). And I also use the Logitech Trackman Marble FX. I've been tempted to buy a couple extras to keep them in reserve when Logitech stops making them. They are great. Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpvCAD5aEMkY.pgp Description: PGP signature
Re: procmail recipe not working
Klaus, > > SPAM=SPAM > > SPAMMERS=$HOME/procmail/spammers > > > > # Anti-spam > > :0: > > * ? (formail -x From: -x Sender: -x Reply-To: -x Received: -x > > Subject: | fgrep - iqf $SPAMMERS) . > > $SPAM /|\ > >| > > (the * ? (formail ... ) thing is all on one line) + > > > > Then you can put things like this into $HOME/procmail/spammers: > > > > End your IRS tax problems! > > [EMAIL PROTECTED] > > Be aware of the typo in the rule above, it shouldn't be a space between > the '-' and the options 'iqf', should be 'fgrep -iqf'. Thanks for the correction. One of those 80 character cut and paste errors. So it should look like: * ? (formail -x From: -x Sender: -x Reply-To: -x Received: -x Subject: | fgrep -iqf $SPAMMERS) Except all on one line. Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin
Re: procmail recipe not working
> I've been thinking of making a similar thing, just so I can list each > spammer on one line instead of 4. FYI, if you do something like this in your procmail recipe file: SPAM=SPAM SPAMMERS=$HOME/procmail/spammers # Anti-spam :0: * ? (formail -x From: -x Sender: -x Reply-To: -x Received: -x Subject: | fgrep - iqf $SPAMMERS) . $SPAM /|\ | (the * ? (formail ... ) thing is all on one line) + Then you can put things like this into $HOME/procmail/spammers: End your IRS tax problems! [EMAIL PROTECTED] I got this from someone on this list sometime in the past, so they deserve the credit for this. Works great from here! Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin
Re: deny email to a user question
> Is there a simple way to stop a user from being able > to send and receive email? Stopping the receiving is easy -- just create an empty file in /var/mail/$username and change it's permissions to 444. Dunno how to stop someone from sending mail. Maybe an iptables rule that uses the --m owner --uid-owner switches to block port 25 to that user? Course, if you're running potato, you've probably got a 2.2 kernel, so this isn't an option. Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin
Re: Default helper apps with Mozilla 0.9.5
> How does Mozilla 0.9.5 know what application to use for opening > non-HTML documents? Mozilla 0.9.5 uses the /etc/mailcap file to handle file types it can't handle itself. If xpdf is before acroread for the 'application/pdf' MIME type, it will use xpdf to open it. Editing the /etc/mailcap file and restarting Mozilla will let you control this. The man page for update-mime discusses using /etc/mailcap.order to acheive this, but I'm not sure what the advantage is over editing the /etc/mailcap file directly. Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpPEAFG3aNjT.pgp Description: PGP signature
Re: Gnucash
> > speaking of gnucash, why have the debian packages been getting so old? > > should the libs upon which it depends hang around in the archives > > longer, or does the maintainer just need to rebuild it against the new > > libs more frequently? > > As far as I know the maintainer's currently on vacation ... Honeymoon, IIRC from a similar discussion a week ago on debian-devel. Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpS8TVSp4vgH.pgp Description: PGP signature
Default helper apps with Mozilla 0.9.5
How does Mozilla 0.9.5 know what application to use for opening non-HTML documents? I always used to configure Mozilla to use acroread for PDF documents in the Preferences | Navigator | Helper Applications dialog box, but with the latest version it automatically opens xpdf when I click on a PDF file. I'd like to change this to acroread, but I'm not sure where it's getting xpdf from. Thanks, Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpGY6k3TMuY7.pgp Description: PGP signature
Re: Mozilla 0.9.5, font sizes
> Dunno if it affects css or not but I believe there's a mozilla bug filed > fo the whole min font size set to 14 deal and to make a UI for the user > to set it with. It's Bug 104937, which has been closed / invalid because the 14 point thing is a Debian package issue. One of the later comments mentions that this setting will be hooked into the user interface at some point in the future. http://bugzilla.mozilla.org/show_bug.cgi?id=104937 Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpqn9mCzcef4.pgp Description: PGP signature
Re: Mozilla 0.9.5, font sizes
I think this problem has been resolved with mozilla-browser-0.9.5-2. The problem (see Mozilla bug 104937) was the the file /usr/lib/mozilla/defaults/pref/unix.js contains the line pref("font.minimum-size.x-western", 14); which means that Western fonts will be displayed at a minimum size of 14 points. If you change the 14 to a more appropriate value (like 8 on my system), the problem goes away. Thanks to everyone who responded. Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpvnfkTYAUiE.pgp Description: PGP signature
Re: Mozilla 0.9.5, font sizes
> > http://www.frontier.iarc.uaf.edu/~cswingle/test_css.html > > This is how the above example URL looks on my mozilla nightly build > (from yesterday) on woody: > > http://home.jam.rr.com/dvb/css_font.jpg Thanks. I've installed 0.9.5-1 on more than one sid machine and the font sizes aren't correct regardless of what my font preferences are (Serif / Sans Serif, display resolution, specific fonts, etc.). When I download the binary package directly from mozilla.org, the page above displays correctly. This makes me think there is something going on in the Debian package. Either an interaction with some other package on my system (that doesn't show up when I use the binary directly from mozilla.org) or something wrong with the package itself. Since other folks with Debian systems are getting the correct output, I'm a bit confused as to where to look for a cause / solution. I'm 'apt-get source --build'-ing it right now. We'll see if that makes any difference. I'd like to get it to work. 0.9.5 has tabbed windows (something skipstone has had for awhile) and I like that. Printing seems to have been goofed up with 0.9.5, though. It had been working great up until now. Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpE3wTpL8lNQ.pgp Description: PGP signature
Re: Mozilla 0.9.5, font sizes
Joachim, > > > > I just moved from Mozilla 0.9.4 to 0.9.5 and noticed that it doesn't > > > > seem to be respecting font sizes. For example, > > > > It's just a series of lines from N = -5 to N = +5. > > Each line should display in a different size font. > > Here the lines from "Two" upwards show up in different sizes, "Zero" > has the same size as "Three", "One" the same as "Two". Thanks. As it turns out, my HTML example was a poor one. The real bug comes when using font sizes in style sheets. This can be viewed at: http://www.frontier.iarc.uaf.edu/~cswingle/test_css.html It has font styles with 8, 10, 12, 14, 16, and 20 point fonts. On my display 8 - 14 are exactly the same, 16 is a bit larger, and 20 is a bit larger than that. At least one other Linux user working on the Mozilla source says he doesn't have this problem. I don't know what distribution he's using, but it is possible this is a Debian problem (although I can't imagine what it could be). Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpXNFRVLfvzy.pgp Description: PGP signature
Re: Mozilla 0.9.5, font sizes
> I just moved from Mozilla 0.9.4 to 0.9.5 and noticed that it doesn't > seem to be respecting font sizes. For example, FYI, this is Debian bug #115689 Also registered with Mozilla as bug #104868 Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgp0GJJlENAuj.pgp Description: PGP signature
Re: Mozilla 0.9.5, font sizes
> > I just moved from Mozilla 0.9.4 to 0.9.5 and noticed that it doesn't > > seem to be respecting font sizes. For example, > > You might want to search on http://bugzilla.mozilla.org to see if > there's already a bug filed for this and, if not, file a new one. I > doubt that this is a Debian-related bug. I suspect you are right, although I searched on bugzilla and didn't find anything. I submitted it as bug #104868, but it would be nice to get confirmation from other folks using the 0.9.5 mozilla-browser package that they see this issue as well. mozilla-browser-cvs also has this behavior on my system. A quick test is at: http://www.frontier.iarc.uaf.edu/~cswingle/test.html It's just a series of lines from N = -5 to N = +5. Each line should display in a different size font. Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgptQHwLMaM50.pgp Description: PGP signature
Mozilla 0.9.5, font sizes
I just moved from Mozilla 0.9.4 to 0.9.5 and noticed that it doesn't seem to be respecting font sizes. For example, Negative five Negative four Negative three Negative two Negative one Zero One Two Three Four Five Shows up with all fonts being the same size except the last two lines, which is a bit larger. Seems like this has to be a Mozilla issue, but I don't see it in the Release notes, so I'm wondering if there's something wrong with fonts on my system. Mozilla 0.9.4 worked just fine. Thanks! Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpNsLnclmBWt.pgp Description: PGP signature
OT: how to deal with old mail
Hi! I've been happily using mutt for several years now, and I've currently got 415 mbox files (mutt folders) in my ~/Mail directory, consuming 40 MB of space. In the past when my Mail directory got too large, I've gone through and deleted the mbox files that I knew I wouldn't want in the future. It seems like there must be a better way. I picture some sort of script / program that parses each of your mbox files, looking for messages that are older than a certain date, and moving these message into a seperate mbox file that could be compressed, deleted, or parsed seperately. 'apt-cache search mail' gave me a lot of responses, but the only tool that seemed close was something called 'barrendero', but it sounds more like a tool to *delete* mail from a single mbox file in /var/spool/mail to keep the mail server from getting full. Is there such a beast? If not, how do you folks manage the great crush of old, accumulated email messages on your systems? Thanks, Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgpQuaBsIaUNG.pgp Description: PGP signature
Re: nimda probes
> Looking at my logs, it seems to work: > > GET /cmd.dll HTTP/1.0" 302 > > GET /c/winnt/system32/cmd.exe?/c+dir HTTP/1.0" 302 Yeah, but just because your Apache sends a 302 code back to the Nimda box doesn't mean it will use this information and hit www.microsoft.com. If you redirected it to another one of your own boxes and watched this happen (302 on the Redirect box, 404 on your second box, from the same IP) I'd believe it. Even better, check out http://www.incidents.org/LaBrea/ It's a utility that pretends to be unused IP addresses, and when a scanner hits one of these addresses the daemon holds the connection open permanently. Chris -- Christopher S. Swingley phone: 907-474-2689 Computer / Network Manager email: [EMAIL PROTECTED] IARC -- Frontier ProgramGPG and PGP keys at my web page: University of Alaska Fairbanks www.frontier.iarc.uaf.edu/~cswingle "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin pgphIEnq71OYe.pgp Description: PGP signature
Re: VIM Behavior Modification
> > I am using vim and am having problems pasting content into a file while > > using vim. vim is "auto-indenting" based on the previous line, so the > > pasted text is quickly mauled and tabbed out more and more every line > > (for large chunks of text, this is completely unmanageable). > > > > However, when I am programming, I make use of this feature. How can > > I selectively turn this feature on and off? You might consider something similar to the following in your .vimrc: :autocmd! " clears autocommands :autocmd FileType * set noai" default is not auto-indent :autocmd FileType c,cpp,cc set ai " auto-indent in program code Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpdK431B4nqF.pgp Description: PGP signature
\222 in Mutt email
Hi! I'm getting a few strange characters in some of my email messages read with mutt. For example, here's a extract from a message I received today: X-Mailer: VCI WebMail Content-Type: text/plain; charset=iso-8859-1 the intent to use them, and don\222t see much posted here on their Based on a thread I read in debian-devel concerning accents in foreign languages, I think my problem has something to do with my environment settings (LANG, LANGUAGE, LC_ALL), but I can't seem to figure out what I need. I've got these language-like environment variables set: LANG=en_US LC_CTYPE=en_US but I've also tried setting LANGUAGE and LC_ALL to en_US, with no success in mutt. My /etc/locales.gen looks like this: en_US ISO-8859-1 I'm running an up to date sid system (synced this morning, although I've always had this problem with mutt, as far as I know). Thanks! Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpKfaHzhObTt.pgp Description: PGP signature
Mutt + Japanese
Hi! I'm trying to get mutt set up to send and receive Japanese (iso-2022-jp charset) mail. Right now the machine can read Japanese encoded mail, and can even send Japanese encoded mail (using mule as the editor), but each time I have to change the Content-Type line from charset=us-ascii to charset=iso-2022-jp (Control-T lets you edit this). How can I get mutt to recognize Japanese mail passed via mule as Japanese, while English mail is recognized as ASCII? Right now I've got these environment variables set: JSERVER=localhost LANG=ja_JP.EUC-JP EDITOR=mule TERM=kterm and I'm opening mutt inside a kterm. My ~/.muttrc contains: set send_charset="us-ascii:iso-2022-jp" The user of the machine will primarily be using everything in English (except for the occasional email to and from Japan), so I can't do anything drastic like 'set-language-env -l ja'. I could reverse the iso-2022-jp and us-ascii in the 'send_charset' variable, but then *all* the email will leave the system in Japanese. I'd rather mutt decide for itself which to use. Any thoughts? Thanks, Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpAIx4YxYZPJ.pgp Description: PGP signature
Re: Cups after upgrade
Brian, > I just upgraded from woody to unstable (yes there is a difference) and now I > cannot print with cupsys-bsd utilities. You might also make sure that all the cups binaries and libraries are the same version. At some point in the past I managed to get 1.1.9 cupsys-* packages, but I still had an older libcupsys package. Right now I've got: ii cupsys-bsd 1.1.9-1.1 BSD comman ii cupsys-client 1.1.9-1.1 client programs ii libcupsys2 1.1.9-1.1 libs on my client machine and it works. My server also has the cupsys package. Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgp7byEig4L2d.pgp Description: PGP signature
Re: Creating Install CD with reiserfs
> I noticed that the most recent woody boot disks include a directory > for Reiserfs support. How would one create a Debian install CD > (with the debian-cd package) that uses this kernel / boot image? If you edit the file '/usr/share/debian-cd/tools/boot/woody/boot-i386' (or whatever your platform is) to include: # what kernel-type to put on what disk? # a null "" value will use the default boot-disk kernel # KTYPE[1]="reiserfs" Then the first CD created will have a bootable reiserfs kernel, plus the modules for that kernel and a neat bootstrap installer that knows how to make reiser partitions and mount them with the right options. Assuming you include 'make bootable' when building the CD's with the debian-cd package. Unfortunately, the boot-floppy stuff doesn't seem to be working correctly (3.0.12-2001-08-21) -- the modules won't load so I can't get my network card running (3C509) and it can't find the base system on the CD either. But when the boot floppies are ready, it'll be really slick! Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpWIjUWaPDpp.pgp Description: PGP signature
Creating Install CD with reiserfs
Hi! I noticed that the most recent woody boot disks include a directory for Reiserfs support. How would one create a Debian install CD (with the debian-cd package) that uses this kernel / boot image? Thanks, Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpowOBOtiF4i.pgp Description: PGP signature
slow nfs server
Hi! I have a couple raid arrays (software raid, 2.4 kernel) that I've been exporting to a variety of other boxen where I work. Now that more than a few machines have these mounted (> 10, < 25), NFS has become incredibly sluggish. It's almost impossible to edit files on the imported filesystems because the writes hang for several seconds every so often interrupting my typing. And remote logins on machines where my home directory is imported can take 5-10 seconds before the machine can set my home directory to the NFS mount. I've tried both the user space and kernel space nfs packages, and am currently exporting with these options: (rw,root_squash,no_subtree_check) and mounting with these options: rw,bg,hard,intr,rsize=8192,wsize=8192 (although I've also tried it without the rsize and wsize options) I've got CONFIG_NFS_FS and CONFIG_NFS_V3 compiled into my 2.4 kernels on the clients, and CONFIG_NFSD and CONFIG_NFSD_V3 on the servers. Things are also slow on my IRIX boxes that mount these directories, so I think it's a server issue. I don't think it's a raid problem because the raid arrays (dual P-III 800 machines, SCSI drives) are plain zippy when I'm logged into the actual raid machines. It's only when I NFS import them. Any suggestions / other options? Do I need to further tweak the kernel somehow, or change some network settings? Thanks, Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgp17YB3TugKB.pgp Description: PGP signature
Re: 2.4 kernel on woody install
> I'm wondering how I might go about getting a 2.4 kernel right up front > when I'm installing a woody system. I need it for the network driver > it provides that doesn't work with 2.2. Is there a way to tweak the > CD somehow (debian-cd is how I make woody boot CD's) so it would load > a 2.4 kernel instead? I could just build a custom kernel that would > support most of my hardware so I wouldn't need to worry about drivers. I didn't figure out an easy way to do this. But I did figure out a hard way :) ! I installed the system off the first woody CD, which put a 2.2.19 kernel onto the system. The network card doesn't work. Luckily, the first CD (as created with debian-cd) contains all the necessary packages (kernel-package, gcc, bin86, etc.) and sources (kernel-source-2.4.4) to build a 2.4 kernel, which does have my network card. Build, reboot, tweak the network settings a bit (since the boot configurator didn't ask me about the network stuff) and I'm good to go. Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpfTeHXaWvGC.pgp Description: PGP signature
Re: 2.4 kernel on woody install
> > I'm wondering how I might go about getting a 2.4 kernel right up front > > when I'm installing a woody system. I need it for the network driver > > it provides that doesn't work with 2.2. Is there a way to tweak the > > CD somehow (debian-cd is how I make woody boot CD's) so it would load > > a 2.4 kernel instead? I could just build a custom kernel that would > > support most of my hardware so I wouldn't need to worry about drivers. > > add these to your potato sources.list > deb http://people.debian.org/debian stable/ > deb-src http://people.debian.org/debian sources/ Sorry, maybe I didn't make myself clear. I'm performing a clean install from a woody CD onto a new machine. To get the network card to work I need a 2.4 kernel, but to get a 2.4 kernel I need the network card. . . So I was hoping there was a way to get a 2.4 kernel onto the CD so I could boot from it, rather than 2.2.19. Thanks, Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpxYSFzfWdIP.pgp Description: PGP signature
2.4 kernel on woody install
Hi! I'm wondering how I might go about getting a 2.4 kernel right up front when I'm installing a woody system. I need it for the network driver it provides that doesn't work with 2.2. Is there a way to tweak the CD somehow (debian-cd is how I make woody boot CD's) so it would load a 2.4 kernel instead? I could just build a custom kernel that would support most of my hardware so I wouldn't need to worry about drivers. Any thoughts? Thanks, Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpcKGf6jgcqu.pgp Description: PGP signature
Re: iptables rules
Renai, > Can someone give me some advice on how to setup some simple rules as well as > having them refreshed when I restart? I'd be happy to send you my iptables script if you like. But it's really best to craft one yourself so you'll really understand what you are doing along the way. That way when something breaks, you'll have an understanding of how to fix it. Here's how I did it: * Set up four chains: in_yes -- new connections we allow from the outside. This includes things like a mail server, web server, and any local traffic I want to allow in_out -- connections we allow to contact our machine once we've initiated a connection. For example, if I hit a web site, I need to let the web server send me the information I request. With iptables connection tracking, this is easy (-m state --state ESTABLISHED,RELATED) logger -- By the time we've reached this chain, the packet shouldn't be allowed in, so we should be logging it so we can keep track of what people are trying to do in_no -- Drop everything that gets here (except port 113 requests, which you should reject so mail servers don't hang while waiting for a response). * Connect these chains, in this order, to the INPUT chain: iptables -A INPUT --source 0.0.0.0/0 -j in_yes iptables -A INPUT --source 0.0.0.0/0 -j in_out iptables -A INPUT --source 0.0.0.0/0 -j logger iptables -A INPUT --source 0.0.0.0/0 -j in_no * Open a new window, 'tail -f /var/log/syslog' and start doing what you normally do. * When you see iptables complaining about something, either add a rule to allow that connection / protocol / etc., or decide that it's a hacking attempt and consider yourself lucky that you've blocked him or her. Expect to break things. A lot! And then expect to be very surprised at how many scans, and hack attempts you discover. . . As far as getting it to run automatically when you restart, you might look at the ipchains script that appeared recently in woody / sid. Personally, I put all my rules into a shell script and then have an init.d script call this file when I boot. That way it goes into effect on boot, but it's easy for me to tweak it when I discover I want a new rule or want to block something special. The first thing my shell script does is to flush the chains so I'm always starting fresh. Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpiCRs3JemEP.pgp Description: PGP signature
Re: Lucent 56k Suddenly Stopped Working!
Deven, > making a backup of my old one. I tried the new kernel, and now when I run > PPPD, I get an error saying it can't open /dev/modem OR /dev/ttyS14 (my > modem). Does it work when you are root? If so, you may need to add yourself to some groups like dialout and dip. Look to see what group owns /dev/ttyS14 and add yourself to that group. If you look at the permissions carefully you'll see that the device is rw to the user and group, but there are no permissions for everyone else. Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpA14ApBGf6B.pgp Description: PGP signature
Re: Lucent 56k WinModem
Deven, > Hi, I'm having a problem installing the driver for my Lucent 56k WinModem. My > lspci -vv readout says I have a "Lucent Microelectronics WinModem 56k". I'm > trying to install the "Lucent LT Modem driver", which seems to be correct. > The installation goes through without incident or error, but when I reboot, > it doesn't detect my card as a Lucent. DMESG doesn't give any useful output > either. Is the Lucent LT Modem driver a binary driver? My recollection was that Lucent provides a binary driver for their winmodems, but because they don't release the source code, the module will only work with the same kernel it was compiled against. I have a laptop that came with a 2.2 kernel and the correct Lucent driver. As soon as I went to 2.4, the modem vanished. Check out www.linmodems.org (or something like that). It's a site devoted to getting winmodems to work under Linux. Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpn3lw1mQ0lE.pgp Description: PGP signature
Help with Japanese support
Hello, I'm a sysadmin for an international group of scientists, and a recent arrival from Japan was inquiring about the possibility of reading and responding to Japanese encoded email with her Linux box. I remember that at one point there was a Debian-JP group, and IIRC, their packages were fully integrated into Debian. Can someone give me some pointers on how what packages / configurations are necessary to allow my user to communicate in Japanese, while still leaving the majority of the system in English? Thanks! Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpWqlWGCbbbQ.pgp Description: PGP signature
Re: pppd 4.0
Deven, Quoting [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi, does anyone know where I can download PPPD v4.0 so that I can use my > Lucent 56k modem with the driver I installed? If you're looking for software, the best place to look (at least to start) is freshmeat.net. I found this: http://freshmeat.net/projects/pppd/ there, and it's likely to be what you want. However, the latest version is 2.4.1, which is what's in sid, and perhaps woody as well. Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgplherjapKmt.pgp Description: PGP signature
Re: using convert to batch convert
> The command I would expect to work: > > convert -sample 50% * Another method that I often use is: $ find ./ -name '*.gif' -exec convert -geometry 50% {} {}.png \; The {}'s are replaced by the filenames that 'find' found, one at a time. So this command would reduce the size of all GIF images in the current (and all sub-) directories, as well as convert them to PNG files. Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpjWPN7M40h2.pgp Description: PGP signature
Re: Logging packets -- sysklogd / klogd / iptables
Quoting Christopher S. Swingley <[EMAIL PROTECTED]>: > OK, I'm going crazy here trying to get iptables to log packets to a > file called /var/log/kern.info. > What am I missing? And what is the right procedure to clear a log > without causing sysklogd / klogd to choke? I spent another hour trying to get this to work. Here's what did work: * stop sysklogd and klogd * delete the log file * start sysklogd and klogd * stop sysklogd and klogd * chown root:adm, chmod 640 log file * start sysklogd and klogd I'm not sure which of these steps are strictly necessary, but I finally have it working now. . . Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpG12T4uHlLU.pgp Description: PGP signature
Logging packets -- sysklogd / klogd / iptables
OK, I'm going crazy here trying to get iptables to log packets to a file called /var/log/kern.info. I've got these rules at the beginning of my chains: iptables -A INPUT --source 0.0.0.0/0 --destination 0.0.0.0/0 \ -j LOG --log-level info --log-prefix 'INPUT packet ' \ --log-tcp-options --log-ip-options iptables -A OUTPUT --source 0.0.0.0/0 --destination 0.0.0.0/0 \ -j LOG --log-level info --log-prefix 'OUTPUT packet ' \ --log-tcp-options --log-ip-options And this line in my /etc/syslog.conf: kern.=info -/var/log/kern.info But /var/log/kern.info is empty: -rw-r-1 root adm0 Jul 30 10:04 /var/log/kern.info I've stopped and started /etc/init.d/sysklogd and /etc/init.d/klogd multiple times (and in various orders), as well as re-running iptables. I've also tried deleting /var/log/kern.info, changing it's ownership and permissions, and all combinations of these things. But still the file remains empty. I know the configuration files are correct, because I got it working earlier, and iptables is logging stuff to wherever 'dmesg' reads from. But ever since I decided to clear /var/log/kern.info by deleting it and touching it, I can't get sysklogd to put stuff into the file. What am I missing? And what is the right procedure to clear a log without causing sysklogd / klogd to choke? Thanks, Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpg5CObSTjcs.pgp Description: PGP signature
Re: Maestro3 Won't Work
Quoting [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Kernel version 2.4.7. I compiled it in. Hmm. One thing you could try is to compile it as a module, and then see what (if any) messages you get when you try to insert it as a module. You might also try turning off some of the hardware you're not using in the BIOS (like the serial port, parallel port, etc.) in case you've got an interrupt conflict. This is really unlikely, though, unless the BIOS is doing something stupid. If you compile it as a module, you can also pass the 'debug' option to it when you load it. According to /usr/src/linux/Documentation/sound/Maestro3 this will print some debugging information, although it's not clear whether this is when it's loading it, or when you're trying to play sounds. I know there are ways to pass this information to the drive when it's built into the kernel, but I'm not sure how to do this. Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpsUIMZJEnz4.pgp Description: PGP signature
Kernel compile error?
Debian users -- Last night I tried to recompile a 2.4.1 kernel with make-kpkg, and got the following errors: gcc -E -D__KERNEL__ -I/usr/src/linux/include -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA bootsect.S -o bbootsect.s as -o bbootsect.o bbootsect.s bbootsect.s: Assembler messages: bbootsect.s:253: Warning: indirect lcall without `*' ld -m elf_i386 -Ttext 0x0 -s -oformat binary bbootsect.o -o bbootsect ld: cannot open binary: No such file or directory make[2]: *** [bbootsect] Error 1 make[2]: Leaving directory `/usr/src/linux/arch/i386/boot' make[1]: *** [bzImage] Error 2 make[1]: Leaving directory `/usr/src/linux' make: *** [stamp-build] Error 2 It looks like the problem is the 'ld' step, where it uses '-oformat binary' instead of '--oformat binary'. I edited the Makefile in /usr/src/linux/arch/i386/boot, and it worked. Is this a bug with the 2.4.1 kernel Makefile, or has 'ld' changed very recently in it's behavior? The system was upgraded to the latest sid on Thursday or Friday. Here's some version info: ii libc6 2.2.3-7GNU C Library: Shared libraries and ii gcc2.95.4-5 The GNU C compiler. ii binutils 2.11.90.0.24-1 The GNU assembler, linker and binary ii bin86 0.15.4-1 16-bit assembler and loader ii kernel-package 7.54 Debian Linux kernel package build ii make 3.79.1-8 The GNU version of the "make" utility. Thanks! Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpdlPl3qsyiI.pgp Description: PGP signature
Re: Maestro3 Won't Work
Deven, > I've compiled a new kernel with support for the Maestro3 .. I turned that on, > turned off all other sound cards, and turned ON Sound card support, but my > system doesn't find anything at boot related to sound. I can't run ESD (it > tells me there's no /dev/dsp.) I know I have a Maestro because when I > originally installed Debian, I chose Maestro3 as a driver and it worked fine. > Any help would be appreciated. Thanks. Which kernel version? And did you compile the Maestro3 driver as a module or build it into the kernel? Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpNWQb0SLphp.pgp Description: PGP signature
Re: Compiling Maestro3 Support
Deven, Quoting [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > I compiled in Maestro3 support and recompiled my kernel, but sound won't > work.. there's no Maestro in the dmesg, and no sounds will play. Does anyone > know what I did wrong? This sounds like a dumb answer, but are you sure you are running the new kernel you just recompiled? I can't tell you how many times I have forgotten to re-run lilo after modifying my /etc/lilo.conf. . . You might also make sure you have a mixer program installed and that the sound is turned all the way up. I like 'aumix' personally, but there are plenty of others. Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpSkT5e7qJgZ.pgp Description: PGP signature
Re: sid / woody ppp not setting default gw
Don, > Based on my experience mentioned above, wouldn't it be better to delete > the current eth0 gw FIRST, then add in the other stuff?? In fact, it > would probably be better to delete the existing gw when pppd is > called...if you can figure out a way to do that. I did try deleting the default gateway first, but it doesn't seem to matter. > careful how you name your scripts. The scripts are run in cannonical > sequence and you would want this script to be run first, or at least I think this might be the key. I named mine 'set_ppp0_gw', so it runs last in the sequence. This probably accounts for the 1 minute delay while it does other stuff. I still don't know why pppd isn't setting the default gateway itself, like it used to, and like the man page says 'defaultroute' should trigger. Thanks, Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpSPrMMqiPOG.pgp Description: PGP signature
Re: AGP cards...anything weird?
Jeff, > SuperProbe, and it gives me something like a Yamaha 6388 VPDC chipset and > a RAMDAC of a generic 8-bit pseudo-color DAC. Needless to say, I can't > find support for this setup on xf86config. It might help to know which version of X you are running (potato, 3.3; woody / sid, 4.0.3), and the results of '/sbin/lspci' (or what's in /proc/pci). You might also consult the "driver status" document at www.xfree86.org to see if your card is supported. This document contains information about both X versions (3 / 4). Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpHSvOiakYLQ.pgp Description: PGP signature
sid / woody ppp not setting default gw
Hi! I have a laptop with an ethernet card connection to a local network and a modem for connecting to the Internet. Earlier versions of pppd always reset the default gateway to the dial-in server when I connected (and reset it back to eth0 after I hang up). A recent upgrade seems to have broken this: Jul 27 19:19:14 machine pppd[15272]: not replacing existing default route to eth0 [192.168.97.1] I was able to get things to work by creating routing scripts in /etc/ppp/ip-up.d: #!/bin/sh route add -net 137.229.94.19 dev ppp0 logger -p daemon.debug Added route to 137.229.94.19 on ppp0 route add default gw 137.229.94.19 logger -p daemon.debug Added default gateway to 137.229.94.19 route del default gw 192.168.97.1 logger -p daemon.debug Deleted default gateway to 192.168.97.1 exit 0 This does work, but it takes almost a minute for the script to complete it's business, and for the changes to be reflected in the routing table. I have the 'defaultroute' flag set in /etc/ppp/options, ~/.ppprc, and /etc/ppp/peers/provider. None of these files have the 'nodefaultroute' flag set. Anyone know how to get pppd to set the default route, like it did previously? Some version info: ii ppp2.4.1-4Point-to-Point Protocol (PPP) daemon. ii libc6 2.2.3-7GNU C Library: Shared libraries and Linux machine 2.4.1 #1 Mon Feb 5 08:48:24 AKST 2001 i686 unknown Thanks! Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpjHR8JPY9V6.pgp Description: PGP signature
Re: Fatal X server error.
Chip, > I am having a problem with startx. The error message says: > Fatal server error: > could not open default font 'fixed' Do you have the font packages installed, like xfonts-base, xfonts-75dpi, xfonts-100dpi, xfonts-scalable? You don't say what version of X you are running, but the versions of X in woody and sid can handle not having xfs running -- but if it's not there, the fonts need to be in the hard coded paths. Chris -- Christopher S. Swingley 930 Koyukuk Drive System / Network ManagerUniversity of Alaska Fairbanks IARC -- Frontier ProgramFairbanks, AK 99775 phone: 907-474-2689 fax: 907-474-2643 email: [EMAIL PROTECTED]GNUPG and PGP2 keys at my web site web: http://www.frontier.iarc.uaf.edu/~cswingle pgpK35clg5FgE.pgp Description: PGP signature
lpq -P remote printer doesn't show all jobs
Hi! I've got lprng (3.6.20-1) installed on several machines, with one machine acting as a central print server for the others (all of the clients "print" to the server and the server actually sends the jobs to the printers). The problem is that when a user types lpq, it only shows the jobs that are associated with their local lpd, not the full set of jobs being printed / spooled on the server. Does anyone know how to configure lprng / lpr so that a remote lpq on a client shows the jobs being printed on the server? Thanks, Chris -- Christopher S. Swingley tel: 907-474-2689 Programmer / Analyst email: [EMAIL PROTECTED] University of Alaska Fairbanks Fairbanks, AK 99775 www.frontier.iarc.uaf.edu/~cswingle PGP2 key: http://www.frontier.iarc.uaf.edu/~cswingle/pgpkey.asc GNUPG key: http://www.frontier.iarc.uaf.edu/~cswingle/gnupgkey.asc
Customizing menus
Hello! I'm trying to alter what happens when I choose "Programs | XShells | Eterm" from my window manager's pop-up menu (sawfish) so it brings up a transparent Eterm with some other customizations instead of the themed Eterm that normally appears. What is _The Right Way_ to do this? The docs for menu suggest a ~/.menu directory with files underneath. I copied the entry for Eterm into my ~/.menu directory and tweaked it, but nothing changed. Any suggestions / hints? Thanks, Chris -- Christopher S. Swingley tel: 907-474-2689 cell: 322-1889 Programmer / Analyst email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle Fairbanks, AK 99775 PGP2 key: http://www.frontier.iarc.uaf.edu/~cswingle/pgpkey.asc GNUPG key: http://www.frontier.iarc.uaf.edu/~cswingle/gnupgkey.asc
Sawfish - lisp error?
I've been using sawfish 0.30.3-6 and whenever I open a new window the system beeps and prints this error to the error stream: Lisp backtrace: # ("áKãKäK+v" [0 (backquote-unquote 125.) sp-cost:overlap 0 (backquote-unquote 75.) sp-cost:focus-locality sp-cost:pointer-locality] 4) nil nil nil nil # ("smart-placement" t) t # (#) t # (#) t *** Symbol value is void: (backquote-unquote 125.) *** Invalid autoload definition: (place-window-best-fit), Can only autoload from symbols I've tried purging and re-installing sawfish, removing my .sawfishrc and .sawfish/ directories, as well as different Window Placement settings, but all windows do the same thing. I also searched around for the code listed in /usr/share/sawfish/lisp, but could find it. Anyone know what's happening and how I might fix it? Here's the versions of the lisp stuff that sawfish depends on: ii librep90.12.4-2 an embeddable Emacs-Lisp-like runtime librar ii rep0.12.4-2 lisp command interpreter frontends to librep ii rep-gtk0.13a-3GTK binding for librep ii rep-gtk-gnome 0.13a-3GTK binding for librep with gnome support Thanks! Chris -- Christopher S. Swingley tel: 907-474-2689 cell: 322-1889 Programmer / Analyst email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle Fairbanks, AK 99775 PGP2 key: http://www.frontier.iarc.uaf.edu/~cswingle/pgpkey.asc GNUPG key: http://www.frontier.iarc.uaf.edu/~cswingle/gnupgkey.asc
Re: Skipstone
> I'm interested in trying out skipstone (an alternative to galeon that > is currently packaged in woody), but whenever I run it I get: > > ** CRITICAL **: file ../../../../../embedding/browser/gtk/src/ > gtkmozembed.cpp: line 298 (void gtk_moz_embed_init(GtkMozEmbed *)): > assertion `retval == TRUE' failed. > Segmentation fault There's a fix in the 0.2-2 package, which is currently in incoming (at least it works for me) Chris -- Christopher S. Swingley tel: 907-474-2689 cell: 322-1889 Programmer / Analyst email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle Fairbanks, AK 99775 PGP2 key: http://www.frontier.iarc.uaf.edu/~cswingle/pgpkey.asc GNUPG key: http://www.frontier.iarc.uaf.edu/~cswingle/gnupgkey.asc
Skipstone
Hi! I'm interested in trying out skipstone (an alternative to galeon that is currently packaged in woody), but whenever I run it I get: ** CRITICAL **: file ../../../../../embedding/browser/gtk/src/ gtkmozembed.cpp: line 298 (void gtk_moz_embed_init(GtkMozEmbed *)): assertion `retval == TRUE' failed. Segmentation fault Anyone have any ideas? The bug tracking system shows three bugs filed against the package, but it won't show me the bugs to see if this has been reported / fixed or not. Thanks! Chris -- Christopher S. Swingley tel: 907-474-2689 cell: 322-1889 Programmer / Analyst email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle Fairbanks, AK 99775 PGP2 key: http://www.frontier.iarc.uaf.edu/~cswingle/pgpkey.asc GNUPG key: http://www.frontier.iarc.uaf.edu/~cswingle/gnupgkey.asc
Re: dual head Matrox
Hamish, > Anyone got dual headed Matrox G400 working with X (in dual > head mode)? It seems that XFree86 4.0 doesn't yet support this directly, but > I was hoping to use the linux frame buffer support to do it. I have gotten it to work using the beta driver available from Matrox's web site (http://www.matrox.com/mga/drivers/files/linux_01.htm). I used this in my XF86Config: Section "Device" Identifier "Matrox G400 Dual - 1" Driver "mga" BusID "PCI:1:5:0" Screen 0 # VideoRam32768 # Insert Clocks lines here if appropriate EndSection Section "Device" Identifier "Matrox G400 Dual - 2" Driver "mga" BusID "PCI:1:5:0" Screen 1 # VideoRam32768 # Insert Clocks lines here if appropriate EndSection Section "Screen" Identifier "Screen 1" Device "Matrox G400 Dual - 1" Monitor "PS790" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1280x1024" ViewPort0 0 EndSubsection EndSection Section "Screen" Identifier "Screen 2" Device "Matrox G400 Dual - 2" Monitor "SGI Color" DefaultDepth 16 Subsection "Display" Depth 16 Modes "1024x768" ViewPort0 0 EndSubsection EndSection Section "ServerLayout" Screen "Screen 1" RightOf "Screen 2" Screen "Screen 2" EndSection The two monitors are defined in the "Monitor" Section. There's a readme of some sort in the Matrox package that explains how to find the BusID's for the two heads. I think it's printed as part of the X startup stuff (startx 1> x.log 2> x.err). A couple points: * From what I've read, the second head isn't accelerated (hardware) * Enlightenment didn't work with the second head, but sawfish did. If you figure out how to get E to see the second head, let me know!! Chris -- Christopher S. Swingley tel: 907-474-2689 cell: 322-1889 Programmer / Analyst email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle Fairbanks, AK 99775 PGP2 key: http://www.frontier.iarc.uaf.edu/~cswingle/pgpkey.asc GNUPG key: http://www.frontier.iarc.uaf.edu/~cswingle/gnupgkey.asc
Re: inetd: Address already in use
Lee, > > I recently moved from potato to woody and now each time I > > 'apt-get upgrade' I get these messages in my syslog: > > You have two copies of inetd running (use ps to check). Duh. Thanks! Chris -- Christopher S. Swingley tel: 907-474-2689 cell: 322-1889 Programmer / Analyst email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle Fairbanks, AK 99775 PGP2 key: http://www.frontier.iarc.uaf.edu/~cswingle/pgpkey.asc GNUPG key: http://www.frontier.iarc.uaf.edu/~cswingle/gnupgkey.asc
inetd: Address already in use
Hi! I recently moved from potato to woody and now each time I 'apt-get upgrade' I get these messages in my syslog: Aug 21 08:26:32 nika inetd[32488]: cvspserver/tcp: bind: Address already in use Aug 21 08:26:32 nika inetd[32488]: auth/tcp: bind: Address already in use Aug 21 08:26:32 nika inetd[32488]: shell/tcp: bind: Address already in use Aug 21 08:26:32 nika inetd[32488]: ftp/tcp: bind: Address already in use Aug 21 08:26:32 nika inetd[32488]: telnet/tcp: bind: Address already in use Aug 21 08:26:32 nika inetd[32488]: daytime/tcp: bind: Address already in use I suspect the netbase package, but I don't know for sure. Rebooting the machine solves this problem, but I was hoping there was a less drastic solution besides just ignoring the errors. Anybody know what's going on / what I can do? Thanks, Chris -- Christopher S. Swingley tel: 907-474-2689 cell: 322-1889 Programmer / Analyst email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle Fairbanks, AK 99775 PGP2 key: http://www.frontier.iarc.uaf.edu/~cswingle/pgpkey.asc GNUPG key: http://www.frontier.iarc.uaf.edu/~cswingle/gnupgkey.asc
Re: HP DesignJet 750C plotter support?
Hi Matt, > I work for a small, marine surveying firm that uses the above mentioned > plotter. I am setting up a potato server to handle various tasks, among > which should be serving print jobs to the plotter via Samba. I have a DesignJet 755CM, connected to the network, served by a Debian server for Windows (Samba), Mac (netatalk) and UNIX (lprng). With a standard sort of /etc/printcap and /etc/samba/smb.conf, everything works just fine: /etc/printcap: plotter :rm=plotter :rp=lp :sd=/var/spool/lpd/plotter :mx#0 :sh Which basically translates to remote machine is plotter (what the hostname of the printer is), remote printer is called lp, and the spool directory is /var/spool/lpd/plotter. I don't know what the last two lines do. If you were plugging the printer into your Linux machine these lines would look a little different, but a generic sort of config should work just fine. The key is to verify that the printer can print Postscript. If so, you don't need a filter for Linux -- you can print stuff right to it. If it doesn't, you'll need a Ghostscript filter. I think the Windows printing just uses the Printer Command Language (PCL) and Samba just sends it on through to the printer. Be sure that if your printer supports both Postscript and PCL that you have it's mode set to "Auto", which is the HP way of saying "accept either Postscript or PCL". After that the Windows machines just need the driver. I've never figured out how to make my Samba server automatically install the printer drivers on my Windows clients, but I think that is possible. Here's the relevant sections of my smb.conf. /etc/samba/smb.conf: [global] print command = /usr/bin/lpr -r -P%p %s lpq command = /usr/bin/lpq -P%p lprm command = /usr/bin/lprm -P%p %j load printers = yes printing = lprng [printers] comment = All Printers path = /tmp create mask = 0700 guest ok = no writeable = no printable = yes print ok = yes browseable = yes I'm not sure if the [printers] section is actually necessary because it shows up on the Windows machines as well as the individual printers, but I've never done any experiments to see the effect of removing it (if it ain't broke. . .). -- Christopher S. Swingley tel: 907-474-2689 cell: 322-1889 Programmer / Analyst email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle Fairbanks, AK 99775 PGP2 key: http://www.frontier.iarc.uaf.edu/~cswingle/pgpkey.asc GNUPG key: http://www.frontier.iarc.uaf.edu/~cswingle/gnupgkey.asc
mpich -- Help!
I'm looking for some help with mpich (parallel processing). I've got task-parallel-computing-node installed on two connected machines (ivan and alexi), and task-parallel-computing-dev installed on one of them (ivan). rsh-server is set up on both, and I've got a ~/.rhosts file on each that allows me into both machines. I have also set up the /etc/mpich/machines.LINUX with the fully qualified domain names for the two machines. Finally, my home directory is cross-mounted on both machines. The whole thing is on a private network behind a firewall machine. Here's what I've tried (from the front-end machine): [EMAIL PROTECTED]:~$ tstmachines -v Trying true on ivan.tuxnet.edu ... Trying true on alexi.tuxnet.edu ... Trying ls on ivan.tuxnet.edu ... Trying ls on alexi.tuxnet.edu ... Trying user program on ivan.tuxnet.edu ... Trying user program on alexi.tuxnet.edu ... [EMAIL PROTECTED]:~$ cp /usr/share/doc/mpich/examples/code/Makefile.in ~/ [EMAIL PROTECTED]:~$ cp /usr/share/doc/mpich/examples/code/cpi.c ~/ [EMAIL PROTECTED]:~$ mpireconfig Makefile creating Makefile [EMAIL PROTECTED]:~$ make cpi /usr/lib/mpich/build/LINUX/ch_p4/bin/mpicc -O2 -c cpi.c /usr/lib/mpich/build/LINUX/ch_p4/bin/mpicc -O2 -o cpi cpi.o -lm [EMAIL PROTECTED]:~$ mpirun -np 2 cpi At this point top shows on my front-end (ivan): PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND 634 cswingle 16 0 676 668 580 R 0 99.6 0.5 1:18 mpirun It never seems to run cpi, and there are no rshd connections on my other machine (alexi), nor does mpirun or cpi every show up on alexi. mpirun just seems to hang. Looking at the source code leads me to suspect that the program should immediately be asking me for the number of intervals to use in the calculation, but I never get that far. I've tried several of the other programs in the examples/code directory, but they either don't compile correctly, or exhibit the same freeze when I do mpirun. Does anyone have any hints on what I'm doing wrong, or what I should try next? Thanks. Chris -- Christopher S. Swingley tel: 907-474-2689 cell: 322-1889 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP2 key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pgpkey.asc GNUPG key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/gnupgkey.asc
Re: Sunclock kills other windows?
Jeronimo, > is anyone there using Enlightenment and sunclock? I can't answer your specific questions about this combination, but give xplanet a try. It does the same thing as sunclock, but has a nice colorful display, and can do a lot of other things too. I run it like: xplanetbg --window --geometry 400x250+868+749 --longitude 210 \ --fuzz 0 & and this gives me close to the same thing as sunclock (centered at Fairbanks AK). I'm running it just fine under E, although it will die if you run out of memory (like when the memory leak in Netscape catches up to you). Chris -- Christopher S. Swingley tel: 907-474-2689 cell: 322-1889 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP2 key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pgpkey.asc GNUPG key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/gnupgkey.asc
apt-get: 93 Protocol not supported
Yesterday I installed frozen on a new machine. I used the network to fetch all the packages from a local mirror (http, port 8080). Everything worked fine. Now when I try to use apt, I get the following: # apt-get update Err http://web.address.edu potato/main Packages Could not create a socket - socket (93 Protocol not supported) Failed to fetch http://web.address.edu:8080/debian/dists/potato/main/ binary-i386/Release Could not create a socket -- socket (93 Protocol not supported) I did recompile the kernel to support my CD-RW, but I used the same settings I've always used, and the networking options seem perfectly appropriate (all set to yes): CONFIG_NET, CONFIG_PACKET, CONFIG_FIREWALL, CONFIG_INET, CONFIG_IP_FIREWALL, CONFIG_IP_TRANSPORT_PROXY, CONFIG_IP_MASQUERADE, CONFIG_SKB_LARGE, CONFIG_NETDEVICES, CONFIG_NET_ETHERNET, CONFIG_NET_EISA, CONFIG_EEXPRESS_PRO100 Plus I can connect using this port: $ telnet web.address.edu 8080 Trying 123.456.0.0... Connected to web.address.edu Escape character is '^]'. HEAD / HTTP 1.1 HTTP/1.1 200 OK Date: Thu, 15 Jun 2000 16:34:55 GMT Server: Apache/1.3.9 (Unix) Debian/GNU Connection: close Content-Type: text/html Connection closed by foreign host I also tried using the standard Debian http sites for /etc/apt/sources.list, but these gave me the same errors as my own mirror. When I try using the ftp method, it fetches about half the files and then freezes at: [Logging in], and eventually times out. When I ftp manually (using ftp on the command line), everything seems fine. Any ideas on what's going wrong? Thanks, Chris -- Christopher S. Swingley tel: 907-474-2689 cell: 322-1889 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP2 key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pgpkey.asc GNUPG key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/gnupgkey.asc
ImageMagick / MPEG
I'm trying to convert MPEG files to animated GIF images using ImageMagick's 'convert' program. It says sh: mpeg2decode: command not found convert: delegate failed (mpeg2decode -q -b %i -f -r -o3 %o%%05d). convert: no delegate for this image format (MPG). Can someone tell me if there is a Debian package that includes this program? I have several MPEG libraries installed, but none of the Debian packages I looked at seemed like they included this file. Thanks. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: fixing netscape's super ugly fonts..how?
Thanks for the info. I searched the Netscape.ap file for all occurances of Courier and Helvetica and stuck those lines in my ~/.Xdefaults, but with the font sizes reduced by 10 (100 instead of 120 mostly). Now things look a little better. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: fixing netscape's super ugly fonts..how?
> To fix this, and some related Netscape brain damage, create a file > /etc/X11/Xresources/netscape, with the following lines: > Netscape*documentFonts.sizeIncrement: 05 Thanks a lot for these X resources for Netscape. Do you have any idea how to control the fonts that Netscape uses for displaying the menus and other non-web page text? Seems like there should be a X resource for that too. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Where to specify fonts for which apps?
> XF86Config file: > > FontPath "unix/:7101" > FontPath "unix/:7100" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" > FontPath "/usr/X11R6/lib/X11/fonts/Type1/" > > If I comment out the "unix/:7101" line, the problem goes away (of course, > so do my TT fonts). Just a thought, try putting your "FontPath "unix/:7100" line after all the others, rather than first. Mine is at the end of the FontPath lines and normal and true type fonts work as expected. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: DesignJet
> Anyone set up HP DesignJet plotter on linux? As remote printer. I have a DesignJet 755 CM with the ethernet plugged into the wall and a Debian box as the print spooler for this printer: /etc/printcap: monroe :rm=monroe :rp=lp :sd=/var/spool/lpd/monroe :mx#0 :sh monroe is in /etc/hosts and points to the IP address of the printer. You could just as easily put the IP address in the ':rm=' line. HP printers that are networkable have an on-board print spool called 'lp'. If you just print to that you don't have to mess with any HP JetDirect software which can be a pain IME. All of my Windows (the printer is shared via Samba) and UNIX users go through the Debian box to print to it and everything works flawlessly. The printer is set up to understand both Postscript and PCL, so both platforms can speak their native printer language. I'm not sure if all models understand Postscript -- if you've got one that doesn't, you're going to have to fiddle with Ghostscript / magicfilter to turn Postscript into PCL. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: LaTeX Package documents?
> I am already using said index.html. It does not AFAIK have any links > to these dvi's. I have also set it up to view dvi's and ps files that > way, works quite nicely. Try: $ dpkg -L tetex-doc | grep dvi I think these compose the bulk of the documentation for the tetex-doc package, although there is an exhaustive LaTeX reference manual in /usr/share/doc/texmf/latex/latex2e-html/ as well as a bunch of text FAQ's and other reference materials. Is it possible you don't have tetex-doc installed? Also, the information I've been giving you applies to potato. It could be that the tetex-doc package isn't in (or isn't as exhaustive) in slink. > [EMAIL PROTECTED]: ~/docs/tex/ont344$ locate exscale > /usr/share/texmf/tex/latex/base/exscale.sty $ dpkg -L tetex-doc | grep exscale This didn't return anything, so there isn't any documentation for this package in tetex-doc. Sometimes I wind up getting the source from CTAN just to get the *.dtx so I can create my own *.dvi / *.ps file for the package, but this is rare. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: LaTeX Package documents?
> It does though, not seem asif any .dtx files are installed with the > Debian LaTeX installation... Where could I find thes files, or at > least the documentation for them? You should be able to find more than you want to read by pointing your web browser of choice to (assuming you have tetex-doc installed): /usr/share/doc/texmf/index.html or /usr/doc/texmf/index.html (if you are running slink) This is a sort of master index that links to a whole bunch of *.dvi.gz files. To read these files, either configure your browser to automatically view these files with xdvi, or just save the *.dvi.gz file to a temporary place, and then gunzip / view using xdvi. You could also print them using dvips. I think these are the original .dtx files converted into *.dvi files for our convenience by the Debian developer who maintains tetex-doc. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Enlightenment Configuration
> 1. I cannot get dox to run (pops up an error window saying it could not > find the dox program). Don't know if you are using potato, but if you are, dox is part of the package enlightenment: cswingle:~: whereis dox dox: /usr/bin/dox cswingle:~: dpkg -S dox enlightenment: /usr/share/man/man1/dox.1.gz enlightenment: /usr/bin/dox cswingle:~: dpkg -l enlightenment ii enlightenment 0.16.3-7 The Enlightenment Window Manager Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Real Player???????
> Is anyone using this? and if so how did you get it to work. I was You don't say whether you are using slink or potato, but for potato the package is named realplayer. It's basically a wrapper that asks you to download the real player RPM file from the real audio web site (http://proforma.real.com/real/player/linuxplayer.html) and put it into /tmp or some other directory the installer can find. Afterwords, read /usr/share/doc/realplayer/Readme for information on how to configure Netscape, etc. to use RealPlayer. I did it yesterday and it worked fine (although the player itself seems a little flaky). Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: pppd problems (CCP ResetReq)
> Jan 29 16:08:45 raven pppd[2118]: rcvd [CCP ResetReq id=0x4] > Jan 29 16:08:45 raven pppd[2118]: sent [CCP ResetAck id=0x4] > Jan 29 16:08:55 raven pppd[2118]: rcvd [CCP ResetReq id=0x5] > Jan 29 16:08:55 raven pppd[2118]: sent [CCP ResetAck id=0x5] > Jan 29 16:08:55 raven pppd[2118]: rcvd [Compressed data] > 00 5e 82 34 c4 0b c1 0d ... > Jan 29 16:08:55 raven pppd[2118]: sent [CCP ResetReq id=0x2] > Jan 29 16:08:56 raven pppd[2118]: rcvd [CCP ResetAck id=0x2] Still not sure where these are coming from, but someone from a local LUG told me to turn off debugging (remove the word debug from /etc/chatscripts/*, /etc/ppp/options, ~/.ppprc). I tried this and no longer had this problem. Another solution is to put 'noccp' in my ~/.ppprc, which turns off compression, but that's not really a good idea IMO. Does anyone know why printing debug output would cause pppd to fail in this way? Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: More ppp problems
> My SECOND problem is that my modem just up and hangs up > occaisionally. As far as this is concerned, I just hope someone can > tell me how to start determining if it was due to a change on my side > or the ISPs side. I don't have any ideas on your first problem, but I do have a bit of experience with the second. The hang-ups could be something as simple as a timeout on the ISP side because you haven't been doing anything for awhile. But I'm sure you've thought of this. I think you could use tcpdump to see if the hangup coincides with a long interruption in packets -- if so it might be an automatic hangup on the ISP's part (or a low value for idle in your ~/.ppprc or /etc/ppp/options). I had a similar problem a few months ago where my modem would hang up after exactly 32 minutes. Turned out it was our cordless phone. At the suggestion of the phone company, we unplugged it and from then on everything has worked just fine (except for the crappy line quality, of course). This probably isn't what's going on either, but before considering the computer-side issues, it's worth a look into what other devices are sharing your modem line and what they might be doing. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
pppd problems (CCP ResetReq)
I recently set up a dial-in ppp server at work. It's running potato and has two ISA 3Com modems plugged into it. Whenever I dial in from home I see the following in the logs on my home machine (the one calling): Jan 29 16:08:34 raven pppd[2118]: sent [LCP EchoRep id=0x1 magic=0xd71da192] Jan 29 16:08:35 raven pppd[2118]: rcvd [LCP EchoRep id=0x1 magic=0x26ed91ff] Jan 29 16:08:45 raven pppd[2118]: rcvd [CCP ResetReq id=0x4] Jan 29 16:08:45 raven pppd[2118]: sent [CCP ResetAck id=0x4] Jan 29 16:08:55 raven pppd[2118]: rcvd [CCP ResetReq id=0x5] Jan 29 16:08:55 raven pppd[2118]: sent [CCP ResetAck id=0x5] Jan 29 16:08:55 raven pppd[2118]: rcvd [Compressed data] 00 5e 82 34 c4 0b c1 0d ... Jan 29 16:08:55 raven pppd[2118]: sent [CCP ResetReq id=0x2] Jan 29 16:08:56 raven pppd[2118]: rcvd [CCP ResetAck id=0x2] Jan 29 16:09:03 raven pppd[2118]: rcvd [LCP EchoReq id=0x2 magic=0x26ed91ff] Jan 29 16:09:03 raven pppd[2118]: sent [LCP EchoRep id=0x2 magic=0xd71da192] The LCP EchoReq lines make sense, but periodically I get those CCP ResetReq / CCP ResetAck messages. These coincide with a loss of TCP/IP packets (during an apt-get, the download stops, it sits there for thirty seconds, and then starts downloading again). I know it's my home machine in because it connectes to a different dial in server just fine. Anybody know what I've done wrong? Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: mouse
> I got the xwindows to work but the mouse is not working. I use the > Microsoft mouse driver when I setup the mouse but it seems like that does > not work. Can anyone help me with this problem. I don't have enough information to really help you, but if your mouse plugs into your PS/2 port, 95% of the time you choose the PS/2 protocol and /dev/psaux as your device in /etc/X11/XF86config: Protocol"PS/2" Device "/dev/psaux" If it's not a PS/2 mouse, you might consider running /usr/bin/X11/XF86Setup because it lets you fiddle with mouse properties until the mouse works. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: sendmail: NOQUEUE: Authentication-warning
> Looks like sendmail does a reverse dns lookup on a connecting host and > find that the IP doesn't match the hostname. It therefor suggest that > someone messing around (authentication warning). Are you controling > relay using domain or IPs? Relaying is restricted to localhost and two local subnets, so the warnings aren't related to relaying. The email is being delivered straight to the machine in question. /etc/mail/relay-domains: 137.229.94 137.229.92 127.0.0.1 > Check hostnames against your dns records for the machines mentioned in > the log event. Most of the NOQUEUE warnings are for machines I have no control over such as this one: Jan 25 00:23:36 denali sendmail[25859]: NOQUEUE: Authentication-Warning: denali.frontier.iarc.uaf.edu: Host pop2.sys.hokudai.ac.jp [133.87.1.132] claimed to be pop3.sys.hokudai.ac.jp And even those that I do have control over, it is usually a Windows machine that reports only it's hostname, when sendmail appears to want the fully qualified domain name (i.e. Windows says alces and sendmail wants alces.frontier.iarc.uaf.edu). I'm not particularly worried at this point because these *new* warnings are only warnings, but if they became errors that bounced the mail, I'd be in a world of trouble that I couldn't fix. I was hoping there was a flag in /etc/mail/sendmail.cf that got changed in a recent potato upgrade and that I could reset to the way it used to behave. Thanks. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
sendmail: NOQUEUE: Authentication-warning
A few days ago I upgraded one of my severs to the latest iteration of potato and since then I've been seeing messages similar to this in my syslog: Jan 24 16:18:57 denali sendmail[17441]: NOQUEUE: Authentication- Warning: foo.bar.edu: Host bar.foo.edu [200.200.10.10] claimed to be bar I get these warnings from some of my Windows machines, as well as remote systems that must not be configured quite right. It's not a big deal, but does anyone know how to stop this warning? I worry about when it will no longer be a warning. . . Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
libungif3g-dev: post-installation script error
I've been keeping up with potato fairly regularly (two or three times a week), and occasionally I wind up with errors that look like this (this is what I got today): dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error processing libungif3g-dev (--configure): subprocess post-installation script returned error exit status 2 Errors were encountered while processing: libungif3g-dev Sometimes I can get things to work by doing dpkg --purge, apt-get install, but in this case several things depend on the library. Is there a way around this, or should I file a bug report and wait for a repaired package? Where do these installation / configuration scripts live -- perhaps I can fix it myself? Thanks. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Upgrading pcmcia-* breaks ppp
> > I haven't tried this solution yet with 3.1.8, but I'll give it a shot > > tomorrow and see if I can get my Xircom modem to work with the latest > > PCMCIA. > > FWIW, my setserial is seeing the port ttyS1, even though it is disabled > in the bios. /cat/interrupts, OTOH, does not show irq 3, which makes me > think one of those information is wrong. But the fact that the modem is > slow while using irq 3... and if I disable ttyS1 through setserial > command, I can't get ttyS1 (now owned by pcmcia) to work at all with the > card(s). My setup now works with the latest PCMCIA. My serial ports are enabled in the BIOS, setserial has been purged and I recompiled PCMCIA using the pcmcia-source package. The kernel detects a serial port as ttyS0, irq 3, but card services takes over this port somehow when I insert the modem card. IRQ 3 doesn't show up in /proc/interrupts, which seems strange, but it works. Don't know if this helps you or not. I sounds like you may have tried what I've got already. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Upgrading pcmcia-* breaks ppp
> The other poster has suggested removing setserial; is there anything > bad that can result from it (i.e. what does setserial do on a laptop)? The reason the poster suggested that is because by default setserial will store and reload serial port configuration information before PCMCIA card services tries to load a serial port associated with the modem card you insert. Often what happens is setserial assigns /dev/ttyS0 - /dev/ttyS3 and irqs 3 and 4. When card services tries to allocate resources and interrupts to the PCMCIA modem card it can't find a free IRQ. I haven't tried this solution yet with 3.1.8, but I'll give it a shot tomorrow and see if I can get my Xircom modem to work with the latest PCMCIA. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Lilo Config
> In the past, I've always just booted Debian off of a floppy, but this time I > want to use LILO to boot Debian or Win95 depending on what I want. If I > want to use LILO, do I just choose 'Make bootable form hard disk' at the > last step of Debian 2.1 Slink, or do I have to do something else. You will have to modify your /etc/lilo.conf file and then run /sbin/lilo in order to add the DOS choice to your LILO options. On my system I have two IDE hard drives (/dev/hda and /dev/hdb) with Windows using all of /dev/hda1, Linux on /dev/hdb1, swap on /dev/hdb2, and Windows on /dev/hdb3). Here's what my /etc/lilo.conf looks like: (without the comments) boot=/dev/hda # Where I'm booting from. compact prompt # Let the user choose OS timeout=60 default=dos # Use dos by default (for my wife :) ) map=/boot/map install=/boot/boot.b image=/vmlinuz # Linux setup with root on /dev/hdb1 root=/dev/hdb1 label=lnx read-only other=/dev/hda1 # DOS setup with root on /dev/hda1 label=dos > Is it possible to lose any information on my C: (windows) if I do install > LILO on it? Yes it is, so be very careful, especially with the first line. I once put boot=/dev/hda1 instead of boot=/dev/hda. This put LILO over the partition information on my DOS disk, which meant I couldn't access the drive at all. boot=/dev/hda puts LILO in the master boot record, where it should go. Before you do anything (i.e. run /sbin/lilo) make a backup of your master boot record on a floppy: dd if=/dev/hda of=/mnt/floppy/mbr bs=512 count=1 This way if anything goes wrong you can boot Linux from your boot floppy, mount the floppy on /mnt/floppy and restore the MBR: dd if=/mnt/floppy/mbr of=/dev/hda bs-512 count=1 Also, read /usr/share/doc/lilo/Manual.txt It'll save your butt one day. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Upgrading pcmcia-* breaks ppp
> A big guess, but are you guys sure you have no interrupt or similar > conflicts? I have a problem with Xircom modem which sounds similar to > the ones described in pcmcia-howto in relation to the interrupt conflict > even though my /proc/interrupt doesn't show one. I have the same problem whenever I try to compile the most recent PCMCIA sources. Right now I'm running from pcmcia-cs.3.1.3 because all the newer once cause the problems mentioned by the first poster (everything seems OK but pppd can't get the modem). > Changing the irq works (from line being hopelessly slow to the normal > speed of 56k modem). What did you change the irq to, and how? I tried to do this by excluding IRQ's in the PCMCIA config.opts file but each time it still failed, until finally there were no IRQ's left and the serial module wouldn't load. I hope this goes away in 2.4 when PCMCIA is part of the kernel. . . Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
vim / ssh / backspace
For some reason when I use ssh to connect to my machine at work the backspace key no longer works in vim (nothing happens when I press it). The backspace key works fine in all other situations, and works even in vim when I'm at the console of my work machine. In vim I can use Ctrl-h to do the same thing as backspace, but it's a pain. My .bashrc on the work machine has: stty erase ^h in it, if that makes any difference. Can anyone think of what might be going on, or suggest what things I might try to make backspace work? Thanks. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: upgrading multiple machines to 2.1r4
> full mirror. What would be the best way to make sure I can (re)use the > packages I've downloaded with dselect? I'd do: apt-get clean (wipes out all the *.deb files from your package cache -- /var/cache/apt/archives) apt-get update apt-get upgrade (downloads and installs all updated packages) Then just copy the *.deb files from /var/cache/apt/archives from one machine to the next, apt-get update, then apt-get upgrade. You'll still have to do apt-get update via the net for each machine (I don't know of a way to sync this information and it's probably not very safe to try to do it by hand), but at least you'll have downloaded the packages only once. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Debian boot issue.
> I try to install slink (debian 2.1), booting from the cd-rom 1, and I > have no > problem until: > (scsi0) found at PCI 17/0 > (scsi0) Warning - detected auto-termination > (scsi0) Downloading sequencer code... 419 instructions downloaded > > - After the 'Download sequencer code...' message the boot is > completely stuck. > > Any idea ? I had the same problem with an Adaptex 2910C. I think your problem is a kernel issue -- the 2.0.36 kernel that is loaded from the Debian CD doesn't support the newer Adaptec cards. This is why it worked when you used a different distro (probably using a newer kernel). What I did was download the boot floppies from potato (unstable Debian) and used those. I had only one problem with this: after the base system was installed, the script to start dselect (where it lets you pick the type of install) crashed. I just started dselect from another console and continued the install using the apt-get method. Potato seems very stable to me, but you'd need to install it from the network because there aren't CD's for it (as far as I know). Another alternative would be to remove the SCSI card, install Debian 2.1, download and compile a 2.2.x kernel (with the correct Adaptec driver built in), then install the SCSI card and devices. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: gimp-nonfree
> I have installed gimp-nonfree, but when I save an image, the gif > extensions is still disabled. Am I missing anything? GIF is often disabled if there are layers in the image that haven't been flattened, or if the image mode is RGB rather than Indexed. > Also, could someone tell me how to save an image with > transparent background? It would be great if I can use png and avoid > using > gif, but I don't really mind. Even though the PNG image format supports transparency, I wouldn't use it if you are putting your images on the web because most browsers don't use the PNG transparency information. The latest Mozilla release (M12) does, but Netscape and MSIE 4.0 don't. Not sure about MSIE 5.0. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: SANE / potato (Fixed)
> Hello. Just set up a potato box to drive my HP6200C scanner. I installed > the SANE package, but it seems as though the sane-hp driver isn't there, > and I can't seem to find a Debian package for it. Am I just missing OK, so I'm an idiot -- the sane-hp driver is there as libsane-hp, and I wasn't calling the SANE programs correctly (I was using /dev/sg0 instead of hp:/dev/sg0). Sorry for the bandwidth. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
SANE / potato
Hello. Just set up a potato box to drive my HP6200C scanner. I installed the SANE package, but it seems as though the sane-hp driver isn't there, and I can't seem to find a Debian package for it. Am I just missing it, or do I need to download it from SANE and put the *.a and *.so* files in /usr/lib? find-scanner finds the HP scanner, but all of the SANE programs say "Failed to open device /dev/sg0, Invalid Argument". At this point I'm root, and have created /dev/sg0 using /MAKEDEV sg*. Thanks. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: rsh access
> rsh a redhat linux server from my debian server...and i have no idea how to > get it to work. To do this you need four things on your Red Hat system (or any UNIX for that matter): * The user's home directory on the remote machine must have a ~/.rhosts file with the address of the local machine. * The remote machine must have the shell line in /etc/inetd.conf uncommented: shell stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rshd * The /etc/hosts.allow file must allow in.rshd from your local machine: in.rshd: local_machine * You may also need to make sure the portmapper is running on the remote machine, and that your local machine has access to it. In Debian, this is also done with /etc/hosts.allow, but remember that the portmapper only understands IP addresses: portmap: 192.1.4. will allow 192.1.4.0 thru 192.1.4.255 Of course the server machine also has to have in.rshd installed and all of that. Also don't forget to restart the inetd daemon on the remote server if you change your /etc/inetd.conf file. Hope this works! Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: FrameMaker 5.5.6 for LINUX
> installed it under Debian/slink. Unfortunately it doesn't run because > it is linked to the following libraries which are not available under > Debian (even not with potato): I can't answer your question about slink, but I had no trouble installing the FrameMaker demo under potato (apt-getted this morning). Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Gcc compile/linker math
> I can't get gcc to link math functions like cos( ) etc. from > usr/include/math.h. | mathcalls.h Box is slink. Any help appreciated. > TIA. Try adding -lm to the end of your gcc line: gcc -O2 -g -Wall -o prog program.c -lm This links your program against libm.a. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
mountd on SPARC
I recently installed Debian on an sun4u machine, upgraded to 2.2.13 and potato. Every so often I see this in my syslog: Dec 7 14:55:47 foo mountd[19159]: unable to register (mountd, 2, udp). Dec 7 14:55:47 foo inetd[115]: /usr/sbin/tcpd: exit status 0x1 Dec 7 14:55:47 foo rpc.mountd[19160]: connect from 137.229.94.194 The message is repeated many times. What is strange to me is that the IP address listed is the IP address for the machine itself (foo). Why would a machine be trying to mount something on itself using rpc.mountd, which I thought was restricted to NFS mounts? /etc/fstab includes local filesystems (which are mounted just fine) and two remote filesystems, which are also mounting just fine. I am exporting one filesystem to a few remote machines, but /etc/exports contains machines other than the local machine. Anyone know what's going on? Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Error messages using Iomega ZIP
> But I would make one recommendation, in spite of your saying that > minor errors don't matter in text files. I don't put any ordinary > files on zip disks at all. Everything is zipped. That way, you can > type something like for z in /zip/*zip; do unzip -t $z; done > and check they're all ok. My favorite method for this is to run $ find ./ -type f -exec md5sum {} \; > md5sums in a directory before copying it (burning to CD, writing to zip, etc.). Then just do: $ find ./ type f -exec md5sum {} \; | diff md5sums - I've found that md5sum does a pretty exhaustive scan through a file and it'll find CD write errors. I don't know if it actually searches every byte / block though. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: How to create /dev/modem?
> If you're wondering which ttyS* has a modem attached to it, try running > wvdial. It does an excellent job of detecting modems (in my experience). Sorry, try wvdialconf (it's the configurator that looks for modems). pppconfig also tests serial ports for modems and has worked for me. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: How to create /dev/modem?
Hans, > Running Slink with 2.2.10 kernel. Am missing /dev/modem and can't figure > out how MAKEDEV makes this (tried ./MAKEDEV modem, ./MAKEDEV /dev/modem, > ./MAKEDEV generic and ./MAKEDEV serial). Anyone with some pointers? Thanks > -- Hans I don't think /dev/modem is a true device in the sense of /dev/ttyS0. On my laptop /dev/modem is a symbolic link to the correct serial device, which for me is /dev/ttyS2. As root: ln -s /dev/ttyS2 /dev/modem If you're wondering which ttyS* has a modem attached to it, try running wvdial. It does an excellent job of detecting modems (in my experience). Hope this helps! Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Clipboard-like software?
> a clipboard. I'm looking for something that can just run and recieve > selected/highlighted text through some key combination. I'm looking at Don't know how well gpm does this in a console, but X provides this automatically with the left (copy) and middle (paste) mouse buttons. Works like magic, and is far better IMHO than the key commands you have to use in Windows. Just select a bunch of text, an url, etc. with the left mouse button, move the cursor where you want it (like the location window in Netscape) and press the middle mouse button. Magic! Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Help with ethernet printer
> > I then went about trying to configure my printcap file manually, but > > I'm a little confused about all the settings it needed. > > > > Here's what I have in it: > > > > lp|x4520mp|Xerox 4520mp:\ > > :sd=/var/spool/x4520mp:\ > > :rm=jchawk5:\ > > :rp=x4520mp_4:\ > > :sh=: You may also want to make sure that the machine jchawk5 is in your /etc/hosts file (or can be found with nslookup jchawk5), and that this machine also has lpd running with a printer named x4520mp_4 in /etc/printcap. I have a network-enabled Xerox machine that can be printed to (the network board runs Linux!), and for this application, your /etc/printcap looks more like: :rm=hostname_of_printer:\ :rp=lp:\ This prints directly to the print spooler inside the printer itself. Most of the networked printers I've used (HP, Xerox) have an internal spooler named lp. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Deb package for Julian date?
Godric -- > Hi. Anyone know if there is a deb package (I'm using Slink still with > 2.0.36 kernel) for converting ordinary dates into Julian dates (as used > in Astronomy)? Or if no debs then any GNU/Linux package which I could > use alien on? I don't know if there is a Debian package to do what you want, but I have a Perl script that includes subroutines for most data conversions. It would be trivial to modify it to do whatever conversion you want. If you know Perl, let me know and I'll send you the subroutines and you can modify them to your heart's content. If you don't, tell me what you need and I can whip it together. Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc
Re: Silo problem (SPARC potato) -- FIXED
Thanks for those who responded so quickly -- I put vmlinux instead of vmlinuz in my /etc/silo.conf file, so it was unable to find the kernel file. My stupid mistake. . . Chris -- Christopher S. Swingley tel: 907-474-2689 fax: 474-2643 930 Koyukuk Drive, Suite 408C email: [EMAIL PROTECTED] University of Alaska Fairbankswww.frontier.iarc.uaf.edu:8080/ Fairbanks, AK 99775 ~cswingle PGP key: http://www.frontier.iarc.uaf.edu:8080/~cswingle/pubkey.asc