apt-get errors
Hi, I can't seem to upgrade one of my machines. When running apt-get upgrade, I get the following error. Can't seem to get past it, so am appealing to a higher order for help. Preconfiguring packages ... (Reading database ... dpkg: error processing /var/cache/apt/archives/gzip_1.3.2-3woody1_i386.deb (--unpack): files list file for package `at' contains empty filename Errors were encountered while processing: /var/cache/apt/archives/gzip_1.3.2-3woody1_i386.deb Processing was halted because there were too many errors. E: Sub-process /usr/bin/dpkg returned an error code (1) I even tried to download and istall at with this command, dpkg -i at_3.1.8-11_i386.deb, but get this error back also; (Reading database ... dpkg: error processing at_3.1.8-11_i386.deb (--install): files list file for package `at' contains empty filename Errors were encountered while processing: at_3.1.8-11_i386.deb Processing was halted because there were too many errors. I don't get it, I've tried purging things and restarting with apt-get update apt-get upgrade, but I always run into the same road block. Patrick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
security updates
Hey, The security updates site is listed as pnly being a http type address. I have to use ftp from work as there is no way to tell it how to get thru the proxy. Is there an alternate site to goto that supports ftp? Patrick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
keyboard
Hi, I am looking for the C syntax to check to see if a key was pressed. This would be non-blocking, as there are other things happening in the program, besides waiting on user input. Any help or pointers is appreciated. Patrick
Re: Modem connection speed
Hi all, After running into this same problem, and asking on this list for answers, I think I may be able to give others some help now. First, what speed are you connecting at? As reported in another post or two, it is easy to make your system save the modem connect speed in its own file. Mine saves each connection speed to a file called /etc/ppp/speed. To do this, using a debian 2.0 system, go to your /etc/chatscripts directory and modify the file for your provider. It will be named, what ever you named it when you ran the pppconfig program. In this example, mine is called cp1. Add REPORT CONNECT, without the quotes, as the first line in the file. Change the ATZ line to ATW2. While this is not the best, because it needs a reset somewhere, it will do for now. Later we will change the line again. My cp1 file now looks like this; REPORT CONNECT ABORT BUSY ABORT NO CARRIER ABORT VOICE ABORT NO DIALTONE ABORT NO ANSWER ATW2 OK ATDT1234567 CONNECT \d\c Now change to the /etc/ppp/peers directory and edit the file, again named as above when you created it. In this file, find the line starting with connect and to the end, but inside the quote mark, add -r /etc/ppp/speed. My new line looks like this; connect /usr/sbin/chat -v -f /etc/chatscript/cp1 -r /etc/ppp/speed #pppconfig_connect Now each time you connect to your ISP with the pon program, i.e. pon xxx, you will be able to check your speed by reading the end of the /etc/ppp/speed file. Next, lets fine tune our modem init strings. I asked, on this list and recv'd one reply, which suggested that I use a program called wvdial. This program can be gotten in deb format from http://www.worldvisions.ca/wvdial. When installed it will run the wvdialconf program. This program will query your modem for the best settings. Not sure how it does it, but it came up with a long string of parameters to be passed to my modem after init. I didn't write down that long string, but it is also written to a file called /etc/wvdial.conf. What you need is the Init2 string. In order to use it, you will need to modify your init file which is stored in the /etc/chatscripts/cp1. My new one now looks like this; REPORT CONNECT ABORT BUSY ABORT NO CARRIER ABORT VOICE ABORT NO DIALTONE ABORT NO ANSWER ATZ OK ATQ0 OK ATV1 OK ATE1 OK ATS0=0 OK ATC1 OK ATD2 OK ATS11=55 OK AT+FCLASS=0 OK ATW2 OK ATDT1234567 CONNECT \d\c This much longer file resets the modem and then sends each string to the modem, waiting for an OK each time. Now my modem connects and reports a connect speed much faster than I ever got before. I can also see an improvement in download speed when using netscape. Hopefully, this will help many of you tune up your system for a better connection. Any questions, feel free to contact me. Patrick [EMAIL PROTECTED]
Modem settings
Hi, Seems to me that under WIN95, the dial-up program sent a string to the modem to make it talk at its fullest 56k rate. Under ppp, only atz is sent to the modem before the dial string. While I can understand, that different modems would use a different init string, somewhere there must be a list of common strings as used by different manufacturers. I am especially interested in the Hayes 56k internal card. Best I ever get is 31200, although I have seen better when the card was in a WIN95 station. Nope, don't know where the book is and a look around the Hayes web site didn't really show anything up. Anyone got an idea on teh right init string? Patrick
Re: dselect taking a _looong_ time
Erik Forsberg wrote: When I use dselect, with the debian distribution mounted from a local nfs mirror, it really takes quite a horrible time telling me it's skipping deselected packages. I'm not so interested ! :) I think I've read somewhere there is a way to get dselect to just install the packages I've asked for, and quit. Without taking half a year listing all availiable packages. Am I wrong ? Where do I RTFM ? I don't know where you may have read it, but I got tired of watching the endless stream of messages too. So I now have all my computers use ftp. Here are my general notes on the subject; 1. mount the cd as /cdrom, i.e. mount /dev/cdrom /cdrom 2. set dslect to use ftp 3. use passive mode 4. username is some name other than root 5. password for that user 6. debian directory is /cdrom 7. ftp proxy is no 8. distributions is stable ( thats all thats on my cd ) I think thats all I did to get it to work. I also do that on other machines instead of NFS or switching cd's or anything. Try it, I'll bet you like it. I do :) Can't seem to get apt to work the same way though! Patrick
Linux and X-10 Controllers
Hi all, I recentrly completed my own version of a program that will send X-10 commands to a CM11A computer interface. Unlike others, mine is small and only sends a command. For now I am using mine with a simple web page interface. I haven't created a .deb package yet, but if anyone is interested, I will go ahead and send you the source or a libc5 binary. Patrick [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: pon - When am I connected?
I just start a ping to a known good ip number and wait until it starts getting the pings back. Once they come back I know the ppp conection is up and alive. Patrick -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Cc: debian-user@lists.debian.org debian-user@lists.debian.org Date: Friday, May 29, 1998 7:38 AM Subject: pon - When am I connected? ifconfig will show a connection to ppp0 when the connection is established. You could write a script that runs ifconfig every second or so using grep to look for 'ppp0' and report when the link is up, then stop itself. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
EtherNet startup parameter
Hi, Add a line similar to this to your lilo.conf file and then rerun your lilo command. Use the settings appropriate for your system. append=ether=12,0x300,eth0 My system uses a Ne2000 set at INT 12 and IO of 300 Patrick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]