Re: [gentoo-user] [OT] PGP User Groups?

2009-10-01 Thread Eric Martin
Dan Cowsill wrote:
 Hello list,

 I've noticed that with linux geekery comes the pursuit of PGP-based
 email privacy.  A great many frequent posters to this illustrious list
 boast PGP keypairs and frequently sign their correspondences.  Some of
 you even have photo ID's of yourselves in your public keys!  (Hello Neil!)

 Unfortunately, like many of you, I am not an international spy and don't
 have much to protect with this awesome encryption technology.  This
 leads me to wonder if anyone has ever heard of any PGP user groups that
 frequently employ encryption and do key signing and the like?

 Thanks guys!

 DC

   
Both Linux User Groups that I'm in have PGP key signings on a regular
basis.  I think that starts to answer your question...

-- 
Eric Martin



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: runlevels and service list

2009-09-26 Thread Eric Martin
walt wrote:
 On 09/20/2009 05:40 PM, Dale wrote:
 walt wrote:
 In linux bash is the default shell (even sh is a symlink to bash)
 but in
 other OS's other default shells prevail.

 Okay, okay, Alan, you're right, I have not tried every linux distro
 out there,
 but when I was a linux noob I tried every one I could find.  Back then
 that was
 Debian, SuSe, Red Hat, Mandrake (since morphed into something else),
 and very
 recently Ubuntu, just to see what all the fuss was about. (I'm
 sticking with
 gentoo.)

 All of those use(d) bash as the default shell, but may have switched
 while I
 wasn't looking.  Bash *appears* to be the official shell of GNU, as
 its home
 page is hosted there:  http://www.gnu.org/software/bash/

 BTW, all of the above distros including gentoo are officially
 un-endorsed by
 GNU:  http://www.gnu.org/philosophy/common-distros.html
Actually, /bin/bash is a symlink - /bin/dash on Ubuntu so dash (Debian
ash) is the default shell on Ubuntu (and either dash or ash is on
Debian).  I found that out the hard way when I was scripting and some
bash stuff wouldn't work properly.

-- 
Eric Martin
D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] mythfilldatabase

2009-07-03 Thread Eric Martin
gigli wrote:
 Hi

 Can anyone help me. A newly installed gentoo amd64 system, using funtoo,
 and mythtv database and setting imported from a backup.

 When i run mythfilldatabase i got the following error.

 2009-07-02 19:22:46.122 Connected to database 'mythconverg' at host:
 localhost
 2009-07-02 19:22:46.147 XMLTV config file is: /home/martin/.mythtv/DVB.xmltv
 Empty String at /usr/bin/tv_grab_se_swedb line 348
 2009-07-02 19:22:46.946 FAILED: xmltv returned error code 2304.
 2009-07-02 19:22:46.956 Error in 1:1: unexpected end of file

 And thats all. I can't understand where the problems lie. I have perl
 5.10 and xmltv 0.5.50

 Happy if anyone could help me.

 Regards Martin

   

Googling didn't bring up anything specific other than a few others
having the problem.  This ubuntu post [1] has you editing some files but
you shouldn't have to in gentoo.  I'm running myth as well, what version
are you running?  I'm looking at the schedules direct page right now [1]
but I can't find anything.  They are the ones that supply the xmltv data.

[1] http://ubuntuforums.org/showthread.php?t=1063978

[2] www.schedulesdirect.com

HTH
-- 
Eric



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] mythfilldatabase

2009-07-03 Thread Eric Martin
gigli wrote:
 gigli wrote:
   
 Hi

 Can anyone help me. A newly installed gentoo amd64 system, using funtoo,
 and mythtv database and setting imported from a backup.

 When i run mythfilldatabase i got the following error.

 2009-07-02 19:22:46.122 Connected to database 'mythconverg' at host:
 localhost
 2009-07-02 19:22:46.147 XMLTV config file is:
 
 /home/martin/.mythtv/DVB.xmltv
   
 Empty String at /usr/bin/tv_grab_se_swedb line 348
 2009-07-02 19:22:46.946 FAILED: xmltv returned error code 2304.
 2009-07-02 19:22:46.956 Error in 1:1: unexpected end of file

 And thats all. I can't understand where the problems lie. I have perl
 5.10 and xmltv 0.5.50

 Happy if anyone could help me.

 Regards Martin


 

 Googling didn't bring up anything specific other than a few others
 having the problem.  This ubuntu post [1] has you editing some files but
 you shouldn't have to in gentoo.  I'm running myth as well, what version
 are you running?  I'm looking at the schedules direct page right now [1]
 but I can't find anything.  They are the ones that supply the xmltv data.

 [1] http://ubuntuforums.org/showthread.php?t=1063978

 [2] www.schedulesdirect.com

 HTH
   

I'm using mythtv-0.21_p19961-r2 and xmltv 0.5.50 and i don't understand
if the problem lies within mythtvs mythfilldatabase or in xmltv. I have
rebuilt all dependencies. Downgraded xmltv and mythtv with the same
results.

It worked june 15, since then i gave Ubuntu a try since nuvexport and
ffmpeg does not work in gentoo, it didn't in Ubuntu either
(mythfilldatabase worked thou), reinstalled gentoo, and now i have this

I'm running mythtv-0.20.2_p14301 and not using xmltv at all.  do you need xmltv 
with the new version 
problem.  I just ran mythfilldatabase and I'm not having a problem, so I doubt 
it's the service.  Are you getting this error when you run mythfilldatabase by 
hand, or a cron job?

-- 
eric




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] md5sum mismatch, upgrade from torrent, fsck

2009-05-23 Thread Eric Martin
Thufir wrote:
 I suppose I'll have to re-download the iso if the md5sum doesn't match 
 (which it doesn't per https://help.ubuntu.com/community/
 UbuntuHashes#9.04)?  The problem is that the iso is corrupted?
   
Do the md5sums match?  If they do you downloaded the cd fine.  If not,
redownload
 thu...@arrakis:~/Desktop$ 
 thu...@arrakis:~/Desktop$ 
 thu...@arrakis:~/Desktop$ sudo mount -o loop ~/Desktop/ubuntu-9.04-
 alternate-i386.iso /media/cdrom0
 mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so

 thu...@arrakis:~/Desktop$  dmesg | tail
 [  461.450949] kjournald starting.  Commit interval 5 seconds
 [  461.451532] EXT3-fs warning: maximal mount count reached, running 
 e2fsck is recommended
 [  461.488324] EXT3 FS on sda1, internal journal
 [  461.488342] EXT3-fs: mounted filesystem with ordered data mode.
 [  616.822097] ISO 9660 Extensions: Microsoft Joliet Level 3
 [  616.993243] ISOFS: changing to secondary root
 [  617.046821] isofs_fill_super: root inode is not a directory. Corrupted 
 media?
 [  636.444512] ISO 9660 Extensions: Microsoft Joliet Level 3
 [  636.446011] ISOFS: changing to secondary root
 [  636.447168] isofs_fill_super: root inode is not a directory. Corrupted 
 media?
 thu...@arrakis:~/Desktop$ 
 thu...@arrakis:~/Desktop$ md5sum ubuntu-9.04-alternate-i386.iso 
 1dd3245e86b89b38abb01814b05ae299  ubuntu-9.04-alternate-i386.iso
   
You need to grab the md5sum file and run md5sum -c (md5sumfile)
 thu...@arrakis:~/Desktop$ 
 thu...@arrakis:~/Desktop$ sudo e2fsck -yv /dev/sda1
 [sudo] password for thufir: 
 e2fsck 1.41.3 (12-Oct-2008)
 /dev/sda1 is mounted.  
   
What is /dev/sda1?  On most of my machines that's boot, although I won't
assume anything.  Also, I believe you can mount stuff read only via
mount -o ro,remount mountpoint and fsck will be *much* happier.
 WARNING!!!  Running e2fsck on a mounted filesystem may cause
 SEVERE filesystem damage.

 Do you really want to continue (y/n)? no

 check aborted.
 thu...@arrakis:~/Desktop$ 


 I wasn't quite sure how to run fsck without a live cd...

 out of curiosity, when I tried to download via the torrent the speed 
 seemed exactly the same as directly downloading the iso but the progress 
 was painfully slow versus directly downloading the CD (which I'll do 
 again).

   
Torrents speeds are based on your peers and isps.  Downloads the
traditional ways are direct connections to one server.  Torrents should
be faster but ISPs throttle you quite frequently. I hope this answered
everything :)
 thanks,

 Thufir

   
-- 
Eric




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: MAC addresses

2009-04-30 Thread Eric Martin
Anthony Metcalf wrote:
 Sergey A. Kobzar wrote:
   
 James, thank you for the useful tip. The output of macchanger:
 # macchanger eth1
 Current MAC: 00:15:17:1a:6e:6d (Intel Corporate)
 Faked MAC:   00:15:17:1a:6e:6e (Intel Corporate)


 # macchanger eth0
 Current MAC: 00:15:17:1a:6e:6c (Intel Corporate)
 Faked MAC:   00:15:17:1a:6e:6d (Intel Corporate)


 How is it possible? I thought NIC has one MAC only.What does mean
 'Faked MAC'?
   
 
 Current MAC = MAC in firmware on the card, Faked MAC = MAC the OS is
 telling the network?


   
yes, you can set the mac to what ever you want.  There's a line in
/etc/conf.d/net that explains how to do this (with macchanger).





signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] [OT]UPS battery dead?

2009-04-30 Thread Eric Martin
Mark Knecht wrote:
 On Thu, Apr 30, 2009 at 10:31 AM, maxim wexler bliss...@yahoo.com wrote:
   
 
 Unplug all your electronic devices and plug in a lamp with
 a 100 Watt
 incandescent light build. With the lamp on unplug the UPS
 from the
 wall and see what happens. If the battery is dead it won't
 last all
 that long.
   
 Gave ~5 mins. So I let it charge for 24 hrs now it gives me 36 mins. Which 
 is wierd; what happened to all that charge? I haven't had to use it for 6-7 
 mons. Isn't the unit supposed to stay topped-up?
 

 Well, assuming it was a 100 Watt incandescent that really draws 100
 Watts, then that's probably 1/2 to 1/3 the draw of a typical desktop
 PC implying you would get 12-18 minutes before shutdown. (Really rough
 ideas - just numbers, etc. Don't take it too seriously.)

   
snip
 Another thing: When I do the remove-the-usb-cable test I don't see the 
 communication lost error in apcupsd.events until I switch the dial-up off 
 and on quickly!

 In the conf file I have DEVICE: /dev/ttyS[0-3] because the default, 
 /dev/ttyS0, locks out the modem. But why does the UPS need to know about 
 serial ports? It connects by this funny RJ-45/USB cable. I wonder does the 
 manufacturer assume the serial port won't be used?
 

 Strange stuff but above my pay grade...

 - Mark

   

It's not supposed to say DEVICE /dev/ttyS0 for USB, it should just be
blank as per /etc/apcupsd/apcupsd.conf



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] [OT]UPS battery dead?

2009-04-28 Thread Eric Martin
maxim wexler wrote:
 Only 2.8mins left? The UPS unit, fairly common I suspect, is a Back-UPS ES 
 350 and less than a year old. It only saw service once last year during an 
 electric storm when the house power failed for a few minutes. Why isn't it 
 charging. Or is it? It says BATTDATE 2000-00-00. Huh?

 I'd like to test it further but the apcupsd manual recommends at least 5mins 
 time left. If I just unplug it from the back of the PC, will it charge? Is 
 the battery caput?

 Maxim
I had a similar problem at work (but with the windows client).  APC told
me to charge the UPS overnight with 0 load and then see what that run
time is after performing a self test.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Is this firewall safe?

2009-04-27 Thread Eric Martin
Marco wrote:
 On Fri, Apr 24, 2009 at 4:59 PM, Eric Martin freak4u...@gmail.com wrote:
   
 Marco wrote:
 
 Hi all,

 I set up my first firewall on my notebook (not running any services
 reachable from outside) using iptables. Since I am new to the topic,
 could you please verify if the output of 'iptables -L -v' is
 considered to be a safe firewall? Thanks!

 Chain INPUT (policy DROP 0 packets, 0 bytes)
  pkts bytes target prot opt in out source
 destination
 0 0 ACCEPT all  --  lo any anywhere
 anywhere
 0 0 ACCEPT all  --  eth0   any anywhere
 anywherestate RELATED,ESTABLISHED
 0 0 REJECT tcp  --  eth0   any anywhere
 anywherereject-with tcp-reset
 0 0 REJECT udp  --  eth0   any anywhere
 anywherereject-with icmp-port-unreachable
 0 0 DROP   udp  --  eth0   any anywhere
 anywhereudp spt:bootps
 0 0 LOGall  --  eth0   any anywhere
 anywhereLOG level warning prefix `INPUT   '
 179 ACCEPT all  --  wlan0  any anywhere
 anywherestate RELATED,ESTABLISHED
 0 0 REJECT tcp  --  wlan0  any anywhere
 anywherereject-with tcp-reset
 0 0 REJECT udp  --  wlan0  any anywhere
 anywherereject-with icmp-port-unreachable
 0 0 DROP   udp  --  wlan0  any anywhere
 anywhereudp spt:bootps
 0 0 LOGall  --  wlan0  any anywhere
 anywhereLOG level warning prefix `INPUT   '

 Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
  pkts bytes target prot opt in out source
 destination
 0 0 LOGall  --  anyany anywhere
 anywhereLOG level warning prefix `FORWARD '
 0 0 LOGall  --  anyany anywhere
 anywhereLOG level warning prefix `FORWARD '

 Chain OUTPUT (policy ACCEPT 5 packets, 1691 bytes)
  pkts bytes target prot opt in out source
 destination
 0 0 ACCEPT all  --  anylo  anywhere
 anywhere
 0 0 LOGall  --  anyeth0anywhere
 anywhereLOG level warning prefix `OUTPUT  '
 152 LOGall  --  anywlan0   anywhere
 anywhereLOG level warning prefix `OUTPUT  '

   
   
snip
 Sorry for the bad format. gmail decided to insert some sub ideal pagebreaks...

 Talking about the 1 log line at the bottom you mean I should configure
 it to not specify an interface (eth0, wlan0)?

 Thanks!

   
Yeah, not specifying an interface for the log rule to apply to will make
it catch all interfaces (including lo but all traffic has already been
approved ahead of time so it won't catch).



Re: [gentoo-user] Is this firewall safe?

2009-04-24 Thread Eric Martin
Marco wrote:
 Hi all,

 I set up my first firewall on my notebook (not running any services
 reachable from outside) using iptables. Since I am new to the topic,
 could you please verify if the output of 'iptables -L -v' is
 considered to be a safe firewall? Thanks!

 Chain INPUT (policy DROP 0 packets, 0 bytes)
  pkts bytes target prot opt in out source
 destination
 0 0 ACCEPT all  --  lo any anywhere
 anywhere
 0 0 ACCEPT all  --  eth0   any anywhere
 anywherestate RELATED,ESTABLISHED
 0 0 REJECT tcp  --  eth0   any anywhere
 anywherereject-with tcp-reset
 0 0 REJECT udp  --  eth0   any anywhere
 anywherereject-with icmp-port-unreachable
 0 0 DROP   udp  --  eth0   any anywhere
 anywhereudp spt:bootps
 0 0 LOGall  --  eth0   any anywhere
 anywhereLOG level warning prefix `INPUT   '
 179 ACCEPT all  --  wlan0  any anywhere
 anywherestate RELATED,ESTABLISHED
 0 0 REJECT tcp  --  wlan0  any anywhere
 anywherereject-with tcp-reset
 0 0 REJECT udp  --  wlan0  any anywhere
 anywherereject-with icmp-port-unreachable
 0 0 DROP   udp  --  wlan0  any anywhere
 anywhereudp spt:bootps
 0 0 LOGall  --  wlan0  any anywhere
 anywhereLOG level warning prefix `INPUT   '

 Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
  pkts bytes target prot opt in out source
 destination
 0 0 LOGall  --  anyany anywhere
 anywhereLOG level warning prefix `FORWARD '
 0 0 LOGall  --  anyany anywhere
 anywhereLOG level warning prefix `FORWARD '

 Chain OUTPUT (policy ACCEPT 5 packets, 1691 bytes)
  pkts bytes target prot opt in out source
 destination
 0 0 ACCEPT all  --  anylo  anywhere
 anywhere
 0 0 LOGall  --  anyeth0anywhere
 anywhereLOG level warning prefix `OUTPUT  '
 152 LOGall  --  anywlan0   anywhere
 anywhereLOG level warning prefix `OUTPUT  '

   
It all depends on what you're trying to do.  My internet facing boxes
have a default OUTPUT policy of DROP and I only allow certain traffic
off of the box (helps protect me from unauthorized services).  Also,
you're dropping bootps (same ports as dhcp) on udp so I don't think you
can get a dhcp address like that.  If you're running any services you
won't be able to talk to them (ssh).  Turn off forwarding in the kernel
config (via /etc/sysctl.conf) as well.

It also took me a few runs to figure out the firewall config (due to the
rules and formatting).  The last two output rules can be combined into
one.  Have 1 log line at the bottom of your tables and that will take
care of that.  Clean and short configs will help immensely when things
don't work.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] unable to shutdown or halt cleanly (console-kit and esd not killed)

2009-04-18 Thread Eric Martin
Allan Gottlieb wrote:
 At Fri, 10 Apr 2009 17:36:24 -0400 Eric Martin freak4u...@gmail.com wrote:
 
 Do you have any nfs mounts?  I find that I have problems shutting down
 as well and I suspect it's because I'm turning off eth0 before
 unmounting my shares.  I need to do more research though so I can back
 this up.
 
 Yes I have an nsf mount, but it seems to be unmounting.  The problem is
 definitely that console-kit-daemon does not die and thus has open files
 in usr so it can't be unmounted.
 
 (I am using LVM2)
 
 thanks for you help,
 allan
 

I'm running LVM as well and I have nfs but I didn't know until I just
looked.  Lately it's been working ok so next time it happens I'll check
if that daemon is running.

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] unable to shutdown or halt cleanly (console-kit and esd not killed)

2009-04-10 Thread Eric Martin
Do you have any nfs mounts?  I find that I have problems shutting down
as well and I suspect it's because I'm turning off eth0 before
unmounting my shares.  I need to do more research though so I can back
this up.

On 4/8/09, Allan Gottlieb gottl...@nyu.edu wrote:
 Often (now, perhaps always) when I try to halt using either
halt
 from the command line or the
shutdown
 option from the gnome dialog box at the welcome screen
 the effort fails.

 If I try to shutdown from gnome, the shutdown hangs at
 the unmounting file systems.

 I then tried
shutdown now
 from a text terminal.
 When in single user mode, I tried
umount -a
 which indicated that several filesystems were still busy.

 I tried
lsof
 and noticed that console-kit-daemon and esd
 were still running.

 I manually kill console-kit-daemon and can then halt.

 /var/log/messages contains
 Apr  8 00:32:46 allan console-kit-daemon[6139]: GLib-CRITICAL:
 g_async_queue_unref: assertion `queue-waiting_threads == 0' failed

 I would appreciate help in understanding why policy-kit-daemon is not
 terminating on a normal system shutdown.

 thanks,
 allan





Re: [gentoo-user] svn broken ?

2009-03-27 Thread Eric Martin
Helmut Jarausch wrote:
 Hi,
 
 has anyone the same problems?
 
 I'm updating a Gentoo system and now 'svn' is broken
 
 For all sites I've tried I get
 svn: OPTIONS of 'http://svn.python.org/projects/python/branches/py3k': could 
 not connect to server (http://svn.python.org)
 I have upgraded to dev-util/subversion-1.5.6  and net-misc/neon-0.28.4
 
 Thanks for a hint,
 Helmut.
 
 
Have you tried just connecting with a browser?  It could be a problem w/
the server.  Also, what is the syntax of the command you're using?

svn co http://svn.python.org/projects/python/branches/p3yk

?

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] linux boot logo in 2.6.29-gentoo sources

2009-03-27 Thread Eric Martin
Jorge Morais wrote:
 On Fri, 27 Mar 2009 03:36:41 +0500
 Mike Kazantsev mike_kazant...@fraggod.net wrote:
 
 On Thu, 26 Mar 2009 19:13:38 -0300
 Jorge Morais please.no.spam.h...@gmail.com wrote:

 If you had upgraded because of a needed feature, I assume you would
 have read about the release, and thus would know about Tuz.
 So you upgraded to a ~arch kernel without any need.
 Why?
 The question is probably not adressed to me, but...

 It's still a way to check out these new features hands-on :)
 It's a kernel.
 And while it's ~arch on gentoo, it's actually marked 'stable' by
 developers, and, since gentoo ebuild does pretty much nothing but
 unpacking it, it should be pretty much as stable as any non-~arch
 package.

 
 Even if it already released, it has a higher chance of bugs than a 
 more established kernel.
 
 Waiting for the package to become stable on Gentoo is not just about
 ebuild bugs; it is also about waiting for enough users in general to
 test the upstream package, and Gentoo users in particular to test the
 package within Gentoo.
 
 And I don't know about the usual quality of brand new Linux
 releases, but in general, I believe upstream developers want to
 release early (to get testers and updated contributions), while
 a distribution may wait until the software is ready and tested.
 

 Cheers,
 Jorge
 

I personally do it to get all of the code updates.  all of my boxes are
on ~arch for gentoo-sources / hardened-sources and I haven't had 1
problem yet.  Also, the kernel is the last place that you want to drag
your feet for updates.  If there's a bug in the kernel I want to have it
fixed asap.  Granted you can also argue that I'm injecting buggy code.
It's two sides of the same coin.

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] linux boot logo in 2.6.29-gentoo sources

2009-03-27 Thread Eric Martin
Jorge Morais wrote:
 On Fri, 27 Mar 2009 11:48:22 -0400
 Eric Martin freak4u...@gmail.com wrote:
 
 Also, the kernel is the last place that you want to drag
 your feet for updates.  If there's a bug in the kernel I want to have it
 fixed asap.  Granted you can also argue that I'm injecting buggy code.
 It's two sides of the same coin.

 Come on, that is what bugfix releases are for.
 Gentoo-sources is patched for bugs.
 I prefer to use vanilla-sources, so I rely on upstream's bugfix
 releases. Currently I use 2.6.27.21. I will stop using 2.6.27.x
 when a later version becomes gentoo-stable, and either
 1) upstream stops bugfixing 2.6.27
 2) 2.6.27 lacks a feature I want
 3) 2.6.27 becomes so old that I fear it might be incompatible
 with the rest of Gentoo.
 
 Probably 1 or 2 will happen much earlier than 3.
 
 PS: I of course know that sys-kernel/vanilla-sources-2.6.27.21
 is currently ~x86, but my rationale is that 2.6.27 is Gentoo-stable,
 and I want the latest bugfix release from the stable release family
 I am using. I don't know why, in the case of the 2.6.27.x version,
 the Gentoo kernel team is taking so long to stabilize the latest
 bugfix release.
 
 PS2: If something I said sounds strange, remember English is my second
 language.
 


Like I said, you're waiting for x months (I think it's 3) for the gentoo
teams to mark it from ~arch - arch.  That's 3 months that you don't
have bug fixes in.

N matter what though, the most important thing to remember is to do what
you're comfortable with.  While I think that Gentoo is the greatest
distro of the greatest OS, me suggesting it to somebody who can't learn
how to use it is foolish, people need to be comfortable and happy with
the solution.

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] [OT] chess software and libraries

2009-03-27 Thread Eric Martin
Andrew Gaydenko wrote:
 Hi!
 
 I suppose, there may be some kind of open (free net-accessible) libraries 
 whith chess tasks like two-move checkmate (something for beginners). Are 
 there 
 such libraries? Is there appropriate software in the protage tree to access 
 these libraries?
 
is this what you're looking for? app-misc/chesstask

I haven't used it myself but it sounds good.

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Usernames in ssh attacks

2009-03-20 Thread Eric Martin
Paul Hartman wrote:
 On Thu, Mar 19, 2009 at 10:36 AM, Johan Blåbäck
 johan.bluecr...@gmail.com wrote:
 I've always had usernames when it comes to sshd's log entries in
 auth.log, like the following:

 time hostname sshd[5926]: error: PAM: Authentication failure for
 username from ip-adress
 
 Well, I don't use PAM, just key-based authentication only, so I always
 see only the IP getting rejected since it doesn't even give them a
 place to try a user/password :) It's just weird that it is refusing a
 connection from u...@domain rather than simply the IP. I guess they
 could be trying to ssh u...@myhost.net or something.  The one with
 [U2FsdGVkX19g32YZVKMsQkl+mouWITILOicY4Iq9OQo=] as the username is
 interesting. I wonder what that's all about.
 

I too use only PubKey but they need to send a username so ssh knows
where to look for the public key.  Your two options boil down to

1) install fail2ban (I installed it on all of my external ssh boxes and
I love it)
2) change the ssh port to something other than 22 (Security by Obscurity
 but it frees up your logs so you can see real problems).

The two may me mutually exclusive as I'm not sure if you can tweak
fail2ban's ssh rules to monitor another port.

I just chock it up as log spam unless I see definite bad patterns.  But
again, with public key access only and banning root from logging in via
ssh I don't think anybody is getting far unless there is a flaw in ssh.

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Usernames in ssh attacks

2009-03-20 Thread Eric Martin
Paul Hartman wrote:
 On Fri, Mar 20, 2009 at 7:25 AM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 On Thu, Mar 19, 2009 at 10:36 AM, Johan Blåbäck
 johan.bluecr...@gmail.com wrote:
 I've always had usernames when it comes to sshd's log entries in
 auth.log, like the following:

 time hostname sshd[5926]: error: PAM: Authentication failure for
 username from ip-adress
 Well, I don't use PAM, just key-based authentication only, so I always
 see only the IP getting rejected since it doesn't even give them a
 place to try a user/password :) It's just weird that it is refusing a
 connection from u...@domain rather than simply the IP. I guess they
 could be trying to ssh u...@myhost.net or something.  The one with
 [U2FsdGVkX19g32YZVKMsQkl+mouWITILOicY4Iq9OQo=] as the username is
 interesting. I wonder what that's all about.

 I too use only PubKey but they need to send a username so ssh knows
 where to look for the public key.  Your two options boil down to

 1) install fail2ban (I installed it on all of my external ssh boxes and
 I love it)
 2) change the ssh port to something other than 22 (Security by Obscurity
  but it frees up your logs so you can see real problems).

 The two may me mutually exclusive as I'm not sure if you can tweak
 fail2ban's ssh rules to monitor another port.

 I just chock it up as log spam unless I see definite bad patterns.  But
 again, with public key access only and banning root from logging in via
 ssh I don't think anybody is getting far unless there is a flaw in ssh.
 
 Oh, I am not concerned about the attacks. I just thought it was weird
 that I saw u...@domain when I normally see only IP or only domain.
 They are already refused connection as the log shows :)
 
 Thanks,
 Paul
 

yeah, after I read your message I realized that I didn't quite answer
your question.  Somebody mentioned they probably configured the dns PTR
record incorrectly which is my guess.

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] vncviewer Recommendation

2009-02-10 Thread Eric Martin
Drew Tomlinson wrote:
 Aaron Clark wrote:
   
 Drew Tomlinson wrote:
 
 I'm looking for an vncviewer for Linux that has the same features as the
 Tight VNC viewer on Windows.  I really like how the Windows viewer will
 scale the desktop and remember connections.  Also, it's very easy to
 choose between low and high bandwidth connections with the Windows
 version.

 I've installed the TightVNC viewer on my Gentoo box and it does not
 appear to have any of these features.  I'm looking for recommendations.

   
 Did you check the version numbers for the two TightVNC clients?  You
 might need to switch to a ~arch version of Tight on Gentoo if the
 stable version is too old.

 If you're running Gnome, you could also take a look at Vinagre as a
 client.  It does connection bookmarking, multiple connections on tabs,
 etc.
 

 Thanks to all for the suggestions.  My TightVNC on Linux is version
 1.3.9 and is from net-misc/tightvnc-1.3.9-r2.  As I am using Gnome, I've
 installed Vinagre and it appears to be what I need.  I just wish there
 was some way to scroll in fullscreen mode.

 Thanks,

 Drew

   
this is probably a moot point, but nobody decided to ask.  What features
was tightvnc missing under GNU/Linux?



Re: [gentoo-user] Any good instructions for creating a Live CD?

2009-01-23 Thread Eric Martin
Mark Knecht wrote:
 Hi all,
From a thread on another list (pro-audio/music oriented) we're
 thinking about creating our own Live CD. I'd like this at least
 initially to be based on Gentoo. Are there any good, up-to-date
 instructions around about how to do this?
 
In Google Books I found something called Linux Live CDs:Building
 and Customizing Bootables. It had the following link which is dead.
 Did it move somewhere? I cannot find it yet.
 
 http://gentoo-wiki.com/HOWTO_build_a_LiveCD_from_Scratch
 
I found this in the forums. Any idea about how well it might work?
 
 http://forums.gentoo.org/viewtopic.php?t=244837
 
There's a section talking about Catalyst. The first thing is says
 is that it's not for the casual user. On a scale of 1-10 how difficult
 is something like this? (I suspect that if I have to ask it's too
 difficult.) ;-)
 
Also this for general info:
 
 http://www.livecdlist.com/wiki/index.php/LiveCD_Creation_Resources
 
Most interesting to me would be something like cloning an already
 up-and-running system. Is that possible?
 
 Thanks in advance,
 Mark
 

Cloning a live system is pretty easy. I'm using a live usb boot device
based off of the gentoo-amd64 minimal cd (and I'm adding more as I go).
 The liveUSB howto [1] on docs.gentoo.org is great and will answer most
questions.

[1] http://www.gentoo.org/doc/en/liveusb.xml
-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Powertop constantly tells me to enable USB suspend, but it is already enabled

2009-01-22 Thread Eric Martin
Paul Hartman wrote:
 On Tue, Jan 20, 2009 at 8:06 PM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 Hi,

 As the subject line says, powertop constantly tells me my USB devices
 (keyboard/mouse) are active 100% of the time and to enable USB
 suspend, which I do, but it keeps telling me constantly. How can I
 tell if:

 A) USB suspend is actually on or not
 B) powertop is doing anything when I press U

 I've got USB Suspend/resume support in my kernel, and according to the
 kernel docs the usbcore.usbsuspend default delay is 2 (powertop
 suggests changing it to 1).

 Powertop's refresh delay is 5 seconds.

 Thanks,
 Paul


 Check for USB_SUSPEND in /proc/config.gz
 
 I do not have a /proc/config.gz but i have this in /boot/config:
 
 CONFIG_USB_SUSPEND=y
 
Are you sure you're running a kernel with that configured?  Why not
enable kernel .config?  It's [CONFIG_IKCONFIG] General Setup - Kernel
.config support.  Obviously it adds more to your kernel images but it
makes tracking down problems like this very easy.  I too have a usb
keyboard / mouse and I'm pretty sure powertop doesn't register 100% for
those interfaces...  Heck, unless you're 100% opposed to turning on
kernel .config support (or can't reboot the server), turn it on,
recompile, install, reboot and see if CONFIG_USB_SUSPEND is there, and
see what powertop says.

I was trying to chase down a similar problem (disabling kernel options)
when I was getting vmalloc() errors with xfs and I discovered that they
always weren't taking affect.  My guess was I rebooted before cache
could be written to disk.

HTH

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Powertop constantly tells me to enable USB suspend, but it is already enabled

2009-01-22 Thread Eric Martin
Paul Hartman wrote:
 On Thu, Jan 22, 2009 at 7:58 AM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 On Tue, Jan 20, 2009 at 8:06 PM, Eric Martin freak4u...@gmail.com wrote:
 Paul Hartman wrote:
 Hi,

 As the subject line says, powertop constantly tells me my USB devices
 (keyboard/mouse) are active 100% of the time and to enable USB
 suspend, which I do, but it keeps telling me constantly. How can I
 tell if:

 A) USB suspend is actually on or not
 B) powertop is doing anything when I press U


snip



 Check for USB_SUSPEND in /proc/config.gz
 I do not have a /proc/config.gz but i have this in /boot/config:

 CONFIG_USB_SUSPEND=y

 Are you sure you're running a kernel with that configured?  Why not
 enable kernel .config?  It's [CONFIG_IKCONFIG] General Setup - Kernel
 .config support.  Obviously it adds more to your kernel images but it
 makes tracking down problems like this very easy.  I too have a usb
 keyboard / mouse and I'm pretty sure powertop doesn't register 100% for
 those interfaces...  Heck, unless you're 100% opposed to turning on
 kernel .config support (or can't reboot the server), turn it on,
 recompile, install, reboot and see if CONFIG_USB_SUSPEND is there, and
 see what powertop says.

 I was trying to chase down a similar problem (disabling kernel options)
 when I was getting vmalloc() errors with xfs and I discovered that they
 always weren't taking affect.  My guess was I rebooted before cache
 could be written to disk.
 
 Hi,
 
 I actually had it enabled in my kernel, but as a module, and I have
 never used it before so I didn't even realize it was there. I had to
 dig a little to find out that modprobe configs is what I needed to
 turn it on. I have this section:
 
 #
 # Miscellaneous USB options
 #
 CONFIG_USB_DEVICEFS=y
 # CONFIG_USB_DEVICE_CLASS is not set
 # CONFIG_USB_DYNAMIC_MINORS is not set
 CONFIG_USB_SUSPEND=y
 # CONFIG_USB_OTG is not set
 # CONFIG_USB_MON is not set
 # CONFIG_USB_WUSB is not set
 # CONFIG_USB_WUSB_CBAF is not set
 
 So it appears I do have it properly configured, at least.
 
 Is there any way to tell whether or not a device is suspended, or if
 autosuspend is kicking in? I don't know what's it's supposed to do,
 really. Does the fact that I'm using a desktop computer mean that
 there's a chance USB suspend isn't even available?

Ok, now I'm confused.  USB_SUSPEND can't be configured as a module, so I
have no idea what you're talking about.  I apparently don't have it
configured on this machine (shame on me) so I'm recompiling right now,
I'll reboot and let you know so I can help more.

  Again though, the only way I'm 100% sure *anything* is in my running
kernel is by checking /proc/config.gz.  Granted that's not even 100%
because there are plenty of times I just add modules and don't install
the new kernel.


-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Powertop constantly tells me to enable USB suspend, but it is already enabled

2009-01-20 Thread Eric Martin
Paul Hartman wrote:
 Hi,

 As the subject line says, powertop constantly tells me my USB devices
 (keyboard/mouse) are active 100% of the time and to enable USB
 suspend, which I do, but it keeps telling me constantly. How can I
 tell if:

 A) USB suspend is actually on or not
 B) powertop is doing anything when I press U

 I've got USB Suspend/resume support in my kernel, and according to the
 kernel docs the usbcore.usbsuspend default delay is 2 (powertop
 suggests changing it to 1).

 Powertop's refresh delay is 5 seconds.

 Thanks,
 Paul

   
Check for USB_SUSPEND in /proc/config.gz




Re: [gentoo-user] Bash Server Sockets

2009-01-19 Thread Eric Martin
While I don't think there's a way. I took a shell scripting class a
year or two ago and we used netpipes for tcp connecrions. Since it was
a very bash class we'd have used bash if possible

On 1/16/09, Albert Hopkins mar...@letterboxes.org wrote:
 On Thu, 2009-01-15 at 21:53 -0800, Hilco Wijbenga wrote:
 Hi all,

 In Bash /dev/tcp/host/port can be used to write to a TCP socket. This
 works nicely so I was very curious whether it would work the other way
 too: is it possible to have a Bash script listen on a particular port
 as if it were a server? I couldn't find anything in the Bash manual
 about it. Google does find a few examples but they all use nc. But
 that's cheating! ;-) Is it possible with just Bash, no extra tools?
 (If yes, please enlighten me as to how, obviously I could not get it
 to work.)

 ... and some would even say using bash to begin with is cheating.









[gentoo-user] Oops when mounting (some) XFS volumes

2009-01-12 Thread Eric Martin
I'm at the end of my rope with this problem and I'm hoping that people
here can help.  I have a few boxes that are Oops'ing on startup due to
mounting some xfs volumes.  I created a machine with the 2008.0 live
cd and the stage3-i686-hardened tarball.  I'm using xfs on top of lvm2
and some xfs volumes will mount while others won't.  I first noticed
this in 2.6.27-hardened-r3, but I've since compiled

2.6.24-gentoo-r8 (same kernel as livecd)
2.6.27-gentoo-r7
2.6.27.10 (vanilla)

and they all have the same problem.  home, tmp, usr, and var are all
xfs volumes (on top of lvm) but only var refuses to mount.  I'm using
the same kernel config (albeit churned through make oldconfig) to
eliminate and discrepancies but I don't think it's kernel related as
they all do it (or I'm configuring the kernel incorrectly).  Here's a
quick summary of the relevant livecd utils and what I currently have
on my box:


livecd
xfs 2.9.7
lvm libary 2.02.28
lvm library version 1.02.22
lvm driver version 4.12.0

my box
xfs 2.10.1
lvm libary 2.02.36
lvm library version 1.02.24
lvm driver version 4.12.0

I've looked through b.g.o, gmane and google but I couldn't find
anything relevant.  I'm attaching a trimmed version of dmesg with the
errors and my emerge --info.

Thanks!
BTW, I just used a different fs on another machine with this problem
but either something is broken and should be fixed, or I'm doing
something incorrectly and need to be educated.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 6140k freed
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 3
PCI: setting IRQ 3 as level-triggered
i801_smbus :00:1f.3: PCI INT B - Link[LNKB] - GSI 3 (level, low) - IRQ 3
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
r8169 :01:02.0: PCI INT A - Link[LNKB] - GSI 3 (level, low) - IRQ 3
eth1: RTL8110s at 0xf881ef00, 00:14:6c:33:50:14, XID 0400 IRQ 3
EXT3 FS on hda3, internal journal
Filesystem dm-3: Disabling barriers, trial barrier write failed
XFS mounting filesystem dm-3
Ending clean XFS mount for filesystem: dm-3
Filesystem dm-0: Disabling barriers, trial barrier write failed
XFS mounting filesystem dm-0
allocation failed: out of vmalloc space - use vmalloc=size to increase size.
xfs_buf_get_noaddr: failed to map pages
allocation failed: out of vmalloc space - use vmalloc=size to increase size.
xfs_buf_get_noaddr: failed to map pages
Ending clean XFS mount for filesystem: dm-0
Filesystem dm-1: Disabling barriers, trial barrier write failed
XFS mounting filesystem dm-1
allocation failed: out of vmalloc space - use vmalloc=size to increase size.
xfs_buf_get_noaddr: failed to map pages
allocation failed: out of vmalloc space - use vmalloc=size to increase size.
xfs_buf_get_noaddr: failed to map pages
allocation failed: out of vmalloc space - use vmalloc=size to increase size.
xfs_buf_get_noaddr: failed to map pages
allocation failed: out of vmalloc space - use vmalloc=size to increase size.
xfs_buf_get_noaddr: failed to map pages
allocation failed: out of vmalloc space - use vmalloc=size to increase size.
xfs_buf_get_noaddr: failed to map pages
Ending clean XFS mount for filesystem: dm-1
Filesystem dm-2: Disabling barriers, trial barrier write failed
XFS mounting filesystem dm-2
allocation failed: out of vmalloc space - use vmalloc=size to increase size.
xfs_buf_get_noaddr: failed to map pages
BUG: unable to handle kernel NULL pointer dereference at 
IP: [c08298df] down_trylock+0x3/0x12
*pde =  
Oops:  [#1] 
Modules linked in: r8169 i2c_i801

Pid: 2224, comm: mount Not tainted (2.6.27-hardened-r3 #3)
EIP: 0060:[c08298df] EFLAGS: 00010046 CPU: 0
EIP is at down_trylock+0x3/0x12
EAX:  EBX:  ECX: f6add500 EDX: 0246
ESI: 5000 EDI: f6e86c00 EBP: f7ba49c0 ESP: f6e95d7c
 DS: 0068 ES: 0068 FS:  GS: 0033 SS: 0068
Process mount (pid: 2224, ti=f6e94000 task=f79fbb80 task.ti=f6e94000)
Stack: c08f2703 c08de57a f6acf660  f6acf660 f6e86c00 c0b81ae5 f6e95da4 
   c08f9af3 c0b81ae5 f692a040 f6e86c00 f6e86c00 5000 c08ddc45 00500020 
    5000 c0c4818c f6e86c20 0040 f6e86c00 00500020  
Call Trace:
 [c08f2703] xfs_buf_cond_lock+0x5/0x16
 [c08de57a] xlog_alloc_log+0x15a/0x24d
 [c08f9af3] cmn_err+0x6f/0x7f
 [c08ddc45] xfs_log_mount+0x54/0x113
 [c08e5a5d] xfs_mountfs+0x323/0x5ec
 [c08f0327] kmem_zalloc+0xb/0x32
 [c08e685d] xfs_mru_cache_create+0xf7/0x143
 [c08cf139] xfs_fs_cmn_err+0x17/0x1a
 [c08f93e7] xfs_fs_fill_super+0x1c4/0x359
 [c0887333] disk_name+0x1f/0x5b
 [c085b3a8] get_sb_bdev+0xbb/0xf9
 [c086a35e] alloc_vfsmnt+0x32/0xa7
 [c08f958e] xfs_fs_get_sb+0x12/0x16
 [c08f9223] xfs_fs_fill_super+0x0/0x359
 [c085b53c] vfs_kern_mount+0x37/0x6e
 [c085b601] do_kern_mount+0x29/0x5e
 [c086b96a] do_new_mount+0x57/0x84
 [c086be82] do_mount+0x1a3/0x1ca
 [c0840512] __alloc_pages_internal+0x92/0x353
 [c090fcce] strncpy_from_user+0x2c/0x35
 [c086c0a4] sys_mount+0x76/0xb0
 [c08036a8] 

Re: [gentoo-user] Re: rsh failed : Connection reset by peer

2009-01-08 Thread Eric Martin
Matt Harrison wrote:
 Chuanwen Wu wrote:
 I guess maybe rsh does not allow to login as root.

 Probably not, RSH was abandoned years ago and I'm surprised there are
 any applications still around that haven't moved to ssh.

 Exposing the root user to an already unsafe transmission is asking for
 trouble IMHO.

 Unfortunately I can't help with the configuration but I thought a
 brief warning should accompany any discussion on RSH.

 Matt


Doesn't ssh work as a drop in replacement for rsh?  Try ssh instead.  I
know in cvs, there's an environment variable CVS_RSH that you set to ssh
and everything works fine. 



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] SSH login with both key AND password?

2009-01-08 Thread Eric Martin
Paul Hartman wrote:
 On Thu, Jan 8, 2009 at 12:12 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
   
 On Thu, Jan 8, 2009 at 10:57 AM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 
 On Wed, Jan 7, 2009 at 6:11 PM, Dave Jones dave.jo...@xs4all.nl wrote:
   
 Paul Hartman wrote on 08/01/09 00:28:
 
 Hi,

 Normally I'm using SSH with regular password login, and I've read
 about generating a keypair and having a password-less connection that
 way. Is there a way to require both the key AND a password? Basically
 if I put the key in my SSH client at work, I don't want a co-worker to
 be able to login to my home PC, or someone to grab my phone, etc.

 Is there a way to put a passphrase on the key (seperate from my user
 account password)? Maybe that would work... Otherwise I've thought
 about having a dummy SSH account and then su - realuser to get
 access, but that seems kind of messy.

 I've always used password login and IP-restricted it, but now I'm
 traveling more and never know what IP I might be connecting from, so
 using a key seems to be the best plan, or maybesome kind of
 portknocking (but that's difficult from restricted ssh environments
 such as a phone).

   
 By default ssh-keygen creates a key pair with a passphrase. It's your 
 choice to enter or omit a passphrase.

 If you've generated a key without a passphrase, you can add a passphrase 
 using ssh-keygen -p

 Entering a passphrase encrypts the private part of the key, which you keep 
 only on the server. You only need the public part of the key on the client.

 Cheers, Dave
 
 It works great. Thanks everyone for your responses!

 Paul

   
 Well, almost great :)

 I can't figure out how to get NXclient to connect. It says the key is
 corrupt or has a passphrase (which it does). Has anyone used NX with a
 key-based SSH with passphrase?

 Thanks,
 Paul
 

 I figured it out. It was a two-part solution:

 1) password logins must be enabled to use system authentication with
 NX. Since I don't want password logins, I had to use NX's internal
 user and password database instead. This requires maintaining separate
 passwords for NX...

 2) the nx user is locked and passwordless; I had to give it a
 password in order to unlock it.

 After doing that, NX now works!

 *mental note: if I ever want to revoke someone's access to my machine
 or change their password, I must remember to check for SSH keys  NX
 user accounts (which are actually SSH keys as well) in addition to
 changing the password on their system account.

 Thanks again,
 Paul

   
You could also use ssh-agent to unlock the key if you don't want to use
a null-passphrase key



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-07 Thread Eric Martin

Neil Bothwick wrote:

On Tue, 6 Jan 2009 15:06:28 +, Peter Humphrey wrote:

  

I've seen a dev complain that most of the problems he's had to deal
with have been due to oldconfig, so I don't use it at all. I copy
the config in from the previous tree, then I run menuconfig and
search for lines ending in [NEW] or [DEPRECATED].  

How is this different from using make oldconfig, apart from the UI?  
  
I don't know; I just pick up my clues where I can. Perhaps there's a 
difference in handling of unchanged or default values.



Unchanged values are just that. When a config option is new, make
oldconfig prompts for a choice,with a default option (the same default
that menuconfig uses). The only real difference is that with menuconfig
you have to go through the options, looking for those marked NEW (and
risking missing an important one) while oldconfig presents them to you in
sequence,asking for your choice on each one.

I have boxes running 2.6.28 on which I have used oldconfig on every
change since switching them from2.4 to 2.6
Amen to that.  I've been doing that since 2.4 also and I'm not having 
any problems.  Any other way is just creating unnecessary work.




Re: [gentoo-user] Problem with resolv.conf

2009-01-07 Thread Eric Martin

Hung Dang wrote:

Hi all,
I have a strange problem that the resolv.conf  file  is reset to the
default file every time I reboot my computer.
Does anyone has similar problem before?

Thanks,
Hung

  

dhcpcd does this.  Are you running dhcp on the machine?



Re: [gentoo-user] Problem with resolv.conf

2009-01-07 Thread Eric Martin
KH wrote:
 Hung Dang schrieb:
   
 Hi all,
 I have a strange problem that the resolv.conf  file  is reset to the
 default file every time I reboot my computer.
 Does anyone has similar problem before?

 Thanks,
 Hung

   
 
 I had a problem like this when I used vpn. Never solved it so.

 kh

   
I want to amend my last statement:  dhcpcd *CAN* do this.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] update brings no recognition of tty hence no login

2009-01-04 Thread Eric Martin

Harry Putnam wrote:

After updating today (from only a few days ago) I'm getting a
situation that makes it impossible to login.

 unable to determine your tty name

The login prompt is there but after typing in the name and hitting
enter I only get the above comment.

Googling on this I find a gentoo bug (245370) Dec 13 that looks like
it is similar.. but the fix mentioned there... backing up to an earlier
version of ncurses (5.6-r2) did not clear my problem.

It may actually be a different bug since I don't see some of the the
other stuff mentioned in that thread.

I haven't ran revdep-rebuild yet... that was my next move but had to
go to a different part of town where I can't really access that
machine.

Does anyone recognize this problem without further diagnostics?  If
not then I will be back to the problem machine later tonight and
supply more information.  Ideas about what info would be most useful
would be appreciate
What packages did you update?  It sounds like a udev problem, although 
I'm admittedly grasping at straws.  Knowing what packages you updated 
will really help.




Re: [gentoo-user] Gentoo rsync servers time out

2008-12-23 Thread Eric Martin
Mick wrote:
 I have noticed this phenomenon which I am not sure I can explain very 
 satisfactorily.  Just after midnight (GMT) any attempt to resync proves 
 futile:
 ==
 # eix-sync
  * Running emerge --sync
   
 Starting rsync with rsync://88.156.78.16/gentoo-portage...
 rsync error: received SIGUSR1 (code 19) at main.c(1286) [receiver=3.0.4]
 
snip
 Starting retry 1 of 3 with rsync://137.226.34.228/gentoo-portage

 
 Checking server timestamp ...Welcome to rsync.informatik.rwth-aachen.de 
 (137.226.34.228).
   
snip
 An hour or so later resync'ing happens without any problem.  Why is this?
   
When it works the second time, is it the same server?  rsync.gentoo.org
and rsync.$CONTINENT.gentoo.org are just cnames pointing to servers so
you could be getting different hosts via dns round robin.  This is
evidenced by the two different ips in your post.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] oocalc document always needs recovery when opened

2008-12-23 Thread Eric Martin
Alan McKinnon wrote:
 On Wednesday 24 December 2008 00:20:51 Mark David Dumlao wrote:
   
 A very very quick fix: rename or move your ~/.openoffice directory and
 openoffice should start out with fresh everything. I don't know how
 openoffice handles backups and caching though, so if you'd like to
 preserve your settings maybe you could look into the subfolders there
 and see if the backuped/cached document is there somewhere.
 

 That did indeed make the problem go away. I considered comparing the old and 
 new directories to find the incorrect setting, but decided not to - there was 
 nothing special configured there that I can't easily redo.

   
I too have had that problem and decided to look for the issue. 
Unfortunately I haven't found anything.  When  I get back home I might
try to figure this out...



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Hard to find netiquette, enculturation bug. (Was: Re: [gentoo-user] GNOME: Cant logout and Lock Screen is showing different background from GNOME screensaver)

2008-12-21 Thread Eric Martin
Mark David Dumlao wrote:
 On Mon, Dec 22, 2008 at 7:58 AM, Alan McKinnon alan.mckin...@gmail.com 
 wrote:
   
 Am I the only one here that sees this is a stupid and completely irrelevant
 thread? HTML mail is like farting when you meet the Queen - you just don't do
 it. There isn't a rule about it, it's not an exam question and there never
 was a formal process that came up with it. But if you do start raising one
 cheek to split the crack and let rip, the butler might come along nicely and
 ask you not to. At which point you should say um, gee, thanks, I didn't know
 that...
 

 That was a really dumb analogy. It conveniently ignores the problem
 and blows the situation out of proportion. As I said, very many mail
 readers _default_ to html mails, and a significant part of user to
 user contact is happily oblivious to it. It just doesn't come up in
 everyday parlance. Forgive this one seething reaction to your
 uncalled-for ridiculous holier-than-thou attitude, but the Internet
 didn't stop growing 10 years ago.

 It doesn't matter that there isn't a formal rule. What matters is
 there is no way to find out about the de-facto rule in one of the
 standard use-cases of a mailing list - which is to just ask a few
 quick questions and filter out any irrelevant topics.
   
A few quick observations:

a) You're probably not going to change the way people perceive html
email on this list

b) just because you don't read all of the threads on this list doesn't
mean you're exempt from them.  There are plenty times that somebody asks
a question and the answer is, search the archives for XYZ, we already
covered this, and please search before asking.  This is one of those
threads

c) continuing along this line runs the risk of pissing off the very
people who you're asking for help.

I get that you don't like the way things are, but this list is a
community and we all agree to abide by certain rules.  The rules don't
change every time a new person joins the community.  Granted, it would
be nice if the mailing list FAQ said 'No HTML mails and don't top post'
along with the rule on vacation emails.  However, this list isn't the
forum as this is gentoo-*user*; a lot of people here are users and not
devs.  Granted, I know some people here are devs but this is still a
*user* list.

As I was trying to check everything in the thread I read Alan McKinnon's
message (that he just sent) reminding us to stop acting like kids, so
I'm going to stop here.  G'Night all!



Re: [gentoo-user] Hard to find netiquette, enculturation bug. (Was: Re: [gentoo-user] GNOME: Cant logout and Lock Screen is showing different background from GNOME screensaver)

2008-12-21 Thread Eric Martin
Mark David Dumlao wrote:
 But it is a problem that must be addressed. It doesn't help to boil
 the situation into an inaccurate but amusing caricature of the
 problem. That's how the many bad interfaces get developed.

 The problem is solved for my case. I'm not going to be using html
 mails. But ignoring the problem isn't going to make it disappear for
 everyone else - there isn't a way for a user to find out they're being
 ignored. That's all that needs to be said.

   
I've seen plenty of emails going around requesting people not top-post
and not to post via html.  I don't think it's as big of a problem as
this thread makes it out to be.  While I'm sure some people do ignore
posts that fall into those categories, there's not really much you or I
can do about it.  You admit that you ignore anything that you're not
looking for, maybe we should address that group of members on this
list.  One could argue that everybody should read every message and
comment if they can, but that's not what happens.

Do you honestly believe that people who ignore html emails are doing
something different than you for ignoring any post you don't care
about?  That argument can be easily silenced when you realize that some
people don't care for html formatted email.

Anyway, my purpose in sending that last post was to say my piece and
shut up, not continue this thread as I'm getting tired of it and I'm
going to ignore it very soon.



Re: [gentoo-user] Hard to find netiquette, enculturation bug. (Was: Re: [gentoo-user] GNOME: Cant logout and Lock Screen is showing different background from GNOME screensaver)

2008-12-21 Thread Eric Martin
Mark David Dumlao wrote:
 On Mon, Dec 22, 2008 at 9:24 AM, Eric Martin freak4u...@gmail.com wrote:
   
 b) just because you don't read all of the threads on this list doesn't
 mean you're exempt from them.  There are plenty times that somebody asks
 a question and the answer is, search the archives for XYZ, we already
 covered this, and please search before asking.  This is one of those
 threads
 
 This isn't one of those threads. In the vast majority of those cases,
 there is at least the item to search for. There wasn't one in this
 case.

   
 c) continuing along this line runs the risk of pissing off the very
 people who you're asking for help.
 
 Shake up who needs to be shaken up. If people get offended by even
 getting suggested to the fact that their rules are hard to detect,
 they are going to be offended by a lot of things anyway, and questions
 are going to be some of them.

   
 I get that you don't like the way things are, but this list is a
 community and we all agree to abide by certain rules.  The rules don't
 change every time a new person joins the community.
 
 I think you're missing the point. I never asked the community to
 change its rules. I'm only saying that these particular rules were
 invisible, and there's no way to find out about it, and that's going
 to be a problem for any user community.

   
this isn't some big secret, you just don't read all of the threads. 
There are 5,120 results for html+email when searching the gmane archives
of gentoo-user.  The link below is the search I used, sorted by date
(descending).

http://search.gmane.org/?query=html+emailauthor=group=gmane.linux.gentoo.usersort=dateDEFAULTOP=andxP=Zhtml%09ZemailxFILTERS=Glinux.gentoo.user---A



Re: [gentoo-user] Hard to find netiquette, enculturation bug. (Was: Re: [gentoo-user] GNOME: Cant logout and Lock Screen is showing different background from GNOME screensaver)

2008-12-21 Thread Eric Martin
Mark David Dumlao wrote:
 On Mon, Dec 22, 2008 at 9:34 AM, Eric Martin freak4u...@gmail.com wrote:
   
 I've seen plenty of emails going around requesting people not top-post
 and not to post via html.  I don't think it's as big of a problem as
 this thread makes it out to be.  While I'm sure some people do ignore
 posts that fall into those categories, there's not really much you or I
 can do about it.
 
 I don't like defeatist attitudes just because they're related to
 community changes. There are certain parts of the community that can
 be readily improved (typically relating to centralized rules, FAQs,
 etc) and certain parts that are very difficult to improve (typically
 relating to the users' attitudes).

 If someone makes even a passing note of this on the website, then my
 single bug report might do the work of several dozen dont post in
 html mails over time.

   
 Do you honestly believe that people who ignore html emails are doing
 something different than you for ignoring any post you don't care
 about?  That argument can be easily silenced when you realize that some
 people don't care for html formatted email.
 
 That's a pretty easy question to answer and substantiate. Yes. Posts
 are typically discriminated upon based on their content. On the other
 hand, html posts are discriminated based upon their formatting. This
 means questions that people would otherwise have answered get ignored.
 Content discrimination is a null transaction. Formatting
 discrimination is at some times a null transaction and at some times
 negative (friction).

   
I looked at your original post, the person who replied to you did so in
a concise manner that he doesn't like html emails.

On Thu, Dec 18, 2008 at 8:24 AM, Nicolas Sebrecht
nicolas.s-...@lapostes.net wrote:

 
  On Mon, Dec 15, 2008 at 10:06:26PM +0800, Mark David Dumlao wrote:
 
   
  er, anyone?
 
 
  You may try by sending a mail using the text format instead of the HTML
  one. I don't read more than one line when it's written in HTML. I
  suspect that a lot of contributors do the same here.
 
  Please, conform to the netiquette.
   

That was one of the coldest, most invisible, and hardest to
troubleshoot communication errors I've ever seen. I don't even know
where to begin. 


I don't know if he could have made that any clearer.  That being said,
I'm done contributing to spam on the list.  Please bottom post and post
in a text only format.  For many people (myself included) this is the
first mailing list they joined.  Nobody was handed a manual up front,
for the most part you learn as you go.



Re: [gentoo-user] Cannot login with publickey on sshd

2008-12-18 Thread Eric Martin
Mick wrote:
 On Monday 01 December 2008, Mick wrote:
 On Monday 01 December 2008, Eric Martin wrote:
 What did you use to generate the key?  Also, what does the client /
 server say for the key fail?
 I used something like: ssh-keygen -v -t rsa -b 2048.  I have even generated
 a second key pair and tried that too, with no success.

 The client messages are in the first message I sent to the list - basically
 showing this:
 
 debug1: Connection established.
 debug3: timeout: 14828 ms remain after connect
 debug3: Not a RSA1 key file /home/michael/.ssh/.ssh/id_rsa.
 debug2: key_type_from_name: unknown key type '-BEGIN'
 debug3: key_read: missing keytype
 debug2: key_type_from_name: unknown key type 'Proc-Type:'
 debug3: key_read: missing keytype
 debug2: key_type_from_name: unknown key type 'DEK-Info:'
 debug3: key_read: missing keytype
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 . . .
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug3: key_read: missing whitespace
 debug2: key_type_from_name: unknown key type '-END'
 debug3: key_read: missing keytype
 

 The server messages are shown here:

 http://pastebin.centos.org/22705
 
 I have now also tried to generate a key pair on the server, move the private 
 key over to the client and then try to login - still no result!  :-(
 
 It has to be some sort of incompatibility between the two versions of 
 OpenSSH.  
 Don't know what else to assume with this problem.

It definitely looks like the server doesn't like your private key.  Did
you remember to update(read: add) the public key on the server?  Also, I
generated an ssh key using the exact same syntax that you used and my
key looks different that what I can glean about your key.  The ---BEGIN,
Proc-Type and DEK-Info lines are in an old dsa key I created, while the
rsa key just says BEGIN RSA PRIVATE KEY- followed by
key data.  The DSA key says the same, except DSA as opposed to RSA.

From the logs it looks like w formatting issue, given the whitespace
errors.  have you tried loading your key into an agent?  try:

ssh-agent /bin/bash
ssh-add ~/.ssh/id_rsa

This will unlock your key and let that session authenticate for you.  It
also has the nice side effect of checking if your private key is a real
private key.  The only time I have a problem w/pub/private keys is when
I create them on a windows box and try to export it to ssh.  The other
way around always works for me.

HTH

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Cannot login with publickey on sshd

2008-12-18 Thread Eric Martin
Great to hear that the problem is solved!  I've used puttygen before
to convert keys (both ways) but when I used it the other day to create
a key on windows  convert it wouldn't work. Oh well!

On 12/18/08, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Thursday 18 December 2008 23:17:13 Mick wrote:
  The only time I have a problem w/pub/private keys is when
  I create them on a windows box and try to export it to ssh.  The other
  way around always works for me.

 The MSWindows generated keys will work, either from PuTTY or Cygwin, but
 you have to be careful with hard returns at the end of lines (CR/LF).  Use
 Notepad++ to paste your key in and you should find that it works fine.

 PuTTY comes with a utility to convert it's keys to openssh format. I insist
 my
 PuTTY users do this themselves before they send me the public key to be
 deployed on the servers. It works well for me - if they get stroppy and
 don't
 do this, they don't get access shrug

 --
 alan dot mckinnon at gmail dot com





Re: [gentoo-user] Re: [OT] Webmin Question - was Print to cups printer from Windows?

2008-12-17 Thread Eric Martin
Neil Bothwick wrote:
 On Thu, 18 Dec 2008 00:13:28 +0200, Alan McKinnon wrote:

   
 But back onto your original question. Webmin is a problem that cannot
 be fixed. It needs to have root priviledges, the root password needs to
 go over the wire to the webmin http server, and to the best of my
 knowledge is not subject to routine security scrutiny. I would not
 trust it further than I can throw it, and that's not very far.
 

 To be fair, they do recommend that you run webmin over HTTPS if using it
 over the Internet, but SSH does give the added benefit of key-based
 authentication
I used to use webmin and I found that it made me forgot how to do real
things.  However, it is nice on occasion.  If you want to go secure yet
run over the internet, only push ssh to your firewall, and connect to
your server via pubkeys.  Tunnel server:80 (or server:443) via ssh to
your localhost and now you have webmin running through an ssh tunnel.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] lanmap ebuild

2008-12-16 Thread Eric Martin
Justin wrote:
 Eric Martin schrieb:
   
 Justin wrote:
   
 
 It is in sunrise now.
   
 Uh, I can't find it.  I sync'd sunrise and ran update-eix.  Eix can't
 find it and I don't see it in the dir structure...Am I missing something?
 
 It is, see here:

 http://overlays.gentoo.org/proj/sunrise/browser/sunrise/net-misc/lanmap

 So it should be there
HuhI had to run update-eix again to find it.  I'm installing it
right now, thanks!



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] lanmap ebuild

2008-12-15 Thread Eric Martin
Justin wrote:
 It is in sunrise now.

   
Uh, I can't find it.  I sync'd sunrise and ran update-eix.  Eix can't
find it and I don't see it in the dir structure...Am I missing something?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] [bit OT] 32 vs. 64 bits (Thanks)

2008-12-09 Thread Eric Martin
firefox 64bit is unstable for me, and I also think I have a problem
w/thunderbird / enigmail. Other than that I'm happily running 2 64bit
machines

On 12/9/08, pat [EMAIL PROTECTED] wrote:
 On Mon, 8 Dec 2008 14:59:00 +0100, pat wrote
 Hello,

 I've bought a new laptop with Core 2 Duo processor which is 64 bit.
 My question is if applications (see below) compiled and running over
 64 bits are stable enough or if I should compile for 32 bits.

 The applications are:
 - Seamoneky/Firefox
 - Java
 - Flash
 - Audacious
 - mplayer
 - VirtualBox/VMware
 - Qemu
 - Kerberos/OpenLDAP/OpenSSH (for these I think they are stable)
 - X.org/fluxbox
 - system suspending

 I have 4GB RAM and I know better is to compile for 64 bits, but for
 me is more important stability.

 Thanks a lot

  Pat


 Thanks for all advices. I'm going to try amd64 and I'll see :-D

 Thanks

  Pat






Re: [gentoo-user] Cannot login with publickey on sshd

2008-11-30 Thread Eric Martin
Mick wrote:
 On Saturday 29 November 2008, Eric Martin wrote:
   
 Mick wrote:
 
 Hi All,

 For some reason my Gentoo rsa public key is not liked by 3.9p1-11.el4_7
 sshd, which is running on a CentOS server.  On the Gentoo machine I am
 running net-misc/openssh-5.1_p1-r1.  This is what it shows:
 ===
 debug1: fd 3 clearing O_NONBLOCK
 debug1: Connection established.
 debug3: timeout: 14835 ms remain after connect
 debug3: Not a RSA1 key file /home/michael/.ssh/id_rsa.
 debug2: key_type_from_name: unknown key type '-BEGIN'
   
 It sounds like you're using a pgp public key, is this on purpose?
 AFAIK, you need to convert pgp keys - openssh keys before you use
 them.  Have you tried making a public key via ssh-keygen?
 

 Thanks Eric,

 The --BEGIN string is I believe from the private key generated using 
 ssh-keygen.  If looks like this:
 =

 -BEGIN RSA PRIVATE KEY-
 Proc-Type: 4,ENCRYPTED
 DEK-Info: DES-EDE3-CBC, 

 X
 XX... etc.
 =

 where X is the hash of the key.

 The public key starts with:
 =
 ssh-rsa X...etc
 =

 As I mentioned the same ssh key pair seems to work fine with other servers.
   
What did you use to generate the key?  Also, what does the client /
server say for the key fail?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Cannot login with publickey on sshd

2008-11-28 Thread Eric Martin
Mick wrote:
 Hi All,

 For some reason my Gentoo rsa public key is not liked by 3.9p1-11.el4_7 sshd, 
 which is running on a CentOS server.  On the Gentoo machine I am running 
 net-misc/openssh-5.1_p1-r1.  This is what it shows:
 ===
 debug1: fd 3 clearing O_NONBLOCK
 debug1: Connection established.
 debug3: timeout: 14835 ms remain after connect
 debug3: Not a RSA1 key file /home/michael/.ssh/id_rsa.
 debug2: key_type_from_name: unknown key type '-BEGIN'
   

It sounds like you're using a pgp public key, is this on purpose? 
AFAIK, you need to convert pgp keys - openssh keys before you use
them.  Have you tried making a public key via ssh-keygen?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] FLAC to mp3 converters?

2008-11-07 Thread Eric Martin
Dirk Heinrichs wrote:
 Am Mittwoch, 5. November 2008 18:59:42 schrieb Eric Martin:

   
 IIRC, there is a fuse filesystem in portage that does exactly that. I
 don't have any experience with it but it warrants a look.
 

 Wow, indeed! sys-fs/mp3fs.

 Bye...

   Dirk

   
I'm thinking of using that to have my music in flac, and use mp3fs to
have itunes look at it.



Re: [gentoo-user] FLAC to mp3 converters?

2008-11-05 Thread Eric Martin
IIRC, there is a fuse filesystem in portage that does exactly that. I
don't have any experience with it but it warrants a look.

On 11/5/08, Jorge Peixoto de Morais Neto [EMAIL PROTECTED] wrote:
 On Wed, Nov 5, 2008 at 3:16 PM, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Wed, 5 Nov 2008 15:12:44 -0200, Jorge Peixoto de Morais Neto wrote:

 I wouldn't trust something GUI-based; it would probably call the mp3
 encoder with suboptimal default settings.

 Any decent program would let you adjust the MP3 settings.
 My experience so far is that most GUI multimedia-encoding programs
 offer far less options than a command-line program. Sometimes the only
 choice is codec and bitrate, and the bitrate sometimes comes in a
 drop-down menu of low, medium, high.

 I have done many video encodings with mplayer, and in this case
 adjusting settings yield drastic benefits to quality/bitrate.

 You also need to extract the ID3 tags from the FLAC file and then write
 them to the MP3 file.
 I don't care about these, but I imagine it wouldn't be too hard to
 preserve them.





Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?

2008-10-30 Thread Eric Martin
Why not go even easier and use bzcat,bzless,zcat,and zless

On 10/30/08, Albert Hopkins [EMAIL PROTECTED] wrote:

 ,
 | % emerge --info libxcb
 | Portage 2.2_rc12 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2,
 glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
 [blah]

 Any ideas why PORTAGE_COMPRESS_* aren't set on my box.

 Because you haven't set them. Therefore they take the defaults.  BTW,
 'emerge --info' doesn't print out every portage variable, only the
 interesting ones (e.g. ones useful for submitting bug reports).

  BtW, how do I see
 what PORTAGE_COMPRESS_EXCLUDE_SUFFIXES is set to.

 # cat /etc/make.conf /etc/make.globals /etc/make.profile/make.defaults \
|grep -m 1 ^PORTAGE_COMPRESS_EXCLUDE_SUFFIXES

 Also the man page for make.conf lists many common defaults.






Re: [gentoo-user] ssh configuration guide

2008-10-10 Thread Eric Martin
Ssh disconnects on its own accord even with keepalive. I disable all
methods of authentication except for public keys. You'll have to
create a pub/private pair and copy the public key to
$HOME/.ssh/authorized_keys.  I'm on my blackberry so I can't type out
full directions but gentoo has docs.

On 10/10/08, David Rioja [EMAIL PROTECTED] wrote:
 Andrey Falko escribió:
 On Thu, Oct 9, 2008 at 1:06 AM, David Rioja [EMAIL PROTECTED] wrote:

 This is my very first post to the list, so hello you all :)

 I've been editing /etc/ssh/sshd_config in order to configure SSH as told
 in
 the guide at gentoo.org. The options you have to set for a quick start
 configuration are:

 Port 22
 Protocol 2
 ServerKeyBits 2048
 SyslogFacility AUTH
 LogLevel INFO
 LoginGraceTime 60
 PermitRootLogin no
 RSAAuthentication no
 PubkeyAuthentication yes
 PasswordAuthentication no
 PermitEmptyPasswords no
 PAMAuthenticationViaKbdInt no
 Compression yes
 KeepAlive yes
 ClientAliveInterval 30
 ClientAliveCountMax 4


 I have encountered two issues in that:

 1.- When restarting the sshd service you are told
 PMAAuthenticationViaKbdInt
 is deprecated.

 2.- KeepAlive is not commented in the default configuration file, there
 is
 TCPKeepAlive instead. I suppose same options are the same. Could anyone
 confim that?

 Thanks!




 If you want are truely quick start configuration, you should use the
 defaults that get installed after you install ssh. Basically, thost
 default will give you a working ssh that is secure and that is more
 than likely to work out of box.

 I'm not sure which Gentoo quickstart guide you are following, but it
 is an out of date guide. I recommend emerge -1 openssh, then running
 etc-update and applying the default configuration. Your goal is to get
 a basic working ssh daemon, right?




 Yes, I wanted only make it work over the lan. Default options seemed not
 to work when I tried, perhaps I forgot to start the service... who
 knows? :-/

 By the way, besides unabling ssh access for root, I is not a good idea
 enabling KeepAlive? So won't be great problems if anyone go away leaving
 his session active. Am I mistaken?





Re: [gentoo-user] [Way OT] dial-up, switching isp's and other thoughts.

2008-09-21 Thread Eric Martin
Dale wrote:
 Iain Buchanan wrote:
 Dale wrote:
 Hi again,

 Same topic, same thread. Cool huh?

 [snip]

 Anybody know of any problems with these folks? Somebody see something I
 missed? Oh, $9.95 is a lot better than $22.95. I noticed that right
 away.

 Are they monthly charges?  Wow, that's about $150 per year.  With
 those savings you could afford a domain and someone to host it!  If
 you don't want a full blown web host, many places will just store your
 email and manage the dns for you.  Then you could have
 [EMAIL PROTECTED] as your email address!

 
 
 I have thought of having my own site and stuff but being on dial-up just
 takes ALL the fun out of it.  The dial-up out here sucks even on dial-up
 standards.  I get 24Kb which is about 3KBs/sec.
 I plan to go talk to the cable company in a local town to see if they
 have any interest in putting cable out here.  That would be so cool.  I
 could get Vonage then and save another $500 or $600 a year.
 
 I'm also going to check on Net Zero in a little bit.
 Ideas welcome.
 
 Dale
 
 :-)  :-)
Dale, do you get good cell phone reception out by you?  You can get a
sprint aircard and a linksys router that has a pcmcia adapter in it to
split the signal.  It's not blazing fast but @ 60/month it's way better
than dialup.  BTW, I'm sure you can do it with providers other than
Sprint but I've only used the Sprint ones.

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] SSHd: Permission denied (publickey,keyboard-interactive).

2008-09-12 Thread Eric Martin
Michael Sullivan wrote:
 On Fri, 2008-09-12 at 15:27 +0930, Iain Buchanan wrote:
 Michael Sullivan wrote:
 I hooked up my old server box today so that I could update the software,
 only to find that I could not ssh over to it:

 [EMAIL PROTECTED] ~ $ ssh bullet
 Permission denied (publickey,keyboard-interactive).

 There were no 'official' logs, but a website I found on google suggested
 running

 /usr/sbin/sshd -ddd -p 2202

 and then trying to shell over with

 ssh -p 2202boxname

 Here's the output.  I piped it to a file:
 [snip]

 I tried upgrading PAM and rebooting, but it didn't solve the problem.
 I'm running pam-1.0.1, if that matters...
 what problem? you haven't actually said what is / isn't working!  What's 
 the output from the client when you try and ssh in with the command ssh 
 -p 2202 boxname?

 
 I thought I was pretty clear on that, but here it is again:
 
 [EMAIL PROTECTED] ~ $ ssh -p 2202 bullet
 Permission denied (publickey,keyboard-interactive).
 
 As you can see, I'm still locked out.
 
 
try

# ssh -p 2202 -vv bullet

or

#ssh -vv bullet

as that will give you debug info from the client side of the connection.
   Is it safe to assume that you logged into it via the console to start
SSHd on 2202?  Also, does your user exist on the box?  It sounds like
'no', especially when btmp is involved.

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Boot partition question

2008-08-19 Thread Eric Martin
Kevin Philp wrote:
 I already have 32 bit Ubuntu up and running on my computer and I am
 about to install the AMD64 version of Gentoo. I have a separate /boot
 for Ubuntu - should I use the same /boot for Gentoo or am I better off
 using a separate boot partition for each operating system?

 Thanks

 Kevin.

Same /boot will be fine.  Actually, I using two separate /boot
partitions would be really annoying if not close to impossible.



Re: [gentoo-user] Synchronizing my music collection

2008-08-12 Thread Eric Martin

Grant wrote:

I store my music collection on my desktop and I'd like to keep my
laptop in sync with an exception.  My directory structure is laid out
like:

~/music/artist/album/

which contains flac files, a cover.png file, and a folder called CD.
I'd like to synchronize the flac files and cover.png but keep the CD
folder out of it completely.  How should I do this?

- Grant


The thing that jumps to me immediately is rsync with a --exclude=CD

--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] how touchy is /var really? And how to keep tabs on a new disk?

2008-08-12 Thread Eric Martin

Michael Higgins wrote:

On Tue, 12 Aug 2008 20:18:39 +0200
Volker Armin Hemmann [EMAIL PROTECTED] wrote:


On Dienstag, 12. August 2008, Michael Higgins wrote:


Now, was that a stupid thing to do, or should everything under /var
continue to work still, without issues?

afaik it should work.


/home is mounted in fstab, just like rootfs. I'm worried about a
reboot not working for some reason .

it should work. I would probably use bind mounting, but that is a
matter of taste. 


This was what I thought I should do, but wasn't sure how to do it. Makes sense 
now, seems to have worked well.


As for the new disk, it is only new to this machine. It's SCSI and
sits on its own controller, reiserfs format. I think perhaps it
originally was intermittently failing in a higher-speed controller
and got swapped out. Is there a way I can keep regularly checking
it for performance issues, should any crop up?

smartd


Is this in portage?

Cheers,


sys-apps/smartmontools
 Available versions:  5.36-r1 5.37 ~5.37-r1 5.38 {minimal static}
 Installed versions:  5.38(21:59:32 06/13/08)(-minimal -static)
 Homepage:http://smartmontools.sourceforge.net/
 Description: control and monitor storag

--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Synchronizing my music collection

2008-08-12 Thread Eric Martin

Grant wrote:

I store my music collection on my desktop and I'd like to keep my
laptop in sync with an exception.  My directory structure is laid out
like:

~/music/artist/album/

which contains flac files, a cover.png file, and a folder called CD.
I'd like to synchronize the flac files and cover.png but keep the CD
folder out of it completely.  How should I do this?

- Grant


The thing that jumps to me immediately is rsync with a --exclude=CD


Man, rsync is easy to use.  I imagined something else.  Would
rsnapshot be useful in this case?  What are the advantages of using a
daemon instead of remote-shell?

- Grant

Let me get this straight.  Rsync being easy to use is a downside?  I've 
never used rsnapshot but judging by eix it sounds like it might work...


--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Odd portage / eix behavior

2008-08-09 Thread Eric Martin

Alan McKinnon wrote:

On Friday 08 August 2008 19:58:46 Eric Martin wrote:

On one of my boxes, eix shows every package as (*) which is testing for
my current arch but stable on some other.  emerge --info reports x86 as
my arch, so I don't know what the problem is.  I don't think it's a huge
problem as it's just an annoyance but I might be missing something.  I
don't know where to start on google / forums so I figured I'd start here.


I recall something similar happening to me a while ago, on a disconnected box 
that hadn't been updated for 6 months. I was getting weird status symbols just 
like you after a sync. In my case, an upgrade to the latest ~arch portage 
fixed it.


You seem to be running purely x86 right? I assume as a first step you have 
done all the sensible things - remerge latest stable portage, emerge --sync, 
checked /etc/portage/* for silly masks that you forgot about?





Yes to everything except the 'purely x86'.  I'm running ~x86 on a few things

dev-perl/Video-Frequencies  ~x86
dev-perl/Video-ivtv ~x86
media-tv/ivtv   ~x86
app-misc/lirc   ~x86
x11-drivers/xf86-video-ivtv ~x86
sys-power/powertop  ~x86
app-admin/puppet~x86
dev-ruby/facter ~x86
media-tv/mythtv ~x86

Portage is 2.1.4.4 which my other computers are running.  This was my 
local rsync mirror that sync'd every two days and my other machines 
sync'd off of it.


This is actually happening on two boxes, although I created the problem 
on the second.  It's my mythbox, and I cloned the box via rsync to make 
a myth-dev box so I can fix it without downtime.  My wife is ready to 
kill me every time I break the mythbox.  Portage didn't have the problem 
on myth-dev, and then I rsync'd over and the problem was created so I 
know it's some setting somewhere...


--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Odd portage / eix behavior [SOLVED]

2008-08-09 Thread Eric Martin

Alan McKinnon wrote:

On Friday 08 August 2008 19:58:46 Eric Martin wrote:

On one of my boxes, eix shows every package as (*) which is testing for
my current arch but stable on some other.  emerge --info reports x86 as
my arch, so I don't know what the problem is.  I don't think it's a huge
problem as it's just an annoyance but I might be missing something.  I
don't know where to start on google / forums so I figured I'd start here.


I recall something similar happening to me a while ago, on a disconnected box 
that hadn't been updated for 6 months. I was getting weird status symbols just 
like you after a sync. In my case, an upgrade to the latest ~arch portage 
fixed it.


You seem to be running purely x86 right? I assume as a first step you have 
done all the sensible things - remerge latest stable portage, emerge --sync, 
checked /etc/portage/* for silly masks that you forgot about?



I figured it out!  /etc/make.profile was linked to 
/usr/portage/profiles/default/linux/2008.0 rather than


/usr/portage/profiles/default-linux/2007.0

(as all of my other machines are).  Changing that solved it.  What I 
don't get is why that would break things...


--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Problems installing Gentoo on an Asus EeePC 701

2008-08-08 Thread Eric Martin
Ricardo Saffi Marques wrote:
 Hello folks. I have an Asus EeePC 701 (4GB) and I'm having problems
 installing Gentoo on it, so I wrote this giant e-mail to help you
 understand what is going on and what I have done and can't do.
 I have been using Gentoo for a while, so I am pretty comfortable on
 installing it and configuring it.

snip

Please don't hijack threads.  Please write a new email to the list if
you wish to start a new thread.  Here's a google search with lots of
good resources on hijacking threads.

http://www.google.com/search?hl=enq=thread+hijackingbtnG=Google+Search

thanks!

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Odd portage / eix behavior

2008-08-08 Thread Eric Martin
On one of my boxes, eix shows every package as (*) which is testing for
my current arch but stable on some other.  emerge --info reports x86 as
my arch, so I don't know what the problem is.  I don't think it's a huge
problem as it's just an annoyance but I might be missing something.  I
don't know where to start on google / forums so I figured I'd start here.

eix portage produces:

[I] sys-apps/portage
 Available versions:  (*)2.0.51.22-r3 (*)2.1.1-r2 (*)2.1.4.4
~2.1.5.6 ~2.2_rc1 ~2.2_rc5 ~2.2_rc6 {build doc elibc_FreeBSD elibc_glibc
elibc_uclibc epydoc linguas_pl selinux userland_GNU}
 Installed versions:  2.1.4.4(07:40:54 02/17/08)(-build -doc -epydoc
-linguas_pl -selinux)
 Homepage:http://www.gentoo.org/proj/en/portage/index.xml
 Description: Portage is the package management and
distribution system for Gentoo

Here's the first few lines of emerge --info:
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.19-gentoo-r5 i686)
=
System uname: 2.6.19-gentoo-r5 i686 Celeron (Coppermine)
Timestamp of tree: Thu, 07 Aug 2008 04:20:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python: 2.4.4-r14
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS=x86

TIA
-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Problems installing Gentoo on an Asus EeePC 701

2008-08-08 Thread Eric Martin
Ricardo Saffi Marques wrote:
 Eric Martin wrote:
 Please don't hijack threads.  Please write a new email to the list if
 you wish to start a new thread.  Here's a google search with lots of
 good resources on hijacking threads.
 
 You don't have to explain to me what thread hijacking means. I moderate
 a Brazilian e-group of 2900 people and am always saying that to members.
No need to get upset, I was politely asking you not to thread hijack and
pointing you towards references
 Tell me what made you think I did that, because it sure ain't clear for me.
It shows up under the Adding a gentoo workstation to Active Directory
Network thread in thunderbird.  Looking at the headers, your message
has an
In-Reply-To:[EMAIL PROTECTED]
which means it was in reply to a message.
 Jeez, wake up. I wrote that e-mail from scratch.
 
 Regards,
 
 Saffi
 
-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] [OFF-TOPIC] Eee 701 thread

2008-08-08 Thread Eric Martin
Ricardo Saffi Marques wrote:
 Apologies for any misunderstanding and if I seemed angry. I wasn't. Just
 felt misjudged.
 Anyways, I was checking here and noticed that I've written and wanted to
 send a reply to that thread Adding a gentoo workstation to Active
 Directory Network which never arrived to the list (not here and seems
 it didn't there too).
 So there *is* a chance I was confused and ended up sending the Eee
 question as a reply to that thread, but with a brand new subject and
 body. In case that did happen, it happened as a mistake and I apologize
 again.
 Certainly not my intention to promote flames on this list, which I
 consider a very good one.
 Cheers!
 
 Best regards,
 
 Saffi
 
No worries :)

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] way off-topic - is it possible to log webmail messages content in an enterprise network

2008-08-06 Thread Eric Martin
Albert Hopkins wrote:
 Doesn't Gmail support SSL?  My email provider provides support for SSL
 connections (via HTTP, LDAP,  POP).
 
 If that's the case then it would be extremely difficult (you will need
 to fake the server's host keys).  Furthermore, the ethics of such a
 practice is questionable.  For which case I would side on blocking
 outside emails altogether rather than get into a situation where you
 have to justify sniffing someone's personal bank transactions, e.g.
 
 -a
 
 
 
gmail is only ssl on sign in if you go through webmail.  After that it's
all in the clear.  POP and IMAP are running securely however (which is
why I check my stuff via imap)

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] way off-topic - is it possible to log webmail messages content in an enterprise network

2008-08-06 Thread Eric Martin

Daniel da Veiga wrote:

On Wed, Aug 6, 2008 at 8:59 AM, Eric Martin [EMAIL PROTECTED] wrote:
  

Albert Hopkins wrote:


Doesn't Gmail support SSL?  My email provider provides support for SSL
connections (via HTTP, LDAP,  POP).

If that's the case then it would be extremely difficult (you will need
to fake the server's host keys).  Furthermore, the ethics of such a
practice is questionable.  For which case I would side on blocking
outside emails altogether rather than get into a situation where you
have to justify sniffing someone's personal bank transactions, e.g.

-a



  

gmail is only ssl on sign in if you go through webmail.  After that it's
all in the clear.  POP and IMAP are running securely however (which is
why I check my stuff via imap)




If you simply change the URL to https on gmail, you are using SSL.
The default is not to use it, so, you gotta type it yourself.

https://mail.google.com/mail

  
Has it always been that way?  I could have sworn that only the login was 
SSL and everything else was in the clear (granted, I don't think I ever 
tried to change it to https).  Live  Learn




Re: [gentoo-user] Re: make oldconfig

2008-08-05 Thread Eric Martin

Nikos Chantziaras wrote:

James wrote:

Hello,

It seems like I remember that 'make oldconfig' is not
needed any more, to pass the current (booted) kernel
option  to the .config for building a new kernel.

Of is 'make oldconfig' still a good idea?


It's not needed, but a good idea to see if there are any new options.


Why is it not needed?  I could have sworn that we touched on this a week 
or two ago where somebody said that /proc/config.gz could be read by 
make config but people nixed that.


--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] make oldconfig

2008-08-05 Thread Eric Martin
Dale wrote:
 Daniel Pielmeier wrote:
 2008/8/4, James [EMAIL PROTECTED]:
  
 Hello,

 It seems like I remember that 'make oldconfig' is not
 needed any more, to pass the current (booted) kernel
 option  to the .config for building a new kernel.

 Of is 'make oldconfig' still a good idea?


 James
 

 At least in the kernel Makefile there is no hint about /proc/config.gz
 which contains the running kernel configuration, so I think make
 oldconfig or your favourite kernel configuration tool is still needed.
 If there is no .config or .config.old it will load a default
 configuration which is probably not what you want.


   
 Having a config in /proc is a option in the kernel.  You just have to
 turn it on.  It is under the General setup as Enable access to .config
 through /proc/config.gz.  I have mine here:
 
 [EMAIL PROTECTED] / # ls -al /proc/config*
 -r--r--r-- 1 root root 10060 2008-08-05 14:19 /proc/config.gz
 [EMAIL PROTECTED] / #
 
 
 It can prove helpful at times.
 
 Dale
 
 :-)  :-)
yeah, but it doesn't change that you still have to run make oldconfig.
I love /proc/config.gz, especially because of zless and zgrep

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] make oldconfig

2008-08-04 Thread Eric Martin
James wrote:
 Hello,
 
 It seems like I remember that 'make oldconfig' is not
 needed any more, to pass the current (booted) kernel
 option  to the .config for building a new kernel.
 
 Of is 'make oldconfig' still a good idea?
 
 
 James
 
 
 
 
You still need make oldconfig AFAIK.  I copy my .config to the new
sources branch and run make oldconfig just like always.

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Sync'ing and compiling pkgs for multiple PCs

2008-07-31 Thread Eric Martin

Stroller wrote:


On 31 Jul 2008, at 01:59, Simon wrote:

...
Your email is very long, so I'm not sure if I've taken it all in, but 
what I'd suggest is a shared /usr/portage directory (easily done by 
NFS) and distcc.


This creates a dependency on the host that contains the portage tree.  
It also remove some flexibility. For example, taking my laptop away 
from my 'portage pc' would make it impossible for me to modify my 
current installs while away.  There are other consideration and the 
use of a sync'ed portage tree on each pc vs using nfs is a debate that 
I won't go into now and this part is not much of an importance in my 
problem... compilation is!...


Yes, your words about dependency and flexibility are valid, but this 
is also the most straightforward way to sync multiple machines at once. 
If you do need to emerge a package when the laptop is away from home 
then just --sync and it builds a portage tree at the missing 
mountpoint (if that makes sense).


You may find it more elegant to make the one machine an rsync server for 
the others.

http://www.gentoo.org/doc/en/rsync.xml

distcc is, IMO, a bit more elegant than (for instance) trying to 
manually emerge binary packages for machine A on PC B. You can tell 
it to share the work or just unload it to the most powerful machine. 
There may be concerns about using a binary package if USE flags are 
different between the two machines, but distcc ensures that the 
package is built using those defined in make.conf of the machine on 
which you're running emerge.


Yes!  I was actually trying distcc today for the first time and got it 
working from the perspective of my fastest computer, I got some 
trouble though (see below).  What you mentioned about running the 
`emerge -uDN world` on each individual machines + sharing built 
packages is absolutely awesome. Best of all worlds if i could say!


Great! I'm glad you're happy with this. You're NFS exporting a 
sub-directory of /usr/portage, then, in order to share the built packages?


However, when using distcc, I first made a trial with a small package 
'xmahjongg' and got a nice x4 speedup on the overall emerge.  I wanted 
to try with a larger package, 'povray' and stumbled on a linker issue, 
the issue is described below and this is the only obstacle on my way 
now.  As I fear doing a `emerge -e system  emerge -e world` would 
never complete using distcc...


Doing: `time emerge povray` without distcc yields a functionnal 
package, while when distcc was enabled, I would get lots of undefined 
references to some __pthreads functions.  But I just tried and it 
seems to work fine, not reproducible, so I'll drop my distcc issue and 
go on with the -e recompilation.



I assume that the undefined references to __pthreads function are 
errors which stop the compile? Or that they occur when you start the 
app, causing it to crash? Rather than compilation warnings?


I assume compilation errors. My usage is that I can turn distcc off for 
the duration of the compile when I see something like this, and not 
bother investigating it further, but I think the most likely cause is 
that a library is needed for compilation that is not present on the 
distcc server. Portage accepts the compile-time dependency because it is 
filled on the distcc client, the machine on which you've run emerge, but 
when that particular bit is   sent off to the distcc server then that 
machine doesn't have the lib needed.


I would imagine that, assuming the above belief is correct, then the 
workaround would be to `emerge -o` the package on the other machines on 
your LAN (or the fastest machine, if you are using only that to emerge) 
before distcc'ing it. This is slightly inelegant.


If you mostly have the same packages on all machines then hopefully you 
shouldn't encounter this scenario too often, although I'd also think 
that different USE flags could affect it.


I'm also somewhat suspicious of different architectures - you wouldn't 
try compiling for ARM or MIPS on an x86 PC, but I'm not sure how 
compiling on an Athlon for a Pentium 3 or 4 affects things. Finally you 
should make sure all machines are using the same versions of gcc and 
glibc (also binutils? what else?).


Stroller. 



You can cross compile, I've done it multiple times before When my Athlon 
built packages for my celerons.  Check out the Distcc-Cross Compile 
guide here [1].  Apparently the doc has been updated since I last 
checked as the tools have gotten full rewrites.


1) http://www.gentoo.org/doc/en/cross-compiling-distcc.xml

--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] firefox et al. crash when attaching file in gmail --- dbus?

2008-07-28 Thread Eric Martin

Alan E. Davis wrote:
On Mon, Jul 28, 2008 at 4:55 PM, Volker Armin Hemmann 
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


On Montag, 28. Juli 2008, Andrey Falko wrote:

 
  To eliminate the first factor do: emerge -e world.

no. Just no.

 
For what it's worth, I started emerge -e system quite some time ago.  It 
stops about 1/2 way through on glib.  Apparently this is common.   I 
started it up again as emerge -e system --skipfirst.  How bad of an 
idea was that?  I think about 200 out of about 350 pkgs have been rebuilt.


I'll halt this and rebuild dbus again.  Etc/



WRT emerge -e world I had a few problems where glibc wouldn't build and 
tracking down the cause of that fixed my other problems.  Could be 
coincidence, could be related.  I rebuilt the toolchain once or twice to 
get glib going again, recompiled and my problems were solved.



  The second
  factor can be eliminated by downgrading to firefox2. If it is a
  firefox3 problem then the bug report would go to firefox developers.


It does affect firefox 2 also.  All users except root.  All gecko 
browsers, I guess (all firefox, and epiphany---didnt' try galeon). 


You say it works as root.  This is a stretch but it's wicked easy and 
should be tried: try killing your profile.  it's as easy as renaming 
.mozilla so firefox creates a new one next boot.  If it's still broken 
it only wasted a minute, and if it works you're not banging your head 
needlessly and later on.



just re-emerge dbus and/or revdep-rebuilt should be enough. Or that
'preserved-libs' stuff. 


snip


Thank you for the advice,

Alan Davis


HTH
--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] firefox et al. crash when attaching file in gmail --- dbus?

2008-07-28 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan E. Davis wrote:
 On Mon, Jul 28, 2008 at 9:31 PM, Eric Martin [EMAIL PROTECTED] wrote:
 
 WRT emerge -e world I had a few problems where glibc wouldn't build and
 tracking down the cause of that fixed my other problems.  Could be
 coincidence, could be related.  I rebuilt the toolchain once or twice to get
 glib going again, recompiled and my problems were solved.

 
 Do you mind to explain a little more?  How would I go about this?  I have a
 few packages that won't build, and glib is one.  Over and over.  gtkmm is
 another.  There is an upstream gtkmm that is said to solve that issue, but I
 haven't gotten the courage to bump an ebuild to a new version.
 
 How would one rebuild the toolchain?
 
 
 You say it works as root.  This is a stretch but it's wicked easy and
 should be tried: try killing your profile.  it's as easy as renaming
 .mozilla so firefox creates a new one next boot.  If it's still broken it
 only wasted a minute, and if it works you're not banging your head
 needlessly and later on.
 
 
 I have tried it as three different users, and have moved .mozilla, used
 firefox2, firefox3, firefox3-bin, epiphany.  The same thing happens.  Moving
 .mozilla has no effect.hem 
 
 My system has been riddled with these issues of permissions and (I assume)
 dbus and/or hal issues, since when.  The livecd was a mess: took several
 passes even to get a working, booting system.  It's getting better.
 
 Thank you,
 
 Alan
 
Toolchain refers to glibc, gcc, and binutils.  Try running

emerge glibc gcc binutils

Portage will put them in the correct order.

- --
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiNoHAACgkQdheOldgSlQhhIACfetPG4fMAMFh9fvFGIyjNDErl
J7sAni70XXClPwYsz+Fn6k6R0zMUxjmP
=IrWG
-END PGP SIGNATURE-



Re: [gentoo-user] Waiting for uevents to be processed...

2008-07-28 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Budd, Tracy wrote:
 This step in the bootup seems to take a very long time.
 Any suggestions on how to speed this up or where to look if there might
 be some problem?
 Thanks,
 -Tracy
 
I too had that problem.  I deleted 70-persistent-rules for another
reason and rebooted which regenerated it.  Problem gone.  Just make sure
you make a backup of it before you reboot.

- --
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiNol0ACgkQdheOldgSlQg8JwCfYdwfzuQHIAPYrD4F6Q+nW4DX
S5EAn1LWNPg/HTiRjmMJZZPZiboJYfmm
=zaaU
-END PGP SIGNATURE-



Re: [gentoo-user] Waiting for uevents to be processed...

2008-07-28 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Budd, Tracy wrote:
  
 
 -Original Message-
 From: Eric Martin [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 28, 2008 6:42 AM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Waiting for uevents to be processed...
 
 Budd, Tracy wrote:
 This step in the bootup seems to take a very long time.
 Any suggestions on how to speed this up or where to look if there 
 might be some problem?
 Thanks,
 -Tracy
 
 I too had that problem.  I deleted 70-persistent-rules for another
 reason and rebooted which regenerated it.  Problem gone.  Just make sure
 you make a backup of it before you reboot.
 

I don't understand what you did you fix it. How would I delete
70-persistent-rules?


Make a backup of /etc/udev/rules.d/70-persistent*.rules (I moved them to
my home drive)
delete 70-persistent*.rules (accomplished by move)
reboot

If they don't regenerate you can copy them back.  then I'd re-emerge udev.

- --
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiNt54ACgkQdheOldgSlQjYzQCffvYhidkrr014xFaIo3ih7DrA
p20AoPgl3A33M/2PgQ1HLNdTKPdWTiHR
=fWuQ
-END PGP SIGNATURE-



Re: [gentoo-user] firefox et al. crash when attaching file in gmail --- dbus?

2008-07-28 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan E. Davis wrote:
 I have found a script called emwrap.sh  The forum thread attached to that
 script makes it clear it is important to compile the few core TC files twice
 before emerge -e system.  Then do that twice.  Then emerce -e world.  Wow.
 The script is supposed to shorten the overall time, by not recompiling TC
 and system when compiling the rest of the world.  It seems logical.
 
 I also found some inconsistencies in my USE flags, so it's back to square
 one.  I hope this works.  (I am trying the script).
 
 Thank you very much.
 
 Alan
 
 On Tue, Jul 29, 2008 at 2:39 AM, Volker Armin Hemmann 
 [EMAIL PROTECTED] wrote:
 
 On Montag, 28. Juli 2008, Alan E. Davis wrote:
 On Mon, Jul 28, 2008 at 4:55 PM, Volker Armin Hemmann 

 [EMAIL PROTECTED] wrote:
 On Montag, 28. Juli 2008, Andrey Falko wrote:
 To eliminate the first factor do: emerge -e world.
 no. Just no.
 For what it's worth, I started emerge -e system quite some time ago.  It
 stops about 1/2 way through on glib.  Apparently this is common.   I
 started it up again as emerge -e system --skipfirst.  How bad of an
 idea
 was that?  I think about 200 out of about 350 pkgs have been rebuilt.

 I'll halt this and rebuild dbus again.  Etc/

 The second
 factor can be eliminated by downgrading to firefox2. If it is a
 firefox3 problem then the bug report would go to firefox developers.
 It does affect firefox 2 also.  All users except root.  All gecko
 browsers,
 I guess (all firefox, and epiphany---didnt' try galeon).

 just re-emerge dbus and/or revdep-rebuilt should be enough. Or that
 'preserved-libs' stuff.
  I don't qet it about preserved-libs.  THerefore I haven't done anything
 about any of the messages.  I don't understand the messages, exactly what
 would happen?  Would I be building the same app with the same old lib or
 with the new lib?  I need to find something in the docs, but haven't seen
 anything yet.
 http://r0bertz.blogspot.com/2008/06/portage-22-preserve-libs-features.html

 the problem with it (a friend run into it - maybe the have fixed it in the
 meantime)if you do an emerge -e system/world while the old stuff is still
 there, some apps and libs will link against the old stuff. Thus the whole
 exercise will be a waste of time and energy.


 
 
Please don't top post, it makes it very hard to follow the flow of the
list.  Thanks!  Let us know how that turns out with the script.  Also,
where did you find it?

- --
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiNxgAACgkQdheOldgSlQgu3gCfebbzOlso/9v1CGAO1+Y0nKNP
I+EAoJOqQwLppIJXYKOwAZSDJW1AvUoO
=/Uy6
-END PGP SIGNATURE-



Re: [gentoo-user] OT Calenders

2008-07-23 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

James wrote:
 Hello,
 
 I currently use Korganizer.  I was wondering if there is a way to
 enhance the calender with know public holidays. For example,
 say I wan to get the Holidays for the USA, Canada and Jamaica
 onto my KOrganizer?
 
 If not does any other calender/organizer system have prebuilt addons
 for things such as holidays?
 
 
 James
 
 
M$ Outlook has a file although I called Outlook.hol located in
C:\Program Files\Microsoft Office\Office11\1033 with dates for holidays.
  The format is a little odd but you should be able to do something with
it.  Also, I'm pretty sure they have a new one on the net as Outlook
2003 just ran out of holidays as of 2008 so they added to the file to
extend (and keep people using outlook).

- --
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiHO8MACgkQdheOldgSlQguYwCg6gqKUXfKTT5Ja1ImNIYXw9yf
SloAoO5AQeITOuS9PpR4EMbrvZJPpc/8
=QSex
-END PGP SIGNATURE-



Re: [gentoo-user] Re: What is the gimmick to run tightvnc from windows to gentoo

2008-07-22 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Harry Putnam wrote:
 Josh Cepek [EMAIL PROTECTED] writes:
 
 Harry Putnam wrote:
 David Blamire-Brown [EMAIL PROTECTED] writes:

 I did this a while back and I got it working by tunnelling via SSH
 (using putty on windows).  But I can't remember the exact details
 off the top of my head. It may be worth googling that set-up. I seem
 to remember thinking it felt like a kludge and I can't quite
 remember why I ended up doing it, but I do remember that it worked.
 Well at least that sounds promising.  I did see mention of that in
 some of my google searches but I wondered, If I had to use ssh, why
 wouldn't I just pull the X session on linux across with ssh alone.
 And forget about VNC.
 Session persistence. [1] With VNC I can create a full desktop session
 (I use Fluxbox because it's lightweight) and connect to it as needed
 from any system with network access. This is great for my IM app. I
 lock my firewall rules down to allow VNC only from localhost and ssh
 tunnel all my connections (even on the LAN) because VNC's auth scheme
 is dreadfully insecure.
 
 [...]

 
 I had expected to be able to connect to the running X desktop but
 apparently that isn't going to happen.  In other words I cannot view
 the running desktop from a remote machine but am forced to view a new
 or different desktop where none of the things I have running on :0 are
 available. 

I'm pretty sure x11vnc will do that.  I do know there's a vnc server
that will let you grab your current xsession and I think that's the one.
 Somebody please correct me if I'm wrong.
HTH
- --
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiF6gkACgkQdheOldgSlQj16ACgmRTVt7cN94VyUje1DHOfEYCm
L68AoMHMGLjy2LaWp2O7I8CjVykqu69e
=WtZp
-END PGP SIGNATURE-



Re: [gentoo-user] 20008 install problem: Could not find the root block device in .

2008-07-20 Thread Eric Martin

Jarry wrote:

Hi,
I just downloaded install-amd64-minimal-2008.0.iso, burned
it, and tried to bootinstall. But during boot-up, a message
comes:

  Determining root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same,
   type shell for a shell, or q to skip...
root block device() :: _


What am I supposed to do???

It is a common pc, with Asus mobo (nForce4 chipset),
2x sata-disk, 1x sata-dvd, nvidia graphics. Everything
correctly detected in bios and during boot-up.

On the same computer, I could install gentoo-2007 last year,
but unfortunatelly disk has died, so I had to replace it and
install again...

Jarry

If the 2007 cd worked then use that one.  It doesn't matter what cd you 
start from, only that you get started.  For that matter (as people 
always say) you can boot off of knoppix or the lfs (linux from scratch) 
disk.  The only thing the cd does for you is provide a working linux 
environment that you can chroot from to install gentoo.


--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] 20008 install problem: Could not find the root block device in .

2008-07-20 Thread Eric Martin

Dale wrote:

Eric Martin wrote:

Jarry wrote:

Hi,
I just downloaded install-amd64-minimal-2008.0.iso, burned
it, and tried to bootinstall. But during boot-up, a message
comes:

  Determining root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same,
   type shell for a shell, or q to skip...
root block device() :: _


What am I supposed to do???

It is a common pc, with Asus mobo (nForce4 chipset),
2x sata-disk, 1x sata-dvd, nvidia graphics. Everything
correctly detected in bios and during boot-up.

On the same computer, I could install gentoo-2007 last year,
but unfortunatelly disk has died, so I had to replace it and
install again...

Jarry

If the 2007 cd worked then use that one.  It doesn't matter what cd 
you start from, only that you get started.  For that matter (as 
people always say) you can boot off of knoppix or the lfs (linux from 
scratch) disk.  The only thing the cd does for you is provide a 
working linux environment that you can chroot from to install gentoo.


Of course, make sure you get the tarballs off the internet if you use 
a CD that old.  If you use the tarballs off the CD, you will have a 
lot of upgrades to do and it could be . . . messy.
Yeah, thanks for mentioning getting the new tarballs.  I always download 
the newest ones so I just assume everybody else does.




Re: [gentoo-user] Good Library Management software

2008-07-17 Thread Eric Martin

Stroller wrote:


On 14 Jul 2008, at 13:06, CJoeB wrote:


Eric Martin wrote:
Before I recreated the wheel, does anybody know of any good library 
management software (preferably in portage)?  My wife and I are 
having a hard time keeping track of what books we have, and what 
books we are lending out to people so I figured this would be a good 
way to keep track.  Since it's for personal use it doesn't have to be 
anything big.  Preferably backended by MySQL as I already have a 
server running for MythTV and Amarok.


I did a few eix searches for portage and came up empty handed, and 
sourceforge.net has a ton of stuff but I was wondering what other 
people use.


Have you heard of Tellico.  It's a collection manager that can be used 
for books, music, video ... whatever.  It allows you to enter the name 
of the book, a graphic if you have one, rate the book and indicate 
whether or not it's a gift, how much you paid for it and if you have 
lent it out.  It *is* in Portage.


Some information:

http://periapsis.org/tellico/


The screenshots of this look really nice, however to me this seems like 
a really odd motivation for writing a program:


  I started developing it when I couldn't find a personal database
  program for KDE which didn't using a SQL backend.

What's wrong with an SQL backend that needs you to re-invent the wheel? 
I'm not saying there's a better collection manager out there, or that 
the author's in the wrong for doing it the way he has. But it just seems 
a little odd, and I'd love for him to explain his reasons more fully.


Stroller.

Agreed.  Before I found anything that totally suited my needs I was 
going to go LAMP all the way.  Why reinvent the wheel is one of the 
greatest questions of all.


--
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Good Library Management software

2008-07-17 Thread Eric Martin

Dirk Uys wrote:

On Wed, Jul 16, 2008 at 9:49 PM, Stroller
[EMAIL PROTECTED] wrote:

The screenshots of this look really nice, however to me this seems like a
really odd motivation for writing a program:

 I started developing it when I couldn't find a personal database
 program for KDE which didn't using a SQL backend.

What's wrong with an SQL backend that needs you to re-invent the wheel? I'm
not saying there's a better collection manager out there, or that the
author's in the wrong for doing it the way he has. But it just seems a
little odd, and I'd love for him to explain his reasons more fully.

Stroller.

--
gentoo-user@lists.gentoo.org mailing list



I personally have a problem running a SQL server just so that some app
that I use every now and then can store its data. I don't print that
often, so why would I have the CUPS daemon running 24/7 when I print a
page once every two weeks?

Other than that there is also the added complexity to the
installation. You have to create a user in the database, create the
database and grant the user all the needed permission to that specific
database.

And what if one app prefers mySQL and another one postgreSQL? Now I
need to run two database servers that will be quite capable to fill
the data needs of two small businesses just because I want to use a
music player and a library utility for my ~50 books laying around.


While I agree with most of what you say, I agree the most with this. 
Personally I run a MySQL server for school, Amarok, Krecipes, Mythtv and 
whatever I'm playing with.

The app should at least give you the option to use somethings else like SQLlite.


Definitely a plus of Amarok, lets you choose what backend you want to 
use (including sqllite)



But, that is just my viewpoint and I felt like I had to defend the
developers motivation.

Regards
Dirk


--
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Good Library Management software

2008-07-16 Thread Eric Martin

CJoeB wrote:

Eric Martin wrote:
Before I recreated the wheel, does anybody know of any good library 
management software (preferably in portage)?  My wife and I are having 
a hard time keeping track of what books we have, and what books we are 
lending out to people so I figured this would be a good way to keep 
track.  Since it's for personal use it doesn't have to be anything 
big.  Preferably backended by MySQL as I already have a server running 
for MythTV and Amarok.


I did a few eix searches for portage and came up empty handed, and 
sourceforge.net has a ton of stuff but I was wondering what other 
people use.


Have you heard of Tellico.  It's a collection manager that can be used 
for books, music, video ... whatever.  It allows you to enter the name 
of the book, a graphic if you have one, rate the book and indicate 
whether or not it's a gift, how much you paid for it and if you have 
lent it out.  It *is* in Portage.


Some information:

http://periapsis.org/tellico/

Regards,

Colleen

Thanks to all who replied!  Of course my homework load just doubled so 
this will have to wait a while before I take on any more projects but 
such is life.


--
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Good Library Management software

2008-07-14 Thread Eric Martin
Before I recreated the wheel, does anybody know of any good library 
management software (preferably in portage)?  My wife and I are having a 
hard time keeping track of what books we have, and what books we are 
lending out to people so I figured this would be a good way to keep 
track.  Since it's for personal use it doesn't have to be anything big. 
 Preferably backended by MySQL as I already have a server running for 
MythTV and Amarok.


I did a few eix searches for portage and came up empty handed, and 
sourceforge.net has a ton of stuff but I was wondering what other people 
use.


Thanks!
--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] mythdvd on Gentoo?

2008-06-17 Thread Eric Martin

Mark Knecht wrote:

I wonder if anyone can share how to use the mythdvd module on Gentoo?
I've always emerged mythtv with the dvd flag but the mythdvd module
isn't emerged. 

Can't help with that as I'm not in front of my box ATM.
It's not a problem for me to emerge it separately but

I'm wondering whether it needs to be emerged on only the backend or on
every frontend or all machines?

Only needs to be emerged on front end machines


Once emerged does it just show up as another media option on the frontend?


yes, any of those plugins will appear once the frontend has been restarted.

Thanks,
Mark

No prob, HTH

--
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] mythdvd on Gentoo?

2008-06-17 Thread Eric Martin

Mark Knecht wrote:

On Tue, Jun 17, 2008 at 5:12 PM, Eric Martin [EMAIL PROTECTED] wrote:

Mark Knecht wrote:

I wonder if anyone can share how to use the mythdvd module on Gentoo?
I've always emerged mythtv with the dvd flag but the mythdvd module
isn't emerged.

Can't help with that as I'm not in front of my box ATM.
It's not a problem for me to emerge it separately but

I'm wondering whether it needs to be emerged on only the backend or on
every frontend or all machines?

Only needs to be emerged on front end machines

Once emerged does it just show up as another media option on the frontend?


yes, any of those plugins will appear once the frontend has been restarted.

Thanks,
Mark

No prob, HTH

--
Eric Martin


Eric,
   Thanks for responding. I tried emerging it on one of my frontends.
The ebuild told me to remove it since mythdvd is now included in
mythtv itself. I'm running 0.21 if that's different than your setup.
Anyway, this implies I should see mythdvd stuff in my frontend already
but I don't see anything. Is there some configuration setup work that
I have to do to make it visible?

Thanks,
Mark


Wow, I guess I'm due for an upgrade.  While I tend to be bleeding edge 
on most stuff I'm very slow on mythtv upgrades (my wife hates it when it 
breaks).  I'm running .20 and I know .21 is very different.  Seeing as I 
have a different setup I'm stumped ATM.  If nobody here can answer your 
question, consider posting to mythtv-users.


--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Can't Decrypt WEP Packets After Upgrade From 2.6.23 to 2.6.25

2008-06-05 Thread Eric Martin

Drew Tomlinson wrote:
Ever since I upgraded my gentoo-sources kernel from 2.6.23 to 2.6.25, I 
can no longer see packets on my wireless network for any device other 
than my own.  The tcpdump output looks like this:


20:49:32.909144 00:12:bf:2a:2c:76 (oui Unknown) Unknown SSAP 0x10  
00:1f:32:5f:fe:06 (oui Unknown) Unknown DSAP 0xc2 Unnumbered, disc, 
Flags [Final], length 44
20:49:32.912775 00:12:bf:2a:2c:76 (oui Unknown) Unknown SSAP 0x10  
00:1f:32:5f:fe:06 (oui Unknown) Unknown DSAP 0xc2 Information, send seq 
42, rcv seq 0, Flags [Response], length 204
20:49:32.916874 00:12:bf:2a:2c:76 (oui Unknown) Unknown SSAP 0x10  
00:1f:32:5f:fe:06 (oui Unknown) Unknown DSAP 0xc2 Supervisory, Receiver 
not Ready, rcv seq 0, Flags [Response], length 169
20:49:32.976738 00:12:bf:2a:2c:76 (oui Unknown) Unknown SSAP 0x10  
00:1f:32:5f:fe:06 (oui Unknown) Unknown DSAP 0xc2 Information, send seq 
43, rcv seq 0, Flags [Response], length 64
20:49:33.047570 00:12:bf:2a:2c:76 (oui Unknown)  00:1f:32:5f:fe:06 (oui 
Unknown), ethertype Unknown (0x05ec), length 1530:

   0x:  c211 5700 c393 1b7b 838f 366c 27c5 f97a  ..W{..6l'..z
   0x0010:  5111 7d1a 1e33 bebd a432 ff30 5a35 e0ad  Q.}..3...2.0Z5..
   0x0020:  ba16 2b31 f1e9 d905 5967 f333 d3a1 4ba3  ..+1Yg.3..K.
   0x0030:  1e32 0f18 fcc2

I've Googled for an answer and think that my problem is that I am unable 
to decrypt WEP packets for any device other than my own.  This is a 
simple 64 bit WEP network in my home.  Unfortunately I did not find 
anything that applied to my situation.


One thing different about my new kernel config is that because I have a 
Broadcom card, I moved to the new b43 driver instead of the old 
b43_legacy driver.  I am using version 4 firmware however I had the same 
problem with version 3 firmware.  I was hoping that would fix it but no 
luck.


I am also using the new MAC80211 stack instead of the older IEEE80211 
stack.


I don't have much help to offer than go with WPA over WEP (especially 
WEP64).  A guy at my LUG gave a presentation on hacking WEP and did it 
in under 1 minute.  I went home that night and got WPA to work.

Any ideas on what I have done wrong?

Yes, turning on wep vs WPA ;)



Thanks,

Drew

Sorry the only answer is do it totally differently but nobody else 
replied so I figured I'd chime in.


--
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Mailing list and PGP/MIME

2008-05-24 Thread Eric Martin

Wolf Canis wrote:

Hello all,

it seems that sometimes mails of mine doesn't
go to the list. :-(

I had this problem just a couple of hours ago. I
send a reply to the thread Need help with a regex
but the mail doesn't reach the list. I looked in
the archive and it doesn't reach there too. These
mail was send with PGP/MIME. I send this message at
6:03 PM CET.
At 10:13 PM CET I send the mail again but this time
without PGP/MIME - and this time the mail reached the
list. =-0

Now I'm wondering whether it could be that the
list server has problems with those mails or perhaps
those mails are simply blocked.

Is there a problem with signed messages?

Thanks in advance.

W. Canis
Sending w/PGP/MIME, email me off list if you get this.  I'll also send 
one w/pgp not mime encoded

--
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Mailing list and PGP/MIME

2008-05-24 Thread Eric Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wolf Canis wrote:
| Hello all,
|
| it seems that sometimes mails of mine doesn't
| go to the list. :-(
|
| I had this problem just a couple of hours ago. I
| send a reply to the thread Need help with a regex
| but the mail doesn't reach the list. I looked in
| the archive and it doesn't reach there too. These
| mail was send with PGP/MIME. I send this message at
| 6:03 PM CET.
| At 10:13 PM CET I send the mail again but this time
| without PGP/MIME - and this time the mail reached the
| list. =-0
|
| Now I'm wondering whether it could be that the
| list server has problems with those mails or perhaps
| those mails are simply blocked.
|
| Is there a problem with signed messages?
|
| Thanks in advance.
|
| W. Canis
|
| PS: Send at 11:12 PM CET without PGP/MIME
This one isn't sent as pgp/mime
- --
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIOIvedheOldgSlQgRAgCVAJ976+MXAQLryssn3ESsstbZKehuvACdGf8+
A+bc7Eku4Tv9PPnJrZvNcZg=
=4PC8
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] ssh-add: Could not open a connection to your authentication agent.

2008-04-16 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael Schmarck wrote:
 Hello.
 
 Since this morning, I find that I can no longer add SSH keys to the
 ssh key agent. I'm using Gnome 2.22, so I think seahorse would be
 used instead.
 
 --($:~)-- ssh-add 
 Could not open a connection to your authentication agent.
 
 No good :(
 
 Per man ssh-add(1):
 
  The authentication agent must be running and the SSH_AUTH_SOCK environ‐
  ment variable must contain the name of its socket for ssh-add to work.
 
 --($:~)-- echo $SSH_AUTH_SOCK 
 /tmp/keyring-L12w0n/ssh
 
 --($:~)-- ps awux | grep keyri
 mike  8073  0.0  0.2  16216  2632 ?SL   07:18   0:00 
 /usr/bin/gnome-keyring-daemon --foreground --components=keyring
 
 --($:~)-- ps awux | grep seah
 mike  6631  0.0  1.8  36876 16776 ?Ss   07:14   0:00 
 /usr/bin/seahorse-agent --execute gnome-session

snip
 
 Anyone else having problems with ssh-add?
 
 Best regards,
 Michael
 

Is ssh-agent running?  What does

ps -aux | grep ssh

show?  Also,

env | grep SSH

ought to show a bunch of ssh-agent stuff.

- --
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBeF6aiVxdKlBO58RAgyVAJ4rQq1pBayt0HS5Q6u094EZevYQuACeKnwv
AuIOYq5kJIrtQtjRFanImC8=
=9FkO
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: ssh-add: Could not open a connection to your authentication agent.

2008-04-16 Thread Eric Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael Schmarck wrote:
| Eric Martin [EMAIL PROTECTED] wrote:
|
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| Michael Schmarck wrote:
| Hello.
|
| Since this morning, I find that I can no longer add SSH keys to the
| ssh key agent. I'm using Gnome 2.22, so I think seahorse would be
| used instead.
| [...]
| Is ssh-agent running?  What does
|
| No, it's not. Gnome's seahorse offers that functionality.
|
| env | grep SSH
|
| ought to show a bunch of ssh-agent stuff.
|
| Nothing interesting. :(
|
| --($:/dev/shm)-- env | grep SSH
| SSH_AUTH_SOCK=/tmp/keyring-L12w0n/ssh
| SSH_ASKPASS=/usr/bin/gtk2-ssh-askpass
|
| Michael
|
of course I ran eix seahorse *after* hitting reply.  Teaches me not to
reply to a message 30 seconds after getting out of bed.  Ok, now onto
helpful stuff...  does /tmp/keyring-L12w0n/ssh exist?  Does any other
sort of ssh-agent / seahorse stuff exist in /tmp?  When running
ssh-agent, I get a pipe called /tmp/ssh-[a-zA-Z0-9]/agent.$pid.  After
that I'm out of ideas.

- --
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBgSidheOldgSlQgRAtZXAKCGtlu3b873ZsImjkjijHULPa9j1gCcDpBO
+iuXZ9ZV1TP83z1a09OmbJw=
=4iUY
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] {OT} Overclocked CPU killed motherboard and CD?

2008-04-16 Thread Eric Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roy Wright wrote:
| Grant wrote:
|  An oc'ed cpu needs a lot more powergenerates a lot more heat. Both
can damage
|  the CPU AND the mobo (too much power might fry a regulator, or cook
a cap).
|  Or it might overload the PSU - and then everything is possible. A
damaged
|  mobo or psu can take a lot of stuff with it to hell.
|
|  I hope you learnt your lesson: Overclocking is evil
| I'll never overclock again.  I'm realizing how much more important
| reliability is compared to performance and low cost.
|
| - Grant
|
| That's been my thoughts until recently.  I just built a system using a
| Q9300 (45nm quad core) and decided to give OC a try.  Bumped the clock
| from 333MHz to 400MHz causing the CPU freq to increase from 2.5MHz to
| 3.0MHz.  DDR2-800 memory not OC'ed.  Core temps under 4 core 100% load
| using burnP5 only increased from 71C to 73C.  This was with stock Intel
| heat sink/fan/thermal paste (just the way Intel wants it).  I just
| ordered a XIGMATEK HDT-S1283 to lower these.
|
| IMO, it looks like the Intel 45nm processors have some easy OC headroom.
|
| YMMV.
|
| Have fun,
| Roy
This may be untrue, but from what I've see that's the way it goes
w/OC'ing; Intels have room to be overclocked and AMDs don't.  The OP
overclocked an AMD processor which I've always heard is a bad idea.
Just my $0.02

- --
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBjOCdheOldgSlQgRAhVnAJ96V33uu7gE82cl5/E8kL1sZ/Qu2gCg3DU9
ELPLMwkj3odxE6yzRLU/3ZA=
=EPgz
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: ssh-add: Could not open a connection to your authentication agent.

2008-04-16 Thread Eric Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael Schmarck wrote:
| Eric Martin [EMAIL PROTECTED] wrote:
|
|
| of course I ran eix seahorse *after* hitting reply.  Teaches me not to
| reply to a message 30 seconds after getting out of bed.  Ok, now onto
| helpful stuff...  does /tmp/keyring-L12w0n/ssh exist?
|
| Yes. HOWEVER:
|
| --($:~)-- sudo lsof | grep -i tmp/keyring
| lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system
/home/mike/.gvfs
|   Output information may be incomplete.
| gnome-key  8073 mike  3u unix 0xe2fd51c0
16680 /tmp/keyring-TEj1nP/socket
| gnome-key  8073 mike 13u unix 0xe2e8ee00
16783 /tmp/keyring-TEj1nP/socket
|
| That's strange - there's nothing listening on /tmp/keyring-L12w0n and
| for sure not on the ssh named pipe in that directroy.
|
| Does any other
| sort of ssh-agent / seahorse stuff exist in /tmp?
|
| Yes.
|
| --($:~)-- ls -la /tmp/keyring-* /tmp/seahorse-BnTrHX/
| /tmp/keyring-L12w0n:
| insgesamt 41
| drwx--  2 mike   users  1024 16. Apr 07:14 .
| drwxrwxrwt 20 root   root  39936 16. Apr 15:50 ..
| srwxr-xr-x  1 mike   users 0 16. Apr 07:14 socket
| srwxr-xr-x  1 mike   users 0 16. Apr 07:14 socket.pkcs11
| srwxr-xr-x  1 mike   users 0 16. Apr 07:14 ssh
|
| /tmp/keyring-TEj1nP:
| insgesamt 41
| drwx--  2 mike   users  1024 16. Apr 07:18 .
| drwxrwxrwt 20 root   root  39936 16. Apr 15:50 ..
| srwxr-xr-x  1 mike   users 0 16. Apr 07:18 socket
|
| /tmp/seahorse-BnTrHX/:
| insgesamt 41
| drwx--  2 mike   users  1024 16. Apr 07:14 .
| drwxrwxrwt 20 root   root  39936 16. Apr 15:50 ..
| srw---  1 mike   users 0 16. Apr 07:14 S.gpg-agent
|
| When running
| ssh-agent, I get a pipe called /tmp/ssh-[a-zA-Z0-9]/agent.$pid.  After
| that I'm out of ideas.
|
| So there are two that are out of ideas.
|
| It seems there are two strange things:
|
| - ssh agent env.var is pointing to the wrong directory.
| - nothings reading from the ssh pipe in the wrong directory.
|
| Strange, isn't it?
|
| BTW: The lsof command I ran was correct, wasn't it? I'd expect
| that it would've shown a command which had /tmp/keyring/L12w0n/ssh
| open.
|
| Michael
|
Ok, so looking at your original post, gvfs, gnome-vfs, and seahorse were
upgraded.  I'm not much of a gnome guy but I do know that apps do all
sorts of strange stuff if I upgrade deps and don't restart them
(forget).  When's the last time you restarted gnome / your box?  I know
it's not the the NIX way to reboot when you can't fix it (as it usually
doesn't fix the problem) but I'm running out of ideas

- --
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBjc7dheOldgSlQgRAoP4AJ9A340E6/jbt2w+LgtDVDMIbNJH4ACfV+cd
4BKOpp7IuBzTEjggzANSInc=
=bM0n
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] [Fwd: Returned mail: User unknown] another dead email address

2008-04-16 Thread Eric Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



-  Original Message 
Subject: Returned mail: User unknown
Resent-Date: Wed, 16 Apr 2008 10:39:13 -0700 (PDT)
Resent-From: [EMAIL PROTECTED]
Date: Wed, 16 Apr 2008 10:39:13 -0700 (PDT)
From: [EMAIL PROTECTED]
To: Eric Martin [EMAIL PROTECTED]

The original message was received at 2008-04-16 12:35:26 -0500
from postoffice.(null) [10.0.0.1]

~   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]

~   -Transcript of session follows -
... while talking to postoffice.(null).:
| RCPT To:[EMAIL PROTECTED]
 550 5.1.1 unknown or illegal alias: [EMAIL PROTECTED]
550 [EMAIL PROTECTED]... User unknown

Has anybody else who recently posted to the list gotten an email bounce
for a [EMAIL PROTECTED]
- --
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBj37dheOldgSlQgRAnYWAKC2q063tIRUIGfjde6/QIRjc+bTOwCfab64
+rjhY0wkKwU3xsfVwkKjWu0=
=auT/
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [Fwd: Returned mail: User unknown] another dead email address

2008-04-16 Thread Eric Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Uwe Thiem wrote:
| On Wednesday 16 April 2008, Eric Martin wrote:

| Has anybody else who recently posted to the list gotten an email
| bounce for a [EMAIL PROTECTED]
|
| Nope but since it is an unknown or illegal alias rather than
| an unknown user, I'd venture the guess it's a temporary
| configuration error. Before taking drastic measures like kicking him
| off the list, I'd advise to wait a day or two. They might get it
| fixed.
|
| Uwe
|
(puts down tar and feathers) Nobody said anything about drastic measures ;)

- --
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBkdvdheOldgSlQgRAsnnAJ0cgIvQBxaDO+0kl7BeP0pcHHCG/gCfSFFc
9e6d7G5FW1pvrH1XLF0gQBA=
=3LF5
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: ssh-add: Could not open a connection to your authentication agent.

2008-04-16 Thread Eric Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael Schmarck wrote:
| Hello.
|
| · Eric Martin [EMAIL PROTECTED]:
|
| Ok, so looking at your original post, gvfs, gnome-vfs, and seahorse were
| upgraded.
|
| Yes.
|
| I'm not much of a gnome guy but I do know that apps do all
| sorts of strange stuff if I upgrade deps and don't restart them
| (forget).  When's the last time you restarted gnome / your box?
|
| This morning. Yesterday, I upgraded stuff and then shut down my
| machine. This morning I booted the machine.
|
| I know
| it's not the the NIX way to reboot when you can't fix it (as it usually
| doesn't fix the problem) but I'm running out of ideas
|
| You're right - didn't fix it :)
|
| It seems to me, as if some daemon or whatnot is not started.
|
| It would be interesting for me, if any other Gnome users have
| this problem as well. If not, it would be interesting to see
| what daemons you've got running. The lsof output would be
| very interesting!
|
| Michael Schmarck
I run ssh-agent by hand on occasion.  Other than that I don't run any
keyring stuff so I'm afraid I can't be of much more help.

- --
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBk57dheOldgSlQgRAvA0AJ9TmMP69Uz9WRXxthWOJi+0MrHg8QCffF5S
0zFW7XOuwj9dECJ7f6HF30Y=
=Rwy6
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Gentoo AMD64, games freeze!

2008-04-12 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Abraham Gyorgy wrote:
 
 2008/4/11, Volker Armin Hemmann [EMAIL PROTECTED]:
 On Freitag, 11. April 2008, Abraham Gyorgy wrote:
 I use revdep-rebuild everytime I upgrade my system. (emerge --sync 
 emerge -uD world  revdep-rebuild  etc-update).
 I think revdep-rebuild know what libs are broken.

 revdep rebuild does not see all brokeness.

 ldd the games and rebuilt all libs that are loaded.

 Thanks. Could you give me some instructions (or howto links anything)
on how
 to ldd an installed package? Thanks.

[EMAIL PROTECTED] ~ $ ldd /bin/bash
linux-gate.so.1 =  (0xe000)
libncurses.so.5 = /lib/libncurses.so.5 (0xb7f66000)
libdl.so.2 = /lib/libdl.so.2 (0xb7f62000)
libc.so.6 = /lib/libc.so.6 (0xb7e32000)
/lib/ld-linux.so.2 (0xb7fbb000)
Also, please don't top-post.  It makes it really hard to keep up with
the conversation.  Thanks!

- --
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIAGu6dheOldgSlQgRAhCuAKCxeyy3S2P9tJHPrKbBBcEHn5sChACgjIEB
aADBXdKvqpuOWraPhSi8Mew=
=sVhi
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-04-01 Thread Eric Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Neil Bothwick wrote:

| Rsync may work, or it may complain that files have changed between
| building the list and copying them and you'd need to use -x to do the
| same as -l with tar. Either way, shut down as many services as possible
| during the copy, particularly anything that uses databases.

If you are using lvm you could also make a snapshot of your running
system (after stopping databases etc) and then start the services and
just grab stuff off of the snapshot.  That way you're getting a snapshot
in time as opposed to a very large window of data.
- --
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH8pKxdheOldgSlQgRAhO3AJ9+rZB8E/DSZ4vGe0+I1MdXf9IaYgCgqRNm
/W8YU6zPMbuMjH5EMo9Rc28=
=AvYH
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-04-01 Thread Eric Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joseph wrote:
| On 03/31/08 09:26, Grant wrote:
| My Gentoo laptop keeps freezing.  It will stay up for about 30 minutes
| and then stop responding altogether.  I've checked the logs but there
| is nothing informative there.  I'm all up to date with packages.  How
| do you troubleshoot something like this?
|
| - Grant
|
| Start with ls_sensors and monitor CPU and motherboard temp.
+1 to that.  I had a laptop that was doing the exact same thing.  I
installed lm_sensors and saw that at rest my temp was generally 40C
(that's with powersave enabled).  When I compiled the temp would go up
to 75C...I think the highest I ever got it was 77C.*  A /little/ over 40
is too hot...

*For the Americans (like me) the easy way for C - F is double it,
subtract 10% and add 32.  So the temps would be 104F, 167F and 171F.

- --
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH8phDdheOldgSlQgRAuKcAKDcYnv7PuepF5no3Z74on/6wYUfIACgvWXz
ETwrpz+31+rq0tB4UqSWCMY=
=0div
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] X crashes on Suspend to Disk ( hibernate )

2008-04-01 Thread Eric Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thomas Kahle wrote:
| Hi,
|
| for a couple of days now, no idea how it started, my X-Server crashes
| when coming back from suspend to disk. I use kernel 2.6.25-rc6,
| xorg-server 1.4.0.90 and coming back from suspend to ram works
| perfectly. There is absolutely nothing in the logs. Just when the
| applications awake from sleep, they all report broken pipes and find
| X-Server is gone.
| X.org.log shows nothing.
|
| any ideas where to start investigaion?

Are you using anything on top of X?  is your swap file = RAM?  I don't
know if it will even let you suspend if that's not the case but I'll ask
anyway.  Does /var/log/messages and/or dmesg show anything?

- --
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH8p4OdheOldgSlQgRAuPqAKDIWzVVuaIMMfsm940Ar5nK7crDLACgnVK1
tzGTW/F5Cdj9rlQy5wnAXPw=
=19TL
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] defect management block device

2008-03-24 Thread Eric Martin

Alan McKinnon wrote:

On Monday 24 March 2008, Enrico Weigelt wrote:
  

does anyone know an (virtual) block device which can do automatic
defect management (if the underlying disks have badblocks) ?

My idea goes like this:
* one or more devices are assigned to one block device
* a bunch of spare blocks are reserved for defect management
  (so the device looks smaller than the sum of assigned disks)
* if an badblock is detected, it's automatically remapped
  to an spare block

In fact, just what drive-internal defect manangement does, but
at OS / driver level.



I don't see the point, unless you are dealing with drives that do not 
have defect management.


What makes you think you can accomplish this result better than the 
firmware on the drive? It seems to me that if the drive firmware missed 
the opportunity to relocate the bad block, then your window of 
opportunity to do it in your code has long since passed. IOW, the OS 
code cannot possibly ever achieve it's design result.


Just a thought, maybe you know some aspect of disks that I don't and can 
see where this would be useful. From where I sit, I can;t see any such 
use-case.


  


While I see what Alan is saying, I'm pretty sure LVM does it.  Device 
Drivers - Multiple Devices Driver Support - Bad Block Relocation 
Device Target.  I've never played with it but I assume there's a lot of 
good reading on it.


--
HTH, Eric
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OFF TOPIC] PGP Messages Email clients

2008-03-21 Thread Eric Martin

Matt Nordhoff wrote:

Chris Brennan wrote:
  

Matt Nordhoff wrote:
| Yeah, yours is the only one I'm having trouble with. :-P
|
| Can't find it on any of the key servers I've tried.
|
| (Note: Im kind of a PGP newbie. I didn't look very hard.)


mmm then I will regenerate my key and resubmit it later tonight ...



Where did you submit it to? I mostly tried subkeys.pgp.net.
  
Just checked today on subkeys.pgp.net and I can't get it.  From my 
understanding most of the servers sync so if you put it on one it's out 
there.  I think my pgp signature blocks are going out as signature.asc 
which is good for most people.  I'm using enigmail for thunderbird which 
is great.


--
Eric
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Root shell terminates after first keystroke

2008-03-21 Thread Eric Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tim wrote:
 Tonight, for no apparent reason, a problem has started cropping up when
 I 'sudo su'. The root shell will start up fine, but after the first time
 I hit a key, the shell terminates - apparently normally. A sample try
 looks like this (I begin to type emerge, with little success):
 
 [EMAIL PROTECTED] ~ $ sudo su
 wozniak tim # eexit
 [EMAIL PROTECTED] ~ $
 
 This occurs no matter how long I wait before hitting a key. Using 'su'
 without the preceding 'sudo' will let me into a normal root shell
 without the problem occurring. The problem also occurs only in Konsole,
 not at a tty. I should mention, based on this, that I'm running KDE4.
 How might I go about fixing this?
Dumb question, why are you exec'ing /sudo su/?  Why not just /su/ or /su
- -/ or /sudo/ ?

- --
~eric
PGP: D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH5IspaiVxdKlBO58RAgauAJ9DzETIQaEU96MScKipdcylhwXdxQCfTzqI
78dioXd2b/IKyswemBhQlT8=
=BC8T
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge can not work !

2008-02-22 Thread Eric Martin

Matthias Guede wrote:

Make sure your working directory is in the path:

PATH=${PATH}:./ ./python /usr/bin/emerge python
  


!!Big security hole!! ./ is purposely left out of the path so people 
can't sneak fake programs in there.


~eric
--
gentoo-user@lists.gentoo.org mailing list



  1   2   >