[gentoo-user] search files for text string
I've bunch of php files in many directories and I need to file a text string in them Check/Money Order I've tried: find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' it doesn't work. What is a better method of searching files? -- Joseph
[gentoo-user] apcupsd - not emailing me when power down
My remote box is connected direclty to apcups and it is running apcupsd However, when I pull the cord out of the wall the onbattery script is not email me anything. My configuration: apcupsd.conf UPSCABLE usb UPSTYPE usb DEVICE POLLTIME 60 LOCKFILE /var/lock SCRIPTDIR /etc/apcupsd PWRFAILDIR /etc/apcupsd NOLOGINDIR /etc ONBATTERYDELAY 6 BATTERYLEVEL 60 MINUTES 10 TIMEOUT 0 ANNOY 300 ANNOYDELAY 60 NOLOGON disable KILLDELAY 0 NETSERVER on NISIP 0.0.0.0 NISPORT 3551 EVENTSFILE /var/log/apcupsd.events EVENTSFILEMAX 10 UPSCLASS standalone UPSMODE disable STATTIME 0 STATFILE /var/log/apcupsd.status LOGSTATS off DATATIME 0 onbattery - script suppose to be called by /etc/apcupsd/apccontrol and execute it. What am I missing? -- Joseph
Re: [gentoo-user] search files for text string
On 06/06/15 23:04, Alan McKinnon wrote: On 06/06/2015 18:45, Joseph wrote: I've bunch of php files in many directories and I need to file a text string in them Check/Money Order I've tried: find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' it doesn't work. What is a better method of searching files? Define doesn't work in this context. My guess is that the string you want isn't actually there. If it is there, provide a sample of the source text containing the string. -- Alan McKinnon alan.mckin...@gmail.com Apology, yes it did worked. I was just in a wrong sub-directory. -- Joseph
Re: [gentoo-user] search files for text string
On 06/06/15 20:09, Alexander Kapshuk wrote: On Sat, Jun 6, 2015 at 7:45 PM, Joseph [1]syscon...@gmail.com wrote: I've bunch of php files in many directories and I need to file a text string in them Check/Money Order I've tried: find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' it doesn't work. What is a better method of searching files? -- Joseph grep -ls 'Check/Money Order' `du -a | sed '/\.php$/!d;s/.*\t//'` # grep will complain that the args list is too long if the number of files found is too great. Otherwise, this might work for you: find dir -type f -name \*.php | xargs grep -sl 'Check/Money Order' Thanks, this worked for me, it searches in current and below dir. find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' -- Joseph
Re: [gentoo-user] Computer turn itself off
On 05/23/15 18:08, Zhu Sha Zang wrote: On 05/23/2015 05:24 PM, Joseph wrote: I have a box in a remote location (8-core CPU) and it turn itself off during compiling The box it connected to UPS. Is it power supply? Maybe. I have a problem like that when using high processing simulation with nvidia-cuda and the power supply protection was unable to keep a safe energy level then the system goes off. But, if the failure happens during compilation time can be a heat problem. Install lm_sensors and use something like that: watch -n 1 sensors. If not, if the temperature stay at safe levels, maybe you have a RAM corruption. In this case, you'll need to use memtest86++ to check. Good Luck Thank you for the feedback, checking the sensors there is what I get: fan1: 0 RPM (min = 10 RPM) ALARM fan2: 0 RPM (min =0 RPM) fan3: 0 RPM (min =0 RPM) fan5: 0 RPM (min =0 RPM) temp1:+45.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp2:+98.0°C (low = +127.0°C, high = +70.0°C) sensor = thermal diode temp3:+98.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor -- Joseph
Re: [gentoo-user] Computer turn itself off
On 05/23/15 18:08, Zhu Sha Zang wrote: On 05/23/2015 05:24 PM, Joseph wrote: I have a box in a remote location (8-core CPU) and it turn itself off during compiling The box it connected to UPS. Is it power supply? Maybe. I have a problem like that when using high processing simulation with nvidia-cuda and the power supply protection was unable to keep a safe energy level then the system goes off. But, if the failure happens during compilation time can be a heat problem. Install lm_sensors and use something like that: watch -n 1 sensors. If not, if the temperature stay at safe levels, maybe you have a RAM corruption. In this case, you'll need to use memtest86++ to check. Good Luck I tried to read the lm-sensors again and the compupter turn crash with the readings: fan1: 0 RPM (min = 10 RPM) ALARM fan2: 0 RPM (min =0 RPM) fan3: 0 RPM (min =0 RPM) fan5: 0 RPM (min =0 RPM) temp1:+47.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp2: +106.0°C (low = +127.0°C, high = +70.0°C) sensor = thermal diode temp3: +106.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor cpu0_vid:+1.250 V I'm suspecting it is power supply. -- Joseph
[gentoo-user] Computer turn itself off
I have a box in a remote location (8-core CPU) and it turn itself off during compiling The box it connected to UPS. Is it power supply? -- Joseph
Re: [gentoo-user] [SOLVED] Computer turn itself off
On 05/23/15 20:52, Zhu Sha Zang wrote: On 05/23/2015 06:53 PM, Joseph wrote: On 05/23/15 18:08, Zhu Sha Zang wrote: On 05/23/2015 05:24 PM, Joseph wrote: I have a box in a remote location (8-core CPU) and it turn itself off during compiling The box it connected to UPS. Is it power supply? Maybe. I have a problem like that when using high processing simulation with nvidia-cuda and the power supply protection was unable to keep a safe energy level then the system goes off. But, if the failure happens during compilation time can be a heat problem. Install lm_sensors and use something like that: watch -n 1 sensors. If not, if the temperature stay at safe levels, maybe you have a RAM corruption. In this case, you'll need to use memtest86++ to check. Good Luck I tried to read the lm-sensors again and the compupter turn crash with the readings: fan1: 0 RPM (min = 10 RPM) ALARM fan2: 0 RPM (min =0 RPM) fan3: 0 RPM (min =0 RPM) fan5: 0 RPM (min =0 RPM) temp1:+47.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor temp2: +106.0°C (low = +127.0°C, high = +70.0°C) sensor = thermal diode temp3: +106.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor cpu0_vid:+1.250 V I'm suspecting it is power supply. Hey, did you run sensors-detect and /etc/init.d/lm_sensors as root before use sensors? As was said, maybe you're using wrong kernel modules. I went to pickup the remote box and look at it; the CPU fan stop working. The CPU heat sink is big so in idle mode it could keep up with cooling it but under heavy load compiling anything the CPU was overheating. -- Joseph
[gentoo-user] utf8_general_ci
I have my mysql database Collation set as: utf8_general_ci but when a customer from for example Japan places an order all I see is: amp;#31481;amp;#40763;amp;#31435;amp;#21407;amp;#30010;amp;#65301;amp;#65293;amp;#65301; Do I need to change Collation setting to something else or something else? -- Joseph
Re: [gentoo-user] utf8_general_ci
On 05/05/15 12:32, Fernando Rodriguez wrote: On Tuesday, May 05, 2015 9:32:15 AM Joseph wrote: I have my mysql database Collation set as: utf8_general_ci but when a customer from for example Japan places an order all I see is: amp;#31481;amp;#40763;amp;#31435;amp;#21407;amp;#30010;amp;#65301;amp;#65293;amp;#65301; Do I need to change Collation setting to something else or something else? I think that's because the web applications runs the data through something like php's htmlspecialchars() or similar to help prevent SQL injections. So you'll need to either decode it before using it (I think you can use the app- text/recode), or use a different method to filter anything that could be malicious SQL. I've saved the relevant information into a TXT file (address.txt) and tried to run: recode ISO-8859-9..UTF8 address.txt address2.txt amp;#31481;amp;#40763;amp;#31435;amp;#21407;amp;#30010;amp;#65301;amp;#65293;amp;#65301; amp;#23665;amp;#31185;amp;#21306; amp;#20140;amp;#37117;amp;#24066;, 601-8015 amp;#20140;amp;#37117;amp;#24220;, Japan It didn't help. How do you run recode correctly? Yes, the customer is using oscommerce php addlication to provide information. -- Joseph
[gentoo-user] qpdfview - asking for qt4 or qt5
I've on my system qpdfview (without qt*) but the system wants to upgrade to qpdfview-0.4.13-r1 and it is asking for qt4 or qt5 - !!! The ebuild selected to satisfy app-text/qpdfview has unmet requirements. - app-text/qpdfview-0.4.13-r1::gentoo USE=cups dbus pdf svg -djvu (-fitz) -postscript -qt4 (-qt5) -sqlite -synctex ABI_X86=64 LINGUAS=-ast -az -bg -bs -ca -cs -da -de -el -en_GB -eo -es -eu -fi -fr -gl -he -hr -id -it -kk -ko -ky -lt -ms -my -pl -pt -pt_BR -ro -ru -sk -sv -tr -ug -uk -vi -zh_CN The following REQUIRED_USE flag constraints are unsatisfied: exactly-one-of ( qt4 qt5 ) The above constraints are a subset of the following complete expression: exactly-one-of ( qt4 qt5 ) at-most-one-of ( fitz pdf ) - Why? -- Joseph
Re: [gentoo-user] Re: qpdfview - asking for qt4 or qt5
On 04/25/15 20:43, Nikos Chantziaras wrote: On 25/04/15 19:54, Joseph wrote: I've on my system qpdfview (without qt*) but the system wants to upgrade to qpdfview-0.4.13-r1 and it is asking for qt4 or qt5 [...] Why? Because it can now be build using Qt4 or Qt5. You have to choose one. If you're on KDE4, enable the qt4 USE flag (otherwise the application won't integrate with KDE desktop.) If you're not on KDE4, then you might as well choose qt5. I'm using older version and have neither Qt4 nor Qt5 So I'm surprized they are forcing on me Qt. I've solved the problem qpdfview removed the package. -- Joseph
[gentoo-user] masking asterisk 11
I'm still using asterisk 1.8 and trying to mask aserisk-11 so I put in /etc/portage/package.mask =net-misc/asterisk-11.15.0-r1 =net-misc/asterisk-11.17.1 but it is not working when I try: emerge -pva asterisk These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U #] net-misc/asterisk-11.17.1 [1.8.28.2] Why isn't it masking asterisk-11 -- Joseph
[gentoo-user] abi_x86_32 FLAG
I'm trying to update one of my amd64 (I use XFCE) and there are lot of package that require use flag: abi_x86_32 equery d emul-linux (nothing found) for EMUL in $(eix -I --only-names emul-linux); do equery depends $EMUL; done * These packages depend on app-emulation/emul-linux-x86-baselibs: app-emulation/emul-linux-x86-gtklibs-20140508-r3 (~app-emulation/emul-linux-x86-baselibs-20140508) app-emulation/emul-linux-x86-xlibs-20140508 (!abi_x86_32 ? ~app-emulation/emul-linux-x86-baselibs-20140508) app-text/acroread-9.5.5-r2 (app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]) (ldap ? app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]) sys-boot/grub-0.97-r14 (amd64 ? app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]) * These packages depend on app-emulation/emul-linux-x86-gtklibs: app-text/acroread-9.5.5-r2 (app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)]) sys-devel/gcc-4.5.4 (multilib ? app-emulation/emul-linux-x86-gtklibs) sys-devel/gcc-4.8.3 (multilib ? app-emulation/emul-linux-x86-gtklibs) * These packages depend on app-emulation/emul-linux-x86-opengl: app-emulation/emul-linux-x86-gtklibs-20140508-r3 (~app-emulation/emul-linux-x86-opengl-20140508) app-emulation/emul-linux-x86-xlibs-20140508 (opengl ? app-emulation/emul-linux-x86-opengl) app-text/acroread-9.5.5-r2 (app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]) * These packages depend on app-emulation/emul-linux-x86-xlibs: app-emulation/emul-linux-x86-gtklibs-20140508-r3 (~app-emulation/emul-linux-x86-xlibs-20140508) app-emulation/emul-linux-x86-opengl-20140508 (!abi_x86_32 ? =app-emulation/emul-linux-x86-xlibs-20100611) app-text/acroread-9.5.5-r2 (app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]) (nsplugin ? app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]) sys-devel/gcc-4.5.4 (multilib ? app-emulation/emul-linux-x86-xlibs) sys-devel/gcc-4.8.3 (multilib ? app-emulation/emul-linux-x86-xlibs) x11-drivers/nvidia-drivers-340.65 (app-emulation/emul-linux-x86-xlibs) Which package is forcing new: abi_x86_32 flag? -- Joseph
Re: [gentoo-user] abi_x86_32 FLAG
On 04/21/15 00:47, Heiko Baums wrote: Am 21.04.2015 um 00:22 schrieb Joseph: I'm trying to update one of my amd64 (I use XFCE) and there are lot of package that require use flag: abi_x86_32 Which package is forcing new: abi_x86_32 flag? sys-boot/grub-0.97-r14 x11-drivers/nvidia-drivers Replace sys-boot/grub-0.97-r14 by sys-boot/grub-static-0.97-r12. Don't forget to write the new bootloader into your MBR afterwards by running: # grub grub root (hdX,X) grub setup (hdX) And regarding x11-drivers/nvidia-drivers see those bug reports: https://bugs.gentoo.org/show_bug.cgi?id=545582 https://bugs.gentoo.org/show_bug.cgi?id=485724 I don't think grub is asking for it. According to: eselect news Starting on 2015-03-29, we are enabling true multilib support on amd64 and masking the old emul-linux-x86 package sets for removal So I might as well go with abi_x86_32 flag -- Joseph
Re: [gentoo-user] postdrop: warning - main.cf, line 669: overriding earlier entry: readme_directory=no
On 04/19/15 10:00, Joseph wrote: Every time I emerge any package I see a line: postdrop: warning: /etc/postfix/main.cf, line 669: overriding earlier entry: readme_directory=no I've never seen this one before, and didn't finished compiling all the updates. What does it want? Solved, I just had to commented out: #readme_directory = no -- Joseph
[gentoo-user] postdrop: warning - main.cf, line 669: overriding earlier entry: readme_directory=no
Every time I emerge any package I see a line: postdrop: warning: /etc/postfix/main.cf, line 669: overriding earlier entry: readme_directory=no I've never seen this one before, and didn't finished compiling all the updates. What does it want? -- Joseph
[gentoo-user] dev-lang/perl:0 - problem
I've not updated to two months and now I'm getting dependency problem with dev-lang/perl (dev-lang/perl-5.20.2:0/5.20::gentoo, ebuild scheduled for merge) pulled in by =dev-lang/perl-5.20.2* required by (virtual/perl-File-Spec-3.480.100-r1:0/0::gentoo, ebuild scheduled for merge) ^ ^^^ (and 38 more with the same problem) (dev-lang/perl-5.18.2-r2:0/5.18::gentoo, installed) pulled in by dev-lang/perl:0/5.18=[-build(-)] required by (dev-perl/Crypt-PasswdMD5-1.400.0:0/0::gentoo, installed) (and 94 more with the same problem) How to solve it? I don't want to mess with perl and ended up with emerge not working. -- Joseph
[gentoo-user] cookies
In my firefox I have setting: - Accept cookies YES - From third parties NEVER - ask me every time Some webpages keep sending 100's of cookies so I decline them. Sometime, I'm tires of clicking NO so I just kill the process and restart firefox. Is there any plug in to better manage cookies; allow me to decline them ALL. I don't want to change setting: Accept cookies NO -- Joseph
[gentoo-user] firefox 31.3 - no youtube video
After recent update to Firefox 31.3 youtube videos won't play. Theme is Default. -- Joseph
Re: [gentoo-user] printing over VPN
On 02/13/15 20:44, Joseph wrote: On 02/13/15 22:17, Michael Orlitzky wrote: On 02/13/2015 09:50 PM, Joseph wrote: I have a hard time finding any documentation on how to print over VPN. I have a network printer and I would like to setup my laptop to print to it over VPN. The remote VPN IP address is: 192.168.151.1 The printer IP is: socket://10.0.0.105 and lpd://10.0.0.106/BINARY_P1 I think I need some entries in VPN config files isn't it? Does the VPN server also have a 10.0.0.x address? If so, you just need to tell the VPN clients that they can reach the 10.0.0.x network via the VPN, i.e. by routing through your VPN server. We have pretty much the same setup, with our VPN server sitting on 10.1.1.1 with some other private IP address. This is the client config for the OpenVPN server: # cat /etc/openvpn/client-config/DEFAULT push route 10.1.1.0 255.255.255.0 Then you point to that in openvpn.conf (also on the server): # grep client-config /etc/openvpn/openvpn.conf client-config-dir client-config After that, any new client connections will just know that 10.1.1.x can be reached over the VPN. Thank for replying. My eeepc VPN IP: 192.168.151.9 is the client connected over VPN to server VPN IP 192.168.151.1 So I inserted on eeepc (client) to /etc/openvpn/eeepc.conf ... push route 192.168.151.0 255.255.255.0 On a server 192.168.151.1 I have file: /etc/openvpn/server.conf /etc/openvpn/ccd/eeepc in /etc/openvpn/ccd/eeepc is: ifconfig-push 192.168.151.9 255.255.255.0 Do I add to eeepc client-config-dir ??? Which file on a server do I modify? One more question. Do I modify on a client eeepc file: /etc/cups/client.conf and add: ServerName 192.168.151.1:631 -- Joseph
[gentoo-user] printing over VPN
I have a hard time finding any documentation on how to print over VPN. I have a network printer and I would like to setup my laptop to print to it over VPN. The remote VPN IP address is: 192.168.151.1 The printer IP is: socket://10.0.0.105 and lpd://10.0.0.106/BINARY_P1 I think I need some entries in VPN config files isn't it? -- Joseph
Re: [gentoo-user] printing over VPN
On 02/13/15 22:17, Michael Orlitzky wrote: On 02/13/2015 09:50 PM, Joseph wrote: I have a hard time finding any documentation on how to print over VPN. I have a network printer and I would like to setup my laptop to print to it over VPN. The remote VPN IP address is: 192.168.151.1 The printer IP is: socket://10.0.0.105 and lpd://10.0.0.106/BINARY_P1 I think I need some entries in VPN config files isn't it? Does the VPN server also have a 10.0.0.x address? If so, you just need to tell the VPN clients that they can reach the 10.0.0.x network via the VPN, i.e. by routing through your VPN server. We have pretty much the same setup, with our VPN server sitting on 10.1.1.1 with some other private IP address. This is the client config for the OpenVPN server: # cat /etc/openvpn/client-config/DEFAULT push route 10.1.1.0 255.255.255.0 Then you point to that in openvpn.conf (also on the server): # grep client-config /etc/openvpn/openvpn.conf client-config-dir client-config After that, any new client connections will just know that 10.1.1.x can be reached over the VPN. Thank for replying. My eeepc VPN IP: 192.168.151.9 is the client connected over VPN to server VPN IP 192.168.151.1 So I inserted on eeepc (client) to /etc/openvpn/eeepc.conf ... push route 192.168.151.0 255.255.255.0 On a server 192.168.151.1 I have file: /etc/openvpn/server.conf /etc/openvpn/ccd/eeepc in /etc/openvpn/ccd/eeepc is: ifconfig-push 192.168.151.9 255.255.255.0 Do I add to eeepc client-config-dir ??? Which file on a server do I modify? Thanks -- Joseph
Re: [gentoo-user] systemd net interfaces always want a default route?
On 02/13/15 22:39, Canek Peláez Valdés wrote: On Fri, Feb 13, 2015 at 11:18 PM, Adam Carter [1]adamcart...@gmail.com wrote: It looks like /etc/systemd/system/network@.service requires a gateway= line, however, for a second interface I wont set another default. Is there a standard way to so this, or do i have to copy network@.service to a new name and remove the 'ip route add' line? Where this service unit file came from? Did you write it yourself? If it's a static network (meaning, the computer does not usually moves physically), why don't you use a .network unit file (man 5 systemd.network)? Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México References 1. mailto:adamcart...@gmail.com I did mange to make it to work but, when I printed a pdf file or an OpenOffice document the job is being transmitted from client to server and being held, when I release it; it didn't get printed. The job just disappeared. ---configuration- My setting on server: /etc/cups/cupsd.conf ... Port 631 Listen /run/cups/cups.sock # Restrict access to the server... Location / Order allow,deny Allow localhost Allow 192.168.151.* On a eeepc client: /etc/openvpn/eeepc.conf ... push route 192.168.151.0 255.255.255.0 /etc/cups/client.conf ServerName 192.168.151.1:631 ---end configuration-- With the above setting when I open Fedora - Printer Setting (eeepc is running Fedora) I was able to see all the printers that I have installed on a server. But the result was strange, jobs disappearing, slow etc. Text file printed OK In addition my connection to the client was VERY, VERY slow when I ssh to it. I don't know if the cups had something to do with it. I disable the configuration and the response is much faster. -- Joseph
[gentoo-user] nomachine on Gentoo
Did anybody install nomashine on Gentoo? I run onto this instruction, but did not try it yet: http://www.thejach.com/view/2014/9/installing_nomachine_on_gentoo I'm running nxclient-3.5xxx and nxserver-freenx-0.7xxx and I'm afraid something will stop working on my server if I install nomashine I've an old laptop and tried Xubuntu Fedora but none of them have nxclient-3.5xxx I've found freenx-client on SUSE distro but that distro mostly comes with Gnome or KDE desktop (too heavy for my old laptop). -- Joseph
Re: [gentoo-user] Re: systemd + openvpn
On 02/11/15 19:26, Rich Freeman wrote: On Wed, Feb 11, 2015 at 6:26 PM, walt w41...@gmail.com wrote: Yes, I see the same, which I feel is a systemd bug. The escaping trick works only with the 'enable' command, not stop or start. Dumb. It seems more likely to be an error with the unit, which has nothing to do with systemd. As I mentioned already, I had to make some changes in mine. If you write a bad init.d scripts, that isn't an openrc bug either. :) -- Rich No, the problem in Fedora was thier selinux. I suppose to be some extra security, but it seems to me it creates only more problems. So I disabled it, and openvpn connects just fine. I was able to install on it nxclient-3.5 as well, it works fine. -- Joseph
[gentoo-user] systemd + openvpn
How do I start and stop systemd services, I would imagine systemd works the same across all distros. My openvpn server is running on Gentoo but client openvpn I setup on Fedora 21 (as the computer is old and slow). Normally I would create configuration files in /etc/openvpn/ and run: /etc/init.d/ln -s openvpn.client1 openvpn /etc/init.d/openvpn.client1 start But on Fedora when I do systemctl enable openvpn@eeepc.service I get: Failed to execute operation: No such file or directory. -- Joseph
Re: [gentoo-user] systemd + openvpn
On 02/11/15 14:16, Rich Freeman wrote: On Wed, Feb 11, 2015 at 1:58 PM, Joseph syscon...@gmail.com wrote: How do I start and stop systemd services, I would imagine systemd works the same across all distros. You run systemd start service - that is the same on all distros (well, if they're not writing fancy wrappers around it or whatever - Gentoo follows upstream). My openvpn server is running on Gentoo but client openvpn I setup on Fedora 21 (as the computer is old and slow). Normally I would create configuration files in /etc/openvpn/ and run: /etc/init.d/ln -s openvpn.client1 openvpn /etc/init.d/openvpn.client1 start But on Fedora when I do systemctl enable openvpn@eeepc.service I ended up having to add the following to my unit: ExecStartPre=-/bin/mkdir -p /dev/net ExecStartPre=-/bin/mknod /dev/net/tun c 10 200 I forget if that is reported somewhere, fixed upstream, etc. It has been a while since I studied tap/tun so it might also not be necessary in some configurations. -- Rich I have tried xubuntu on this old eeepc 1GB of ram only and I was able to make the openvpn to work but freenx would not work, I only need client on the laptop. nomachine installed on xubuntu but they disabled ssh connection on the free download version the only free protocol is nx and it doesn't work with nxserver-freenx. x2go I make it to work but the fonts are unreadable, complete gibberish. So, I've tried Fedora just to get stuck on EVIL systemd :-/ I could install Gentoo on this laptop via distcc but it would take a long time. Besides I like the way the network works on those new laptop, it switches seamlessly between cable eth0 and wifi. -- Joseph
Re: [gentoo-user] Re: systemd + openvpn
On 02/11/15 15:26, walt wrote: On 02/11/2015 02:38 PM, Joseph wrote: On 02/11/15 13:52, walt wrote: On 02/11/2015 10:58 AM, Joseph wrote: on Fedora when I do systemctl enable openvpn@eeepc.service I get: Failed to execute operation: No such file or directory. You need to escape the @ by typing openvpn\@eeepc.service, which is not clear from the error message. I'm still getting the same failed error message. systemctl start openvpn\@eeepc.service Yes, I see the same, which I feel is a systemd bug. The escaping trick works only with the 'enable' command, not stop or start. Dumb. As an experiment you might try systemctl start openvpn\* or even openvpn[@]eeepc in case regexps might work. BTW the .service is optional, systemd assumes it as the default. Thanks for trying to help. I'm getting the same error message :-/ Trying to install Gentoo on it will take me 1-2 weeks :-/ so I was looking for an alternative. -- Joseph
[gentoo-user] automatic network connection between eth and wifi
I've noticed that on the newer distribution (binary, xubuntu fedora) the network connection is automatic whenever someone connects the cable or if cable is disconnected it switches to wife. Is it the function of the new systemd or it is a new program? I'm still using rc -- Joseph
Re: [gentoo-user] Re: systemd + openvpn
On 02/11/15 13:52, walt wrote: On 02/11/2015 10:58 AM, Joseph wrote: on Fedora when I do systemctl enable openvpn@eeepc.service I get: Failed to execute operation: No such file or directory. You need to escape the @ by typing openvpn\@eeepc.service, which is not clear from the error message. I'm still getting the same failed error message. systemctl start openvpn\@eeepc.service -- Joseph
[gentoo-user] compiling via distcc
I have an old eeepc 1GB ram and would like to install Gentoo on it as Xubuntu and Fedora both failed providing the programs I need. Since the eeepc is VERY slow, is it possible to setup distcc to do complete compiling on a faster machine. (eeepc is x86, my faster boxes are amd64). -- Joseph
[gentoo-user] x2go - logout full screen mode
I've tried to run x2go in full screen mode, but I have no clue how to log out from full screen mode or close the session. -- Joseph
[gentoo-user] x2go unreadable fonts
I tired x2go connecting xubuntu (client) to Gentoo (server) but the fonts are unreadable, I'm using xfce Is it a problem with the client or the server? nxserver-freenx works perfectly on Gentoo but I couldn't install nxclient on xubuntu. -- Joseph
Re: [gentoo-user] nomachine -- nxserver-freenx
On 02/10/15 09:07, Rich Freeman wrote: On Mon, Feb 9, 2015 at 10:15 PM, Joseph syscon...@gmail.com wrote: I'm still using nxserver-freenx and nxclient they are working OK with XFCE and they are still valid packages. Does it mean, they might be pulled out of gentoo packages? Is x2go stable on XFCE4? I've had my share of issues with both. I doubt that anybody is going to get rid of nx just to do it. However, it has been fairly dead upstream and that probably means all the usual kinds of issues (maybe some dependency update will break it, etc). If I were still actively using it I'd be looking for alternatives, though to be honest there aren't really many out there. It seems like everybody has been moving more and more towards things like client-side-rendering, hardware acceleration, and so on. The experience on NX was slowly becoming a lot more like VNC anyway. How does it work: client-side-rendering. Is there a solution on Gentoo. For me nxserver-freenx still works perfectly on Gentoo but I couldn't get nxclient to work on xubuntu. -- Joseph
Re: [gentoo-user] old EEE PC 1000
On 02/09/15 02:24, waben...@gmail.com wrote: Am Sonntag, 08.02.2015 um 18:05 schrieb Joseph syscon...@gmail.com: I have an old Asus EEE PC 1000 and I don't think it will run Gentoo, it would be too slow to compile anything. It is running Ubuntu 11.10 and I think I'll need to re-install lighter version of Linux on it. What are my alternatives? I'll would like to run VPN, some browser on it and skype. On slow machines I tend to install xubuntu. Regards wabe I've tried xubuntu but I can not install freenx on it. The documentation doesn't exist and it is not in default repository. What alternatives are there. I know Gentoo might work, I would need to boot strap, configure kernel and setup distcc, one week work. -- Joseph
[gentoo-user] nomachine -- nxserver-freenx
Will nomachine talk to nxserver-freenx I've installed nxserver-freenx on Gentoo but on the other end I have nomachine running on ubuntu. I couldn't find/install freenx on ubuntu. -- Joseph
Re: [gentoo-user] openvpn
On 02/09/15 13:47, Michael Orlitzky wrote: On 02/09/2015 01:42 PM, Joseph wrote: I've openvpn installed: ... amd I'm trying to generate server key but I don't have directory: /usr/share/openvpn/easy-rsa/ does openvpn creates this directory or I do it manually? It moved to /usr/share/easy-rsa when the app-crypt/easy-rsa package was split off. I've emerged easy-rsa but the /usr/share/openvpn/easy-rsa/ directory wasn't created. -- Joseph
Re: [gentoo-user] openvpn
On 02/09/15 11:42, Joseph wrote: I've openvpn installed: Installed versions: 2.3.6(11:44:47 PM 01/30/2015)(lzo pam plugins ssl -down-root -examples -iproute2 -passwordsave -pkcs11 -polarssl -selinux -static -systemd USERLAND=-BSD) amd I'm trying to generate server key but I don't have directory: /usr/share/openvpn/easy-rsa/ does openvpn creates this directory or I do it manually? -- Joseph Thanks I found it. ...Openvpn prior to 2.3 have easy-rsa scripts included, not the current one -- Joseph
Re: [gentoo-user] openvpn
On 02/09/15 11:57, Joseph wrote: On 02/09/15 13:47, Michael Orlitzky wrote: On 02/09/2015 01:42 PM, Joseph wrote: I've openvpn installed: ... amd I'm trying to generate server key but I don't have directory: /usr/share/openvpn/easy-rsa/ does openvpn creates this directory or I do it manually? It moved to /usr/share/easy-rsa when the app-crypt/easy-rsa package was split off. I've emerged easy-rsa but the /usr/share/openvpn/easy-rsa/ directory wasn't created. now it is: /usr/share/easy-rsa/ -- Joseph
[gentoo-user] openvpn
I've openvpn installed: Installed versions: 2.3.6(11:44:47 PM 01/30/2015)(lzo pam plugins ssl -down-root -examples -iproute2 -passwordsave -pkcs11 -polarssl -selinux -static -systemd USERLAND=-BSD) amd I'm trying to generate server key but I don't have directory: /usr/share/openvpn/easy-rsa/ does openvpn creates this directory or I do it manually? -- Joseph
Re: [gentoo-user] old EEE PC 1000
On 02/09/15 23:54, Andrew Savchenko wrote: Hello, On Sun, 8 Feb 2015 18:05:44 -0700 Joseph wrote: I have an old Asus EEE PC 1000 and I don't think it will run Gentoo, it would be too slow to compile anything. It is running Ubuntu 11.10 and I think I'll need to re-install lighter version of Linux on it. What are my alternatives? Just use Gentoo. I have an EeePC 1000H and it runs fine. Well, I replaced memory bank with 2GB one and setup my system to be slightly overclocked (1700 MHz) when on AC power using SHE technology (available in linux kernel). But even without memory upgrade hardware is fine. I'll would like to run VPN, some browser on it and skype. VPNs are lightweight packages (e.g. openvpn). Both firefox and chromium are not a problem. Skype is binary only, so no difference from other distributions here. The only real problem with this hardware are @world updates. To facilitate this process use ccache and distcc. You most likely have another more powerful box (e.g. a desktop or more powerful laptop), so you can setup distcc there regardless of the distribution. So powerful box will compile C/C++/ObjC code for you, while EeePC will handle If by some chance you have another peace of very powreful hardware (e.g. 2x recent Xeon) there is another approach to follow. You may export root filesystem from EeePC to that host via NFS, setarch and chroot to it and run all stuff from your powerful box. This way the only bottleneck will be 100 Mbps network interface, which is quite bearable, especially using caching (like cachefilesd). Yet again, all these tricks are required for @world updates only, for other stuff EeePC is self sufficient box. Best regards, Andrew Savchenko I've installed xubuntu as I need it fast. I know it will take me a week or so to configure and compile Gentoo on it, just to boot strap. And it would take me some time to configure distcc on my faster boxes for compilation, especially that it was a long time ago when I plaid with it. -- Joseph
Re: [gentoo-user] nomachine -- nxserver-freenx
On 02/10/15 11:01, Guillaume Poulin wrote: When I was using it back in ~2008, it was working. However, freenx seems to be an abandoned project, no update since 2008 (http://sourceforge.net/projects/freenx.berlios/files/?source=navbar). ArchWiki suggests to use x2go instead (https://wiki.archlinux.org/index.php/FreeNX). 2015-02-10 10:49 GMT+08:00 Joseph syscon...@gmail.com: Will nomachine talk to nxserver-freenx I've installed nxserver-freenx on Gentoo but on the other end I have nomachine running on ubuntu. I couldn't find/install freenx on ubuntu. I'm still using nxserver-freenx and nxclient they are working OK with XFCE and they are still valid packages. Does it mean, they might be pulled out of gentoo packages? Is x2go stable on XFCE4? -- Joseph
[gentoo-user] old EEE PC 1000
I have an old Asus EEE PC 1000 and I don't think it will run Gentoo, it would be too slow to compile anything. It is running Ubuntu 11.10 and I think I'll need to re-install lighter version of Linux on it. What are my alternatives? I'll would like to run VPN, some browser on it and skype. -- Joseph
Re: [gentoo-user][SOLVED] dependancy xorg-server
On 02/07/15 11:45, Alan McKinnon wrote: On 07/02/2015 08:46, Joseph wrote: On 02/07/15 07:01, Alan McKinnon wrote: On 06/02/2015 23:52, Joseph wrote: I'm getting an error: (x11-base/xorg-server-1.15.2-r1:0/1.15.2::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this slot) (x11-base/xorg-server-1.15.0:0/1.15.0::gentoo, installed) pulled in by x11-base/xorg-server:0/1.15.0= required by (x11-drivers/xf86-video-intel-2.21.15:0/0::gentoo, installed) ^^ (and 2 more with the same problem) Why is it complaining about x11-drivers/xf86-video-intel; it is a valid package. Please post the full output from emerge -- Alan McKinnon alan.mckin...@gmail.com SOLVED, I got that blocker after upgrade and when I tray to run: emerge -uDNavq world the problem was that the package dev-db/mariadb needed flag: extraengine so adding to package.use dev-db/mariadb extraengine solved the problem. Portage is excessively verbose in it's output. With -v it dumps all sorts of info to the console and it's incredibly hard to read. It especially likes to print the full reasoning why it doesn't upgrade some package to latest due to a dependency requirement, and it's this that usually hides actual real problems in amongst all the noise. The level of verbosity from portage over the past year really should only be shown with -vvv -- Alan McKinnon alan.mckin...@gmail.com Thank for the hint, never thought about it. I'll try next time emerge -uDNavvvq world Yes, it was very hard to read and duped information into the screen that wasn't relevant. The package dev-db/mariadb was asking for flag: extraengine But xorg-server showed up in front of it and I couldn't understand why. -- Joseph
Re: [gentoo-user][SOLVED] dependancy xorg-server
On 02/07/15 19:53, Neil Bothwick wrote: On Sat, 7 Feb 2015 09:10:46 -0700, Joseph wrote: Portage is excessively verbose in it's output. With -v it dumps all sorts of info to the console and it's incredibly hard to read. It especially likes to print the full reasoning why it doesn't upgrade some package to latest due to a dependency requirement, and it's this that usually hides actual real problems in amongst all the noise. The level of verbosity from portage over the past year really should only be shown with -vvv Thank for the hint, never thought about it. I'll try next time emerge -uDNavvvq world Alan was saying that portage is already very verbose, you are better off running with no -v options. That way you only see true errors and serious warnings and not all the irrelevant stuff that just gets in the way. Yes, it was very hard to read and duped information into the screen that wasn't relevant. Exactly, cut down on the irrelevant information by not using -v. -- Neil Bothwick Sisko:I won't be condescending to you this episode, Dr. Bashir. Got it. I'll try it next time. When I upgrade and have to scroll via 200+ messages of emerge packages it is easy to not to notice about some critical information; in my case grub that was calling to run grub-install or the system will not boot. I wish the packages without any changes or warning wouldn't even show up after upgrade. -- Joseph
Re: [gentoo-user][SOLVED] dependancy xorg-server
On 02/07/15 21:38, Neil Bothwick wrote: On Sat, 7 Feb 2015 14:06:30 -0700, Joseph wrote: I'll try it next time. When I upgrade and have to scroll via 200+ messages of emerge packages it is easy to not to notice about some critical information; in my case grub that was calling to run grub-install or the system will not boot. I wish the packages without any changes or warning wouldn't even show up after upgrade. 1) Don't leave it so long between upgrades. I usually try not to exceed 2-months between upgrades. I think this is a reasonable time. I upgrade my backup machines first and if nothing happen (no surprises) I proceed with main server upgrade. Wait for one week and if everything is working correctly I upgrade my boxes in a remote location over ssh. All boxes are rsync to single local box. Oh, and I check gentoo news group for discussion as well :-) prior to upgrades. 2) Read man make.conf and /usr/share/portage/config/make.conf.example for details of the ELOG_ settings to have warnings and info mailed to you. In my make.conf I have: PORTAGE_ELOG_CLASSES=info warn error log Maybe I should skip: info and log; to have less trafic. -- Joseph
[gentoo-user] USB port stop working
I have a 2m extension cable connected to my USB3 on the back of the box and use only the cable end to plug/unplug my usb stick to it. This morning when I plugged my USB stick to the cable end the light just flicked on the USB stick and went off. The USB stick did not mount. I flipped the cable to another USB port and USB is working. What had happened to one of my usb ports on the back, why isn't it working? -- Joseph
[gentoo-user] dependancy xorg-server
I'm getting an error: (x11-base/xorg-server-1.15.2-r1:0/1.15.2::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this slot) (x11-base/xorg-server-1.15.0:0/1.15.0::gentoo, installed) pulled in by x11-base/xorg-server:0/1.15.0= required by (x11-drivers/xf86-video-intel-2.21.15:0/0::gentoo, installed) ^^ (and 2 more with the same problem) Why is it complaining about x11-drivers/xf86-video-intel; it is a valid package. -- Joseph
Re: [gentoo-user][SOLVED] Computer does not boot
On 01/31/15 21:00, Neil Bothwick wrote: On Sat, 31 Jan 2015 12:53:41 -0700, Joseph wrote: I bootstrap from Gentoo CD and run grub-install in change-root. It fixed the problem, but it make me wonder why grub flipped on me. I run upgrade on three other boxes and everything went smooth. When I run upgrade on my main working server something happen and I can not figure it out. Now you're back in you can use qlop (or genlop) to see exactly what was updated, which may give a clue. -- Neil Bothwick Is there a way to view emerge notes without emerging package? I think in my case grub-0.97-r14 might have caused the problem. -- Joseph
Re: [gentoo-user][SOLVED] Computer does not boot
On 01/31/15 21:00, Neil Bothwick wrote: On Sat, 31 Jan 2015 12:53:41 -0700, Joseph wrote: I bootstrap from Gentoo CD and run grub-install in change-root. It fixed the problem, but it make me wonder why grub flipped on me. I run upgrade on three other boxes and everything went smooth. When I run upgrade on my main working server something happen and I can not figure it out. Now you're back in you can use qlop (or genlop) to see exactly what was updated, which may give a clue. -- Neil Bothwick Never sleep with anyone crazier than yourself. SOLVED, When system emerged grub on another box this message showed up: ... Your boot partition was not mounted as /boot, but portage was able to mount it without additional intervention. Files will be installed there for grub to function correctly. WARN: postinst *** IMPORTANT NOTE: you must run grub and install the new version's stage1 to your MBR. Until you do, stage1 and stage2 will still be the old version, but later stages will be the new version, which could cause problems such as an unbootable system. This means you must use either grub-install or perform root/setup manually. After grub-0.97-r14 was installed user suppose to mount /boot and run: grub-install -- Joseph
Re: [gentoo-user][SOLVED] dependancy xorg-server
On 02/07/15 07:01, Alan McKinnon wrote: On 06/02/2015 23:52, Joseph wrote: I'm getting an error: (x11-base/xorg-server-1.15.2-r1:0/1.15.2::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this slot) (x11-base/xorg-server-1.15.0:0/1.15.0::gentoo, installed) pulled in by x11-base/xorg-server:0/1.15.0= required by (x11-drivers/xf86-video-intel-2.21.15:0/0::gentoo, installed) ^^ (and 2 more with the same problem) Why is it complaining about x11-drivers/xf86-video-intel; it is a valid package. Please post the full output from emerge -- Alan McKinnon alan.mckin...@gmail.com SOLVED, I got that blocker after upgrade and when I tray to run: emerge -uDNavq world the problem was that the package dev-db/mariadb needed flag: extraengine so adding to package.use dev-db/mariadb extraengine solved the problem. -- Joseph
[gentoo-user] cron - once a month during week days
I have a cron tab entry: 8 12 1-7 * 1 rsync ... I was under impression that it will run once a month on Monday but it seems to be running every day, why? -- Joseph
[gentoo-user] Computer does not boot
After recent upgrade my computer doesn't want to boot. I did not do anything with grub or kernel. I get a bios flash and next is message: Loading operating system ... GRUB loading stage2 and computer goes back reboot cycle, flash bios and the same massage is displayed. What went wrong during update? -- Joseph
Re: [gentoo-user] Computer does not boot
On 01/31/15 11:59, Dale wrote: meino.cra...@gmx.de wrote: Joseph syscon...@gmail.com [15-01-31 18:12]: After recent upgrade my computer doesn't want to boot. I did not do anything with grub or kernel. I get a bios flash and next is message: Loading operating system ... GRUB loading stage2 and computer goes back reboot cycle, flash bios and the same massage is displayed. What went wrong during update? -- Joseph Hi Joseph, may be only a accidental coincidence... One thing I can think of is an empty bios coin cell. What is an empty BIOS coin cell? If this is not the cause, check whether the stage2 grub got deleted. How do I check if stage2 grub was deleted? Thanks for your help OP, if it were me, I'd chroot in, re-emerge grub, reinstall grub to the drive and then try to reboot. It doesn't seem to me that it is the OS itself or the kernel since it doesn't seem to get that far either. It's either a BIOS or a grub issue. I'm thinking along the same lines of Meino myself. Since chrooting in is a bit of a pain, I'd cover the whole field while in it. Don't forget, you can use the -K option to install from binaries if you save them. That may save a little bit of time. Hope that helps. I boot strap from a CD and /boot and grup.conf looks normal the way I install it. ... title Gentoo Current Kernel root (hd0,0) kernel /boot/kernel-current root=/dev/sda3 vga=normal -- Joseph
Re: [gentoo-user][SOLVED] Computer does not boot
On 01/31/15 19:54, meino.cra...@gmx.de wrote: Joseph syscon...@gmail.com [15-01-31 19:32]: On 01/31/15 11:59, Dale wrote: meino.cra...@gmx.de wrote: Joseph syscon...@gmail.com [15-01-31 18:12]: After recent upgrade my computer doesn't want to boot. I did not do anything with grub or kernel. I get a bios flash and next is message: Loading operating system ... GRUB loading stage2 and computer goes back reboot cycle, flash bios and the same massage is displayed. What went wrong during update? -- Joseph Hi Joseph, may be only a accidental coincidence... One thing I can think of is an empty bios coin cell. What is an empty BIOS coin cell? If this is not the cause, check whether the stage2 grub got deleted. How do I check if stage2 grub was deleted? Thanks for your help OP, if it were me, I'd chroot in, re-emerge grub, reinstall grub to the drive and then try to reboot. It doesn't seem to me that it is the OS itself or the kernel since it doesn't seem to get that far either. It's either a BIOS or a grub issue. I'm thinking along the same lines of Meino myself. Since chrooting in is a bit of a pain, I'd cover the whole field while in it. Don't forget, you can use the -K option to install from binaries if you save them. That may save a little bit of time. Hope that helps. I boot strap from a CD and /boot and grup.conf looks normal the way I install it. ... title Gentoo Current Kernel root (hd0,0) kernel /boot/kernel-current root=/dev/sda3 vga=normal -- Joseph Hi, (please read this completly before doing anything) on the motherboard of your PC there is a Real Time Clock (RTC), which keeps time and date correct while your PC is turned off. This RTC needs power...only a little bit but more then nothing. For that there is a battery holder (oh damn, I fear, this term is german English... ;) on the motherboard, which can easily be identified, because it is about of the size of two Euro coin and an silvery coin is in there (visible from the outside). The similarity of the shape of a coin and and a coin cell gave the latter its name. BUT! Dont pull that out before you got a new one! Most often these cells are lithium batteries, which name starts with CR.. . On my motherboard there is a CR2032. But this should be mentioned in the manual of your mitherboard (and if that get lost you will find a pdf of that on the net somewhere). If you got a new cell, shutdown the computer, remove the mains plug from the back and switch the PC on again (no joke). This will empty any capacitor in the mains adapter and on the board. Touch the metal case of the PC (or if it is plastic touch the outer shell of an USB jack (**NOT** the inside), where you can easily reach it (in most cases on the back of the PC instead of the front). This will discharge any static electricity. Otherwise grub and the coin cell become a minor problem... ;) Check the manual how to remove the BIOS coin cell. Do it carefully but do it not excessive slow. Insert the new battery (remove it from the package before you remove the old cell) as described in the manual. If you are quick enough chance are given that all settings of the BIOS will survive the short no-power situation. Boot the PC again. If you didnt configure ntp for your PC and the time/date of the PC didn't survive the short power fail of the coin cell swap, set the date by hand, emerge net-misc/ntp, configure it and run it by hand to set time/date correctly. If the PC does not boot: Install grub as Dale mentioned. A missing stage2 bootloader may be the reason, why grub hangs while looking for it. If the problem went away after installing grub (and with it a new stage2 bootlaoder) the missing stage2 bootloader is the first candidate for being the reason of the problem. Good luck! Best regards, Meino SOLVED. I bootstrap from Gentoo CD and run grub-install in change-root. It fixed the problem, but it make me wonder why grub flipped on me. I run upgrade on three other boxes and everything went smooth. When I run upgrade on my main working server something happen and I can not figure it out. -- Joseph
[gentoo-user] meld - GConf Error: Client failed to connect to the D-BUS
When I run meld as root I get a strange errors: GConf Error: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. -- Joseph
Re: [gentoo-user] meld - GConf Error: Client failed to connect to the D-BUS
On 02/01/15 11:06, Adam Carter wrote: On Sun, Feb 1, 2015 at 9:29 AM, Joseph [1]syscon...@gmail.com wrote: When I run meld as root I get a strange errors: GConf Error: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. If you've su'd to root, try 'su -' instead. Thank you, that was it? What difference does it make and why on some boxes it has to be su - and on others simple su works. -- Joseph
Re: [gentoo-user] Computer does not boot
On 01/31/15 23:42, Dale wrote: [snip] Hi Joseph, may be only a accidental coincidence... One thing I can think of is an empty bios coin cell. If that battery is flat, the bios will complain settings are gone. Why would that cause grub to fail? Dont know the reason...I only experienced it several times... Regards Meino I've had it happen to me once too. In my case, the BIOS just went back to default settings. The only real change was the loss of the clock setting but it didn't complain, it just booted. After I replaced the battery, I went back and changed my settings to what I remembered them being. Since then, I change that battery every few years, while the system is running so that I don't lose any settings at all. ;-) Be careful. Dale Is there a way to backup bios setting to a text file etc.; beside special Windows utility? -- Joseph
Re: [gentoo-user][SOLVED] Computer does not boot
On 01/31/15 21:00, Neil Bothwick wrote: On Sat, 31 Jan 2015 12:53:41 -0700, Joseph wrote: I bootstrap from Gentoo CD and run grub-install in change-root. It fixed the problem, but it make me wonder why grub flipped on me. I run upgrade on three other boxes and everything went smooth. When I run upgrade on my main working server something happen and I can not figure it out. Now you're back in you can use qlop (or genlop) to see exactly what was updated, which may give a clue. -- Neil Bothwick Never sleep with anyone crazier than yourself. Thank your. Indeed grub was updated to grub-0.97-r14 genlop --list --date 3 days ago |grep grub Fri Jan 30 23:37:03 2015 sys-boot/grub-0.97-r14 Sat Jan 31 00:28:04 2015 sys-boot/grub-2.02_beta2-r3 Though all my other system were updated as well, and it didn't cause any problem, nor did I run grub-install on any of them. So I don't think emerging/updating grub package would cause any problem unless one run grub-install -- Joseph
Re: [gentoo-user] meld - GConf Error: Client failed to connect to the D-BUS
On 01/31/15 17:57, Alec Ten Harmsel wrote: On 01/31/2015 05:29 PM, Joseph wrote: When I run meld as root I get a strange errors: what happens when you don't run as root? GConf Error: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. do you have DBus installed/running? I've been doing a fair amount of coding with the DBus API for bossman, but sadly I feel no wiser on the various errors that it throws. The other things I can think of are: * GConf isn't installed/running * meld is looking for the session bus of your user, which is not accessible when running as root (maybe??? Not 100% sure on how session busses work...) If you run systemd, DBus is definitely running and I would imagine this would be a GConf error of some sort. If you're using OpenRC, check to make sure you have dbus and gconf enabled and running. dbus status show it is running. I don't have gconf. I'm using Xfce and OpenRC -- Joseph
[gentoo-user] xorg-server complains about xf86-video-fbdev
Why am I getting this error: (x11-base/xorg-server-1.15.2-r1:0/1.15.2::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this slot) (x11-base/xorg-server-1.15.0:0/1.15.0::gentoo, installed) pulled in by x11-base/xorg-server:0/1.15.0= required by (x11-drivers/xf86-video-fbdev-0.4.4:0/0::gentoo, installed) Is there a replacement for xf86-video-fbdev? -- Joseph
[gentoo-user] Ghost cyber threat
Does anybody know more about this security flaw in the open-source Linux GNU C Library http://www.theglobeandmail.com/technology/linux-makers-release-patch-to-thwart-new-ghost-cyber-threat/article22662060/?cmpid=rss1 -- Joseph
[gentoo-user] dependancy poppler and xorg-server
I'm getting two dependancy errors during upgrade: !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: x11-base/xorg-server:0 (x11-base/xorg-server-1.15.2-r1:0/1.15.2::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this slot) (x11-base/xorg-server-1.13.4-r1:0/1.13.4::gentoo, installed) pulled in by x11-base/xorg-server:0/1.13.4= required by (x11-drivers/xf86-input-mouse-1.9.0:0/0::gentoo, installed) ^^ (and 5 more with the same problem) app-text/poppler:0 (app-text/poppler-0.26.5:0/46::gentoo, installed) pulled in by app-text/poppler:0/46=[cxx,jpeg,lcms,tiff,xpdf-headers(+)] required by (net-print/cups-filters-1.0.53:0/0::gentoo, installed) ^^ (and 1 more with the same problem) (app-text/poppler-0.24.5:0/44::gentoo, ebuild scheduled for merge) pulled in by =app-text/poppler-0.12.3-r3:0/44= required by (app-text/texlive-core-2012-r1:0/0::gentoo, installed) 1.) I've unmerge poppler-0.24.5 rebuild: net-print/cups-filters dev-tex/luatex 2.) Do I unmerge x11-base/xorg-server-1.13.4-r1? -- Joseph
Re: [gentoo-user] dependancy poppler and xorg-server
On 01/27/15 18:43, Joseph wrote: I'm getting two dependancy errors during upgrade: !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: x11-base/xorg-server:0 (x11-base/xorg-server-1.15.2-r1:0/1.15.2::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this slot) (x11-base/xorg-server-1.13.4-r1:0/1.13.4::gentoo, installed) pulled in by x11-base/xorg-server:0/1.13.4= required by (x11-drivers/xf86-input-mouse-1.9.0:0/0::gentoo, installed) ^^ (and 5 more with the same problem) [snip] 2.) Do I unmerge x11-base/xorg-server-1.13.4-r1? OK I've solved the problem with poppler by re-emerging app-text/texlive-core but I still get this error: x11-base/xorg-server:0 (x11-base/xorg-server-1.15.2-r1:0/1.15.2::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this slot) (x11-base/xorg-server-1.13.4-r1:0/1.13.4::gentoo, installed) pulled in by x11-base/xorg-server:0/1.13.4= required by (x11-drivers/xf86-input-mouse-1.9.0:0/0::gentoo, installed) ^^ (and 5 more with the same problem) -- Joseph
Re: [gentoo-user] merging pdf file into one page
On 01/24/15 13:34, Canek Peláez Valdés wrote: On Sat, Jan 24, 2015 at 1:26 PM, Joseph [1]syscon...@gmail.com wrote: I've pdf form that I print. Once the form is printed I put it back in the printer tray and print information over top of it. It worked in the past but after I print it second time (over the printed form) the pages look as if they came out of the washing machine. They are crumpled. I think it as to do something with the static. How to I combine (overlap) two pdf files into one page. Load both PDF files in Inkscape, adjust slightly if necessary so everything aligns, and export the resulting file to PDF. You can convert the PDF files to SVG before loading to Inkscape, if the Inkscape converter is not up to your standards. You can use media-gfx/pdf2svg for that. What I do nowadays (if I have a PDF to fill that has no forms), is to load the PDF in Inkscape, and fill it with the text tool. Then print it or export it to SVG or PDF if I want to keep it. Regards. What I'm looking for I think it is called stitching two pdf files. -- Joseph
[gentoo-user] merging pdf file into one page
I've pdf form that I print. Once the form is printed I put it back in the printer tray and print information over top of it. It worked in the past but after I print it second time (over the printed form) the pages look as if they came out of the washing machine. They are crumpled. I think it as to do something with the static. How to I combine (overlap) two pdf files into one page. -- Joseph
Re: [gentoo-user] merging pdf file into one page
On 01/24/15 22:03, Thanasis wrote: On 01/24/2015 09:47 PM, Joseph wrote: What I'm looking for I think it is called stitching two pdf files. Join in1.pdf and in2.pdf into a new PDF, out1.pdf: pdftk in1.pdf in2.pdf cat output out1.pdf https://www.pdflabs.com/docs/pdftk-cli-examples/ http://www.maketecheasier.com/combine-multiple-pdf-files-with-pdftk/ join complain about sorting: join 1.pdf t4-flat-02b.pdf join: 1.pdf:3: is not sorted: I'm compiling pdftk. -- Joseph
Re: [gentoo-user] merging pdf file into one page
On 01/24/15 22:03, Thanasis wrote: On 01/24/2015 09:47 PM, Joseph wrote: What I'm looking for I think it is called stitching two pdf files. Join in1.pdf and in2.pdf into a new PDF, out1.pdf: pdftk in1.pdf in2.pdf cat output out1.pdf https://www.pdflabs.com/docs/pdftk-cli-examples/ http://www.maketecheasier.com/combine-multiple-pdf-files-with-pdftk/ It did not work. pdftk 1.pdf t4-flat-02b.pdf cat output out1.pdf did the same as pdfjoin. It generated document with two pages. I don't want to combine them together (have two pages). I want to stitch them, two pages into one page. -- Joseph
Re: [gentoo-user] merging pdf file into one page
On 01/24/15 20:50, Neil Bothwick wrote: On Sat, 24 Jan 2015 13:40:32 -0700, Joseph wrote: pdftk 1.pdf t4-flat-02b.pdf cat output out1.pdf did the same as pdfjoin. It generated document with two pages. I don't want to combine them together (have two pages). I want to stitch them, two pages into one page. Look at the background and stamp operations. In fact, look at the whole man page. -- Neil Bothwick Sacred cows make great hamburgers. Thanks, yes it worked with stamp and background pdftk t4-flat-02b.pdf stamp 1.pdf output out1.pdf -- Joseph
[gentoo-user] Software to keep track of stocks
I've tried to setup some stocks in GnuCash but it does not list TSX What alternatives are to keep track of stocks under Linux. -- Joseph
[gentoo-user] OT: Amplifier to connect to network
I'm looking for a solution to stream music in a home from my Gentoo box. I have speaker wire inside wall (CL3 14AWG) going from each room to a central location in a basement. I was thinking to utilize these wires and put an amplifier in the basement where I could connect all the speakers to. But I would like to connect the amplifier to my network and be able to control it from my computer. Are there better solutions? -- Joseph
Re: [gentoo-user] XFCE4 - moving/sort side panel directory
On 01/01/15 11:44, Joseph wrote: I'm created shortcut/link entry on XFCE4 side panel but I forgot how to move them. Drugging a folder or pressing CTRL/ALT etc has no effect. How to move/sort the entries on XFCE4 side panel? It is working now. -- Joseph
[gentoo-user] XFCE4 - moving/sort side panel directory
I'm created shortcut/link entry on XFCE4 side panel but I forgot how to move them. Drugging a folder or pressing CTRL/ALT etc has no effect. How to move/sort the entries on XFCE4 side panel? -- Joseph
Re: [gentoo-user] public wifi blocking ports
On 12/25/14 16:43, Bill Kenworthy wrote: On 25/12/14 15:43, Joseph wrote: I've installed zoiper (this is an softphone app to connect to my Asterisk server) on my old phone and it works on my private network over wifi. I'm using standard IAX port 4569 to register, so this port is open on my firewall. But when I catch an open public wifi network in a Mall or a Tim Horton zoiper failed to register. Do they block outgoing ports of public WiFi networks? What are my alternatives? I can open any port on my DD-Wrt and redirect it to my Asterisk server. Quite often happens in this part of the world. I run an openvpn ssl vpn on port 443 with an ssl multiplexor on the server end - route all the voip traffic through the vpn. Doesnt work well if bandwidth is really constrained but its the difference between having at least something or nothing at all. BillK I do run VoIP over vpn but that is between two points on cable connection and it works very well. But running vpn over wifi plus VoIP will not work very well if at all. Voice will be very choppy. -- Joseph
[gentoo-user] public wifi blocking ports
I've installed zoiper (this is an softphone app to connect to my Asterisk server) on my old phone and it works on my private network over wifi. I'm using standard IAX port 4569 to register, so this port is open on my firewall. But when I catch an open public wifi network in a Mall or a Tim Horton zoiper failed to register. Do they block outgoing ports of public WiFi networks? What are my alternatives? I can open any port on my DD-Wrt and redirect it to my Asterisk server. -- Joseph
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 17:58, Alexander Kapshuk wrote: On Mon, Dec 22, 2014 at 7:16 AM, Joseph [1]syscon...@gmail.com wrote: How to configure alsamixer and or XFCE4 to get playback from my motherboard card and input sound from USB? I'm trying to configure skype for input sound from USB cam abut playback from my sound card on motherboard. At the moment the only option I have is pulse audio. -- Joseph What's the output of 'equery -q u skype'? Run the alsamiser command line shown below on your card ID, and make sure you don't have anything muted there. alsamixer -c 0 # '-c' sound card ID. You can find the correct IDs by running 'aplay -l', which comes from media-sound/alsa-utils. equery -q u skype -apulse -pax_kernel +pulseaudio By default skype is using pulseaudio (poor choice) and it will not let you select input device for sound. The solution that works is to emerge pavucontrol Pulse Audio Volume Control Under tab Input Devices in Pulse Audio Volume Control there should be entry for a web-cam; in my case it is Web-Cam C270 On the right there is a button: Set as Fallback it should be enabled. The skype will not show in Control USB audio input option but the call sound with skype will work. Question: How do you set alsamixer default card? By default it goes to pulseaudio whey I type alsamixer I want to set it to 0 as default. -- Joseph
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 07:50, meino.cra...@gmx.de wrote: Joseph syscon...@gmail.com [14-12-22 07:16]: On 12/22/14 06:21, meino.cra...@gmx.de wrote: Joseph syscon...@gmail.com [14-12-22 06:18]: How to configure alsamixer and or XFCE4 to get playback from my motherboard card and input sound from USB? I'm trying to configure skype for input sound from USB cam abut playback from my sound card on motherboard. At the moment the only option I have is pulse audio. -- Joseph Hi Joseph, try to include the correct kernel modules ;) Best Meino For which device? I'm using kernel 3.10 My motherboard has a sound chip included so that is what I'm using for playback I would like to use sound input form USB mic. on a camera. It seems to me skype for Linux is not recognizing different inputs for sound; the only option I have is pulse audio. -- Joseph Hi Joseph, ...you have to share more informations about you hardware. No one is able to help you, if the information is only I have a motherboard with an audio chip and a microphone which I want to use. Best Meino From lspci, it shows me I have audio: Audio device: NVIDIA Corporation GF116 High Definition Audio Controller (rev a1) In kernel I have set: CONFIG_MEDIA_SUPPORT=y CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_USB_SUPPORT=y CONFIG_MEDIA_PCI_SUPPORT=y CONFIG_MEDIA_SUBDRV_AUTOSELECT=y CONFIG_SND_HDA_CODEC_CMEDIA=y -- Joseph
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 19:58, Alexander Kapshuk wrote: equery -q u skype -apulse -pax_kernel +pulseaudio By default skype is using pulseaudio (poor choice) and it will not let you select input device for sound. The solution that works is to emerge pavucontrol Pulse Audio Volume Control Under tab Input Devices in Pulse Audio Volume Control there should be entry for a web-cam; in my case it is Web-Cam C270 On the right there is a button: Set as Fallback it should be enabled. The skype will not show in Control USB audio input option but the call sound with skype will work. Question: How do you set alsamixer default card? By default it goes to pulseaudio whey I type alsamixer I want to set it to 0 as default. -- Joseph What's the output of 'aplay -l'? Here it is. aplay -l List of PLAYBACK Hardware Devices card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: ALC889 Digital [ALC889 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 -- Joseph
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 21:07, Alexander Kapshuk wrote: Here it is. aplay -l List of PLAYBACK Hardware Devices card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog]  Subdevices: 1/1  Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: ALC889 Digital [ALC889 Digital]  Subdevices: 1/1  Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]  Subdevices: 1/1  Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]  Subdevices: 1/1  Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]  Subdevices: 1/1  Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]  Subdevices: 1/1  Subdevice #0: subdevice #0 -- Joseph Good. Now try running 'alsamixer -c0', and toggle muting for different channels and see if that makes a difference. You may want to try doing that for card1 as well, should card0 fail. Yes, alsamixer -c0 But I want 0 to be default. When I type alsamixer it should automatically pop us as default. Which file do I modify? -- Joseph
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 14:39, Poison BL. wrote: On Mon, Dec 22, 2014 at 2:17 PM, Joseph syscon...@gmail.com wrote: Yes, alsamixer -c0 But I want 0 to be default. When I type alsamixer it should automatically pop us as default. Which file do I modify? -- Joseph I believe that's a side effect of alsa-lib being set to something other than card 0 as the default device (which pulse likes to do), you can either look for the relevant lines in /etc/asound.conf for the system wide settings, or handle it on the user level in $HOME/.asoundrc ... and the Alsa project themselves have the best docs on those files here: http://www.alsa-project.org/main/index.php/Asoundrc -- Poison [BLX] Joshua M. Murphy Yes, I was reading about /etc/asound.conf but I don't have that file, should I create one. -- Joseph
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 13:12, Joseph wrote: On 12/22/14 14:39, Poison BL. wrote: On Mon, Dec 22, 2014 at 2:17 PM, Joseph syscon...@gmail.com wrote: Yes, alsamixer -c0 But I want 0 to be default. When I type alsamixer it should automatically pop us as default. Which file do I modify? -- Joseph I believe that's a side effect of alsa-lib being set to something other than card 0 as the default device (which pulse likes to do), you can either look for the relevant lines in /etc/asound.conf for the system wide settings, or handle it on the user level in $HOME/.asoundrc ... and the Alsa project themselves have the best docs on those files here: http://www.alsa-project.org/main/index.php/Asoundrc -- Poison [BLX] Joshua M. Murphy Yes, I was reading about /etc/asound.conf but I don't have that file, should I create one. -- Joseph It seems to me I'm stuck with pulseaudio if I want to use skype. Skype will not work with anything else. I changed the default sound in alsamixer in /etc/asound.conf to my card 0 SB and skype stopped working :-/ -- Joseph
[gentoo-user] pavucontrol - Pulseaudio Volume Control, save settings
I'm running pavucontrol - Pulseaudio Volume Control, but I don't know how to save the setting. Every time I reboot. I have to go to Pulseaudio Volume Control - Input Devices and set my Webcam setting and click Set as fallback Is there a way to save this setting? Who is pulseaudio started on my system? There is no entry in /etc/inid.d/ for pulseaudio. -- Joseph
[gentoo-user] webcam on Gentoo Logitech C270
I have a Logitech C270 webcam but I can not make it to work with linux/skype USB sound in kernel is ON: CONFIG_SND_USB_AUDIO=y lsusb ... Bus 008 Device 006: ID 046d:0825 Logitech, Inc. Webcam C270 When I plug the USB cam I get an error: xhci_hcd :02:00.0: ERROR: unexpected command completion code 0x11. usb 8-1: Not enough bandwidth for altsetting 4 6:3:4: usb_set_interface failed (-22) -- Joseph
Re: [gentoo-user] webcam on Gentoo Logitech C270
On 12/21/14 09:51, Joseph wrote: I have a Logitech C270 webcam but I can not make it to work with linux/skype USB sound in kernel is ON: CONFIG_SND_USB_AUDIO=y lsusb ... Bus 008 Device 006: ID 046d:0825 Logitech, Inc. Webcam C270 When I plug the USB cam I get an error: xhci_hcd :02:00.0: ERROR: unexpected command completion code 0x11. usb 8-1: Not enough bandwidth for altsetting 4 6:3:4: usb_set_interface failed (-22) I have plug the webcam to standard USB-2 port and it is recognized I think: [ 3321.717170] usb 3-2: usb_probe_device [ 3321.717173] usb 3-2: configuration #1 chosen from 1 choice [ 3321.717337] usb 3-2: adding 3-2:1.0 (config #1, interface 0) [ 3321.717369] usb 3-2: adding 3-2:1.1 (config #1, interface 1) [ 3321.717387] usb 3-2: adding 3-2:1.2 (config #1, interface 2) [ 3321.717406] snd-usb-audio 3-2:1.2: usb_probe_interface [ 3321.717409] snd-usb-audio 3-2:1.2: usb_probe_interface - got id [ 3323.136617] set resolution quirk: cval-res = 384 [ 3323.137048] usb 3-2: adding 3-2:1.3 (config #1, interface 3) But I can not see it in skype setting. -- Joseph
Re: [gentoo-user] webcam on Gentoo Logitech C270
On 12/21/14 18:56, meino.cra...@gmx.de wrote: waben...@gmail.com waben...@gmail.com [14-12-21 18:36]: Am Sonntag, 21.12.2014 um 10:00 schrieb Joseph syscon...@gmail.com: On 12/21/14 09:51, Joseph wrote: I have a Logitech C270 webcam but I can not make it to work with linux/skype USB sound in kernel is ON: CONFIG_SND_USB_AUDIO=y I guess you should also take a look at Device Drivers Multimedia support Media USB Adapters e.g. MEDIA_USB_SUPPORT MEDIA_CAMERA_SUPPORT MEDIA_CONTROLLER ... Regards wabe You need UVC-Support: CONFIG_USB_F_UVC=y I'm using kernle: linux-3.10.7 but there is no CONFIG_USB_F_UVC setting, I can not find anything for UVC grep UVC .config I get empty line. -- Joseph
Re: [gentoo-user] webcam on Gentoo Logitech C270
On 12/21/14 18:32, waben...@gmail.com wrote: Am Sonntag, 21.12.2014 um 10:00 schrieb Joseph syscon...@gmail.com: On 12/21/14 09:51, Joseph wrote: I have a Logitech C270 webcam but I can not make it to work with linux/skype USB sound in kernel is ON: CONFIG_SND_USB_AUDIO=y I guess you should also take a look at Device Drivers Multimedia support Media USB Adapters e.g. MEDIA_USB_SUPPORT MEDIA_CAMERA_SUPPORT MEDIA_CONTROLLER I have enable CONFIG_MEDIA_USB_SUPPORT and CONFIG_MEDIA_CAMERA_SUPPORT but skype still is not recogizing it. grep MEDIA .config CONFIG_MEDIA_SUPPORT=y CONFIG_MEDIA_CAMERA_SUPPORT=y # CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set # CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set # CONFIG_MEDIA_RADIO_SUPPORT is not set # CONFIG_MEDIA_RC_SUPPORT is not set # CONFIG_MEDIA_CONTROLLER is not set CONFIG_MEDIA_USB_SUPPORT=y # CONFIG_MEDIA_PCI_SUPPORT is not set CONFIG_MEDIA_SUBDRV_AUTOSELECT=y CONFIG_SND_HDA_CODEC_CMEDIA=y # CONFIG_STAGING_MEDIA is not set What other setting did I miss? -- Joseph
Re: [gentoo-user] webcam on Gentoo Logitech C270
On 12/21/14 11:22, Joseph wrote: On 12/21/14 18:56, meino.cra...@gmx.de wrote: waben...@gmail.com waben...@gmail.com [14-12-21 18:36]: Am Sonntag, 21.12.2014 um 10:00 schrieb Joseph syscon...@gmail.com: On 12/21/14 09:51, Joseph wrote: I have a Logitech C270 webcam but I can not make it to work with linux/skype USB sound in kernel is ON: CONFIG_SND_USB_AUDIO=y I guess you should also take a look at Device Drivers Multimedia support Media USB Adapters e.g. MEDIA_USB_SUPPORT MEDIA_CAMERA_SUPPORT MEDIA_CONTROLLER ... Regards wabe You need UVC-Support: CONFIG_USB_F_UVC=y I'm using kernle: linux-3.10.7 but there is no CONFIG_USB_F_UVC setting, I can not find anything for UVC grep UVC .config I get empty line. I have fond setting in kernel 3.10 for UVC grep USB_VIDEO_CLASS .config CONFIG_USB_VIDEO_CLASS=y (USB Video Class (UVC)) but I still don't see the USB camera in skype. -- Joseph
Re: [gentoo-user] webcam on Gentoo Logitech C270
On 12/21/14 22:08, Alexander Kapshuk wrote: Do you have these enabled and set? grep '^CONFIG.*V4L' /usr/src/linux/.config CONFIG_VIDEO_V4L2=m CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_MEDIA_SUPPORT=m CONFIG_USB_VIDEO_CLASS=m CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y CONFIG_USB_GSPCA=m CONFIG_MEDIA_PCI_SUPPORT=y grep -s ^LD_PRELOAD .* .bash_profile:LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so Also, you may want to try plugging you webcam into a USB2 port, if available, instead of a USB3 one, as suggested here, [6]http://linux-kernel.2935.n7.nabble.com/3-15-8-USB-issue-with-uvc-cam -td920378.html. Hope this helps. References 1. mailto:syscon...@gmail.com 2. mailto:meino.cra...@gmx.de 3. mailto:waben...@gmail.com 4. mailto:waben...@gmail.com 5. mailto:syscon...@gmail.com 6. http://linux-kernel.2935.n7.nabble.com/3-15-8-USB-issue-with-uvc-cam-td920378.html I just did: grep '^CONFIG.*V4L' /usr/src/linux/.config CONFIG_VIDEO_V4L2=y CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_MEDIA_SUPPORT=y CONFIG_USB_VIDEO_CLASS=y CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y CONFIG_USB_GSPCA=m I think there is no need to enable the above: CONFIG_USB_GSPCA=m since nome of the dirvr are enabled as module. CONFIG_MEDIA_PCI_SUPPORT=y I run as user: LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so Yes, USB web-cam is plugged to USB2 But still skype does not recogines it :-( -- Joseph
Re: [gentoo-user] webcam on Gentoo Logitech C270
On 12/21/14 22:08, Alexander Kapshuk wrote: grep '^CONFIG.*V4L' /usr/src/linux/.config CONFIG_VIDEO_V4L2=m CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_MEDIA_SUPPORT=m CONFIG_USB_VIDEO_CLASS=m CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y CONFIG_USB_GSPCA=m CONFIG_MEDIA_PCI_SUPPORT=y grep -s ^LD_PRELOAD .* .bash_profile:LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so Also, you may want to try plugging you webcam into a USB2 port, if available, instead of a USB3 one, as suggested here, [6]http://linux-kernel.2935.n7.nabble.com/3-15-8-USB-issue-with-uvc-cam -td920378.html. Hope this helps. When I try to run: guvcview I get: guvcview 1.6.1 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm_route.c:947:(find_matching_chmap) Found no matching channel map video device: /dev/video0 ERROR opening V4L2 interface for /dev/video0 unable to detect video devices on your system (0) ERROR opening V4L interface: Permission denied Init video returned -1 VIDIOC_REQBUFS - Failed to delete buffers: Inappropriate ioctl for device (errno 25) cleaned allocations - 100% Closing portaudio ...OK -- Joseph
Re: [gentoo-user] webcam on Gentoo Logitech C270
On 12/22/14 04:00, meino.cra...@gmx.de wrote: Joseph syscon...@gmail.com [14-12-22 03:52]: On 12/21/14 22:08, Alexander Kapshuk wrote: grep '^CONFIG.*V4L' /usr/src/linux/.config CONFIG_VIDEO_V4L2=m CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_MEDIA_SUPPORT=m CONFIG_USB_VIDEO_CLASS=m CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y CONFIG_USB_GSPCA=m CONFIG_MEDIA_PCI_SUPPORT=y grep -s ^LD_PRELOAD .* .bash_profile:LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so Also, you may want to try plugging you webcam into a USB2 port, if available, instead of a USB3 one, as suggested here, [6]http://linux-kernel.2935.n7.nabble.com/3-15-8-USB-issue-with-uvc-cam -td920378.html. Hope this helps. When I try to run: guvcview I get: guvcview 1.6.1 ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm_route.c:947:(find_matching_chmap) Found no matching channel map video device: /dev/video0 ERROR opening V4L2 interface for /dev/video0 unable to detect video devices on your system (0) ERROR opening V4L interface: Permission denied Init video returned -1 VIDIOC_REQBUFS - Failed to delete buffers: Inappropriate ioctl for device (errno 25) cleaned allocations - 100% Closing portaudio ...OK -- Joseph Hi Joseph, in conjucntion with the C920 I found that guvcview does not plai well with it. First try to get anything from your webcam, before trying Skype or such - so you have to fight against too many open ends or failure sources. Do you have gstreamer installed? Try this command/shell script: You have to adopt the device options to you setup. It will record and display the video stream. #! /bin/zsh td=`date +%Y-%m-%d-%Hh%Mh%Ss` fn=c920-$td.mp4 gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse ! muxout. alsasrc device=hw:3,0 ! queue ! audioconvert ! lamemp3enc ! muxout. matroskamux name=muxout streamable=true ! filesink location=$fn mplayer $fn HTH! Best regards, Meino I can get a video when I run guvcview with banch of errors: vid:046d pid:0825 driver:uvcvideo mapping control for Pan (relative) UVCIOC_CTRL_MAP - Error: No such file or directory mapping control for Tilt (relative) UVCIOC_CTRL_MAP - Error: No such file or directory mapping control for Pan Reset UVCIOC_CTRL_MAP - Error: No such file or directory mapping control for Tilt Reset UVCIOC_CTRL_MAP - Error: No such file or directory mapping control for Focus (absolute) UVCIOC_CTRL_MAP - Error: No such file or directory mapping control for LED1 Mode UVCIOC_CTRL_MAP - Error: No such file or directory mapping control for LED1 Frequency UVCIOC_CTRL_MAP - Error: No such file or directory mapping control for Disable video processing UVCIOC_CTRL_MAP - Error: No such file or directory mapping control for Raw bits per pixel UVCIOC_CTRL_MAP - Error: No such file or directory mapping control for Off UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device checking format: 1196444237 VIDIOC_G_COMP:: Inappropriate ioctl for device fps is set to 1/25 drawing controls Checking video mode 640x480@32bpp : OK Could not grab image (select timeout): Resource temporarily unavailable When I try to record anything bunch of errors messages popping up in command line: (guvcview:5004): GConf-WARNING **: error creating revert set: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. I don't think this web-cam is Linux friendly :-/ Are there any alternative, web-cam that support Linux 100% -- Joseph
Re: [gentoo-user] webcam on Gentoo Logitech C270 - almost there.
On 12/21/14 19:58, Daniel Frey wrote: On 12/21/2014 06:49 PM, Joseph wrote: When I try to run: guvcview video device: /dev/video0 ERROR opening V4L2 interface for /dev/video0 unable to detect video devices on your system (0) ERROR opening V4L interface: Permission denied It can't open the device. You probably aren't in the right group for access. I suspect it'd be the video group, just do: ls -lhd /dev/video0 ...and see what the permissions are, it's probably going to be root:video. For my mythtv card, I know for sure it's root:video. If that's all it is, use gpasswd and add yourself to the group then log out and in again. Dan YES, that was it. I was fighting with it all afternoon and it was so simple :-/ Though, the video and voice work with guvcview and can record it and save it but with skype only video works. I think the problem is pulse audio, skype only show pulse audio option; guvcview allow me to switch to: USB Device 0x46d:0x825 Audio. How to force skype to USB Device Audio? -- Joseph
[gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
How to configure alsamixer and or XFCE4 to get playback from my motherboard card and input sound from USB? I'm trying to configure skype for input sound from USB cam abut playback from my sound card on motherboard. At the moment the only option I have is pulse audio. -- Joseph
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 06:21, meino.cra...@gmx.de wrote: Joseph syscon...@gmail.com [14-12-22 06:18]: How to configure alsamixer and or XFCE4 to get playback from my motherboard card and input sound from USB? I'm trying to configure skype for input sound from USB cam abut playback from my sound card on motherboard. At the moment the only option I have is pulse audio. -- Joseph Hi Joseph, try to include the correct kernel modules ;) Best Meino For which device? I'm using kernel 3.10 My motherboard has a sound chip included so that is what I'm using for playback I would like to use sound input form USB mic. on a camera. It seems to me skype for Linux is not recognizing different inputs for sound; the only option I have is pulse audio. -- Joseph
[gentoo-user] Making DVD high resolution
I've used Imagination to make VOB and set in preferences resolution 1920 x 1080 HD made VOB. How do I check the VOB frame size settings? When I tried to made HD video using DVD Styler the max frame rate I can set to make DVD ISO is 720x480. How to make DVD with higher resolution? -- Joseph
Re: [gentoo-user] Making DVD high resolution
On 12/18/14 10:50, Joseph wrote: I've used Imagination to make VOB and set in preferences resolution 1920 x 1080 HD made VOB. How do I check the VOB frame size settings? When I tried to made HD video using DVD Styler the max frame rate I can set to make DVD ISO is 720x480. How to make DVD with higher resolution? I checked the VOB with ffmpeg -i The VOB is: Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9] The DVD I created with DVD Styler is only 720x480 Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR 4:3] How to burn higher resolution DVD, I think I'll have to use command line? -- Joseph
Re: [gentoo-user] Making DVD high resolution
On 12/18/14 19:10, J. Roeleveld wrote: On 18 December 2014 18:50:09 CET, Joseph syscon...@gmail.com wrote: I've used Imagination to make VOB and set in preferences resolution 1920 x 1080 HD made VOB. How do I check the VOB frame size settings? When I tried to made HD video using DVD Styler the max frame rate I can set to make DVD ISO is 720x480. How to make DVD with higher resolution? You can't. The DVD spec doesn't support HD video. So what format do I have to burn the disk in, in order to have lets say 1920 x 1080 HD -- Joseph
[gentoo-user] No burners are currently available
When I start Xfburn I get a message: No burners are currently available Possibly the disc(s) are in use, and cannot get accessed. How to check which program is using the DVD drive? ps fax is not showing that any program is using it. -- Joseph
Re: [gentoo-user] No burners are currently available
On 12/18/14 21:20, meino.cra...@gmx.de wrote: Joseph syscon...@gmail.com [14-12-18 21:16]: When I start Xfburn I get a message: No burners are currently available Possibly the disc(s) are in use, and cannot get accessed. How to check which program is using the DVD drive? ps fax is not showing that any program is using it. -- Joseph Hi Joseph, Suppose /dev/dvd is the device in question do a fuser /dev/dvd to see, what is using the device. Another source for that kind of error messages are wrong permissions of the device, you (or better your account) is missing a certain group membership (group cdrom, cdrw for example) or Xfburn exspects /dev/dvd (or something else) and udev has generated a more cryptic device name like /dev/sr0. I've tried to burn a dvd from a command line: cdrecord -v -eject -dao speed=4 dev=0,0,0 dvd.iso but I got a generic error message that it is not possible. running: fuser /dev/sr0 come up with empty line, but Xfburn now can access the drive :-/ -- Joseph
Re: [gentoo-user] [SOLVED] convert VOB to ISO
On 12/17/14 14:24, Matti Nykyri wrote: On Dec 17, 2014, at 9:57, Joseph syscon...@gmail.com wrote: How to convert VOB to ISO? I want to burn it to DVD I'm using XFCE and was looking for a GUI application but I can not find one, I've tired DeVeDe but it didn't work. What you need is DVD-author. These are rare now a days. Here is a list: http://en.m.wikipedia.org/wiki/List_of_DVD_authoring_applications I've been using Q DVD Author successfully for few times in 2011, but DVD-authoring wasn't at least back then fully automatic stuff. And also dvd's are becoming obsolete. You just create the menu structure and then the authoring program produces iso-image (videots.ifo/vts_0-0.vob). The 'DVD-language' kind of primitive (qbasic/any script). -- -Matti I used DVD-author few years ago but I was short on time and had to make a few DVD's in about about 8-hours. I forgot most of the commands and didn't have tome to re-learn most of it. I used: - Imagination - to make VOB's crunching 800+ pictures takes few hours. The only problem I had is that it gives you a lengh of time of the show but it will not calculate the size of the VOB in advance. So if the VOB is over 4.7GB it will fit to DVD; especially if you include rotating effects. - DVD Styler - worked very good to create cover / subtitles and ISO - To burn ISO on XFCE I used Xfburn - it was picky but it worked. -- Joseph