Re: [gentoo-user] Mail from rkhunter
On Tue, Dec 22, 2009 at 08:38:14AM -0800, Mark Knecht wrote: Hi, What's the minimum configuration required on a remote system to get rkhunter to email my GMail account if the rkhunter cron job finds something suspicious? Do I have to emerge and configure an email server of some type or can rkhunter just send email on its own? Thanks, Mark On my system I use esmtp to send outgoing mail. It can also handle local mail via procmail. -- 30. All bumbling conjurers, clumsy squires, no-talent bards, and cowardly thieves in the land will be preemptively put to death. My foes will surely give up and abandon their quest if they have no source of comic relief. ~ Peter's Evil Overlord List
Re: [gentoo-user] Am I wrong?..
On Fri, Oct 02, 2009 at 09:07:20AM +0100, Neil Bothwick wrote: On Thu, 1 Oct 2009 19:34:25 -0500, forgottenwizard wrote: So instead it should set a non-existant editor to the configured default? Nano is not non-existent by default. It isn't always on the users sytem. Providing a non-existent default seems quite broken to me. Another variable in make.conf may be a reasonable fix for this though I'm sure someone will bitch about having to set $EDITOR twice on their system. A more sensible approach would be for the ebuild to check which ebuild satisfies the virtual/editor dependency and set that. If the OP really cared about this problem he'd investigate providing such solutions instead of ranting about how Gentoo does not use his editor of choice by default. -- Neil Bothwick .sig a .sog of sixpence. The problem there would be if multiple editors provide virtual/editor (such as on my system, which has both vim and ed installed). The ebuild trying to automagically select what should be the default editor is a bad idea, if not just horrible.
Re: [gentoo-user] Am I wrong?..
On Fri, Oct 02, 2009 at 09:23:38AM +0100, Neil Bothwick wrote: On Fri, 02 Oct 2009 11:15:09 +0300, Arthur D. wrote: And, yes, I prefer VIM. And I don't like when the package which vanilla defaults were always to be using vim as editor is overwritten without any notifications and causing the enduser to investigate how to fix that. Would you have the same argument if the vanilla default was emacs and the ebuild changed it to vim? All you're complaining about is that a distro that expects users to configure everything for themselves is expecting you to add one line to a config file. This problem could also be fixed by USE flags. Instead of whining why not submit a patch that has the ebuild respect the vanilla USE flag? USE flags is nice, except ls /usr/portage/app-editors/ | wc -l returns 76 packages (give or take a file or two). So we are looking at, uh, ~75 USE flags for the sudo ebuild, no counting the editors which aren't in app-editor (like ed, which resides in sys-apps instead of app-editor). The number of USE flags would be quite impressive for such a small package.
Re: [gentoo-user] Am I wrong?..
On Fri, Oct 02, 2009 at 11:08:08AM +0200, Sebastian Be?ler wrote: Am 02.10.2009 10:52, schrieb forgottenwizard: It isn't always on the users sytem. Providing a non-existent default seems quite broken to me. By DEFAULT it is on EVERY Gentoo-system. If you CHOOSE to remove the default then you have to be prepared that something may be broken after that. You could never be certain that anything set as default is existent on the system. Even if a distro would remove the possibility to uninstall the default with the help of the package manager so is there always rm So every default could be a non-existent default. So then I should keep everything installed on my system just in case it might break a package in the future? There have been ways mentioned that this can be solved. If nothing else there should be a warning (and possibly a dependency) that nano IS the default editor for sudo, whether you like it or not.
Re: [gentoo-user] Am I wrong?..
On Fri, Oct 02, 2009 at 11:21:08AM +0200, Sebastian Be?ler wrote: Am 02.10.2009 11:04, schrieb forgottenwizard: The number of USE flags would be quite impressive for such a small package. a vanilla-flag could be possible that disables every changes to the upstream-package. It even exists atm for a number of packages metat...@darkstation ~ $ euse -i vanilla global use flags (searching: vanilla) [-] vanilla - Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the meaning changes drastically Greetings Sebastian insert emacs user whining Thats an option, but seems to be a poor one. All that will do is let you use either vi(m) or nano for the default, which for emacs users will be no diffrent than the current problem.
Re: [gentoo-user] Am I wrong?..
On Fri, Oct 02, 2009 at 10:29:08AM +0100, Neil Bothwick wrote: On Fri, 2 Oct 2009 03:52:24 -0500, forgottenwizard wrote: Nano is not non-existent by default. It isn't always on the users sytem. Providing a non-existent default seems quite broken to me. That's true of every editor, so you have to choose the one that is most likely to be there, the one that is installed for the stage tarballs and is there unless the user has taken specific steps to remove it. Or you could try to find a suitable default intelligently instead of blindly compiling in a default that may or may not exist. Worse still is blindly doing so without telling the user. A more sensible approach would be for the ebuild to check which ebuild satisfies the virtual/editor dependency and set that. If the OP really cared about this problem he'd investigate providing such solutions instead of ranting about how Gentoo does not use his editor of choice by default. The problem there would be if multiple editors provide virtual/editor (such as on my system, which has both vim and ed installed). The ebuild trying to automagically select what should be the default editor is a bad idea, if not just horrible. You can't have it both ways. You want the program to default to an editor that is guaranteed to be there, at least at installation time, yet the only one that satisfies that is virtual/editor. It's only a default, it only has to be available the first time you run the program, whether it's your favourite editor or not. If you only want to use default configurations without making any changes to suit yourself, I suggest you may be better served by a distro that is a little browner. And if you, say, have two editors installed that satisfy virtual/editor?
Re: [gentoo-user] Am I wrong?..
On Fri, Oct 02, 2009 at 11:40:33AM +0200, Sebastian Be?ler wrote: Am 02.10.2009 11:29, schrieb forgottenwizard: insert emacs user whining Thats an option, but seems to be a poor one. All that will do is let you use either vi(m) or nano for the default, which for emacs users will be no diffrent than the current problem. joke If you use emacs then you are to far away to be helped ;-) /joke At least 8 megs of RAM isn't a problem anymore. Then maybe a custom_editor-flag that inserts Defaultsenv_keep += EDITOR VISUAL PAGER to /etc/sudoers With that even emacs users would be satisfied. Greetings Sebastian Didn't the maintainer/dev that was dealing with the bug say that he wouldn't do that because it was insecure? That also doesn't fix the problem that sudo thinks that nano is a safe fallback. How about a custom_editor flag, as you suggested, then an EDITOR variable in make.conf? Thats the only way I could see being able to solve this problem without invariably screwing someone. This would provide a fairly sane default while giving the user the choice to use something else.
Re: [gentoo-user] Am I wrong?..
On Fri, Oct 02, 2009 at 12:09:23PM +0200, Jes??s Guerrero wrote: On Fri, 2 Oct 2009 04:54:42 -0500, forgottenwizard phrexianrea...@hushmail.com wrote: How about a custom_editor flag, as you suggested, then an EDITOR variable in make.conf? Thats the only way I could see being able to solve this problem without invariably screwing someone. This would provide a fairly sane default while giving the user the choice to use something else. That would be the only way that it would make sense to me. Just like we have VIDEO_CARDS, some GENTOO_EDITOR variable would be nice for this. But ebuilds and eclasses would need to be aware of this to push the correct dependencies. It's not that trivial to addapt portage to a new portage variable. The USE flag idea is non-viable and doesn't make sense. It really isn't a big deal to configure yourself anyways. So unless some developer is interested in this, I doubt they are going to do the job unless some pristine and already working patch is sent to them, and someone is willing to work on a collaborative way, and not just throwing the-editor-I-preffer blindingly in the sudo ebuild. -- Jes??s Guerrero Set an EDITOR var in make.conf, then set a USE-flag for sudo to honor this setting. If you set EDITOR to a valid atom (app-admin/vim, for example), then you may be able to use that as a direct dependency, or have the ebuild spit out a warning that $EDITOR isn't installed if that is the case. I'm not suggesting a USE-flag for everything, but more as a simple switch that tells the ebuild to use the users settings instead of the distro default.
Re: [gentoo-user] Am I wrong?..
On Thu, Oct 01, 2009 at 05:08:16PM +0100, Stroller wrote: On 1 Oct 2009, at 16:40, Stroller wrote: ... So it seems to me that you're right. It appears like maybe when `sudo` detects that it's running `visudo` it does seem to ignore $EDITOR. I, too, disagree with this behaviour. IMO the ebuild (-- with-editor=/bin/nano) take the editor from /etc/rc.conf, but I'm extremely curious why upstream makes this behaviour, anyway. Actually READING the bug actually showed a number of reasoned responses to the OP's complaint. I don't think you'll have much luck debating this: since upstream hardcodes it, it comes down largely to the nano-as-default-editor argument, which was first made in the Paleolithic era and which has been hotly debated without change since. I now appear unable to access that bug: http://bugs.gentoo.org/show_bug.cgi?id=286017 Thanks for that. Stroller. I'm unable to read the bug as well, which I find bothersome (how many bugs have they hidden from users?). However, I'm also wondering why the ebuild doesn't make use of the EDITOR variable as was mentioned. This defaults to nano so it should work fine in a default install, and would avoid issues like this which seems to be an arguement that the dev(s) are trying to force specific programs on the users.
Re: [gentoo-user] Am I wrong?..
On Thu, Oct 01, 2009 at 09:45:40PM +0200, Dirk Heinrichs wrote: Am Donnerstag 01 Oktober 2009 21:32:56 schrieb forgottenwizard: However, I'm also wondering why the ebuild doesn't make use of the EDITOR variable as was mentioned. Because that's the worst thing to do. An ebuild's behaviour should not depend on env variables (like it's still the case for this stupid grub ebuild), because the user never get's to see this. There are other possibilities, i.e. something like LINGUAS or VIDEO_CARDS, which are immediately visible. Bye... Dirk So instead it should set a non-existant editor to the configured default? Another variable in make.conf may be a reasonable fix for this though I'm sure someone will bitch about having to set $EDITOR twice on their system.
Re: [gentoo-user] Am I wrong?..
On Thu, Oct 01, 2009 at 12:04:38PM -0700, James Ausmus wrote: 2009/10/1 Arthur D. spinal...@mail.ru The Gentoo Way of doing things is to stick as close to vanilla upstream as possible, and to enable you to have complete control over your box, including configurations. In other words, if you want something configured differently than vanilla, you have to do the work. How many packages actually follow upstream without patching the source?
Re: [gentoo-user] Kopete and a pesky pop-up then it disconnects.
On Tue, Sep 29, 2009 at 01:11:06AM -0500, Dale wrote: Frank Steinmetzger wrote: Thanks. Mine was grayed out to but I changed them to what you have and it still does the same thing. So, I guess Yahoo is no more for me until I KDE4 is ready to go. You could use Pidgin, or just try updating kopete by itself (and its dependant libs, of course). If KDE3 is in its down directory, then this shouldn't be hard to do.
Re: [gentoo-user] can't linux#make menuconfig -- Makefile gone
On Thu, Sep 24, 2009 at 11:06:16PM -0600, Maxim Wexler wrote: Hi group, I needed to configure iptables support into the kernel but when I tried to run make menuconfig got 'No rule to make target' error. The Makefile was gone. A casualty of a recent emerge -uDN world, I expect. So I ran distfiles# tar xvfj linux-2.6.29.tar.bz2 Makefile which told me 'tar: Makefile: Not found in archive' So where can I locate the Makefile for my kernel, assuming the above command is correct? Maxim run --test with tar, grep for the makefile, then extract the file.
Re: [gentoo-user] [OT] In search of a good windowmanager
On Sat, Sep 12, 2009 at 01:37:45PM -0500, Paul Hartman wrote: On Sat, Sep 12, 2009 at 8:40 AM, meino.cra...@gmx.de wrote: Hi, for a long time I used IceWM as my windowmanager since I dont want to mimicry other OSses (...) or want session management. One thing, which is a must-have of windowmanagers I want to use is the possibility to control the windowmanager nearly completly with the keyboard (hotkeys configurable) which does *not* imply uncontrollable by mouse ;) Furthermore I should not be a hana-bi or anything else eye-candy like (nothing against hana-bi as hana-bi!) -- most of the time I will use the windowmanager instead of only looking at it -- which does not imply: black anmd white ugly ascii thingy. Since IceWM seems to be gone into hibernation phase I am looking for a replacement which should -- be widely configurable via ascii files -- be as far as possible controllable by keyboard -- be also useable with the mouse -- no eye-candy -- not ugly -- NOT tiling -- FAST! I would like to hear from others what experiences they made with what windowmanagers. Thank you very much in advance for any help! Best regards and have a nice weekend! Meino Cramer try Openbox, tiny but modern Another vote for Openbox. Good little wm. If you want a panel for it, I'd suggest fbpanel.
Re: [gentoo-user] [OT] In search of a good windowmanager
On Sun, Sep 13, 2009 at 02:55:34AM +0200, meino.cra...@gmx.de wrote: forgottenwizard phrexianrea...@hushmail.com [09-09-13 02:12]: On Sat, Sep 12, 2009 at 01:37:45PM -0500, Paul Hartman wrote: On Sat, Sep 12, 2009 at 8:40 AM, meino.cra...@gmx.de wrote: Hi, for a long time I used IceWM as my windowmanager since I dont want to mimicry other OSses (...) or want session management. One thing, which is a must-have of windowmanagers I want to use is the possibility to control the windowmanager nearly completly with the keyboard (hotkeys configurable) which does *not* imply uncontrollable by mouse ;) Furthermore I should not be a hana-bi or anything else eye-candy like (nothing against hana-bi as hana-bi!) -- most of the time I will use the windowmanager instead of only looking at it -- which does not imply: black anmd white ugly ascii thingy. Since IceWM seems to be gone into hibernation phase I am looking for a replacement which should -- be widely configurable via ascii files -- be as far as possible controllable by keyboard -- be also useable with the mouse -- no eye-candy -- not ugly -- NOT tiling -- FAST! I would like to hear from others what experiences they made with what windowmanagers. Thank you very much in advance for any help! Best regards and have a nice weekend! Meino Cramer try Openbox, tiny but modern Another vote for Openbox. Good little wm. If you want a panel for it, I'd suggest fbpanel. Hi, Currently I am playing aroung with fluxbox. The previously missing feature of a keyboard useable applikation menu is nearly fixed :) I also installed fbpanel -- what I miss are the two mini-graphs of the IceWM-Taskbar, which shows CPU load and net traffic throughput. Can I get this anywhere in a way that it is incorparated into fbpanel? mcc It may be possible, but I don't know how. I used fbpanel as just a panel, though if you scale it down in width you could run conky and get the info you want in the exposed area.
Re: [gentoo-user] replacement for xli?
On Mon, Sep 07, 2009 at 04:25:57AM +0200, meino.cra...@gmx.de wrote: Is there any smallsized replacement for media-gfx/xli for loading pictures to the desktop background? I use hsetroot to set background images. You could try xsetroot, or feh (which can be used to display images and set the root window).
Re: [gentoo-user] gentoo sites go down too much!
On 12:28 Fri 14 Aug, Daniel da Veiga wrote: On Fri, Aug 14, 2009 at 09:38, Volker Armin Hemmannvolkerar...@googlemail.com wrote: On Freitag 14 August 2009, Neil Bothwick wrote: On Thu, 13 Aug 2009 14:29:52 -0600, Joseph wrote: Having Gentoo.org forum or wiki down when most of us rely heavily on them is not acceptable. If something so important to you fails to provide the service you need, you should demand your money back! I have to add that the gentoo foundation acts quickly and refunds all the money you paid for their services without any fuss. And from this whole thread, the conclusion is: If you can't do it better, don't complain at all. (specially when its for free) -- Daniel da Veiga There is a forum for Gentoo at Linuxquestions.org. If forums.gentoo.org is down too much, the mailing list and irc can't handle the problem, and the wiki is unreliable, LQ.org is another possible source, though the number of people there seems minimal.
Re: [gentoo-user] simple firewall
On 00:24 Sun 05 Apr, gigli wrote: Hi I wonder if there is any easy firewall for gentoo. I tried ubuntu for a while and used their ufw, which was very simple. My needs: Block incoming traffic except for sshd and https (and sometimes bittorrent) and allow my lan to connect to my samba share, mythtv and mysql when i use openvpn or allways, which would be easyist. My box is usually protected by pfsense. I have a hard time to understand iptables and i have tried guarddog and kmyfirewall and others, didn't really like them. Something like ufw would be nice. Cheers Martin Something I did was setup a virtual machine and did all my trial and error there. It keeps you from messing up your machine, and you can test everything out at your lesure. As for software, you could look into Shorewall and see if that works for you. -- I'm not anti-social, I'm just not user friendly
Re: [gentoo-user] [OT] suggest not-net-hungry Linux
On 17:38 Fri 26 Sep, Andrew Gaydenko wrote: No, no, no!... I was, is and am going to be on Gentoo. Just want to install Linux to my friend's PC. I can download installation CD iso (or two), but the main problem is, that PC during next few months will have dialup connection (33600) only. As a result, I need to choose Linux with minimal net traffic in mind (just security updates will be sufficient). There are no any special demands (OOo, images and PDF viewer, Firefox, Thunderbird and Krusader (or other two panel file manager) will be a sufficient apps set for beginning, + booting to level 5). Suggestions? P.S. You see, there is a little sense to address this question to, say, suse or ubuntu or other candidate's community :-) - so, excuse please for OT. Andrew You could limit the bandwidth usage (see man wget and man make.conf, iirc), and run emerge --sync once a week, and emerge -u --fetchonly to fetch packages at night when the net isn't going to be in use as often (or during the day durning classes or work), then install at your own leisure. Also, you could just run glsa-check to update security problems. if you want another distro, and they are new to Linux, I would probably suggest Debian or one of its knock-offs (besides Ubuntu) to get them started, and see if they like it. Hope this helps some. -- I'm not anti-social, I'm just not user friendly
Re: [gentoo-user] Debugging X
On 01:42 Wed 20 Aug, Dale wrote: If I read this correctly, it appears that it can not find the keyboard or something. This is what makes me think that: The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Multiple names for keycode 211. In your make.conf, do you have a line that is something like this: INPUT_DEVICES=keyboard mouse Also make sure you have something like the following in your xorg.conf file: Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/input/mouse0 Option ZAxisMapping 4 5 6 7 EndSection This may not have anything to do with the problem but it is something that didn't look right to me. Dale :-) :-) Thats all there. -- I'm not anti-social, I'm just not user friendly
[gentoo-user] Debugging X
I'm having a problem getting X to work. It is seg faulting on me, and despite countless revdep-rebuilds and emerge -e world, it still doesn't work. It dies after the cursor shows up, spitting this backtrace and output. Sorry if the formatting sucks. The last line is probably refering to the fact I tried to run it from within screen, so if that could cause a problem say so, and tell me how the heck to get a log of this output (since startx log.txt doesn't work) #--- startx output ---# X Window System Version 1.3.0 Release Date: 19 April 2007 X Protocol Version 11, Revision 0, Release 1.3 Build Operating System: UNKNOWN Current Operating System: Linux localhost 2.6.25-gentoo-r7 #1 SMP PREEMPT Fri Aug 1 21:56:38 CDT 2008 x86_64 Build Date: 22 July 2008 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Wed Aug 20 00:11:37 2008 (==) Using config file: /etc/X11/xorg.conf (WW) NVIDIA: No matching Device section for instance (BusID PCI:0:1:3) found (II) Module already built-in The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Multiple names for keycode 211 Using I211, ignoring AB11 Errors from xkbcomp are not fatal to the X server Backtrace: 0: X(xf86SigHandler+0x6d) [0x49690d] 1: /lib/libc.so.6 [0x7fae2c0a4430] 2: X(NumMotionEvents+0x12) [0x447822] 3: X(CreateConnectionBlock+0x53) [0x439623] 4: X(main+0x658) [0x43a168] 5: /lib/libc.so.6(__libc_start_main+0xf4) [0x7fae2c091b74] 6: X(FontFileCompleteXLFD+0x229) [0x439259] Fatal server error: Caught signal 11. Server aborting waiting for X server to begin accepting connections giving up. xinit: Connection reset by peer (errno 104): unable to connect to X server xinit: No such process (errno 3): Server error. Couldnt get a file descriptor referring to the console #--- end ---# I've brought this to #x (or xorg, whichever the X support channel in freenode is), #linux, #gentoo, and the forums. I'm at a bit of a loss as to what the problem is, or how to go about trying to find out what is the problem. -- I'm not anti-social, I'm just not user friendly
Re: [gentoo-user] Cleaning out my world file
On 19:56 Sat 16 Aug, Dale wrote: Albert Hopkins wrote: On Fri, 2008-08-15 at 08:38 -0500, Dale wrote: Alan McKinnon wrote: On Friday 15 August 2008 14:36:58 Dale wrote: Somewhat still on the same subject since I am still cleaning. Anyway to clean out unneeded files in /etc? I'm thinking about files that may be there but the programs are no longer installed. I read the man page for dep but didn't see anything. Dang thing does a lot tho. You could use the very long way round, something based on this: find /etc/ -type f -exec equery belongs {} \; then leave it alone for an hour or three H, I had to stop that after a few minutes. It sort of took away from my folding. Pushed my CPU to about 80% or so. There has to be a tool for this too. Gentoo has about everything else. I do a similar thing every month as a cron job. It' runs at night so I just get an email the next day. -- #!/bin/bash # Print out orphan files in specified directories find /etc -xdev -type f -print|xargs qfile -o find /usr -xdev \( -path /usr/src -prune \) -o -type f -not -name '*.pyc' \ -not -name '*.pyo' -not -name .keep -print | \ xargs qfile -o find /lib -xdev \( -path /lib/modules -prune \) -o -type f |xargs qfile -o Will this work without a email? I could just run it in screen if needed. Dale :-) :-) It looks like it uses crons email output to handle the mail, so you probably could run it under screen/dtach and not have a problem. You could also run it through nice and redirect the output to a file in your home dir so that you won't even have to bother with reattaching the term. -- I'm not anti-social, I'm just not user friendly
Re: [gentoo-user] Cleaning out my world file
On 20:21 Sat 16 Aug, Dale wrote: forgottenwizard wrote: On 19:56 Sat 16 Aug, Dale wrote: Albert Hopkins wrote: On Fri, 2008-08-15 at 08:38 -0500, Dale wrote: Alan McKinnon wrote: On Friday 15 August 2008 14:36:58 Dale wrote: Somewhat still on the same subject since I am still cleaning. Anyway to clean out unneeded files in /etc? I'm thinking about files that may be there but the programs are no longer installed. I read the man page for dep but didn't see anything. Dang thing does a lot tho. You could use the very long way round, something based on this: find /etc/ -type f -exec equery belongs {} \; then leave it alone for an hour or three H, I had to stop that after a few minutes. It sort of took away from my folding. Pushed my CPU to about 80% or so. There has to be a tool for this too. Gentoo has about everything else. I do a similar thing every month as a cron job. It' runs at night so I just get an email the next day. -- #!/bin/bash # Print out orphan files in specified directories find /etc -xdev -type f -print|xargs qfile -o find /usr -xdev \( -path /usr/src -prune \) -o -type f -not -name '*.pyc' \ -not -name '*.pyo' -not -name .keep -print | \ xargs qfile -o find /lib -xdev \( -path /lib/modules -prune \) -o -type f |xargs qfile -o Will this work without a email? I could just run it in screen if needed. Dale :-) :-) It looks like it uses crons email output to handle the mail, so you probably could run it under screen/dtach and not have a problem. You could also run it through nice and redirect the output to a file in your home dir so that you won't even have to bother with reattaching the term. I'll try it in screen and see what happens. I didn't see anything related to mail but thought I may be missing something. Will report back later. I do wish portage had this little feature builtin tho. Oh, got my backups handy too. LOL Dale :-) :-) I think I've heard of such a program, but it wasn't much better than the one provided here, and still required the user to go hunting through the orphan list to see what may or may not be truly orphaned. -- I'm not anti-social, I'm just not user friendly
Re: [gentoo-user] Re: Best anti-virus
On 20:13 Fri 09 May , 7v5w7go9ub0o wrote: I am extremely pleased with Antivir (aka Avira) and its realtime LKM, Dazuko! 1. The Antivir database and heuristics contain dozens of Linux-specific rootkits and Trojans. These in addition to Windows sigs. FWICT, the only freeware AntiMalware that take Linux seriously (Kaspersky payware does). 2. With Dazuko - a LKM, developed by AntiVir/Avira which provides real-time, on-access (read/write) scanning within directories you specify in configuration. I scan mail (in a chroot jail), browser and downloads (within a chroot jail, within RamDisk), Portage and portage work areas, and /home. Given that emerges are done with Root privilege, this scanning for signatures may keep your box from being borked, should someone hack a distribution site, or poison the DNS system, or etc. 3. Recent testing by Windows testers indicate that Antivir is now one of the better windows AV's, and that their heuristics are quite effective. I'd guess the same to be true for 'ix. 4. It scans for Linux screwups. :-) :-) e.g. here's one that I have left unrepaired because I think it's so great: ANTIVIR 2008-05-05_05:49:12.39449 Mon May 5 01:49:12 2008 WARNING: file '/etc/openvpn/trustconnect/pwd' is group or others accessible 5. its heuristics have notified me of XSS script attacks (at test sites) after scanning scripts loaded into the browser cache, with suspicious script warnings - and blocking that script from use by the browser. The only other tool of similar function that I know of is NoScript, an extension for use in FireFox. 6. I run WAN/LAN-connected applications in chroot jails (Grsecurity Hardened). Anything downloaded into a browser jail, lftp or TBird jail is moved to a download area via a script that invokes a deep scan by Antivir after it gets there. Dazuko invokes a second scan, as it also monitors that area. 7. AntiVir is not in portage. Dazuko is. Dazuko can be used with other AntiMalwares, or customized to respond to user-created tests (e.g. changed file). 8. Linux and Unix oldtimers will scoff at real-time malware scanning - but I'm convinced that in todays world, realtime scanning is one important thing (perhaps the only thing) that we can learn from Windows. HTH I think alot of old-timers also realize that, unless you specifically allow something to run, then it can't hurt you. Chances are, unless you are allowing XSS and are surfing sites you can't trust, you're close to bullet-proof, with the exception of program exploits that you really can't do anything about. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Messed up - how do I emerge coreutils once coreutils is gone?
On 11:27 Sat 19 Apr , Mark Knecht wrote: Question: Is there a way to recover from this? Try going into a LiveCD and either copy the coreutils from a stage, or try re-emerging it there. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] baselayout-2.0.0 surprises
On 16:03 Thu 17 Apr , Helmut Jarausch wrote: Hi, after upgrading to baselayout-2.0.0 ( and openrc ) I've got some unpleasant surprises. Is there an upgrade guide anywhere ? Maybe some problems are causes by myself (accidently) /etc/conf.d/rc seems to have gone (now /etc/rc.conf ?) /etc/conf.d/net seems to have gone this inhibited my network after reboot Has it really gone or did I delete by accident ? After I have replaced /etc/conf.d/net from a backup the network came up on the next boot. While the init scripts is running, I get the following messages never seen before - cruft in proc - net.ppp0 not under our control, aborting Fortunately it didn't abort my ppp connection (otherwise there wouldn't been this email) Are there more problems to be expected? Many thanks for your help, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany -- gentoo-user@lists.gentoo.org mailing list There is also a thread discussing the new baselayout. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Garbage in /tmp or /var/tmp
On 01:16 Tue 15 Apr , Philip Webb wrote: 080414 forgottenwizard wrote: On 03:58 Mon 14 Apr , Philip Webb wrote: Vim defaults to keeping temporary files in /var/tmp , but Mutt defaults to /tmp Vim called by Mutt does the same. Recently, I changed the default in .muttrc to use /var/tmp instead as a result I can happily have /tmp cleared at every reboot, which reminds me, I need to delete many /var/tmp/mutt-* ... (smile). Off-topic, I know, but can you post how to do this? It doesn't seem OT to me (smile): in ~/.muttrc include the line set tmpdir=/var/tmp Vim otherwise continues to keep its .swp files in the same dir as the file it's editing; only Mutt is affected, but you are guaranteed recovery of an e-mail being edited during a crash. To set the system to clear /tmp at boot, edit /etc/conf.d/bootmisc to include the line WIPE_TMP=yes -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban Community Studies TRANSIT`-O--O---' University of Toronto -- gentoo-user@lists.gentoo.org mailing list Thanks. WIPE_TMP seems to be the default, fwiw. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] intelfb and 945GM
On 21:42 Tue 25 Mar , Sergey Kobzar wrote: That's one of the reason why I wanted intelfb, but got no luck. I'm using uvesafb at the moment, but still hope intelfb will be fixed soon. I seem to have missed the start of this thread, but if you don't mind, could you give me a quick idea on what is broken within intelfb? I've been debating on switching to it, but keep seeing info on it being broken, and nothing on WHAT is broken. I see screen with many scrolling white lines (probably this are kernel messages). It looks like problem with synchronization or unsupported video mode. uvesafb works nice. -- Sergey -- gentoo-user@lists.gentoo.org mailing list uvesafb works, but it is a bit slow, and requires user-space programs to run. Its a great peice of code and such, but something that is kernel-space and able to use hardware effectivly would be even nicer. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] intelfb and 945GM
On 19:11 Tue 25 Mar , Sergey Kobzar wrote: Hi Wael, Tuesday, March 25, 2008, 6:56:32 PM, you wrote: This One Time, at Band Camp, Sergey Kobzar [EMAIL PROTECTED] said, On Tue, Mar 25, 2008 at 06:43:46PM +0200: Did intel works for you?? how's the performance ?? What did you add/remove from your kernel ?? No, unfortunately it does not :(. I've switched to uvesafb. Looks like I have no other choice... Oh :S too bad, I hoped to have a better performance with mplayer's fbdev output... That's one of the reason why I wanted intelfb, but got no luck. I'm using uvesafb at the moment, but still hope intelfb will be fixed soon. I seem to have missed the start of this thread, but if you don't mind, could you give me a quick idea on what is broken within intelfb? I've been debating on switching to it, but keep seeing info on it being broken, and nothing on WHAT is broken. Thanks. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] what isn't required to boot a system/what can be trimmed from a backup
On 09:43 Thu 13 Mar , Mateusz A. Mierzwin'ski wrote: You should stop using rsync. Why? I've think like You couple days ago. Rsync is good but, when i record DVD with backup files of OS and try to restore by rsync then I started to waiting for files counting... and waiting... and waiting. So I use tar -cjvpf arch dir --exclude=/dev --exclude=/proc --exclude=/root --exclude=/usr/portage/distfiles and backup work's perfect. You can use ISOMASTER to edit ISO of minimal livecd of gentoo and add archive to that file, rebuild iso and write it on DVD - it works fine. Now restoring to full functional Gentoo needs 3 minutes of data decompresion to disk (tar -xjvpf) faster is without verbose mode. Next step is chroot mount dir /usr/sbin/lilo (after mounting proc) and reboot ;). This is faster :D -- gentoo-user@lists.gentoo.org mailing list The rsync backup is just to an external hard drive, and not to a DVD. I'm going to make an archive (maybe with dar, maybe with tar) to burn to DVD so that I have something to restore from if everything goes kaput on me. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] what isn't required to boot a system/what can be trimmed from a backup
On 23:29 Tue 11 Mar , Logan McKenna wrote: I just use mkstage4.sh which can be found on the forums. Works great for me On Tue, Mar 11, 2008 at 11:10 PM, forgottenwizard [EMAIL PROTECTED] wrote: I'm messing around with doing backups via rsync to an external hard drive, and I'm wanting to be able to strip out unneeded files from the backup (these will be archived by, probably, dar or tar later on), and was wondering if someone knew what I could strip out. Thanks. -- gentoo-user@lists.gentoo.org mailing list I looked at mkstage4, but that isn't what I'm wanting. I never liked that script too much (its a good tool, mind you, just not what I'm wanting to use), and I'm wanting to do this via rsync instead of the script. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] what isn't required to boot a system/what can be trimmed from a backup
On 11:18 Thu 13 Mar , Iain Buchanan wrote: On Tue, 2008-03-11 at 23:10 -0500, forgottenwizard wrote: define unneeded. This is highly system dependant, as everyone puts important files all over the place. Things I would lose if I backed them up. Doing a prior backup, some files in /proc caused me problems, and rsync refused to delete anything in the following pass. from the subject line I assume you want to be able to restore a bootable system? If so, you may need to back up more than just filesystems. What about the partition table and the master boot record? You can back up the mbr to a file by using dd: $ sudo dd if=/dev/hda of=mbr.img bs=512 count=1 (replace hda with your boot drive). The table, mbr, and partition table I'm not worried about. Those can be easily repaired (or replaced, depending on how one wants to do it) In terms of Gentoo, you can strip out /var/tmp /usr/portage /home and possibly /opt. Probably some /var subdirs too like /var/log /var/www etc and some /usr subdirs like /usr/games /usr/include /usr/src etc. I'd say you _need_ /dev /proc and /sys. I'd like to know why. Some of the files in /proc change often, and cause rsync a problem. sys doesn't cause these problems, though. If you _really_ want to know for sure, turn on the atimes option in fstab for all your partions, then reboot and do a bit of stuff (log in, ssh, etc). Then use `find` to find all files that were accessed. Something like this: * edit /etc/fstab, delete noatime (replacing it with defaults if no other options remain) * $ touch /var/tmp/reference * $ shutdown -r now * log in, look around * find / -anewer /var/tmp/reference The output from the last command will be everything you _need_ to boot. Ideally, when backing up /proc /dev and /sys, do so from a cleanly shut-down system. HTH, I'm trying to do this with the system booted up, because doing a daily sync like that would be a bit of a pain. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] what isn't required to boot a system/what can be trimmed from a backup
I'm messing around with doing backups via rsync to an external hard drive, and I'm wanting to be able to strip out unneeded files from the backup (these will be archived by, probably, dar or tar later on), and was wondering if someone knew what I could strip out. Thanks. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] emerge -ef world and eclean --destructive distfiles do not agree
On 02:41 Sat 23 Feb , Erik wrote: Alan McKinnon skrev: emerge -uNDf world does nothing because the system is up to date. Even if all distfiles are missing, it does nothing (try to move the distfiles directory away while executing it). That command is supposed to download everything that is missing to update the system. And since the system is up to date, nothing is needed to update it and it will therefore not download anything. What I wanted was download everything that is missing to reinstall everything that is currently installed. That is what emerge -ef world should do. Then I wanted to remove everything that is not needed to reinstall everything that is currently installed. That is what eclean --destructive distfiles should do. Doing both should result in a set of distfiles that is what is needed and only what is needed to reinstall everything that is currently installed (assuming that the system is up to date). But since the 2 commands do not agree, something is broken somewhere. -- gentoo-user@lists.gentoo.org mailing list Have you checked to see if the files deleted by eclean are the current versions, or are they old? If they are the most recent you have installed, then there is a problem with eclean. If not, then the problem is with --fetchonly -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] [OT] fetchmail to procmail (or something) to arbitrary dir?
On 21:01 Fri 15 Feb , Alan McKinnon wrote: On Friday 15 February 2008, Michael Higgins wrote: Hello, OT post here, but: I (the office, actually) have this lousy ISP that sells mailboxes limited to 50MB. Whatever, I can't change that just now. I have need to keep all mail in one place... for safekeeping, mostly. 50MB is not enough and I get a quota warning. Those nice people at google have, like so many other problems we used to have, solved this one for you too. It's called gmail and you just forward everything there -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list I think he was looking for something local to use, in which case he would need to look up something later on. I would look up some procmail recipes, and if you find a good guide w/ some examples, post them here so the rest of us can share :) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Webcam recommendation
On 16:13 Sat 26 Jan , Mike Diehl wrote: Hi all. I'm looking for an inexpensive USB webcam that works with both Linux and Windoze. Something that I can pick up at Walmart or Circuit City would be best. Any recommendations? TIA, -- Mike Diehl -- gentoo-user@lists.gentoo.org mailing list I think the Logitech Quickcam is the general answer to that question. I think the cheap one is around 30-40US, though. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] urxvtd segfaulting (no idea why)
Recently (as in the last day or two), I have started to have problems with urxvtd. I'm currently running version 8.9 (~x86), but on to the problem itself. I have had problems with urxvtd segfaulting after opening a terminal, then closing it. It doesn't spit out an error that I have seen (running as urxvtd in an xterm), but after opening the term, and closing it again, and trying to open a second term, it segfaults (according to jobs in the same term I ran urxvtd). Any clues as to a good way to track this down, as it seems to happen as well in the stable version? -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] urxvtd segfaulting (no idea why)
On 21:37 Wed 23 Jan , Marcin Dzierzkowski wrote: On Wed, 23 Jan 2008 13:56:42 -0600 forgottenwizard [EMAIL PROTECTED] wrote: Recently (as in the last day or two), I have started to have problems with urxvtd. I'm currently running version 8.9 (~x86), but on to the problem itself. I have had problems with urxvtd segfaulting after opening a terminal, then closing it. It doesn't spit out an error that I have seen (running as urxvtd in an xterm), but after opening the term, and closing it again, and trying to open a second term, it segfaults (according to jobs in the same term I ran urxvtd). Any clues as to a good way to track this down, as it seems to happen as well in the stable version? Hi. Few minutes ago, after updated x11-drivers/nvidia-drivers, I have got the same problem. I reemerged rxvt-unicode and nvidia-drivers, closed X session, then reload nvidia module and everything work fine. If that don't help try debug urxvtd. Regards. Feel free to correct my English. I'm running a system rebuild right now. I use an i810, so I doubt an nvidia upgrade could cause me problems ;) We'll see what happens after this rebuild. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] What about this eix output?
On 19:50 Thu 17 Jan , Kevin wrote: On Jan 17, 2008 7:36 PM, Shaochun Wang [EMAIL PROTECTED] wrote: $ eix -e netscape-flash * net-www/netscape-flash Available versions: [M]7.0.68 [M]9.0.48.0!m 9.0.48.0-r1!m[M]~9.0.60.0_beta082207!m ~9.0.60.0_beta100107!m 9.0.115.0!m {debug} Homepage:http://www.adobe.com/ Description: Adobe Flash Player I don't understand what the appending flag !m means, can anyone tell me? -- Shaochun Wang [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] -- gentoo-user@lists.gentoo.org mailing list Could it be a bug with eix? What does emerge -pv netscape-flash return? according to the man page, there is a mirror restriction on it. I could be wrong, though. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Sending IMs from a script
On 23:51 Wed 16 Jan , Neil Bothwick wrote: On Wed, 16 Jan 2008 18:02:12 +0100, Robert Cernansky wrote: For jabber solution, emerge dev-python/xmpppy and then use this script: http://xmpppy.sourceforge.net/examples/xsend.py to send messages. That's perfect, thanks very much. Thanks for the other responses too, but I'd rather not install a full IM client on this box. -- Neil Bothwick Bother, said Pooh, as the EEC outlawed his favourite sized honey pot. Just for refrence, you could use an IRC client connected to bitlbee to do the same thing, and all you would have to do would learn how to handle scripting responses into the irc client. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: removing X
On 07:34 Tue 25 Dec , [EMAIL PROTECTED] wrote: forgottenwizard [EMAIL PROTECTED] writes: Something to remember for the future: You can delete entries in the world file Personally, I find that faster than going through and finding what is already installed, and doing the uninstall the long way. emerge --tree should help some, as well, but for a basic install (30 packages in world), deleting the entries should be the fastest way, followed by an emerge --depclean. Thanks for your input.. Earlier in this thread ( Message-ID: [EMAIL PROTECTED] ) it was explained why I couldn't use --depclean at that point. -- [EMAIL PROTECTED] mailing list If you mean the error w/ needing to run emerge -u, that was because a program was calling in a dep you had removed. I may have missed something else, but thats the problem I have had, since I do system cleans like I mentioned. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Which ivtv driver for gentoo-sources-2.6.23-r5?
On 16:57 Tue 25 Dec , Mark Knecht wrote: I'm having trouble getting ivtv-1.0.3-r1 to install correctly under 2.6.23-gentoo-r5. The driver loads but throws a message about not being able to load a driver for a cx25840. When I look at make menuconfig it seems like I've called out for the driver to get built but it's not in /lib/modules. What version of ivtv is correct for this kernel? Thanks, Mark Linux video capture interface: v2.00 ivtv: Start initialization, version 1.0.0 ivtv0: Initializing card #0 ivtv0: Autodetected Hauppauge card (cx23416 based) ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 11 ACPI: PCI Interrupt :01:0a.0[A] - Link [LNK1] - GSI 11 (level, low) - IRQ 11 ivtv0: Unreasonably low latency timer, setting to 64 (was 32) ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes) ivtv0: Encoder revision: 0x02060039 tveeprom 0-0050: Hauppauge model 26032, rev C199, serial# 2978579 tveeprom 0-0050: tuner model is TCL 2002N 5H (idx 99, type 50) tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08) tveeprom 0-0050: audio processor is CX25841 (idx 35) tveeprom 0-0050: decoder processor is CX25841 (idx 28) tveeprom 0-0050: has no radio, has IR receiver, has IR transmitter ivtv0: Autodetected Hauppauge WinTV PVR-150 ivtv0: Reopen i2c bus for IR-blaster support tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0) cx25840: Unknown parameter `fastfw' ivtv0: Failed to load module cx25840 wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0) tuner 0-0061: type set to 50 (TCL 2002N) ivtv0: i2c hardware 0x0001 (cx2584x) not found for command 0xc008561c ivtv0: i2c addr 0x44 not found for command 0x4008646f ivtv0: i2c hardware 0x0001 (cx2584x) not found for command 0x4008646d ivtv0: i2c hardware 0x0001 (cx2584x) not found for command 0xc008561c ivtv0: i2c hardware 0x0001 (cx2584x) not found for command 0xc008561c ivtv0: i2c hardware 0x0001 (cx2584x) not found for command 0xc008561c ivtv0: Registered device video0 for encoder MPEG (4 MB) ivtv0: Registered device video32 for encoder YUV (2 MB) ivtv0: Registered device vbi0 for encoder VBI (1 MB) ivtv0: Registered device video24 for encoder PCM audio (1 MB) ivtv0: Initialized card #0: Hauppauge WinTV PVR-150 ivtv: End initialization Symbol: VIDEO_CX25840 [=m] │ │ Prompt: Conexant CX2584x audio/video decoders │ │ Defined at drivers/media/video/cx25840/Kconfig:1 │ │ Depends on: HAS_IOMEM VIDEO_CAPTURE_DRIVERS VIDEO_DEV !VIDEO_HELPER_CH │ │ Location: │ │ - Device Drivers │ │ - Multimedia devices │ │ - Video For Linux (VIDEO_DEV [=m]) │ │ - Video capture adapters (VIDEO_CAPTURE_DRIVERS [=y]) │ │ - Autoselect pertinent encoders/decoders and other helper chips (VID │ │ - Encoders/decoders and other helper chips │ │ Selects: FW_LOADER │ │ Selected by: VIDEO_IVTV HAS_IOMEM VIDEO_CAPTURE_DRIVERS VIDEO_DEV V │ gandalf linux # lsmod Module Size Used by sbp2 17800 0 ohci1394 25712 1 ieee1394 71092 2 sbp2,ohci1394 usbhid 23232 0 usblp 10432 0 uhci_hcd 19084 0 ehci_hcd 25100 0 ohci_hcd 17412 0 i2c_nforce2 4736 0 nvidia 4703280 0 wm8775 4620 0 tuner 56360 0 ivtv 112400 0 firmware_class 6720 1 ivtv i2c_algo_bit4932 1 ivtv cx2341x 9988 1 ivtv tveeprom 13328 1 ivtv i2c_core 17872 7 i2c_nforce2,nvidia,wm8775,tuner,ivtv,i2c_algo_bit,tveeprom videodev 23936 1 ivtv v4l2_common14400 5 wm8775,tuner,ivtv,cx2341x,videodev v4l1_compat11652 2 ivtv,videodev snd_intel8x0 26012 1 snd_ac97_codec 86624 1 snd_intel8x0 ac97_bus1792 1 snd_ac97_codec nvidia_agp 5852 1 agpgart24048 2 nvidia,nvidia_agp gandalf linux # gandalf linux # modprobe cx25840 FATAL: Error inserting cx25840 (/lib/modules/2.6.23-gentoo-r5/kernel/drivers/media/video/cx25840/cx25840.ko): Unknown symbol in module, or unknown parameter (see dmesg) gandalf linux # In dmesg I see this: cx25840: Unknown parameter `fastfw' cx25840: Unknown parameter `fastfw' Make sure you can load the firmware. If ivtv compiles (I would re-emerge it), then it should run. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: removing X
On 18:20 Mon 24 Dec , [EMAIL PROTECTED] wrote: Grant Edwards [EMAIL PROTECTED] writes: On 2007-12-24, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm attempting to remove X from a former desktop machine now going to see action as a semi-DMZ. That sounds like a lot of work. My guess is that it would be a faster and easier to wipe the disk and install from scratch. I would have done that without hesitation had it not been for the fact that this installation is a vm guest on winXP and I had a heck of a time getting it to work with gentoo. But as it turned out it wasn't all that hard. Mainly because it was kind of a basic installation even though it had X and KDE desktop. The fact that emerge can swallow giant size lists of stuff to uninstall was a big bonus. I didn't go over 86 on cmdline and just settled for doing it multiple times, but I think it would have swallowed more if I had. -- [EMAIL PROTECTED] mailing list Something to remember for the future: You can delete entries in the world file Personally, I find that faster than going through and finding what is already installed, and doing the uninstall the long way. emerge --tree should help some, as well, but for a basic install (30 packages in world), deleting the entries should be the fastest way, followed by an emerge --depclean. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Booting up without X
On 22:37 Wed 19 Dec , Neil Bothwick wrote: On Wed, 19 Dec 2007 12:45:49 -0500 (EST), David Finkel wrote: You should just be able to pass the nox kernel command line option at boot, the xdm init script, from baselayout, contains a line which checks the kernel command line for the xdm parameter. This works, but because nox stays in /proc/cmdline, any attempt to run xdm later will fail. The only way to get back into X is to reboot. -- Neil Bothwick Does fuzzy logic tickle? How about running startx, or modifying the script to see if boot time was within X of the current time (seeing if this IS boot, or some other time), or maybe (I don't run xdm, or any display manager for that matter) you could just pass an arg to xdm to make it start. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] hello there!
On 20:55 Wed 19 Dec , Sven Albrecht wrote: On Wed, 2007-12-19 at 13:32 -0600, Jesús Abidan Ramos Salas wrote: i am new at this list... i hope i can help Me too, at first I'm basically reading and learning ^^ -- [EMAIL PROTECTED] mailing list Same here. I've been subscribed for awhile (maybe afew months), and have only just started to help. Welcome. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Kernel schedulers
On 22:11 Mon 17 Dec , Mick wrote: On Sunday 16 December 2007, forgottenwizard wrote: OK then, I have been using CFQ for the last few days and it 'feels' slower (when e.g. I fire up Kmail, Opera and aterm in quick succession) relative to anticipatory which I was using before. -- Regards, Mick Without knowing alot of detail about CFQ, the idea itself seems a bit far-fetched UNLESS it is taking into account time for the head to seek back and forth, and tries to organize everything into a proper pattern instead of what could be taking things as they come, giving them all the same time (meaning multiple reads for longer files), and doing things in the order in which they are requsted (in other words, spends as much time seeking as reading). I think deadline itself is a safer bet unless you are having to read several long files, and need them all in about the same time (in which case you should probably be looking into a RAID anyways). -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Kernel schedulers
On 18:36 Sun 16 Dec , Mick wrote: On Saturday 15 December 2007, forgottenwizard wrote: On 15:27 Thu 13 Dec , Jason Carson wrote: Greetings, Where in the kernel config (make menuconfig) do I find the choice for schedulers. The one I am currently using is Anticipatory. What is the newest and latest scheduler for 2.6.23? Regards, Jason Carson -- [EMAIL PROTECTED] mailing list Like someone else mentioned, you can switch the sched on the fly, and quite easily. From what I have seen myself: Anticipatory seems to be, at times, faster than deadline, but not by much. It tries to predict what will be needed next, where as deadline makes reads/writes based on which will be the fastest (recomended for databases and such iirc). In my experiance, CFQ has always been the slowest. It gives everything even time, and seems to cause alot more head movement than the other two, which is a pain. Best bet is to compile them all in, and switch them out to see what works best. For me that seems to be deadline (btw, I am running a desktop), but testing would be the best thing. Is testing a matter of how 'it feels' to use the desktop type-of-thing, or is it a matter of trying to start/run multiple apps against a stop-watch? I have used anticipatory and CFQ on my laptop and I am not sure that I can tell the difference . . . -- Regards, Mick I go by how things feel. I know about how long most programs take to start up, and how everything feels. Of course, you can also figure into all this I have mpd running, fetchmail running every few minutes, plus other various programs running that are going to take up more disk I/O than what might be expected from a laptop. From what I've been able to tell, deadline has always worked best for me, since not many of the reads I have take very long to start off with (outside of the occasional movie). Course, there is also how much you have loaded into RAM and cache that would affect all this (which I bet you have more RAM than I do), so... -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Kernel schedulers
On 15:27 Thu 13 Dec , Jason Carson wrote: Greetings, Where in the kernel config (make menuconfig) do I find the choice for schedulers. The one I am currently using is Anticipatory. What is the newest and latest scheduler for 2.6.23? Regards, Jason Carson -- [EMAIL PROTECTED] mailing list Like someone else mentioned, you can switch the sched on the fly, and quite easily. From what I have seen myself: Anticipatory seems to be, at times, faster than deadline, but not by much. It tries to predict what will be needed next, where as deadline makes reads/writes based on which will be the fastest (recomended for databases and such iirc). In my experiance, CFQ has always been the slowest. It gives everything even time, and seems to cause alot more head movement than the other two, which is a pain. Best bet is to compile them all in, and switch them out to see what works best. For me that seems to be deadline (btw, I am running a desktop), but testing would be the best thing. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problems with PORTAGE_ELOG_MAIL (Connection error)
On 12:54 Fri 02 Nov , Stroller wrote: On 2 Nov 2007, at 02:42, forgottenwizard wrote: The error itself: (111, 'Conection refused') Settings: PORTAGE_ELOG_CLASSES=warn error log PORTAGE_ELOG_COMMAND=/usr/bin/esmtp PORTAGE_ELOG_SYSTEM=mail:warn,error,log syslog:* save PORTAGE_ELOG_MAILURI=[EMAIL PROTECTED] PORTAGE_ELOG_MAILFROM=[EMAIL PROTECTED] PORTAGE_ELOG_MAILSUBJECT=\${PACKAGE} merged on \${HOST} I have played with this a bit, ranging from MAILURI=user to MAILURI=[EMAIL PROTECTED] localhost `sendmail user test_file.txt` `telnet localhost 25` Stroller. -- [EMAIL PROTECTED] mailing list I've sent emails to myself before (from root to user), and they worked well. I'm not sure what the purpose of telneting my own system it, either. Would I be looking for an open port? -- [EMAIL PROTECTED] mailing list
[gentoo-user] Problems with PORTAGE_ELOG_MAIL (Connection error)
The error itself: (111, 'Conection refused') Settings: PORTAGE_ELOG_CLASSES=warn error log PORTAGE_ELOG_COMMAND=/usr/bin/esmtp PORTAGE_ELOG_SYSTEM=mail:warn,error,log syslog:* save PORTAGE_ELOG_MAILURI=[EMAIL PROTECTED] PORTAGE_ELOG_MAILFROM=[EMAIL PROTECTED] PORTAGE_ELOG_MAILSUBJECT=\${PACKAGE} merged on \${HOST} I have played with this a bit, ranging from MAILURI=user to MAILURI=[EMAIL PROTECTED] localhost I'm not exactly sure what the problem is, and I know I have had this working before with esmtp (before a short-lived migration to postfix which seemed to break everything from vixie-cron to Portage Elog), and I'd like some help to resolve this issue. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Help finding a tv tuner card's chipset
On 23:25 Sat 29 Sep , Patrick May wrote: On Sat, Sep 29, 2007 at 03:17:14PM -0500, forgottenwizard wrote: On 13:41 Sat 29 Sep , Grant Edwards wrote: On 2007-09-29, forgottenwizard [EMAIL PROTECTED] wrote: Since I'm using cable, I figure if I need to, in 17 month I can get a converter, or afford to buy a better card. If you're using cable, you may not need to. Cable companies are free to continue distributing analog signals as long as they want. -- Grant Edwards grante Yow! I need to discuss at BUY-BACK PROVISIONS visi.comwith at least six studio SLEAZEBALLS!! -- [EMAIL PROTECTED] mailing list Good to know. Right now I'm down to finding a working app (mplayer only seems to work so far, and it doesn't seem to work quite right). Grant is correct. The digital switch only applies to OTA (Over the Air). Cable operators could do whatever they want. Not sure why the PVR-150 isn't just working out of the box for you. I know there were some complaints about Hauppauge quietly putting another device in the box. And that's because of the switch over. As of March 1, 2007 manufacturers had to include a digital tuner if they included an analog tuner. This included computer interface cards as well. I believe the new Hauppauge is a PVR-1600 with dual tuner (NTSC ATSC). Good luck. Patrick It seems to work. Using at and cat, I can record TV shows (needs a bit of work to make sure everything is scripted right, but I'm working on that). That along with mplayer target_file.mpg, I can watch and record at the same time, and mplayer /dev/video0 works for straight TV. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help finding a tv tuner card's chipset
On 16:32 Fri 28 Sep , Patrick May wrote: On Fri, Sep 28, 2007 at 03:43:52PM -0500, forgottenwizard wrote: On 08:31 Fri 28 Sep , Patrick May wrote: I missed this thread earlier, so pardon me commenting to the OP so far down the thread. On Thu, 27 Sep 2007 01:00:33 -0500, forgottenwizard wrote: BTW, if anyone knows of a cheap tuner card (50US preferably) that is decent and works with either PCI/USB/AGP, I would love to know. I'm currently using an air2pc card I picked up on eBay. I believe I paid around $20-30US. It pulls in all OTA ATSC signals just fine. I can't speak for it's abilities to work with QAM (Cable.) I'm controlling it with MythTV. Though I do recommend a decent processor. I used to run an Athlon 850MHz and it could not keep up with an HD (1080i, etc) signal. It will dump the stream to disk, just not display it (slow, pauses, etc.) Patrick I'm doing some looking and think I'm going to blow my budget and get a Haup. PVR-150, which I know is supported. Thanks for all of your help everyone. If you are planning to watch over the air (not cable) remember that analog will go off air on Feb 17, 2009. A little less than 17 months from now. Patrick Thats why I was looking for something else, but I ended up getting a WinTV-PVR-150 today. It wasn't too expensive, and I was able to get it (mostly) working for awhile. Oddly enough, since trying it with mythtv, it doesn't seem to want to work anymore, which is highly annoying since the thing took me about 2-3 hours to get to operate (requiring a few kernel recompiles and some firmware-hunting). Since I'm using cable, I figure if I need to, in 17 month I can get a converter, or afford to buy a better card. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Help finding a tv tuner card's chipset
On 13:41 Sat 29 Sep , Grant Edwards wrote: On 2007-09-29, forgottenwizard [EMAIL PROTECTED] wrote: Since I'm using cable, I figure if I need to, in 17 month I can get a converter, or afford to buy a better card. If you're using cable, you may not need to. Cable companies are free to continue distributing analog signals as long as they want. -- Grant Edwards grante Yow! I need to discuss at BUY-BACK PROVISIONS visi.comwith at least six studio SLEAZEBALLS!! -- [EMAIL PROTECTED] mailing list Good to know. Right now I'm down to finding a working app (mplayer only seems to work so far, and it doesn't seem to work quite right). -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help finding a tv tuner card's chipset
On 08:31 Fri 28 Sep , Patrick May wrote: I missed this thread earlier, so pardon me commenting to the OP so far down the thread. On Thu, 27 Sep 2007 01:00:33 -0500, forgottenwizard wrote: BTW, if anyone knows of a cheap tuner card (50US preferably) that is decent and works with either PCI/USB/AGP, I would love to know. I'm currently using an air2pc card I picked up on eBay. I believe I paid around $20-30US. It pulls in all OTA ATSC signals just fine. I can't speak for it's abilities to work with QAM (Cable.) I'm controlling it with MythTV. Though I do recommend a decent processor. I used to run an Athlon 850MHz and it could not keep up with an HD (1080i, etc) signal. It will dump the stream to disk, just not display it (slow, pauses, etc.) Patrick I'm doing some looking and think I'm going to blow my budget and get a Haup. PVR-150, which I know is supported. Thanks for all of your help everyone. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help finding a tv tuner card's chipset
On 15:15 Thu 27 Sep , Iain Buchanan wrote: On Wed, 2007-09-26 at 23:40 -0500, forgottenwizard wrote: All great suggestions, except I'm hoping to see if it might work before I buy it. I really don't like the prospect of spending money on hardware just for things to turn out that it doesn't work in Linux. take your laptop into the store. Or if you don't have a laptop, take a livecd with lsusb, lshw, etc. on it. If they won't accommodate that, shop somewhere else ;) If you're buying online, find a local store that has the same card and do the same thing. If you don't have any local stores, ... um, post to this list!! HTH! -- Iain Buchanan iaindb at netspace dot net dot au I have defined the hundred per cent American as ninety-nine per cent an idiot. -- George Bernard Shaw -- [EMAIL PROTECTED] mailing list Tomorrow I think I'll stop into a store or two and see what they carry. I think I have a Knoppix disk somewhere, so I will try that. BTW, if anyone knows of a cheap tuner card (50US preferably) that is decent and works with either PCI/USB/AGP, I would love to know. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help finding a tv tuner card's chipset
On 17:24 Thu 27 Sep , Hans-Werner Hilse wrote: Hi, On Thu, 27 Sep 2007 08:59:18 +0100 Neil Bothwick [EMAIL PROTECTED] wrote: On Thu, 27 Sep 2007 01:00:33 -0500, forgottenwizard wrote: BTW, if anyone knows of a cheap tuner card (50US preferably) that is decent and works with either PCI/USB/AGP, I would love to know. Analogue or DVB? I've used a Freecom DVB dongle with Gentoo (amd64 and ppc) and it worked well. For a cheap PCI card, the KWorld cards are decent. Just a short warning: The US standards are a bit different... (but KWorld has ATSC equipment, too, not just DVB). And if commercial HDTV is to be received, special care has to be taken that everything is HDMI compliant -- I think there are only hardware based solutions to this problem, and it certainly won't be cheap -- at least not 50USD, I think... -hwh -- [EMAIL PROTECTED] mailing list I was hoping for Digital since analog will be going the way of the Dodo in the next few years. HDTV isn't going to be received since my monitor won't handle it properly to start with. I looked at a few KWorld cards online, and saw a few Happ. that were less than 50US, but I'm going to do some more looking. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Minimal Gentoo installation
On 19:42 Thu 27 Sep , Petar Dimitrijevic wrote: Hi ppl, My basic idea is to have chroot-ed environment which will be the full system and then to install separate system with only minimal stuff (without gcc, portage, ...). When I need to update the minimal system I will first update the chrooted one and the emerge the updates onto the new one. What it sounds like you want is an LFS system. Look at the -B option for emerge. That may have some of what you are looking for. I wanted to ask if somebody has done something like this, is something like this possible and are there any wiki's or howto's on this topic. I've tried searching through the handbook and google-ing but had no luck. I thought about doing this once before, but what is going to make the diffrence is how minimal you want the system. Are we talking a kernel + [ba|z]sh + coreutils or are we talking a tiny Apache server? If you want the absolute minimal, then I would look some into LFS since Gentoo wants to install so much by default (gcc, bash, coreutils, wget, ect). -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: OT: Mplayer question
On 19:34 Thu 27 Sep , Grant Edwards wrote: On 2007-09-27, Anthony E. Caudel [EMAIL PROTECTED] wrote: Thinking about ordering a DVD from Amazon.uk (not available here in the US). It is a region 2 DVD and is in PAL format unlike the NTSC here in the states. Will the DVD play in Mplayer? Dunno, but I expect so. I've played other-regioned PAL dvds in xine, so I see no reason why mplayer won't work as well. -- Grant Edwards grante Yow! Now, let's SEND OUT at for QUICHE!! visi.com -- [EMAIL PROTECTED] mailing list I would check mplayer's website for this kind of info. It should, but that would give you a better idea. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Minimal Gentoo installation
On 23:04 Thu 27 Sep , Petar Dimitrijevic wrote: forgottenwizard wrote: On 19:42 Thu 27 Sep , Petar Dimitrijevic wrote: Hi ppl, My basic idea is to have chroot-ed environment which will be the full system and then to install separate system with only minimal stuff (without gcc, portage, ...). When I need to update the minimal system I will first update the chrooted one and the emerge the updates onto the new one. What it sounds like you want is an LFS system. Look at the -B option for emerge. That may have some of what you are looking for. Hm I browsed through emerge man page but I'm unable to find the -B option. Is this maybe --build option ? Yeah. Just something to build the binaries should work. I wanted to ask if somebody has done something like this, is something like this possible and are there any wiki's or howto's on this topic. I've tried searching through the handbook and google-ing but had no luck. I thought about doing this once before, but what is going to make the diffrence is how minimal you want the system. Are we talking a kernel + [ba|z]sh + coreutils or are we talking a tiny Apache server? Well I want to have couple of variations: 1. Apache, php, python, 2. Xorg, python, wxwindows So I guess they wouldn't be too small. My expectations are that the fs size would be = 256 MB to 400 MB. My target is VIA C3 Nemiah board with 128MB RAM and 512MB CF Card. Nice. Apache I know you could fit into that without a problem, and X should be able to handle that little If you want the absolute minimal, then I would look some into LFS since Gentoo wants to install so much by default (gcc, bash, coreutils, wget, ect). I thought about checking out LFS but Gentoo seemed simpler to try. Also because of portage the system is easier to upgrade. But if I can't get what I need I guess I'll try LFS. Look up ALFS (Automated Linuc From Scratch). It's a basic system, but if you want something fairly minimal, I'd suggest looking at Portage and the ebuilds you like and see if you couldn't script yourself a small package manager just using wget and maybe doing the compiling by hand (or just running ./configure make make install, if you don't want to do anything to minimize the installed packages). -- [EMAIL PROTECTED] mailing list
[gentoo-user] Help finding a tv tuner card's chipset
I hope this isn't the wrong place to ask this, but I need help finding a chipset for an admitedly cheap tuner. The product in question is the Sabrent TV-USB20 tuner (USB-powered). I have searched google for awhile, and I can't seem to find the chipset for this card, but mostly just results on very specific cards. All I need to know is if this tuner will work with Gentoo or not, really.The product in question is the Sabrent TV-USB20 tuner (USB-powered). I have searched google for awhile, and I can't seem to find the chipset for this card, but mostly just results on very specific cards. All I need to know is if this tuner will work with Gentoo or not, really.The product in question is the Sabrent TV-USB20 tuner (USB-powered). I have searched google for awhile, and I can't seem to find the chipset for this card, but mostly just results on very specific cards. All I need to know is if this tuner will work with Gentoo or not, really. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Help finding a tv tuner card's chipset
On 08:43 Thu 27 Sep , W.Kenworthy wrote: On Wed, 2007-09-26 at 18:25 -0500, Dan Farrell wrote: On Wed, 26 Sep 2007 16:29:45 -0500 forgottenwizard [EMAIL PROTECTED] wrote: ... Have you looked at 'lsusb' output yet? That usually gives data relevant to the chipset (for example, what it is and who made it ;) ) Also take the : hex number (see 413c:3010 below) that lsusb spits out, and google that if lsusb itself gives unknown. It basically specifies the manufacturer and chipset/model. lsbusb -v is also helpful. i.e., lsusb ... Bus 003 Device 003: ID 413c:3010 Dell Computer Corp. Optical Wheel Mouse ... -- [EMAIL PROTECTED] mailing list All great suggestions, except I'm hoping to see if it might work before I buy it. I really don't like the prospect of spending money on hardware just for things to turn out that it doesn't work in Linux. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem mounting USB Drive/MP3 PLayer
The point here is, it works. If anything it seemed slightly faster, but considering I'm not too worried, I'll leave it as-is. On 23:03 Wed 12 Sep , Neil Bothwick wrote: Hello forgottenwizard, Alright, I've got it. It doesn't mount via sda anymore, but by uba. Either way, it works. Thanks for the help. You don't normally want that, for one thing it is slower. Set CONFIG_BLK_DEV_UB=n in your kernel config. -- Neil Bothwick Everything takes longer than expected, even when you take into account Hoffstead's Law. - Hoffstead's Law -- [EMAIL PROTECTED] mailing list
[gentoo-user] Problem mounting USB Drive/MP3 PLayer
First off, the MP3 player is a Zen Stone, which generally just needs to be mounted like a hdd. When I have it plugged in, dmesg and lsusb tell me it is seen, but the device (generally /dev/sda1 or similar) does not show up. This is a new kernel, so what kind of option may I be missing, or what else could be wrong? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem mounting USB Drive/MP3 PLayer
Giving it a shot. Thanks On 14:07 Wed 12 Sep , John covici wrote: on Wednesday 09/12/2007 forgottenwizard([EMAIL PROTECTED]) wrote First off, the MP3 player is a Zen Stone, which generally just needs to be mounted like a hdd. When I have it plugged in, dmesg and lsusb tell me it is seen, but the device (generally /dev/sda1 or similar) does not show up. This is a new kernel, so what kind of option may I be missing, or what else could be wrong? If you are using the standard gentoo configs see if # CONFIG_SCSI_MULTI_LUN=y That did it for me with a card reader and some others. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem mounting USB Drive/MP3 PLayer
Alright, I did that. I tried to enable a few other options within SCSI, and none of them did anything. Dmesg still says it sees the device, knows it is USB, gives is an address, and designates it a configuration. I'm going to look at the USB options and see if there is anything there I missed. On 14:07 Wed 12 Sep , John covici wrote: on Wednesday 09/12/2007 forgottenwizard([EMAIL PROTECTED]) wrote First off, the MP3 player is a Zen Stone, which generally just needs to be mounted like a hdd. When I have it plugged in, dmesg and lsusb tell me it is seen, but the device (generally /dev/sda1 or similar) does not show up. This is a new kernel, so what kind of option may I be missing, or what else could be wrong? If you are using the standard gentoo configs see if # CONFIG_SCSI_MULTI_LUN=y That did it for me with a card reader and some others. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem mounting USB Drive/MP3 PLayer
Alright, I've got it. It doesn't mount via sda anymore, but by uba. Either way, it works. Thanks for the help. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Adding field to incoming email headers via procmail
On 07:48 Sat 08 Sep , Neil Bothwick wrote: Hello forgottenwizard, Does anyone know of a way to do this, and maybe supply a good source of procmail docs that cover this kind of thing? formail -a or formail -A does this, formail is part of procmail. As for docs, how about man formail :) -- Neil Bothwick If your VCR still flashes 12:00 - Gentoo Linux is not for you. Thanks. I'll look into it. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Adding field to incoming email headers via procmail
I'm trying to add into my incoming email a field (X-ML-Name), and have yet to find a refrence to doing such with procmail that didn't seem to supply an endless list of useless info, while (seemingly) totally ignoring anything such as this. Does anyone know of a way to do this, and maybe supply a good source of procmail docs that cover this kind of thing? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Receiving GWN via email?
On 22:16 Fri 27 Jul , Michael Sullivan wrote: On Fri, 2007-07-27 at 22:11 -0500, Billy McCann wrote: Hi. Could someone confirm that they are receiving the GWN to their inbox, so that I'll know it's just me not getting it? That'd be swell. Thanks. BW I haven't been getting it... -- [EMAIL PROTECTED] mailing list I think they are having trouble finding things to put in it. I think they covered it on w.g.o, so you can look there to see why it hasn't been going out. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Receiving GWN via email?
On 22:51 Fri 27 Jul , Billy McCann wrote: I think they are having trouble finding things to put in it. I think they covered it on w.g.o, so you can look there to see why it hasn't been going out. Hi. My apologies, but i'm not familiar with what w.g.o. stands for. Could you fill me in? Thanks. :) -- [EMAIL PROTECTED] mailing list Sry, my bad. It has been sent (just checked the site). w.g.o = www.gentoo.org, heh. Maybe they lost some subscriptions? -- [EMAIL PROTECTED] mailing list