Re: [gentoo-user] /dev/pts - how is it mounted
On Tue, 2005-06-21 at 07:42 +0200, Dirk Heinrichs wrote: Am Dienstag, 21. Juni 2005 07:26 schrieb ext Ow Mun Heng: I noticed that when I type mount, it will list devpts on /dev/pts type devpts (rw) as mounted, but in /etc/fstab, I don't have any specific lines which calls for that to be mounted. In /sbin/rc, but only if your kernel has devpts filesystem support. Thanks.. I just looked into my minimal gentoo FS, no /sbin/rc hmm... Will try to mount it and see if it works. Thanks. -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 13:59:53 up 2 days, 16:02, 6 users, load average: 0.68, 0.53, 0.38 -- gentoo-user@gentoo.org mailing list
[gentoo-user] GNOME: How to create document template?
Hi all. When I attempt to create a new file in Nautilus it gives me an inactive No templates installed and a usable Empty file option underneath. How would I go about creating a template that I could use here? I've looked through the Nautilus help files and did a quick Google search and could not find the answer. :-( (I found one page that says you can drop documents in Nautilus's templates directory, but trying to open templates:/// in Nautilus simply gives me an error message saying that it could not be found. For example, I'm working on a project for myself in PHP and was wondering if there was a way to create a template (i.e., with a commented header and opening/closing PHP tags) so that I could easily create new files for the project without having to recreate the header and footer information and whatnot. I also would like to have a similar setup with documents for school, so I could create a new AbiWord document, for example, which contained a header with my name, the class, the document title, etc. Thanks for your time and input. :-) -- () The ASCII Ribbon Campaign - against HTML Email, /\ vCards, and proprietary formats. --- Peter A. Gordon (codergeek42) E-Mail: [EMAIL PROTECTED] GPG Public Key ID: 0x87C59026 GPG Public Key Fingerprint: A5E9 EA8E 146B 4B44 E26A 385B 278C 74CC 87C5 9026 Encrypted and/or Signed correspondence preferred. GPG Public Key available upon request or from pgp.mit.edu's public key server. signature.asc Description: This is a digitally signed message part
[gentoo-user] Routing strangeness
Hi, I'm facing something quite bizar, i have a static route on my firewall and with a tracepath i see that this firewall always takes another route. The static must use 10.32.16.50. Can someone explain me way this happens? I'm doing a tracepath from the FW to 10.32.32.2 with passes ucc-openvpn Result ucc-fw-01[admin]# traceroute -n 10.32.32.2 traceroute to 10.32.32.2 (10.32.32.2), 30 hops max, 40 byte packets 1 10.32.100.34 1.635 ms 0.310 ms 0.211 ms ^C If i bring down the interface 10.32.100.34 on the ucc-openvpn machine i get this result ucc-fw-01[admin]# traceroute -n 10.32.32.2 traceroute to 10.32.32.2 (10.32.32.2), 30 hops max, 40 byte packets 1 10.32.16.50 0.379 ms 0.279 ms 0.212 ms 2 * * * 10 * *^C from the open-vpn to 10.32.32.2 ucc-openvpn-01 root # tracepath -n 10.32.32.2 1: 10.32.101.4 0.131ms pmtu 1500 1: 10.32.101.3 4.900ms 2: 10.32.32.23.929ms reached Resume: pmtu 1500 hops 2 back 2 ucc-openvpn-01 root # netstat -nr Kernel IP routing table Destination Gateway Genmask Flags 10.32.101.3 0.0.0.0 255.255.255.255 UH 10.32.101.1 0.0.0.0 255.255.255.255 UH 10.32.3.129 10.32.101.1 255.255.255.255 UGH 10.32.3.128 10.32.101.1 255.255.255.255 UGH 10.32.101.130.0.0.0 255.255.255.255 UH 10.32.101.110.0.0.0 255.255.255.255 UH 10.32.32.0 10.32.101.3 255.255.255.248 UG 10.32.26.0 10.32.16.20 255.255.255.240 UG 10.32.100.1610.32.16.20 255.255.255.240 UG 10.32.100.0 0.0.0.0 255.255.255.240 U 10.32.100.320.0.0.0 255.255.255.240 U 10.32.16.0 0.0.0.0 255.255.255.0 U 10.32.64.0 10.32.101.3 255.255.255.0 UG 10.32.65.0 10.32.101.3 255.255.255.0 UG 10.32.0.0 10.32.101.3 255.255.252.0 UG 127.0.0.0 127.0.0.1 255.0.0.0 UG 0.0.0.0 10.32.16.20 0.0.0.0 UG FW DestinationGatewayFlags Refs UseNetif Expire default81.246.22.209 CU 00 eth-s1p1c0 0.0.0.0 CU 00 10.32.0/22 10.32.16.50CU 00 eth-s1p3c0 10.32.16/24 CGUX00 eth-s1p3c0 10.32.16.0 10.32.16.0 CGU 00 eth-s1p3c0 10.32.16.1 0:0:c:9:c1:df CGU 00 eth-s1p3c0 ucc-fw-01 ucc-fw-01 CGU 00 eth-s1p3c0 10.32.16.500:12:3f:20:17:fa CGU 00 eth-s1p3c0 10.32.16.253 0:1:30:bc:8:90 CGU 00 eth-s1p3c0 10.32.16.254 0:e0:2b:57:30:0CGU 00 eth-s1p3c0 10.32.16.255 10.32.16.255 CGU 00 eth-s1p3c0 10.32.26.0/28 CGUX00 eth-s1p4c0 10.32.26.0 10.32.26.0 CGU 00 eth-s1p4c0 10.32.26.1 0:f:24:7d:18:a0CGU 00 eth-s1p4c0 10.32.26.2 10.32.26.2 CGU 00 eth-s1p4c0 10.32.26.1510.32.26.15CGU 00 eth-s1p4c0 10.32.32.0/29 10.32.16.50CU 00 eth-s1p3c0 10.32.66/24 CGUX00 eth-s1p2c0 10.32.66.0 10.32.66.0 CGU 00 eth-s1p2c0 10.32.66.1 10.32.66.1 CGU 00 eth-s1p2c0 10.32.66.255 10.32.66.255 CGU 00 eth-s1p2c0 10.32.100.16/2810.32.26.1 CU 00 eth-s1p4c0 10.32.100.32/28 CGUX00 eth-s1p3c0 10.32.100.32 10.32.100.32 CGU 00 eth-s1p3c0 10.32.100.33 10.32.100.33 CGU 00 eth-s1p3c0 10.32.100.47 10.32.100.47 CGU 00 eth-s1p3c0 10.35/16 10.32.16.1 CU 00 eth-s1p3c0 81.246.22.208/28 CGUX00 eth-s1p1c0 81.246.22.208 81.246.22.208 CGU 00 eth-s1p1c0 81.246.22.209 0:12:0:9d:dc:60CGU 00 eth-s1p1c0 ucc-fw-01-extern ucc-fw-01-extern CGU 00 eth-s1p1c0 81.246.22.223 81.246.22.223 CGU 00 eth-s1p1c0 127/8 BCU 00 localhost localhost CG 00 224/4 RCU 00 224.0.0.1 CDU 00 240/4 BCU 00 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Filesystem wars - ReiserFS 3.6 vs. JFS
On Tue, 21 Jun 2005, Colin wrote: Right now, I'm having PartitionMagic 8.0 check each sector of the disk, to see if it was a hardware problem. (It'd better not be, I bought this disk not even a year ago!) If its Maxtor I would not be surprised... -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] problem starting KDE
Sorry.. I was not sure if the quoting was right.. gmail just got crazy!! I repeat! On 6/19/05, Holly Bostick [EMAIL PROTECTED] wrote: Not necessarily, if the internal default for this setting is ON (which Idon't know), but in any case, when commented settings revert to theirinternla default, so in this case it might be better to explicitly set it to Off. So I set Option UseFBDev to Off, and now I get this: MergedFB does not work with Option UseFBDev, MergedFB mode is disable. and I'm unable to start X. Well, of course they do-- you're using the 'defaults' option, whichimplies (among other things) 'noexec'-- which means scripts may not be run (no executables may be run) from the partition. You might want toadd the 'exec' option *after* the 'defaults' option (so that itoverrides the 'noexec' included by 'defaults', if you put 'exec' beforedefaults, the 'noexec' witll override the exlplicit 'exec', which is not what you want). You maybe got confused, because 'defaults' use 'exec' and not 'noexec'. But, for clear doubts, I double set 'exec' and tried again, with no success... I still can't create a user properly! And this problem spreads to X startup.. what can be wrong? (from /etc/fstab) /dev/hda5/home vfat defaults,gid=100,umask=002 0 0 I set the gid to all users. I give rxw to 'group' members... but still nothing.. I see a solution by moving /home/ to the linux partition... but I think this should work though...Also not quite sure what is the usefulness of 'umask=000', since that just says leave the umask as it is Yes... it was 002 before.. I changed to check if the problem was due to 'others' permission.. http://www.shell-shocked.org/article.php?id=230 (:: Shell-Shocked ::Tutorial: Multiple Linux Distros). very nice.. :) though, didn't help... :(
Re: [gentoo-user] emerge gnome problem
Massimiliano Bellomo wrote: Hi, I'm doing emerge gnome and i get the following error while emerging dev-libs/nss-3.9.2-r3: cd atob; make libs make[2]: Entering directory `/var/tmp/portage/nss-3.9.2-r3/work/nss-3.9.2/mozilla/security/nss/cmd/atob' gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/atob.o -c -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DNSPR20 -UDEBUG -DNDEBUG -D_REENTRANT -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include -I../../../dist/public/nss -I../../../dist/private/nss -I/usr/include/nspr -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm -I../../../dist/public/seccmd -I../../../dist/public/dbm atob.c gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/atob -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DNSPR20 -UDEBUG -DNDEBUG -D_REENTRANT -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include -I../../../dist/public/nss -I../../../dist/private/nss -I/usr/include/nspr -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm -I../../../dist/public/seccmd -I../../../dist/public/dbm Linux2.6_x86_glibc_PTH_OPT.OBJ/atob.o ../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/libsectool.a -Wl,-rpath-link,../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib -L../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/ -L/usr/lib/nspr/ -lssl3 -lsmime3 -lnss3 -lplc4 -lplds4 -lnspr4 -L/lib -lpthread -ldl -lc /usr/lib/nspr//libnspr4.so: undefined reference to `__dlsym' /usr/lib/nspr//libnspr4.so: undefined reference to `__dladdr' /usr/lib/nspr//libnspr4.so: undefined reference to `__dlclose' /usr/lib/nspr//libnspr4.so: undefined reference to `__dlopen' /usr/lib/nspr//libnspr4.so: undefined reference to `__dlerror' collect2: ld returned 1 exit status make[2]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/atob] Error 1 make[2]: Leaving directory `/var/tmp/portage/nss-3.9.2-r3/work/nss-3.9.2/mozilla/security/nss/cmd/atob' make[1]: *** [libs] Error 2 make[1]: Leaving directory `/var/tmp/portage/nss-3.9.2-r3/work/nss-3.9.2/mozilla/security/nss/cmd' make: *** [libs] Error 2 !!! ERROR: dev-libs/nss-3.9.2-r3 failed. !!! Function src_compile, Line 65, Exitcode 2 !!! nss make failed Any help ??? Thanks, Max. That file belongs to nspr so you may need to remerge it. equery belongs /usr/lib/nspr/libnspr4.so dev-libs/nspr What version of revdep-rebuild are you using? If you unmask the latest gentookit there is a new version or revdep-rebuild. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where does package.provided go?
I had noticed that in the portage manpage but thought it meant I had to make my own profile. Guess not. Anyway, created /etc/portage/profile and placed package.provided there. Worked like a charm. Thanks Zac. On Mon, 2005-06-20 at 12:53 -0700, Zac Medico wrote: Anthony E. Caudel wrote: Since emerge -inject is depreciated, the way to tell emerge that a package is already installed is to list it in package.provided. It seems there is some confusion as to where package.provided should be placed. The portage man page talks about /etc/make.profile/ but I have seen other documentation (I believe in the gentoo wiki) which says put in /etc/portage/. The problem is that emerge ignores it in /etc/portage and an emerge sync removes it from /etc/make.profile/. So the question is: Where should it be placed? From the portage manpage: /etc/portage/profile/ site-specific overrides of /etc/make.profile/ Zac -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge gnome problem
If you like try emerging gnome-light and then add the packages you want. If it works it doesn't solve the problem, but you can use gnome. Ciao, Emanuele Massimiliano Bellomo wrote: Nothing has changed after revdep-rebuild, same error as before !?! Any idea ? try revdep-rebuild and then emerge gnome Massimiliano Bellomo wrote: Hi, I'm doing emerge gnome and i get the following error while emerging dev-libs/nss-3.9.2-r3: cd atob; make libs make[2]: Entering directory `/var/tmp/portage/nss-3.9.2-r3/work/nss-3.9.2/mozilla/security/nss/cmd/atob' gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/atob.o -c -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DNSPR20 -UDEBUG -DNDEBUG -D_REENTRANT -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include -I../../../dist/public/nss -I../../../dist/private/nss -I/usr/include/nspr -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm -I../../../dist/public/seccmd -I../../../dist/public/dbm atob.c gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/atob -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DNSPR20 -UDEBUG -DNDEBUG -D_REENTRANT -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include -I../../../dist/public/nss -I../../../dist/private/nss -I/usr/include/nspr -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm -I../../../dist/public/seccmd -I../../../dist/public/dbm Linux2.6_x86_glibc_PTH_OPT.OBJ/atob.o ../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/libsectool.a -Wl,-rpath-link,../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib -L../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/ -L/usr/lib/nspr/ -lssl3 -lsmime3 -lnss3 -lplc4 -lplds4 -lnspr4 -L/lib -lpthread -ldl -lc /usr/lib/nspr//libnspr4.so: undefined reference to `__dlsym' /usr/lib/nspr//libnspr4.so: undefined reference to `__dladdr' /usr/lib/nspr//libnspr4.so: undefined reference to `__dlclose' /usr/lib/nspr//libnspr4.so: undefined reference to `__dlopen' /usr/lib/nspr//libnspr4.so: undefined reference to `__dlerror' collect2: ld returned 1 exit status make[2]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/atob] Error 1 make[2]: Leaving directory `/var/tmp/portage/nss-3.9.2-r3/work/nss-3.9.2/mozilla/security/nss/cmd/atob' make[1]: *** [libs] Error 2 make[1]: Leaving directory `/var/tmp/portage/nss-3.9.2-r3/work/nss-3.9.2/mozilla/security/nss/cmd' make: *** [libs] Error 2 !!! ERROR: dev-libs/nss-3.9.2-r3 failed. !!! Function src_compile, Line 65, Exitcode 2 !!! nss make failed Any help ??? Thanks, Max. ___ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.beta.messenger.yahoo.com ___ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.beta.messenger.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Filesystem wars - ReiserFS 3.6 vs. JFS
A. Khattri wrote: On Tue, 21 Jun 2005, Colin wrote: Right now, I'm having PartitionMagic 8.0 check each sector of the disk, to see if it was a hardware problem. (It'd better not be, I bought this disk not even a year ago!) If its Maxtor I would not be surprised... Nope, Western Digital. Their drives are pretty good. I've got an old 700 MB drive from 1994 that's still alive and seeking. Besides, PartitionMagic found no errors. I used to use a Maxtor, though. That thing was 7200 RPM, ATA/133 and very thin, so it got very hot very quickly. I wouldn't be surprised if it failed. Now it's running the family computer, which is fairly well-ventilated. I stuck a heatsink/fan on the bottom of the drive just in case; it runs much cooler now. This filesystem wipeout was my fault anyway. I made a n00b mistake involving /dev... let's not go off-topic. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] (Slightly OT) PC IDE cards in a Gentoo-ed Mac?
Mac IDE cards are more expensive than PC IDE cards. I've got a SIIG Ultra ATA 100 PCI RAID controller lying around and a couple of IDE drives. Now, the card's firmware isn't Mac compatible, and none of my Macs (all PCI-based OldWorld architecture) have onboard IDE. Would the PowerPC version of Gentoo (2.6.10-gentoo-r8) be able to detect and use this card? As for booting the system once it's installed, would quik be able to detect the card or would I still need a SCSI disk to boot the Mac OS (for BootX)? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Filesystem wars - ReiserFS 3.6 vs. JFS
Colin [EMAIL PROTECTED] writes: I might go with ReiserFS again, because no filesystem is perfect, but Reiser comes very close to it despite this latest problem. I'm also considering JFS, but I can't find any comments about it. Has anyone on this list had any experience with JFS as a general-purpose file system, and would you recommend it over ReiserFS 3.6? I use JFS on my laptop (it's an IBM ThinkPad, so why not use an IBM-made file system?). It has worked great for a long time. I have never lost a file after a crash (I use all the latest kernels, so crashes happen sometimes). I have lost files to ReiserFS on the same machine, but it's been a long time since I used that fs. It could be better now. If you want to be safe, go for ext3. -- Hilsen Harald. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] problem starting KDE
Fernando Meira schreef: Sorry.. I was not sure if the quoting was right.. gmail just got crazy!! I repeat! On 6/19/05, *Holly Bostick* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Not necessarily, if the internal default for this setting is ON (which I don't know), but in any case, when commented settings revert to their internla default, so in this case it might be better to explicitly set it to Off. So I set Option UseFBDev to Off, and now I get this: MergedFB does not work with Option UseFBDev, MergedFB mode is disable. and I'm unable to start X. All right-- I don't know what any of this means, but it is in fact much more information that what we previously had. What in the name of sanity is MergedFB, and where can we turn it off? Why is UseFBDev trying to turn *on* when your setting is *off* ? But in any case, it's time to go back to the sources, clearly. All you've posted is the X.log.0, here are the errors: (WW) The directory /usr/share/fonts/CID/ does not exist. This one is not important (doesn't stop X from starting). (WW) Open APM failed (/dev/apm_bios) (No such file or directory) I don't use APM, as this is a desktop, not a laptop. However, you seem to have a laptop, so while I would not necessarily think that this would stop X from starting (it might, though), this seems distinctly double-plus-ungood and needs to be fixed ASAP in any case. But that's a kernel issue (APM support would seem to be uncompiled). (WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled Oh-- *that's* what MergedFB mode is... dual-head! Which you clearly don't even have (unless your second monitor is just broke). So this should be turned off, but still shouldn't be stopping X from starting. The actual showstopper seems to be here: drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed [drm] failed to load kernel module radeon (II) RADEON(0): [drm] drmOpen failed (EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI. Basically, the 'radeon' module (the kernel opensource drivers) are not able to initialize 3D hardware acceleration (afaik, the 'radeon' drivers cannot do this for the Mobility chipsets; you would need the fglrx drivers)-- and if you are using KDM or GDM or Entrance to start X (rather than just 'startx' from a console), you need this functionality (GNOME or KDE, ime, won't start without some form of acceleration, be it ATI, MESA or whatever). So I'd like to know how your kernel is configured, and what your xorg.conf looks like. Well, of course they do-- you're using the 'defaults' option, which implies (among other things) 'noexec'-- which means scripts may not be run (no executables may be run) from the partition. You might want to add the 'exec' option *after* the 'defaults' option (so that it overrides the 'noexec' included by 'defaults', if you put 'exec' before defaults, the 'noexec' witll override the exlplicit 'exec', which is not what you want). You maybe got confused, because 'defaults' use 'exec' and not 'noexec'. But, for clear doubts, I double set 'exec' and tried again, with no success... I still can't create a user properly! And this problem spreads to X startup.. what can be wrong? You're right, according to man mount but I know from hard experience that there is *some* option that sets nodev nosuid and noexec *as well as* the explicit option when you set it ah, it's - user Allow an ordinary user to mount the file system. The name of the mounting user is written to mtab so that he can unmount the file system again. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid). So I had the wrong option, sorry. But I don't understand why settings in /etc/fstab would affect user creation, or X startup of all things unless what you're saying is: 1) Because your /home partition is FAT32, when you try to create a user, the default files cannot be copied to create the user's home folder because the permissions are wrong. But this doesn't make any sense (to me), because root is creating users, and root *does* have permission; and 2) You cannot start X because your user does not have permission to various files (like .Xauthority), but this also doesn't make sense to me, because a) X is failing to start long before a user is involved (the basic X server is not able to start enough to read user files) and b) the user should have read permissions to their own home folder even if your
Re: [gentoo-user] Which emulators for DOS+Win3.1 games?
Walter Dnes schreef: On Mon, Jun 20, 2005 at 12:20:05PM +0200, Holly Bostick wrote What is your MIDI setup (is MIDI currently running on your machine without reference to dosbox)? I should have ALSA MIDI and Timidity set What the bleep have they done to Timidity??? It *USED* to work out-of-the-the-box in previous versions. Now it's looking for some current directory, and dies with an error. If I comment out the line source current/timidity.cfg in /etc/timidity.cfg it does attempt to play, but generates a ton of messages like... No instrument mapped to tone bank 0, program 27 - this instrument will not be heard I *DID* RTFM the timidity and timidity.cfg and there's *NOTHING* about current/timidity.cfg Here's my /etc/timidity.cfg: # # 1. Change directory to patch directory # 2. Source current/timidity.cfg # # Current patch set will always be symlinked to current, so make sure that the # proper timidity.cfg is in there # # # - source /usr/share/timidity # - source ~/.timidity/current # - Make ~/.timidity/current point to the current patch set, or to whatever #the individual user sets # - If ~/.timidity/current isn't found, it will try #/usr/share/timidity/current # dir /usr/share/timidity dir ~/.timidity source current/timidity.cfg OK. I don't have a ~/.timidity, but /usr/share/timidity is there. As you found, there is no /current directory, but since this whole thing refers to patches, I can only assume that the /eawpatches folder-- which *is* present-- would be what is desired (but what about me, who doesn't have a bloody SoundBlaster? Do I need these patches? Can I use these patches? I don't know). The eawpatches folder does contain a timidity.cfg, further indicating that somebody simply forgot to change the name (either of the folder, to /current, or of the setting, to point to /eawpatches instead of /current). So since you can set the 'patch folder' yourself, I would suggest changing the setting to read source eawpatches/timidity.cfg and that looks like it would work. I know nothing about MIDI or Timidity, so I wouldn't know if it was working anyway; I only installed it because a game I was trying to install plays all the WAV files properly, but not the MIDI, and I thought it might help. However, a) my soundcard does have a Wavetable Synthesizer (so I shouldn't need to emulate Midi); b) I fixed ALSA, which was set up wrong (so the internal Midi should be working); and c) for all I know, it's a Wine/Cedega problem anyway, and nothing to do with ALSA or Timidity. The point being, we have now reached (and passed) the point where you know more about this than I do, but I hope I've been helpful in giving you a boost to a point where you can fix the remaining issues yourself :) . Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] GNOME: How to create document template?
Peter Gordon schreef: Hi all. When I attempt to create a new file in Nautilus it gives me an inactive No templates installed and a usable Empty file option underneath. How would I go about creating a template that I could use here? Just a WAG: Is it possible to open that empty file, edit it to your preference (with the tags, and header), and then save it as a template? I also have no templates installed in my menu, but choosing Go To=Templates takes me to /home/username/Templates (which is empty), rather than any templates:/// virtual directory. Do you have such a folder? What version of Nautilus are you using? Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] Odd Ethereal Error
I've run into a strange ethereal error. I use system A to log into system B, via ssh -Y, then run ethereal from there. It shows up on system A. This has worked fine for a while, but now as you'll see in the screenshot, the buttons along the top are missing their graphics, and where you usually have IP's and hostnames in the black area, and lines connecting them, well, it's hard to describe. http://fire-eyes.org/gal/view_photo.php?full=1set_albumName=screenshotsid=etherape_error_01 Any ideas? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Alternatives to xdm/gdm?
Just thinking out loud here, but couldn't you launch myth from /etc/inittab with a respawn action? Matt -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] logout a gnome session with commandline?
Hi Zhang, I don't know for sure if what I'm going to say is true, but I believe that if you kill the gnome-session process being run by your user, it will shutdown the Gnome session and all the apps that are child processes of it. It is a wild guess, but might be worth trying. Hope this helps you out, Raphael ;) 2005/6/21, Zhang Weiwu [EMAIL PROTECTED]: Hello. I often remotely login to my other computer using XDMCP (run gdom, select XDMCP chooser...) but the connection could be broken for many reasons (connection down, or the host I am using gets down). The next time I login, it would prompt me something like you are logined in from another place, do you still wish to login , and if I click 'yes', I will see dozens of startup application crash because they cannot run twice by same user. Is it possible I logout my previous (connection broken) session by using commandline? Thus I could ssh gets into the host, run the command, and re-login. The local administrator have a straight forward method of #ps U zhangweiwu | awk {print $1} | xargs kill -TERM This solves the problem instantly! I just feeling courious if there are 'better' methods. I remember when I was on Windows there is something like 'session manager' where each logged in session can be manually 'log out', is there similar thing on gnome? -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Filesystem wars - ReiserFS 3.6 vs. JFS
Sorry, but I have to ask, what was your n00b mistake? I don't want to do the same 2005/6/21, Colin [EMAIL PROTECTED]: A. Khattri wrote: On Tue, 21 Jun 2005, Colin wrote: Right now, I'm having PartitionMagic 8.0 check each sector of the disk, to see if it was a hardware problem. (It'd better not be, I bought this disk not even a year ago!) If its Maxtor I would not be surprised... Nope, Western Digital. Their drives are pretty good. I've got an old 700 MB drive from 1994 that's still alive and seeking. Besides, PartitionMagic found no errors. I used to use a Maxtor, though. That thing was 7200 RPM, ATA/133 and very thin, so it got very hot very quickly. I wouldn't be surprised if it failed. Now it's running the family computer, which is fairly well-ventilated. I stuck a heatsink/fan on the bottom of the drive just in case; it runs much cooler now. This filesystem wipeout was my fault anyway. I made a n00b mistake involving /dev... let's not go off-topic. -- Colin -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] More Netbeans emerge woes
On Monday June 20 2005 11:22 pm, Justin Hart wrote: Upon emerging Netbeans 4.0, portage tries to emerge xalan, which complains that it cannot find package xerces-2, which causes the build to fail. I remember something like that scrolling past when I installed it, but it just kept on going, and xalan and xerces were installed in the end. On my system, I think Netbeans was installed as a dependecy (possibly from KDevelop, I'm not sure), so that could be it. pgp5aYPlYgXwz.pgp Description: PGP signature
Re: [gentoo-user] Odd Ethereal Error
On Tue, 2005-06-21 at 08:53 -0400, fire-eyes wrote: I've run into a strange ethereal error. I use system A to log into system B, via ssh -Y, then run ethereal from there. It shows up on system A. This has worked fine for a while, but now as you'll see in the screenshot, the buttons along the top are missing their graphics, and where you usually have IP's and hostnames in the black area, and lines connecting them, well, it's hard to describe. http://fire-eyes.org/gal/view_photo.php?full=1set_albumName=screenshotsid=etherape_error_01 Any ideas? Of course, I meant etherape.. But still heh. -- gentoo-user@gentoo.org mailing list
[gentoo-user] ip forwarding question
Hello! I have to PCs. 1st one used as a router. On 2nd PC I have web server installed and would like to setup ip forwarding to the 2nd PC. In my iptables rule script I added the line: $IPTABLES -t nat -A PREROUTING -p tcp --dport 80 -i ppp0 -j DNAT --to 192.168.0.2 Where 192.168.0.2 is the ip address of the 2nd PC. But is seems not correct. Please, give some advice. I'm using PPPoE Adsl connection. askar
Re: [gentoo-user] Line numbers in nano
Ryan Viljoen schreef: Is it possible to get nano to display line numbers? Doesn't look like it, but with Meta-C (the Meta key is usually ALT, but you can change this, or your keyboard settings may do so), you get a constant cursor position display, which will tell you what line you are currently on. If you don't want a constant display, CTRL-C will tell you the cursor position at the time you ran ^C, but will not 'track' the cursor if it moves. Try ^G to see all the options available via ^+?? and Meta+?? . HTH, Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] caller id?
hello list, anyone knows a nice and simple to setup caller ID application for linux? best, lj -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ip forwarding question
As root do: echo 1 /proc/sys/net/ipv4/ip_forward /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE where eth0 is your outward facing port to your router. I've used ppp0 with a dial up connection, and that works too. --Kurt askar ... wrote: Hello! I have to PCs. 1st one used as a router. On 2nd PC I have web server installed and would like to setup ip forwarding to the 2nd PC. In my iptables rule script I added the line: $IPTABLES -t nat -A PREROUTING -p tcp --dport 80 -i ppp0 -j DNAT --to 192.168.0.2 http://192.168.0.2 Where 192.168.0.2 http://192.168.0.2 is the ip address of the 2nd PC. But is seems not correct. Please, give some advice. I'm using PPPoE Adsl connection. askar -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ip forwarding question
Hi, On Tue, 21 Jun 2005 20:16:21 +0600 askar ... [EMAIL PROTECTED] wrote: I have to PCs. 1st one used as a router. Well, I think then you've already set up forwarding, like Kurt G. mentioned. On 2nd PC I have web server installed and would like to setup ip forwarding to the 2nd PC. In my iptables rule script I added the line: $IPTABLES -t nat -A PREROUTING -p tcp --dport 80 -i ppp0 -j DNAT --to 192.168.0.2 http://192.168.0.2 Where 192.168.0.2 http://192.168.0.2 is the ip address of the 2nd PC. But is seems not correct. You have to explain this. Why doesn't it seem to be correct? A few ideas: - the FORWARD queue must also allow new connections from the outside (- i ppp0) to 192.168.0.2 (because PREROUTING modifies the packet before FORWARD sees it, it's not 192.168.0.1 here) - 192.168.0.2 must have proper routes configured to answer back via the Router, - the router must allow that packets are leaving the 192.168.0/24 net to any address. - your configuration probably won't work when you're using conntrack for the forwarding rules at the moment. You may want to issue (see my first point, too): $IPTABLES -A FORWARD -i ppp0 -d 192.168.0.2 -p tcp --dport 80 -m state \ --state NEW,RELATED,ESTABLISHED -j ACCEPT if you didn't already. otherwise insert a few LOG rules and see what's going on. Are the packets hitting the web server? HWH -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Odd Ethereal Error
Hi, On Tue, 21 Jun 2005 08:53:43 -0400 fire-eyes [EMAIL PROTECTED] wrote: I've run into a strange ethereal error. I use system A to log into system B, via ssh -Y, then run ethereal from there. It shows up on system A. This has worked fine for a while, but now as you'll see in the screenshot, the buttons along the top are missing their graphics, and where you usually have IP's and hostnames in the black area, and lines connecting them, well, it's hard to describe. http://fire-eyes.org/gal/view_photo.php?full=1set_albumName=screenshotsid=etherape_error_01 Well, it's forbidden for me (not the php, but the actual image). Anyway, guessing from your description: do you have a pseudocolor visual on A? You may want to try changing to TrueColor. It's configured by the Visual directive in the Display section of your xorg.conf. In all other cases colors will be mapped, which can go wrong. But PseudoColor is usually used on 8 bit color only... Also, you may want to check the RgbPath in the Files section. HWH -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] caller id?
On Tue, 21 Jun 2005, luis jure wrote: anyone knows a nice and simple to setup caller ID application for linux? What sort of phone? Landline or cellular? -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Odd Ethereal Error
On Tue, 2005-06-21 at 17:23 +0200, Hans-Werner Hilse wrote: Hi, On Tue, 21 Jun 2005 08:53:43 -0400 fire-eyes [EMAIL PROTECTED] wrote: I've run into a strange ethereal error. I use system A to log into system B, via ssh -Y, then run ethereal from there. It shows up on system A. This has worked fine for a while, but now as you'll see in the screenshot, the buttons along the top are missing their graphics, and where you usually have IP's and hostnames in the black area, and lines connecting them, well, it's hard to describe. http://fire-eyes.org/gal/view_photo.php?full=1set_albumName=screenshotsid=etherape_error_01 Well, it's forbidden for me (not the php, but the actual image). Anyway, guessing from your description: do you have a pseudocolor visual on A? You may want to try changing to TrueColor. It's configured by the Visual directive in the Display section of your xorg.conf. In all other cases colors will be mapped, which can go wrong. But PseudoColor is usually used on 8 bit color only... Also, you may want to check the RgbPath in the Files section. HWH Okay I'll look. I restarted it, and I don't see that problem but I'll look anyway. If you tried to view the image directly then you'd get that error, has to be within that page. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ip forwarding question
eth0 - connects to the lan # Set up IP FORWARDing and MASQUERADING iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE iptables --append FORWARD --in-interface eth0 -j ACCEPT echo 1 /proc/sys/net/ipv4/ip_forward4 That should do the job. Just make sure that all the neccessay things are compiled into the kernel. I had trouble with mtu's but try this first than we can try something else :P On 6/21/05, Kurt Guenther [EMAIL PROTECTED] wrote: As root do: echo 1 /proc/sys/net/ipv4/ip_forward /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE where eth0 is your outward facing port to your router. I've used ppp0 with a dial up connection, and that works too. --Kurt askar ... wrote: Hello! I have to PCs. 1st one used as a router. On 2nd PC I have web server installed and would like to setup ip forwarding to the 2nd PC. In my iptables rule script I added the line: $IPTABLES -t nat -A PREROUTING -p tcp --dport 80 -i ppp0 -j DNAT --to 192.168.0.2 http://192.168.0.2 Where 192.168.0.2 http://192.168.0.2 is the ip address of the 2nd PC. But is seems not correct. Please, give some advice. I'm using PPPoE Adsl connection. askar -- gentoo-user@gentoo.org mailing list -- When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows Are you fearing my mouse? :3___) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] (Slightly OT) PC IDE cards in a Gentoo-ed Mac?
On Tue, 21 Jun 2005, Colin wrote: Mac IDE cards are more expensive than PC IDE cards. I've got a SIIG Ultra ATA 100 PCI RAID controller lying around and a couple of IDE drives. Now, the card's firmware isn't Mac compatible, and none of my Macs (all PCI-based OldWorld architecture) have onboard IDE. Would the PowerPC version of Gentoo (2.6.10-gentoo-r8) be able to detect and use this card? As for booting the system once it's installed, would quik be able to detect the card or would I still need a SCSI disk to boot the Mac OS (for BootX)? Probably the gentoo-ppc list would be a better place to ask. -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ip forwarding question
On 6/21/05, Kurt Guenther [EMAIL PROTECTED] wrote: As root do:echo 1 /proc/sys/net/ipv4/ip_forward/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADEwhere eth0 is your outward facing port to your router.I've used ppp0 with a dial up connection, and that works too. --KurtThanks, but I already have this script in my iptable rules. My router works for PC in LAN. But when I run in LAN PC www.mydomain.com it doesn't homepage. Though I can see web page when I run http://localhost. askar
Re: [gentoo-user] ip forwarding question
Hi, On Tue, 21 Jun 2005 21:22:35 +0600 askar ... [EMAIL PROTECTED] wrote: On 6/21/05, Kurt Guenther [EMAIL PROTECTED] wrote: As root do: echo 1 /proc/sys/net/ipv4/ip_forward /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE where eth0 is your outward facing port to your router. I've used ppp0 with a dial up connection, and that works too. --Kurt Thanks, but I already have this script in my iptable rules. My router works for PC in LAN. The rule mentioned by Kurt is not needed. In fact, you'd loose IP information on 192.168.0.2 which would see the packets coming from 192.168.0.1 if you issued that rule. (you told it to masquerade) Would make web server logging rather complex ;-) and you'd need to do this stateful to have the correct target addresses written when the replies are sent (which would go to 192.168.0.1, initially). Instead, only rewriting the target address is needed (if you don't have ill firewalls in your local LAN). But that rule is actually present. So I suggest removing the above mentioned rule. Well, it maybe breaks all other kind of stuff, too. I don't think Kurt really meant -o eth0 here... And by all means, get a tcpdump on ppp0 and eth0, the most relevant being eth0. HWH -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ip forwarding question
I have to PCs. 1st one used as a router. Well, I think then you've already set up forwarding, like Kurt G. mentioned. Yes I did. A few ideas: - the FORWARD queue must also allow new connections from the outside (- i ppp0) to 192.168.0.2 (because PREROUTING modifies the packet before FORWARD sees it, it's not 192.168.0.1 here) - 192.168.0.2 must have proper routes configured to answer back via the Router, - the router must allow that packets are leaving the 192.168.0/24 net to any address. - your configuration probably won't work when you're using conntrack for the forwarding rules at the moment. You may want to issue (see my first point, too): $IPTABLES -A FORWARD -i ppp0 -d 192.168.0.2 -p tcp --dport 80 -m state \ --state NEW,RELATED,ESTABLISHED -j ACCEPT if you didn't already. otherwise insert a few LOG rules and see what's going on. Are the packets hitting the web server? It didn't work. I think so because, when I type www.mydomain.com it gives me error The requested URL could not be retrieved. #iptables -L :Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT tcp -- anywhere anywheretcp dpt:ssh ACCEPT tcp -- anywhere anywheretcp dpt:www DROP all -- anywhere anywherestate INVALID,NEW Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywherestate NEW,ESTABLISHED DROP all -- anywhere anywherestate INVALID,NEW LOGall -- anywhere anywhereLOG level warning prefix `Dropped outgoing: ' LOGall -- anywhere anywhereLOG level warning prefix `Dropped incoming: ' ACCEPT tcp -- anywhere 192.168.0.2 tcp dpt:www state NEW,RELATED,ESTABLISHED - I have the following lines in script for logging: $IPTABLES -A FORWARD -i eth0 -o ppp0 -j LOG --log-prefix Dropped outgoing: $IPTABLES -A FORWARD -i ppp0 -o eth0 -j LOG --log-prefix Dropped incoming: But after I tried to access a web page, I found no info /vag/log/messages on the router side. I also have SQUID running. The iptables scripts as follows: - #!/bin/bash IPTABLES='/sbin/iptables' # Set interface values EXTIF='ppp0' INTIF1='eth0' # enable ip forwarding in the kernel /bin/echo 1 /proc/sys/net/ipv4/ip_forward # flush rules and delete chains $IPTABLES -F $IPTABLES -X # enable masquerading to allow LAN internet access $IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE # forward LAN traffic from $INTIF1 to Internet interface $EXTIF $IPTABLES -A FORWARD -i $INTIF1 -o $EXTIF -m state --state NEW,ESTABLISHED -j ACCEPT #echo -e- Allowing access to the SSH server $IPTABLES -A INPUT --protocol tcp --dport 22 -j ACCEPT #echo -e- Allowing access to the HTTP server $IPTABLES -A INPUT --protocol tcp --dport 80 -j ACCEPT # block out all other Internet access on $EXTIF $IPTABLES -A INPUT -i $EXTIF -m state --state NEW,INVALID -j DROP $IPTABLES -A FORWARD -i $EXTIF -m state --state NEW,INVALID -j DROP $IPTABLES -A FORWARD -i eth0 -o ppp0 -j LOG --log-prefix Dropped outgoing: $IPTABLES -A FORWARD -i ppp0 -o eth0 -j LOG --log-prefix Dropped incoming: $IPTABLES -A FORWARD -i ppp0 -d 192.168.0.2 -p tcp --dport 80 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT --- askar -- gentoo-user@gentoo.org mailing list
[gentoo-user] Emerge system fails on libperl
Trying to do a new install on an x86. Got to the step emerge --emptytree system and it bombs on emerging libperl. Something about % not being in the target string. Does this sound familiar to someone, or do I need to poke around some more? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge kde-base/kdenetwork-3.3.2-r1 failed
On Monday 20 June 2005 22.26, Dan Johansson wrote: On Monday 20 June 2005 20.58, Zac Medico wrote: Dan Johansson wrote: While doing an emerge --update --deep --verbose world today it fails while compiling kdenetwork. Here are the last few lines from the compile run: snip What version of net-wireless/wireless-tools do you have. I recall a similar problem building kdenetwork-3.4 with wireless-tools-28 but wireless-tools-27 worked for me. Zac I have wireless-tools-28_pre8 installed. I'll try a downgrade tomorrow and then I'll let you know. A downgrade to pre6 solved the problem. --Dan -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! *** pgp2yYuYhz6Eg.pgp Description: PGP signature
[gentoo-user] samba + mysql + crypt password (pam or passdb)?
hi guys, I'm trying to use mysql with samba to authenticate users. The fist thing I've tryed was passdb wich one is very useful except that I can't personalize the querys but that's not a problem since I could make my needed changes at pdb_sql.c Well after trying for a while I saw that I can't use crypt password with this auth method but just nt password, lan manager password and plain password (which one I'm using now). The problem is that this database is used for such other things like courier-imap and this one could support crypt passwords. Looking around I saw that I could use crypt password with pam + mysql and I decide to give it a try but I can't make pam to work. Actually I think the problem is with passdb parameter wich one I don't know what to put since I didn't seen any parameter that could match pam. I did try to comment passdb parameter but if I try it nor password verification is done. That's my pam.d/samba file where we can see I'm using plain password (crypt=0): auth required pam_mysql.so user=USERNAME passwd=PASSWORD host=LOCALHOST db=DATABASE usercolumn=user_id crypt=0 passwdcolumn=password table=user account required pam_mysql.so user=USERNAME passwd=PASSWORD host=LOCALHOST db=DATABASE usercolumn=user_id crypt=0 passwdcolumn=password table=user password required pam_mysql.so user=USERNAME passwd=PASSWORD host=LOCALHOST db=DATABASE usercolumn=user_id crypt=0 passwdcolumn=password table=user session required pam_mysql.so user=USERNAME passwd=PASSWORD host=LOCALHOST db=DATABASE usercolumn=user_id crypt=0 passwdcolumn=password table=user what I want is to use crypt password with mysql. I don't know if is there a way to do it without make more changes to passdb source code or if I could pass some parameter identifying that I'm using pam instead of other auth methods, so any suggestion would be appreciated. Tks in advice, Claudinei Matos -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] caller id?
On Tue, 21 Jun 2005 13:01:51 -0300, luis jure wrote: i already have a hardware caller id, but it only displays the number of the calling party. i was thinking of a nice simple application with a database of phone numbers and names, so i could know _who_ is calling and not just the number. i googled around and found a couple that seem to be what i want, but all of them for windows... This came up a few months ago. Try searching the list archives. -- Neil Bothwick A computer program does what you tell it to do, not what you want it to do. pgpZM7PdKOauT.pgp Description: PGP signature
Re: [gentoo-user] ip forwarding question
Hi, I'm gonna comment your script below... On Tue, 21 Jun 2005 22:13:48 +0600 askar ... [EMAIL PROTECTED] wrote: The iptables scripts as follows: - #!/bin/bash IPTABLES='/sbin/iptables' # Set interface values EXTIF='ppp0' INTIF1='eth0' # enable ip forwarding in the kernel /bin/echo 1 /proc/sys/net/ipv4/ip_forward Note that this should be better done in the ppp-connect script rather than here. The iptables should be set up at boot time, I'd suggest. So you're not imposing a (rather short) open firewall situation. In fact, iptables doesn't care if interfaces are already available when setting up routes. # flush rules and delete chains $IPTABLES -F $IPTABLES -X # enable masquerading to allow LAN internet access $IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE this is OK as it only alters outgoing traffic to ppp0. # forward LAN traffic from $INTIF1 to Internet interface $EXTIF $IPTABLES -A FORWARD -i $INTIF1 -o $EXTIF -m state --state NEW,ESTABLISHED -j ACCEPT Hm, you may want to add RELATED to that state list... #echo -e- Allowing access to the SSH server $IPTABLES -A INPUT --protocol tcp --dport 22 -j ACCEPT #echo -e- Allowing access to the HTTP server $IPTABLES -A INPUT --protocol tcp --dport 80 -j ACCEPT Not needed, as all respective packets will get rewritten to 192.168.0.2 and will never hit the INPUT table. That doesn't include packets from internal LAN, see respective rule below. # block out all other Internet access on $EXTIF $IPTABLES -A INPUT -i $EXTIF -m state --state NEW,INVALID -j DROP Hm, you may switch that to a simple $IPTABLES -P INPUT DROP At least, the state matching is completely unneccessary here. SSH would already be accepted at this point. [from here use proposed parts below, I'll continue commenting] $IPTABLES -A FORWARD -i $EXTIF -m state --state NEW,INVALID -j DROP ?!? This would drop all requests from ppp0, especially the ones to the www port... $IPTABLES -A FORWARD -i eth0 -o ppp0 -j LOG --log-prefix Dropped outgoing: $IPTABLES -A FORWARD -i ppp0 -o eth0 -j LOG --log-prefix Dropped incoming: will (almost) never hit, because packets _are_ dropped already. $IPTABLES -A FORWARD -i ppp0 -d 192.168.0.2 -p tcp --dport 80 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT and thus this cannot match, either. so from above [...] marked point, the approach would be $IPTABLES -A FORWARD -i $EXTIF -p tcp --dport 80 -d 192.168.0.2 \ -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT $IPTABLES -P FORWARD DROP $IPTABLES -t nat -A PREROUTING -i $EXTIF -p tcp --dport 80 \ -j DNAT --to 192.168.0.2 This will alter the destination IP and let FORWARD rules apply. Note that any Logging entries must be inserted before the respective ACCEPTs or DROPs. HWH -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] problem starting KDE
Holly Bostick wrote: All right-- I don't know what any of this means, but it is in fact much more information that what we previously had. What in the name of sanity is MergedFB, and where can we turn it off? Why is UseFBDev trying to turn *on* when your setting is *off* ? For the record, my current xorg.conf device section looks like this: Section Device Identifier Card0 Driver radeon VendorName ATI Technologies Inc BoardName RV350 [Mobility Radeon 9600 M10] Option MergedFB Off Option UseFBDev Off Option MonitorLayout LVDS, CRT Option DynamicClocks On Option EnablePageFlip On Option VGAAcess On Option BIOSHotKeys On EndSection Also, I have *no* DRI section at all...so maybe that needs to be removed or commented out if it is actually causing the fatal error. It is certainly useless Basically, the 'radeon' module (the kernel opensource drivers) are not able to initialize 3D hardware acceleration (afaik, the 'radeon' drivers cannot do this for the Mobility chipsets; you would need the fglrx drivers)-- and if you are using KDM or GDM or Entrance to start X (rather than just 'startx' from a console), you need this functionality (GNOME or KDE, ime, won't start without some form of acceleration, be it ATI, MESA or whatever). Just a clarification here. The radeon driver can provide hardware acceleration on Radeon 9200 and earlier boards (R250 chipsets and below). R300 and above, including mobility, require the fglrx driver for good 3D performance. However the radeon driver fully supports the mobility chipsets for 2D mode (I have Radeon 9600 mobility, M10/R350 chip), which is all that is required for KDM/GDM/and most everything else. 3D screensavers, opengl audio visualizations, and 3D games are the major things that don't run worth a damn with the radeon driver. So I think the problem is in the kernel and X.org configs, for what it's worth. I also think that the radeon driver is the wrong one for you to be using, and you should be using the fglrx driver (check the release notes, but I'm pretty sure it's compatible with the Mobility now). Yes, it will work with my M10 board. But some OpenGL apps still lockup my machine, and you absolutely lose any capability of using software suspend/resume. I happen to consider software suspend more important for my laptop than (broken) 3D support, so I stick with the radeon driver! I also build my system with USE=-opengl, but that is _not_ the problem here. I have a sense that we've got the tiger by the wrong end, but don't have enough information to figure out which end is which :) . I think you are on the right track...it seems to be a conflict between the xorg.conf file, or kernel configuration. But I've tried to duplicate the behavior, with and without dri, with and without the UseFBDev/MergedFB options, and cannot do so. The best I can do is generate errors about failed to open framebuffer device and MergedFB mode disabled. But X still starts. I can't generate any message about failed to load kernel module, or any other messages about the radeon kernel module. Fernando, you may want to try X -configure, which will auto-generate a configuration for you based on the things that X.org detects. You can then test it with X -config /root/xorg.conf.new. This mostly configures things correctly for me, the only thing it gets wrong is that I need /dev/input/mice instead of /dev/mouse in the pointer configuration. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Filesystem wars - ReiserFS 3.6 vs. JFS
Raphael Melo de Oliveira Bastos Sales wrote: Sorry, but I have to ask, what was your n00b mistake? I don't want to do the same ::sigh:: Okay, here we go. /dev is full of device nodes that I'll never have, like ESDI drives, fd1 and all those pty/tty's that I had long since taken out of the kernel. So I thought I'd delete everything in /dev (booted from the LiveCD so udev wasn't up), shut off the udev tarball and then let udev recreate only what I had from sysfs. I had over 1300 items inside /dev and it was impossible to easily browse or ls it, so it seemed like a good idea at the time. Now I realize that maybe I should have been more selective instead of rm -rfing the whole folder. Well, that's what NOT to do. Please keep the flames to a minimum. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg load module error
Chris Frederick wrote: Richard Fish wrote: Chris Frederick wrote: [ebuild R ] x11-base/xorg-x11-6.8.2-r1 -3dfx -3dnow +bitmap-fonts -cjk +debug -dlloader -dmx -doc -font-server +hardened -inscure-drivers -ipv6 -minimal +mmx -nls +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) +xprint +xv (II) LoadModule: bitmap (II) Loading /usr/lib/modules/fonts/libbitmap.a Duplicate symbol __i686.get_pc_thunk.bx in /usr/lib/modules/fonts/libbitmap.a:bitmapmod.o Also defined in /usr/lib/modules/fonts/libbitmap.a It seems that the server doesn't like your build of the bitmap fonts library. Not sure why this is...looks like a bug to me, or possibly a CFLAGS goof. I suggest rebuilding x.org with USE=-bitmap-fonts. That should get you around this problem -Richard No dice... I tried changing the use flags and nothing helped. My CFLAGS shouldn't be an issue either. CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer CHOST=i686-pc-linux-gnu CXXFLAGS=${CFLAGS} MAKEOPTS=-j4 Oops, seems I gave bad advice. Merging with USE=-bitmap-fonts doesn't actually prevent this module from being compiled or loaded. It just prevents the fonts from being built/installed apparently. Could you try rebuilding X with MAKEOPTS=-j1. Yes, I know the Gentoo documentation says to use 1 more than your physical processors, but make and gcc sometimes get very confused about whether a file is actually finished being built yet, leading to collisions between gcc processes that try to create a module and others that try to use it. In short, if the -j number is 1, you can simply expect some builds to fail. I haven't seen any cases where this actually causes a corrupted library...but this could be the first. If you still have the same problem, then my only other idea is that something in your build chain is severely broken. Maybe re-merging binutils and gcc would help... For the record, my X use flags are: Calculating dependencies ...done! [ebuild R ] x11-base/xorg-x11-6.8.2-r2 -3dfx -3dnow -bitmap-fonts -cjk -debug -dlloader -dmx +doc +font-server +insecure-drivers +ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB HTH -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] Gentoo on Dell Latitude D610
Has anyone had success installing Gentoo 2005.0 on a Dell Latitude D610? Specifically I'm worried about getting the ATI RADEON X300 video card and the Intel PRO/Wireless 2915 working. I don't foresee any problems with the Sigmatel sound, Broadcom wired network, DVD+-RW, or hard drive. Thanks in advance. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Problems writing CDs
Hello all, I cannot write CDs anymore. The only thing i changed lately was an upgrade to cdrtools-2.01-r3 from r2 some days ago. Now nearly all attempts to burn an audio CD end with an error. After some of the mistakes (using k3b) I searched the forum and found some postings on problems writing CDs as normal user. So I tried the ck-sources (2.6.11_p10) as these were said to have a patch, no change. The last thing I tried was using cdrecord as root (both with the ck-sources and the gentoo-sources-2.6.11), but I still get errors like the following: Track 01: Total bytes read/written: 45236016/45236016 (19233 sectors). Track 02: Total bytes read/written: 57692208/57692208 (24529 sectors). cdrecord: Success. write_g1: scsi sendcmd: no error CDB: 2A 00 00 00 DD CF 00 00 1B 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 00 00 10 20 31 00 80 02 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0 Sense flags: Blk 0 (not valid) resid: 63504 cmd finished after 5.457s timeout 40s write track data: error after 29910384 bytes cdrecord: A write error occured. cdrecord: Please properly read the error message above. cdrecord: Success. close track/session: scsi sendcmd: no error CDB: 5B 00 02 00 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 00 00 10 20 3B 00 80 02 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 4.906s timeout 480s cmd finished after 4.906s timeout 480s cdrecord: Cannot fixate disk. I even tried different media types, all of them were used before without any problems (I think I lost only 2 CD-Rs in over 2 years) so I would say it is not any bad media. What makes me wonder is that once I could finish writing a CD-R and once with an CD-RW (using k3b as user) the other ~8 tries were failures. Any hints what could be the problems? Thanks a lot Christian -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Filesystem wars - ReiserFS 3.6 vs. JFS
Colin writes: /dev is full of device nodes that I'll never have, like ESDI drives, fd1 and all those pty/tty's that I had long since taken out of the kernel. So I thought I'd delete everything in /dev (booted from the LiveCD so udev wasn't up), shut off the udev tarball and then let udev recreate only what I had from sysfs. I had over 1300 items inside /dev and it was impossible to easily browse or ls it, so it seemed like a good idea at the time. Now I realize that maybe I should have been more selective instead of rm -rfing the whole folder. You only need /dev/null and /dev/console to make the system come up with udev. To safely delete other devices without the LiveCD, mount your root fs to a second location with the -bind option, not interfering with what udev puts into /dev: # mount --bind / /mnt/tmp/ # ls -l /mnt/tmp/dev/ total 0 crw-rw 1 root root 5, 1 Jan 8 01:12 console crw-rw 1 root root 1, 3 Jan 8 01:12 null # Alex -- Alex Schuster [EMAIL PROTECTED] [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo on Dell Latitude D610
On 6/21/05, Michael Madden [EMAIL PROTECTED] wrote: Has anyone had success installing Gentoo 2005.0 on a Dell Latitude D610? Specifically I'm worried about getting the ATI RADEON X300 video card and the Intel PRO/Wireless 2915 working. I don't foresee any problems with the Sigmatel sound, Broadcom wired network, DVD+-RW, or hard drive. http://www.linux-on-laptops.com/dell.html has a huge list of guides for installing on Dell laptops. I'm sure your model is one the list. HTH, Matt -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerge system fails on libperl
Michael Haan wrote: Trying to do a new install on an x86. Got to the step emerge --emptytree system and it bombs on emerging libperl. Something about % not being in the target string. Does this sound familiar to someone, or do I need to poke around some more? Does it look anything like this? The problem there is missing device nodes. http://bugs.gentoo.org/show_bug.cgi?id=51048 make[1]: Entering directory `/var/tmp/portage/libperl-5.8.4/work/perl-5.8.4' echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' .shlist make[1]: Leaving directory `/var/tmp/portage/libperl-5.8.4/work/perl-5.8.4' Updating makefile... test -s perlmain.c touch perlmain.c cd x2p; make depend make[1]: Entering directory `/var/tmp/portage/libperl-5.8.4/work/perl-5.8.4/x2p' makefile:157: *** target pattern contains no `%'. Stop. make[1]: Leaving directory `/var/tmp/portage/libperl-5.8.4/work/perl-5.8.4/x2p' make: *** [depend] Error 2 !!! ERROR: sys-devel/libperl-5.8.4 failed. !!! Function src_compile, Line 205, Exitcode 2 !!! Couldn't make libperl.so depends Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerge system fails on libperl
On 6/21/05, Zac Medico [EMAIL PROTECTED] wrote: Michael Haan wrote: Trying to do a new install on an x86. Got to the step emerge --emptytree system and it bombs on emerging libperl. Something about % not being in the target string. Does this sound familiar to someone, or do I need to poke around some more? Does it look anything like this? The problem there is missing device nodes. http://bugs.gentoo.org/show_bug.cgi?id=51048 make[1]: Entering directory `/var/tmp/portage/libperl-5.8.4/work/perl-5.8.4' echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' .shlist make[1]: Leaving directory `/var/tmp/portage/libperl-5.8.4/work/perl-5.8.4' Updating makefile... test -s perlmain.c touch perlmain.c cd x2p; make depend make[1]: Entering directory `/var/tmp/portage/libperl-5.8.4/work/perl-5.8.4/x2p' makefile:157: *** target pattern contains no `%'. Stop. make[1]: Leaving directory `/var/tmp/portage/libperl-5.8.4/work/perl-5.8.4/x2p' make: *** [depend] Error 2 !!! ERROR: sys-devel/libperl-5.8.4 failed. !!! Function src_compile, Line 205, Exitcode 2 !!! Couldn't make libperl.so depends Zac -- gentoo-user@gentoo.org mailing list That's the one. I need to check if that's the case here. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problems writing CDs
Christian Herzyk wrote: Hello all, I cannot write CDs anymore. The only thing i changed lately was an upgrade to cdrtools-2.01-r3 from r2 some days ago. Now nearly all attempts to burn an audio CD end with an error. After some of the mistakes (using k3b) I searched the forum and found some postings on problems writing CDs as normal user. So I tried the ck-sources (2.6.11_p10) as these were said to have a patch, no change. The last thing I tried was using cdrecord as root (both with the ck-sources and the gentoo-sources-2.6.11), but I still get errors like the following: Track 01: Total bytes read/written: 45236016/45236016 (19233 sectors). Track 02: Total bytes read/written: 57692208/57692208 (24529 sectors). cdrecord: Success. write_g1: scsi sendcmd: no error CDB: 2A 00 00 00 DD CF 00 00 1B 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 00 00 10 20 31 00 80 02 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0 Sense flags: Blk 0 (not valid) resid: 63504 cmd finished after 5.457s timeout 40s write track data: error after 29910384 bytes cdrecord: A write error occured. cdrecord: Please properly read the error message above. cdrecord: Success. close track/session: scsi sendcmd: no error CDB: 5B 00 02 00 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 00 00 10 20 3B 00 80 02 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 4.906s timeout 480s cmd finished after 4.906s timeout 480s cdrecord: Cannot fixate disk. I even tried different media types, all of them were used before without any problems (I think I lost only 2 CD-Rs in over 2 years) so I would say it is not any bad media. What makes me wonder is that once I could finish writing a CD-R and once with an CD-RW (using k3b as user) the other ~8 tries were failures. Any hints what could be the problems? Thanks a lot Christian Have you reverted back to cdrtools-2.01-r2? I'm currently using cdrtools-2.01.01_alpha01-r2 with no problems. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] caller id?
el Tue, 21 Jun 2005 17:58:18 +0100 Neil Bothwick [EMAIL PROTECTED] escribió: This came up a few months ago. Try searching the list archives. thanks, will do. i resubscribed to the list not long ago... anyway, if anyone has anything to add to that thread, comments are welcome... best, lj -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Alternatives to xdm/gdm?
On Tue, 2005-06-21 at 09:24 -0400, Matthew Cline wrote: Just thinking out loud here, but couldn't you launch myth from /etc/inittab with a respawn action? Matt I'd suggested that too, but mythbackend must start first. -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
[gentoo-user] Something strange with emerge...
Greetings everyone, Although I'm really satisfied with my gentoo laptop, there's is still something I don't understand with emerge. When I 'emerge -pvuD world' then portage wants to install many things, here is an example of the output: These are the packages that I would merge, in order: Calculating world dependencies .. ...done! [ebuild N] media-sound/esound-0.2.34 +alsa +ipv6 +tcpd 310 kB [ebuild N] gnome-base/libgnome-2.10.0 -debug -doc 850 kB [ebuild N] gnome-extra/libgtkhtml-2.6.3 -accessibility -debug 382 kB [ebuild N] gnome-base/libgnomecanvas-2.10.0 -debug -doc 562 kB [ebuild N] gnome-base/libbonoboui-2.8.1 -debug -doc 997 kB [ebuild N] gnome-base/gnome-keyring-0.4.2 -debug 360 kB [ebuild N] gnome-base/libgnomeui-2.10.0 -debug -doc +jpeg 1,613 kB [ebuild N] gnome-extra/yelp-2.6.5 -debug 638 kB [ebuild N] x11-themes/hicolor-icon-theme-0.5 30 kB [ebuild N] x11-themes/gnome-icon-theme-2.10.0 -debug 2,835 kB [ebuild N] media-libs/imlib-1.9.14-r3 574 kB [ebuild N] x11-themes/gtk-engines-2.6.3 1,096 kB [ebuild N] x11-themes/gnome-themes-2.10.0 -accessibility -debug 2,509 kB i precise that I don't use nor want to use Big desktop environnment such as gnome or kde because of compile time and most of all because Window Maker fits all my need... Did I miss something ??? Can someone help me ? Cordially, Yann Garnier -- gentoo-user@gentoo.org mailing list
[gentoo-user] wavesurfer-snack
hello list, i'm having problems with wavesurfer, a very fine audio analyser (http://www.speech.kth.se/wavesurfer/index.html) the problem seems rather to be related with snack, since it only happens when trying to play a sound. i tried different versions of wavesurfer, and all behave in the same way: with snack 2.2.4, hitting play crashes the program with a segmentation fault; with snack 2.2.9 wavesurfer doesn't crash, but it only reproduces a fraction of a second of sound, and then the cursor keeps moving silently. i want to file a bug report, but first i'd like to know if anyone is having similar problems. best, lj -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Something strange with emerge...
Yann Garnier schreef: Greetings everyone, Although I'm really satisfied with my gentoo laptop, there's is still something I don't understand with emerge. When I 'emerge -pvuD world' then portage wants to install many things, here is an example of the output: These are the packages that I would merge, in order: Calculating world dependencies .. ...done! [ebuild N] media-sound/esound-0.2.34 +alsa +ipv6 +tcpd 310 kB [ebuild N] gnome-base/libgnome-2.10.0 -debug -doc 850 kB [ebuild N] gnome-extra/libgtkhtml-2.6.3 -accessibility -debug 382 kB [ebuild N] gnome-base/libgnomecanvas-2.10.0 -debug -doc 562 kB [ebuild N] gnome-base/libbonoboui-2.8.1 -debug -doc 997 kB [ebuild N] gnome-base/gnome-keyring-0.4.2 -debug 360 kB [ebuild N] gnome-base/libgnomeui-2.10.0 -debug -doc +jpeg 1,613 kB [ebuild N] gnome-extra/yelp-2.6.5 -debug 638 kB [ebuild N] x11-themes/hicolor-icon-theme-0.5 30 kB [ebuild N] x11-themes/gnome-icon-theme-2.10.0 -debug 2,835 kB [ebuild N] media-libs/imlib-1.9.14-r3 574 kB [ebuild N] x11-themes/gtk-engines-2.6.3 1,096 kB [ebuild N] x11-themes/gnome-themes-2.10.0 -accessibility -debug 2,509 kB i precise that I don't use nor want to use Big desktop environnment such as gnome or kde because of compile time and most of all because Window Maker fits all my need... Did I miss something ??? Can someone help me ? Cordially, Yann Garnier Well, you've definitely got some kind of gnome something that wants all this, so you might want to add a -t to your switches (emerge -pvuDt world) which will activate the --tree option and give you information as to what the gnome thing that needs all this is. If you don't want it, you can uninstall it; if you do, maybe you can re-emerge it without the gnome option, which likely would also solve the issue. Hope this helps. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Something strange with emerge...
Yann Garnier wrote: Greetings everyone, Although I'm really satisfied with my gentoo laptop, there's is still something I don't understand with emerge. When I 'emerge -pvuD world' then portage wants to install many things, here is an example of the output: These are the packages that I would merge, in order: Calculating world dependencies .. ...done! [ebuild N] media-sound/esound-0.2.34 +alsa +ipv6 +tcpd 310 kB [ebuild N] gnome-base/libgnome-2.10.0 -debug -doc 850 kB [ebuild N] gnome-extra/libgtkhtml-2.6.3 -accessibility -debug 382 kB [ebuild N] gnome-base/libgnomecanvas-2.10.0 -debug -doc 562 kB [ebuild N] gnome-base/libbonoboui-2.8.1 -debug -doc 997 kB [ebuild N] gnome-base/gnome-keyring-0.4.2 -debug 360 kB [ebuild N] gnome-base/libgnomeui-2.10.0 -debug -doc +jpeg 1,613 kB [ebuild N] gnome-extra/yelp-2.6.5 -debug 638 kB [ebuild N] x11-themes/hicolor-icon-theme-0.5 30 kB [ebuild N] x11-themes/gnome-icon-theme-2.10.0 -debug 2,835 kB [ebuild N] media-libs/imlib-1.9.14-r3 574 kB [ebuild N] x11-themes/gtk-engines-2.6.3 1,096 kB [ebuild N] x11-themes/gnome-themes-2.10.0 -accessibility -debug 2,509 kB i precise that I don't use nor want to use Big desktop environnment such as gnome or kde because of compile time and most of all because Window Maker fits all my need... Did I miss something ??? Can someone help me ? Either 'gnome' snuck into your USE flags, or some package that you already have installed suddenly gained a dependency on gnome (new version or something). Run 'emerge -uDpvt' to get an idea of which package is pulling in all those gnome deps. -- Andrew Gaffneyhttp://dev.gentoo.org/~agaffney/ Gentoo Linux Developer Installer Project -- gentoo-user@gentoo.org mailing list
[gentoo-user] Ooo-2-bin
OK I had OOo 1.9.79m104 from some overlay, then portage updated to m108. With m104 I had nicer icons, and the base app, which I did use to build and access some bases, now with the 108 from portage I am back to the old icons and no base app?? Anyone else see this? Mike -- Michael W. Holdeman Powered by Gentoo Linux www.gentoo.org | Kernel 2.6.11-ck8 | Win4Lin 5-1-20 netraverse.com | Win4LinPro 6.1.1-03 win4lin.com | | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Ooo-2-bin
On Tue, 21 Jun 2005 16:15:32 -0400, Michael W. Holdeman wrote: With m104 I had nicer icons, and the base app, which I did use to build and access some bases, now with the 108 from portage I am back to the old icons and no base app?? I'm using app-office/openoffice-bin-1.9.109 from portage as the base app is there. -- Neil Bothwick Atheism is a non-prophet organization. pgp3VmONzEgkf.pgp Description: PGP signature
Re: [gentoo-user] Something strange with emerge...
Andrew, Holly, everyone, I did an 'emerge --info' to check what USE flags were set, and I saw that portage used the gnome flag. This gnome flag is not set in the make.conf I tried the -t switch ('emerge -pvuDt wold') and the output is just the same ... don't have any tree of any kind... The only thing I can do is to add -gnome into my make.conf and then It is a regular output. Do you thing there's a more elegant way to run an update properly ??? Any way thanks for your help (I didn't think about the -t switch). Cordially, Yann Garnier Le 21 juin 05 à 21:59, Andrew Gaffney a écrit : Yann Garnier wrote: Greetings everyone, Although I'm really satisfied with my gentoo laptop, there's is still something I don't understand with emerge. When I 'emerge -pvuD world' then portage wants to install many things, here is an example of the output: These are the packages that I would merge, in order: Calculating world dependencies .. ...done! [ebuild N] media-sound/esound-0.2.34 +alsa +ipv6 +tcpd 310 kB [ebuild N] gnome-base/libgnome-2.10.0 -debug -doc 850 kB [ebuild N] gnome-extra/libgtkhtml-2.6.3 -accessibility - debug 382 kB [ebuild N] gnome-base/libgnomecanvas-2.10.0 -debug -doc 562 kB [ebuild N] gnome-base/libbonoboui-2.8.1 -debug -doc 997 kB [ebuild N] gnome-base/gnome-keyring-0.4.2 -debug 360 kB [ebuild N] gnome-base/libgnomeui-2.10.0 -debug -doc +jpeg 1,613 kB [ebuild N] gnome-extra/yelp-2.6.5 -debug 638 kB [ebuild N] x11-themes/hicolor-icon-theme-0.5 30 kB [ebuild N] x11-themes/gnome-icon-theme-2.10.0 -debug 2,835 kB [ebuild N] media-libs/imlib-1.9.14-r3 574 kB [ebuild N] x11-themes/gtk-engines-2.6.3 1,096 kB [ebuild N] x11-themes/gnome-themes-2.10.0 -accessibility -debug 2,509 kB i precise that I don't use nor want to use Big desktop environnment such as gnome or kde because of compile time and most of all because Window Maker fits all my need... Did I miss something ??? Can someone help me ? Either 'gnome' snuck into your USE flags, or some package that you already have installed suddenly gained a dependency on gnome (new version or something). Run 'emerge -uDpvt' to get an idea of which package is pulling in all those gnome deps. -- Andrew Gaffneyhttp://dev.gentoo.org/ ~agaffney/ Gentoo Linux Developer Installer Project -- gentoo-user@gentoo.org mailing list -- - Wanadoo vous informe que cet e-mail a ete controle par l'anti- virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Ooo-2-bin
Michael W. Holdeman wrote: OK I had OOo 1.9.79m104 from some overlay, then portage updated to m108. With m104 I had nicer icons, and the base app, which I did use to build and access some bases, now with the 108 from portage I am back to the old icons and no base app?? Anyone else see this? Mike I have openoffice-bin-1.9.109 and I have no difference in shortcut icons from previous versions. Maybe you need to get the latest. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Alternatives to xdm/gdm?
On 6/21/05, Nick Rout [EMAIL PROTECTED] wrote: On Tue, 2005-06-21 at 09:24 -0400, Matthew Cline wrote: Just thinking out loud here, but couldn't you launch myth from /etc/inittab with a respawn action? Matt I'd suggested that too, but mythbackend must start first. -- Nick Rout [EMAIL PROTECTED] On my systems, since they are frontend only, this might work but I don't know how to do it. Can someone point out basically how to try? Also, what user account would be used if mythfrontend was started this way? Maybe that will be apparent when I get a clue about how to do this. Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Ooo-2-bin
On Tuesday 21 June 2005 04:28 pm, Neil Bothwick wrote: On Tue, 21 Jun 2005 16:15:32 -0400, Michael W. Holdeman wrote: With m104 I had nicer icons, and the base app, which I did use to build and access some bases, now with the 108 from portage I am back to the old icons and no base app?? I'm using app-office/openoffice-bin-1.9.109 from portage as the base app is there. Weird, I just got done upgrading it and it looks like the old 79 to me? Mike -- Michael W. Holdeman Powered by Gentoo Linux www.gentoo.org | Kernel 2.6.11-ck8 | Win4Lin 5-1-20 netraverse.com | Win4LinPro 6.1.1-03 win4lin.com | | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Ooo-2-bin
On Tuesday 21 June 2005 04:30 pm, Zac Medico wrote: Michael W. Holdeman wrote: OK I had OOo 1.9.79m104 from some overlay, then portage updated to m108. With m104 I had nicer icons, and the base app, which I did use to build and access some bases, now with the 108 from portage I am back to the old icons and no base app?? Anyone else see this? Mike I have openoffice-bin-1.9.109 and I have no difference in shortcut icons from previous versions. Maybe you need to get the latest. oops!! had to update my /etc/portage/package.unmask file!! mike Just a side tho, m79 will open some files that I saved with it, that 104 would not open. I thought I messed the files up but when I upgraded back down to 79 they opened fine. I'll be interested to see if 109 will open them... Mike -- Michael W. Holdeman Powered by Gentoo Linux www.gentoo.org | Kernel 2.6.11-ck8 | Win4Lin 5-1-20 netraverse.com | Win4LinPro 6.1.1-03 win4lin.com | | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Something strange with emerge...
Yann Garnier schreef: Andrew, Holly, everyone, I did an 'emerge --info' to check what USE flags were set, and I saw that portage used the gnome flag. This gnome flag is not set in the make.conf I tried the -t switch ('emerge -pvuDt wold') and the output is just the same ... don't have any tree of any kind... The only thing I can do is to add -gnome into my make.conf and then It is a regular output. Do you thing there's a more elegant way to run an update properly ??? Any way thanks for your help (I didn't think about the -t switch). On my x86 system, the +gnome flag is set in /usr/portage/profiles/default-linux/x86/make.defaults. So yes, if you want -gnome, you do need to set it specifically in /etc/make.conf, and then do an emerge --newuse world to get recompile all of the packages that currently have gnome support included, without such support. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Alternatives to xdm/gdm?
On Tue, 21 Jun 2005 13:34:47 -0700 Mark Knecht wrote: On 6/21/05, Nick Rout [EMAIL PROTECTED] wrote: On Tue, 2005-06-21 at 09:24 -0400, Matthew Cline wrote: Just thinking out loud here, but couldn't you launch myth from /etc/inittab with a respawn action? Matt I'd suggested that too, but mythbackend must start first. -- Nick Rout [EMAIL PROTECTED] On my systems, since they are frontend only, this might work but I don't know how to do it. Can someone point out basically how to try? read /etc/inittab and man inittab Also, what user account would be used if mythfrontend was started this way? Maybe that will be apparent when I get a clue about how to do this. Thanks, Mark -- gentoo-user@gentoo.org mailing list -- Nick Rout -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problems writing CDs
Am Dienstag 21 Juni 2005 21:30 schrieb Zac Medico: Christian Herzyk wrote: Hello all, I cannot write CDs anymore. The only thing i changed lately was an upgrade to cdrtools-2.01-r3 from r2 some days ago. Now nearly all attempts to burn an audio CD end with an error. After some of the mistakes (using k3b) I searched the forum and found some postings on problems writing CDs as normal user. So I tried the ck-sources (2.6.11_p10) as these were said to have a patch, no change. The last thing I tried was using cdrecord as root (both with the ck-sources and the gentoo-sources-2.6.11), but I still get errors like the following: Track 01: Total bytes read/written: 45236016/45236016 (19233 sectors). Track 02: Total bytes read/written: 57692208/57692208 (24529 sectors). cdrecord: Success. write_g1: scsi sendcmd: no error CDB: 2A 00 00 00 DD CF 00 00 1B 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 00 00 10 20 31 00 80 02 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0 Sense flags: Blk 0 (not valid) resid: 63504 cmd finished after 5.457s timeout 40s write track data: error after 29910384 bytes cdrecord: A write error occured. cdrecord: Please properly read the error message above. cdrecord: Success. close track/session: scsi sendcmd: no error CDB: 5B 00 02 00 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 00 00 10 20 3B 00 80 02 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 4.906s timeout 480s cmd finished after 4.906s timeout 480s cdrecord: Cannot fixate disk. I even tried different media types, all of them were used before without any problems (I think I lost only 2 CD-Rs in over 2 years) so I would say it is not any bad media. What makes me wonder is that once I could finish writing a CD-R and once with an CD-RW (using k3b as user) the other ~8 tries were failures. Any hints what could be the problems? Thanks a lot Christian Have you reverted back to cdrtools-2.01-r2? I'm currently using cdrtools-2.01.01_alpha01-r2 with no problems. Zac Hi Zac, as cdrtools-2.01-r2 is no longer in portage I tried upgrading to 2.01.01_alpha01-r2. I still get the same error: Track 08:1 of 50 MB written (fifo 100%) [buf 89%] 24.5x.cdrecord: Success. write_g1: scsi sendcmd: no error CDB: 2A 00 00 02 4C 7F 00 00 1B 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 00 00 10 20 3B 00 80 02 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0 Sense flags: Blk 0 (not valid) resid: 63504 cmd finished after 5.316s timeout 40s write track data: error after 1143072 bytes cdrecord: A write error occured. I get the same error after downgrading to 2.01-r1. Any other hints? Christian -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] problem starting KDE
Hi, first of all, thanks for the support! Let me split these into 2 parts: 1) the problem with the X server, and 2) the remaining errors... Although I have a few errors while starting X, they do not make X fail (as I think). After starting X, the problem arises when loading KDE with the following message: -Could not read network connection list. /home/nando/.DCOPserver_nandux__0 Please check that the dcopserver program is running. in the startx.log I get this: kdeinit: Aborting. bind() failed: : Operation not permitted Could not bind to socket '/home/nando/.kde/socket-nandux/kdeinit__0' Warning: connect() failed: : No such file or directory kdeinit: Aborting. bind() failed: : Operation not permitted Could not bind to socket '/home/nando/.kde/socket-nandux/kdeinit__0' Could not register with DCOPServer. Aborting. ERROR: Couldn't attach to DCOP server! This, as I could find until now, is due to problems with my /home partition (fat32). With a new user (with homedir in the linux partition) everything goes fine. For this problem, I can't find solution.. I've tried many mount option with full permission to everyone, but scripts don't run properly (such as useradd and something within the X startup). Now, the errors when starting Xorg: Yes, I think I have conflicts between xorg and the kernel configuration. I've attached my xorg.conf file (the one I adapted after running Xorg -configure I commented the font problem, the DRI section and added some lines in the keyboard and mouse inputs). From what I could see from your xorg.conf, mine got somewhat less detailed :( I'll bring news as soon as possible! As well as the lsmod and dmesg output (they are unavailable to me at the moment of writing this email). For info: I have a ATI Mobility M6 Thanks! On 6/21/05, Richard Fish [EMAIL PROTECTED] wrote: Holly Bostick wrote: All right-- I don't know what any of this means, but it is in fact much more information that what we previously had. What in the name of sanity is MergedFB, and where can we turn it off? Why is UseFBDev trying to turn *on* when your setting is *off* ?For the record, my current xorg.conf device section looks like this:Section DeviceIdentifierCard0Driverradeon VendorNameATI Technologies IncBoardName RV350 [Mobility Radeon 9600 M10]OptionMergedFB OffOptionUseFBDev Off OptionMonitorLayout LVDS, CRTOptionDynamicClocks OnOptionEnablePageFlip OnOptionVGAAcess On OptionBIOSHotKeys OnEndSectionAlso, I have *no* DRI section at all...so maybe that needs to be removedor commented out if it is actually causing the fatal error.It is certainly useless Basically, the 'radeon' module (the kernel opensource drivers) are not able to initialize 3D hardware acceleration (afaik, the 'radeon' drivers cannot do this for the Mobility chipsets; you would need the fglrx drivers)-- and if you are using KDM or GDM or Entrance to start X (rather than just 'startx' from a console), you need this functionality (GNOME or KDE, ime, won't start without some form of acceleration, be it ATI, MESA or whatever).Just a clarification here.The radeon driver can provide hardwareacceleration on Radeon 9200 and earlier boards (R250 chipsets andbelow).R300 and above, including mobility, require the fglrx driver for good 3D performance.However the radeon driver fully supports the mobility chipsets for 2Dmode (I have Radeon 9600 mobility, M10/R350 chip), which is all that isrequired for KDM/GDM/and most everything else.3D screensavers, opengl audio visualizations, and 3D games are the major things that don't runworth a damn with the radeon driver. So I think the problem is in the kernel and X.org configs, for what it's worth. I also think that the radeon driver is the wrong one for you to be using, and you should be using the fglrx driver (check the release notes, but I'm pretty sure it's compatible with the Mobility now). Yes, it will work with my M10 board.But some OpenGL apps still lockupmy machine, and you absolutely lose any capability of using softwaresuspend/resume.I happen to consider software suspend more important for my laptop than (broken) 3D support, so I stick with the radeondriver!I also build my system with USE=-opengl, but that is _not_the problem here. I have a sense that we've got the tiger by the wrong end, but don't have enough information to figure out which end is which :) .I think you are on the right track...it seems to be a conflict betweenthe xorg.conf file, or kernel configuration.But I've tried toduplicate the behavior, with and without dri, with and without the UseFBDev/MergedFB options, and cannot do so.The best I can do isgenerate errors about failed to open framebuffer device and MergedFBmode disabled.But X still starts.I can't generate any message about failed to load kernel module, or any other messages about the radeonkernel module.Fernando, you may want to try X -configure, which will auto-generate aconfiguration for you based on the things that X.org detects.You canthen test it with X
[gentoo-user] Re: Ooo-2-bin
On Tuesday 21 June 2005 04:44 pm, Michael W. Holdeman wrote: On Tuesday 21 June 2005 04:30 pm, Zac Medico wrote: Michael W. Holdeman wrote: OK I had OOo 1.9.79m104 from some overlay, then portage updated to m108. With m104 I had nicer icons, and the base app, which I did use to build and access some bases, now with the 108 from portage I am back to the old icons and no base app?? Anyone else see this? Mike I have openoffice-bin-1.9.109 and I have no difference in shortcut icons from previous versions. Maybe you need to get the latest. oops!! had to update my /etc/portage/package.unmask file!! mike Just a side tho, m79 will open some files that I saved with it, that 104 would not open. I thought I messed the files up but when I upgraded back down to 79 they opened fine. I'll be interested to see if 109 will open them... Mike Sorry for replying to my own... OK got 109, it is fine, but it wont open some .odt, and .odm files created with 79. I first noticed this with 104. I guess I will have to re-down to 79, open the problematic files and save them as .rtf or something then re-up to 109 and reopen them and save as .odt again. Any other ideas ?? Mike -- Michael W. Holdeman Powered by Gentoo Linux www.gentoo.org | Kernel 2.6.11-ck8 | Win4Lin 5-1-20 netraverse.com | Win4LinPro 6.1.1-03 win4lin.com | | -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problems writing CDs
Christian Herzyk wrote: Am Dienstag 21 Juni 2005 21:30 schrieb Zac Medico: Christian Herzyk wrote: Hello all, I cannot write CDs anymore. The only thing i changed lately was an upgrade to cdrtools-2.01-r3 from r2 some days ago. Now nearly all attempts to burn an audio CD end with an error. After some of the mistakes (using k3b) I searched the forum and found some postings on problems writing CDs as normal user. So I tried the ck-sources (2.6.11_p10) as these were said to have a patch, no change. The last thing I tried was using cdrecord as root (both with the ck-sources and the gentoo-sources-2.6.11), but I still get errors like the following: Track 01: Total bytes read/written: 45236016/45236016 (19233 sectors). Track 02: Total bytes read/written: 57692208/57692208 (24529 sectors). cdrecord: Success. write_g1: scsi sendcmd: no error CDB: 2A 00 00 00 DD CF 00 00 1B 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 00 00 10 20 31 00 80 02 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0 Sense flags: Blk 0 (not valid) resid: 63504 cmd finished after 5.457s timeout 40s write track data: error after 29910384 bytes cdrecord: A write error occured. cdrecord: Please properly read the error message above. cdrecord: Success. close track/session: scsi sendcmd: no error CDB: 5B 00 02 00 00 00 00 00 00 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 00 00 10 20 3B 00 80 02 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 4.906s timeout 480s cmd finished after 4.906s timeout 480s cdrecord: Cannot fixate disk. I even tried different media types, all of them were used before without any problems (I think I lost only 2 CD-Rs in over 2 years) so I would say it is not any bad media. What makes me wonder is that once I could finish writing a CD-R and once with an CD-RW (using k3b as user) the other ~8 tries were failures. Any hints what could be the problems? Thanks a lot Christian Have you reverted back to cdrtools-2.01-r2? I'm currently using cdrtools-2.01.01_alpha01-r2 with no problems. Zac Hi Zac, as cdrtools-2.01-r2 is no longer in portage I tried upgrading to 2.01.01_alpha01-r2. I still get the same error: Track 08:1 of 50 MB written (fifo 100%) [buf 89%] 24.5x.cdrecord: Success. write_g1: scsi sendcmd: no error CDB: 2A 00 00 02 4C 7F 00 00 1B 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 70 00 03 00 00 00 00 10 20 3B 00 80 02 00 00 00 Sense Key: 0x3 Medium Error, Segment 0 Sense Code: 0x02 Qual 0x00 (no seek complete) Fru 0x0 Sense flags: Blk 0 (not valid) resid: 63504 cmd finished after 5.316s timeout 40s write track data: error after 1143072 bytes cdrecord: A write error occured. I get the same error after downgrading to 2.01-r1. Any other hints? Christian Have you reverted back to the old kernel? If you have FEATURES=buildpkg set in make.conf then you may have a backup cdrtools binary package. Otherwise, I recommend to make a backup with quickpkg before your upgrade something. I would experiment with cdrw discs until this is resolved. I recall getting a similar error when I attempted to overburn a 650MB cdrw. Sometimes a full blank is necessary with cdrw/dvdrw discs. Zac Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Line numbers in nano
I found nano a little hard to deal with, I used pico before and I didn't like it at all because of the commands interface. I could find all the features it provides well documented at man pages and Internet but nothing about line numbering. You probably need line numbers for programming or for log view (or not), for that, vim was my choice, if you wish to try it, the man pages are very good. I was told emacs do it also. On 6/21/05, Ryan Viljoen [EMAIL PROTECTED] wrote: Is it possible to get nano to display line numbers? -- When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows Are you fearing my mouse? :3___) -- gentoo-user@gentoo.org mailing list -- Daniel da Veiga Computer Operator - RS - Brazil -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Something strange with emerge...
On Tue, 21 Jun 2005 22:51:57 +0200, Holly Bostick wrote: So yes, if you want -gnome, you do need to set it specifically in /etc/make.conf, and then do an emerge --newuse world to get recompile all of the packages that currently have gnome support included, without such support. And then run emerge --ask depclean to remove any GNOME packages that were installed as dependencies but no longer needed. -- Neil Bothwick WindowError:01B Illegal error. Do NOT get this error. pgpIhazVpdr2u.pgp Description: PGP signature
[gentoo-user] Problem with qmail-smtp
Hi, I get al the time this annoying error from qmail: SERVICE(smtp), QMAILDUID(201), NOFILESGID(200) or QMAILLUID() is unset in ./run LOG_OPTS: LOG_DEST: Error in logging setup! No CDB file found () Some error detected in smtp, sleeping for 90 seconds for safety My qmail-smtp is not running anymore, I am not able to send mail over it. What can I do to get rid of this? Thanks. Jan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem with qmail-smtp
On Tuesday 21 June 2005 23:11, Jan Meier wrote: My qmail-smtp is not running anymore, I am not able to send mail over it. What can I do to get rid of this? etc-update -- Mike Williams pgpVCaMnSvkrN.pgp Description: PGP signature
Re: [gentoo-user] distcc configuration
On Thu, 16 Jun 2005 14:08:46 -0700 Zac Medico [EMAIL PROTECTED] wrote: michael higgins wrote: I have a couple of questions about using distcc. I have two machines. One is significantly faster than the other, both x86 (pentium 2 and amd athlon-xp). First, a big thanks to all who replied. I've followed the http://www.gentoo.org/doc/en/distcc.xml instructions for configuring portage to use distcc. Should I need to continue with the instructions for working with automake? Portage does this automatically as long as you have the corresponding FEATURES enabled. This is what I was hoping to hear. Also, how do I tell the faster machine to just use it's own power and not attempt to use the slower one? When you run distcc-config --set-hosts on the faster machine you want to exclude the slower machine. I tried so far, getting distccd running on both machines, each distcc-config --set-hosts has one IP entry, that of the other machine. Is this right? You may want to include localhost. Interesting... I wonder why? I ran distcc-gnome and saw no activity reported on the faster machine when emerging something on the slower one. So, it would seem it's not working. Can anyone give me some hints? The manpage for distcc doesn't seem (to me) to be much related to the gentoo how-to... '-) TIA, #!/bin/bash source /etc/make.globals source /etc/make.conf export DISTCC_DIR=${PORTAGE_TMPDIR}/portage/.distcc exec /usr/bin/distccmon-gnome So, I just installed a package on the faster machine. It did try to use another, but found none and compiled locally, but spit out an error. Maybe adding localhost will fix this? I tried emerging the same package on the slower machine and running this script above. Nothing came up in it. However, I noticed that each time the compiler went to run something, there was network activity. 'top' on the faster machine showed distccd working and launching the compiler, afaict. So, I have to wonder if/why the monitors don't work for me... Next time I'll just set the debug level and log location to see what actually happened. Thanks again, foax. -- |\ /| | | ~ ~ | \/ | |---| `|` ? ||ichael | |iggins\^ / michael[dot]higgins[at]snet[dot]net -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Which emulators for DOS+Win3.1 games?
Thanks for pointing me in the right direction. find *eawpatches* didn't find a directory, but it did find... /usr/portage/media-sound/timidity-eawpatches I emerged timidity-eawpatches. At the end of the emerge was this message... * You must run 'timidity-update -g -s eawpatches' to set this * patchset as the default system patchset. I did that, and timidity now plays just fine. I wonder if there was a similar message at the end of the timidity++ emerge. I did a couple of packages at once, so if there was a message, I missed it. -- Walter Dnes [EMAIL PROTECTED] My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Line numbers in nano
Yeah, I have become lazy and started using nano. I used to use vim so maybe I should get back to it. I cant say I am such a fan of emacs :( dont know why, quite honestly i despise it. heheh. Anyway thanks for the help Cheers Rav On 6/22/05, Daniel da Veiga [EMAIL PROTECTED] wrote: I found nano a little hard to deal with, I used pico before and I didn't like it at all because of the commands interface. I could find all the features it provides well documented at man pages and Internet but nothing about line numbering. You probably need line numbers for programming or for log view (or not), for that, vim was my choice, if you wish to try it, the man pages are very good. I was told emacs do it also. On 6/21/05, Ryan Viljoen [EMAIL PROTECTED] wrote: Is it possible to get nano to display line numbers? -- When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows Are you fearing my mouse? :3___) -- gentoo-user@gentoo.org mailing list -- Daniel da Veiga Computer Operator - RS - Brazil -- gentoo-user@gentoo.org mailing list -- When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows Are you fearing my mouse? :3___) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem with qmail-smtp
etc-update Qmail is up and running again. Thanks. Jan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Baselayout update blasted my wireless networking
Somewhere around Mon, Jun 20, 2005 at 01:10:46PM -0400, a message from Bill Rucker went like this: I've tried the preferred_aps_eth1, associate_order_eth1 route and did not have any luck with that, just a different error message. I've also tried the essid_eth1 any trick, still no love. However, I rebooted my laptop for the first time in a few days and found that it would no longer work manually anymore!!! I kept getting messages about an invalid option when trying to set the key with iwconfig. So to make a long story short, I took the key which looked like 112233445566778899aabbccd and made it into 1122-3344-5566-7788-99aa-bbcc-dd. Then iwconfig stopped complaining, dhcpcd worked and I was in. I modified the wireless script but have yet to try it out. I'll report back when I get some work done. Once I got rid of the force modules and added back the preferred aps and associate order, it worked!! Finally. The format of the key seemed to be highly important in getting this to work. The key itself was correct, just had to add in the dashes. Bill -- Protect your computer - Browse with Firefox! Gentoo Linux - Flexible, Powerful After all is said and done, more is said than done pgpvUl6agJ97I.pgp Description: PGP signature
Re: [gentoo-user] Alternatives to xdm/gdm?
On 6/21/05, Mark Knecht [EMAIL PROTECTED] wrote: On my systems, since they are frontend only, this might work but I don't know how to do it. Can someone point out basically how to try? Also, what user account would be used if mythfrontend was started this way? Maybe that will be apparent when I get a clue about how to do this. Here's the format of the /etc/inittab on my system: # TERMINALS c1:12345:respawn:/sbin/agetty 38400 tty1 linux So try changing it to something like this: c1:12345:respawn:su mythuser -c startx with 'mythuser' being the username you want to run mythfrontend and 'startx' replaced by whatever script or program you want. If X is exited for killed for some reason, then init should respawn it again. Of course, you should also read man inittab for more info. HTH, Matt -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Line numbers in nano
Ryan Viljoen wrote: Is it possible to get nano to display line numbers? does nano -c help you? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba + mysql + crypt password (pam or passdb)?
On Tue, 21 Jun 2005, Claudinei Matos wrote: what I want is to use crypt password with mysql. I don't know if is there a way to do it without make more changes to passdb source code or if I could pass some parameter identifying that I'm using pam instead of other auth methods, so any suggestion would be appreciated. I am using libnss-mysql to do PAM auth out of a MySQL database. This way is transparent to any app doing PAM authentication. The only problem is you need to use openssl passwd -1 to generate the passwords (Im sure this could be scripted in Perl/PHP but I haven't had time to explore that yet). -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SOLVED: evolution locale
for those who came in late: The problem was evolution wasn't using the locale I'd set when started form the panel, but it was correct when started from a gnome-terminal. The solution is to put locale settings in /etc/profile (I used LANG, but you could use probably use any combination of LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION or LC_ALL). I previously had them in /etc/bash/profile, which worked for bash, but not for gnome et al. so the last line in /etc/profile now reads export LANG=en_AU and evolution shows the correct (localised) date format. Regards, -- Iain Buchanan [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba + mysql + crypt password (pam or passdb)?
On 6/21/05, A. Khattri [EMAIL PROTECTED] wrote: On Tue, 21 Jun 2005, Claudinei Matos wrote: what I want is to use crypt password with mysql. I don't know if is there a way to do it without make more changes to passdb source code or if I could pass some parameter identifying that I'm using pam instead of other auth methods, so any suggestion would be appreciated. I am using libnss-mysql to do PAM auth out of a MySQL database. This way is transparent to any app doing PAM authentication. The only problem is you need to use openssl passwd -1 to generate the passwords (Im sure this could be scripted in Perl/PHP but I haven't had time to explore that yet). OK, but the problem is that I can't put samba to work with pam. If I try to use pam none authentication is done and samba try to use any other methods (pdb) and finish with pdb_guest wich one let the user join the domain but not have access to any non public share. tks anyway, claudinei matos -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ip forwarding question
On Tue, 21 Jun 2005, askar ... wrote: Thanks, but I already have this script in my iptable rules. My router works for PC in LAN. But when I run in LAN PC www.mydomain.com http://www.mydomain.com it doesn't homepage. Though I can see web page when I run http://localhost. No it won't. Because the IP for www.mydomain.com is different from inside and outside your LAN. LAN client *should* use localhost (or the local IP address for that site). Clients outside your network *should* use the WAN IP. You can't test the WAN access from inside your network because your HTTP request won't be coming in on the WAN network card. -- -- gentoo-user@gentoo.org mailing list
[gentoo-user] 2.6.12 doesn't play nice with ati
Since upgrading to 2.6.12 (gentoo-sources) I've had various troubles with video. Firstly, up to 50% of the time my laptop locks up when booting, immediately before it switches into frame buffer mode. (Just before the two penguins appear) Secondly, frame buffer mode gets corrupted when switching from X (using ati-drivers) to a console. I can ssh in, but the screen remains corrupted until I reboot. I am using an smp kernel - gentoo-sources 2.6.12 ati-drivers 8.14.13-r1 vesafb-tng Dell Inspiron 9100 with (as reported by lspci) ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] Anyone else had problems with similar combinations of software / hardware? TIA, -- Iain Buchanan [EMAIL PROTECTED] Nezvannyi gost'--khuzhe tatarina. [An uninvited guest is worse than the Mongol invasion] -- Russian proverb -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] problem starting KDE
Fernando Meira wrote: Although I have a few errors while starting X, they do not make X fail (as I think). After starting X, the problem arises when loading KDE with the following message: -Could not read network connection list. /home/nando/.DCOPserver_nandux__0 Please check that the dcopserver program is running. snip This, as I could find until now, is due to problems with my /home partition (fat32). With a new user (with homedir in the linux partition) everything goes fine. For this problem, I can't find solution.. Ah, I think have the answer for this. FAT32 doesn't support 'special' files such as device nodes, fifos, and sockets. That .DCOP... file that KDE needs to create is a socket. The solution for this is to put the users' .kde directories on a filesystem that supports sockets. You might be able to accomplish this through an environment variable, to tell KDE where the users home KDE directory is...search around the KDE documentation for this. You could also use the 'loop' driver to create a filesystem in a file and mount that at ~/.kde. I've tried many mount option with full permission to everyone, but scripts don't run properly (such as useradd and something within the X startup). Well, I have no idea why scripts won't run. Are you sure this is what you mean to say? Can you create your own script and execute it as a user? Sockets, device nodes, etc. I can understand...but not being able to execute any shell scripts is very strange. Now, the errors when starting Xorg: Yes, I think I have conflicts between xorg and the kernel configuration. I've attached my xorg.conf file (the one I adapted after running Xorg -configure I commented the font problem, the DRI section and added some lines in the keyboard and mouse inputs). From what I could see from your xorg.conf, mine got somewhat less detailed :( That is to be expected...I added most of those options by hand. But it should not have configured 'Driver ati', since the ATI driver has no support for 'Radeon' chips. The 'radeon' driver has support for the M6 (Radeon 7000, at least), so I think that line should say 'Driver radeon'. You can just delete all of the commented-out options. For info: I have a ATI Mobility M6 Well, the good news is that the basic driver should give you 3D hardware acceleration. I'm not familiar with the M6/RV100/Radeon 7000 family of adapters, and what the hardware capabilities were. But if the hardware supports 3D, the opensource drivers should as well. But, let's get X started before trying that! -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Ooo-2-bin
Michael W. Holdeman wrote: OK got 109, it is fine, but it wont open some .odt, and .odm files created with 79. I first noticed this with 104. I guess I will have to re-down to 79, open the problematic files and save them as .rtf or something then re-up to 109 and reopen them and save as .odt again. Any other ideas ?? Sounds like the best plan to me!! You should be able to save the files in the 'old' 1.1 document formats though, that will probably give you the best results. -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Hardware acceleration for ATI 9100? (Pundit-R)
I apologize for answering my own post, but looking at lspci I note that this is an ATI 9100 IGP if it make a difference. :01:05.0 VGA compatible controller: ATI Technologies Inc Radeon 9100 IGP Thanks, Mark On 6/21/05, Mark Knecht [EMAIL PROTECTED] wrote: Hi, I wonder if anyone happens to have any info on whether hardware acceleration should/can/does work on a Pundit-R? My laptop, which has an ATI 9200 Mobility, has hardware acceleration working fine. That kernel is 2.6.11.-gentoo-r6. I have 3 Pundit-R's that I'm trying to get hardware acceleration working on but so far I cannot. I've double checked that I'm building the kernels the same way, but the Pundit-R kernels are a bit older - 2.6.11-gentoo-r3, so maybe I should update. The failure mode, or at least the first message in dmesg, seems to be: fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel. [fglrx] Maximum main memory to use for locked dma buffers: 144 MBytes. ACPI: PCI interrupt :01:05.0[A] - GSI 16 (level, low) - IRQ 16 [fglrx] module loaded - fglrx 8.12.10 [Apr 4 2005] on minor 0 [fglrx] AGP detected, AgpState = 0x (hardware caps of chipset) [fglrx:firegl_unlock] *ERROR* Process 5916 using kernel context 0 I'm using the agpgart module from the kernel. The machine has 256MB DRAM and, I believe, a 64MB AGP aperture although I'm not sure how to verify that. From /var/log/Xorg.0.log I get these error messages: (EE) fglrx(0): [agp] unable to acquire AGP, error xf86_ENOMEM (EE) fglrx(0): cannot init AGP To me this all looks like some problem with the AGP driver and the ATI chipset, not the graphics adapter, in the Pundit-R but that's a total guess on my part. The message seems to happen when agpgart is modprobed and before fglrx is loaded. I've found more than a few other postings on the net of people having this problem over time but no real solutions. I am modprobing first agpgart and then fglrx in /etc/modules.autoload/kernel-2.6. Thanks in advance for any ideas. Cheers, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Hardware acceleration for ATI 9100? (Pundit-R)
Mark Knecht wrote: Hi, I wonder if anyone happens to have any info on whether hardware acceleration should/can/does work on a Pundit-R? My laptop, which has an ATI 9200 Mobility, has hardware acceleration working fine. That kernel is 2.6.11.-gentoo-r6. [snip] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Well, if it is the IGP or Mobility version of the chip, only 2D is supported by the fglrx driver, but maybe that is a hardware limitation?? The 'radeon' driver should support hardware 3D acceleration on 9100 chips, so you might want to try that. -Richard -- gentoo-user@gentoo.org mailing list
[resolved] Re: [gentoo-user] GNOME: How to create document template?
On Tue, 2005-06-21 at 12:18 +0200, Holly Bostick wrote: I also have no templates installed in my menu, but choosing Go To=Templates takes me to /home/username/Templates (which is empty), rather than any templates:/// virtual directory. Do you have such a folder? Well I've got a Templates option in the Go menu and adding base templates there seems to work exactly as I needed. Thanks, Holly! :D What version of Nautilus are you using? I'm running 2.10.1 for the record. -- () The ASCII Ribbon Campaign - against HTML Email, /\ vCards, and proprietary formats. --- Peter A. Gordon (codergeek42) E-Mail: [EMAIL PROTECTED] GPG Public Key ID: 0x87C59026 GPG Public Key Fingerprint: A5E9 EA8E 146B 4B44 E26A 385B 278C 74CC 87C5 9026 Encrypted and/or Signed correspondence preferred. GPG Public Key available upon request or from pgp.mit.edu's public key server. signature.asc Description: This is a digitally signed message part
[slightly off-topic] Re: [gentoo-user] Filesystem wars - ReiserFS 3.6 vs. JFS
On Tue, 2005-06-21 at 11:43 +0200, Harald Arnesen wrote: I use JFS on my laptop (it's an IBM ThinkPad, so why not use an IBM-made file system?). I like that reasoning! :D For what it's worth, I use Ext3 for everything (8 different partitions on two disks). I'm a huge Ext3 fanboy... -- () The ASCII Ribbon Campaign - against HTML Email, /\ vCards, and proprietary formats. --- Peter A. Gordon (codergeek42) E-Mail: [EMAIL PROTECTED] GPG Public Key ID: 0x87C59026 GPG Public Key Fingerprint: A5E9 EA8E 146B 4B44 E26A 385B 278C 74CC 87C5 9026 Encrypted and/or Signed correspondence preferred. GPG Public Key available upon request or from pgp.mit.edu's public key server. signature.asc Description: This is a digitally signed message part
[gentoo-user] libtheora-1.0_alpha4
Hi, When I do a 'emerge -uDvp world', libtheora-1.0_alpha4 is allways selected for upgrade, even though I´ve probably rebuilt it ten times. I seems that emerge doesn´t record the right version? aquarius hermes # emerge -uDvp world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] media-libs/libtheora-1.0_alpha4 [1.0_alpha3] -debug -doc +encode 0 kB Total size of downloads: 0 kB Does I or the problem make any sense? Best regards, Andreas Karlsson pgpHyZur0SuHI.pgp Description: PGP signature
[gentoo-user] Running Dosbox; the right way, the wrong way, and my wayg
On Mon, Jun 20, 2005 at 02:43:46AM -0400, Walter Dnes wrote Finally got it running. Since SDL is hooked into svgalib (at least on my system) I had to... - modprobe svgalib_helper (which creates /dev/svga and /dev/svga1) - chmod u+s /usr/games/bin/dosbox (with the usual security disclaimer) - and remember that svgalib has to be emerged every time I rebuild the kernel This will hopefully save others some banging-of-head-against-wall - dosbox requires sdl - sdl has the option of being compiled with, or without, svgalib support - svgalib bangs away directly at the hardare, which requires root-level permission. - if sdl is compiled with svgalib linked in, any program using sdl (dosbox or mplayer or whatever) indirectly uses svgalib, and therefore must be run setuid root (potential security risk, frowned on in linux) - if sdl is compiled *WITHOUT* linkage to svgalib, I find I don't have to screw around with loading svgalib_helper and chmod /dev/console and setuid dosbox as root. As an extra bonus, mplayer runs -vo sdl without having to go through that same hassle that Dosbox required with svgalib. The magic line to include in /var/portage/package.use is... media-libs/libsdl X -svga if you're using X. For framebuffer users, substitute the appropriate framebuffer flag in place of X. -- Walter Dnes [EMAIL PROTECTED] My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list