Re: [gentoo-user] [OT] Linux Live CD to perform hardware audit?
But do any of you guys/gals know of a Live CD distro that can perform hardware audit? i.e., detect installed processor model, RAM parameters layout, etc. Some days ago I was using the parted magic live cd [1]. It had a tool that listed all hardware in a nice fashion. I don't recall it's name - but looking at the list of programs that come with parted magic [2] I guess it was hardinfo. [1] http://partedmagic.com/ [2] http://partedmagic.com/doku.php?id=programs
Re: [gentoo-user] Google - can not open any link
You are right on; I disable Java in firefox and now can open links in google search. As I said, I have disabled cookies and javascript for goolge.de (using cookiemonster an noscript). But as I sometimes use google maps, I allow javascript on google.com and then use google.com for maps - with cookies disalbed. And here I have the same issue as you have, I cannot open the links, but the strange thing is: it's not all the time, sometimes it works, sometimes it does not. Who knows what google guys were doing. Maybe they left a screw driver in there or something :)
Re: [gentoo-user] [OT] Linux Live CD to perform hardware audit?
On Thu, 9 Feb 2012 00:54:19 -0500 Joshua Murphy poiso...@gmail.com wrote: On Wed, Feb 8, 2012 at 10:58 PM, Pandu Poluan pa...@poluan.info wrote: Excuse me for starting an off-topic thread, But do any of you guys/gals know of a Live CD distro that can perform hardware audit? i.e., detect installed processor model, RAM parameters layout, etc. It's gotta be a Live CD because the boxes currently installed are running either VMware or XenServer and I am reluctant to open them up. So I guess I'll just shutdown the box, boot using the Live CD, record all important info, and reboot into the hypervisor. Rgds, Pretty much any livecd that'll boot can do the job... lspci -vv, /proc/cpuinfo, /proc/meminfo, and fdisk -l (which'll catch any drives the running kernel sees at least) are pretty standard, and it wouldn't take much to include a script that calls those, dumps the output somewhere, then reboots. For more extensive info, dmidecode and lshw tend to give more detail, but are a little less 'standard'. Notably, dmidecode gives things like per-slot ram information. Software does indeed make this process so much easier. We use dmidecode for this too. All the machines in the data center run ocsng (http://www.ocsinventory-ng.org) to automate the entire process, but that's way beyond what the OP needs -- Alan McKinnnon alan.mckin...@gmail.com
[gentoo-user] Problems emerging util-linux-2.20-r1 in chroot
Have anyone been having problems emerging sys-apps/util-linux-2.20-r1 on a chroot-ed environment? In my case, it always fail during the following stage: chmod g+s /var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write Strangely, if I exit chroot, I can do the following with no problem: chmod g+s /mnt/gentoo/var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write Any pointers to any blockers? Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
Re: [gentoo-user] Problems emerging util-linux-2.20-r1 in chroot
you might need to bind /proc into the chroot? BillK On Thu, 2012-02-09 at 18:00 +0700, Pandu Poluan wrote: Have anyone been having problems emerging sys-apps/util-linux-2.20-r1 on a chroot-ed environment? In my case, it always fail during the following stage: chmod g+s /var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write Strangely, if I exit chroot, I can do the following with no problem: chmod g+s /mnt/gentoo/var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write Any pointers to any blockers? Rgds,
Re: [gentoo-user] Problems emerging util-linux-2.20-r1 in chroot
On Thu, Feb 9, 2012 at 18:49, William Kenworthy bi...@iinet.net.au wrote: On Thu, 2012-02-09 at 18:00 +0700, Pandu Poluan wrote: Have anyone been having problems emerging sys-apps/util-linux-2.20-r1 on a chroot-ed environment? In my case, it always fail during the following stage: chmod g+s /var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write Strangely, if I exit chroot, I can do the following with no problem: chmod g+s /mnt/gentoo/var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write Any pointers to any blockers? Rgds, you might need to bind /proc into the chroot? Already done that. From outside of chroot: # mount | grep /mnt/gentoo/proc none on /mnt/gentoo/proc type proc (rw) # Note: I just tried keywording util-linux-2.20.1-r1, same error. If push comes to shove, I'll emerge util-linux-2.20.1-r1 on another system and get the binpkg. Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
Re: [gentoo-user] Problems emerging util-linux-2.20-r1 in chroot
Pandu Poluan writes: Have anyone been having problems emerging sys-apps/util-linux-2.20-r1 on a chroot-ed environment? In my case, it always fail during the following stage: chmod g+s /var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write Very strange. What is the exact error message? Wonko
Re: [gentoo-user] Problems emerging util-linux-2.20-r1 in chroot
On Thu, Feb 9, 2012 at 19:32, Pandu Poluan pa...@poluan.info wrote: On Thu, Feb 9, 2012 at 18:49, William Kenworthy bi...@iinet.net.au wrote: On Thu, 2012-02-09 at 18:00 +0700, Pandu Poluan wrote: Have anyone been having problems emerging sys-apps/util-linux-2.20-r1 on a chroot-ed environment? In my case, it always fail during the following stage: chmod g+s /var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write Strangely, if I exit chroot, I can do the following with no problem: chmod g+s /mnt/gentoo/var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write Any pointers to any blockers? Rgds, you might need to bind /proc into the chroot? Already done that. From outside of chroot: # mount | grep /mnt/gentoo/proc none on /mnt/gentoo/proc type proc (rw) # Note: I just tried keywording util-linux-2.20.1-r1, same error. If push comes to shove, I'll emerge util-linux-2.20.1-r1 on another system and get the binpkg. Bah, no joy :( Even grabbing the binpkg from another identical system resulted in Permission denied errors: Extracting info * Package:sys-apps/util-linux-2.20.1-r1 * Repository: gentoo * USE:ncurses crypt nls cramfs * FEATURES: preserve-libs sandbox Extracting sys-apps/util-linux-2.20.1-r1 tar: ./bin/mount: Cannot change mode to rws--x--x: Permission denied tar: ./bin/umount: Cannot change mode to rws--x--x: Permission denied tar: ./usr/bin/write: Cannot change mode to rwxr-s--x: Permission denied tar: Exiting with failure status due to previous errors tar failed with status 2 !!! Error Extracting '/usr/portage/packages/sys-apps/util-linux-2.20.1-r1.tbz2' Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
Re: [gentoo-user] Problems emerging util-linux-2.20-r1 in chroot
Pandu Poluan writes: In my case, it always fail during the following stage: chmod g+s /var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write Does this command work when you enter it manually in the chroot? Maybe FEATURES=-sandbox emerge sys-apps/util-linux works? Wonko
Re: [gentoo-user] Problems emerging util-linux-2.20-r1 in chroot
Okay, PROBLEM SOLVED. (Read below) On Thu, Feb 9, 2012 at 19:51, Alex Schuster wo...@wonkology.org wrote: Pandu Poluan writes: Have anyone been having problems emerging sys-apps/util-linux-2.20-r1 on a chroot-ed environment? In my case, it always fail during the following stage: chmod g+s /var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write Very strange. What is the exact error message? The error message was Permission denied Trying the exact same chmod command from shell also resulted in Permission denied Then I got suspicious of my kernel (hardened). make menuconfig brought me to GRKERNSEC_CHROOT_CHMOD ... and that's the reason for my problems!! So, before chroot-ing, I did: sysctl -w kernel.grsecurity.chroot_deny_chmod=0 followed by emerge -1av sysvinit util-linux annnddd.. THERE'S JOY IN MUDVILLE!!! :-D (Let it be for the record that this is the *first* time *ever* hardened-sources bit me) Anyway, thanks for the attempts to help, guys! Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan
Re: [gentoo-user] Google - can not open any link
On 02/09/12 09:30, Michael Hampicke wrote: You are right on; I disable Java in firefox and now can open links in google search. As I said, I have disabled cookies and javascript for goolge.de (using cookiemonster an noscript). But as I sometimes use google maps, I allow javascript on google.com and then use google.com for maps - with cookies disalbed. And here I have the same issue as you have, I cannot open the links, but the strange thing is: it's not all the time, sometimes it works, sometimes it does not. Who knows what google guys were doing. Maybe they left a screw driver in there or something :) I just got a hint from Gentoo forum. It seems to me others got hit by the same issue. quote-- Google is getting crappier and crappier by the day. What happened to the lean, mean, simple search engine that everyone fell in love with? Now they're just bloating it with unnecessary javascript crap. Hmm, one idea: Do you accept cookies from google? I don't. If you don't either, try activating them and see if it works then. --end quote-- I'm switching to Bing search engine. It seems to me Google is getting evil now. -- Joseph
Re: [gentoo-user] Google - can not open any link
On Thu, Feb 9, 2012 at 8:48 AM, Joseph syscon...@gmail.com wrote: On 02/09/12 09:30, Michael Hampicke wrote: You are right on; I disable Java in firefox and now can open links in google search. As I said, I have disabled cookies and javascript for goolge.de (using cookiemonster an noscript). But as I sometimes use google maps, I allow javascript on google.com and then use google.com for maps - with cookies disalbed. And here I have the same issue as you have, I cannot open the links, but the strange thing is: it's not all the time, sometimes it works, sometimes it does not. Who knows what google guys were doing. Maybe they left a screw driver in there or something :) I just got a hint from Gentoo forum. It seems to me others got hit by the same issue. quote-- Google is getting crappier and crappier by the day. What happened to the lean, mean, simple search engine that everyone fell in love with? Now they're just bloating it with unnecessary javascript crap. Hmm, one idea: Do you accept cookies from google? I don't. If you don't either, try activating them and see if it works then. --end quote-- I'm switching to Bing search engine. It seems to me Google is getting evil now. I very much like DuckDuckGo. It uses Bing as its back-end, but applies filters, etc, to clean out known spam and copy-and-ad sites. If I can't find something with DuckDuckGo, then I try Google as a followup. (DDG doesn't handle long literals very well; queries for things like long model numbers don't usually work out.) You can also use it as a calculator, like you can Google, but it defers calculations (and other relevant things) to Wolfram Alpha. Queries on some other things will quote verbatim Wikipedia, and you can click through to get to the WP page. It's very nice. -- :wq
Re: [gentoo-user] [OT] Linux Live CD to perform hardware audit?
On Thu, Feb 9, 2012 at 2:22 AM, Michael Hampicke gentoo-u...@hadt.biz wrote: But do any of you guys/gals know of a Live CD distro that can perform hardware audit? i.e., detect installed processor model, RAM parameters layout, etc. Some days ago I was using the parted magic live cd [1]. It had a tool that listed all hardware in a nice fashion. I don't recall it's name - but looking at the list of programs that come with parted magic [2] I guess it was hardinfo. [1] http://partedmagic.com/ [2] http://partedmagic.com/doku.php?id=programs I'll give another vote for partedmagic, aside from running gparted it's also got some good general-purpose tools. It also loads itself into RAM and ejects the disc once it's loaded, so if you're using it on multiple machines you can use one disc to load them all at once.
[gentoo-user] weird framebuffered X display
Since I tried to swich to a frame buffered graphical display, following all steps described in the Framebuffer and Radeon pages of the gentoo wiki, all I get is a display of vertical colored stripes, the pointer appearing as a square. Known problem ? where should I look in the arcane config of FB, X and radeon (my graphic card is an ATI 3600)? I'm desperate.
Re: [gentoo-user] [OT] Linux Live CD to perform hardware audit?
On Feb 9, 2012 10:18 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Thu, Feb 9, 2012 at 2:22 AM, Michael Hampicke gentoo-u...@hadt.biz wrote: But do any of you guys/gals know of a Live CD distro that can perform hardware audit? i.e., detect installed processor model, RAM parameters layout, etc. Some days ago I was using the parted magic live cd [1]. It had a tool that listed all hardware in a nice fashion. I don't recall it's name - but looking at the list of programs that come with parted magic [2] I guess it was hardinfo. [1] http://partedmagic.com/ [2] http://partedmagic.com/doku.php?id=programs I'll give another vote for partedmagic, aside from running gparted it's also got some good general-purpose tools. It also loads itself into RAM and ejects the disc once it's loaded, so if you're using it on multiple machines you can use one disc to load them all at once. Although a nice benefit, I think I'm going to do it the old way... after all, everytime I have to shutdown a box, I have to first migrate the VMs within to another host. So, no chance to shut them all at the same time. Rgds,
[gentoo-user] [OT] Midi-masterkeyboard...and Linux?
Hi, to aim at the right way of research I would like to know, wether it would be a) no problem at all b) a true problem near to an unsolveable challenge c) a thing of careful selection of the according hardware to connect a midi masterkeyboard via usb to an ordinary PC (in an useable manner, of course;) ). I dont want to add an extra PCIe card to my PC because there is simply no room for it in my PC. To what do I have to pay my attention to? Thank you very much for any help in advance! Best regards, mcc
Re: [gentoo-user] [OT] Midi-masterkeyboard...and Linux?
On Thu, Feb 9, 2012 at 8:29 AM, meino.cra...@gmx.de wrote: Hi, to aim at the right way of research I would like to know, wether it would be a) no problem at all b) a true problem near to an unsolveable challenge c) a thing of careful selection of the according hardware to connect a midi masterkeyboard via usb to an ordinary PC (in an useable manner, of course;) ). I dont want to add an extra PCIe card to my PC because there is simply no room for it in my PC. To what do I have to pay my attention to? Thank you very much for any help in advance! Best regards, mcc Do you mean to play music using a Linux soft synth, or possibly to record the midi messages and be able to replay the music using an external synth? Both are completely possible, and in fact easy with the right MIDI-to-USB converter. I use a MIDIMAN MIDISport 2x2 which works great for me although I haven't used it in a while. I'm sure there are lots of good USB interfaces that cost less that work fine also. http://www.amazon.com/M-Audio-Midiman-Midisport-MIDI-Interface/dp/B6I5HC Best _up_to_date_ info for this would be I think on the Alsa user list but feel free to write me off line if you you want a little quick info. Hope this helps, Mark
[gentoo-user] wireless newbee needs help
Hi, it's the first time I have to set up a wireless network on a notebook. How can I find out whether the connection is encrypted or not. wpa_gui tells me Authentication WPA2-PSK Encryption TKIP but iwconfig wlan0 says Encryption key:off and on the server (hot spot) I have configure WPA2 personal, encryption TKIP and an (ascii) password. Many thanks for your help, Helmut.
[gentoo-user] Re: [OT] Midi-masterkeyboard...and Linux?
On 09/02/12 18:29, meino.cra...@gmx.de wrote: Hi, to aim at the right way of research I would like to know, wether it would be a) no problem at all b) a true problem near to an unsolveable challenge c) a thing of careful selection of the according hardware to connect a midi masterkeyboard via usb to an ordinary PC (in an useable manner, of course;) ). I dont want to add an extra PCIe card to my PC because there is simply no room for it in my PC. To what do I have to pay my attention to? Make sure you have enabled the SND_USB_AUDIO driver in your kernel: Device Drivers - Sound card support - Advanced Linux Sound Architecture - USB sound devices - USB Audio/MIDI driver And it should just work. At least mine did after I enabled the above driver.
Re: [gentoo-user] wireless newbee needs help
On Thu, Feb 09, 2012 at 06:00:03PM +0100, Helmut Jarausch wrote: Hi, it's the first time I have to set up a wireless network on a notebook. How can I find out whether the connection is encrypted or not. wpa_gui tells me Authentication WPA2-PSK Encryption TKIP but iwconfig wlan0 says Encryption key:off and on the server (hot spot) I have configure WPA2 personal, encryption TKIP and an (ascii) password. Many thanks for your help, Helmut. iirc, iwconfig doesn't recognize WPA2, so it looks like you have an encrypted connection. You can try 'iwlist wlan0 scanning' to confirm this. Terry
Re: [gentoo-user] wireless newbee needs help
tor 2012-02-09 klockan 18:00 +0100 skrev Helmut Jarausch: Hi, it's the first time I have to set up a wireless network on a notebook. How can I find out whether the connection is encrypted or not. wpa_gui tells me Authentication WPA2-PSK Encryption TKIP but iwconfig wlan0 says Encryption key:off and on the server (hot spot) I have configure WPA2 personal, encryption TKIP and an (ascii) password. Many thanks for your help, Helmut. Hi, I have installed wpa_supplicant and changed the country entry in /etc/wpa_supplicant/wpa_supplicant.conf and also added a few lines at the end of the file: network={ ssid=my_essid psk=my_ascii_password priority=5 } Then I created a symbolic link to /etc/init.d/net.lo called /etc/init.d/net.wlan0 and that was it I think ... also set rc_hotplug to net.wlan0 !net.* in /etc/rc.conf. That should be all to get wireless networking going if the kernel module for your network card is loaded and you have the firmware for it in /lib/firmware. Using kernel 3.1.5 at the moment and the carl9170 driver. BR / Per-Erik
[gentoo-user] KMail
I was one of those bitten by the upgrade to KMail back in October. After spending nearly two days without access to email while trying to get the upgrade and migration to work, I gave up and pinned KMail to version 4.4.11.1. With the recent upgrade to KDE, I'm curious if anyone knows whether the bugs have been worked out and the KMail upgrade will go smoother now? -- Marriage, n. A community consisting of a master, a mistress, and two slaves, making in all two. - Ambrose Bierce
Re: [gentoo-user] KMail
On Thu, Feb 09, 2012 at 06:33:12PM -0500, Daniel D Jones wrote: I was one of those bitten by the upgrade to KMail back in October. After spending nearly two days without access to email while trying to get the upgrade and migration to work, I gave up and pinned KMail to version 4.4.11.1. With the recent upgrade to KDE, I'm curious if anyone knows whether the bugs have been worked out and the KMail upgrade will go smoother now? I tried it as soon as the 4.8 upgrade was done. After I added an IMAP resource, it didn't show up in the folder pane, although its folders were listed in the dialog where one can select folder subscriptions (right click in folder pane→Manage local subscriptions). I have no interest right now to bother with it, I became fairly happy with mutt. ^^ -- Gruß | Greetings | Qapla' I forbid any use of my email addresses with Facebook services. “Hello, my friend! You can say you to me!” – Helmut Kohl pgpk0mziGMwPY.pgp Description: PGP signature
[gentoo-user] Recommended VPN Tunnel client?
Scenario: I have a server in the cloud that needs to connect to an internal server in the office. There are 2 incoming connections into my office, ISP A and ISP B. The primary connection is A, but if A goes down, we can use B. The app running on the cloud server has no automatic failover ability (i.e., if A goes down, someone must change the app's conf to point to B). My thought: If I can make a tunnel from the server to the FortiGate firewall currently guarding the HQ, the cloud app can simply be configured to connect to the internal IP address of the internal server. No need to manually change the app's conf. The need: a VPN client that: + can selectively send packets fulfilling a criteria (in this case, dest= IP address of internal server)* + has automatic failover and failback ability *solutions involving iptables and iproute2 are also acceptable Can anyone point me to the right direction re: what package and the relevant howto? Thanks in advance. Rgds,
[gentoo-user] Re: Recommended VPN Tunnel client?
On Fri, Feb 10, 2012 at 10:48, Pandu Poluan pa...@poluan.info wrote: Scenario: I have a server in the cloud that needs to connect to an internal server in the office. There are 2 incoming connections into my office, ISP A and ISP B. The primary connection is A, but if A goes down, we can use B. The app running on the cloud server has no automatic failover ability (i.e., if A goes down, someone must change the app's conf to point to B). My thought: If I can make a tunnel from the server to the FortiGate firewall currently guarding the HQ, the cloud app can simply be configured to connect to the internal IP address of the internal server. No need to manually change the app's conf. The need: a VPN client that: + can selectively send packets fulfilling a criteria (in this case, dest= IP address of internal server)* + has automatic failover and failback ability *solutions involving iptables and iproute2 are also acceptable Can anyone point me to the right direction re: what package and the relevant howto? Thanks in advance. I have been doing some research, and... Do you think I can do that using HAProxy running in tcp mode? My thought goes like this: Have the cloud app connect the IP:port of HAProxy, and let HAProxy perform a TCP proxy (NAT?) to connect to the internal server via A or B according to the server checks. Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan