[gentoo-user] Network configuration - Two ips one from dhcp & other static

2012-01-06 Thread Nilesh Govindarajan
Well, the title tells the question clearly; how do I configure network
such that the first ip is obtained via dhcpcd and other is static?
config_eth0="dhcp " doesn't work.

As a solution I wrote a dhcpcd hook containing /sbin/ifconfig eth0:0
 netmask 

Is there a direct way?

-- 
Nilesh Govindarajan
http://nileshgr.com




[gentoo-user] No access to encfs-encrypted directory

2012-01-06 Thread meino . cramer
Hi,

On a extf4 formatted partition I have two directories (beside others,
non encrypted ones):

.crypt
crypt

.crypt contains the encrypted data.

I then mount the encrypted partionas as root with

mount -t ecryptfs /home/user/.crypt /home/user/crypt -o 
ecryptfs_cipher=blowfish,ecryptfs_key_bytes=56,ecryptfs_passthrough=n,ecryptfs_sig=,ecryptfs_fnek_sig=,ecryptfs_unlink_sigs,key=passphrase

(I blanked the sigs before posting)

This worked like a charmbut...

A local power fail switches my PC off while the encrypted directory
was mounted.

After rebooting I still was abler to execute the command given above
successfully, but two diorectorie below the directory 'crypt' show
like this:

drwxr-xr-x  6 mccramer users  4096 2012-01-07 05:05 .
drwxr-xr-x 11 mccramer users  4096 2012-01-07 06:47 ..
d?  ? ?? ?? .process
drwxr-xr-x  2 mccramer users  4096 2008-09-07 03:41 BlenderLostAndFound
drwxr-xr-x  2 mccramer users 12288 2011-10-31 04:16 NEWARCS
-rw-r--r--  1 mccramer users 0 2006-01-01 07:00 RENDER
d?  ? ?? ?? logdata


Trying to cd into logdata or .process fail.


Is there any chance to recover from this and if yes: how ???

Thank you very much for any help in advance!

Best regards,
mcc






Re: [gentoo-user] pidgin, ssl, and xmpp

2012-01-06 Thread Pandu Poluan
On Jan 7, 2012 11:14 AM, "Andrey Moshbear"  wrote:
>
> On Fri, Jan 6, 2012 at 23:04, Pandu Poluan  wrote:
> >
> > On Jan 7, 2012 9:59 AM, "Andrey Moshbear"  wrote:
> >>
> [snip]
> >>
> >> where exactly is the SSL problem?
> >>
> >
> > It's not SSL problem, but SASL authentication failure.
> >
> > Check the following, might help :
> >
> >
http://askubuntu.com/questions/88989/unable-to-connect-to-google-talk-using-pidgin-sasl-error
> >
>
> Interesting how having
>
> 127.0.0.1 localhost
> ::1 localhost
>
> instead of
>
> 127.0.0.1 localhost hostname
> ::1 localhost hostname
>
> causes subtle issues.
>
> And yes, that fixed it. Thanks for the link.
>

I think the SASL handshake appended the hostname somewhere, and Google
rejected all auth attempts from "localhosh"

But that's just some speculation.

Anyways, glad it helped.

Rgds,


Re: [gentoo-user] pidgin, ssl, and xmpp

2012-01-06 Thread Andrey Moshbear
On Fri, Jan 6, 2012 at 23:04, Pandu Poluan  wrote:
>
> On Jan 7, 2012 9:59 AM, "Andrey Moshbear"  wrote:
>>
[snip]
>>
>> where exactly is the SSL problem?
>>
>
> It's not SSL problem, but SASL authentication failure.
>
> Check the following, might help :
>
> http://askubuntu.com/questions/88989/unable-to-connect-to-google-talk-using-pidgin-sasl-error
>

Interesting how having

127.0.0.1 localhost
::1 localhost

instead of

127.0.0.1 localhost hostname
::1 localhost hostname

causes subtle issues.

And yes, that fixed it. Thanks for the link.



Re: [gentoo-user] pidgin, ssl, and xmpp

2012-01-06 Thread Pandu Poluan
On Jan 7, 2012 9:59 AM, "Andrey Moshbear"  wrote:
>
> With the following pidgin debug log:
> 21:46:56) account: Connecting to account x...@gmail.com/.
> (21:46:56) connection: Connecting. gc = 0x1d44780
> (21:46:56) dnssrv: querying SRV record for gmail.com:
> _xmpp-client._tcp.gmail.com
> (21:46:56) dnssrv: found 5 SRV entries
> (21:46:56) dnsquery: Performing DNS lookup for xmpp.l.google.com
> (21:46:56) dns: Successfully sent DNS request to child 805
> (21:46:56) dns: Got response for 'xmpp.l.google.com'
> (21:46:56) dnsquery: IP resolved for xmpp.l.google.com
> (21:46:56) proxy: Attempting connection to 209.85.225.125
> (21:46:56) proxy: Connecting to xmpp.l.google.com:5222 with no proxy
> (21:46:56) proxy: Connection in progress
> (21:46:56) proxy: Connecting to xmpp.l.google.com:5222.
> (21:46:56) proxy: Connected to xmpp.l.google.com:5222.
> (21:46:56) jabber: Sending (x...@gmail.com): 
> (21:46:56) jabber: Sending (x...@gmail.com):  to='gmail.com' xmlns='jabber:client'
> xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
> (21:46:56) jabber: Recv (138):  id="0A69C2453F195AB0" version="1.0"
> xmlns:stream="http://etherx.jabber.org/streams"; xmlns="jabber:client">
> (21:46:56) jabber: Recv (241):  xmlns="urn:ietf:params:xml:ns:xmpp-tls">
xmlns="urn:ietf:params:xml:ns:xmpp-sasl">X-GOOGLE-TOKENX-OAUTH2
> (21:46:56) jabber: Sending (x...@gmail.com):  xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
> (21:46:56) jabber: Recv (50): 
> (21:46:56) gnutls: Starting handshake with gmail.com
> (21:46:56) util: Writing file prefs.xml to directory /home/XXX/.purple
> (21:46:56) util: Writing file /home/XXX/.purple/prefs.xml
> (21:46:56) gnutls: Handshake complete
> (21:46:56) gnutls/x509: Key print:
> 0c:99:2a:04:72:48:59:1a:3c:cf:ab:60:d0:2a:9e:73:73:42:f0:08
> (21:46:56) gnutls/x509: Key print:
> dd:7a:7f:13:1d:db:a3:3d:3e:86:70:17:94:83:e6:fe:a6:98:7d:6a
> (21:46:56) gnutls: Peer provided 2 certs
> (21:46:56) gnutls: Lvl 0 SHA1 fingerprint:
> 0c:99:2a:04:72:48:59:1a:3c:cf:ab:60:d0:2a:9e:73:73:42:f0:08
> (21:46:56) gnutls: Serial: 6d:ca:e4:9f:00:03:00:00:34:be
> (21:46:56) gnutls: Cert DN: C=US,ST=California,L=Mountain
> View,O=Google Inc.,CN=gmail.com
> (21:46:56) gnutls: Cert Issuer DN: C=US,O=Google Inc,CN=Google
> Internet Authority
> (21:46:56) gnutls: Lvl 1 SHA1 fingerprint:
> dd:7a:7f:13:1d:db:a3:3d:3e:86:70:17:94:83:e6:fe:a6:98:7d:6a
> (21:46:56) gnutls: Serial: 0b:67:71
> (21:46:56) gnutls: Cert DN: C=US,O=Google Inc,CN=Google Internet Authority
> (21:46:56) gnutls: Cert Issuer DN: C=US,O=Equifax,OU=Equifax Secure
> Certificate Authority
> (21:46:56) certificate/x509/tls_cached: Starting verify for gmail.com
> (21:46:56) certificate/x509/tls_cached: Checking for cached cert...
> (21:46:56) certificate/x509/tls_cached: ...Found cached cert
> (21:46:56) gnutls: Attempting to load X.509 certificate from
> /home/XXX/.purple/certificates/x509/tls_peers/gmail.com
> (21:46:56) certificate/x509/tls_cached: Peer cert matched cached
> (21:46:56) util: Writing file
> /home/XXX/.purple/certificates/x509/tls_peers/gmail.com
> (21:46:56) certificate: Successfully verified certificate for gmail.com
> (21:46:56) jabber: Sending (ssl) (x...@gmail.com):  to='gmail.com' xmlns='jabber:client'
> xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
> (21:46:56) jabber: Recv (ssl)(138):  id="6C45C0A9313259E1" version="1.0"
> xmlns:stream="http://etherx.jabber.org/streams"; xmlns="jabber:client">
> (21:46:56) jabber: Recv (ssl)(197): 
xmlns="urn:ietf:params:xml:ns:xmpp-sasl">PLAINX-GOOGLE-TOKENX-OAUTH2
> (21:46:56) sasl: sasl_state is -1, failing the mech and trying again
> (21:46:56) connection: Connection error on 0x1d44780 (reason: 3
> description: Server does not use any supported authentication method)
> (21:46:57) account: Disconnecting account x...@gmail.com/ (0x1a3dbb0)
> (21:46:57) connection: Disconnecting connection 0x1d44780
> (21:46:57) jabber: Sending (ssl) (x...@gmail.com): 
> (21:46:57) connection: Destroying connection 0x1d44780
>
> and USE flags:
> dev-libs/cyrus-sasl-2.1.25 berkdb gdbm java kerberos mysql pam
> postgres sqlite ssl -authdaemond -elibc_FreeBSD -ldapdb -openldap
> -sample -srp -static-libs -urandom
> net-im/pidgin-2.10.1 dbus debug doc gnutls gstreamer gtk idn ncurses
> nls perl python sasl spell tcl tk xscreensaver -eds -gadu -groupwise
> -meanwhile -networkmanager -prediction -silc -zephyr -zeroconf
> net-libs/gnutls-2.10.5 cxx doc lzo nls zlib -bindist -examples -guile
-test
>
> where exactly is the SSL problem?
>

It's not SSL problem, but SASL authentication failure.

Check the following, might help :

http://askubuntu.com/questions/88989/unable-to-connect-to-google-talk-using-pidgin-sasl-error

Rgds,


Re: [gentoo-user] Re: xpdf - missing fonts

2012-01-06 Thread Joseph

On 01/06/12 13:51, walt wrote:

On 01/06/2012 08:48 AM, Joseph wrote:

On 01/06/12 07:52, walt wrote:

On 01/05/2012 09:36 AM, Joseph wrote:

It seems to me I'm missing some fonts or they are not correctly setup.
I've added these fonts to /etc/xpdfrc but it did not help.


A while ago there was a font problem caused by turning off the NLS
useflag, because some font packages honor that flag.

Do you have the NLS useflag turned off?


For which package?
I do not have "NLS" flag turned ON globally.


Try turning the NLS useflag on for your installed font packages that use
NLS.  Not all font packages use NLS, dunno why.  To see which installed
fonts use NLS:

#eix -IU nls | grep fonts


Aparenlty none of them:

eix -IU nls | grep fonts
[I] media-fonts/font-misc-misc
 Description: X.Org miscellaneous fonts

--
Joseph



[gentoo-user] pidgin, ssl, and xmpp

2012-01-06 Thread Andrey Moshbear
With the following pidgin debug log:
21:46:56) account: Connecting to account x...@gmail.com/.
(21:46:56) connection: Connecting. gc = 0x1d44780
(21:46:56) dnssrv: querying SRV record for gmail.com:
_xmpp-client._tcp.gmail.com
(21:46:56) dnssrv: found 5 SRV entries
(21:46:56) dnsquery: Performing DNS lookup for xmpp.l.google.com
(21:46:56) dns: Successfully sent DNS request to child 805
(21:46:56) dns: Got response for 'xmpp.l.google.com'
(21:46:56) dnsquery: IP resolved for xmpp.l.google.com
(21:46:56) proxy: Attempting connection to 209.85.225.125
(21:46:56) proxy: Connecting to xmpp.l.google.com:5222 with no proxy
(21:46:56) proxy: Connection in progress
(21:46:56) proxy: Connecting to xmpp.l.google.com:5222.
(21:46:56) proxy: Connected to xmpp.l.google.com:5222.
(21:46:56) jabber: Sending (x...@gmail.com): 
(21:46:56) jabber: Sending (x...@gmail.com): 
(21:46:56) jabber: Recv (138): http://etherx.jabber.org/streams"; xmlns="jabber:client">
(21:46:56) jabber: Recv (241): X-GOOGLE-TOKENX-OAUTH2
(21:46:56) jabber: Sending (x...@gmail.com): 
(21:46:56) jabber: Recv (50): 
(21:46:56) gnutls: Starting handshake with gmail.com
(21:46:56) util: Writing file prefs.xml to directory /home/XXX/.purple
(21:46:56) util: Writing file /home/XXX/.purple/prefs.xml
(21:46:56) gnutls: Handshake complete
(21:46:56) gnutls/x509: Key print:
0c:99:2a:04:72:48:59:1a:3c:cf:ab:60:d0:2a:9e:73:73:42:f0:08
(21:46:56) gnutls/x509: Key print:
dd:7a:7f:13:1d:db:a3:3d:3e:86:70:17:94:83:e6:fe:a6:98:7d:6a
(21:46:56) gnutls: Peer provided 2 certs
(21:46:56) gnutls: Lvl 0 SHA1 fingerprint:
0c:99:2a:04:72:48:59:1a:3c:cf:ab:60:d0:2a:9e:73:73:42:f0:08
(21:46:56) gnutls: Serial: 6d:ca:e4:9f:00:03:00:00:34:be
(21:46:56) gnutls: Cert DN: C=US,ST=California,L=Mountain
View,O=Google Inc.,CN=gmail.com
(21:46:56) gnutls: Cert Issuer DN: C=US,O=Google Inc,CN=Google
Internet Authority
(21:46:56) gnutls: Lvl 1 SHA1 fingerprint:
dd:7a:7f:13:1d:db:a3:3d:3e:86:70:17:94:83:e6:fe:a6:98:7d:6a
(21:46:56) gnutls: Serial: 0b:67:71
(21:46:56) gnutls: Cert DN: C=US,O=Google Inc,CN=Google Internet Authority
(21:46:56) gnutls: Cert Issuer DN: C=US,O=Equifax,OU=Equifax Secure
Certificate Authority
(21:46:56) certificate/x509/tls_cached: Starting verify for gmail.com
(21:46:56) certificate/x509/tls_cached: Checking for cached cert...
(21:46:56) certificate/x509/tls_cached: ...Found cached cert
(21:46:56) gnutls: Attempting to load X.509 certificate from
/home/XXX/.purple/certificates/x509/tls_peers/gmail.com
(21:46:56) certificate/x509/tls_cached: Peer cert matched cached
(21:46:56) util: Writing file
/home/XXX/.purple/certificates/x509/tls_peers/gmail.com
(21:46:56) certificate: Successfully verified certificate for gmail.com
(21:46:56) jabber: Sending (ssl) (x...@gmail.com): 
(21:46:56) jabber: Recv (ssl)(138): http://etherx.jabber.org/streams"; xmlns="jabber:client">
(21:46:56) jabber: Recv (ssl)(197): PLAINX-GOOGLE-TOKENX-OAUTH2
(21:46:56) sasl: sasl_state is -1, failing the mech and trying again
(21:46:56) connection: Connection error on 0x1d44780 (reason: 3
description: Server does not use any supported authentication method)
(21:46:57) account: Disconnecting account x...@gmail.com/ (0x1a3dbb0)
(21:46:57) connection: Disconnecting connection 0x1d44780
(21:46:57) jabber: Sending (ssl) (x...@gmail.com): 
(21:46:57) connection: Destroying connection 0x1d44780

and USE flags:
dev-libs/cyrus-sasl-2.1.25 berkdb gdbm java kerberos mysql pam
postgres sqlite ssl -authdaemond -elibc_FreeBSD -ldapdb -openldap
-sample -srp -static-libs -urandom
net-im/pidgin-2.10.1 dbus debug doc gnutls gstreamer gtk idn ncurses
nls perl python sasl spell tcl tk xscreensaver -eds -gadu -groupwise
-meanwhile -networkmanager -prediction -silc -zephyr -zeroconf
net-libs/gnutls-2.10.5 cxx doc lzo nls zlib -bindist -examples -guile -test

where exactly is the SSL problem?



Re: [gentoo-user] Re: ERROR: Cannot locate kernel binary

2012-01-06 Thread .
I'm assuming it's a genkernel bug.
I've masked the latest ~arch version and it worked.



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-06 Thread Walter Dnes
On Thu, Jan 05, 2012 at 08:30:52AM +0100, pk wrote
> On 2012-01-05 01:02, Alan McKinnon wrote:
> 
> > On my notebooks and test/development VMs, that's different. Those need
> > udev.
> 
> Why does it need udev specifically? Just curious... if there's a
> technical need for something else than /dev population (and possible
> configuration of devices, i.e. tell the kernel what bits needs to be
> switched)?

  I think I've found one item so far that requires udev.  My laptop's
graphics chip needs a binary blob from radeon-ucode.  That binary blob,
in turn, requires the presence of /usr/lib/libudev.so.0 which is a
symlink to /usr/lib/libudev.so.0.9.3 (which is also required).  I can

emerge udev
move or copy the 2 files over to /root
unmerge udev
move or copy the 2 files from /root to /usr/lib/

and it still works. Note that /usr/lib/ is a symlink to /usr/lib64 on my
64-bit gentoo.

-- 
Walter Dnes 



Re: [gentoo-user] Re: korganize-4.7.3 broken

2012-01-06 Thread Mick
On Friday 06 Jan 2012 15:57:40 James wrote:
> Yohan Pereira  gmail.com> writes:
> > Maybe you can try creating another akonadi resource similar
> > to the one your using and see if it works.
> 
> OK, I'm game. Not sure how to do this; googling leaves
> me more confused.
> 
> Got a few instructions on a reference for this?

Try Settings/Configure and then add new account, or fire up kcmshell4 
kcm_akonadi and add resources as desired.

However, as the e-news item says KDEPIM 4.7 is really borked right now.

Most people have recommended to move to T'bird, Claws, or mutt.  Having wasted 
more than a day to make the mess (that KDE is fast descending into) work in 
any acceptable fashion, I have stopped using KDEPIM on that box and masked it 
from infecting any of my remaining boxen.  When I learn to use mutt 
(unfortunately learning how to use it efficiently is still standing between me 
and my messages) I will stop harbouring hopes for KDE forking into some light-
version DE, with no databases, file indexers or any other such bloat that 
reminds me the worse of MSWindows, only more buggy!
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] How to get raid

2012-01-06 Thread Jeff Cranmer
On Fri, 2012-01-06 at 13:36 +0100, Volker Armin Hemmann wrote:
> Am Donnerstag, 5. Januar 2012, 23:44:10 schrieb Jeff Cranmer:
> > On Fri, 2012-01-06 at 02:42 +0100, Volker Armin Hemmann wrote:
> > > in your case
> > > 
> > > sfdisk -d /dev/sdb | sfdisk /dev/sdc
> > > 
> > > of course ;)
> > 
> > One of the disks had a GPT partition table which I was eventually able
> > to get rid of with gdisk (emerge -av gptfdisk).
> > 
> > I'm close.  I had a 2.7TiB RAID5 array using genkernal, comprising three
> > 1.5TB disks, using the commands
> > mdadm --create /dev/md0 --level=5
> > --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1
> > 
> > mdadm --detail --scan >> /etc/mdadm.conf
> > 
> > I formatted this array as an xfs filesystem.
> > 
> > After reboot, however, /dev/md0 is still there, but I get a 'can't read
> > superblock' error.
> > 
> > What am I missing?
> 
> have you set the type to linux raid autodetect?
> 
> have you tried mdadm --assemble? 
> 
mdadm --assemble /dev/md0 didn't make any difference.
Where do I set the type?

Thanks

Jeff





[gentoo-user] Re: ipv6 problem with ping6

2012-01-06 Thread Grant Edwards
On 2012-01-06, Michael Mol  wrote:

> ping6 -c3 fe80::216:17ff:fe84:a7b3%eth0
>
> Link-local addresses are only valid at the link-level scope, and you
> have to specify which link you're referring to.

OK, that makes sense when there are multiple non-loopback interfaces.
but it appears that even when there is only a single interface you
still have to explicitly specify which one of the one available
interfaces to use.

> Global-scope addresses don't have the same limitation.
>
> Also, for fun, try this:
> ping6 -c3 ff02::1%eth0

Cool.  There are more ipv6-capable machines on the LAN than I
expected...

-- 
Grant Edwards   grant.b.edwardsYow! Half a mind is a
  at   terrible thing to waste!
  gmail.com




[gentoo-user] Re: xpdf - missing fonts

2012-01-06 Thread walt
On 01/06/2012 08:48 AM, Joseph wrote:
> On 01/06/12 07:52, walt wrote:
>> On 01/05/2012 09:36 AM, Joseph wrote:
>>> It seems to me I'm missing some fonts or they are not correctly setup.
>>> I've added these fonts to /etc/xpdfrc but it did not help.
>>
>> A while ago there was a font problem caused by turning off the NLS
>> useflag, because some font packages honor that flag.
>>
>> Do you have the NLS useflag turned off?
> 
> For which package?
> I do not have "NLS" flag turned ON globally.

Try turning the NLS useflag on for your installed font packages that use
NLS.  Not all font packages use NLS, dunno why.  To see which installed
fonts use NLS:

#eix -IU nls | grep fonts




[gentoo-user] Re: ipv6 problem with ping6

2012-01-06 Thread Grant Edwards
On 2012-01-06, Michael Mol  wrote:
> Grant Edwards wrote:
>> I've enabled ipv6 support in my kernel and it appears to be working on
>> the "lo" interface:
>> 
>># ip -6 addr show lo  
>>
>>1: lo:  mtu 16436 
>>inet6 ::1/128 scope host 
>>   valid_lft forever preferred_lft forever
>>   
>># ping6 -c3 ::1
>>
>>PING ::1(::1) 56 data bytes
>>64 bytes from ::1: icmp_seq=1 ttl=64 time=0.022 ms
>>64 bytes from ::1: icmp_seq=2 ttl=64 time=0.021 ms
>>64 bytes from ::1: icmp_seq=3 ttl=64 time=0.021 ms
>>
>>--- ::1 ping statistics ---
>>3 packets transmitted, 3 received, 0% packet loss, time 1998ms
>>rtt min/avg/max/mdev = 0.021/0.021/0.022/0.003 ms
>> 
>> And the other interfaces all have link-local addresses:
>> 
>># ip -6 addr show eth1
>>3: eth1:  mtu 1500 qlen 1000
>>inet6 fe80::216:17ff:fe84:a7b3/64 scope link 
>>   valid_lft forever preferred_lft forever
>>   
>> But I can't ping6 any of the "real" interfaces (or any external
>> address):
>> 
>># ping6 -c3 fe80::216:17ff:fe84:a7b3
>>
>>connect: Invalid argument
>> 
>> Why can I ping "lo" at ::1 and not "eth1" at fe80::216:17ff:fe84:a7b3?
>>
>> I'm guessing there might other packages I have to re-emerge with the
>> ipv6 use flag. But, I do not want to rebuild everything capable of
>> supporting ipv6, since there are only a few selected programs that
>> I'll be using with ipv6.  I thought I might have to rebuild glibc, but
>> it doens't list ipv6 as one of it's use flags.
>> 
>> Any hints?
>> 
>
> ping6 -c3 fe80::216:17ff:fe84:a7b3%eth0
>
> Link-local addresses are only valid at the link-level scope, and you
> have to specify which link you're referring to. Global-scope
> addresses don't have the same limitation.

Yup.  The other option is to use -I to specify the interface.

I missed that the first time I read through the man page because I was
expecting it to be "-i" (I guess that was tcpdump).

-- 
Grant Edwards   grant.b.edwardsYow! DIDI ... is that a
  at   MARTIAN name, or, are we
  gmail.comin ISRAEL?




Re: [gentoo-user] ipv6 problem with ping6

2012-01-06 Thread Michael Mol
Paul Hartman wrote:
> On Fri, Jan 6, 2012 at 3:09 PM, Michael Mol  wrote:
>> Grant Edwards wrote:
>>> I've enabled ipv6 support in my kernel and it appears to be working on
>>> the "lo" interface:
>>>
>>># ip -6 addr show lo
>>>
>>>1: lo:  mtu 16436
>>>inet6 ::1/128 scope host
>>>   valid_lft forever preferred_lft forever
>>>
>>># ping6 -c3 ::1
>>>
>>>PING ::1(::1) 56 data bytes
>>>64 bytes from ::1: icmp_seq=1 ttl=64 time=0.022 ms
>>>64 bytes from ::1: icmp_seq=2 ttl=64 time=0.021 ms
>>>64 bytes from ::1: icmp_seq=3 ttl=64 time=0.021 ms
>>>
>>>--- ::1 ping statistics ---
>>>3 packets transmitted, 3 received, 0% packet loss, time 1998ms
>>>rtt min/avg/max/mdev = 0.021/0.021/0.022/0.003 ms
>>>
>>> And the other interfaces all have link-local addresses:
>>>
>>># ip -6 addr show eth1
>>>3: eth1:  mtu 1500 qlen 1000
>>>inet6 fe80::216:17ff:fe84:a7b3/64 scope link
>>>   valid_lft forever preferred_lft forever
>>>
>>> But I can't ping6 any of the "real" interfaces (or any external
>>> address):
>>>
>>># ping6 -c3 fe80::216:17ff:fe84:a7b3
>>>
>>>connect: Invalid argument
>>>
>>> Why can I ping "lo" at ::1 and not "eth1" at fe80::216:17ff:fe84:a7b3?
>>>
>>> I'm guessing there might other packages I have to re-emerge with the
>>> ipv6 use flag. But, I do not want to rebuild everything capable of
>>> supporting ipv6, since there are only a few selected programs that
>>> I'll be using with ipv6.  I thought I might have to rebuild glibc, but
>>> it doens't list ipv6 as one of it's use flags.
>>>
>>> Any hints?
>>>
>>
>> ping6 -c3 fe80::216:17ff:fe84:a7b3%eth0
>>
>> Link-local addresses are only valid at the link-level scope, and you
>> have to specify which link you're referring to. Global-scope addresses
>> don't have the same limitation.
> 
> and to see the scope you can view the output of ifconfig, see
> something in there like this next to each address:
> 
> scopeid 0x0
> scopeid 0x20
> 

Likewise, if you use iproute2:

shortcircuit:0...@prgmr2.rosettacode.org~
Fri Jan 06 09:24 PM
!502 #2 j0 ?0 $ ip -6 addr show eth0
2: eth0:  mtu 1500 qlen 1000
inet6 2605:2700:0:3::4713:91bf/64 scope global
   valid_lft forever preferred_lft forever
inet6 fe80::a800:ff:fe13:91bf/64 scope link
   valid_lft forever preferred_lft forever


The phrase "scope global" or "scope link" appears after each of my IPv6
addresses on that interface.




Re: [gentoo-user] ipv6 problem with ping6

2012-01-06 Thread Paul Hartman
On Fri, Jan 6, 2012 at 3:09 PM, Michael Mol  wrote:
> Grant Edwards wrote:
>> I've enabled ipv6 support in my kernel and it appears to be working on
>> the "lo" interface:
>>
>>    # ip -6 addr show lo
>>
>>    1: lo:  mtu 16436
>>        inet6 ::1/128 scope host
>>           valid_lft forever preferred_lft forever
>>
>>    # ping6 -c3 ::1
>>
>>    PING ::1(::1) 56 data bytes
>>    64 bytes from ::1: icmp_seq=1 ttl=64 time=0.022 ms
>>    64 bytes from ::1: icmp_seq=2 ttl=64 time=0.021 ms
>>    64 bytes from ::1: icmp_seq=3 ttl=64 time=0.021 ms
>>
>>    --- ::1 ping statistics ---
>>    3 packets transmitted, 3 received, 0% packet loss, time 1998ms
>>    rtt min/avg/max/mdev = 0.021/0.021/0.022/0.003 ms
>>
>> And the other interfaces all have link-local addresses:
>>
>>    # ip -6 addr show eth1
>>    3: eth1:  mtu 1500 qlen 1000
>>        inet6 fe80::216:17ff:fe84:a7b3/64 scope link
>>           valid_lft forever preferred_lft forever
>>
>> But I can't ping6 any of the "real" interfaces (or any external
>> address):
>>
>>    # ping6 -c3 fe80::216:17ff:fe84:a7b3
>>
>>    connect: Invalid argument
>>
>> Why can I ping "lo" at ::1 and not "eth1" at fe80::216:17ff:fe84:a7b3?
>>
>> I'm guessing there might other packages I have to re-emerge with the
>> ipv6 use flag. But, I do not want to rebuild everything capable of
>> supporting ipv6, since there are only a few selected programs that
>> I'll be using with ipv6.  I thought I might have to rebuild glibc, but
>> it doens't list ipv6 as one of it's use flags.
>>
>> Any hints?
>>
>
> ping6 -c3 fe80::216:17ff:fe84:a7b3%eth0
>
> Link-local addresses are only valid at the link-level scope, and you
> have to specify which link you're referring to. Global-scope addresses
> don't have the same limitation.

and to see the scope you can view the output of ifconfig, see
something in there like this next to each address:

scopeid 0x0
scopeid 0x20



Re: [gentoo-user] ipv6 problem with ping6

2012-01-06 Thread Michael Mol
Grant Edwards wrote:
> I've enabled ipv6 support in my kernel and it appears to be working on
> the "lo" interface:
> 
># ip -6 addr show lo  
>
>1: lo:  mtu 16436 
>inet6 ::1/128 scope host 
>   valid_lft forever preferred_lft forever
>   
># ping6 -c3 ::1
>
>PING ::1(::1) 56 data bytes
>64 bytes from ::1: icmp_seq=1 ttl=64 time=0.022 ms
>64 bytes from ::1: icmp_seq=2 ttl=64 time=0.021 ms
>64 bytes from ::1: icmp_seq=3 ttl=64 time=0.021 ms
>
>--- ::1 ping statistics ---
>3 packets transmitted, 3 received, 0% packet loss, time 1998ms
>rtt min/avg/max/mdev = 0.021/0.021/0.022/0.003 ms
> 
> And the other interfaces all have link-local addresses:
> 
># ip -6 addr show eth1
>3: eth1:  mtu 1500 qlen 1000
>inet6 fe80::216:17ff:fe84:a7b3/64 scope link 
>   valid_lft forever preferred_lft forever
>   
> But I can't ping6 any of the "real" interfaces (or any external
> address):
> 
># ping6 -c3 fe80::216:17ff:fe84:a7b3
>
>connect: Invalid argument
> 
> Why can I ping "lo" at ::1 and not "eth1" at fe80::216:17ff:fe84:a7b3?
>
> I'm guessing there might other packages I have to re-emerge with the
> ipv6 use flag. But, I do not want to rebuild everything capable of
> supporting ipv6, since there are only a few selected programs that
> I'll be using with ipv6.  I thought I might have to rebuild glibc, but
> it doens't list ipv6 as one of it's use flags.
> 
> Any hints?
> 

ping6 -c3 fe80::216:17ff:fe84:a7b3%eth0

Link-local addresses are only valid at the link-level scope, and you
have to specify which link you're referring to. Global-scope addresses
don't have the same limitation.

Also, for fun, try this:
ping6 -c3 ff02::1%eth0




Re: [gentoo-user] Re: korganize-4.7.3 broken

2012-01-06 Thread Peter Humphrey
On Friday 06 January 2012 18:00:31 James wrote:

> Well, like everyone else, I hate responding to my own threads

On the contrary, I think it's as useful as any other kind of reply.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


Re: [gentoo-user] Re: Graphite causing trouble

2012-01-06 Thread Peter Humphrey
On Friday 06 January 2012 20:57:31 Marc Joliet wrote:

> FWIW, there was an update to ppl recently, whose postinst message warns of
> this:
> > WARN: postinst
> > After an upgrade of PPL it is important that you rebuild
> > dev-libs/cloog-ppl.
> > 
> > If you use gcc-config to switch to an older compiler version than
> > the one PPL was built with, PPL must be rebuilt with that version.
> > 
> > In both cases failure to do this will get you this error when
> > graphite flags are used:
> > sorry, unimplemented: Graphite loop optimizations cannot be used

Damn. I must have missed that warning. I'm sure you're right, that it's what 
caused my problem. Thank you.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


Re: [gentoo-user] Re: Graphite causing trouble

2012-01-06 Thread Peter Humphrey
On Friday 06 January 2012 17:18:51 Michael Orlitzky wrote:

> On the one hand, it's kind of fun and educational to have something
> break in a novel way so that you can figure out how to fix it.

Only snag, in my case, is that with passing years I'm beginning to find 
myself going round in circles, gnashing my teeth more loudly each time.

> On the other hand, those things only break when you have something
> important to do.

Now that's just paranoia! You only remember the breakages that coincide with 
inconvenience.

> I try to keep my laptop in good shape, and then do the unspeakable to my
> desktop machine at home. If I ever need to do something urgently (fill
> out a spreadsheet to apply for a scholarship) and something is broken
> (libreoffice can't find libhahakissyournightgoodbye.so.1) I can always
> walk into the living room and do it on the laptop.

My unspeakable things aren't open to discussion in this forum :-)

But I do have an 8-year-old dual-Opteron box that I can do indescribable 
things to at whim. It still shows many a younger system a clean pair of 
heels but it is rather too noisy for everyday use, not to mention overnight.

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


[gentoo-user] ipv6 problem with ping6

2012-01-06 Thread Grant Edwards
I've enabled ipv6 support in my kernel and it appears to be working on
the "lo" interface:

   # ip -6 addr show lo  
   
   1: lo:  mtu 16436 
   inet6 ::1/128 scope host 
  valid_lft forever preferred_lft forever
  
   # ping6 -c3 ::1
   
   PING ::1(::1) 56 data bytes
   64 bytes from ::1: icmp_seq=1 ttl=64 time=0.022 ms
   64 bytes from ::1: icmp_seq=2 ttl=64 time=0.021 ms
   64 bytes from ::1: icmp_seq=3 ttl=64 time=0.021 ms
   
   --- ::1 ping statistics ---
   3 packets transmitted, 3 received, 0% packet loss, time 1998ms
   rtt min/avg/max/mdev = 0.021/0.021/0.022/0.003 ms

And the other interfaces all have link-local addresses:

   # ip -6 addr show eth1
   3: eth1:  mtu 1500 qlen 1000
   inet6 fe80::216:17ff:fe84:a7b3/64 scope link 
  valid_lft forever preferred_lft forever
  
But I can't ping6 any of the "real" interfaces (or any external
address):

   # ping6 -c3 fe80::216:17ff:fe84:a7b3
   
   connect: Invalid argument

Why can I ping "lo" at ::1 and not "eth1" at fe80::216:17ff:fe84:a7b3?
   
I'm guessing there might other packages I have to re-emerge with the
ipv6 use flag. But, I do not want to rebuild everything capable of
supporting ipv6, since there are only a few selected programs that
I'll be using with ipv6.  I thought I might have to rebuild glibc, but
it doens't list ipv6 as one of it's use flags.

Any hints?

-- 
Grant Edwards   grant.b.edwardsYow! I had a lease on an
  at   OEDIPUS COMPLEX back in
  gmail.com'81 ...




Re: [gentoo-user] Re: Graphite causing trouble

2012-01-06 Thread Marc Joliet
Am Fri, 06 Jan 2012 08:12:24 -0800
schrieb walt :

> On 01/05/2012 08:38 AM, Nikos Chantziaras wrote:
> > On 01/05/2012 05:14 PM, Peter Humphrey wrote:
> >> Hello list,
> >>
> >> For the last few days I've been unable to emerge anything that needs a C
> >> compiler. I've started getting this error message in the logs:
> >>
> >> $ grep Graphite
> >> /var/log/portage/perl-core:Sys-Syslog-0.290.0:20120105-150502.log
> >>
> >> Syslog.c:1:0: sorry, unimplemented: Graphite loop optimizations cannot
> >> be used
> > 
> > Add "graphite" to the USE flags of sys-devel/gcc.  Then rebuild these:
> > 
> >   dev-libs/gmp
> >   dev-libs/mpfr
> >   dev-libs/mpc
> >   dev-libs/cloog-ppl
> >   dev-libs/ppl
> > 
> > Hopefully this should make the graphite optimization flags work again.
> 
> I rebuilt only gloog-ppl and that fixed the problem for me.
> 
> In order to get that done, though, I had to remove the -floop-* flags
> temporarily because cloog-ppl gave the error that Peter describes.
> Once that job was done I reinstated the -floop-* flags and all is well.
> 

FWIW, there was an update to ppl recently, whose postinst message warns of this:

> WARN: postinst
> After an upgrade of PPL it is important that you rebuild
> dev-libs/cloog-ppl.
> 
> If you use gcc-config to switch to an older compiler version than
> the one PPL was built with, PPL must be rebuilt with that version.
> 
> In both cases failure to do this will get you this error when
> graphite flags are used:
> 
> sorry, unimplemented: Graphite loop optimizations cannot be used

-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] black console w/ 3.2.0-rc7

2012-01-06 Thread Johannes Kimmel

On 12/29/2011 04:32 PM, Stefan G. Weichinger wrote:


Very likely a FAQ but I can't find it right now:

wanted to try linux 3.2.0-rc7 (by emerging git-sources) ... used my old
config and it built OK.

It also boots OK but very soon it gets simply black, no console, no xdm.

I am able to ssh into it, can't find anything obvious.
framebuffer stuff?

This is my thinkpad L520, with intel graphics.

Does someone has a pointer for me?

Thanks, Stefan




I had a similar problem. I had selected the intel hardware iommu as 
default. This caused my X to completely stay black. Systemlog showed 
something about dma and drna (if i remember correctly).


try to disable intel hardware iommu, if you have it selected.



[gentoo-user] Re: korganize-4.7.3 broken

2012-01-06 Thread James
James  tampabay.rr.com> writes:


> > KDE has just always worked, so I've read/hacked

Well, like everyone else, I hate responding
to my own threads

But, korganizer-4.7.3 is borked,  actually:
kmail korganizer kontact kaddressbook;
according to this posting:

http://forums.gentoo.org/viewtopic-t-904862-start-0.html

Thankfully, I use thunderbird

eix korganizer shows only 4.4.11.1 as stable
for a downgrade. Not sure how that will work.
Other suggest downgrading all of kde (too much
effort on a dual core).

Please post if anyone finds the fix on korganizer-4.7.3

Being a (dumb_a_ _) I found the bug: Bug 393135 .

Should have looked at bugs.gentoo.org first

half-witted-admin,
James




Re: [gentoo-user] Re: korganize-4.7.3 broken

2012-01-06 Thread Yohan Pereira
On Friday 06 Jan 2012 16:28:39 James wrote:
> OK, I think I found the problem.
> 
> In the settings->general->calenders
> there is nothing selected. Nothing shows
> up but 2 copies of std.ics.
> 
> Now in this dir ( ~/.kde4/share/apps/korganizer )
> I have several calenders that end in .ics.
> (for since kde 3 I have used mulitple calenders.
> Do I just stick them in that dir, or do I have to
> follow a new proceedure to add calenders.?
> 
> None of them even show up. Before korganizer-4.7.3
> each update to kde (stable) just auto picked up those
> calenders.
> 
> So using the buttons in the configuration menu,
> to add the std.ics calender, I now see this:
> 
> " akonadi_kcal_resource_0
>   No KDe calendar plugin configured yet "

Disclaimer : ive used korginizer for just over a month now (new 
to the concept time management) and im using 4.7.4. 

have you tried adding a "ICal Calendar File" resource and point it to one of 
the ics files if you know where they are. Or alternativly you can try the "KDE 
Calendar(traditional)" resource.

> 
> Which leaves me to believe that akonadi,
> stringi or PIM has run amok.

I dont think strigi is causing any problem here, strigi is mainly for 
indexing files and most people (me) usually disable it.

> How to I test that stringi, akonadi and
> PIM are all running happily, on my old
> dual core workstation? (what should ps
> or similar command show).

If you type akonadi in krunner(alt+f2) or run the command 

kcmshell4 akonadi

it should show you akonadis configuration,  under the Akonadi Server tab
there is a button to Test akonadi you can try that and see if everything is 
ok.



-- 

- Yohan Pereira

"How can you prove whether at this moment we are sleeping, and all our  
  
thoughts are a dream; or whether we are awake, and talking to one another in 
the waking state?"
-- Plato


Re: [gentoo-user] Re: Graphite causing trouble

2012-01-06 Thread Michael Orlitzky
On 01/06/12 11:55, Peter Humphrey wrote:
> 
> To get things compiling I removed all signs of graphite. I'm not sure
> whether it's worth the trouble of putting it back in again. Thoughts,
> anyone?
> 

On the one hand, it's kind of fun and educational to have something
break in a novel way so that you can figure out how to fix it.

On the other hand, those things only break when you have something
important to do.

I try to keep my laptop in good shape, and then do the unspeakable to my
desktop machine at home. If I ever need to do something urgently (fill
out a spreadsheet to apply for a scholarship) and something is broken
(libreoffice can't find libhahakissyournightgoodbye.so.1) I can always
walk into the living room and do it on the laptop.



Re: [gentoo-user] Re: Graphite causing trouble

2012-01-06 Thread Peter Humphrey
On Friday 06 January 2012 16:12:24 walt wrote:

> I rebuilt only gloog-ppl and that fixed the problem for me.
> 
> In order to get that done, though, I had to remove the -floop-* flags
> temporarily because cloog-ppl gave the error that Peter describes.
> Once that job was done I reinstated the -floop-* flags and all is well.

I wish I'd thought of that. Much quicker than emerge -e world twice! Mind 
you, on this i5 box it takes under five hours each time to remerge the 980 
packages, including Libre Office.

Two packages didn't compile: lame (wrong file size; I'll try again tomorrow) 
and kmymoney (compiled fine when called on its own, not during -e world).

To get things compiling I removed all signs of graphite. I'm not sure 
whether it's worth the trouble of putting it back in again. Thoughts, 
anyone?

-- 
Rgds
Peter   Linux Counter 5290, 1994-04-23


Re: [gentoo-user] Re: xpdf - missing fonts

2012-01-06 Thread Joseph

On 01/06/12 07:52, walt wrote:

On 01/05/2012 09:36 AM, Joseph wrote:

It seems to me I'm missing some fonts or they are not correctly setup.
I've added these fonts to /etc/xpdfrc but it did not help.


A while ago there was a font problem caused by turning off the NLS
useflag, because some font packages honor that flag.

Do you have the NLS useflag turned off?


epdfview has this flag ON:  

app-text/epdfview-0.1.6-r1  USE="cups nls -test"

--
Joseph



Re: [gentoo-user] Re: xpdf - missing fonts

2012-01-06 Thread Joseph

On 01/06/12 07:52, walt wrote:

On 01/05/2012 09:36 AM, Joseph wrote:

It seems to me I'm missing some fonts or they are not correctly setup.
I've added these fonts to /etc/xpdfrc but it did not help.


A while ago there was a font problem caused by turning off the NLS
useflag, because some font packages honor that flag.

Do you have the NLS useflag turned off?


For which package?
I do not have "NLS" flag turned ON globally.

--
Joseph



Re: [gentoo-user] xpdf - missing fonts

2012-01-06 Thread Joseph

On 01/06/12 10:05, Willie WY Wong wrote:

On Thu, Jan 05, 2012 at 10:50:19AM -0700, Penguin Lover Joseph squawked:

I tred to compile epdfview but it failed:

JobPrint.cxx: In member function ‘guint ePDFView::JobPrint::setUpPageRange()’:
JobPrint.cxx:379:56: warning: suggest parentheses around ‘&&’ within ‘||’
PDFDocument.cxx: In member function ‘virtual ePDFView::DocumentPage* 
ePDFView::PDFDocument::renderPage(gint)’:
PDFDocument.cxx:618:62: error: ‘poppler_page_render_to_pixbuf’ was not declared 
in this scope
PDFDocument.cxx: In member function ‘virtual gboolean 
ePDFView::PDFDocument::loadFile(const gchar*, const gchar*, GError**)’:
PDFDocument.cxx:231:45: warning: ignoring return value of ‘ssize_t write(int, 
const void*, size_t)’, declared with attribute warn_unused_result
make[3]: *** [libepdfview_a-PDFDocument.o] Error 1
make[3]: *** Waiting for unfinished jobs
make[3]: Leaving directory 
`/var/tmp/portage/app-text/epdfview-0.1.6-r1/work/epdfview-0.1.6/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/app-text/epdfview-0.1.6-r1/work/epdfview-0.1.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/app-text/epdfview-0.1.6-r1/work/epdfview-0.1.6'
make: *** [all] Error 2
emake failed
  * ERROR: app-text/epdfview-0.1.6-r1 failed (compile phase):
  *   emake failed
  *
  * Call stack:
  *  ebuild.sh, line   75:  Called src_compile
  *environment, line 2114:  Called _eapi2_src_compile
  *   phase-helpers.sh, line  577:  Called die
  * The specific snippet of code:
  * emake || die "emake failed"



Which version of poppler do you have installed? I am almost certain
you are running into this conflict:
  https://bugs.gentoo.org/show_bug.cgi?id=388235

So try keywording version 0.1.8: it has been available since last
August, and I think it is stable enough (except for some silly bugs
like https://bugs.gentoo.org/show_bug.cgi?id=387125 ).

W


Yes, I'm running the latest version: app-text/poppler-0.18.2

--
Joseph



[gentoo-user] Re: korganize-4.7.3 broken

2012-01-06 Thread James
James  tampabay.rr.com> writes:


> KDE has just always worked, so I've read/hacked
> at it little over the years.

OK, I think I found the problem. 

In the settings->general->calenders
there is nothing selected. Nothing shows
up but 2 copies of std.ics. 

Now in this dir ( ~/.kde4/share/apps/korganizer )
I have several calenders that end in .ics.
(for since kde 3 I have used mulitple calenders.
Do I just stick them in that dir, or do I have to
follow a new proceedure to add calenders.?

None of them even show up. Before korganizer-4.7.3
each update to kde (stable) just auto picked up those
calenders.

So using the buttons in the configuration menu, 
to add the std.ics calender, I now see this:

" akonadi_kcal_resource_0
  No KDe calendar plugin configured yet "

Which leaves me to believe that akonadi,
stringi or PIM has run amok.
How to I test that stringi, akonadi and
PIM are all running happily, on my old
dual core workstation? (what should ps
or similar command show).

Wisdom and guidance is of keen interest
as to WTF is going on, and the best/sane
method to get the calenders working.

NOTE that I just might hack a few
new calenders of my own, such as my 
son's basketball schedule into kcal.

James






[gentoo-user] Re: Graphite causing trouble

2012-01-06 Thread walt
On 01/05/2012 08:38 AM, Nikos Chantziaras wrote:
> On 01/05/2012 05:14 PM, Peter Humphrey wrote:
>> Hello list,
>>
>> For the last few days I've been unable to emerge anything that needs a C
>> compiler. I've started getting this error message in the logs:
>>
>> $ grep Graphite
>> /var/log/portage/perl-core:Sys-Syslog-0.290.0:20120105-150502.log
>>
>> Syslog.c:1:0: sorry, unimplemented: Graphite loop optimizations cannot
>> be used
> 
> Add "graphite" to the USE flags of sys-devel/gcc.  Then rebuild these:
> 
>   dev-libs/gmp
>   dev-libs/mpfr
>   dev-libs/mpc
>   dev-libs/cloog-ppl
>   dev-libs/ppl
> 
> Hopefully this should make the graphite optimization flags work again.

I rebuilt only gloog-ppl and that fixed the problem for me.

In order to get that done, though, I had to remove the -floop-* flags
temporarily because cloog-ppl gave the error that Peter describes.
Once that job was done I reinstated the -floop-* flags and all is well.




[gentoo-user] Re: ERROR: Cannot locate kernel binary

2012-01-06 Thread walt
On 01/05/2012 06:47 AM, . wrote:
> Hi there!
> 
> genkernel --menuconfig all failed (ERROR: Cannot locate kernel binary).

> eix sys-kernel/gentoo-sources:
> http://paste.pocoo.org/show/530006/

I notice your gentoo-sources are installed with -symlink.  Dou you have
a symlink /usr/src/linux pointing to the installed kernel sources?
I don't use genkernel so I don't know if it matters.




[gentoo-user] Re: korganize-4.7.3 broken

2012-01-06 Thread James
Yohan Pereira  gmail.com> writes:


> Maybe you can try creating another akonadi resource similar 
> to the one your using and see if it works.

OK, I'm game. Not sure how to do this; googling leaves
me more confused.

Got a few instructions on a reference for this?


James






[gentoo-user] Re: xpdf - missing fonts

2012-01-06 Thread walt
On 01/05/2012 09:36 AM, Joseph wrote:
> It seems to me I'm missing some fonts or they are not correctly setup.
> I've added these fonts to /etc/xpdfrc but it did not help.

A while ago there was a font problem caused by turning off the NLS
useflag, because some font packages honor that flag.

Do you have the NLS useflag turned off?





Re: [gentoo-user] requirements for a gentoo wlan accesspoint

2012-01-06 Thread Pandu Poluan
On Jan 6, 2012 8:44 PM, "Stroller"  wrote:
>
>
> On 4 January 2012, at 18:19, Tamer Higazi wrote:
> > …
> > I want to make my linux machine being a wlan access point for my other
> > components like Notebook, Cell phone etc...
>
> If you just want to temporarily share then I think "access point" is
unimportant - can't you use "ad hoc" mode?
>
> "Access point" means getting a wifi card which supports master mode. Not
all do.
>
> I question whether this is worth the bother - routers are just too cheap.
>
> If you want to do something complicated, which is not available in the
menus of your $20 wifi router, then run OpenWRT Linux on a $40 router.
>
> The extra cost of a recent router will quickly pay for itself in
electricity savings, over leaving your big desktop PC on when you only want
to surf the net on your netbook.
>
> Stroller.
>
>

I agree. But I strongly recommend going the OpenWRT route directly.

Proprietary access points, especially the ones supporting WPS, are security
threats :

http://arstechnica.com/business/news/2012/01/hands-on-hacking-wifi-protected-setup-with-reaver.ars

the WPS protocol has been broken. OpenWRT does not support WPS, so it
doesn't have the WPS vulnerability.

Rgds,


[gentoo-user] Re: Strange flashplayer behavior recently[SOLVED]

2012-01-06 Thread walt
On 01/04/2012 11:23 AM, walt wrote:
> I'm always getting email with links to youtube and various
> other flash-intensive websites, and just a few days ago the
> flash content stopped loading in firefox when I click on the
> URL in thunderbird.

I still have no idea what the problem was, but it's fixed with
today's update to Thunderbird 9.







Re: [gentoo-user] requirements for a gentoo wlan accesspoint

2012-01-06 Thread Stroller

On 4 January 2012, at 18:19, Tamer Higazi wrote:
> …
> I want to make my linux machine being a wlan access point for my other
> components like Notebook, Cell phone etc...

If you just want to temporarily share then I think "access point" is 
unimportant - can't you use "ad hoc" mode?

"Access point" means getting a wifi card which supports master mode. Not all 
do. 

I question whether this is worth the bother - routers are just too cheap. 

If you want to do something complicated, which is not available in the menus of 
your $20 wifi router, then run OpenWRT Linux on a $40 router.

The extra cost of a recent router will quickly pay for itself in electricity 
savings, over leaving your big desktop PC on when you only want to surf the net 
on your netbook.

Stroller.




Re: [gentoo-user] How to get raid

2012-01-06 Thread Volker Armin Hemmann
Am Donnerstag, 5. Januar 2012, 23:44:10 schrieb Jeff Cranmer:
> On Fri, 2012-01-06 at 02:42 +0100, Volker Armin Hemmann wrote:
> > in your case
> > 
> > sfdisk -d /dev/sdb | sfdisk /dev/sdc
> > 
> > of course ;)
> 
> One of the disks had a GPT partition table which I was eventually able
> to get rid of with gdisk (emerge -av gptfdisk).
> 
> I'm close.  I had a 2.7TiB RAID5 array using genkernal, comprising three
> 1.5TB disks, using the commands
> mdadm --create /dev/md0 --level=5
> --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1
> 
> mdadm --detail --scan >> /etc/mdadm.conf
> 
> I formatted this array as an xfs filesystem.
> 
> After reboot, however, /dev/md0 is still there, but I get a 'can't read
> superblock' error.
> 
> What am I missing?

have you set the type to linux raid autodetect?

have you tried mdadm --assemble? 

-- 
#163933



Re: [gentoo-user] No display w/ kernel 3.2.0

2012-01-06 Thread Blakawk

On 2012-01-06 0:22, Stefan G. Weichinger wrote:

Am 2012-01-05 21:00, schrieb Mick:


Not sure if related but don't forget that 3.1.6 broke suspend to
RAM/hibernate for some of us.


yeah, thanks. Never had these issues, and I was/am on 3.1.7 already
before.


Hello, can you provide your kernel dmesg / Xorg.0.log to me too offlist 
please ? I'm right in the middle of problem involving graphic drivers 
(but radeon), so I may be able to provide some help here.


Regards.


Stefan


--
YaGB: http://gentooist.com
Follow me on twitter.com @blakawk ;)



Re: [gentoo-user] gentoo-sources-3.2.0-r1 and genkernel

2012-01-06 Thread Helmut Jarausch
On 01/06/2012 10:51:26 AM, András Csányi wrote:
> Dear All,
> 
> I updated my system and there is a new gentoo-sources version
> 3.2.0-gentoo-r1. I reconfigured my system to use this kernel and I
> compiled the kernel with genkernel. But there is no compiled file
> under /boot directory. Did I missed something? Is there anything new
> in genkernel? Should I report it?
> 
> What I did:
> - upgrade my system
> - set up the kernel using eselect
> - genkernel to compile the kernel
> 

Sorry, I can't help since I never use genkernel.
E.g. for the update  3.2.0 -> 3.2.0-r1

I just do

cp /usr/src/linux-3.2.0-gentoo/.config \
   /usr/src/linux-3.2.0-gentoo-r1/.config

pushd /usr/src/linux-3.2.0-gentoo-r1
make oldconfig
make -j5

cp arch/x86/boot/bzImage /boot/3.2.0-gentoo-r1
make modules_install
EDIT  /usr/src/grub/grub.conf

rm /usr/src/linux
ln -s /usr/src/linux-3.2.0-gentoo-r1 /usr/src/linux

re-emerge some modules which look at /usr/src/linux, like  (in my case)
x11-drivers/ati-drivers app-emulation/virtualbox-modules \
sys-fs/fuse sys-power/powernowd x11-drivers/radeon-ucode \
sys-process/iotop sys-fs/btrfs-progs

Helmut.



[gentoo-user] gentoo-sources-3.2.0-r1 and genkernel

2012-01-06 Thread András Csányi
Dear All,

I updated my system and there is a new gentoo-sources version
3.2.0-gentoo-r1. I reconfigured my system to use this kernel and I
compiled the kernel with genkernel. But there is no compiled file
under /boot directory. Did I missed something? Is there anything new
in genkernel? Should I report it?

What I did:
- upgrade my system
- set up the kernel using eselect
- genkernel to compile the kernel

Thanks in advance!

András

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell



Re: [gentoo-user] xpdf - missing fonts

2012-01-06 Thread Willie WY Wong
On Thu, Jan 05, 2012 at 10:50:19AM -0700, Penguin Lover Joseph squawked:
> I tred to compile epdfview but it failed:
> 
> JobPrint.cxx: In member function ‘guint ePDFView::JobPrint::setUpPageRange()’:
> JobPrint.cxx:379:56: warning: suggest parentheses around ‘&&’ within ‘||’
> PDFDocument.cxx: In member function ‘virtual ePDFView::DocumentPage* 
> ePDFView::PDFDocument::renderPage(gint)’:
> PDFDocument.cxx:618:62: error: ‘poppler_page_render_to_pixbuf’ was not 
> declared in this scope
> PDFDocument.cxx: In member function ‘virtual gboolean 
> ePDFView::PDFDocument::loadFile(const gchar*, const gchar*, GError**)’:
> PDFDocument.cxx:231:45: warning: ignoring return value of ‘ssize_t write(int, 
> const void*, size_t)’, declared with attribute warn_unused_result
> make[3]: *** [libepdfview_a-PDFDocument.o] Error 1
> make[3]: *** Waiting for unfinished jobs
> make[3]: Leaving directory 
> `/var/tmp/portage/app-text/epdfview-0.1.6-r1/work/epdfview-0.1.6/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/var/tmp/portage/app-text/epdfview-0.1.6-r1/work/epdfview-0.1.6/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/var/tmp/portage/app-text/epdfview-0.1.6-r1/work/epdfview-0.1.6'
> make: *** [all] Error 2
> emake failed
>   * ERROR: app-text/epdfview-0.1.6-r1 failed (compile phase):
>   *   emake failed
>   * 
>   * Call stack:
>   *  ebuild.sh, line   75:  Called src_compile
>   *environment, line 2114:  Called _eapi2_src_compile
>   *   phase-helpers.sh, line  577:  Called die
>   * The specific snippet of code:
>   *   emake || die "emake failed"
> 

Which version of poppler do you have installed? I am almost certain
you are running into this conflict:
   https://bugs.gentoo.org/show_bug.cgi?id=388235

So try keywording version 0.1.8: it has been available since last
August, and I think it is stable enough (except for some silly bugs
like https://bugs.gentoo.org/show_bug.cgi?id=387125 ). 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] xpdf - missing fonts

2012-01-06 Thread Willie WY Wong
On Thu, Jan 05, 2012 at 10:36:29AM -0700, Penguin Lover Joseph squawked:
> On 01/05/12 09:59, Willie WY Wong wrote:
> >It should be the same font as other user interface elements, and
> >controlled via the "-font" option. Hum actually that shows where
> >the "Missing charsets in String to FontSet conversion" warning for me!
> >By changing to a different fonts for the interface I can sometimes
> >reproduce the warning. So maybe setting the font will help. You can
> >also make that setting systemwide by putting an appropriate
> >incantation in xpdfrc, according to 'man xpdf'.

> How to you control it via ""-font" option?
> It seems to me I'm missing some fonts or they are not correctly setup.
> I've added these fonts to /etc/xpdfrc but it did not help. 
> 

I use the font names given by `xfontsel'

Suppose I want to use 'times' family, regular weight, no slant, pixel
size 14 (just to make it bigger), I select those options in xfontsel
using the dropdown lists, and click 'select' (which copies the string
to the clipboard). I then paste the string, which happens to be the
 -*-times-medium-r-*-*-14-*-*-*-*-*-*-*
into my xpdf incantation
 xpdf -font -*-times-medium-r-*-*-14-*-*-*-*-*-*-*
and I get the chosen font for the interface elements.

You can alternatively set the X resource xpdf*fontList using the
method described http://xwinman.org/resource.php

(basically add to ~/.Xdefaults or ~/.Xresources the line
  xpdf*fontList: -*-times-medium-r-*-*-14-*-*-*-*-*-*-*
 and restart X [? I am not sure if that is necessary, memory suggests
 that this file is only read when X starts, but my memory could be
 faulty])

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton