Re: [gentoo-user] ATI-Driver 9.6 support?

2009-07-04 Thread Volker Armin Hemmann
On Samstag 04 Juli 2009, Jesús Guerrero wrote:
 On Sat, July 4, 2009 03:58, Volker Armin Hemmann wrote:
  On Samstag 04 Juli 2009, Jesús Guerrero wrote:
 
 
  I don't filter anything. Just default metalog with default settings.

 I use sysklogd, that shouldn't matter much though. The config is pretty
 standard, and certainly there's nothing related to fglrx in there. The
 logs on a normal day are, at most, a few kb's (without fglrx+.30).

 With that combo into scene, kern.log and syslog grow around 500mb each
 filling the whole var. I need to delete these two files and restart
 sysklogd to get some free space in /var (just in case someone around
 has a similar problem). A quick hack on the printk code in the kernel
 can be used though to solve all this spam. But the cpu usage doesn't
 get any better.

 I know not the reason why, but the truth is that xv wastes lots more
 of cpu to play video when I have fglrx+.30, with or without the logs,

not here  - btw, try gl. The difference of the colours will be... 
interessting.



Re: [gentoo-user] Re: {OT} wvdial fails with Zain Tanzanian network

2009-07-04 Thread Mick
On Friday 03 July 2009, Grant wrote:
  I've used wvdial to connect my laptop to the 3 network in Australia
  with no problem.  I'm now trying to connect to the Zain network in
  Tanzania and I can't get it to work.  I can browse the internet from
  the phone (Nokia N82), but I can't seem to connect with wvdial.
  Here's what I get with the debug option enabled in /etc/ppp/options:
 
  # wvdial
  -- WvDial: Internet dialer version 1.60
  -- Initializing modem.
  -- Sending: ATZ
  ATZ
  OK
  -- Sending: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
  ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
  OK
  -- Modem initialized.
  -- Sending: ATDT*99#
  -- Waiting for carrier.
  ATDT*99#
  CONNECT
  ~[7f...@!}!} } }2}...@#}!}$}%\}}} }*} } g}%~
  -- Carrier detected.  Starting PPP immediately.
  -- Starting pppd at Fri Jul  3 12:10:31 2009
  -- Pid of pppd: 6512
  -- pppd: �o
  -- Using interface ppp0
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- Authentication (PAP) started
  -- pppd: �o
  -- Authentication (PAP) successful
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- Terminate Request
  -- * no quoted text found in `rcvd [LCP TermReq id=0x1]' *
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- Disconnecting at Fri Jul  3 12:10:35 2009
  -- The PPP daemon has died: A modem hung up the phone (exit code = 16)
  -- man pppd explains pppd error codes in more detail.
  -- Try again and look into /var/log/messages and the wvdial and pppd
  man pages for more information.
  -- Auto Reconnect will be attempted in 5 seconds
 
  I have this in the logs:
 
  Jul  3 10:43:42 [pppd] pppd 2.4.4 started by root, uid 0
  Jul  3 10:43:42 [pppd] Using interface ppp0
  Jul  3 10:43:42 [pppd] Connect: ppp0 -- /dev/ttyACM0
  Jul  3 10:43:44 [pppd] PAP authentication succeeded
  Jul  3 10:43:45 [pppd] LCP terminated by peer
  Jul  3 10:43:48 [pppd] Connection terminated.
  Jul  3 10:43:48 [pppd] Modem hangup
  Jul  3 10:43:48 [pppd] Exit.
 
  This page outlines the config to make it work:
 
  http://eightzerofour.wordpress.com/tag/wvdialconf/
 
  Here it is:
 
  [Dialer Defaults]
  Modem = /dev/ttyACM0
  Init1 = ATZ
  Init2 = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
  Stupid Mode = 1
  Modem Type = USB Modem
  Phone = *99#
  New PPPD = yes
  ISDN = 0
  Username = blank
  Password = blank
  Baud = 460800
 
  But it isn't working for me.
 
  I'm new to wvdial and cell phone data connections in general.  What
  could be the problem?
 
  - Grant

 Here is the output in /var/log/ppp/current:

 Jul  3 12:10:31 [pppd] pppd 2.4.4 started by root, uid 0
 Jul  3 12:10:31 [pppd] using channel 45
 Jul  3 12:10:31 [pppd] Using interface ppp0
 Jul  3 12:10:31 [pppd] Connect: ppp0 -- /dev/ttyACM0
 Jul  3 12:10:31 [pppd] sent [LCP ConfReq id=0x1 asyncmap 0x0 magic
 0xa6484d43 pcomp accomp]
 Jul  3 12:10:31 [pppd] rcvd [LCP ConfRej id=0x1 magic 0xa6484d43
 pcomp accomp]
 Jul  3 12:10:31 [pppd] sent [LCP ConfReq id=0x2 asyncmap 0x0]
 Jul  3 12:10:31 [pppd] rcvd [LCP ConfAck id=0x2 asyncmap 0x0]
 Jul  3 12:10:31 [pppd] rcvd [LCP ConfReq id=0x0 auth pap mru 1500
 asyncmap 0xa]
 Jul  3 12:10:31 [pppd] sent [LCP ConfAck id=0x0 auth pap mru 1500
 asyncmap 0xa]
 Jul  3 12:10:31 [pppd] sent [PAP AuthReq id=0x1 user=blank
 password=hidden] Jul  3 12:10:31 [pppd] rcvd [PAP AuthAck id=0x1 ]
 Jul  3 12:10:31 [pppd] PAP authentication succeeded
 Jul  3 12:10:31 [pppd] sent [CCP ConfReq id=0x1 mppe -H -M -S -L -D
 -C deflate 15 deflate(old#) 15 bsd v1 15]
 Jul  3 12:10:31 [pppd] sent [IPCP ConfReq id=0x1 compress VJ 0f 01
 addr 0.0.0.0 ms-dns1 0.0.0.0 ms-dns3 0.0.0.0]
 Jul  3 12:10:31 [pppd] rcvd [IPCP ConfReq id=0x0 addr 10.6.6.6]
 Jul  3 12:10:31 [pppd] sent [IPCP ConfAck id=0x0 addr 10.6.6.6]
 Jul  3 12:10:31 [pppd] rcvd [LCP ProtRej id=0x0 80 fd 01 01 00 15 12
 06 00 00 00 00 1a 04 78 00 18 04 78 00 15 03 2f]
 Jul  3 12:10:31 [pppd] Protocol-Reject for 'Compression Control
 Protocol' (0x80fd) received
 Jul  3 12:10:32 [pppd] rcvd [LCP TermReq id=0x1]
 Jul  3 12:10:32 [pppd] LCP terminated by peer
 Jul  3 12:10:32 [pppd] sent [LCP TermAck id=0x1]
 Jul  3 12:10:35 [pppd] Connection terminated.
 Jul  3 12:10:35 [pppd] Modem hangup
 Jul  3 12:10:35 [pppd] Exit.

I can't make wvdial emerge on my machine (bug # 274849) and I am only a few 
thousand miles away from Tanzania, but I would suggest that you try user 
for Username rather than blank.  May also want to try your ISP username/pin 
for Username/Password.

HTH.
-- 
Regards,
Mick


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


[gentoo-user] Re: {OT} wvdial fails with Zain Tanzanian network

2009-07-04 Thread Grant
Thank you but same results. Any other ideas via any method?

On 7/4/09, Mick michaelkintz...@gmail.com wrote:
 On Friday 03 July 2009, Grant wrote:
  I've used wvdial to connect my laptop to the 3 network in Australia
  with no problem.  I'm now trying to connect to the Zain network in
  Tanzania and I can't get it to work.  I can browse the internet from
  the phone (Nokia N82), but I can't seem to connect with wvdial.
  Here's what I get with the debug option enabled in /etc/ppp/options:
 
  # wvdial
  -- WvDial: Internet dialer version 1.60
  -- Initializing modem.
  -- Sending: ATZ
  ATZ
  OK
  -- Sending: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
  ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
  OK
  -- Modem initialized.
  -- Sending: ATDT*99#
  -- Waiting for carrier.
  ATDT*99#
  CONNECT
  ~[7f...@!}!} } }2}...@#}!}$}%\}}} }*} } g}%~
  -- Carrier detected.  Starting PPP immediately.
  -- Starting pppd at Fri Jul  3 12:10:31 2009
  -- Pid of pppd: 6512
  -- pppd: �o
  -- Using interface ppp0
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- Authentication (PAP) started
  -- pppd: �o
  -- Authentication (PAP) successful
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- Terminate Request
  -- * no quoted text found in `rcvd [LCP TermReq id=0x1]' *
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- Disconnecting at Fri Jul  3 12:10:35 2009
  -- The PPP daemon has died: A modem hung up the phone (exit code = 16)
  -- man pppd explains pppd error codes in more detail.
  -- Try again and look into /var/log/messages and the wvdial and pppd
  man pages for more information.
  -- Auto Reconnect will be attempted in 5 seconds
 
  I have this in the logs:
 
  Jul  3 10:43:42 [pppd] pppd 2.4.4 started by root, uid 0
  Jul  3 10:43:42 [pppd] Using interface ppp0
  Jul  3 10:43:42 [pppd] Connect: ppp0 -- /dev/ttyACM0
  Jul  3 10:43:44 [pppd] PAP authentication succeeded
  Jul  3 10:43:45 [pppd] LCP terminated by peer
  Jul  3 10:43:48 [pppd] Connection terminated.
  Jul  3 10:43:48 [pppd] Modem hangup
  Jul  3 10:43:48 [pppd] Exit.
 
  This page outlines the config to make it work:
 
  http://eightzerofour.wordpress.com/tag/wvdialconf/
 
  Here it is:
 
  [Dialer Defaults]
  Modem = /dev/ttyACM0
  Init1 = ATZ
  Init2 = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
  Stupid Mode = 1
  Modem Type = USB Modem
  Phone = *99#
  New PPPD = yes
  ISDN = 0
  Username = blank
  Password = blank
  Baud = 460800
 
  But it isn't working for me.
 
  I'm new to wvdial and cell phone data connections in general.  What
  could be the problem?
 
  - Grant

 Here is the output in /var/log/ppp/current:

 Jul  3 12:10:31 [pppd] pppd 2.4.4 started by root, uid 0
 Jul  3 12:10:31 [pppd] using channel 45
 Jul  3 12:10:31 [pppd] Using interface ppp0
 Jul  3 12:10:31 [pppd] Connect: ppp0 -- /dev/ttyACM0
 Jul  3 12:10:31 [pppd] sent [LCP ConfReq id=0x1 asyncmap 0x0 magic
 0xa6484d43 pcomp accomp]
 Jul  3 12:10:31 [pppd] rcvd [LCP ConfRej id=0x1 magic 0xa6484d43
 pcomp accomp]
 Jul  3 12:10:31 [pppd] sent [LCP ConfReq id=0x2 asyncmap 0x0]
 Jul  3 12:10:31 [pppd] rcvd [LCP ConfAck id=0x2 asyncmap 0x0]
 Jul  3 12:10:31 [pppd] rcvd [LCP ConfReq id=0x0 auth pap mru 1500
 asyncmap 0xa]
 Jul  3 12:10:31 [pppd] sent [LCP ConfAck id=0x0 auth pap mru 1500
 asyncmap 0xa]
 Jul  3 12:10:31 [pppd] sent [PAP AuthReq id=0x1 user=blank
 password=hidden] Jul  3 12:10:31 [pppd] rcvd [PAP AuthAck id=0x1 ]
 Jul  3 12:10:31 [pppd] PAP authentication succeeded
 Jul  3 12:10:31 [pppd] sent [CCP ConfReq id=0x1 mppe -H -M -S -L -D
 -C deflate 15 deflate(old#) 15 bsd v1 15]
 Jul  3 12:10:31 [pppd] sent [IPCP ConfReq id=0x1 compress VJ 0f 01
 addr 0.0.0.0 ms-dns1 0.0.0.0 ms-dns3 0.0.0.0]
 Jul  3 12:10:31 [pppd] rcvd [IPCP ConfReq id=0x0 addr 10.6.6.6]
 Jul  3 12:10:31 [pppd] sent [IPCP ConfAck id=0x0 addr 10.6.6.6]
 Jul  3 12:10:31 [pppd] rcvd [LCP ProtRej id=0x0 80 fd 01 01 00 15 12
 06 00 00 00 00 1a 04 78 00 18 04 78 00 15 03 2f]
 Jul  3 12:10:31 [pppd] Protocol-Reject for 'Compression Control
 Protocol' (0x80fd) received
 Jul  3 12:10:32 [pppd] rcvd [LCP TermReq id=0x1]
 Jul  3 12:10:32 [pppd] LCP terminated by peer
 Jul  3 12:10:32 [pppd] sent [LCP TermAck id=0x1]
 Jul  3 12:10:35 [pppd] Connection terminated.
 Jul  3 12:10:35 [pppd] Modem hangup
 Jul  3 12:10:35 [pppd] Exit.

 I can't make wvdial emerge on my machine (bug # 274849) and I am only a few
 thousand miles away from Tanzania, but I would suggest that you try user
 for Username rather than blank.  May also want to try your ISP username/pin
 for Username/Password.

 HTH.
 --
 Regards,
 Mick


-- 
Sent from my mobile device



Re: [gentoo-user] Encrypting everything

2009-07-04 Thread Alex Schuster
Dirk Heinrichs writes:

 Am Mittwoch 01 Juli 2009 12:40:20 schrieb Alex Schuster:
  The last two PCs (A and B) I installed are fully encrypted. I used
  different methods. I used genkernel --luks --lvm --install all to
  create kernel and initramfs.

 First, see one of my replies to David Shen's thread Self created
 initramfs cannot work from last saturday. It has my init(ram)fs
 creation scripts attached.

Thanks, I will have a look. Although I'd like to use Gentoo's tool for 
that purpose, genkernel, which I used for the first time now. And it 
worked fine, except that it did not know I how to activate the other 
partitons (/usr, /var and many more) besides root and swap. 


  I like to have everything as kernel modules, but the
  crypto stuff has to be directly in the kernel, unless I put these
  modules into the initramfs by hand.

 It doesn't make much sense to compile things as module which are needed
 right after (or even for) booting. The reason distributions do this is
 to give the most possible flexibility and useability on as much
 different systems as possible. 

I know. I did it anyway, just out of curiosity if this would work, and 
which things could in principle be modules. No problem with building this 
stuff directly into the kernel.

 having said that, you can even do w/o
 initramfs, just put everything into /boot (which should be a separate
 partition, then). Again, see my reply to David for the details.

Interesting. Getting rid of initramfs looks like a simpler approach, no 
need to fiddle with cpio in order to change things.


  A: LVM - LUKS
  Many partitions make two volume groups with many LVMs. Each LVM is
  LUKS- encrypted. This gives me maximum flexibility, who knows what
  other OSes I might need to install on that drive. The boot partition
  is on a USB stick and also holds the key.

 Why? LUKS means Linux Unified Key Storage. No need to store the key
 elsewhere. Put a password based key on the root LV and encrypt
 everything else with a random key you put somewhere into /etc (I use
 /etc/crypt/keyfile).

I do not want to have to enter a password every time my machine boots, so 
I put the key onto a stick. And simply made it the same for all 
partitions. And while I was at it, for maximum security, I also put /boot 
onto the stick. Sure, who would ever break into my house and modify my 
boot partition, replacing the kernel with kernel+keylogger or such... but 
then, I would probably also not need to encrypt my stuff at all.

  This did not work out of the box, I had to modify
  /lib/rcscripts/addons/dm-crypt-start.sh in order to open the other
  partitions than swap and root.

 Then you did something wrong. It works out of the box.

Really? I know it does for root and swap (it works here), but how do I 
tell the system to also luskOpen all my other LVM volumes?


  B: LUKS - LVM
  A simpler approach. sda1 is a small boot partition, sda2 (the rest of
  the drive) is a LUKS-formatted LVM physical volume with volume group
  'pvcrypt' on it. This does not work yet, the initramfs does not find
  the LVM.

 Because in Gentoo, only A is implemented/supported.

Oh. I thought this would be even easier than approach A. And looking at 
the /init code it seems to me it should just work. There's a call to 
startVolumes after the root partition is unlocked by cryptsetup, which I 
think should activate the LVM, but it does nothing, it does not even find 
regular physical LVM volumes that are not on top of a crypt setup.

I'll have a look at my .config again. This may take a while, I only have 
remote access to that PC at the moment.

 HTH...

A little :)

Thanks,

Wonko





Re: [gentoo-user] Re: {OT} wvdial fails with Zain Tanzanian network

2009-07-04 Thread Mick
On Saturday 04 July 2009, Grant wrote:
 Thank you but same results. Any other ideas via any method?

If you have not changed anything in your laptop then the issue would be with 
the Zain network.  Have you checked that as part of your roaming agreement 
with 3 you get data calls with Zain?  It may be that you need to request 
for data to be activated on your account while roaming - or may need to apply 
Zain specific settings (i.e. you login and connect to the Internet directly 
via Zain, rather than forwarded to 3 and then back to the Internet).

-- 
Regards,
Mick


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


[gentoo-user] Re: {OT} wvdial fails with Zain Tanzanian network

2009-07-04 Thread Grant
Its actually a zain sim and data works on the handset.

On 7/4/09, Mick michaelkintz...@gmail.com wrote:
 On Saturday 04 July 2009, Grant wrote:
 Thank you but same results. Any other ideas via any method?

 If you have not changed anything in your laptop then the issue would be with
 the Zain network.  Have you checked that as part of your roaming agreement
 with 3 you get data calls with Zain?  It may be that you need to request
 for data to be activated on your account while roaming - or may need to
 apply
 Zain specific settings (i.e. you login and connect to the Internet directly
 via Zain, rather than forwarded to 3 and then back to the Internet).

 --
 Regards,
 Mick


-- 
Sent from my mobile device



Re: [gentoo-user] Encrypting everything

2009-07-04 Thread Dirk Heinrichs
Am Samstag 04 Juli 2009 14:51:54 schrieb Alex Schuster:
 Dirk Heinrichs writes:
 
  having said that, you can even do w/o
  initramfs, just put everything into /boot (which should be a separate
  partition, then). Again, see my reply to David for the details.

 Interesting. Getting rid of initramfs looks like a simpler approach, no
 need to fiddle with cpio in order to change things.

Also with initramfs, you don't need to fiddle with cpio. The kernel build 
system does this for you.

 I do not want to have to enter a password every time my machine boots, so
 I put the key onto a stick.

And how do you protect the key on the stick? What if you loose it?

 And simply made it the same for all
 partitions. And while I was at it, for maximum security, I also put /boot
 onto the stick. Sure, who would ever break into my house and modify my
 boot partition, replacing the kernel with kernel+keylogger or such... but
 then, I would probably also not need to encrypt my stuff at all.

Encryption doesn't protect a _running_ system, because then, all needed LVs 
are readable. It only protects the system while switched of (so that an 
attacker can not acces your data after stealing the entire system, or after 
you sold your harddisk).

  Then you did something wrong. It works out of the box.

 Really? I know it does for root and swap (it works here), but how do I
 tell the system to also luskOpen all my other LVM volumes?

By listing them in /etc/conf.d/dmcrypt.


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


[gentoo-user] [OT] rrd to CSV

2009-07-04 Thread Mick
Hi All,

I know that rrdtool dump will export the rrd data into XML, but is there 
something to either directly or via rrdtool create a CSV file for me?  Will 
probably want to run this on a cron job and email/save it.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: {OT} wvdial fails with Zain Tanzanian network

2009-07-04 Thread Grant
  I've used wvdial to connect my laptop to the 3 network in Australia
  with no problem.  I'm now trying to connect to the Zain network in
  Tanzania and I can't get it to work.  I can browse the internet from
  the phone (Nokia N82), but I can't seem to connect with wvdial.
  Here's what I get with the debug option enabled in /etc/ppp/options:
 
  # wvdial
  -- WvDial: Internet dialer version 1.60
  -- Initializing modem.
  -- Sending: ATZ
  ATZ
  OK
  -- Sending: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
  ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
  OK
  -- Modem initialized.
  -- Sending: ATDT*99#
  -- Waiting for carrier.
  ATDT*99#
  CONNECT
  ~[7f...@!}!} } }2}...@#}!}$}%\}}} }*} } g}%~
  -- Carrier detected.  Starting PPP immediately.
  -- Starting pppd at Fri Jul  3 12:10:31 2009
  -- Pid of pppd: 6512
  -- pppd: �o
  -- Using interface ppp0
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- Authentication (PAP) started
  -- pppd: �o
  -- Authentication (PAP) successful
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- Terminate Request
  -- * no quoted text found in `rcvd [LCP TermReq id=0x1]' *
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- pppd: �o
  -- Disconnecting at Fri Jul  3 12:10:35 2009
  -- The PPP daemon has died: A modem hung up the phone (exit code = 16)
  -- man pppd explains pppd error codes in more detail.
  -- Try again and look into /var/log/messages and the wvdial and pppd
  man pages for more information.
  -- Auto Reconnect will be attempted in 5 seconds
 
  I have this in the logs:
 
  Jul  3 10:43:42 [pppd] pppd 2.4.4 started by root, uid 0
  Jul  3 10:43:42 [pppd] Using interface ppp0
  Jul  3 10:43:42 [pppd] Connect: ppp0 -- /dev/ttyACM0
  Jul  3 10:43:44 [pppd] PAP authentication succeeded
  Jul  3 10:43:45 [pppd] LCP terminated by peer
  Jul  3 10:43:48 [pppd] Connection terminated.
  Jul  3 10:43:48 [pppd] Modem hangup
  Jul  3 10:43:48 [pppd] Exit.
 
  This page outlines the config to make it work:
 
  http://eightzerofour.wordpress.com/tag/wvdialconf/
 
  Here it is:
 
  [Dialer Defaults]
  Modem = /dev/ttyACM0
  Init1 = ATZ
  Init2 = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
  Stupid Mode = 1
  Modem Type = USB Modem
  Phone = *99#
  New PPPD = yes
  ISDN = 0
  Username = blank
  Password = blank
  Baud = 460800
 
  But it isn't working for me.
 
  I'm new to wvdial and cell phone data connections in general.  What
  could be the problem?
 
  - Grant

 Here is the output in /var/log/ppp/current:

 Jul  3 12:10:31 [pppd] pppd 2.4.4 started by root, uid 0
 Jul  3 12:10:31 [pppd] using channel 45
 Jul  3 12:10:31 [pppd] Using interface ppp0
 Jul  3 12:10:31 [pppd] Connect: ppp0 -- /dev/ttyACM0
 Jul  3 12:10:31 [pppd] sent [LCP ConfReq id=0x1 asyncmap 0x0 magic
 0xa6484d43 pcomp accomp]
 Jul  3 12:10:31 [pppd] rcvd [LCP ConfRej id=0x1 magic 0xa6484d43
 pcomp accomp]
 Jul  3 12:10:31 [pppd] sent [LCP ConfReq id=0x2 asyncmap 0x0]
 Jul  3 12:10:31 [pppd] rcvd [LCP ConfAck id=0x2 asyncmap 0x0]
 Jul  3 12:10:31 [pppd] rcvd [LCP ConfReq id=0x0 auth pap mru 1500
 asyncmap 0xa]
 Jul  3 12:10:31 [pppd] sent [LCP ConfAck id=0x0 auth pap mru 1500
 asyncmap 0xa]
 Jul  3 12:10:31 [pppd] sent [PAP AuthReq id=0x1 user=blank
 password=hidden] Jul  3 12:10:31 [pppd] rcvd [PAP AuthAck id=0x1 ]
 Jul  3 12:10:31 [pppd] PAP authentication succeeded
 Jul  3 12:10:31 [pppd] sent [CCP ConfReq id=0x1 mppe -H -M -S -L -D
 -C deflate 15 deflate(old#) 15 bsd v1 15]
 Jul  3 12:10:31 [pppd] sent [IPCP ConfReq id=0x1 compress VJ 0f 01
 addr 0.0.0.0 ms-dns1 0.0.0.0 ms-dns3 0.0.0.0]
 Jul  3 12:10:31 [pppd] rcvd [IPCP ConfReq id=0x0 addr 10.6.6.6]
 Jul  3 12:10:31 [pppd] sent [IPCP ConfAck id=0x0 addr 10.6.6.6]
 Jul  3 12:10:31 [pppd] rcvd [LCP ProtRej id=0x0 80 fd 01 01 00 15 12
 06 00 00 00 00 1a 04 78 00 18 04 78 00 15 03 2f]
 Jul  3 12:10:31 [pppd] Protocol-Reject for 'Compression Control
 Protocol' (0x80fd) received
 Jul  3 12:10:32 [pppd] rcvd [LCP TermReq id=0x1]
 Jul  3 12:10:32 [pppd] LCP terminated by peer
 Jul  3 12:10:32 [pppd] sent [LCP TermAck id=0x1]
 Jul  3 12:10:35 [pppd] Connection terminated.
 Jul  3 12:10:35 [pppd] Modem hangup
 Jul  3 12:10:35 [pppd] Exit.

 I can't make wvdial emerge on my machine (bug # 274849) and I am only a few
 thousand miles away from Tanzania, but I would suggest that you try user
 for Username rather than blank.  May also want to try your ISP username/pin
 for Username/Password.

Is there another ppp client I can try besides wvdial?  One of the
dependecies of kppp won't emerge for me so I'm out of luck there.

- Grant



Re: [gentoo-user] Re: {OT} wvdial fails with Zain Tanzanian network

2009-07-04 Thread Mark Shields



 Is there another ppp client I can try besides wvdial?  One of the
 dependecies of kppp won't emerge for me so I'm out of luck there.

 - Grant



One of the dependencies won't emerge?  Which one?

That should be fixable.  Post the fail log for the emerge, and we'll work to
get that resolved.
-- 
- Mark Shields


Re: [gentoo-user] Can't mask a package

2009-07-04 Thread Mark Shields
On Thu, Jul 2, 2009 at 6:31 AM, Pupino pupi...@gmail.com wrote:

 Hello everybody,
 i'm having troubles with the policykit package, and i've discovered
 that the new version (0.92) has broken all APIs and this causes some
 packages to not compile anymore (network manager in my case).
 So i tried to mask it and keep the 0.9-r1 version instead, but with no
 result.
 I've added it to /etc/portage/package.mask and tried this forms:
 =sys-auth/policykit-0.92
 =sys-auth/policykit-0.92
 and also
 sys-auth/policykit-0.92
 that should prenvet any version of it being merged, right?
 none of those attempts worked for me, and emerge keeps trying to merge
 it...
 i'm running a x86 system with no accept keywords set.
 any ideas?

 Thanks in advance.
 Davide


Other people replied with the fixes, but I just want to chime in and say 1
of those isn't a valid package atom:
sys-auth/policykit-0.92

The other 2 are valid.  The first one will mask
only version 0.92.  The 2nd one will obviously mask 0.92 and above.
If you want to mask all policykit versions, just add:

sys-auth/policykit

-- 
- Mark Shields


Re: [gentoo-user] Re: {OT} wvdial fails with Zain Tanzanian network

2009-07-04 Thread Grant
 Is there another ppp client I can try besides wvdial?  One of the
 dependecies of kppp won't emerge for me so I'm out of luck there.

 - Grant



 One of the dependencies won't emerge?  Which one?
 That should be fixable.  Post the fail log for the emerge, and we'll work to
 get that resolved.
 --
 - Mark Shields

GREAT SUCCESS!  I added the following to wvdial.conf and it works!  I
think this amounts to defining the APN.

Init3 = AT+CGDCONT=1,IP,internet

Thanks a lot for everyone's help.  I don't recommend the Serena Lodge
wireless internet connections in Tanzania.  Very expensive and most
ports don't work.  The Zain SIM works great now.

Incidentally, I got antlr to emerge by temporarily enabling softmode
on my PAX-enabled kernel.

- Grant



Re: [gentoo-user] Re: {OT} wvdial fails with Zain Tanzanian network

2009-07-04 Thread Mark Shields
On Sat, Jul 4, 2009 at 12:14 PM, Grant emailgr...@gmail.com wrote:

  Is there another ppp client I can try besides wvdial?  One of the
  dependecies of kppp won't emerge for me so I'm out of luck there.
 
  - Grant
 
 
 
  One of the dependencies won't emerge?  Which one?
  That should be fixable.  Post the fail log for the emerge, and we'll work
 to
  get that resolved.
  --
  - Mark Shields

 GREAT SUCCESS!  I added the following to wvdial.conf and it works!  I
 think this amounts to defining the APN.

 Init3 = AT+CGDCONT=1,IP,internet

 Thanks a lot for everyone's help.  I don't recommend the Serena Lodge
 wireless internet connections in Tanzania.  Very expensive and most
 ports don't work.  The Zain SIM works great now.

 Incidentally, I got antlr to emerge by temporarily enabling softmode
 on my PAX-enabled kernel.

 - Grant


You're running a PAX'd kernel on a laptop workstation?  Really?

-- 
- Mark Shields


Re: [gentoo-user] [OT] rrd to CSV

2009-07-04 Thread Mark Shields
On Sat, Jul 4, 2009 at 11:36 AM, Mick michaelkintz...@gmail.com wrote:

 Hi All,

 I know that rrdtool dump will export the rrd data into XML, but is there
 something to either directly or via rrdtool create a CSV file for me?  Will
 probably want to run this on a cron job and email/save it.
 --
 Regards,
 Mick



Judging from a few cursory google searches, it won't output to CSV, but you
can easily convert it.  Try piping the file/output to these commands (yanked
from Cacti forums):
| grep -v NaN | grep 'row' | tr e ' ' \
| awk {'print Q$2qcq$3qcq$9Q'} \
| tr Q '' | tr c ',' | tr q ''


Haven't tested it, but looks like it should work.
-- 
- Mark Shields


Re: [gentoo-user] new system, printing suddenly fails for all printers

2009-07-04 Thread Mark Shields
On Thu, Jul 2, 2009 at 8:46 PM, Alan E. Davis lngn...@gmail.com wrote:

 I've been wrangling with a new gentoo install, on an AMD X2 64 bit
 machine.  It's been a problematic experience, but when the system works
 right, it works really right.


I would really recommend getting rid of the genkernel and compiling a kernel
from sources.

-- 
- Mark Shields


Re: [gentoo-user] [OT] rrd to CSV

2009-07-04 Thread Mick
On Saturday 04 July 2009, Mark Shields wrote:
 On Sat, Jul 4, 2009 at 11:36 AM, Mick michaelkintz...@gmail.com wrote:
  Hi All,
 
  I know that rrdtool dump will export the rrd data into XML, but is there
  something to either directly or via rrdtool create a CSV file for me? 
  Will probably want to run this on a cron job and email/save it.
  --
  Regards,
  Mick

 Judging from a few cursory google searches, it won't output to CSV, but you
 can easily convert it.  Try piping the file/output to these commands
 (yanked

 from Cacti forums):
 | grep -v NaN | grep 'row' | tr e ' ' \
 | awk {'print Q$2qcq$3qcq$9Q'} \
 | tr Q '' | tr c ',' | tr q ''

 Haven't tested it, but looks like it should work.

Thanks Mark, will give it a go and let you know.

-- 
Regards,
Mick


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


[gentoo-user] libtermcap

2009-07-04 Thread Roger Mason
Hello,

I'm trying to compile (outside portage) a program that needs
libtermcap.  I installed libtermcap-compat-2.0.8-r2 but that seems not
to provide it (I looked with 'find').

How can I install libtermcap?

Thanks,
Roger



Re: [gentoo-user] libtermcap

2009-07-04 Thread Joerg Schilling
Roger Mason rma...@mun.ca wrote:

 I'm trying to compile (outside portage) a program that needs
 libtermcap.  I installed libtermcap-compat-2.0.8-r2 but that seems not
 to provide it (I looked with 'find').

 How can I install libtermcap?

if you like a real libtermcap, check for libxtermcap that comes with the schily 
source consolidation:

ftp://ftp.berlios.de/pub/schily/

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



[gentoo-user] DOSEMU

2009-07-04 Thread David Relson
Greetings,

For a work related project I've got a DOS program (Borland C++ with
graphics library) that I want to run under FreeDOS, DOSEMU, and Linux.
The graphics are pretty simple - lines, bars, and an alphabetic font.

When I start DOSEMU from a Gnome terminal window, the DOS program
correctly displays its graphic just fine.  When I use a command line,
i.e. don't have X running, the program clears the screen but doesn't
display its graphics.  

Since the target machine is an embedded 486SX with limited mass
storage, operation without X is a  must.

I've got dosemu version 1.4.0.1 built with flags X gpm -debug -svga.

Anybody knowledgeable about DOSEMU and its pitfalls for the unwary
newbie (namely me :-)

TIA,

David



Re: [gentoo-user] [OT] Toggling wireless on eee without fn+f2

2009-07-04 Thread Maxim Wexler
 you even quoted the part where it clearly says the package is NOT in
 portage.

ouch.


 It's in an overlay, Sunrise to be exact, and you need layman for that. There
 is an excellent layman guide on the gentoo docs site.


didn't  --
 alan dot mckinnon at gmail dot com



finish my post -- I've encountered the term 'overlay' before. Never
realized it's like a mini-portage until now.

mw



Re: [gentoo-user] ATI-Driver 9.6 support?

2009-07-04 Thread Willie Wong
On Sat, Jul 04, 2009 at 04:22:59AM +0200, Penguin Lover Jes?s Guerrero squawked:
 
 On Sat, July 4, 2009 03:58, Volker Armin Hemmann wrote:
  On Samstag 04 Juli 2009, Jes?s Guerrero wrote:
 
 
  I don't filter anything. Just default metalog with default settings.
 
 I use sysklogd, that shouldn't matter much though. 

It may matter quite a bit, actually. I use metalog on my
server/desktop and syslog-ng on my laptop. metalog, by default,
rotates logs fairly aggressively. It the log file hits 1MB (by the
gentoo default setting) it gets rotated with a new datestamp. 

This computer has been running gentoo for close to 7 years now and I've 
never once need to clearn out log files processed by metalog (I do have 
to clean out elogs and apache logs [when I had a web server running] 
every once in a while). 

The one time I ran into kernel trouble on my laptop, however, boy, was
I glad I had /var on a separate partition. 

W


-- 
Getting the midterms back tomorrow is going to be a slaughterhouse.
No. The exam was the slaughterhouse.
Then tomorrow is just the meat packing.
~DeathMech, Some Student. P-town PHY 205
Sortir en Pantoufles: up 939 days, 19:34



Re: [gentoo-user] DOSEMU

2009-07-04 Thread Willie Wong
On Sat, Jul 04, 2009 at 04:38:16PM -0400, Penguin Lover David Relson squawked:
 Since the target machine is an embedded 486SX with limited mass
 storage, operation without X is a  must.
 
 I've got dosemu version 1.4.0.1 built with flags X gpm -debug -svga.
 

[06:33 PM]wwong ~ $ euse -i svga
global use flags (searching: svga)

[-] svga - Adds support for SVGAlib (graphics library)

local use flags (searching: svga)

no matching entries found
[06:33 PM]wwong ~ $ emerge --search svgalib
Searching...   
[ Results for search key : svgalib ]
[ Applications found : 1 ]
 
*  media-libs/svgalib
  Latest version available: 1.9.25
  Latest version installed: [ Not Installed ]
  Size of files: 963 kB
  Homepage:  http://www.svgalib.org/
  Description:   A library for running svga graphics on the console
  License:   BSD


Perhaps you should try to enable the svga use flag?

W
-- 
Murphy's Law of Government:
  If anything can go wrong, it will do so in triplicate.
Sortir en Pantoufles: up 939 days, 21:20



Re: [gentoo-user] DOSEMU

2009-07-04 Thread David Relson
On Sat, 4 Jul 2009 18:34:21 -0400
Willie Wong wrote:

 On Sat, Jul 04, 2009 at 04:38:16PM -0400, Penguin Lover David Relson
 squawked:
  Since the target machine is an embedded 486SX with limited mass
  storage, operation without X is a  must.
  
  I've got dosemu version 1.4.0.1 built with flags X gpm -debug
  -svga.
  
 
 [06:33 PM]wwong ~ $ euse -i svga
 global use flags (searching: svga)
 
 [-] svga - Adds support for SVGAlib (graphics library)
 
 local use flags (searching: svga)
 
 no matching entries found
 [06:33 PM]wwong ~ $ emerge --search svgalib
 Searching...   
 [ Results for search key : svgalib ]
 [ Applications found : 1 ]
  
 *  media-libs/svgalib
   Latest version available: 1.9.25
   Latest version installed: [ Not Installed ]
   Size of files: 963 kB
   Homepage:  http://www.svgalib.org/
   Description:   A library for running svga graphics on the
 console License:   BSD
 
 
 Perhaps you should try to enable the svga use flag?

Worth a try, though VGA graphics are all that's needed ...



[gentoo-user] X broken; keyboard for sure, maybe dri

2009-07-04 Thread felix
A reboot has lost X, in particular the keyboard confuses it.  Here is
the beginning of the X log.  Unfortunately, I didn't save the previous
working log.  This is ~amd64 under 2.6.30-gentoo-r1 and -r2.

I learned a while back I could get by without an X config.  It swapped
a couple of the menu / alt / menu keys, but I adapted.  Now X fills
its log with these expected keysym, got XF86* messages, and I have
no idea what causes them.  Without X, it's hard to search the forums
and bugzilla to see how others have coped.

I suspect I have emerged or unmerged something I shouldn't have, but I
don't remember anything particular on this update / reboot cycle other
than LVM and the kernel change (2.6.30-gentoo-r1 to -r2), and reboot
with either -r1 or -r2 makes no difference that I can see.

There are two other problems.  The fb0 complaint has been there for
a while; I have to sudo rm /dev/fb0 for X to work.  The kernel has
the framebuffer configured, but I haven't investigated much because I
can get X working without /dev/fb0.

The dri line seems new, but might not matter.  The display works.
The mouse works.  It seems to be only the keyboard which is hosed.
But if someone knows how to fix the dri complaint, thanks.

=== begin X log
X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-gentoo-r7 x86_64 
Current Operating System: Linux crowfix 2.6.30-gentoo-r2 #1 SMP PREEMPT Sat Jul 
4 14:07:08 PDT 2009 x86_64
Build Date: 20 December 2008  04:18:31PM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sat Jul  4 17:47:02 2009
(EE) Unable to locate/open config file
New driver is ati
(==) Using default built-in configuration (30 lines)
(EE) Failed to load module dri (module does not exist, 0)
(EE) open /dev/fb0: No such file or directory
error setting MTRR (base = 0xfd00, size = 0x0080, type = 1) Invalid 
argument (22)
expected keysym, got XF86Battery: line 59 of inet
= end X log

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] X broken; keyboard for sure, maybe dri

2009-07-04 Thread felix
On Sat, Jul 04, 2009 at 07:05:27PM -0700, fe...@crowfix.com wrote:

 There are two other problems.  The fb0 complaint has been there for
 a while; I have to sudo rm /dev/fb0 for X to work.  The kernel has
 the framebuffer configured, but I haven't investigated much because I
 can get X working without /dev/fb0.

The log entry is

=
Fatal server error:
Cannot run in framebuffer mode. Please specify busIDsfor all 
framebuffer devices
=

And I never investigated further because I didn't know where they
would be specified without a config file, and it works if I rm /dev/fb0.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] qt blocks, poppler, etc.

2009-07-04 Thread Alan E. Davis
I am trying to install cb2bib from an overlay.  The ebuild is on
gentoo bugs.  On this machine, over time, I have gotten qt to settle
down, but now it's a mess.   I have tried to install some dependencies
with emerge -1 , but since I have too little understanding of that
issue, didn't do that for all.  Now qt-core has downgraded.

After installing (emerge -1) apps-text/poppler, then dev-libs/poppler
0.10.7 installed ok.  So I'm starting to understand how that works.
Can I also install x11-libs/qt-core-4.5.1 by oneshot, and then install
x11-libs/4.5.2?

This cyclical bunch of blocks has hit me many, many times, and I was
glad to discover that at least part of the problem was surmountable.

Alan Davis

 ...can the human soul be glimpsed through a microscope? Maybe, but
you'd definitely need one of those very good ones with two eyepieces.

-- Woody Allen, quoted by B. A. Palevitz



Re: [gentoo-user] new system, printing suddenly fails for all printers

2009-07-04 Thread Alan E. Davis
On Sun, Jul 5, 2009 at 4:21 AM, Mark Shieldslaebsh...@gmail.com wrote:

 I would really recommend getting rid of the genkernel and compiling a kernel
 from sources.

I will try again to do so.


Alan



Re: [gentoo-user] Re: {OT} wvdial fails with Zain Tanzanian network

2009-07-04 Thread Grant
  Is there another ppp client I can try besides wvdial?  One of the
  dependecies of kppp won't emerge for me so I'm out of luck there.
 
  - Grant
 
 
 
  One of the dependencies won't emerge?  Which one?
  That should be fixable.  Post the fail log for the emerge, and we'll
  work to
  get that resolved.
  --
  - Mark Shields

 GREAT SUCCESS!  I added the following to wvdial.conf and it works!  I
 think this amounts to defining the APN.

 Init3 = AT+CGDCONT=1,IP,internet

 Thanks a lot for everyone's help.  I don't recommend the Serena Lodge
 wireless internet connections in Tanzania.  Very expensive and most
 ports don't work.  The Zain SIM works great now.

 Incidentally, I got antlr to emerge by temporarily enabling softmode
 on my PAX-enabled kernel.

 - Grant


 You're running a PAX'd kernel on a laptop workstation?  Really?

Yeah, no good?  I asked on the gentoo-hardened list if that was a
worthwhile endeavor and they said it was.  Maybe a bit overzealous?

- Grant