Re: hosts.equiv ignored after pam updates? (rsh/rlogin)
I have the same problem and have not been able to pick through it yet. Like you, I suspect a change in a pam module. There are only a few to check but I have not had time to do it yet. Look in /etc/pam.d/rsh... jim
RE: Latex version 2.09 from 7 Dec 89 ??
Hi, Don't ask me why 'cus I don't know, but my fearless leader has decided he needs an ancient version of LaTex on his spiffy new Debian laptop. Since this is from Dec 1989, I'm going to go out on a limb and guess I can't get a .deb for it :) Anyone have a clue where I could find source, and what issues I might run into. I'm just hoping I don't need to pick through backup tapes from 10yrs ago to find this :) Check out /usr/share/doc/texmf/help/Catalogue/entries/latex209.html Says it isn't supported anymore but there are places to download it from. There is also /usr/share/texmf/tex/latex/base/latex209.def that says it can be used as latex209 compatibility mode for latex2e. hth jim TIA, -Jon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
[OT?] ugly screen fonts in .pdf files
I am using pdflatex to make .pdf files of a document. It prints just fine but looks bad when viewing with acroread. Is there some trick to using different fonts to make the screen display look good? I have tried using a couple of postscript fonts as well as the usual tex fonts (ccr). I have also tried ps2pdf with the same result. No problems with xdvi but I have to send this doc to windows users... tia jim
RE: Querying Oracle
I'd like to query a database on an Oracle NT server from my laptop using the LAN at my office. What should I install to this end on my linux-box laptop? You could install the client software from oracle. I have oracle 8.1.7 and it works fine. I haven't tried any free tools. There should be some but I haven't looked. jim Ciao Vittorio -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: [OT?] ugly screen fonts in .pdf files [solved]
What version of ghostscript are you using? Some (older) versions use bitmapped fonts for all non-Postscript-standard fonts, which includes the computer modern fonts to which LaTeX defaults. The newest gs (7.something) will embed postscript fonts, which is what you want for this. You should also change /etc/texmf/dvips/updmap os type1_default=true to get dvips to put the embedded postscript fonts in your ps file. You may get more help with this in comp.text.tex. ap Looks like I have gs 5.10-10.1 and gsfonts 5.10a-2. I assume these are woody packages since I upgraded recently. I'll look for the source on freshmeat to a later version... I changed type1_default=true... no joy. pdflatex looks the same and ps2pdf looks worse. Unfortunately, I'm behind a corp firewall and can't get to the news groups. (It can probably be done but I'm not one of the privledged.) Umm...dummy check here. I forgot to change from ccr. Changing to phv (\renewcommand{\familydefault}{phv}) shows good stuff! I'm on track now. Thanks for the help. jim - Andrew J. Perrin - Assistant Professor of Sociology University of North Carolina, Chapel Hill 269 Hamilton Hall CB#3210, Chapel Hill, NC 27599-3210 USA [EMAIL PROTECTED] - http://www.unc.edu/~aperrin On Tue, 12 Jun 2001, Lewis, James M. wrote: I am using pdflatex to make .pdf files of a document. It prints just fine but looks bad when viewing with acroread. Is there some trick to using different fonts to make the screen display look good? I have tried using a couple of postscript fonts as well as the usual tex fonts (ccr). I have also tried ps2pdf with the same result. No problems with xdvi but I have to send this doc to windows users... tia jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: [OT?] ugly screen fonts in .pdf files [solved again]
-Original Message- From: Matthias Richter [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2001 11:28 AM To: 'debian-user@lists.debian.org' Subject: Re: [OT?] ugly screen fonts in .pdf files Lewis, James M. wrote: I am using pdflatex to make .pdf files of a document. It prints just fine but looks bad when viewing with acroread. This is a FAQ here: \usepackage[T1]{fontenc} \usepackage{ae} should accomplish what you want. You could also use acrobat readers built-in fonts with \usepackage{times} Matthias Thanks. These also work. jim
RE: HP Deskjet 959C + PCL codes (w/ apsfilter)
-Original Message- From: Dominique Deleris [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2001 10:58 AM To: debian-user-list; [EMAIL PROTECTED] Subject: HP Deskjet 959C + PCL codes (w/ apsfilter) Hello people ! I have a problem printing plain ASCII text to my printer: at the end of the printing job, the continue button is blinking, as long as I don't hit it. I am using apsfilter CVS version, and I have set up RECODE options as follows: RAW_PROLOGUE='\033k2G\033l2E\033a2L\033(s1Q' RAW_EPILOGUE='\033l1H' meaning that these escape codes are sent to the printer before and after the file to be printed. I've tried to replace \033l1H by \014 in RAW_EPILOGUE, but it does not change anything. You might try \033l0H#eject page (esc el zero H) or \033E\033%-12345X# printer reset and universal language exit hth jim Is there a PCL champion of the world in the mailing list contributors ? Thanks for your help and advices ! Dominique -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: cron: nth weekday of month?
-Original Message- From: Karsten M. Self [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2001 6:58 AM To: debian-user Subject: cron: nth weekday of month? I've got a job I'd like to run once a month, on a set day of the week, say, the first Sunday of the month. Suggestions as to how to do this with cron? My understanding is that I can specify day of month, or weekday, but if both are specified the condition is treated as an OR (if first week of month OR Sunday, then do...). E.g.: 48 2 1 * 7 do-stuff ...would run on the first of the month, and each Sunday. I could set a job to run either each Sunday, or each of the first seven days of the month, and test the appropriate other condition. Or schedule an 'at' job for the first coming Sunday (at a later time than the cron job runs). Actually, this last is probably the cleanest solution: 1 0 1 * * echo command -args | at 1:07 sunday ...should do the trick. You're scheduling a command to schedule a command. For the 2nd, 3rd, and 4th weeks of the month, change the day to the 8th, 15th, or 22nd, respectively. Thoughts, anyone? It is messy, isn't it. What I did was to put the day of the week in the cron file and then tested (using date) in the script to see if it is the right one. Unfortunately, this splits the logic of when the thing runs into two places. I thought using the day of the week in cron made it a little clearer as to what was going on. I have a dislike for at since it is a little harder to get to if you want to cancel it. I don't think there is a clean way to do this. I hate having the logic split like that but life goes on anyway. It works and there are other battles... jim -- Karsten M. Self kmself@ix.netcom.com http://kmself.home.netcom.com/ What part of Gestalt don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
RE: howto identify missing stdlib.h after compile?
Unless I compile with -Wall, following code compiles with no warning with gcc -g -o example example.c. How should I tell that this code is broke after compile? -- # include stdio.h /*# include stdlib.h*/ /*Not to have this for atof is the bug*/ int main(int argc, char **argv) { float x=0; x=atof(123.456); printf(%8.4f\n,x); return 0; } $ ./example 1078984704. $ If you can't use -Wall you might try lint. There is a lint package called lclint. lint noproto.c (your example code) produces this: LCLint 2.4b --- 18 Apr 98 noproto.c: (in function main) noproto.c:5:1: Assignment of double to float: x = atof(123.456) Types are incompatible. (-type will suppress message) noproto.c:3:14: Parameter argc not used A function parameter is not used in the body of the function. If the argument is needed for type compatibility or future plans, use /[EMAIL PROTECTED]@*/ in the argument declaration. (-paramuse will suppress message) noproto.c:3:27: Parameter argv not used Finished LCLint checking --- 3 code errors found hth jim
RE: forgot manufacturer name of serial ethernet devices
-Original Message- From: Robert L. Yelvington [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2001 5:59 PM To: debian-isp Cc: Debian Users Subject: forgot manufacturer name of serial ethernet devices a couple of months ago i read an article in some trade rag about a serial device that was networkable via ethernet? forgot the name of the product and the company, imagine that! basically, it's a serial hub with an ethernet port. if anyone knows what i am talking about would you mind passing along a URL, a name, something? AND if anyone is using a device like this...whatcha think? These things are generally called terminal servers. With different features they get different names like device servers or whatever. Two companies that make these things are Digi International and Lantronix. We use Emulex terminal servers but they are getting out of the business. Most folks that provide these things have similar products. They are most differentiated by number of ports and protocols offered. Most are relatively inexpensive (200-1800USD) depending on the features. They work and fit a need. For what I use them for, almost any one will do. Pick based on software features you need and then number of ports. Programming to talk to them is like talking to another *nix computer. They provide services and you connect on known sockets... hth jim kind regards, rob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: How do I build a driver floppy?
-Original Message- From: Peter Canning [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2001 2:00 AM To: debian-user@lists.debian.org Subject: How do I build a driver floppy? In order to boot the installation system (2.2r2), I had to get the source code for newer versions of a couple of drivers (SCSI and NIC), build a kernel and a rescue disk containing that kernel (using a debian installation on an another computer). As a result, I can successfully install the kernel/modules and base system over the network, etc, but when I try to boot the base system, it fails because the kernel doesn't have the newer versions of the drivers. I believe that I need to make a driver floppy with these drivers, and use it in the Configure Device Driver Modules step of the installation, but I haven't been able to find any documentation on how to create a driver floppy. Can anybody tell me how to create a driver floppy, or point me to some place that describes it? It is as easy as booting your floppy, switching to a console screen, and copying the floppy kernel to the hard disk (with the map) and running lilo. I am assuming that this is a debian install floppy with your custom kernel on it. I also assume that since you know how to replace the floppy kernel you will have no trouble putting it on hd and patching up lilo.conf. When you get it to boot from hd, compile a custom kernel at your earliest convenience. jim thanks Peter Canning -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: smart file archiving
-Original Message- From: Jaye Inabnit ke6sls [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2001 2:43 PM To: Tim Kelley Cc: debian-user@lists.debian.org Subject: Re: smart file archiving On Thursday 12 April 2001 11:34, Tim Kelley wrote: Do you need them on cd, or do you just want a second copy in case what you have somehow gets blown away? That is exactly why I want them on portable media. I have had all my drives destroyed by my utility provider. I do have a UPS, but I would like to have them portable just the same. The other stuff I back up is MUCH smaller and I can simply copy the whole directory to my cd's, but the mp3's are very large. I manually did the math last time (being way to conservitive) and ended up with 5 cdroms. Divide up your mp3's into 5 directories that each contain about 650Mb of data. Then use cdrecord and mkisofs to write them to cd. I have a slow machine and have to make an iso image in a file first and then burn that. You can use a pipe from mkisofs to cdrecord if your machine is good enough. The man page for cdrecord has examples. It is much simpler than I thought it would be. If you want cd's that can be used on windows, use mkhybrid instead of mkisofs... jim
RE: Printing
-Original Message- From: Stephen E. Hargrove [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2001 3:59 PM To: debian-user@lists.debian.org Subject: Printing I'm having problems getting my printer going. It was working, then I had to reinstall, and now I can't get it back up. Following is a sequence of events that seem fairly typical: # ps ax | grep lpd 1864 ? S0:00 /usr/sbin/lpd 1865 ? S0:00 /usr/sbin/lpd # lpr -Plp deleteme.txt lpr: connect: Connection refused jobs queued, but cannot start daemon. # ps ax | grep lpd 1864 ? S0:00 /usr/sbin/lpd 1885 ttyp0 S0:00 grep lp # tail /var/log/lpr.log Apr 11 14:49:04 firestarter lpd[1865]: lp: lost connection # cat /etc/printcap lp:\ :sd=/var/spool/lpd/lp:\ :mx#0:\ :sh:\ :rm=192.168.2.50:\ :tr:\ :rp=lp:\ :if=/var/spool/lpd/lp/filter:\ :lpd_bounce=true: # npadmin --status 192.168.2.50 status=ready to print; As you can see, it's a network printer (HP LaserJet 2100TN). Every time, A couple of things you might try. If you are using lprng then :lp=192.168.2.50%9100 \ take out the rm, rp, and bounce entries. if you are using lpr then :lp=raw:\ The jetdirect interfaces provide a text printer and raw printer but no printer named lp. hth jim
RE: Printing
-Original Message- From: Stephen E. Hargrove [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2001 4:15 PM To: debian-user@lists.debian.org Subject: Re: Printing Nevermind, I figured it out, and I'm (finally) printing again. One more question, though. I keep getting the following after /every/ job prints: User: stephen Host: firestarter Class: firestarter Job: stdin How do I shut this off? This is printed by the jetdirect interface. Telnet to it and turn banner off. If the admins have installed a password, you might have to get them to do it... hth jim
RE: Time
I'm having a heck of a time getting my system time set correctly. /etc/localtime is a symlink to the proper time zone. I've looked in /etc/default/rcS and switched UTC from yes to no and back again. And, I've read the man page for hwclock a few times. Still, my system time is always six hours off. (For example, it's 8:22pm right now, but my computer thinks it's 2:20pm.) Anybody have any pointers on this? -- steve Others have told you about the clocks and what not. What has not been mentioned is the TZ environment variable. Check to see what it is set to. If you are in central time zone it should be TZ=CST6CDT. Without that set, you get UTC time when you do date and such (assuming the clock is set to use UTC)... I think the command to set up the timezone for the system is tzconfig. Each user can set their timezone in the .profile or .bash_profile (or .bashrc, or ...). jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: grip cddb config
-Original Message- From: Mike [mailto:[EMAIL PROTECTED] Sent: Friday, March 16, 2001 12:34 AM To: 'debian-user@lists.debian.org' Subject: Re: grip cddb config Lewis, James M. wrote: Thanks, but that doesn't seem to work for me.!? I'm at a loss as to why. more info: cddbcmd -h freedb.freedb.org:8880 -l 3 -d sites # works cddbcmd -h freedb.freedb.org:888 -l 3 -d sites # works cddbcmd -h freedb.freedb.org:8880 -l 4 -d sites # works cddbcmd -h freedb.freedb.org:888 -l 4 -d sites # works cddbcmd -h freedb.freedb.org:8880 -d sites # works cddbcmd -h freedb.freedb.org:888 -d sites # works If I use ca.freedb.org and -l 4, I get a protocol level error. I have tried freedb.freedb.org, freedb.freedb.org:8880, and freedb.freedb.org:888 and none of them seem to work in grip..?? Any ideas what I can try next? What, if any, errors do you encounter? Doesn't work is kinda broad, after all. :) FWIW I'm using 2.95-4 from sid and cddb was working just fine last time I used grip. The reason I'm vague is the error message is not very enlightening. A box pops up that says Query failed. That is the only error I have ever seen from this thing. Most of the time, it says nothing at all. It just says unknown disk. Sometimes, it just quits and a message about Realtime signal 0 shows up on the console. xmcd always finds the disk info... As an update, I got it to work from home last night using freedb.freedb.org:8880. It was on a compiled from source grip 2.95 on a woody system with some unstable (libgtk1.2 and libgtk1.2-dev). (There are other little pieces of unstable in there like sawfish-gnome and its dependencies.) I still haven't gotten it to work from here (where I did the cddbcmd tests). If grip defaults to using http then it probably won't work here because of the firewall and other junk that is put in the way by the big brother corp. If it uses cddbp, then I don't know why it doesn't work...??? I suppose I'm going to have to dig out tcpdump and see what it's trying to do. systems are potato and woody/unstable, grip version 2.95-helix1 (potato) and 2.91-1 (woody/unstable). Uhh ... woody and unstable are no longer the same thing. woody is now testing, and sid is unstable. see above...woody with pieces of unstable. The /etc/issue has testing/unstable in it, so I suppose I should have called it testing/unstable. -- Mike Werner KA8YSD | He that is slow to believe anything and | everything is of great understanding, '91 GS500E| for belief in one false principle is the Morgantown WV | beginning of all unwisdom.
RE: Combining disks in one virtual partition.
-Original Message- From: Simmons-Davis [mailto:[EMAIL PROTECTED] Sent: Friday, March 16, 2001 11:48 AM To: Debian/Gnu Linux Subject: Combining disks in one virtual partition. Hello, My question for you all is whether or not you can join the partitions of several small hard disks together to form one large-contiuous-virtual root partition. I have quite a few small hard disks but none that are really big enough to be of much service to me. This is what LVM is for (among other things). If you can run a 2.4 kernel you might be able to do it. I don't know about having root on a logical volume under linux. We did it with hpux years ago. It will depend on boot support. Get the kernel source and read the docs... jim Thank you, Ry -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: grip cddb config
-Original Message- From: Eric G. Miller [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2001 10:51 PM To: 'debian-user@lists.debian.org' Subject: Re: grip cddb config On Wed, Mar 14, 2001 at 02:22:57PM -0500, Lewis, James M. wrote: Does anyone have a grip configuration for cddb that works? xmcd works but I can't seem to figure out exactly what I have to put into grip to make that one work. This seems to work: DB: freedb.freedb.org CGI: ~cddb/cddb.cgi DB Submit: [EMAIL PROTECTED] Thanks, but that doesn't seem to work for me.!? I'm at a loss as to why. more info: cddbcmd -h freedb.freedb.org:8880 -l 3 -d sites # works cddbcmd -h freedb.freedb.org:888 -l 3 -d sites # works cddbcmd -h freedb.freedb.org:8880 -l 4 -d sites # works cddbcmd -h freedb.freedb.org:888 -l 4 -d sites # works cddbcmd -h freedb.freedb.org:8880 -d sites # works cddbcmd -h freedb.freedb.org:888 -d sites # works If I use ca.freedb.org and -l 4, I get a protocol level error. I have tried freedb.freedb.org, freedb.freedb.org:8880, and freedb.freedb.org:888 and none of them seem to work in grip..?? Any ideas what I can try next? systems are potato and woody/unstable, grip version 2.95-helix1 (potato) and 2.91-1 (woody/unstable). tia jim -- Eric G. Miller egm2@jps.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
grip cddb config
Does anyone have a grip configuration for cddb that works? xmcd works but I can't seem to figure out exactly what I have to put into grip to make that one work. tia jim
RE: HP LJ III with Jet Direct and Linux
I don't know if it can talk TCP or not. It's an internal card, and I can set which io port to use from the panel menu (Parallel, Serial, optional), but I haven't found out how to get to any kind of configuration menu for the card. I don't have any manuals for the card, but I do have one for the printer. Do you know how to get to more configuration options besides holding down the menu button for 5 seconds? That's how I get to configure which IO device to use. Rob The last one I configured (a long time ago) was done via the IO menu. In your case, probably the optional menu. Once I got to the right menu, I had to set the ip-addr using up and down arrows for each field in the ip-addr. Same for the net mask. Once you have an ip-addr you can telnet to it. If that doesn't work, try using the mac address. It should be on the card (maybe with stickers). Use arp to make an association with the ip-addr you want and then telnet to that ip. I'm being vague on this because I haven't done it in a long time. If anyone out there remembers the procedure, speak up... Of course, if it doesn't speak tcp, this won't work. Probably the same if tcp is disabled. You might be able to find some info on the card from the hp web site. I have done several of these things but not a lj3. The most recent was a 4550 and it was very easy to do from the front panel. The lj3 front panel is quite painful by comparison. good luck jim
RE: Help geting hP jetdirect printer to work with Debian
-Original Message- From: Known Human Nick Rusnov [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2001 12:44 PM To: Stan Brown Cc: debian-user@lists.debian.org Subject: Re: Help geting hP jetdirect printer to work with Debian In message [EMAIL PROTECTED]it was written: I;m integrating a Debian testing machine inot a network with lot's of FreeBSD machines, and some HP-UX, and Sun machines. I'm having a hard time geting the Debian box to print to our networked (JetDirect) printer. Can anyone give me a pointer to some docs. Ahh, this is easy as pie. JetDirect has a builtin lpr compatible server. Install lprng package and configure your /etc/printcap like: lp|HPLJ5p :lp= :rm=192.168.0.12 :rp=lp :sd=/var/spool/lpd/remote :mx#0 :sh Where you replace the value of rm= with the IP address of the printer. (you can also replace the name of the printer with whatever you like). Simply restart lprng (/etc/init.d/lprng restart), and then pipe some postscript to lpr and wammo. ;) JetDirect is quite nice, I'm very impressed by the quality of it. I like them too. Instead of using lpd protocol, you can go direct using a line like :lp=printername-or-ip%9100 and leave out the rm and rp entries. If you ever need a filter, you don't have to use the lpr_bounce stuff. This is with lprng only. If you use a name instead of ip-addr, then you have to put that into /etc/hosts or dns. Ours all get put into dns so it's easy to use names. If one breaks, they replace it and fix up the dns entry and everything works... jim as always, nick [EMAIL PROTECTED] * http://www.fargus.net/nick Developer - Systems Engineer - Mad System Guru - MOO Sales he picks up scraps of information/he's adept at adaptation because for strangers and arrangers/constant change is here to stay -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: HP LJ III with Jet Direct and Linux
I have an old HP Laserjet III with an old JetDirect card in it that I have purchaed used. I have to use the parallel port to print to it, but would like to use the network card instead. It was configured and running on another network, and there is some info to that respect in the diagnostic info I can print out. I probably need to reconfigure it, but HP's tools don't detect it. It appears to want to use ipx, and I can see it sending stuff out on the network. I figured it was a dhcp request, but dhcp doesn't see it. Anyone know how to reset/configure these cards or have any ideas of things to try? HP has been less than helpful. TIA. Rob If you can configure it to talk tcp you have a chance. I think some of those things would only talk ipx or appletalk. Try to configure it from the front panel of the printer. (maybe io menu or mio 1 or mio 2 menu?) I have done this with a slightly newer printer but it should work with the lj3. Ummm... I guess I need to ask is it an internal card or external box with a parallel cable? The internal card can usually be configured from the printer front panel. If it is an external box, you have to do a special power up reset that clears it. Then use arp to set up the mac addr to an ip addr and telnet to it. Assuming you can get into it to make it talk tcp... Here is a printcap entry that works for me (lprng): tnp077|Accounting lj3(pcl) :lp=tnp077%2501 :sd=/var/spool/lpd/tnp077 :if=/etc/magicfilter/ljet4l-filter :mx#0 :sf :sh You will have to change the %2501 to %9100. Put the ip-addr of the jetdirect or a name that is in /etc/hosts or dns in place of tnp077. Alter the spool directory entry accordingly. Install magicfilter. You can let it make the printcap and edit it or just do it by hand to start with. Use ljet4l-filter. It works better for me than the lj3 filter. If you have problems with it, drop back and use ljet3-filter. hope you have one that speaks tcp... hth jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: 2nd try, what is my problem with apt-get?
I have a machine that I have upgraded from stable to testign, and installed the 2.4.3 kernel with kernel package on. Now apt-get is failing. See the error messages? Script started on Tue Feb 27 04:42:29 2001 debian:~# cat /etc/apt/sources.list deb http://http.us.debian.org/debian testing main contrib non-free # deb http://security.debian.org/ stable/updates main # deb http://spidermonkey.ximian.com/distributions/debian stable main debian:~# runsocks aptget -get update 0% [Working] Err http://http.us.debian.org testing/main Packages Something wicked happend resolving 'http.us.debian.org/http' snip Could you try using ftp instead? I am using testing/unstable and I found that the http method doesn't always work anymore. My error is different (could not connect to 0.0.0.80) but ftp works fine. Try using deb ftp://ftp.us.debian.org/...etc;. jim
RE: 2nd try, what is my problem with apt-get?
On Wed Feb 28 09:08:22 2001 Lewis, James M. wrote... I have a machine that I have upgraded from stable to testign, and installed the 2.4.3 kernel with kernel package on. Now apt-get is failing. See the error messages? Script started on Tue Feb 27 04:42:29 2001 debian:~# cat /etc/apt/sources.list deb http://http.us.debian.org/debian testing main contrib non-free # deb http://security.debian.org/ stable/updates main # deb http://spidermonkey.ximian.com/distributions/debian stable main debian:~# runsocks aptget -get update 0% [Working] Err http://http.us.debian.org testing/main Packages Something wicked happend resolving 'http.us.debian.org/http' snip Could you try using ftp instead? I am using testing/unstable and I found that the http method doesn't always work anymore. My error is different (could not connect to 0.0.0.80) but ftp works fine. Try using deb ftp://ftp.us.debian.org/...etc;. Thanks for the sugestion. Unfortunatley, I get the same Something wicked happended error when I try that. Any other sugestiosn? Ummm... no. not really. It seems to say it is having trouble resolving the name. Why not try nslookup? Can you access other stuff outside your local net? Try a manual ftp to ftp.us.debian.org. If that works, I guess a bug report against apt is in order. Might there be some other software getting in the way? We have some kind of http monitor that is always getting in the way somehow. Since ftp works for me, I have never taken the time to try to work through the bureaucracy to fix it. jim -- Stan Brown [EMAIL PROTECTED] 843-745-3154 Charleston SC. -- Windows 98: n. useless extension to a minor patch release for 32-bit extensions and a graphical shell for a 16-bit patch to an 8-bit operating system originally coded for a 4-bit microprocessor, written by a 2-bit company that can't stand for 1 bit of competition. - (c) 2000 Stan Brown. Redistribution via the Microsoft Network is prohibited. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: Exceed 6.0 with Debian 2.2r2 and Windows95
Dear Debian-Community, how do I setup Linux Debian 2.2r2, so that I can connect to it remotely using Hummingbird Exceed 6.0, running on a Win95-Box? I use exceed on nt all the time (required to use nt @work...). You can use any number of connection methods. Since I am on an internal network, I use rexec and rsh. You don't need a .rhosts for rexec but your password gets sent in the clear. You used to have to set up /etc/hosts.allow for in.rexecd. This doesn't seem to be the case anymore (just checked and mine are the default?). You probably have to have your w95 box in dns or in the /etc/hosts file. If you are on a network that is exposed to the internet, you really need to look into ssh. You'll need a client on the w95 box. I haven't tried to do this with exceed. You might need to call HCL support to find out how... jim Thanks, Christoph Walther mailto:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: Suggestions for and comments on trackballs?
Greetings, all. Over the last several months, I've been having increasing pain in my right wrist. A co-worker suggested that this is due to problems with standard mice and recommended that I try a trackball instead. So, I'm looking for a trackball that will work well with potato/X. My primary goals: * at least 3 buttons that work in X. * I'm using potato and kernel 2.2.18, so I'd need a PS/2 connector. * the ball should be under my fingers, not my thumb, as it generates the most pain. * Compatibility with gdm is not an issue, as I never use it. * Other random features, like scroll wheels, extra buttons, and wireless connections, are extra. Ideally, I'd like to avoid these, as they probably drive up the price, but I'll take them if I have to. I'm looking at the Kensington Expert Mouse, Kensington TurboRing, Kensington TurboBall, and Logitech Cordless Trackman. (All the other Logitech trackballs have the ball under the thumb or only 2 buttons.) I use a Logitech TrackMan Marble FX. It has a big ball that is between your fingers and thumb. I can rest my hand on it and navigate around without any hand or shoulder strain. It has 4 buttons. Also works with nt with the logitech drivers. It is very comfortable and is optical (rather than mechanical) and is very predictable. It is an older model so you might have to hunt for one (~$50 to $60 retail). jim What experiences have people had with these devices under Linux? Do people have any other recommendations for trackballs (or other pointing devices, for that matter)? Thanks kindly, Richard (I'm subscribed, so no need to CC me.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: Emacs works differently within X and outside
Alan == Alan Chandler [EMAIL PROTECTED] writes: Alan If I run emacs so that it creates an x-window to run in then Alan the behaviour is different. In this case DEL and BKSP both Alan work the same and delete the character to the left of the Alan cursor). Alan Any ideas? Well, I am not sure about emacs, but I do know for sure in xemacs. There is a setting, which changes this behaviour. There is a setting called Delete Key Deletes forward which controls this behaviour. There is also a little diddy called pc-mode that does this and a few other things. Look at /usr/share/emacs/20.7/lisp/emulations/pc-mode.el. Put (pc-bindings-mode) in your .emacs to use it (if you think you want the other stuff it does). This is for gnu emacs... jim thomasd -- [EMAIL PROTECTED]www.deselaers.deICQ# on request -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Hardware question - motherboards
I have to upgrade and need comments on motherboards. The two I am considering most are the tyan tiger 133 (S1834) and the tyan tiger 100 (S1832). The s1834 is a little faster and uses the via apollo pro133a chipset. The s1832 uses the intel 440bx chipset. Any pros/cons welcome as well as comments on other dual cpu boards in the same class... tia jim
RE: Hardware question - motherboards
Greetings, I have the 1832, and I haven't had any problems with it, but then again, I only have one CPU installed. I chose this particular board because V A Linux is/was using this board in their dual processor systems, see http://www.valinux.com/products/mpts.html for the details. The 1832 won't handle the faster processors, but you can probably pick one up rather inexpensively on ebay. Thanks for the comments. I'm not likely to miss the difference in speed. 1832 can handle 2-800MHz cpus and the 1834 can take 2-1GHz cpus. BFD. In a first pass, the 1834 was cheaper than the 1832 by $10 or so. My main concern is the via chipset. Do you have the optional isa slot? jim HTH, Brooks -Original Message- From: Lewis, James M. [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2001 9:43 AM To: debian-user (E-mail) Subject: Hardware question - motherboards I have to upgrade and need comments on motherboards. The two I am considering most are the tyan tiger 133 (S1834) and the tyan tiger 100 (S1832). The s1834 is a little faster and uses the via apollo pro133a chipset. The s1832 uses the intel 440bx chipset. Any pros/cons welcome as well as comments on other dual cpu boards in the same class... tia jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: gnome-terminal question
On Mon, Feb 12, 2001 at 07:09:24PM -0500, D-Man wrote: On Mon, Feb 12, 2001 at 02:19:20PM -0800, [EMAIL PROTECTED] wrote: | | hi | | | i was curious what needs to be done to get a remote host | (connected through ssh) to display the hostname and directory | in the titlebar of a gnome-terminal window. redhat systems | seem to do this but none of my debian systems do. | What I had done was make some launchers (shell scripts work as well) for each of the hosts I would connect to and use the command line to set the title. (I think the opiton is -t) make it -T I think there is some (shell) command that can be used as well (from yep, echo:) $ echo -en \033]0;My brand new title\007 More from the list-archives (to be put in your ~/.bashrc file): # Following sets prompt to [EMAIL PROTECTED] dir], and puts the full # [EMAIL PROTECTED]:/full/path/spec in an xterm title bar. function proml { case $TERM in xterm*|rxvt|eterm|wterm) local TITLEBAR='\[\033]0;[EMAIL PROTECTED]:\w\007\]' ;; *) local TITLEBAR='' ;; esac PS1=${TITLEBAR}\ [EMAIL PROTECTED]:\W]\ \$ PS2=' ' PS4='+ ' } My question back is: how the hell are you supposed to find such info? nothing in term/info-cap. same song, second verse... (oops, seems lookout isn't indenting right...) actually, I found the info in Xterm Control Sequences by Edward Moy, University of California, Berkley. Revised by Stephen Gildea, X Consortium (1994), Thomas Dickey, XFree86 Project (1996-1999). I went looking for this thing but I don't remember where I found it. Just looked and found it in /usr/share/doc/xterm/ctlseqs.ms.gz. You have to run it through troff to print a copy. some extra tidbits on bash... settitle () { _whome=${_whome:=[EMAIL PROTECTED]} echo -e \033]2;$_whome == $PWD\007\c } case $TERM in xterm*|rxvt*) case $0 in -bash|bash) PROMPT_COMMAND=settitle PS1='$ ' ;; *) PS1='^[]2;$_whome == $PWD^G^M$ ' ;; esac ;; *) PS1='$ ' ;; esac Note that ^[ is esc, ^G is bel, and ^M is cr. If you don't put the cr at the end, your command line starts to scroll sidways some distance before the end of the screen. The cr makes the shell reset counting characters on the input line. (Works with bash, anyway...) hth jim -- groetjes, carel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
vfat file name gotcha
I just got caught by a vfat property that I wasn't aware of. I know about not supporting certain file properties. I was not aware that you can't have 2 files of the same name except for upper/lower case differences. An example... cp MYFILE.txt myfile.txt /zip/ will result in only myfile.txt on the zip drive cartridge. Guess I'll use cpio or tar archives from now on... (lucky I have mks toolkit on the nt box) Even old dogs get caught napping now and then. hth jim
RE: lpr(ng) not filtering through enscript for remote printer
On Thu, Jan 25, 2001 at 03:15:55PM -0500, Lewis, James M. wrote: If you make a small tst.c and: $ cat tst.c|/etc/magicfilter/ljet4m-filter ~/me.ps lp|hplj4l|HP Laserjet 4L:\ :lp=lp:sd=/var/spool/lpd/hplj4l:rm=remoteprinter.lincrud:rp=hp:lpr_bounce: \ :sh:pw#80:pl#72:px#1440:mx#0:\ :if=/etc/magicfilter/ljet4m-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: Is your printer really on a remote machine called remoteprinter.lincrud? If it is, then maybe you need to use :lp=:. How about a little more detail on the setup... Yes, the addressing side works fine. If i $ cat tst.c|/etc/magicfilter/ljet4m-filter ~/me.ps $ lpr ~/me.ps I get the printout I expect. The problem seems specifically that for a non local printer, the if: filter is not used. (on a different machine with basically the same setup, the local printer port does have the expected format). Also I have got :lp=lp (see second line of /etc/printcap). Incidentally, magicfilterconfig seems to set :lp=: which works for the lpr package daemon, but not the lprng daemon (unless I am misstaken). Thanks, Mark. I am using lprng and magicfilter on a potato system. The :lp= and :rm= and :rp= fields can take several forms. Most of our printers are hung off of hp jetdirect print servers or emulex print servers. Here are some of the entries from my /etc/printcap. Note that the same type printer can be run using :[EMAIL PROTECTED] or :lp=host%portnumber (raw tcp), or with :lp= and :rm=host :rp=printer type entries. I don't use filters with the postscript printers (I use a2ps instead). tnp192|Remote hp5simx(ps) printer :lp= :rm=tnp192 :rp=raw :sd=/var/spool/lpd/tnp192 :mx#0 :sf :sh tnp153|xerox|Remote xerox(ps) printer (engineering) :lp= :rm=tnp153.ten.alcoa.com :rp=lp :sd=/var/spool/lpd/tnp153 :mx#0 :sf :sh tnp015|rm164_hp|Remote hp8kN(ps) printer :lp=tnp015.ten.alcoa.com%9100 :sd=/var/spool/lpd/tnp015 :mx#0 :sf :sh tnp100|CharlieBrown lj3(pcl) :lpr_bounce :[EMAIL PROTECTED] :sd=/var/spool/lpd/tnp100 :if=/etc/magicfilter/ljet3-filter :mx#0 :sf :sh tnp077|Accounting lj3(pcl) :lpd_bounce :[EMAIL PROTECTED] :sd=/var/spool/lpd/tnp077 :if=/etc/magicfilter/ljet3-filter :mx#0 :sf :sh tnp126|rm164_empac|Remote hp4k(ps) printer :lp=tnp126%2501 :sd=/var/spool/lpd/tnp126 :mx#0 :sf :sh tnp077 and tnp100 are probably what you are most interested in since they use magicfilter. One uses lpr_bounce and the other uses lpd_bounce. Both work. They both happen to use the special form of :[EMAIL PROTECTED] but one of them used to use :rm=tnp077 :rp=PASSTHRU and :lp= entries. hth jim
RE: lpr(ng) not filtering through enscript for remote printer
Hi, Normally, with magicfilter installed, printing out a .c file will give a two collumned small font sized landscape printout, because it uses enscript. If you make a small tst.c and: $ cat tst.c|/etc/magicfilter/ljet4m-filter ~/me.ps $ gv me.ps you will see what I mean (and this works properly for me) However, when I $ lpr tst.c I do not get the formatting (I get plain text portrait). /etc/printcap has: lp|hplj4l|HP Laserjet 4L:\ :lp=lp:sd=/var/spool/lpd/hplj4l:rm=remoteprinter.lincrud:rp=hp:lpr_bounce: \ :sh:pw#80:pl#72:px#1440:mx#0:\ :if=/etc/magicfilter/ljet4m-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: Is your printer really on a remote machine called remoteprinter.lincrud? If it is, then maybe you need to use :lp=:. How about a little more detail on the setup... jim Is the 'if=' line not parsed for remote printing? I guess I could make a small script to force my printing through magicfilter. Using lprng 3.7.4-1 regards, mark. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: wacky kernel question
On Wed 10 Jan 01, 3:07 PM, Cliff Sarginson said... I am glad to see I am not the only oldie on the list :) Bring back paper tape and drum storage I say... in which case you should join the united states air force. computer operators are still being trained on papertape / card drives and drum storage. i can still remember having to put the source on paper tape, load the assembler, process the source to an obj paper tape, load the linker tape, load your obj tape, and then load the lib tape, and finally produce a binary on paper tape. all from a tty at 110 baud. things have certainly improved!! i'm having an awfully difficult time trying to understand why linus would write this code into the kernel. was it a private walk down nostalgia lane or is there actually a use for it? When you consider all the different arch'es out there and support for system console on serial, it still makes sense. How would the driver find out what it's talking to? jim pete -- Just upgraded to Woody? Don't have permission to run X? linux In Xwrapper.config, change allowed_users from root to console. - ---._. Coffee...I've conquered the Borg on coffee. [EMAIL PROTECTED]/v\ --Kathryn Janeway on the virtues of coffee http://www.dirac.org // \\ --- ^^ ^^ GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D rules
RE: Oracle
Greetings, We are currently in the process of setting up the curriculum for teaching the Oracle database system here at the University of Advancing Computer Technology. I feel that it would be a good idea to teach Oracle administration on some sort of UNIX platform, and I am very interested in the possibility of using LINUX as a platform, due to its appeal as a PC based system. I have talked to Red Hat, and Caldera. Red Hat did not recommend 7.0 as a platform. They do have a special version of Red Hat dedicated to Oracle, but it costs $2500--obviously not a solution for my students. Caldera encouraged me to wait until the next kernal comes out, which may be a good idea. I was just wondering if there is anyone who has implemented Oracle using Debian as a platform. I am particularly interested in Debian because it seems to be less commercialized than some of the others. I would appreciate feedback anyone might have about setting up Oracle servers on Debian LINUX. Our networking lab has Intel based systems (Pentium) with removable hard drives, and 64 MB of RAM. I would like to teach an implementation which would be easy for students to put together on their own with very low cost. I installed oracle on debian potato. It requires a minimum of 128Mb ram for Oracle 8.1.7. It also takes up about 900Mb disk for a full install of all the goodies. A minimum install would be about 600 or 700Mb. I don't know if it will run on woody or not. I started out using 8.1.6 and it will not work on the new glibc without some patches. I had to go back to potato from woody :( Search the list for the last month or 2 to get detailed info. Mail me directly if you need any more info. Here are some tricks: /bin/sh - /bin/bash /bin/awk - /usr/bin/awk (i used gnu awk (i think)) requires x and an approved window manager (gnome/sawmill works as does fvwm (if you are plain vanilla like me)) There is a bashism in the runInstaller program and it looks for awk in /bin. There may have been another one that I don't remember. Just read the error messages and you should be ok. jim Any help would be sincerely appreciated. Thanks, Eric D. Langager College of Software Engineering University of Advancing Computer Technology www.uact.edu
Oracle8iR2 install problem on Debian potato
I can't get oracle to install on a debian potato system. The problem is that the installer will not run. What I get is Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait... (that should be one long line...) Then the screen immediately fills up with whence: not found whence: not found ... I think I am missing something on the system but I can't tell what. I tried changing /bin/sh to point to ksh. The whence messages went away but the thing hangs and takes all the cpu. Anyone have any ideas? Any help, no matter how trivial, is greatly appreciated. I have looked at the web site http://jordan.fortwayne.com/oracle/index.html. It seems to be very good but doesn't address this problem at all. In fact, most everybody seems to be able to run the installer but me!... tia jim
postfix problem with myorigin
I seem to be having a problem with postfix. It changes the myorigin variable in the main.cf file. It doesn't matter what I set it to. When I start postfix, it gets changed to localhost. It even got added to the end of the main.cf file once. Anyone seen this before? How do I make it stop doing that? This is the current postfix from woody: postfix-0.0.20001020.SNAPSHOT-4_i386.deb tia jim
RE: postfix problem with myorigin
I seem to be having a problem with postfix. It changes the myorigin variable in the main.cf file. It doesn't matter what I set it to. When I start postfix, it gets changed to localhost. It even got added to the end of the main.cf file once. Anyone seen this before? How do I make it stop doing that? This is the current postfix from woody: postfix-0.0.20001020.SNAPSHOT-4_i386.deb tia jim Well... It seems that /etc/mailname was not set... never mind. it works now. The clue was in the changelog. jim -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: emacs without backup option
Does someone know which option is regarded to avoid emacs from imediately creating a backup file by opening a new or any other file? I did read the man page, but unfortunatly was not able to find the appropiate parameter. I haven't tried it but there is a variable called backup-inhibited. Found it doing apropos on backup. Set that var to t and see if it works. hth jim Robert -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: jetdirect and lpr
Hey Guys, I've just changed networks and was using lpr with a printer on the lan that was using jetdirect. I am now on a different network and have edited my /etc/printcap to point the remote printer to the new IP. The only thing is now when I print... nothing comes out on the printer. Am I missing something here? Also, is there a log or an error that is generated if the print request does not go through? You might try to telnet to it. If you can't get in, it might not have a default gateway defined. (I am assuming you are now separated by a router.) If you have access to a host on the same network as the printer, try to telent to the printer from that host. It might have a password enabled. If not, you can type / to see the current config. I think ? is help... hth jim Thanks so much! D. Ghost -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: BIOS32 entry (0xc00fa000) in high memory, cannot use
-Original Message- From: LTG [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2000 2:35 PM To: debian-user@lists.debian.org Subject: Installing LinkSys LNE100TX on Compaq Prolinea 590 I have been trying to install the latest GNU/Debian release (Linux version 2.2.17 ([EMAIL PROTECTED]) (gcc version 2.95.2 2313 (Debian GNU/Linux)) #1 Sun Jun 25 09:24:41 EST 2000) flavor 'vanilla' on a Compaq Prolinea 590. This machine has 98MB of RAM, a 6Gig HD and a 3.5 inch floppy drive. I upgraded the BIOS with the latest Compaq ROMpaq: (version 98.05.20). I have been able to sucessfully install the base system. Since I do not have a CDROM drive, my plan was to configure my PCI Ethernet card, a Linksys 10/100 LAN Card, Model LNE100TX - which uses the tulip driver, so that I could access Debian's packages at http://ftp.debian.org/debian/. Unfortunately, I am unable to get my card to work. I orginally tried (during my initial install of LINUX) to install the tulip driver that came with this Debian release, but an error message resulted saying that the resource was busy. Incidentally, I also tried to install the lp driver for parallel printer support, and I got the same error message. Anyway, I yanked out the card and moved it to the other PCI slot. I tried a full install of linux again, but was greeted with the same error message while trying to install tulip: resource busy...most commonly IO or IRQ conflict...etc. I subsequently hit the HOWTO's on www.linuxdoc.org, where I read through the Ethernet HOWTO. I learned that I should test to see if my card was even being found. I ran dmesg | more and discovered that no eth0 existed. Here is thye full output of dmesg : ---START DMESG--- snip ---END DMESG--- Notice the messages that read (maybe they have something to do with it): PCI: BIOS32 entry (0xc00fa000) in high memory, cannot use. PCI: Using configuration type 1 PCI: Probing PCI hardware I tried to use Compaq's F10 Setup software for the computer to configure the card properly, but to I haven't a clue what I am doing with memory ranges and I/O ranges: The software won't let me choose an I/O range less than 1000 - 10FF. It also won't let me chose a memory range less than 4100 - 410003FF. DOES ANYONE HAVE ANY CLUES??? MAYBE A BAZOOKA? I had a similar problem with a compaq 486 prolinea. The problem is that the pci bios is located at a strange place. There is a utility that can relocate the pci bios code down to a place where linux can find it. I can't remember now what it's called but it should be on the compaq web site. I never got mine to work but you might have more luck. The 486 I was using had built in scsi and I couldn't even install the base system (could not find the hard disk). I assume you have to boot to dos, run this utility and then use the dos linux loader to boot into linux. hth jim Thanks in advance, Tim snip
RE: vim + printing = wretched output
On Thu, Sep 07, 2000 at 08:36:10AM -0700, kmself@ix.netcom.com wrote: On Thu, Sep 07, 2000 at 09:30:43AM -0500, William Jensen ([EMAIL PROTECTED]) wrote: Hey guys, has anyone run into bad printing with vim? I spend a few hours editing some notes for class and when I lpt file the spacing was terrible. It's like more/less/lpr treat the tabs/spaces in vim totally different. I also tried printing from within vim with :%w !lpr but it had the same affect. How can I make vim print out exactly as it looks when I'm editing the file? Or, cringe, do I need to go to emacs? What's your 'ts' (tabstop) setting in vim? If it's anything but 8, you'll have a difference of opinion between it and most of the rest of the world. My tab stop is set to 3 (for coding). Indenting 8 spaces per tab in code is just wasteful. Anything I can do to get around this? I think you want to use set sw=3 ts=8 ht=0 in your .exrc file. Then use ^t when you want to indent and ^d to back up an indent level (in insert mode). jim Bill -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Debian 2.2 and security - SecurityPortal article
-- From: Thomas Guettler[SMTP:[EMAIL PROTECTED] Reply To: Thomas Guettler Sent: Wednesday, August 30, 2000 8:47 AM To: debian-user@lists.debian.org Cc: [EMAIL PROTECTED] Subject: Re: Debian 2.2 and security - SecurityPortal article On Wed, Aug 30, 2000 at 11:55:57AM +0200, Leszek Gerwatowski wrote: On SecurityPortal there is an article about Debian 2.2 security: http://www.securityportal.com/closet/closet2830.html Just read it and tell me what you think about it. The Author (Kurt Seifried) makes the newbie believe Debian2.2 is not secure, but you should look at it more close. quote: The next default that really ticks me off is the password encryption scheme - the default is to use crypt. A half year ago I installed debian-potato and I newer heard of MD5 before, but the displayed text informed me very well on what to choose. If you are too lazy to read these lines, you shouldn't try to set up a secure system. BTW, potato stores passwords in /etc/shadow, so that you need to be root to read the encrypted passwords (except you use NIS) quote: Discard, daytime, time, shell, login, and exec (r services) are all enabled by default The first three are enabled, but I think that is no security problem. But shell, login, exec are not enabled on my system, at least on my system. Has someone a fresh installation to tell us what the default is? I did an install a few days ago. The r utilities were not even installed. You have to go after them specifically to get them. If you install them, they are enabled... I forget which profile I used. I'm not sure if the r utilities are in any of them. Debian strongly suggests ssh instead... jim gnuplot and exim paragraph can be ignored. dpkg pgp: Can say something about this. Home-directories by default world-readable: I have nothing to hide. If I would have something to hide I would use encryption and not chmod. I work together with the other users, I want them to see my work and I want to see theirs. LILO-problem: If you have physical access to the machine, you can boot from a rescue disk and get root everytime. (Except you use a encrypted filesystem). Complain about old Apache, ProFTP: If you always want the latest fixes, you need to get the stuff from the sources (Eg www.apache.org) quote: Debian's goal of a bug free-release hasn't been met. But to be fair, it's not like any software vendor will ever release bug-free software. Debian has done a particularly bad job in my opinion, shipping out-of-date software and especially publicly available network daemons that have root hacks in them. Bug-free can mean both: Security-bug-free and Stability-bug-free. Install OpenBSD if you are paranoid about security. -- Thomas Guettler Office: guettli_NoSpam_interface-business.de www.interface-business.de Private:guettli_NoSpam_gmx.de http://yi.org/guettli (Replace _NoSpam_ with @) -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Seeking Linux drivers and hardware for Barcode readers
Any one seen, heard of, any hardware and drivers or third party drivers for linux OS for barcode readers. The barcode readers we use aren't os specific. They are either keyboard wedges or serial devices. There are bunches to choose from. The ones I have used are from Allen-Bradley (relabeled), Compsee, and some noname box from Taiwan (came from Tiger Direct). There's no trick to using these things. If you have a program looking for input in a field on a screen, you can use a keyboard wedge to let folks scan for input. If you want direct input into a noninteractive system, use the box with a serial port. I use both. I even read the serial ones via network by connecting them up to a terminal server device and using socket calls to get to it. All of our applications are in an industrial environment. jim -- AdVance-Computing Systems We sell fine quality servers and workstations. We specialize in multiprocessor units. We install Debian Linux at no extra charge! John Foster [EMAIL PROTECTED] ICQ# 19460173 -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Login with user name in CAPS
Hi list, I just logged in with my user name accidentelly in CAPS and the system let me log in. More suprisingly, everything that is printed on the terminal is in CAPS, too, including everything I type in lower case. Escape sequences for colorizing the terminal don't work either. This will work with both user accounts and root, but only on the console and not with su (su reports an unknown user). Is this a bug or a feature? Or is it a feature that used to be a bug? I didn't know linux did this. It's an old unix feature. Way back when, there were terminals that only had uppercase. If you logged in with UPPER case, it assumes you can only do uppper case and the driver lower cases all your input and upper cases all the output. I assume this is a relic of days gone bye. I have seen warning messages that say to use lower case... jim Puzzled, Viktor -- Viktor Rosenfeld E-Mail: mailto:[EMAIL PROTECTED] HertzSCHLAG: http://www.informatik.hu-berlin.de/~rosenfel/hs/ -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Problem with Samba after upgrade to frozen
Hi, After upgrading to 'frozen' at the weekend, I can't get samba to work. Whenever anyone tries to connect, I get an error logged, complaining that samba can't change the group id (this is in /var/log/smb). It appears to be trying to change to the group of the user that is trying to connect. Can anyone offer any advice? IIRC, that is a bug with the 2.0.x kernels and the newer samba. If you are running a 2.0.x kernel, try changing to a 2.2.x one. Someone recompiled samba for 2.0 kernels and posted a url for the debs. I have since lost it. I think it was Jens Jorgensen. Anyone else have a pointer? jim Many thanks. Andy -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Problem with Samba after upgrade to frozen
Hi, IIRC, that is a bug with the 2.0.x kernels and the newer samba. If you are running a 2.0.x kernel, try changing to a 2.2.x one. I am running a 2.0.x kernel. If it's as simple as that, then I'll certainly do it (one of the reasons for moving up to frozen was go use the 2.2 kernel anyway). As an aside, what changes are required to use a 2.4 kernel? Anything? I don't know. Never tried the 2.4 kernel. jim Thanks for the info. Andy -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Printing to a Hewlett Packard Jet Direct card
To give you another way that works... I use lprng and this is how I have connected to an hp4k printer... tnp015|rm164_hp|Remote hp8kN(ps) printer :lp=tnp015.ten.alcoa.com%9100 :sd=/var/spool/lpd/tnp015 :mx#0 :sf :sh This is roughly equivalent to using the raw printer name with rm: and rp: entries... Except it isn't a remote spool. jim I am trying to set my Debian box to print to an HP LJ-8000 with a Jet Direct card. has anyone ever done this? I want the name of the printer to be surgery. Assuming 111.222.333.444 is the IP of the Jet Direct card, here is my current setup: printcap: # lp|surgery|Surgery:\ :lp=/dev/null:sh:\ :sd=/var/spool/lpd/surgery:\ :rm=111.222.333.444:rp=raw: surgery-text:\ :lp=/dev/null:sh:\ :sd=/var/spool/lpd/surgery-text:\ :rm=111.222.333.444:rp=text: # If I enter the command line: lpr -P surgery-text myfile.txt or: lpr -P surgery mypsfile.ps I get nothing. If I check lpq, it shows that a job was processed by the queue, but nothing comes out of the printer. Any ideas? Thanks. A. Scott White Director of Information Systems and Product Strategy ACS Healthcare Solutions Group -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Reinitializing LPD
I have been rebooting every time I edit /etc/printcap. I know there is a better way to reinitialize the LPD system. Can someone tell me what it is? use the startup files in /etc/init.d. cd /etc/init.d ./lprng restart or ./lprng stop ./lprng start There will be one of these for lpr if you have that instead of lprng... jim Thanks. A. Scott White Director of Information Systems and Product Strategy ACS Healthcare Solutions Group -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Making my vt320 useful
Is your TERM variable set to vt320? There are also a bunch of wyse types. See /usr/lib/terminfo/v/* and /usr/lib/terminfo/w/*. (or /usr/share/terminfo/...) On other systems there is a file in /etc/ that specifies what kind of terminal is on which serial line (gettydefs or ttytype or something like that). I don't see it on my system. I have the stock getty and it might take one of the other getty packages to have that file... jim -- From: Eric[SMTP:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2000 12:34 PM To: debian-user@lists.debian.org Subject: Making my vt320 useful actually, it's not a vt320, it's a wyse which emulates a vt320. my question is this: how do i get special keystrokes like control-X to go through as if i was typing on a local tty? The arrows and any control-key combination that isn't ^C (or a few others which are recognized by stty i think) just print out on the screen. this makes it very difficult to use emacs. :) when i hit ^X i literally see ^X. when i hit escape, i see ^]. the arrows do the same thing ^[[A and so on... can somebody point me to the correct program/config file i use to set this kind of stuff up? thanks, eric. -- _ _ | |(_) http://www.iit.edu/~jenseri | _| | | Page me via ICQ at | |___ | | http://wwp.mirabilis.com/19022931 |__/ | or by mailing [EMAIL PROTECTED] |__/ -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: socket programming
I am writing a server that accepts telnet connections. I am using basic sockets to do so and do not use inetd. I cannot figure out how to disable the echoing to screen for the password. I have tried everywhere else, this is my last resort. Brett I'm not quite sure what you are doing from your description, but I think you need to look at tcgetattr and tcsetattr. See man termios. Unset ECHO, get the password, set back to how it was before. There may be a little more to it than that. It's been a long time since I did any of that kind of stuff... jim -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: install help with a SCSI CDROM on a 486
I've been fighting this Debian install for 3 weeks and am about tired of it. If I don't get an answer here, then I am taking the damn CD to the skeet range. OK, here is what I got: Debian 2.1 bootable CD, official type that comes in the box, has the Debian tm logo on it and the O'Rielly cow book in the box with it Desired packages: Perl(full install not just the basic package), Python, gcc, apache/httpd, mySQL Compaq Prolinea 4/66 20megsRAM a 486 ummm... does it say something like no pci bios found in the bootup messages? I had a compaq 486 that had scsi and net built in and never could get linux to run on it. Compaq had done something funny with the pci bios. It was located above normal accessable memory. There was a tool to relocate the pci bios down to where it was supposed to go (available for download from compaq). This was back in the deb 1.1 or 1.2 days (just after the switch to elf). The newer kernels should pick up on this, I think. Check your boot up messages to confirm that it does recognize the pci bus. If it does, then using the boot options (as mentioned in another response) should get you there. If not, I'll look through the dust and see if I still have that utility from Compaq. jim Fujitsu 4.3 HD partitioned as: hda1 := 2048 hda5 := 1024 copied the Debian CD here in /Debian using xcopy in DOS hda6 := 1024 copied W31 W95 here to make it easier to reinstall hda7 := 0033 Linux swap from previous install attempts hda8 := 0033 somehow generated in one of the install attempts, delete later Netgear/Bay Network EA201 D2 NIC Adaptec AVA-1505A hooked to an internal IBM/Matsuhita CR-503-C CDROM is at SCSI#3 during DOS bootup it shows the card as Host Adapter #0 Port 140h Interrupt 10 Host Adapter SCSI ID = 7 One of the references that I found is at http://customer.support.redhat.com/rhoaprod/plsql/xxrh_know_pkg.srch2?p_id =1 20 and its example was aha152x=0x340,10,7 however, I believe that I should have aha152x=0x140,10,7 due to the IO address Now I can click Win95 Start, Shutdown to DOS, go to the CDROM as I:\ in Win98DOS, cd install, invoke boot.bat, select color, select USA keyboard, partition hda1 as ext2~Write~yes,~Quit initactivate swap hda7, init /dev/hda1, skip the bad block check since it has been done about 20 times without finding anything, mount as /, Install Operating System Kernel and Modules, Select CDROM as medium, select /dev/scd0 : SCSI, and bleewy NO SCSI ADAPTER DETECTED The question remains, where do I tell Debian to aha152x=0x140,10,7 in this process?? I don't see a place to pass these parameters to the install program. What am I missing??? Also, when I get to modules, what module do I load for the NIC?? Any help will be appreciated, Will -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: [OT] C help plz..
You could just do: fflush (stdout); /* clear the stream buffer */ write (1, myvar, 4); /* write binary to stdout */ jim Thanks. This is exactly what I want. I have thought about doing it this way, it is just that from memory, there is a libc function that does the equivalent. shao. Matthew Dalton [EMAIL PROTECTED] wrote: Sorry... I automatically made a link between binary data and hexadecimal data... You could shift 8 bits of the unsigned long into a unsigned char one at a time, and print that character with a %c in the printf, or use putchar() or something. eg: unsigned long l = 0x38c9616e; unsigned char c; : : c = (l 0xFF00) 24; putchar(c); c = (l 0x00FF) 16; putchar(c); c = (l 0xFF00) 8; putchar(c); c = l 0x00FF; putchar(c); Is this what you were looking for? I suppose you wanted something simple, ie using printf... I'm not sure about that. printf ( %c%c%c%c, (l 0xFF00) 24, (l 0x00FF) 16, (l 0xFF00) 8, l 0x00FF ); this might be as close as you can get. Shao Zhang wrote: But isn't %[Xx] just prints out as Hexdecimal? I just tried, and it prints out something like: 38c9616e which consumes 8 bytes in a file. Given that unsigned long is 32 bits, I want to use exactly 4 byte to represent it in order to save some space. Thanks. Shao. Matthew Dalton [EMAIL PROTECTED] wrote: Try using %X or %x instead of %ld Shao Zhang wrote: Hi, If I have an unsigned long int, instead printing out its values in string using printf(%ld\n, my_var), I would like to print it out as a 4-byte binary data. Is there any easy way to do this in C. Thanks. Shao. -- __ __ Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ __ ___ -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Cups 1.0.5
Hi Jim, Thanks for your reply. Can you tell me more about how you worked around it by changing some of the macros in the a2ps config files ? I changed a2ps-site.cfg in the following ways: change DefaultPrinter: | #{lp.default} to DefaultPrinter: | #{lp}mydefaultprintername I also changed that printer to be level 2 postscript. Read the comments in the file... jim snip
RE: Cups 1.0.5
Hi dear Debian gurus, I am a home user running slink (Debian 2.1). I've installed the cups 1.0.5 deb package which overwrites my original lprng package. But when I try to do lpr ~/.bashrc it says lpr: error -- no default destination avaiable I found that it would work if you put the printer name in the options to lpr. It would never work with the printer defaulted. I worked around it by changing some of the macros in the a2ps config files to always use the printer name. Not a general fix, but it worked for me. jim snip
RE: STILL Configuring x-windows for EGA- can anyone help with thi s?
I run X on a 486/66 (40meg mem) all the time. It isn't as snappy as on a fast machine but it works just fine, thank you. Of course, you can't expect to run gnome or kde but fvwm does a very nice job. I have also run X on a 486/33 with 16 meg memory. It is slower but it also runs ok. Takes a few seconds for emacs to come up but it works. I wouldn't use win3.1 unless I was threatened with death or worse... of course, the likelyhood of no job and an existing mortgage can be a strong motivating factor ;) jim if it were my machine and it needed a GUI i would prob use win 3.1, anyhthing more would be too much. nate On Tue, 22 Feb 2000, Eric Hagglund wrote: eahagg This isn't for me, it's for some children who don't eahagg have a computer and I, like much of the world don't eahagg have the luxury of 300 Mhz processors and have to get eahagg by as best I can. I don't have the equipment and the eahagg worstations are going to have to be standalone. eahagg eahagg I don't agree with your pronouncement on the eahagg feasibility of X other than the fact that it runs eahagg slower on slower machines. I've seen it run on 486s eahagg plenty of times before. It sounds like you are eahagg possibly new to Linux and accustomed to using higher eahagg end machines, not having thoroughly explored the eahagg capabilities of the operating system. eahagg eahagg --- aphro [EMAIL PROTECTED] wrote: eahagg even if he could get XF86 setup for EGA(maybe he eahagg can...) i dont think it eahagg would run worth a shit, its better to leave a eahagg machine like that in console eahagg mode. if you want X, install vncserver and run X eahagg apps from remote. i eahagg would avoid X on anything less then 200Mhz 48MB (any eahagg system i install now eahagg is 350MHz 64MB+) eahagg eahagg nate eahagg eahagg On Tue, 22 Feb 2000, Eric Hagglund wrote: eahagg eahagg eahagg Can anyone help with this or at least tell eahagg me if it's eahagg eahagg not feasible? eahagg eahagg eahagg eahagg --- Eric Hagglund [EMAIL PROTECTED] eahagg wrote: eahagg eahagg Date: Sun, 20 Feb 2000 07:40:20 -0800 eahagg (PST) eahagg eahagg From: Eric Hagglund [EMAIL PROTECTED] eahagg eahagg Subject: Configuring x-windows for EGA eahagg eahagg To: Debian User Lists User Lists eahagg eahagg debian-user@lists.debian.org eahagg eahagg eahagg eahagg I'm trying to get a 486dx set up with eahagg X-windows. The eahagg eahagg monitor I'm using is a NEC Multisynch eahagg JC1401-P3A EGA eahagg eahagg that was manufactured when Ronald Reagan eahagg was peaking eahagg eahagg in popularity (in the U.S. at least, eahagg before Oliver eahagg eahagg North eclipsed him; no I'm not kidding :). eahagg I have eahagg eahagg installed Debian 1.3.1 onto a 500 meg hard eahagg drive and eahagg eahagg am now trying to get X Windows configured eahagg using the eahagg eahagg text based install utility, because the eahagg graphical eahagg eahagg setup uses VGA by default and that is eahagg (apparently) eahagg eahagg too eahagg eahagg much for this dinosaur to handle. eahagg eahagg eahagg eahagg Anyway, I am now at the menu where you eahagg choose the eahagg eahagg horizontal synch range for the monitor. eahagg All the eahagg eahagg choices available to me, save one are for eahagg VGA eahagg eahagg monitors. The last choice allows me to put eahagg in a eahagg eahagg range eahagg eahagg of my own. What should I put in? eahagg eahagg eahagg eahagg Then, when it asks me about the vertical eahagg range, what eahagg eahagg should I put in for that? eahagg eahagg eahagg eahagg BTW the back of the monitor says it's eahagg rated for 120 eahagg eahagg volts at 60hz, and it appears to have eahagg jumpers for eahagg eahagg color settings. If any other details would eahagg be eahagg eahagg helpful, eahagg eahagg please let me know. eahagg eahagg eahagg __ eahagg eahagg Do You Yahoo!? eahagg eahagg Talk to your friends online with Yahoo! eahagg Messenger. eahagg eahagg http://im.yahoo.com eahagg eahagg eahagg eahagg eahagg eahagg -- eahagg eahagg Unsubscribe? mail -s unsubscribe eahagg eahagg [EMAIL PROTECTED] eahagg /dev/null eahagg eahagg eahagg eahagg eahagg eahagg eahagg __ eahagg eahagg Do You Yahoo!? eahagg eahagg Talk to your friends online with Yahoo! eahagg Messenger. eahagg eahagg http://im.yahoo.com eahagg eahagg eahagg eahagg eahagg eahagg -- eahagg eahagg Unsubscribe? mail -s unsubscribe eahagg [EMAIL PROTECTED] /dev/null eahagg eahagg eahagg eahagg eahagg [mailto:[EMAIL PROTECTED] eahagg ]-- eahagg Vice President Network Operations eahagg
RE: PCI BIOS problems
I had a similar problem with a pci scsi card in an old 486. It would not let me leave a blank pci slot. The card had to be installed next to the video card which was in the first pci slot. hth jim Would modprobe ne2k-pci io=0x300 irq=11 work when: cat /proc/io... -001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : npu 0170-0177 : ide1 01f0-01f7 : ide0 02c0-02df : NE2000 02f8-02ff : serial(set) 0376-0376 : ide1 03c0-03df : vga+ 03f0-03f5 : floppy 03f6-03f6 : ide0 03f7-03f7 : floppy DIR 03f8-03ff : serial(set) cat /proc/interrupts 0: 16539 timer 1: 2 keyboard 2: 0 cascade 8: 2 + rtc 10:305 NE2000 13: 1 math error 14: 14481 + ide0 15: 0 + ide1 -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: ftp, inetd.conf, potato
I seem to recall that lots of services were broken out into their own packages. ftpd was one of those. There are at least 3 different ftpd packages. Just pick one and install it. rsh-client, rsh-server and others were in that group also. The list of what got broken out into separate packages might be in the doc for the new netstd..?? jim on my slink machines it is netstd, not sure about potato. : nate On Thu, 10 Feb 2000, Karl M Yerkes wrote: kmyerk Sure enough ftp points to /usr/sbin/in.ftpd which does not exist. what kmyerk package has in.tftpd and in.ftpd ? kmyerk kmyerk kmyerk --karl yerkes kmyerk kmyerk kmyerk -- kmyerk Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null kmyerk [mailto:[EMAIL PROTECTED] ]-- Vice President Network Operations http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336http://www.linuxpowered.net/ Powered By:http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/ -[mailto:[EMAIL PROTECTED] ]-- 9:39pm up 175 days, 9:54, 2 users, load average: 1.01, 1.03, 1.00 -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: I can't get Linux to INSTALL! Help!
It's an IDE Do you have more than one drive in the box? - Original Message - From: Aaron Solochek [EMAIL PROTECTED] To: Alexander [EMAIL PROTECTED] Cc: debian-user@lists.debian.org Sent: Friday, February 04, 2000 1:49 PM Subject: Re: I can't get Linux to INSTALL! Help! Is it a scsi harddrive? Its possible that the boot disk you have does not have support for whatever scsi card you are using If you don't know, boot into windows, and go to the device manager (right click on my computer, go to properties, click on devices tab) and see if there is a scsi entry, if there is, tell us what it says. If you don't have scsi, then I'm stumpted, I can't imagine why the harddrive woudln't show up. -Aaron Solochek [EMAIL PROTECTED] Alexander wrote: I'd like to apologize for sending out the same question again, but nothing thus far has worked. Here is my problem, in detail: I have attempted to install RedHat, TurboLinux, and now I'm on Debian. None of these have I been able to install. On every single one of them, as I am doing ANYTHING requiring finding the hard drive, it tells me that there is no hard drive. This is the error message that I get from Debian: No Hard Disk!No hard disk drives could be found. Make sure they are cabled correctly beforethe system's started. You may have to change driver settings at the boot,... orload a driver. I've gotten similar error messages from the other Linux's... I have a 13.5 GB hard drive and it is already partitioned for Linux. What can I do? All I want to do is get the thing installed, and I can't even do that... someone please help me! -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: problems with remote printing lpr
I'm running slink on a x86 box with all the security y2k updates applied. I've got lprng (version 3.5.2-2), magicfilter (version 1.2-28), a2ps (version 4.10.4-4) and aladdin-gs (version 5.50-3) installed. The first problem I'm having is that when I print (lpr file), I'm not getting a prompt back until the remote printer is finished printing. The remote printer is a Tektronics Phaser III, and my machine is talking to it using lpr protocol, which the printer supports natively. The printcap entry is: # snip lp|faculty|Faculty 360:\ :lp=/dev/null:sd=/var/spool/lpd/faculty:rm=192.168.100.1:rp=faculty:\ :sh:pw#80:pl#66:px#1440:mx#0:\ :if=/etc/magicfilter/psonly600-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: # end snip I don't know if it's changed much (I use potato) but I would try something like this: lp|faculty|Faculty 360:\ :lpd_bounce\ :[EMAIL PROTECTED] :sd=/var/spool/lpd/faculty\ :sh:pw#80:pl#66:px#1440:mx#0:\ :if=/etc/magicfilter/psonly600-filter:\ :af=/var/log/lp-acct\ :lf=/var/log/lp-errs Add the lpd_bounce and use lp instead of rm and rp. This is supposed to be the new way to do it. You can use lpd_bounce or lpr_bounce and either should work. I'm a little iffy about using faculty for the printer name at the Textronix. Most of those kind of things use preset names like raw (hp), PASSTHRU (Emulex), lp (xerox). (I'm talking about the :lp=... name or the :rp=... name). Maybe some don't care what you call them. jim jpb -- Joe Block [EMAIL PROTECTED] CREOL System Administrator Social graces are the packet headers of everyday life. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Laptop loses display
I installed frozen on a Micron Transport Xpe After the kernel boot messages finish displaying my display goes blank? Has anyone seen this before? Could it be the terminal setting? If I hook a monitor to the back port I can view on the monitor - but never the laptop display I have a micron transport but I think it may be an older model. With the 2.0 series kernels, I had to disable the screen reset (comment it out in video.S). The 2.2 series kernels do not have video.S whatz that? /usr/src/linux/arch/i386/boot/video.S Since you are using 2.2.13 it's irrelevant. this problem. The second binary slink cd has a kernel that will boot and run on my pc. There is a reference to the micron transport on the utexas linux on laptops pages (can't remember the url ATM). If you are running a 2.2 kernel, then idunno. I am running the 2.2.13 kernel in frozen. The kernel messages show just fine - its when the boot switchs to the init.d stuff I'm running 2.2.13 that I compiled. I checked and my laptop is a micron millennia transport, model nbk001221-00. We may be talking apples oranges here. Ummm... are you running xdm? jim
RE: Woody? when did this happen? - when stable must be used to install slink - details (and probable latent bug)
From: Brian May [EMAIL PROTECTED] Daniel == Daniel Barclay [EMAIL PROTECTED] writes: Daniel I don't know why Debian people can't understand that Daniel releases/versions also need to be accessible by names that Daniel _don't_ change. Why refer to in in apt/sources.list as unstable or frozen when potato would be better? Because it doesn't work for local mirrors. Actually, it does work IF you make a link called frozen that points to potato. Remove the link before running the rsync (or whatever) and replace it afterwards. When potato becomes stable, you have to make the link stable. The names are changed in Packages file when they do this. As an alternate way, edit the Packages file and change frozen with potato... maybe it could be better but it does work as long as you know what's going on. jim [stuff snipped]
RE: Laptop loses display
I found the video.S file in the kernel-source(gnna try 2.2.14), as to what I NEED to change I am clueless. Do you know where its docs are? No I am not running xdm - the display turns off after the kernel's md driver init and before the scsi init. Perhaps all I need to do is compile a kernel w/pout scsi in it If you are going to compile a 2.2.x kernel, forget about changing the video.S file. That was only for the micron millennia transport and only for the 2.0.x kernels. My laptop works just fine without doing anything special with the 2.2.13 kernel. Just make your new kernel with only the things you need. Use the kernel-package package to do it. It's really easy. Just do the make menuconfig (or whatever you like), then make-kpkg clean make kpkg --revision mynewkernel.1.0 kernel_image Then install it using dpkg -i. The .deb file is left in /usr/src. You might also want to install pcmcia-source and compile that stuff too (use target modules_image). jim
RE: potato mirror
Hi, I'm in the middle of mirroring the potato distribution and notice that there are about 300+ packages symlink to slink distribution. Does this mean that I need to mirror slink also? No. I used rsync and told it to follow the symlinks. I can get just potato and just i386. I can send you the script if you want. The rsync I am using is from potato but I started from the one in slink. The total space required is about 2.2G. jim Thanks! --- tcp -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Weird Console Stuff
I've been experiencing a very strange console problem. My keyboard seems to have the wrong keys bound. In X Windows, no problems. In console, 'cwalstrom' types out as 'czqlstro,'. Obviously, I cannot log on in console mode because I cannot predict which keys I have to depress to get the correct password. ;-( Any help on this? I had the same problem about a week ago (potato). Run kbdconfig to set up the console and it should fix it. jim -- Chad Walstrom mailto:[EMAIL PROTECTED] a.k.a ^chewie, gunnarr http://wookimus.net/~chewie
RE: char-major-6
What is char-major-6? Where do I find this information so I don't have to bother clueful people about it? TIA, Try /usr/src/linux/Documentation/devices.txt jim -- Nathan Norman MidcoNet 410 South Phillips Avenue Sioux Falls, SD mailto:[EMAIL PROTECTED] http://www.midco.net finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9) -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
gs/magicfilter on a hp lj3
I need to make magicfilter (ljet3-filter) or gs leave a bit more left margin. The lj3 has about .25 in that can't be written on and the output gets cut a little. Does anyone know how to make gs and/or magicfilter leave more left margin? At the moment, I can use a2ps with the --margin option but I would like to fix it so I don't have to change a2ps options when changing printers. tia jim
RE: slink - potato
Hi, My box running slink here would like to do the potato upgrade but I'm concerned that it might run out of disk space: Filesystem 1024-blocks Used Available Capacity Mounted on /dev/hda1 296633 24881332500 88% / /dev/hda3 675175 343296 297003 54% /home Safe to upgrade? Your likely to have to put the archives directory on /home. The downloaded .deb's go into /var/cache/apt/archives. You can get stuff in small chunks and clean in between apt-get's. Or, you can use a sym link to put the archives tree over on /home so you have more download space. At the end, apt-get clean and put the original archives dir back in place. jim tia, -Mark - I know everything we've done is absolutely right and proper --Microsoft CEO Steve Ballmer on MSNBC, 01/13/00 - -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: cannot open '/dev/lp0' - 'No such device'
aphro hat gesagt: // aphro wrote: netscape uses the command 'lp' to print..which does not appear to work at the command line..when i lp a file ..i get ..: [EMAIL PROTECTED] ~] lp notes.txt ; lpq request id is 638 Printer: [EMAIL PROTECTED] 'HP Deskjet 500' Queue: 1 printable job Server: pid 30639 active Unspooler: pid 30641 active Status: printed all 1666 bytes at 17:21:56 Rank Owner/ID Class Job Files Size Time active [EMAIL PROTECTED]A 638 notes.txt 1666 17:21:56 but nothing ever comes out(the printer doesnt do anything) Are you sure the command is lp, not lpr. lp is the name of the printer, but the command to print from the command line is lpr. At least I do not have a command named lp: $ lp bash: lp: command not found If you installed CUPS you might have the lp command. You might also have an lpstat command. I tried using cups and found that you have to specify the printer on the command line. It will not use the default printer correctly. Try lp -dprintername ... jim -- ____ Frank Barknecht __ __ trip\ \ / /wire __ / __// __ /__/ __// // __ \ \/ / __ \\ ___\ / / / / / / / // // /\ \\ ___\\ \ /_/ /_/ /_/ /_//_// / \ \\_\\_\ /_/\_\ -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: FRN Fwd: Linux on RS6000 F40
Someone recently asked this list about whether or not Debian/GNU Linux can be run on the IBM RS6000, but I cannot find the original post. ...from a friend of a friend (below), and thanks to Albert (who is an excellent UNIX systems admin.). Now we know. Art That was me. I was looking for info on a rs6000/7013. That system was bought in mid '92 (or maybe '93). I fear that it is an mca system... jim - Forwarded message from Albert E. Whale [EMAIL PROTECTED] - Organization: ABS Computer Technology, Inc. X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.9-19mdk i686) Art, Is this the info you were looking for? Jeff Gentry wrote: Alexei Kakhno ([EMAIL PROTECTED]) wrote: : Who has experience in LINUX installation under RS6000 F40? Not sure, but according to a teleconference yesterday from IBM (on AIX4.3.3), Linux is officially supported now on RS/6000 43P-150, E50 and F50 models. Not sure how well that bodes for a F40 though. -- Jeff Gentry [EMAIL PROTECTED] [EMAIL PROTECTED] You're one of those condescending UNIX users! Here's a nickel kid ... get yourself a real computer. -- Albert E. Whale [EMAIL PROTECTED] http://www.hky.com/aewhale.html -- Sr. Database, Internet and Unix Systems Consultant Pennsylvania Parenthood Initiative - It takes two people to become parents, the children need both of them! http://www.geocities.com/Heartland/4688/papi.htm Parents without Partners - Past President Co-Founder of The Purple Heart Foundation Fathers' Rights Network http://www.hky.com/frn/frnhome.html - End forwarded message - -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
rs6000/7013
Does anyone know if an ibm rs6000/7013 is usable with debian? I tried to find it at linuxppc.org but it was not in the supported list and not in the unsupported list. The hardware howto is x86 only. Can anyone clue me in?? I know next to nothing about this box except that it is going to die at the end of the month. tia jim
RE: lilo.conf for boot from hda and sda?
Hi, It would be nice if someone could help me on this: I have suse-6.3 om my hda and debian-2.2 on my sda. My bios supports booting from either one, by changing boot order. However, it would be very convenient to boot the other Linux version without changing the bios settings! Curreent status is: - Booting debian from hda have been working as long as I had only one target at the sda disk (slink, and nor pormpt etc). Now the boot hangs at LI!! - Booting suse from sda cannot be tried due to errors in finding a valid boot image, see below. Anyone who have gone through this before? The suse 6.3 installation did not cover this case. Also reading the lilo and lilo.conf man-pages did not give sufficient info to resolve this issu (at least not for me). On hda/suse / is mounted on hda6 and /boot on hda1. On sda/debian / is mounted on sda1. For lilo.conf files and info see below. hda/suse63: ++ The lilo.conf for hda is shown below: boot = /dev/hda default = suse63 prompt timeout=50 read-only image = /boot/vmlinuz root = /dev/hda6 label = suse63 other = /dev/sda1 table = /dev/sda loader = /boot/chain.b label = debian I haven't tried to do this but I think it should work. First, put your debian kernel in /boot. Then change the other=... to image=/boot/yourkernelname. Leave out the table and loader lines. Add root=/dev/sda1 and readonly. run lilo and see if it works. The kernel you place in /boot will have to have the scsi compiled in and you may have to add an append=... to that section. jim lilo -v: LILO version 21, Copyright 1992-1998 Werner Almesberger Reading boot sector from /dev/hda6 Merging with /boot/boot.b Boot image: /vmlinuz added suse63 * added debian sda/debian: ++ The lilo.conf for sda is shown below: boot=/dev/sda1 install=/boot/boot.b map=/boot/map vga=normal delay=20 disk=/dev/sda bios = 0x80 disk=/dev/hda bios = 0x81 prompt default=potato timeout=50 image=/vmlinuz root=/dev/sda1 label=potato read-only #image=/vmlinuz.old image=/boot/vmlinuz-2.0.36 label=slink read-only # This is not accepted by lilo: other = /dev/hda6 table = /dev/hda loader = /boot/chain.b label = suse read-only lilo -v: LILO version 21, Copyright 1992-1998 Werner Almesberger Reading boot sector from /dev/sda1 Merging with /boot/boot.b Boot image: /vmlinuz Added potato * Boot image: /boot/vmlinuz-2.0.36 Added slink Boot other: /dev/hda6, on /dev/hda, loader /boot/chain.b First sector of /dev/hda6 doesn't have a valid boot signature [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
zip disk repair script (was Error messages using iomega zip)
Someone wanted the script to repair a scsi zip disk. I sent it but noticed it didn't go to the list. ($%* exchange). Anyway, here it is for anyone else that might want it. It's crude but it works. jim ===repairzip == #!/bin/sh # # script to fix up a zip with bad blocks # umount /zip scsiformat -b0 -fdos -FEne Mene Meck, und Du bist weg! /dev/sda sleep 5 scsiformat -T /dev/sda sleep 5 sync; sync; sync sfdisk -f -D /dev/sda EOF 0,0,0 0,0,0 0,0,0 0,96,6,* EOF badblocks -v -s -w /dev/sda4 98288 mkdosfs /dev/sda4
RE: printcap for JetDirect printer
Can someone help mewith the proper printcap entries for a HP 4000TN (ps) hooked up with JetDirect? It will be my only printer. Here is my lprng printcap entry for an hp 8000 dn lp1|tnp015|rm164_hp|Remote printer entry :lp= :rm=tnp015 :rp=raw :sd=/var/spool/lpd/tnp015 :mx#0 :sf :sh The rm entry can be an ip address. At our site, all the printers have entries in dns... jim Thanks. -- Brian J. Stults Doctoral Candidate University at Albany - SUNY Phone: (518) 442-4652 Fax: (518) 442-4936 Web: www.albany.edu/~bs7452 -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: writting a Daemon in c
I am writting a Daemon in c, I need to know how to disconnect the program from the terminal so that if that terminal is destoyed it will not cause my server to shutdown. I have done this with perl scripts, but can't not figure it out with c. Thanks in advance Evan. There is a very good reference to this in Unix Network Programming Vol 1 by W. Richard Stevens. Basically: fork - parent exit setsid - become session leader signal - turn off SIGHUP fork - parent exit (so this process is not a session leader) umask - reset umask if you need to close - flush and close all file descriptors Then you open any files you need to, etc... There may be a few more things you might want to reset (like a bunch of signal handlers, etc.). jim
RE: xserver connection refused
I have an xserver for windows on my winbox and I can connect to my debian system by: start xserver on windows box... telnet 'url-of-linux-box' login: password: xterm -display 'url-of-windows-box':0.0 ... now running But this doesn't work the other way. I get a 'connection refused by host' message when I try to connect from one linux box to another. I guess there is a config file somewhere that needs to be modified to open up the xserver on the linux box to allow connection by a remote system. Where do I look? BTW same error message on RedHat (6.1) as debian (2.1) so this must be an XFree86 thing? Thanks. You are getting tripped up by the x authorization stuff. Your windows box allows anyone to connect to it but the linux boxen don't. Look up xhost and xauth in the man pages. You can do xhost + to get started, but I would do something else long term. It opens your machine up to anyone. If you are behind a firewall and you trust the others on your network, it's ok. Otherwise you have to use xauth or ssh. I guess there are other ways to authorize the display too but I haven't had to know about them... jim
RE: Problem resolving $(hostname) with DHCP
On Sun, Oct 10, 1999 at 12:48:38AM +, Andre Majorel wrote: I've just moved to a site where they use DHCP with W95 clients. I've managed to configure my (and a colleague's) good ol' Hamm to insert in the network with dhcpcd 0.70-5 but some problems remain : From To Operation Results - - -- --- Linux NT SMTPOK Linux NT POP3OK Linux AIXHTTPOK Linux NT HTTPOK Linux AIXftp ftp prints connected to xxx then hangs Linux Linux ftp ftp prints connected to xxx then hangs W95Linux ftp ftp prints connected to xxx then hangs Linux W95pingOK Linux Linux pingping hangs Linux W95traceroute OK Linux Linux traceroute traceroute hangs I would say there are problems with ICMP UDP protocols. JY Sorry if I came in late on this. I lost the original message... I work at a place where everything is run on nt that can be. (It's a pain, but that's the corp world) We use a dns from ms that integrates wins and dns. It works good for the ms folk but not so good for all the unix folk. You will get an ip address and the domain name servers with dhcp but your (linux) hostname won't go into dns. If your site uses ms-dns, then you might have the same problem. Try using ip addresses in the ping instead of host names. You can see your ip-addr by using ifconfig. Even if this is part of your problem, I don't think it wouldn't explain the ftp problem you are having... jim
RE: Can't print to remote printer
I'm stumped. I'm trying to print to a remote printer (don't have a local one), and everything looks right according to the howtos tc. Here's my printcap: # REMOTE HP4 lp|hp4:\ :sd=/var/spool/lpd/hp4-raw:\ :rm=1the ip address of my printer:\ :rp=the name of my printer as it shows on the printer's configuration printout:\ :lp=/dev/null:\ :sh: If it is an hp network interface (i forget the name, jet direct or netdirect or something like that) then you have to use raw or text for the rp= parameter. I think the printers config printout shows you the system name for the interface card, not the print queue name. Let me know if this works. jim snip
RE: Job in queue on hold, but not job in queue. Huh?!
I'm trying to set up printing on a Debian box to a remote printer. My printcap looks like: lp|hplj4l|HP Laserjet 4L:\ :lp=/dev/null:sd=/var/spool/lpd/hplj4l:rm=the_printer's_ip_address:rp=hp lj4l:\ :sh:pw#80:pl#66:px#1440:mx#0:\ :if=/etc/magicfilter/ljet4l-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: If your printer is using an HP network interface, try using rp=raw. jim
RE: [OT] How to make a critical section in user program?
On Fri, Sep 17, 1999 at 09:28:47AM -0700, Jerry Gardner wrote: Wojciech Zabolotny writes: Hi All! I have yet another real time question. Is it possible to make a part of my program a critical section, so that during execution of this part of code my program can not be suspended? I'd like to be able to send a data through the serial port at the known time, As far as I know, there is no way to do this in a user program. The reason is simple, Linux is a multiple user system and if any random user could do this, they could write a program that enters a crital section and then loops forever. Such a program would effectively lock the computer up forever. I agree, but what about the root's processes? You can easily write code that is non-preemptable in the kernel, however. Well, but in the kernel I can't use the write(ComFd,c,1). Am I wrong? (I hope I've missed something) I'm just trying to use Linux for a kind of realtime data processing, and I'm trying to avoid RT Linux... -- Wojciech Zabolotny [EMAIL PROTECTED] As an old realtime programmer, I need to comment on a few things... If you do a dispatch lock, you can't do anything that might cause your process to suspend. If you do, most real time systems will abort the program with some kind of resource error. If your dispatch locked program waits on io, the entire computer comes to a halt. The kernel runs but nothing else does. You probably want to use real time priorities and a real time scheduler. Then you can make sure that your program will receive service when it needs it. However, you will probably have to set up a real time shell and leave it logged in on the console. If your program gets caught in a loop, there would be no way to do anything unless you had a shell already logged in at higher priority, or you could get a signal to it. If your program runs as a daemon, you need a shell to send the signal since your prog will be detached from a controlling term. Once your program is bullet proof, you can do away with the real time shell. Even with a real time scheduler, there are certain latencies associated with interrupts, context switching, etc. With a real time system, you get deterministic response. Most real time unix implementations are not very good at this. It usually takes a specially written kernel to handle things in a deterministic fashion. There are several commercial systems (Qnx, and others) that will do what you want. I have no idea if RTLinux can. If the general purpose real time kernels are not good enough, then you have to hit the hardware and do it yourself. jim
r utilities went missing
What happened to in.rexecd (and the rest of them)? They used to be in netstd in slink. I upgraded this morning and they went missing. I got the Contents-i386.gz from potato and they were not in there. Were they dropped on purpose? split out into another package? When will they be restored? jim
RE: [Debian] Ethernet MACaddress constantly changing
Do you use dhcp to get your address? If you do, the linux dhcpcd releases it each time you shutdown so every time you reboot you get a new ip-addr. MAC addr is another story. That should be fixed to the adaptor and never change. (Well, almost never. There are a few that have mac addresses that are able to be modified with a special utility. The only ones I know about are for older minicomputers...) If your problem is ip-addr changing, you can modify the dhcpc script in /etc/init.d to killall -9 dhcpcd for the stop function. That fixed it for me. jim Hi, I have a portable with a 3Com 3CCE589ET CPCMCIA network adapter. I'm also running arpwatch on my network to check for ellegal aliens. I noticed that everytime a reboot my portable from linux to windows or the other way around I get a message from arpwatch that the Ethernet address of my portable changed. Shouldn't the ethernet address be network-card-specific. Is either Linux or Windows98 changing my Ethernet address and ifso why? Thanks in advance, Nico -- How do you tell when you run out of invisible ink? Nico De Ranter Sony Service Center (SUPC-E/NSSE) Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne) 1130 Brussel (Bruxelles), Belgium, Europe, Earth Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86 e-mail: [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Potato broke my samba
Hi, I have just upgraded our server from slink to potato (I wanted the new exim amoungst other things). Now we cannot connect to samba. I have checked my smb.conf with the testparams, it all looks OK (and of course it was working with the previous version of samba that came with slink). I have recreated my smbpasswd (just in case there was a problem with the old version). I had a problem with samba 2.0.5a. It required that I upgrade to a 2.2.x kernel. There was another problem that showed up on the list about bad passwords. As you seem to have remade the smbpasswd file, maybe try a 2.2.x kernel. The error I had in the logs was a cannot become user x error followed by authentication errors (bad user name/passwd). jim I have been working through diagnostics.txt and always fail TEST 3 like this romans:~$ smbclient -L GENESIS Added interface ip=192.168.100.28 bcast=192.168.100.255 nmask=255.255.255.0 Password: Domain=[SUNDAYTA] OS=[Unix] Server=[Samba 2.0.5a] tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) Tests 7 and 8 fail as well. We don't have a guest user, samba was using nobody before (bit nopbody was and is not in smbpasswd Samba is now not showing up in Windows 98 network neighbourhood. Anyone got any ideas about what is wrong or what I need to try? Sorry I am so stupid. Regards Dave -- David Warnock Sundayta Ltd -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: micron laptop install probe
My boot from the rescue disk hangs after the md driver. This problem was discussed in Dec 1998 on this list, and a modified boot disk was posted as a fix, but which I can not find at present. Does anyone have this disk or some other way to solve the problem? Which micron do you have? I have a millennia transport (133 pentium). The problem I had was with the video. The second binary disk (slink) will boot my laptop without problem. jim ___ Get Free Email and Do More On The Web. Visit http://www.msn.com -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: samba password changes after potato upgrade
Ok, I upgraded to 2.2.10 kernel but my Samba still does not recognise my passwords from my win 95 system. My old samba configuration used plain text passwords if my memory serves me right. I think there was a problem with encription of passwords when I first installed it. If this is the case, how do I go about setting up my system to accept passwords? Any help pointing me in the correct direction would be greatly appriciated! Doug My system has to deal with nt so I use encrypted passwords. I am also using one of the nt domain controllers to verify the passwords. To use encrypted passwords you need to put encrypt passwords = yes in the [global] section. Here is what I have: encrypt passwords = yes security = server password server = domaincontroller1, backupdomaincontroller, etc I'm not an expert by any means. Samba security is a little fuzzy to me. However, here is a stab at some other configs. nt4.0 clients and recent win95/98 clients, local authentication: encrypt passwords = yes security = user In this case, each user has to have an account on the samba server and an entry in the smbpasswd file. Alternately, you can map win users to samba server (linux) users with a users.map file in /etc/samba. win95 clients with passwords sent clear text: encrypt passwords = no security = user Pretty much the same as the previous example on user setup. I haven't tried this. If you need to connect nt this way, there is info about a registry entry to force clear text passwords. Info is in the samba-doc package. References: smb.conf man page, ENCRYPTION.txt.gz, security_level.txt.gz On the kernel, I have found 2.2.10 to be pretty solid. It seems faster on my tired old 486-66 cast-off that's running samba. I have heard of file system problems but haven't experienced anything like that. jim Lewis, James M. wrote: After upgrading my system to potato, my samba services no longer work. I get an error message saying that the password supplied is not valid. Everything worked fine under slink. If I remember correctly, part of the instructions on the old setup was to remove password encryption so windows 95 could connect (Its been so long, I'm not sure exactly what I did to set it up). The latest version of samba has encryption enabled for windows 95/98. Where should I look to modify my configuration files? Are there any docs on conversion issues from the version that was stable with slink? If all you did was upgrade samba, then the problem might be with the kernel version. I had a similar problem with 2.0.36 kernel. I upgraded to 2.2.10 and things worked right. The problem was that samba could not become the connected user. Thanks, Doug -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null jim -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Extra page in printer
Hi all, I have a problem when printing in my printer. All the times after I print in my printer, there is a page with the following names: User: Host: Class: Job: How do I eliminate this page? Thanks, Paulo Henrique If it is an hp network card that interfaces the printer to a network, then you can telnet to the printer. ? gets a help screen. You want to set the banner to off. I think the command is banner: 0 If you don't have an hp jetdirect interface, then I'm off base... jim -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: samba password changes after potato upgrade
After upgrading my system to potato, my samba services no longer work. I get an error message saying that the password supplied is not valid. Everything worked fine under slink. If I remember correctly, part of the instructions on the old setup was to remove password encryption so windows 95 could connect (Its been so long, I'm not sure exactly what I did to set it up). The latest version of samba has encryption enabled for windows 95/98. Where should I look to modify my configuration files? Are there any docs on conversion issues from the version that was stable with slink? If all you did was upgrade samba, then the problem might be with the kernel version. I had a similar problem with 2.0.36 kernel. I upgraded to 2.2.10 and things worked right. The problem was that samba could not become the connected user. Thanks, Doug -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null jim
RE: samba: anyone else get Can't become connected user! with potato version 2.0.4b-3 kernel 2.0.34?
Yes. It happened to me on Wed. I'm using 2.0.36. I figured it was a blunder and would be replaced within a day or two. The version just before this one worked fine. jim -- From: Jens B. Jorgensen[SMTP:[EMAIL PROTECTED] Sent: Friday, July 02, 1999 1:32 PM To:Debian Users Cc:The recipient's address is unknown. Subject: samba: anyone else get Can't become connected user! with potato version 2.0.4b-3 kernel 2.0.34? I upgraded a box to potato and now samba doesn't work. I've looked in the samba archives and the postings I found suggest that this is because the newer versions of samba use a setresuid call (or don't) and get a bad return value (http://us1.samba.org/listproc/samba-ntdom/1639.html). One user says that upgrading the kernel fixed the problem. Well, I'm not ready to upgrade my kernel. So does anyone else seen this? -- Jens B. Jorgensen [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Banner page (job)
If it is *after* the job it is probably the printer network interface and not linux. I had a similar banner from a laserjet printer with an hp network interface in it. The fix is to telnet to the printer (yes, you can do that) and set the banner feature to off. There is a simple help screen. I can't remember the command right off hand. If you don't have an hp interface then I don't know what it is... jim -- From: Rudy Broersma[SMTP:[EMAIL PROTECTED] Sent: Tuesday, June 29, 1999 1:41 PM To:debian-user@lists.debian.org Cc:The recipient's address is unknown. Subject: Banner page (job) Hi, I have a couple printers here, (all the same problem). The problem is that linux (rh 5.2) 'adds' some sort of banner page after the print job. Which tells me who send the job, etc, etc. (about 4 lines) Now, I HATE this, and I want to turn it off..And that's the hard part. You see, I got this book about linux, they say to add :sh: and :sf:/ (something like that, can't remember exactly) in my 'printcap' file. Well, I did that, but I still got the same problem. Any ideas? Thanks in advance, Rudy Broersma -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: kill the child process
check out the man page for the kill system call. It's in section 2. You should have the pid since you started the child... jim -- From: Shao Zhang[SMTP:[EMAIL PROTECTED] Sent: Tuesday, June 29, 1999 1:12 AM To:Debian Mail List Cc:The recipient's address is unknown. Subject: kill the child process Hi, sorry for this none-debian specific question. In my C program, I have created a child process to do some timeout stuff in case something goes wrong. But when I exit the main program, how do I kill this child process since I no longer need it?? I have checked the man page for wait... but is there anyway to instantly kill this child process?? Thanks Shao. -- Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _ -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
egcs problem
from gcc -v gcc version egcs-2.91.66 Debian GNU/Linux (egcs-1.1.2 release) toupper and tolower throw warnings (or not) depending on optimization. Compiling the following test program with: cc -Wall -ansi -pedantic -c junk.c will not give any errors. However, adding -O causes ansi warnings: cc -O -Wall -ansi -pedantic -c junk.c I expect to find these things in my code but not the system. It's not terribly important but it is irritating. I can turn off -ansi and -pedantic and it goes away but I loose the close checks. Is this a known problem? jim test prog... /* * test toupper and tolower with -ansi, et.al. */ #define _POSIX_SOURCE 1 #include ctype.h int main (void) { char c[] = abc; *c = toupper (*c); *c = tolower (*c); return 0; }
xserver host id ?? (del / backspace problems)
I am having backspace/del problems with xterm. Things work out right on the debian server if erase = del. Things work out right on exceed with erase = backspace. What I am trying to do is put some commands in my .profile (or .bash_profile, or .bashrc) to set the erase char properly. So far, I can use the DISPLAY env var to pick the linux hosts. I am looking for a better way to do it. Does anyone know of a way to return information from the xserver to xterm so that I can tell if it is a linux system? Alternately, is there a way to tell if I am using exceed from the xterm? There is a vendor string in the exceed protocol configuration but I don't know how to access it. I am sure that it can be done from a c prog. I just don't know quite where to start looking... tia jim
RE: cdrom - no response
Try putting append=hdc=cdrom in /etc/lilo.conf and run lilo. I had problems with 2.0.33 and later 2.0.3x kernels thinking my cdrom was an atapi floppy. jim -- From: [EMAIL PROTECTED]:[EMAIL PROTECTED] Sent: Thursday, April 15, 1999 8:09 AM To:debian-user@lists.debian.org Cc:The recipient's address is unknown. Subject: cdrom - no response Hi all, I normally installed debian (hamm) from cdrom. Everything went ok. But after reboot linux stopped discovering cdrom (/dev/hdc) The message (while booting) is: hdc: no response (status = 0xd0) What happen ? During install linux could use cdrom and after that it couldn't ? 'isofs' filesystem is compiled into kernel and cdrom module is loading automaticly. przemol -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: cpu used too much
zombie processes are the remains of a process that exited. The reason they hang around is that the parent process didn't do a wait on them. As soon as the parent process exits, the zombie should be inherited by init and init will clean them up. Zombie's don't use any cpu and they don't use any memory. The only thing left is the entry in the process table. They don't hurt you except if you fill up the process table with them (in which case you start seeing cannot fork errors). I suppose there could be circumstances where you would expect zombies but it is usually considered a bug in the parent process. jim -- From: D'jinnie[SMTP:[EMAIL PROTECTED] Sent: Thursday, March 04, 1999 9:35 PM To:Debian User List Cc:The recipient's address is unknown. Subject: Re: cpu used too much speaking of things going into infinite loops and eating up CPU, is there any way to get rid of zombie processes? Good ol' kill -9 doesn't cut it...I don't want to reboot just to get rid of them :( --- The good thing about standards is that there are so many to choose from. -- Andrew S. Tanenbaum D'jinnie/Jinn, encountered on IRC and select MU**. ([EMAIL PROTECTED]) finger [EMAIL PROTECTED] for PGP public key -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: file creation dates and SAMBA
It does that because that's the way windows works. The file creation times are kept on copy. Samba probably doesn't do anything. The copy program (xcopy, copy, explorer, etc.) probably sets the timestamp at the end of the copy. jim -- From: Pezo[SMTP:[EMAIL PROTECTED] Sent: Friday, March 05, 1999 1:37 PM To:debian-user@lists.debian.org Cc:The recipient's address is unknown. Subject: file creation dates and SAMBA Problem occurs when somebody copies files from a Windooze-machine to a filesystem which resides on a Linux box (debian-alpha), SAMBA writes the file creation date to be the date the file was originally created, not when it was copied. I hope somebody would know why this is, I don't... Another problem with alpha-Linux, when I create a file from other Linux macihe through NFS, the files on alpha are owned by nobody.nogroup. This is a 'feature' of alpha-macine I think, but is there a way to get round this? Juha -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Which Kernal supports over 6.0 GB HD
Just a guess. I think it sees the whole thing. Disk drive makers sometimes use 1000bytes as 1k, whereas, most folks use 1024. The disk folks think 1,000,000,000 bytes is 1G. Others think 1,073,741,824 bytes is 1G. 6 x 1G = 6,442,459,944 bytes. Which 6.4G if you use the 1000 for 1k base. It depends on which def of 1k you use. I suspect the linux utilities use 1024=1k. Read the fine print to see what the drive manufacturer uses for 1k. jim -- From: Person, Roderick[SMTP:[EMAIL PROTECTED] Sent: Tuesday, February 16, 1999 10:28 AM To:'debian-user@lists.debian.org' Cc:The recipient's address is unknown. Subject: Which Kernal supports over 6.0 GB HD I just bought a 6.4GB but Linux only reads it as 6.0GB, which Kernal do I need to get the full access Thanks. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Mouse again!
If you are using old hardware you might have a pci problem. I have an old gateway p4d-66. I can't leave any empty slots between cards and have things work right. In my case, it's an advansys pci scsi card. If there is an empty slot between it and my video card (in the first slot) then it will not work. It gets detected ok but it won't find any devices on the scsi bus. Even the scsi bios appears to work but can't actually see any devices on the bus. Put the card up next to the video card and things work just fine. jim -- From: Jose L. Gomez Dans[SMTP:[EMAIL PROTECTED] Reply To: [EMAIL PROTECTED] Sent: Tuesday, February 02, 1999 9:48 AM To:debian-user@lists.debian.org Cc:The recipient's address is unknown. Subject: Re: Mouse again! Ok, this does not sound at all like an irq conflict, but just to make sure do cat /proc/pci to get the data on S3 card of yours. More specifically, it will tell you hte irq it has, which can not be obtained from cat /proc/interrupts lspci gives that the card is on IRQ 10. This is also what the boot up message suggests. So, it definitively isn't on irq 4 You sure that the mouse is set to irq 4? Try setserial -g /dev/ttyS0 to get the data on mouse, or where it should be. It is indeed irq 4. Since with my old VGA card, the mouse works great, and it works fine under Windows with the new card, I am at a loss here. My BIOS settings have a com1 at 0x3f8, irq 4, and a non-PnP OS, automatic IRQ assignation and resetting enabled. It's one of this Award PnP BIOS's you seem to get everywhere these days. Try changing it to pnp OS? It should stil boot fine. I've tried, but no changes. Yesterday, I got hold of a matrox millenium gfx card, and swapped my S3 ViRGE for it. The problem stays with the new card, and the card doesn't work properly. What is the problem with new card? It's not mine :) and it has some trouble with the monitors we have around here. It's fairly old, and that probably explains it. Basically, I can't use it as it's not mine :) I'd be *REALLY* grateful if anyonce could send me some information (or to the list), as I can't use either gpm or X, and I need to get to X to finish some work The only thing I could blame it on is bad hardwarebut which one, though. But lets see what htose cat's turn out. As I said, I don't know what might be wrong with this card. At present, I restored my old card, and I'm using X windows to reply to your message. Nothing at all has changed, and everything is working fine. I was wondering if the motherboard might be to blame. Basically, in old motherboards, you needed some hardware on the first PCI slot. Since the card is too big, I can only place it on the last slot. I placed the sound card (which I'm not using or anything near that), and the problem persists. I'll try to use another gfx card that I know works well... And I know that some S3 had problems with ttyS2 and stuff like that, but not with ttyS0. Moreover, it runs flawlessly from Windows :-? Cheers! Jose -- Jose L Gomez Dans PhD student Radar Communications Group Department of Electronic Engineering University of Sheffield UK -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: ATAPI CDROM problem (NEC-260)
Starting sometime around 2.0.33 kernel, I have had to put append=hdc=cdrom in lilo.conf. My home system has both an internal zip and a cdrom. I have to use the append line whether there is a zip drive present or not. It just seems to get the cdrom wrong. Just give it a hint in lilo.conf and things will be ok. My zip looks like a hard disk. I don't know if it is an ide floppy or not. I believe the imation(sp?) 120mb superdisk is an ide floppy. jim -- From: Kent West[SMTP:[EMAIL PROTECTED] Sent: Tuesday, January 19, 1999 10:40 AM To:[EMAIL PROTECTED]; debian-user@lists.debian.org Cc:The recipient's address is unknown. Subject: Re: ATAPI CDROM problem (NEC-260) At 12:04 AM 1/19/1999 -0800, Terry Hancock wrote: Apparently the OS is making an incorrect assumption about the identity of the device and then failing because of it. (Ever heard of an IDE floppy? I've certainly never seen one). Anyway, after booting, there is no /dev/hdb device to mount. Kenneth Sharf hopefully provided the solution (as I have none), but I did want to say that I *think* (and don't quote me on this) that an internal zip drive is considered an IDE floppy. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
RE: Advansys SCSI Iomega Jaz drives
I have one of those advansys controllers sold by iomega. I only have an external zip on it so this may be off base. Try using ctrl-A during boot to go into the board bios setup. Then look at the termination. It should be under adaptor setup (I think). It's the first option. If you have both external and internal devices, the controller should not be terminated since it is in the middle. This may or may not be your problem. Let me know what you find... jim -- From: [EMAIL PROTECTED]:[EMAIL PROTECTED] Sent: Tuesday, December 22, 1998 2:12 PM To:debian-user@lists.debian.org Cc:The recipient's address is unknown. Subject: Advansys SCSI Iomega Jaz drives I am trying to install Debian on a 2 GB Jaz disk but when the rescue disk looks for my SCSI devices it does not find my Jaz drive. It has no problem identifying both of my SCSI CD-ROM's (a player and a re-writable) and my IBM SCSI hard drive. My Jaz drive is an external drive connected to the external SCSI port on ID 4. Does anyone have any suggestions on how I can get this to work? Tom Persons -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
zip disk eject (mzip)
What's the trick to be able to use mzip as a user other than root? I have tried to set the suid and sgid bits as mentioned in the docs. That didn't work. I am using the version in slink on an up to date slink system. tia jim