Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
However, I don't know how to rebuild the kernel # cd /usr/src/linux # make menuconfig !--- Add whatever support you need, i've never worked with ACPI, sorry --- # make make modules_install # reboot that should do it, if support is what you need. However, this will probably be more useful: # emerge -av acpid !--- -av means --verbose and --ask, so you can see what you're actually emerging, and have to choice no to, if you want --- and read this for help on configuring it: http://gentoo-wiki.com/TIP_ACPI_basic_configuration Gabriel Dain -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
Gabriel Dain wrote: However, I don't know how to rebuild the kernel # cd /usr/src/linux # make menuconfig !--- Add whatever support you need, i've never worked with ACPI, sorry --- # make make modules_install Addition: cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImageyour stuff here Then add it or change it in bootloader, grub is easier on this one. ;-) Then . . . . # reboot that should do it, if support is what you need. However, this will probably be more useful: # emerge -av acpid !--- -av means --verbose and --ask, so you can see what you're actually emerging, and have to choice no to, if you want --- and read this for help on configuring it: http://gentoo-wiki.com/TIP_ACPI_basic_configuration Gabriel Dain Other than that, pretty good start. May need more help though since you are new to this. Welcome to Gentoo Linux. You'll get over that feeling of being a 'long tail cat in a room full of rocking chairs' after a while. LOL Dale :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Splash livecd-2006.0 not working
On Friday 24 March 2006 04:59, Richard Fish wrote: On 3/23/06, Bo Andresen [EMAIL PROTECTED] wrote: root (hd0,1) Filesystem type is reiserfs, partition type 0x83 kernel /vmlinuz root=/dev/hda6 video=vesafb-tng:[EMAIL PROTECTED],mtrr,ywrap spla sh=verbose,theme:live-cd-2006.0 quiet CONSOLE=/dev/tty1 Did you notice you have a typo here? That should be splash=verbose,theme:livecd-2006.0 ^^ Oops, thanks... But still: Booting 'Gentoo Linux' root (hd0,1) Filesystem type is reiserfs, partition type 0x83 kernel /vmlinuz root=/dev/hda6 video=vesafb-tng:[EMAIL PROTECTED],mtrr,ywrap splash=verbose,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1 [Linux-bzImage, setup=0x1c00, size=0x19d4cd] initrd /fbsplash-livecd-2006.0-1400x1050 [Linux-initrd @ 0x1ff68000, 0x87c57 bytes] Uncompressing Linux... Ok, booting the kernel. Can't open config file /etc/splash/livecd-2006.0/1400x1050.cfg. Failed to load image (null). Failed to get verbose splash image. The theme does, however, get loaded when the boot service splash is started. I think it lacks some activity though. -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
I'm very very new to Gentoo. I managed to squeak through a install from the live CD, however, this gave me a kernel with little or no ACPI support - I have a laptop, so I'd like to have this support enabled. However, I don't know how to rebuild the kernel, or do so enabling ACPI support. I only know a few precious things about emerge, like --sync, --search, and even --help, but beyond that I'm not that good at all, and the man pages didn't offer much help for me. There's a chapter on kernel config in Gentoo handbook: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml If LiveCD kernel works for you, you may use its config as a starting point for your custom kernel. There's a couple of articles on Gentoo wiki which may be helpful: http://gentoo-wiki.com/Index:HOWTO#ACPI_.26_APM HTH, Sasha -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to install iplimit?
I would like to use iplimit in my firewall. I'm still using 2.6.11-r9, but, it appears to be in yours too. From make menuconfig under the 2.6.11-r9 it is here: [...] m limit match support It is not this module. limit module can limit number of packets in specified amount of time. But I want to limit number of parallel connections from define IP. Look: http://www.netfilter.org/documentation/HOWTO//netfilter-extensions-HOWTO-3.html#ss3.5 -- Mariusz Zalewski [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: mpg123: Can't open /dev/dsp!
Walter Dnes schreef: On Tue, Mar 21, 2006 at 08:41:44PM +0100, Simon Kellett wrote Walter Dnes [EMAIL PROTECTED] writes: ... mpg123 complains about not being able to open /dev/dsp ... Does mpg123 -a /dev/sound/dsp work ? Nope. The only change is that now I get Can't open /dev/sound/dsp!. Well, my understanding (which may not be correct, but I /think/ it is) is that /dev/sound/dsp is the sound sequencer created by OSS or ALSA OSS emulation-- if OSS is not enabled somehow, you won't have it, and if the app uses ALSA directly (and not OSS emulation), you won't use it (so you won't notice it's not there). The ebuilds seem to suggest that mpg123 uses OSS (therefore ALSA OSS emulation), whereas mpg321 uses ALSA natively: # $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-0.59s-r10.ebuild,v 1.4 2006/03/08 15:46:03 flameeyes Exp $ inherit eutils PATCH_VER=1.5 S=${WORKDIR}/${PN} DESCRIPTION=Real Time mp3 player HOMEPAGE=http://www.mpg123.de/; SRC_URI=http://www.mpg123.de/mpg123/${PN}-pre${PV}.tar.gz mirror://gentoo/${P}-gentoo-${PATCH_VER}.tar.bz2 LICENSE=as-is SLOT=0 KEYWORDS=~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86 IUSE=mmx 3dnow esd nas oss RDEPEND=esd? ( media-sound/esound ) nas? ( media-libs/nas ) # alsa-1 b0rks and it's not a simple fix #alsa? ( media-libs/alsa-lib ) Interestingly, the alsa USE flag is commented out, but the IUSE= variable contains OSS. More interestingly, the mpg321 ebuild contains no listed dependencies on /either/ ALSA or OSS (or any other sound server)-- which strongly suggests that it's native ALSA, since that is enabled in the kernel by default (whereas OSS is not), indicating that if your soundcard's kernel modules load, mpg321 will work, since it seems to have no explicit additional ALSA or OSS dependencies. less /usr/portage/media-sound/mpg321/mpg321-0.2.10-r3.ebuild # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/mpg321/mpg321-0.2.10-r3.ebuild,v 1.1 2005/08/29 09:48:18 flameeyes Exp $ inherit eutils IUSE= DESCRIPTION=Free MP3 player, drop-in replacement for mpg123 SRC_URI=mirror://sourceforge/${PN}/${P}.tar.gz HOMEPAGE=http://sourceforge.net/projects/mpg321/; DEPEND=media-libs/libmad media-libs/libid3tag =media-libs/libao-0.8.0 SLOT=0 LICENSE=GPL-2 KEYWORDS=~alpha ~amd64 -mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86 PROVIDE=virtual/mpg123 src_unpack() { In any case, do you have ALSA OSS emulation enabled? This requires: 1) ALSA OSS emulation elements to be enabled in the kernel, including: M Advanced Linux Sound Architecture M Sequencer support Sequencer dummy client M OSS Mixer API M OSS PCM (digital audio) API [*] OSS Sequencer API 2) Your soundcard to be configured correctly in /etc/modules.d/alsa 3) the alsa-oss package (at least; there may be other associated alsa-* packages necessary, but since I install all of them except alsa-driver, I've never investigated which packages are actually necessary to enable each area of the ALSA functionality). If so, it _ /does/ _ work: lsmod |grep snd_ snd_seq_midi6176 0 snd_opl3_synth 12292 0 snd_seq_instr 6656 1 snd_opl3_synth snd_seq_midi_emul 5504 1 snd_opl3_synth snd_ainstr_fm 2176 1 snd_opl3_synth ==snd_pcm_oss41760 0 ==snd_mixer_oss 14208 2 snd_pcm_oss ==snd_seq_oss26880 0 snd_seq_midi_event 5632 2 snd_seq_midi,snd_seq_oss ==snd_seq42256 8 snd_seq_midi,snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event snd_cmipci 27552 1 ==snd_pcm69128 2 snd_pcm_oss,snd_cmipci snd_page_alloc 7688 1 snd_pcm snd_opl3_lib8064 2 snd_opl3_synth,snd_cmipci snd_timer 18564 3 snd_seq,snd_pcm,snd_opl3_lib snd_hwdep 6560 1 snd_opl3_lib snd_mpu401_uart 5504 1 snd_cmipci snd_rawmidi18336 2 snd_seq_midi,snd_mpu401_uart ==snd_seq_device 6284 6 snd_seq_midi,snd_opl3_synth,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi snd41316 13 snd_opl3_synth,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device eix alsa-oss * media-libs/alsa-oss Available versions: 1.0.10-r1 ~1.0.11_rc3 Installed: 1.0.11_rc3 Homepage:http://www.alsa-project.org/ Description: Advanced Linux Sound Architecture OSS compatibility layer. # Alsa 0.9.X kernel modules' configuration file. # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Exp $ # ALSA portion # OSS/Free portion ## ## IMPORTANT: ## You need to customise this section for your specific sound card(s) ## and then run `update-modules' command. ## Read
Re: [gentoo-user] sudo echo
On Fri, 24 Mar 2006 00:58:09 +0100, Renat Golubchyk wrote: Alright, then run sudo bash -c 'echo some_string some_file' No problem here :) Except this means you have to give the user permission to run bash, and subsequently any command as root. You may as well give them the root password and let them use su. -- Neil Bothwick Zmodem has bigger bits, softer blocks, and tighter ASCII signature.asc Description: PGP signature
Re: [gentoo-user] How to tar?
On Fri, 24 Mar 2006 00:42:22 +0100, Benno Schulenberg wrote: what I think is needed here is untarring of the archive, while untarred data is dynamically deleted immediately after untarred to make space for more data to be untarred . . . do I make sense? Yes, but GNU tar cannot do that, it can only do one command at a time, either --extract or --delete or ... The simplest solution is probably to make several smaller tarballs instead on one containing the whole of /usr. -- Neil Bothwick Shell to DOS... Shell to DOS... DOS, do you copy? Shell to DOS... signature.asc Description: PGP signature
Re: [gentoo-user] resuming emerges
On Fri, 24 Mar 2006 13:19:45 +0930, Iain Buchanan wrote: You can edit /etc/make.conf and add noclean to your FEATURES. This way the temporary stuff in /var/tmp/portage (or wherever it is) will stay behind, and you can say `emerge --resume` and it will continue. You also need keepwork in your features. Another way to do this is ebuild /usr/portage/cate-gory/appname/appname-version.ebuild merge -- Neil Bothwick Our bikinis are exciting. They are simply the tops. signature.asc Description: PGP signature
Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
On Fri, 24 Mar 2006 19:19:07 +1100, Gabriel Dain wrote: # cd /usr/src/linux # make menuconfig !--- Add whatever support you need, i've never worked with ACPI, sorry --- # make make modules_install # reboot That should be make make modules_install make install or your new kernel will still be in /usr/src/linux :( -- Neil Bothwick BUFFERS=20 FILES=15 2nd down, 4th quarter, 5 yards to go! signature.asc Description: PGP signature
Re: [gentoo-user] How to install iplimit?
I would like to use iplimit in my firewall. Did you check for new netfilter options in kernel config after installing iptables extensions? Did /usr/src/linux point to correct location when you were installing the patches? This is just a guess. Didn't do that myself. Sasha -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: KDE version
Iain Buchanan wrote: On Thu, 2006-03-23 at 21:30 -0500, Philip Webb wrote: Isn't the solution to have 3 levels: 'testing', 'probation' 'stable' ? There are 3 levels: Masked, ~ARCH, and ARCH. Masked you can install if you want, like gnome-2.14, but it's your own fault if it kills your system. == Upstream unstable, ebuild unstable. ~ARCH you can install if you want, it may do bad things, but if so you're probably the first to know about it. File a bug and help move it to ARCH. == Upstream stable, ebuild testing. ARCH is good for everyone else. == Upstream stable, ebuild stable So it's not just the software that needs to be stable, the ebuild needs to be tested too. -- Naga -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] is it toast?
Hi, does the stick have a write-protect switch? Mine has - and AFAIR most sticks too. Maybe he switched it? -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] How to tar?
Thank you All for your replies. -Original Message- From: Benno Schulenberg [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 23:42 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to tar? Michael Kintzios wrote: As things currently are gentoo_usr.tgz is in /dev/hda2, which is destined to house the /usr/portage directory. /dev/hda2 is a 4.0G partition with only 74M available. How big is gentoo_usr.tgz? What's the rest on /dev/hda2? gentoo_usr.tgz is 3.9G+ and there's nothing else left in /dev/hda2. /dev/hda3 will have the rest of the filesystem (and the remaining /usr directory). What's on /dev/hda3 now? How big is it? What's on /dev/hda1? Can't you move the gentoo_usr.tgz to another roomier partition? There's no other roomier partition which will contain gentoo_usr.tgz as a single file. If I get it right, /dev/hda3 is destined to become your /, and /dev/hda2 your /usr/portage. Have you already upacked the rest of / on /dev/hda3? How about retarring it and untarring it after gentoo_usr.tgz? I'll have a look at doing something like that, although I will not be able to untar gentoo_usr.tgz into another partition (at 6.4G untarred there's just not enough space). what I think is needed here is untarring of the archive, while untarred data is dynamically deleted immediately after untarred to make space for more data to be untarred . . . do I make sense? Yes, but GNU tar cannot do that, it can only do one command at a time, either --extract or --delete or ... Yes, that's why I was hoping that some clever bash-ery may be able to pipe the lot together. As I have no access to another machine or network until I get back home, the helpful link provided may have to wait. Of course once I get back home I can only tar the directories I need, one at a time. Thanks again for your replies. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Sendmail virtusertable
Hi, Yes, I have MX record. This is a virtuserable concept. [EMAIL PROTECTED] [EMAIL PROTECTED] @yahoo.com [EMAIL PROTECTED] entry in there and that means mails that are sent to admin and yahoo.com should go to root. Am I right? On 3/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hiren Dave [EMAIL PROTECTED] wrote: I have enter below lines in the /etc/mail/virtusertable file. [EMAIL PROTECTED][EMAIL PROTECTED] @yahoo.com[EMAIL PROTECTED] Then I run this command. # m4 virtusertable virtusertable.db # service sendmail restart # echo Nice to meet you. | mail -s Test [EMAIL PROTECTED] # echo Nice to meet you too. | mail -s Test [EMAIL PROTECTED] But all two mails are in queue and delayed since last 5 hours. Do you have corresponding MX-record?I mean, nameserver authorised for guru.com domain must haveMX record in guru.com zonefile, which says that server1.guru.comis mailserver for guru.com domain, something like (for bind):guru.com. IN MX 10 server1.guru.com.Jarry--Feel free mit GMX FreeMail!Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net-- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How about ieee 1394 was:USB TV / Video capture devices
On Thu, 23 Mar 2006 19:49:40 -0700 Joseph [EMAIL PROTECTED] wrote: On Fri, 2006-03-24 at 14:40 +1200, Nick Rout wrote: I am unclear what you mean here. what is a Analog to Digital S-VHS converter. I suspect it has RCA analog video in, but what comes out? is it DV (like a DV camera format)? If so I suspect you will ned up with a DV format file on your computer, not sure if you can see that live but it might in kino. emerge kino and try it. The Converter has an Analog IN input (RCA-type A/V jack) and output is S-VHS Video Out / Coaxial S/PDIF out / Toslink out So I'm not sure I'll be able to take advantage of it, I think I need RCA to DV converter (with FireWire port) do you mean s-video rather than s-vhs? s-video is still an analog signal. anyway its not gonna do what we want. analog to dv is an expensive device, but some digital video cameras have an analog rca input and you can convert old analog stuff to dv by passing it through the camera. I am not sure if you have to record it on to digital video tape first and then play it out over the firewore port, or whther you can simply pass it through. A simple PCI framegrabber will do what you want, but you specified USB or firewire, so are we dealing with a laptop? If you need a USB device i pointed out one that will work in my first post, but thats not to say other usb devices won't work. The other option is a webcam device on top of the microscope. -- #Joseph -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] My Gentoo is too secure ... ;)
On Mar 23, 2006, at 11:31 PM, Gabriel Dain wrote: If the problem is you log straight into KDE, you could boot from the Gentoo CD, and chroot to your system Gabriel Dain or get another virtual terminal (with x running, it's shift-alt f2, or shift-control f2, i forget which). that will give you a login prompt and you can log in directly as root.. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] screen flickers/static
No, I mean, I don't have another distro installed that I could compare the two xorg.conf files. you mean you deleted it, or your system auto-detects it? -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT: awk scripting
Hi list, I want the awk analogon for cut -f2-, which prints fields #2 to #n. Is this possible? awk '{print $2???}' TIA, Sascha. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] screen flickers/static
On Fri, 2006-03-24 at 15:44 +0930, Iain Buchanan wrote: On Fri, 2006-03-24 at 00:00 -0600, Dave Moore wrote: I have this problem too, precisely as thufir described it. I, however, have no other xorg.conf for comparison. you mean you deleted it, or your system auto-detects it? if 1. then too bad :( you could try playing around with drivers (eg try the standard vesa driver). If 2. then try making one, then play around with it. -- Iain Buchanan iaindb at netspace dot net dot au If you sell diamonds, you cannot expect to have many customers. But a diamond is a diamond even if there are no customers. -- Swami Prabhupada My wife has the same problem with her computer running Gentoo, but I generated the xorg.conf file from X -configure when I first installed Gentoo on it for her, but her screen still flickers. Is there any way to find out what drivers would need to be installed (if the drivers are the problem)? -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] OT - Linewrap in vim
-Original Message- From: JimD [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 21:20 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT - Linewrap in vim On Thu, 23 Mar 2006 12:18:44 -0600 Michael Sullivan [EMAIL PROTECTED] wrote: Is there a way to turn off the line wrap function in vim/gvim? I know it doesn't actually wrap lines in the file - I just want to turn off the visual line wrap in the editor. Is that possible? From within vim/gvim type: :set nowrap I add that to my .vimrc, without the :. While on this topic, when I cut paste in Vim it automatically inserts indents on the front of each pasted line which messes up my config files. I had it fixed some time ago and now I noticed it's back - would you know how I can switch it off again? -- Regards, Mick -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] is it toast?
-Original Message- From: Hemmann, Volker Armin [mailto:[EMAIL PROTECTED] Sent: 24 March 2006 10:45 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] is it toast? Hi, does the stick have a write-protect switch? Mine has - and AFAIR most sticks too. Maybe he switched it? If it doesn't have a switch, can you repartition it with VFAT using parted, or fdisk? -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: core packages for a dual-boot system
On 3/21/06, Robert Welz [EMAIL PROTECTED] wrote: .. So, just replace /boot/grub/grub.conf with /root/grub.conf ,yes? Yes, but make shure the menu menu.lst sybolic ling is pointing to grub (ls -s menu.lst grub.conf.) Robert .. I looked for menu.1st and couldn't find it :( However, changing /boot/grub/grub.conf to the following workded :) [EMAIL PROTECTED] ~ $ [EMAIL PROTECTED] ~ $ cat /boot/grub/grub.conf -n 1 default 0 2 timeout 30 3 splashimage=(hd0,1)/grub/splash.xpm.gz 4 title=Gentoo Linux 5 root (hd0,1) 6 kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda4 7 initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5 8 9 title Windows 10rootnoverify (hd0,0) 11chainloader +1 12 [EMAIL PROTECTED] ~ $ date Fri Mar 24 14:26:52 GMT 2006 [EMAIL PROTECTED] ~ $ thanks, Thufir -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - Linewrap in vim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 24.03.2006 um 15:19 schrieb Michael Kintzios: While on this topic, when I cut paste in Vim it automatically inserts indents on the front of each pasted line which messes up my config files. I had it fixed some time ago and now I noticed it's back - would you know how I can switch it off again? I have something like this in my .vimrc: set pastetoggle=F11 If I press F11, I can go into the paste mode and paste some weird stuff. Afterwards I press F11 again and I am in the normal mode again. I hope it helps you a little bit. Greets, Rafael -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFEJAJY54MLbyoQXM4RAtvJAJ4+8AeqM71h7WMtBUr+iT0z+ZWErgCghYwq RaKT7TF01uw43ezQJEsHd0Y= =vV1m -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - Linewrap in vim
Michael Kintzios wrote: -Original Message- From: JimD [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 21:20 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT - Linewrap in vim On Thu, 23 Mar 2006 12:18:44 -0600 Michael Sullivan [EMAIL PROTECTED] wrote: Is there a way to turn off the line wrap function in vim/gvim? I know it doesn't actually wrap lines in the file - I just want to turn off the visual line wrap in the editor. Is that possible? From within vim/gvim type: :set nowrap I add that to my .vimrc, without the :. While on this topic, when I cut paste in Vim it automatically inserts indents on the front of each pasted line which messes up my config files. I had it fixed some time ago and now I noticed it's back - would you know how I can switch it off again? :set noai and :set ai for when you want it back on :) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - Linewrap in vim
Michael Kintzios [EMAIL PROTECTED] writes: -Original Message- From: JimD [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 21:20 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT - Linewrap in vim On Thu, 23 Mar 2006 12:18:44 -0600 Michael Sullivan [EMAIL PROTECTED] wrote: Is there a way to turn off the line wrap function in vim/gvim? I know it doesn't actually wrap lines in the file - I just want to turn off the visual line wrap in the editor. Is that possible? From within vim/gvim type: :set nowrap I add that to my .vimrc, without the :. While on this topic, when I cut paste in Vim it automatically inserts indents on the front of each pasted line which messes up my config files. I had it fixed some time ago and now I noticed it's back - would you know how I can switch it off again? :set paste -- Regards, Mick -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - Linewrap in vim
On Fri, Mar 24, 2006 at 02:19:19PM -, Michael Kintzios wrote: While on this topic, when I cut paste in Vim it automatically inserts indents on the front of each pasted line which messes up my config files. I had it fixed some time ago and now I noticed it's back - would you know how I can switch it off again? I use :set paste, paste, :set nopaste. Let me know if there is a better way. Cheers, Rasmus -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: awk scripting
Hi, On Fri, 24 Mar 2006 14:34:22 +0100 (CET) Sascha Lucas [EMAIL PROTECTED] wrote: I want the awk analogon for cut -f2-, which prints fields #2 to #n. Is this possible? awk '{print $2???}' I'd do the following: awk '{$1=;print $0}' (awk recalculates $0 when $n is modified) This still leaves you with one OFS starting the line (between $1 and $2), you can get rid of this using awk '{$1=;print substr($0,lenght(OFS))}' -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] My Gentoo is too secure ... ;)
On Friday 24 March 2006 07:13, John Jolet [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] My Gentoo is too secure ... ;)': On Mar 23, 2006, at 11:31 PM, Gabriel Dain wrote: If the problem is you log straight into KDE, you could boot from the Gentoo CD, and chroot to your system or get another virtual terminal (with x running, it's shift-alt f2, or shift-control f2, i forget which). I believe you mean Ctrl-Alt-F[1-6] (more or less, depending on your settings.) -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: awk scripting
let's say you have a listing like this in a file name list.txt: aaa bbb aaa bbb aaa bbb aaa bbb aaa bbb if you wanna print the bbb column, you just have to do like this: cat list.txt | awk '{ print $2 }' if the listing is like this: aaa;bbb aaa;bbb aaa;bbb aaa;bbb aaa;bbb then you do: cat list.txt | awk -F';' '{ print $2 }' and so on. I sugest you read awk and gawk man pages for more info. they are very complete. regards, claudio. On 3/24/06, Sascha Lucas [EMAIL PROTECTED] wrote: Hi list, I want the awk analogon for cut -f2-, which prints fields #2 to #n. Is this possible? awk '{print $2???}' TIA, Sascha. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: awk scripting
On Friday 24 March 2006 07:34, Sascha Lucas [EMAIL PROTECTED] wrote about '[gentoo-user] OT: awk scripting': I want the awk analogon for cut -f2-, which prints fields #2 to #n. Is this possible? I think: awk '{shift; shift; print $0}' -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to tar?
On Friday 24 March 2006 05:53, Michael Kintzios [EMAIL PROTECTED] wrote about 'RE: [gentoo-user] How to tar?': -Original Message- From: Benno Schulenberg [mailto:[EMAIL PROTECTED] Michael Kintzios wrote: what I think is needed here is untarring of the archive, while untarred data is dynamically deleted immediately after untarred to make space for more data to be untarred . . . do I make sense? Yes, but GNU tar cannot do that, it can only do one command at a time, either --extract or --delete or ... Yes, that's why I was hoping that some clever bash-ery may be able to pipe the lot together. Perhaps: tar xvf gentoo_usr.tar | while read file; do tar --delete f gentoo_usr.tar $file; done That might just screw up your tar file and/or extract junk; I didn't test it at all. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] My Gentoo is too secure ... ;)
On Mar 24, 2006, at 8:40 AM, Boyd Stephen Smith Jr. wrote: On Friday 24 March 2006 07:13, John Jolet [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] My Gentoo is too secure ... ;)': On Mar 23, 2006, at 11:31 PM, Gabriel Dain wrote: If the problem is you log straight into KDE, you could boot from the Gentoo CD, and chroot to your system or get another virtual terminal (with x running, it's shift-alt f2, or shift-control f2, i forget which). I believe you mean Ctrl-Alt-F[1-6] (more or less, depending on your settings.) yes, i can never remember...i just hold 'em all down :). -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How about ieee 1394 was:USB TV / Video capture devices
On Sat, 25 Mar 2006 01:05:01 +1200, Nick Rout wrote: analog to dv is an expensive device, but some digital video cameras have an analog rca input and you can convert old analog stuff to dv by passing it through the camera. I am not sure if you have to record it on to digital video tape first and then play it out over the firewore port, or whther you can simply pass it through. My Canon camcorder will pass it through. I've hooked a VCR up to it like this to transfer video tapes to Kino. -- Neil Bothwick KPLA Klingon Radio : All glory, all the time! signature.asc Description: PGP signature
[gentoo-user] Gentoo froze after 25 days of being up
Greetings list. I've had Gentoo on my home server for a little over a year now. I've never had a problem with it outright freezing until recently. Yesterday I was playing World of Warcraft on my home PC (the server is also a router, my home PC connects through it). I have a kvm switch so I had WoW running on my main PC while I was working on the screen for the server. I had just typed emerge -av net-ping then typed yes, it got 3 lines into the emerge and the server froze. Internet access stopped working on the home PC (WoW disconnected), screen froze on tty1, could not change virtual screens, keyboard would not type and none of the lock keys (caps, scroll, etc.) would not work. Ctrl+alt+del wouldn't work, and I couldn't even ssh into it.Iwasn'tdoanythingparticularlyoutoftheordinarywiththeserver,either:Ihaddoneanesync,likeIdo everyday, and updated world. I was emerging net-ping because I thought it was a cyclic pinger, although I ended up finding out pinger was the app I wanted. Sothat'sthebackgroundinformation.Here'sthequestion:Is there anyway to find out why it froze?-- - Mark Shields
[gentoo-user] alsamixer process after close 100% cpu
Hello list, I used alsatools for a long time, and never had any problems, but now on my laptop when I use alsamixer, sometimes when closed (using ESC to close) leaves the process running and using 100% CPU. I have to go to console and kill it. Laptop is HP Pavilion ze5470us. I don't have my laptop here right now so I can't remember the exact name of the sound card. If you need it I can post it later. I've searched the web for it and couldn't find anything regarding alsamixer and high cpu usage. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: awk scripting
On Fri, 24 Mar 2006, Hans-Werner Hilse wrote: awk '{$1=;print $0}' (awk recalculates $0 when $n is modified) This still leaves you with one OFS starting the line (between $1 and $2), you can get rid of this using awk '{$1=;print substr($0,lenght(OFS))}' thanks. the function lenght seems not defined. but substr($0,2) works. Sascha. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo froze after 25 days of being up
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 24.03.2006 um 15:56 schrieb Mark Shields: s there anyway to find out why it froze? Check the kernel logs and look if there is somethig suspicious. Greets, Rafael -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFEJBHp54MLbyoQXM4RAo8IAKCAgedZbB+XHVKo9HCJhFfEpUe11ACggpWb 2NuBZwwYj0rE1bn+YIEUu8I= =Xy9A -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem
On Thu, 2006-03-23 at 22:51 -0700, Richard Fish wrote: On 3/23/06, Joseph [EMAIL PROTECTED] wrote: OK, here is dmesg output, the last two lines indicate that: hdc: DMA disabled hdc: ATAPI reset complete The lines that are interesting to me are: VP_IDE: IDE controller at PCI slot :00:0f.1 sata_via :00:0f.0: version 1.1 The above PCI id lines indicate that your parallel ata (IDE) device is really just a function of your SATA chip. Since your hard disk wouldn't be affected, I would try a kernel without IDE support and see if the SATA driver picks up your CD drive. -Richard I've disable IDE ATAPI CD-ROM in the kernel but the DVD-drive wasn't recognized upon reboot; well I think I just have to wait till they fix it in the kernel :-/ For now, every time I made copy and eject the CD, I will reboot the computer; oh well it is like Windows 98 - I'm used to it :-) -- #Joseph -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to tar?
On Friday 24 March 2006 15:36, Boyd Stephen Smith Jr. wrote: Michael Kintzios wrote: what I think is needed here is untarring of the archive, while untarred data is dynamically deleted immediately after untarred to make space for more data to be untarred . . . do I make sense? Yes, but GNU tar cannot do that, it can only do one command at a time, either --extract or --delete or ... Yes, that's why I was hoping that some clever bash-ery may be able to pipe the lot together. Perhaps: tar xvf gentoo_usr.tar | while read file; do tar --delete f gentoo_usr.tar $file; done That might just screw up your tar file and/or extract junk; I didn't test it at all. ROFL. No that won't work. ;) You cannot delete while extracting and when extraction is completed there is no point. This, however, does work: tar tf gentoo_usr.tar | sort -r | while read file; do tar -xf gentoo_usr.tar $file tar --delete -f gentoo_usr.tar $file; done First of all the dash before f when deleting is necessary. That's just syntax. Secondly the sort -r is VERY important to make sure it extracts the deepest files (in terms of path) first then deletes them. Both -x and --delete or recursive by default. The problem with this, however, is that it only works with a tar file. Apparently it is not possible to delete a file from a compressed tar file. -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: awk scripting
Hi, On Fri, 24 Mar 2006 16:15:09 +0100 (CET) Sascha Lucas [EMAIL PROTECTED] wrote: On Fri, 24 Mar 2006, Hans-Werner Hilse wrote: awk '{$1=;print $0}' (awk recalculates $0 when $n is modified) This still leaves you with one OFS starting the line (between $1 and $2), you can get rid of this using awk '{$1=;print substr($0,lenght(OFS))}' thanks. the function lenght seems not defined. but substr($0,2) works. That was a typo. Should of course be length. -hwh -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] OT - Linewrap in vim
-Original Message- From: Rafael Bugajewski [mailto:[EMAIL PROTECTED] Sent: 24 March 2006 14:30 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT - Linewrap in vim -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 24.03.2006 um 15:19 schrieb Michael Kintzios: While on this topic, when I cut paste in Vim it automatically inserts indents on the front of each pasted line which messes up my config files. I had it fixed some time ago and now I noticed it's back - would you know how I can switch it off again? I have something like this in my .vimrc: set pastetoggle=F11 If I press F11, I can go into the paste mode and paste some weird stuff. Afterwards I press F11 again and I am in the normal mode again. I hope it helps you a little bit. Thank you all. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Splash livecd-2006.0 not working
On 3/24/06, Bo Andresen [EMAIL PROTECTED] wrote: root (hd0,1) Filesystem type is reiserfs, partition type 0x83 kernel /vmlinuz root=/dev/hda6 video=vesafb-tng:[EMAIL PROTECTED],mtrr,ywrap splash=verbose,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1 [Linux-bzImage, setup=0x1c00, size=0x19d4cd] initrd /fbsplash-livecd-2006.0-1400x1050 [Linux-initrd @ 0x1ff68000, 0x87c57 bytes] Can you check the initramfs to ensure that it contains the necessary files? zcat /boot/fbsplash-livecd-2006.0-1400x1050 | cpio --list | grep splash -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo froze after 25 days of being up
That may or may not yield anything useful, depending on which logger you are using (as some don't write immediately). Rafael Bugajewski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 24.03.2006 um 15:56 schrieb Mark Shields: s there anyway to find out why it froze? Check the kernel logs and look if there is somethig suspicious. Greets, Rafael -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFEJBHp54MLbyoQXM4RAo8IAKCAgedZbB+XHVKo9HCJhFfEpUe11ACggpWb 2NuBZwwYj0rE1bn+YIEUu8I= =Xy9A -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] CRON (Vixie) not working for local users ...
Hello! I have several local users on my machine that are members of the cron group. Vixie-Cron runs as my cron agent. It is running. However, when I setup jobs to run in the users crontab, they are NEVER executed. Not once, not ever! It seems that the ONLY jobs that run are via /etc/cron* Am I missing something? Tom Veldhouse -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] is it toast?
On 3/24/06, Martin S [EMAIL PROTECTED] wrote: Haven't had the oppurtunity to look for a switch (haven't seen one though) as it's home and I'm not. But no I can't repartition it as evident from earlier mails in the thread. It's read-only :( I would bet a write-protect switch got flipped. Otherwise, yes, i think you have to replace it. I can't imagine how the other guy could have damaged it from your description of the events though. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: awk scripting
Hi, On Fri, 24 Mar 2006 08:49:22 -0600 Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Friday 24 March 2006 07:34, Sascha Lucas [EMAIL PROTECTED] wrote about '[gentoo-user] OT: awk scripting': I want the awk analogon for cut -f2-, which prints fields #2 to #n. Is this possible? I think: awk '{shift; shift; print $0}' Sad, but true: There's no shift in awk. -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CRON (Vixie) not working for local users ...
I haven't tried this on gentoo, but in general, and on other linux distros: from crontab(1): If the cron.allow file exists, then you must be listed therein in order to be allowed to use this command. If the cron.allow file does not exist but the cron.deny file does exist, then you must not be listed in the cron.deny file in order to use this command. If neither of these files exists, only the super user will be allowed to use this command. Let me know if gentoo adheres to that also. Thomas T. Veldhouse wrote: Hello! I have several local users on my machine that are members of the cron group. Vixie-Cron runs as my cron agent. It is running. However, when I setup jobs to run in the users crontab, they are NEVER executed. Not once, not ever! It seems that the ONLY jobs that run are via /etc/cron* Am I missing something? Tom Veldhouse -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How about ieee 1394 was:USB TV / Video capture devices
On Sat, 2006-03-25 at 01:05 +1200, Nick Rout wrote: On Thu, 23 Mar 2006 19:49:40 -0700 Joseph [EMAIL PROTECTED] wrote: On Fri, 2006-03-24 at 14:40 +1200, Nick Rout wrote: I am unclear what you mean here. what is a Analog to Digital S-VHS converter. I suspect it has RCA analog video in, but what comes out? is it DV (like a DV camera format)? If so I suspect you will ned up with a DV format file on your computer, not sure if you can see that live but it might in kino. emerge kino and try it. The Converter has an Analog IN input (RCA-type A/V jack) and output is S-VHS Video Out / Coaxial S/PDIF out / Toslink out So I'm not sure I'll be able to take advantage of it, I think I need RCA to DV converter (with FireWire port) do you mean s-video rather than s-vhs? s-video is still an analog signal. anyway its not gonna do what we want. You are right, I just converts composite video to S-Video; so it will not be much of use to me. analog to dv is an expensive device, but some digital video cameras have an analog rca input and you can convert old analog stuff to dv by passing it through the camera. I am not sure if you have to record it on to digital video tape first and then play it out over the firewore port, or whther you can simply pass it through. Good idea I'll try to see if it works. I've installed the ieee1394 card and tried it with Digial Camera and kino; it works perfectly. My Digital Camera has an AV port so I'll try to connect the it and use it as a player (dubbing), but as you said I'll have to test if it goes through or I need to record it first, I'll try this sometime this evening. A simple PCI framegrabber will do what you want, but you specified USB or firewire, so are we dealing with a laptop? If you need a USB device i pointed out one that will work in my first post, but thats not to say other usb devices won't work. The 400x Microscope (fiberscope) I have connects to a standard TV and the picture is black and white, but I would like to find the simplest solution to connect it to a PC (and Laptop eventually) and take a picture. The simplex solution is the best for me so I was looking for USB port since both Laptop and PC have them. If I go with PCI card (be it ieee1394 or any framegrabber) I can only use it with PC. QUESTION regarding ieee1394: When I installed the ieee1394 card, it has two 6-pin ports and one 4-pin port. I have connected the Digital Camera to one of the 6-pin ports and I couldn't make it to work with kino, so I try the other port and it worked. I was under impression that ieee1394 cards would work the same as USB-ports; regardless which port I plug my device into it will just work, not so with ieee1394 cards. How do I control which port I need to plug the device into and how are they numbered? In kino under settings there is IEEE1394 tab and has an option raw1394 interface option that is set to 0 I've tried setting it to 1 but it didn't work. -- #Joseph -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
On 3/24/06, Richard Fish [EMAIL PROTECTED] wrote: Then reboot to your 'Safe' kernel to make sure things work. Oh, and obviously, you should do this *before* starting any work on rebuilding or installing a new kernel... -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
On 3/24/06, Lord Sauron [EMAIL PROTECTED] wrote: However, I don't know how to rebuild the kernel, or do so enabling Others have covered the mechanics of building and installing the kernel. Just a couple of points to try to keep you out of trouble: 1. However you install the kernel (by which I mean the bzImage gets copied to /boot), make really sure you have a backup kernel, and can boot from it. Something like: cp /boot/vmlinuz-blah-blah /boot/vmlinuz-SAFE cp /boot/initrd-blah-blah /boot/initrd-SAFE and then add an entry to /boot/grub/grub.conf like so: title Safe kernel /vmlinuz-SAFE blah blah blah initrd /initrd-SAFE Then reboot to your 'Safe' kernel to make sure things work. 2. Since you are just starting out with kernel configuration, only _add_ things to the kernel, don't delete any drivers, and avoid modules (make everything a '*' in menuconfig, not 'M'). Once you get some confidence with configuring and installing kernels, and rebooting with your backup kernel, you can get more adventurous with modules or removing unnecessary drivers. -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] X.org 7 rules?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've updated my X.org to X.org 7. I have a laptop with an ATI RADEON MOBILITY 9700 (r300 chip), and I've haeard before of NEW X.ORG DRIVERS, and how they'd pretty empower radeon cards. Well, I have no direct rendering yet. I wonder if someone with a Radeon with r300 chip has make X.org 7 work with direct rendering and compositing extension (transset...). I'd like to see those amazing X.org visual effects on my Ati card !! (and have direct rendering to see them pretty fast). Bye, Rafael Fernández López. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEJCVB9RRlaicc3IERAmV4AJ4q4g5Tr/0hK5CszOtW3TG/7U8ASQCff5+n wYtEWc83/qBolQL8j8rYNOo= =ecK1 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo froze after 25 days of being up
060324 Mark Shields wrote: I've had Gentoo on my home server for a little over a year now. I've never had a problem with it outright freezing until recently. Yesterday I was playing World of Warcraft on my home PC I have a kvm switch so I had WoW running on my main PC while I was working on the screen for the server. I had just typed emerge -av net-ping then typed yes, it got 3 lines into the emerge and the server froze. Internet access stopped working on the home PC (WoW disconnected), screen froze on tty1, could not change virtual screens, keyboard would not type no lock keys (caps, scroll, etc.) would work. Ctrl+alt+del wouldn't work, and I couldn't even ssh into it. Judging from previous reports of similar problems, it sounds like hardware. Overheating ? Bad memory ? Mobo failure somewhere ? -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban Community Studies TRANSIT`-O--O---' University of Toronto -- gentoo-user@gentoo.org mailing list
[gentoo-user] Asian fonts in X/Mozilla
Hey all. Have a look at the *bottom* of this Google screen shot: http://home.comcast.net/~jmg_071769/images/borkedcharacters.jpg How do I get those Asian characters to appear? TIA! -Jeff -- Jabba the Hutt: Bring me Solo and the Wookiee! They will all suffer for this outrage. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] is it toast?
Richard Fish wrote: I would bet a write-protect switch got flipped. Otherwise, yes, i think you have to replace it. I can't imagine how the other guy could have damaged it from your description of the events though. -Richard You might want to try it on another computer before giving it up for lost. Might even want to try it with *gasp - I can't believe I'm saying this* windows. I did manage to fry a USB port on my motherboard one night. It was dark, I was plugging a memory stick in the front connector, kind of a awkward reach. Tried to insert it upside down. Apparently the stick's case shorted the port's pins. Soft crack sound. Whiff of burnt electronics. Sigh. Point is that the USB ports are not fool proof. - Roy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: core packages for a dual-boot system
THUFIR HAWAT wrote: I looked for menu.1st and couldn't find it :( That should be menu.lst, with a lower-case L rather than the number 1. In any case it's a symlink to grub.conf (on my systems anyway), so it doesn't really matter. delta ~ # ls -l /boot/grub/grub.conf /boot/grub/menu.lst -rw-r--r-- 1 root root 96 Dec 7 18:42 /boot/grub/grub.conf lrwxrwxrwx 1 root root 9 Dec 7 17:19 /boot/grub/menu.lst - grub.conf delta ~ # -- gentoo-user@gentoo.org mailing list
[gentoo-user] ebuild dependencies and the --tree switch
Hi, I'm trying to understand how ebuild dependencies work in gentoo. If I type: emerge -vpu --deep --tree kde-base/kdebase I see the package x11-themes/gnome-icon-theme-2.12.1 at one of the roots of the tree. The kdebase version is 3.5.1-r3. Firstly how can anything other than kde-base/kdebase be at the root of the tree? Surely with this command everything installed or upgraded must either directly or indirectly depend on kde-base/kdebase? Assuming that x11-themes/gnome-icon-theme must be a direct dependent of kde-base/kdebase I still cannot see any references to gnome-icon-theme in /usr/portage/kde-base/kdebase/kdebase-3.5.1-r3.ebuild. I have tried adding the -e switch to emerge but x11-themes/gnome-icon-theme still appears at a root of the tree? Can anybody explain or refer to an explanation of how dependencies work in Gentoo? Dan ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Sendmail virtusertable
Hiren Dave wrote: Yes, I have MX record. This is a virtuserable concept. [EMAIL PROTECTED] [EMAIL PROTECTED] @yahoo.com [EMAIL PROTECTED] entry in there and that means mails that are sent to admin and yahoo.com should go to root. Am I right? I do not think so. At least I do not believe you own yahoo.com domain, it means you can not set up your server1.guru.com as mailserver for yahoo.com domain and redirect all yahoo.com mail to your server. Please, understand, that virtsertable concept is a way of hosting multiple mail-domains, but you need full control of that domains. Or do you really believe that if you have: @yahoo.com[EMAIL PROTECTED] it means you can steal all mail sent to all yahoo.com accounts? No offense, but you do not mean it seriously, do you? :-) You can only *redirect* your mail in yahoo.com, but only on your own accounts, and only if yahoo.com supports it. Or you can collect your mail from yahoo.com through pop3/imap protocols at regular intervals (again, only if yahoo.com supports it). virtusertable covers local delivering, but *not sending*. When your MTA (sendmail) gets a mail message for [EMAIL PROTECTED], it asks nameserver authorised for yahoo.com for corresponding mail-server for deliveries, and *no matter* what you have in virtusertable. But as I said, very probably you do not own yahoo.com domain, so you can not define your server as mailserver for yahoo.com. But, this all is possible to do for your own domain, guru.com, if you really have full control of it. I think maybe it's the right time to read something more about sendmail and bind, or some RFC about how email works... Jarry -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Splash livecd-2006.0 not working [SOLVED]
On Friday 24 March 2006 17:19, Richard Fish wrote: On 3/24/06, Bo Andresen [EMAIL PROTECTED] wrote: root (hd0,1) Filesystem type is reiserfs, partition type 0x83 kernel /vmlinuz root=/dev/hda6 video=vesafb-tng:[EMAIL PROTECTED],mtrr,ywrap splash=verbose,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1 [Linux-bzImage, setup=0x1c00, size=0x19d4cd] initrd /fbsplash-livecd-2006.0-1400x1050 [Linux-initrd @ 0x1ff68000, 0x87c57 bytes] Can you check the initramfs to ensure that it contains the necessary files? zcat /boot/fbsplash-livecd-2006.0-1400x1050 | cpio --list | grep splash Thank you very much. This was exactly what I was looking for. # zcat /boot/fbsplash-livecd-2005.1-1400x1050 | cpio --list | grep splash 1527 blocks etc/splash etc/splash/suspend2 etc/splash/suspend2/Vera.ttf etc/splash/suspend2/1400x1050.cfg etc/splash/suspend2/images etc/splash/suspend2/images/text.png etc/splash/suspend2/images/background-1400x1050.png etc/splash/suspend2/images/verbose-1400x1050.png sbin/splash_helper Obviously I made a mistake two days ago when I made this. I have tried this a LOT of times so I do not think it is possible that I have made this mistake every time. I am more uncertain about the dash that you pointed out previously. :( I also updated baselayout to 1.12.0_pre a few days ago. I don't know if that has any relevance.. Anyhow.. Thank you. It now works like a charm. I think I'll add this command to the wiki since I could have used it earlier... :) -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] screen flickers/static
On Fri, 2006-03-24 at 12:54 -0500, JimD wrote: On Fri, 24 Mar 2006 08:15:37 -0600 Michael Sullivan [EMAIL PROTECTED] wrote: My wife has the same problem with her computer running Gentoo, but I generated the xorg.conf file from X -configure when I first installed Gentoo on it for her, but her screen still flickers. Is there any way to find out what drivers would need to be installed (if the drivers are the problem)? This is probably a driver problem. Are you using the vesa driver? When I first installed Gentoo I was using the vesa driver until I downloaded the NVidia driver. With the vesa driver I too had flickers. However once I installed the Nvidia driver the problem went away. What type of video card do you have? Jim I'm not sure. Is there a way of finding out the video card without opening the case and looking? We have no idea where the manual went... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT: awk scripting
On Fri, 24 Mar 2006, Hans-Werner Hilse wrote: On Fri, 24 Mar 2006 16:15:09 +0100 (CET) Sascha Lucas [EMAIL PROTECTED] wrote: thanks. the function lenght seems not defined. but substr($0,2) works. That was a typo. Should of course be length. sorry. I was in a hurry and didn't noticed the that it's just a typo. Thanks again, Sascha. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] screen flickers/static
You could try, as root: lspci and/or lspci -v Here's mine for example: # lspci 00:00.0 Host bridge: Intel Corporation 945G/GZ/P/PL Express Memory Controller Hub (rev 02) 00:01.0 PCI bridge: Intel Corporation 945G/GZ/P/PL Express PCI Express Root Port (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) 00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 01:00.0 VGA compatible controller: nVidia Corporation GeForce 7800 GT (rev a1) 04:00.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02) 04:02.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 Value From the list, you can see that my video is nVidia. HTH! -Jeff Michael Sullivan wrote: On Fri, 2006-03-24 at 12:54 -0500, JimD wrote: On Fri, 24 Mar 2006 08:15:37 -0600 Michael Sullivan [EMAIL PROTECTED] wrote: My wife has the same problem with her computer running Gentoo, but I generated the xorg.conf file from X -configure when I first installed Gentoo on it for her, but her screen still flickers. Is there any way to find out what drivers would need to be installed (if the drivers are the problem)? This is probably a driver problem. Are you using the vesa driver? When I first installed Gentoo I was using the vesa driver until I downloaded the NVidia driver. With the vesa driver I too had flickers. However once I installed the Nvidia driver the problem went away. What type of video card do you have? Jim I'm not sure. Is there a way of finding out the video card without opening the case and looking? We have no idea where the manual went... -- Jabba the Hutt: Bring me Solo and the Wookiee! They will all suffer for this outrage. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] screen flickers/static
Michael Sullivan wrote: I'm not sure. Is there a way of finding out the video card without opening the case and looking? We have no idea where the manual went.. emerge pciutils lspci -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] screen flickers/static
On Fri, 2006-03-24 at 13:17 -0500, Jeff wrote: You could try, as root: lspci and/or lspci -v Here's mine for example: # lspci 00:00.0 Host bridge: Intel Corporation 945G/GZ/P/PL Express Memory Controller Hub (rev 02) 00:01.0 PCI bridge: Intel Corporation 945G/GZ/P/PL Express PCI Express Root Port (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) 00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 01:00.0 VGA compatible controller: nVidia Corporation GeForce 7800 GT (rev a1) 04:00.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02) 04:02.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 Value From the list, you can see that my video is nVidia. HTH! -Jeff Michael Sullivan wrote: I'm not sure. Is there a way of finding out the video card without opening the case and looking? We have no idea where the manual went... Here's the output of lspci -v on my wife's computer: catherine ~ # lspci -v 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 03) Subsystem: Elitegroup Computer Systems Unknown device 1b13 Flags: bus master, medium devsel, latency 32 Memory at d000 (32-bit, non-prefetchable) [size=128M] Capabilities: [c0] AGP version 3.5 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge) (prog-if 00 [Normal decode]) Flags: bus master, 66MHz, fast devsel, latency 99 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32 I/O behind bridge: d000-dfff Memory behind bridge: e100-e10f Prefetchable memory behind bridge: d800-dfff 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36) Flags: bus master, medium devsel, latency 0 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01) (prog-if 80 [Master]) Subsystem: Elitegroup Computer Systems Unknown device 1b13 Flags: bus master, medium devsel, latency 128, IRQ 16 I/O ports at unassigned I/O ports at unassigned I/O ports at unassigned I/O ports at unassigned I/O ports at 4000 [size=16] Capabilities: [58] Power Management version 2 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0) Subsystem: Elitegroup Computer Systems Unknown device 1b13 Flags: bus master, medium devsel, latency 32, IRQ 21 I/O ports at e000 [size=256] I/O ports at e400 [size=128] Capabilities: [48] Power Management version 2 00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI]) Subsystem: Elitegroup Computer Systems Unknown device 1b13 Flags: bus master, medium devsel, latency 32, IRQ 18 Memory at e1104000 (32-bit, non-prefetchable) [size=4K] 00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI]) Subsystem: Elitegroup Computer Systems Unknown device 1b13 Flags: bus master, medium devsel, latency 32, IRQ 19 Memory at e110 (32-bit, non-prefetchable) [size=4K] 00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI]) Subsystem: Elitegroup Computer Systems Unknown device 1b13 Flags: bus master, medium devsel, latency 32, IRQ 20 Memory at e1101000 (32-bit, non-prefetchable) [size=4K] 00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller (prog-if 20 [EHCI]) Subsystem: Elitegroup Computer Systems Unknown device 1b13 Flags: bus master, medium devsel, latency 32, IRQ 17 Memory at e1102000 (32-bit, non-prefetchable) [size=4K] Capabilities: [50] Power Management version 2 00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91) Subsystem: Elitegroup Computer
Re: [gentoo-user] CRON (Vixie) not working for local users ...
Chad Feller wrote: I haven't tried this on gentoo, but in general, and on other linux distros: from crontab(1): If the cron.allow file exists, then you must be listed therein in order to be allowed to use this command. If the cron.allow file does not exist but the cron.deny file does exist, then you must not be listed in the cron.deny file in order to use this command. If neither of these files exists, only the super user will be allowed to use this command. Let me know if gentoo adheres to that also. cron.allow does not exist and cron.deny does exist, but no users are in it. Cron SHOULD be working. Tom Veldhouse -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CRON (Vixie) not working for local users ...
Hi! On Fri, 24 Mar 2006 10:27:01 -0600 Thomas T. Veldhouse [EMAIL PROTECTED] wrote: I have several local users on my machine that are members of the cron group. Vixie-Cron runs as my cron agent. It is running. However, when I setup jobs to run in the users crontab, they are NEVER executed. Not once, not ever! It seems that the ONLY jobs that run are via /etc/cron* Am I missing something? http://www.gentoo.org/doc/en/cron-guide.xml Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Asian fonts in X/Mozilla
On Friday 24 March 2006 09:00, Jeff wrote: Hey all. Have a look at the *bottom* of this Google screen shot: http://home.comcast.net/~jmg_071769/images/borkedcharacters.jpg How do I get those Asian characters to appear? TIA! -Jeff Try adding cjk to your USE flags and doing an emerge -N. I don't remember if there was an additional package I had to emerge as well, but the cjk flag adds support for the Chinese Japanese Korean font sets. I just did this myself a few weeks ago. (Don't really know why I bothered though, since I can't actually READ Kanji - but I suppose it looks cool.) -- Eric Bliss systems design and integration, CreativeCow.Net -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] is it toast?
On Friday 24 March 2006 16:23, Martin S wrote: Haven't had the oppurtunity to look for a switch (haven't seen one though) as it's home and I'm not. But no I can't repartition it as evident from earlier mails in the thread. It's read-only :( hm, I am not sure, but it is not possible for some devices to be 'logical' write protected? Maybe your friend set it that way in windows? Give it back to him and let him check it. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] screen flickers/static
As root: X -configure This will attempt to detect your X hardware - mouse, keyboard, video, monitor - and create a new temporary file called xorg.conf.new. You'll then be able to edit and use this file to test X. You'll need to modify xorg.conf.new to take advantage of your particular hardware so edit this file a bit to your liking before you copy it to /etc/X11/ as xorg.conf. If you're completely lost or don't really understand what I'm talking about, check out this Gentoo documentation on setting up X: http://www.gentoo.org/doc/en/xorg-config.xml Here's my xorg.conf as an example (only use for reference since my settings could possibly fry your hardware). Note, that I was able to get all this info using the X -configure command, with some additional nVidia tweaks and settings I found from Gentoo/Google: # more /etc/X11/xorg.conf Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/lib/X11/rgb ModulePath /usr/lib/modules FontPath /usr/share/fonts/misc/ FontPath /usr/share/fonts/TTF/ FontPath /usr/share/fonts/Type1/ FontPath /usr/share/fonts/CID/ FontPath /usr/share/fonts/75dpi/ FontPath /usr/share/fonts/100dpi/ FontPath /usr/share/fonts/XP/ FontPath /usr/share/fonts/corefonts/ EndSection Section Module Load extmod Load dbe Load record Load xtrap Load glx Load type1 Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/psaux Option ZAxisMApping 4 5 EndSection Section Monitor Identifier Monitor0 # HorizSync28.0 - 78.0 # Warning: This may fry very old Monitors HorizSync28.0 - 96.0 # Warning: This may fry old Monitors VertRefresh 50.0 - 75.0 # Very conservative. May flicker. # VertRefresh 50.0 - 62.0 # Extreme conservative. Will flicker. TFT default. # Default modes distilled from # VESA and Industry Standards and Guide for Computer Display Monitor # Timing, version 1.0, revision 0.8, adopted September 17, 1998. # $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $ # 640x350 @ 85Hz (VESA) hsync: 37.9kHz ModeLine 640x35031.5 640 672 736 832350 382 385 445 +hsync -vsync # 640x400 @ 85Hz (VESA) hsync: 37.9kHz ModeLine 640x40031.5 640 672 736 832400 401 404 445 -hsync +vsync # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz ModeLine 640x48025.2 640 656 752 800480 490 492 525 -hsync -vsync # 640x480 @ 72Hz (VESA) hsync: 37.9kHz ModeLine 640x48031.5 640 664 704 832480 489 491 520 -hsync -vsync # 640x480 @ 75Hz (VESA) hsync: 37.5kHz ModeLine 640x48031.5 640 656 720 840480 481 484 500 -hsync -vsync # 640x480 @ 85Hz (VESA) hsync: 43.3kHz ModeLine 640x48036.0 640 696 752 832480 481 484 509 -hsync -vsync # 800x600 @ 56Hz (VESA) hsync: 35.2kHz ModeLine 800x60036.0 800 824 896 1024600 601 603 625 +hsync +vsync # 800x600 @ 60Hz (VESA) hsync: 37.9kHz ModeLine 800x60040.0 800 840 968 1056600 601 605 628 +hsync +vsync # 800x600 @ 72Hz (VESA) hsync: 48.1kHz ModeLine 800x60050.0 800 856 976 1040600 637 643 666 +hsync +vsync # 800x600 @ 75Hz (VESA) hsync: 46.9kHz ModeLine 800x60049.5 800 816 896 1056600 601 604 625 +hsync +vsync # 800x600 @ 85Hz (VESA) hsync: 53.7kHz ModeLine 800x60056.3 800 832 896 1048600 601 604 631 +hsync +vsync # 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz ModeLine 1024x768 44.9 1024 1032 1208 1264768 768 776 817 +hsync +vsync Interlace # 1024x768 @ 60Hz (VESA) hsync: 48.4kHz ModeLine 1024x768 65.0 1024 1048 1184 1344768 771 777 806 -hsync -vsync # 1024x768 @ 70Hz (VESA) hsync: 56.5kHz ModeLine 1024x768 75.0 1024 1048 1184 1328768 771 777 806 -hsync -vsync # 1024x768 @ 75Hz (VESA) hsync: 60.0kHz ModeLine 1024x768 78.8 1024 1040 1136 1312768 769 772 800 +hsync +vsync # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz ModeLine 1024x768 94.5 1024 1072 1168 1376768 769 772 808 +hsync +vsync # 1152x864 @ 75Hz (VESA) hsync: 67.5kHz # Extended modelines with GTF timings # 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz ModeLine
Re: [gentoo-user] Hosted server as distcc machine
Is there anything wrong with making a remote machine [a] distcc system? Not really, but you do need to realize that distcc doesn't guarantee that jobs will be sent to the remote machines and will not prevent jobs from being run locally. Good to know for sure. I was kinda surprised at the behavior. I was sort of hoping distcc would just sort of hold the job until a slot opened up. It's not a big deal, but something that you should be aware of. Also, distccd is a wide-open security hole. Not good. The remote machine I'm considering using distcc on is my business's server. I can't have break-ins there. Then I don't suggest distccd open to the internet (or any public network) -- it was never designed to be secure. It's not a big target ATM for hackers AFAIK, but it's still a large vulnerability. It's probably better to use distcc over ssh, using an ssh-agent and PKI authentication. So using distcc along with ssh and PKI would be sufficient to prevent the rooted box mentioned above? It won't /completely/ prevent it. But, it will bring down the risk significantly. Random attackers will no longer simply be able to spoof IPs, instead the attacker will have to have the username and private key of a user known to have shell access. (Malicious users or a healthy dose of paranoia may force you to limit shell access anyway.) How would ssh and PKI be set up in the workflow? It isn't mentioned here: http://www.gentoo.org/doc/en/distcc.xml Yeah, I started with that document, too. distcc/ssh/PKI is not covered, since it is moderately advanced. 1) On the server, set up the shell account that will use distcc via ssh. 2) On the client, generate the private key for that account and use ssh-copy-id to give the server the public key. Please, please, give your private key a good passphrase -- I've seen some people use an empty passphrase! 3) On the server, if possible, disable password logins to force the use of the private key for that user. 4) On the client, add a line like [EMAIL PROTECTED] to your distcc_hosts. You can leave out the shell_account part if you want to log in to the server as the user invoking distcc, but you must include the @ since that's how distcc knows the host is accessed via ssh. You can add a :port section if the server runs ssh on a port other than 22; You can add a /limit section (after or in lieu of the :port section) to have the client limit the number of distcc jobs that will be sent to the server 5) Prior to invoking distcc on the client, start an ssh-agent (I prefer the keychain meta-agent.) and optionally add your private key to the agent. (If you don't start an agent, each compile that goes to an ssh host will ask for a password -- very troublesome with parallel make; If you don't add your private key to the agent, you'll get prompted for the passphrase the first time you need a key -- still moderately troublesome.) There is no need to run distccd on the server at all. You /will/ need sshd. Remember, since these are standard ssh connections, you'll limit the number of simultaneous jobs on the server by limiting the number of simultaneous ssh logins -- not by using any distccd settings. As far as compile jobs from cron, I just don't suggest them. If you /have/ to use them, have them compile locally. If they /have/ to use your distcc hosts, you'll have to figure out some way to give your cron jobs access to your private key without compromising it's security -- not an easy feat. That's great, thank you! It sounds like this would make the remote distcc idea as secure as ssh and I won't have to worry about the fact that distcc wasn't built with security in mind. Is that right? Also, I'm the only user on all of my systems so it would be OK to use plain ssh without PKI right? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
Richard Fish wrote: On 3/24/06, Richard Fish [EMAIL PROTECTED] wrote: Then reboot to your 'Safe' kernel to make sure things work. Oh, and obviously, you should do this *before* starting any work on rebuilding or installing a new kernel... -Richard Also, something to keep in mind, if anything gets messed up (like you can't boot at all anymore) you can use that install cd as a livecd and repair whatever you need to. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CRON (Vixie) not working for local users ...
Renat Golubchyk wrote: http://www.gentoo.org/doc/en/cron-guide.xml According to this document, it indicates my setup SHOULD be working. It does suggest creating a cron.allow and adding all members that are allowed to use cron to this file. I fail to see the reasoning of adding users to the cron group AND to this file, but that is something the package maintainers have chosen I guess. Still, it does not make sense why my current configuration is not working. Users are in the cron group. /etc/cron.allow does not exist and /etc/cron.deny exists and is empty. The cron daemon is running and processing nightly jobs at the system level. Tom Veldhouse -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CRON (Vixie) not working for local users ...
Renat Golubchyk wrote: http://www.gentoo.org/doc/en/cron-guide.xml BTW ... following this document explicity ... it is still not working. $ ps ax | grep cron 3469 ?Ss 0:00 /usr/sbin/cron 3515 pts/0S+ 0:00 grep cron $ ls -ld /etc/cron* -rw-r--r-- 1 root root 12 Mar 24 13:35 /etc/cron.allow drwxr-xr-x 2 root root 4096 Mar 15 15:11 /etc/cron.d drwxr-xr-x 2 root root 4096 Mar 23 08:53 /etc/cron.daily -rw-r--r-- 1 root root 220 Mar 18 20:48 /etc/cron.deny drwxr-xr-x 2 root root 4096 Feb 13 18:03 /etc/cron.hourly drwxr-xr-x 2 root root 4096 Feb 13 18:03 /etc/cron.monthly drwxr-xr-x 2 root root 4096 Mar 19 10:41 /etc/cron.weekly -rw-r--r-- 1 root root 616 Mar 19 10:43 /etc/crontab $ cat /etc/cron.allow myuser $ cat /etc/cron.deny # $Id: vixie-cron-4.1-cron.deny,v 1.1 2005/03/04 23:59:48 ciaranm Exp $ # If for any reason you have users in the 'cron' group who should not # be allowed to run crontab, add them to this file (one username per # line) $ cat /etc/group | grep cron cron:x:16:myuser -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CRON (Vixie) not working for local users ...
Thomas T. Veldhouse wrote: According to this document, it indicates my setup SHOULD be working. It does suggest creating a cron.allow and adding all members that are allowed to use cron to this file. I fail to see the reasoning of adding users to the cron group AND to this file, but that is something the package maintainers have chosen I guess. Still, it does not make sense why my current configuration is not working. Users are in the cron group. /etc/cron.allow does not exist and /etc/cron.deny exists and is empty. The cron daemon is running and processing nightly jobs at the system level. Tom Veldhouse Hmmm I've never had to so more than add users to the cron group... is it possible that the crons are running, but that the scripts have path issues or something similar? kashani -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CRON (Vixie) not working for local users ...
Curious. I just tested it on two of my Gentoo boxes. added myself to the cron group (gpasswd -a my username cron), then as my regular user ran crontab -e and entered */5 * * * * /usr/bin/mutt [EMAIL PROTECTED] -s 'test from user' Just to get it to email me every five minutes, which it is. I've also got an empty cron.deny with no cron.allow (and am also using vixie cron). I'm going to try to debug this with you, so just to throw a couple of things out there: 1) Are you editing the users crontab directly or are you using crontab -e ? Using the builtin crontab edit will catch errors which would prevent execution... 2) Check your appropriate log file (I use sysklogd), so something like tail -f /var/log/syslog might reveal something of interest. Let me know. Thomas T. Veldhouse wrote: Chad Feller wrote: I haven't tried this on gentoo, but in general, and on other linux distros: from crontab(1): If the cron.allow file exists, then you must be listed therein in order to be allowed to use this command. If the cron.allow file does not exist but the cron.deny file does exist, then you must not be listed in the cron.deny file in order to use this command. If neither of these files exists, only the super user will be allowed to use this command. Let me know if gentoo adheres to that also. cron.allow does not exist and cron.deny does exist, but no users are in it. Cron SHOULD be working. Tom Veldhouse -- gentoo-user@gentoo.org mailing list
[gentoo-user] ftp connection refused
Hello everybody, I keep casting this fly, hoping for a strike ;0 For a crossover lan. Ping OK. route -n confirms net setup on *both* machines iftraf indicates activity on remote machine when ftp command issued. adding debug switch returns: servname not supported for ai_socktype. googling points to bad /etc/hosts. here's /etc/hosts from present machine(192.168.0.3): 127.0.0.1 sarawak localhost 192.168.0.2 xlan yeti #remote pc # IPV6 versions of localhost and co ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts I think it was after emerging ftp I found the line starting with 192.168.0.3 on the machine with the fresh 2.6.15 install followed by 'gravity.twi-31o2.org gravity'(?!), but that didn't work either. in /etc/host.conf multi set to on and off. Neither works. Is it resolv.conf? But this is 'net stuff. Dynamic name finding or whatever, isn't it? The NICs are strictly non-web using static addresses. [EMAIL PROTECTED] ~ $ cat /etc/resolv.conf domain sarawak nameserver 206.47.244.52 nameserver 67.69.184.7 -Maxim __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Newbie question : specific software version no more available
sebastien Pastor [EMAIL PROTECTED] writes: When i got all those scripts stabilized, i really wanted to keep exactly same version of binaries. After installing a new server, i got the surprise not being able to use ecasound-2.3.3, the only version available is the 2.4.3. This is one of the (few) things I do not like about Gentoo - sort of *forced* upgrades. There are manual workarounds, but I think it would be very friendly if I could flag packages as not-to-upgrade: the ebuild (and dependencies) would always be kept. -- Simon Kellett,| Gentoo Linux, Fvwm, Firefox Darmstadt, Germany| Xemacs, Vm, Gnus -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CRON (Vixie) not working for local users ...
kashani wrote: Hmmm I've never had to so more than add users to the cron group... is it possible that the crons are running, but that the scripts have path issues or something similar? No. I have tried echo commands, which should hit the user email, I have tried simple scripts that put a file in some place for me to find. Nothing works. Tom -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] screen flickers/static
On 3/24/06, Jeff [EMAIL PROTECTED] wrote: As root: X -configure This will attempt to detect your X hardware - mouse, keyboard, video, monitor - and create a new temporary file called xorg.conf.new. You'll then be able to edit and use this file to test X. You'll need to modify xorg.conf.new to take advantage of your particular hardware so edit this file a bit to your liking before you copy it to /etc/X11/ as xorg.conf. If you're completely lost or don't really understand what I'm talking about, check out this Gentoo documentation on setting up X: http://www.gentoo.org/doc/en/xorg-config.xml .. Thanks :) Warning: Do not just change the values of these two monitor related variables without consulting the technical specifications of your monitor. Setting incorrect values lead to out-of-sync errors at best and smoked up screens at worst. http://www.gentoo.org/doc/en/xorg-config.xml I saw something similar in your file. How dangerous is this? The danger is analogous to overclocking but applies to the monitor? -Thufir -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: How to tar?
Michael Kintzios [EMAIL PROTECTED] writes: I have move my /usr onto a different machine as part of a migration exercise, but the partition in question will barely contain it. Is there a way of running tar ... Why do you need to tar it up ? Is there a network connect between the 2 machines: if yes than can you just use rsync to push the files across directly ? -- Simon Kellett,| Gentoo Linux, Fvwm, Firefox Darmstadt, Germany| Xemacs, Vm, Gnus -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] screen flickers/static
Thanks :) Warning: Do not just change the values of these two monitor related variables without consulting the technical specifications of your monitor. Setting incorrect values lead to out-of-sync errors at best and smoked up screens at worst. http://www.gentoo.org/doc/en/xorg-config.xml I saw something similar in your file. How dangerous is this? The danger is analogous to overclocking but applies to the monitor? depends on the monitor. older monitors, if told to do some resolutions and more importantly, refresh rates, would actually fry...thus the reference to smoking screens above. would totally ruin the monitor...forever. newer monitors, and i think all lcd screens will simply say mode not supported or some such. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: is it toast?
Martin S shieldfire at gmail.com writes: Haven't had the oppurtunity to look for a switch (haven't seen one though) as it's home and I'm not.But no I can't repartition it as evident from earlier mails in the thread. It's read-only :(Martin S If you've got partition magic or similar software, take a look at it with windows based patitioning software. Microsoft is trying to sell FAT licenses to everyone, so who knows what is going on low level in the device. Have you plugged in another USB memory device to ensure everything is OK with your hal/ivman/dbus software? I had a few jyrations with these software packages before they were stabalized, but that was about a month ago. Does 'usbview' show the device correctly or is the vendor information corrupted? hth, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: screen flickers/static
JimD [EMAIL PROTECTED] writes: When I first installed Gentoo I was using the vesa driver until I downloaded the NVidia driver. With the vesa driver I too had flickers. However once I installed the Nvidia driver the problem went away. If you do have NVidia then the Xorg nv driver may be good enough for you (I am happy with it!), and is less hassle than the full NVidia driver. Either way, try to use the correct video driver. -- Simon Kellett,| Gentoo Linux, Fvwm, Firefox Darmstadt, Germany| Xemacs, Vm, Gnus -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problems with domainname
On 3/19/06, JimD [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: In order to get a proper FQDN, you need to set up three files: /etc/hosts, /etc/conf.d/hostanme, /etc/conf.d/domainname. I also have the same problems as you in past, and one day I found that the most tricky thing was that you must give a seperate line for your FQDN name in /etc/hosts! This is a part of my /etc/hosts file: 127.0.0.1 localhost 127.0.0.1 lp.lcst.com lp You can combine it all in one line like so: 127.0.0.1 localhost.localdomain localhost -- gentoo-user@gentoo.org mailing list Can I jump in here with my situation? [EMAIL PROTECTED] ~ $ [EMAIL PROTECTED] ~ $ cat /etc/hosts -n 1 # /etc/hosts: This file describes a number of hostname-to-address 2 # mappings for the TCP/IP subsystem. It is mostly 3 # used at boot time, when no name servers are running. 4 # On small systems, this file can be used instead of a 5 # named name server. Just add the names, addresses 6 # and any aliases to this file... 7 # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04 20:12:25 azarah Exp $ 8 # 9 10 #127.0.0.1 localhost 11 127.0.0.1 localhost.localdomain localhost 12 192.168.0.2 gravity.twi-31o2.org gravity [EMAIL PROTECTED] ~ $ cat /home/thufir/hosts -n 1 # /etc/hosts: This file describes a number of hostname-to-address 2 # mappings for the TCP/IP subsystem. It is mostly 3 # used at boot time, when no name servers are running. 4 # On small systems, this file can be used instead of a 5 # named name server. Just add the names, addresses 6 # and any aliases to this file... 7 # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04 20:12:25 azarah Exp $ 8 # 9 10 #127.0.0.1 localhost 11 127.0.0.1 hawat.thufir.gmail.com arrakis 12 192.168.0.2 gravity.twi-31o2.org gravity [EMAIL PROTECTED] ~ $ date Fri Mar 24 20:15:55 GMT 2006 [EMAIL PROTECTED] ~ $ So, I just replace /etc/hosts with /home/thufir/hosts and I'll have a computer named arrakis with a FQDN such that leafnode will be satisfied and I won't create a problem? I just want to satisfy leafnode. -Thufir -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CRON (Vixie) not working for local users ...
Chad Feller wrote: Curious. I just tested it on two of my Gentoo boxes. added myself to the cron group (gpasswd -a my username cron), then as my regular user ran crontab -e and entered */5 * * * * /usr/bin/mutt [EMAIL PROTECTED] -s 'test from user' I just tried this (with the correct email address) and received nothing. Just to get it to email me every five minutes, which it is. I've also got an empty cron.deny with no cron.allow (and am also using vixie cron). I'm going to try to debug this with you, so just to throw a couple of things out there: 1) Are you editing the users crontab directly or are you using crontab -e ? Using the builtin crontab edit will catch errors which would prevent execution... Yes, crontab -e. 2) Check your appropriate log file (I use sysklogd), so something like tail -f /var/log/syslog might reveal something of interest. Nothing special, no errors and no sign of it running. You can see that I edited the file though: Mar 24 14:13:40 myserver crontab[12196]: (myuser) BEGIN EDIT (myuser) Mar 24 14:14:04 myserver crontab[12196]: (myuser) REPLACE (myuser) Mar 24 14:14:04 myserver crontab[12196]: (myuser) END EDIT (myuser) Mar 24 14:15:01 myserver cron[3469]: (myuser) RELOAD (crontabs/myuser) Tom Veldhouse -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Asian fonts in X/Mozilla
On Fri, Mar 24, 2006 at 12:00:37PM -0500, Jeff wrote: Hey all. Have a look at the *bottom* of this Google screen shot: http://home.comcast.net/~jmg_071769/images/borkedcharacters.jpg If you just want to display the chinese characters, it should be easy. Just emerge some chinese font package, for example, arphicfont. Add the font path into your xorg.conf file. I suppose mozilla should be able to automatically detect the chinese characters and choose suitable fonts to display it. If not, try set specific font for simplified chinese in edit--preference--font. Mingfeng How do I get those Asian characters to appear? TIA! -Jeff -- Jabba the Hutt: Bring me Solo and the Wookiee! They will all suffer for this outrage. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Newbie question : specific software version no more available
On Fri, 24 Mar 2006 20:58:18 +0100, Simon Kellett wrote: This is one of the (few) things I do not like about Gentoo - sort of *forced* upgrades. There are manual workarounds, but I think it would be very friendly if I could flag packages as not-to-upgrade: the ebuild (and dependencies) would always be kept. You can, by adding cate-gory/package-version to /etc/portage/package.mask. As long as the package is installed, a copy of the ebuild will stay in /var/db/pkg. Portage never forces you to upgrade anything. -- Neil Bothwick Windoze95 Quote: Why is the Pentium 166 so fast? - Its for booting faster, if Windows crashed again. signature.asc Description: PGP signature
Re: [gentoo-user] CRON (Vixie) not working for local users ...
Haven't been able to reproduce your problem yet, but just out of curiosity: What version of cron are you running? I've got: # emerge vixie-cron -pv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-process/vixie-cron-4.1-r8 USE=pam -debug 57 kB Total size of downloads: 57 kB You can see that I have pam in my USE flags, I assume you do too? Also, what are your CFLAGS from /etc/make.conf? (just trying to see if I can somehow reproduce your problem here). And finally, if you ran an /etc/init.d/vixie-cron restart do you get any errors? Anything out of the ordinary show up in your logs? Thomas T. Veldhouse wrote: Chad Feller wrote: Curious. I just tested it on two of my Gentoo boxes. added myself to the cron group (gpasswd -a my username cron), then as my regular user ran crontab -e and entered */5 * * * * /usr/bin/mutt [EMAIL PROTECTED] -s 'test from user' I just tried this (with the correct email address) and received nothing. Just to get it to email me every five minutes, which it is. I've also got an empty cron.deny with no cron.allow (and am also using vixie cron). I'm going to try to debug this with you, so just to throw a couple of things out there: 1) Are you editing the users crontab directly or are you using crontab -e ? Using the builtin crontab edit will catch errors which would prevent execution... Yes, crontab -e. 2) Check your appropriate log file (I use sysklogd), so something like tail -f /var/log/syslog might reveal something of interest. Nothing special, no errors and no sign of it running. You can see that I edited the file though: Mar 24 14:13:40 myserver crontab[12196]: (myuser) BEGIN EDIT (myuser) Mar 24 14:14:04 myserver crontab[12196]: (myuser) REPLACE (myuser) Mar 24 14:14:04 myserver crontab[12196]: (myuser) END EDIT (myuser) Mar 24 14:15:01 myserver cron[3469]: (myuser) RELOAD (crontabs/myuser) Tom Veldhouse -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dd if=/dev/dvd of=backup.iso - DMA related problem
On Fri, 2006-03-24 at 13:08 -0500, JimD wrote: On Fri, 24 Mar 2006 08:49:09 -0700 Joseph [EMAIL PROTECTED] wrote: I've disable IDE ATAPI CD-ROM in the kernel but the DVD-drive wasn't recognized upon reboot; well I think I just have to wait till they fix it in the kernel :-/ For now, every time I made copy and eject the CD, I will reboot the computer; oh well it is like Windows 98 - I'm used to it :-) Did you try to turn off all SCSI cdrom options? Make sure SCSI CDROM support is off as well as SCSI CDROM emulation. Are you using a genkernel? I recompiled my kernel to have the main stuff in the kernel. For example SATA, IDE CD, ext2, reiserfs, etc is compiled into the kernel instead of as modules. Did try to boot with this kernel option: pci=usepirqmask Jim I've tried disabling SCSI for IDE and SCSI CDROM but I can not find any sr recognized devices; unless I missed something. I've added to grub.conf as well (default kernel): root=/dev/sda3 pci=noacpi noapci pci=usepirqmask it didn't help. Here is what i have enabled in kernel when it comes to SCSI: ---.config-- # CONFIG_BLK_DEV_IDESCSI is not set # SCSI device support CONFIG_SCSI=y # CONFIG_SCSI_PROC_FS is not set # SCSI support type (disk, tape, CD-ROM) # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # CONFIG_SCSI_MULTI_LUN is not set # CONFIG_SCSI_CONSTANTS is not set # CONFIG_SCSI_LOGGING is not set # SCSI Transport Attributes # CONFIG_SCSI_SPI_ATTRS is not set # CONFIG_SCSI_FC_ATTRS is not set # CONFIG_SCSI_ISCSI_ATTRS is not set # CONFIG_SCSI_SAS_ATTRS is not set # SCSI low-level drivers # CONFIG_ISCSI_TCP is not set # CONFIG_SCSI_3W_9XXX is not set # CONFIG_SCSI_ACARD is not set # CONFIG_SCSI_AACRAID is not set # CONFIG_SCSI_AIC7XXX is not set # CONFIG_SCSI_AIC7XXX_OLD is not set # CONFIG_SCSI_AIC79XX is not set CONFIG_SCSI_SATA=y # CONFIG_SCSI_SATA_AHCI is not set # CONFIG_SCSI_SATA_SVW is not set # CONFIG_SCSI_ATA_PIIX is not set # CONFIG_SCSI_SATA_MV is not set # CONFIG_SCSI_SATA_NV is not set # CONFIG_SCSI_PDC_ADMA is not set # CONFIG_SCSI_SATA_QSTOR is not set # CONFIG_SCSI_SATA_PROMISE is not set # CONFIG_SCSI_SATA_SX4 is not set # CONFIG_SCSI_SATA_SIL is not set # CONFIG_SCSI_SATA_SIL24 is not set # CONFIG_SCSI_SATA_SIS is not set # CONFIG_SCSI_SATA_ULI is not set CONFIG_SCSI_SATA_VIA=y # CONFIG_SCSI_SATA_VITESSE is not set # CONFIG_SCSI_BUSLOGIC is not set # CONFIG_SCSI_DMX3191D is not set # CONFIG_SCSI_EATA is not set # CONFIG_SCSI_FUTURE_DOMAIN is not set # CONFIG_SCSI_GDTH is not set # CONFIG_SCSI_IPS is not set # CONFIG_SCSI_INITIO is not set # CONFIG_SCSI_INIA100 is not set # CONFIG_SCSI_SYM53C8XX_2 is not set # CONFIG_SCSI_IPR is not set # CONFIG_SCSI_QLOGIC_FC is not set # CONFIG_SCSI_QLOGIC_1280 is not set CONFIG_SCSI_QLA2XXX=y # CONFIG_SCSI_QLA21XX is not set # CONFIG_SCSI_QLA22XX is not set # CONFIG_SCSI_QLA2300 is not set # CONFIG_SCSI_QLA2322 is not set # CONFIG_SCSI_QLA6312 is not set # CONFIG_SCSI_QLA24XX is not set # CONFIG_SCSI_LPFC is not set # CONFIG_SCSI_DC395x is not set # CONFIG_SCSI_DC390T is not set # CONFIG_SCSI_DEBUG is not set # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' ---end .config.-- -- #Joseph -- gentoo-user@gentoo.org mailing list
It's Working. [Re: [gentoo-user] CRON (Vixie) not working for local users ...]
Chad Feller wrote: Curious. I just tested it on two of my Gentoo boxes. added myself to the cron group (gpasswd -a my username cron), then as my regular user ran crontab -e and entered */5 * * * * /usr/bin/mutt [EMAIL PROTECTED] -s 'test from user' Well ... it's working now. It seems that there is a delay with registering the crontab change until the next minute at one second after. All my tests were being done for the upcoming minute. A few minutes after sending that last email, the message came ... I altered my crontab and now my other jobs are working as well. Oddly, on my FreeBSD machine, crontab changes take effect immediately (changes two seconds before will still trigger the job to run). Tom Veldhouse -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CRON (Vixie) not working for local users ...
On Fri, 24 Mar 2006 14:17:35 -0600 Thomas T. Veldhouse [EMAIL PROTECTED] wrote: Chad Feller wrote: 2) Check your appropriate log file (I use sysklogd), so something like tail -f /var/log/syslog might reveal something of interest. Nothing special, no errors and no sign of it running. You can see that I edited the file though: Mar 24 14:13:40 myserver crontab[12196]: (myuser) BEGIN EDIT (myuser) Mar 24 14:14:04 myserver crontab[12196]: (myuser) REPLACE (myuser) Mar 24 14:14:04 myserver crontab[12196]: (myuser) END EDIT (myuser) Mar 24 14:15:01 myserver cron[3469]: (myuser) RELOAD (crontabs/myuser) Then check whether the crontabs get created. They are supposed to be in /var/spool/cron/crontabs/ . Crontab of user some_user should be in the file /var/spool/cron/crontabs/some_user with permissions of 0600 and owned by root:users. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
[gentoo-user] two usb memory devices
Hello, I have (2) usb memory devices that both work fine with hal/ivman/dbus: /dev/sdb1 500576 6464494112 2% /media/usbdisk /dev/sda1 127716 3922123794 4% /media/usbdisk since they both get 'automounted as /media/usbdisk, I cannot have them both active at the same time. I have to plug one in, perform operations, remove it and plug in the second device. What do I do, so I can plug in both devices, simultaneously can copy directly from one usb memory stick to the second memory stick? James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo froze after 25 days of being up
On 3/24/06, Philip Webb [EMAIL PROTECTED] wrote: 060324 Mark Shields wrote: I've had Gentoo on my home server for a little over a year now. I've never had a problem with it outright freezing until recently. Yesterday I was playing World of Warcraft on my home PC I have a kvm switch so I had WoW running on my main PC while I was working on the screen for the server. I had just typed emerge -av net-ping then typed yes, it got 3 lines into the emerge and the server froze. Internet access stopped working on the home PC (WoW disconnected), screen froze on tty1, could not change virtual screens, keyboard would not type no lock keys (caps, scroll, etc.) would work. Ctrl+alt+del wouldn't work, and I couldn't even ssh into it.Judging from previous reports of similar problems, it sounds like hardware.Overheating ?Bad memory ?Mobo failure somewhere ?-- ,,SUPPORT ___//___,Philip Webb : [EMAIL PROTECTED]ELECTRIC /] [] [] [] [] []|Centre for Urban Community Studies TRANSIT`-O--O---'University of Toronto--gentoo-user@gentoo.org mailing listThanks for the replies.It only did it once.Ifigureditmightpossiblybeahardwarefailure since I'm using used parts/refurbished parts,butIwaswantingto knowifIcancheckanylogfilestoseeexactlywhy,orenablesomeformofextendedloggingto pickitupifithappensagain.Iusesyslog-ngformysystemlogger.Ichecked/var/log/messagesanddidn'tfindanything. Here is the last line before it froze from that log file and the first line immediately after: Mar 23 20:29:55 laeb named[9770]: lame server resolving 'x.x.x.x.in-addr.arpa' (in '128.202.84.in-addr.arpa'?): x.x.x.x#53Mar 23 20:38:39 laeb syslog-ng[8723]: syslog-ng version 1.6.9 starting-- - Mark Shields
[gentoo-user] pikdev-0.7.1-r2
hello, Portage says it's available, and upon issuing 'emerge -uDp world' is want to upgrade, but I get this error: emerge -uD pikdev Calculating dependencies ...done! emerge (1 of 1) dev-embedded/pikdev-0.7.1-r2 to / Downloading http://pikdev.free.fr/pikdev-0.7.1.tar.gz --09:14:50-- http://pikdev.free.fr/pikdev-0.7.1.tar.gz = `/usr/portage/distfiles/pikdev-0.7.1.tar.gz' Connecting to 192.168.2.9:8080... connected. Proxy request sent, awaiting response... 404 Not Found 09:14:50 ERROR 404: Not Found. !!! Couldn't download pikdev-0.7.1.tar.gz. Aborting. Yet I can see it's there searching. MY all other updated work just fine, so what's wrong with pikdev-0.7.1-r2 What's the fix? (maybe directly use wget or ftp to download the tar file to /usr/portage/distfiles? The ebuilds are in /usr/portage/dev-embedded/pikdev/ ChangeLog files pikdev-0.6.6a.ebuildpikdev-0.7.1-r2.ebuild Manifest metadata.xml pikdev-0.7.1-r1.ebuild pikdev-0.7.1.ebuild ideas or workarounds? James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] two usb memory devices
On 3/24/06, James [EMAIL PROTECTED] wrote: Hello, I have (2) usb memory devices that both work fine with hal/ivman/dbus: /dev/sdb1 500576 6464494112 2% /media/usbdisk /dev/sda1 127716 3922123794 4% /media/usbdisk since they both get 'automounted as /media/usbdisk, I cannot have them both active at the same time. I have to plug one in, perform operations, remove it and plug in the second device. What do I do, so I can plug in both devices, simultaneously can copy directly from one usb memory stick to the second memory stick? James -- gentoo-user@gentoo.org mailing list As root, create another directory, lets say mkdir /mnt/usbdisk2 and edit your /etc/fstab so /dev/sda1 gets mounted at the usbdisk2 directory. You can simply duplicate an already existing entry and edit it, if you have none, you should learn how to do it... -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] screen flickers/static
On Fri, 2006-03-24 at 14:15 -0500, Jeff wrote: As root: X -configure This will attempt to detect your X hardware - mouse, keyboard, video, monitor - and create a new temporary file called xorg.conf.new. You'll then be able to edit and use this file to test X. You'll need to modify xorg.conf.new to take advantage of your particular hardware so edit this file a bit to your liking before you copy it to /etc/X11/ as xorg.conf. If you're completely lost or don't really understand what I'm talking about, check out this Gentoo documentation on setting up X: http://www.gentoo.org/doc/en/xorg-config.xml Here's my xorg.conf as an example (only use for reference since my settings could possibly fry your hardware). Note, that I was able to get all this info using the X -configure command, with some additional nVidia tweaks and settings I found from Gentoo/Google: # more /etc/X11/xorg.conf Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/lib/X11/rgb ModulePath /usr/lib/modules FontPath /usr/share/fonts/misc/ FontPath /usr/share/fonts/TTF/ FontPath /usr/share/fonts/Type1/ FontPath /usr/share/fonts/CID/ FontPath /usr/share/fonts/75dpi/ FontPath /usr/share/fonts/100dpi/ FontPath /usr/share/fonts/XP/ FontPath /usr/share/fonts/corefonts/ EndSection Section Module Load extmod Load dbe Load record Load xtrap Load glx Load type1 Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/psaux Option ZAxisMApping 4 5 EndSection Section Monitor Identifier Monitor0 # HorizSync28.0 - 78.0 # Warning: This may fry very old Monitors HorizSync28.0 - 96.0 # Warning: This may fry old Monitors VertRefresh 50.0 - 75.0 # Very conservative. May flicker. # VertRefresh 50.0 - 62.0 # Extreme conservative. Will flicker. TFT default. # Default modes distilled from # VESA and Industry Standards and Guide for Computer Display Monitor # Timing, version 1.0, revision 0.8, adopted September 17, 1998. # $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $ # 640x350 @ 85Hz (VESA) hsync: 37.9kHz ModeLine 640x35031.5 640 672 736 832350 382 385 445 +hsync -vsync # 640x400 @ 85Hz (VESA) hsync: 37.9kHz ModeLine 640x40031.5 640 672 736 832400 401 404 445 -hsync +vsync # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz ModeLine 640x48025.2 640 656 752 800480 490 492 525 -hsync -vsync # 640x480 @ 72Hz (VESA) hsync: 37.9kHz ModeLine 640x48031.5 640 664 704 832480 489 491 520 -hsync -vsync # 640x480 @ 75Hz (VESA) hsync: 37.5kHz ModeLine 640x48031.5 640 656 720 840480 481 484 500 -hsync -vsync # 640x480 @ 85Hz (VESA) hsync: 43.3kHz ModeLine 640x48036.0 640 696 752 832480 481 484 509 -hsync -vsync # 800x600 @ 56Hz (VESA) hsync: 35.2kHz ModeLine 800x60036.0 800 824 896 1024600 601 603 625 +hsync +vsync # 800x600 @ 60Hz (VESA) hsync: 37.9kHz ModeLine 800x60040.0 800 840 968 1056600 601 605 628 +hsync +vsync # 800x600 @ 72Hz (VESA) hsync: 48.1kHz ModeLine 800x60050.0 800 856 976 1040600 637 643 666 +hsync +vsync # 800x600 @ 75Hz (VESA) hsync: 46.9kHz ModeLine 800x60049.5 800 816 896 1056600 601 604 625 +hsync +vsync # 800x600 @ 85Hz (VESA) hsync: 53.7kHz ModeLine 800x60056.3 800 832 896 1048600 601 604 631 +hsync +vsync # 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz ModeLine 1024x768 44.9 1024 1032 1208 1264768 768 776 817 +hsync +vsync Interlace # 1024x768 @ 60Hz (VESA) hsync: 48.4kHz ModeLine 1024x768 65.0 1024 1048 1184 1344768 771 777 806 -hsync -vsync # 1024x768 @ 70Hz (VESA) hsync: 56.5kHz ModeLine 1024x768 75.0 1024 1048 1184 1328768 771 777 806 -hsync -vsync # 1024x768 @ 75Hz (VESA) hsync: 60.0kHz ModeLine 1024x768 78.8 1024 1040 1136 1312768 769 772 800 +hsync +vsync # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz ModeLine 1024x768 94.5 1024 1072 1168 1376768 769 772 808 +hsync +vsync #
Re: [gentoo-user] pikdev-0.7.1-r2
On Fri, 2006-03-24 at 21:49 +, James wrote: hello, Portage says it's available, and upon issuing 'emerge -uDp world' is want to upgrade, but I get this error: emerge -uD pikdev Calculating dependencies ...done! emerge (1 of 1) dev-embedded/pikdev-0.7.1-r2 to / Downloading http://pikdev.free.fr/pikdev-0.7.1.tar.gz --09:14:50-- http://pikdev.free.fr/pikdev-0.7.1.tar.gz = `/usr/portage/distfiles/pikdev-0.7.1.tar.gz' Connecting to 192.168.2.9:8080... connected. Proxy request sent, awaiting response... 404 Not Found 09:14:50 ERROR 404: Not Found. !!! Couldn't download pikdev-0.7.1.tar.gz. Aborting. Yet I can see it's there searching. MY all other updated work just fine, so what's wrong with pikdev-0.7.1-r2 What's the fix? (maybe directly use wget or ftp to download the tar file to /usr/portage/distfiles? The ebuilds are in /usr/portage/dev-embedded/pikdev/ ChangeLog files pikdev-0.6.6a.ebuildpikdev-0.7.1-r2.ebuild Manifest metadata.xml pikdev-0.7.1-r1.ebuild pikdev-0.7.1.ebuild ideas or workarounds? James Hi, Seems to be an issue with the 0.7.1 tarball, it's missing. Just tried pikdev-0.7.1-r2 and received the same error as you. Could fetch 0.6.6a though. Check the homepage directly, get tarball if possible and put it in distfiles dir. HTH.Rumen smime.p7s Description: S/MIME cryptographic signature
Re: [gentoo-user] screen flickers/static
...SKIP... Michael Sullivan wrote: 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760/761 PCI/AGP VGA Display Adapter (prog-if 00 [VGA]) Subsystem: Elitegroup Computer Systems Unknown device 1b13 Flags: 66MHz, medium devsel, IRQ 10 BIST result: 00 Memory at d800 (32-bit, prefetchable) [size=128M] Memory at e100 (32-bit, non-prefetchable) [size=128K] I/O ports at d000 [size=128] Capabilities: [40] Power Management version 2 Capabilities: [50] AGP version 3.0 But how can I tell what driver I need from this output? I've done the X -configure thing - that's how catherine got her xorg.conf file. I don't know anything about hardware, so I only tweaked the file a little so that catherine would have support for her scroll mouse... Hi, Have you enabled SiS chipset support in your kernel config? If not, do it (better as a module) as you'll be able to see if it's loaded. Afterward you should change xorg.conf to enable it, but i don't know how (not using SiS video). Another way is to try out Xorg-7.0 (just unmasked and in testing), there must be some package for SiS-support (see below): * x11-drivers/xf86-video-sis Available versions: 0.8.1.3 Installed: none Homepage:http://xorg.freedesktop.org/ Description: X.Org driver for sis cards Read the docs first ! HTH.Rumen smime.p7s Description: S/MIME cryptographic signature
[gentoo-user] Re: pikdev-0.7.1-r2
Rumen Yotov rumen at qrypto.org writes: Hi, Seems to be an issue with the 0.7.1 tarball, it's missing. Just tried pikdev-0.7.1-r2 and received the same error as you. Could fetch 0.6.6a though. Check the homepage directly, get tarball if possible and put it in distfiles dir. Ah, well this verifies my troubles. I looked at the download section of the website and the only downloadable tar file is the 0.8.2 file. So that explains the problem. I sent the jsite contact a request for the 0.7.1-r1 file so If I get it, can we make it available on the gentoo servers? Is this a bug, I should post on bugs.gentoo.org? James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: pikdev-0.7.1-r2
Interestingly enough, and although not listed on their download page, you can still wget http://pikdev.free.fr/pikdev-0.7.0.tar.gz successfully James wrote: Rumen Yotov rumen at qrypto.org writes: Hi, Seems to be an issue with the 0.7.1 tarball, it's missing. Just tried pikdev-0.7.1-r2 and received the same error as you. Could fetch 0.6.6a though. Check the homepage directly, get tarball if possible and put it in distfiles dir. Ah, well this verifies my troubles. I looked at the download section of the website and the only downloadable tar file is the 0.8.2 file. So that explains the problem. I sent the jsite contact a request for the 0.7.1-r1 file so If I get it, can we make it available on the gentoo servers? Is this a bug, I should post on bugs.gentoo.org? James -- gentoo-user@gentoo.org mailing list