[gentoo-user] [OT] rsync daemon with transmit timeout
Hi all, I want to make an rsync daemon, that allows only one connection at a time. This is to sort-of manage some files that I don't want multiple people editing at once. I tried with xinetd and rsync, and an rsyncd.conf pointing to a small directory containing the files. $ cat /etc/xinetd.d/rsyncd-sched service rsyncd-sched { disable = no only_from = 0.0.0.0 socket_type = stream wait= no user= root server = /usr/bin/rsync server_args = --daemon --no-detach --timeout=300 --config=/home/sms/etc/rsyncd-sched.conf log_on_failure += USERID nice= 10 instances = 1 } I tried various combinations of --daemon and --no-detach, but rsync fails saying that --timeout is not valid in daemon mode. I want the server to manage the timeout, and not the client, so that a rouge client can go dead, and the server will automatically detach it. I couldn't find any xinetd options to set a timeout on transmitting data. Do I have to go into socket options? I don't have to use rsync - sftp or something else would do as well as the number of files is quite small... Any tips would be appreciated, thanks! cya, -- Iain Buchanan iaindb at netspace dot net dot au Anything is good if it's made of chocolate. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [OT] rsync daemon with transmit timeout
oops :) just found the timeout option for the configuration file... don't know why I didn't see that before... thanks :) -- Iain Buchanan iaindb at netspace dot net dot au There are some good people in it, but the orchestra as a whole is equivalent to a gang bent on destruction. -- John Cage, composer -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [OT] rsync daemon with transmit timeout
On Wednesday 19 September 2007, Iain Buchanan wrote: Hi all, I want to make an rsync daemon, that allows only one connection at a time. This is to sort-of manage some files that I don't want multiple people editing at once. What about the max connections options in rsyncd.conf? -- [EMAIL PROTECTED] mailing list
[gentoo-user] hostapd stopped working after reboot
hostapd (0.4.9) stopped working today on my Gentoo server... daevid ~ # /etc/init.d/hostapd restart * Starting hostapd ... Configuration file: /etc/hostapd/hostapd.conf ioctl(SIOCGIFINDEX): No such device hostap driver initialization failed. rmdir[ctrl_interface]: No such file or directory This was all working fine yesterday. I had to reboot my server today, so no doubt that is related as something must have been updated. I see this bug, but I don't think that's exactly my issue, while the error is the same, I don't have the problem he describes. http://bugs.gentoo.org/show_bug.cgi?id=159646 # ifconfig wifi0 Link encap:UNSPEC HWaddr 00-02-6F-09-B2-B4-00-00-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1599 errors:0 dropped:0 overruns:0 frame:0 TX packets:24 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:48264 (47.1 Kb) TX bytes:4090 (3.9 Kb) Interrupt:16 Base address:0xc100 wlan0 Link encap:Ethernet HWaddr 00:02:6F:09:B2:B4 inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1 errors:0 dropped:10 overruns:0 frame:0 TX packets:17 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:342 (342.0 b) TX bytes:3882 (3.7 Kb) Interrupt:16 Base address:0xc100 Note, I don't have a wlan0ap, but that would come from hostapd I suspect, if it were starting. But the modules are loading... # lsmod | grep host hostap_cs 59156 3 hostap08 1 hostap_cs I don't use WEP or WPA. Just a standard wide open public WAP. Engenius Senao 2511 card. Here's the most recent stuff that could have had an effect, I don't know the last time I rebooted the server, but I guess it was within this timeframe: daevid log # genlop -l --date 5 weeks ago | grep -v kde | grep -v gnome | grep -v x11 Sun Aug 19 17:29:40 2007 dev-libs/expat-2.0.1 Sun Aug 19 17:30:09 2007 sys-fs/udev-114 Sun Aug 19 17:30:19 2007 sys-apps/debianutils-2.22.1 Sun Aug 19 17:32:12 2007 sys-apps/busybox-1.6.1 Sun Aug 19 17:36:47 2007 sys-devel/gettext-0.16.1-r1 Sun Aug 19 17:37:04 2007 sys-process/psmisc-22.5-r1 Sun Aug 19 18:02:34 2007 sys-fs/device-mapper-1.02.19-r1 Sun Aug 19 18:04:42 2007 app-text/sablotron-1.0.1 Sun Aug 19 18:19:21 2007 net-libs/opal-2.2.6 Sun Aug 19 18:20:36 2007 sys-apps/dbus-1.0.2-r2 Sun Aug 19 18:21:19 2007 dev-libs/dbus-glib-0.73 Sun Aug 19 18:25:21 2007 sys-devel/gdb-6.6-r2 Sun Aug 19 18:26:02 2007 dev-libs/apr-util-1.2.8 Sun Aug 19 18:28:54 2007 app-text/openjade-1.3.2-r1 Sun Aug 19 20:30:38 2007 dev-libs/pwlib-1.10.5 Sun Aug 19 20:39:10 2007 sys-fs/cryptsetup-luks-1.0.4-r3 Sun Aug 19 20:46:12 2007 x11-apps/sessreg-1.0.2 Sun Aug 19 20:47:25 2007 net-misc/openssh-4.6_p1-r3 Sun Aug 19 20:55:39 2007 net-dns/libidn-0.6.9-r1 Sun Aug 19 21:04:32 2007 net-misc/curl-7.16.4 Sun Aug 19 21:04:37 2007 net-misc/netkit-talk-0.17-r4 Sun Aug 19 23:50:57 2007 dev-libs/apr-util-1.2.8 Mon Aug 20 00:03:20 2007 sys-apps/hal-0.5.9-r1 Mon Aug 20 01:36:07 2007 dev-libs/apr-util-1.2.8 Mon Aug 20 12:55:06 2007 dev-libs/apr-util-0.9.12-r1 Thu Sep 6 18:23:04 2007 sys-apps/portage-2.1.2.12 Thu Sep 6 18:23:23 2007 sys-devel/autoconf-2.61-r1 Thu Sep 6 18:24:03 2007 net-misc/rsync-2.6.9-r3 Thu Sep 6 19:34:54 2007 sys-auth/consolekit-0.2.1 Thu Sep 6 19:36:24 2007 dev-libs/libIDL-0.8.8 Thu Sep 6 19:50:08 2007 net-misc/vino-2.18.1 Thu Sep 6 20:06:20 2007 dev-python/pygtkglext-1.1.0 Thu Sep 6 22:29:46 2007 dev-libs/openssl-0.9.8e-r2 Thu Sep 6 22:31:12 2007 dev-libs/glib-2.12.13 Thu Sep 6 22:39:13 2007 sys-libs/db-4.5.20_p2 Thu Sep 6 22:39:33 2007 net-libs/libpcap-0.9.7 Thu Sep 6 23:26:55 2007 sys-devel/libtool-1.5.24 Thu Sep 6 23:28:55 2007 media-libs/alsa-lib-1.0.14a-r1 Fri Sep 7 11:24:37 2007 dev-python/setuptools-0.6_rc6 Fri Sep 7 11:28:40 2007 dev-python/pyorbit-2.14.3 Fri Sep 7 11:30:11 2007 net-misc/dhcp-3.1.0 Fri Sep 7 11:32:15 2007 net-wireless/wireless-tools-29_pre22 Fri Sep 7 11:32:21 2007 net-misc/whois-4.7.22 Fri Sep 7 12:29:13 2007 net-misc/openssh-4.7_p1 Fri Sep 7 12:30:48 2007 net-mail/dovecot-1.0.3 Fri Sep 7 12:37:21 2007 net-firewall/iptables-1.3.8-r1 Tue Sep 11 22:46:28 2007 dev-perl/XML-Parser-2.34-r1 Tue Sep 11 22:49:34 2007 dev-libs/apr-util-0.9.12-r1 Rebooted server today. Tue Sep 18 21:16:25 2007 net-wireless/hostap-utils-0.4.7 Tue Sep 18 21:16:41 2007 net-wireless/hostapd-0.4.9 The last two entries are where I noticed wifi wasn't working tonight, so I tried to re-emerge it, but that didn't
[gentoo-user] apache2 2.2.x fails to start due to mod_dav_svn.so
Apache was working fine in 2.0.58, then an emerge world forced an update of apache2 to 2.2.4, now after a reboot, apache won't start! What's the point of running a 'stable' Gentoo system if it just keeps breaking things??! *sigh* It fails on 2.2.4 so I tried 2.2.6 (as it's marked stable too, and emerge world wants to do it anyways) and it still fails. [I] www-servers/apache Available versions: (2) 2.0.58-r2 2.0.59-r5 ~2.0.61 2.2.4-r12 2.2.6 {apache2 debug doc ldap mpm-event mpm-itk mpm-leader mpm-peruser mpm-prefork mpm-threadpool mpm-worker no-suexec selinux ssl static-modules threads} Installed versions: 2.2.6(2)(00:45:36 09/19/07)(-debug -doc ldap -mpm-event -mpm-itk -mpm-peruser -mpm-prefork -mpm-worker -no-suexec -selinux ssl -static-modules -threads) Homepage:http://httpd.apache.org/ Description: The Apache Web Server. # /etc/init.d/apache2 start * Apache2 has detected a syntax error in your configuration files: apache2: Syntax error on line 176 of /etc/apache2/httpd.conf: Syntax error on line 3 of /etc/apache2/modules.d/47_mod_dav_svn.conf: API module structure 'dav_svn_module' in file /usr/lib/apache2/modules/mod_dav_svn.so is garbled - expected signature 41503232 but saw 41503230 - perhaps this is not an Apache module DSO, or was compiled for a different Apache version? Line 3 says: IfModule !mod_dav_svn.c LoadModule dav_svn_module modules/mod_dav_svn.so /IfModule I have the stupid modules and they're all dated tonight (as in just built)! # ll /usr/lib/apache2/modules/mod_dav* -rwxr-xr-x 1 root root 86792 Sep 19 00:45 /usr/lib/apache2/modules/mod_dav.so -rwxr-xr-x 1 root root 41528 Sep 19 00:45 /usr/lib/apache2/modules/mod_dav_fs.so -rwxr-xr-x 1 root root 13760 Sep 19 00:45 /usr/lib/apache2/modules/mod_dav_lock.so -rwxr-xr-x 1 root root 115552 Aug 19 18:39 /usr/lib/apache2/modules/mod_dav_svn.so My /etc/conf.d/apache2 has: APACHE2_OPTS=-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST -D SUEXEC -D SVN -D SVN_AUTHZ -D DAV -D DAV_FS This is what I originally followed to get SVN/Trac working: http://www.rockfloat.com/howto/gentoo-subversion.html#add_support_to_apa che -- [EMAIL PROTECTED] mailing list
[gentoo-user] gome-sounds not working but ALSA works fine
hi, after installing gnome-sounds i noticed that they where not playing at all. The ALSA drivers have been installed (mplayer can play WAV/MP3 etc). But pressing the test-button in the audio-setup window from gnome does nothing. Is there anyone who can help me? Stijn Vanpraet -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] gome-sounds not working but ALSA works fine
On Wednesday 19 September 2007, stijn vanpraet wrote: hi, after installing gnome-sounds i noticed that they where not playing at all. The ALSA drivers have been installed (mplayer can play WAV/MP3 etc). But pressing the test-button in the audio-setup window from gnome does nothing. Is there anyone who can help me? Yes, I can. alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- [EMAIL PROTECTED] mailing list
[gentoo-user] man bash document doesn't match real life bash.
Hi, I was surprised to find that in man bash the reference to initialization files is wrong. The bash manual says it reads initialization files from /etc/profile: FILES /bin/bash The bash executable /etc/profile The systemwide initialization file, executed for login shells Where real life uses /etc/bash/bashrc This part is taken from strace dump: strace bash -i open(/etc/bash/bashrc, O_RDONLY|O_LARGEFILE) = 3 I use bash from gentoo package: $ equery belongs /usr/share/man/man1/bash.1.bz2 [ Searching for file(s) /usr/share/man/man1/bash.1.bz2 in *... ] app-shells/bash-3.2_p17 (/usr/share/man/man1/bash.1.bz2) $ equery belongs /bin/bash [ Searching for file(s) /bin/bash in *... ] app-shells/bash-3.2_p17 (/bin/bash) -- Regards. David Harel, == Home office +972 77 7657645 Fax:+972 77 7657645 Cellular: +972 54 4534502 Snail Mail: Amuka D.N Merom Hagalil 13802 Israel Email: [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] man bash document doesn't match real life bash.
On Wed, 19 Sep 2007 17:03:16 +0200, David Harel wrote: I was surprised to find that in man bash the reference to initialization files is wrong. The bash manual says it reads initialization files from /etc/profile: FILES /bin/bash The bash executable /etc/profile The systemwide initialization file, executed for login shells Where real life uses /etc/bash/bashrc This part is taken from strace dump: strace bash -i open(/etc/bash/bashrc, O_RDONLY|O_LARGEFILE) = 3 It reads both, this is from /etc/profile if [ -n ${BASH_VERSION} ] ; then # Newer bash ebuilds include /etc/bash/bashrc which will setup PS1 # including color. We leave out color here because not all # terminals support it. if [ -f /etc/bash/bashrc ] ; then # Bash login shells run only /etc/profile # Bash non-login shells run only /etc/bash/bashrc # Since we want to run /etc/bash/bashrc regardless, we source it # from here. It is unfortunate that there is no way to do # this *after* the user's .bash_profile runs (without putting # it in the user's dot-files), but it shouldn't make any # difference. . /etc/bash/bashrc -- Neil Bothwick Come on! It's a whole new life out there! Oh, no. Not another one! signature.asc Description: PGP signature
Re: [gentoo-user] man bash document doesn't match real life bash.
On Wednesday 19 September 2007, Neil Bothwick wrote: On Wed, 19 Sep 2007 17:03:16 +0200, David Harel wrote: Where real life uses /etc/bash/bashrc This part is taken from strace dump: strace bash -i open(/etc/bash/bashrc, O_RDONLY|O_LARGEFILE) = 3 It reads both, this is from /etc/profile if [ -n ${BASH_VERSION} ] ; then # Newer bash ebuilds include /etc/bash/bashrc which will setup PS1 # including color. We leave out color here because not all # terminals support it. if [ -f /etc/bash/bashrc ] ; then # Bash login shells run only /etc/profile # Bash non-login shells run only /etc/bash/bashrc # Since we want to run /etc/bash/bashrc regardless, we source it # from here. It is unfortunate that there is no way to do # this *after* the user's .bash_profile runs (without putting # it in the user's dot-files), but it shouldn't make any # difference. . /etc/bash/bashrc It reads both, but the Bash non-login shells run only /etc/bash/bashrc behavior is not documented in man bash. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] man bash document doesn't match real life bash.
On Wed, 2007-09-19 at 17:03 +0200, David Harel wrote: I was surprised to find that in man bash the reference to initialization files is wrong. The bash manual says it reads initialization files from /etc/profile: FILES /bin/bash The bash executable /etc/profile The systemwide initialization file, executed for login shells Most bash installations have /etc/profile source /etc/bashrc. This is not uncommon. You'll probably likely see the default ~/.bash_profile source ~/.bashrc. But it is sourcing /etc/profile else you wouldn't be getting half the environment variables that you're getting. -a -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] xine - no sound on DVDs - solved (sort of)
I had the same problem and resolved installing k3b. I think this error occurs because missing plugins. Try to emerge k3b but check flags before. 2007/9/18, Mark Knecht [EMAIL PROTECTED]: Hi, Message is to Randy and others that have been helping me with my audio problems with xine. This evening I discovered the root cause of the problem of no sound when playing DVDs in xine. Unfortunately I don't have a good solution yet. Maybe someone knows how to fix this at the command line? OK, xine does produce sound, but this machine has multiple sound cards and it's choosing the one that goes to the home theater system, not the PC's sound card: [EMAIL PROTECTED] ~ $ cat /proc/asound/cards 0 [ICH5 ]: ICH4 - Intel ICH5 Intel ICH5 with ALC655 at 0xfa081000, irq 21 1 [default]: USB-Audio - USB Audio CODEC Burr-Brown from TI USB Audio CODEC at usb-:00:1d.1-1, full s [EMAIL PROTECTED] ~ $ When I thought of this possibility I turned on the HT receiver, switched to the correct input and low and behold DVD audio was playing. Didn't test to see if it's 5.1. The HT receiver is hooked to the USB device which seems to be marked as 'default'. However hardware setup hasn't changed and earlier versions of xine went to the internal card so something has changed. I don't see anything in /etc/modules.d/alsa that defines the second card as default. Does anyone know how Alsa does that? It's possible that Alsa getting too cleaver by half and somehow 'deciding' that the USB interface is more suited to doing 5.1 than the internal card. If it is then shame on it I say. ;-) Two potential solutions come to mind: 1) At the xine command line tell it which card to use. I'm looking through the xine --help listing but heck if I see how to do that. 2) Somehow tell also to make card 0 default and see if that fixes the problem. Anyway, so the problem is partially solved. I can go the xine-users list and see if anyone there has a quick fix for this. At least it's starting to make some sense. Thanks in advance for any ideas. Cheers, Mark # Alsa 0.9.X kernel modules' configuration file. # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa- modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Exp $ # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore ## ## IMPORTANT: ## You need to customise this section for your specific sound card(s) ## and then run `update-modules' command. ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. ## ## ALSA portion alias snd-card-0 snd-intel8x0 options snd-intel8x0 index=0 alias snd-card-1 snd-usb-audio options snd-usb-audio index=1 ## OSS/Free portion alias sound-slot-0 snd-card-0 alias sound-slot-1 snd-card-1 ## # OSS/Free portion - card #1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss ## OSS/Free portion - card #2 alias sound-service-1-0 snd-mixer-oss alias sound-service-1-3 snd-pcm-oss alias sound-service-1-12 snd-pcm-oss alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # Set this to the correct number of cards. options snd cards_limit=2 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] xine - no sound on DVDs - solved (sort of)
On Wednesday 19 September 2007, Danilo Marcelo wrote: [snip] 2007/9/18, Mark Knecht [EMAIL PROTECTED]: OK, xine does produce sound, but this machine has multiple sound cards and it's choosing the one that goes to the home theater system, not the PC's sound card: Have you played around with alsaconf and alsactl? Also, you should make sure that there is no old asound.conf or ~/.asoundrc left in your system. If two cards are registered I would expect that xine will give you an option to choose between the two. BTW, you may also want to set your sound card in /etc/make.conf. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] emerge cblas-reference dies
emerge wants to upgrade clbas-reference from 20030223-r3 to 20030223-r4, but emerging the newer version dies. How does one go about troubleshooting things like this? It sure would be nice of build log files were plain text. --build log-- [...] checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for BLAS... configure: error: Package requirements (blas) were not met: No package 'blas' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables BLAS_CFLAGS and BLAS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /home/tmp/portage/sci-libs/cblas-reference-20030223-r4/work/CBLAS/config.log * * ERROR: sci-libs/cblas-reference-20030223-r4 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * cblas-reference-20030223-r4.ebuild, line 35: Called econf '--libdir=/usr/lib/blas/reference' * ebuild.sh, line 591: Called die * * econf failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/home/tmp/portage/sci-libs/cblas-reference-20030223-r4/temp/build.log'. * -- Grant Edwards grante Yow! Jesus is my POSTMASTER at GENERAL ... visi.com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How to know current state of LCD
Can anyone help me? 3x On 9/14/07, kou yu [EMAIL PROTECTED] wrote: I haven't merge X yet:( On 9/13/07, Randy Barlow [EMAIL PROTECTED] wrote: kou yu wrote: I can turn on/off LCD by using vbetool vbetool dpms on/off But I can not find a way to know the current state of LCD. on? or off? Is there any method, command or something else to indicate the state of LCD? Use xset q - if you grep through there you will see a line that says something similar to Monitor is on. I am assuming you are using X here... -- Randy Barlow http://electronsweatshop.com -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
[gentoo-user] Hacked by association?
Last night my host sent out a message that their database had been compromised. I contacted them this morning and it turns out that all of their trouble tickets were exposed. I checked my records and (stupidly) I had included my root password in an email to them about a year ago. I (stupidly) hadn't changed the password since. I've changed it now and rebooted the system, but what do you think? Do I need to start this thing over? - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Hacked by association?
On Wed, 19 Sep 2007 11:09:30 -0700 Grant [EMAIL PROTECTED] wrote: Last night my host sent out a message that their database had been compromised. I contacted them this morning and it turns out that all of their trouble tickets were exposed. I checked my records and (stupidly) I had included my root password in an email to them about a year ago. I (stupidly) hadn't changed the password since. I've changed it now and rebooted the system, but what do you think? Do I need to start this thing over? - Grant I think you should take a look at the programs that are running, and netstat -l, and see if anything is fishy. -- [EMAIL PROTECTED] mailing list
[gentoo-user] PAE limitations
Hi guys, I've recompiled kernel 2.6 with PAE support. Can anybody tell me, how much RAM can single process use now - 4G or 1G for kernel and 3G for process? I've found this article http://kerneltrap.org/node/2450 but it didn't give me answer. Thanks for help. -- Sergey -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Hacked by association?
Last night my host sent out a message that their database had been compromised. I contacted them this morning and it turns out that all of their trouble tickets were exposed. I checked my records and (stupidly) I had included my root password in an email to them about a year ago. I (stupidly) hadn't changed the password since. I've changed it now and rebooted the system, but what do you think? Do I need to start this thing over? - Grant I think you should take a look at the programs that are running, and netstat -l, and see if anything is fishy. I recognize everything in 'ps -ef' I think, but I've never really used netstat before. Under Active Internet connections I don't recognize: tcp localhost:10030 tcp *:snpp I don't recognize most of the paths under UNIX domain sockets. Anything particular I should look for? - Grant -- [EMAIL PROTECTED] mailing list
[gentoo-user] Strange mplayer symbols on a terminal
I think I asked about this before, but I still have not found an answer. When I launch mplayer from aterm I get this type of symbols on my terminal: === $ mplayer MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team CPU: Intel(R) Pentium(R) III Mobile CPU 1066MHz (Family: 6, Model: 11, Stepping: 1) MMX2 supported but disabled CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0 ÎεÏάÏÏαÏη με αÏÏÏμαÏη αναγνÏÏιÏη εÏεξεÏγαÏÏή - ÏÏοÏοÏή, δεν είναι βÎλÏιÏÏο! Îια καλÏÏεÏÎµÏ ÎµÏιΠ´ÏÏειÏ, μεÏαÏÏάÏÏε Ïο mplayer αÏÏ Ïον Ïηγαίο κÏδικα με --disable-runtime-cpudetection Usage: mplayer [εÏιλογÎÏ] [url|διαδÏομή/]Ïνομα_αÏÏÎµÎ¯Î¿Ï ÎαÏικÎÏ ÎµÏιλογÎÏ: (ÎναÏÏÎξÏε ÏÏη Ïελίδα εγÏειÏιΠ´Î¯Î¿Ï για ολοκληÏÏμÎνη λίÏÏα με εÏιλογÎÏ) === As a matter of fact, they are slightly different - i.e. there are rectangular little squares between the Is on the aterm and all Is look like this Ï. Anyway, the same happens with konsole and plain xterms - although the xterm show it exactly as attached here. Any idea what is causing this? BTW, these are my use flags: # emerge -pDv mplayer These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-video/mplayer-1.0_rc1_p20070824 USE=X a52 aac aalib alsa cdparanoia cpudetection dts dvd encode gif iconv jpeg live mad mmx mp3 opengl oss png quicktime real sdl speex sse svga theora truetype unicode vidix vorbis win32codecs x264 xv xvid xvmc -3dnow -3dnowext (-altivec) -amrnb -amrwb -arts -bidi -bindist -bl -cddb -cdio -custom-cflags -dga -directfb -doc -dv -dvb -enca -esd -fbcon -ftp -ggi -gtk -ipv6 -ivtv -jack -joystick -libcaca -lirc -livecd -lzo -md5sum -mmxext -mp2 -musepack -nas -openal -pnm -pvr -radio -rar -rtc -samba -srt -sse2 -ssse3 -teletext -tga -tivo -v4l -v4l2 -xanim -xinerama -zoran VIDEO_CARDS=-i810 -mga -nvidia -s3virge -tdfx -vesa 0 kB Do I perhaps need +enca? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Hacked by association?
On 9/19/07, Grant [EMAIL PROTECTED] wrote: Last night my host sent out a message that their database had been compromised. I contacted them this morning and it turns out that all of their trouble tickets were exposed. I checked my records and (stupidly) I had included my root password in an email to them about a year ago. I (stupidly) hadn't changed the password since. I've changed it now and rebooted the system, but what do you think? Do I need to start this thing over? - Grant I think you should take a look at the programs that are running, and netstat -l, and see if anything is fishy. I recognize everything in 'ps -ef' I think, but I've never really used netstat before. Under Active Internet connections I don't recognize: tcp localhost:10030 tcp *:snpp I don't recognize most of the paths under UNIX domain sockets. Anything particular I should look for? Try using the -p option to netstat to get the PID of those two connections, see if its anything suspicious -- Ryan W Sims -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Hacked by association?
On Wed, 19 Sep 2007 11:09:30 -0700, Grant wrote: Last night my host sent out a message that their database had been compromised. I contacted them this morning and it turns out that all of their trouble tickets were exposed. I checked my records and (stupidly) I had included my root password in an email to them about a year ago. I (stupidly) hadn't changed the password since. I've changed it now and rebooted the system, but what do you think? Do I need to start this thing over? equery check sys-process/procps equery check sys-apps/coreutils Make sure that none of the executable files have changed. Also, emerge and run app-forensics/rkhunter -- Neil Bothwick Top Oxymorons Number 37: Sanitary landfill signature.asc Description: PGP signature
Re: [gentoo-user] xine - no sound on DVDs - solved (sort of)
On 9/19/07, Danilo Marcelo [EMAIL PROTECTED] wrote: I had the same problem and resolved installing k3b. I think this error occurs because missing plugins. Try to emerge k3b but check flags before. 2007/9/18, Mark Knecht [EMAIL PROTECTED]: Hi, Message is to Randy and others that have been helping me with my audio problems with xine. This evening I discovered the root cause of the problem of no sound when playing DVDs in xine. Unfortunately I don't have a good solution yet. Maybe someone knows how to fix this at the command line? OK, xine does produce sound, but this machine has multiple sound cards and it's choosing the one that goes to the home theater system, not the PC's sound card: SNIP Hi, OK, I could try that. Seems very hit and miss though and since I don't know what flags you think might be involved I'll past here before I do it. The current version installed is stable. The flags currently being used are shown here: dragonfly ~ # emerge -pv k3b These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-cdr/k3b-0.12.17 USE=alsa dvdr encode flac hal kde mp3 sndfile vorbis -arts -css -debug -ffmpeg -musepack -musicbrainz -vcd -xinerama LINGUAS=-af -bg -bn -br -bs -ca -cs -cy -da -de -el -en_GB -es -et -eu -fi -fr -ga -he -hi -hu -is -it -ja -km -lt -mk -ms -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -ru -se -sl -sr [EMAIL PROTECTED] -sv -ta -tr -uk -zh_CN -zh_TW 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB dragonfly ~ # I could update to ~x86. If I did this is what would be done: dragonfly ~ # emerge -pv k3b These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] app-cdr/k3b-1.0.3 [0.12.17] USE=alsa dvdr dvdread%* encode flac hal kde mp3 sndfile vorbis -arts -css -debug -emovix% -ffmpeg -musepack -musicbrainz -vcd -xinerama LINGUAS=-af -ar% -bg -br -bs -ca -cs -cy -da -de -el -en_GB -es -et -eu -fa% -fi -fr -ga -gl% -he -hi -hu -is -it -ja -ka% -lt -mk -ms -nb -nds -nl -nn -pa -pl -pt -pt_BR -ru -rw% -se -sk% -sr [EMAIL PROTECTED] -sv -ta -tr -uk -uz% -zh_CN -zh_TW (-bn%) (-km%) (-ro%) (-sl%) 4,974 kB Total: 1 package (1 upgrade), Size of downloads: 4,974 kB dragonfly ~ # How do your flags compare? I don't mind doing this. (Heck - I'll try anything.) However the machine is clean with emerge -DuN world and revdep-rebuild says there's nothing to rebuild so emerging k3b only rebuilds k3b and not anything that I expect xine to be using. Drop me a note with your flags if you get a chance. Thanks, Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Hacked by association?
On Wednesday 19 September 2007, Grant wrote: I recognize everything in 'ps -ef' I think, but I've never really used netstat before. Under Active Internet connections I don't recognize: tcp localhost:10030 tcp *:snpp Hmm, are you running postfix on this server (just a suspicion). Also, snpp is for pagers: http://en.wikipedia.org/wiki/Simple_Network_Paging_Protocol Run # netstat -anop which will show you the process owner. Hopefully, if there is something running it will show up (clever scripts can mask themselves from netstat, ps auxf, etc.). Then run lsof (check man lsof) to see if there is anything suspicious there, like another user logged in either as root or with a different name. Finally, ask your ISP to boot off a LiveCD and scan the machine with rkhunter and chrootkit. Depending on how many thousands of tickets the database had the crackers may or may have not found out about your root passwd. On the other hand, if you can't sleep at nights it is better to format and reinstall. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Strange mplayer symbols on a terminal
Did you try an unicode terminal with unicode font? I am using rxvt-unicode with terminus font. Clear output from mplayer should be helpful. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Hacked by association?
On 9/19/07, Neil Bothwick [EMAIL PROTECTED] wrote: On Wed, 19 Sep 2007 11:09:30 -0700, Grant wrote: Last night my host sent out a message that their database had been compromised. I contacted them this morning and it turns out that all of their trouble tickets were exposed. I checked my records and (stupidly) I had included my root password in an email to them about a year ago. I (stupidly) hadn't changed the password since. I've changed it now and rebooted the system, but what do you think? Do I need to start this thing over? equery check sys-process/procps equery check sys-apps/coreutils Make sure that none of the executable files have changed. Also, emerge and run app-forensics/rkhunter I'm not a security expert, not even near. But, if I was in a possible vulnerable position like a leaked root password, wouldn't an emerge -ef world and a posterior offline emerge -e world replace any possible binary changed by an intruder? That would minimize the risk, and allied with rkhunter and other forensic tools and password change could make you pretty sure that your environment is safe afain... Just a thought... -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] xine - no sound on DVDs - solved (sort of)
On 9/19/07, Mick [EMAIL PROTECTED] wrote: On Wednesday 19 September 2007, Danilo Marcelo wrote: [snip] 2007/9/18, Mark Knecht [EMAIL PROTECTED]: OK, xine does produce sound, but this machine has multiple sound cards and it's choosing the one that goes to the home theater system, not the PC's sound card: Have you played around with alsaconf and alsactl? Also, you should make sure that there is no old asound.conf or ~/.asoundrc left in your system. I haven't. Not totally sure how I'd change anything by doing that. Both cards work with other apps. It's just xine that hard routing the audio to the second card, at least as far as I've seen so far. gmplayer routes DVD audio to the first card correctly. If two cards are registered I would expect that xine will give you an option to choose between the two. I think it does in the preferences area. It uses the Alsa language that only Alsa developers totally get but seems to end in :0 for card 0 and :1 for card 1. However I already have it set to card 0 but audio goes to card 1... BTW, you may also want to set your sound card in /etc/make.conf. -- I didn't know Gentoo changed the way that is done. Thanks. I've added it. It did not cause any changes in what gets built though. Thanks, Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] xine - no sound on DVDs - solved (sort of)
On 17:34 Tue 18 Sep , Mark Knecht wrote: I don't see anything in /etc/modules.d/alsa that defines the second card as default. Does anyone know how Alsa does that? I think you need alsa support through modules for this but I am not sure. First card is default one. To figure out index of your sound cards do this: $ cat /proc/asound/modules 0 cx88_alsa 1 snd_via82x 2 snd_mpu401 Now write this to /etc/modprobe.d/sound: options snd_via82xx index=0 options snd_mpu401 index=1 options cx88_alsa index=2 Card with index zero will be default. Then run: # update-modules After next boot, order of your sound cards should be ok. Note: I have this problem without any HW or SW changes. I don't know what triger this. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How to know current state of LCD
kou yu schrieb: I can turn on/off LCD by using vbetool vbetool dpms on/off But I can not find a way to know the current state of LCD. on? or off? Is there any method, command or something else to indicate the state of LCD? cat /proc/acpi/video/VID/LCD/state If it's not what you need, do what I do when I search hardware infos not provided by any tool: find /proc /sys | less and cat everything that seems interesting. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Hacked by association?
On Mittwoch, 19. September 2007, Grant wrote: Do I need to start this thing over? yes. No tool can tell you for certain, that no malware is rampage on your system. netstat, ps, emerge might be hacked already. As might be md5sum and other tools to generate and compare ckecksums. There is only one way to make sure your system is clean: reinstallation -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Strange mplayer symbols on a terminal
On Wed, Sep 19, 2007 at 08:05:16PM +0100, Mick wrote: When I launch mplayer from aterm I get this type of symbols on my terminal: I get them too, and have always chalked it up to some locale problem not worth solving. I just ran it with stdout redirected to a temp file which I attach here. FWIW, they show on the term as all sorts of real characters butwith diacritical marks, plus a few line feeds and some normal chars. If I look at the file with emacs or cat it, they all show up as ordinary question marks. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 x86 ?? ?? : MMX MMX2 SSE SSE2 ?? u-flatworld/fLnCDTWB2S0.flv. libavformat . [lavf] Video stream found, -vid 0 [lavf] Audio stream found, -aid 1 VIDEO: [FLV1] 320x240 0bpp 15.000 fps0.0 kbps ( 0.0 kbyte/s) [gl] using extended formats. Use -vo gl:nomanyfmts if playback fails. == ?? ??: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video) == == ?? ??: [mp3lib] MPEG layer-2, layer-3 AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000-88200) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) == AO: [oss] 22050Hz 2ch s16le (2 bytes per sample) ?? ??... VDec: vo config - 320 x 240 (preferred csp: Planar YV12) ?? ?? - ?? -vf scale... ?? : [scale] VDec: using Planar YV12 as output csp (no 0) ?? - ?? ?? . [swscaler @ 0x87d2698]SwScaler: using unscaled yuv420p - rgb32 special converter VO: [ggi] 320x240 = 320x240 BGRA [ggi] input: 320x240x32, output: 1408x1050x32 ... (??)
Re: [gentoo-user] Strange mplayer symbols on a terminal
On Wednesday 19 September 2007, [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Strange mplayer symbols on a terminal': On Wed, Sep 19, 2007 at 08:05:16PM +0100, Mick wrote: When I launch mplayer from aterm I get this type of symbols on my terminal: I get them too, and have always chalked it up to some locale problem not worth solving. I just ran it with stdout redirected to a temp file which I attach here. The attached file looks fine to me: MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Компилиран за x86 процесори с разширения: MMX MMX2 SSE SSE2 Възпроизвеждане на u-flatworld/fLnCDTWB2S0.flv. libavformat формат. [lavf] Video stream found, -vid 0 [lavf] Audio stream found, -aid 1 VIDEO: [FLV1] 320x240 0bpp 15.000 fps0.0 kbps ( 0.0 kbyte/s) [gl] using extended formats. Use -vo gl:nomanyfmts if playback fails. == Отваряне на видео декодер: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video) == == Отваряне на аудио декодер: [mp3lib] MPEG layer-2, layer-3 AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000-88200) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) == AO: [oss] 22050Hz 2ch s16le (2 bytes per sample) Започва възпроизвеждането... VDec: заявка на vo config - 320 x 240 (preferred csp: Planar YV12) Не е открит подходящ цветови формат - повторен опит с -vf scale... Отваряне на видео филтър: [scale] VDec: using Planar YV12 as output csp (no 0) Не са дефинирани пропорции - без предварително мащабиране. [swscaler @ 0x87d2698]SwScaler: using unscaled yuv420p - rgb32 special converter VO: [ggi] 320x240 = 320x240 BGRA [ggi] input: 320x240x32, output: 1408x1050x32 Излизане от програмата... (Изход) It is in a foreign language, though. Something with a Cyrillic script that I do not read. I'm not sure how mplayer has decided you want that language. Could you post the output of: env | grep -E '^L(C_|ANG)' so I can see the environment variables that affect gettext and POSIX message catalogs? -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Strange mplayer symbols on a terminal
On 13:13 Wed 19 Sep , [EMAIL PROTECTED] wrote: On Wed, Sep 19, 2007 at 08:05:16PM +0100, Mick wrote: When I launch mplayer from aterm I get this type of symbols on my terminal: I get them too, and have always chalked it up to some locale problem not worth solving. I just ran it with stdout redirected to a temp file which I attach here. FWIW, they show on the term as all sorts of real characters butwith diacritical marks, plus a few line feeds and some normal chars. If I look at the file with emacs or cat it, they all show up as ordinary question marks. Characters of your output appears like characters from rusian alphabet (azbuka) on my terminal. It seem like regular russian words. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] xine - no sound on DVDs - solved (sort of)
On 9/19/07, Miroslav Puda [EMAIL PROTECTED] wrote: On 17:34 Tue 18 Sep , Mark Knecht wrote: I don't see anything in /etc/modules.d/alsa that defines the second card as default. Does anyone know how Alsa does that? I think you need alsa support through modules for this but I am not sure. First card is default one. To figure out index of your sound cards do this: $ cat /proc/asound/modules 0 cx88_alsa 1 snd_via82x 2 snd_mpu401 Now write this to /etc/modprobe.d/sound: options snd_via82xx index=0 options snd_mpu401 index=1 options cx88_alsa index=2 Card with index zero will be default. Then run: # update-modules After next boot, order of your sound cards should be ok. Note: I have this problem without any HW or SW changes. I don't know what triger this. Hi Miroslav, Yes, I think I already have all that set up correctly. See the following info: dragonfly ~ # cat /proc/asound/modules 0 snd_intel8x0 1 snd_usb_audio dragonfly ~ # cat /etc/modules.d/alsa | grep options options snd-intel8x0 index=0 options snd-usb-audio index=1 options snd cards_limit=2 dragonfly ~ # cat /etc/modprobe.conf | grep options options snd-intel8x0 index=0 options snd-usb-audio index=1 options snd cards_limit=2 dragonfly ~ # The Intel HDA card is default. The USB device is an external USB to Optical spdif converter that runs to the external home theater receiver. All audio applications EXCEPT xine use the internal Intel card. ONLY xine is using the external USB device. (Card 1 instead of Card 0) Keep in mind that one my Gentoo-based AMD64 machine I have two audio cards as shown here and xine is working fine. Audio goes to card 0 exactly as it should. It gets mixed into the HDSP later but I can tell that xine audio is going through the 8X0 driver as it responds to the Gnome volume control and shows p on the correct input in hdspmixer. [EMAIL PROTECTED] ~ $ cat /proc/asound/modules 0 snd_intel8x0 1 snd_hdsp [EMAIL PROTECTED] ~ $ Note that you might want to add the options snd cards_limit=3 to your config file. Thanks, Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Strange mplayer symbols on a terminal
On Wednesday 19 September 2007, Boyd Stephen Smith Jr. wrote: On Wednesday 19 September 2007, [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Strange mplayer symbols on a terminal': On Wed, Sep 19, 2007 at 08:05:16PM +0100, Mick wrote: When I launch mplayer from aterm I get this type of symbols on my terminal: I get them too, and have always chalked it up to some locale problem not worth solving. I just ran it with stdout redirected to a temp file which I attach here. The attached file looks fine to me: MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Компилиран за x86 процесори с разширения: MMX MMX2 SSE SSE2 Възпроизвеждане на u-flatworld/fLnCDTWB2S0.flv. libavformat формат. [lavf] Video stream found, -vid 0 [lavf] Audio stream found, -aid 1 VIDEO: [FLV1] 320x240 0bpp 15.000 fps0.0 kbps ( 0.0 kbyte/s) [gl] using extended formats. Use -vo gl:nomanyfmts if playback fails. == Отваряне на видео декодер: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video) == == Отваряне на аудио декодер: [mp3lib] MPEG layer-2, layer-3 AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000-88200) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) == AO: [oss] 22050Hz 2ch s16le (2 bytes per sample) Започва възпроизвеждането... VDec: заявка на vo config - 320 x 240 (preferred csp: Planar YV12) Не е открит подходящ цветови формат - повторен опит с -vf scale... Отваряне на видео филтър: [scale] VDec: using Planar YV12 as output csp (no 0) Не са дефинирани пропорции - без предварително мащабиране. [swscaler @ 0x87d2698]SwScaler: using unscaled yuv420p - rgb32 special converter VO: [ggi] 320x240 = 320x240 BGRA [ggi] input: 320x240x32, output: 1408x1050x32 Излизане от програмата... (Изход) It is in a foreign language, though. Something with a Cyrillic script that I do not read. I'm not sure how mplayer has decided you want that language. Could you post the output of: env | grep -E '^L(C_|ANG)' so I can see the environment variables that affect gettext and POSIX message catalogs? I assume that you refer to felix's attachment, rather than my terminal output. $ env | grep -E '^L(C_|ANG)' $ It produces no output . . . -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Bad 3Dness from my Intel 855GM!
I have this card: [EMAIL PROTECTED] ~ $ /usr/sbin/lspci | grep Graphics 00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) 00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) The problem is that it renders 3D scenes incorrectly, frequently putting objects that should be in the background in the foreground. The only time it really happens that I've noticed is in the 3D xscreensaver (using kde's screensaver as the front end) screensavers. For example, the one that plays chess - if a pawn is closer to you and behind it is a king the king will appear to move in front of the pawn as the board rotates, when it should move behind it. Has anyone seen anything like this before? I don't know what other programs I can test it with that I might be able to get a screenshot to show you with, but if anybody knows something that might be a good test, let me know! [EMAIL PROTECTED] ~ $ cat /etc/X11/xorg.conf | grep thingsThatMightBeRelevant Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceTouchPad AlwaysCore InputDeviceKeyboard0 CoreKeyboard #OptionStandbyTime 20 #OptionSuspendTime 40 Option OffTime 20 Option AIGLX true EndSection Section ServerFlags Option NoPM EndSection Section Files RgbPath /usr/share/X11/rgb ModulePath /usr/lib/xorg/modules FontPath /usr/share/fonts/misc/ FontPath /usr/share/fonts/TTF/ FontPath /usr/share/fonts/OTF FontPath /usr/share/fonts/Type1/ FontPath /usr/share/fonts/CID/ FontPath /usr/share/fonts/100dpi/ FontPath /usr/share/fonts/75dpi/ EndSection Section Module Load glx Load extmod Load dbe Load record Load xtrap Load dri Load freetype Load type1 Load synaptics EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model Option DPMS true EndSection Section Device Identifier Card0 Driver i810 VendorName Intel Corporation BoardName 82852/855GM Integrated Graphics Device BusID PCI:0:2:0 Option DRI true Option XAANoOffscreenPixmaps true EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth 24 SubSection Display Viewport 0 0 Depth 1 EndSubSection SubSection Display Viewport 0 0 Depth 4 EndSubSection SubSection Display Viewport 0 0 Depth 8 EndSubSection SubSection Display Viewport 0 0 Depth 15 EndSubSection SubSection Display Viewport 0 0 Depth 16 EndSubSection SubSection Display Viewport 0 0 Depth 24 Modes 1024x768 EndSubSection EndSection Section DRI Group 0 Mode0666 EndSection Section Extensions Option Composite Enable EndSection -- Randy Barlow http://electronsweatshop.com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] xine - no sound on DVDs - solved (sort of)
On Wednesday 19 September 2007, Mark Knecht wrote: On 9/19/07, Mick [EMAIL PROTECTED] wrote: Have you played around with alsaconf and alsactl? Also, you should make sure that there is no old asound.conf or ~/.asoundrc left in your system. I haven't. Not totally sure how I'd change anything by doing that. Both cards work with other apps. It's just xine that hard routing the audio to the second card, at least as far as I've seen so far. gmplayer routes DVD audio to the first card correctly. Just an idea. I am not sure why your xine is behaving like this . . . If two cards are registered I would expect that xine will give you an option to choose between the two. I think it does in the preferences area. It uses the Alsa language that only Alsa developers totally get but seems to end in :0 for card 0 and :1 for card 1. However I already have it set to card 0 but audio goes to card 1... I'm flummoxed. It wouldn't be a udev rule that you have forgotten about . . . but then this would not just affect xine. BTW, you may also want to set your sound card in /etc/make.conf. I didn't know Gentoo changed the way that is done. Thanks. I've added it. It did not cause any changes in what gets built though. With regards to your flags, I'd add ffmpeg. It installs the libavcodec for enc/decoding a multitude of video and audio data types. Good luck. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Audio/mp3 problems, something not set properly
Yes, the account is a member of group audio, and no, I am not running PAM. The symptoms when trying to play an mp3... - audacious dies - mpg123 *FAILS* with the output initialize_device(): cannot set hw params audio: Success - mpg321 gives an error message, but goes on to play the mp3 properly, The error message is... ALSA snd_pcm_hw_params error: Invalid argument Yes, that's correct, mpg123 reports Success but fails. mpg321 reports an error but plays the mp3 properly. -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 Q. Mr. Ghandi, what do you think of Microsoft security? A. I think it would be a good idea. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Hacked by association?
I recognize everything in 'ps -ef' I think, but I've never really used netstat before. Under Active Internet connections I don't recognize: tcp localhost:10030 tcp *:snpp Also, snpp is for pagers: http://en.wikipedia.org/wiki/Simple_Network_Paging_Protocol With netstat -lp it looks like *:snpp is associated with apache2 and is using the same pid as *:http and *:https. I've never set up anything having to do with a pager. I've never had a pager. What can I do to investigate that further? Then run lsof (check man lsof) to see if there is anything suspicious there, like another user logged in either as root or with a different name. Any handy lsof commands? - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Hacked by association?
On Wednesday 19 September 2007 07:16:09 pm Grant wrote: I recognize everything in 'ps -ef' I think, but I've never really used netstat before. Under Active Internet connections I don't recognize: tcp localhost:10030 tcp *:snpp Also, snpp is for pagers: http://en.wikipedia.org/wiki/Simple_Network_Paging_Protocol With netstat -lp it looks like *:snpp is associated with apache2 and is using the same pid as *:http and *:https. I've never set up anything having to do with a pager. I've never had a pager. What can I do to investigate that further? Then run lsof (check man lsof) to see if there is anything suspicious there, like another user logged in either as root or with a different name. Any handy lsof commands? Not sure about lsof... but something I did was to boot from a rescue disk, mounting the suspected partition and piped the outout from tree to a text file... A glance through the text file showed a lot of stuff from alien sources, explainging where some storage space had disappeared. The fix in that situation was a simple reformat and better inchains rules. Yeah, ipchains... this was a few years back. Good luck Grant. -- From the Desk of: Jerome D. McBride -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Strange mplayer symbols on a terminal
On Wednesday 19 September 2007, Mick [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Strange mplayer symbols on a terminal': On Wednesday 19 September 2007, Boyd Stephen Smith Jr. wrote: On Wednesday 19 September 2007, [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Strange mplayer symbols on a terminal': On Wed, Sep 19, 2007 at 08:05:16PM +0100, Mick wrote: When I launch mplayer from aterm I get this type of symbols on my terminal: I get them too. I just ran it with stdout redirected to a temp file which I attach here. The attached file looks fine to me. It is in a foreign language, though. I'm not sure how mplayer has decided you want that language. Could you post the output of: env | grep -E '^L(C_|ANG)' I assume that you refer to felix's attachment, rather than my terminal output. Yes. $ env | grep -E '^L(C_|ANG)' $ Hrm, in that case applications are supposed to fall back to the C locale, IIRC. However, it's possible that mplayer is trying to guess your language and getting it wrong. Try doing: LANG=en_US; export LANG before your mplayer command and see if that helps. -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Hacked by association?
Last night my host sent out a message that their database had been compromised. I contacted them this morning and it turns out that all of their trouble tickets were exposed. I checked my records and (stupidly) I had included my root password in an email to them about a year ago. I (stupidly) hadn't changed the password since. I've changed it now and rebooted the system, but what do you think? Do I need to start this thing over? equery check sys-process/procps equery check sys-apps/coreutils These check out. Make sure that none of the executable files have changed. Also, emerge and run app-forensics/rkhunter chkrootkit reports no problems whatsoever which is actually kind of weird as I remember some things being reported last time I ran it, but I looked into them then and they weren't a problem. rkhunter reports no problems but it says it couldn't determine the OS so MD5 checks were skipped. - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Hacked by association?
I recognize everything in 'ps -ef' I think, but I've never really used netstat before. Under Active Internet connections I don't recognize: tcp localhost:10030 tcp *:snpp Also, snpp is for pagers: http://en.wikipedia.org/wiki/Simple_Network_Paging_Protocol With netstat -lp it looks like *:snpp is associated with apache2 and is using the same pid as *:http and *:https. I've never set up anything having to do with a pager. I've never had a pager. What can I do to investigate that further? This snpp pager thing is the weirdest thing I've found. It sounds like the kind of thing I would know if I set up. Someone has some kind of pager alert installed on my system? - Grant -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] apache2 2.2.x fails to start due to mod_dav_svn.so
Seriously? Not a single other person has this issue but me? Just because my web server has been down for an entire day due to this, I decided, OK, I'll just remove the DAV / SVN stuff and at least get the sites up. I changed the line in conf.d/apache2 to: APACHE2_OPTS=-D PHP5 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST -D SUEXEC -D AUTH_MYSQL Then took out all the *-trac.conf files from /etc/apache2/vhosts.d I had to recompile PHP and mod_auth_mysql as well b/c I got some other errors. Now I get the oh-so-helpful (not): # /etc/init.d/apache2 start * Starting apache2 ... [ !! ] Awesome. # tail -f error_log (2)No such file or directory: apache2: could not open error log file /usr/lib/apache2/logs/bimagery-error_log. Unable to open logs Oh, so I look, and look at that, no directory or link, and apache2-extramodules is a broken link to God knows where that went! # ll /usr/lib/apache2/ total 84 drwxr-xr-x 4 root root 4096 Sep 19 18:37 . drwxr-xr-x 105 root root 69632 Sep 11 22:49 .. drwxr-xr-x 2 root root 4096 Sep 7 12:43 build lrwxrwxrwx 1 root root29 Sep 12 2005 extramodules - /usr/lib/apache2-extramodules drwxr-xr-x 2 root root 4096 Sep 7 12:43 modules apache2 # ln -vs /var/log/apache2 logs So now apache2 at least starts. __Still no Trac/SVN__. WHAT THE ($#*@# IS GOING ON! WHY is Apache 2.4 forced upon me as 'stable' when it doesn't work and breaks all these modules!? -Original Message- From: Daevid Vincent [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 19, 2007 1:35 AM To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] apache2 2.2.x fails to start due to mod_dav_svn.so Apache was working fine in 2.0.58, then an emerge world forced an update of apache2 to 2.2.4, now after a reboot, apache won't start! What's the point of running a 'stable' Gentoo system if it just keeps breaking things??! *sigh* It fails on 2.2.4 so I tried 2.2.6 (as it's marked stable too, and emerge world wants to do it anyways) and it still fails. [I] www-servers/apache Available versions: (2) 2.0.58-r2 2.0.59-r5 ~2.0.61 2.2.4-r12 2.2.6 {apache2 debug doc ldap mpm-event mpm-itk mpm-leader mpm-peruser mpm-prefork mpm-threadpool mpm-worker no-suexec selinux ssl static-modules threads} Installed versions: 2.2.6(2)(00:45:36 09/19/07)(-debug -doc ldap -mpm-event -mpm-itk -mpm-peruser -mpm-prefork -mpm-worker -no-suexec -selinux ssl -static-modules -threads) Homepage:http://httpd.apache.org/ Description: The Apache Web Server. # /etc/init.d/apache2 start * Apache2 has detected a syntax error in your configuration files: apache2: Syntax error on line 176 of /etc/apache2/httpd.conf: Syntax error on line 3 of /etc/apache2/modules.d/47_mod_dav_svn.conf: API module structure 'dav_svn_module' in file /usr/lib/apache2/modules/mod_dav_svn.so is garbled - expected signature 41503232 but saw 41503230 - perhaps this is not an Apache module DSO, or was compiled for a different Apache version? Line 3 says: IfModule !mod_dav_svn.c LoadModule dav_svn_module modules/mod_dav_svn.so /IfModule I have the stupid modules and they're all dated tonight (as in just built)! # ll /usr/lib/apache2/modules/mod_dav* -rwxr-xr-x 1 root root 86792 Sep 19 00:45 /usr/lib/apache2/modules/mod_dav.so -rwxr-xr-x 1 root root 41528 Sep 19 00:45 /usr/lib/apache2/modules/mod_dav_fs.so -rwxr-xr-x 1 root root 13760 Sep 19 00:45 /usr/lib/apache2/modules/mod_dav_lock.so -rwxr-xr-x 1 root root 115552 Aug 19 18:39 /usr/lib/apache2/modules/mod_dav_svn.so My /etc/conf.d/apache2 has: APACHE2_OPTS=-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST -D SUEXEC -D SVN -D SVN_AUTHZ -D DAV -D DAV_FS This is what I originally followed to get SVN/Trac working: http://www.rockfloat.com/howto/gentoo-subversion.html#add_supp ort_to_apa che -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Hacked by association?
On Wed, 19 Sep 2007 18:47:37 -0700 Grant [EMAIL PROTECTED] wrote: I recognize everything in 'ps -ef' I think, but I've never really used netstat before. Under Active Internet connections I don't recognize: tcp localhost:10030 tcp *:snpp Also, snpp is for pagers: http://en.wikipedia.org/wiki/Simple_Network_Paging_Protocol With netstat -lp it looks like *:snpp is associated with apache2 and is using the same pid as *:http and *:https. I've never set up anything having to do with a pager. I've never had a pager. What can I do to investigate that further? This snpp pager thing is the weirdest thing I've found. It sounds like the kind of thing I would know if I set up. Someone has some kind of pager alert installed on my system? - Grant http://www.qpage.org/rfc1861.html Network Working Group Request for Comments: 1861 October 1995 ... ...1. Introduction With all due apologies to the Glenayre engineers (who take offense at the term nerd) beepers are as much a part of computer nerdom as X- terminals--perhaps, unfortunately, more. The intent of Simple Network Paging Protocol is to provide a standard whereby pages can be delivered to individual paging terminals... I thought that was amusing. Now I think the question is, if apache is really serving that, isn't something going to show up in the logs maybe? and BTw, have you done an external portmap? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Strange mplayer symbols on a terminal
On (19/09/07 22:45) Miroslav Puda wrote: On 13:13 Wed 19 Sep , [EMAIL PROTECTED] wrote: On Wed, Sep 19, 2007 at 08:05:16PM +0100, Mick wrote: When I launch mplayer from aterm I get this type of symbols on my terminal: I get them too, and have always chalked it up to some locale problem not worth solving. I just ran it with stdout redirected to a temp file which I attach here. FWIW, they show on the term as all sorts of real characters butwith diacritical marks, plus a few line feeds and some normal chars. If I look at the file with emacs or cat it, they all show up as ordinary question marks. Characters of your output appears like characters from rusian alphabet (azbuka) on my terminal. It seem like regular russian words. -- [EMAIL PROTECTED] mailing list Hi, These are bulgarian cyrillic symbols, can read them (messages,info etc.) Check the LANG var in make.conf, LINGUAS too. Please post the output of: 'locale -a' as a user plus 'env | grep LANG'. HTH. Rumen -- [EMAIL PROTECTED] mailing list