Re: [gentoo-user] Has MySQL become compulsory?
Alan McKinnon wrote on 25/10/09 01:38: Oh please, grow up, get a life and stop sounding like a spoilt brat. Thank you for this constructive and original comment. Just as useful as your other postings on this thread.
Re: [gentoo-user] Has MySQL become compulsory?
Neil Bothwick wrote on 25/10/09 00:51: I suppose you're also in favour of McDonalds putting Warning, contents may be hot notices of their coffee cups? Off topic?
Re: [gentoo-user] Has MySQL become compulsory?
Neil Bothwick wrote on 24/10/09 09:53: On Sat, 24 Oct 2009 02:02:16 +0200, Dave Jones wrote: Alan, thank you for your 'RTFM' reply. which is utterly useless either to me or any other follower of the gentoo-user mail group. Seeing as how this has been discussed in the last two days, I don't see how Alan's advice is useless. The question has been asked and people have taken the time and trouble to answer it. Why should they do it again when you could just as easily find the previous answer yourself. Another 'RTFM' message, thanks. I'll answer my own question, including detail which may be useful to other users: emerge PyQt with USE=webkit sql I had installed a few kde-meta packages rather than the full kde-meta. eix -I kde | grep meta list your installed kde-meta packages Add the kde4 versions of those meta packages to package.mask: (Sample) package.mask to mask kde4: =kde-base/kdeaddons-meta-4* =kde-base/kdeadmin-meta-4* =kde-base/kdeartwork-meta-4* =kde-base/kdebase-meta-4* =kde-base/kdemultimedia-meta-4* =kde-base/kdeutils-meta-4* # Mask non-meta kde installed package: =kde-base/kdenetwork-filesharing-4* # Requires kdelibs-4, mask =media-video/kmplayer-0.11* # Required by kde4, requires mysql by default. app-office/akonadi-server
Re: [gentoo-user] Has MySQL become compulsory?
Alan McKinnon wrote on 24/10/09 22:18: Why should they do it again when you could just as easily find the previous answer yourself. I'll answer my own question, including detail which may be useful to other users It's only useless so you since you have not done the usual research yourself yet; and it will continue to be useless until you do so. How presumptuous of you to say so. Has the gentoo-user group become the resource of last-resort? Has gentoo-user become restricted, to be used only when all other avenues of exploration have been exhausted? If that is so, then shame on me, I must have missed that announcement too. I'm sorry you found my answer less than informative and perhaps even somewhat insulting, obviously I worded it incorrectly. But you see, your aw gawd, an 'RTFM' answer... is the identical reaction to my original aw gawd, a 'do my homework for me' question. Ponder that a little. Your RTFM reply arrived 14 minutes after my question. It clearly showed that you were aware of the answer to my question. A reference to any of the relevant threads would have been very helpful, and would have been much appreciated. However, an answer which merely states that the question has already been answered, but lacking any further reference to the existing answer is utterly worthless. Please consider the futility of uninformative answers to questions. Do you seriously believe that a question can only ever be posed (and answered) once? You are entirely free to chose whether you answer a question or not. However, if you don't want to answer in a helpful manner, it would be better to leave the question unanswered. Should you wish to discuss this further, feel free to contact me off-list.
[gentoo-user] Has MySQL become compulsory?
Hi Ran an eix-sync followed by an emerge -puDNv world. It reported that my 'profile' was no longer supported, and suggested switching to the 'default/linux/x86/10.0/desktop', which I did. Retried the emerge -puDNv world, with the following result: emerge: there are no ebuilds built with USE flags to satisfy =x11-libs/qt-sql-4.5.0:4[mysql]. !!! One of the following packages is required to complete your request: - x11-libs/qt-sql-4.5.2 (Change USE: +mysql) (dependency required by app-office/akonadi-server-1.2.1 [ebuild]) (dependency required by kde-base/kdepimlibs-4.3.1 [ebuild]) (dependency required by kde-base/kdnssd-4.3.1 [ebuild]) (dependency required by kde-base/kcontrol-4.3.1 [ebuild]) (dependency required by kde-base/kdebase-meta-4.3.1 [ebuild]) (dependency required by world [argument]) Result of 'eix x11-libs/qt-sql' : [I] x11-libs/qt-sql Available versions: (4) 4.4.2 4.4.2-r1 4.5.1 4.5.2 ~4.5.3 {debug firebird iconv mysql odbc pch postgres qt3support sqlite} Installed versions: 4.5.2(4)(20:32:44 10/10/09)(iconv qt3support sqlite -debug -firebird -mysql -odbc -pch -postgres) I do not want either mysql or KDE4 on my 'stable' desktop host. Any ideas what's happening? Or how to fix it without installing mysql? Cheers, Dave
Re: [gentoo-user] Has MySQL become compulsory?
Alan McKinnon wrote on 24/10/09 01:39: On Saturday 24 October 2009 01:25:44 Dave Jones wrote: Ran an eix-sync followed by an emerge -puDNv world. It reported that my 'profile' was no longer supported, and suggested switching to the 'default/linux/x86/10.0/desktop', which I did. Retried the emerge -puDNv world, with the following result: emerge: there are no ebuilds built with USE flags to satisfy =x11-libs/qt-sql-4.5.0:4[mysql]. !!! One of the following packages is required to complete your request: - x11-libs/qt-sql-4.5.2 (Change USE: +mysql) (dependency required by app-office/akonadi-server-1.2.1 [ebuild]) (dependency required by kde-base/kdepimlibs-4.3.1 [ebuild]) (dependency required by kde-base/kdnssd-4.3.1 [ebuild]) (dependency required by kde-base/kcontrol-4.3.1 [ebuild]) (dependency required by kde-base/kdebase-meta-4.3.1 [ebuild]) (dependency required by world [argument]) Result of 'eix x11-libs/qt-sql' : I do not want either mysql or KDE4 on my 'stable' desktop host. Any ideas what's happening? Or how to fix it without installing mysql? This has been hashed to death many many many many times in recent weeks. Just like the KDE upgrade before that, and the libxcb thing, xorg-1.6, and dbus/hal. Please search the mail archives. Or read your elogs, it's all in there. Alan, thank you for your 'RTFM' reply. which is utterly useless either to me or any other follower of the gentoo-user mail group. My question concerns an apparent new requirement for mysql. Your asides about xorg-1.6, libxcb, dbus/hal do not seem to be relevant in any way. Any (helpful) takers out there? Cheers, Dave
Re: [gentoo-user] Re: cannot configure native vmware tools
Nikos Chantziaras wrote on 21/10/09 22:45: why? is it because i am using genkernel, or the kernel source is patched by gentoo? Don't use that tool. Instead, just emerge app-emulation/vmware-modules. Isn't that for having Gentoo as host OS only? (As opposed to running Gentoo as a guest inside another OS.) No. It works fine with other operating systems too.
Re: [gentoo-user] Re: cannot configure native vmware tools
Dave Jones wrote on 21/10/09 23:07: Nikos Chantziaras wrote on 21/10/09 22:45: Don't use that tool. Instead, just emerge app-emulation/vmware-modules. Isn't that for having Gentoo as host OS only? (As opposed to running Gentoo as a guest inside another OS.) No. It works fine with other operating systems too. Oops. Extract foot from mouth. Of course emerging vmware-modules is for Gentoo host only. Guests using other operating systems are fine once you've emerge'd the host modules.
Re: [gentoo-user] Yahoo Messenger replacement
Hi Matt, Matt Harrison wrote on 03/08/09 17:19: I've recently needed to communicate with some people using Yahoo Messenger. It's not ideal but i'm unable to migrate them to something more open. I've got it working fine on my windows machine at work, but unfortunately I'm unable to get it working on my gentoo laptop. I've so far tried Pidgin, which seems to hang eternally when I try to connect, and I've tried looking for alternatives such as ymessenger but it seems they have been retired from portage. Does anyone have any advice on this subject? At the moment I'm having to VNC into my desktop machine just to use messenger when I'm out and about. Installing Pidgin 2.5.8 fixed the hanging session initiation problems caused by recent Yahoo network changes. Cheers, Dave
Re: [gentoo-user] OpenOffice 3.0.0 with dead keys
Jim Cunning wrote on 08/05/09 06:49: I´m trying to get OpenOffice 3.0.0 to recognize and enter French accented characters (e.g., ´ + e or ^ + a , etc.) I´ve set up KDE keyboard layouts and can get the proper characters displayed on console, xterm, kmail and other windows, but the dead key combinations in OpenOffice are simply dead--no characters produced at all. When switching back to the US layout without dead keys, the same key presses to OpenOffice produce two characters, as one would expect. I do this all the time with OpenOffice on my laptop with openSUSE 10.3. Is there something I´ve not setup correctly on my gentoo system? Did you remember to compile OpenOffice with LINGUAS=fr? May be something to consider adding to your make.conf to get around language/localization issues. I'm not sure that's what I need. I would like OpenOffice to be in English, not French, but do want to be able to enter accented characters as used in French, German, etc., when I select the us-intl keyboard layout. Using KDE 3.5.9, OOo 3.0.0 USE='cups dbus gtk java kde ldap linguas_en linguas_en_GB nsplugin opengl pam' International keyboard support changed recently with the upgrade to xorg 1.5.3 with evdev. Before the xorg upgrade, I had the international keyboard layout specified in my xorg.conf: Section InputDevice Identifier Keyboard0 Driver kbd Option XkbLayout us_intl # Enable accents EndSection If you're using the (default) evdev interface you should comment out the old style input devices for your keyboard and mouse in xorg.conf. Since implementing xorg 1.5.3 with evdev, I use the KDE keyboard tool to change the keyboard layout 'on the fly'. In KDE I've set up my keyboard as a generic 105 key international, with two layouts: US and US International. With the keyboard set to US International using KDE keyboard tool, the deadkey combinations produce accented characters as expected. Hope this helps. Cheers, Dave
Re: [gentoo-user] SSH login with both key AND password?
Paul Hartman wrote on 08/01/09 00:28: Hi, Normally I'm using SSH with regular password login, and I've read about generating a keypair and having a password-less connection that way. Is there a way to require both the key AND a password? Basically if I put the key in my SSH client at work, I don't want a co-worker to be able to login to my home PC, or someone to grab my phone, etc. Is there a way to put a passphrase on the key (seperate from my user account password)? Maybe that would work... Otherwise I've thought about having a dummy SSH account and then su - realuser to get access, but that seems kind of messy. I've always used password login and IP-restricted it, but now I'm traveling more and never know what IP I might be connecting from, so using a key seems to be the best plan, or maybesome kind of portknocking (but that's difficult from restricted ssh environments such as a phone). By default ssh-keygen creates a key pair with a passphrase. It's your choice to enter or omit a passphrase. If you've generated a key without a passphrase, you can add a passphrase using ssh-keygen -p Entering a passphrase encrypts the private part of the key, which you keep only on the server. You only need the public part of the key on the client. Cheers, Dave
Re: [gentoo-user] Re: SSH login with both key AND password?
Norberto Bensa wrote on 08/01/09 01:11: On Wednesday January 7 2009 22:01:14 Paul Hartman wrote: I guess I should have tried before asking! Every HOWTO/tutorial I googled seemed to really emphasize the no more password entry! aspect of key login. Thanks. That's right: no more password logins. However, you should (optionaly) lock your key with a passphrase. You can use ssh-agent if you want to do a (one-time) unlock of a passphrase-protected key pair. `eval ssh-agent` will do the trick nicely, assuming you're on a *nix client. Cheers, Dave
Re: [gentoo-user] Buying a low-cost printer for Linux
KH wrote on 04/12/08 19:47: I have been told not to touch the Samsung drivers. I am using net-print/foo2zjs. foo2zjs works well with the cheap HP CLJ1600 laser printer. Cheap, fast, no more expensive dried-up inkjet cartridges, good deal. Cheers, Dave
Re: [gentoo-user] Audacious annoyance (special chars)
darren kirby wrote on 04/12/08 23:32: I've just noticed that my audacious will not play songs with special characters in the filename (ie: acute and grave accents, umlauts, cedillas etc) no matter how I try. Needless to say, this is very annoying as I have a lot of 'world music' that uses such characters. Version is 1.5.1-r1, USE flags are: 'chardet nls session sse2' The same audacious version played Jethro Tull Bourée and Animalée tracks fine here. My USE flags are 'nls session sse2' Cheers, Dave
Re: [gentoo-user] Update the clock using internet servers: recommendations
Hi Damian, damian wrote on 24/11/08 21:01: In the past I've used htpdate to synchronize my computer's clock. But I would like to know what daemon would you recommend me. I'm searching for a lightweight option. ntp is a 'standard' ntp set-up. It needs some configuration work to get it running properly, though it works more or less 'out of the box'. openntpd is a simplified ntp. It is very easy to set up, but has less possibilities than the 'standard' ntp. Both packages are lightweight, with very low system overhead. Cheers, Dave
Re: [gentoo-user] Hoe to stop em8300-modulesinstalling?
Hi, Dale wrote on 20/11/08 02:40: William Kenworthy wrote: An emerge world wants to install em8300-modules which according to equery is caused by sys-kernel/gentoo-sources-2.6.27-r3 which is installed but not in use - yet. As em8300 wont build, and I dont have a one (I presume its a video chip-set??) I dont want to fuss with it, so how do I stop world trying to install it? Is there a USE flag that is causing gentoo-sources to pull it in? That's all I can think of unless there is a roach in the works somewhere. If you are new to Gentoo, add the -v option to emerge so it will show the USE flags and other info that may shed some light. Removing the USE=dxr3 flag seemed to work for me. Cheers, Dave
Re: [gentoo-user] udevinfo - where is it
Helmut Jarausch wrote on 23/10/08 12:29: I have a recent GenToo system (udev-130-r1) but I cannot find the utility 'udevinfo' Which package contains it? sys-fs/udev
Re: [gentoo-user] sys-libs/db-4.5.20_p2-r1 fails before compile starts
Hi Dennis Denis wrote on 22/09/08 22:48: Could you help me decipher what I need to do in order to get this to compile? Here is the message on emerge: = Traceback (most recent call last): File /usr/bin/depend-java-query, line 8, in module from java_config_2 import __version__ ImportError: No module named java_config_2 * Unable to determine VM for building from dependencies: NV_DEPEND: tcl? ( =dev-lang/tcl-8.4 ) java? ( =virtual/jdk-1.4 ) =sys-devel/binutils-2.16.1 test? ( =dev-lang/tcl-8.4 ) java? ( =dev-java/java-config-2.0.33-r1 =sys-apps/portage-2.1.2.7 ) =sys-devel/automake-1.10* =sys-devel/autoconf-2.61 sys-devel/libtool VNEED: * * ERROR: sys-libs/db-4.5.20_p2-r1 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * ebuild.sh, line 1244: Called java-pkg-opt-2_pkg_setup * java-pkg-opt-2.eclass, line 44: Called java-pkg_init * java-utils-2.eclass, line 2090: Called java-pkg_switch-vm * java-utils-2.eclass, line 2516: Called die * The specific snippet of code: * die Failed to determine VM for building. * The die message: * Failed to determine VM for building. * === Run python-updater. Cheers, Dave
Re: [gentoo-user] Two apps can't find Java VM
Hi Darren darren kirby wrote on 25/08/08 23:29: Hello all, Checked bugzy but I cannot find anything relevant. I have two apps here, icu4j-3.8.1-r1 and xpp3-1.1.4c-r1 which are both failing upon world updates with similar messages: * checking icu4j-3_8_1-src.jar ;-) ... [ ok ] Traceback (most recent call last): File /usr/bin/depend-java-query, line 8, in module from java_config_2 import __version__ ImportError: No module named java_config_2 * Unable to determine VM for building from dependencies: NV_DEPEND: test? ( || ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) ) !test? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* ) ) and: * checking xpp3-1.1.4c_src.zip ;-) ... [ ok ] Traceback (most recent call last): File /usr/bin/depend-java-query, line 8, in module from java_config_2 import __version__ ImportError: No module named java_config_2 * Unable to determine VM for building from dependencies: NV_DEPEND: =virtual/jdk-1.4 app-arch/unzip test? ( dev-java/ant-junit ) =dev-java/java-config-2.0.33-r1 =sys-apps/portage-2.1.2.7 source? ( app-arch/zip ) =dev-java/javatoolkit-0.2.0-r1 =sys-apps/portage-2.1.2.7 =dev-java/ant-core-1.7.0 'eselect java-vm list' reports: Available Java Virtual Machines: [1] sun-jdk-1.5 [2] sun-jdk-1.6 system-vm Which should satisfy the above tests shouldn't it? Is there something I am missing here? Please note that I am fairly clueless about Java, and have no idea what these two packages even do. I am just trying to do a 'emerge -uD world' and portage seems to want to update both of them Thanks for consideration, -d As illogical as this may sound, you probably need to run python-updater to fix this problem. Cheers, Dave
Re: [gentoo-user] Java configuration is hosed
Hi Kevin Kevin O'Gorman wrote on 22/07/08 18:51: I cannot emerge the latest xulrunner, but the root cause appears to be my Java configuration. I haven't touched it in ages, so I have no idea how this happened. The evidence: treat ~ # eselect java-vm list Available Java Virtual Machines: [1] sun-jdk-1.4 [2] sun-jdk-1.6 system-vm treat ~ # So far so good, but treat ~ # java-config --list-available-vms Traceback (most recent call last): File /usr/bin/java-config-2, line 8, in module from java_config_2 import __version__ ImportError: No module named java_config_2 treat ~ # Which seems to mean there should be a file /usr/bin/java-config-2, but there is not. Where should it come from? I had the same problem yesterday, ran python-updater to fix it. That did an awful lot of re-compiling (including OpenOffice), but it worked for me. Cheers, Dave
Re: [gentoo-user] Java configuration is hosed
Hi Kevin, Kevin O'Gorman wrote on 22/07/08 20:03: On Tue, Jul 22, 2008 at 10:34 AM, Dave Jones [EMAIL PROTECTED] wrote: Kevin O'Gorman wrote on 22/07/08 18:51: I cannot emerge the latest xulrunner, but the root cause appears to be my Java configuration. I haven't touched it in ages, so I have no idea how this happened. So far so good, but treat ~ # java-config --list-available-vms Traceback (most recent call last): File /usr/bin/java-config-2, line 8, in module from java_config_2 import __version__ ImportError: No module named java_config_2 treat ~ # Which seems to mean there should be a file /usr/bin/java-config-2, but there is not. Where should it come from? I had the same problem yesterday, ran python-updater to fix it. That did an awful lot of re-compiling (including OpenOffice), but it worked for me. Yeah, thanks. I tried running elogviewer to look for things like this and that was broken too, but at least elogviewer was kind enough to diagnose its own problem and suggest python-updater to fix it. So I've been running that for a few hours. You mail at least gives me some hope that the fix is in... java_config_2 was installed with python 2.5, which itself was installed yesterday with an emerge -auDv world I found java_config_2 in /usr/lib/python2.5/site-packages/java_config_2/ Having noticed the new python version, I ran python-updater. Since then, it's fine. Cheers, Dave
Re: [gentoo-user] Anyone else's Gentoo unruly lately?
Alan McKinnon wrote on 28/06/08 08:54: The ~x86 branch seems to have settled into not-so-cutting-edge anymore, quite similar to what other distros release - Ubuntu for examples. x86 seems to be taking it's lead lately from Debian :-) Would it were so! tcp-wrappers bug 158306, opened on 2006-12-13, refers to available Debian source patches. The Debian patches, which enable CIDR notation in tcp-wrappers, have still not been applied to the current ebuild. The last 'news' in the bug was dated 2007-05-28. Yes, 2007, not a typo. Worse still is that bug 16091, closed on 2003-08-15, claims that the current Gentoo tcp-wrappers ebuild supports DNS. However, it does not work correctly, either with or without the ipv6 use flag enabled. Tcp-wrappers using DNS works under other distributions; the problem is definitely not a configuration error in hosts.allow and/or hosts.deny on my Gentoo system. Sadly, Gentoo seems to be slipping way behind other distributions. While bug reports are either being ignored or are being incorrectly closed, this situation will inevitably become worse. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Anyone else's Gentoo unruly lately?
Volker Armin Hemmann wrote on 28/06/08 14:12: so, have you asked to become its maintainer to fix the bugs? Lacking the necessary skills, no. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] OpenRC broke my LVM?
Hi Matt Matt Harrison wrote on 23/04/08 07:05: I've been running a gentoo system as my fileserver without problems for a while. Its using software raid (1+0) with lvm on top, and its been a dream until now. The other day I did an emerge world and had a message about an sqlite ebuild missing from the repository. Well I had other things to do so I thought I'd leave that for now (sqlite isn't critical). Now after a reboot I can't mount my LVM partitions, my raid is working fine, but nothing I can do will discover my lvm partitions or volumes. If i try to manually start the lvm service, I get the message about it being written for baselayout-2 and not being suitable for baselayout-1. I've managed to find some info about the OpenRC and baselayout-2 change, however nothing seems to apply to my situation, and I certainly never meant to do an upgrade that would make such a serious change. Is there some way I can recover my system without having to re-install? I've got a lot of data that I would cry if i lost, although I think the data is ok...I'm just really confused about this baselayout-2 change. Because all my partitions (except root and boot) are on LVM, I can't get to see if i accidentally installed something wrong, and I can't even try to re-emerge lvm etc. Any tips would be greately appreciated. Add lvm to your boot run level for baselayout-2: rc-update add lvm boot Cheers, Dave -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] OT - Finding the port NFS runs on
Etaoin Shrdlu wrote on 14/03/08 09:38: On Friday 14 March 2008, Michael Sullivan wrote: How can I find out what port NFS is running on so I can let it through my subrouter? rpcinfo -p hostname should tell you. Note that you might need to open other ports in addition to those used by nfs itself. In particular, the statd, lockd and mountd daemons usually use random ports, and I don't know whether and how they can be instructed to use fixed port numbers in Gentoo. Refer to this document for more information: http://www.lowth.com/LinWiz/nfs_help.html Modify /etc/conf.d/nfs to setup the ports you want to use: OPTS_RPC_MOUNTD=-p n OPTS_RPC_STATD=-p m -o pp Modify /etc/sysctl.conf to set up the lockd port: fs.nfs.nlm_udpport = xx fs.nfs.nlm_tcpport = xx NFS uses port 2049 as standard, portmap uses port 111 Cheers, Dave -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] gentoo rebuild, cups won't work WORKAROUND (i.e. mysteriously solved)
Kevin O'Gorman wrote on 05/02/08 04:13: hp-setup stubbornly refuses to acknowledge /dev/lp0 I got it to work, but don't really know what was wrong. The drive that held my root directory and all configs had failed. Friday, i got it back from the DiskSavers, along with the data on a new USB external drive. Copying over the cups config files just magically made the printer work locally. I'm still struggling with a host of issues, so I'm going to ignore the fact that I have no idea what keeps my CUPS working. Please check that you have USE=parport enabled for hplip Thanks for the help. I did find that hplip was compiled without the parport flag. Since local printing on the parallel port is now working without it, I wonder what it does? Dale beat me to pointing out that you may have missed the parport USE flag, most likely the cause of the problem. I guess that you've restored your old /etc/hp/hplip.conf, which was probably enough to enable the cups print queue once you restored your /etc/cups directory. The hp-setup in the new hplip probably needs the parport USE flag to determine whether to support parallel port probes. Without the parport USE flag, I guess that it assumes that you're not interested in them. Thanks, and I'll get that info when I have things a bit more stable. Good luck, hope you get your system stabilised soon. Cheers, Dave -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] gentoo rebuild, cups won't work WORKAROUND (i.e. mysteriously solved)
Dale wrote on 05/02/08 22:44: hp-setup stubbornly refuses to acknowledge /dev/lp0 Please check that you have USE=parport enabled for hplip Thanks for the help. I did find that hplip was compiled without the parport flag. Dale beat me to pointing out that you may have missed the parport USE flag, most likely the cause of the problem. Dale has added the USE flag parport to his too. Just in case I ever need it. Mine is not grayed out now either. That should work. Dale, thanks for the pointer, and also for proving that enabling the parport USE flag should cure the problem Kevin experienced. Ain't having all the options neat? Even if you have to recompile things a lot. ;-) It's one of Gentoos' many strong points - *you* choose what *you* want. I enjoy keeping my systems lean and mean, so I turn off options I don't require, rather than including them 'just in case.' That's the beauty of Gentoo: we have choice. To each their own. It's called freedom. Cheers, Dave -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] gentoo rebuild, cups won't work
Kevin O'Gorman wrote on 02/02/08 22:26: I've installed cups and hplip. I cannot follow the Gentoo printing guide, because that worthy document requires me to add hplip to the default runlevel, but hplip does not put anything in /etc/init.d. My printer is an old HP Laserjet 4M, which I usually run as a Postscrpt printer. What have I missed? Run hp-setup You'll probably need to rework your cups config files if you've retained them from the broken install. hp-setup should enable local printing OK. And if it still gives you problems, delete /etc/cups then reemerge cups. I had to do that last part too. The problem is that my printer is on the LPT port (/dev/lp0), and hp-setup does not find it. In fact it has an option for LPT printers, but it is greyed out. The printer is really there: I can print by cat printme /dev/lp0 with a suitably formed printme file (lines need CR, file ends with ^L^D). Hmmm. Digging slightly deeper, I found the /usr/bin/hp-probe program. It lets me specifically request a probe of LPT, but finds nothing there. The printer remains attached. I'm even more deeply stumped than before. Try: hp-setup -i /dev/parport0 See if that helps. Try hp-setup -hfor other options. I take it that your kernel has parallel port support generated, and that you have file permission to access /dev/lp0 ? It runs, but only gives me options for usb and net. This makes some sense since there are no /dev/parport* entries in my system. Nevertheless, I have parallel port support as I understand it. From my kernel (2.6.22-gentoo-r6) .config file: # # Generic Driver Options # CONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=m # CONFIG_SYS_HYPERVISOR is not set # CONFIG_CONNECTOR is not set # CONFIG_MTD is not set CONFIG_PARPORT=yparallel port CONFIG_PARPORT_PC=y PC style # CONFIG_PARPORT_SERIAL is not set # CONFIG_PARPORT_PC_FIFO is not set # CONFIG_PARPORT_PC_SUPERIO is not set # CONFIG_PARPORT_GSC is not set # CONFIG_PARPORT_AX88796 is not set CONFIG_PARPORT_1284=y CONFIG_PNP=y # CONFIG_PNP_DEBUG is not set Your kernel set-up looks reasonable to me. I don't have parallel port support generated into my system, as I don't have a parallel printer. On a Centos host with parallel port support, 2.6.18 kernel: CONFIG_PARPORT=m CONFIG_PARPORT_PC=m CONFIG_PARPORT_SERIAL=m # CONFIG_PARPORT_PC_FIFO is not set # CONFIG_PARPORT_PC_SUPERIO is not set CONFIG_PARPORT_PC_PCMCIA=m CONFIG_PARPORT_NOT_PC=y # CONFIG_PARPORT_GSC is not set # CONFIG_PARPORT_AX88796 is not set CONFIG_PARPORT_1284=y CONFIG_PARIDE_PARPORT=m CONFIG_I2C_PARPORT=m CONFIG_I2C_PARPORT_LIGHT=m ls /dev/par* shows: /dev/par0 /dev/parport0 /dev/parport1 /dev/parport2 /dev/parport3 Do you have a standard parallel port, or a special IO card? Have you modified /etc/udev.d rules? I have these (unmodified) entries: rules.d/50-udev.rules:KERNEL==lp*,NAME=%k, GROUP=lp rules.d/50-udev.rules:KERNEL==parport*, NAME=%k, GROUP=lp I'm puzzled by this, as your /dev/lp0 print test worked. The only other suggestion I have would be to try: hp-setup -i /dev/lp0 Don't know if hp-setup will accept this, might be worth having a go. Cheers, Dave -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] gentoo rebuild, cups won't work WORKAROUND (i.e. mysteriously solved)
Kevin O'Gorman wrote on 04/02/08 00:19: I've installed cups and hplip I cannot follow the Gentoo printing guide, because that worthy document requires me to add hplip to the default runlevel, but hplip does not put anything in /etc/init.d. My printer is an old HP Laserjet 4M, which I usually run as a Postscrpt printer. What have I missed? hp-setup stubbornly refuses to acknowledge /dev/lp0 I got it to work, but don't really know what was wrong. The drive that held my root directory and all configs had failed. Friday, i got it back from the DiskSavers, along with the data on a new USB external drive. Copying over the cups config files just magically made the printer work locally. That's enough for now. I'm still struggling with a host of issues, so I'm going to ignore the fact that I have no idea what keeps my CUPS working. I think I've got cron backing up to that USB drive nightly -- using rsync it takes about an hour for all partitions, unattended. Beats the blazes out of hovering over the DVD drive. And i'm pretty sure I won't end up in the same fix again. But I've still got to get the LPD service going, not to mention apache, vmware, ntp and gaim/pidgin. And I have a day job. I'll get around to it. Real Soon Now. Glad to hear that you're up and running, and thanks for the timely reminder to do a backup! 8-) Please check that you have USE=parport enabled for hplip The contents of /etc/hp/hplip.conf and the output of: hp-check - and - hp-probe -bpar would also be interesting. Cheers, Dave -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] gentoo rebuild, cups won't work
Hi Kevin Kevin O'Gorman wrote on 02/02/08 19:31: I've installed cups and hplip. I cannot follow the Gentoo printing guide, because that worthy document requires me to add hplip to the default runlevel, but hplip does not put anything in /etc/init.d. My printer is an old HP Laserjet 4M, which I usually run as a Postscrpt printer. What have I missed? Run hp-setup You'll probably need to rework your cups config files if you've retained them from the broken install. hp-setup should enable local printing OK. And if it still gives you problems, delete /etc/cups then reemerge cups. I had to do that last part too. The problem is that my printer is on the LPT port (/dev/lp0), and hp-setup does not find it. In fact it has an option for LPT printers, but it is greyed out. The printer is really there: I can print by cat printme /dev/lp0 with a suitably formed printme file (lines need CR, file ends with ^L^D). Hmmm. Digging slightly deeper, I found the /usr/bin/hp-probe program. It lets me specifically request a probe of LPT, but finds nothing there. The printer remains attached. I'm even more deeply stumped than before. Try: hp-setup -i /dev/parport0 See if that helps. Try hp-setup -hfor other options. I take it that your kernel has parallel port support generated, and that you have file permission to access /dev/lp0 ? Cheers, Dave -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] gentoo rebuild, cups won't work
Hi Kevin Kevin O'Gorman wrote on 27/01/08 19:58: I've installed cups and hplip. I cannot follow the Gentoo printing guide, because that worthy document requires me to add hplip to the default runlevel, but hplip does not put anything in /etc/init.d. My printer is an old HP Laserjet 4M, which I usually run as a Postscrpt printer. What have I missed? Run hp-setup You'll probably need to rework your cups config files if you've retained them from the broken install. hp-setup should enable local printing OK. /etc/init.d/hplip is no longer necessary with recent hplip ebuilds. Cheers, Dave -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] possible MBR corruption?
Boyd Stephen Smith Jr. wrote on 27/08/07 22:52: On Monday 27 August 2007, Neil Bothwick [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] possible MBR corruption?': Alternatively, ditch a separate /boot altogether, it really isn't needed with modern hardware. Unless you want to use LVM. Trying to boot a partition which starts above the 160GB BIOS limit won't work either. Grub cannot cope with it. Creating a small boot partition under the 160GB line got the system booted fine. Cheers, Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] gentoo-wiki.com not responding
Bo Ørsted Andresen wrote on 19/08/07 20:43: On Sunday 19 August 2007 20:16:16 Jan Seeger wrote: On planet gentoo, one can read that the cause for the outage was a security issue: http://www.gentoo.org/news/20070814-infrapr.xml No no no.. gentoo-wiki.com like gentoo-portage.com is in no way affiliated with Gentoo. You won't find reasons for those two being down anywhere on gentoo.org. And what you've linkes is news. Not planet. Not sure if this is relevant: when I tried to access gentoo-wiki late Thursday morning, I got error messages about mysql problems at the gentoo-wiki site. Later on that day, the site was down. Cheers, Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Wha' hoppen to firestarter?
Jorge Almeida wrote on 06/06/07 15:59: That helps some, but in net-firewall I'm finding a lot of unstable packages, and no really good idea which ones will be the best for a personal firewall, let alone which ones are best supported upstream so this doesn't happen to me again. So I'm interested in recommendations. What did you switch to? I use fwbuilder. It's a drag and drop iptables front-end which builds firewall scripts. fwbuilder works very well once you've figured out defining and manipulating your firewall objects. The documentation is very sparse. It does miss the immediacy of the firestarter GUI though. Cheers, Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] no images displayed in Konqueror or Gwenview
Hi Garry Garry Smith wrote on 16/04/07 14:50: My Konqueror and Gwenview applications are not displaying images (no thumbnails or images displayed) Gwenview 1.3.1 (Using KDE 3.5.5) What library do I need to be looking at to get png, gif, jpeg support for these two applications? You may need to increase your maximum file size for konqueror image preview. konqueror - settings - configure konqueror - Previews Meta-Data - Maximum file size. I've upped this to 3.6MB on my system to cope with the images from my 7 megapixel digicam. The default maximum file size value is +- 1MB if I remember it right. No idea about Gwenview though, sorry. Cheers, Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] netfilter tarpit target
Hi Daniel Daniel Iliev wrote on 03/04/07 05:13: test ~ # cd /usr/src test src # rm -rf linu* test src # emerge -C gentoo-sources ; emerge gentoo-sources test src # svn co https://svn.netfilter.org/netfilter/trunk/iptables test iptables # cd iptables test iptables # svn update At revision 6786. test src # cd .. test src # svn co https://svn.netfilter.org/netfilter/trunk/patch-o-matic-ng test src # cd patch-o-matic-ng test patch-o-matic-ng # svn update At revision 6786. test patch-o-matic-ng # ./runme TARPIT Hey! KERNEL_DIR is not set. Where is your kernel source directory? [/usr/src/linux] Hey! IPTABLES_DIR is not set. Where is your iptables source code directory? [/usr/src/iptables] Loading patchlet definitions. done Welcome to Patch-o-matic ($Revision: 6736 $)! Kernel: 2.6.19, /usr/src/linux Iptables: 1.3.7, /usr/src/iptables --snip-- - Do you want to apply this patch [N/y/t/f/a/r/b/w/q/?] t Patch TARPIT applies cleanly - Do you want to apply this patch [N/y/t/f/a/r/b/w/q/?] y Excellent! Source trees are ready for compilation. test patch-o-matic-ng # cd /usr/src/linux test linux # make menuconfig test linux # grep tarpit -i .config CONFIG_IP_NF_TARGET_TARPIT=m test linux # make --snip-- Root device is (3, 1) Boot sector 512 bytes. Setup is 4730 bytes. System is 1622 kB Kernel: arch/i386/boot/bzImage is ready (#1) Building modules, stage 2. MODPOST 159 modules WARNING: neigh_hh_output [net/ipv4/netfilter/ipt_TARPIT.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 test linux # Your .runme process ssem sOK, though I usually use ./runme extras to do the kernel updates. I'll try the same as you did here to see if I get the same problem. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to resolve policy conflicts?
Hi Markus Markus Schönhaber wrote on 03/04/07 13:15: Recently there has been a lot of unpleasant noise about conflicts and disagreements among the Gentoo developers. I hope that they will resolve their (mainly political) problems soon. The stories have not been good for the image of Gentoo, either as an organisation or as a distribution. Yep, I was a bit shocked when I read the news about the Code of Conduct on the Gentoo homepage. My first thought was: if a community considers it necessary to decide upon a document that is stating the obvious by essentially saying be respectful to others instead of treating them like shit then there must have been something going badly wrong beforehand. I too was somewhat taken aback when I read the Code of Conduct. However, when I read some of the exchanges between the developers, I understand why a Code of Conduct was imposed. Some of the 'conversations' were unbelievably hostile, rude, insulting and outrageously over-heated. I fully understand that developers are rightly proud of their efforts, and may be sometimes a little over-sensitive to criticism. However, the tone of some of those emails was disrespectful, negative, rude, to the point of being childishly vicious. I'm hardly surprised that Gentoo has recently lost some very talented developers. Before any developer roasts me, I am criticising only the savage tone of those emails, not the people involved in these exchanges. Believe me, as a mere end-user I am more than grateful for the time and effort that the developers have invested in the Gentoo project. This impression of mine may be wrong since I'm not informed about the internals of the Gentoo dev community, but I would bet I'm not the only one who had this - or a similar - impression. Unfortunately, news of developer conflicts has leaked into the public domain. This has encouraged some of the gentlemen of the press to spread rumours that Gentoo is dying. Quite a change from when Gentoo was the darling of the press, just a year or so ago. Let's hope that the developer issues are solved before the rumours about the impending death of Gentoo become reality. Losing Gentoo would be an enormous loss to the Open Source community. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] netfilter tarpit target
Hi Daniel Daniel Iliev wrote on 03/04/07 05:13: Unfortunately I had no luck. Clean kernel, the latest patch-o-matic, the latest iptables and the same result. Obviously gentoo-sources is incompatible with tar pit module. ;-( I just tried your update process and ended up with the same failure. Seems you might be right about the gentoo-sources being incompatible with the tarpit module. Sorry, but I'm fresh out of ideas. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to resolve policy conflicts?
Hi Markus Markus Schönhaber wrote on 02/04/07 02:27: ATM we have the situation where the current stable version of OpenOffice (2.1.0-r1) won't compile (at least on a lot of machines) unless an ~arch version of STLport is installed: http://bugs.gentoo.org/show_bug.cgi?id=172860 Looking at comments 34 and 37 http://bugs.gentoo.org/show_bug.cgi?id=172860#c34 http://bugs.gentoo.org/show_bug.cgi?id=172860#c37 it seems to me there is a conflict in policies but I don't see how this situation should be / will be handled. What is there to do? It seems that we will have to be patient. The various bug reports have been marked resolved or duplicate, but as yet there no sign of an updated STLport in portage - except for the ~arch STLport-5.1.2. Bug #172680 indicates that this ~arch version of STLport resolves the OpenOffice compilation problem. However, I am very reluctant to use an ~arch ebuild to compile such a massive (but apparently delicate) ebuild as OpenOffice. The patches in bug # 172680 mention an STLport-5.1.0-r1, but it has not yet appeared in portage. There is a request # 173175 to stabilise STLport-5.1.2 in bugzilla. Oh well, patience is a virtue. Or so they say. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to resolve policy conflicts?
Hi Marcus Markus Schönhaber wrote on 02/04/07 02:27: ATM we have the situation where the current stable version of OpenOffice (2.1.0-r1) won't compile (at least on a lot of machines) unless an ~arch version of STLport is installed: http://bugs.gentoo.org/show_bug.cgi?id=172860 Looking at comments 34 and 37 http://bugs.gentoo.org/show_bug.cgi?id=172860#c34 http://bugs.gentoo.org/show_bug.cgi?id=172860#c37 it seems to me there is a conflict in policies but I don't see how this situation should be / will be handled. What is there to do? Bug # 172860 has been reopened. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to resolve policy conflicts?
Hi Marcus Markus Schönhaber wrote on 03/04/07 00:13: ATM we have the situation where the current stable version of OpenOffice (2.1.0-r1) won't compile (at least on a lot of machines) unless an ~arch version of STLport is installed: http://bugs.gentoo.org/show_bug.cgi?id=172860 What is there to do? It seems that we will have to be patient. The various bug reports have been marked resolved or duplicate, but as yet there no sign of an updated STLport in portage - except for the ~arch STLport-5.1.2. I'm already running OOo 2.1.0-r1 (having package-keyworded STLport 5.1.2) and, AFAICT, it runs fine. OTOH your reluctance is understandable. But what makes the situation even more delicate as the OOo build seems to be, is that OOo 2.1 contains some security fixes. I've used OOo 2.04 for months, a few days more probably won't hurt much. I was just asking out of curiosity - the bug doesn't hurt me personally. Since although the situation atm is obviously not the way it's meant to be, it's a thing that can happen and propably will happen again eventually. I'm very reluctant to mix stable unstable packages. You're braver than I am; I have back-trouble, a big yellow stripe all the way down it. I was simply curious how this will be handled now and (maybe differently) in the future. But since further comments on the bug seem to imply that there is a lot of discussion on what is to be done, and since I don't have the groundbreaking idea that makes all problems disappear, you're propably right: we will have to be patient... I'm sure that the Gentoo developers are doing their best to resolve the issues. Unfortunately, I'm not talented enough myself to be able to contribute to a speedier solution to the problem. Recently there has been a lot of unpleasant noise about conflicts and disagreements among the Gentoo developers. I hope that they will resolve their (mainly political) problems soon. The stories have not been good for the image of Gentoo, either as an organisation or as a distribution. As it stands, Gentoo continues to be my distro of choice. It would take a lot of grief to make me swap to another distro. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] netfilter tarpit target
Hi Daniel Daniel Iliev wrote on 01/04/07 15:03: Recently I was looking through my logs when I got pissed off (again) by the big number of lines showing something like 'sshd: auth. error: unknown user XXX from some IP address'. I wrote a script which automatically sets all connections from those IP addresses to be dropped. Next I decided to change -j DROP with -j TARPIT and I realized that gentoo-sources doesn't provide the netfilter target TARPIT. My question: what is the best way get this iptables module working w/o diverting too much from the official Gentoo installation. I mean the normal way is to use patch-o-matic to patch iptables source and vanilla kernel source, then build and install. I have the feeling that it is not exactly the right thing to with Gentoo. cd /usr/src svn co https://svn.netfilter.org/netfilter/trunk/patch-o-matic-ng svn co https://svn.netfilter.org/netfilter/trunk/iptables cd patch-o-matic-ng ./runme extra cd /usr/src/linux make menuconfig make make modules_install make install make sure you have USE extensions in your make.conf emerge iptables Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] netfilter tarpit target
Hi Mick, Mick wrote on 01/04/07 20:44: Recently I was looking through my logs when I got pissed off (again) by the big number of lines showing something like 'sshd: auth. error: unknown user XXX from some IP address'. I wrote a script which automatically sets all connections from those IP addresses to be dropped. Next I decided to change -j DROP with -j TARPIT and I realized that gentoo-sources doesn't provide the netfilter target TARPIT. Given that others have already replied how patch the kernel, here's a somewhat indirect answer which may resolve the route cause: Are you using passwd authentication? I wonder if the logs would still be filling up by such botnets if you had allowed only 'PubkeyAuthentication yes'. The other thing to consider is changing the default ssh port 22 to some other random port which is not hit as frequently by botnets, only by more comprehensive port scans. Then remove your iptables LOG rule for port 22 (if you have one) and you should get rid of almost all related messages. Daniel complained about the sshd messages, not iptables messages. I fully agree that he should implement pub/priv key authentication, but even so, that will not prevent the flood of ssh messages in syslog. Adding an unlogged iptables DROP target rule for port 22 will suppress the messages, but not the attacks. The botnet / script kiddie morons are a pain in the (anatomy of choice). Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] netfilter tarpit target
Hi Daniel Daniel Iliev wrote on 01/04/07 19:10: My question: what is the best way get this iptables module working w/o diverting too much from the official Gentoo installation. I mean the normal way is to use patch-o-matic to patch iptables source and vanilla kernel source, then build and install. I have the feeling that it is not exactly the right thing to with Gentoo. cd /usr/src svn co https://svn.netfilter.org/netfilter/trunk/patch-o-matic-ng svn co https://svn.netfilter.org/netfilter/trunk/iptables cd patch-o-matic-ng ./runme extra cd /usr/src/linux make menuconfig make make modules_install make install make sure you have USE extensions in your make.conf emerge iptables This patch appears to be incompatible with gentoo-sources or I'm doing something wrong. After patching the module TARPIT appears in the kernel configuration and I mark it to get built as a module [M]. Then: == make all modules_install install scripts/kconfig/conf -s arch/i386/Kconfig CHK include/linux/version.h CHK include/linux/utsrelease.h CHK include/linux/compile.h GZIPkernel/config_data.gz IKCFG kernel/config_data.h CC kernel/configs.o LD kernel/built-in.o CC [M] net/ipv4/netfilter/ipt_TARPIT.o net/ipv4/netfilter/ipt_TARPIT.c: In function ‘ip_direct_send’: net/ipv4/netfilter/ipt_TARPIT.c:65: warning: implicit declaration of function ‘neigh_hh_output’ ---snip Kernel: arch/i386/boot/bzImage is ready (#2) Building modules, stage 2. MODPOST 159 modules WARNING: neigh_hh_output [net/ipv4/netfilter/ipt_TARPIT.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 == So, I'm still looking for advices. Did the patches apply OK? Did you do: cd /usr/src/iptables svn update cd /usr/src/patch-o-matic-ng svn update .. before updating your kernel? What kernel are you running? Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] udev 103, alsa dual soundcard problem [solved]
Michael Schreckenbauer wrote on 28/11/06 15:44: Yesterday I upgraded udev to 103, but have hit some problems with alsa configuration of multiple sound cards. Even worse is that udev seems to discover the sound cards in the reverse order to coldplug. My Audigy card becomes /dev/dsp1 and the Intel card is /dev/dsp0. I had this problem some time ago. The solution was to add options snd-emu10k1 index=0 options snd-intel8x0 index=1 to /etc/modules.d/alsa run modules-update and restart alsa (or reboot) after that. Hi Michael, thanks, this fixed the problem. Also thanks to everyone who responded to my question. The answers taught me how udev works, that's really useful, can't be bad. Cheers, Dave -- gentoo-user@gentoo.org mailing list
[gentoo-user] xorg-x11 upgrade
Hi, The stable branch xorg-x11 seems to have been upgraded to version xorg-x11-7.0-r1. However, emerge -puDNv world shows the new x11-xorg blocked by xorg-x11-6.9. I don't understand this, as I have xorg-x11-6.8.2-r8 installed. OK, the new meta-package may be very nice, but I really don't want to compile all the drivers for devices I don't have on my system. At the moment I use the proprietary nvidia drivers; are these supported under xorg-x11-7.0? Any ideas about the v6.9 blocker / tips / pointers? Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg-x11 upgrade
Bo Ørsted Andresen wrote on 30/06/06 13:55: The stable branch xorg-x11 seems to have been upgraded to version xorg-x11-7.0-r1. Just follow [1]. However, emerge -puDNv world shows the new x11-xorg blocked by xorg-x11-6.9. I don't understand this, as I have xorg-x11-6.8.2-r8 installed. Read more carefully. It's blocked by '=x11-base/xorg-x11-6.9'. Note the less than sign. Oops, my mistake. OK, the new meta-package may be very nice, but I really don't want to compile all the drivers for devices I don't have on my system. At the moment I use the proprietary nvidia drivers; are these supported under xorg-x11-7.0? Then set VIDEO_CARDS=nvidia in /etc/make.conf. It's all covered in [1]. [1] http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml Bo, Dirk, thanks for the information. I'll get to work on this (major) update. I'll add the nv driver to VIDEO_CARDS as well to have a fall back in case the binary nvidia drivers won't work with the new x11. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cannot login after emerge --update --deep --newuse world crashed
Richard Watson wrote on 05/06/06 10:34: Hi all - I was running emerge --update --deep --newuse world over the weekend when I had a power outage and my computer crashed. For some reason ever since then I cannot login. If I enter Root at the login prompt the computer thinks about it and then just returns to the login prompt. Obviously something has gone wrong with my authentication and I'm just wondering whether anyone can give me guidance on how to fix this. I was able to boot from the Gentoo Stage 1 Livecd and chroot into my system but resetting the password with passwd didn't work. I suspect I need to emerge the relevant modules again but don't know which ones. Any help would be really appreciated, thanks. Richard I guess you've been bitten by the conflict between pam-login and shadow. You need to unmerge pam-login, then emerge shadow. emerge -C pam-login emerge -u shadow HTH, cheers, Dave -- gentoo-user@gentoo.org mailing list
[gentoo-user] Thunderbird-1.5.0.4 compile failure
Hi, When compiling mozilla-thunderbird-1.5.0.4 I get the following failure: nsModule.cpp:45:27: nsCharsetMenu.h: No such file or directory nsModule.cpp:46:34: nsFontPackageHandler.h: No such file or directory nsModule.cpp: In function `nsresult nsFontPackageHandlerConstructor(nsISupports*, const nsIID, void**)': nsModule.cpp:68: error: `nsFontPackageHandler' was not declared in this scope nsModule.cpp:68: error: `inst' was not declared in this scope nsModule.cpp:68: error: `nsFontPackageHandler' is not a type nsModule.cpp: At global scope: nsModule.cpp:112: error: `NS_CHARSETMENU_CID' was not declared in this scope nsModule.cpp:113: error: expected `}' before NS_CHARSETMENU_PID nsModule.cpp:113: error: expected `}' before NS_CHARSETMENU_PID nsModule.cpp:113: error: invalid conversion from `const char*' to `PRUint16' nsModule.cpp:113: error: expected `,' or `;' before NS_CHARSETMENU_PID nsModule.cpp:114: error: expected declaration before '}' token My system is all 'stable' branch, here is my emerge --info: emerge --info Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686) = System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox:1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS=x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /etc/apache2 /etc/bind /etc/squid /etc/ssh /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d CXXFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer DISTDIR=/usr/portage/distfiles FEATURES=autoconfig distlocks sandbox sfperms strict GENTOO_MIRRORS=http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo; LC_ALL=en_GB.iso885915 LINGUAS=en en_GB MAKEOPTS=-j2 PKGDIR=/usr/portage/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=x86 X aac acpi alsa apache2 apm asf audiofile avi berkdb bitmap-fonts browserplugin bzip2 cdparanoia cdr cli crypt cscope css cups curl dga doc dri dv dvd dvdr dvdread dxr3 emboss encode ethereal exif expat extensions fam ffmpeg flac flash font-server foomaticdb fortran fpx gd gdbm gif gimp gimpprint gkrellm glut gmp gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 isdnlog java jpeg jpeg2k kde kerberos lcms ldap libg++ libwww logitech-mouse mad mailbox maildir mailwrapper mbox mhash mikmod mime ming mjpeg mmx mmxext mng motif mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl oss pam pcntl pcre pdf pdflib perl php png posix ppds pppd python qt quicktime readline reflection samba scanner sdl session slang slp smime snmp sockets spell spl sse sse2 ssl subversion svga sysfs sysvipc tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1 type1-fonts udev unicode usb vcd vim-with-x vorbis win32codecs wmf xine xml xml2 xmms xorg xpm xscreensaver xv xvid xvmc zlib linguas_en linguas_en_GB userland_GNU kernel_linux elibc_glibc Unset: CTARGET, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY Any ideas on what's the problem here? Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Thunderbird-1.5.0.4 compile failure [solved]
Dave Jones wrote on 04/06/06 19:39: When compiling mozilla-thunderbird-1.5.0.4 I get the following failure: nsModule.cpp:45:27: nsCharsetMenu.h: No such file or directory snip This problem was reported as bug #135495, and appears to be a parallel make issue. The work round is to modify /etc/make.conf MAKEOPTS=-j1 to prevent parallel make. The compile succeeds after this modification. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Questions about emerge -e world
Walter Dnes wrote on 02/06/06 02:28: I didn't intend to be running the emerge that long, but I wanted to try the gcc upgrade on my emergency backup machine first. It's a 1999 03:26 EDT. The emerge -e world took 36 hours and 37 minutes... 1) How do I resume the build? emerge --resume Use emerge --resume if it fails, and emerge --resume --skipfirst to skip past a failing emerge. 2) Is it possible to get a list of packages to be built, including the correct order, so that I can resume manually if necessary? emerge -peD world Why would you need manual intervention? 3) A vaguely related item... will it make any noticable difference if I rebuild my kernel with gcc.3.4.5 and reboot at the end of the process? I may as well upgrade the entire system. Rebuild your kernel with your latest gcc, especially if there have been gcc ABI changes. The peace of mind is worth it. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Questions about emerge -e world
Iain Buchanan wrote on 02/06/06 02:55: On Thu, 2006-06-01 at 20:28 -0400, Walter Dnes wrote: 3) A vaguely related item... will it make any noticable difference if I rebuild my kernel with gcc.3.4.5 and reboot at the end of the process? I may as well upgrade the entire system. If you've updated the rest of your system to 3.4.5, then do the kernel as well. Especially if you have proprietary modules, like vmware, ati-drivers, etc; or extra modules like ndiswrapper. Make sure you compile these modules after you compile your kernel, but before you reboot. VMWare is a problem, it looks at uname, so you can only update it to use your latest kernel *after* a reboot. PITA. nvidia-kernel uses the kernel that symlink /usr/src/linux points to, so you can re-emerge ndvidia-kernel before a reboot. YMMV. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SSH connection reset by peer
Leandro Melo de Sales wrote on 01/06/06 00:33: How can I control the idle time? I don't want ssh disconnection even if the user is idle. Read from remote host x.y.w.z: Connection reset by peer Add the following line to your /etc/ssh/ssh_config: ServerAliveInterval=300 Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] HD running temperatures
Mark Kirkwood wrote on 21/05/06 07:30: On May 20, 2006, at 7:56 PM, Dave Jones wrote: I've implemented the hddtemp service, and see that my HDs, one an IBM 120GB, the other a Hitachi 120GB disk, run a steady 46 and 49 degrees C. When you touch them, does it feel about right. While it is warm, it is not that warm that you couldn't make a guess if it was right or not and you shouldn't hurt yourself. The reason I mention it is to have a second opinion if hddtemp is working correctly in your installation. I have not run hddtemp but have run some vendor utilities from hitachi and they gave bogus info back on HD temp The fact that both the IBM and Hitachi drives are recording similar temperatures suggests that hddtemp is probably reading them correctly. You could emerge smartmontools, and see if its temperature readings agree with hddtemp (they should). -- I was told that Hitachi took over the manufacture of IBM HDs a few years ago, and that IBM no longer deliver their own brand ATA HDs. Can anyone confirm if this is true? When I ordered a second IBM HD to match my original IBM 120 GB HD, I received a Hitachi disk instead. Maybe the IBM disk temperature readings are bogus, like the Hitachi? I've emerged smartmontools, the temperature readings it gives agree with hddtemp. smartmonctl -a /dev/hdb gives the results below, which looks bad to me. I'd guess that my Hitachi second HD is heading for the great /dev/null. I don't have a thermometer in the house at the moment, but the HD's feel warm, not terribly hot, certainly not too uncomfortable to touch. Any recommendations for cool-running ATA HDs, preferably with a capacity of around 250 GB? Definitely backup time here though! Cheers, Dave (Please excuse the following long listing) --- smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Device Model: IC35L120AVV207-0 Serial Number:VNVD03G4GDLX4P Firmware Version: V24OA63A User Capacity:123,522,416,640 bytes Device is:In smartctl database [for details use: -P show] ATA Version is: 6 ATA Standard is: ATA/ATAPI-6 T13 1410D revision 3a Local Time is:Sun May 21 18:13:13 2006 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (2855) seconds. Offline data collection capabilities:(0x1b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. No Selective Self-test supported. SMART capabilities:(0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability:(0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time:( 1) minutes. Extended self-test routine recommended polling time:( 48) minutes. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000b 095 095 060Pre-fail Always - 589825 2 Throughput_Performance 0x0005 100 100 050Pre-fail Offline - 0 3 Spin_Up_Time0x0007 098 098 024Pre-fail Always - 266 (Average 293) 4 Start_Stop_Count0x0012 100 100 000Old_age Always - 2310 5 Reallocated_Sector_Ct 0x0033 100 100 005Pre-fail Always - 1 7 Seek_Error_Rate 0x000b 100 100 067Pre-fail Always - 0 8 Seek_Time_Performance 0x0005 100 100 020Pre-fail Offline - 0 9 Power_On_Hours 0x0012 099 099 000
Re: [gentoo-user] [OT] HD running temperatures
Benno Schulenberg wrote on 21/05/06 19:27: smartmonctl -a /dev/hdb gives the results below, which looks bad to me. I'd guess that my Hitachi second HD is heading for the great /dev/null. 9 Power_On_Hours 0x0012 099 099 000Old_age Always - 13573 Drive has been ruuning for 13573 hours total. Error 30 occurred at disk power-on lifetime: 3448 hours (143 days Error 29 occurred at disk power-on lifetime: 3448 hours (143 days Error 28 occurred at disk power-on lifetime: 3448 hours (143 days These errors occurred 1 hours ago, 420 days. Since then no errors were detected. Drive is running fine, I would say. Thank you very much for this information Benno, that's put my mind at ease! I was a bit concerned about the output from hdb as the smartmonctl command output from my hda showed no errors at all. I'm still backing the hdb disk up though, better safe than sorry - and it's a nice NFS performance test too! Cheers, Dave -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] HD running temperatures
I've implemented the hddtemp service, and see that my HDs, one an IBM 120GB, the other a Hitachi 120GB disk, run a steady 46 and 49 degrees C. This seems a bit too warm for my liking. Are these 'normal' running temperatures for these ATA 7200 RPM disks? Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]
Bo Andresen wrote on 10/05/06 12:55: For some strange reason, on my system OpenOffice seems to need the locale set to utf8 to work properly with international keyboard layouts. Without it, the ' and keys are dead, working only with AltGr pressed. I don't understand why, but since I changed my locale to en_US.utf8, the quote keys and Open Office work perfectly. Does this not work for you (# means run as root, $ means run as user)? # localedef -i en_GB -f ISO-8859-15 en_GB.ISO-8859-15 $ LC_ALL=en_GB.ISO-8859-15 oowriter2 The LC_ALL command above did not work, giving the following error messages: I18N: X Window System doesn't support locale en_GB.ISO-8859-15 Qt: Locales not supported on X server Checked out my defined locales with locale -a C en_GB en_GB.iso885915 en_GB.utf8 en_US en_US.iso885915 en_US.utf8 POSIX LC_ALL=en_GB.iso885915 oowriter2works fine. In fact, all the above locales except for C and POSIX work fine in OpenOffice. It seems that OOo does not depend on a utf8 locale, but does needs a local other the C or POSIX. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]
Bo Andresen wrote on 11/05/06 13:17: LC_ALL=en_GB.iso885915 oowriter2works fine. In fact, all the above locales except for C and POSIX work fine in OpenOffice. It seems that OOo does not depend on a utf8 locale, but does needs a local other the C or POSIX. Which is what I stated on the 4th of May. :) But en_GB.ISO-8859-15 works for me too even though locale -a report en_GB.iso885915 on my computer too. I guess that depends on the version of glibc.. Anyway nice to know it works for you now. :) I'm using glibc-2.3.6-r3 (stable branch). Your statement on May 4 was correct, and believe me, I'm very glad that the problem is solved here! Pawel has not reported back from my last suggestion of trying to use the us_intl keyboard layout. It would be nice if that solved his problems with his Polish locale/keyboard too. I still find it strange that OOo is the only application I have which needs a locale other than C or POSIX defined. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]
Bo Andresen wrote on 10/05/06 12:55: On Tuesday 09 May 2006 20:31, Dave Jones wrote: For some strange reason, on my system OpenOffice seems to need the locale set to utf8 to work properly with international keyboard layouts. Without it, the ' and keys are dead, working only with AltGr pressed. I don't understand why, but since I changed my locale to en_US.utf8, the quote keys and Open Office work perfectly. Does this not work for you (# means run as root, $ means run as user)? # localedef -i en_GB -f ISO-8859-15 en_GB.ISO-8859-15 $ LC_ALL=en_GB.ISO-8859-15 oowriter2 No, it doesn't work, I get these error messages when I try to start oowriter2: I18N: X Window System doesn't support locale en_GB.ISO-8859-15 Qt: Locales not supported on X server The accented keys don't work either with this setup. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
Pawel K wrote on 09/05/06 17:28: Does composing the Polish characters work for you under applications such as Mozilla Thunderbird? What specific Polish characters are you missing, and how do normally compose them? It sounds as if you want to be able to produce accented characters such as ÁÉÍÓÚ áéíóú ÀÈÌÒÙ àèìòù ÄËÏÖÜ äëïöü. Am I right in this assumption? Unfortunately I can't type Polish charecters under mozilla as well (tried both pl_PL and pl_PL.utf8). I expect to use right ALT + character e.g. right ALT + o should result with ó and now it results with just o both in Mozilla and OpenOffice. Left ALT + o opens F'o'rmat menu under OpenOffice. Unfortunately, I don't know how much the Polish keyboard differs from the us_intl layout. This might be a stupid suggestion, but try defining your keyboard XkbLayout as us_intl. Using the us_intl XkbLayout, typing the accented characters you want works by hitting a quote ' and o to produce ó, without needing AltGr (right Alt) pressed. Hitting ` and o produces an ò, and o produces ö, all without AltGr pressed. To produce a single ' or you need to hit ' or followed by a space. For some strange reason, on my system OpenOffice seems to need the locale set to utf8 to work properly with international keyboard layouts. Without it, the ' and keys are dead, working only with AltGr pressed. I don't understand why, but since I changed my locale to en_US.utf8, the quote keys and Open Office work perfectly. While configuring xorg with xorgconfig I've chosen the following options: Please answer the following question with either 'y' or 'n'. Do you want to select additional XKB options (group switcher, group indicator, etc.)? y Group Shift/Lock behavior: 1 Right Alt key switches group while pressed I have none of these options set in my xorg.conf, just XkbLayout set to us_intl, nothing specified for (no)deadkeys or group switching either. You could try this in your xorg.conf: Section InputDevice Identifier Keyboard0 Driver kbd Option AutoRepeat500 30 Option CoreKeyboard Option XkbModel pc105 Option XkbLayout us_intl EndSection After restarting X, try this from a xterm command prompt: LC_ALL=en_US.utf8 oowriter2 Try this, and let us know if this lets you to enter accented characters in Open Office. With or without LC_ALL specified, you should be able to enter accented characters in Mozilla Thunderbird too with XkbLayout set to us_intl. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
Pawel K wrote on 08/05/06 17:57: Thanx all of You for help but it didn't help. I've selected both pl_PL and pl_PL.utf8 maybe there is something wrong with my following option in xorg.conf: Option XkbOptions grp:switch It is very important for me writing national characters. If You have any other ideas let me know This is a snippet from my xorg.conf keyboard set-up. You'll probably prefer to use XkbModel=pc105 rather than the logitech model I use. My locale settings are LC_ALL=en_GB.utf8, but again, you might prefer LC_ALL=en_US.utf8 to match your OpenOffice preferences. Section InputDevice Identifier Keyboard0 Driver kbd Option AutoRepeat500 30 Option CoreKeyboard Option XkbModel logicdp Option XkbLayout us_intl EndSection I had this sort of problems only with OpenOffice, which misbehaved under KDE, but worked fine under IceWM. Setting LC_ALL=en_US.utf8 fixed it. Does composing the Polish characters work for you under applications such as Mozilla Thunderbird? What specific Polish characters are you missing, and how do normally compose them? If you tell me how you expect to compose them, I'll test to see if it works here. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
Martins Steinbergs wrote on 07/05/06 07:54: On Sunday 07 May 2006 01:03, Bo Andresen wrote: On Friday 05 May 2006 17:30, Pawel K wrote: How to force open office to type national (Polish) fonts. I can see them on the screen when opening the document containing them but when I press the combination right alt-char it doesn't work. I've installed open office as english(USA) version and itshould stay like that. I want to be able to type Polish characters only. What is the output of # locale and # locale -a Not all locales will support those characters. You can read more on locales at http://www.gentoo.org/doc/en/guide-localization.xml . isnt it enought to set keyboard layout in xorg.conf? Using KDE there is option to enable aditional layouts. No. I had a very similar problem with OpenOffice under KDE, using the KDE keyboard settings did not fix the problem, The resolution was to set the locale to en_US.utf8 You can find gentoo-user discussion thread about it on http://readlist.com/lists/gentoo.org/gentoo-user/13/67698.html Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
Pawel K wrote on 05/05/06 17:30: How to force open office to type national (Polish) fonts. I can see them on the screen when opening the document containing them but when I press the combination right alt-char it doesn't work. I've installed open office as english(USA) version and itshould stay like that. I want to be able to type Polish characters only. Additional information about my system: 1) system: linux Gentoo 2) open office 2.0 3) window manager: fluxbox 4) xorg.conf contains: Option XkbRules xorg Option XkbModel pc105 Option XkbLayout pl Option XkbOptions grp:switch 5) /etc/conf.d/keymaps contains KEYMAP=pl2 thank You for help I had a similar problem using the US_intl keyboard with OpenOffice. Try LC_ALL=PL_pl.utf8 (or something like that) and start OOo from the prompt to enable utf8. If this helps, to change your locale permanently you should change (maybe add) /etc/env.d/02locale and run env-update. You only need to set LC_ALL. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]
Bo Andresen wrote on 05/04/06 00:48: It turns out I was wrong about this. If I type # LC_ALL=POSIX oowriter2 they don't work for me either. Same goes for LC_ALL=C. All other locales on your list from locale -a they do work with. (Except en_GB.utf8 which results in a lot of errors on my system. That's why I use en_US.utf8. If you do wish to use UTF-8 you should follow the guide provided by Gentoo). So try changing your locale to something other than POSIX or C i.e. export LC_ALL=whatever. And start OOo from the prompt. To change your locale permanently you should change /etc/env.d/02locale and run env-update. You only need to set LC_ALL it will all other LC_ variables. Bo, thank you *very* much, starting oowriter2 as you suggested using LC_All=en_US.utf8 oowriter2 worked, the us_intl keyboard now works as it should. I have no /etc/env.d/02locale file; did you create that file yourself? Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]
Bo Andresen wrote on 04/05/06 11:32: On Thursday 04 May 2006 11:17, Dave Jones wrote: Bo, thank you *very* much, starting oowriter2 as you suggested using LC_All=en_US.utf8 oowriter2 worked, the us_intl keyboard now works as it should. Glad to hear that. :) What's more, it seems to work fine with LC_ALL=en_GB.utf8 too. As a matter of curiosity, what errors did you get when you tried en_GB.utf8 on your system? I have no /etc/env.d/02locale file; did you create that file yourself? Yes, just create a file with the contents: LC_ALL=whatever OK, done that, it's working perfectly now. Look at [1] and [2] for more information on locales on Gentoo. [1] http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3 [2] http://www.gentoo.org/doc/en/utf-8.xml Will do, to check out any extra information available there. Again, thank you both very much. Your and Jerônimo's help and advice solved an obscure problem which has annoyed me for months. The Gentoo user community has yet again proven to be a great place to finding helpful and knowledgeable people, adding to the many strengths of the distro. Glad to be part of it! Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE and OpenOffice keyboard problems [solved]
Bo Andresen wrote on 04/05/06 12:44: On Thursday 04 May 2006 12:08, Dave Jones wrote: As a matter of curiosity, what errors did you get when you tried en_GB.utf8 on your system? $ LC_ALL=en_GB.utf8 oowriter2 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = en_GB.utf8, LANG = (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale (C). I18N: Operating system doesn't support locale IIRC back when I followed the UTF-8 guide localedef complained that some data for creating the en_GB.UTF-8 locale was missing. It seems that the issue has been resolved since then. The following command fixed the problem so en_GB.utf8 is working for me too now: # localedef -i en_GB -f UTF-8 en_GB.UTF-8 I didn't get these errors when I ran the oowriter2 command above, so I guess my localdef for the en_GB.utf8 must have been OK. Case closed, an irritating problem fixed. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] CUPS stopped printing
A. R. wrote on 04/05/06 16:18: I am having a problem with CUPS. (I think) I have Gentoo on my laptop and I was able to print just fine to any of the network printers here at work, but all of a sudden this is not working anymore. When I try to print, it looks like the job is being sent to the printer, but nothing comes out of it. Now, I am the type that updates Gentoo pretty much every other day, so I am sure I must have broken something in one of the last updates... Here is what I found in the /var/logs/cups/error_log file: log snip Adding start banner page none to job 336. I [03/May/2006:16:49:23 -0400] Adding end banner page none to job 336. I [03/May/2006:16:49:23 -0400] Job 336 queued on 'Happy' by 'ar'. I [03/May/2006:16:49:23 -0400] Started filter /usr/lib/cups/filter/pstops (PID 12592) for job 336. I [03/May/2006:16:49:23 -0400] Started filter /usr/lib/cups/filter/foomatic-rip (PID 12593) for job 336. I [03/May/2006:16:49:23 -0400] Started backend /usr/lib/cups/backend/socket (PID 12594) for job 336. E [03/May/2006:16:49:23 -0400] PID 12593 stopped with status 22! log snip ends I have been using Gentoo for the past 2 years and I never had a problem like this before... Are your using HP printers, and if so, have you recently switched from using hpoj+hpijs to using the newer hplip package which is supposed to replace the old combination? If this is the case, we're having the same problem, which seems to be with hplip-0.9.7-r3. I haven't found a solution to the problem yet. According to the doc, you *must* have ppds in your USE flags for hplip to allow it to generate the .ppd files. FWIW, here are my USE flags for cups and hplip: net-print/cups-1.1.23-r7 -gnutls +nls +pam +samba +slp +ssl net-print/hplip-0.9.7-r3 +X +cups +foomaticdb +ppds +qt +scanner +snmp +usb hpijs blocks hplip, and I believe that (unfortunately) hpoj is now hard-masked, so it will be difficult to fall back to using the old (working) hpoj ptal interface. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] CUPS stopped printing
Frédéric Grosshans wrote on 04/05/06 18:32: Le jeudi 04 mai 2006 à 17:42 +0200, Petr Kocmid a écrit : Sometimes, due poor maintnance of low level foomatic driver in portage an updated foomatic driver dies silently and cups daemon thinks everything is finished printed fine, or if one is lucky as you, ends with dead process logged. Thanks. I had the same problem, which has been solved by : # echo =net-print/foomatic-db-20050910 /etc/portage/package.mask # emerge -vau foomatic-db # /etc/init.d/cupsd restart The downgrade to the lower level of foomatic-db gives problems with the /etc/make.conf FEATURE=sandbox. However, this problem can be circumvented by (temporarily) replacing FEATURE=sandbox, with FEATURE=-sandbox -usersandbox in /etc/make.conf. Do this at your own risk! However, the real solution to the problem is to re-emerge foomatic-filters, as suggested by Frédéric in a later post. The cause of the problem is (as he said) documented in bug 131533: http://bugs.gentoo.org/show_bug.cgi?id=131533 Either solution, downgrading foomatic-db or re-emerging foomatic-filters works fine. Thanks to all for their help. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE and OpenOffice keyboard problems
Jerônimo Backes wrote on 05/03/06 00:04: What seems odd is that OpenOffice is the only application affected, while all other applications work correctly under KDE. Oh, I forgot to mention: DON'T use UTF-8 with KDE if you need to use some special keyboard layouts. Stay with ISO-8859-1 (the default encoding). KDE has issues with UTF-8 and certain keboard layouts. As far as I know, I'm not using UTF-8 with KDE. Could you please tell me how I can check if KDE is using UTF-8, or how I can force KDE to use ISO-8859-1? Are you running KDE 3.4.3, or KDE 3.5? Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE and OpenOffice keyboard problems
Jerônimo Backes wrote on 05/03/06 14:21: What seems odd is that OpenOffice is the only application affected, while all other applications work correctly under KDE. Oh, I forgot to mention: DON'T use UTF-8 with KDE if you need to use some special keyboard layouts. Stay with ISO-8859-1 (the default encoding). KDE has issues with UTF-8 and certain keboard layouts. As far as I know, I'm not using UTF-8 with KDE. Could you please tell me how I can check if KDE is using UTF-8, or how I can force KDE to use ISO-8859-1? Here goes the documentation about UTF-8 with Gentoo: http://www.gentoo.org/doc/en/utf-8.xml Replace anything related to UTF-8 with ISO-8859-1 on your system. Uh oh, looks like a major rework. Should keep me out of mischief! Are you running KDE 3.4.3, or KDE 3.5? I'm with KDE 3.5.2 and everything is working okay. It's probably time I moved on to KDE 3.5.2 anyway. Thank you very much for all your help, much appreciated! Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE and OpenOffice keyboard problems
Bo Andresen wrote on 05/03/06 14:31: On Wednesday 03 May 2006 00:04, Jerônimo Backes wrote: Oh, I forgot to mention: DON'T use UTF-8 with KDE if you need to use some special keyboard layouts. Stay with ISO-8859-1 (the default encoding). KDE has issues with UTF-8 and certain keboard layouts. What kind of issues? Admittedly I have not tested KDE throughly but I have been using KDE with UTF-8 for a few months now and I have experienced no issues. There are programs that don't understand UTF-8 on my system (e.g. kompare) but I believe most og my KDE programs do understand UTF-8 (e.g. kontact, konquerer, konsole..). This came out of my original question about having problems with typing accented characters into OpenOffice documents under KDE 3.4.3. The problem is that I need to press AltGr and the quote character to obtain a quote. This makes it impossible to enter accented characters into an OOo document. Section InputDevice Identifier Keyboard0 Driver kbd Option AutoRepeat500 30 Option CoreKeyboard Option XkbModel logicdp Option XkbLayout us_intl EndSection Using this xorg.conf set-up, I can enter the accented characters into all other applications apart from OOo under KDE. OOo works fine under IceWM, so I'd guess that it's a KDE issue. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE and OpenOffice keyboard problems
Bo Andresen wrote on 05/03/06 16:06: snip KDE has issues with UTF-8 and certain keboard layouts. What kind of issues? Admittedly I have not tested KDE throughly but I have been using KDE with UTF-8 for a few months now and I have experienced no issues. This came out of my original question about having problems with typing accented characters into OpenOffice documents under KDE 3.4.3. The problem is that I need to press AltGr and the quote character to obtain a quote. This makes it impossible to enter accented characters into an OOo document. Section InputDevice Identifier Keyboard0 Driver kbd Option AutoRepeat500 30 Option CoreKeyboard Option XkbModel logicdp Option XkbLayout us_intl EndSection Using this xorg.conf set-up, I can enter the accented characters into all other applications apart from OOo under KDE. OOo works fine under IceWM, so I'd guess that it's a KDE issue. I still don't see that it has got anything to do with UFT-8. My X configuration looks like this: Section InputDevice Identifier Keyboard1 Driver kbd Option AutoRepeat 500 30 Option CoreKeyboard Option XkbModel pc105 Option XkbLayout dk EndSection In kcontrol - Regional Accessibility - Keyboard Layout there is a box called Enable keyboards layouts. This overrides the X settings. So if it works in IceWM just disable it. That's what I did. And I have no problems with any of those characters (áàéèíìóòöuúù€') in Openoffice either. I've tried with the kcontrol Regional Keyboard settings enabled and disabled. No difference. The quote keys work only with AltGr pressed in OOo, but work normally in all other applications. I tried using XkbModel to pc105 to see if the Logitech Cordless Desktop Pro XkbModel was causing the odd effect. However, changing that did not change the weird quote keys kb behaviour either. If anything, the Regional Keyboard setting make the problem worse, affecting other applications too, so I disabled it again. As far as I know, I'm not using UTF-8. Here's the output of locale LANG= LC_CTYPE=POSIX LC_NUMERIC=POSIX LC_TIME=POSIX LC_COLLATE=POSIX LC_MONETARY=POSIX LC_MESSAGES=POSIX LC_PAPER=POSIX LC_NAME=POSIX LC_ADDRESS=POSIX LC_TELEPHONE=POSIX LC_MEASUREMENT=POSIX LC_IDENTIFICATION=POSIX LC_ALL= and locale -a C POSIX en_GB en_GB.iso885915 en_GB.utf8 en_US en_US.iso885915 en_US.utf8 Maybe it's not an UTF-8 issue as Jerônimo suggested it might be, but I'm baffled by this odd kb behaviour showing only in OOo under KDE. Could you please show the output of locale and locale -a on your system? Cheers, Dave. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE and OpenOffice keyboard problems
Bo Andresen wrote on 05/03/06 19:39: On Wednesday 03 May 2006 17:26, Dave Jones wrote: I've tried with the kcontrol Regional Keyboard settings enabled and disabled. No difference. The quote keys work only with AltGr pressed in OOo, but work normally in all other applications. I tried using XkbModel to pc105 to see if the Logitech Cordless Desktop Pro XkbModel was causing the odd effect. However, changing that did not change the weird quote keys kb behaviour either. The us_intl keyboard layout is shown in [1]. Your problem related to the red (i.e. dead) keys to the left of Enter, right? That's correct. Didn't want to say right, too confusing! What does this show? # grep -vr '^#\|^$' /etc/conf.d/keymaps KEYMAP=us SET_WINDOWKEYS=yes EXTENDED_KEYMAPS=backspace keypad euro DUMPKEYS_CHARSET= [1] http://en.wikipedia.org/wiki/Keyboard_layout#US-International Since the keys are dead you do have to press them twice in order to just get a single or double quote. If followed by a letter are able to produce accents (ó) or umlauts (ö) instead. And just for the record. I can produce a ç now. I don't seem to have any issues. But still a haven't tested with a broad range of programs. ;) I can hit the quote keys ten times and still produce no input at all when running OOo. With other applications (such as Thunderbird) it works perfectly well. That's what is so strange, it's only OOo which shows the anomalous behaviour, only under KDE, not under IceWM. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] KDE and OpenOffice keyboard problems
Jerônimo Backes wrote on 05/01/06 23:14: I'm running a compiled from source Open Office 2.01-r1 and am having problems getting OOo to accept input of accented, single and double quote characters under KDE 3.4.3. KDE overrides Xorg configs. Just open the KDE's Control Center, select Regional Accessibility, then Keyboard Layout and then, select your keyboard and its variant. That should do the trick. Mine is US English, with intl variant. Thanks for your help Jerônimo. I tried your tip, using all sorts of keyboard layouts (Generic 101 / 104 / 105 key, Logitech Cordless + Cordless Pro), US English, with or without international variant/dead characters, but no joy so far. The quote and double quote keys still work only with the AltGr key pressed. With some of the above combinations the AltGr key completely stopped working. I couldn't even get an € sign with AltGr-5, let alone quotes or accented characters! What seems odd is that OpenOffice is the only application affected, while all other applications work correctly under KDE. So I'm still stuck with this irritating problem... Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Redirect inbox to other mail (Sendmail)
Delca wrote on 05/02/06 17:52: The problem is that i don't know how to send all mails that arrived to /var/spool/mail/username to other mail.. i.e.: i want to send all mails at /var/spool/mail/john to [EMAIL PROTECTED] The alias only sends the new incoming mails. Not the ones already on the file. Someone knows how to solve this? cd /var/spool/mail mv oldname newname chown newname newname Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Redirect inbox to other mail (Sendmail)
Etaoin Shrdlu wrote on 05/02/06 19:27: On Tuesday 02 May 2006 18:16, Dave Jones wrote: Someone knows how to solve this? cd /var/spool/mail mv oldname newname chown newname newname What if the second account is not local? Copying the mail spool file into /var/spool/mail to the machine you want to receive the mail on and then issuing the commands above should work. OK, this is a very 'quick and dirty' fix, but offhand I don't know of any other way to do it. Sorry, but I don't know how to persuade Sendmail to handle mail packages it's already processed and delivered to /var/spool/mail. HTH. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] VMWare on Gentoo?
Kevin O'Gorman wrote on 04/30/06 06:51: I just got an evaluation copy of VMWare Workstation 5.5, and I'm momentarily glad I didn't pay for this thing. It seems to expect a RedHat style runlevel system. Has anybody successfully fooled with this thing to make it work on Gentoo? At the moment, its problems seem to be related to the daemon management features. I could clone them, but it would be a lot of work. The 5.5.1.19175-r3 ebuild runs perfectly here, give it a go. You *must* run vmware-config.pl as root after the install. If vmware-config.pl complains about being unable to shutdown the vmware services, rerun it using the -skipstopstart switch. rc-update add vmware default will fix your redhat runlevel problems. Make sure that the userid you're going to run vmware under is a member of the vmware group. Hope this helps. Dave -- gentoo-user@gentoo.org mailing list
[gentoo-user] KDE and OpenOffice keyboard problems
I'm running a compiled from source Open Office 2.01-r1 and am having problems getting OOo to accept input of accented, single and double quote characters under KDE 3.4.3. If I use IceWM, typing these characters works fine in OOo. I have CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer and LINGUAS=en en_GB in my /etc/make.conf Nothing startling there. I'm running xorg-X11 version 6.8.2-r6, KDE version 3.4.3, Open Office 2.01-r1, all packages from the stable branch. In my /etc/xorg.conf I have the following entries for my keyboard: Section InputDevice Identifier Keyboard0 Driver kbd Option AutoRepeat500 30 Option XkbModel logicdp Option XkbLayout us_intl EndSection Being an old-fashioned Brit I have set up OOo to default to British English. However, as I live in Europe, I use a Logitech Cordless Desktop Pro US International keyboard, set to US International under KDE 3.4.3. I do not use UTF-8 for character encoding, but default to ISO-8859-15, to allow me to use the 'special' accented characters and the Euro sign. OOo does not recognise either single quote (') or double quote () unless I press the AltGr key (right Alt key). I cannot compose accented characters such as áàéèíìóòöuúù. The € sign works as expected with a US-international keyboard, using AltGr 5. I tried setting OOo to US English, but this did not resolve the problem. OOo stubbornly ignores both single and double quotes unless the AltGr key is pressed. Normally in 'US International' mode, both single and double quotes are produced using the quote key and a space. Applications such as Mozilla Thunderbird handle these quote characters correctly using the above keyboard set up. Only OOo ignores these keystrokes combinations. To persuade OOo to enter single or double quotes I have to use the Alt-Gr key and ' or . Strange indeed, OOo is the only application which behaves like this under KDE. Setting the xorg.conf Option XkbVariant deadkeys as suggested in the OOo documentation does not change the quote keys behaviour in OOo. I'm totally bewildered as to why OOo behaves so strangely under KDE, while working perfectly under (for example) IceWM. Has anyone else encountered this problem, or better still, have a work round or solution for it? Cheers, Dave. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - openssh and ldap
Michael Sullivan wrote on 04/20/06 23:31: I rebooted my server box this morning. On a few of the output lines during bootup (noteably sshd and mysqld) it said Could not connect to LDAP server (or something like that). To my knowledge, I don't have an ldap server installed on my server box. Ssh from client machines is extremely slow to connect. I checked eix -SS ldap and the only ldap package I have installed on the server box is openldap. I checked /etc/make.conf to ensure that ldap was not listed as a USE flag, and then typed emerge -pv openssh Here's the output: bullet etc # emerge -av openssh These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-misc/openssh-4.3_p2-r1 -X509 -chroot -hpn -ipv6 +kerberos +ldap -libedit +pam (-selinux) -sftplogging -skey -smartcard -static +tcpd 0 kB Is there any danger in me adding net-misc/openssh -ldap to /etc/portage/package.use? Will it speed up the connection process? It was never a problem until today... You've got the ldap USE flag because you have openldap installed. No need to recompile sshd, just comment out the LDAP related lines in your /etc/ssh/sshd_config and restart sshd. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Alsa question: hw:0,0 - hw:0,1
Ralph Slooten wrote on 04/15/06 15:12: I just rebuilt alsa-lib and alsa-utils as it was (now) complaining about not being able to load. This seemed to fix the loading part. It suddenly worked fine, both hw:0,0 and hw:0,1, but to test I rebooted, and the same issue came back. hw:0,1 works, hw:0,0 is very very faint. Had similar problems here after the recent alsa-* updates. Deleted /etc/asound.state, stopped kmix alsasound, restart alsasound. Ran alsamixer to setup various levels (default = mute), then alsactl store when levels OK. Restarted kmix, as it seems to save it's volume levels at kde shutdown. Feel free to correct me if I'm wrong with this assumption. Since doing this my sound levels have remained OK over reboot. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Alsa question: hw:0,0 - hw:0,1
Ralph Slooten wrote on 04/15/06 16:21: Had similar problems here after the recent alsa-* updates. Deleted /etc/asound.state, stopped kmix alsasound, restart alsasound. Ran alsamixer to setup various levels (default = mute), then alsactl store when levels OK. Restarted kmix, as it seems to save it's volume levels at kde shutdown. Feel free to correct me if I'm wrong with this assumption. Since doing this my sound levels have remained OK over reboot. Getting closer. Yes, this solves my problem partially. I stop alsasound, delete the file (kmix isn't running atm), start alsasound, set levels and wow, I have sound via both hw:0,0 and hw:0,1. At this point I can restart alsasound as much as I want, works fine each time, that is until I reboot ~ then I get the same issue, and restarting alsasound does not help. I have to go through the same process again. I did a diff on the old and new /etc/asound.state, the only difference being the volume level: beast ~ # diff asound.state.working /etc/asound.state -u --- asound.state .working 2006-04-15 14:14:44.0 + +++ /etc/asound.state 2006-04-15 14:15:23.0 + @@ -14,8 +14,8 @@ comment.range '0 - 63' iface MIXER name 'Master Playback Volume' - value.0 48 - value.1 48 + value.0 45 + value.1 45 } control.3 { comment.access 'read write' @@ -199,8 +199,8 @@ comment.range '0 - 31' iface MIXER name 'PCM Playback Volume' - value.0 24 - value.1 24 + value.0 22 + value.1 22 } control.24 { comment.access 'read write' So I guess that proves it's not a corrupted state file either. Damn this is mind-blowing. That difference in PCM levels will certainly make your sound fainter! Don't forget to save your updated /etc/asound.state using alsactl store before reboot. It my be that something (if not kmix, then some other mixer software) could be overwriting your asound.state at shutdown time. Are you running any mixer software on boot? You could try bringing your sytem up in single user mode and running /etc/init.d/alsasound (re)start (the start should be run at boot runlevel anyway) to make sure that you see your asound.state before anything else can mess around with it after reboot. After a reboot, check your asound.state PCM volume level to see if it's being preserved at 48 rather than 24. If not, then modify it to 48 and do an alsactl store anyway, which shouldn't do any harm. Hope this helps, I'm out of ideas otherwise... Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Alsa question: hw:0,0 - hw:0,1 (solved)
Ralph Slooten wrote on 04/15/06 16:32: I guess I just solved the issue ;-) /etc/conf.d/rc RC_PARALLEL_STARTUP=yes = no My guess is that something was seriously messing it up during the parallel startup! After changing this to no (default) and rebooting (tested 3x) it works perfectly every time. Nice one Ralph, your /etc/cond.d/rc entry is now identical to mine. Gentoo boots pretty fast anyway, beats other distros hands-down. Thanks Christoph Dave for the help! My pleasure, glad to help. Nice to be part of a helpful community! Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] NVIDIA updating weirdness
Jorge Almeida wrote on 03/25/06 10:00: I've been using nvidia-kernel-1.0.7676 and nvidia-glx-1.0.7676-r1 since I upgraded the kernel to gentoo-sources-2.6.15-r1, some time ago. It works without problems. I emerged these versions (~x86) because the normal ones wouldn't work. $ cat /etc/portage/package.keywords media-video/nvidia-glx ~x86 media-video/nvidia-kernel ~x86 $ cat /etc/portage/package.mask media-video/nvidia-kernel-1.0.7676 media-video/nvidia-glx-1.0.7676-r1 Today I emerge sync'ed and emerge -pNDu world says, among other unrelated things: Calculating world dependencies ...done! [ebuild UD] media-video/nvidia-kernel-1.0.7667 [1.0.7676] [ebuild UD] media-video/nvidia-glx-1.0.7667-r1 [1.0.7676-r1] Now, what can this mean, given the contents of package.keywords and package.mask? Moreover, 1.0.7676 is supposed to address several bugs in 1.0.7667 (according to a NVIDIA developer, in another list). I tried emerging nvidia-kernel-1.0.7667, just to see what gives, and: * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.15-gentoo-r1 * These sources have not yet been prepared. * We cannot build against an unprepared tree. * To resolve this, please type the following: * * # cd /usr/src/linux * # make oldconfig * # make modules_prepare * * Then please try merging this module again. !!! ERROR: media-video/nvidia-kernel-1.0.7667 failed. !!! Function check_kernel_built, Line 363, Exitcode 0 !!! Kernel sources need compiling first !!! If you need support, post the topmost build error, NOT this status message. nvidia-kernel-1.0.8178-r3 is the current ~x86 version, and works fine with gentoo-sources-2.6.15-r1. Try removing the specific version numbers from your package.mask to get the latest version. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] NVIDIA updating weirdness
Jorge Almeida wrote on 03/25/06 11:16: On Sat, 25 Mar 2006, Dave Jones wrote: Jorge Almeida wrote on 03/25/06 10:00: $ cat /etc/portage/package.mask media-video/nvidia-kernel-1.0.7676 media-video/nvidia-glx-1.0.7676-r1 nvidia-kernel-1.0.8178-r3 is the current ~x86 version, and works fine with gentoo-sources-2.6.15-r1. Try removing the specific version numbers from your package.mask to get the latest version. I did what you say and it really wants to emerge the new versions (only did it with --pretend yet). But I still don't understand: what's the meaning of in the beginning of each line in /etc/portage/package.mask? I thought it means that the version should be 1.0.7676 or _newer_? Am I wrong? With the you're masking out *all* versions *higher* that 1.0.7676-r1, which is probably not what you want. If you want to mask out a specific version, do that with an = in front of the version. Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mozilla - pop-ups not blocked !!
Hi Jim, I use privoxy as a peer cache for squid. It works fine across the local network, and seems reasonably fast and flexible. My first proxy is squid, which then calls privoxy as its peer. All my local hosts use squid as their proxy, and get the benefits of using both squid and provoxy. The only problem I encountered is that you have to directly access privoxy to configure it using its web interface, rather than going via squid. Not a major issue really. Cheers, Dave JimD wrote on 03/20/06 02:12: Peter Ruskin wrote: ...or emerge net-proxy/privoxy How is privoxy? Is it fast? I have never tried it. I do think a system wide setup would be nice. Can privoxy be used across my home network? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mozilla - pop-ups not blocked !!
Hi Jim, I believe that Gmail *requires* SSL to connect, I don't think it's a privoxy issue. I connect to http://gmail.google.com, which seems to redirect to an https:// link, from there on it's straight in. Gmail also works fine using SSL and Thunderbird via my squid privoxy combination. Cheers, Dave JimD wrote on 03/20/06 19:21: Dave Jones wrote: I use privoxy as a peer cache for squid. It works fine across the local network, and seems reasonably fast and flexible. My first proxy is squid, which then calls privoxy as its peer. All my local hosts use squid as their proxy, and get the benefits of using both squid and provoxy. The only problem I encountered is that you have to directly access privoxy to configure it using its web interface, rather than going via squid. Not a major issue really. Privoxy looks pretty nice. However in testing last night I noticed that gmail would not work unless I went over SSL. Trying to go to http://mail.google.com/ would just give me a blank page. Have you run into this issue? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mozilla - pop-ups not blocked !!
H JimD wrote on 03/20/06 20:31: Both the http https links work directly for me, though (naturally enough) not the dyndns.org link. http://mail.google.com and https://mail.google.com get me straight to the Gmail login page, both without the /mail/ suffix. I can offer no explanation for this, sorry! Dave I believe that Gmail *requires* SSL to connect, I don't think it's a privoxy issue. I am not getting redirected: http://keeliegirl.dyndns.org/temp/GMail.png The following doesn't work with privoxy on: http://mail.google.com/mail/ This one however does work with privoxy on: https://mail.google.com/mail/ Things that make you go, h. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Iptables Tarpit
Hi Andrew, Andrew Frink wrote on 03/08/06 14:57: You could also just add the extensions USE flag to iptables and that should give you tarpit support On 3/7/06, *Dave Jones* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Erik Westenbroek wrote on 03/07/06 04:18: I am attempting create a tarpit to protect against SSH Brute force attempts. I tried this: --snip-- iptables -A SSH_Brute_Force -p tcp -j TARPIT After I type the last command typed I got this error message: iptables: No chain/target/match by that name The standard Gentoo-sources kernel does not include the TARPIT target. You need to pick up an updated kernel iptables source from netfilter.org http://netfilter.org --- snip--- Simply adding extensions to your /etc/make.conf USE is not enough. Without the iptables kernel source updates you still won't have the TARPIT target, even though the iptables package will have support for support it in its library routines. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Iptables Tarpit
Erik Westenbroek wrote on 03/07/06 04:18: I am attempting create a tarpit to protect against SSH Brute force attempts. I tried this: --snip-- iptables -A SSH_Brute_Force -p tcp -j TARPIT After I type the last command typed I got this error message: iptables: No chain/target/match by that name What am I doing wrong? Hi Erik The standard Gentoo-sources kernel does not include the TARPIT target. You need to pick up an updated kernel iptables source from netfilter.org, and install it as follows: I assume you have a subversion client already installed on your machine. cd /usr/src Pick up patch-o-matic-ng: svn co https://svn.netfilter.org/netfilter/trunk/patch-o-matic-ng Pick up iptables source code: svn co https://svn.netfilter.org/netfilter/trunk/iptables Install kernel patches to iptables extra code cd patch-o-matic-ng ./runme extra Here you can select the targets/filters (e.g TARPIT) you want patching into the kernel iptables modules. After installing patches you must regenerate your kernel and modules to activate the patches, and then re-emerge iptables to pick up the kernel patches. make menuconfig make make modules_install make install Make sure that you have USE=extensions in your /etc/make.conf before you emerge iptables, or it will ignore the new non-standard extensions. emerge iptables This worked for me. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] TARPIT iptables target
Hi Andrew, Thank you for the tip about TARPIT, the problem is now solved. To complete the fix I downloaded patch-o-matic-ng and the iptables source from netfilter.org: cd /usr/src svn co https://svn.netfilter.org/netfilter/trunk/patch-o-matic-ng svn co https://svn.netfilter.org/netfilter/trunk/iptables The documentation on using cvs on netfilter.org is outdated, they've converted to subversion and cvs is no longer available there. cd /usr/src/patch-o-matic-ng ./runme extra Allowed me to select the new iptables targets I wanted. cd /usr/src/linux make menuconfig make make modules_install make install I added the extensions USE flag to my /etc/make.conf, then reran the iptables emerge. It's all working fine now. Thanks to both you and Bryce for the help you gave! Cheers, Dave Andrew Frink wrote on 02/23/06 15:23: Dave to get tarpit support add the extensions USE flag when you emerge iptables cynyr I was reading about the TARPIT target in the man iptables documentation, and thought I'd like to give it a try. Unfortunately though, it seems not to be supported in the 2.6.15-1 Gentoo kernel. Has anyone used the TARPIT target, or know of a way to get it into the current kernel? Any experience with this target or 'gotchas' about it? -- gentoo-user@gentoo.org mailing list
[gentoo-user] TARPIT iptables target
Hi, I was reading about the TARPIT target in the man iptables documentation, and thought I'd like to give it a try. Unfortunately though, it seems not to be supported in the 2.6.15-1 Gentoo kernel. Has anyone used the TARPIT target, or know of a way to get it into the current kernel? Any experience with this target or 'gotchas' about it? Cheers, Dave -- gentoo-user@gentoo.org mailing list
[gentoo-user] Open Office 2.01 US Intl KB missing single double quote characters.
Hallo, I'm running a compiled from source Open Office 2.01 (stable branch), and am having problems getting Open Office to accept input single and double quote characters. I have CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer and LINGUAS=en en_GB in my /etc/make.conf Nothing startling there. In my /etc/xorg.conf I have the following entries for my keyboard: Option XkbModel pc105 Option XkbLayout us_intl Being an old-fashioned arch Brit I have set up OO to default to British English. However, I live in Europe, so I use a Logitech Cordless Desktop Pro US International keyboard, set to US International under KDE 3.4.3. I do not use UTF-8 for character encoding, but default to ISO-8859-15, to allow me to use the 'special' accented characters and the Euro sign. OO does not recognise either single quote (') or double quote (), but correctly handles the Euro sign (€) and (composed) accented characters such as áàéèíìóòöuúù. I tried setting OO to US English, but this did not resolve the problem; OO continued to stubbornly ignore both single and double quotes. Normally in 'US International' mode, both single and double quotes are produced using the quote key and a space. Other applications seem to handle these quote characters correctly using my current keyboard set up. Unfortunately, OO totally ignores these keystrokes. The only way I can persuade OO to enter a single quote is to use the Alt-Gr key and '. So far, I cannot produce a double quote in OO documents without having to resort to cut and paste. Has anyone else encountered this problem , or better still, have a work-round or solution for it? Thank you in advance for any help or advice you may be able to give. Cheers, Dave. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Getting udev to create tun devices
Robin Atwood wrote on 02/07/06 13:48: I need a device /dev/net/tun to use with hercules. tun is defined in the kernel and the traditional mknode method works fine but I loose it after a reboot. After a bit of research I added: # tun device for hercules KERNEL==tun, NAME=net/tun to /etc/udev/50-udev.rules but it doesn't seem to hack it. :( Anybody any ideas? I have this in my /etc/udev/rules.d/10-udev-rules # N.B.: Using := prevents later rules modifying parameters, # 50-dev-rules will reset device permissions to 600. KERNEL==tun, NAME=net/%k,MODE:=666 If you're not running hercules as root, you will need at least file mode 660. Also, you should set /usr/bin/hercifc suid, otherwise hercules will not be able to create the tun device for you. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Dual Boot System Setup
It's best to install Windows first, as it always overwrites the master boot record, which destroys a Grub or Lilo setup. Grub is perfectly capable of booting Windows by 'chain loading' to the Windows loader. Booting linux from the Windows loader is a lot more complex. I'd recommend having a fat32 (vfat) partition for sharing data between the Windows and Linux. However, one of the major snags with vfat is that it does not support group and user attributes, and seems to map the fat 'archive' attribute to 'executable' under linux, which is rather irritating. vfat is also a poor choice for NFS sharing because of it's lack of user and group attributes. Cheers, Dave Sean wrote on 01/24/06 04:06: I have a laptop I want to setup to boot either Gentoo or Windows. Looking around I am trying to find recommendations as to which is better to install first, Gentoo or Windows. From what I found, either often gets a recommendation. Would anyone recommend which is the best method for setup, start with Gentoo or Windows? I also want to setup a common partition for data storage which both can access. Again, can anyone recommend a setup? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to safely unmerge a package
But now, qpkg does not exist anymore, and I've read it was replaced by equery. qpkg does exist, but it has been deprecated, so it is not installed into your path any more. You can move it to /usr/local/bin from its current location of /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg Or you could link it? # ln -s /usr/share/doc/gentoolkit-version/deprecated/qpkg/qpkg /usr/bin/qpkg Try installing portage-utils, which has a new version of qpkg. Works well for me. qpkg seems to have disappeared from gentoolkit/bin since the latest release of portage too, so unfortunately the link solution doesn't work any more either. Cheers, Dave -- gentoo-user@gentoo.org mailing list