Re: [gentoo-user] Yahoo and strange traffic.
Adam Carter wrote: I just did a killall kopete and it did stop. Is there a way to see what it is sending/receiving? I'm talking like is it a jpeg, some other file or something else? rix portage # nmap -p 5050 -sV cs210p2.msg.sp1.yahoo.com http://cs210p2.msg.sp1.yahoo.com SNIP Well its obviously HTTP, NFI why NMAP cant see that. So you could capture in wireshark, then docode port 5050 as HTTP. Is this easy to do? I have no idea where to start except that wireshark is installed. Dale :-) :-)
Re: [gentoo-user] Yahoo and strange traffic.
Is this easy to do? I have no idea where to start except that wireshark is installed. Yep, start the capture with Capture - Interfaces and click on the start button next to the correct interface, then right click on one of the packets that is to the yahoo box and choose Decode As set the port and protocol then apply. You'll need to understand the semantics of HTTP for it to be of much use tho.
Re: [gentoo-user] /var/log/messages is huge
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17 août 2010, at 02:58, Adam Carter wrote: Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete Aug 16 20:22:59 host kernel: usb-storage: Bulk command transfer result=0 Aug 16 20:22:59 host kernel: usb-storage: Attempting to get CSW... Aug 16 20:22:59 host kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes Aug 16 20:22:59 host kernel: usb-storage: Status code 0; transferred 13/13 Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete Aug 16 20:22:59 host kernel: usb-storage: Bulk status result = 0 Aug 16 20:22:59 host kernel: usb-storage: Bulk Status S 0x53425355 T 0x5c33 R 0 Stat 0x0 Aug 16 20:22:59 host kernel: usb-storage: scsi cmd done, result=0x0 Aug 16 20:22:59 host kernel: usb-storage: *** thread sleeping. What's going on here? Why all these usb-storage messages? You've probably turned on CONFIG_USB_STORAGE_DEBUG when you configured the kernel Yeah and not only it makes your logs huge, but it also slows down your box using your CPU to flood while doing USB transfer. On my old box, with CONFIG_USB_STORAGE_DEBUG set, syslog-ng eats 25% of my CPU when doing ntfs3g. Totally something you want to turn off, unless you have serious issues with USB. - Florian / For security reasons, all text in this mail is double-rot13 encrypted. / -BEGIN PGP SIGNATURE- iQEcBAEBAgAGBQJMai/3AAoJEI54KfPdrpQaiwIH/RC+6gjvSLzTbZE42A+GZWIb jHljx/e/d9vCmV/65QxrhCUaFfUR4SlTCBvnmxBQxohDDtSzE6S6JbTxzk22obn+ tqqTOwb62HFBOs4TVNyPfNsjlhR+7BAcmRcff7d6XOJiiiak3gTXe8cnu2hnaAma 3Mq4GSE8LvokTaFvxCx0R9/NBkm7olZAl8UT73ibbIwxSfW+nkl2qlTv2xIVLMd2 u7nLycPd26cUHXFTH/FYFERg9tfXQ+VeKc3e5IoQIS7gkIQGLdUFOrzI2UkzhwrV RbHBFn2BM7o3i40ImzIqHTEBdDT4AmZ2skKbhQy/U6W1xhczqW6XBQ5SLm4buIY= =wVf4 -END PGP SIGNATURE-
Re: [gentoo-user] emerge 32bits on 64bits platform
2010/8/16 Stéphane Guedon steph...@22decembre.eu: I have read several things about this, but never really solved ! Can I emerge a 32bits software on 64bits platform with a multilib profile ? All my web browsers (konqueror, opera, chromium, firefox) are 64bits, whereas flash player exist currently in 32bits. So, I need to have 32bits browser ! Can I emerge ? There's a multilib overlay that will allow you to build 32 bits software on a 64 bits OS. But it's completely unsupported, don't expect it to work flawlessly. It's been long since the last time I tried it so I don't know what the current status of things is. -- Jesús Guerrero Botella
Re: [gentoo-user] emerge 32bits on 64bits platform
On Tuesday 17 August 2010 09:24:42 Jesús J. Guerrero Botella wrote: 2010/8/16 Stéphane Guedon steph...@22decembre.eu: I have read several things about this, but never really solved ! Can I emerge a 32bits software on 64bits platform with a multilib profile ? All my web browsers (konqueror, opera, chromium, firefox) are 64bits, whereas flash player exist currently in 32bits. So, I need to have 32bits browser ! Can I emerge ? There's a multilib overlay that will allow you to build 32 bits software on a 64 bits OS. But it's completely unsupported, don't expect it to work flawlessly. It's been long since the last time I tried it so I don't know what the current status of things is. Or he could just ignore the warnings about 32/64 bit issues n the ebuild and use nspluginwrapper. That's what I use on latest Firefox, Konqueror, Chrome, Rekons and Arora. It works everywhere but flash does use excessive CPU, but that is a characteristic of flash, not of the wrapper -- alan dot mckinnon at gmail dot com
[gentoo-user] glibc-2.12.1
Hi, Anyone successfully built and using glibc-2.12.1 yet? I see the tree just pushed an update down from 2.11.2 to 2.12.1, and downgrading that package is decidedly non-trivial. Only comment I can find at this early stage is flameeye's blog, and this makes me quadruple nervous: And if you say that “the new GLIBC works for me”, are you saying that the package itself builds or if it’s actually integrated correctly? Because, you know, I used to rebuild the whole system whenever I made a change to basic system packages when I maintained Gentoo/FreeBSD, and saying that it’s ready for ~arch when you haven’t even rebuilt the system (and you haven’t, or you would have noticed that m4 was broken) is definitely something I’d define as reckless and I’d venture to say you’re not good material to work on the quality assurance status. “correctness” in the case of the system C library would be “it a t least leaves the system set building and running”; glibc 2.12 does not work this way. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Still Struggling With Wireless
On Mon, Aug 16, 2010 at 9:45 PM, CJoeB colleen.bea...@gmail.com wrote: Hi, I'm biting the bullet here and asking for help. I would suggest using Wicd [0] and disable all !net.* rc scripts depending on the version of baselayout /openrc you have the file to edit [1] will change. [0] http://en.gentoo-wiki.com/wiki/Wicd [1] http://gentoo-pr.org/node/17 -- David Abbott (dabbott)
[gentoo-user] regarding Participation in Gentoo Linux
Hi, I would like to participate in the Gentoo Linux.Please help and suggest how can I become a member for Gentoo Linux.I have gone through the website of gentoo following the link :http://www.gentoo.org/main/en/contact.xml#intro .Please help and reply with some suggestions.I am really interested to participate and want to enhance my skills as a developer in Linux. Appreciate your help for rest of my life. Thamks, Arjun. Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
Re: [gentoo-user] glibc-2.12.1
I have glibc-2.12.1 running on two ~x86 systems with no problems so far. Hi, Anyone successfully built and using glibc-2.12.1 yet? I see the tree just pushed an update down from 2.11.2 to 2.12.1, and downgrading that package is decidedly non-trivial. Only comment I can find at this early stage is flameeye's blog, and this makes me quadruple nervous: And if you say that “the new GLIBC works for me”, are you saying that the package itself builds or if it’s actually integrated correctly? Because, you know, I used to rebuild the whole system whenever I made a change to basic system packages when I maintained Gentoo/FreeBSD, and saying that it’s ready for ~arch when you haven’t even rebuilt the system (and you haven’t, or you would have noticed that m4 was broken) is definitely something I’d define as reckless and I’d venture to say you’re not good material to work on the quality assurance status. “correctness” in the case of the system C library would be “it a t least leaves the system set building and running”; glibc 2.12 does not work this way.
[gentoo-user] [OT] MonoDevelop + Moonlight
Hello all Can anyone help me with this combo? I've unmasked MonoDevelop from Portage and installed it, and it runs, but when I tell it to make a test Moonlight app and try to build/run it, it errors with Framework 'Moonlight / Silverlight 2.0' not installed, and if I expand all the References in the Solution section, I get a bunch of Assembly not available for Moonlight / Silverlight 2.0 (in Mono 2.6.4) messages, one under each reference. Any ideas how to fix this? I have the Moonlight plug-in installed from http://www.go-mono.com/moonlight/ (the one in Portage is still on v1, while v2.3 is out), and it works on a Silverlight app I wrote using Visual Studio Silverlight in Windows. Do I need the Moonlight Portage package as well? I would have thought that whatever it did, the plugin I downloaded and installed would have done the same; but maybe it's not in a system-wide location, and needs to be? Or maybe I need to install a Moonlight SDK? I tried to find one of these, but from what I gathered, this should have been bundled together with the MonoDevelop sources, and I assume would have gotten built along with it? The availability of the choice Moonlight application in MonoDevelop leads me to believe that it's built whatever it needs, but I'm missing something. I've also tried loading the VS 2008 solution I wrote (and successfully built, and can successfully run on Gentoo/Firefox) into MonoDevelop, and then I get the same errors I got before. Documentation on the Mono, Moonlight and MonoDevelop pages is pretty sparse when it comes to this combo; I'm getting the impression what I'd like to do is very much under development, and perhaps just not ready yet? Or am I missing something? Any help would be appreciated. Jake Moe PS: I've signed up on the Moonlight mailing list as well, but before I posted there, I thought I'd check to see if maybe this was a Gentoo-specific thing. If not, I'll ask there.
Re: [gentoo-user] regarding Participation in Gentoo Linux
On 08/17/10 19:27, arjun.sha...@wipro.com wrote: Hi, I would like to participate in the Gentoo Linux.Please help and suggest how can I become a member for Gentoo Linux.I have gone through the website of gentoo following the link :http://www.gentoo.org/main/en/contact.xml#intro .Please help and reply with some suggestions.I am really interested to participate and want to enhance my skills as a developer in Linux. Appreciate your help for rest of my life. Thamks, Arjun. Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com I would suggest starting with the Become a Developer link on the main Gentoo site: http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml. Jake Moe
RE: [gentoo-user] regarding Participation in Gentoo Linux
Hi, I have already followed below link,but now I need to know how can I proceed further.How can i have a mentor and start the further process. Thanks, Arjun. From: Jake Moe [mailto:jakesaddr...@gmail.com] Sent: Tue 17/08/2010 3:40 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] regarding Participation in Gentoo Linux On 08/17/10 19:27, arjun.sha...@wipro.com wrote: Hi, I would like to participate in the Gentoo Linux.Please help and suggest how can I become a member for Gentoo Linux.I have gone through the website of gentoo following the link :http://www.gentoo.org/main/en/contact.xml#intro .Please help and reply with some suggestions.I am really interested to participate and want to enhance my skills as a developer in Linux. Appreciate your help for rest of my life. Thamks, Arjun. Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com I would suggest starting with the Become a Developer link on the main Gentoo site: http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml. Jake Moe Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com winmail.dat
Re: [gentoo-user] Problem with revdep-rebuild
On 08/16/10 19:47, Massimiliano Ziccardi wrote: Some new people think it knows where things come from even if it is not installed. It can't do that so I posted that in case the person didn't know. Well, I'm not very expert about gentoo... I though it would query some kind of database to ask what package contains a certain file Now I know it works differently... It would be neat if it could do that tho. Just have no idea how it could. ;-) I think querying an online database could be a nice solution. Thanks! On Mon, Aug 16, 2010 at 11:38 AM, Dale rdalek1...@gmail.com wrote: Peter Humphrey wrote: On Monday 16 August 2010 09:13:29 Dale wrote: Massimiliano Ziccardi wrote: # equery belongs /usr/lib/libxfce4util.lahttp://libxfce4util.la [ Searching for file(s) /usr/lib/libxfce4util.la http://libxfce4util.la in *... ] # Equery doesn't give any results because it is not installed. If it weren't installed it wouldn't be able to announce what it was searching for and where :-) Some new people think it knows where things come from even if it is not installed. It can't do that so I posted that in case the person didn't know. Then I posted a way to find out even if a package is not installed. I didn't know about that website until someone pointed it out to me many ages ago. It would be neat if it could do that tho. Just have no idea how it could. ;-) Dale :-) :-) Yeah, sorry, I only included that equery belongs bit last time to show that it was installed on my system, and that the libxfce4util package installed it. I didn't mean to say you should look for it there; it's not going to find it, as has been pointed out before. My only point was that emerging libxfce4util *should* have installed that file; since it didn't, I would assume you need to look at that emerge process to find out why; either it's not building it for some reason, or not installing it after it's been built. Jake Moe
Re: [gentoo-user] Yahoo and strange traffic.
Adam Carter wrote: Is this easy to do? I have no idea where to start except that wireshark is installed. Yep, start the capture with Capture - Interfaces and click on the start button next to the correct interface, then right click on one of the packets that is to the yahoo box and choose Decode As set the port and protocol then apply. You'll need to understand the semantics of HTTP for it to be of much use tho. You had me until the last part. No semantics here. lol May see if I can post a little and see if anyone can figure out what the heck it is doing. I'm thinking some crazy bug or something. Maybe checking for updates not realizing it's Kopete instead of a Yahoo program. Thanks. Post back what I find when it does it again. Dale :-) :-)
Re: [gentoo-user] Gentoo on 8GB SSD
2010/8/17 Hal Martin hal.mar...@gmail.com: A friend recently gave me a SimpleTech Zeus 8GB SSD. I'd like to replace my hard drive with this SSD for the lower latency and faster access times it will provide. Currently my / partition is 24GB, 20GB of which is in use. Using xdiskusage I see that /usr/portage and /var/tmp are using approximately 10GB, which is well over the 7.5GB I have on the SSD. I am new in Gentoo. I installed Gnome. Portage: 1,6 GB + Rest: 5,5 GB = 7,1 GB Maybe you just need to do some cleanup of your outdated sources? Regards Al
Re: [gentoo-user] Still Struggling With Wireless
On 08/17/10 11:55, Adam Carter wrote: Hi, I'm biting the bullet here and asking for help. Yes! I've posted before. And before anyone asks, I have read the responses to my previous posts which helped little. I have read the documentation and the wikis - ad nauseum. I'm still having problems with wireless. Things were so much easier when I could just use the ipw3945 driver. However, I can't build that because it requires TKIP and CCMP, neither of which I can find settings for in my active kernel, 2.6.34-gentoo-r1. In one of the responses to my previous posts someone told me about the / trick while in the kernel configuration to bring up a search menu. I did this and the only reference I could find for TKIP was one related to debugging. I use wpa_supplicant to provide the wifi crypto. So, I'm left with trying to use the iwl3945 driver in the kernel. I followed the wiki for setting this up and thought I had succeeded. I got to the point where I was told to type the following: ifconfig wlan0 up (this does activate the wireless led on my computer) iwlist wlan0 scan iwconfig wlan0 essid network name (where the network name is the essid that has been set) When I got this to work, I thought I was home free despite the kludgy way of getting wireless working. However, I rebooted and now, when I type iwlist wlan0 scan I get told that scanning is not supported. Yes, I have iwl3945-ucode installed and yes, it was recompiled after the kernel was rebuilt. I have no idea what I'm doing wrong. Forgetting to post up your configs :) eg /etc/conf.d/net etc I've used the iwl3945 on a few HP laptops without much problem. The few problems I had were related to switching the wireless on and off; I'd have to rmmod and modprobe kernel modules to get it working again. Does ifconfig list the interface? If not, what does ifconfig wlan0 up do? What about the output of iwconfig? And going for the obvious here, any chance that the wireless is turned off? Jake Moe
Re: [gentoo-user] Gentoo on 8GB SSD
I am new in Gentoo. I installed Gnome. Portage: 1,6 GB + Rest: 5,5 GB = 7,1 GB Sorry: Portage: 1,6 GB + Rest: 3,5 GB = 5,1 GB
Re: [gentoo-user] /var/log/messages is huge
On 08/17/2010 02:45 AM, Florian CROUZAT wrote: On 17 août 2010, at 02:58, Adam Carter wrote: Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete Aug 16 20:22:59 host kernel: usb-storage: Bulk command transfer result=0 Aug 16 20:22:59 host kernel: usb-storage: Attempting to get CSW... Aug 16 20:22:59 host kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes Aug 16 20:22:59 host kernel: usb-storage: Status code 0; transferred 13/13 Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete Aug 16 20:22:59 host kernel: usb-storage: Bulk status result = 0 Aug 16 20:22:59 host kernel: usb-storage: Bulk Status S 0x53425355 T 0x5c33 R 0 Stat 0x0 Aug 16 20:22:59 host kernel: usb-storage: scsi cmd done, result=0x0 Aug 16 20:22:59 host kernel: usb-storage: *** thread sleeping. What's going on here? Why all these usb-storage messages? You've probably turned on CONFIG_USB_STORAGE_DEBUG when you configured the kernel Yeah and not only it makes your logs huge, but it also slows down your box using your CPU to flood while doing USB transfer. On my old box, with CONFIG_USB_STORAGE_DEBUG set, syslog-ng eats 25% of my CPU when doing ntfs3g. Totally something you want to turn off, unless you have serious issues with USB. Florian / For security reasons, all text in this mail is double-rot13 encrypted. / Yes, I have it turned on in the kernel. # grep CONFIG_USB_STORAGE_DEBUG /etc/kernels/kernel-config-x86_64-2.6.32-gentoo-r7 CONFIG_USB_STORAGE_DEBUG=y I don't understand why it just started to be a problem. I've had this kernel for almost four months. Shouldn't the log's be rotated and purged? I've been using the default kernel config from the install. I'll make a new kernel with it turned off. Thanks, dhk
Re: [gentoo-user] Still Struggling With Wireless
I would suggest using Wicd [0] and disable all !net.* rc scripts AFAIK Wicd is just a graphical frontend to wpa_supplicant. So I would recommend to try wpa_supplicant on the command line to get full feedback. And once the card is running you maybe don't really need a graphical frontend at all. Al
Re: [gentoo-user] Still Struggling With Wireless
@ CJoeB It can be really hard. I needed days. There is more than one difficulty. For example I needed to set my laptop type in the kernel (asus_laptop). Without that, the card is not turned on at all, even if the card driver itself is loaded. Then you need to compile the password for wpa_supplicant with wpa_password. It doesn´t take the plain passphrase. So don´t be afraid to ask. wlan still is really hard stuff. Regards Al 2010/8/17 CJoeB colleen.bea...@gmail.com: Hi, I'm biting the bullet here and asking for help. Yes! I've posted before. And before anyone asks, I have read the responses to my previous posts which helped little. I have read the documentation and the wikis - ad nauseum. I'm still having problems with wireless. Things were so much easier when I could just use the ipw3945 driver. However, I can't build that because it requires TKIP and CCMP, neither of which I can find settings for in my active kernel, 2.6.34-gentoo-r1. In one of the responses to my previous posts someone told me about the / trick while in the kernel configuration to bring up a search menu. I did this and the only reference I could find for TKIP was one related to debugging. So, I'm left with trying to use the iwl3945 driver in the kernel. I followed the wiki for setting this up and thought I had succeeded. I got to the point where I was told to type the following: ifconfig wlan0 up (this does activate the wireless led on my computer) iwlist wlan0 scan iwconfig wlan0 essid network name (where the network name is the essid that has been set) When I got this to work, I thought I was home free despite the kludgy way of getting wireless working. However, I rebooted and now, when I type iwlist wlan0 scan I get told that scanning is not supported. Yes, I have iwl3945-ucode installed and yes, it was recompiled after the kernel was rebuilt. I have no idea what I'm doing wrong. Help would be appreciated. Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] Yahoo and strange traffic.
On 08/17/10 20:23, Dale wrote: Adam Carter wrote: Is this easy to do? I have no idea where to start except that wireshark is installed. Yep, start the capture with Capture - Interfaces and click on the start button next to the correct interface, then right click on one of the packets that is to the yahoo box and choose Decode As set the port and protocol then apply. You'll need to understand the semantics of HTTP for it to be of much use tho. You had me until the last part. No semantics here. lol May see if I can post a little and see if anyone can figure out what the heck it is doing. I'm thinking some crazy bug or something. Maybe checking for updates not realizing it's Kopete instead of a Yahoo program. Thanks. Post back what I find when it does it again. Dale :-) :-) If you do try to send it back to us, you might want to limit what it's capturing; Wireshark can get a *lot* of data quickly. For instance, if you know it's only communicating with a few servers, after you click on Capture -- Interfaces, click on the Options button, and in the Capture Filter, put host 98.136.48.110 or host 98.136.42.25, which are the two servers you listed at the beginning of this thread (cs210p2.msg.sp1.yahoo.com and rdis.msg.vip.sp1.yahoo.com). Or you could assume that Yahoo are using the 98.136.0.0 network only for this sort of thing, and use a filter of net 98.136.0.0/16, which would grab all traffic to or from any host with an IP starting with 98.136.x.x. Jake Moe
Re: [gentoo-user] /var/log/messages is huge
dhk writes: I don't understand why it just started to be a problem. I've had this kernel for almost four months. Shouldn't the log's be rotated and purged? Depends on your system logger. Metalog does this automatically, but for others you probably have to install logrotate. Wonko
Re: [gentoo-user] Still Struggling With Wireless
When I got this to work, I thought I was home free despite the kludgy way of getting wireless working. However, I rebooted and now, when I type iwlist wlan0 scan I get told that scanning is not supported. Yes, I have iwl3945-ucode installed and yes, it was recompiled after the kernel was rebuilt. Another hint: emerge rfkill rfkill list It will show you some state of the module, if the module is hard blocked. That can be a reason for scanning not supported, a hint, that the card is not turned on at all.
Re: [gentoo-user] Yahoo and strange traffic.
Jake Moe wrote: On 08/17/10 20:23, Dale wrote: Adam Carter wrote: Is this easy to do? I have no idea where to start except that wireshark is installed. Yep, start the capture with Capture - Interfaces and click on the start button next to the correct interface, then right click on one of the packets that is to the yahoo box and choose Decode As set the port and protocol then apply. You'll need to understand the semantics of HTTP for it to be of much use tho. You had me until the last part. No semantics here. lol May see if I can post a little and see if anyone can figure out what the heck it is doing. I'm thinking some crazy bug or something. Maybe checking for updates not realizing it's Kopete instead of a Yahoo program. Thanks. Post back what I find when it does it again. Dale :-) :-) If you do try to send it back to us, you might want to limit what it's capturing; Wireshark can get a *lot* of data quickly. For instance, if you know it's only communicating with a few servers, after you click on Capture -- Interfaces, click on the Options button, and in the Capture Filter, put host 98.136.48.110 or host 98.136.42.25, which are the two servers you listed at the beginning of this thread (cs210p2.msg.sp1.yahoo.com and rdis.msg.vip.sp1.yahoo.com). Or you could assume that Yahoo are using the 98.136.0.0 network only for this sort of thing, and use a filter of net 98.136.0.0/16, which would grab all traffic to or from any host with an IP starting with 98.136.x.x. Jake Moe I'll keep that in mind. I'm not sure when it will start this mess again tho. Sometimes it starts after a day or so, sometimes it is a week or so. Thanks. Dale :-) :-)
Re: [gentoo-user] How to build a time machine on Gentoo
On 17 August 2010 00:37, Mick michaelkintz...@gmail.com wrote: On Monday 16 August 2010 11:30:36 Nganon wrote: On 16 August 2010 11:36, Marco listwo...@gmail.com wrote: On Mon, Aug 16, 2010 at 1:11 AM, Nganon nganon+gen...@gmail.com nganon%2bgen...@gmail.com nganon%2bgen...@gmail.com nganon%252bgen...@gmail.com wrote: [...] Here is what I wanna do. I want to have only one big backup for, say, userA-2010.08.07.tgz and other small backup tars containing only the files/folders that were modified since last update, 2010.08.07, as userA-diff-2010.08.14.tgz, userA-diff-2010.08.21.tgz, userA-diff-2010.08.28.tgz etc. Now if I want to take the userA back to the future, 2010.08.21, I want to do it by first extracting the huge tar userA-2010.08.07.tgz and then the tiny backup userA-diff-2010-08-21.tgz. backup2l can do exactly what you want: http://backup2l.sourceforge.net/ Nice one indeed. Exactly does what I want. It is also good that the backups can be use without the program itself. It does not seem to be updated since 2009 but I will give it a try. Not sure if it's in an overlay, but I don't think it's in portage. Its not in the protage, I found a ebuild proposal at bugs.gentoo but it didnt even make it to sunrise. Run eix -l backup and see how many back up tools and scripts pop up. I know there are dozens of them in the portage. searching for backup does not answer me 'you can do that by these packages'. Perhaps if NLP is one day implemented in portage, usage of gentoo user lists will reduce by half. I have been using tar, star and rsync. They all work and they can all make incremental back ups. You'll find that a lot of the other 'smart' back up applications are based on these anyway. I will take a look at star, thanks. HTH. -- Regards, Mick
Re: [gentoo-user] How to build a time machine on Gentoo
On 17 August 2010 02:53, Thomas Yao t.yao...@gmail.com wrote: On Tue, Aug 17, 2010 at 5:37 AM, Mick michaelkintz...@gmail.com wrote: Not sure if it's in an overlay, but I don't think it's in portage. Run eix -l backup and see how many back up tools and scripts pop up. I have been using tar, star and rsync. They all work and they can all make incremental back ups. You'll find that a lot of the other 'smart' back up applications are based on these anyway. A disk archive utility called dar is a great staff to backup dir trees and files Looks like the -A switch is exactly what I am looking for: This way you can make a first full backup, then many differential backup, each taking as reference the last backup made. Thanks! -- @ghosTM55 Mechanism, not policy
Re: [gentoo-user] /var/log/messages is huge
On 08/17/2010 07:17 AM, Alex Schuster wrote: dhk writes: I don't understand why it just started to be a problem. I've had this kernel for almost four months. Shouldn't the log's be rotated and purged? Depends on your system logger. Metalog does this automatically, but for others you probably have to install logrotate. Wonko Right, I need logrotate. I though it was installed. Must have been on the old system. Thanks, dhk
Re: [gentoo-user] =www-client/chromium-6.0.472.33 and h264
On 17 August 2010 04:26, Andy Wilkinson drukar...@gmail.com wrote: I've noticed that ebuilds of chromium at and later than 6.0.472.33 no longer use the system-provided ffmpeg, and seem to lose support for h264 videos (test any non-webm, html5 video at youtube; it will never load). I've tried doctoring the ebuild to use the system-provided ffmpeg, which does not fix h264 video and causes crashes on webm videos: probably why we went back to the bundled ffmpeg. Has anyone else noticed this? Is there a straightforward work-around beyond going back to 6.0.472.14ish? Thanks, -Andy Using system-ffmpeg is commented as TODO in the ebuild refering to [1]. There is also bug report[2] related to this. Seems like it maybe fixed in a never branch than 472. [1] http://crbug.com/50678 [2] http://bugs.gentoo.org/show_bug.cgi?id=329641
Re: [gentoo-user] Still Struggling With Wireless
Then you need to compile the password for wpa_supplicant with wpa_password. It doesn´t take the plain passphrase. It does for me; For pre-shared keys psk=plainpassphrase For .1x/EAP password=plainpassphrase
Re: [gentoo-user] How to build a time machine on Gentoo
Hi Am 16.08.2010 01:11, schrieb Nganon: Hello all, My first post on the list. I thought I would start with something that I started to think of as 'essential' after losing 90GB of data. Now I have two main questions in mind: what to and how to back up on gentoo most efficiently. 1. Apart from users' home directories and the followings, what should be backed up on a gentoo machine? /etc/portage/ /root /var/lib/portage ...? You should backup all in / except /tmp/* /sys/* /proc/* /lost+found/* /dev/* I have no solution how to bzip or gzip your backups or how to make a dvd backup, but I use app-backup/rsnapshot which uses rsync but implements an intelligent rotating system that is done daily, weekly, monthly, yearly according to your config. Of course you should store the backup on another physical hdd. By the way, since a new hdd of one TB is pretty cheap, think about running your gentoo in a software RAID. Guides: http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml http://en.gentoo-wiki.com/wiki/Software_RAID_Install Kind regards, der Max 2. Erm..okay, I am gonna say, what magic I want and then ask your way. I first started making gzipped tar balls as follows: tar czpf /media/backups/userA-`date +%Y.%m.%d`.tgz -X userA-excludelist /etc But these can get huge especially for home dirs. I also want safe dvd copies. Though I can find enough space on the external drives, I don't trust them any more. See above..sigh..(No I recovered about one third of it with testdisk/photorec which names them as file01 file2.. and half them are zero sized.. which quite justifies my agony) Here is what I wanna do. I want to have only one big backup for, say, userA-2010.08.07.tgz and other small backup tars containing only the files/folders that were modified since last update, 2010.08.07, as userA-diff-2010.08.14.tgz, userA-diff-2010.08.21.tgz, userA-diff-2010.08.28.tgz etc. Now if I want to take the userA back to the future, 2010.08.21, I want to do it by first extracting the huge tar userA-2010.08.07.tgz and then the tiny backup userA-diff-2010-08-21.tgz. But the thing is I don't know how to do this. I am hoping maybe you can tell me how to of it as well as a better way of doing backups. By the way, since I want dvd backups as well, and I want to use +rw dvds so I can overwrite old backup after a while, what is best way of ensuring the integrity and safety of them. Is it a good idea to use truecrypt containers? Or nothing tops signing and encrypting with gpg? Thanks for any comment in advance.
Re: [gentoo-user] How to build a time machine on Gentoo
Maximilian Bräutigam writes: You should backup all in / except /tmp/* /sys/* /proc/* /lost+found/* /dev/* Attention here, you need at least the null and console entries in /dev, or the system will not come up. I also have tty and tty1 in there, I think those were neede for tuxonice. Wonko
Re: [gentoo-user] regarding Participation in Gentoo Linux
On 8/17/10, arjun.sha...@wipro.com arjun.sha...@wipro.com wrote: Hi, I have already followed below link,but now I need to know how can I proceed further.How can i have a mentor and start the further process. Try the irc channels. AFAIK it is in practice near-impossible to become a Gentoo dev without lurking on irc channels, at least in the beginning. -- Arttu V. -- Running Gentoo is like running with scissors
[gentoo-user] the host system hangs when create openvz CT
hi, my system gentoo amd64, and i am trying to start another gentoo instance in openvz. after i started the vz, i ran vzctl create 101 --ostemplate gentoo-amd64-20100617 and got below error: Creating container private area (gentoo-amd64-20100617) /usr/lib64/vzctl/scripts/vps-create: line 31: 2205 Killed tar -C $VE_PRVT ${TAR_OPT} ${OPT} -xf $PRIVATE_TEMPLATE vps-create ERROR: Error in tar --numeric-owner -z -xf /vz/template/cache/gentoo- amd64-20100617.tar.gz Received signal: 9 in /usr/sbin/vzquota Killed and if i ran the same command again, my ssh hangs. i guess the 'vzquota' has something to do with it, but i do not know how... -- Best Regards, Xi Shen (David) http://twitter.com/davidshen84/
Re: [gentoo-user] emerge 32bits on 64bits platform
On 8/16/2010 2:13 PM, Stéphane Guedon wrote: I have read several things about this, but never really solved ! Can I emerge a 32bits software on 64bits platform with a multilib profile ? All my web browsers (konqueror, opera, chromium, firefox) are 64bits, whereas flash player exist currently in 32bits. So, I need to have 32bits browser ! Can I emerge ? * There are a few binary packages in Portage that are 32-bit binaries. In your case, specifically, there is firefox-bin and chromium-bin. Those should emerge and run fine on a multilib system, after emerging the correct 32-bit compatibility packages. Note that Flash will run *a lot* slower than you're probably used to in this setup. * For other web browsers, you could build your own 32-bit software on the 64-bit system. That's trickier, but there is a cross-dev system available in portage you can use to ease the pain a bit. Personally I'd just go with one of the binary browser packages. * You could try using the nspluginwrapper package, which was built just for this purpose (loading 32-bit plugins into a 64-bit browser). Flash only worked sporadically for me under nspluginwrapper, but apparently others have a lot of success with it. * Or, you can do what I did, and mask off adobe-flash-10.0.53*, so you will still have the 64-bit Flash Player available until Adobe gets their act together and releases a newer version. It limits you to those Flash applications where you already know and trust the publisher, since there's a list as long as my arm of security fixes in 10.0.53.64, but that's good enough for me for now.
Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage
On Mon, Aug 16, 2010 at 1:21 PM, Paul Hartman paul.hartman+gen...@gmail.compaul.hartman%2bgen...@gmail.com wrote: On Sun, Aug 15, 2010 at 10:02 PM, Kevin O'Gorman kogor...@gmail.com wrote: My underling thing, if anyone can make other suggestions, is that my camera broke, and I had to get one in a hurry, and didn't really know what to look for. I wound up with a fairly good Sanyo 1080p camera and video recorder that's super light, and not too expensive. The problem is that its videos are MP4s, which are definitely not ready to put on a web site, and I know nothing about transcoding. My previous camera took acceptable .avi videos, which had worked with most folks browsers. The MP4s are huge and in a weakly supported format. You might want to check out kdenlive which is a full-featured video editor (using mlt as backend) but includes a simple transcoding function and several presets for many different formats (with the added bonus that you'll be able to edit your raw video should you so desire). Thanks, I emerged kdenlive. I can not open my MP4 files, but I can add them as clips. Okay. The clips do not play in any reasonable form. I get moments of sound, and a few pixels changing on screen; nothing coherent. I'd been told that H264 needs a lot of CPU and I guess an old 4-core 32-bit XEON (effectively 800 MHz each) on 2 GB ECC DDR1 is not enough. Okay. The killer though, is that I cannot figure out how to export that clip in some other form. And of course, I'm clueless about what form would be optimum. Asking for help takes me to a forum that has a thread on the topic, but no useful answer. Is there a kdelive tutorial anywhere? One basic walkthrough and I'd probably be able to figure out the rest of what I want. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Yahoo and strange traffic.
- Original Message From: Dale rdalek1...@gmail.com Adam Carter wrote: Is this easy to do? I have no idea where to start except that wireshark is installed. Yep, start the capture with Capture - Interfaces and click on the start button next to the correct interface, then right click on one of the packets that is to the yahoo box and choose Decode As set the port and protocol then apply. You'll need to understand the semantics of HTTP for it to be of much use tho. You had me until the last part. No semantics here. lol May see if I can post a little and see if anyone can figure out what the heck it is doing. I'm thinking some crazy bug or something. Maybe checking for updates not realizing it's Kopete instead of a Yahoo program. Wireshark will show you the raw packet data, and decode only a little of it - enough to identify the general protocol, senders, etc. So to understand the packet, you will need to understand the application layer protocol - in this case HTTP - yourself as Wireshark won't help you there. But yet, Wireshark, nmap, and nessus security scanner are the tools, less so nessus as it really is more of a port scanner/security hole finder than a debug tool for applications (it's basically an interface for nmap for those purposes). HTH, Ben
Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage
On 17 Aug 2010, at 15:08, Kevin O'Gorman wrote: ... The clips do not play in any reasonable form. I get moments of sound, and a few pixels changing on screen; nothing coherent. I'd been told that H264 needs a lot of CPU and I guess an old 4-core 32- bit XEON (effectively 800 MHz each) on 2 GB ECC DDR1 is not enough. Okay. Hi-def needs a lot of horses to play, I'm not sure about H264 compared to other codecs. H264 is designed so that specialised deciding chips (in mobile phones and set-top-boxes) can be built cheaply to aid playback, but on generic hardware I would imagine it would be a chunk more demanding than (say) the MPEG2 of the DVD standard written over a decade ago. If you mean 4 *processors* at 800mhz, then that's Pentium III territory, and you have no chance. You'd really be requiring a Core2 class machine. A Pentium 4 is likely to struggle. Video playback does parallelise, if the player is written for that. But 800mhz is still massively underpowered for hi-def video. Stroller.
Re: [gentoo-user] glibc-2.12.1
On Tuesday 17 August 2010 15:21:35 Peter Ruskin wrote: On Tuesday 17 August 2010 09:33:09 Alan McKinnon wrote: Hi, Anyone successfully built and using glibc-2.12.1 yet? I see the tree just pushed an update down from 2.11.2 to 2.12.1, and downgrading that package is decidedly non-trivial. Only comment I can find at this early stage is flameeye's blog, and this makes me quadruple nervous: And if you say that “the new GLIBC works for me”, are you saying that the package itself builds or if it’s actually integrated correctly? Because, you know, I used to rebuild the whole system whenever I made a change to basic system packages when I maintained Gentoo/FreeBSD, and saying that it’s ready for ~arch when you haven’t even rebuilt the system (and you haven’t, or you would have noticed that m4 was broken) is definitely something I’d define as reckless and I’d venture to say you’re not good material to work on the quality assurance status. “correctness” in the case of the system C library would be “it a t least leaves the system set building and running”; glibc 2.12 does not work this way. OK here on ~amd64, but you got me worried so I emerged m4 to check and that went OK too. I got a couple of replies, all like this one - positive. Thanks, all. I'll start the update later on tonight and let 'er run. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage
On Tue, Aug 17, 2010 at 9:08 AM, Kevin O'Gorman kogor...@gmail.com wrote: On Mon, Aug 16, 2010 at 1:21 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Sun, Aug 15, 2010 at 10:02 PM, Kevin O'Gorman kogor...@gmail.com wrote: My underling thing, if anyone can make other suggestions, is that my camera broke, and I had to get one in a hurry, and didn't really know what to look for. I wound up with a fairly good Sanyo 1080p camera and video recorder that's super light, and not too expensive. The problem is that its videos are MP4s, which are definitely not ready to put on a web site, and I know nothing about transcoding. My previous camera took acceptable .avi videos, which had worked with most folks browsers. The MP4s are huge and in a weakly supported format. You might want to check out kdenlive which is a full-featured video editor (using mlt as backend) but includes a simple transcoding function and several presets for many different formats (with the added bonus that you'll be able to edit your raw video should you so desire). Thanks, I emerged kdenlive. I can not open my MP4 files, but I can add them as clips. Okay. The clips do not play in any reasonable form. I get moments of sound, and a few pixels changing on screen; nothing coherent. I'd been told that H264 needs a lot of CPU and I guess an old 4-core 32-bit XEON (effectively 800 MHz each) on 2 GB ECC DDR1 is not enough. Okay. I don't think you'll be able to play back HD video in real-time on that hardware. Even on, for example, Core 2 at 3GHz playing HD video used something like 90% CPU (without a hardware mpeg4 decoder). The killer though, is that I cannot figure out how to export that clip in some other form. And of course, I'm clueless about what form would be optimum. Asking for help takes me to a forum that has a thread on the topic, but no useful answer. You need to add it as a clip, then drag that clip to the timeline in the lower half of the window. It may take it a while to process once you've dropped it here (I believe it thumbnails/indexes the video). It's sort of like a multi-track audio editor, you can overlay effects, drag the ends of the video clips to change the start/end point, etc. The more effects you add the slower the encoding will be. For example I used it on a 5-minute video from my wedding to fade-in and fade-out, print a title at the beginning, and normalize the audio. I encoded it to a 720p mp4 which I could then upload to YouTube and let YouTube re-encode it to lower resolutions for people who can't do HD. Once you've got your clip on the timeline, to save as another format click the Render button. In the Render window, you can choose the output format. It will give you many options such as MPEG-2, XviD, Flash, RealVideo, Theora etc. You can also adjust the output video dimensions and bitrate. Hopefully you can find something that will work for your audience. If you have other video files that worked well for you in the past, you might check out what their specs are and try to mimic it. It will probably take ages to process, depending on how long your video is. I have a Core i7 920, overclocked, and encoding a 1440x1080 interlaced video to another format still takes more time than the length of the video clip (usually 1.5 to 2 times with no effects added). Since you're dealing with even higher-resolution video and slower hardware I imagine you're probably looking at overnight, or days, depending on how much video you're dealing with. One trick to speed things up is to first transcode your video to an uncompressed format, and then do all of your editing operations on that uncompressed file. This requires massive amounts of disk space and fast disks, though (I think a 5 minute clip was about 70 gigabytes). Is there a kdelive tutorial anywhere? One basic walkthrough and I'd probably be able to figure out the rest of what I want. There are some video tutorials here: http://www.kdenlive.org/tutorial And the user manual has a quick-start section, I believe: http://www.kdenlive.org/user-manual If you don't really need or want HD video, you might also consider going old school and getting a video capture card (which encodes to something more CPU-friendly like mpeg2). Then you could play the video on the camcorder and record it onto the computer and let the capture card do the heavy lifting. If kdenlive is a dead end, other alternatives might be: Install handbrake binaries into your user directory, forgetting about portage entirely for the moment. Use ffmpeg if you can figure out the commandline options (I never can) Other video-converter packages include tovid, though support of HD video might not be there. Good luck!
Re: [gentoo-user] Still Struggling With Wireless
Then you need to compile the password for wpa_supplicant with wpa_password. It doesn´t take the plain passphrase. It does for me; For pre-shared keys psk=plainpassphrase For .1x/EAP password=plainpassphrase Interesting. I'll give it a try. By the way, what I really wanted to say is: Then you need to compile the password for wpa_supplicant with wpa_passphrase. It doesn´t take the plain password.
Re: [gentoo-user] Yahoo and strange traffic.
On 17 August 2010 15:29, BRM bm_witn...@yahoo.com wrote: - Original Message From: Dale rdalek1...@gmail.com Adam Carter wrote: Is this easy to do? I have no idea where to start except that wireshark is installed. Yep, start the capture with Capture - Interfaces and click on the start button next to the correct interface, then right click on one of the packets that is to the yahoo box and choose Decode As set the port and protocol then apply. You'll need to understand the semantics of HTTP for it to be of much use tho. You had me until the last part. No semantics here. lol May see if I can post a little and see if anyone can figure out what the heck it is doing. I'm thinking some crazy bug or something. Maybe checking for updates not realizing it's Kopete instead of a Yahoo program. Wireshark will show you the raw packet data, and decode only a little of it - enough to identify the general protocol, senders, etc. So to understand the packet, you will need to understand the application layer protocol - in this case HTTP - yourself as Wireshark won't help you there. But yet, Wireshark, nmap, and nessus security scanner are the tools, less so nessus as it really is more of a port scanner/security hole finder than a debug tool for applications (it's basically an interface for nmap for those purposes). I'm not at home to experiment and I don't use yahoo, but port 5050 is typically used for mmcc = multi media conference control - does yahoo offer such a service? It could be a SIP server running there for VoIP between Yahoo registered users or something similar. The http connection could be offered as an alternative proxy connection to the yahoo IM servers for users who are behind restrictive firewalls. Have you asked as much in the Yahoo user groups? The fact that the threads continue after kopete has shut down is not necessarily of concern as was already explained, unless it carries on and on for a long time and the flow of packets continues. I don't know how yahoo VoIP works. Did you install some plugin specific for yahoo services? If it imitates the Skype architecture then it essentially runs proxies on clients' machines and this could be an explanation for the traffic. -- Regards, Mick
Re: [gentoo-user] Gentoo on 8GB SSD
On 08/17/2010 03:57 AM, Elmar Hinz wrote: I am new in Gentoo. I installed Gnome. Portage: 1,6 GB + Rest: 5,5 GB = 7,1 GB Sorry: Portage: 1,6 GB + Rest: 3,5 GB = 5,1 GB I guess to best answer this question you need to ask what you want to do. What are you trying to speed up? Booting? Emerging? Just general speedup? With only 8GB, I'm not sure there's much you can do to simply put it in and, presto, you're 186% ricing. You'll have to look at where the heaviest I/O is taking place and at what times. Just off the top of my head, I'd say you'd want to put /var/tmp and maybe /tmp if yours isn't a tmpfs. If you have plenty of RAM, the OS will cache most of the /bin, /lib and /usr/bin stuff for you, so what will you gain if you put those there, for the fraction of them that you actually use? If you are *low* on RAM, you would want to put /usr/lib on the SSD. It's 1.7G on my desktop system (KDE, XFCE). My two cents.
Re: [gentoo-user] glibc-2.12.1
Em 17-08-2010 12:34, Alan McKinnon escreveu: On Tuesday 17 August 2010 15:21:35 Peter Ruskin wrote: On Tuesday 17 August 2010 09:33:09 Alan McKinnon wrote: Hi, Anyone successfully built and using glibc-2.12.1 yet? I see the tree just pushed an update down from 2.11.2 to 2.12.1, and downgrading that package is decidedly non-trivial. Only comment I can find at this early stage is flameeye's blog, and this makes me quadruple nervous: And if you say that “the new GLIBC works for me”, are you saying that the package itself builds or if it’s actually integrated correctly? Because, you know, I used to rebuild the whole system whenever I made a change to basic system packages when I maintained Gentoo/FreeBSD, and saying that it’s ready for ~arch when you haven’t even rebuilt the system (and you haven’t, or you would have noticed that m4 was broken) is definitely something I’d define as reckless and I’d venture to say you’re not good material to work on the quality assurance status. “correctness” in the case of the system C library would be “it a t least leaves the system set building and running”; glibc 2.12 does not work this way. OK here on ~amd64, but you got me worried so I emerged m4 to check and that went OK too. I got a couple of replies, all like this one - positive. Thanks, all. I'll start the update later on tonight and let 'er run. I'm trying to upgrade my glibc from 2.10.1-r1 to 2.10.1-r1 or 2.12.1 but i'm blocked with a error on compilation in two c2q machines using x86_64 profile. The CFLAGS and CHOST used are: CHOST=x86_64-pc-linux-gnu CFLAGS=-march=core2 -mtune=generic -O2 -pipe CXXFLAGS=${CFLAGS} And the error in compilation: ../sysdeps/i386/i686/multiarch/strcmp.S: Assembler messages: ../sysdeps/i386/i686/multiarch/strcmp.S:78: Error: unrecognized symbol type gnu_indirect_function make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.1/work/build-x86-x86_64-pc-linux-gnu-nptl/string/strcmp.o] Error 1 make[2]: *** Waiting for unfinished jobs ../sysdeps/i386/i686/multiarch/strcspn.S: Assembler messages: ../sysdeps/i386/i686/multiarch/strcspn.S:78: Error: unrecognized symbol type gnu_indirect_function make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.1/work/build-x86-x86_64-pc-linux-gnu-nptl/string/strcspn.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.12.1/work/glibc-2.12.1/string' make[1]: *** [string/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.12.1/work/glibc-2.12.1' make: *** [all] Error 2 * ERROR: sys-libs/glibc-2.12.1 failed: * make for x86 failed * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 3826: Called eblit-run 'src_compile' * environment, line 1215: Called eblit-glibc-src_compile * src_compile.eblit, line 199: Called src_compile * environment, line 3826: Called eblit-run 'src_compile' * environment, line 1215: Called eblit-glibc-src_compile * src_compile.eblit, line 207: Called toolchain-glibc_src_compile * src_compile.eblit, line 123: Called die * The specific snippet of code: * emake || die make for ${ABI} failed * * If you need support, post the output of 'emerge --info =sys-libs/glibc-2.12.1', * the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.12.1'. * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.12.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.12.1/temp/environment'. * S: '/var/tmp/portage/sys-libs/glibc-2.12.1/work/glibc-2.12.1' emerge info: Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.10.1-r1, 2.6.34-gentoo-r4-creta x86_64) = System uname: linux-2.6.34-gentoo-r4-creta-x86_64-intel-r-_core-tm-2_quad_cpu_q67...@_2.66ghz-with-gentoo-2.0.1 Timestamp of tree: Sun, 15 Aug 2010 15:30:01 + distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p37 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox:2.2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3, 2.20.1-r1 sys-devel/gcc: 4.4.3, 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS=amd64 ACCEPT_LICENSE=* CBUILD=x86_64-pc-linux-gnu CFLAGS=-march=core2 -mtune=generic -O2 -pipe CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo CXXFLAGS=-march=core2 -mtune=generic -O2 -pipe DISTDIR=/usr/portage/distfiles FEATURES=assume-digests autoaddcvs ccache distlocks emerge fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict
Re: [gentoo-user] =www-client/chromium-6.0.472.33 and h264
On 08/17/2010 04:54 AM, Nganon wrote: On 17 August 2010 04:26, Andy Wilkinson drukar...@gmail.com mailto:drukar...@gmail.com wrote: I've noticed that ebuilds of chromium at and later than 6.0.472.33 no longer use the system-provided ffmpeg, and seem to lose support for h264 videos (test any non-webm, html5 video at youtube; it will never load). I've tried doctoring the ebuild to use the system-provided ffmpeg, which does not fix h264 video and causes crashes on webm videos: probably why we went back to the bundled ffmpeg. Has anyone else noticed this? Is there a straightforward work-around beyond going back to 6.0.472.14ish? Thanks, -Andy Using system-ffmpeg is commented as TODO in the ebuild refering to [1]. There is also bug report[2] related to this. Seems like it maybe fixed in a never branch than 472. [1] http://crbug.com/50678 [2] http://bugs.gentoo.org/show_bug.cgi?id=329641 Thanks for the info. That doesn't entirely answer my question, though... shouldn't chromium's bundled ffmpeg have h264 support? Google's youtube.com/html5 page suggests that Chrome (and thus chromium?) supports h264. Is this a licensing issue going to the open source build that I've not heard of yet? Thanks again, -Andy
Re: [gentoo-user] Gentoo on 8GB SSD
Le Tuesday 17 August 2010 18:31:16, Bill Longman a écrit : On 08/17/2010 03:57 AM, Elmar Hinz wrote: I am new in Gentoo. I installed Gnome. Portage: 1,6 GB + Rest: 5,5 GB = 7,1 GB Sorry: Portage: 1,6 GB + Rest: 3,5 GB = 5,1 GB I guess to best answer this question you need to ask what you want to do. What are you trying to speed up? Booting? Emerging? Just general speedup? With only 8GB, I'm not sure there's much you can do to simply put it in and, presto, you're 186% ricing. You'll have to look at where the heaviest I/O is taking place and at what times. Just off the top of my head, I'd say you'd want to put /var/tmp and maybe /tmp if yours isn't a tmpfs. If you have plenty of RAM, the OS will cache most of the /bin, /lib and /usr/bin stuff for you, so what will you gain if you put those there, for the fraction of them that you actually use? If you are *low* on RAM, you would want to put /usr/lib on the SSD. It's 1.7G on my desktop system (KDE, XFCE). My two cents. Is a SSD capable of supporting gentoo ? That's a good idea ! You may be a pionneer ! Let's try... -- Stéphane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc signature.asc Description: This is a digitally signed message part.
[gentoo-user] Typewriter sound
Hi, on YouTube there was a Blender-2.5 tutorial with audio. There was an interesting detail: While there were spoken instructions one can hear one typing on its keyboard. Each hit on one of the keys made the sound of an old typewriter (no, it was not the sound of the legendary IBM Model M keyboard ;) ). How can I achieve this? What software can I use to make this geeky feature to come true. Unfortunately I have no idea, how to name this kind of what(?) ... Thank you very much for any hint in advance! Best regards, mcc
Re: [gentoo-user] Typewriter sound
On Tue, 2010-08-17 at 19:20 +0200, meino.cra...@gmx.de wrote: Hi, on YouTube there was a Blender-2.5 tutorial with audio. There was an interesting detail: While there were spoken instructions one can hear one typing on its keyboard. Each hit on one of the keys made the sound of an old typewriter (no, it was not the sound of the legendary IBM Model M keyboard ;) ). How can I achieve this? What software can I use to make this geeky feature to come true. Unfortunately I have no idea, how to name this kind of what(?) ... Thank you very much for any hint in advance! Best regards, mcc There probably a number of ways to do this. A cheap and easy way would be to use xev to monitor a window and then pipe the stderr to a a program that waits for a keypress event and then plays an apropriate. A less cheap way would be to have our program do what xev does instead of using a pipe.
Re: [gentoo-user] =www-client/chromium-6.0.472.33 and h264
On 17 August 2010 19:49, Andy Wilkinson drukar...@gmail.com wrote: Thanks for the info. That doesn't entirely answer my question, though... shouldn't chromium's bundled ffmpeg have h264 support? Google's youtube.com/html5 page suggests that Chrome (and thus chromium?) supports h264. Is this a licensing issue going to the open source build that I've not heard of yet? Yes bundled ffmpeg should have h264 support but I think it as broken with a patch for ubuntu. Did you read the bug report on crbug? It is reported for 479 and marked as *fixed* in the trunk as of Aug 9th. I didnt read the release note of it but 490 was released on 13th and is in portage since then. So..you can either unmask it and give it a try or wait for the next release and keep an eye on the release notes.
Re: [gentoo-user] Typewriter sound
On 08/17/2010 10:56 AM, Albert Hopkins wrote: On Tue, 2010-08-17 at 19:20 +0200, meino.cra...@gmx.de wrote: Hi, on YouTube there was a Blender-2.5 tutorial with audio. There was an interesting detail: While there were spoken instructions one can hear one typing on its keyboard. Each hit on one of the keys made the sound of an old typewriter (no, it was not the sound of the legendary IBM Model M keyboard ;) ). How can I achieve this? What software can I use to make this geeky feature to come true. Unfortunately I have no idea, how to name this kind of what(?) ... Thank you very much for any hint in advance! Best regards, mcc There probably a number of ways to do this. A cheap and easy way would be to use xev to monitor a window and then pipe the stderr to a a program that waits for a keypress event and then plays an apropriate. A less cheap way would be to have our program do what xev does instead of using a pipe. Or you could set your X keyclick using xset.
Re: [gentoo-user] Re: [gentoo-user] [OT] £ sign in OpenOffice
On Friday 06 August 2010 21:13:06 Mark Knecht wrote: On Fri, Aug 6, 2010 at 12:11 PM, Mick michaelkintz...@gmail.com wrote: I am puzzled by this problem. One box of mine seems to be unable to show the GBP sign in OpenOffice. In any OOo application it shows a capital A with umlauts and then shows the £ sign. In the OOo Language Settings I have selected as Default Currency GBP £ English (UK) just as I have on two other boxen, which work fine. The locales are the same LC_MONETARY=en_GB.UTF-8 on all of them. Any ideas? -- Regards, Mick No real idea but possibly: Different font sets installed? Incorrect/different font paths in xorg.config? I don't use OO so I cannot speak to it's internal settings. Good luck, Mark I looked at this box again and it transpires that it also has this problem in Kmail, not just OOo. There don't seem to be any other problems with the characterset or keyboard, only the GBP sign. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage
On Tue, Aug 17, 2010 at 9:06 AM, Paul Hartman paul.hartman+gen...@gmail.compaul.hartman%2bgen...@gmail.com wrote: On Tue, Aug 17, 2010 at 9:08 AM, Kevin O'Gorman kogor...@gmail.com wrote: On Mon, Aug 16, 2010 at 1:21 PM, Paul Hartman paul.hartman+gen...@gmail.com paul.hartman%2bgen...@gmail.com wrote: On Sun, Aug 15, 2010 at 10:02 PM, Kevin O'Gorman kogor...@gmail.com wrote: My underling thing, if anyone can make other suggestions, is that my camera broke, and I had to get one in a hurry, and didn't really know what to look for. I wound up with a fairly good Sanyo 1080p camera and video recorder that's super light, and not too expensive. The problem is that its videos are MP4s, which are definitely not ready to put on a web site, and I know nothing about transcoding. My previous camera took acceptable .avi videos, which had worked with most folks browsers. The MP4s are huge and in a weakly supported format. You might want to check out kdenlive which is a full-featured video editor (using mlt as backend) but includes a simple transcoding function and several presets for many different formats (with the added bonus that you'll be able to edit your raw video should you so desire). Thanks, I emerged kdenlive. I can not open my MP4 files, but I can add them as clips. Okay. The clips do not play in any reasonable form. I get moments of sound, and a few pixels changing on screen; nothing coherent. I'd been told that H264 needs a lot of CPU and I guess an old 4-core 32-bit XEON (effectively 800 MHz each) on 2 GB ECC DDR1 is not enough. Okay. I don't think you'll be able to play back HD video in real-time on that hardware. Even on, for example, Core 2 at 3GHz playing HD video used something like 90% CPU (without a hardware mpeg4 decoder). The killer though, is that I cannot figure out how to export that clip in some other form. And of course, I'm clueless about what form would be optimum. Asking for help takes me to a forum that has a thread on the topic, but no useful answer. You need to add it as a clip, then drag that clip to the timeline in the lower half of the window. It may take it a while to process once you've dropped it here (I believe it thumbnails/indexes the video). It's sort of like a multi-track audio editor, you can overlay effects, drag the ends of the video clips to change the start/end point, etc. The more effects you add the slower the encoding will be. For example I used it on a 5-minute video from my wedding to fade-in and fade-out, print a title at the beginning, and normalize the audio. I encoded it to a 720p mp4 which I could then upload to YouTube and let YouTube re-encode it to lower resolutions for people who can't do HD. Once you've got your clip on the timeline, to save as another format click the Render button. In the Render window, you can choose the output format. It will give you many options such as MPEG-2, XviD, Flash, RealVideo, Theora etc. You can also adjust the output video dimensions and bitrate. Hopefully you can find something that will work for your audience. If you have other video files that worked well for you in the past, you might check out what their specs are and try to mimic it. It will probably take ages to process, depending on how long your video is. I have a Core i7 920, overclocked, and encoding a 1440x1080 interlaced video to another format still takes more time than the length of the video clip (usually 1.5 to 2 times with no effects added). Since you're dealing with even higher-resolution video and slower hardware I imagine you're probably looking at overnight, or days, depending on how much video you're dealing with. One trick to speed things up is to first transcode your video to an uncompressed format, and then do all of your editing operations on that uncompressed file. This requires massive amounts of disk space and fast disks, though (I think a 5 minute clip was about 70 gigabytes). Is there a kdelive tutorial anywhere? One basic walkthrough and I'd probably be able to figure out the rest of what I want. There are some video tutorials here: http://www.kdenlive.org/tutorial And the user manual has a quick-start section, I believe: http://www.kdenlive.org/user-manual If you don't really need or want HD video, you might also consider going old school and getting a video capture card (which encodes to something more CPU-friendly like mpeg2). Then you could play the video on the camcorder and record it onto the computer and let the capture card do the heavy lifting. If kdenlive is a dead end, other alternatives might be: Install handbrake binaries into your user directory, forgetting about portage entirely for the moment. Use ffmpeg if you can figure out the commandline options (I never can) Other video-converter packages include tovid, though support of HD video might not be
Re: [gentoo-user] Typewriter sound
Bill Longman bill.long...@gmail.com [10-08-17 20:16]: On 08/17/2010 10:56 AM, Albert Hopkins wrote: On Tue, 2010-08-17 at 19:20 +0200, meino.cra...@gmx.de wrote: Hi, on YouTube there was a Blender-2.5 tutorial with audio. There was an interesting detail: While there were spoken instructions one can hear one typing on its keyboard. Each hit on one of the keys made the sound of an old typewriter (no, it was not the sound of the legendary IBM Model M keyboard ;) ). How can I achieve this? What software can I use to make this geeky feature to come true. Unfortunately I have no idea, how to name this kind of what(?) ... Thank you very much for any hint in advance! Best regards, mcc There probably a number of ways to do this. A cheap and easy way would be to use xev to monitor a window and then pipe the stderr to a a program that waits for a keypress event and then plays an apropriate. A less cheap way would be to have our program do what xev does instead of using a pipe. Or you could set your X keyclick using xset. Hi, thanks a lot for your replies! :) Is there any program already, which does this? A daemon or...insert missing words here Best regards, mcc
Re: [gentoo-user] Re: [gentoo-user] [OT] £ sign in OpenOffice
On Tuesday 17 August 2010 08:28:11 you wrote: On Friday 06 August 2010 21:13:06 Mark Knecht wrote: On Fri, Aug 6, 2010 at 12:11 PM, Mick michaelkintz...@gmail.com wrote: I am puzzled by this problem. One box of mine seems to be unable to show the GBP sign in OpenOffice. In any OOo application it shows a capital A with umlauts and then shows the £ sign. In the OOo Language Settings I have selected as Default Currency GBP £ English (UK) just as I have on two other boxen, which work fine. The locales are the same LC_MONETARY=en_GB.UTF-8 on all of them. Any ideas? -- Regards, Mick No real idea but possibly: Different font sets installed? Incorrect/different font paths in xorg.config? I don't use OO so I cannot speak to it's internal settings. Good luck, Mark I looked at this box again and it transpires that it also has this problem in Kmail, not just OOo. There don't seem to be any other problems with the characterset or keyboard, only the GBP sign. Just adding to this, the £ sign works fine on the console. It is the X applications (including terminals) that seem to have the problem with the '£' sign. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] emerge 32bits on 64bits platform
On 08/17/2010 06:43 AM, Mike Edenfield wrote: On 8/16/2010 2:13 PM, Stéphane Guedon wrote: I have read several things about this, but never really solved ! Can I emerge a 32bits software on 64bits platform with a multilib profile ? All my web browsers (konqueror, opera, chromium, firefox) are 64bits, whereas flash player exist currently in 32bits. So, I need to have 32bits browser ! Can I emerge ? Well, you can certainly make a 32 bit chroot directory and compile things in there. That works on x86_64 quite nicely. (Never tried it on the sparcs 'coz I got rid of the SPARCstations long ago.) I don't know how you'd peel out the results of your compile and place them into your 64 bit host without mucking up things. I guess you could use binpkg or some such but you'd still have the problem of unwrapping the 32 bit pkg in your 64 bit host. Yuck.
Re: [gentoo-user] Typewriter sound
On Tue, 2010-08-17 at 20:43 +0200, meino.cra...@gmx.de wrote: Bill Longman bill.long...@gmail.com [10-08-17 20:16]: On 08/17/2010 10:56 AM, Albert Hopkins wrote: On Tue, 2010-08-17 at 19:20 +0200, meino.cra...@gmx.de wrote: Hi, on YouTube there was a Blender-2.5 tutorial with audio. There was an interesting detail: While there were spoken instructions one can hear one typing on its keyboard. Each hit on one of the keys made the sound of an old typewriter (no, it was not the sound of the legendary IBM Model M keyboard ;) ). How can I achieve this? What software can I use to make this geeky feature to come true. Unfortunately I have no idea, how to name this kind of what(?) ... Thank you very much for any hint in advance! Best regards, mcc There probably a number of ways to do this. A cheap and easy way would be to use xev to monitor a window and then pipe the stderr to a a program that waits for a keypress event and then plays an apropriate. A less cheap way would be to have our program do what xev does instead of using a pipe. Or you could set your X keyclick using xset. Hi, thanks a lot for your replies! :) Is there any program already, which does this? A daemon or...insert missing words here Best regards, mcc Well I found out that when you pass window id to xev it does not trap keyboard presses per-sé. But there is another way... Anway the following is a quick hack (in python). It pretty much works except it also seems to trap mouse presses. I got the .wav file at http://www.soundjay.com/typewriter-sounds.html I tried using 'xset c' but it basically does nothing for me. My guess is that it does work it basically sends the a BELL to the console. --- 8 CUT HERE --- import sys import subprocess soundfile = 'typewriter-key-1.wav' def main(): window_id = sys.argv[1] cmd = ['xev', '-id', window_id] p1 = subprocess.Popen(cmd, stdout=subprocess.PIPE) while True: line = p1.stdout.readline() if line.find('atom 0x14d') -1: subprocess.Popen(['aplay', soundfile], stderr=open('/dev/null', 'w')) if __name__ == '__main__': main()
Re: [gentoo-user] How to build a time machine on Gentoo
* Nganon nganon+gen...@gmail.com wrote: Hi, My first post on the list. I thought I would start with something that I started to think of as 'essential' after losing 90GB of data. Now I have two main questions in mind: what to and how to back up on gentoo most efficiently. I'm using a little script like that: #!/bin/bash cd /var/backup/blackwidow || exit 1 DATE=`date +%F-%H-%M-%S` rsync --exclude-from /scr/etc/backup-blackwidow.exclude \ -avz blackwidow:/ /var/backup/blackwidow/ROOT \ --backup \ --backup-dir=/var/backup/blackwidow/BACKUP-$DATE\ --delete \ --delete-excluded \ --delay-updates \ --progress\ (of course with a carefully maintained exclude file ;-p) This doesnt make a real rotating backup, but stores all files that get overwritten into their own directory (named by the current date). And from time to time, I'm cleaning up the backup volume and look for things that I still might need. For things I'd like to keep an history (eg. /etc) I'm using git, and pushing the repo to a remote server (denying non-fastfoward updates there, so an theorectical highjacker cannot destroy my history) For really long-term backups with bigger content (that might be too big for git), you could also give venti+vac (from plan9port) a try. I'm using it for storing larger media files (videos, etc) in my MediaCloud platform. 1. Apart from users' home directories and the followings, what should be backed up on a gentoo machine? /etc/portage/ /root /var/lib/portage ...? Depends on how long the recovery may take. For example, if you can afford recompiling world (or have another compatible image somewhere else), you can exclude everything where packages are installed (bindirs, libdirs, /usr/share, etc, etc) - assuming everything's installed by portage. Though I can find enough space on the external drives, I don't trust them any more. See above..sigh..(No I recovered about one third of it with testdisk/photorec which names them as file01 file2.. and half them are zero sized.. which quite justifies my agony) Make multiple copies on different media (eg. different servers). cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weig...@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] how to remove HAL
* Neil Bothwick n...@digimed.co.uk wrote: USE only affects optional dependencies. euse -I hal will list packages that have a hal USE flag while emerge --depclean -pv sys-apps/hal will show those that depend o it. I've just experimented a bit with that and it turned out that --depclean doesn't clean up the buildtime-only deps. But if I remove one of them (eg. cabextract), they don't get pulled in again (that's indicating the depending ebuilds are written properly). Is this a bug ? cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weig...@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
[gentoo-user] Automatically make backups of removed packages
Hi folks, is there any global option (eg. make.conf) to tell portage always to do backups of uninstalled or overwritten packages ? thx -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weig...@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] Automatically make backups of removed packages
On 17 août 2010, at 21:53, Enrico Weigelt wrote: Hi folks, is there any global option (eg. make.conf) to tell portage always to do backups of uninstalled or overwritten packages ? thx What is that you want to backup ? Your distfiles directory should have the tarballs, if you don't erase them. And you can consult the emerge logs (or qlop -u if you have q) to see what you unmerged. Florian (SuperFlo) CROUZAT / For security reasons, all text in this mail is double-rot13 encrypted. /
Re: [gentoo-user] Automatically make backups of removed packages
* Florian CROUZAT gen...@floriancrouzat.net wrote: What is that you want to backup ? The (binary) package content files. In something critical got removed or broken by accident (eg. toolchain or portage itself). And this should be done automatically. cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weig...@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] Automatically make backups of removed packages
On Tuesday 17 August 2010 21:53:32 Enrico Weigelt wrote: Hi folks, is there any global option (eg. make.conf) to tell portage always to do backups of uninstalled or overwritten packages ? Not that I know of. What you could do is always make a backup of all packages when they are installed with FEATURES=buildpkg. When you uninstall them, the last backup you made it already there. If you keep the backups reasonably pruned, total size will be approximately the size of /usr and /opt together. Or, you could just habitually quickpkg and package you think you might want to keep before you unmerge it. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Automatically make backups of removed packages
On Tue, Aug 17, 2010 at 2:53 PM, Enrico Weigelt weig...@metux.de wrote: Hi folks, is there any global option (eg. make.conf) to tell portage always to do backups of uninstalled or overwritten packages ? If you mean binary backup, you can enable buildpkg in FEATURES and wait for next+1 updates, then you'll have binary package of current and previous version... If you just want to know what was previously installed, but don't mind recompiling, you can use the demerge package, which saves state and allows you to revert to a previous state (emerge back to exact package versions that were installed at a certain date and time). It can also use binary packages if they are available (when used alongside buildpkg for example). There are also commands to create binpkg of an already-installed package, if you have specific times you want this but not all of the time.
Re: [gentoo-user] Automatically make backups of removed packages
On Tuesday 17 August 2010 22:15:43 Enrico Weigelt wrote: * Florian CROUZAT gen...@floriancrouzat.net wrote: What is that you want to backup ? The (binary) package content files. In something critical got removed or broken by accident (eg. toolchain or portage itself). And this should be done automatically. FEATURES=buildsyspkg -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] =www-client/chromium-6.0.472.33 and h264
On 08/17/2010 10:58 AM, Nganon wrote: On 17 August 2010 19:49, Andy Wilkinson drukar...@gmail.com mailto:drukar...@gmail.com wrote: Thanks for the info. That doesn't entirely answer my question, though... shouldn't chromium's bundled ffmpeg have h264 support? Google's youtube.com/html5 http://youtube.com/html5 page suggests that Chrome (and thus chromium?) supports h264. Is this a licensing issue going to the open source build that I've not heard of yet? Yes bundled ffmpeg should have h264 support but I think it as broken with a patch for ubuntu. Did you read the bug report on crbug? It is reported for 479 and marked as *fixed* in the trunk as of Aug 9th. I didnt read the release note of it but 490 was released on 13th and is in portage since then. So..you can either unmask it and give it a try or wait for the next release and keep an eye on the release notes. I have tried 490, and it has the same problem: html5test.com reports no h264 support, and non-webm, html5 youtube videos don't work. I'll continue trying successive builds as they're posted... maybe 490 doesn't have that commit yet? -Andy
Re: [gentoo-user] Yahoo and strange traffic.
Mick wrote: On 17 August 2010 15:29, BRMbm_witn...@yahoo.com wrote: - Original Message From: Dalerdalek1...@gmail.com Adam Carter wrote: Is this easy to do? I have no idea where to start except that wireshark is installed. Yep, start the capture with Capture -Interfaces and click on the start button next to the correct interface, then right click on one of the packets that is to the yahoo box and choose Decode As set the port and protocol then apply. You'll need to understand the semantics of HTTP for it to be of much use tho. You had me until the last part. No semantics here. lol May see if I can post a little and see if anyone can figure out what the heck it is doing. I'm thinking some crazy bug or something. Maybe checking for updates not realizing it's Kopete instead of a Yahoo program. Wireshark will show you the raw packet data, and decode only a little of it - enough to identify the general protocol, senders, etc. So to understand the packet, you will need to understand the application layer protocol - in this case HTTP - yourself as Wireshark won't help you there. But yet, Wireshark, nmap, and nessus security scanner are the tools, less so nessus as it really is more of a port scanner/security hole finder than a debug tool for applications (it's basically an interface for nmap for those purposes). I'm not at home to experiment and I don't use yahoo, but port 5050 is typically used for mmcc = multi media conference control - does yahoo offer such a service? It could be a SIP server running there for VoIP between Yahoo registered users or something similar. The http connection could be offered as an alternative proxy connection to the yahoo IM servers for users who are behind restrictive firewalls. Have you asked as much in the Yahoo user groups? The fact that the threads continue after kopete has shut down is not necessarily of concern as was already explained, unless it carries on and on for a long time and the flow of packets continues. I don't know how yahoo VoIP works. Did you install some plugin specific for yahoo services? If it imitates the Skype architecture then it essentially runs proxies on clients' machines and this could be an explanation for the traffic. I don't have VoIP, Skype or that sort of thing here. Here is my Kopete info tho: [ebuild R ] kde-base/kopete-4.4.5-r1 USE=addbookmarks autoreplace contactnotes groupwise handbook highlight history nowlistening pipes privacy ssl statistics texteffect translator urlpicpreview yahoo zeroconf (-aqua) -debug -gadu -jabber -jingle (-kdeenablefinal) (-kdeprefix) -latex -meanwhile -msn -oscar -otr -qq -skype -sms -testbed -v4l2 -webpresence -winpopup 0 kB Anything there that cold cause a problem? Dale :-) :-)
Re: [gentoo-user] Yahoo and strange traffic.
On Tuesday 17 August 2010 21:15:51 Dale wrote: Mick wrote: On 17 August 2010 15:29, BRMbm_witn...@yahoo.com wrote: - Original Message From: Dalerdalek1...@gmail.com Adam Carter wrote: Is this easy to do? I have no idea where to start except that wireshark is installed. Yep, start the capture with Capture -Interfaces and click on the start button next to the correct interface, then right click on one of the packets that is to the yahoo box and choose Decode As set the port and protocol then apply. You'll need to understand the semantics of HTTP for it to be of much use tho. You had me until the last part. No semantics here. lol May see if I can post a little and see if anyone can figure out what the heck it is doing. I'm thinking some crazy bug or something. Maybe checking for updates not realizing it's Kopete instead of a Yahoo program. Wireshark will show you the raw packet data, and decode only a little of it - enough to identify the general protocol, senders, etc. So to understand the packet, you will need to understand the application layer protocol - in this case HTTP - yourself as Wireshark won't help you there. But yet, Wireshark, nmap, and nessus security scanner are the tools, less so nessus as it really is more of a port scanner/security hole finder than a debug tool for applications (it's basically an interface for nmap for those purposes). I'm not at home to experiment and I don't use yahoo, but port 5050 is typically used for mmcc = multi media conference control - does yahoo offer such a service? It could be a SIP server running there for VoIP between Yahoo registered users or something similar. The http connection could be offered as an alternative proxy connection to the yahoo IM servers for users who are behind restrictive firewalls. Have you asked as much in the Yahoo user groups? The fact that the threads continue after kopete has shut down is not necessarily of concern as was already explained, unless it carries on and on for a long time and the flow of packets continues. I don't know how yahoo VoIP works. Did you install some plugin specific for yahoo services? If it imitates the Skype architecture then it essentially runs proxies on clients' machines and this could be an explanation for the traffic. I don't have VoIP, Skype or that sort of thing here. Here is my Kopete info tho: [ebuild R ] kde-base/kopete-4.4.5-r1 USE=addbookmarks autoreplace contactnotes groupwise handbook highlight history nowlistening pipes privacy ssl statistics texteffect translator urlpicpreview yahoo zeroconf (-aqua) -debug -gadu -jabber -jingle (-kdeenablefinal) (-kdeprefix) -latex -meanwhile -msn -oscar -otr -qq -skype -sms -testbed -v4l2 -webpresence -winpopup 0 kB Anything there that cold cause a problem? No, I can't see anything suspicious, you don't even have skype or v4l2 enabled, so it is unlikely that it is running some webcam stream (as part of VoIP). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Yahoo and strange traffic.
Mick wrote: On Tuesday 17 August 2010 21:15:51 Dale wrote: Mick wrote: On 17 August 2010 15:29, BRMbm_witn...@yahoo.com wrote: - Original Message From: Dalerdalek1...@gmail.com Adam Carter wrote: Is this easy to do? I have no idea where to start except that wireshark is installed. Yep, start the capture with Capture - Interfaces and click on the start button next to the correct interface, then right click on one of the packets that is to the yahoo box and choose Decode As set the port and protocol then apply. You'll need to understand the semantics of HTTP for it to be of much use tho. You had me until the last part. No semantics here. lol May see if I can post a little and see if anyone can figure out what the heck it is doing. I'm thinking some crazy bug or something. Maybe checking for updates not realizing it's Kopete instead of a Yahoo program. Wireshark will show you the raw packet data, and decode only a little of it - enough to identify the general protocol, senders, etc. So to understand the packet, you will need to understand the application layer protocol - in this case HTTP - yourself as Wireshark won't help you there. But yet, Wireshark, nmap, and nessus security scanner are the tools, less so nessus as it really is more of a port scanner/security hole finder than a debug tool for applications (it's basically an interface for nmap for those purposes). I'm not at home to experiment and I don't use yahoo, but port 5050 is typically used for mmcc = multi media conference control - does yahoo offer such a service? It could be a SIP server running there for VoIP between Yahoo registered users or something similar. The http connection could be offered as an alternative proxy connection to the yahoo IM servers for users who are behind restrictive firewalls. Have you asked as much in the Yahoo user groups? The fact that the threads continue after kopete has shut down is not necessarily of concern as was already explained, unless it carries on and on for a long time and the flow of packets continues. I don't know how yahoo VoIP works. Did you install some plugin specific for yahoo services? If it imitates the Skype architecture then it essentially runs proxies on clients' machines and this could be an explanation for the traffic. I don't have VoIP, Skype or that sort of thing here. Here is my Kopete info tho: [ebuild R ] kde-base/kopete-4.4.5-r1 USE=addbookmarks autoreplace contactnotes groupwise handbook highlight history nowlistening pipes privacy ssl statistics texteffect translator urlpicpreview yahoo zeroconf (-aqua) -debug -gadu -jabber -jingle (-kdeenablefinal) (-kdeprefix) -latex -meanwhile -msn -oscar -otr -qq -skype -sms -testbed -v4l2 -webpresence -winpopup 0 kB Anything there that cold cause a problem? No, I can't see anything suspicious, you don't even have skype or v4l2 enabled, so it is unlikely that it is running some webcam stream (as part of VoIP). lol I don't have a webcam even if it was turned on. Sort of funny about having a camera in my bedroom. o_O I'm thinking it is Yahoo wanting to upgrade something but not realizing that I'm not using their client but using kopete. Yahoo isn't the sharpest tool in the shed you know? Dale :-) :-)
Re: [gentoo-user] Typewriter sound
On Tuesday 17 August 2010 20:34:05 Albert Hopkins wrote: On Tue, 2010-08-17 at 20:43 +0200, meino.cra...@gmx.de wrote: Bill Longman bill.long...@gmail.com [10-08-17 20:16]: On 08/17/2010 10:56 AM, Albert Hopkins wrote: On Tue, 2010-08-17 at 19:20 +0200, meino.cra...@gmx.de wrote: Hi, on YouTube there was a Blender-2.5 tutorial with audio. There was an interesting detail: While there were spoken instructions one can hear one typing on its keyboard. Each hit on one of the keys made the sound of an old typewriter (no, it was not the sound of the legendary IBM Model M keyboard ;) ). How can I achieve this? What software can I use to make this geeky feature to come true. Unfortunately I have no idea, how to name this kind of what(?) ... Thank you very much for any hint in advance! Best regards, mcc There probably a number of ways to do this. A cheap and easy way would be to use xev to monitor a window and then pipe the stderr to a a program that waits for a keypress event and then plays an apropriate. A less cheap way would be to have our program do what xev does instead of using a pipe. Or you could set your X keyclick using xset. Hi, thanks a lot for your replies! :) Is there any program already, which does this? A daemon or...insert missing words here Best regards, mcc Well I found out that when you pass window id to xev it does not trap keyboard presses per-sé. But there is another way... Anway the following is a quick hack (in python). It pretty much works except it also seems to trap mouse presses. I got the .wav file at http://www.soundjay.com/typewriter-sounds.html I tried using 'xset c' but it basically does nothing for me. My guess is that it does work it basically sends the a BELL to the console. --- 8 CUT HERE --- import sys import subprocess soundfile = 'typewriter-key-1.wav' def main(): window_id = sys.argv[1] cmd = ['xev', '-id', window_id] p1 = subprocess.Popen(cmd, stdout=subprocess.PIPE) while True: line = p1.stdout.readline() if line.find('atom 0x14d') -1: subprocess.Popen(['aplay', soundfile], stderr=open('/dev/null', 'w')) if __name__ == '__main__': main() xset b on or xset c on do not work here either. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Typewriter sound
On Tue, Aug 17, 2010 at 12:20 PM, meino.cra...@gmx.de wrote: Hi, on YouTube there was a Blender-2.5 tutorial with audio. There was an interesting detail: While there were spoken instructions one can hear one typing on its keyboard. Each hit on one of the keys made the sound of an old typewriter (no, it was not the sound of the legendary IBM Model M keyboard ;) ). How can I achieve this? I have not tried it, but a Google search showed me this: http://github.com/colszowka/linux-typewriter BTW - I have Unicomp keyboards (modern version of IBM Model M) and they are loud and awesome ;)
Re: [gentoo-user] Typewriter sound
Paul Hartman paul.hartman+gen...@gmail.com [10-08-18 00:20]: On Tue, Aug 17, 2010 at 12:20 PM, meino.cra...@gmx.de wrote: Hi, on YouTube there was a Blender-2.5 tutorial with audio. There was an interesting detail: While there were spoken instructions one can hear one typing on its keyboard. Each hit on one of the keys made the sound of an old typewriter (no, it was not the sound of the legendary IBM Model M keyboard ;) ). How can I achieve this? I have not tried it, but a Google search showed me this: http://github.com/colszowka/linux-typewriter BTW - I have Unicomp keyboards (modern version of IBM Model M) and they are loud and awesome ;) Hi, thanks a lot for all your help! :) I will try it out all ! :)) By the way (the same way! ;)) I am in search of such an model m IBM-keyboard. A colleque yesterday calls me and said, that he found one for me in the PC-junk at the basement of the building he is working in. Hopefully it is one which is 1.) fully working and 2.) with german keyboard layout. Fingers crossed. Currently I am using a Cherry MX 1000 G80 keyboard -- since 15 years now without any kind misfunctional behaviour (I mean: the keyboard shows no misfunction... ;). It is one with a big roung AT-connector (pre PS2-era). The typewriter sound project is just kind of joke: I am imaging the face of people on the phone, when I say: Oh, wait a moment...I will look into the database... and then: clack, clackclack, clack, clackclackclack -- they will here a typewriter grin. Happy hacking! best regards, mcc PS: Here is a nice description of the buckling spring mechanism in action: http://www.plope.com/Members/chrism/25_years_of_the_model_m
Re: [gentoo-user] Still Struggling With Wireless
On 08/17/10 08:36, David Abbott wrote: On Mon, Aug 16, 2010 at 9:45 PM, CJoeB colleen.bea...@gmail.com wrote: Hi, I'm biting the bullet here and asking for help. I would suggest using Wicd [0] and disable all !net.* rc scripts depending on the version of baselayout /openrc you have the file to edit [1] will change. [0] http://en.gentoo-wiki.com/wiki/Wicd [1] http://gentoo-pr.org/node/17 More than anything, I am acknowledging this response. My understanding is that Wicd requires wpa-supplicant. I don't know that I'm ready to try to tackle the setup of wpa-supplicant - it's supposed to be harder (it looks harder from what I have read) to configure than wireless-tools and I'm not having very much success with that and the iwl3945 driver built into the kernel. Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] Still Struggling With Wireless
On 08/17/10 10:55, Jake Moe wrote: On 08/17/10 11:55, Adam Carter wrote: Hi, I'm biting the bullet here and asking for help. Yes! I've posted before. And before anyone asks, I have read the responses to my previous posts which helped little. I have read the documentation and the wikis - ad nauseum. I'm still having problems with wireless. I use wpa_supplicant to provide the wifi crypto. So, I'm left with trying to use the iwl3945 driver in the kernel. I followed the wiki for setting this up and thought I had succeeded. I got to the point where I was told to type the following: ifconfig wlan0 up (this does activate the wireless led on my computer) iwlist wlan0 scan iwconfig wlan0 essid network name (where the network name is the essid that has been set) When I got this to work, I thought I was home free despite the kludgy way of getting wireless working. However, I rebooted and now, when I type iwlist wlan0 scan I get told that scanning is not supported. Yes, I have iwl3945-ucode installed and yes, it was recompiled after the kernel was rebuilt. I have no idea what I'm doing wrong. Forgetting to post up your configs :) eg /etc/conf.d/net etc I've used the iwl3945 on a few HP laptops without much problem. The few problems I had were related to switching the wireless on and off; I'd have to rmmod and modprobe kernel modules to get it working again. Does ifconfig list the interface? If not, what does ifconfig wlan0 up do? What about the output of iwconfig? And going for the obvious here, any chance that the wireless is turned off? Jake Moe iwconfig lists the interface as wlan0 I discovered last night after sending my original message that my symlink was wrong - I used to have net.eth0 and net.eth1 pointing to net.lo. However, last night I removed the net.eth1 symlink and created the net.wlan0 symlink to net.lo. Now when I boot the computer, my wireless comes up and the LED comes on, but then it times out because (I assume) it can't establish a connection. This is my /etc/conf.d/net file. Note that the any used to work when I used the ipw3945 driver. I would scan for available networks. I tried last night to change the any to the essid printed on my Bell router, but that didn't work. # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). #preup() { # if [[ ${IFACE} = wlan0 ]]; then # sleep 3 # fi # return 0 #} modules=( iwconfig ) iwconfig_wlan0=mode managed config_eth0=(dhcp) config_wlan0=(dhcp) wpa_timeout_wlan0=15 essid_wlan0=any Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] Typewriter sound
On 08/17/2010 02:44 PM, Mick wrote: On Tuesday 17 August 2010 20:34:05 Albert Hopkins wrote: On Tue, 2010-08-17 at 20:43 +0200, meino.cra...@gmx.de wrote: Bill Longman bill.long...@gmail.com [10-08-17 20:16]: On 08/17/2010 10:56 AM, Albert Hopkins wrote: On Tue, 2010-08-17 at 19:20 +0200, meino.cra...@gmx.de wrote: Hi, on YouTube there was a Blender-2.5 tutorial with audio. There was an interesting detail: While there were spoken instructions one can hear one typing on its keyboard. Each hit on one of the keys made the sound of an old typewriter (no, it was not the sound of the legendary IBM Model M keyboard ;) ). How can I achieve this? What software can I use to make this geeky feature to come true. Unfortunately I have no idea, how to name this kind of what(?) ... Thank you very much for any hint in advance! Best regards, mcc There probably a number of ways to do this. A cheap and easy way would be to use xev to monitor a window and then pipe the stderr to a a program that waits for a keypress event and then plays an apropriate. A less cheap way would be to have our program do what xev does instead of using a pipe. Or you could set your X keyclick using xset. Hi, thanks a lot for your replies! :) Is there any program already, which does this? A daemon or...insert missing words here Best regards, mcc Well I found out that when you pass window id to xev it does not trap keyboard presses per-sé. But there is another way... Anway the following is a quick hack (in python). It pretty much works except it also seems to trap mouse presses. I got the .wav file at http://www.soundjay.com/typewriter-sounds.html I tried using 'xset c' but it basically does nothing for me. My guess is that it does work it basically sends the a BELL to the console. My thinking was that you could enable the system bell through the sound system (there's a kernel setting for it) and then just change the sound to whatever the typewriter sound is. Kinda cruddy, but it might be worth trying
Re: [gentoo-user] Typewriter sound
On Tue, 2010-08-17 at 17:14 -0500, Paul Hartman wrote: I have not tried it, but a Google search showed me this: http://github.com/colszowka/linux-typewriter BTW - I have Unicomp keyboards (modern version of IBM Model M) and they are loud and awesome ;) This is a weird script. It's a ruby script that creates a web server, but the web server listens for... It runs a python script that uses python-xlib to listen for key presses, and when a key is pressed it uses curl to open the connection to the ruby script.. when the ruby script receives a request it plays a sound. So really it's the Python script that's doing all the work... If you can just try downloading the python script[1] and replacing 'curl http://localhost:4567/key' with 'aplay myfile.wav' [1] http://github.com/colszowka/linux-typewriter/blob/master/bin/keypress.py
Re: [gentoo-user] glibc-2.12.1
Hi Alan, a suggestion - for mission critical clone one of your systems into a vm (dd), get it working, upgrade and test. Or clone to a chroot and do the same. Not quite 100% - but allows some peace of mind! BillK On Tue, 2010-08-17 at 17:34 +0200, Alan McKinnon wrote: On Tuesday 17 August 2010 15:21:35 Peter Ruskin wrote: On Tuesday 17 August 2010 09:33:09 Alan McKinnon wrote: Hi, Anyone successfully built and using glibc-2.12.1 yet? I see the tree just pushed an update down from 2.11.2 to 2.12.1, and downgrading that package is decidedly non-trivial. Only comment I can find at this early stage is flameeye's blog, and this makes me quadruple nervous: And if you say that “the new GLIBC works for me”, are you saying that the package itself builds or if it’s actually integrated correctly? Because, you know, I used to rebuild the whole system whenever I made a change to basic system packages when I maintained Gentoo/FreeBSD, and saying that it’s ready for ~arch when you haven’t even rebuilt the system (and you haven’t, or you would have noticed that m4 was broken) is definitely something I’d define as reckless and I’d venture to say you’re not good material to work on the quality assurance status. “correctness” in the case of the system C library would be “it a t least leaves the system set building and running”; glibc 2.12 does not work this way. OK here on ~amd64, but you got me worried so I emerged m4 to check and that went OK too. I got a couple of replies, all like this one - positive. Thanks, all. I'll start the update later on tonight and let 'er run. -- William Kenworthy bi...@iinet.net.au Home in Perth!
[gentoo-user] Re: DVD borked: SysFS removed
On 08/16/2010 05:13 PM, James wrote: Kaffeine croaks with ///dev/hda error Looks like you are still using the deprecated disk drivers, and you'd probably be better off getting rid of those drivers completely and using the newer replacements. e.g. in 'make menuconfig' select the Device Drivers item and look at line 8: ATA/ATAPI/MFM/RLL support (DEPRECATED) --- Notice I have that option un-selected, and I'd suggest you try the same. Now look two lines below that: * Serial ATA and Parallel ATA drivers --- I have an older machine, so my DVD is supported by the VIA PATA driver, but your motherboard may use something else, of course. The point is: my DVD is a regular old PATA drive, but because of the newer device driver it now shows up this way: $ls -l /dev/dvd lrwxrwxrwx 1 root root 3 2010-08-17 04:46 /dev/dvd - sr0 I didn't do anything to cause that. udev took care of it without my help, and everything Just Worked. Well, not quite true. I did change my /etc/fstab, but I'm now using disk labels in fstab instead of device names. If you still use device names you'll need to change /dev/hd* to /dev/sd* in fstab when using the new disk drivers.
Re: [gentoo-user] /var/log/messages is huge
On Tuesday 17 August 2010 11:57:13 dhk wrote: I don't understand why it just started to be a problem. I've had this kernel for almost four months. That's how long it's taken to fill your disk up. -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] Typewriter sound
On Tue, 2010-08-17 at 19:17 -0400, Albert Hopkins wrote: This is a weird script. It's a ruby script that creates a web server, but the web server listens for... It runs a python script that uses python-xlib to listen for key presses, and when a key is pressed it uses curl to open the connection to the ruby script.. when the ruby script receives a request it plays a sound. So really it's the Python script that's doing all the work... If you can just try downloading the python script[1] and replacing 'curl http://localhost:4567/key' with 'aplay myfile.wav' [1] http://github.com/colszowka/linux-typewriter/blob/master/bin/keypress.py Here is my edit of his Python script. Basically the original author was making the wrong Python call to call aplay and, instead of looking up the documentation, he decided to create a ruby script that creates a web server to he can connect to it and play audio files :S Anyway this version seems to work for me. I modified it a bit to play a different file when the ENTER key is pressed and to mask aplay's output. Again, I acquired the wav files from: http://www.soundjay.com/typewriter-sounds.html -a
Re: [gentoo-user] Typewriter sound
On Tue, 2010-08-17 at 19:41 -0400, Albert Hopkins wrote: Here is my edit of his Python script. ... which I actually forgot to attach :| -a #!/usr/bin/env python ## A tiny, nifty script for playing musical notes on each keypress. ## ## Copyright Sayan Riju Chakrabarti (sayanriju) 2009 ## me[at]sayanriju[dot]co[dot]cc ## ## Released under WTFPL Version 2 ## (DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE) ## Copy of license text can be found online at ## http://sam.zoy.org/wtfpl/COPYING ## http://rants.sayanriju.co.cc/script-to-make-tick-tick-sound-on-keypress from Xlib.display import Display import subprocess import time KEYPRESSFILE = 'typewriter-key-1.wav' RETURNFILE = 'typewriter-line-break-1.wav' notes=[440,494,523,587,659,698,784] ZERO,SHIFT,ALT,CTL=[],[],[],[] ENTER = [0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] for i in range(0,32): ZERO.append(0) if i==6: SHIFT.append(4) else: SHIFT.append(0) if i==4: CTL.append(32) else: CTL.append(0) if i==8: ALT.append(1) else: ALT.append(0) ignorelist=[ZERO,ALT,SHIFT,CTL] def main(): disp = Display()# connect to display while 1:#event loop keymap = disp.query_keymap() if keymap not in ignorelist: filename = RETURNFILE if keymap == ENTER else KEYPRESSFILE subprocess.Popen(['aplay', filename], stderr=open('/dev/null', 'w')) time.sleep(0.1) if __name__ == '__main__': main()
Re: [gentoo-user] Automatically make backups of removed packages
On Tue, 2010-08-17 at 21:53 +0200, Enrico Weigelt wrote: Hi folks, is there any global option (eg. make.conf) to tell portage always to do backups of uninstalled or overwritten packages ? I always build binary packages when I emerge them (i.e. FEATURES=buildpkg). That way if I uninstall something or it is upgraded etc. I always have a copy). -a
Re: [gentoo-user] Still Struggling With Wireless
On 18/08/10 09:04, CJoeB wrote: On 08/17/10 10:55, Jake Moe wrote: On 08/17/10 11:55, Adam Carter wrote: Hi, I'm biting the bullet here and asking for help. Yes! I've posted before. And before anyone asks, I have read the responses to my previous posts which helped little. I have read the documentation and the wikis - ad nauseum. I'm still having problems with wireless. I use wpa_supplicant to provide the wifi crypto. So, I'm left with trying to use the iwl3945 driver in the kernel. I followed the wiki for setting this up and thought I had succeeded. I got to the point where I was told to type the following: ifconfig wlan0 up (this does activate the wireless led on my computer) iwlist wlan0 scan iwconfig wlan0 essid network name (where the network name is the essid that has been set) When I got this to work, I thought I was home free despite the kludgy way of getting wireless working. However, I rebooted and now, when I type iwlist wlan0 scan I get told that scanning is not supported. Yes, I have iwl3945-ucode installed and yes, it was recompiled after the kernel was rebuilt. I have no idea what I'm doing wrong. Forgetting to post up your configs :) eg /etc/conf.d/net etc I've used the iwl3945 on a few HP laptops without much problem. The few problems I had were related to switching the wireless on and off; I'd have to rmmod and modprobe kernel modules to get it working again. Does ifconfig list the interface? If not, what does ifconfig wlan0 up do? What about the output of iwconfig? And going for the obvious here, any chance that the wireless is turned off? Jake Moe iwconfig lists the interface as wlan0 I discovered last night after sending my original message that my symlink was wrong - I used to have net.eth0 and net.eth1 pointing to net.lo. However, last night I removed the net.eth1 symlink and created the net.wlan0 symlink to net.lo. Now when I boot the computer, my wireless comes up and the LED comes on, but then it times out because (I assume) it can't establish a connection. This is my /etc/conf.d/net file. Note that the any used to work when I used the ipw3945 driver. I would scan for available networks. I tried last night to change the any to the essid printed on my Bell router, but that didn't work. # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). #preup() { # if [[ ${IFACE} = wlan0 ]]; then # sleep 3 # fi # return 0 #} modules=( iwconfig ) iwconfig_wlan0=mode managed config_eth0=(dhcp) config_wlan0=(dhcp) wpa_timeout_wlan0=15 essid_wlan0=any Regards, Colleen This is the wireless part of mine: modules=( iwconfig ) config_wlan0=( noop dhcp ) dhcpcd_wlan0=( -d -t 15 ) associate_order=( forcepreferredonly ) associate_timeout=( 5 ) preferred_aps=( firstessid secondessid ) key_firstessid=( THIS-ISMY-KEY1-1234-5678-90AB-CD ) key_secondessid=( THIS-ISMY-KEY2-ABCD-EFGH-IJKL-MN ) I've removed anything not having to do with the wireless for clarity. From memory, the only lines needed are modules, config_wlan0, and preferred_aps (I have two because I also use wireless at my g/f's mum's house). Oh, and I use forcepreferredonly so it'll try to connect even though it can't find my essid by scanning (because I've told my router to stop broadcasting the essid of my wireless network), and it'll only try to connect to networks I specifically tell it to, no others. If your essid is hidden as well, you'll probably need to add either forcepreferredonly or forceany if you want it to auto-connect to any it finds if it can't connect to yours. Reading through the wireless.example file, I came across this: ## # SETTINGS ## # Hard code an ESSID to an interface - leave this unset if you wish the driver # to scan for available Access Points # Set to any to connect to any ESSID - the driver picks an Access Point # This needs to be done when the driver doesn't support scanning # This may work for drivers that don't support scanning but you need automatic # AP association # I would only set this as a last resort really - use the preferred_aps # setting at the bottom of this file Which is why I used perferred_aps instead of essid_wlan0. Give that a try, perhaps? Jake Moe
Re: [gentoo-user] Yahoo and strange traffic.
- Original Message From: Dale rdalek1...@gmail.com Mick wrote: On Tuesday 17 August 2010 21:15:51 Dale wrote: Mick wrote: On 17 August 2010 15:29, BRMbm_witn...@yahoo.comwrote: - Original Message From: Dalerdalek1...@gmail.com Adam Carter wrote: Is this easy to do? I have no idea where to start except that wireshark is installed. Yep, start the capture with Capture - Interfaces and click on the start button next to the correct interface, then right click on one of the packets that is to the yahoo box and choose Decode As set the port and protocol then apply. You'll need to understand the semantics of HTTP for it to be of much use tho. You had me until the last part. No semantics here. lol May see if I can post a little and see if anyone can figure out what the heck it is doing. I'm thinking some crazy bug or something. Maybe checking for updates not realizing it's Kopete instead of a Yahoo program. Wireshark will show you the raw packet data, and decode only a little of it - enough to identify the general protocol, senders, etc. So to understand the packet, you will need to understand the application layer protocol - in this case HTTP - yourself as Wireshark won't help you there. But yet, Wireshark, nmap, and nessus security scanner are the tools, less so nessus as it really is more of a port scanner/security hole finder than a debug tool for applications (it's basically an interface for nmap for those purposes). I'm not at home to experiment and I don't use yahoo, but port 5050 is typically used for mmcc = multi media conference control - does yahoo offer such a service? It could be a SIP server running there for VoIP between Yahoo registered users or something similar. The http connection could be offered as an alternative proxy connection to the yahoo IM servers for users who are behind restrictive firewalls. Have you asked as much in the Yahoo user groups? The fact that the threads continue after kopete has shut down is not necessarily of concern as was already explained, unless it carries on and on for a long time and the flow of packets continues. I don't know how yahoo VoIP works. Did you install some plugin specific for yahoo services? If it imitates the Skype architecture then it essentially runs proxies on clients' machines and this could be an explanation for the traffic. I don't have VoIP, Skype or that sort of thing here. Here is my Kopete info tho: [ebuild R ] kde-base/kopete-4.4.5-r1 USE=addbookmarks autoreplace contactnotes groupwise handbook highlight history nowlistening pipes privacy ssl statistics texteffect translator urlpicpreview yahoo zeroconf (-aqua) -debug -gadu -jabber -jingle (-kdeenablefinal) (-kdeprefix) -latex -meanwhile -msn -oscar -otr -qq -skype -sms -testbed -v4l2 -webpresence -winpopup 0 kB Anything there that cold cause a problem? No, I can't see anything suspicious, you don't even have skype or v4l2 enabled, so it is unlikely that it is running some webcam stream (as part of VoIP). I'm thinking it is Yahoo wanting to upgrade something but not realizing that I'm not using their client but using kopete. Yahoo isn't the sharpest tool in the shed you know? I doubt that's the case. I use Pidgin with Yahoo, and haven't had that kind of thing so far as I'm aware. Ben
Re: [gentoo-user] Yahoo and strange traffic.
BRM wrote: - Original Message From: Dalerdalek1...@gmail.com I'm thinking it is Yahoo wanting to upgrade something but not realizing that I'm not using their client but using kopete. Yahoo isn't the sharpest tool in the shed you know? I doubt that's the case. I use Pidgin with Yahoo, and haven't had that kind of thing so far as I'm aware. Ben I did run into that once before. Yahoo was determined to upgrade but I was using Kopete so things didn't go to well. It was a pop up that I could disable but it would still start trying to download the new version. Of course, when I told it to skip the upgrade it stopped the download. I have not seen any sort of pop up yet with the current issue. It is weird but it hasn't done it since my earlier post. It will do it again eventually tho. I'm just waiting so I can get wireshark a hold of it. Dale :-) :-)
Re: [gentoo-user] Yahoo and strange traffic.
BRM wrote: - Original Message From: Dalerdalek1...@gmail.com I'm thinking it is Yahoo wanting to upgrade something but not realizing that I'm not using their client but using kopete. Yahoo isn't the sharpest tool in the shed you know? I doubt that's the case. I use Pidgin with Yahoo, and haven't had that kind of thing so far as I'm aware. Ben I did run into that once before. Yahoo was determined to upgrade but I was using Kopete so things didn't go to well. It was a pop up that I could disable but it would still start trying to download the new version. Of course, when I told it to skip the upgrade it stopped the download. I have not seen any sort of pop up yet with the current issue. It is weird but it hasn't done it since my earlier post. It will do it again eventually tho. I'm just waiting so I can get wireshark a hold of it. Dale :-) :-)
Re: [gentoo-user] Still Struggling With Wireless
On 08/18/10 01:12, Jake Moe wrote: On 18/08/10 09:04, CJoeB wrote: On 08/17/10 10:55, Jake Moe wrote: On 08/17/10 11:55, Adam Carter wrote: Hi, I'm biting the bullet here and asking for help. Yes! I've posted before. And before anyone asks, I have read the responses to my previous posts which helped little. I have read the documentation and the wikis - ad nauseum. I'm still having problems with wireless. I use wpa_supplicant to provide the wifi crypto. So, I'm left with trying to use the iwl3945 driver in the kernel. I followed the wiki for setting this up and thought I had succeeded. I got to the point where I was told to type the following: ifconfig wlan0 up (this does activate the wireless led on my computer) iwlist wlan0 scan iwconfig wlan0 essid network name (where the network name is the essid that has been set) When I got this to work, I thought I was home free despite the kludgy way of getting wireless working. However, I rebooted and now, when I type iwlist wlan0 scan I get told that scanning is not supported. Yes, I have iwl3945-ucode installed and yes, it was recompiled after the kernel was rebuilt. I have no idea what I'm doing wrong. Forgetting to post up your configs :) eg /etc/conf.d/net etc I've used the iwl3945 on a few HP laptops without much problem. The few problems I had were related to switching the wireless on and off; I'd have to rmmod and modprobe kernel modules to get it working again. Does ifconfig list the interface? If not, what does ifconfig wlan0 up do? What about the output of iwconfig? And going for the obvious here, any chance that the wireless is turned off? Jake Moe iwconfig lists the interface as wlan0 I discovered last night after sending my original message that my symlink was wrong - I used to have net.eth0 and net.eth1 pointing to net.lo. However, last night I removed the net.eth1 symlink and created the net.wlan0 symlink to net.lo. Now when I boot the computer, my wireless comes up and the LED comes on, but then it times out because (I assume) it can't establish a connection. This is my /etc/conf.d/net file. Note that the any used to work when I used the ipw3945 driver. I would scan for available networks. I tried last night to change the any to the essid printed on my Bell router, but that didn't work. # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). #preup() { # if [[ ${IFACE} = wlan0 ]]; then # sleep 3 # fi # return 0 #} modules=( iwconfig ) iwconfig_wlan0=mode managed config_eth0=(dhcp) config_wlan0=(dhcp) wpa_timeout_wlan0=15 essid_wlan0=any Regards, Colleen This is the wireless part of mine: modules=( iwconfig ) config_wlan0=( noop dhcp ) dhcpcd_wlan0=( -d -t 15 ) associate_order=( forcepreferredonly ) associate_timeout=( 5 ) preferred_aps=( firstessid secondessid ) key_firstessid=( THIS-ISMY-KEY1-1234-5678-90AB-CD ) key_secondessid=( THIS-ISMY-KEY2-ABCD-EFGH-IJKL-MN ) I've removed anything not having to do with the wireless for clarity. From memory, the only lines needed are modules, config_wlan0, and preferred_aps (I have two because I also use wireless at my g/f's mum's house). Oh, and I use forcepreferredonly so it'll try to connect even though it can't find my essid by scanning (because I've told my router to stop broadcasting the essid of my wireless network), and it'll only try to connect to networks I specifically tell it to, no others. If your essid is hidden as well, you'll probably need to add either forcepreferredonly or forceany if you want it to auto-connect to any it finds if it can't connect to yours. Reading through the wireless.example file, I came across this: ## # SETTINGS ## # Hard code an ESSID to an interface - leave this unset if you wish the driver # to scan for available Access Points # Set to any to connect to any ESSID - the driver picks an Access Point # This needs to be done when the driver doesn't support scanning # This may work for drivers that don't support scanning but you need automatic # AP association # I would only set this as a last resort really - use the preferred_aps # setting at the bottom of this file Which is why I used perferred_aps instead of essid_wlan0. Give that a try, perhaps? Jake Moe Haven't tried this yet - just got the e-mail and it's almost 11:00 p.m. and time for me to hit the sack. However, I wanted to point this out. This test was copied from dmesg. Unless, I am misreading this, it looks like
Re: [gentoo-user] Xorg 1.65
Bill, The xorg version is 1.7.6 (no r# to the best of my knowledge). When I do emerge it will re-emerge the 1.7.6 version and not the newer 1.8.2 version. The video card is VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01). I have not tried the mask suggested by other responders yet, but will soon. Thanks for the suggestions. Dan --- On Thu, 8/12/10, William Kenworthy bi...@iinet.net.au wrote: From: William Kenworthy bi...@iinet.net.au Subject: Re: [gentoo-user] Xorg 1.65 To: gentoo-user@lists.gentoo.org Date: Thursday, August 12, 2010, 9:29 PM On Fri, 2010-08-13 at 09:03 +0800, Thomas Yao wrote: On Fri, Aug 13, 2010 at 5:46 AM, dan blum dan_...@yahoo.com wrote: I am currently running xorg 1.7, which crashes very frequently. When I used to run xorg 1.65 everything was running fine. Can anyone clue me in on how to emerge an older version of the program. Thanks. Maybe you should have a look at the portage documentation carefully and understand it well before you dive into gentoo, it's really important: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=1 Good luck and consider going the other way - I am using 1.8.2 (xorg-server) which is more stable for me than the 1.7 series. However, some idea on what your system is may help - certain combinations (xorg-server-1.7.x, inetl driver and tuxonice hibernate are problematic, others are fine with certain workarounds. Can you provide more info such as video card and what the crash is? The actual xorg version should be something like 7.4-r1 so I presume you quoted xorg-server? BillK -- William Kenworthy bi...@iinet.net.au Home in Perth!
Re: [gentoo-user] Typewriter sound
On Tue, Aug 17, 2010 at 5:47 PM, meino.cra...@gmx.de wrote: By the way (the same way! ;)) I am in search of such an model m IBM-keyboard. A colleque yesterday calls me and said, that he found one for me in the PC-junk at the basement of the building he is working in. Hopefully it is one which is 1.) fully working and 2.) with german keyboard layout. Fingers crossed. Unicomp owns the patent from the original IBM/Lexmark Model M keyboards, they still make sell modern versions (with USB and Windows keys, if you want, also versions with PS/2 or without windows keys are available). And you can buy it with German configuration. You can even buy it with quiet keys, but what is the point of that?? ;) They are made in the USA but can be shipped worldwide. This is the model I have (in black with grey keys): http://pckeyboards.stores.yahoo.net/customizer.html It is the same size and weight like the old keyboards, very heavy, each key cap can be removed, it is loud clicks nicely and is very awesome. For USD$69 I think it is a bargain, I type on the computer every day and this keyboard is simply perfect to me. After using cheap $5 and $10 keyboards for so many years, now I will never go back to those. Their website is http://www.pckeyboard.com and they have other keyboard variations such as a Linux keyboard. I highly recommend it for anyone who likes a huge and loud keyboard that feels incredible. :)
Re: [gentoo-user] Typewriter sound
Paul Hartman wrote: On Tue, Aug 17, 2010 at 5:47 PM,meino.cra...@gmx.de wrote: By the way (the same way! ;)) I am in search of such an model m IBM-keyboard. A colleque yesterday calls me and said, that he found one for me in the PC-junk at the basement of the building he is working in. Hopefully it is one which is 1.) fully working and 2.) with german keyboard layout. Fingers crossed. Unicomp owns the patent from the original IBM/Lexmark Model M keyboards, they still make sell modern versions (with USB and Windows keys, if you want, also versions with PS/2 or without windows keys are available). And you can buy it with German configuration. You can even buy it with quiet keys, but what is the point of that?? ;) They are made in the USA but can be shipped worldwide. This is the model I have (in black with grey keys): http://pckeyboards.stores.yahoo.net/customizer.html It is the same size and weight like the old keyboards, very heavy, each key cap can be removed, it is loud clicks nicely and is very awesome. For USD$69 I think it is a bargain, I type on the computer every day and this keyboard is simply perfect to me. After using cheap $5 and $10 keyboards for so many years, now I will never go back to those. Their website is http://www.pckeyboard.com and they have other keyboard variations such as a Linux keyboard. I highly recommend it for anyone who likes a huge and loud keyboard that feels incredible. :) I think I got a old IBM AT/XT keyboard out in my shop. It has the wrong connector tho. Those things are pretty loud. You are right, they are heavy tho. Hmmm, could buy a adapter I guess. Oh, I threw out the old 14 hard drives a while back. I had two of those too. o_O Dale :-) :-)
Re: [gentoo-user] Xorg 1.65
Its worth unmasking the required packages for intel cards - there have been some quite useful improvements in speed and stability - its one case where you are definitely better off on the bleeding edge for the intel driver, xorg-server and the kernel:) Anything less at the moment will leave you as you are now. There are also documents for setting up mode setting via google - setup isnt quite as easy as other cards at the moment. BillK On Tue, 2010-08-17 at 20:38 -0700, dan blum wrote: Bill, The xorg version is 1.7.6 (no r# to the best of my knowledge). When I do emerge it will re-emerge the 1.7.6 version and not the newer 1.8.2 version. The video card is VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01). I have not tried the mask suggested by other responders yet, but will soon. Thanks for the suggestions. Dan --- On Thu, 8/12/10, William Kenworthy bi...@iinet.net.au wrote: From: William Kenworthy bi...@iinet.net.au Subject: Re: [gentoo-user] Xorg 1.65 To: gentoo-user@lists.gentoo.org Date: Thursday, August 12, 2010, 9:29 PM On Fri, 2010-08-13 at 09:03 +0800, Thomas Yao wrote: On Fri, Aug 13, 2010 at 5:46 AM, dan blum dan_...@yahoo.com wrote: I am currently running xorg 1.7, which crashes very frequently. When I used to run xorg 1.65 everything was running fine. Can anyone clue me in on how to emerge an older version of the program. Thanks. Maybe you should have a look at the portage documentation carefully and understand it well before you dive into gentoo, it's really important: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=1 Good luck and consider going the other way - I am using 1.8.2 (xorg-server) which is more stable for me than the 1.7 series. However, some idea on what your system is may help - certain combinations (xorg-server-1.7.x, inetl driver and tuxonice hibernate are problematic, others are fine with certain workarounds. Can you provide more info such as video card and what the crash is? The actual xorg version should be something like 7.4-r1 so I presume you quoted xorg-server? BillK -- William Kenworthy bi...@iinet.net.au Home in Perth!
[gentoo-user] Regenerate portage cache from scratch following a big toe crash?
OK, this is too funny. I'm sitting here in the dark browsing around on my home machine while I'm doing an eix-sync. I have my legs crossed, sitting in my chair that swivels, and guess what...my big toe is at __exactly__ the height of the main power button on my APC UPS, and darn if I don't hit it and power is gone! The machine booted and came back up with no obvious problems but when I tried to continue with the eix-sync I get some pretty messed up messages, ala: Can't read cache file /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success Reading category 146|154 ( 94%): x11-libs .. Can't read cache file /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success Reading category 146|154 ( 94%): x11-libs .. Can't read cache file /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success Reading category 146|154 ( 94%): x11-libs .. Can't read cache file /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success Reading category 146|154 ( 94%): x11-libs .. Can't read cache file /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success Reading category 154|154 (100%) Finished I tried removing the timestamp file to get it to sync again but that didn't fix it. How does a big-toe guy regenerate the database emerge --sync normally keeps for my machine? Too funny! (Hey - at least I provided a laugh I hope!) :-))) - Mark
Re: [gentoo-user] Regenerate portage cache from scratch following a big toe crash?
Mark Knecht wrote: OK, this is too funny. I'm sitting here in the dark browsing around on my home machine while I'm doing an eix-sync. I have my legs crossed, sitting in my chair that swivels, and guess what...my big toe is at __exactly__ the height of the main power button on my APC UPS, and darn if I don't hit it and power is gone! The machine booted and came back up with no obvious problems but when I tried to continue with the eix-sync I get some pretty messed up messages, ala: Can't read cache file /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success Reading category 146|154 ( 94%): x11-libs .. Can't read cache file /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success Reading category 146|154 ( 94%): x11-libs .. Can't read cache file /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success Reading category 146|154 ( 94%): x11-libs .. Can't read cache file /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success Reading category 146|154 ( 94%): x11-libs .. Can't read cache file /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success Reading category 154|154 (100%) Finished I tried removing the timestamp file to get it to sync again but that didn't fix it. How does a big-toe guy regenerate the database emerge --sync normally keeps for my machine? Too funny! (Hey - at least I provided a laugh I hope!) :-))) - Mark I think this will help: emerge-webrsync That should download the complete tree. It will be a pretty good size file tho just in case you have dial-up or some other slow connection. Dale :-) :-) P. S. Careful with the toe next time. lol