Re: [gentoo-user] DirectFB
Ow Mun Heng wrote: * dev-libs/DirectFB-extra Description: Extra image/video/font providers and graphics/input drivers for DirectFB * dev-libs/DirectFB Description: Thin library on top of the Linux framebuffer devices * x11-base/xdirectfb Description: XDirectFB is a rootless XServer on top of DirectFB Which of the above will do that? It would be cool to be able to shut off Xorg, switch to VT1-5 and use mplayer. dev-libs/DirectFB is the only library you need for console DVD playback, then set the directfb USE flag and emerge mplayer again. Invoke mplayer with 'mplayer -vo directfb dvd://1' from the console. P133 w/128MB ram. I don't think that's a powerful enough CPU to decode a DVD on the fly, so you might want to purchase an MPEG-2 hardware accellerator. Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Adding output of 'uptime' to python sig
On Sunday 15 February 2004 11:13 am, Trey Sizemore wrote: I have a python script that I use currently in my sig and wanted to add a line to show the output of the 'uptime' command. Would someone be able to tell me how to do this? Such as add it as a line under the current sig? Here's the script I'm using: Change your import line to read: import string, random, os add this to read your uptime: uptime=string.strip(os.popen(/usr/bin/uptime).readline()) add this to wherever you want it printed: print uptime Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Adding output of 'uptime' to python sig
On Sunday 15 February 2004 12:00 pm, Trey Sizemore wrote: Thanks, Dave. One last item if you have the patience. What would I need to add the output of 'uname -a'? Thanks again. uname=string.strip(os.popen(/bin/uname -a).readline()) print uname -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Multiple versions of gcc
On Friday 02 January 2004 10:28 am, Gerhard W.Gruber wrote: Gentoo uses the curent version of gcc with 3.2.3. Can I have 2.95 also installed on the same system and how can I do this? Yes, emerge -p /usr/portage/sys-devel/gcc/gcc-2.95.3-r8.ebuild How can I switch between them? /usr/bin/gcc-config -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Find all installed packages with -alsa?
Hmm, this is interesting, but ultimately not very useful. Here's the output: -- # cd /var/db/pkg # for i in $(grep -l 'alsa' */*/IUSE | cut -d '/' -f 1-2); do grep \-alsa ${i}/USE; done x86 avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod motif mpeg ncurses nls pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline bonobo guile tcpd pam ssl perl python esd imlib oggvorbis opengl mozilla acpi -alsa -apm -arts cdr doc gnome -gpm gtk gtk2 hbci java -kde mmx mozcalendar mozxmlterm ofx oss pnp -qt slp sse tcltk tiff X xml x86 arts avi crypt cups encode foomaticdb gif gpm imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline tcpd pam ssl perl python opengl acpi -alsa -apm doc gnome gtk gtk2 java -kde mmx oss pnp -qt sse tcltk X # -- It spits out the flags, but not the packages they came from. egrep -r -alsa /var/db/pkg/*/*/USE | cut -d: -f1 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EPIA CFLAGS
On Tuesday 09 December 2003 10:19 pm, Rex Young wrote: Lets compare notes. What gcc version are you using? Do you use the kernel i2c modules, or the ebuild (if so, which version)? Would you mind posting the ivtv section of your /etc/modules.conf? gcc version: I think it updated to 3.2.3-r3 a few days ago. I know there was a problem with 3.2.1 and ivtv, but 3.2.2 has been blessed by the devs. I'm also running 3.2.3 and was starting to wonder if this wasn't part of the problem. i2c: kernel; I had no idea there was an ebuild i2c 2.8.0+ needs you to make a small modification to the Makefile. Do you have any i2c errors in your logs when you access /dev/video0? modules.conf: I haven't touched it. For now I use a script I wrote to load the modules. I just thought it would be easier to edit that to adapt to changes until I think the box is ready for every-day use. When I do work on it, I would be happy to share it. The Gentoo-ish way of handling the ivtv options would be to create /etc/modules.d/ivtv, drop your configs in there, then run modules-update. Here's what I'm using: # WinTV PVR 350 alias char-major-81 videodev alias char-major-81-0 ivtv alias /dev/v4l ivtv options ivtv debug=1 options tuner type=21 options msp3400 once=1 simple=1 options saa7115 add below ivtv msp3400 saa7115 saa7127 tuner post-install ivtv /usr/local/bin/test_ioctl -d /dev/video0 -u 0x3000 -p4 post-install ivtv /usr/local/bin/test_ioctl -d /dev/video16 -u 0x3000 post-install ivtv /usr/local/bin/test_ioctl -d /dev/video32 -u 0x3000 Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EPIA CFLAGS
On Tuesday 09 December 2003 11:58 am, Jayson Garrell wrote: What are the best CFLAG opts for this mobo? Is there a C3 option or do I need go with i586 or i686. I don't need any help installing Gentoo or mythtv, I just wanted to make this setup as fast as it can be. http://www.viaarena.com/?PageID=368#Introduction and http://blade5.bvu.edu/wiki/tiki-index.php?page=EpiaHowto will be your best resources. What kind of TV card are you going to use? Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EPIA CFLAGS
On Tuesday 09 December 2003 04:54 pm, Jayson Garrell wrote: On Tue, 2003-12-09 at 13:32, David Mallwitz wrote: On Tuesday 09 December 2003 11:58 am, Jayson Garrell wrote: What are the best CFLAG opts for this mobo? Is there a C3 option or do I need go with i586 or i686. I don't need any help installing Gentoo or mythtv, I just wanted to make this setup as fast as it can be. http://www.viaarena.com/?PageID=368#Introduction and http://blade5.bvu.edu/wiki/tiki-index.php?page=EpiaHowto will be your best resources. What kind of TV card are you going to use? Hauppauge pvr250 I'm working on the same thing with a pvr350. Lemme know how it goes. Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] EPIA CFLAGS
On Tuesday 09 December 2003 08:09 pm, Rex Young wrote: pretty well without via's binary drivers. I forced some things to load and recompiled mythtv to take advantage of the mpeg2 decoder and it worked out quite nicely. for playback. Then, I couldn't recompile the ivtv modules. Yeah, that's my major headache - ivtv being fussy. /dev/video0 works, but every app fails to read from it with ioctl errors. Plus the usual i2c errors. Right now I'm holding on until the latest reverse-engineered decoder stuff is included in the -epia kernel (www.ivor.it/cle266) that a fine chap has put together. Absolutely, God bless Ivor. We should get him a Christmas present. Ivor uber alles! The ivy tv page at http://ivtv.sourceforge.net can tell you how to set up the lirc drivers for the pvr250/350. I set that up some time ago, so don't now remember details. Lets compare notes. What gcc version are you using? Do you use the kernel i2c modules, or the ebuild (if so, which version)? Would you mind posting the ivtv section of your /etc/modules.conf? For a WM, I decided that something a little nicer than twm was in order, so I used waimea. Lots of people have had good luck with any of the *box WMs. The latest DirectFB includes support for the CLE266 video, so I've been bypassing X and running directly from the framebuffer. Works great. Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Way OT: Doesn't IP need TCP or UDP for transport?
On Friday 05 December 2003 12:12 am, Joshua Banks wrote: I'll do some more research on IP to get a better understanding. You might want to get a copy of the late, great W. Richard Steven's TCP/IP Illustrated, Vol. 1 (ISBN 0-201-63346-9) to help your research. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Dual-Opteron Workstations?
On Thursday 23 October 2003 04:00 am, Bryan Whitehead wrote: Does anyone know where I could purchase a off-the-shelf (as in I just order a complete system) from a major vendor? Try Penguin Computing, they advertise several dual Opteron systems and I've had a good experience with them in the past. http://www.penguincomputing.com/store/altus.php Best, Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Wireless connection.
On Tuesday 23 September 2003 02:29 pm, Prabhat Gupta wrote: Dave, I did repatch the kernel and also build the driver. I didn't do make mrproper though. The wireless connection works but I have to stop it and then start again. /etc/init.d/net.eth1 stop /etc/init.d/net.eth1 start Prabhat Sounds like the interface is being brought up when the module is loaded during boot. Try moving 'modprob islpci_cb' to /etc/conf.d/local.start instead of having the module loaded in /etc/modules.autoload/kernel-2.x. /etc/conf.d/local.start should be the last script to execute before the login prompt. Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Wireless connection.
Prabhat Gupta wrote: I am using: http://ruslug.rutgers.edu/~mcgrof/802.11g/ dirver for that PCMCIA card. There is a dependency in the /etc/init.d/net.eth1 for PCMCIA. I don't know what else to add there :( Prabhat Repatch the kernel and rebuild the driver. Every time you upgrade your kernel you will have to do this. Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Idiots guide to NAT and DHCP
On Sunday 21 September 2003 07:43 pm, Jason Stubbs wrote: I want to setup a DHCP server on my desktop machine so that I can plug my laptop into my second network port and then access the internet through my desktop using NAT. However I can't get it too work. I've followed as much of the NAT and DHCP howtos that I can but can't get it too work. Remember to set dhcpd to serve up IP's only on your private interface - i.e set IFACE=eth1 in /etc/conf.d/dhcp. Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] getting Gentoo to work with VMware...
On Tuesday 09 September 2003 06:45 pm, Alan wrote: On Tue, Sep 09, 2003 at 06:33:55PM -0500, John Crabtree wrote: I'm looking at installing Gentoo using VMware 4.0, is there a HOWTO that explains how to do this? Or can someone who has already installed Gentoo using VMware 4.0 spare some time to explain what I need to do. Thank you I haven't installed it under vmware 4.0 specifically (think it was 3.x) but it works pretty much as expected if you are familiar with vmware. Set up a new vmware session and point the CDrom to either your real CD with a gentoo live boot cd in it or point it to an ISO image, boot the vmware session, if it doesn't boot then check to make sure that it's set to boot from CD in the bios, reboot, and you should get the live CD booting up. If you're wondering more specifically about what devices to use, etc, I recall that the vmware network interface will use the pcnet32 module, and for video there is an XFree driver on the vmware site that you can stick in with the other drivers in /usr/X11R6/lib/modules/drivers. After the vmware module is in place, change the driver in the /etc/XF86Config file to be vmware restart gdm and off you go! Other than knowing those three things though, it's exactly like a gentoo install on a real system: - point cd to real CD or ISO and set to boot - vmware ethernet uses pcnet32 - vmware xfree86 has it's own module HTH, let me know if you've got any other vmware+gentoo questions. alan I just did a 4.0 install, and the only thing Alan didn't mention that might throw you is the vmware hard drive. You need scsi support in your kernel and the Buslogic device driver compiled in as well. When booting from the Gentoo 1.4 cd you'll want to specify the 'doscsi' option, and the drive is referenced as sda (ex. sda1=/boot, sda2=swap, etc). Email if you'd like my .config. Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] bttv WHERE IS IT?
Look under /usr/src/your kernel version/drivers/media/video for the source, /usr/src/your kernel version/Documentation/video4linux/bttv for the docs and /lib/modules/your kernel version/kernel/drivers/media/video for the module. Dave On Sunday 10 August 2003 05:45 pm, Meka[ni] wrote: I've seen that my friend has no problem with bttv, but I can not find it. I've compiled everything under v4l but there is no bttv module. My kernel is 2.6.0-test3. Where to find that module? Thanx __ Meka[ni] -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] etc-update and fstab...
On Sunday 03 August 2003 05:36 pm, Ian Tindale wrote: I'd like some sort of flag system which says to etc-update: I've chosen to alter this file myself before, at some point in time or I've never touched this file in my life before, in fact, I didn't know it even existed. Of course, it's not a foolproof system - it wouldn't catch files that I have indirectly altered using Webmin, for example, but it would go some way. chattr +i filename is your friend. I started doing this awhile back when etc-update decided that one of the 'trvial changes' it was going to make before asking me for input overwrote /usr/lib/sasl2/smtpd.conf on my mail server. Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Anyone using syslog-ng..?
On Wednesday 30 July 2003 08:45 pm, Stroller wrote: On 30/7/03 3:45 am, Alan [EMAIL PROTECTED] wrote: - Why isn't syslog-ng supplied with a suitable cron script to tidy my logfiles..? This would be handled by logrotate, but you still have to come up with the config files for it yourself :\ I managed to grab a bunch off my debian box... Would you have a copy you can post, please..? TIA, Stroller. Here's a basic logrotate script: compress /var/log/* { rotate 5 size=800k postrotate killall -HUP syslog-ng endscript } You will need to handle any /var/log subdirs, such as apache or mysql, individually as they will need their own postrotate functions. Also, you might want to look into syslog-ng's macro expansion function. For instance, you can do this: destination whatever { file(/var/log/whatever/$HOST/$YEAR/$MONTH/$FULLDATE.log owner (root) group(logs) perm(0640) dir_perm(0770) create_dirs(yes) }; ...to come up with a different file for every host, every day - makes it easier to compress and archive the older files. There are also ways to put your logs straight into an SQL database: destination mysql { pipe(/tmp/mysql.pipe template(INSERT INTO logs (host,facility,priority,level,tag, timestamp,program,msg) VALUES ('$HOST','$FACILITY', '$PRIORITY','$LEVEL','$TAG','$UNIXTIME','$PROGRAM', '$MSG');\n) template-escape(yes)); }; ...so that you can delete older logs with just a 'delete from' SQL query. The syslog-ng mailing list archives are here: https://lists.balabit.hu/pipermail/syslog-ng/ and more useful info can be found at: http://www.campin.net/syslog-ng/faq.html Best, Dave -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] failures
Rick, Try running dmesg |grep devfs, the output should read something like Mounted devfs on /dev. If that's not there, then you may not have your new kernel installed or booted. Dave Rick Sivernell wrote: list For 3 weeks I have been trying t build a system, on a PIII w/ a 60g HD. The system builds ok from livecd, but when started on its own I get 3 errors. 1. devfs not installed, bull shit I have set every thing on in filesystem except debugging and it is set to [*], used the setup from a running gentoo system, same mobo same drives types. tempfs installed on boot to /etc/mtab, /etc/fstab is the same except hda partition a little different. 2. I have /dev/hda1 /boot ext2 /dev/hda2 swap /dev/hda3 / reiserfs all on a 30g of space /dev/hda3 /extendedall of the rest of hd 3. no networking, even thought I have set everthing up in setup and it worked nicely. even brought over hosts, nsswitch resolve from working machine. I can get the msg from /var/log/msg file if need be, not much there. any help appreciated. Really getting tired of this, it should work without this much effort. cheers -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] configuring postfix to masquerade the address
From the Postfix config file in /etc/postfix/main.cf: # SENDING MAIL # # The myorigin parameter specifies the domain that locally-posted # mail appears to come from. The default is to append $myhostname, # which is fine for small sites. If you run a domain with multiple # machines, you should (1) change this to $mydomain and (2) set up # a domain-wide alias database that aliases each user to # [EMAIL PROTECTED] # #myorigin = $myhostname myorigin = $mydomain So, you need to set the vars mydomain and myorigin appropriately. Dave Jose Romildo Malaquias wrote: Hello. My Linux box is connected to the internet by a cable modem. I receive email through my ISP, which provides the email address [EMAIL PROTECTED] to me. My hostname is gentoo.darling.org, but it is not a valid name (not seen outside of my local network). I want the messages I sent from my box using the email address [EMAIL PROTECTED] seen as if it came from [EMAIL PROTECTED] How should postfix be configured to achieve that? Regards, Romildo -- [EMAIL PROTECTED] mailing list