Re: TShirts
On Sat, 6 Dec 1997, Tim Sailer wrote: Just in time for the holidays, I still have some 'unofficial' Debian tshirts left. Take a look at http://www.buoy.com/~tps/tshirt Have you still got three extra large left? I'll put a check in the mail on Monday. Thanks for doing this! Waiting is, Dwarf -- _-_-_-_-_-_- _-_-_-_-_-_-_- aka Dale Scheetz Phone: 1 (904) 656-9769 Flexible Software 11000 McCrackin Road e-mail: [EMAIL PROTECTED] Tallahassee, FL 32308 _-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: command logging
As much as possible. Hmmm accountingI'll have to look into that. Is there another way to log the commands AND options ? Thanks ! Matthew On Fri, 5 Dec 1997, Stephen Zander wrote: Matthew Tebbens wrote: Is there a way to log all commands typed by someone ? ttysnoop does not work all that great, .bash_history only logs AFTER the person logs off, not sure if I can alter bash to log everything... I looked at telnetd, but I'm not sure if any of the debugging features do this. Something where I could just do a 'tail -f logfile' to keep tabs on what people are doing... Do you want the command-line options as well, or just the command name? The later can be got by running accounting on the system (if you aren't already). Stephen --- Normality is a statistical illusion. -- me -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
auth and wu-ftpd
I have a problem that I'm sure is documented in an FM somewhere, but I can't find it. Here's the deal ... we run a Cisco PIX proxy server here, a few BSDI servers, and we're in the process of migrating to Linux. However, my workstation (Win NT) is behind the proxy server ... when I ftp to the BSDI box, it works fine. When I ftp to the Linux box (running Debian unstable) the connection hangs. (This happened when the Linux box was running stable, too). A 'netstat' on the Linux box shows that the 'auth' service has opened a socket (SYN_SENT) to the client. However, that Cisco PIX is fairly paranoid and doesn't allow incoming connections to clients ... so it drops all those auth packets, and I can't ftp to the Linux box. This blows. I don't see an advantage to sending auth packets to machines that, for the most part, will be PCs running Windows. How do I fix this? I've read the man page for wu-ftpd. I've edited inetd.conf so that ftp doesn't run through the tcpd wrapper. Do I need to recompile wu-ftpd? I see no command line and/or conffile directives to enable/disable authentication. Any ideas? -- Nathan Norman MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD 57104 phone: (605) 334-4454 fax: (605) 335-1173 mailto://[EMAIL PROTECTED] http://www.midco.net PGP Key ID: 0xA33B86E9 - Public key available at keyservers PGP Key fingerprint: CE03 10AF 3281 1858 9D32 C2AB 936D C472 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
smail won't send mail
In the past few days, smail has stopped non-local mail. It returns a message from MAILER-DAEMON saying something like `551: Have you read DNS + BIND'. What's going on? Adam Klein -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Standard header files.
I've installed gcc and all the packages that dselect recommends to go with it but whenever I try to compile anything, like the kernel, I just get a bunch of error messages about missing *.h header files like stdio.h. Shouldn't gcc come with these basic fundamental headers? Do I need to do a path type of statement so the system can find them? I looked through my directory tree for them but couldn't even find them. Are they hidden somewhere that I should know about? I searched the packages section at debian.org for stuff like standard header files or include but came up dry. I'm sorry for consuming bandwidth with these newbie questions Christopher Barry P.S. Thank you everyone for responding to my other newbie make issues post. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: dunc pppd configuration script
On Fri, 5 Dec 1997, Robert D. Hilliard wrote: On 05 Dec 1997 16:24:10 [EMAIL PROTECTED] wrote: Richard G. Roberto writes: I also want to address this issue about standard options file locations. It is impossible to manage multiple ppp options sets in the same file unless the option requirements are identicle. ... I personally have three different connection requirements and use dunc/dppp to manage them. It should be possible to handle this with a seperate provider file for each isp (pon would need to be revised, or the user told to type 'pppd call isp'). If the object is to lead a new user through a simple ppp configuration from the base install script, I question whether it is worthwhile making it handle multiple connections. The user who requires multiple configurations is probably sophisticated enough to handle it himself. The object is to have a ppp setup utility that can set up ppp for any arbitrary user. Having one tool for novices and different tools for varying intermediate levels and yet even more tools for experts was not the objective. Who the heck really wants to go through setting up ppp with vi anyway? And what does the need to have more than one connection have to do with the level of _technical_ sophistication of the user? These were definitely not on the objective list when I wrote this. But most people are their own sysadmins. I agree that dialing out should not require root, but initial configuration of ppp is as much system administration as is setting up an ethernet connection. I don't think I'd want my users accidentally mucking around on their system as root -- especially if they're connecting from home! The last thing I need to do is start making house calls. I believe all, or almost all, networks have Internet connectivity and mail systems that have been set up by the sysadmin, so users on such systems shouldn't have to configure ppp. This tool is aimed at What does setting up a mail system have to do with someone setting up their client ppp connection? What makes you think that a setup tool can afford to make any kind of assumptions about the machine or environment anyway? This was supposed to be as generally useful to as many people as possible. It was originally suppose to support slip and diald as well, but I never had the chance to get that part developed. The next version was to add these as (or similar functionality for diald) if I got to it, but that would have been another total rewrite in perl. Of course, John may be more comfortable with these elements and add them. the new user who is migrating from DOS/Windows, and has one box with one or two users. I do this sort of thing for a living (kind of) and my users have dialup accounts for home, work, market data, and even sometimes private shopping networks. They currently do this on win95 themselves (multiple connections support is built in). What exactly is your point here? And why is it that you decided to limit the target audience all of a sudden? I wonder if Linus Torvalds would rather click a few buttons and dialup or sift through config file after config file with emacs. I'd rather click a few buttons. The object is (almost) never to get the config files setup but to just get connected. Getting the config files setup is unfortunately a prerequisite. The aim of dunc was to help simplify this so that people could more easily get on with the business of being connected (which is the point afterall.) Dont get me wrong, I think the discussion is always useful, but stepping in now and redefining the objective of almost 2 years ago isn't entirely constructive. It wouldn't require taking over dunc to create a new tool with a more limited objective. I don't think that's what John's after though. Cheers, -- Until we extend the circle of our compassion to all living things, we will not ourselves find peace -Albert Schweitzer Richard G. Roberto -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: command logging
On Sat, 6 Dec 1997, Matthew Tebbens wrote: As much as possible. Hmmm accountingI'll have to look into that. Is there another way to log the commands AND options ? Maybe you could wrap the users's loginsession into script from the bsdutils package. Ciao, Martin -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Bash 2.01 Upgrade/Libc6
I am trying to follow Scott Ellis' Libc5/6 upgrade mini-HOWTO to the letter (fearing for my system if I do not). It says that, in order to upgrade bash to 2.01, I must first install ncurses3.0_1.9.9e-2. However, I cannot find this package anywhere (stable has ncurses3.0_1.9.9e-1 and it does not appear to be under 'oldlibs' in hamm. I currently have stable (and therefore ncurses3.0_1.9.9e-1) and the ldso in hamm as well as libc6_2.0.5c-0.1. Can I safely upgrade from where I am to ncurses3.4_1.9.9g-5 and then get on with upgrading bash? Thanks for any assistance, Paul -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Standard header files.
Christopher R Barry [EMAIL PROTECTED] writes: CRB I've installed gcc and all the packages that dselect recommends CRB to go with it but whenever I try to compile anything, like the CRB kernel, I just get a bunch of error messages about missing *.h CRB header files like stdio.h. Shouldn't gcc come with these basic CRB fundamental headers? No, they're in the libc5-dev package; you need to install that. In general, for any library package libfoo, there's a corresponding libfoo-dev package that contains the header files and such. -- _ / \ The cat's been in the box for over | David Maze | 20 years. Nobody's feeding it. The | [EMAIL PROTECTED] |cat is dead. | http://donut.mit.edu/dmaze/ | -- Grant, on Schroedinger's Cat \_/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Standard header files.
On Sat, 6 Dec 1997, Christopher R. Barry wrote: I've installed gcc and all the packages that dselect recommends to go with it but whenever I try to compile anything, like the kernel, I just get a bunch of error messages about missing *.h header files like stdio.h. Shouldn't gcc come with these basic fundamental headers? Do I need to do a path type of statement so the system can find them? I looked through my directory tree for them but couldn't even find them. Are they hidden somewhere that I should know about? I searched the packages section at debian.org for stuff like standard header files or include but came up dry. I'm sorry for consuming bandwidth with these newbie questions I once had a similar experience when I had a mix of incompatible developement packeages. Check if cpp, gcc (and other packages I don't remember) have the same version number. Ciao, Martin -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Where is the Incoming directory?
On Dec 06, Kingsley G. Morse Jr. wrote Would someone be so kind as to tell me where the Incoming directory is? I'd like to check if updates of some programs that I use have arrived. (lyx and imagemagic, for example) Look in llug.sep.bnl.gov/pub/debian Tim -- Tim Sailer (at home) Coastal Internet, Inc. Network and Systems Operations PO Box 671 http://www.buoy.comRidge, NY 11961 [EMAIL PROTECTED]/[EMAIL PROTECTED](516) 476-3031 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
CGI Error
How can I fix this problem? *** Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. *** This is the top line of my input: #! /usr/bin/perl I'm using the newest Apache included w/ hamm, suexec is configured compiled correctly, Apache says 'configuring apache to run with suexec..' when starting, and it runs fine w/ other .cgi scripts.. (binary) Thanks in advance, Paul -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: CGI Error
How can I fix this problem? Run perl -c on your script and see what happens. Plus check if it is mode 755. Alex Y. -- _ _( )_ ( (o___ +---+ | _ 7 |Alexander Yukhimets| \()| http://pages.nyu.edu/~aqy6633/ | / \ \ +---+ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Debian Mirror
I am not very familiar with the Debian distribution, and would like suggestions on what to include in the Debian mirror on ftp.tux.org that would fit within 2 GB maximum. The current exclude_patt for mirror is rather ugly and over-micromanaged, I suspect it is trying to do too much in trying to keep parts of hamm and bo. Perhaps it would be better to concentrate just one of them, and leave only key parts of the other? exclude_patt=(^|/)(\.in\..*\.$|Incoming|doc|indices|non-free|tools|dists| contrib|project|hamm/non-free|hamm/contrib|hamm/hamm/disks-.*| lost\+found/|.*/lost\+found/|hamm/lost\+found) David [EMAIL PROTECTED] 703-810-5538 Reston, Virginia, USA Down that path lies madness. On the other hand, the road to hell is paved with melting snowballs. -- Larry Wall, 1992 The following is a chunk from my mirror.defaults. You will find at the end of package=debian my exclude_patt for debian. This exclude_pattern is my response to David Niemi's email. After that exlude_patt, I include every line I use for debian-non-us. Throughout, I include additional information here for the typical home modem user. My home mirror initially takes about 4 full days through with a 33.6 modem, though my chatscript (with AT \\V4 ...) indicates through the log files that my ISP gives me 24000 bps service. With a full mirror, my modem contacts my ISP from 3 minutes to 5 hours nightly. My home mirror uses 1010MB of disk, about the same as a similar exclude_patt uses for RedHat, since both currently have two active versions. I include here more lines than just exclude_patt to show some un-needed but useful variables. I also include the debian-non-us lines because a US mirror site probably can not legally mirror it, so you may want to mirror it yourself at home. Of course, after individuals (ie, not official mirror sites for Debian) get a rudimentary Linux working, they should never use a Linux CD again. Like RedHat, the Debian CD excludes even from its US site the directories debian/non-free debian/contrib And the US sites certainly exclude the non-US Debian directories found in other countries. Before David Niemi considers anything like an official mirror of debian, consider the failure of what I considered the three best mirror sites for Debian: tsx-11.mit.edu uiuc.edu crosslink.net I saw them sequentially fail over several months, initially providing perfect mirrors, but eventually failing to properly mirror debian. They generally failed when debian added a new version, and hence doubled the required disk space for debian. This caused me agony, since in each case I initially presumed that my mirror program had failed. Each of these sites gave no indication for months that their mirrors of debian had become aberrant. I give a few more details about these sites below and I suggest that NO ONE USE A SECONDARY MIRROR. David Niemi might give a lot of information at his site about mirroring the debian distribution in our homes or in our offices, but considering the failure of other debian mirrors and the trouble caused to those who relied on those mirrors, I SUGGEST HE NOT MIRROR DEBIAN. Perhaps the trouble of previous debian mirrors could be aleviated with 4GB of disk space. I wonder how big the whole debian site is, since it took out both MIT and UIUC. Despite problems of bandwidth, I SUGGEST THAT THE FINAL USERS THEMSELVES MIRROR ftp.debian.org DIRECTLY! Each of the following three sites were once in debian's README.mirrors file. # 1. tsx-11.mit.edu #I mirrored off this site in October and November of 1996. #I believe when the Linux kernel changed and debian started the rex #distribution that this site began to keep old debian directories. #This lasted for months, ftp.debian.org eventually commented about #it in its README.mirrors, and tsx-11.mit.edu finally removed all #traces of a debian mirror. # 2. uiarchive.cso.uiuc.edu #This is one of the most serious sites in the world and they #couldn't handle debian. #I mirrored this site from around November, 1996, #until August, 1997. #My first hint of problems came on November 13, 1996 when it failed #to mirror the then new version, bo. #In August 1997, after 6 months of mirroring debian through #uiarchive.cso.uiuc.edu, my PC began to get the whole mirror again. #Checking dates, I found that uiuc changed archive dates. #In response to my email to the UIUC administrator, I was told that #due to disk space problems UIUC may drop the debian mirror. #They eventually dropped the debian mirror. # 3. debian.crosslink.net #This is a local site. #These guys came to a Lugman
Re: CGI Error
On Sat, 6 Dec 1997, Alex Yukhimets wrote: How can I fix this problem? Run perl -c on your script and see what happens. Plus check if it is mode 755. syntax OK perl is mode 755.. should the script be? I tried the script at 755 is it still didn't work... -Paul -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: NFS: mount clntudp_create: RPC: Program not registered
Go to host judy and check if you can mount directories from kilu: % mount -o mountport=773 kilu:/ /mnt If everything worked fine, you will need to configure /etc/hosts.allow on host kilu . NOTE: The number 773 above corresponds to the info you posted earlier, but the port of mountd has probably changed by now. (use rpcinfo -p on kilu to find out) -- Ioannis Tambouras [EMAIL PROTECTED], West Palm Beach, Florida Signed pgp-key on key server. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Strange XEmacs behaviour
Hi. I'm using xemacs19_19.16-1.deb from unstable (yeah, I know, I should be using the stable one... but I like living dangerously) and I've been having strange problems off and on, namely: 1) It can't find its info files when I do C-h C-c, C-h F, and so on. (I get Info file xemacs-faq does not exist - though I know quite well that it does!) This was happening before... then it fixed itself mysteriously, which I thought had to do with me running makedev on my new filesystem, though there's no logical reason that I can think of why this would be so. Anyway, now it's happening again. 2) Now, all of a sudden, its keysyms are screwed up such that even though every other X client recognizes the left-alt key as Meta, when I try to do any one of the multitude of M-x ... commands in XEmacs, I get A-x not defined. It must have to do with keysyms because it only happens in X11. However, problem (1) also happens in text mode. My system is pretty mixed up... so maybe it's my fault! Salient details include: libc6_2.0.5c-0.1, libc5.4.33-7, xlib6g_3.3.1-2, xlib6_3.3.1-2 (with /usr/i486-linuxlibc1/lib/X11 as a symlink to /usr/X11R6/lib/X11 in order to fix app-defaults problems) and most of the base system from hamm. Anyway, I hope I'm not wasting too much bandwidth here... any help would be greatly appreciated, 'cause I like XEmacs, but it's pretty useless without working on-line help and a Meta key! :) Cheers Dave [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: truncating files
A very simple way is foo (noquotes) works in bash. It also creates a file. Krzysztof On Sat, 6 Dec 1997, Carl Mummert wrote: Is there already a (standard) utility on a linux box to truncate a file to 0 bytes? [Besides echo -n foo, which is 1) too long for my lazy fingers and 2) won't take multiple filenames ] Since I couldn't find one, I wrote a little C program to do it, but I am still interested in whether there is already one on the system. Carl [EMAIL PROTECTED] One must imagine Sysiphus happy -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: smail won't send mail
On Sat, 6 Dec 1997, Adam Klein wrote: In the past few days, smail has stopped non-local mail. It returns a message from MAILER-DAEMON saying something like `551: Have you read DNS + BIND'. What's going on? Adam Klein Well, since this problem apparently just came up, it's probably not something you did but rather something your ISP did. Tell me, is the visible name as defined in your /etc/smail/config file a name that corresponds to your machine in the DNS? That is, if your ISP were to do nslookup visible_name would they get your machine's IP address? If your visible name is not something that directly corresponds to your IP address, then your ISP may be doing some kind of weird anti-spam thing which prevents smail from sending outgoing mail. I use ppp, and so have a dynamic IP address. I still manage to set my visible_name so that it looks ok from the outside, though - see http://www.math.jhu.edu/~martind/mybox.html for for I do it. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Standard header files.
On 6 Dec 1997, David Z. Maze wrote: Christopher R Barry [EMAIL PROTECTED] writes: CRB I've installed gcc and all the packages that dselect recommends CRB to go with it but whenever I try to compile anything, like the CRB kernel, I just get a bunch of error messages about missing *.h CRB header files like stdio.h. Shouldn't gcc come with these basic CRB fundamental headers? No, they're in the libc5-dev package; you need to install that. In general, for any library package libfoo, there's a corresponding libfoo-dev package that contains the header files and such. FWIW, either on your debian CD or on your local debian mirror, in the bo directory there should be a file called Contents - whenever you want to find out what debian package contains file xxx, just use grep: bash-2.01$ grep stdio.h /cdrom/bo/Contents usr/bcc/include/stdio.h devel/linux86 usr/i486-linuxaout/include/iostdio.h devel/libc4-dev usr/i486-linuxaout/include/stdio.h devel/libc4-dev usr/include/fcgi/fcgi_stdio.hdevel/libfcgi1-dev usr/include/g++/std/cstdio.h devel/libg++27-dev usr/include/hdf/mstdio.h graphics/libhdf4-dev usr/include/stdio.h devel/libc5-dev usr/lib/perl5/i386-linux/5.00307/CORE/nostdio.h interpreters/perl From this list, you could then see that the file you want is /usr/include/stdio.h, and thereby find out which package you need. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Bash 2.01 Upgrade/Libc6
On Sat, 6 Dec 1997, Paul Rightley wrote: I am trying to follow Scott Ellis' Libc5/6 upgrade mini-HOWTO to the letter (fearing for my system if I do not). It says that, in order to upgrade bash to 2.01, I must first install ncurses3.0_1.9.9e-2. However, I cannot find this package anywhere (stable has ncurses3.0_1.9.9e-1 and it does not appear to be under 'oldlibs' in hamm. ftp://llug.sep.bnl.gov/pub/debian/dists/unstable/hamm/binary/libs/ncurses3.0_1.9.9e-2.deb It just takes a while to find these things, but they are ususally there. If not, check incomming, bnl's is open to anonymous access and is usually up to date. HTH, Brandon - Brandon Mitchell [EMAIL PROTECTED] We all know linux is great... it PGP: finger -l [EMAIL PROTECTED] does infinite loops in 5 seconds Phone: (757) 221-4847 --Linus Torvalds -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: CGI Error
On Sat, 6 Dec 1997, Paul Miller wrote: How can I fix this problem? *** Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. My favorite trick, make a script in the same directory: #!/bin/sh /path-to-cgi/script.pl 2/tmp/cgi-error.$$ Then call your script and look at the cgi-error. ( will be the pid) to see what went wrong. Also, look at your apache log messages. Brandon - Brandon Mitchell [EMAIL PROTECTED] We all know linux is great... it PGP: finger -l [EMAIL PROTECTED] does infinite loops in 5 seconds Phone: (757) 221-4847 --Linus Torvalds -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: truncating files
-BEGIN PGP SIGNED MESSAGE- Carl Mummert [EMAIL PROTECTED] writes: Is there already a (standard) utility on a linux box to truncate a file to 0 bytes? [Besides echo -n foo, which is 1) too long for my lazy fingers and 2) won't take multiple filenames ] Since I couldn't find one, I wrote a little C program to do it, but I am still interested in whether there is already one on the system. Other users have suggested the use of foo, a null command, but that does not work in tcsh, my preferred shell. Note that echo z does not, as you might expect it to, add a blank line (at least under tcsh). So you can save 5 characters from your example that way. However the way I do this is by doing cp /dev/null foo... I don't remember why but this is supposedly a better way of doing it. I think it preserves the file permissions more accurately? I am not sure. I picked that up years ago but have since forgotten the reason... HTH. - --Bill. - -- William R Ward Bay View Consulting http://www.bayview.com/~hermit/ [EMAIL PROTECTED] 1803 Mission St. #339voicemail +1 408/479-4072 [EMAIL PROTECTED] Santa Cruz CA 95060 USA pager +1 408/458-8862 -BEGIN PGP SIGNATURE- Version: 2.6.2 Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface iQCVAwUBNIo/lR25V7Ur0zHlAQHVUQP/cX0J9D6OFRmON4k4CM8Ah8lmePipA7O6 6nlSc3ibyfbQHAsf3mxhVNOPx/QhBxFafEwFE905OLx5PJQpePIkF12BviQcjP86 /Z4l0VGHIM1fj0Vka6huMx9ShhVLZZHeNMcQq4SM2kDYHX3oWD0LScr3zZadFTMe MN0hsbhtLXo= =S+BB -END PGP SIGNATURE- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
ssh and shosts file
I am trying to use a .shosts file to allow password-less logins when using ssh. Both machines have a known_hosts file with the other machine in it (automatically set up by ssh). The machine I'd like to go to has a .shosts file which is mode 600. Yet when I use ssh to go to that machine it still asks for a password. This seems like it should be trivial to set up (I used .rhosts files many years ago and they always worked fine). Anybody have any ideas? - Jay -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Bash 2.01 Upgrade/Libc6
On Sun, 7 Dec 1997, Brandon Mitchell wrote: On Sat, 6 Dec 1997, Paul Rightley wrote: I am trying to follow Scott Ellis' Libc5/6 upgrade mini-HOWTO to the letter (fearing for my system if I do not). It says that, in order to upgrade bash to 2.01, I must first install ncurses3.0_1.9.9e-2. However, I cannot find this package anywhere (stable has ncurses3.0_1.9.9e-1 and it does not appear to be under 'oldlibs' in hamm. ftp://llug.sep.bnl.gov/pub/debian/dists/unstable/hamm/binary/libs/ncurses3.0_1.9.9e-2.deb It just takes a while to find these things, but they are ususally there. You can just get the Packages file and do a word search through it... -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: truncating files
-BEGIN PGP SIGNED MESSAGE- Carl Mummert [EMAIL PROTECTED] writes: Is there already a (standard) utility on a linux box to truncate a file to 0 bytes? [Besides echo -n foo, which is 1) too long for my lazy fingers and 2) won't take multiple filenames ] Since I couldn't find one, I wrote a little C program to do it, but I am still interested in whether there is already one on the system. Other users have suggested the use of foo, a null command, but that does not work in tcsh, my preferred shell. Note that echo z does not, as you might expect it to, add a blank line (at least under tcsh). So you can save 5 characters from your example that way. However the way I do this is by doing cp /dev/null foo... I don't remember why but this is supposedly a better way of doing it. I think it preserves the file permissions more accurately? I am not sure. I picked that up years ago but have since forgotten the reason... HTH. - --Bill. - -- William R Ward Bay View Consulting http://www.bayview.com/~hermit/ [EMAIL PROTECTED] 1803 Mission St. #339voicemail +1 408/479-4072 [EMAIL PROTECTED] Santa Cruz CA 95060 USA pager +1 408/458-8862 -BEGIN PGP SIGNATURE- Version: 2.6.2 Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface iQCVAwUBNIo/lR25V7Ur0zHlAQHVUQP/cX0J9D6OFRmON4k4CM8Ah8lmePipA7O6 6nlSc3ibyfbQHAsf3mxhVNOPx/QhBxFafEwFE905OLx5PJQpePIkF12BviQcjP86 /Z4l0VGHIM1fj0Vka6huMx9ShhVLZZHeNMcQq4SM2kDYHX3oWD0LScr3zZadFTMe MN0hsbhtLXo= =S+BB -END PGP SIGNATURE- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: CGI Error
On Sat, Dec 06, 1997 at 11:57:22PM -0500, Paul Miller wrote: On Sat, 6 Dec 1997, Alex Yukhimets wrote: How can I fix this problem? Run perl -c on your script and see what happens. Plus check if it is mode 755. syntax OK perl is mode 755.. should the script be? I tried the script at 755 is it still didn't work... You probably forgot to output the content type the following blank line. Something like print Content-type: text/html\n\n would usually do it. However, you should at least read your web server error log before posting like this, it will usually tell you what went wrong. If you were missing the content type, Apache's error logs will tell you invalid script headers or similar. Then you should make sure you read the CGI specifications. None of this is a Debian or a Linux problem. Hamish -- Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5 CCs of replies from mailing lists are welcome. http://hamish.home.ml.org -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: CGI Error
Paul Miller [EMAIL PROTECTED] writes: How can I fix this problem? *** Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. [snip] Have a look at the Don't-be-offended-by-the-name Idiot's Guide to Solving Perl CGI Problems. Although it's aimed at comp.lang.perl.misc, it's still got a lot of good advice. -- Carey Evans * http://home.clear.net.nz/pages/c.evans/ gc Trust Ivanova. Trust yourself. Anybody else - shoot 'em. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: CGI Error
I wrote: Have a look at the Don't-be-offended-by-the-name Idiot's Guide to Solving Perl CGI Problems. Although it's aimed at comp.lang.perl.misc, it's still got a lot of good advice. It must be too late at night... That's at URL:http://www.perl.com/CPAN/doc/FAQs/cgi/idiots-guide.html -- Carey Evans * http://home.clear.net.nz/pages/c.evans/ gc -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
CONT2:Debian Installation Problem, PLEASE HELP!!!
hello! It's me again, thanks for all the help last week! I have few more problems now: (BTW: I re-installed the whole system - The problem I couldn't install the kernel source was that my /usr part. was too small. so now it's 410 MB, I hope it's enough. I was even able to re-compile the kernel!!!) I was able to configure X, the only problem is that if I tell the Setup program that my Monitor is SVGA the resolution is too small, and if I tell it I have non-interlaced the fonts are so small that they are hardly readable. Is there a way to fine-tune the resolution? Before I reinstalled I had a window-manager that painted the background blue and if I minimized the virtual-desktop it looked like a desk with a V on it. I installed all of the window managers now and can't find that one. (The ugly 95 lookalike window-manager shows up and I try to load others.) I tried to configure PPP/SLIP (my ISP is IBM). When I try to use minicom to connect it does make the sound but that is the last thing it does with the modem, I mean that, I see no CONNECT message nor anything else. I don't see any prompt from the server even when I try to type something. Please help! Thanks in advance, Liran Zvibel. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
sound problem
-- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
sound problem
Hi. After a mighty, epic struggle with some documentation, I have deemed myself unworthy to solve this problem (forgive the dramatics...) I have a Yamaha 3d Wavetable sound card. I would like to be able to use it. I have compiled sound support into my kernel (though I wouldn't bet my life that I did it correctly). I read the Sound.HOWTO, which referred me to Readme.linux in the sound driver source directory. I read through and did a cat /dev/sndstat, which said the directory did not exist. So I ran the soundinstall script at the end of the Readme.linux file. Again, I did cat /dev/sndstat, and it says No suck device. Now, according to Readme.linux, I don't have sound support compiled into the kernel. There was not an option for Yamaha 3D wavetable cards in make menuconfig, so I chose the Yamaha option that was there, hoping it would work. I guess it didn't. TIA, Larry Gariepy -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: multiple X sessions problem
On Fri, Dec 05, 1997 at 04:23:44PM +, E Papantoniou wrote: (this is a repost) Hi all, my problem is that I cannot run more than one X server at the same time. When I am logged in as a user one and run startx on display :0.0, I do Ctrl-Alt-F2, log in as a user two and type startx -- :1.0 The second X server attempts to start (the gray default background appears) and gets stuck at that point. Going back to the Ctrl-Alt-F2 screen the erron message is : AUDIT ...(time and date)... 2144 X:client 1 rejected from local host Xlib: connection to :1.0 refused by server Xlib: Client is not authorised to connect to server This seems to be saying that the currently running Xserver won't let you connect. I think when you run startx --:1.0 it is trying to start it on the currently running server. Try using something like startx --vt9 :1.0 (I don't know if that's right, but it's getting there!) Adrian email: [EMAIL PROTECTED] | Debian Linux - www.debian.org http://www.poboxes.com/adrian.bridgett | Because bloated, unstable PGP key available on public key servers | operating systems are from MS -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: EPP Driver
On Fri, Dec 05, 1997 at 10:05:54PM -0500, Lou5212 wrote: I'm trying to optain or download the EPP Driver which is said to increase loading time to at least 18 to 24 megs a min. My Zip is so slow I loose my patience. I have a 166mhz can you please tell me how I can increase loading time. No - but I'll try and *decrease* loading time. Try checking your BIOS settings, try using EPP - on one machine I have ECPEPP worked fine, but on another it wouldn't. You'll never get 28-24MB/min - don't believe the specifications. I havn't tuned it (I leave FIFO checking on), but I get 2-3MB/min which is fine for my purposes. Please note that Im using a paralell port. I'd hope so - otherwise the EPP driver is a bit useless :-) Adrian email: [EMAIL PROTECTED] | Debian Linux - www.debian.org http://www.poboxes.com/adrian.bridgett | Because bloated, unstable PGP key available on public key servers | operating systems are from MS -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
guavac 1.0
I have released a package of guavac 1.0 for bo (debian 1.3x) (bo-unstable candidate). You can find it at ftp.rising.com.au/pub/hamish/libc5. Guavac is a free Java compiler. hamish -- Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5 CCs of replies from mailing lists are welcome. http://hamish.home.ml.org -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: SCSI Linux IDE Win95 on same box?
-BEGIN PGP SIGNED MESSAGE- On 5 Dec 1997, William R. Ward wrote: Hi, I'd like to ask for some advice on a new system I want to build. I'd like to have a Windows 95 filesystem installed on an IDE disk and a Linux (Debian 1.3.1) on a SCSI disk. I have a generic EIDE controller with HD and CDROM currently, and will be installing an Adaptec 2842 in addition with a SCSI disk on it. I already have Win95 on the IDE disk I want to use, and want to install the SCSI disk. Do I need to do anything special to get it to boot properly? If you wish to boot from your harddisk, you will need lilo and need to install in on the mbr of your IDE disk. (I assume, your BIOS won't let you boot off your SCSI disk directly) Install linux normally using the Boot/Root/Rescue disk and let the system make a boot floppy for you. Make sure, the Windows 95 partition is marked bootable. Boot from the just make boot floppy, then make a /etc/lilo.conf like: - boot=/dev/hda root=/dev/sda1 # -- depending on the number of your root partition linear # -- this might or might not be needed install=/boot/boot.b vga=normal timeout=50 prompt other=/dev/hda1 # -- depending on the number of your Win 95 partition label=Win95 image=/vmlinuz label=Linux read-only - run /sbin/lilo -v and reboot. Now to boot linux you need to type linux at the LILO: prompt and press Enter Nils -BEGIN PGP SIGNATURE- Version: 2.6.3ia Charset: noconv iQB1AwUBNIqqXFptA0IhBm0NAQH7cgL/U6fEP7+Hi7YMpKTdEhnpFWpTt1kOadTZ 3gDyU0gmmoPlcU/hi8A8yyjqt1RGV58vhsueYv5CBG4FtCrsFUQ+7jrINudXjsah GPKyBOXoyWZ1hJN737Jkcln9S/Sr5LT3 =QDaR -END PGP SIGNATURE- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: CGI Error
On Sun, 7 Dec 1997, Hamish Moffatt wrote: You probably forgot to output the content type the following blank line. Something like print Content-type: text/html\n\n would usually do it. I didn't write this script and don't know perl, so I don;t know what is wrong... --- #!/usr/bin/perl read(STDIN,$temp,$ENV{'CONTENT_LENGTH'}); @pairs=split(//,$temp); foreach $item(@pairs) { ($key,$content)=split(/=/,$item,2); $content=~tr/+/ /; $content=~s/%(..)/pack(c,hex($1))/ge; $fields{$key}=$content; } print Content-type: text/html\n\n; print HTML\n; print BODY BGCOLOR=#FF\n; print CENTER\n; print THANK YOUBR\n; print $fields{fname} $fields{lname}/BR; print I will writeBR\n; print you atBR\n; print $fields{email}BR\n; print /CENTER\n; print /BODY/HTML; --- However, you should at least read your web server error log before posting like this, it will usually tell you what went wrong. If you were missing the content type, Apache's error logs will tell you invalid script headers or similar. Then you should make sure you read the CGI specifications. None of this is a Debian or a Linux problem. I was just looking at the cgi.log file, which didn't give any errors.. in the error.log I get [error] Premature end of script headers messages.. what does this mean? Thanks Paul -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
kill (pid,0) unknown process message
I periodically get the above message even after I have installed a debianized kernel. Does anybody know what this means? I am running bo with some hamm additions. Donald Harter Jr. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
GPC
This is a request for some feedback from current and potential users of GPC. I have GPC 2.0 compiled for hamm, built using GCC 2.7.2.3. The next version of GPC (currently 971001) is in beta, but is already more stable than GPC 2.0. There seems to be a few possibilities available. I could package GPC 2.0, GPC 971001 beta, both versions, or wait until GPC 971001 beta is released as GPC 2.1. Let me know your preferences, if any, within the next few of days and I will then decide which course of action to take. Richard -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
X error
I successfully compiled XFITSview (a program for viewing and manipulating images in the FITS format) on my machine (running the latest from unstable, including LessTif 0.82). However, when I try to run it, the program starts, I briefly see a couple windows flash on the screen, then they disappear, and the following message appears: X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 78 (X_CreateColormap) Serial number of failed request: 915 Current serial number in output stream: 916 The above happens if I have started X as startx -- -bpp 16 However, if I have started X as startx -- -bpp 8 then XFITSview brings a message up saying Colormap full, create new one Is this a problem with XFITSview or is it a problem with my Xserver (xserver-mach64 version 3.3.1-2) or is it a problem with LessTif? Any ideas on what I can do to solve this problem? If further information would be helpful, I'll provide it. Thanks. James -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: truncating files
Summary: 1) foo 2) cp /dev/null foo Problems: 1) I use set -C in bash, so I can't say foo if foo exists wthout first saying set +C. 2) cp /dev/null foo won't take multiple filenames as arguments So teh answer is that I do need a script or program to do the job. Carl [EMAIL PROTECTED] One must imagine Sysiphus happy -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
tar
Hi there. Just Was wondering how to, or what is the switch to untar a file to overwrite and replace the existing files? Thanks Steve Koop: mailto:[EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: tar
On Sun, 7 Dec 1997, Steve Koop wrote: Just Was wondering how to, or what is the switch to untar a file to overwrite and replace the existing files? No switch required, tar automatically overwrites files when extracting. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: truncating files
On Sun, 7 Dec 1997, Carl Mummert wrote: Summary: 1) foo 2) cp /dev/null foo Problems: 2) cp /dev/null foo won't take multiple filenames as arguments So the answer is that I do need a script or program to do the job. What about: rm -f {list of filenames} touch {list of filenames} ...RickM... -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Simple Unix utility?
Jim Pick [EMAIL PROTECTED] writes: Now I notice that cut seems to buffer everything up. $ tail -f /opt/linuxhq/livesite/var/log/access.log | grep -v gif | cut -c1-175 Is there another way around that? cut doesn't buffers everything, grep is to blame. If grep output to a non-terminal (e.g. a pipe) it use buffers of 4k (don't remember the correct value). Unfortunatly, I don't know any way to get around this. Maybe you can use awk (or perl) to combine the functionality of grep and cut in the above line. BTW: A parameter to every program enforcing line-buffering instead of block-buffering would be great. In this case grep would be called with this parameter and everything works fine again. Torsten -- I haven't lost my mind -- it's backed up on tape somewhere. Fortune Cookie PGP Public key available -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: How are .Xdefaults files handled under Debian?
On Fri, 5 Dec 1997, bleach wrote: Humm, appreciate the suggestion as to the cause. It does look as though it could be related to visualBell. The only problems are that by default the visualbell is off, the xterm menu indicates that it is off, I set the resource off in .Xresources but the problem still occurs. One thing that I did just find out though is that it is possible to fix things by just re-enabling reverse video in the button two menu--that helps a bit. I just tested this. Normal video, visual bell not enabled (through the xterm menu). I called vi and pressed cursor up. The screen flashed. Then I enabled reverse video and again called vi. Pressed cursor up and the screen went back to normal video (also in xterm's menu). Black writing on white background. Really strange. Fortunately I don't use vi :-) The only command I know is ESC:q! just I case some app calls vi. Ciao, Martin -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: CGI Error
On Sun, 7 Dec 1997, Paul Miller wrote: I didn't write this script and don't know perl, so I don;t know what is wrong... As someone pointed out: the Idiot's Guide To Solving CGI Problems at www.perl.com is great. If you want to use CGI's scripts written in perl, I strongly advice you to read Learning Perl and CGI Programming on the WWW, both from O'Reilley. Most scripts you get on the web for free don't exactly match one's need or have small bugs, so you have the at least partly rewrite them. And you can use perl for nearly everything, so the time you spend learning it will pay back soon. Then rewrite your script using CGI.pm so that you can test it from the command line. I was just looking at the cgi.log file, which didn't give any errors.. in the error.log I get [error] Premature end of script headers messages.. what does this mean? There was no output from the script. Not even the Content-type:\n\n line. Usually a permission problem. See the Idiot's Guide. Ciao, Martin -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: CONT2:Debian Installation Problem, PLEASE HELP!!!
On Sun, 7 Dec 1997, Liran Zvibel wrote: I was able to configure X, the only problem is that if I tell the Setup program that my Monitor is SVGA the resolution is too small, and if I tell it I have non-interlaced the fonts are so small that they are hardly readable. Is there a way to fine-tune the resolution? Try Ctrl-Alt and + or - on the keypad, to see if the setup program automatically set up some other resolutions. You can also change the font for many programs using X resources or command line options. Before I reinstalled I had a window-manager that painted the background blue and if I minimized the virtual-desktop it looked like a desk with a V on it. I installed all of the window managers now and can't find that one. That's olvwm. (The ugly 95 lookalike window-manager shows up and I try to load others.) You have two options: to set the default wm for all users, change /etc/X11/window-managers. To change your personal wm, make a .xsession file in your home directory, containing these lines: xterm -ls exec olvwm and be sure you chmod u+x .xsession. I tried to configure PPP/SLIP (my ISP is IBM). When I try to use minicom to connect it does make the sound but that is the last thing it does with the modem, I mean that, I see no CONNECT message nor anything else. I don't see any prompt from the server even when I try to type something. You probably need to send more info on this, but I'm not sure what. Maybe someone else will have a suggestion. HTH, Havoc Pennington -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Debian Problem after Compiling Kernel
Hi; I posted about this a couple of weeks ago and someone responded with apossible solution. But this did not seem to work so here I go again. I would really appreciate it if someone could help me out here. I installed Debian 1.3.1 off the InfoMagic Developers CD. This release incorporates the 2.0.29 kernel. Installation goes without a hitch. Everything works fine. I download the latest developers kernel (2.1.71) and compile it. Everything seems to compile fine. Upon reboot with the new kernel, I get the following error message SIOADDCRT: Invalid argument I have determined this to come from the following command which is issued in /etc/init.d/network. route add -net ${NETWORK} Here is what my /etc/init.d/network file looks like #! /bin/sh ifconfig lo 127.0.0.1 route add -net 127.0.0.0 IPADDR=204.69.208.4 NETMASK=255.255.255.0 NETWORK=204.69.208.0 BROADCAST=204.69.208.255 GATEWAY=204.69.208.1 ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} route add -net ${NETWORK} [ ${GATEWAY} ] route add default gw ${GATEWAY} metric 1 Please note that this exact same file works great with the CD installed kernel (ie precompiled kernel). I have tried downloading and compiling 2.0.30 but I get the same error. Can someone tell me what I am doing wrong? Regards, Vaibhav -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
November issue of Boot Magazine includes a 240MB subset of Debian 1.3.1 on CD
Hi, I'm new to this and have had a few problems getting X-windows up and running on my ATI Rage ii+DVD Chip set..:-( So I was hopping some one might be able to shed some light on my problem. Does the 240MB subset of Debian 1.3.1 on November issue of Boot Magazine's CD have XFree86[tm] 3.3.1 ? If not where can I get the package for Debian? The reason beening that I have an ATI Rage II + DVD and I beleave that this version of XFree86 now has support for the Rage II+ Chip set? Thanks for any help.:-) Cheers G.:-) [EMAIL PROTECTED]
Re: truncating files
cm cm 1) foo cm 2) cp /dev/null foo cm cm Problems: cm cm 2) cp /dev/null foo won't take multiple filenames as arguments cm cm So the answer is that I do need a script or program to do the job. cm cmWhat about: cm cmrm -f {list of filenames} cmtouch {list of filenames} This doesn't work if you don't have write permission to the directory. The solution should be able to truncate any file I have write access to, even if I can't write to the directory. Otherwise rm -f / touch would be ok. Carl [EMAIL PROTECTED] One must imagine Sysiphus happy -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: tar
Even if someone has noclobber set in their shell? On 07-Dec-97 Scott K. Ellis wrote: On Sun, 7 Dec 1997, Steve Koop wrote: Just Was wondering how to, or what is the switch to untar a file to overwrite and replace the existing files? No switch required, tar automatically overwrites files when extracting. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: tar
I think so. tar isn't a shell command, so shell parameters shouldn't effect it. On Sun, 7 Dec 1997, George Bonser wrote: Even if someone has noclobber set in their shell? On 07-Dec-97 Scott K. Ellis wrote: On Sun, 7 Dec 1997, Steve Koop wrote: Just Was wondering how to, or what is the switch to untar a file to overwrite and replace the existing files? No switch required, tar automatically overwrites files when extracting. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: November issue of Boot Magazine includes a 240MB subset of Debian 1.3.1 on CD
On Sun, 7 Dec 1997, Gareth Stewart wrote: Hi, I'm new to this and have had a few problems getting X-windows up and running on my ATI Rage ii+DVD Chip set..:-( So I was hopping some one might be able to shed some light on my problem. Does the 240MB subset of Debian 1.3.1 on November issue of Boot Magazine's CD have XFree86[tm] 3.3.1 ? If not where can I get the package for Debian? The reason beening that I have an ATI Rage II + DVD and I beleave that this version of XFree86 now has support for the Rage II+ Chip set? Thanks for any help.:-) Cheers G.:-) [EMAIL PROTECTED] There is no XFree6 3.3.1 package for Debian bo (aka 1.3.1) I've posted before how I got XFree86 3.3.1 to work on my bo system; email me if you need a copy of the post, I should still have it around here somewhere... -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
best way to set up floppies/CD-ROM
Hi, What's the best way to set things up to permit users to (un)mount floppies and CDs? disk, floppy and cdrom groups? sudo? xvmount? fstab options? other possibilities? If there's no best way, what are the pros and cons of different ways? Also, is there a document somewhere detailing the default groups on Debian, and their intended purpose? Some of them are obvious, some of them aren't so clear to me. Thanks, Havoc Pennington -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
German Debianites please read
[English -- German part follows] I may have a chance to go to Germany later this month. If so, I would like to meet any Debianites and Linux activists who might have a moment to say hi, and also attend a Linux users' group or two if there are any. I'll be in Unna first, then travelling maybe to Duesseldorf, and possibly also to Cologne and Bielefeld. And of course I may go through Frankfurt, depending on which flight I get on. The reason for this unusual itinerary is that I'll be following a friend who isn't sure where he'll be staying, but he knows it will be somewhere in the Rhine-Ruhr area, and I have another friend in Bielefeld. If anyone has any information, please email me. [deutsch] Es mag vorkommen, dass ich die Chance habe, spaeter in Dezember nach Deutschland zu reisen. Wenn's gelingt, wuerde ich gern irgendeine Debianisten und Linux-Anhaenger treffen, die einen Moment haetten, sich mir vorzustellen. Ich moechte auch in einer oder zwei Linux-Benutzer-Gruppen teilnehmen, wenn sie passieren. Ich bin zuerst in Unna, und dann vielleicht in Duesseldorf. Vielleicht fahr' ich auch nach Koeln und Bielefeld. Der Grund fuer die untypishce Reiseroute ist, dass ich einem Freund folge, und er weiss nicht, wo er stecken wird, sondern weiss nur, dass es irgendwo im Rhein-Ruhrgebiet wird, und ich hab sonst einen Freund in Bielefeld zu besuchen. Wenn jemand was fuer Information hat, bitte senden Sie mir einen Email! Danke. ** MICHAEL SCOTT ORR [EMAIL PROTECTED] * ** 1405 NE 56th Street, Seattle, WA 98105 USA *Russki * ** Tel: +1 (206) 522-9627, fax: 328-6209 * Deutsch * ** * Esperanto * * (Insert silly quote here) -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: CGI Error
hmmm... that means something is wrong with Apache, suEXEC, or Perl 5.004. Do I need any special perl libs/files for cgi? I've been able to run files which use sh (bash) and awk fine.. so I think there is something wrong w/ perl. Thanks Paul On Sun, 7 Dec 1997, Troy wrote: It works (as is) on my machine. I have attched the _exact_ file I ran. I am using apache, I put this file in the cgi-bin directory with permissions of 755 Hope this helps. troy Paul Miller wrote: On Sun, 7 Dec 1997, Troy wrote: Paul Miller wrote: *** Internal Server Error This is the top line of my input: #! /usr/bin/perl If this is exact, it won't work. There can't be a space between the ! and the path. try: #!/usr/bin/perl If this is the way it looks, it should work. Try just running the script at the command line and see what the error is (don't type perl -c scriptname, just scriptname) Here is the script. It runs fine at the command line, but Apache doesn't like it.. (I didn't write this script - I don't know perl).. --- #!/usr/bin/perl read(STDIN,$temp,$ENV{'CONTENT_LENGTH'}); @pairs=split(//,$temp); foreach $item(@pairs) { ($key,$content)=split(/=/,$item,2); $content=~tr/+/ /; $content=~s/%(..)/pack(c,hex($1))/ge; $fields{$key}=$content; } print Content-type: text/html\n\n; print HTML\n; print BODY BGCOLOR=#FF\n; print CENTER\n; print THANK YOUBR\n; print $fields{fname} $fields{lname}/BR; print I will writeBR\n; print you atBR\n; print $fields{email}BR\n; print /CENTER\n; print /BODY/HTML; --- Here is something I found in the error.log error.log: [error] Premature end of script headers (before I was only looking in the cgi.log, which didn't give any errors) any ideas? Thanks Paul -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
NNTPCACHE
Just wondering if anyone has sucessfully compiled NNTPCACHE on a Debian system? If so, how?!?!? It is supposed to run under Linux without any problems, so I don't see that it should be a major issue compiling it under Debian. Would anyone consider creating a package for it if they can get it working so people like myself can run it? The source for NNTPCACHE can be found from ftp://suburbia.net/pub/nntpcache For those that don't know, here is what NNTPCACHE does: nntpcache (efficiently) executes on the localhost pretending to be an NNRP news reading server. In fact, what it does is pass certain NNTP commands through to real (remote and possibly local) news-servers based on various pattern matching rules. nntpcache then takes the output from those servers and caches indexes it in funky ways (much specific case magic goes into this). The next time such information is asked for, or other information which can be logically inferred from the previously collated information, it is sent directly from the cache, without consulting the remote servers. The only other package for Debian that does anything like this is Leafnode, which I find unsuitable. NNTPCACHE is much better program (I use to run it on FreeBSD before making the switch to Debian), that I think would be a valuable addition to the range of packages available for Debian, if someone would be so kind as to get it working and create a package! Many thanks Roger -- Roger Dunk Arcadia Technology Ph/Fax: (02) 9874 8581 - http://www.at.com.au -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: ssh and shosts file
On Sun, Dec 07, 1997 at 01:29:29AM -0500, James A.Treacy wrote: I am trying to use a .shosts file to allow password-less logins when using ssh. Both machines have a known_hosts file with the other machine in it (automatically set up by ssh). The machine I'd like to go to has a .shosts file which is mode 600. Yet when I use ssh to go to that machine it still asks for a password. This seems like it should be trivial to set up (I used .rhosts files many years ago and they always worked fine). Anybody have any ideas? I'd suggest a different solution: Create a local key using ssh-keygen, don't set a password and copy your .ssh/identity.pub to .ssh/authorized_keys on the remote machine. Regards Joey -- / Martin Schulze * Debian Linux Maintainer * [EMAIL PROTECTED]/ / http://www.debian.org/ http://home.pages.de/~joey/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
/dev on a ram disk
Hi, I recall a post some time ago mentioning that putting /dev on a ramdisk would allow laptops to use APM. Does anyone know how this is done? I've never made a ramdisk with linux, and I'm not sure how to replace the /dev dir before anything starts using it... Thanks, Jason -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
printing
Hi! Is there any tool anywhere where I can tell what printer do I have and where is it and then the program takes care of everything, or do I have to read everything there's to know about printcaps and magicfilters? TIA! Salutacions, Pere __o mailto:[EMAIL PROTECTED] 2:343/108.91 - _`\;_ http://casal.upc.es/~pere/ PGP key available --- (_)/ (_)Lo importante es el concepto -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: truncating files
1) I use set -C in bash, so I can't say foo if foo exists wthout first saying set +C. | foo overrides the noclobber option Bob -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
RE: printing
I think you are going to have to know what kind of printer you have and which port you connected it to. On 07-Dec-97 Pere Camps wrote: Hi! Is there any tool anywhere where I can tell what printer do I have and where is it and then the program takes care of everything, or do I have to read everything there's to know about printcaps and magicfilters? TIA! Salutacions, Pere __o mailto:[EMAIL PROTECTED] 2:343/108.91 - _`\;_ http://casal.upc.es/~pere/ PGP key available --- (_)/ (_)Lo importante es el concepto -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: printing
Hi Pere Camps; unless Mutt is confused, you wrote: Is there any tool anywhere where I can tell what printer do I have and where is it and then the program takes care of everything, or do I have to read everything there's to know about printcaps and magicfilters? Did you try running magicfilterconfig (as a root), after installing magicfilter package? This scritp will ask you about the printer(s) that you have and make a 'custom' /etc/printcap for you. it worked for me... Oh, yeah...remove your existing /etc/printcap prior to running the above script (for safety sake I used to move mine to /etc/printcap.old so I could retrieve it later, but I had working printcap prior to magicfilter) HTH damir -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: truncating files
The problem with removing and recreating is that if a program has that file open for appending (e.g. logfiles), the file isn't actually removed from the disk until that program closes its file descriptor. So you end up with 3 problems: 1. The file still exists on disk, but is not linked to in any directory; 2. New log messages are sent to the phantom file, not to your newly created file - so you never see them; and 3. You lose the file ownership and permissions of the original file. --Bill. In article [EMAIL PROTECTED], Rick Macdonald [EMAIL PROTECTED] writes: On Sun, 7 Dec 1997, Carl Mummert wrote: Summary: 1) foo 2) cp /dev/null foo Problems: 2) cp /dev/null foo won't take multiple filenames as arguments So the answer is that I do need a script or program to do the job. What about: rm -f {list of filenames} touch {list of filenames} ...RickM... -- William R Ward Bay View Consulting http://www.bayview.com/~hermit/ [EMAIL PROTECTED] 1803 Mission St. #339voicemail +1 408/479-4072 [EMAIL PROTECTED] Santa Cruz CA 95060 USA pager +1 408/458-8862 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Netscape unresolved symbols
I've installed Netscape 4.04 on a hamm system (current through today). When I start netscape I get a ration of the attached messages... I thought I've taken care of all the requisite symlinks, but am obviously missing something... Does anyone know what ? Rick Nelson /usr/lib/netscape/netscape: can't resolve symbol 'PR_NewHashTable' /usr/lib/netscape/netscape: can't resolve symbol 'PR_HashTableEnumerateEntries' /usr/lib/netscape/netscape: can't resolve symbol 'PR_HashTableDestroy' /usr/lib/netscape/netscape: can't resolve symbol 'JS_SetNewScriptHookProc' /usr/lib/netscape/netscape: can't resolve symbol 'JS_SetDestroyScriptHookProc' /usr/lib/netscape/netscape: can't resolve symbol 'JS_ContextIterator' /usr/lib/netscape/netscape: can't resolve symbol 'JS_SetNewScriptHookProc' /usr/lib/netscape/netscape: can't resolve symbol 'JS_SetDestroyScriptHookProc' /usr/lib/netscape/netscape: can't resolve symbol 'PR_CurrentThread' /usr/lib/netscape/netscape: can't resolve symbol 'PR_HashTableLookup' /usr/lib/netscape/netscape: can't resolve symbol 'JS_SetErrorReporter' /usr/lib/netscape/netscape: can't resolve symbol 'PR_HashTableAdd' /usr/lib/netscape/netscape: can't resolve symbol 'JS_SetErrorReporter' /usr/lib/netscape/netscape: can't resolve symbol 'PR_CurrentThread'
Re: truncating files
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Robert D. Hilliard) writes: 1) I use set -C in bash, so I can't say foo if foo exists wthout first saying set +C. | foo overrides the noclobber option Don't you mean !, not |?? --Bill. -- William R Ward Bay View Consulting http://www.bayview.com/~hermit/ [EMAIL PROTECTED] 1803 Mission St. #339voicemail +1 408/479-4072 [EMAIL PROTECTED] Santa Cruz CA 95060 USA pager +1 408/458-8862 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .