[gentoo-user] Network is not starting
I had the bad surprise the see the next error when my system boots, and is about starting the netowrk services: Starting eth0 No usable addresses families found socket: no such file or directory *eth0 does not exist the same thing is happening for eth1. for eth0 i use dhcp and for eth1 i use static addresses. Could someone give me an advice? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
On Sun, 23 Jul 2006 09:13:47 +0300 Adrian Vraciu [EMAIL PROTECTED] wrote: I had the bad surprise the see the next error when my system boots, and is about starting the netowrk services: Starting eth0 No usable addresses families found socket: no such file or directory *eth0 does not exist the same thing is happening for eth1. for eth0 i use dhcp and for eth1 i use static addresses. Could someone give me an advice? Hi, First run etc-update or dispatch-conf to see if there're any conf files to update. Next check /etc/conf.d/net file which may have been overwritten by some update. Edit it and make the necessary configurations again. Check ethX existance manually - #ifconfig. HTH.Rumen -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Migration to xorg-x11 7.0 - Great except for one detail
Benno Schulenberg wrote: Remy Blank wrote: I had slightly changed the inspiron xkb mapping so that they generated the right events (XF86AudioPlay, XF86AudioStop, XF86AudioPrev, XF86AudioNext). Then, I defined a few keyboard shortcuts in the KDE control center to trigger come actions, Please explain how you did this, or point me to a document, as I don't see any Play or Stop or similar actions in Control Center Regional Keyboard Shortcuts. The keys are defined in /usr/share/X11/xkb/symbols/inet, in my case in the section 'xkb_symbols inspiron'. This maps the extra keys on my laptop to XF86* key codes. Then, in the control center, select the function for which you want to assign a shortcut, press the button under Shortcut for selected action, and press the key you want to assign. This assigns one of the XF86* key codes as a shortcut. Revdep-rebuild isn't perfect, but it seems unlikely that re-emerging some KDE package would fix the problem. Trying won't hurt though. Give kxkb, kdelibs, ksmserver and kcminit a shot. I already did kdelibs without success, but I'll do the others today as well. Thanks for the suggestion. The thing that I find really strange is that the key are recognized, they just don't work as shortcuts. Thanks. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
On Sunday 23 July 2006 09:55, Rumen Yotov wrote: Hi, First run etc-update or dispatch-conf to see if there're any conf files to update. Next check /etc/conf.d/net file which may have been overwritten by some update. Edit it and make the necessary configurations again. Check ethX existance manually - #ifconfig. HTH.Rumen i've been running etc-update and dispatch-conf and there is no file for update. /etc/conf.d/net shows the next lines: # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). config_eth0=( dhcp ) #dhcp_eth0=nodns nontp nonis config_eth1=( 10.0.0.2 netmask 255.255.255.0 brd 10.0.0.255 ) and for ifconfig: # ifconfig -a No usable address families found. socket: No such file or directory -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg 7, i810, and no 1600x1200
On Thursday 20 July 2006 23:19, Richard Fish wrote: On 7/20/06, Jakub Łukomski [EMAIL PROTECTED] wrote: Section Monitor Identifier miro VendorName miro ModelName P17F86i HorizSync 30-86 VertRefresh 50-160 Option dpms EndSection (II) I810(0): Using detected DDC timings (II) I810(0): HorizSync 30-86 (II) I810(0): VertRefresh 50-160 (WW) I810(0): config file hsync range 28-33kHz not within DDC hsync range 30-86kHz (WW) I810(0): config file vrefresh range 43-72Hz not within DDC vrefresh range 50-160Hz Something isn't right here. Why does X think your config file has the (default) 28-33khz and 43-72Hz ranges? Can you post your ServerLayout section? -Richard Also, see if you have an xorg.conf in /root/ or anywhere other than /etc/X11. From the xorg.conf manpage: When the Xorg server is started by the root user, the config file search locations are as follows: cmdline /etc/X11/cmdline /usr/etc/X11/cmdline $XORGCONFIG /etc/X11/$XORGCONFIG /usr/etc/X11/$XORGCONFIG $HOME/xorg.conf /etc/X11/xorg.conf-4 /etc/X11/xorg.conf /etc/xorg.conf /usr/etc/X11/xorg.conf.hostname /usr/etc/X11/xorg.conf-4 /usr/etc/X11/xorg.conf /usr/lib/X11/xorg.conf.hostname /usr/lib/X11/xorg.conf-4 /usr/lib/X11/xorg.conf This means, that another xorg.conf might be used, instead of the one in /etc/X11. If you have only one xorg.conf, and it is in /etc/X11, see if you are using the correct monitor in your Screen section. - Dimitar Toshev -- gentoo-user@gentoo.org mailing list
[gentoo-user] Portage Storage using SVN
Hi guys, I proposed this awhile back, and got shot down. At the time, the arguments for using SVN for portage storage were pretty shallow, and someone was able to easily shoot them down. I believe I have come up with better reasoning for using SVN. Someone may still shoot them down, but hey, it's worth a try. PROBLEM 1 Let's say openldap had a problem. So, we decide to mask the latest version of openldap, in an effort to roll back to the version that was working. Well, we find out that openldap still does not work. So, we finally determine that it is library W. So, now we mask library W, in an attempt to roll back to the version that was working. Oh no, now we find out that library W is used by 20 other packages, that require the latest version of library W in order to work. So, now we have to mask library W, and 20 packages in order to get our openldap system functional, assuming you cared about the 20 other broken packages, which may break other packages, which may break yet other packages. Wouldn't it be nice to just go emerge --revert-portage, which goes back to the last exported copy of the portage, that you had from subversion? Boy, would that ever be convenient. It would be simple enough to store a local history of portage tags that the user was using in the past. PROBLEM 2 Have you ever synced the portage, only to find out there's a broken package simply because you synced in the middle of a mirror being updated? Well, subversion operations are entirely atomic, meaning no need to worry about such silly things. Also, copies (tags) could be created for every single day, and special ones for milestones. PROBLEM 3 Don't sync more than once a day, or you may be temporarily banned? Well, with SVN being tagged only once a day, there would be no need to worry about this, seeing that POTENTIAL ISSUES Now, I'm not entirely sure of the performance implications of subversion for this purpose. So, that would definitely have to either be tested, or someone would have to talk with the subversion folks to know if it would be a problem for thousands of users to access subversion in readonly mode. It would certainly be annoying for a developer to go svn commit, and have to wait for half an hour because everyone else is updating their local copies. But, that could be solved by mirrors only getting updated once every day, at 12 midnight. How does one get SVN copied over to mirrors in an atomic way, or does the SVN location just get shut down during the mirror update? Any thoughts? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: audio with TV crd
On Sat, 22 Jul 2006 10:18:48 +0100 Uwe Thiem [EMAIL PROTECTED] wrote: On 22 July 2006 03:45, Nick Rout wrote: When using composite in the sound should be coming in the line in However your driver may need to be switched to the right device, use ivtvctl ivtvctl -A - lists the audio inputs ivtvctl -Q - tells which one it is switched to now ivtvctl -qn - switches to input n Hm... [EMAIL PROTECTED] ~ $ ivtvctl -A ioctl: VIDIOC_ENUMAUDIO Input : 0 Name: Tuner 1 Input : 1 Name: Line In 1 Input : 2 Name: Line In 2 There is only one Line IN socket. Anyway, I tried both with iivtvctl -qn. Still no sound when doing mplayer /dev/video0, and mplayer tv:// gives me that damn ioctl error (see my other mail). Uwe well I just learned something new: [EMAIL PROTECTED]:/var/log$ ivtvctl -Y ioctl: VIDIOC_QUERYCTRL Brightness = 383 Contrast = 63 Saturation = 63 Hue = 0 Volume = 58880 Mute = 0 So there are volume and mute controls that are configurable from ivtvctl, like this: ivtvctl -y mute=1 (will mute the output - set -0 to unmute) ivtvctl -y volume=integer. The volume allegedly has a range of 0-65535 Check them out, the vol may be zeroed, or the mute set. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Migration to xorg-x11 7.0 - Great except for one detail
Remy Blank wrote: Then, in the control center, select the function for which you want to assign a shortcut, Yes, but as I said: there are no multimedia-related actions like Play or Stop or Mute there, just windowing, editing and navigating stuff. Do I need to emerge a certain KDE component for multimedia actions to appear? Or do they come with a certain player, like kplayer or kmplayer? The thing that I find really strange is that the key are recognized, they just don't work as shortcuts. What happens if you reassign the same shortcuts? Maybe first back up ~/.kde, and if it works, check what's different. Benno -- gentoo-user@gentoo.org mailing list
[gentoo-user] Stop Receiving Mails from outside
Dear All,Once im enable the qmail scanner in my tcp-smtp. that will stop receiving mail from outside, please help me on this matter.Thanks rgds,Suranga
Re: [gentoo-user] Portage Storage using SVN
Hi, On Sun, 23 Jul 2006 02:42:43 -0600 Trenton Adams [EMAIL PROTECTED] wrote: I proposed this awhile back, and got shot down. At the time, the arguments for using SVN for portage storage were pretty shallow, and someone was able to easily shoot them down. I believe I have come up with better reasoning for using SVN. Someone may still shoot them down, but hey, it's worth a try. #1: You're aware that there's a CVS for portage, aren't you? I'm still not quite sure if you are suggesting using SVN for the portage mirrors and if you are suggesting that users also have a full SVN history on the clients, too? PROBLEM 1 [...] PROBLEM 2 [...] PROBLEM 3 [...] Well, are those really problems at all? I mean, isn't it easy to overcome them? Is it worth dedicating time and work into that svn thing? POTENTIAL ISSUES Now, I'm not entirely sure of the performance implications of subversion for this purpose. So, that would definitely have to either be tested, or someone would have to talk with the subversion folks to know if it would be a problem for thousands of users to access subversion in readonly mode. Well, of course! There's definately a reason to use rsync. It would certainly be annoying for a developer to go svn commit, and have to wait for half an hour because everyone else is updating their local copies. But, that could be solved by mirrors only getting updated once every day, at 12 midnight. Oh, yeah. Your midnight, my midnight? It would definately be annoying to make a small glitch and have to wait 24hrs until the fix for that gets promoted. The problem you mentioned that at some points there are slightly errorneous ebuilds in portage or minor inconsistencies can only be fixed by promoting updates fast. The solution you propose costs a lot of CPU power, even more storage on the mirrors and lacks some positive aspects that the current solution has. Take a look at e.g. the major BSDs ports and package systems. They certainly have similar problems. OK, looking at the BSDs, I like the feature that there are branches with the aim to build a package tree that is as consistent as possible. That would be a plus. But that would imply a lot of work and a change in ebuild maintainance. I don't see this coming soon for Gentoo. -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: audio with TV crd
On 23 July 2006 02:38, Nick Rout wrote: On Sat, 22 Jul 2006 10:18:48 +0100 I find that tv:// doesn't work at all when using composite in, but /dev/video0 does. So far, I have to agree. My device also has one physical line in (two plugs, red=right, white=left), but ivtvctl -A shows four line-ins! I find that all of -q1, -q2, -q3 work with the line-in. -q0 is the tuner and -q4 is static. [EMAIL PROTECTED]:~$ ivtvctl -A ioctl: VIDIOC_ENUMAUDIO Input : 0 Name: Tuner Audio In Input : 1 Name: Audio Line 1 Input : 2 Name: Audio Line 2 Input : 3 Name: Audio Line 3 Input : 4 Name: Audio Line 4 Are you really sure that there is an audio signal coming out the line thats plugged into the line-in? (Obvious I know!) Yes. If I plug that line into Line IN of my soundcard I get audio. I actually tried to feed composite into the TV card and audio into my soundcard. Used mplayer /dev/video0 and it kind of worked. But it isn't a solution for two reasons: 1. Audio and video are far out of sync that way. 2. My goal isn't to watch tapes but to burn old tapes to DVDs. For that, I need the MPEG2 stream coming out of /dev/video0 to be combined video and audio. Uwe -- Mark Twain: I rather decline two drinks than a German adjective. http://www.SysEx.com.na -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Migration to xorg-x11 7.0 - Great except for one detail
Remy Blank wrote: Benno Schulenberg wrote: as I said: there are no multimedia-related actions like Play or Stop or Mute there, [...] As far as I understand, the XF86* are key codes or events, defined and generated by the X server, in this case xorg-x11, and work exactly in the same way as normal keys. Yes, please read what I write: I do have these keys, they do produce the correct XF86* events, and I can assign these events to actions such as Run Command or Switch to Next Desktop. There are just no actions like Play, Volume Down or Mute that I could assign XF86AudioPlay, XF86AudioLowerVolume or XF86AudioMute to. Where, under what tab, under what heading do you have those actions? Reassigning them doesn't change the behavior, it still doesn't work. Weird. Maybe you need to run ahead and upgrade to 3.5.3? 3.5.[0-2] are known to be quite buggy. Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
Hi, On Sun, 23 Jul 2006 10:02:49 +0300 Adrian Vraciu [EMAIL PROTECTED] wrote: # ifconfig -a No usable address families found. socket: No such file or directory You seem to have no IP protocol support compiled into your kernel. Or is there a module reg. IP support that you need to modprobe first? -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] usb hp cd-writer 8200 series
Thsnks for your reply, however, right now I have THIS: I have searched the web and know that many people have the same problem, but didn't find any solutions yet. Do you have any ideas? Or anyone? I believe this error has nothing to do with breakings. Anyone? asterius ~ # cdrecord -scanbus Cdrecord-ProDVD-Clone 2.01.01a10 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling Linux sg driver version: 3.5.33 Using libscg version 'schily-0.8'. scsibus0: 0,0,0 0) 'HP' 'CD-Writer+ 8200e' '0001' Removable Disk 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * --- asterius ~ # cdrecord dev=0,0,0 ubuntu-6.06-dekstop-amd64.iso cdrecord: No write mode specified. cdrecord: Asuming -tao mode. cdrecord: Future versions of cdrecord may have different drive dependent defaults. Cdrecord-ProDVD-Clone 2.01.01a10 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling scsidev: '0,0,0' scsibus: 0 target: 0 lun: 0 Linux sg driver version: 3.5.33 Using libscg version 'schily-0.8'. Device type: Removable Disk Version: 0 Response Format: 1 Vendor_info: 'HP' Identifikation : 'CD-Writer+ 8200e' Revision : '0001' Device seems to be: Generic CCS Disk. cdrecord: Sorry, no CD/DVD-Drive found on this target. On Sat, 22 Jul 2006 22:47:39 +0100 Daniel Drake [EMAIL PROTECTED] wrote: Alexander Fortwinder wrote: I'd appreciate if anyone tell me what kernel options are needed to make my usb drive to work. Thanks, Alex Probably CONFIG_USB_STORAGE_USBAT. But you'll have to use something brand new such as 2.6.18-rc2, I broke HP8200 for most users for a few releases. Sorry about that. Daniel -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] PORTAGE_ELOG error
Neil Bothwick schrieb: On Sun, 23 Jul 2006 00:01:34 +0200, Alexander Skwar wrote: Neil Bothwick schrieb: Re-using existing software is very unix like Sending mail with directly speaking SMTP isn't. That's the job of a MTA. What if you don't have an MTA installed, which is how this question arose? Then you install one. But a quite some services require an MTA. Not necessarily as a dependency in the sense of ebuilds, but to make full use of the programs - eg. cron, at and what not. If you've got an MTA, you can then send mails from the system. And actually, an I have no MTA on this computer, because I run a separate mail server. Those two things don't have anything to do with each other. I've also got a seperate mail server, which I use as my smarthost. Talking SMTP is how all my mail-sending software communicates with it. cron? Yes, it would, but I'd actually not suggest to do so. Installing postfix (or any SMTP server, for that matter) just for Portage isn't the right way to go. It's too much code, opening too many potential problems, which can be sidestepped by making portage use /usr/sbin/sendmail instead. Why not let portage work with the same SMTP server you use for all other mail? Why make me configure SMTP in two places (MTA and Portage)? That's a separate question. No, it's not. It's trivial to configure portage to use a local MTA if you have one. No, it's not *trivial*. It's not hard, but trivial... No. If you want to use sendmail instead, why not submit a bug report, preferably with a patch? PORTAGE_ELOG_COMMAND exists. I'd rather suggest to dump the wasteful SMTP support. But I doubt that such a good suggestion would be welcome - rather the Windows is chosen. But don't force all those people without an MTA to install one just because it's easier for you. Well, don't force me to use SMTP, just because it's easier for you! And also don't force me, to write complicated scripts, just because it's easier for you! If portage would use the standard ways of sending mail, ie. /usr/sbin/sendmail, than this script wouldn't be necessary. MAYBE SMTP could be added as an *OPTION* - but I'd not add this, it's bloat. If your mail client can send mail, why not tell portage to use the same route. Why not make Portage send mail the same way, the MUA does it - with /usr/sbin/sendmail? My MUA (and that of the OP) don't use sendmail to send mail. Which is very bad, IMO. My MUA also has this bug - annoys me extremely, as this forces me, to setup my SMTP configuration in multiple places. I HATE to do redundant work which adds no benefit. Sure, I could setup a SMTP server, no problem, but I don't want to have any server daemons running on this system. It's a matter of principle. There's absolutely no need to use a local MTA if you don't already have one. There's no need to configure the same thing in multiple places. It's really bad style to make users keep the same configuration in multiple places. How would you suggest resolving that for users without a local MTA? Install a MTA. Or will ssmtp handle this correctly? What this? With my howto, /usr/sbin/sendmail is used to send out mail. Benefit of this is, that the SMTP configuration (ie. name of (smart-)host and possibly username+password) only has to be set at one spot - in the configuration file of the MTA. What MTA is chosen, is basically upto the user - but Gentoo seems to prefer ssmtp, which is totally fine and also is, what I'd suggest, as ssmtp is so easy to configure and offer's all, that's needed. Alexander Skwar -- The average nutritional value of promises is roughly zero. -- gentoo-user@gentoo.org mailing list
[gentoo-user] ssmtp - How to set up
Hi all, I have never got system messages, cron messages etc to work in gentoo. This really hasn't been a problem but the more progs I have running the more I think I should attempt to get this working. Especially elogs. I have ssmtp installed but not set up correctly, I have looked at the man page but I couldn't fathom out what exactly I needed to do to receive messages in my user account. Can anybody please give me step by step instructions. All of my mail is received from my isp using kmail Thanks Paul -- This message has been sent using kmail with gentoo linux -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: audio with TV crd
On 23 July 2006 09:58, Nick Rout wrote: well I just learned something new: Yeah, the documentation is awful. One has to dig deep to find all the knobs. [EMAIL PROTECTED]:/var/log$ ivtvctl -Y ioctl: VIDIOC_QUERYCTRL Brightness = 383 Contrast = 63 Saturation = 63 Hue = 0 Volume = 58880 Mute = 0 I found that option already. So there are volume and mute controls that are configurable from ivtvctl, like this: ivtvctl -y mute=1 (will mute the output - set -0 to unmute) ivtvctl -y volume=integer. The volume allegedly has a range of 0-65535 Check them out, the vol may be zeroed, or the mute set. [EMAIL PROTECTED] ~ $ ivtvctl -Y ioctl: VIDIOC_QUERYCTRL Brightness = 128 Contrast = 64 Saturation = 64 Hue = 0 Volume = 60928 Balance = 32768 Bass = 32768 Treble = 32768 Mute = 0 It isn't muted, and the volume seems to be quite high. :-( Uwe -- Mark Twain: I rather decline two drinks than a German adjective. http://www.SysEx.com.na -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Is this cruft in my /tmp?
060723 Philip Webb wrote: 060722 Mick wrote: I noticed in /tmp a rather large number of files of the type: prw--- 1 rootroot 0 Jun 29 23:13 sh-np-1151622697 It looks like part of the calculation of dependences. I have a long list roughly daily from 050213-611 , so it mb related to some version of the Kernel (cp discussion above). I deleted all the sh-np's in my own /tmp rebooted without any problem. There is no note in my home-made list of installed packages of having done anything 050213, but there were several changes 050611 : 050611 app-text/docbook-xml-simple-dtd-4.1.2.4-r2 [for -sgml-utils] 050611 media-libs/libmng-1.0.8-r1 [for qt mozilla-firefox] 050611 net-print/libgnomecups-0.2.0 [for libgnomeprint] 050611 sys-devel/bc-1.06-r6 [was System] removed 050611: gnome-extra/gal-2.2.3 [for libgtkhtml] Possibly one of the former 4 packages stopped creation of files or the 5th package was responsible for their previous creation. Also looking in my archives at the output of Elog , there were 2 packages which was updated around both those dates, ie bzip2-1.0.2-r4 - r5 1.0.3 - 1.0.3-r4 shadow-4.0.5-r2 - r3 4.0.5-r3 - 4.0.7-r3 Perhaps this may point someone to an explanation. -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban Community Studies TRANSIT`-O--O---' University of Toronto -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Small Gnome 2.14 frustrations
On 7/22/06, Ow Mun Heng [EMAIL PROTECTED] wrote: On Sat, 2006-07-22 at 11:05 -0700, Mark Knecht wrote: Since upgrading to Gnome-2.14 I've run into some small frustrations: Just Upgraded today. 1) In the Desktop menu on the taskbar there is now a 'Shutdown' entry. We do not want to shutdown from anyone's account since this machine is also our MythTV backend server and we don't want to make a mistake and take it offline. Can this be removed somehow? 2) For all login accounts every other login fails from the GDM login screen with a message something like this: No Issues with this. What you can do is log out, log into console as root/some other user. kill all user processes, and delete all files in /tmp which remotely resembles your username. (there may be old user processes/data there) Yes, I tried that yesterday when I did the chown commands I showed earlier. No help unfortunately. Thanks! 3) In my account only when I try to empty the Gnome trashcan I get a message like this: not sure what's happening. -- Ow Mun Heng [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote: Hi, On Sun, 23 Jul 2006 10:02:49 +0300 Adrian Vraciu [EMAIL PROTECTED] wrote: # ifconfig -a No usable address families found. socket: No such file or directory You seem to have no IP protocol support compiled into your kernel. Or is there a module reg. IP support that you need to modprobe first? -hwh but i have compiled tcp/ip in kernel. and i said that, when i run dhcpcd eth0 i have internet connection. but i can't run the init script for network. # /etc/init.d/net.eth0 start * Starting eth0 No usable address families found. socket: No such file or directory No usable address families found. socket: No such file or directory * Bringing up eth0 * dhcp No usable address families found. socket: No such file or directory -- Best Regards, Adrian Vraciu -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote: Hi, On Sun, 23 Jul 2006 10:02:49 +0300 Adrian Vraciu [EMAIL PROTECTED] wrote: # ifconfig -a No usable address families found. socket: No such file or directory You seem to have no IP protocol support compiled into your kernel. Or is there a module reg. IP support that you need to modprobe first? -hwh could be something related to sysctl? -- Best Regards, Adrian Vraciu -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote: Hi, On Sun, 23 Jul 2006 10:02:49 +0300 Adrian Vraciu [EMAIL PROTECTED] wrote: # ifconfig -a No usable address families found. socket: No such file or directory You seem to have no IP protocol support compiled into your kernel. Or is there a module reg. IP support that you need to modprobe first? -hwh and there is no need for modprobe because most of the drivers are built-in. the kernel worked till yesterday very fine. actually, i have three different kernel and i have the same problem. -- Best Regards, Adrian Vraciu -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Network is not starting
Can you find any hints in the messages about this issue? -Original Message- From: Adrian Vraciu [mailto:[EMAIL PROTECTED] Sent: Sunday, July 23, 2006 4:16 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Network is not starting On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote: Hi, On Sun, 23 Jul 2006 10:02:49 +0300 Adrian Vraciu [EMAIL PROTECTED] wrote: # ifconfig -a No usable address families found. socket: No such file or directory You seem to have no IP protocol support compiled into your kernel. Or is there a module reg. IP support that you need to modprobe first? -hwh and there is no need for modprobe because most of the drivers are built-in. the kernel worked till yesterday very fine. actually, i have three different kernel and i have the same problem. -- Best Regards, Adrian Vraciu -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
On Sunday 23 July 2006 17:41, Zinn, Stefan wrote: did you saw some interesting hints? i can't find one, right now i'm very frustrated about this issue. Can you find any hints in the messages about this issue? -Original Message- From: Adrian Vraciu [mailto:[EMAIL PROTECTED] Sent: Sunday, July 23, 2006 4:16 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Network is not starting On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote: Hi, On Sun, 23 Jul 2006 10:02:49 +0300 Adrian Vraciu [EMAIL PROTECTED] wrote: # ifconfig -a No usable address families found. socket: No such file or directory You seem to have no IP protocol support compiled into your kernel. Or is there a module reg. IP support that you need to modprobe first? -hwh and there is no need for modprobe because most of the drivers are built-in. the kernel worked till yesterday very fine. actually, i have three different kernel and i have the same problem. -- Best Regards, Adrian Vraciu -- gentoo-user@gentoo.org mailing list -- Best Regards, Adrian Vraciu -- gentoo-user@gentoo.org mailing list
[gentoo-user] nvidia-drivers and revdep-rebuild problems
---BeginMessage--- Hi, all. I try to avoid posting to the list as I try to resolve problems on my own. However, I have run into this problem that I can't get resolved. I am pretty much a Gentoo newbie, but less so with linux. I have successfully installed Gentoo 2006.0 from the Universal Install CD (amd64 arch). I am have Xorg-x11 7.0 emerged and, I think, configured correctly - no unresolved EEs or WWs in /var/log/Xorg.0.log. Using startx brings up twm and it looks fine. Regarding the nvidia-drivers, I first emerged nvidia-glx and nvidia-kernel. While running # revdep-rebuild, I get this message: broken /usr/lib32/opengl/nvidia/lib/libGL.so.1.0.8756 \ (requires libGLcore.so.1 libX11.so.6 libXext.so.6 libnvidia-tls.so.1) After running # eselect opengl set nvidia, revdep-rebuild produces this: broken /usr/lib32/opengl/nvidia/lib/libGL.so.1.0.8756 \ (requires libX11.so.6 libXext.so.6) I found when I removed nvidia (# emerge -C nvidia-glx nvidia-kernel) and rerun # revdep-rebuild, the output is clean - all linking consistent. As an experiment, I emerged the new nvidia-drivers (using keyword ~amd64). running # revdep-rebuild resulted in the same broken output as the first one above. I followed the migrating to modular x guide and the nvidia guide. I have checked the gentoo wiki and even tried googling for the solution, but have been unable to find the solution. Any suggestions or help would be greatly appreciated. Thanks. Bill W. ---End Message---
[gentoo-user] How to get metainfo of a tbz2 file
Hi, is there a way to get the metainfo of a tbz2-file ie, what package it contains, use-flags in compiling it etc? Regards, Konstantin -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185 Captain, this ship will not survive the forming of the cosmos. B'Elana Torres -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
Adrian Vraciu wrote: On Sunday 23 July 2006 17:41, Zinn, Stefan wrote: did you saw some interesting hints? i can't find one, right now i'm very frustrated about this issue. I think he meant to check /var/log/messages - anything interesting in there? R -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to get metainfo of a tbz2 file
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantinos Agouros wrote: Hi, is there a way to get the metainfo of a tbz2-file ie, what package it contains, use-flags in compiling it etc? Regards, Konstantin A tbz2 file is just source code.. Assuming you are using portage, emerge -pv package will tell you the USE flags. Or you could look at the ebuild in /usr/portage/category/package. Also, remember that USE flags just effect the configure options. Example, xinerama adds --enable-xinerama to the configure options. If this is not the answer you are looking for, please be more specific. - -- Jeremy Olexa ([EMAIL PROTECTED]) Office: EE/CS 1-201 CS/IT Systems Staff University of Minnesota -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEw5WeFN7pD9kMi/URAlL1AJ0XsWX6uVn7XskqMlbqFExp4GXW0QCbB7Gl DdgZWr8WI1A0cRSR6o5z4Aw= =E2o9 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] PORTAGE_ELOG error
On Sun, 23 Jul 2006 14:27:22 +0200, Alexander Skwar wrote: Sending mail with directly speaking SMTP isn't. That's the job of a MTA. What if you don't have an MTA installed, which is how this question arose? Then you install one. That's not an acceptable answer for a core system service. Portage should, and can, be able to do its job using the standard Python mail transport methods. Talking SMTP is how all my mail-sending software communicates with it. cron? Fair comment, I forgot about that one, which uses ssmtp. In my defence, our month-old grandson stayed with us last night - sleep-deprivation is a b***! Why not let portage work with the same SMTP server you use for all other mail? Why make me configure SMTP in two places (MTA and Portage)? That's a separate question. No, it's not. It is, but it doesn't matter.You should not be made to configure mail in two places if you have an MTA, I never disagreed with that. But equally, you should not be forced to install an MTA. It's trivial to configure portage to use a local MTA if you have one. No, it's not *trivial*. It's not hard, but trivial... No. Uncommenting the relevant line and changing the email address to your own seems trivial to me. It may not be trivial to a SUSE user, but no Gentoo user should have trouble entering their mail address in a config file. If you want to use sendmail instead, why not submit a bug report, preferably with a patch? PORTAGE_ELOG_COMMAND exists. I'd rather suggest to dump the wasteful SMTP support. But I doubt that such a good suggestion would be welcome - rather the Windows is chosen. It's not wasteful, as it provides an easy option for many people and it uses existing software. Look at the code and you'll see that all it does is parse the address etc. from the config file and use it to send the message via an smtplib function. Using sendmail would require about the same amount of code, giving a choice of the two would only add a couple of lines, which should suit everyone. But don't force all those people without an MTA to install one just because it's easier for you. Well, don't force me to use SMTP, just because it's easier for you! I'm not, I didn't write portage! And also don't force me, to write complicated scripts, just because it's easier for you! It's easier for me because it's there and it works. If portage would use the standard ways of sending mail, ie. /usr/sbin/sendmail, than this script wouldn't be necessary. MAYBE SMTP could be added as an *OPTION* - but I'd not add this, it's bloat. It's not bloat, because the code is already there. Or will ssmtp handle this correctly? What this? Sending mail from portage as per the OP's question. With my howto, /usr/sbin/sendmail is used to send out mail. Benefit of this is, that the SMTP configuration (ie. name of (smart-)host and possibly username+password) only has to be set at one spot - in the configuration file of the MTA. What MTA is chosen, is basically upto the user - but Gentoo seems to prefer ssmtp, which is totally fine and also is, what I'd suggest, as ssmtp is so easy to configure and offer's all, that's needed. As I said, file a request on bugzilla. It sounds a reasonable option. -- Neil Bothwick To poldly bow air mobius gumby four: Trek on novocaine. signature.asc Description: PGP signature
Re: [gentoo-user] How to get metainfo of a tbz2 file
On Sun, 23 Jul 2006 15:14:41 + (UTC), Konstantinos Agouros wrote: is there a way to get the metainfo of a tbz2-file ie, what package it contains, use-flags in compiling it etc? Yes, using programs from portage-utils. qtbz2 -x package.tbz2 extracts an xpak archive from the binary package. Use xpak to show or extract the contents of this file. -- Neil Bothwick Is it a bigger crime to rob a bank or to open one? signature.asc Description: PGP signature
Re: [gentoo-user] ssmtp - How to set up
Paul Stear wrote: Hi all, I have never got system messages, cron messages etc to work in gentoo. This really hasn't been a problem but the more progs I have running the more I think I should attempt to get this working. Especially elogs. I have ssmtp installed but not set up correctly, I have looked at the man page but I couldn't fathom out what exactly I needed to do to receive messages in my user account. Can anybody please give me step by step instructions. All of my mail is received from my isp using kmail Thanks Paul http://gentoo-wiki.com/TIP_Postfix_Setup_for_Local_Mail_Only -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Access DVD drive
Hello, I have an external usb dvd drive. dmesg returns Vendor: BENQ Model: DVD DD EW164B Rev: BEFB Type: CD-ROM ANSI SCSI revision: 00 0:0:0:0: Attached scsi generic sg0 type 5 usb-storage: device scan complete How can I play a dvd with it? What is the name of this device to give as a parameter to the dvd player software (I use ogle)? Best regards, Steffen -- gentoo-user@gentoo.org mailing list
[gentoo-user] User Representative Elections!
The Gentoo User Relations http://www.gentoo.org/proj/en/devrel/user-relations/index.xml project is happy to announce that the elections for the position of User Representative http://www.gentoo.org/proj/en/devrel/user-relations/userrep.xml are now open. The candidates have each written some information about themselves and what they would like to achieve. You should read it here http://dev.gentoo.org/%7Emark_alec/userrel/elections.html. You can only vote once, so carefully consider who you would most like to represent you. To vote, go to http://forums.gentoo.org/viewtopic-t-482799.html and select /your/ user representative. -- $a=gentoo.org; Christel Dahlskjaer | [EMAIL PROTECTED] | www.$a Gentoo Developeress - User Relations, Developer Relations, Gentoo/MIPS, Gentoo/Alpha, PR, Events, Release Engineering signature.asc Description: This is a digitally signed message part
[gentoo-user] apache/php: chroot?
Hi, Recently I installed bind, which supports chrooting right of the box. Very nice feature, I was positively surprised... Now my question is: does apache/php support chrooting too? And are there some other services, which can be chrooted like bind? Jarry -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
On Sunday 23 July 2006 19:19, Randy Barlow wrote: nothing interesting there :( Adrian Vraciu wrote: On Sunday 23 July 2006 17:41, Zinn, Stefan wrote: did you saw some interesting hints? i can't find one, right now i'm very frustrated about this issue. I think he meant to check /var/log/messages - anything interesting in there? R -- Best Regards, Adrian Vraciu -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
Adrian Vraciu wrote: On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote: Hi, On Sun, 23 Jul 2006 10:02:49 +0300 Adrian Vraciu [EMAIL PROTECTED] wrote: # ifconfig -a No usable address families found. socket: No such file or directory You seem to have no IP protocol support compiled into your kernel. Or is there a module reg. IP support that you need to modprobe first? -hwh could be something related to sysctl? Hi, Check the links in /etc/runlevels/{boot,default,nonetwork,single} In all of them you have a link to a file under /etc/init.d/* according to runlevel configuration. Some or all of the links might point to a nonexistent files (e.g. /tmp/stage1/etc/init.d/consolefont). There's also a Bug about this in Bugzilla, fix the links manually or find a script (Bug-?) which will do this for you. HTH.Rumen smime.p7s Description: S/MIME Cryptographic Signature
[gentoo-user] chroot: cannot run command `/bin/bash'
Hi, William Kenworthy napisał(a): so bash needs glibc! Sure :) Your best bet would be to locate a glibc bin package (from the livecd?)and untar it in / of your system, then it should work enough to rebuild properly. You could just copy in the missing libs as you discover them, but thats probably going to be worse :( I copied whole /mnt/liveCD/lib to my /mnt/gentoo/lib and chroot is working now, but revdep-rebuilt is doing nothing. IMHO some reverse dependencies are broken The worst thing is that emerge glibc faild Output is: (...) checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... /lib/cpp configure: error: C preprocessor /lib/cpp fails sanity check See `config.log' for more details. !!! ERROR: sys-libs/glibc-2.3.6-r4 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile glibc-2.3.6-r4.ebuild, line 1128: Called toolchain-glibc_src_compile glibc-2.3.6-r4.ebuild, line 215: Called glibc_do_configure 'linuxthreads' glibc-2.3.6-r4.ebuild, line 905: Called die !!! failed to configure glibc !!! If you need support, post the topmost build error, and the call stack if relevant. BTW: I'm new on the mailing list, such this one: so I'm not sure how to reply to concrete post. I'm using gmail - I send an ordinary email to [EMAIL PROTECTED] Please correct me if I'm doing sth wrong... Thanks for help, oskar -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
On Sunday 23 July 2006 19:42, Rumen Yotov wrote: the init scripts are ok. but there is no eth0 and eth1, although wehn i run dhcpcd eth0 i can make my internet connection to work fine.ifconfig says clearly that i don't have any eth0 and eth1. where the hell are eth0 and eth1? and how can i remake them? Adrian Vraciu wrote: On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote: Hi, On Sun, 23 Jul 2006 10:02:49 +0300 Adrian Vraciu [EMAIL PROTECTED] wrote: # ifconfig -a No usable address families found. socket: No such file or directory You seem to have no IP protocol support compiled into your kernel. Or is there a module reg. IP support that you need to modprobe first? -hwh could be something related to sysctl? Hi, Check the links in /etc/runlevels/{boot,default,nonetwork,single} In all of them you have a link to a file under /etc/init.d/* according to runlevel configuration. Some or all of the links might point to a nonexistent files (e.g. /tmp/stage1/etc/init.d/consolefont). There's also a Bug about this in Bugzilla, fix the links manually or find a script (Bug-?) which will do this for you. HTH.Rumen -- Best Regards, Adrian Vraciu -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Can't recompile vmware modules
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vladimir G. Ivanovic wrote: When I run vmware-config.pl, I get the following error: ... Has anyone else run into this kind of problem, and if so, how did you solve it? Make sure you're using the latest build of VMware Workstation. Assuming that to be true, then this might help -- it solved a similar build problem for me: http://www.vmware.com/community/thread.jspa?messageID=76957tstart=0 Cheers -d - -- David Talkington PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEw73k5FKhdwBLj4sRAlvNAJ45tyQzoxlXN0bFMOLonH8zYDGa9gCgo+PM ZQmVDxe3j5/QG5wCVoJWO/w= =7vxY -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] PORTAGE_ELOG error
Neil Bothwick schrieb: On Sun, 23 Jul 2006 14:27:22 +0200, Alexander Skwar wrote: Sending mail with directly speaking SMTP isn't. That's the job of a MTA. What if you don't have an MTA installed, which is how this question arose? Then you install one. That's not an acceptable answer for a core system service. Yes, it is, as sending out mail isn't a core system service. Portage should, and can, be able to do its job using the standard Python mail transport methods. Portage can only send out mail after a network connection has been setup. Thus, we're already after the core system setup. Finally, system software like some cron daemons (eg. fcron) already depend on an MTA (although I don't quite understand, why fcron depends on an MTA and vixie-cron doesn't. This doesn't make sense to me.). Talking SMTP is how all my mail-sending software communicates with it. cron? Fair comment, I forgot about that one, which uses ssmtp. No, it doesn't use ssmtp, it uses /usr/sbin/sendmail. Now, ssmtp provides this interface, that's of course true. But cron works equally well, if the ssmtp MTA is replaced by, say, postfix. In my defence, our month-old grandson stayed with us last night - sleep-deprivation is a b***! ;) Tell me about it. It's so freaking hot in Germany lately, that it's hard to find sleep (at least for me it is hard). Why not let portage work with the same SMTP server you use for all other mail? Why make me configure SMTP in two places (MTA and Portage)? That's a separate question. No, it's not. It is, but it doesn't matter.You should not be made to configure mail in two places if you have an MTA, I never disagreed with that. But equally, you should not be forced to install an MTA. But you aren't forced - by default, portage doesn't even send out mails. The user has to configure this. But it would actually be *very* easy to make this a default, if the IMO stupid dependency on SMTP would be dumped. If it were, it could always use /usr/sbin/sendmail to send mails to, lets say, [EMAIL PROTECTED] and the user could then set up an alias to get the mail to the wanted place. No *NEED* to configure the recipient address in make.conf anymore. Now, if there isn't a (working) /usr/sbin/sendmail, then no mail is sent out. Just like it's now right after install. But as soon as standard methods (/usr/sbin/sendmail) become available, portage mails just work. It's trivial to configure portage to use a local MTA if you have one. No, it's not *trivial*. It's not hard, but trivial... No. Uncommenting the relevant line and changing the email address to your own seems trivial to me. That's not quite true. Eg. if you've got a username with an @, you're in trouble, see https://bugs.gentoo.org/show_bug.cgi?id=116984. This could be circumvented (or shifted to another place) by dumping the use of SMTP. If you want to use sendmail instead, why not submit a bug report, preferably with a patch? PORTAGE_ELOG_COMMAND exists. I'd rather suggest to dump the wasteful SMTP support. But I doubt that such a good suggestion would be welcome - rather the Windows is chosen. It's not wasteful, as it provides an easy option for many people and it uses existing software. It IS wasteful, as it doesn't use existing, standard software and as it re-implements a functionality, which is very likely to be present already. Look at the code and you'll see that all it does is parse the address etc. from the config file and use it to send the message via an smtplib function. Using sendmail would require about the same amount of code, giving a choice of the two would only add a couple of lines, which should suit everyone. Here some lines, there some lines. That's how waste and bloat is made. This bloat and waste can be circumvented, by using standard tools. But don't force all those people without an MTA to install one just because it's easier for you. Well, don't force me to use SMTP, just because it's easier for you! I'm not, I didn't write portage! That's lame :) I don't force you to do anything either, for the exact same reason. And also don't force me, to write complicated scripts, just because it's easier for you! It's easier for me because it's there and it works. It's harder for me and many other people, as an MTA will very likely be present. So, don't force me to do something, just because it's easier for you! If portage would use the standard ways of sending mail, ie. /usr/sbin/sendmail, than this script wouldn't be necessary. MAYBE SMTP could be added as an *OPTION* - but I'd not add this, it's bloat. It's not bloat, because the code is already there. It is bloat, as the same function is handled by a seperate, and more standard implementation. Function := Get mail off the system with SMTP. Or will ssmtp handle this correctly? What this? Sending mail from portage as per the OP's question. No, SSMTP doesn't do this, as Portage doesn't use
Re: [gentoo-user] ssmtp - How to set up
Paul Stear schrieb: Hi all, I have never got system messages, cron messages etc to work in gentoo. This really hasn't been a problem but the more progs I have running the more I think I should attempt to get this working. Especially elogs. I have ssmtp installed but not set up correctly, I have looked at the man page but I couldn't fathom out what exactly I needed to do to receive messages in my user account. You want to receive mails on your user account on your local box? This can't be done with SSMTP. As the description already says: Description: Extremely simple MTA to get mail off the system to a Mailhub SSMTP can't do local delivery. Now, you could setup your system so, that it sends the mail to some other system and then you access that other system with POP3/IMAP to get the mail. But that's of course not your local account. Alexander Skwar -- Q: Why does Washington have the most lawyers per capita and New Jersey the most toxic waste dumps? A: God gave New Jersey first choice. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Is this cruft in my /tmp?
Thanks Philip, On Sunday 23 July 2006 14:29, Philip Webb wrote: 060723 Philip Webb wrote: I deleted all the sh-np's in my own /tmp rebooted without any problem. I assume what you say is that they were not recreated? Also looking in my archives at the output of Elog , there were 2 packages which was updated around both those dates, ie bzip2-1.0.2-r4 - r5 1.0.3 - 1.0.3-r4 shadow-4.0.5-r2 - r3 4.0.5-r3 - 4.0.7-r3 Perhaps this may point someone to an explanation. If you are not getting these creatures in your /tmp dir anymore and assuming that they are kernel dependent, it may be that they will cease to be created soon as I update this (stable) machine and roll up my next kernel version (I'm on 2.6.16-gentoo-r13 now). This leaves the gnupg problem. Any idea what the log-socket file is all about? srwxr-xr-x 1 michael users 0 Jun 6 20:29 log-socket I moved it, it was not re-created yet and there doesn't seem to be a problem so far, other than the error message when I manually launch gpg: $ eval $(gpg-agent --daemon) can't connect to `/home/michael/.gnupg/log-socket': No such file or directory If you remember my previous message when the lock file was still there, I was getting: can't connect to `/home/michael/.gnupg/log-socket': Connection refused So it seems to need the lock file but I don't really know how it is (re)created. Any ideas anyone? -- Regards, Mick pgp4h4LDISh54.pgp Description: PGP signature
Re: [gentoo-user] Re: Can't recompile vmware modules
On Sun, 2006-07-23 at 11:20 -0700, David Talkington wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vladimir G. Ivanovic wrote: When I run vmware-config.pl, I get the following error: ... Has anyone else run into this kind of problem, and if so, how did you solve it? Make sure you're using the latest build of VMware Workstation. Assuming that to be true, then this might help -- it solved a similar build problem for me: http://www.vmware.com/community/thread.jspa?messageID=76957tstart=0 I am using the latest version of VMware (5.5.1.19175) with the latest update (101) applied. BTW, I didn't mention that VMware workstation used to work with some kernel version (later than 2.6.16), with gcc 4.1.1 and with some version of binutils, coreutils, etc. Like an idiot, I didn't save the working setup after I installed a new kernel, so I can't go back to a known, working version. --- Vladimir -- Vladimir G. Ivanovic [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Migration to xorg-x11 7.0 - Great except for one detail
Remy Blank wrote: Benno Schulenberg wrote: There are just no actions like Play, Volume Down or Mute that I could assign XF86AudioPlay, XF86AudioLowerVolume or XF86AudioMute to. Ok, I get it, sorry. I don't want to assign them to Play or other audio actions. I want XF86AudioPlay to lock the the session (Lock session) and XF86AudioStop to logout (Log Out). I assigned the key codes, but nothing happens when I press the keys. See below for some vague suggestions. Meanwhile I've figured out how to create actions such as Mute and Volume Up and assign them shortcuts. It's done in the Control Center under Regional Input Actions. First press New Group. If the group appears where you don't want it, drag it to before Examples, it will then appear as a top-level group at the end. Then in that group create a New Action, give it a name, like Mute, and select the Action type as Keyboard Shortcut - Command/URL. Then go to the Keyboard Shortcut tab and assign it a shortcut, like XF86AudioMute. Then go to Command/URL Settings and fill in the related command, like dcop kmix Mixer0 toggleMute 0. Press Apply. And so on for other actions. It was just strange that the keys stopped working right after the xorg-x11 update to 7.0. Then it is most likely related. Maybe the numbers changed, the codes that X assigns to XF86AudioPlay and such? An extract from xev for some of the extra keys on my Logitech keyboard (this is for Xorg 6.8, which I'm still using, so you might be able to check whether in Xorg 7.0 the keysyms changed): keycode 178 (keysym 0x1008ff18, XF86HomePage), keycode 160 (keysym 0x1008ff12, XF86AudioMute), keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), keycode 176 (keysym 0x1008ff13, XF86AudioRaiseVolume), But maybe KDE is looking in the old place /usr/lib/X11 for keyboard files, which for Xorg 7.0 moved to /usr/share/X11. It might be trying to read /usr/lib/X11/XKeysymDB but not find it. You could try a symlink: ln -s ../../share/X11/XKeysymDB /usr/lib/X11/ Or maybe link to ../share/X11 the entire /usr/lib/X11 Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Access DVD drive
It is probably /dev/sda, but you are right, its hard to tell on that information! If so playing the dvd is something like: xine dvd://dev/sda On Mon, 24 Jul 2006 17:47:11 +0200 Steffen Mazanek wrote: Hello, I have an external usb dvd drive. dmesg returns Vendor: BENQ Model: DVD DD EW164B Rev: BEFB Type: CD-ROM ANSI SCSI revision: 00 0:0:0:0: Attached scsi generic sg0 type 5 usb-storage: device scan complete How can I play a dvd with it? What is the name of this device to give as a parameter to the dvd player software (I use ogle)? Best regards, Steffen -- gentoo-user@gentoo.org mailing list -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Access DVD drive
On Tuesday, 25 July 2006 1:17, Steffen Mazanek wrote: Hello, I have an external usb dvd drive. dmesg returns Vendor: BENQ Model: DVD DD EW164B Rev: BEFB Type: CD-ROM ANSI SCSI revision: 00 0:0:0:0: Attached scsi generic sg0 type 5 usb-storage: device scan complete How can I play a dvd with it? What is the name of this device to give as a parameter to the dvd player software (I use ogle)? Best regards, Steffen Try using the device /dev/sg0 -- Raymond Lewis Rebbeck -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ssmtp - How to set up
--- Paul Stear [EMAIL PROTECTED] wrote: Hi all, I have never got system messages, cron messages etc to work in gentoo. This really hasn't been a problem but the more progs I have running the more I think I should attempt to get this working. Especially elogs. I have ssmtp installed but not set up correctly, I have looked at the man page but I couldn't fathom out what exactly I needed to do to receive messages in my user account. Can anybody please give me step by step instructions. All of my mail is received from my isp using kmail Thanks Paul -- This message has been sent using kmail with gentoo linux -- gentoo-user@gentoo.org mailing list I use esmtp. It is as small as ssmtp, but it allows local delivery, without need to run postfix or sendmail daemons on your system. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: audio with TV crd
On Sun, 23 Jul 2006 12:19:46 +0100 Uwe Thiem wrote: On 23 July 2006 02:38, Nick Rout wrote: On Sat, 22 Jul 2006 10:18:48 +0100 I find that tv:// doesn't work at all when using composite in, but /dev/video0 does. So far, I have to agree. My device also has one physical line in (two plugs, red=right, white=left), but ivtvctl -A shows four line-ins! I find that all of -q1, -q2, -q3 work with the line-in. -q0 is the tuner and -q4 is static. [EMAIL PROTECTED]:~$ ivtvctl -A ioctl: VIDIOC_ENUMAUDIO Input : 0 Name: Tuner Audio In Input : 1 Name: Audio Line 1 Input : 2 Name: Audio Line 2 Input : 3 Name: Audio Line 3 Input : 4 Name: Audio Line 4 Are you really sure that there is an audio signal coming out the line thats plugged into the line-in? (Obvious I know!) Yes. If I plug that line into Line IN of my soundcard I get audio. I actually tried to feed composite into the TV card and audio into my soundcard. Used mplayer /dev/video0 and it kind of worked. But it isn't a solution for two reasons: 1. Audio and video are far out of sync that way. 2. My goal isn't to watch tapes but to burn old tapes to DVDs. For that, I need the MPEG2 stream coming out of /dev/video0 to be combined video and audio. Uwe Yes, exactly. There is a delay for buffering or processing or something inherent in the pvr card. There is no such delay through the sound card. I suppose the card could be broken. Sometimes they are. Any chance of taking it back to the shop and asking for another one? Or *cough* trying it in windows? I also wonder whether you should try either the mythtv-users list or the ivtv-dev mailing lists. Probably the first thing they will ask for is the log information from dmesg between these two lines: ivtv: START INIT IVTV necessary info ivtv: END INIT IVTV Just looking at this I see mine contains: tveeprom 0-0050: audio processor is CX25843 (idx 37) tveeprom 0-0050: decoder processor is CX25843 (idx 30) Also I note via lsmod that I have a cx25840 module loaded. Presumably that takes care of the sound. It may pay to look at your output - there are many variations of chipsets on these cards, particularly between PAL and NTSC models. -- gentoo-user@gentoo.org mailing list -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage Storage using SVN
On 7/23/06, Neil Bothwick [EMAIL PROTECTED] wrote: On Sun, 23 Jul 2006 02:42:43 -0600, Trenton Adams wrote: Let's say openldap had a problem. So, we decide to mask the latest version of openldap, in an effort to roll back to the version that was working. Well, we find out that openldap still does not work. So, we finally determine that it is library W. So, now we mask library W, in an attempt to roll back to the version that was working. Oh no, now we find out that library W is used by 20 other packages, that require the latest version of library W in order to work. So, now we have to mask library W, and 20 packages in order to get our openldap system functional, assuming you cared about the 20 other broken packages, which may break other packages, which may break yet other packages. Wouldn't it be nice to just go emerge --revert-portage, which goes back to the last exported copy of the portage, that you had from subversion? Boy, would that ever be convenient. It would be simple enough to store a local history of portage tags that the user was using in the past. Wouldn't that revert the whole of portage, not just the parts affecting ldap, W and the rest? All of a sudden emerge world wants to downgrade previously upgraded programs, some of which may have been updated for security reasons. This means the user has to go through the Changelogs, ebuild and package.mask to find out why they are being downgraded and whether to apply the downgrade. this would be far more work that package masking a few updates dependent on W, which could probably be scripted. Yes, it would revert the whole portage, and that would be desired, so as to be up quickly. It could potentially take hours to figure out which packages are being affected by a broken updated package. But, perhaps it would be better to write a utility that will downgrade a package, as well as all dependencies. Or does this already happen when you downgrade? -- Neil Bothwick BASIC: Bill's Attempt to Seize Industry Control -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage Storage using SVN
On 7/23/06, Hans-Werner Hilse [EMAIL PROTECTED] wrote: Hi, On Sun, 23 Jul 2006 02:42:43 -0600 Trenton Adams [EMAIL PROTECTED] wrote: I proposed this awhile back, and got shot down. At the time, the arguments for using SVN for portage storage were pretty shallow, and someone was able to easily shoot them down. I believe I have come up with better reasoning for using SVN. Someone may still shoot them down, but hey, it's worth a try. #1: You're aware that there's a CVS for portage, aren't you? I'm still not quite sure if you are suggesting using SVN for the portage mirrors and if you are suggesting that users also have a full SVN history on the clients, too? No, not a full history, just a tag history. PROBLEM 1 [...] PROBLEM 2 [...] PROBLEM 3 [...] Well, are those really problems at all? I mean, isn't it easy to overcome them? Is it worth dedicating time and work into that svn thing? I'm not sure, is it? Is there scripts already out there to overcome the problems suggested? If there are, I would sure appreciate knowing about them. :) It could be a lack of my understanding how the portage downgrade process works. But if you downgrade a package, will it downgrade all the packages depending on that version as well? POTENTIAL ISSUES Now, I'm not entirely sure of the performance implications of subversion for this purpose. So, that would definitely have to either be tested, or someone would have to talk with the subversion folks to know if it would be a problem for thousands of users to access subversion in readonly mode. Well, of course! There's definately a reason to use rsync. It would certainly be annoying for a developer to go svn commit, and have to wait for half an hour because everyone else is updating their local copies. But, that could be solved by mirrors only getting updated once every day, at 12 midnight. Oh, yeah. Your midnight, my midnight? It would definately be annoying to make a small glitch and have to wait 24hrs until the fix for that gets promoted. The problem you mentioned that at some points there are slightly errorneous ebuilds in portage or minor inconsistencies can only be fixed by promoting updates fast. That's true, and I suppose that's not quite as good as what exists right now. But does gentoo really have less than 24 hour bug fix turn arounds? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage Storage using SVN
On Sunday 23 July 2006 10:42, Trenton Adams wrote: Hi guys, I proposed this awhile back, and got shot down. At the time, the arguments for using SVN for portage storage were pretty shallow, and someone was able to easily shoot them down. I believe I have come up with better reasoning for using SVN. Someone may still shoot them down, but hey, it's worth a try. PROBLEM 1 Let's say openldap had a problem. So, we decide to mask the latest version of openldap, in an effort to roll back to the version that was working. Well, we find out that openldap still does not work. So, we finally determine that it is library W. So, now we mask library W, in an attempt to roll back to the version that was working. Oh no, now we find out that library W is used by 20 other packages, that require the latest version of library W in order to work. So, now we have to mask library W, and 20 packages in order to get our openldap system functional, assuming you cared about the 20 other broken packages, which may break other packages, which may break yet other packages. no, you don't. You put a dependency for libraryW version XY-working into the openldap related ebuilds. Wouldn't it be nice to just go emerge --revert-portage, which goes back to the last exported copy of the portage, that you had from subversion? Boy, would that ever be convenient. It would be simple enough to store a local history of portage tags that the user was using in the past. why not do a normal emerge sync emerge -au world? the updated openldap package will pull in the right library W, and if other apps need library W+1, well that is where slots are used. Your problem is none. It is solved every day within the portage tree. No svn needed for that. PROBLEM 3 Don't sync more than once a day, or you may be temporarily banned? Well, with SVN being tagged only once a day, there would be no need to worry about this, seeing that you are banned because of the enormous waste of bandwidth if you sync every odd hours. I don't see where svn would resolve that. Even if all mirrors would only updated once a day (what a nightmare - a broken package may stay for 24h or more in the tree, instead being replaced as soon as the dev notices), there would be people syncing more than once in 24h. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xorg 7, i810, and no 1600x1200
Jakub Łukomski wrote: hi, i recently upgraded xorg-x11 to 7.0-r1. after the upgrade everything works fine, except one thing. 1600x1200 resolution stopped working (it worked fine in 6.8). I had a similar problem. I run dual 21 monitors both at home and the office (I physically move the system unit but not the monitors). The office monitors (Nokia 445XiPlus) would not accept the 1600x1200 resolution. I noticed in their spec that they also support 1600x1280. So added 1600x1280 to the Device section, MetaModes option. And they worked. So at home I now have 3200x1200, and the office runs at 3200x1280 automatically. HTH, Roy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
what does ls -l /etc/init.d/net* tell you? On Sun, 23 Jul 2006 19:28:37 +0300 Adrian Vraciu wrote: On Sunday 23 July 2006 19:19, Randy Barlow wrote: nothing interesting there :( Adrian Vraciu wrote: On Sunday 23 July 2006 17:41, Zinn, Stefan wrote: did you saw some interesting hints? i can't find one, right now i'm very frustrated about this issue. I think he meant to check /var/log/messages - anything interesting in there? R -- Best Regards, Adrian Vraciu -- gentoo-user@gentoo.org mailing list -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] nvidia-drivers and revdep-rebuild problems
060723 billydw wrote: I am pretty much a Gentoo newbie, but less so with linux. I have successfully installed Gentoo 2006.0 from the Universal Install CD (amd64 arch). I have Xorg-x11 7.0 emerged and I think configured correctly - no unresolved EEs or WWs in /var/log/Xorg.0.log. Using startx brings up twm and it looks fine. I first emerged nvidia-glx and nvidia-kernel. While running # revdep-rebuild, I get this message: It's not clear what your problem is: what is it which is not working ? If it's only that you're getting messages re running Revdep-rebuild given that you're a newcomer to Gentoo, the answer is probably simply that R-r is an imperfect tool more often than not cb ignored. Sometimes the emerge output warns you to run R-r, but when you do -- with '--pretend' -- , it simply wants to remerge the same package ! So if nothing is noticeably wrong, just ignore the R-r warnings. -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban Community Studies TRANSIT`-O--O---' University of Toronto -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network is not starting
On Monday 24 July 2006 06:38, Nick Rout wrote: $ ls -l /etc/init.d/net* lrwxrwxrwx 1 root root 6 Jul 23 20:27 /etc/init.d/net.eth0 - net.lo lrwxrwxrwx 1 root root18 Jul 23 17:47 /etc/init.d/net.eth1 - /etc/init.d/net.lo -rwxr-xr-x 1 root root 24324 Jul 23 20:27 /etc/init.d/net.lo -rwxr-xr-x 1 root root 3046 Jul 23 20:27 /etc/init.d/netmount what does ls -l /etc/init.d/net* tell you? On Sun, 23 Jul 2006 19:28:37 +0300 Adrian Vraciu wrote: On Sunday 23 July 2006 19:19, Randy Barlow wrote: nothing interesting there :( Adrian Vraciu wrote: On Sunday 23 July 2006 17:41, Zinn, Stefan wrote: did you saw some interesting hints? i can't find one, right now i'm very frustrated about this issue. I think he meant to check /var/log/messages - anything interesting in there? R -- Best Regards, Adrian Vraciu -- gentoo-user@gentoo.org mailing list -- Nick Rout [EMAIL PROTECTED] -- Best Regards, Adrian Vraciu -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Download (low power) mode - do not wake up by mouse
On 7/23/06, Robert Cernansky [EMAIL PROTECTED] wrote: I want to turn off the Graphic Card with command: xset dpms force off The problem is that screen turns on at _any_ keyboard/mouse event. So I often accidentally touch the mouse and screen turns on. How can I disable waking up on these events? AFAIK you cannot. Well, unless your mouse can be disconnected that is. But you could do xset dpms 0 0 5, which would turn off the display after 5 seconds of inactivity. So if you touch the mouse, the display will come back on, but then it will turn off again in 5 seconds. You can also set the screen brightness to minimum, to minimize the power draw when it does turn on. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't recompile vmware modules
On 7/22/06, Vladimir G. Ivanovic [EMAIL PROTECTED] wrote: When I run vmware-config.pl, I get the following error: Building for VMware Workstation 5.5.x. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config0/vmmon-only' Makefile:127: *** Inappropriate build environment: you wanted to use gcc version while kernel attempts to use gcc version 4.1.1. What is the output of: 1. cat /proc/version 2. gcc -v 3. gcc-config -l -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] PORTAGE_ELOG error
Grant schrieb: I'm getting this on my laptop: !!! A network error occured while trying to send logmail:\n(111, 'Connection refused')\nSure you configured PORTAGE_ELOG_MAILURI correctly? I have this in make.conf: PORTAGE_ELOG_CLASSES=info warn error log PORTAGE_ELOG_SYSTEM=save mail PORTAGE_ELOG_MAILURI=[EMAIL PROTECTED] localhost Now, it would help, if *ALL* of us (which foremost includes ME!) would read the documentation ;) In this case, make.conf.example: # PORTAGE_ELOG_MAILURI: this variable holds all important settings for the mail # module. In most cases listing the recipient address and # the receiving mailserver should be sufficient, but you can # also use advanced settings like authentication or TLS. The # full syntax is: # address [[user:[EMAIL PROTECTED]:port]] # where # address:recipient address # user: username for smtp auth (defaults to none) # passwd: password for smtp auth (defaults to none) # mailserver: smtp server that should be used to deliver the mail (defaults to localhost) # alternatively this can also be a the path to a sendmail binary if you don't want to use smtp # port: port to use on the given smtp server (defaults to 25, values 10 indicate that starttls should be used on (port-10)) Of interest is the following: # mailserver: smtp server that should be used to deliver the mail (defaults to localhost) # alternatively this can also be a the path to a sendmail binary if you don't want to use smtp So, the correct entry for your make.conf is: PORTAGE_ELOG_MAILURI=[EMAIL PROTECTED] /usr/sbin/sendmail Sorry for all the confusion - I should've read the documentation first. Alexander Skwar -- I'd love to go out with you, but I have to floss my cat. -- gentoo-user@gentoo.org mailing list