Re: [gentoo-user] how to use another x server for opengl apps
Fabio wrote: I use an Nvidia card, and it will only let me use OpenGL on one single X session. Perhaps it is the same with Radeon... Check the docs. well, I use nvidia (with binary drivers of course ;) and I can use accelerated opengl on all X displays (two for sure, i think I even had 3 at a time). I used to have xcomposite enabled and some games didn't play well with it so I used to start them in second X and I used to do so even because I was able to switch away from them and back easily yoyo -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] writing rules for non-existing nodes -- was no audio
On Sun, 27 May 2007 22:35:09 -0700 (PDT), maxim wexler wrote: For a 2.6.19-r5 kernel, there is no /dev/sound and therefore no /dev/sound/audio, dsp, mixer etc. Wong way round. There is no dev/sound/{audio,mixer,etc} therefore no need for udev to create /dev/sound. Almost certain that is why I get Failed to open sound device error when trying to run mp3blaster. The modules are loaded. Alsamixer works and card is unmuted. alsasound is started. Which modules? /dev/sound is OSS not ALSA, have you enabled OSS emulation for ALSA, both in the kernel and in /etc/modules.d/alsa? -- Neil Bothwick There is no such thing as an atheist in a foxhole. signature.asc Description: PGP signature
Re: [gentoo-user] File permissions and such
On Saturday 26 May 2007, Dale wrote: Dan Cowsill wrote: Hey list, It has been a constant burden to me to have to change the file permissions of files I've copied so that other users can access them and modify them. Say I have a number of documents in the /root folder which the root user owns. Now I want to transfer them to my non-priveliged user so I can work on them... But I have to chown them so that is possible. It just occured to me that there must be an easier way to do things like this and I was wondering if you fine fellows could guide me down the right path. Thanks. If you use KDE, you can right click on the folder that contains them and change the permissions then check the box that says to make it apply to everything in the folder. chmod -R chown -R (this one only works for root) That way you can change a lot of them at once. I also noticed a while back that if I am in Konqueror as root and copy to my user desktop, it changes the permissions to my regular user. I never noticed that before. Ye gods. Why are you running KDE as root ???!!!??? Dan, There's no easy way to do this. As a user you have to assign group and/or other access to the files manually. You can't chown them (only root can do that). Another alternative is to create a dir somewhere exclusively for the purpose of sharing stuff, make it owned by root, group owned by some share group. Set gid on the directory, every new file/dir copied/moved/created there will now be owned by the share group. Make sure the relevant users are members of this group: mkdir /shared-stuff chown -R root:share /shared-stuff chmod g+s /shared-stuff To set the group write permission on all these new items, either change the users' umask (ugh!) or use an acl (slightly less ugh!) 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
Re: [gentoo-user] Trying to mount a bad disk
On Sunday 27 May 2007, Albert Hopkins wrote: On Sun, 2007-05-27 at 09:26 -0400, sean wrote: I have a Windows XP driver here that belongs to a friend that just crashed. I am trying to figure out if there is some way I can force the drive to mount on my system so that I can get some data off it for her. Not having much luck, would anyone have any tips as to how I might be able to make this happen? If the drive experienced a head crash, then there is pretty much nothing you can do. Wrong. If the drive suffered a head crash, you would be amazed what data recovery experts can do. But true enough, there might be very little that sean personally and by himself can do :-) 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
Re: [gentoo-user] File permissions and such
On Mon, 28 May 2007 13:52:34 +0200, Alan McKinnon wrote: I also noticed a while back that if I am in Konqueror as root and copy to my user desktop, it changes the permissions to my regular user. I never noticed that before. Ye gods. Why are you running KDE as root ???!!!??? He's not, otherwise the desktop would belong to root as well as the Konqueror process. -- Neil Bothwick Copper wire was invented by two Scotsmen fighting over a penny! signature.asc Description: PGP signature
Re: [gentoo-user] wifi statup backgrounds
Hello Adam, Adam Carter wrote: Hi All, When i start my wifi network (with wpa_supplicant in debug mode) it backgrounds and I cant see the rest of the debug messages. How do i stop the backgrounding? Make sure of two things: 1. At /etc/conf.d/net, you add the -d to the line wpa_supplicant_wlan0=whatever -d 2. That you start the net.wlan0 service as /etc/init.d/net.wlan0 --verbose start Optionally, you can also run tail -f /var/log/everything/current prior to starting the service, for extra output. Cheers!!! - -- Fabio A. Correa D. Physics Dept, Universidad Nacional, Bogota, Colombia [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] My webpage and OpenPGP key at http://facorread.150m.com [EMAIL PROTECTED] is not working anymore!!! -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] File permissions and such
On Monday 28 May 2007, Neil Bothwick wrote: On Mon, 28 May 2007 13:52:34 +0200, Alan McKinnon wrote: I also noticed a while back that if I am in Konqueror as root and copy to my user desktop, it changes the permissions to my regular user. I never noticed that before. Ye gods. Why are you running KDE as root ???!!!??? He's not, otherwise the desktop would belong to root as well as the Konqueror process. Ah yes, my bad. I didn't realise at first that Dale meant he started konqueror as root from a desktop running as a user 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] is it ok to set local flags using ufed?
I find it convenient using ufed - the ncurses USE flag editor - to change/set USE flags. What does the following warning in ufed mean: Never enable any flags other than those specified in /etc/make.conf? It seems that ufed writes all the USE flags selected to /etc/make.conf, including both global and local flags. From what I've read, /etc/make.conf is only supposed to contain global USE flags, with local ones set in /etc/portage/package.use... Is it safe setting local flags using ufed (i.e., in /etc/make.conf) if you know you dont need them disabled for any packages? -- [EMAIL PROTECTED] mailing list
[gentoo-user] OT dev-java/rxtx
Hello, Has anyone written or used software that uses the rxtx component to control or manipulate a pc serial port? Such as a baud rate, parity etc? I'm looking for example java code related to the serial ports on a server. James -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT dev-java/rxtx
On Monday 28 May 2007 17:51, James wrote: Hello, Has anyone written or used software that uses the rxtx component to control or manipulate a pc serial port? Such as a baud rate, parity etc? I'm looking for example java code related to the serial ports on a server. What about http://rxtx.qbang.org/wiki/index.php/Examples ? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] writing rules for non-existing nodes -- was no audio
Which modules? /dev/sound is OSS not ALSA, have you enabled OSS emulation for ALSA, both in the kernel and in /etc/modules.d/alsa? I set up the audio according to: http://gentoo-wiki.com/HOWTO_ALSA_Complete_(includes_dmix) Here's /etc/modules.d/alsa: # Alsa kernel modules' configuration file. # ALSA portion # OSS/Free portion ## ## IMPORTANT: ## You need to customise this section for your specific sound card(s) ## and then run `modules-update' command. ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. ## ## ALSA portion ## alias snd-card-0 snd-interwave ## alias snd-card-1 snd-ens1371 ## OSS/Free portion ## alias sound-slot-1 snd-card-1 ## # OSS/Free portion - card #1 ## 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. # --- BEGIN: Generated by ALSACONF, do not edit. --- # --- ALSACONF version 1.0.14rc1 --- alias snd-card-0 snd-emu10k1 alias sound-slot-0 snd-emu10k1 # --- END: Generated by ALSACONF, do not edit. --- Here's the .config(irrelevant sections deleted): # # General setup # CONFIG_LOCALVERSION= # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SWAP=y CONFIG_SYSVIPC=y # CONFIG_IPC_NS is not set # CONFIG_BSD_PROCESS_ACCT is not set # CONFIG_TASKSTATS is not set # CONFIG_UTS_NS is not set # CONFIG_AUDIT is not set CONFIG_IKCONFIG=m CONFIG_IKCONFIG_PROC=y # CONFIG_RELAY is not set CONFIG_INITRAMFS_SOURCE= CONFIG_SYSCTL=y # CONFIG_EMBEDDED is not set CONFIG_UID16=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SHMEM=y CONFIG_SLAB=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_RT_MUTEXES=y # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 # CONFIG_SLOB is not set # # Loadable module support # CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set # CONFIG_KMOD is not set # # Bus options (PCI, PCMCIA, EISA, MCA, ISA) # CONFIG_PCI=y # CONFIG_PCI_GOBIOS is not set # CONFIG_PCI_GOMMCONFIG is not set # CONFIG_PCI_GODIRECT is not set CONFIG_PCI_GOANY=y CONFIG_PCI_BIOS=y CONFIG_PCI_DIRECT=y CONFIG_PCI_MMCONFIG=y # CONFIG_PCIEPORTBUS is not set CONFIG_ISA_DMA_API=y # CONFIG_ISA is not set # CONFIG_MCA is not set # CONFIG_SCx200 is not set # # PCI Hotplug Support # # # Device Drivers # # # Generic Driver Options # CONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=y # CONFIG_FW_LOADER is not set # CONFIG_SYS_HYPERVISOR is not set # # Plug and Play support # # CONFIG_PNP is not set # # IDE chipset support/bugfixes # CONFIG_IDE_GENERIC=m # CONFIG_BLK_DEV_CMD640 is not set CONFIG_BLK_DEV_IDEPCI=y # CONFIG_IDEPCI_SHARE_IRQ is not set # CONFIG_BLK_DEV_OFFBOARD is not set # CONFIG_BLK_DEV_GENERIC is not set # CONFIG_BLK_DEV_RZ1000 is not set CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_IDEDMA_FORCED is not set CONFIG_IDEDMA_PCI_AUTO=y # CONFIG_IDEDMA_ONLYDISK is not set # CONFIG_BLK_DEV_AEC62XX is not set # CONFIG_BLK_DEV_ALI15X3 is not set # CONFIG_BLK_DEV_AMD74XX is not set # CONFIG_BLK_DEV_ATIIXP is not set # CONFIG_BLK_DEV_CMD64X is not set # CONFIG_BLK_DEV_TRIFLEX is not set # CONFIG_BLK_DEV_CY82C693 is not set # CONFIG_BLK_DEV_CS5530 is not set # CONFIG_BLK_DEV_CS5535 is not set # CONFIG_BLK_DEV_HPT34X is not set # CONFIG_BLK_DEV_HPT366 is not set # CONFIG_BLK_DEV_JMICRON is not set # CONFIG_BLK_DEV_SC1200 is not set CONFIG_BLK_DEV_PIIX=y # CONFIG_BLK_DEV_IT821X is not set # CONFIG_BLK_DEV_NS87415 is not set # CONFIG_BLK_DEV_PDC202XX_OLD is not set # CONFIG_BLK_DEV_PDC202XX_NEW is not set # CONFIG_BLK_DEV_SVWKS is not set # CONFIG_BLK_DEV_SIIMAGE is not set # CONFIG_BLK_DEV_SIS5513 is not set # CONFIG_BLK_DEV_SLC90E66 is not set # CONFIG_BLK_DEV_TRM290 is not set # CONFIG_BLK_DEV_VIA82CXXX is not set # CONFIG_IDE_ARM is not set CONFIG_BLK_DEV_IDEDMA=y # CONFIG_IDEDMA_IVB is not set CONFIG_IDEDMA_AUTO=y # CONFIG_BLK_DEV_HD is not set # # Sound # CONFIG_SOUND=m # # Advanced Linux Sound Architecture # CONFIG_SND=m CONFIG_SND_TIMER=m CONFIG_SND_PCM=m CONFIG_SND_HWDEP=m CONFIG_SND_RAWMIDI=m CONFIG_SND_SEQUENCER=m # CONFIG_SND_SEQ_DUMMY is not set CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=m # CONFIG_SND_PCM_OSS is not set # CONFIG_SND_SEQUENCER_OSS is not set CONFIG_SND_RTCTIMER=m CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y # CONFIG_SND_DYNAMIC_MINORS is not set CONFIG_SND_SUPPORT_OLD_API=y CONFIG_SND_VERBOSE_PROCFS=y # CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_DEBUG is not set # # Generic devices # CONFIG_SND_MPU401_UART=m CONFIG_SND_AC97_CODEC=m CONFIG_SND_AC97_BUS=m CONFIG_SND_DUMMY=m CONFIG_SND_VIRMIDI=m CONFIG_SND_MTPAV=m CONFIG_SND_MTS64=m CONFIG_SND_SERIAL_U16550=m CONFIG_SND_MPU401=m # # PCI devices # # CONFIG_SND_AD1889 is not set #
Re: [gentoo-user] is it ok to set local flags using ufed?
On Montag, 28. Mai 2007, Denis wrote: Is it safe setting local flags using ufed (i.e., in /etc/make.conf) if you know you dont need them disabled for any packages? yes since all packages that don't have that flag ignore it, it is safe. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: OT dev-java/rxtx
Etaoin Shrdlu shrdlu at unlimitedmail.org writes: http://rxtx.qbang.org/wiki/index.php/Examples Very cool I'll test it out. thx, James -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] is it ok to set local flags using ufed?
On Mon, May 28, 2007 at 11:45:21AM -0400, Penguin Lover Denis squawked: Is it safe setting local flags using ufed (i.e., in /etc/make.conf) if you know you dont need them disabled for any packages? Short answer: yes. It is safe. You won't break your system. (At least I haven't.) I only put stuff in package.use if the flags for a package wants to be different from system-wide defaults. W -- I don't know, said the voice on the PA, apathetic bloody planet, I've no sympathy at all. Sortir en Pantoufles: up 171 days, 15:18 -- [EMAIL PROTECTED] mailing list
[gentoo-user] vmware overlay
Hi all. I am just about to use vmware overlay, and I was wondering if anyone had any problems/issues using it. Cheers, p014r834r -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] writing rules for non-existing nodes -- was no audio
Here I go answering my own email... hehe, maybe it's mp3blaster. Following the instructions here: http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php I was able to play a wav file out my soundcard. Do I require some sort of .conf file for mp3blaster (Failed to open device)? Don't see one in ls -a /home/user. mw Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz -- [EMAIL PROTECTED] mailing list
[gentoo-user] Sending console messages on Users
Hi All, What is the way to send a console warning to anyone logged on a machine before I reboot it? If the user is logged on a console I will only need to send it to the console; in addition if the user is running webmin, or phpadmin, then I would really like a popup of sorts to alert them to log out (something like the net send command on MS Windows running with the messenger service). Is there such a thing? -- Regards, Mick pgpLkSwF332g7.pgp Description: PGP signature
Re: SOLVED - [gentoo-user] OT: dhcpcd overwrites /etc/resolv.conf after CiscoVPN is started
On Friday 18 May 2007 00:12, Sascha Hlusiak wrote: Dhcpcd has an option for that, i believe it's -R. for example, on this diskless router the dhcpcd on eth1 can't rewrite resolv.conf or the netboot will fail: FROM conf.d/net: | | config_eth1=(dhcp) | dhcpcd_eth1=(-R) However, you may need to find some way to get that information filled out with your corporate intranet info before you use the vpn. Thanks for the suggestion, I allready know about -R but I need dhcpcd to set resolv.conf before the vpnclient starts to get the correct information for the network I'm on (not always using VPN). emerge resolvconf-gentoo This should manage the resolv.conf dynamically and merge information about different nameservers for different networks. Works fine for me with the very same situation. Sorry for the late Answer - I was over in the States last week. Thanks for the tipp, It's working now. Greatings, -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! *** pgpZ36WJb5pJ2.pgp Description: PGP signature
[gentoo-user] Re: Test!
On Monday 28 May 2007 19:04:16 Tobias Heinlein wrote: Hi there! eMails rock! irc email -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Sending console messages on Users
On Mon, 2007-05-28 at 18:52 +0100, Mick wrote: Hi All, What is the way to send a console warning to anyone logged on a machine before I reboot it? shutdown(8) does this for you. In addition there is wall(1). If the user is logged on a console I will only need to send it to the console; in addition if the user is running webmin, or phpadmin, then I would really like a popup of sorts to alert them to log out (something like the net send command on MS Windows running with the messenger service). Is there such a thing? I could give a long explanation on why in practice this never works (even for wall msgs), but it's not interesting. Instead I'll give you some real-world examples of what I've seen. * Don't plan reboots during production or when production is at peak unless absolutely necessary. In the latter case most people will be expecting a reboot because they are aware of a problem that is affecting production. * For small shops, it's just as easy, and more effective, to just go door-to-door letting everyone know there's going to be a reboot. * Nearly every medium-large place I've worked had an overhead speaker system (dunno why, call me lucky) where unexpected crashes and reboots were broadcast. * For planned reboots, one site I worked sent out broadcast emails periodically before a scheduled reboot. There was a monthly schedule sent out as well as an email the week ans shortly before the reboot. This was a multi-platform, nation-wide operation and basically there was no universal way to let everyone know. Even for the single-platform shop I worked at, not everyone (that was affected) sat in front of a terminal. All relevant people or their supervisors were on the mailing list. If you didn't know, you didn't need to know. * Not even the Windows shop I worked at used net send to alert of reboots. Maybe nice idea, but it doesn't work. People are away from their computers, have the messenger service turned off, just click OK without reading the message, etc. etc. All that net send every did in my experience is generate a lot of phone calls from people who didn't understand what it was or what it meant. * The most effective way I've seen was a recent job. They simply announced on the loud speaker for everyone to log off and shut down until further notice. There was no reboot announcement, no explanation. Nothing. Even if a person wasn't affected everyone was told to log out and turn off their machines. This eliminated the phone calls from people asking does this mean me? We just had everyone off. For stragglers, VPN users, etc. They were manually disconnected. Let them figure out what happened when they get back. As for webmin and phpadmin users... well those people are administrators... shouldn't they already know? I wouldn't want a fellow admin bouncing a server without tapping me on the shoulder or giving me a call. Technology is rarely a good replacement for common sense. -- Albert W. Hopkins -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Sending console messages on Users
On Monday 28 May 2007 20:14, Albert Hopkins wrote: On Mon, 2007-05-28 at 18:52 +0100, Mick wrote: What is the way to send a console warning to anyone logged on a machine before I reboot it? shutdown(8) does this for you. In addition there is wall(1). Of course wall! I had forgotten about that. There's also talk to tap others on the shoulder. I assume all these will work if logged onto a server via ssh? If the user is logged on a console I will only need to send it to the console; in addition if the user is running webmin, or phpadmin, then I would really like a popup of sorts to alert them to log out (something like the net send command on MS Windows running with the messenger service). I could give a long explanation on why in practice this never works (even for wall msgs), but it's not interesting. Instead I'll give you some real-world examples of what I've seen. [snip...] Thank you for a very informative insight. :) -- Regards, Mick pgpq5OmbIhpuE.pgp Description: PGP signature
Re: [gentoo-user] File permissions and such
Alan McKinnon wrote: On Saturday 26 May 2007, Dale wrote: Dan Cowsill wrote: Hey list, It has been a constant burden to me to have to change the file permissions of files I've copied so that other users can access them and modify them. Say I have a number of documents in the /root folder which the root user owns. Now I want to transfer them to my non-priveliged user so I can work on them... But I have to chown them so that is possible. It just occured to me that there must be an easier way to do things like this and I was wondering if you fine fellows could guide me down the right path. Thanks. If you use KDE, you can right click on the folder that contains them and change the permissions then check the box that says to make it apply to everything in the folder. chmod -R chown -R (this one only works for root) That way you can change a lot of them at once. I also noticed a while back that if I am in Konqueror as root and copy to my user desktop, it changes the permissions to my regular user. I never noticed that before. Ye gods. Why are you running KDE as root ???!!!??? I'm not running KDE as root, I'm running Konqueror as root. Actually, mine is set up so you can't run KDE as root. We all should know that is not a good idea. Dale :-) :-) :-) -- www.myspace.com/-remove-me-dalek1967 Copy n paste then remove the -remove-me- part.
Re: [gentoo-user] is it ok to set local flags using ufed?
On Montag, 28. Mai 2007, Willie Wong wrote: On Mon, May 28, 2007 at 11:45:21AM -0400, Penguin Lover Denis squawked: Is it safe setting local flags using ufed (i.e., in /etc/make.conf) if you know you dont need them disabled for any packages? Short answer: yes. It is safe. You won't break your system. (At least I haven't.) I only put stuff in package.use if the flags for a package wants to be different from system-wide defaults. yeah, me too. Everything into make.conf, in package.use the two odd exceptions. -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] Re: Test!
-Original Message- From: dark85x [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 2:06 AM To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: Test! On Monday 28 May 2007 19:04:16 Tobias Heinlein wrote: Hi there! eMails rock! irc email -- [EMAIL PROTECTED] mailing list Perhaps an IRC bot that would send and receive emails? :P -- [EMAIL PROTECTED] mailing list
[gentoo-user] OT: An XML Question
Are there any really good XML tutorials on the web, or perhaps a book that is actually useful? Also, which libs do people preffer for dealing with XML? I am contemplating messing arround with XML for data files for a project I want to mess with. The project would involve loading objects into a dynamic list. I do not think I want to deal with the XML file in real time, as I am not sure how fast that would be, but rather load the data into memory, then save it to the XML file at save points. :-) My views may change as time goes by, but for now I am learning, and starting to do research. ^_^ Kenneth M. Burling Jr