Re: [gentoo-user] Re: Build problems due to invalid libtool arguments
On 27.12.2011 15:21, James wrote: env-update source /etc/profile etc-update eix-update Run it often and resync every 12 hours too. I thought you should only sync once every 24 hours to limit network costs and stress for the mirrors. From the motd of todays sync: Please note: common gentoo-netiquette says you should not sync more than once a day. Users who abuse the rsync.gentoo.org rotation may be added to a temporary ban list. Greetings Sebastian Beßler signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: Packet sniffing broken recently?
On Thursday 29 Dec 2011 07:10:19 Lubos Kolouch wrote: walt, Wed, 28 Dec 2011 17:01:59 -0800: Sometime in the last month or so (when I wasn't looking) my ~x86 and ~amd64 machines quit working when I try to run wireshark or tcpdump, etc, but I don't know exactly when or why. (My amd64 machine still sniffs packets normally.) I get this same error from any packet sniffing app: Can't open netlink socket 93:Protocol not supported Strace shows that this is the failing system call: socket(PF_NETLINK, SOCK_RAW, 12) = -1 EPROTONOSUPPORT (Protocol not supported) That makes me think of some missing kernel config that may have been added or modified in recent kernels, so I tried gentoo-sources-3.0.6 (same as my working amd64 machine) with no joy. Same error message. Have I missed some important gentoo bulletin about networking recently? Anyone have working packet sniffing on ~arch? Hi, If I remember correctly, I needed to set Networking support - Networking options - Network packet filtering framework (Netfilter) - Core Netfilter Configuration - Netfilter connection tracking support It has been a while though, so it may be another option in the netfilter config - just try it :) Lubos tcpdump-3.9.8-r1 and kernel-3.0.6-gentoo works fine here with no errors. $ cat /usr/src/linux/.config | grep CONNTRACK CONFIG_NF_CONNTRACK=y CONFIG_NF_CONNTRACK_MARK=y # CONFIG_NF_CONNTRACK_EVENTS is not set CONFIG_NF_CONNTRACK_TIMESTAMP=y # CONFIG_NF_CONNTRACK_AMANDA is not set CONFIG_NF_CONNTRACK_FTP=y # CONFIG_NF_CONNTRACK_H323 is not set CONFIG_NF_CONNTRACK_IRC=y CONFIG_NF_CONNTRACK_BROADCAST=y # CONFIG_NF_CONNTRACK_NETBIOS_NS is not set CONFIG_NF_CONNTRACK_SNMP=y # CONFIG_NF_CONNTRACK_PPTP is not set # CONFIG_NF_CONNTRACK_SANE is not set CONFIG_NF_CONNTRACK_SIP=y # CONFIG_NF_CONNTRACK_TFTP is not set CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y CONFIG_NF_CONNTRACK_IPV4=y CONFIG_NF_CONNTRACK_PROC_COMPAT=y CONFIG_NF_CONNTRACK_IPV6=y HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] CLI Torrent client(s)?
On Thu, 29 Dec 2011 13:33:02 +, Stroller wrote: I'm wondering: what's your recommended CLI Torrent client(s)? And why? deluge. I believe that when I checked it was the only client that could be run in daemon and client mode. Transmission also runs as a client/server model. There are various frontends: text, web, Qt and Gtk, which can connect to a local or remote server. I used to used Deluge but switched to Transmission a couple of years ago. -- Neil Bothwick If you shoot a mime, should you use a silencer? signature.asc Description: PGP signature
Re: [gentoo-user] Re: Build problems due to invalid libtool arguments
Pandu Poluan wrote: On Thu, Dec 29, 2011 at 15:56, Sebastian Beßler sebast...@darkmetatron.de wrote: On 27.12.2011 15:21, James wrote: env-update source /etc/profile etc-update eix-update Run it often and resync every 12 hours too. I thought you should only sync once every 24 hours to limit network costs and stress for the mirrors. From the motd of todays sync: Please note: common gentoo-netiquette says you should not sync more than once a day. Users who abuse the rsync.gentoo.org rotation may be added to a temporary ban list. AFAIK, that limitation is enforced for rsync.gentoo.org only. I personally use a non *.gentoo.org servers for syncing. Much much MUCH faster for me, by a factor of 2 or 3. Rgds, There used to be a server that allowed unlimited syncs. As far as I know, that was the only one and it changed from unlimited to once a day a year or so ago. Unless the MOTD says it is unlimited then I would think it is once a day. Once a day has been the rule ever since I started using Gentoo. Unless there is a problem with the tree, I don't understand why anyone, except a dev maybe, would need to sync twice a day. Heck, I sometimes go two or three days and still have nothing to update. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
[gentoo-user] black console w/ 3.2.0-rc7
Very likely a FAQ but I can't find it right now: wanted to try linux 3.2.0-rc7 (by emerging git-sources) ... used my old config and it built OK. It also boots OK but very soon it gets simply black, no console, no xdm. I am able to ssh into it, can't find anything obvious. framebuffer stuff? This is my thinkpad L520, with intel graphics. Does someone has a pointer for me? Thanks, Stefan
Re: [gentoo-user] The mess that's called KDEPIM 4.7 ...
On Thu, Dec 29, 2011 at 06:05:38PM +0530, Yohan Pereira wrote: On Thursday 29 Dec 2011 12:11:54 Mick wrote: Thanks Frank for your words of encouragement! I'm inching closer to mutt by the day ... unless KDEPIM 4.7 has become usable by the time 4.4.11.1 is withdrawn from the main tree, I'm out of KDE. Hang on in there for 4.8, people (or fanbois not sure) are saying good things about it. I, too, am going to test 4.8. Before the KDEPIM 2 hell started, I was a big fan of KMail and co. -- Gruß | Greetings | Qapla' I forbid any use of my email addresses with Facebook services. The Rhine is a fountain of youth: one sip and you won’t get old. pgpKIr65FTIj3.pgp Description: PGP signature
Re: [gentoo-user] CLI Torrent client(s)?
I use mldonkey for p2p AND torrents. Regards Francisco
Re: [gentoo-user] The mess that's called KDEPIM 4.7 ...
On Thu, Dec 29, 2011 at 12:43:39AM +, Mick wrote: For now I have masked KDEPIM 4.7 on all of my remaining boxen. This is too messy to have to fix more than once, if I can fix it at all that is! The only thing that's keeping me from mutt is the zillion shortcut commands that I need to learn ... old dog/new tricks and all that. Been there, done that, got the T-shirt. Many are fairly intuitive; delete, tag, view attachments and so on. And if you’ve used vi before, navigation isn’t that big a problem either. The biggest problem is the entry barrier; you need to create an rc file, set up other programs for sending and receiving and some own shortcuts, e.g. for using a spam filter. But I reckon it’s worth it. -- Gruß | Greetings | Qapla' I forbid any use of my email addresses with Facebook services. “I'm always right. This time I'm just even more right than usual.” – Linus Torvalds pgph9gVYhZysF.pgp Description: PGP signature
[gentoo-user] Re: CLI Torrent client(s)?
On Thu, Dec 29, 2011 at 18:07, Pandu Poluan pa...@poluan.info wrote: I'm wondering: what's your recommended CLI Torrent client(s)? And why? To be clearer: a curses-based Torrent client is preferred, but if the best recommended is a pure CLI one, then so be it. I am *not* going to install any GUI just to download torrents :-) Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
Re: [gentoo-user] The mess that's called KDEPIM 4.7 ...
On Thursday 29 Dec 2011 11:16:57 Frank Steinmetzger wrote: On Thu, Dec 29, 2011 at 12:43:39AM +, Mick wrote: For now I have masked KDEPIM 4.7 on all of my remaining boxen. This is too messy to have to fix more than once, if I can fix it at all that is! The only thing that's keeping me from mutt is the zillion shortcut commands that I need to learn ... old dog/new tricks and all that. Been there, done that, got the T-shirt. Many are fairly intuitive; delete, tag, view attachments and so on. And if you’ve used vi before, navigation isn’t that big a problem either. The biggest problem is the entry barrier; you need to create an rc file, set up other programs for sending and receiving and some own shortcuts, e.g. for using a spam filter. But I reckon it’s worth it. Thanks Frank for your words of encouragement! I'm inching closer to mutt by the day ... unless KDEPIM 4.7 has become usable by the time 4.4.11.1 is withdrawn from the main tree, I'm out of KDE. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: Packet sniffing broken recently?
On 12/29/2011 02:09 AM, Mick wrote: On Thursday 29 Dec 2011 07:10:19 Lubos Kolouch wrote: walt, Wed, 28 Dec 2011 17:01:59 -0800: Sometime in the last month or so (when I wasn't looking) my ~x86 and ~amd64 machines quit working when I try to run wireshark or tcpdump, etc, but I don't know exactly when or why. (My amd64 machine still sniffs packets normally.) I get this same error from any packet sniffing app: Can't open netlink socket 93:Protocol not supported Strace shows that this is the failing system call: socket(PF_NETLINK, SOCK_RAW, 12) = -1 EPROTONOSUPPORT (Protocol not supported) That makes me think of some missing kernel config that may have been added or modified in recent kernels, so I tried gentoo-sources-3.0.6 (same as my working amd64 machine) with no joy. Same error message. Have I missed some important gentoo bulletin about networking recently? Anyone have working packet sniffing on ~arch? Hi, If I remember correctly, I needed to set Networking support - Networking options - Network packet filtering framework (Netfilter) - Core Netfilter Configuration - Netfilter connection tracking support It has been a while though, so it may be another option in the netfilter config - just try it :) Lubos tcpdump-3.9.8-r1 and kernel-3.0.6-gentoo works fine here with no errors. Thanks guys. I enabled all of the netfilter stuff as modules, then ran tcpdump. Turns out that tcpdump loaded only the 'nfnetlink' module, which makes good sense given my original 'NETLINK' error message. This change appears to be somewhere in userland, though, not in the kernel per se. I copied the kernel .config file from my working amd64 machine to the 'broken' ~amd64 machine and recompiled the kernel. No improvement. I had to enable the nfnetlink module to make packet sniffing work again. I suppose one of the networking packages changed in a recent ~arch update.
Re: [gentoo-user] CLI Torrent client(s)?
On 29 December 2011, at 11:07, Pandu Poluan wrote: I'm wondering: what's your recommended CLI Torrent client(s)? And why? deluge. I believe that when I checked it was the only client that could be run in daemon and client mode. The CLI front end isn't perfect, but it's ok, especially once you get used to using the pageup / pagedwn keys (and working out the function-key equivalents on a cramped MacBook keyboard). `deluge-console` starts the curses interface and once it's running you can run commands like `info` to show the status of torrents (use `info abce123` to show the status of the torrent for which the hash begins with abc123). However you can also run `deluge-console info` at the command line and grep the results. To add parameters to commands applied from the bash prompt you need to quote them - e.g. `deluge-console 'config -s max_download_speed 150'` I mislaid my installation notes from a few months ago, but basically you emerge deluge and have to create for yourself a deluge user, with limited permissions and a home dir of something like /media/Torrents/. Edit /etc/conf.d/deluge to accommodate this user and start the daemon. Next you start the UI as the deluged user - I can't recall if this involved `sudo -u deluge deluge-console` or whether it involved giving the user a shell (afterwards return it to /bin/false) and `su - deluge`, but you will find a ~deluge/.config/deluge/ is created. Exit the client, stop the daemon and copy this and all its contents to your own homedir (~stroller/.config/deluge/), making sure you set ownership to yourself. Now when you start deluge-console as your own user (having restarted the deluged daemon) it will connect using the deluged credentials. Caveats that I can remember are that you add your own user to the deluge group, and you need to set permissions (umask?) on ~deluge so that files / directories are created 660 / 770 (or at least readable). When a torrent finishes you copy it from /media/Torrents/ to /media/Videos/ (or wherever) and then use the deluge UI to delete it; the files are then removed from from /media/Torrents/. When you add a torrent its torrent file is stored in as ~deluge/.config/deluge/state/abc123….torrent (where abc123… is the hash); deluge has a function that can monitor a directory for new .torrents, and I just made this directory ~deluge, then added the below to my .bashrc: function torrent { if [[ ! -n $1 ]] ; then echo Torrent what file? 2 ; return 1 ; fi while [ $1 ] ; do if [[ ! -e $1 ]] ; then echo $1 isn't a file! 2 ; return 1 ; fi if [ ! $(file -b $1) == 'BitTorrent file' ] then echo $1 appears not to be a BitTorrent file! 2 ; return 1 ; fi chmod 666 $1 mv $1 ~deluge/${1##*/}.torrent shift ; done ; return 0 ; } These permissions allow deluge to keep its homedir clean - it can delete files belonging to you, and create copies in its state folder. Alternatively you could share the folder over Samba and ensure the permissions that way. You ask specifically for a CLI client, but the gtk front end is really pretty acceptable, and having already copied the .config/deluge/ stuff you can use it over ssh X11 on your Apple Mac. The first time you might need to go into the app's prefs, enable show remote servers and connect using the new button that appears in the toolbar. You can install the scheduling plugin using the gtk client and arrange for your downloads to only run at offpeak times; once this is saved you don't need to use the gtk client again. There's a webinterface; it's a bit shit (in 1.3.2, I haven't tried it in 1.3.3; I think some improvements are supposed to be coming) but it's ok. I think I've used Enhanced CTorrent in the past on an old system - it seemed to work ok but I think it has some flaws; it's been at least a couple of years so I don't remember the details. I think it's rtorrent that everyone raves about as the best command-line client, but IIRC you fundamentally have to run it inside a tmux or screen session, and thus you can't have it initiated at boot (not reliably, at least); it also doesn't have a separate daemon, and IMO this is just iffy. On a headless box you're going to have to ssh in as the rtorrent user, or run it as you and leave your files and privileges exposed. Yeah, as far as I can see, most authors of BitTorrent clients overlook best practices for security because it isn't a real service or, uh, no-one's actually looked for exploits yet. Not that they've disclosed publicly, anyway. deluge was the only client I could find that addressed this security issue properly, was well enough supported and which had a good selection of clients. I did look at, and try, Transmission; I can't recall why I rejected it. Stroller.
[gentoo-user] Re: CLI Torrent client(s)?
On Thu, 29 Dec 2011 18:07:10 +0700, Pandu Poluan wrote: I'm wondering: what's your recommended CLI Torrent client(s)? And why? deluge has explicit separation between server and clients, so whether one uses the web, remote-GUI or cli simply becomes a matter of choice. Most of the time I use the remote GUI from my Windows laptop to control the server on my Linux box, but occasionally I also use the server-local cli directly. It's not super-feature-rich, but has shell-like completion and does what one would expect. Very happy. This model is different (and IMHO much better) from many other cli torrent clients which require you to keep the shell open, or use screen. -h
Re: [gentoo-user] CLI Torrent client(s)?
any of this torrents has support to RSS rules like utorrent? Érico V. Porto On Thu, Dec 29, 2011 at 1:58 PM, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 29 Dec 2011 13:33:02 +, Stroller wrote: I'm wondering: what's your recommended CLI Torrent client(s)? And why? deluge. I believe that when I checked it was the only client that could be run in daemon and client mode. Transmission also runs as a client/server model. There are various frontends: text, web, Qt and Gtk, which can connect to a local or remote server. I used to used Deluge but switched to Transmission a couple of years ago. -- Neil Bothwick If you shoot a mime, should you use a silencer?
Re: [gentoo-user] CLI Torrent client(s)?
On Thu, Dec 29, 2011 at 5:07 AM, Pandu Poluan pa...@poluan.info wrote: I'm wondering: what's your recommended CLI Torrent client(s)? And why? The only one I've used is bittornado, a few years ago. I have nothing special to say about it other than it worked properly.
Re: [gentoo-user] Re: CLI Torrent client(s)?
On Thu, Dec 29, 2011 at 07:25:22PM +0700, Pandu Poluan wrote: On Thu, Dec 29, 2011 at 18:07, Pandu Poluan pa...@poluan.info wrote: I'm wondering: what's your recommended CLI Torrent client(s)? And why? To be clearer: a curses-based Torrent client is preferred, but if the best recommended is a pure CLI one, then so be it. I am *not* going to install any GUI just to download torrents :-) Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan I prefer rtorrent and consider it the best GNU/Linux torrent client available. It's fast, easily configured, and has lots of room to customize it to work the way you want. -- t: https://www.twitter.com/mikankun b: http://mikankun.wordpress.com signature.asc Description: Digital signature
Re: [gentoo-user] Re: CLI Torrent client(s)?
On Thu, Dec 29, 2011 at 07:25:22PM +0700, Pandu Poluan wrote: On Thu, Dec 29, 2011 at 18:07, Pandu Poluan pa...@poluan.info wrote: I'm wondering: what's your recommended CLI Torrent client(s)? And why? To be clearer: a curses-based Torrent client is preferred, but if the best recommended is a pure CLI one, then so be it. I am *not* going to install any GUI just to download torrents :-) I haven’t used it yet as I rarely use torrent at all, but elinks, being a curses-based web browser, has torrent support. I imagine it shows torrents in its download manager. -- Gruß | Greetings | Qapla' I forbid any use of my email addresses with Facebook services. The circle is the parallel to the dot. pgpddLUTBUyOG.pgp Description: PGP signature
Re: [gentoo-user] Re: CLI Torrent client(s)?
Pandu Poluan pa...@poluan.info wrote: On Thu, Dec 29, 2011 at 18:07, Pandu Poluan pa...@poluan.info wrote: I'm wondering: what's your recommended CLI Torrent client(s)? And why? To be clearer: a curses-based Torrent client is preferred, but if the best recommended is a pure CLI one, then so be it. I am *not* going to install any GUI just to download torrents :-) Rtorrent seems pretty good to me and is quite flexible. I is ncurses based. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] crossdev avr compile failing on crtm328p.o
On Sun, 08 May 2011 11:40:58 +0800 William Kenworthy wrote: ...snip... oh, and I should add that the above make.conf entries exist and are correct - but if I copy crtm328p.o from /usr/avr/lib/avr5 to /usr/avr/lib it all works fine. So while it now works, its ot fixed :) I have decided to emerge -ep world after doing the python update - and see what that fixes/breaks! BillK Hello Bill, I encountered the same toolchain problem for an Open-USB-IO board, which also uses an ATmega32 microcontroller. In my case it was avr5/crtm32.o that wasn't being found. Experimentation found that crtm32.o is found if either of the following symlinks is created ln -s /usr/avr/lib/avr5/crtm32.o /usr/avr/lib/crtm32.o ln -s /usr/avr/lib/avr5 /usr/avr/lib/avr/4.5.3 The 4.5.3 is the avr-gcc version I have. HTH, David
Re: [gentoo-user] Re: Build problems due to invalid libtool arguments
On Thu, Dec 29, 2011 at 15:56, Sebastian Beßler sebast...@darkmetatron.de wrote: On 27.12.2011 15:21, James wrote: env-update source /etc/profile etc-update eix-update Run it often and resync every 12 hours too. I thought you should only sync once every 24 hours to limit network costs and stress for the mirrors. From the motd of todays sync: Please note: common gentoo-netiquette says you should not sync more than once a day. Users who abuse the rsync.gentoo.org rotation may be added to a temporary ban list. AFAIK, that limitation is enforced for rsync.gentoo.org only. I personally use a non *.gentoo.org servers for syncing. Much much MUCH faster for me, by a factor of 2 or 3. Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
Re: [gentoo-user] CLI Torrent client(s)?
Hello! On Thu, 29 Dec 2011 18:07:10 +0700 Pandu Poluan pa...@poluan.info wrote: I'm wondering: what's your recommended CLI Torrent client(s)? And why? I've been using Transmission for more than 3 years now, and mostly on very old and not powerful PCs. For example, it runs on my Pentium-I processor with 48 MB of RAM without problems. I even tried to run it on 32 MB of RAM and succeeded. It is the most lightweight torrent-client I know of. And what is also pleasant about Transmission is its client-daemon structure which lets you use the UI of your choice. For example, I use the GTK interface on my local machine and the Web-interface on the remote PC. Good luck! Vladimir. - v...@ukr.net
[gentoo-user] CLI Torrent client(s)?
I'm wondering: what's your recommended CLI Torrent client(s)? And why? Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
Re: [gentoo-user] The mess that's called KDEPIM 4.7 ...
On Thursday 29 Dec 2011 12:11:54 Mick wrote: Thanks Frank for your words of encouragement! I'm inching closer to mutt by the day ... unless KDEPIM 4.7 has become usable by the time 4.4.11.1 is withdrawn from the main tree, I'm out of KDE. Hang on in there for 4.8, people (or fanbois not sure) are saying good things about it. -- - Yohan Pereira A man can do as he will, but not will as he will - Schopenhauer
Re: [gentoo-user] black console w/ 3.2.0-rc7
Am 29.12.2011 16:32, schrieb Stefan G. Weichinger: Very likely a FAQ but I can't find it right now: wanted to try linux 3.2.0-rc7 (by emerging git-sources) ... used my old config and it built OK. It also boots OK but very soon it gets simply black, no console, no xdm. I am able to ssh into it, can't find anything obvious. framebuffer stuff? kernel-parameter nomodeset brought me a console ... no X yet. Digging further ...
[gentoo-user] Re: Packet sniffing broken recently?
On Thu, 29 Dec 2011 07:29:51 -0800, walt wrote: This change appears to be somewhere in userland, though, not in the kernel per se. I copied the kernel .config file from my working amd64 machine to the 'broken' ~amd64 machine and recompiled the kernel. No improvement. I had to enable the nfnetlink module to make packet sniffing work again. I suppose one of the networking packages changed in a recent ~arch update. Yup, this was libpcap moving to 1.2 recently. You can get the old behaviour back by downgrading to 1.1.x, though for me 1.2 also worked after building all the netfilter modules (default settings) and enabling linbl for libpcap. -h
Re: [gentoo-user] CLI Torrent client(s)?
On 29.12.2011 12:07, Pandu Poluan wrote: I'm wondering: what's your recommended CLI Torrent client(s)? And why? Rgds, I'm definitely a fan (and user) of deluge. It has nice plugins, and can receive torrents from rss-parser flexget, which is very nice for tv-shows - ezrss.it. But this was not meant to be the 3rd msg regarding deluge - I wanted to add: rtorrent - works very well and is curses based, but does lack a daemon-mode. Now there is a optional web-frontend: rutorrent. Bye, Daniel -- PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 signature.asc Description: OpenPGP digital signature
[gentoo-user] xscreensaver-5.15 doesn't find images
I tried updating to Xscreensaver 5.15 , but it fails to load images eg for the Jigsaw screensaver, using a default image instead. Going back to 5.14 solves the problem. Has anyone else seen this ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] The mess that's called KDEPIM 4.7 ...
On Thu, Dec 29, 2011 at 12:16:57PM +0100, Frank Steinmetzger wrote: On Thu, Dec 29, 2011 at 12:43:39AM +, Mick wrote: For now I have masked KDEPIM 4.7 on all of my remaining boxen. This is too messy to have to fix more than once, if I can fix it at all that is! The only thing that's keeping me from mutt is the zillion shortcut commands that I need to learn ... old dog/new tricks and all that. Been there, done that, got the T-shirt. Many are fairly intuitive; delete, tag, view attachments and so on. And if you’ve used vi before, navigation isn’t that big a problem either. The biggest problem is the entry barrier; you need to create an rc file, set up other programs for sending and receiving and some own shortcuts, e.g. for using a spam filter. But I reckon it’s worth it. -- Gruß | Greetings | Qapla' I forbid any use of my email addresses with Facebook services. “I'm always right. This time I'm just even more right than usual.” – Linus Torvalds I use mutt as an imap client to gmail. Gmail takes care of the filtering and spam. Setup takes minutes. Terry
Re: [gentoo-user] CLI Torrent client(s)?
On Thu, Dec 29, 2011 at 06:07:10PM +0700, Pandu Poluan wrote: I'm wondering: what's your recommended CLI Torrent client(s)? And why? Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan Rtorrent is not only a great cli torrent client, it's one of the best torrent clients, period. Large user base means you will find all you need to know on the web. Terry
[gentoo-user] To swap or not to swap? Is it really needed?
I've run my box with 2x2GB of RAM for a while, but a couple weeks ago one of my chips died, and now I'm stuck with 1x2GB. That's not that terrible, I'm using Gentoo all day, rarely switching to Windows 7 anyways, who really likes RAM. Anyway, for the last days, my machine has been really slow, with mouse lag, input delay, and other things. I imediately associated it to the lack of free RAM, but I always rushed to check the RAM usage with htop and it were never really high. So today I decided to turn my swap partition off. And the system is FLYING. I mean, it's pratically a new machine, now it's usable and reliable. I thought of falling back from KDE 4 to awesome (tried it earlier in an old notebook last year) given the memory footprint of KDE, but it seems that my hard disk was the culprit here. I've heard that Linux need a little swap partition, maybe just 512MB, for some tasks, but I'm not going to turn it on anytime soon. It's a desktop machine, 24/7, and I couldn't care less about suspend-to-disk. So, should I ban swap partitions entirely from my life? Is that ok?
Re: [gentoo-user] To swap or not to swap? Is it really needed?
On Thu, 29 Dec 2011 20:34:16 -0200 Claudio Roberto França Pereira spide...@gmail.com wrote: I've run my box with 2x2GB of RAM for a while, but a couple weeks ago one of my chips died, and now I'm stuck with 1x2GB. That's not that terrible, I'm using Gentoo all day, rarely switching to Windows 7 anyways, who really likes RAM. Anyway, for the last days, my machine has been really slow, with mouse lag, input delay, and other things. I imediately associated it to the lack of free RAM, but I always rushed to check the RAM usage with htop and it were never really high. So today I decided to turn my swap partition off. And the system is FLYING. I mean, it's pratically a new machine, now it's usable and reliable. I thought of falling back from KDE 4 to awesome (tried it earlier in an old notebook last year) given the memory footprint of KDE, but it seems that my hard disk was the culprit here. I've heard that Linux need a little swap partition, maybe just 512MB, for some tasks, but I'm not going to turn it on anytime soon. It's a desktop machine, 24/7, and I couldn't care less about suspend-to-disk. So, should I ban swap partitions entirely from my life? Is that ok? This question comes up about every three months or so, and the end result is always the same: the same people chip in with the same answers and we all come to the same conclusion. You should check the Gentoo archives for the most recent gigantic thread on this, that one was particularly illuminating. But to summarize: You haven't given any real info for people to answer your actual question. To do that, we need to know what exactly your machine is doing and why, please what your swap settings are. Generally, the kernel is happiest with a little bit of swap (512 MB is a very much more than a little) and you can get by with that if your apps fit into ram. KDE is reasonably smart with ram usage, if you only have 2G it will try fit into that. If you have 22G it will try to use lots. If your machine was really slow, it was likely thrashing. But no-one can say for sure - what was your disk doing at the time? What did vmstat say was going on? To summarize a summary, the answer to can I ban swap? is maybe -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] To swap or not to swap? Is it really needed?
Claudio Roberto França Pereira wrote: I've run my box with 2x2GB of RAM for a while, but a couple weeks ago one of my chips died, and now I'm stuck with 1x2GB. That's not that terrible, I'm using Gentoo all day, rarely switching to Windows 7 anyways, who really likes RAM. Anyway, for the last days, my machine has been really slow, with mouse lag, input delay, and other things. I imediately associated it to the lack of free RAM, but I always rushed to check the RAM usage with htop and it were never really high. So today I decided to turn my swap partition off. And the system is FLYING. I mean, it's pratically a new machine, now it's usable and reliable. I thought of falling back from KDE 4 to awesome (tried it earlier in an old notebook last year) given the memory footprint of KDE, but it seems that my hard disk was the culprit here. I've heard that Linux need a little swap partition, maybe just 512MB, for some tasks, but I'm not going to turn it on anytime soon. It's a desktop machine, 24/7, and I couldn't care less about suspend-to-disk. So, should I ban swap partitions entirely from my life? Is that ok? You may want to adjust how swap is being used. I have swap but only want it used to prevent a lockup or some other bad situation. I have this in /etc/sysctl.conf: vm.swappiness = 20 With a setting of 20, it will use swap but only when it is out of ram. I have 16Gbs of ram in my rig and I wouldn't run it without at least a little swap. Why? Well not long ago I did a update. One of the KDE programs got updated and I was still logged in. It wasn't happy and starting eating ram like a cookie monster. That one program was using over 14Gbs and growing. I was able to kill it before things got to bad but even with 16Gbs of ram and swap, it was dog slow. Another minute or two, it may have locked me out. I would recommend having swap and just setting it to use it when ram fills up. I would also replace that stick when I could too. ;-) Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] To swap or not to swap? Is it really needed?
Sorry for being so general, for not giving any real info. I'm new to system monitoring, I just learnt about iostat and swapon -s, now about vmstat. I mainly tried to catch anything unusual in top/htop. Trying to be more specifically, my system is a core 2 duo, dual core 3ghz processor, 4gb of ram (now 2gb), ATI radeon HD4850 with 512mb of vram. I used to play a lot on this box, now a lot less. On Gentoo, when I play is some browser game or cowsay (it's in games-misc!), not anything relevant. I'm using radeon open source drivers, by the way. My main use, currently, is web surfing, firefox with LOTS of tabs, email, social networks and random browsing. Firefox alone uses lots of ram, almost always it's using more than a half GB, sometimes it passes the 1gb mark. I also do Qt develop on this, but nothing heavy. No virtual machines, no 3d rendering, no heavy processing, no hibernation. So, I'm just a basic common web surfer. In this case, can I say it's at least SAFE to disable swap? I'll look into last month's thread on this.
Re: [gentoo-user] To swap or not to swap? Is it really needed?
On Thu, Dec 29, 2011 at 5:11 PM, Claudio Roberto França Pereira spide...@gmail.com wrote: Sorry for being so general, for not giving any real info. I'm new to system monitoring, I just learnt about iostat and swapon -s, now about vmstat. I mainly tried to catch anything unusual in top/htop. Trying to be more specifically, my system is a core 2 duo, dual core 3ghz processor, 4gb of ram (now 2gb), ATI radeon HD4850 with 512mb of vram. I used to play a lot on this box, now a lot less. On Gentoo, when I play is some browser game or cowsay (it's in games-misc!), not anything relevant. I'm using radeon open source drivers, by the way. My main use, currently, is web surfing, firefox with LOTS of tabs, email, social networks and random browsing. Firefox alone uses lots of ram, almost always it's using more than a half GB, sometimes it passes the 1gb mark. I also do Qt develop on this, but nothing heavy. No virtual machines, no 3d rendering, no heavy processing, no hibernation. So, I'm just a basic common web surfer. In this case, can I say it's at least SAFE to disable swap? I'll look into last month's thread on this. Safe to disable, sure. swapoff your device(s) and see how it goes. If you start to get out-of-memory errors, you know you've made the wrong decision. :) I think general opinion is that swap is slow and kills performance, you want to avoid it happening if at all possible. If you have enough RAM to avoid using it entirely, great. Tuning the sysctl settings like Dale said, while still having swap partition just in case is the way I'd go. If the system is swapping all the time, maybe you just need more RAM. While you're looking at recent threads, check the one about ZRAM also. It is a good alternative to (or complement to) disk-based swap, if your normal swap usage is less than the amount of ZRAM you've allocated. Some things, like suspend-to-disk, might require a swap device on-disk. I have never used that feature myself, so I'm not familiar with the details.
Re: [gentoo-user] To swap or not to swap? Is it really needed?
ZRAM is a compressed ramdisk for swap, right? I'm really not interested currently. My next system will have 16gb of ram, and I'll create an 8gb ramdisk on it to increase emerge performance. Other than that, I'm pretty happy with my system performance, disabling swap and compositing effects (remember, open source radeon drivers, I might try fglrx again but I really liked KMS) did the trick.
[gentoo-user] Re: To swap or not to swap? Is it really needed?
On 12/30/2011 12:34 AM, Claudio Roberto França Pereira wrote: Anyway, for the last days, my machine has been really slow, with mouse lag, input delay, and other things. I imediately associated it to the lack of free RAM, but I always rushed to check the RAM usage with htop and it were never really high. So today I decided to turn my swap partition off. And the system is FLYING. I mean, it's pratically a new machine, now it's usable and reliable. [...] Usable, yes. Reliable, no ;-) Once RAM runs out, random processes get killed. Possible data loss due to that. So, should I ban swap partitions entirely from my life? Is that ok? No. You simply tweak swappiness. In your /etc/sysctl.conf, add this: vm.swappiness = 20 The default value is 60. Which makes the system use swap very early on. With 20, you pretty much will swap only when really needed. I've read somewhere that values lower than 20 are not recommended, but I don't remember where or why.
Re: [gentoo-user] To swap or not to swap? Is it really needed?
On Thu, Dec 29, 2011 at 9:23 PM, Claudio Roberto França Pereira spide...@gmail.com wrote: ZRAM is a compressed ramdisk for swap, right? I'm really not interested currently. My next system will have 16gb of ram, and I'll create an 8gb ramdisk on it to increase emerge performance. Other than that, I'm pretty happy with my system performance, disabling swap and compositing effects (remember, open source radeon drivers, I might try fglrx again but I really liked KMS) did the trick. 8GB isn't enough for some packages. Though putting it on top of zram might work. I don't know how you'd calculate the free space, though, and portage would check in advance. -- :wq
Re: [gentoo-user] To swap or not to swap? Is it really needed?
Michael Mol wrote: On Thu, Dec 29, 2011 at 9:23 PM, Claudio Roberto França Pereira spide...@gmail.com wrote: ZRAM is a compressed ramdisk for swap, right? I'm really not interested currently. My next system will have 16gb of ram, and I'll create an 8gb ramdisk on it to increase emerge performance. Other than that, I'm pretty happy with my system performance, disabling swap and compositing effects (remember, open source radeon drivers, I might try fglrx again but I really liked KMS) did the trick. 8GB isn't enough for some packages. Though putting it on top of zram might work. I don't know how you'd calculate the free space, though, and portage would check in advance. I have portages work directory on tmpfs and it works fine. I don't have it set to a specific amount so it uses whatever it needs. It even works fine with LOo. I have 16Gbs in all but it rarely uses more than 4Gbs. Of course, I don't just sit here and watch it either. I start my updates and usually go to bed. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n