Re: Evolution Calendar Notifications - switch off
On Sep 8, 2014 11:08 AM, Alan Chandler a...@chandlerfamily.org.uk wrote: I run Debian Stable, and have done ever since the it was released (ie since May 2013). I also run Gnome 3 as the desktop since that time. In the past couple of months, when I start the system each day (I power off at night), something - which appears to be related to evolution prompts me for the password to my google calendar account. It does it twice, The password is already filled in. It didn't used to do it. My mail client is icedove, so I really don't need evolution getting in on the act. I don't mind if it wants to notify me of upcoming events, but I don't need it to. So how can I switch off these prompts on start I also periodically get these prompts. I am on Jessie/Testing. Since I use keepassx to store my passwords, I am never able to fill in the prompt because no other applications are usable while the prompt is open (I find this to be a major design flaw). As I can't predict when the password prompt will appear, I have never filled it in. Evolution already has my account info through Gnome Online Accounts, and should not need it again. I would be quite interested in finding out how to make these prompts stop (and in fixing the gnome keyring password prompt issue in gnome shell). Zach
Email Address
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What does it take to get an @debian.org email address? Zach -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJQBajuAAoJEFmqxihjvTUgq68H/2o3fxboOVoXozvpymcTtGIw cOhN+KtEEDBAPIwLGA4aP/YsVni6SVXTagdR8p4TLSQtDFKRu19KeWWRt9hzHpJh yyK/oDXfvzLXi+rqXBr4hX+SZsBgTU1o30Uds0kU6eMAguWEIleY4TwuI3ilhywY qjDQXgV0g3k+oGMvLaNXft6wTxQ+RF/zHqYtW6//vyCnQ4Q389Q4RRU9rMB18uFw cylpD6ASfmgFYlI67rD/WKVQdcGKyeoZDCEN/lGu3UBRH+XFN6qwFn8czUjRMcTF NLxNGhXpk8X9lFPGdRHW7QSc+c9eYE8L4xT2KdrMJyfXyYiBQh/uwy3170E+ms8= =hKuq -END PGP SIGNATURE- 0x63BD3520.asc Description: application/pgp-keys 0x63BD3520.asc.sig Description: PGP signature
Re: Re: What no Quanta in Squeeze!?
Hello, I was also very disappointed that quanta disappeared in squeeze. As an alternative to setting quanta on hold I tried the ubuntu maverick packages. They managed to include Quanta-KDE3 in a KDE4 System. The packages needed are kfilereplace-kde3_3.5.10-0ubuntu4_i386.deb klinkstatus-kde3_3.5.10-0ubuntu4_i386.deb kommander-kde3_3.5.10-0ubuntu4_i386.deb quanta_3.5.10-0ubuntu4_i386.deb quanta-data_3.5.10-0ubuntu4_all.deb As far as I can see, quanta works well. Joachim Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d762aa7.8090...@ceos-gmbh.de
Re: how to enable sound
Ah this is a mailing list for Ubuntu Documentation...not debian troubleshooting. Cheers! Zach K On Oct 9, 2010, at 9:46 AM, abdelkader belahcene abelahc...@gmail.com wrote: Hi, I am using squeeze I tried to enable the login sound, cnaberra is installed, It is done (on the same machine !!) in ubuntu without problem, but not on debian, I ot this error : canberra-gtk-play -f t/usr/share/sounds/sabily/desktop-login.ogg Failed to play sound: Sound disabled I can hear the sound, and play different codecs ( avi, mp3 ) I tried to activate ( I suppose it disable, although I can paly sound ) the sound from theme in gnome-preferences-sound, but it is grayed no possiblity to do it!!! thanks for help -- ubuntu-doc mailing list ubuntu-...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-doc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/0e5f8b5a-a256-4855-9928-ee136ba5a...@gmail.com
Re: How to keep debian current??
On 05/15/2010 12:48 AM, RyanJB wrote: Hi, With the latest apps keep pouring in, is there any way to keep debian in the cutting edge? I mean, how to keep debian as updated as, say, ubuntu or even sidux?? You know, latest iceweasel, openoffice, gnome, etc. Maybe using unstable or experimental repo? I'm sure there's many ways to do this, but I just don't know.. I'm new to debian :( Thanks a lot, RJB Run sidux. It is Debian unstable with some people doing some extra work to keep it a bit more stable for you. Use the smxi script which helps keep things stable also (and simplifies installation of some software to boot). I love sidux on the desktop (and vanilla Debian on my servers). -- If the master dies and the disciple grieves, the lives of both have been wasted. Saturday May 15, 2010 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4beeb994.7000...@zachfamily.org
setting up static ip classically?
Can someone please tell me how I can setup my new DSL from Speakeasy (Nidhog - a Verizon reseller - no longer does residential DSL so i needed a new ISP) using just static IP (no DHCP) and entering the info manually? Service should be on in 3 days (still waiting for modem and self-install kit to arrive) and I just received this email: This is the technical information you will need to set up your computer when your DSL circuit is installed. Your ip address(es) will be: 66.93.172.48 Your gateway will be: (Router Address on Macintosh) 66.93.172.1 Your DNS servers will be (in order): 66.92.159.2 216.231.41.2 Your subnet mask is: 255.255.255.0 So what files do I enter this info into and what commands will I type to get the service working? I am running Debian lenny. Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
help: can no longer ssh into my vps server!
. No CIDSupplement specified for ZenKai-Medium, defaulting to 0. Setting up uswsusp (0.7-1.2) ... update-initramfs: deferring update (trigger activated) Setting up vbetool (1.1-2) ... Setting up xfonts-intl-chinese (1.2.1-6) ... Setting up zh-autoconvert (0.3.16-3) ... Setting up gamin (0.1.9-2) ... Setting up libgamin0 (0.1.9-2) ... Setting up pcmanfm (0.5-3) ... Processing triggers for menu ... Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.26-1-686 debian:~# dpkg-reconfigure locales Generating locales (this might take a while)... en_US.UTF-8... done de_DE.ISO-8859-1... done de_DE.UTF-8... done en_US.ISO-8859-1... done en_US.ISO-8859-15... done fr_FR.ISO-8859-1... done fr_FR.UTF-8... done ru_RU.ISO-8859-5... done ru_RU.CP1251... done ru_RU.KOI8-R... done ru_RU.UTF-8... done zh_CN.GB2312... done zh_CN.GB18030... done zh_CN.GBK... done zh_CN.UTF-8... done zh_HK.BIG5-HKSCS... done zh_HK.UTF-8... done zh_TW.BIG5... done zh_TW.EUC-TW... done zh_TW.UTF-8... done Generation complete. Next I rebooted it: debian:~# shutdown -r now Broadcast message from r...@debian (pts/0) (Wed Mar 11 09:21:36 2009): The system is going down for reboot NOW! Then I waited 20 minutes and now when I try to ssh in it times out: ubu...@ubuntu:~$ ssh -v r...@74.124.206.171 OpenSSH_4.2p1 Debian-7ubuntu3, OpenSSL 0.9.8a 11 Oct 2005 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to 74.124.206.171 [74.124.206.171] port 22. debug1: connect to address 74.124.206.171 port 22: Connection timed out ssh: connect to host 74.124.206.171 port 22: Connection timed out Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
setting up firefox to use usbdisk java?
I need to access my VPS's VNC over the web but when I try to connect it says I need a plugin and prompts me to manually install a Java Runtime Environment (JRE). I only have like 10MB of space on the ramdisk I run (I use LiveCD since my hard disk controller died and my BIOS is not USB-aware) so I downloaded jre-6u12-linux-i586.bin and unpaced it on my usbdisk: $ ls /media/usbdisk/home/sdg/java/jre1.6.0_12 binjavaws LICENSE plugin THIRDPARTYLICENSEREADME.txt COPYRIGHT lib man README Welcome.html The firefox running off my LiveCD is 1.5.0.3 which stores its files in /root/.mozilla/firefox in the ramdisk partition. Does anyone know exactly how I can tell firefox to use the Java files and plugins in /media/usbdisk/home/sdg/java/jre1.6.0_12 ? Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
setting up vhost for external DNS?
I wish to take over a wiki so I am setting it up on my machine however it will use the DNS hosted by someone else so they will setup a CNAME record pointing wiki.foo.org to my machine's ip. I have no control over foo.org. So how exactly should I set up the name based vhost in apache or should I use ip based vhost and how would that look? My site hosted on the VPS is www.jesujuva.org but I don't want that to appear in the users' browsers, if they enter http://wiki.foo.org it should take them to the wiki hostesd on my machine. I was going to us something like this for name-based vhost: /etc/apache2/sites-available/wiki VirtualHost *:80 ServerName wiki.foo.org ServerAlias wiki.foo.org DocumentRoot /var/www/wiki ErrorLog /var/log/apache2/error.log TransferLog /var/log/apache2/access.log /VirtualHost Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
adding secure accounts for remote users?
I want to give some friends accounts on my server so that they can 1) ssh in to the sever 2) have web space on the apache2 webserver such as $HOME/public_html so they would be http://www.server.org/~user How exactly can I setup these 2 things? Also how can I restrict the users to *only* their $HOME directory so they cannot cd or ls any other directories or files on my filesystem? Running Debian lenny. Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: adding secure accounts for remote users?
Shams and Eric, Thanks for the replies, I decided to go with just SFTP for now. I suppose they could also use SCP? Regards, Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: serving wrong index.html ? SOLVED
I was able to get my name based virtual hosts everything working correctly by making 2 files: /etc/apache2/sites-available/000_default (my defaults) /etc/apache2/sites-available/001_default (my vhosts) Now it works as I expected :) http://www.jesujuva.org or http://jesujuva.org serves /var/www/index.html and my vhosts work such as http://bach.jesujuva.org serves /var/www/bach/index.html The only problem is from adding to the top of my vhosts file the statement: NameVirtualHost *:80 I now get a warning: [Fri Feb 13 08:04:26 2009] [warn] NameVirtualHost *:80 has no VirtualHosts [Fri Feb 13 08:04:26 2009] [warn] NameVirtualHost *:80 has no VirtualHosts Thanks to everyone for their assistance in this issue. Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
serving wrong index.html ?
Hi, I added name based vhosts to my Apache2 install on Debian lenny, but now when I go to my site: http://www.jesujuva.org or http://jesujuva.org instead of serving up /var/www/index.html it serves /var/www/bach/index.html ! Here are my files: debian:/etc/apache2# ls sites-available/ bach darcs netrek wiki wp debian:/etc/apache2# ls sites-enabled/ bach darcs netrek wiki wp debian:/etc/apache2# cat sites-enabled/bach VirtualHost *:80 ServerName bach.jesujuva.org DocumentRoot /var/www/bach /VirtualHost Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
locale broken
running testing, how can i fix my locale? http://pastebin.com/f453bb540 zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
apache2 vhost error
I'm trying to add a name-based virtual host in apache2 on my debian etch system. Here is my vhost config: /etc/apache2/sites-available/darcs VirtualHost *:80 ServerName darcs.jesujuva.org ServerAlias darcs.jesujuva.org DocumentRoot /var/www/darcs ErrorLog /var/log/apache2/error.log TransferLog /var/log/apache2/access.log /VirtualHost I then created a link in /etc/apache2/sites-enabled: ln -s /etc/apache2/sites-available/darcs /etc/apache2/sites-enabled/darcs And I restarted apache and it complains: [Tue Feb 10 11:56:03 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results. I used this *exact* same setup on my old VPS host with apache2 and it worked! How can I fix this? I even tried removing the *:80 but then it complains: VirtualHost directive requires additional arguments failed I don't see why it says I am mixing ports! I am running: ii apache2-mpm-prefork 2.2.3-4+etch6 Traditional model for Apache HTTPD 2.1 Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: problem with CUPS
On Jan 2, 4:30 pm, Joel Roth jo...@pobox.com wrote: Hi Zach, In my first search I found this link: http://www.laen.org/2005/11/15/cups-request-entity-too-large/ If you get this CUPS error, it may mean that you don't have write permission to your CUPS spool directory (/var/spool/cups, by default). For my properly running cups installation I have these permissions: # ls -ld /var/spool/cups /var/spool/cups/tmp drwx--x--- 3 root lp 4096 Jan 1 13:20 /var/spool/cups drwxrwx--T 2 root lp 4096 Dec 28 11:06 /var/spool/cups/tmp It may be worth checking again. With some trial-and-error, I find I can set the permissions properly thus: # chmod 710 /var/spool/cups # chmod 1770 /var/spool/cups/tmp If the ownership is not corret, use chown: # chown root.lp /var/spool/cups # chown root.lp /var/spool/cup/tmp Good luck (and successful printing!) Printing is a hard problem. CUPS is generally easy to administer. I used to use lprng and one of those filters. Sometimes you have to jiggle things a bit to get them to settle down. :-) Hi Joel, I checked and cupsys is a member of group lp. I now have: drwx--x--- 5 root lp 60 2008-12-31 18:09 /var/spool/cups drwxrwx--T 4 root lp 40 2006-05-17 08:46 /var/spool/cups/tmp However it seems since cupsys is no longer the owner of the directories it will not load the printing database when gnome-cups- manager tries to read it. And I tried even running lpadmin as root but I get that same stupid Request entity is too large error message that is torturing me lol. Seems cups runs on Ubuntu as user cupsys. I also tried running gnome-cups-manager and lpadmin with these permissions: drwx--x--- 5 cupsys lp 60 2008-12-31 18:09 /var/spool/cups drwxrwx--T 4 cupsys lp 40 2006-05-17 08:46 /var/spool/cups/tmp But I get the same errors. This is sure vexing. Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: problem with CUPS
On Jan 2, 5:10 pm, Douglas A. Tutty dtu...@vianet.ca wrote: The drivers are likely ppd files for use of cups-type stuff. The only cups filter in foomatic-printfilters. Note that you can use foomatic with lpd or lprng. If your problem is the spooling and not the filtering, that may be the way to go. At least with raw lpd, you should be able to print plain text to the printer to verify that spooling works, then work on getting proper filtering. Hi Doug, Yeah it looks like my next step may be to try a non-cups solution. Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: problem with CUPS
On Jan 1, 9:10 am, Douglas A. Tutty dtu...@vianet.ca wrote: On Thu, Jan 01, 2009 at 05:20:20AM -0800, Zach wrote: On Dec 31 2008, 7:10 pm, Bob McGowan bob_mcgo...@symantec.com wrote: I tried web interface as root and normal user, I tried running gnome- cups-manager, I even tried running lpadmin. It either says in the cups log file I am not authorized or I get that weird entity too large message. Ugh this is maddening. Is there a non-cups method to get printing setup I could try? Non-cups means using a different print spooler. e.g. lpd or LPRng. The question is setting up the print filter. You can try apsfilter. Thanks Doug since I am desperate I will try that. I wish I could understand why I keep getting these baffling errors in cups. I have the correct drivers so it *should* work. Sigh. Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
update on printing problem
I have exhausted every solution I could find :( As a last resort I tried running lpadmin to set the printer manually and I get that stupid ambiguous error message again, same one I got in the cups web interface. Does anyone know what this error message means and how I can get my printer (HP Deskjet 960C hooked up to parallel port) setup using lpadmin: z...@hal9000:~$ sudo lpadmin -h localhost -p HP -D printer -u allow:zu22 -P /rofs/usr/share/cups/model/hpijs/HP/HP-DeskJet_960C-hpijs.ppd lpadmin: Request Entity Too Large Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: problem with CUPS
On Dec 31 2008, 7:40 pm, Ken Irving fn...@uaf.edu wrote: It should be sufficient to be a member of group lpadmin; there's no need to be root to manage CUPS, in my experience. I verified my normal user is in the group lpadmin but it still doesn't work. Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: problem with CUPS
On Dec 31 2008, 7:10 pm, Bob McGowan bob_mcgo...@symantec.com wrote: snip Not sure what that would mean, so I can't provide any help there. But, when I run the browser based GUI, I do it as me, not root. Then, when I do something that requires root permission to perform, the GUI pops up a logine box, I enter 'root' and the root password. Could be it's not working for you because the root login permissions let you run things, but the permissions aren't correctly propagated to the Apache server side? Hi Bob, I tried web interface as root and normal user, I tried running gnome- cups-manager, I even tried running lpadmin. It either says in the cups log file I am not authorized or I get that weird entity too large message. Ugh this is maddening. Is there a non-cups method to get printing setup I could try? Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: update on printing problem
On Thu, Jan 1, 2009 at 9:20 AM, Javier Barroso javibarr...@gmail.com wrote: Hi, Hi, Which solutions have you tried ? I tried gnome-cups-manager which calls gnome-cups-add, I tried lpadmin, I tried the cups web interface. I suppose this is a silly question, but .. has you got free space in your /var/spool/cups partition ? Yes. I even posted a question on cups.org forum asking what that error means but no one has replied, I asked also in #debian on freenode and no one knows. Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: update on printing problem
On Jan 1, 3:10 pm, andmalc andm...@gmail.com wrote: Did you see/try the suggestion I made in the original thread? Install the printer by running 'hp-setup' as root. Choose the option for a parallel connection. There is no hp-setup installed. There is an hp-toolbox but that requires python-qt3 which needs 20MB of disk space which I don't have so I can't try it. Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: update on printing problem
On Jan 1, 4:50 pm, Ken Irving fn...@uaf.edu wrote: On Thu, Jan 01, 2009 at 08:07:55AM -0500, Zach Uram wrote: I have exhausted every solution I could find :( As a last resort I tried running lpadmin to set the printer manually and I get that stupid ambiguous error message again, same one I got in the cups web interface. Does anyone know what this error message means and how I can get my printer (HP Deskjet 960C hooked up to parallel port) setup using lpadmin: z...@hal9000:~$ sudo lpadmin -h localhost -p HP -D printer -u allow:zu22 -P /rofs/usr/share/cups/model/hpijs/HP/HP-DeskJet_960C-hpijs.ppd lpadmin: Request Entity Too Large I haven't been following this thread, but just to toss out a few random thoughts... Googling that error message seems to indicate it's from the web server; adding CUPS to the google query gives some possible hints, e.g., ... CUPS - Request Entity Too Large. If you get this CUPS error, it may mean that you don't have write permission to your CUPS spool directory ... If you add your user to the lpadmin group it won't take effect until you log in again. In some cases running commands under sudo is not sufficient to give root privileges to some of the arguments. I don't know why that is, but suppose it's a matter of how/when the command line is parsed. In such cases it might work to become root and remove all doubt. Here's a look at my cups spool on a working system: k...@denali:~$ sudo ls -ld /var /var/spool /var/spool/cups /var/spool/cups/tmp drwxr-xr-x 14 root root 4096 2008-08-27 13:03 /var drwxr-xr-x 6 root root 4096 2008-12-05 14:36 /var/spool drwx--x--- 3 root lp 4096 2008-12-29 15:42 /var/spool/cups drwxrwx--T 2 root lp 4096 2008-08-29 14:12 /var/spool/cups/tmp Hi Ken, Here is the output on mine: drwxr-xr-x 10 root root 160 2009-01-01 02:35 /var drwxr-xr-x 6 root root 80 2009-01-01 02:30 /var/spool drwx--x--- 5 cupsys lp60 2008-12-31 18:09 /var/spool/cups drwxrwx--T 4 cupsys lp40 2006-05-17 08:46 /var/spool/cups/tmp Before I ran the lpadmin program I ran groups and verified my normal user was in the lpadmin group. I also tried running lpadmin as root and same error occurs. Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
problem with CUPS
I am using http://localhost:631/admin and click Add Printer and select HP960C and the hplip driver then when I apply it says: 413 Request Entity Too Large I am running firefox as root so I don't know why it is failing. I also tried running gnome-cups-manager as root which calls gnome-cups-add and it says: ** (gnome-cups-add:28853): WARNING **: IPP request failed with status 1280 I found this is /var/log/cups/error_log: E [31/Dec/2008:08:15:02 -0500] CUPS-Add-Modify-Printer: Unauthorized I ran as root this time (sudo) so I don't understand why it is saying I am unauthorized. And I found this in /var/log/cups/access_log: localhost - - [31/Dec/2008:08:14:18 -0500] POST / HTTP/1.1 200 1652 CUPS-Get-Devices - localhost - - [31/Dec/2008:08:14:26 -0500] POST / HTTP/1.1 200 652837 CUPS-Get-PPDs - localhost - - [31/Dec/2008:08:15:02 -0500] POST /admin/ HTTP/1.1 401 352 CUPS-Add-Modify-Printer successful-ok localhost - root [31/Dec/2008:08:15:02 -0500] POST /admin/ HTTP/1.1 200 352 CUPS-Add-Modify-Printer server-error-internal-error Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Printer setup not working
I hope it is ok to post this in here, the packages are the same in Debian. Here is what I've done to get my HP Deskjet 960c color inkjet printer working in Ubuntu 6.06 (Dapper Drake): Booted up, hooked my printer up to the parallel port and powered it on, added paper, printer's green light is on. I then went to System - Administration - Printing Clicked on New Printer and it ran gnome-cups-add and read the printer database Then the Add a Printer dialog box says: Step 1 of 3: Printer Connection Printer Type: local printer Use a detected printer: HP DESKJET_960C It has in Printer Port: (greyed out so I can't change it): hp:/par/DESKJET_960C?device=/dev/parport0 (HP DESKJET_960C) So it detected my correct printer. Then I went Forward to: Step 2 of 3: Printer Driver Manufacturer: HP Model: Deskjet 960C Driver: hpijs (recommended) - HPLIP 0.9.7 (Suggested) There is a green dot after this showing it is installed. Then I went Forward to: Step 3 of 3: Printer Information Name: Deskjet Description: HP-DESKJET Location: home So after I filled those in I clicked Apply. But when I go back to the Printers control panel I don't see any printer in there. It just says has the New Printer icon to create a new printer. It should have created the printer I setup. And when I try to print it said in the console: lpr: Error - no default destination available. So apparently it is not setting it up :-( I checked the log files and only thing I saw possibly relevant was in /var/log/syslog: Dec 31 01:18:29 ubuntu kernel: [4498844.439000] lp0: ECP mode Dec 31 01:18:30 ubuntu kernel: [4498844.757000] lp0: ECP mode Dec 31 01:18:33 ubuntu kernel: [4498847.541000] ppdev0: registered pardevice Dec 31 01:18:33 ubuntu kernel: [4498847.57] ppdev0: negotiated back to compatibility mode because user-space forgot Dec 31 01:18:33 ubuntu kernel: [4498847.57] ppdev0: unregistered pardevice Dec 31 01:18:36 ubuntu kernel: [4498851.283000] lp0: ECP mode I verified I have the correct drivers installed: ubu...@ubuntu:~$ dpkg -l|grep hplip ii hplip 0.9.7-4ubuntu1 HP Linux Printing and Imaging System (HPLIP) ii hplip-data 0.9.7-4ubuntu1 HP Linux Printing and Imaging - data files ii hplip-ppds 0.9.7-4ubuntu1 HP Linux Printing and Imaging - PPD files ubu...@ubuntu:~$ dpkg -l|grep hpijs ii foomatic-db-hpijs 1.5-20060318-1 linuxprinting.org printer support - database ii hpijs 2.1.7+0.9.7-4ubuntu1 HP Linux Printing and Imaging - gs IJS drive Is there a way I can manually force it to try and print using the drivers? It should work, I followed all the steps yet it never creates an entry for my printer :-( What is wrong? Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
VPS?
Can someone recommend a good, cheap VPS provider in the US? I am very unhappy with my current provider crissic.com. Every month there is anywhere from 1 to 4 total outages where I cannot access my vps. Currently it is some nebulous IP issue which prevents me from using ssh to access. Other times Hyper VM shows no memory or no disk space and the service is also unusable at those times. They use the Xen virtualization server. I would also appreciate any coupon codes for good deals. This place is cheap, $10 USD/month, but the service is terrible and the customer support even worse. I waited 20 minutes to speak in a web chat with a support person on Tues. and he told me it will be fixed in a couple hours well now it is 98 hours later and still cannot ssh into the vps! When I asked what he meant by IP issues he simply left the chat without answering me or even saying goodbye. How rude. Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Printer in Linux?
I got an HP Deskjet 960c printer for Christmas and would like to set it up in Debian testing, but I've never setup a printer in Linux before. What should I do? Zach -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
iptables: banning ip ranges?
How can I use iptables to: 1) ban a specific ip address 2) ban a specific subnet such as 128.2.0.xxx Also how could I un-ban them at a later date? Thanks, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
problem with apache log file and awstat
Running apache2 on Debian testing. I use awstat to generate statistics from my /var/log/apache2/access.log but logrotate keeps archiving it so I have /var/log/apache2/access.1.gz, /var/log/apache2/access.2.gz etc. How can I have awstat run once per month and generate the statistics based on *all* the log files? Zach -- J.S. Bach - Primus inter pares Soli Deo Gloria http://www.jesujuva.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
adding a web user?
I would like one of my friends to host some files on my apache webserver, but I only wish him the ability to upload files into the web directory, but don't want to run an FTP server since that is very risky. Any solution? Zach -- J.S. Bach - Primus inter pares Soli Deo Gloria http://www.jesujuva.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
iptables logs?
I am running Debian testing with 2.6.18 kernel and iptables. Does anyone know how I can have iptables log to a seperate file such as /var/log/iptables and I want them saved with logrotate. I want to try out some iptables log analysis programs. Also I am interested in seeing what rules different people run. I use this on my remote vps box: iptables -F -t nat; iptables -X -t nat; iptables -F -t mangle; iptables -X -t mangle; iptables -P INPUT ACCEPT; iptables -P OUTPUT ACCEPT And this on my local box: iptables -A INPUT -i eth0 -m state --state INVALID,NEW -j DROP Any thoughts on packet filtering vs stateful inspection? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Re: cgi-bin stopped working in apache ?! please help SOLVED
On Thu, Sep 11, 2008 at 5:19 AM, André Warnier [EMAIL PROTECTED] wrote: [...] I just felt like telling you the above because I have the impression that a misunderstanding of the above is the source of 90% of the problems encountered by people unfamiliar with Virtual Hosting in general. I hope it helps you. Thanks for the tip André! Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
apache2 in Debian - adding vhost - which file to edit?
I am trying to add a name based virtual host to apache2-mpm-prefork version 2.2.9-7 on Debian lenny/sid. First I read to edit /etc/apache2/httpd.conf but this file it seems is empty and not used in Debian. Then I read to edit /etc/apache2/apache2.conf but it seems that is also not the right place for adding it so then I found the file /etc/apache2/sites-enabled/000-default This is the correct file to edit? I was told to add my section to it such as: VirtualHost *:80 . /VirtualHost But there was alreay a long VirtualHost *:80 statement in there with many directives. It seems the way apache2 is set up it uses a virtual host for the regular host (/var/www on localhost). So is it ok to just add my VirtualHost *:80 my new stuff /VirtualHost after the first VirtualHost block already in there? I just did that and this is what i have now: VirtualHost *:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /var/www/ Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/ Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined Alias /doc/ /usr/share/doc/ Directory /usr/share/doc/ Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 /Directory /VirtualHost VirtualHost *:80 ServerName darcs.jesujuva.org ServerAlias jesujuva.org www.jesujuva.org darcs.jesujuva.org DocumentRoot /var/www/darcs /VirtualHost Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: apache2 in Debian - adding vhost - which file to edit? SOLVED
I just called it darcs in /etc/apache2/sites-available and in /etc/apache2/sites-enabled did: ln -s /etc/apache2/sites-available/darcs darcs Then I restarted apache2 and it works :-) Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
cgi-bin stopped working in apache ?! please help
This is really baffling because CGI was working last week and now when I try it again and it is not working. All I did was add a name based virtual host in /etc/apache2/sites-enabled/ and /etc/apache2/sites-available/ I am running apache2-mpm-prefork version 2.2.9-7 on Debian lenny/sid. /usr/lib/cgi-bin/ has darcs.cgi, darcsweb.cgi and awstats.pl Previously to access one of these I would do: http://www.jesujuva.org/cgi-bin/darcsweb.cgi But now when I do that I get this file not found error: 404 Not Found The requested URL /cgi-bin/darcsweb.cgi was not found on this server. Apache/2.2.9 (Debian) PHP/5.2.6-3 with Suhosin-Patch Server at www.jesujuva.org Port 80 It is clearly there so why is it saying not found? Argh this is so frustrating. /etc/apache2/sites-available/default has: ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory /etc/apach2/mods-enabled/cgi.load has: LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so ls shows this module exists: -rw-r--r-- 1 root root 20256 2008-08-08 13:39 /usr/lib/apache2/modules/mod_cgi.so /etc/apache2/mods-available/cgid.conf has: # Socket for cgid communication ScriptSock /var/run/apache2/cgisock /etc/apache2/conf.d/darcsweb.conf has: Alias /darcs /var/www/darcs Alias /darcsweb /usr/share/darcsweb Directory /usr/share/darcsweb AllowOverride None Options None Order allow,deny Allow from all RedirectMatch ^/darcsweb$ /cgi-bin/darcsweb.cgi /Directory I don't see why it worked last week and now it doesn't. I didn't upgrade apache2, I didn't edit any of the config files except adding a named based virtual host which I did by creating /etc/apache2/sites-available/darcs which has: VirtualHost *:80 ServerName darcs.jesujuva.org ServerAlias jesujuva.org www.jesujuva.org darcs.jesujuva.org DocumentRoot /var/www/darcs /VirtualHost And creating a symlink to that named darcs in /etc/apache2/sites-enabled So why is CGI not working and how can I fix it? I get the same 404 Not Found error if I try other programs in /usr/lib/cgi-bin such as darcs.cgi or awstats.pl Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cgi-bin stopped working in apache ?! please help SOLVED
On Tue, Sep 9, 2008 at 3:54 PM, André Warnier [EMAIL PROTECTED] wrote: Just a guess : 1) the new entry you have added to /etc/apache2/sites-available (and sites-enabled) is called e.g. darcs, which for some reason precedes default in the directory. 2) in the apache.conf, there is something like Include /etc/apache2/sites-enabled/* 3) so now, when Apache starts, it includes the configuration of your new Virtual Host *before* it includes the default Virtual Host. 4) as a result, the default virtual host is no longer default, but darcs, and nothing works anymore like before. (It is the new default because it is now the first defined virtual host in your setup) Check : rename /etc/apache2/sites-available/darcs to /etc/apache2/sites-available/xxx (and the same for sites-enabled), and restart Apache. Does it work again ? Am I close ? André Hi André, I figured it out before I read your message but yes that seems to be what happened. I have removed the other terms from /etc/apache2/sites-available/darcs in ServerAlias so it now has: VirtualHost *:80 ServerName darcs.jesujuva.org ServerAlias darcs.jesujuva.org DocumentRoot /var/www/darcs /VirtualHost I restarted apache and it works. Someone had recommended I add those terms to ServerAlias and that is what screwed me up. This was the first time I setup a virtual host so I must be careful what *advice* I apply :-) BTW by ServerName it is the subdomain (ie. http://darcs.jesujuva.org) and then what is the difference exactly between that and ServerAlias? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ssh X11 forwarding problem SOLVED
I didn't have xauth installed. Zac -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
ssh X11 forwarding problem
Ok from my local host I can ssh into a host on network A with 'ssh -X [EMAIL PROTECTED]' and it works, I tested by running xeyes. It automagically sets the DISPLAY to 'localhost:10.0' (it actually shows the word localhost). Now when I try the same thing on a host on network B with 'ssh -X [EMAIL PROTECTED]' it fails with: Error: Can't open display I checked the value of DISPLAY (echo $DISPLAY) after I ssh in and this time it is set to nothing. So I tried setting display to my local IP on various combinations and they all fail with Error: Can't open display ip:10.0, Error: Can't open display ip:0.0 etc.. So what is going on? Both hosts running Open SSH, I even disabled the firewall on the host on network B and then I tried locally xhost +network-b-host-ip to explicitly allow it and still no luck. I didn't have to bother with any of this for it to with network A's host. The X11 forwarding worked fine on host A (a school host) yet fails on host B (my VPX box). Any clue how I can fix this and why it works on network A's host but not on B's? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ssh X11 forwarding problem
Thierry Chatelet [EMAIL PROTECTED] wrote: Did you enable X in /etc/ssh/ssh_conf ForwardX11 yes Salut Thierry, Non, I did not have that set. I just modified /etc/ssh/ssh_conf. Here is what it has now: Host * ForwardX11 yes SendEnv LANG LC_* HashKnownHosts yes GSSAPIAuthentication yes GSSAPIDelegateCredentials no So I restarted ssh (/etc/init.d/ssh restart), logged off and logged back in with 'ssh -X' and tried xeyes again and it says: Error: Can't open display: I checked the value of $DISPLAY and it is not set to anything once again. With the other network's host it automatically set it to 'localhost:10.0' so I wonder why this network B's host won't set it. I noticed something in the ssh debug info, maybe you know what this means: debug1: Authentication succeeded (password). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: Requesting X11 forwarding with authentication spoofing. debug1: Sending environment. debug1: Sending env LANG = en_US.UTF-8 debug1: Remote: No xauth program; cannot forward with spoofing. Here are my ssh packages: ii libssh2-10.18-1 SSH2 client-side library ii openssh-blacklist0.4.1 list of default blacklisted OpenSSH RSA and ii openssh-client 1:5.1p1-2 secure shell client, an rlogin/rsh/rcp repla ii openssh-server 1:5.1p1-2 secure shell server, an rshd replacement Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
pdf conversion?
This may sound strange but I am looking for a Linux utility that will let me: 1) convert from pdf to html and save any images, diagrams etc. 2) convert from pdf to ASCII text Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Running a script automatically on system boot?
Hello, I installed the darktstat package in Debian lenny/sid and want to know the canonical way to set it up so that every time there is a reboot of my server it will run /etc/init.d/darkstat start automatically? Please be very specific, I've never done this before. Running kernel 2.6.18 Regards, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
hidden processes?
I used the unhide package and found this result, should I be worried? How can I stop these hidden processes? bach:~# unhide proc Unhide 20080519 [EMAIL PROTECTED] [*]Searching for Hidden processes through /proc scanning bach:~# unhide sys Unhide 20080519 [EMAIL PROTECTED] [*]Searching for Hidden processes through getpriority() scanning [*]Searching for Hidden processes through getpgid() scanning Found HIDDEN PID: 888 Found HIDDEN PID: 944 Found HIDDEN PID: 953 Found HIDDEN PID: 954 Found HIDDEN PID: 955 Found HIDDEN PID: 8920 Found HIDDEN PID: 10557 Found HIDDEN PID: 10566 Found HIDDEN PID: 10594 Found HIDDEN PID: 12644 Found HIDDEN PID: 12656 Found HIDDEN PID: 12659 Found HIDDEN PID: 12661 Found HIDDEN PID: 12662 Found HIDDEN PID: 12664 Found HIDDEN PID: 12835 Found HIDDEN PID: 18623 Found HIDDEN PID: 19424 Found HIDDEN PID: 19426 Found HIDDEN PID: 21363 Found HIDDEN PID: 21371 Found HIDDEN PID: 21372 Found HIDDEN PID: 22835 Found HIDDEN PID: 25131 Found HIDDEN PID: 25263 Found HIDDEN PID: 25264 Found HIDDEN PID: 25448 Found HIDDEN PID: 25449 Found HIDDEN PID: 25462 Found HIDDEN PID: 27142 Found HIDDEN PID: 28812 [*]Searching for Hidden processes through getsid() scanning Found HIDDEN PID: 888 Found HIDDEN PID: 944 Found HIDDEN PID: 953 Found HIDDEN PID: 954 Found HIDDEN PID: 955 Found HIDDEN PID: 8920 Found HIDDEN PID: 10557 Found HIDDEN PID: 10566 Found HIDDEN PID: 10594 Found HIDDEN PID: 12644 Found HIDDEN PID: 12656 Found HIDDEN PID: 12659 Found HIDDEN PID: 12661 Found HIDDEN PID: 12662 Found HIDDEN PID: 12664 Found HIDDEN PID: 12835 Found HIDDEN PID: 18623 Found HIDDEN PID: 19424 Found HIDDEN PID: 19426 Found HIDDEN PID: 21363 Found HIDDEN PID: 21371 Found HIDDEN PID: 21372 Found HIDDEN PID: 22835 Found HIDDEN PID: 25131 Found HIDDEN PID: 25263 Found HIDDEN PID: 25264 Found HIDDEN PID: 25448 Found HIDDEN PID: 25449 Found HIDDEN PID: 25462 Found HIDDEN PID: 27142 Found HIDDEN PID: 28812 [*]Searching for Hidden processes through sched_getaffinity() scanning [*]Searching for Hidden processes through sched_getparam() scanning Found HIDDEN PID: 888 Found HIDDEN PID: 944 Found HIDDEN PID: 953 Found HIDDEN PID: 954 Found HIDDEN PID: 955 Found HIDDEN PID: 8920 Found HIDDEN PID: 10557 Found HIDDEN PID: 10566 Found HIDDEN PID: 10594 Found HIDDEN PID: 12644 Found HIDDEN PID: 12656 Found HIDDEN PID: 12659 Found HIDDEN PID: 12661 Found HIDDEN PID: 12662 Found HIDDEN PID: 12664 Found HIDDEN PID: 12835 Found HIDDEN PID: 18623 Found HIDDEN PID: 19424 Found HIDDEN PID: 19426 Found HIDDEN PID: 21363 Found HIDDEN PID: 21371 Found HIDDEN PID: 21372 Found HIDDEN PID: 22835 Found HIDDEN PID: 25131 Found HIDDEN PID: 25263 Found HIDDEN PID: 25264 Found HIDDEN PID: 25448 Found HIDDEN PID: 25449 Found HIDDEN PID: 25462 Found HIDDEN PID: 27142 Found HIDDEN PID: 28812 [*]Searching for Hidden processes through sched_getscheduler() scanning Found HIDDEN PID: 888 Found HIDDEN PID: 944 Found HIDDEN PID: 953 Found HIDDEN PID: 954 Found HIDDEN PID: 955 Found HIDDEN PID: 8920 Found HIDDEN PID: 10557 Found HIDDEN PID: 10566 Found HIDDEN PID: 10594 Found HIDDEN PID: 12644 Found HIDDEN PID: 12656 Found HIDDEN PID: 12659 Found HIDDEN PID: 12661 Found HIDDEN PID: 12662 Found HIDDEN PID: 12664 Found HIDDEN PID: 12835 Found HIDDEN PID: 18623 Found HIDDEN PID: 19424 Found HIDDEN PID: 19426 Found HIDDEN PID: 21363 Found HIDDEN PID: 21371 Found HIDDEN PID: 21372 Found HIDDEN PID: 22835 Found HIDDEN PID: 25131 Found HIDDEN PID: 25263 Found HIDDEN PID: 25264 Found HIDDEN PID: 25448 Found HIDDEN PID: 25449 Found HIDDEN PID: 25462 Found HIDDEN PID: 27142 Found HIDDEN PID: 28812 [*]Searching for Hidden processes through sched_rr_get_interval() scanning Found HIDDEN PID: 99984800 [*]Searching for Hidden processes through sysinfo() scanning Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
fixing the time?
My Debian box keeps showing the wrong time, I reconfigured the tzdata package and selected America and New York and it still shows the time as 2 hour behind the real time. I just did it now: bach# date Fri Aug 29 17:39:33 EDT 2008 bach# dpkg-reconfigure tzdata Current default timezone: 'America/New_York' Local time is now: Fri Aug 29 17:39:35 EDT 2008. Universal Time is now: Fri Aug 29 21:39:35 UTC 2008. The current time is 19:39 not 17:39 ! This is so annoying. Anyone know how I can fix this? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
limiting a user?
I wish to add a user account for my friend on my Apache2 webserver (running in Debian lenny/sid with 2.6.18 kernel). How can I limit how much disk space he can use and limit how much bandwidth? Also I would like it so he cannot explore the filesystem and is limited to his $HOME directory only. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
starting apache at boot?
I manually compiled apache2 since the version packaged for Debian is the threaded version which causes fatal memory errors on my VPS host and it works great but now I need to tell it to start every time my system boots. Running Debian lenny/sid (testing release) with 2.6.18 Linux kernel. How exactly can I do this? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Apache adding users?
I have Apache 1.3 and now as root to add content I add files into /var/www I have a regular user /home/bob but how do I allow him to a have space on the webserver and what will his URL be? Also how do I enable PHP and cgi-bin for normal users and what directory will they use to put their CGI files? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
mirroring a site locally using wget?
How exactly can I do this: There is a website I wish to mirror. It has many pages and images and it uses CSS. I wish to run wget and have it: 1) download all HTML/CSS/images 2) uses local references so A HREF=http://site.org/images/image.jpg; will be saved as A HREF=images/image.jpg 3) do the same thing for CSS etc. I am not sure how many levels of links the site has but it is a lot so I want to be sure to get them all. So when the site is saved locally all the links will work and be local links, even if one of the pages is setup to use A HREF=http://site.org/html/setup.html; it will be saved locall as A HREF=html/setup.html Thanks! Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Chinese console fonts?
I downloaded a chinese webpage onto my remote server using wget (where I host my webserver - running Debian 4.0) and when I view it the Chinese haracters have been replaced with ASCII gibberish. Yet the original Chinese page displays fine in Firefox on my local machine (Ubuntu 6.06) and I can even see the Chinese characters in my console in Ubuntu when I load the file in emacs. So what packages do I need to install in Debian etch which will alow me view (and thus correctly download and save) Chinese webpages? I do not want X fonts since the server is only accessible via ssh and I don't run X on it. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: PHP on Apache
On Tue, Aug 12, 2008 at 12:42 AM, Shachar Or [EMAIL PROTECTED] wrote: There's libapache-mod-php5 and libapache2-mod-php5. Shalom Shachar, Are you sure all I need to do to support PHP on my webserver is to install libapache-mod-php5? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
setting the system time?
My new install of Debian 4.0 seems to have the wrong time, it says right now: Tue Aug 12 09:42:34 UTC 2008 but the correct time is: Tue Aug 12 05:42:00 EST 2008 How can I set this? I want it set once and for all so even after server reboot it shall still be correct. Thanks, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
running CGI scripts in apache? please help
I noticed darcsweb put the CGI file in /usr/lib/cgi-bin/darcsweb.cgi /usr/share/doc/darcsweb/README.Debian says I should be able to access my darcs repo which i made in /var/ww/darcs/ by going to http://www.mydomain.org/darcsweb yet when I do nothing happens, so how do I get it to use the file in /usr/lib/cgi-bin? I noticed my /var/www/cgi-bin/ is empty. Runing Apache 1.3 on Debian 4.0 Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
transferring directories with scp/rsync?
Hello, I have a directory /tmp/foo on my local host alpha.org and I wish to transfer it to user Bob (/home/bob) in dirctory $HOME/www/bar on remote host beta.org. How precisely can I do this 1) using scp 2) using rsync? I would like to see the commands for doing this with both methods. Ssh is running on both hosts. Also what happens if the directory already existed on the remote host and has some of the same file names. Is it possible to use md5sums so that if a file is exact (same hash) it will prompt me and ask if I want to over-write it before it does? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
weird find error on fresh etch system
I just installed Debian 4.0 and whenever I use find on / I see: find: WARNING: Hard link count is wrong for ./proc/sys/net: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earli er results may have failed to include directories that should have been searched . What is going on and how can I fix this? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
locale errors
Hi, I'm running Debian 4.0, getting these errors almost everytime install a package. Anyone know what I must do to fix this? I want the locale set to be US English. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = en_US.UTF-8 are supported and installed on your system. perl: warning: Falling back to the standard locale (C). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
problem with gnu emacs
When I run emacs I see this error: emacs: /usr/local/lib/libpng12.so.0: no version information available (required by emacs) It happens even if I just open an empty buffer or a text file. Running in console. This is a Debian 4.0 system and the package versions installed are: bach:~# dpkg -l|grep emacs ii emacs 21.4a+1-3etch1 The GNU Emacs editor (metapackage) ii emacs2121.4a+1-3etch1 The GNU Emacs editor ii emacs21-bin-common 21.4a+1-3etch1 The GNU Emacs editor's shared, architecture ii emacs21-common 21.4a+1-3etch1 The GNU Emacs editor's shared, architecture ii emacsen-common 1.4.17 Common facilities for all emacsen bach:~# dpkg -l|grep libpng ii libpng12-0 1.2.15~beta5-1 PNG library - runtime ii libpng12-dev 1.2.15~beta5-1 PNG library - development This is weird because I don't see what a PNG library has to do with running emacs in a console! Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
PHP on Apache
I want to install PHP (I am running Apache) but when I went to install package php5 it had all these dependencies for apache2 packages! I can't run apache2 beause it dies with memory errors. So next I tried php4 and even that has the same dependencies on apache2 packages. How can I get PHP working with Apache 1.3.34-4.1+etch1? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Problem with Python script on Apache
I installed the darcsweb package, I am running apache on Debian 4.0. But when I go to http://www.mydomain.org/darcs/ it shows only the regular listing. I read /usr/share/doc/darcsweb/README.Debian and it says: if you are running a flavour of apache(2), put your darcs repositories in /var/www/darcs and things should just work. So I put my darcs repo in /var/www/darcs/. It also says: if you want to customise things, take a look at /etc/darcsweb/config.py, and maybe also /etc/apache/conf.d/darcsweb.conf. I verified these 2 files exist. So what exactly must I do to get this working? Is there some sort of Apache setup to get these scripts working? Here are my python and darcs package versions: ii darcs 1.0.9~rc1-0.1 an advanced revision control system ii darcsweb 0.16-1 web interface for browsing darcs repositorie ii python 2.4.4-2 An interactive high-level object-oriented la ii python-central 0.5.12 register and build utility for Python packag ii python-doc 2.4.4-1 Documentation for the high-level object-orie ii python-minimal 2.4.4-2 A minimal subset of the Python language (def ii python2.4 2.4.4-3+etch1 An interactive high-level object-oriented la ii python2.4-doc 2.4.4-2 Documentation for the high-level object-orie ii python2.4-minimal 2.4.4-3+etch1 A minimal subset of the Python language (ver Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
HD problems
Hello, Two day ago I suddenly got lots of I/O and read errors which went to all consoles on my laptop (Latitude C600 running Debian testing release with Linux kernel 2.6.18) followed by loud clicking noises coming from the area where the HD is then the kernel panicked and the screen froze and I then heard several high pitched beeps and loud chirping noises like a cricket. This is the small ATA/IDE HD that came with the laptop (~8 years old, Hitachi Travelstar 08K0851, 20GB). I tried rebooting and it said it could not load the root filesystem and complained about error reading disk and input/output error and I heard beeping noises again - 2 quick very sharp beeps ~90 seconds after it tried loading the / filesystem. I booted into my Ubuntu Live CD and tried mounting the disk but it gave read error. So I went to a local computer shop and bought another HD and installed it in the laptop; I made sure the laptop had no power (battery is dead and I unplugged power cord) and I used latex gloves and had the laptop on a wen table when inserting the new drive into the side of the laptop. It's a Toshiba ATA disk, MK6026 GAX, 60GB, another $60 sigh. That drive also gave similar read, I/O problems so I suspect it is a bad hardware controller or maybe even the interface connection. Two drives both cannot be read. Has anyone ever heard of anything like this happening before (the HD is god but cannot be read due to fault in the system's hardware)? I hope whatever is wrong didn't damage the data on my drives. Do you know something I could buy that would connect to my small laptop hard drive and allow me to mount it as an external hard disk? I found enclosures that come with an interface for IDE 3.5 sized HDs and connect via USB but nothing for these small laptop HDs - they're about the size of the palm on the hand and only 0.20 thick. I was able to install Ubuntu 7.04 onto my external SCSI disk (ATA/IDE interface enclosure connected to laptop via USB) but my system's BIOS doesn't seem to recognize/be aware of it and I tried using the Ubuntu Live CD to do root=/dev/sda5 but it only seems to be aware of hda disks and not SCSI disks (or at least not ones connected via USB). I am wondering if there is anyway I can boot into the Ubuntu installation on the external disk. That way I'd at least be able to save files and it would be a lot faster than running from the Live CD's ramdisk. The drive's relevant partition table entries: /dev/sda5, Boot, Logical, Linux ext3, 19GB /dev/sda6, Logical, Linux swap, 764MB And the boot files are: /initrd.img - /boot/initrd.img-2.6.15-23.386 /vmlinuz - /boot/vmlinuz-2.6.15-23-386 The external disk is a Seagate ST380021 A (80GB) and I'm using a Mad Dog enclosure connected to my USB 1 port. When I boot into Ubuntu Live CD it automatically finds the disk and mounts it but unless some USB drivers are loaded at the boot stage I guess it won't be aware of its' existence but USB drivers are only loaded when the kernel is booting so it looks like I'm stuck in a Catch-22 situation. Yet I've heard of people running Linux off USB {pen,thumb}drives so it must be possible. I am very open to any ideas at this point. It will likely be another month before I can buy another machine. I'm glad Ubuntu came with pppoeconf or I wouldn't have gotten my DSL connection working. I also have an old 10GB IDE drive I could try in the USB enclosure if you think that would work. Thanks, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
DSL speed
The speed test at dslreports.com is showing my download speed as 625 Kb/s. This seems a lot less than the 768 Kb/s I'm supposed to have. My latency to their test server in NY was 50ms. Is there anything I can do to to increase my download speed? I'm using Ubuntu 7.04 Live CD until I can buy a new computer. Running 2.6.18 kernel and Debian/Ubuntu. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
DSL in Linux - direct setup?
I have the DSL modem, plugged the ethernet cable between ETHERNET port on modem and my NIC, I attached the phone line into the DSL port on the modem but I still don't see any network connection. My ISP said they use PPPoE but they never told me a username or password. Assuming they tell me this how can I access the DSL modem and input these settings? In the future I will do NAT and add a router, but for now I want just a direct connection in Linux. The ISP said I get a static ip, how do I find out this IP and how do I set things up so I have connectivity (and I'd like the settings to be saved so if I reboot it will immediately reestablish connectivity and using my same static IP when I login again). I run Debian lenny with a 2.6.18 Debianized stock kernel. Here is what I have now: dsl modem --- --- | | - - - - - ethernet cable -| | --- --- laptop | | phone line | [ x ] line filter | Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
apt is killing my machine
Do you know if it's expected for installing packages to take longer the more total packages one has installed? In recent months I notice sometimes when I install packages (sometimes one, sometimes many) the machine will be in nearly unusable state while it read's the package database. Such as just happened: enetrek:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: mplayer The following packages will be upgraded: linux-libc-dev 1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Need to get 0B/720kB of archives. After unpacking 32.8kB disk space will be freed. Do you want to continue [Y/n]? Y (Reading database ... At this point it hung for 20 minutes! It then proceeded: 316137 files and directories currently installed.) Preparing to replace linux-libc-dev 2.6.22-6 (using .../linux-libc-dev_2.6.22-6.lenny1_i386.deb) ... Setting up linux-libc-dev (2.6.22-6.lenny1) ... [ Rootkit Hunter version 1.3.0 ] File updated: searched for 151 files, found 131 I'm going to start using the time command with apt so I can get some hard data. My xload spiked up to near the very top for this entire time and then when apt finished it went back down to the bottom. I don't know if it is CPU or disk IO or a combination. I wonder if I can do anything to optimize apt so it will stop doing this? My machine is a P3/700MHz. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
php and apache?
Hello, I am trying to open some PHP test scripts but my webserver (running on localnet) prompts me to download them when I try to load one in apache. Here are the packages I have installed: ii libapache2-mod-php5 5.2.4-2+b1 server-side, HTML-embedded scripting languag ii php55.2.4-2 server-side, HTML-embedded scripting languag ii php5-cgi5.2.4-2+b1 server-side, HTML-embedded scripting languag ii php5-cli5.2.4-2+b1 command-line interpreter for the php5 script ii php5-common 5.2.4-2+b1 Common files for packages built from the php ii apache2 2.2.6-3 Next generation, scalable, extendable web se ii apache2-common 2.0.55-4 next generation, scalable, extendable web se ii apache2-mpm-prefork 2.2.6-3 Traditional model for Apache HTTPD ii apache2-utils 2.2.6-3 utility programs for webservers ii apache2.2-common2.2.6-3 Next generation, scalable, extendable web se Must I change /etc/apache2/apache2.conf somehow to get this working? Running Debian lenny. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: php and apache?
On Feb 19, 7:40 am, Kushal Kumaran [EMAIL PROTECTED] wrote: Run a2enmod php5 to enable the php5 module. Then restart apache2. You don't need to have both php5-cgi and libapache2-mod-php5 installed. Unless you specifically need the cgi version, you can just stick to the apache2 module. Ok but it seems I already have this module loaded and I still can't open php scripts. When I try to open /var/www/phpsysinfo/index.php it says You have chosen to open: index.php which is a PHP script and it queries me if I want to save it to disk or open with Bluefish. Any other ideas? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: education has made my debian mentally challenged
Tyler MacDonald wrote: Hi, I'm running sid. I've had the education packages installed for awhile... last week, an update came out for them which has completely broken the package manager, making it impossible to upgrade further. I get a message like this for every education-* package: Preparing to replace education-chemistry 0.824+svn40294 (using .../education-chemistry_0.825_i386.deb) ... Unpacking replacement education-chemistry ... err 67: Custom distribution education does not exist dpkg: warning - old post-removal script returned error exit status 67 dpkg - trying script from the new package instead ... err 67: Custom distribution education does not exist dpkg: error processing /var/cache/apt/archives/education-chemistry_0.825_i386.deb (--unpack): subprocess new post-removal script returned error exit status 67 err 67: Custom distribution education does not exist dpkg: error while cleaning up: subprocess post-removal script returned error exit status 67 ... apt-get remove refuses to delete the packages: Reading changelogs... Done dpkg: error processing education-chemistry (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Errors were encountered while processing: education-chemistry E: Sub-process /usr/bin/dpkg returned an error code (1) ... and trying to force dpkg's hand doesnt work either! domus:~# dpkg --force-remove-reinstreq --purge education-chemistry dpkg - warning, overriding problem because --force enabled: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. (Reading database ... 580601 files and directories currently installed.) Removing education-chemistry ... err 67: Custom distribution education does not exist dpkg: error processing education-chemistry (--purge): subprocess post-removal script returned error exit status 67 Errors were encountered while processing: education-chemistry Is there any safe, sane way I can either remove these 50-some-odd packages or get them to install correctly? Thanks, Tyler I struggled with the same stuff with education-astronomy on my sidux system... There are bug reports for this and the .825 packages are supposed to fix it. I eventually believe that this straightened it out for me (but don't hold me to it as I was trying all kinds of stuff and it was a couple days ago): dpkg --force-all -i /var/cache/apt/archives/education-astronomy_0.825_amd64.deb -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: php and apache?
2008/2/19, Sergio [EMAIL PROTECTED]: Hello, do you have a line like this in your config files: AddType application/x-httpd-php .php .phtml .php3 I think it is in the file: /etc/apache2/mods-enabled/php5.conf That should do the trick. Hello Sergio, Yes everything seems fine yet it still doesn't work - very perplexing. Here is what I know so far: When I try to load one locally such as /var/www/phpsysinfo/index.php it opens a dialog box asking me whether I'd like to download it or open with an editor, it never renders the PHP script. I also tried remotely by loading http://www.club.cc.cmu.edu/~chaos/foo.php in my browser and it just prints out the file contents. I verified that apache2 has the php module loaded: netrek:~# a2enmod php5 This module is already enabled! I also confirmed that in /etc/apache2/mods-available/dir.conf DirectoryIndex has an entry for index.php: IfModule mod_dir.c DirectoryIndex index.html index.cgi index.pl index.php index.xhtml ind ex.htm /IfModule And I also confirmed that in /etc/apache2/mods-available/php5.conf it has as apropriate AddType entry: IfModule mod_php5.c AddType application/x-httpd-php .php .phtml .php3 AddType application/x-httpd-php-source .phps /IfModule Also I confirmed /etc/apache2/mods-enabled/php5.conf has: IfModule mod_php5.c AddType application/x-httpd-php .php .phtml .php3 AddType application/x-httpd-php-source .phps /IfModule And /etc/apache2/mods-enabled/dir.conf has: IfModule mod_dir.c DirectoryIndex index.html index.cgi index.pl index.php index.xhtml ind ex.htm /IfModule Here are the packages I have installed: ii libapache2-mod-php5 5.2.4-2+b1 server-side, HTML-embedded scripting languag ii php55.2.4-2 server-side, HTML-embedded scripting languag ii php5-cgi5.2.4-2+b1 server-side, HTML-embedded scripting languag ii php5-cli5.2.4-2+b1 command-line interpreter for the php5 script ii php5-common 5.2.4-2+b1 Common files for packages built from the php ii apache2 2.2.6-3 Next generation, scalable, extendable web se ii apache2-common 2.0.55-4 next generation, scalable, extendable web se ii apache2-mpm-prefork 2.2.6-3 Traditional model for Apache HTTPD ii apache2-utils 2.2.6-3 utility programs for webservers ii apache2.2-common2.2.6-3 Next generation, scalable, extendable web se ii iceweasel 2.0.0.11-1 lightweight web browser based on Mozilla Must I change /etc/apache2/apache2.conf somehow to get this working? Running Debian lenny. So apache is passing the php files as if they were just normal text files or something. They are never passed off to the php module and executed for some reason. Any help would be greatly appreciated. As far as I can tell it *should* work but doesn't obviously. Regards, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: php and apache?
Jeff wrote: What does 'apache2ctl -M' tell you? That should tell you what modules apache is loading. Have you restarted apache? I see the php module in there: netrek:~# apache2ctl -M Loaded Modules: core_module (static) log_config_module (static) logio_module (static) mpm_prefork_module (static) http_module (static) so_module (static) alias_module (shared) auth_basic_module (shared) authn_file_module (shared) authz_default_module (shared) authz_groupfile_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) cgi_module (shared) dir_module (shared) env_module (shared) geoip_module (shared) mime_module (shared) negotiation_module (shared) perl_module (shared) php5_module (shared) setenvif_module (shared) status_module (shared) Syntax OK Yes I've done a /etc/init.d/apache2 restart Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: php and apache?
On Feb 19, 2008 11:28 PM, John W Foster [EMAIL PROTECTED] wrote: Sounds like apache2 knows what to do, BUT...did you check the /etc/php5/apache2/php.ini for proper configs. This may require a bit of study and effort on your part to determine exactly how you want php5 to work. In the 'out of the box' set up php.ini is NOT properly configured for a production system..but rather for development. Thanks John, I will look into that. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ipchains - iptables?
On Feb 12, 2008 7:20 PM, Adrian Levi [EMAIL PROTECTED] wrote: The topology of chains to tables is fundamentally different, In chains a packet that is to be forwarded must also go though the input and output chains. Under tables this packet only has to traverse the forward table, input and output tables only refer to packets destined for and from the firewall machine. Hi Adrian, Ah I see so we're dealing with apples and oranges here. I am happy to post my tables script and you can use that as the basis of yours if you like. Thank you, that would be great. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
ipchains - iptables?
Anyone know a way (or even better have a script) to convert a file of ipchains rules into iptables rules? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
weird problem
I noticed a problem with using grep and more. I am using the defaults for the package which is running on a Debian lenny system, using the BASH shell. Lets say the file foo has 40 lines: 1. one 2. two 3 three 4. four . . 40. forty I type on the command line: $ grep o foo the first line in my gnome-terminal window will show: 2. two So to see the command line and the first line I must scroll up. I noticed if I use grep it shows the first line but it doesn't show my command line. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Setting up ADSL?
I am getting ADSL (728/128) next week and have some questions. I run Debian lenny with a 2.6.18 kernel. The DSL connection will use PPPoE and I'll be getting a static IP. I guess I just need 1 ethernet cable to connect the DSL modem to my NIC right? How do I setup the PPPoE account (username, password)? The modem also has a built in 4 port router so how can I setup NAT (I only have 1 machine now but plan to add more in the future)? How do I setup DHCP for my private addresses which NAT will use? Anyone have a good basic firewall (especially example rules scripts!) that I can put up? Besides a plain firewall what else can I do to make my machine more secure since it will be connected to the outside world nearly 24x7 from now on. Last week one of my friends had their machine ping flooded, they couldn't get any packets out and the attacker only stopped after he unplugged his router and waited a few hours before reconnecting. Questions: 1) If this happens to me what should I do to stop the attacker and get back online? (A quick way to ignore their IP would be good for starters.) 2) Why didn't his ISP or even the ISP's upstream provider catch this and automatically null route the offender? Also how can I manually bring my connection up and down? Anyone know some good packages for logging network trafficing, deciphering logs, getting useful reports etc? If you log a lot I suppose there is no way to get around having to read many log mails every day, the price of security eh? Thanks, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Measuring optimizing broadband speed
I am looking for accurate methods of measuring broadband speed, particularly for a 728 kbps / 128 kbps DSL line. I want to see how close my real world throughput gets to the advertised bandwidth. Also what is the theoretical maximum and minimum ping (average return time) and lag (standard deviation of the ping) for such a DSL line? Is there any sort of MTU, routing table or TCP/IP stack changes I can make (if so please explain how) to increase my latency, lag and packet loss? I use Debian lenny with a 2.6.18 kernel. Oh yes I will have a static IP address. Also I got some advice on how to setup my ADSL line I'm getting next week but no one mentioned using the route command and setting up the routing table (gateway, metrics, netmask). Is that not necessary in my case? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Linux network security poll
I need to get serious about security since I will be soon connected to the net almost 24x7 (barring a power outage etc.) so I was wondering if list members could explain their security setup (network configuration, DMZ, firewalls, IDS, logging, etc.). Also what would you recommend for someone like me who is still on an entry level in terms of my understanding of Linux and network security and what would recommend for later on down the road once I get more sophisticated? I run Debian lenny with a 2.6.18 kernel. I will be getting ADSL next week and plan on having a DSL modem/router doing NAT. I only have one machine now but plan on adding another one within the next 3 months or so. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Archiving audio (high fidelity)?
I would like to transfer my collection of LPs (record albums) and audio cassette tapes onto optical media for archival. I have a high end CD player and a medium end LP player and wonder precisely how I can transfer these to DVD? I would like to maintain the highest possible fidelity so even dumping to .WAV or .FLAC is fine with me. I have audio cables with gold plated connectors and my CD player is connected to a powered amplifier. Also I want to remove any cracks or pops from the LPs (especially) before archiving. What settings should my amplifier have (or the sound card) when I do this? I have a relatively cheap sound card so what sound card would you recommend for this project (it must be Linux friendly)? I saw this USB device (apparently it uses a custom USB board to do the D/A conversion with claimed high fidelity) Xitel Import Deluxe device at Radio Shack: http://www.xitel.com/USA/prod_inportdl.htm But it only seems to save to MP3 and comes with MS Windows software only. If you can be as specific as possible that would really help (hardware, software, procedures, tips, etc.) Regards, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gibberish in log file? SOLVED
When I was setting up the new ISP in pppconfig I pasted from a document I had mounted from my MS Windows partition (vfat) and it must have included some of those weird control characters. I used fromdos (part of the dos2unix package) on: /etc/ppp/pap-secrets /etc/ppp/peers/sysim /etc/chatscripts/sysim And after that no more problems and I was able to connect using my new ISP Sysim :-) Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
gibberish in log file?
PROTECTED]@^E^B^A^@,Q#p([EMAIL PROTECTED]@[EMAIL PROTECTED]@)[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@^@ Feb 4 06:17:44 netrek chat[3253]: alarm Feb 4 06:17:44 netrek chat[3253]: Failed Feb 4 06:17:45 netrek pppd[3252]: Exit. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gibberish in log file?
On 02/04/08 Ron Johnson wrote: *VERY* important questions: What do you mean by old ISP? Do you now have a new ISP? Yes my old isp was ISP.com, my new ISP (which I'm trying to get working) is Sysim. So before to start my connection I'd do: pon isp.com (and never saw any weird characters in logfile) Now I'm attempting to do: pon sysim(and I get the weird characters) I no longer have access to my old ISP but I decided to try it and see if the weird characters would show up, that is I did pon isp.com and now the log has that gibberish in it. Yet when I tried my old ISP only 1 day earlier on Saturday it failed (as expected, couldn't authorize) but there was NOT gibberish in the log and it was normal. So I don't understand what happened in that 1 day when the computer was powered off and I didn't do anything to it. Very baffling. I even went into pppconfig and deleted the entry for sysim and created a new one and tried it again and the gibberish still shows up in the log. What is really weird is that my old ISP entry isp.com now produces this same gibberish yet that chat script wasn't modified in anyway from when it ran the day before and did not produce the strange characters. Any clue how I can fix this? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
dpkg crawling!
I am not sure exactly when this behaviour manifested but it was within the past 2 months or so. Now whenever I install something the dpkg package database will eat up like 90%-100% of my CPU and the machine is near frozen until it completes. Even installing a small single package this will happen, when I install a lot of packages like in a recent dist-upgrade worth 70MB my machine was in basically unusable state for over 20 minutes until it finished! 0 upgraded, 44 newly installed, 0 to remove and 0 not upgraded. Need to get 906kB/73.4MB of archives. After unpacking 185MB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://debian.mirrors.pair.com testing/main mesademos 6.2.1-1 [807kB] Get:2 http://debian.mirrors.pair.com testing/main stx2any 1.56-2 [98.8kB] Fetched 556kB in 2m23s (3862B/s) Extracting templates from packages: 100% Preconfiguring packages ... [At this point the trouble began and my CPU jumped way up for about 3 minutes.] Selecting previously deselected package mysql-client-5.0. (Reading database ... 310013 files and directories currently installed.) [This is where things got really bad and I was over 90% CPU util for the next 17 minutes!] Any clue what is causing such poor performance and how I can fix it? I run Debian lenny with 2.6.18 kernel. CPU is P3 700MHz with 256MB RAM. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Firefox error - SSL_ImplementedCiphers
After an upgrade a few weeks ago I now get an error every time I start firefox and I'm worried SSL is no longer working: /usr/lib/iceweasel/firefox-bin: Symbol `SSL_ImplementedCiphers' has different size in shared object, consider re-linking I'm running Debian lenny with 2.6.18 kernel and the firefox/iceweasel versions are: netrek:~# dpkg -S `which firefox` iceweasel: /usr/bin/firefox netrek:~# dpkg -l|grep iceweasel rc firefox 2.0.0.6-0etch1+lenny1 Transition package for iceweasel rename ii iceweasel 2.0.0.11-1 lightweight web browser based on Mozilla ii iceweasel-gnome-support 2.0.0.11-1 Support for Gnome in Iceweasel ii iceweasel-l10n-zh-tw 1:2.0.0.11+debian-2Chinese (Taiwan) language package for Icewea rc mozilla-firefox 2.0.0.6-0etch1+lenny1 Transition package for iceweasel rename Here are the dependencies: netrek:~# ldd /usr/lib/iceweasel/firefox-bin linux-gate.so.1 = (0xe000) libmozjs.so = not found libxpcom.so = not found libxpcom_core.so = not found libplc4.so.0d = /usr/lib/libplc4.so.0d (0xb7ef7000) libnspr4.so.0d = /usr/lib/libnspr4.so.0d (0xb7ec5000) libpthread.so.0 = /lib/libpthread.so.0 (0xb7ead000) libgtk-x11-2.0.so.0 = /usr/lib/libgtk-x11-2.0.so.0 (0xb7b39000) libgdk-x11-2.0.so.0 = /usr/lib/libgdk-x11-2.0.so.0 (0xb7ab5000) libX11.so.6 = /usr/lib/libX11.so.6 (0xb79c9000) libgthread-2.0.so.0 = /usr/lib/libgthread-2.0.so.0 (0xb79c5000) libpng12.so.0 = /usr/lib/libpng12.so.0 (0xb79a2000) libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb7982000) libz.so.1 = /usr/lib/libz.so.1 (0xb796d000) libssl3.so.0d = /usr/lib/libssl3.so.0d (0xb7945000) libsmime3.so.0d = /usr/lib/libsmime3.so.0d (0xb7921000) libnss3.so.0d = /usr/lib/libnss3.so.0d (0xb7802000) libcairo.so.2 = /usr/lib/libcairo.so.2 (0xb778c000) libXrender.so.1 = /usr/lib/libXrender.so.1 (0xb7783000) libXinerama.so.1 = /usr/lib/libXinerama.so.1 (0xb778) libXt.so.6 = /usr/lib/libXt.so.6 (0xb773) libXp.so.6 = /usr/lib/libXp.so.6 (0xb7729000) libXft.so.2 = /usr/lib/libXft.so.2 (0xb7717000) libfontconfig.so.1 = /usr/lib/libfontconfig.so.1 (0xb76ee000) libpangoft2-1.0.so.0 = /usr/lib/libpangoft2-1.0.so.0 (0xb76c) libpango-1.0.so.0 = /usr/lib/libpango-1.0.so.0 (0xb7683000) libgobject-2.0.so.0 = /usr/lib/libgobject-2.0.so.0 (0xb7647000) libglib-2.0.so.0 = /usr/lib/libglib-2.0.so.0 (0xb75a7000) libxpcom_compat.so = not found libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb74bb000) libm.so.6 = /lib/libm.so.6 (0xb7495000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb748a000) libc.so.6 = /lib/libc.so.6 (0xb733d000) libplds4.so.0d = /usr/lib/libplds4.so.0d (0xb733a000) libgdk_pixbuf-2.0.so.0 = /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7322000) libatk-1.0.so.0 = /usr/lib/libatk-1.0.so.0 (0xb7306000) libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0xb7297000) libdl.so.2 = /lib/libdl.so.2 (0xb7293000) /lib/ld-linux.so.2 (0xb7f1b000) libpangocairo-1.0.so.0 = /usr/lib/libpangocairo-1.0.so.0 (0xb728a000) libXcomposite.so.1 = /usr/lib/libXcomposite.so.1 (0xb7287000) libXdamage.so.1 = /usr/lib/libXdamage.so.1 (0xb7283000) libXfixes.so.3 = /usr/lib/libXfixes.so.3 (0xb727e000) libgmodule-2.0.so.0 = /usr/lib/libgmodule-2.0.so.0 (0xb727a000) libXext.so.6 = /usr/lib/libXext.so.6 (0xb726c000) libXi.so.6 = /usr/lib/libXi.so.6 (0xb7264000) libXrandr.so.2 = /usr/lib/libXrandr.so.2 (0xb725d000) libXcursor.so.1 = /usr/lib/libXcursor.so.1 (0xb7254000) libXau.so.6 = /usr/lib/libXau.so.6 (0xb7251000) libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0xb724c000) librt.so.1 = /lib/librt.so.1 (0xb7243000) libSM.so.6 = /usr/lib/libSM.so.6 (0xb723a000) libICE.so.6 = /usr/lib/libICE.so.6 (0xb7223000) libexpat.so.1 = /usr/lib/libexpat.so.1 (0xb7203000) libpcre.so.3 = /usr/lib/libpcre.so.3 (0xb71dd000) Think any of these local libs could be causing trouble? Firefox was installed via apt with a normal package. netrek:~# ls /usr/local/lib LessTif libMrm.solibUil.so.2.0.1 python2.3 X11 libDtPrint.lalibMrm.so.2 libXm.la python2.4 xemacs libDtPrint.solibMrm.so.2.0.1 libXm.so python2.5 libDtPrint.so.1 libUil.lalibXm.so.2 sbcl libDtPrint.so.1.0.0 libUil.solibXm.so.2.0.1 site_ruby libMrm.lalibUil.so.2 ocamltexmf Any idea how to solve this? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: packages broken
I had a corrupt .desktop file in /usr/share/applications, removing it and running update-desktop-database fixed the problem and I was able to finish installing the limbo packages. A developer has fixed the problem in desktop-file-utils and a patch is ready , per the forwarded message below, for the Debian package maintainer to apply. Zach -- Forwarded message -- From: gnome-desktop (bugzilla.gnome.org) [EMAIL PROTECTED] Date: Jan 20, 2008 2:34 PM Subject: [Bug 509526] update-desktop-database crashed on corrupt .desktop files To: [EMAIL PROTECTED] If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=509526 gnome-desktop | general | Ver: 2.14.x Vincent Untz changed: What|Removed |Added CC||[EMAIL PROTECTED] Status|UNCONFIRMED |RESOLVED Resolution||FIXED --- Comment #1 from Vincent Untz 2008-01-20 19:34 UTC --- Thanks, I've fixed this in desktop-file-utils. You can get a patch here for debian if you want: http://webcvs.freedesktop.org/menus/desktop-file-utils/src/update-desktop-database.c?r1=1.8r2=1.9 (also, note that bugs of desktop-file-utils are tracked in freedesktop.org bugzilla) -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=509526. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: packages broken
Florian wrote: The command itself seems to use only about 2.6 seconds of CPU time (user+sys) and spends the rest of the 1m19s waiting for something, most probably data transfer from the hard drive. You see the CPU at 90-100% during the whole time, so maybe DMA is not working. You can use hdparm /dev/hda to check this. (This command is part of package hdparm and has to be run as root; replace /dev/hda as is appropriate for your system.) Ah ok. I saw that you filed a bug report (#460532). There seem to be two related older reports (#406709, #396439). In one case the submitter states in a follow-up that a corrupted .desktop file was to blame, but the general problem still seems unresolved to me. (Even if you also have a corrupt data file, the tool should deal more gracefully with such a situation.) I checked in my normal user account's $HOME and in root's $HOME and there is no ~/.desktop file. Could that be the problem? I run Gnome. I have two more suggestions for you to improve the chances of this bug getting fixed: 1) Just to be sure, check if there are any other stray libraries in /usr/local/lib. Run ldconfig -pNX | grep /local/ as a normal user. If this comes up empty then your system is OK in that respect. It found some: [EMAIL PROTECTED]:~$ /sbin/ldconfig -pNX | grep /local/ libXm.so.2 (libc6) = /usr/local/lib/libXm.so.2 libXm.so (libc6) = /usr/local/lib/libXm.so libUil.so.2 (libc6) = /usr/local/lib/libUil.so.2 libUil.so (libc6) = /usr/local/lib/libUil.so libMrm.so.2 (libc6) = /usr/local/lib/libMrm.so.2 libMrm.so (libc6) = /usr/local/lib/libMrm.so libDtPrint.so.1 (libc6) = /usr/local/lib/libDtPrint.so.1 libDtPrint.so (libc6) = /usr/local/lib/libDtPrint.so What should I do about this? I guess I am at the mercy of the package maintainer fixing whatever is wrong and waiting for the new packages to be released but with this error I'm wondering if it will be able to install the new version of desktop-file-utils if it needs the broken update-desktop-database in order to install it! 2) Install the packages libglib2.0-0-dbg, libc6-dbg, and libpcre3-dbg. Then use gdb again to get a better debugging report (with symbols) and send this output as a follow-up to your bug. Good idea. The following trick should allow you to get your package manager going again: As root, do mv /usr/bin/update-desktop-database /usr/bin/update-desktop-database-HIDDEN ln -s /bin/true /usr/bin/update-desktop-database This moves update-desktop-database out of the way and replaces it with a symlink to /bin/true, a command that is always successful. The problematic installation scripts should complete now and the package manager should work again. (Once the bug is fixed you should remove the symlink and put the original file back in its place, of course. Then run update-desktop-database once as root.) Cool, good tip. Regards, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: packages broken
Florian wrote: I am running Debian testing with 2.6.18 kernel and ALSA sound. Any fix for these likely to be available soon? I've been doing an update every day and still see these errors. Something broken in Gnome it seems related to the audio. Please clarify this last point if you want help with the audio problem. Hi Florian, Oh sorry I meant that I noticed that most of the packages affected were audio packages. netrek:~# aptitude dist-upgrade BTW sometimes I use apt-get dist-upgrade and other times I use aptitude dist-upgrade. Is this problematic? Your most pressing issue seems to be a problem with libglib2.0-0, which breaks the update-desktop-database tool. This means that dpkg cannot configure any packages that use this tool in their installation scripts. Ah. Make sure that you have the correct version of libglib2.0-0 installed. On an up-to-date Lenny system dpkg -l libglib2.0-0 should show version 2.14.3-1. Most likely you will find that you have the current version installed, because aptitude should have tried to upgrade the package otherwise. However, if you do see an older version then we have to have a closer look at your apt configuration. I think I've discovered another problem. In the past 1-2 months I've noticed whenever I install a new package or query the dpkg package database it takes an inordinately long time and sends my CPU up to 90%-100% utilization while it's working. I timed it and there's no way it should be taking this long on my 700MHz PIII processor with very little system load: netrek:~# time dpkg -l|grep libglib2 ii libglib2-ruby 0.16.0-10 Glib 2 bindings for the Ruby language ii libglib2-ruby1.80.16.0-10 Glib 2 bindings for the Ruby language ii libglib2.0-02.14.3-1 The GLib library of C routines ii libglib2.0-data 2.14.3-1 Common files for GLib library ii libglib2.0-dev 2.14.3-1 Development files for the GLib library real1m18.728s user0m2.344s sys 0m0.236s What could be causing this bottleneck? Did my package database grow too big? I see libglib2.0-0 as being at the correct version 2.14.3-1. My guess is that you have an outdated version of libglib-2.0.so.0 in /usr/local/lib/ and that this non-Debian version is given precedence over the Debian one by the linker. (This kind of problem has popped up here a few times recently.) Run this command: ldd /usr/bin/update-desktop-database netrek:~# ldd /usr/bin/update-desktop-database linux-gate.so.1 = (0xe000) libglib-2.0.so.0 = /usr/lib/libglib-2.0.so.0 (0xb7f0c000) libc.so.6 = /lib/libc.so.6 (0xb7dbf000) libpcre.so.3 = /usr/lib/libpcre.so.3 (0xb7d99000) /lib/ld-linux.so.2 (0xb7fcc000) Nope I see nothing being loaded from /usr/local/ This might show you that update-desktop-database uses a library in /usr/local/lib/. In that case I would recommend to get rid of the non-Debian library unless you have a compelling reason to keep it. Afterwards it should be enough to run (as root): ldconfig aptitude install -f Any other ideas? :) Finally, to get rid of the complaints about libwnck18, install libwnck22 (which replaces the other package on Lenny). I can't seem to install any new packages since when I do it tries to configure all those broken packages. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
packages broken
I am running Debian testing with 2.6.18 kernel and ALSA sound. Any fix for these likely to be available soon? I've been doing an update every day and still see these errors. Something broken in Gnome it seems related to the audio. Zach netrek:~# aptitude dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done The following packages are BROKEN: libwnck18 The following packages will be upgraded: efax-gtk gtkfontsel kaudiocreator kdemultimedia-kio-plugins libbluetooth2 libcdio7 libcpufreq0 libkcddb1 liboro-java libpulse0 libsnmp-base libsnmp15 libwnck-common mbr pmount psmisc python2.4 python2.4-minimal sitecopy sudo systemtap tcputils tellico tellico-data xfm The following partially installed packages will be configured: amarok audacity devhelp eog evince gedit totem totem-common totem-gstreamer totem-mozilla totem-plugins totem-xine The following packages are RECOMMENDED but will NOT be installed: xless 25 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 15.2MB of archives. After unpacking 1016kB will be used. The following packages have unmet dependencies: libwnck18: Depends: libwnck-common ( 2.19) but 2.20.2-1 is to be installed. Resolving dependencies... The following actions will resolve these dependencies: Keep the following packages at their current version: libwnck-common [2.18.3-1 (now)] Score is 120 Accept this solution? [Y/n/q/?] Y The following packages have been kept back: libwnck-common The following packages will be upgraded: efax-gtk gtkfontsel kaudiocreator kdemultimedia-kio-plugins libbluetooth2 libcdio7 libcpufreq0 libkcddb1 liboro-java libpulse0 libsnmp-base libsnmp15 mbr pmount psmisc python2.4 python2.4-minimal sitecopy sudo systemtap tcputils tellico tellico-data xfm The following partially installed packages will be configured: amarok audacity devhelp eog evince gedit totem totem-common totem-gstreamer totem-mozilla totem-plugins totem-xine The following packages are RECOMMENDED but will NOT be installed: xless 24 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Need to get 14.9MB of archives. After unpacking 299kB will be used. Do you want to continue? [Y/n/?] Y Writing extended state information... Done Get:1 http://debian.mirrors.pair.com testing/main python2.4 2.4.4-7 [2814kB] Get:2 http://debian.mirrors.pair.com testing/main python2.4-minimal 2.4.4-7 [979kB] Get:3 http://debian.mirrors.pair.com testing/main libbluetooth2 3.24-1 [43.2kB] Get:4 http://debian.mirrors.pair.com testing/main efax-gtk 3.0.16-2 [669kB] Get:5 http://debian.mirrors.pair.com testing/main gtkfontsel 1.1-10 [10.1kB] Get:6 http://debian.mirrors.pair.com testing/main libkcddb1 4:3.5.8-1 [144kB] Get:7 http://debian.mirrors.pair.com testing/main kaudiocreator 4:3.5.8-1 [923kB] Get:8 http://debian.mirrors.pair.com testing/main kdemultimedia-kio-plugins 4:3.5.8-1 [180kB] Get:9 http://debian.mirrors.pair.com testing/main libcdio7 0.78.2+dfsg1-2 [142kB] Get:10 http://debian.mirrors.pair.com testing/main libcpufreq0 002-7 [11.6kB] Get:11 http://debian.mirrors.pair.com testing/main liboro-java 2.0.8a-4 [69.1kB] Get:12 http://debian.mirrors.pair.com testing/main libpulse0 0.9.8-2 [179kB] Get:13 http://debian.mirrors.pair.com testing/main libsnmp-base 5.4.1~dfsg-5 [1368kB] Get:14 http://debian.mirrors.pair.com testing/main libsnmp15 5.4.1~dfsg-5 [2038kB] Get:15 http://debian.mirrors.pair.com testing/main mbr 1.1.10-1 [22.8kB] Get:16 http://debian.mirrors.pair.com testing/main pmount 0.9.17-1 [100kB] Get:17 http://debian.mirrors.pair.com testing/main psmisc 22.6-1 [84.7kB] Get:18 http://debian.mirrors.pair.com testing/main sudo 1.6.9p10-1 [172kB] Get:19 http://debian.mirrors.pair.com testing/main systemtap 0.0.20071229-1 [746kB] Get:20 http://debian.mirrors.pair.com testing/main tcputils 0.6.2-9 [18.8kB] Get:21 http://debian.mirrors.pair.com testing/main tellico 1.2.14-1 [834kB] Get:22 http://debian.mirrors.pair.com testing/main tellico-data 1.2.14-1 [3060kB] Get:23 http://debian.mirrors.pair.com testing/main xfm 1.5.3-1 [188kB] Get:24 http://debian.mirrors.pair.com testing/main sitecopy 1:0.16.3-14 [137kB] Fetched 14.9MB in 44m26s (5600B/s) (Reading database ... 307982 files and directories currently installed.) Preparing to replace python2.4 2.4.4-6 (using .../python2.4_2.4.4-7_i386.deb) ... Unpacking replacement python2.4 ... Preparing to replace python2.4-minimal 2.4.4-6 (using .../python2.4-minimal_2.4.4-7_i386.deb) ... Unpacking replacement python2.4-minimal ... Preparing to replace libbluetooth2 3.22-1 (using .../libbluetooth2_3.24-1_i386.deb) ... Unpacking replacement libbluetooth2 ... Preparing to replace efax-gtk 3.0.16-1 (using .../efax-gtk_3.0.16-2_i386.deb) ... Unpacking replacement efax-gtk ... Preparing to replace gtkfontsel 1.1-9 (using
Re: Re: Unexpected irq trap when booting
user names - Get easy, one-click access to your favorites. Make Yahoo! your homepage.
Re: font problem - please help!
On 8/8/07, Jonathan Kaye [EMAIL PROTECTED] wrote: Hi Zach, I had a look at your xorg.conf file that you pasted up and I'm not surprised you're having font problems. There's nothing in the fonts section of your config file. You have: I'd say you're definitely missing something. Someone said the new version of the X.Org xserver no longer puts the Font lines in the xorg.conf file. I wonder where it puts them? I just remember one of the packages that it upgraded was xserver-xorg yet it didn't show anything on stdout indicating it was changing font directors or anything! Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: font problem - please help!
On 8/8/07, Mumia W.. [EMAIL PROTECTED] wrote: I read your long post at break-neck speed with 20% comprehension, so forgive me if I got this wrong, but you claimed that you removed some of the font paths. To me it looks like you removed all of them, or perhaps a bug in the configuration script left them out. Hi Mumia, When the xserver-xorg package was upgraded it seems to have removed them. Someone said the new version of X.Org does this. I suggest putting the font paths back. Your best bet is to shutdown X and reconfigure the X server: mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak # create backup /etc/init.d/gdm stop # (I'm assuming gdm. Correct for {x,k}dm.) dpkg-reconfigure xserver-xorg The above should result in a completely new xorg.conf. Check that the required font paths are in the Files section of your xorg.conf file. When you get back into X, if the fonts are still screwy, use an X terminal to save the output of this to a file: Yes I use gdm. I did what you said and the newly generated xorg.conf has no Font stuff in it. So I started X and again same font problem. So then I manually added in the font lines and I even put the 75dpi one at as the top line but still the problem doesn't go away. xset q xlsfonts The first command shows X settings, and the second one shows the fonts that X recognizes. This information helps in debugging the problem. Ok here is that output: http://pastebin.ca/650819 Submitting your post by linking to a pastebin...interesting. While pastebin-ing the xorg.conf is appropriate, it's better to put the text describing the problem in the e-mail you send to the list. Heh, ok. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: font problem - please help!
On 8/8/07, Florian Kulzer [EMAIL PROTECTED] wrote: Version 7.2 of Xorg includes the default font paths automatically now, so most of these lines are not needed anymore in the Files section of xorg.conf: I checked apt-cache for xserver-xorg and you're right I have Version: 1:7.2-5. So where does the xserver keep the list of fonts to use and where is this file? Can I edit it or would that mess up debconf? I already tried putting the 75dpi font I wanted as the first line but my font still don't look how they did before I upgraded the xserver-xorg package. When I do ps I see: root 2371 0.0 0.5 3584 1380 ?Ss Aug08 0:00 /usr/bin/xfs -daemon root 2545 6.1 8.1 27344 20812 tty9 Ss+ Aug08 15:20 /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt9 I remember in the past seeing the font paths listed in one of the processes but I don't see that anymore. Is there a command to show exactly what font the system is using for my desktop applications (emacs, firefox, gnome-terminal)? My desktop is still running at 1024x768 and the set of GNOME icons and the start button (I use fvwm2) and taskbar and clock look exactly the same dimensions, but when I startup emacs it is definitely significantly smaller, firefox starts up the same dimensions but the fonts in it appear like 200% smaller than before! And all applications I start up on the desktop have a noticebaly thinner titlebar as well as the fonts inside the titlebar are thinner. And the gnome-terminals start up like 25% smaller dimensions and the fonts are much smaller than before. So how can I get my fonts back to how they were? This is a laptop machine (Dell C600) and my xorg.conf is using the ATI video driver, I have a: VGA compatible controller: ATI Technologies Inc Rage Mobility M3 AGP 2x. And I only have 2 video modes in my xorg.conf 1024x768 and 800x600, I switched video mode into 800x600 and confirmed I am definitely running 1024x768. (This is from my /var/log/Xorg.0.log; I reformatted the long line to make it more easily readable.) Here is my Xorg.0.log: http://pastebin.ca/650829 As you can see at the top of the log where it sets font paths there are some errors, it is trying to load the 100dpi fonts but I purged that package from my system so obviously the font listing it has is outdated. How can I update it? I don't have a Xorg.0.log from when the fonts were working (wish it archived more than just 1 revision) but I do have a log from when I used the XFree86 xserver for this machine. Here is the XFree86.0.log: http://pastebin.ca/650833 Zach, since you have problems with the sizes of both fonts and entire windows I suspect that your Xorg is currently working with a wrong resolution setting, maybe due to a graphics driver update. (It could also be that the resolution setting was wrong earlier and you set your application font preferences and default window sizes for this wrong configuration...) I know my max screen resolution is 1024x768 cause the laptop specs said so. And the desktop looks exactly like it did before I upgraded the xserver-xorg package except for when I start up applications and they appear with smaller fonts and sometimes smaller window dimensions. Is there a command that will display what resolution the X server is using? I'm like 95% certain it is using 1024x768. This is what I've always used, even back when I ran XFree86 on this machine. I think the best approach is to put the real physical dimensions of your screen into the Monitor section of your xorg.conf: DisplaySize width height (Width and height are given as dimensionless numbers and are understood to be in millimeters; see man xorg.conf for details.) My laptop LCD is 11.25 (285.75mm) width x 8.4375 (214.312mm) height Then you can restart X and check if the settings are correct now: $ egrep 'physical|dimensions|DPI' /var/log/Xorg.0.log (**) intel(0): Display dimensions: (340, 270) mm (**) intel(0): DPI set to (95, 120) (II) intel(0): Setting screen physical size to 338 x 270 Ok I will do that as my next task and let you know the results. The DPI (dots per inch) values should correspond to the number of pixels in horizontal (vertical) direction divided by the width (height) of the display. (Give-or-take 1-2 millimeters is fine; 1 inch = 25.4 mm.) The first DPI value (horizontal) is more critical for the font rendering than the second one. Ah but I see 2 DPI values above, how is each one calculated? What is the relation between DPI and screen resolution (ie 1024x768)? I thought DPI was dependent on the type of screen/monitor you had. How do I find out the correct DPI for my laptop's LCD? I know my screen can't do more than 24 bits per pixel color depth. Another thing to check is the Xft.dpi setting in the X resource database: $ xrdb -query | grep Xft Xft.antialias: 1 Xft.dpi:96 Xft.hinting:1 Xft.hintstyle: hintfull Xft.rgba: none You can change the setting
Re: font problem - please help!
On 8/9/07, Jonathan Kaye [EMAIL PROTECTED] wrote: Well there's one quick way to find out. Assuming you have the correct font packages installed, then just add the font directories in my or Mumia's xorg.conf files that we've posted on this thread. Stop and restart your xserver. If the problem goes away then that's the solution. If it doesn't, then that wasn't the problem. OK I will try to add your font lines to my /etc/X11/xorg.conf even though someone said in version 7.2, which I have, it no longer keeps fonts directors listed in there. I wonder where it does keep them? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
need help with fonts in Debian testing after upgrade
i did an upgrade last night and also installed some new packages and now my fonts aren't correct, i checked in gnome-terminal and firefox and emacs and the fonts are appearing too small and even the window dimensions of gnome-terminal and emacs is too small now when they open! it has even affected my gmail when i open it now everything is too small and is readable but strains my eyes :( and i did NOT change firefox settings in any way so it must be the system wide X fonts. i never had this problem in the past and apt did NOT ask or inform me it would be changing fonts, or changing X in any way. i use X.Org, 4 months ago I switched to it from XFree86 when i upgraded my testing release. i had no problems until now. i did dpkg-reconfigure xserver-xorg and that didn't help, i even removed the 100dpi font lines from /etx/X11/xorg.conf and /etc/X11/Xfree8 i looked in /var/log/dpkg.log to see what packages were updated last night and these looked relevant: xfonts-base xfonts-100dpi xfonts-75dpi xfonts-encodings also i have: /usr/lib/X11/fonts - ../../X11R6/lib/X11/fonts/ (symlink) i have attached 2 files, my current xorg.conf and one from several months ago when i know it was working i'd really appreciate any help, i want my gnome-terminal and emacs to open at normal size and i want my fonts in all programs running in X to go back to their normal (larger) font size which doesn't strain my eyes. regards, zach xorg.conf Description: Binary data xorg.conf.20070412022748 Description: Binary data
font problem - please help!
I'm having a font problem, can someone take a look at my paste: http://pastebin.ca/649456 Thanks, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
dist-upgrade problem
I routinely run apt-get upgrade and apt-get dist-upgrade to keep my packages up to date, well when I went to do a dist-upgrade today it wants to install many texlive-* packages, yet i don't have texlive installed and i don't want it installed ! i use tetex for my tex/latex needs and don't want to install another tex distribution. why is dist-upgrade wanting to install these packages? how can i tell it to NOT install them? i run testing release and 2.6.18 kernel. regards, zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem
On 7/8/07, Jonathan Kaye [EMAIL PROTECTED] wrote: Hi Zach, It might be a better idea to run aptitude (or apt-get) upgrade rather than dist-upgrade as a matter of routine. I think you will avoid these kinds of problems this way. Cheers, Jonathan Hi Jonathan, Ok, I'm curious though 1) why it wants to install all the texlive-* packages when I don't even have texlive installed and 2) how i could force it to not install these during the dist-upgrade? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem
On 7/8/07, Graham Williams [EMAIL PROTECTED] wrote: tetex no longer exists (except historically) and to automatically and seamlessly Hi Graham, Wow, this is news to me. What happened the project was going strong just 1-2 years ago. Did all the developers suddenly abandon it? How strange. transition people to the new TeX (texlive) the tetex packages are probably empty packages depending on texlive. Thus apt-get is trying to upgrade you. Unless you have a specific reason to stay with tetex, might be best to just go with the flow. My observation is that the transition, left to apt-get, works just fine. Ok and will all my commands like tex, latex, texmf, latex2html still work the same with texlive? dist-upgrade says it needs to download 256MB and I am on dialup modem :( Most of this seems to be texlive-* packages so it seems much bigger than tetex, there is also some gnome upgrades. BTW since texlive-* is replacing tetex why didn't apt say The following packages will be removed: texlive-*? Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
need good file explorer
I am looking for a Debian package which will provide nice functionality equivalent to the MS Windows (file) Explorer (not Internet Explorer!) which lets you quickly view all directories and files on your filesystem in a tree structure and allows quickly moving/renaming/deleting files using the mouse. I have not found anything in comparable functionality and speed. I tried Konqueror but it was massively bloated (installed lots of big KDE libs) and the response time seems much worse than MS Windows file explorer program. I need something lightweight and fast. Hope someone knows of any such program(s). I run Debian testing but if something is not packaged I can always compile and install in /usr/local. Regards, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem
On 7/8/07, Daniel Burrows [EMAIL PROTECTED] wrote: upgrade is extremely conservative and will bail if it encounters even something as trivial as a new dependency that needs to be installed. dist-upgrade is a much better alternative if you're tracking unstable or testing; with upgrade, many of your packages will simply refuse to upgrade. Thanks Daniel, yes I do track testing so I will use dist-upgrade from now on! Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem
On 7/8/07, Jonathan Kaye [EMAIL PROTECTED] wrote: Just today I wanted to upgrade amarok to 1.4.6 and as a result installed newer versions of a couple of other packages. That certainly unblocked things because when I did my normal upgrade I had 193 upgrades to make. I take this to be normal. If I'm in a rush for a newer version (as today) I can alt-pin it or How do you alt-pin? I've seen this before where I wanted to upgrade just one package but `apt-get upgrade` would install many. It would be cool to only upgrde what I wanted at the time. Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: need good file explorer
On 7/8/07, Jonathan Kaye [EMAIL PROTECTED] wrote: Hi Zach, Krusader? Dolphin? gnome midnight commander (really mean and lean)? Cheers, Krusader sounds like KDE app, I run GNOME and eschew KDE apps since they tend to be bloated and require many libraries :) But thanks I will try Dolphin and midnight commander in apt-cache search ! Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: need good file explorer
On 7/8/07, Mathias Brodala [EMAIL PROTECTED] wrote: You definitely should have a look at Thunar; it's one of the fastest file managers I've ever seen. Hi Mathias, Ok I will try it - thanks! BTW do you need to run Xfce desktop to use it? Regards, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem
On 7/8/07, Jonathan Kaye [EMAIL PROTECTED] wrote: 1. In your /etc/apt folder create a file called preferences which looks something like this Package: * Pin: release o=Debian,a=unstable Pin-Priority: 600 Package: * Pin: release o=Debian,a=testing Pin-Priority: 650 What do the numbers represent? Do I need to add the first entry which has a=unstable even though I run testing? 2. If you want something from Sid (unstable) then do this: aptitude -t unstable install name of package you want from Sid What if I want to do it in testing not unstable? I run only testing (lenny?) That's it. aptitude (apt-get) will default to testing unless you specify otherwise. Ah, but I don't use aptitude I just use apt-get on command line. :-) Thanks, Zach -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]