Re: [gentoo-user] Re: dev-ruby/json-1.8.0

2014-06-08 Thread Stephen Reynolds
Okay I am now using ruby19, This have solved my problem.
Thanks

stephen # eselect ruby list
Available Ruby profiles:
  [1]   ruby19 (with Rubygems) *
  [2]   ruby20 (with Rubygems)


stephen # ls -l /usr/bin/rdoclrwxrwxrwx 1 root root 6 Jun  8 11:45
/usr/bin/rdoc ->
rdoc19

stephen # grep RUBY /etc/portage/make.conf
RUBY_TARGETS="ruby19"



On Sun, Jun 8, 2014 at 10:39 AM, Hans de Graaff  wrote:

> On Sat, 07 Jun 2014 17:20:22 -0700, walt wrote:
>
> > On 06/07/2014 12:56 AM, Hans de Graaff wrote:
>
> > For example, I (want to) use only ruby19:
> >
> > #grep RUBY /etc/portage/make.conf RUBY_TARGETS="ruby19"
>
> Yes, in hindsight I think that should have been the current default since
> ruby19 has the best overall coverage for packages. Once ruby20 has caught
> up I think we'll move to a default of RUBY_TARGETS="ruby20"
>
> > In spite of that, portage often insists on installing other versions of
> > ruby, rdoc, rubygems, and you already know the others.
>
> Partially this was because we tried to solve another issue when ruby20
> went stable. I removed those forced use flags for ruby20 last week, so
> this should no longer happen. We still need to come up with a good plan
> when the same issue will pop up for ruby21.
>
> > AFAICT, the other versions of ruby are dragged in by old ruby packages
> > that were installed before I started using "RUBY_TARGETS" (because I
> > didn't yet know about RUBY_TARGETS),
>
> Yes, these will still have other ruby targets recorded and thus also
> request them for their dependencies. emerge --newuse should be able to
> help here.
>
> > I discovered all of this by grepping for ruby in /var/db/pkg but it took
> > me a long time to get it sorted out, and I don't expect that a gentoo
> > beginner could do it.  (OTOH maybe a gentoo beginner wouldn't care about
> > installing multiple ruby versions :)
>
> We try to keep the default settings so that someone who doesn't care or
> know about ruby should get a good experience. Moving from ruby18 to ruby19
> we did some things that could have been handled better (such as not
> mentioning that the new ruby must be eselected before making the switch),
> so hopefully we've learned from those when we do the next update.
>
> Hans
>
>
>
>


Re: [gentoo-user] Re: dev-ruby/json-1.8.0

2014-06-08 Thread Stephen Reynolds
This is what I have.

stephen #grep RUBY /etc/portage/make.conf
RUBY_TARGETS="ruby20"

stephen # ls -l /usr/bin/rdoc
lrwxrwxrwx 1 root root 6 Jun  6 20:13 /usr/bin/rdoc -> rdoc20

stephen # eselect ruby list
Available Ruby profiles:
  [1]   ruby19 (with Rubygems)
  [2]   ruby20 (with Rubygems) *

Regards



On Sun, Jun 8, 2014 at 2:20 AM, walt  wrote:

> On 06/07/2014 12:56 AM, Hans de Graaff wrote:
> > On Fri, 06 Jun 2014 15:47:38 -0700, walt wrote:
> >
> >> Is all of the above familiar to you?  If not, you may need more help
> >> with managing multiple ruby versions.  I find it a large PITA and I
> >> could use more help myself :)
> >
> > Could you explain what bothers you or where you would need help?
>
> Hi Hans.  The annoying problems occur when updating ruby-related packages.
>
> For example, I (want to) use only ruby19:
>
> #grep RUBY /etc/portage/make.conf
> RUBY_TARGETS="ruby19"
>
> In spite of that, portage often insists on installing other versions of
> ruby, rdoc, rubygems, and you already know the others.
>
> AFAICT, the other versions of ruby are dragged in by old ruby packages
> that were installed before I started using "RUBY_TARGETS" (because I
> didn't yet know about RUBY_TARGETS),
>
> I discovered all of this by grepping for ruby in /var/db/pkg but it
> took me a long time to get it sorted out, and I don't expect that a
> gentoo beginner could do it.  (OTOH maybe a gentoo beginner wouldn't
> care about installing multiple ruby versions :)
>
> Thanks for taking the time to read gentoo.user and even more thanks
> for being a gentoo dev :)
>
>
>
>
>
>


[gentoo-user] dev-ruby/json-1.8.0

2014-06-06 Thread Stephen Reynolds
Hi all

I am trying to emerge dev-ruby/json-1.8.0 and it keeps failing.
I have tried everything I know to fix it, without any success.

Regards



* Package:dev-ruby/json-1.8.0
 * Repository: gentoo
 * Maintainer: r...@gentoo.org
 * USE:amd64 doc elibc_glibc kernel_linux ruby_targets_ruby19
ruby_targets_ruby20 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 * Running unpack phase for all ...
 * Unpacking .gem file...
...
[ ok ]
 * Uncompressing metadata
...
[ ok ]
 * Unpacking data.tar.gz
...
[ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/json-1.8.0/work
>>> Preparing source in /var/tmp/portage/dev-ruby/json-1.8.0/work ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby19 ...
 * Running source copy phase for ruby20 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/json-1.8.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/json-1.8.0/work ...
 * Running compile phase for ruby19 ...
GNU Make 3.82
Built for x86_64-pc-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston
Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston
cd ext/json/ext/parser
/usr/bin/ruby19 extconf.rb
creating Makefile
gmake
compiling parser.c
linking shared-object json/ext/parser.so
cd -
cp ext/json/ext/parser/parser.so ext/json/ext
cd ext/json/ext/generator
/usr/bin/ruby19 extconf.rb
creating Makefile
gmake
compiling generator.c
linking shared-object json/ext/generator.so
cd -
cp ext/json/ext/generator/generator.so ext/json/ext
 * Running compile phase for ruby20 ...
GNU Make 3.82
Built for x86_64-pc-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston
Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston
cd ext/json/ext/parser
/usr/bin/ruby20 extconf.rb
creating Makefile
gmake
compiling parser.c
linking shared-object json/ext/parser.so
cd -
cp ext/json/ext/parser/parser.so ext/json/ext
cd ext/json/ext/generator
/usr/bin/ruby20 extconf.rb
creating Makefile
gmake
compiling generator.c
linking shared-object json/ext/generator.so
cd -
cp ext/json/ext/generator/generator.so ext/json/ext
 * Running compile phase for all ...
GNU Make 3.82
Built for x86_64-pc-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston
Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston
Writing version information for 1.8.0
rdoc -o doc -t 'JSON Implementation for Ruby' -m README.rdoc README.rdoc
lib/json.rb lib/json/add/bigdecimal.rb lib/json/add/complex.rb
lib/json/add/core.rb lib/json/add/date.rb lib/json/add/date_time.rb
lib/json/add/exception.rb lib/json/add/ostruct.rb lib/json/add/range.rb
lib/json/add/rational.rb lib/json/add/regexp.rb lib/json/add/struct.rb
lib/json/add/symbol.rb lib/json/add/time.rb lib/json/common.rb
lib/json/ext.rb lib/json/generic_object.rb lib/json/pure.rb
lib/json/pure/generator.rb lib/json/pure/parser.rb lib/json/version.rb
ext/json/ext/parser/parser.c ext/json/ext/generator/generator.c
sh: rdoc: command not found
rake aborted!
Command failed with status (127): [rdoc -o doc -t 'JSON Implementation for
Ru...]
/var/tmp/portage/dev-ruby/json-1.8.0/work/all/json-1.8.0/Rakefile:346:in
`block in '
Tasks: TOP => doc
(See full trace by running task with --trace)
 * ERROR: dev-ruby/json-1.8.0::gentoo failed (compile phase):
 *   failed to (re)build documentation
 *
 * Call stack:
 * ebuild.sh, line   93:  Called src_compile
 *   environment, line 4281:  Called ruby-ng_src_compile
 *   environment, line 3939:  Called _ruby_invoke_environment 'all'
'all_ruby_compile'
 *   environment, line  501:  Called all_ruby_compile
 *   environment, line  585:  Called all_fakegem_compile
 *   environment, line  545:  Called die
 * The specific snippet of code:
 *   rake ${RUBY_FAKEGEM_TASK_DOC} || die "failed to
(re)build documentation"
 *
 * If you need support, post the output of `emer

Re: [gentoo-user] Net work cards

2014-02-03 Thread Stephen Reynolds
Okay thanks, I got network working it was just a cable issue.

thanks for all the help


On Tue, Feb 4, 2014 at 6:23 AM, Amankwah  wrote:

> On Mon, Feb 03, 2014 at 07:15:34PM +0000, Stephen Reynolds wrote:
> > if I run ifconfig -a this currently what I get.
> > I have completed the installtion, but Kernel Modules I am not sure about.
> >
> > eth0: flags=4163  mtu 1500
> > inet 192.168.1.105  netmask 255.255.255.0  broadcast
> 192.168.1.255
> > inet6 fe80::be5f:f4ff:fee8:5914  prefixlen 64  scopeid 0x20
> > ether bc:5f:f4:e8:59:14  txqueuelen 1000  (Ethernet)
> > RX packets 435  bytes 234999 (229.4 KiB)
> > RX errors 0  dropped 0  overruns 0  frame 0
> > TX packets 476  bytes 90064 (87.9 KiB)
> > TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> >
> > lo: flags=73  mtu 16436
> > inet 127.0.0.1  netmask 255.0.0.0
> > inet6 ::1  prefixlen 128  scopeid 0x10
> > loop  txqueuelen 0  (Local Loopback)
> > RX packets 4  bytes 300 (300.0 B)
> > RX errors 0  dropped 0  overruns 0  frame 0
> > TX packets 4  bytes 300 (300.0 B)
> > TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> >
> > wlan0: flags=4099  mtu 1500
> > ether 00:0e:2e:e4:fb:cd  txqueuelen 1000  (Ethernet)
> > RX packets 0  bytes 0 (0.0 B)
> > RX errors 0  dropped 0  overruns 0  frame 0
> > TX packets 0  bytes 0 (0.0 B)
> > TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> >
>
> According to your result of the ifconfig -a, your device dirver should
> be OK.
>
> First, the eth0 interface, that is your wired connection, has already
> been configured. If it's done automaticly, it should be worked. If it
> doesn't work, you should check your network setting and if the cable is
> connected in right way.
>
> Second, the wlan0, the wirelesss adpater, maybe you need a wireless
> network management application. you can just check the basic
> configurations by the command iwconfig and iwlist first, if it's OK,
> and your wireless has encryption, you should configrue the
> wpa_supplicant correctly or using the NetworkManager to manage your
> wirless connection.
>
> > On 2/3/14, Amankwah  wrote:
> > > On Mon, Feb 03, 2014 at 02:36:29PM +0200, Stephen Reynolds wrote:
> > >> Hi all
> > >>
> > >>
> > >>
> > >> I am doing a new Gentoo installation and I cannot get my network
> cards to
> > >> work.
> > >> I have two cards
> > >>
> > >>
> > >>
> > >> 1)爀th0 =牋Realtek RLTl8111e
> > >>
> > >> 2)爓lan0 = RaLink RT2561/RT61
> > >>
> > >>
> > >>
> > >> Gen Kernel has support for both.
> > >>
> > >>
> > >>
> > >> Please advise爉e as to what steps I can take to fix this?
> > >>
> > >
> > > You should comfirm that the drivers of the adapters are compiled and
> > > loaded correctly. And for the wireless network, relys on you AP
> settings
> > > you may need the application like the net_wireless/wpa_supplicant.
> > >
> > >
>
>


Re: [gentoo-user] Net work cards

2014-02-03 Thread Stephen Reynolds
dmesg | grep -i firmware I get nothing.

dmesg | grep eth0 i get this below.

[   50.931566] r8169 :02:00.0: eth0: RTL8168evl/8111evl at
0xc9000467e000, bc:5f:f4:e8:59:14, XID 0c900800 IRQ 42
[   50.931568] r8169 :02:00.0: eth0: jumbo features [frames: 9200
bytes, tx checksumming: ko]
[  102.775702] r8169 :02:00.0: eth0: link down
[  102.775719] r8169 :02:00.0: eth0: link down
[  104.330871] r8169 :02:00.0: eth0: link up
[  144.845438] r8169 :02:00.0: eth0: link down
[  144.845448] r8169 :02:00.0: eth0: link down
[  144.845470] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  145.104677] r8169 :02:00.0: eth0: link down
[  145.104706] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  146.650141] r8169 :02:00.0: eth0: link up
[  146.650150] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready


On 2/3/14, Chris Stout  wrote:
> - Original Message -
> From: Stephen Reynolds
> Sent: 02/03/14 11:15 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Net work cards
>
> if I run ifconfig -a this currently what I get. I have completed the
> installtion, but Kernel Modules I am not sure about.
>
> You can get the info on what modules are loaded for the cards with `lspci
> -k`. For instance, the lines for my network card are:01:01.0 Network
> controller: Ralink corp. RT2760 Wireless 802.11n 1T/2R Subsystem: Edimax
> Computer Co. Device 7727 Kernel driver in use: rt2800pci It may also be
> relevant to post the output of `dmesg | grep -i firmware`.
>



Re: [gentoo-user] Net work cards

2014-02-03 Thread Stephen Reynolds
if I run ifconfig -a this currently what I get.
I have completed the installtion, but Kernel Modules I am not sure about.

eth0: flags=4163  mtu 1500
inet 192.168.1.105  netmask 255.255.255.0  broadcast 192.168.1.255
inet6 fe80::be5f:f4ff:fee8:5914  prefixlen 64  scopeid 0x20
ether bc:5f:f4:e8:59:14  txqueuelen 1000  (Ethernet)
RX packets 435  bytes 234999 (229.4 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 476  bytes 90064 (87.9 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73  mtu 16436
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 0  (Local Loopback)
RX packets 4  bytes 300 (300.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 4  bytes 300 (300.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099  mtu 1500
ether 00:0e:2e:e4:fb:cd  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

On 2/3/14, Amankwah  wrote:
> On Mon, Feb 03, 2014 at 02:36:29PM +0200, Stephen Reynolds wrote:
>> Hi all
>>
>>
>>
>> I am doing a new Gentoo installation and I cannot get my network cards to
>> work.
>> I have two cards
>>
>>
>>
>> 1) eth0 =  Realtek RLTl8111e
>>
>> 2) wlan0 = RaLink RT2561/RT61
>>
>>
>>
>> Gen Kernel has support for both.
>>
>>
>>
>> Please advise me as to what steps I can take to fix this?
>>
>
> You should comfirm that the drivers of the adapters are compiled and
> loaded correctly. And for the wireless network, relys on you AP settings
> you may need the application like the net_wireless/wpa_supplicant.
>
>



Re: [gentoo-user] Net work cards

2014-02-03 Thread Stephen Reynolds
 Thanks for the quick response, I will check and get back to you.
I am not in front of my pc right now.


On Mon, Feb 3, 2014 at 2:57 PM, Michael Hampicke  wrote:

> Am 03.02.2014 13:36, schrieb Stephen Reynolds:
> > Hi all
> >
> >
> >
> > I am doing a new Gentoo installation and I cannot get my network cards to
> > work. I have two cards
> >
> >
> >
> > 1) eth0 =  Realtek RLTl8111e
> >
> > 2) wlan0 = RaLink RT2561/RT61
> >
> >
> >
> > Gen Kernel has support for both.
> >
> >
> >
> > Please advise me as to what steps I can take to fix this?
> >
>
> Are the kernel modules for your network desvices loaded? What's the
> output of "ifconfig -a"?
>
>


[gentoo-user] Net work cards

2014-02-03 Thread Stephen Reynolds
Hi all



I am doing a new Gentoo installation and I cannot get my network cards to
work. I have two cards



1) eth0 =  Realtek RLTl8111e

2) wlan0 = RaLink RT2561/RT61



Gen Kernel has support for both.



Please advise me as to what steps I can take to fix this?


Re: [gentoo-user] Gnome-Keyring not unlocking with Slim Autologin

2012-12-20 Thread Stephen Griffiths
Just to follow up on this. Seeing that I'm happy enough for my machine to
autologin on bootup, I'm happy enough for the gnome-keyring to be
automatically unlocked.

Is there a way of doing this?

Regards, Steve


On 18 December 2012 10:41, Stephen Griffiths  wrote:

> Thanks for you reply Mark.
>
> The way you put it makes sense. I guess the option is whether I would like
> to have the security risk of having my passwords open without needing any
> kind of authentication. But that depends on whether I can bypass needing to
> enter a password on autologin in the first please, or if it's not possible.
>
>
> On 18 December 2012 10:17, Mark David Dumlao  wrote:
>
>> On Tue, Dec 18, 2012 at 6:08 PM, Stephen Griffiths 
>> wrote:
>> > Is there some kind of rule where if you AutoLogin, you require some
>> kind of
>> > authentication when it comes to unlocking the keyring?
>> That's how the keyring works, in principle. The keyring is a
>> password-protected secret, and a typical desktop system would be setup
>> so that the login password you used was also used to unlock the
>> keyring. With autologin, no password is typed in, so gnome-keyring has
>> no way of being unlocked without asking you for a password.
>>
>> --
>> This email is:[ ] actionable   [x] fyi[ ] social
>> Response needed:  [ ] yes  [x] up to you  [ ] no
>> Time-sensitive:   [ ] immediate[ ] soon   [x] none
>>
>>
>
>
> --
> Kind Regards,
> Stephen Griffiths
>
> <http://www.stevegriff.com/> [image: Email 
> st...@stevegriff.com] [image:
> Twitter] <http://www.twitter.com/#!/stevegriffdtcom> [image: 
> Facebook]<http://www.facebook.com/SteveGriffDotCom> [image:
> Google+] <https://plus.google.com/108932032303032698029/posts> [image:
> LinkedIn] <http://uk.linkedin.com/in/stevegriffdotcom>
>
>


-- 
Kind Regards,
Stephen Griffiths

<http://www.stevegriff.com/>[image: Email
st...@stevegriff.com][image:
Twitter] <http://www.twitter.com/#!/stevegriffdtcom>[image:
Facebook]<http://www.facebook.com/SteveGriffDotCom>[image:
Google+] <https://plus.google.com/108932032303032698029/posts>[image:
LinkedIn] <http://uk.linkedin.com/in/stevegriffdotcom>


Re: [gentoo-user] Gnome-Keyring not unlocking with Slim Autologin

2012-12-18 Thread Stephen Griffiths
Thanks for you reply Mark.

The way you put it makes sense. I guess the option is whether I would like
to have the security risk of having my passwords open without needing any
kind of authentication. But that depends on whether I can bypass needing to
enter a password on autologin in the first please, or if it's not possible.


On 18 December 2012 10:17, Mark David Dumlao  wrote:

> On Tue, Dec 18, 2012 at 6:08 PM, Stephen Griffiths 
> wrote:
> > Is there some kind of rule where if you AutoLogin, you require some kind
> of
> > authentication when it comes to unlocking the keyring?
> That's how the keyring works, in principle. The keyring is a
> password-protected secret, and a typical desktop system would be setup
> so that the login password you used was also used to unlock the
> keyring. With autologin, no password is typed in, so gnome-keyring has
> no way of being unlocked without asking you for a password.
>
> --
> This email is:[ ] actionable   [x] fyi[ ] social
> Response needed:  [ ] yes  [x] up to you  [ ] no
> Time-sensitive:   [ ] immediate[ ] soon   [x] none
>
>


-- 
Kind Regards,
Stephen Griffiths

<http://www.stevegriff.com/>[image: Email
st...@stevegriff.com][image:
Twitter] <http://www.twitter.com/#!/stevegriffdtcom>[image:
Facebook]<http://www.facebook.com/SteveGriffDotCom>[image:
Google+] <https://plus.google.com/108932032303032698029/posts>[image:
LinkedIn] <http://uk.linkedin.com/in/stevegriffdotcom>


[gentoo-user] Gnome-Keyring not unlocking with Slim Autologin

2012-12-18 Thread Stephen Griffiths
Hi all,

I'm having an issue with the Slim Login Manager and it's AutoLogin feature.
With the AutoLogin flag set to "no", when I login, gnome-keyring unlocks
itself fine, with Evolution being able to utilise it.

However, when the AutoLogin flag is set to "yes", Evolution invokes
gnome-keyring to ask for the Password.

Is there some kind of rule where if you AutoLogin, you require some kind of
authentication when it comes to unlocking the keyring?

-- 
Kind Regards,
Stephen Griffiths


Re: [gentoo-user] vmware-server requires a serial number, but is free? how does this work

2007-12-21 Thread Stephen Wittig
Goto:
http://www.vmware.com/download/server/

Right under "Download VMware Server" (in orange) you will see a link
that reads "register for your free serial number(s)."

On Dec 21, 2007 3:33 PM, Kevin O'Gorman <[EMAIL PROTECTED]> wrote:
> I've emerged and partly configured vmware-server-1.0.4, but it is asking for
> a 20-digit serial number to complete the configuration.
> I understood this to be a free product, as it says on the VMware site.  But
> I didn't notice anything about a serial number.  Do
> I just make it up, or did I miss something on vmware.com?
>
> ++ kevin
>
> --
> Kevin O'Gorman, PhD
>
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Strange mplayer symbols on a terminal

2007-09-19 Thread Boyd Stephen Smith Jr.
On Wednesday 19 September 2007, Mick <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] Strange mplayer symbols on a terminal':
>On Wednesday 19 September 2007, Boyd Stephen Smith Jr. wrote:
>> On Wednesday 19 September 2007, [EMAIL PROTECTED] wrote about 'Re:
>> [gentoo-user] Strange mplayer symbols on a terminal':
>>>On Wed, Sep 19, 2007 at 08:05:16PM +0100, Mick wrote:
>>>> When I launch mplayer from aterm I get this type of symbols on my
>>>> terminal:
>>>
>>>I get them too.  I just ran it with stdout redirected to a temp
>>>file which I attach here.
>>
>> The attached file looks "fine" to me.
>> It is in a foreign language, though.
>> I'm not sure how mplayer has decided you want that language.  Could you
>> post the output of:
>> env | grep -E '^L(C_|ANG)'
>
>I assume that you refer to felix's attachment, rather than my terminal
> output.

Yes.

>$ env | grep -E '^L(C_|ANG)'
>$

Hrm, in that case applications are supposed to fall back to the "C" locale, 
IIRC.  However, it's possible that mplayer is trying to guess your 
language and getting it wrong.

Try doing:
LANG=en_US; export LANG
before your mplayer command and see if that helps.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Strange mplayer symbols on a terminal

2007-09-19 Thread Boyd Stephen Smith Jr.
On Wednesday 19 September 2007, [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] Strange mplayer symbols on a terminal':
>On Wed, Sep 19, 2007 at 08:05:16PM +0100, Mick wrote:
>> When I launch mplayer from aterm I get this type of symbols on my
>> terminal:
>
>I get them too, and have always chalked it up to some locale problem
>not worth solving.  I just ran it with stdout redirected to a temp
>file which I attach here.

The attached file looks "fine" to me:
MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Компилиран за x86 процесори с разширения: MMX MMX2 SSE SSE2
Възпроизвеждане на u-flatworld/fLnCDTWB2S0.flv.
libavformat формат.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [FLV1]  320x240  0bpp  15.000 fps0.0 kbps ( 0.0 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==
Отваряне на видео декодер: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==
==
Отваряне на аудио декодер: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
AO: [oss] 22050Hz 2ch s16le (2 bytes per sample)
Започва възпроизвеждането...
VDec: заявка на vo config - 320 x 240 (preferred csp: Planar YV12)
Не е открит подходящ цветови формат - повторен опит с -vf scale...
Отваряне на видео филтър: [scale]
VDec: using Planar YV12 as output csp (no 0)
Не са дефинирани пропорции - без предварително мащабиране.
[swscaler @ 0x87d2698]SwScaler: using unscaled yuv420p -> rgb32 special 
converter
VO: [ggi] 320x240 => 320x240 BGRA 
[ggi] input: 320x240x32, output: 1408x1050x32
Излизане от програмата... (Изход)

It is in a foreign language, though.  Something with a Cyrillic script that 
I do not read.

I'm not sure how mplayer has decided you want that language.  Could you 
post the output of:
env | grep -E '^L(C_|ANG)'
so I can see the environment variables that affect gettext and POSIX 
message catalogs?

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] cdrecord says permission denied

2007-09-11 Thread Stephen Wittig
The only things that I can guess are that it is trying to update
something in "/proc" or it needs to load a kernel module before
writing.

Just for fun - try burning a disk as root. Then try burning another
dist as a non-root user. If the the second disk burns then one or the
other of the above is the problem.

-Good Luck, Stephen


On 9/11/07, Renat Golubchyk <[EMAIL PROTECTED]> wrote:
> On Tue, 11 Sep 2007 15:04:04 -0300 "Rafael Barrera Oro"
> <[EMAIL PROTECTED]> wrote:
> > did you try adding yourself to the cdrom group?
>
> I *am* in the cdrom group, as I have already wrote.
>
> > > $ groups
> > > adm wheel cron audio cdrom video cdrw usb users locate portage plugdev
> > > 
>
>
> Renat
>
> --
> Probleme kann man niemals mit derselben Denkweise loesen,
> durch die sie entstanden sind.
>   (Einstein)
>
>
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-11 Thread Boyd Stephen Smith Jr.
On Tuesday 11 September 2007, Grant <[EMAIL PROTECTED]> wrote about 'Re: 
[gentoo-user] SSH won't restart':
>How does my host get root access like that?

Physical access to the box = root in many cases.
Also, if it's some vserver type setup, root on the host can get root access 
on the guest machines.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Stephen Wittig
> > Complete Side Note:
> > Does anyone know where to issue a bug report to try to have this
> > behavior changed. The correct (and more widely) seen behavior of
>
> http://bugzilla.gentoo.org I guess.

Now, I know why I have never tried to submit a bug report before :)
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Stephen Wittig
The current init script will not try to restart the daemon if
everything does not exit cleanly. We already know that the main
process won't exit cleanly since it was manually killed.

Unless you are comfortable editing the init script I would suggest:

1) Type:
ps auxww |grep /usr/sbin/sshd |grep -v grep

This will give you the process id of the current sshd daemon. Write it
down for later use.

2) On the following page, do steps 1 and 2 (I know this article is
specifically related to upgrading sshd on redhat, but these steps are
the same for gentoo):

http://www.hackinglinuxexposed.com/articles/20020319.html

This will give you a temporary sshd server, so that we can kill off
all of your old sshd process, while still giving you access to the
machine.

It will also make sure that there are not any configuration problems
with your current sshd_config file that are preventing the daemon from
starting.

If this copy of sshd daemon won't start then we know the problem is a
configuration error or that the binary somehow became corrupted.

3) Kill off the current sshd process from step 1
kill -TERM sshd_pid
  -- or --
kill -KILL sshd_pid

4) Type:
/etc/init.d/sshd zap

DO NOT USE the stop or restart commands - they will kill off your
temporary ssh server from step 2

5) Type:
/etc/init.d/sshd start

6) Try connecting to your server as you normally would. If everything
is working, then your can kill off the ssh daemon running on the
alternate port.

If it still doesn't start then its off two round three problem solving...

-Good Luck, Stephen

On 9/10/07, Grant <[EMAIL PROTECTED]> wrote:
> > For Grant:
> > I reread the init script for sshd, and I know see what was most likely
> > the problem. The init script, now, tries to kill all instances with
> > the process name of sshd, not just the daemon (as specified by the pid
> > file). This is why you were locked out when trying to restart the
> > daemon. If you can restart the machine, everything should be working
> > fine after a reboot. This behavior differs from every other distro of
> > linux that I have used, and with previous versions of the init script.
> > Sorry I missed that before emailing the list last time.
>
> That's alright, I really appreciate your attention.  One thing though.
>  Your init script discovery doesn't explain why sshd wouldn't restart
> (stop actually) when I was logged in does it?  Given that, do you
> still think restarting is the way to go?  I'm just trying to make sure
> I don't restart and still not have access.  That would be bad because
> there is a crucial daemon running now that won't come up
> automatically.
>
> Please tell me what you think.
>
> - Grant
> --
> [EMAIL PROTECTED] mailing list
>
>
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Stephen Wittig
Yes, accessing the machine via telnet over an encrypted VPN connection
is a safe way to access the box, but given the setup that Grant was
describing it did not sound like he had a encrypted VPN setup to
telnet over.

I also agree that having a secondary way of accessing the box, that is
secure, is an important factor when updating a remote server (whether
that be another encrypted connection or people you can contact locally
in the data center). Other people had already suggested starting a
copy of the server manually on the a different port.

For Grant:
I reread the init script for sshd, and I know see what was most likely
the problem. The init script, now, tries to kill all instances with
the process name of sshd, not just the daemon (as specified by the pid
file). This is why you were locked out when trying to restart the
daemon. If you can restart the machine, everything should be working
fine after a reboot. This behavior differs from every other distro of
linux that I have used, and with previous versions of the init script.
Sorry I missed that before emailing the list last time.

Complete Side Note:
Does anyone know where to issue a bug report to try to have this
behavior changed. The correct (and more widely) seen behavior of
restart for sshd should be something similar to:
start-stop-daemon --stop --quiet --oknodo --retry 30 --pidfile "${SSHD_PIDFILE}"


On 9/10/07, Arturo 'Buanzo' Busleiman <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Stephen Wittig wrote:
> > Killing the ssh daemon does not effect any of the existing
> > connections. The ssh daemon is used to listen for new connections and
> > create a process to handle communications with that request. That is
> > why when you update configuration parameters for sshd, they do not
> > take effect until the next connection.
>
> In an ideal world, yes. But humans tend to make mistakes. Grant is now 
> locked-out of his system
> because of messing around with conditional execution, kill and sshd all in 
> the same command.
>
> > The problem with connecting to the server via telnet is that your
> > password can be easily intercepted - which is one of the major reasons
> > telnet has been depreciated.
>
> I use it over openvpn ;)
>
> COme on, 13 years of using Linux, I should've learned a couple of tricks 
> already :P
>
> - --
> Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
> Servicios Ofrecidos: http://www.buanzo.com.ar/pro/
> Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion.
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG5ZixAlpOsGhXcE0RCiyMAJwNTQKn52VKaHS+/uwGkOYQSuqB+gCfcMSn
> fhr6kAdDLTDVAF63dLxFgv0=
> =GMM7
> -END PGP SIGNATURE-
> --
> [EMAIL PROTECTED] mailing list
>
>
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Stephen Wittig
I think that there may be something significantly wrong with your box
(or configuration of sshd). I have never had a server disconnect an
active connection when killing the ssh daemon.

If there is someone that you can contact in the data center I would ask them to:
1) Backup your current sshd_config file
2) Restore the default sshd_config on the box, and then try restart the daemon

Are there any other applications that are not behaving correctly?

-Stephen

On 9/10/07, Grant <[EMAIL PROTECTED]> wrote:
> > Yes. As a personal preference I don't usually chain commands together
> > when trouble shooting something, but there is technically nothing
> > wrong with doing so.
>
> And now I'm locked out.  What do you think guys?
>
> - Grant
>
>
> > > > This process is the ssh daemon:
> > > > root  2988 1  0 Sep04 ?00:00:00 /usr/sbin/sshd
> > > >
> > > > Two things: before killing the process with the KILL signal, I would
> > > > try killing it with TERM
> > > > kill -TERM 2988
> > > >
> > > > If that doesn't work then kill the process with the KILL signal.
> > > >
> > > > I would also use:
> > > > /etc/init.d/sshd restart
> > > >
> > > > This will give the init script a chance to do some cleanup work before
> > > > restarting
> > >
> > > Do this:
> > >
> > > kill -TERM 2988 && /etc/init.d/sshd restart
> > >
> > > and if that doesn't work, do:
> > >
> > > kill -9 2988 && /etc/init.d/sshd restart
> > >
> > > ?
> > >
> > > - Grant
> > >
> > >
> > > > > >  I just upgraded ssh and when I try to restart I get:
> > > > > >
> > > > > > * Stopping sshd ... [ !! ]
> > > > > >
> > > > > > I don't see anything about it in '/var/log/sshd/current'. How can I
> > > > > > figure out what is wrong? I'm a little nervous because I don't want
> > > > > > to shut myself out of this remote server.
> > > > > >
> > > > > >
> > > > > >  I had a similar issue after a previous update to ssh when I went 
> > > > > > to restart
> > > > > > it to get it to use the new binaries.  One of the nice features of 
> > > > > > sshd is
> > > > > > that your current session will say active even if you kill the sshd 
> > > > > > daemon
> > > > > > process.  Of course, if you get disconnected then you will not be 
> > > > > > able to
> > > > > > log back in, so it's good to do what you need to quickly if you do 
> > > > > > need to
> > > > > > kill (or if it's really stuck, kill -9) the process.  When I had 
> > > > > > this
> > > > > > problem I issued a `kill -9 PID_NUMBER && /etc/init.d/sshd start` - 
> > > > > > just be
> > > > > > sure that you're killing the /usr/sbin/sshd process and not one of 
> > > > > > your sshd
> > > > > > login forks at the same time.
> > > > >
> > > > > OK, I've got to be really careful here.  I see the following processes
> > > > > in 'ps -ef':
> > > > >
> > > > > root  2988 1  0 Sep04 ?00:00:00 /usr/sbin/sshd
> > > > > root  7573  2988  0 07:28 ?00:00:00 sshd: [EMAIL 
> > > > > PROTECTED]/0
> > > > >
> > > > > Should I:
> > > > >
> > > > > kill -9 2988 && /etc/init.d/sshd start
> > > > >
> > > > > Are you sure?  :)
> > > > >
> > > > > - Grant
> --
> [EMAIL PROTECTED] mailing list
>
>
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Stephen Wittig
Killing the ssh daemon does not effect any of the existing
connections. The ssh daemon is used to listen for new connections and
create a process to handle communications with that request. That is
why when you update configuration parameters for sshd, they do not
take effect until the next connection.

The problem with connecting to the server via telnet is that your
password can be easily intercepted - which is one of the major reasons
telnet has been depreciated.

-Stephen

On 9/10/07, Arturo 'Buanzo' Busleiman <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> Grant wrote:
> > Should I:
> > kill -9 2988 && /etc/init.d/sshd start
> > Are you sure?  :)
>
> Sounds scary to kill sshd remotely, specially over ssh :P
>
> That's why I usually have a telnet server up during ssh upgrade times.
>
>
> - --
> Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
> Servicios Ofrecidos: http://www.buanzo.com.ar/pro/
> Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion.
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG5Yd+AlpOsGhXcE0RCqCvAJ46Spe77Qukj5oYjCAtBK4lO0cZ4QCcCm24
> U/zSADTHUKzZZ/G2dkZZkbo=
> =5uQv
> -END PGP SIGNATURE-
> --
> [EMAIL PROTECTED] mailing list
>
>
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Stephen Wittig
Yes. As a personal preference I don't usually chain commands together
when trouble shooting something, but there is technically nothing
wrong with doing so.

-Stephen


On 9/10/07, Grant <[EMAIL PROTECTED]> wrote:
> > This process is the ssh daemon:
> > root  2988 1  0 Sep04 ?00:00:00 /usr/sbin/sshd
> >
> > Two things: before killing the process with the KILL signal, I would
> > try killing it with TERM
> > kill -TERM 2988
> >
> > If that doesn't work then kill the process with the KILL signal.
> >
> > I would also use:
> > /etc/init.d/sshd restart
> >
> > This will give the init script a chance to do some cleanup work before
> > restarting
>
> Do this:
>
> kill -TERM 2988 && /etc/init.d/sshd restart
>
> and if that doesn't work, do:
>
> kill -9 2988 && /etc/init.d/sshd restart
>
> ?
>
> - Grant
>
>
> > > >  I just upgraded ssh and when I try to restart I get:
> > > >
> > > > * Stopping sshd ... [ !! ]
> > > >
> > > > I don't see anything about it in '/var/log/sshd/current'. How can I
> > > > figure out what is wrong? I'm a little nervous because I don't want
> > > > to shut myself out of this remote server.
> > > >
> > > >
> > > >  I had a similar issue after a previous update to ssh when I went to 
> > > > restart
> > > > it to get it to use the new binaries.  One of the nice features of sshd 
> > > > is
> > > > that your current session will say active even if you kill the sshd 
> > > > daemon
> > > > process.  Of course, if you get disconnected then you will not be able 
> > > > to
> > > > log back in, so it's good to do what you need to quickly if you do need 
> > > > to
> > > > kill (or if it's really stuck, kill -9) the process.  When I had this
> > > > problem I issued a `kill -9 PID_NUMBER && /etc/init.d/sshd start` - 
> > > > just be
> > > > sure that you're killing the /usr/sbin/sshd process and not one of your 
> > > > sshd
> > > > login forks at the same time.
> > >
> > > OK, I've got to be really careful here.  I see the following processes
> > > in 'ps -ef':
> > >
> > > root  2988 1  0 Sep04 ?00:00:00 /usr/sbin/sshd
> > > root  7573  2988  0 07:28 ?00:00:00 sshd: [EMAIL PROTECTED]/0
> > >
> > > Should I:
> > >
> > > kill -9 2988 && /etc/init.d/sshd start
> > >
> > > Are you sure?  :)
> > >
> > > - Grant
> --
> [EMAIL PROTECTED] mailing list
>
>
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] awstats

2007-09-10 Thread Stephen Wittig
Try changing:
ScriptAlias /awstats
"/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl"
ScriptAlias /awstats.pl
"/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl"

To:
ScriptAlias /awstats "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin"

Also I specifically include:
AddHandler cgi-script .cgi
AddHandler cgi-script .pl

I don't know if this is required for awstats to work, but it does for
some other scripts.

Lastly, make sure that the data directory specified in the awstats
config file is writeable by the CGI script.

Last, check the apache error logs after trying to access the page and
let us know what they say.

-Best of Luck, Stephen

On 9/9/07, Jason Carson <[EMAIL PROTECTED]> wrote:
> > On Sun, 9 Sep 2007 21:04:02 -0400 (EDT)
> > Jason Carson wrote:
> >
> >> I've installed awstats on my server but when I go to access them from
> >> http://canuckster.org/awstats/awstats.pl it says...
> >>
> >> "Forbidden
> >> You don't have permission to access /awstats/awstats.pl on this
> >> server"
> >>
> >> What do I do?
> >
> > Hi Jay,
> >
> > The obvious questions:
> >
> >   What are the permissions?
> >   Have you checked the apache logs for messages?
> >
> > I've got it running on a non-gentoo machine.  It's
> > in /var/www/mydomain/cgi-bin and permitted as:
> >
> > -rwxr-xr-x  1 root root 527395 Feb 25  2005 awstats.pl* [
> >
> > HTH,
> >
> > David
> >
> I have the same permissions. I also have awstats.pl in two locations...
>
> 1)/var/www/localhost/cgi-bin/awstats.pl
> 2)/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl
>
> I think the second one is what matters, here is part of my
> /etc/apache2/vhosts.d/00_default_vhost.conf (apache 2.2.6 released today)
>
> Alias /awstats/classes "/usr/share/webapps/awstats/6.5-r1/htdocs/classes/"
> Alias /awstats/css "/usr/share/webapps/awstats/6.5-r1/htdocs/css/"
> Alias /awstats/icons "/usr/share/webapps/awstats/6.5-r1/htdocs/icon/"
> ScriptAlias /awstats/ "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/"
> ScriptAlias /awstats
> "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl"
> ScriptAlias /awstats.pl
> "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl"
>
> 
> Options None
> AllowOverride None
> 
> Order allow,deny
> Allow from all
> 
> 
>
> 
> Options ExecCGI
> AllowOverride None
> 
> Order allow,deny
> Allow from all
> 
> 
>
>
>
>
> --
> [EMAIL PROTECTED] mailing list
>
>
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Stephen Wittig
This process is the ssh daemon:
root  2988 1  0 Sep04 ?00:00:00 /usr/sbin/sshd

Two things: before killing the process with the KILL signal, I would
try killing it with TERM
kill -TERM 2988

If that doesn't work then kill the process with the KILL signal.

I would also use:
/etc/init.d/sshd restart

This will give the init script a chance to do some cleanup work before
restarting

-Best of Luck, Stephen

On 9/10/07, Grant <[EMAIL PROTECTED]> wrote:
> >  I just upgraded ssh and when I try to restart I get:
> >
> > * Stopping sshd ... [ !! ]
> >
> > I don't see anything about it in '/var/log/sshd/current'. How can I
> > figure out what is wrong? I'm a little nervous because I don't want
> > to shut myself out of this remote server.
> >
> >
> >  I had a similar issue after a previous update to ssh when I went to restart
> > it to get it to use the new binaries.  One of the nice features of sshd is
> > that your current session will say active even if you kill the sshd daemon
> > process.  Of course, if you get disconnected then you will not be able to
> > log back in, so it's good to do what you need to quickly if you do need to
> > kill (or if it's really stuck, kill -9) the process.  When I had this
> > problem I issued a `kill -9 PID_NUMBER && /etc/init.d/sshd start` - just be
> > sure that you're killing the /usr/sbin/sshd process and not one of your sshd
> > login forks at the same time.
>
> OK, I've got to be really careful here.  I see the following processes
> in 'ps -ef':
>
> root  2988 1  0 Sep04 ?00:00:00 /usr/sbin/sshd
> root  7573  2988  0 07:28 ?00:00:00 sshd: [EMAIL PROTECTED]/0
>
> Should I:
>
> kill -9 2988 && /etc/init.d/sshd start
>
> Are you sure?  :)
>
> - Grant
> --
> [EMAIL PROTECTED] mailing list
>
>
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] linux desktop search engines are ugly!

2007-08-28 Thread Boyd Stephen Smith Jr.
On Tuesday 28 August 2007, Uwe Thiem <[EMAIL PROTECTED]> wrote about 'Re: 
[gentoo-user] linux desktop search engines are ugly!':
>Think of secretaries who aren't interested in computers but need to use
> them. Think of musicians who want to use computers for composing without
> really under them. Think of any person who just uses computers without
> actually knowing what a file or a directory is. Computers aren't for
> geeks only.

Computers are tools, and thus, have some required knowledge to use them.  
If you don't know what a file or (directory/folder) is, you should stay 
away from them -- you might hurt yourself.

You don't use power tools or even cars without training for the same 
reason.

>> Using those search engines is like reinventing the wheel or programing
>> embedded devices with java... ;)
>
>Or like inventing the next generation wheel.  Think of people using a
>microwave for heating up food. They know they can do that. They don't
> need to know that only water, fat and sugar actually heat up in a
> microwave as long as they stick to food. If they start to experiment
> with other things ... well, they have to understand how microwaves work.

I don't expect my users to be able to write a filesystem in C, design an 
IC, or understand the OSI 7 layer model.

I do expect them to be able to use files and folders (a.k.a. directories).  
Especially since most office workers, and quite a few non-office workers 
use files and folders to mange their paperwork every day.

I'm sure DSE will be a feature many users will like and probably even 
become dependent on.  It's NOT the "next generation wheel", it's not even 
something I'll use, but it has it's place.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] linux desktop search engines are ugly!

2007-08-28 Thread Boyd Stephen Smith Jr.
On Tuesday 28 August 2007, Steen Eugen Poulsen <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] linux desktop search engines are ugly!':
>Desktop search engines is this centuries wheel invention.
>
>It's simply put a major breakthrough in how we work with our desktop.

LOL

Wow, I've got my dose of hype for the next month (or more).

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] linux desktop search engines are ugly!

2007-08-28 Thread Boyd Stephen Smith Jr.
On Tuesday 28 August 2007, Uwe Thiem <[EMAIL PROTECTED]> wrote about 'Re: 
[gentoo-user] linux desktop search engines are ugly!':
>Last time I did a file count in my home directory, it
> came up with 170,000 files (including sub-directories). It's a pain to
> keep that amount of data organised in a hierarchical filesystem. Better
> let the computer do the hard work.

$ find /home/bss | wc -l
158254
$ du -sh /home/bss
2.6T/home/bss
$ du -s /home/bss
2695039198  /home/bss

Desktop search would be a useless waste of resources for me.  I don't spend 
much time organizing files, but I do think about where to put them when I 
create/save them.  I know where all my data is already.

>It might not be the right tool for you and me, but there are lots of
> users out there for whom it is the right thing - if it doesn't use too
> much of system resources. KDE4 will hopefully get it right.

As long as I can turn it off, I think providing a feature many users want 
(3 of the 4 Linux users in my house) is a good use of developer resources.

Heck, I might even like it once I try it.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] linux desktop search engines are ugly!

2007-08-28 Thread Boyd Stephen Smith Jr.
On Monday 27 August 2007, Shaochun Wang <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] linux desktop search engines are ugly!':
>Can you imagine what makes a software
> consumes five hundrend Megabits of memory?

1. Unused memory is wasted.

2. 64MiB (> 512Mb) is not that much in the modern era.  Or did you mean 
500MiB instead of 500Mb?  Memory is generally measured in bytes, and 
generally uses the "binary SI" prefixes; bandwidth is usually the opposite 
(bits and "decimal SI").

3. http://bugs.kde.org/show_bug.cgi?id=148385

4. Have you used an application based of the Strigi indexer?  That's what's 
going to be used for KDE 4.0, and I really haven't heard many complaints 
about it.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] possible MBR corruption?

2007-08-27 Thread Boyd Stephen Smith Jr.
On Monday 27 August 2007, Neil Bothwick <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] possible MBR corruption?':
>Alternatively, ditch a separate /boot altogether, it really isn't needed
>with modern hardware.

Unless you want to use LVM.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Suggestion re: expat problems

2007-08-26 Thread Boyd Stephen Smith Jr.
On Sunday 26 August 2007, "Michael J. Barillier" 
<[EMAIL PROTECTED]> wrote about '[gentoo-user] Suggestion re: 
expat problems':
>I suggest that packages have
>optional Portage release notes, and when an `emerge --sync' is
>performed, any release notes of the updated packages are cat'ed together
>and displayed to the user (with `less' or another configured viewer).

The eselect news module is supposed to handle this.  IIRC, notices / news 
were part of GLEP 42.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] torrent issue

2007-08-20 Thread Boyd Stephen Smith Jr.
On Monday 20 August 2007, Mick <[EMAIL PROTECTED]> wrote about 'Re: 
[gentoo-user] torrent issue':
> "sync-log" ?

Set it up to be logged synchronously (without buffering).

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] torrent issue

2007-08-20 Thread Boyd Stephen Smith Jr.
On Monday 20 August 2007, "ionut cristian cucu" <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] torrent issue':
> i have a strange issue with torrent clients: they freeze my computer.
> Sometimes i just start the legal download and my computer stops
> responding, other times at some point while downloading. Everything
> else works just fine. I did a memtest nothing came out wrong. I'm
> using an ~amd64 box  with 2.6.21-gentoo-r3. Whether I use a C or a
> python client it crashes my system bad(only a hard reset works), even
> if X is not started a console client will freeze my computer. I used
> torrents before and worked fine but now, well now they don't. Do you
> have any ideea?

Check dmesg for anything related to your network (the hw specifically, but 
software could be at fault, too), before the crash occurs.  (Even better 
if you sync-log it so you'll have it after the system crashes.)

Assuming it's not your memory it is most likely the network card.

You might want to check your memory with something other than memtest -- I 
know there have been some scripts posted to this list that claim to catch 
timing issues much better than memtest.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] No title bars in gnome!

2007-08-19 Thread Boyd Stephen Smith Jr.
On Sunday 19 August 2007, Michael Sullivan <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] No title bars in gnome!':
> I logged into GNOME, no programs
> had title bars, and I couldn't Alt+TAB between them.  How can I fix
> this?  How can I even find out exactly what package is causing the
> problem?  When I log in, I get a message - something about
> accessibility, but everything else seems normal except for the lack of
> title bars.

This is usually caused by a missing/crashing/failing window manager.  The 
default window manager in Gnome is metacity (IIRC).  If you use 
compiz/beryl/compiz-fusion, this may be separated into a different program 
called the window decorator.  The perferred window decorator for Gnome is 
heliodor (IIRC).

Since your KDE window manager seems to work, you should be able to start 
gnome and then start:
kwin --replace
on the same display to get a more functional Gnome desktop.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] no standalone jre?

2007-08-19 Thread Boyd Stephen Smith Jr.
On Sunday 19 August 2007, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] no standalone jre?':
> On Sunday 19 August 2007 16:57:17 Ralf Stephan wrote:
> > when installing jre, a full jdk is downloaded (57M).
> >
> > Is this a bug?
>
> I don't really recall the reason for virtual/jdk to be the default
> provider of virtual/jre but you can find it somewhere on bugs.gentoo.org
> if you care... ;)

It's probably the fact that Gentoo is source-based, so java packages 
normally require a jdk (for javac) anyway.  That said java in the browser 
only requires a jre, even on Gentoo.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] how to enable hard masked USE flags like (-altivec)?

2007-08-17 Thread Boyd Stephen Smith Jr.
On Friday 17 August 2007, "Wang, Baojun" <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] how to enable hard masked USE flags like 
(-altivec)?':
> "altivec" is hard masked by x86_64(amd64), how
> can I enable it temporaly? Thanks!

/etc/portage/profile/use.unmask, IIRC.

You'll probably have to create that file, and may need to create some of 
the directory structure.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] pendrive mounting problem

2007-08-15 Thread Boyd Stephen Smith Jr.
On Wednesday 15 August 2007, "Matthew R. Lee" <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] pendrive mounting problem':
> On Wednesday 15 August 2007 18:38, Xav' wrote:
> > You can see here that codepage cp437, which is needed by FAT to mount
> > your key, is not found.
> > So you have to compile it in your kernel as module or builtin, as you
> > wish, by activating the option under
> > File Systems --> Native Language Support -->  Codepage 437 (United
> > States, Canada)
> > After recompile your kernel,reboot and enjoy mounting your key ;)
>
> As I stated in earlier posts, the NIS support is compiled into my
> current kernel, atleast that's what the .config states

Okay, but there a over a dozen modules for specific character sets that all 
depend on the main nls support option.  You don't seem to have the cp437 
driver.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] OT: Receiving your own emails

2007-08-14 Thread Boyd Stephen Smith Jr.
On Tuesday 14 August 2007, Florian Philipp <[EMAIL PROTECTED]> 
wrote about '[gentoo-user] OT: Receiving your own emails':
> Is Gmail filtering these messages or what's going on?

They are received, and I think they are even stored but, gmail doesn't show 
your own mails to you by default.  I'm not sure how to change that.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] GHC and documentation

2007-08-14 Thread Boyd Stephen Smith Jr.
On Tuesday 14 August 2007, Iván Pérez Domínguez 
<[EMAIL PROTECTED]> wrote about '[gentoo-user] GHC and 
documentation':
> Shouldn't its documentation be included as a different
> package?

That may be the way Debian does things, but gentoo does not split 
documentation, header files, or debug information into separate packages.  
Instead, documentation is controlled by a USE flag, header files are 
always installed, and debug information is controlled by FEATURES.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Internet bridge

2007-08-13 Thread Boyd Stephen Smith Jr.
On Monday 13 August 2007, Uwe Thiem <[EMAIL PROTECTED]> wrote about 'Re: 
[gentoo-user]  Internet bridge':
> On 13 August 2007, Mateus Interciso wrote:
> > but since I really need Level 2 Routing, I can't afford doing
> > this with nat.
>
> I beg your pardon? NATting and masquerading takes place on layer 2 (IP).

Actually, NAT takes place at level 3 (IP).
The levels are:
1. Physical (Cat5, Coax, Fiber, et. al.)
2. Link (Ethernet, ARP, etc.)
3. Address/Routing (IP)
4. Connection (TCP/UDP)
5. Session (Um, TLS, maybe?)
6. Presentation (Not really used at all)
7. Application (HTTP et. al.)
8. User (ID ten T errors)
9. Bureaucracy

Okay, I made up 8 and 9.  Oh, I might have gotten 6/7 swapped, but I don't 
think so.

You probably don't want level 2 "routing".  What are you trying to do that 
makes you think you need it?

> AFAIK, this will never work. If you really need incoming connections on
> certain ports you can use port forwarding with NAT on your firewall.
> Bridging is not for this kind of thing.

Yeah, port forwarding is probably what you want.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] CXXABI error after gcc upgrade

2007-08-13 Thread Boyd Stephen Smith Jr.
On Monday 13 August 2007, Mick <[EMAIL PROTECTED]> wrote about 'Re: 
[gentoo-user] CXXABI error after gcc upgrade':
> # emerge -C -p -v gcc

Wrong-ish command line.

Try emerge -aP gcc

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Set up drupal with postgres

2007-08-09 Thread Boyd Stephen Smith Jr.
On Thursday 09 August 2007, Mick <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] Set up drupal with postgres':
> On Thursday 09 August 2007 20:29, Boyd Stephen Smith Jr. wrote:
> > On Thursday 09 August 2007, Mick <[EMAIL PROTECTED]> wrote
> > > GRANT ALL PRIVILEGES ON drupal.* TO drupal@'%' IDENTIFIED BY
> > > 'passwd';
> >
> > Probably easiest to just make the drupal user the owner of the drupal
> > database.
>
> Thank you Boyd!  I'll try this out - although it seems that the default
> script already created a drupal database owned by postgres.  :@

You can do something like:
CREATE DATABASE 'drupal' WITH OWNER 'drupal';

> a) how do you create different vhosts (I only have localhost
> under /var/www/locahost/).

All of this a apache (or other httpd) configuration, you should be able to 
pattern your vhost(s) off of the default one installed by the package.

> b) how do you run/access drupal (the drupal files seem to be
> under /usr/share/webapps/drupal/5.2/htdocs).

man webapp-config

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Set up drupal with postgres

2007-08-09 Thread Boyd Stephen Smith Jr.
On Thursday 09 August 2007, Mick <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] Set up drupal with postgres':
> USE mysql;

\c postgres

> INSERT INTO user (host, user, password, select_priv, insert_priv,
> update_priv) VALUES ('localhost', 'drupal', PASSWORD('passwd'), 'Y',
> 'Y', 'Y');

CREATE USER 'drupal';

> CREATE database drupal; 

(unchanged)

> USE drupal;

\c drupal

> GRANT ALL PRIVILEGES ON drupal.* TO drupal@'%' IDENTIFIED BY 'passwd';

Probably easiest to just make the drupal user the owner of the drupal 
database.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Unknown Tool "hd"

2007-08-07 Thread Boyd Stephen Smith Jr.
On Monday 06 August 2007 02:13:58 pm Linux wrote:
> I have a problem with a script refering to several tools, one is "hd"

hd is the short name for hexdump.  (When hexdump is invoked as hd, it assumes 
certain options.)

Gentoo's hexdump package does not provide the short name, but you can make a 
sym or hardlink after installing that package.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpQpQ1UVB2Kg.pgp
Description: PGP signature


Re: [gentoo-user] distcc with other distro (Debian)

2007-08-04 Thread Boyd Stephen Smith Jr.
On Friday 03 August 2007 01:34:37 am Ric de France wrote:
> There may be a gotcha of glibc (or other)
> incompatibilities / inconsistencies between Gentoo and Debian, but I'm
> sure others on this list can advise you better.

distcc only "farms out" the actual compiling.  Pre-processing is done locally, 
so it uses your local header files.  Linking is also done locally, so it will 
use your local libraries. [1]

That said, if you have incompatible compilers (e.g. gcc-3.3 vs. gcc-3.4) you 
may have issues, and they may or may not be caught at link time.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     

[1] distcc tries to be smart when passed a command-line that would do both 
compiling and (pre-processing or linking), but when it can't separate the 
stages, it will end up using your local compiler.


pgpjHFBj0tQZO.pgp
Description: PGP signature


Re: [gentoo-user] rescrict command to certain dirs

2007-08-04 Thread Boyd Stephen Smith Jr.
On Thursday 02 August 2007 08:54:21 am Martin Gysel wrote:
> I have a webserver running for multiple 'endusers'. No I want to give
> some costumers access to certain files as user WEBSERVER for easy
> editing configuration file owned by the webserver.
>
> it should do something like jail the user to
> /var/www/vhosts/DOMAIN/httpdocs/DIRtoFILES and let him perform some
> commands (rm, less, nano, etc) there as user WEBSERVER.

As long as WEBSERVER isn't root, you should be able to use a combination of 
sudo/su and chroot.  There are some ways to escape a chroot, but I *think* 
they all depend on being root inside the chroot, or exploiting other service 
running outside the chroot.  (E.g. if connections from localhost 
are "trusted".)

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpOJywobtH7X.pgp
Description: PGP signature


Re: [gentoo-user] Re: reiserfsprogs

2007-07-30 Thread Boyd Stephen Smith Jr.
On Monday 30 July 2007, James <[EMAIL PROTECTED]> wrote 
about '[gentoo-user]  Re: reiserfsprogs':
> Volker Armin Hemmann  tu-clausthal.de> writes:
> > Neil wrote:
> > > If all else fails,
> > > and provided you have enabled CONFIG_MAGIC_SYSRQ in your kernel,
> > > hold down Alt and SysReq/PrtScr and press S, U and B in turn to
> > > reboot (reasonably) cleanly. Pausing a couple of seconds between
> > > each key is probably a good idea.
>
> Interesting idea however this laptop does not have this key
> "SysReq/PrtScr".

Every keyboard has a SysRq button.  On most, it is shared with PrtScrn.  
However, I've also seen it shared with either an F key or ScrollLock or by 
itself.  Also, I've seen laptops where you had to hold the Fn key to get a 
key that acts like SysRq.

I guarantee you've got one, although I suppose it might not be labeled 
SysRq at all.

> > E, I, S, U, B
> >
> > so everything is killed, and nothing trying to write to disk, when
> > unmounting them.
>
> Hmm, I do not think you understand, when I exit X/kde the entire system
> is latched up tight. None of the keys work, nothing is echoed to the
> screen, the system is latched up tight.

Please *try* the Alt+SysRq instructions if you haven't already.  Those are 
handled directly by the kernel at a fairly high priority.  I've had 
everything else be ignored, including C+A+Del, and had Alt+SysRq save my 
filesystems.  It is possible that you might not see anything happen after 
E, I, S, and U, especially if you were previously in X, since the kernel 
is trying to write to the text-mode console but things are happening 
unless your kernel has crashed.

All other keystrokes travel to user-space to be processed, so if your 
kernel is busy, they won't do anything.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: reiserfsprogs

2007-07-30 Thread Boyd Stephen Smith Jr.
On Monday 30 July 2007, "Kent Fredric" <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] Re: reiserfsprogs':
> On 7/30/07, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote:
> > 5) If (2) indicates corruptions that can only be corrected by
> > --rebuild-tree
> >b) Begin praying.
>
> This guy knows his stuff. Last time I used reiser I didn't pray enough
> to keep it going

All joking aside, I've recovered reiserfs much more often than I've gotten 
anything useful out of a bad ext2/3 filesystem.

You have to know it's limitations, but I've had a growing reiserfs file 
system for over two years now that I've had to --rebuild-tree on at least 
3 times and never lost a drop of data.

My ext2/3 boot patition has died a similar number of times, and no amount 
of e2fsck gave me any data back (but luckily, /boot is fairly easy to 
rebuild).

I swear *by* reiser much more often than I swear *at* reiser, but I've done 
both.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] program autostart from another user

2007-07-30 Thread Boyd Stephen Smith Jr.
On Monday 30 July 2007 03:29:36 am Aleksey V. Kunitskiy wrote:
> I want to auto start some programs on startup, using init
> My local.start looks like:
> sudo -u user_name screen program
>
> My question is - is it the right way?

You don't have to use screen, but that should work.

> How can I attach next program to existing screen session (by creating new
> buffer in screen session)?

Reading over the manpage, something like this (but "sudo -u"d) should work:
# Create a new screen session, detached, with name
screen -d -m -S system-autostart-foo
# In a named window in that session, run bar
screen -S system-autostart-foo -X at cmd-bar# bar
# In a named window in that session, run baz
screen -S system-autostart-foo -X at cmd-baz# baz

But, I've never tried to use screen in this way, no this is just a guess.  I'm 
sure it's possible to use screen the way you want.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpFwKiWm5eij.pgp
Description: PGP signature


Re: [gentoo-user] insert text onto a PDF

2007-07-30 Thread Boyd Stephen Smith Jr.
On Monday 30 July 2007 04:49:47 am Pavel Sanda wrote:
> ACCEPT_KEYWORDS=~x86 emerge pdfedit

OP, Please don't do this or your next emerge world will be (more) painful.  
You may also end up getting more unstable packages than you absolutely need.

Pavel, please don't suggest this is a sane way to run emerge in the future.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpfGZR9q7Hq6.pgp
Description: PGP signature


Re: [gentoo-user] Thanks to the user community

2007-07-29 Thread Boyd Stephen Smith Jr.
On Monday 30 July 2007 12:25:47 am Iain Buchanan wrote:
> On Sun, 2007-07-29 at 23:43 -0500, Boyd Stephen Smith Jr. wrote:
> > On Sunday 29 July 2007 11:06:44 pm Iain Buchanan wrote:
> > > On Fri, 2007-07-27 at 08:13 -0500, Albert Hopkins wrote:
> > > > But seriously, shouldn't we be waiting until November to say this?
> > > > ;-)
> > >
> > > why, what happens in November?
> >
> > In the U.S., Thanksgiving.
>
> ahh.  And you can't be thankful except at thanksgiving?

Are you suggesting undermining a great Amurican Holly-Day?  Why do you hate 
freedom? ;)

> politics, n.:
>   A strife of interests masquerading as a contest of principles.
>   The conduct of public affairs for private advantage.
>   -- Ambrose Bierce

:)

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpcJnW6TpRCi.pgp
Description: PGP signature


Re: [gentoo-user] Thanks to the user community

2007-07-29 Thread Boyd Stephen Smith Jr.
On Sunday 29 July 2007 11:06:44 pm Iain Buchanan wrote:
> On Fri, 2007-07-27 at 08:13 -0500, Albert Hopkins wrote:
> > But seriously, shouldn't we be waiting until November to say this? ;-)
>
> why, what happens in November?

In the U.S., Thanksgiving.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


pgpoPs3XRVRyQ.pgp
Description: PGP signature


Re: [gentoo-user] Running Scripts

2007-07-28 Thread Boyd Stephen Smith Jr.
On Saturday 28 July 2007, "Kent Fredric" <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] Running Scripts':
> On 7/29/07, Uwe Thiem <[EMAIL PROTECTED]> wrote:
> > On 28 July 2007, Kent Fredric wrote:
> > > try a plain old bash script and see if that works, and try this and
> > > see if it works:
> > >
> > > cat >> testrun.c
> > > #include 
> > > int main(int argc, int* argv)
> > > {
> > >   printf("helloworld");
> > > }
> > > ( press ctrl+d here )
> > >
> > > make testrun
> >
> > Without writing a Makefile, make won't build the program. ;-)
>
> funny, it did for me :P
>
> $ls -l testrun.c Makefile
> ls: cannot access Makefile: No such file or directory
> -rw-r--r-- 1 devious users 77 2007-07-29 00:24 testrun.c
>
> $make testrun
> cc testrun.c   -o testrun

That cool, but don't count on it to work on all makes.

I'm fairly sure an empty Makefile is valid, since there already suffix 
rules required by the standard -- there's just no default target.  I guess 
GNU make takes that to the logical conclusion and lets you run entirely 
without a Makefile as long as you specify a target.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] The Future of the Gentoo Foundation

2007-07-27 Thread Boyd Stephen Smith Jr.
On Friday 27 July 2007, "Dan Cowsill" <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] The Future of the Gentoo Foundation':
> Then the idea that the Gentoo Foundation might 'cease to exist as an
> entity' isn't really bad news?

It's bad news, but not as bad as you think.

> Some clarification might be in order.

The foundation serves an a single legal entity that can do and own things 
on behalf of Gentoo.  However, before the foundation things were done and 
owned by the volunteers that make up Gentoo.  This is not ideal, which is 
why the foundation was created, but Gentoo could certainly run like that 
again until the foundation could be reformed under management that knows 
how to file paperwork.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] emerge masked pidgin with flagedit

2007-07-27 Thread Boyd Stephen Smith Jr.
On Friday 27 July 2007, Thufir <[EMAIL PROTECTED]> wrote about 'Re: 
[gentoo-user] emerge masked pidgin with flagedit':
> Didn't I do that?  For some things, the equals sign doesn't seem to be
> required when using flagedit, for others it seems to be.

Yes, because it is expecting an ebuild atom. Do
man 5 ebuild
and read the section on 'DEPEND Atoms', they have a simple but precise 
syntax.

BTW, if the wiki is broken, just fix it.  I'm not sure it's an official 
source of documentation anyway.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Running Scripts

2007-07-27 Thread Boyd Stephen Smith Jr.
On Friday 27 July 2007, "Greg Lindstrom" <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] Running Scripts':
> -bash: ./hello.py: /usr/bin/env: bad interpreter: Permission denied
> running /usr/bin/python brings up the python shell, so that's in place.

which env

ls -l /usr/bin/env
ls -l /usr/bin/python

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] A Thank you to the Developers for the Free Software

2007-07-26 Thread Boyd Stephen Smith Jr.
On Friday 27 July 2007, Ow Mun Heng <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] A Thank you to the Developers for the Free Software':
> I just wanted to take some time to officially say *Thank You* for all
> the good things which you guys/gals have made to my(/our) benefit.

+1

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] emerge masked pidgin with flagedit

2007-07-26 Thread Boyd Stephen Smith Jr.
On Friday 27 July 2007, maximuswork <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] emerge masked pidgin with flagedit':
> Thufir пишет:
> > --- Invalid atom in /etc/portage/package.keywords: net-im/pidgin-2.0.2

Aha!  See there's a problem with your /etc/portage/package.keywords.

> > localhost ~ # cat /etc/portage/package.keywords
> > net-im/pidgin-2.0.2 ~x86

Oh, that first part is an invalid atom.  The proper systax for atoms is in 
the ebuild manpage, IIRC.  In any case, your problem is that you've 
specified a version, without a comparator.

You probably want '~net-im/pidgin-2.0.2' instead of 
just 'net-im/pidgin-2.0.2'.  The tilde indicates that version, or any 
ebuild revisions (e.g. -r1) or the same version.  You could use '=' 
instead of tilde, if you really don't want any other ebuild revisions.

> ACCEPT_KEYWORDS="~x86"  emerge pidgin

Um, no.  Not unless the OP wants ~x86 dependencies to be brought in, and 
all that downgraded to x86 when they do their next emerge world.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Notebook/laptop recommendations?

2007-07-22 Thread Boyd Stephen Smith Jr.
On Sunday 22 July 2007, Crayon Shin Chan <[EMAIL PROTECTED]> 
wrote about '[gentoo-user] Notebook/laptop recommendations?':
> I'm looking for a new notebook (to run Gentoo of course). I don't want
> the latest nor the best (too expensive), but it needs to have Core 2
> Duo. Are there any particular manufacturers/models where "it just works"
> in terms of driver support? 2 items that I would like for it to "just
> work" with the minimum of fuss are the wlan and the hibernation. So
> anything I should look out for or avoid, to make installing Gentoo as
> painless as possible?

I've had very good luck with my dellbuntu system.  System 76 also goes out 
of the way to make sure their hardware is linux friendly.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] gcc 4.2 and Core 2 Duo

2007-07-20 Thread Boyd Stephen Smith Jr.
On Friday 20 July 2007, "Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> 
wrote about 'Re: [gentoo-user] gcc 4.2 and Core 2 Duo':
> If they have the same value, or -march is listed after -mtune, yes. 
> -march implies -mtune, but you might do something like

-march=686 -mtune=native

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: grub chainloader

2007-07-18 Thread Boyd Stephen Smith Jr.
On Thursday 19 July 2007, [EMAIL PROTECTED] wrote about 'RE: 
[gentoo-user] Re: grub chainloader':
> I have seen many of them that the man page and the
> info page were identicle.  More often though it looked
> like they made a decent man page, and coppied it to info.

info automatically pulls man pages an reformats them if there not info page 
for that node and there exists a man page with that name.  I'm fairly sure 
most info-viewers (including kio_info) do so.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-18 Thread Boyd Stephen Smith Jr.
On Thursday 19 July 2007, [EMAIL PROTECTED] wrote about 'RE: 
[gentoo-user] 2 to 3??':
> > -Original Message-
> > From: Boyd Stephen Smith Jr. [mailto:[EMAIL PROTECTED]
> > If you don't like the GPLv3, you probably didn't
> > *really* like the GPLv2 and might be more interested
> > in licensing anything you contribute under something
> > like MIT/X11/BSD.
> >
> > Those licenses allow others to take your code, cripple
> > it, and sell it to you (perhaps even on a device) for
> > $100.  Oh, and offer you an "upgrade" to (_the same device_
> > running) your original code (which still has a few bugs, you
> > might want a support contract) for $1.
>
> I can't agree with your statements here.  Unless you have
> no understanding of copyright law, you should realize that
> YOUR code cannot be crippled regardless of the license that
> you put it under.

Not true.  Say you release code into the public domain [1].  Now, evil 
corporation X takes that code, strips out some features, sign it and put 
it on a cell phone.  They sell you the phone for $300 (free with 2 year 
contract) or a version with your original software on it (the exact same 
hardware) for $600 (no discount available).  They pull a "TiVo" can ensure 
that you can't load modified software on it -- or you can but then the 
phone refuses to do anything put print "This phone needs service.  Please 
take this phone to your local retailer for service."  They don't even tell 
you it's your code -- someone in Turkey found that out and emailed you in 
broken English. ;)

Your code is locked up and you can no longer upgrade it (or even use ALL of 
the features that YOU wrote) without paying $$$.

Sure, you can still upgrade and release your code, but you can't run it on 
a device YOU PAID for that is ALREADY running YOUR code, UNMODIFIED.  You 
also can't help other people using these phones that THEY paid for, even 
though your code runs unmodified.

The GPL has always been engineered to prevent this behavior.  The GPLv1 and 
GPLv2 both concentrated on the way to prevent this through copyright law.  
However, this has proven to be not enough.  After bring cases to count 
(and settling because the case was so clear-cut) multiple times, it became 
fairly clear to all parties that GPLv2 was overly difficult, if not 
impossible, to be simply "attacking" with copyright law.  So, entities 
that would rather not contribute, have attacked with technological and 
patent-law methods to restrict users' freedoms and the GPLv3 meets those 
attacks head on.  I hope RMS and the FSF will act even more quickly 
(either with aggressive litigation or further license revisions) to future 
attacks on the freedoms that are meant to be preserved throughout the Free 
Software ecosystem.

> The code that YOU write and release under an Open Source or
> Free Software license will still be available under that
> license even after someone else uses it in a project of their own.

Yes.

> If you use a license that allows for relicensing or closing
> of the code and someone does so, then it only effects THEIR
> Version of the code.  Yours is still intact, and unharmed.

With the BSD lincese and public domain, we get into case case where the 
freedom of the code depends on where you take the measurement (see above).  
RMS witnessed such things happening and preventing the free code from 
always free.  Thus, he wrote the GPLv1 with the goal of making sure Free 
Software was free everywhere and to everyone.

> The MIT/BSD/etc licenses have the advantage that a person
> can if they so desire CHOOSE whether or not they wish to
> make THEIR code and modifications available.  This is a choice.

They ALSO get to choose whether they give their users your code and can 
even prevent users from knowing what code they are running, especially if 
your are prolific.

The GPL also covers (read: places restrictions on) derivative works, 
something that is your right as a copyright holder.  BSD/MIT/X11 don't, 
and LGPL makes only minimal requirements on derivative works to ensure the 
original work remains free.

> Many of us WILL release our own code even under those terms,
> but it is a choice to do so.  I am not saying that the idea
> of GPL is wrong.  Different developers have different desires
> for their code.  I am simply saying that the Open Source route
> is just as valid as the Free Software route.

But the GPL has *always* been about Free Software, not "just" Open Source.  
By accepting the terms of the GPLv2, TiVo should have been prepared to 
honor the Free Software definition and not attempt to restrict their 
users' freedoms.

As a user I wish *every* piece of software I received was under the terms 
of the GPLv3.  As a developer, I underst

Re: [gentoo-user] 2 to 3??

2007-07-18 Thread Boyd Stephen Smith Jr.
On Wednesday 18 July 2007 06:48:38 pm Volker Armin Hemmann wrote:
> On Donnerstag, 19. Juli 2007, Stroller wrote:
> > On 18 Jul 2007, at 18:40, Volker Armin Hemmann wrote:
> [C]ould
> ANYBODY claim to be surprised by say Tivo?

Yes they can, since the move to DRM/TPM/etc. devices was unannounced and a 
change from previous generations of the hardware.  There's also the fact that 
the code the TiVo runs *must have a signature as one of it parts* and like 
any GPLv2 derivative, distributors (like TiVo) must provide the full and 
complete source ("preferred form for modification") of all the parts, which 
they have not.

This "signature requirement" is implicit in the GPLv2 and explicit in the 
GPLv3.  So was the patent license stuff.  The GPLv3 is just a stronger, more 
well-specified GPLv2.  If you don't like the GPLv3, you probably didn't 
*really* like the GPLv2 and might be more interested in licensing anything 
you contribute under something like MIT/X11/BSD.

Those licenses allow others to take your code, cripple it, and sell it to you 
(perhaps even on a device) for $100.  Oh, and offer you an "upgrade" to (_the 
same device_ running) your original code (which still has a few bugs, you 
might want a support contract) for $1.

> Plus, people who are discussing 'ethical' problems with locked hardware
> tend to forget, that there is enough hardware out there that a) needs an
> update once in a while but b) has to be temper proof by the user! You might
> want to read up about clinical equipment or FCC rules. Just for fun.

Actually, during the GPLv3 process, both these points (FCC and medical 
equipment) were brought up and experts were brought in.  It was determined 
that there is no legal requirement to make such devices tamper-proof, if 
upgrades are allowed at all.

Equipment distributors are already protected from lawsuits (and the like) once 
a device is tampered with as long as they give the tamperer sufficient 
warning.

There is no legal reason why devices must be upgradable by their distributor 
but not by their owner, including devices under the auspices of the FCC or 
medical devices.

> Some people need to realize that there is a fundamental difference between
> code and hardware.

The FSF knows there's a difference between code and hardware.  However, there 
is no difference between code on a HD and code on an EEPROM.  (It's all just 
readable and writable bits.)  There's also no difference between code on a CD 
and code on a ROM chip. (It's all just reabable bits.)

> And telling someone what he can do with HIS hardware is 
> just wrong. You don't like the terms of the hardware vendor? Fine. Don't
> buy it. But buying it and than complaining is just lame.

If they sell it to me it is no longer their hardware.  It's MINE.  That's why 
DRM shouldn't be allowed AT ALL, completely independent of the software 
distribution requirements (not hardware requirements) that the GPLv3 
specifies.

If TiVo was renting (really renting, not just "in name" like "$129 lets you 
rent the device for 99 years") the devices, I would probably be on the other 
side of this discussion.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
[EMAIL PROTECTED]                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     


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


Re: [gentoo-user] 2 to 3??

2007-07-18 Thread Boyd Stephen Smith Jr.
On Wednesday 18 July 2007, Volker Armin Hemmann 
<[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] 2 to 
3??':
> a) nobody is forced to buy a tivo. If you don't like it, don't buy it
> and you don't have problems.

TiVo isn't forced to use GPLv3 licensed code -- if they don't use it, they 
don't have problems.

> b) AFAIR Linus owns a Tivo himself.

Yes, I believe he does.

> c) it is morally wrong to try to dictate HARDWARE licence problems with
> a SOFTWARE licence

There's no requirement on the hardware that runs GPLv3 software.  You just 
have to provide the whole source ("preferred format for modification") to 
the full binary (everything that must be in place to run the software on 
the device it was designed for).

> d) If I can't use the software freely anymore one of the key freedoms is
> gone.

Yes, which is why the GPL v3 is necessary.

> This is the same stupidity like anti-terror law. Lets take away freedom
> and free speech to protect freedom and free speeach

Except that the anti-terror laws don't protect freedom or free speech in 
any way, just life (and it's questionable that they do that).  It's more 
like the laws that say you can be thrown in prison for unlawfully 
imprisoning others.  Your freedom will be restricted (you can't use the 
software) if you attempt to restrict the freedoms (namely, the four 
freedoms) of others.

> e) Linus is not alone. You should read what Jesper Juhl wrote in one of
> the lenghty discussions on lkml. Very interessting.
> http://marc.info/?l=linux-kernel&m=118211628209101&w=2

1) This concerns draft versions, as the final version wasn't available.
2) Mr. Juhl admits there are downsides to allowing tivoization.

The question really remains -- do you want your code to be able to be 
locked up or not?

BSD is available for those that don't care if the code is locked up.
GPLv3 is available for those that want the maximum level of protection 
against their code (or derivatives) from being locked up.
There are a quite a few other Free Software licenses between those two 
extremes, including GPLv2.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-18 Thread Boyd Stephen Smith Jr.
On Wednesday 18 July 2007, Stroller <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] 2 to 3??':
> However, this is not the point.
>
> The point is that Tivo SOLD people hardware

This is the salient point for me, too.  If hardware was still owned by TiVo 
(in reality, not just in name) I'd have no problem with them deciding what 
can run on it and taking steps to prevent tampering.

I'm not sure Stallman would agree with me -- users may or may not own the 
device their software runs on, and Stallman is all about users.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-18 Thread Boyd Stephen Smith Jr.
On Wednesday 18 July 2007, "b.n." <[EMAIL PROTECTED]> wrote about 'Re: 
[gentoo-user] 2 to 3??':
> What should I do, in your opinion?

Probably LGPLv3, which will allow GPLv2 (and proprietary) projects to use 
it without requiring the combined work to be GPLv3.

Actually, I'm probably going to take a pen to the LGPLv3 in the future and 
turn it into something along the lines of "GPLv3 or, if your larger work 
is licenced under any version of the GPL, LGPLv3", but that's for the 
future and I'll want to run the license by the FSF first before using it.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-18 Thread Boyd Stephen Smith Jr.
On Wednesday 18 July 2007, Alan McKinnon <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] 2 to 3??':
> On Tuesday 17 July 2007, Boyd Stephen Smith Jr. wrote:
> > > The TiVo thing was completely within the word and spirit of the
> > > GPL.
> >
> > It was *barely* within the word, and definitely not within the spirit
> > of the GPL.  Don't beleive me?  Ask anyone at the FSF or RMS himself.
> >  They wrote the thing.
>
> TiVo did just that and got the A-OK signal and thumbs up from the FSF's
> lawyers.

That's because you *could* swap out the software on early TiVos.

> Sometime later, someone had a hissy fit, FSF reversed their 
> stated position and suddenly Tivo becomes spawn of satan.

Because they started artificially limiting users' freedoms 0, 1, and 
partially 3.

> Tivo had no option, their content providers would never have given them
> a license to redistribute content without the mods they did

It's not my (or my community's, or my code's) job to support your business 
model.  If you can't play by the license, then you can't use the software.

> It's not the software that is crippled, it's the hardware.

No, it's the software because they haven't given it all to us.  For 
software to run on the device it was *designed* to run on it's required to 
be signed; therefore, the signature is part of the binary and a derivative 
of a GPLv2 work.  That work distributed presumably under the GPLv2, which 
means the source ("preferred format for making modifications") must be 
provided, and TiVo has not yet published the necessary tools for us to 
generate our own signatures.

They are therefore limiting freedom 1, which limits freedom 0, and 
indirectly freedom 3, because the community cannot benefit.

> So, in what way have Tivo removed people's freedom as
> granted by the GPL?

Artificially limiting freedoms 0, 1, and 3.  The restriction is 
fundamentally different from a RAM or HD space limit; a binary that does 
nothing but play pong (well within the hardware capabilities of the TiVo) 
is still not allowed to run without the signature.

Personally, I think TiVo COULD be called out for violating GPLv2, but IANAL 
and Eben is and declined to file suit against them.  Under the GPLv3, 
users' freedoms are better protected, and it's quite clear that TiVo 
would/will be in violation of that license.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-17 Thread Boyd Stephen Smith Jr.
ced by the GPl (any version).

> Free Software is about Freedom.  GPLv3 is about religion.  You
> are free as long as you do things our way.

GPLv2 also places a load of restrictions on distributors to ensure that all 
users get all four freedoms.  GPLv3 places more, necessary restrictions 
since GPLv2 has allowed distributors to effectively remove users' 
freedoms.  The GPLv3 is all about freedom -- but freedom is only realized 
by restricting the ability to limit freedom.  ("Your freedom to swing your 
fist ends an inch from my face.")

> That is why I shy away from the GPL licenses.  I like the
> LGPLv2, but GPLv3 is kind of scary.  I want code that I make
> free to be free.  :P  I don't want to say, "It is free if you
> are a broke penniless college kid that plans to stay that way."

Sounds like you want the GPL then -- since it explicitly allows commercial 
use as long as the four freedoms are preserved to all users.

> LGPLv2 allows wide use of code, without heavy demands.

LGPL does do one thing that can be nice, and it prevents the viral nature 
of copyright law from affecting your code -- that is it allows others the 
freedom to license their original work under whatever license they choose 
(as you did), combine it with your work, and distribute the whole as long 
as they follow your license for your stuff.

It's a very good license, and I think that it is normally the better 
license to choose *unless* your goal is to have all software be Free 
Software.

> If I by some miracle produce a chunk of code that propels another
> entity to the top of their industry, then I have achieved something
> Whether I get anything in return from them or not.  If they
> are able to take what I have produced and make it useful, then
> more power too them.  If they give back to the community in the
> form of code, cash, or even morale support, then that is them
> playing the game by our rules.

Not if you follow the GPLv2 or the spirit of the GPL.  That *requires* the 
code to remain in the community.  The GPLv3 strengthens this requirement.  
If you want other to be able to lock away your code (or derivative works 
of your code) you should use the BSD license.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-17 Thread Boyd Stephen Smith Jr.
On Tuesday 17 July 2007, [EMAIL PROTECTED] wrote about 'RE: 
[gentoo-user] 2 to 3??':
> TiVo did not allow modified, and therefore potentially
> Compromised, devices connect to their network.

More than that -- they don't allow the "compromised" devices to boot.  Of 
course, that's *required* to lay down the restrictions they want, since 
one the device is booted from freely modified code, there's no method of 
remote attestation to guarantee your aren't just pretending to be 
a "genuine" device.

> This does not sound like theft of code, it sounds like sound network
> protocol.

So, sound network protocol validates the data sent, it doesn't require the 
other end to be arbitrarily "trusted".  Remember "trusted" is just DoD 
speak for "allowed to violate security policy".

> If you wish to maintain a secure environment that is stable 
> for thousands of users, and has a lot of money riding on it, you do
> not allow compromised devices to connect.  It is that simple.

BS.

Second life allows any client to connect as long as they follow the 
protocol.  There's a wide variety of WoW hacks that modify the running 
executable (a binary patch applied at runtime) that, while not allowed 
under the EULA, work quite well on the real servers and have not increased 
the number of server crashes or scheduled restarts.

Securing the network is not done by securing the remote devices.  (You 
don't need to trusted ethernet card to connect to a cisco router, or a 
cable modem.)  It is done by validating the data sent, having a 
well-defined network protocol, and disconnecting clients that provide bad 
data.

> The TiVo thing was completely within the word and spirit of the GPL.

It was *barely* within the word, and definitely not within the spirit of 
the GPL.  Don't beleive me?  Ask anyone at the FSF or RMS himself.  They 
wrote the thing.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 2 to 3??

2007-07-16 Thread Boyd Stephen Smith Jr.
On Monday 16 July 2007, Volker Armin Hemmann 
<[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] 2 to 
3??':
> On Montag, 16. Juli 2007, Jerry McBride wrote:
> > On Monday 16 July 2007 08:15:43 am Mark Shields wrote:
> > Personally... reading what I have about the gpl 3.0 , I'd be pretty
> > comfortable having Gentoo/Portage moved to it.
> >
> > It offers a lot of protection that gpl 2. does not.
> >
> > Anyway, if it makes Microsoft "catch up" then it must be good.

Actually, we should encourage commercial entities to participate the in 
Free Software movement, including letting them retain the ability to 
charge for providing software, as long as they are willing to let users of 
the software retain their four freedoms.  Microsoft has made some movement 
in this direction...

> it takes away freedom - I am not sold to that 'must be good' aspect.

Okay, this is off-topic, but it only takes away the freedom to take away 
users' freedoms, something the GPL has always done.  BSD doesn't take away 
any freedoms, but I'm unconvinced that it's a good thing for Free Software 
to be able to be "locked up".

*I* think the GPLv3 is better, and that it would be good to move KDE toward 
GPLv3/LGPLv3 licensing. However, that is a decision that the project will 
have to make as a group and it would require reimplementing or relicensing 
all the code licensed to the under the GPLv2.  That's a tough sell.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] building a machine for Gentoo

2007-07-09 Thread Boyd Stephen Smith Jr.
On Monday 09 July 2007, Philip Webb <[EMAIL PROTECTED]> wrote about 'Re: 
[gentoo-user] building a machine for Gentoo':
> Someone mentioned a quad-core: are they presently supported by Gentoo ?

Well, I'm not exactly sure what you mean by that, but Gentoo loves my 
dual-dual-core system (so 4 processors in /proc/cpuinfo).  IMO, it should 
run quite well on quad-core hardware.

Linux has had support for medium-large SMP systems (up to 255 CPUs, IIRC) 
for quite a while.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] 3D Acceleration With Laptop - Radeon Xpress 1100 IGP

2007-07-03 Thread Boyd Stephen Smith Jr.
On Tuesday 03 July 2007, Drew Tomlinson <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] 3D Acceleration With Laptop - Radeon Xpress 1100 
IGP':
> [W]hen loading the fglrx.ko
> module, I get an error about "...taints the kernel".  Thus I suspect I
> have some option set in my kernel that conflicts with the fglrx module?

No that just means that the binary you are running (kernel + modules) is 
not Free Software or, in this case, distributable at all.

See http://www.kroah.com/log/images/ols_2006_keynote_12.jpg , part of 
http://www.kroah.com/log/linux/ols_2006_keynote.html which is full of high 
level information about the kernel.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] FEATURES="test" -- Should this work?

2007-06-26 Thread Boyd Stephen Smith Jr.
On Tuesday 26 June 2007, Mike Edenfield <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] FEATURES="test" -- Should this work?':
> I recently enabled the "test" feature on Portage

I use paludis,. which does testing by default, and I've seen a number of 
packages fail tests.  I simply mask those specific versions.  Last time I 
checked, bug reports coming from alternative package manager users were 
closed "fairly quickly".  Since you are using portage, your bugs may get a 
little more attention, but I think the general consensus is that "tests 
aren't important" so they generally get dropped to low priority, ignored 
until the next release, then closed with a "refile if it affects the 
current release" message.

Then again, perhaps I'm just feeling a bit jaded toward the Gentoo 
developers this morning.  

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] usb device mp3 playlist maker

2007-06-25 Thread Boyd Stephen Smith Jr.
On Monday 25 June 2007, maxim wexler <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] usb device mp3 playlist maker':
> I have a generic mp3 usb 256M player. Does anybody
> know of a program or script that will load it with
> tunes, in a random arrangement from a dir full of
> mp3s?

Does it show up as a usb block device?  If so, you can copy files however 
you choose.  AmaroK should be able to generate a random playlist of X 
songs, and may be able to do one of X MiB.

If not, you'll have to figure out if there's a driver for it, and see what 
methods are available using that driver.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] (sin asunto)

2007-06-25 Thread Boyd Stephen Smith Jr.
On Monday 25 June 2007 12:48:03 Matthias Guede wrote:
> 2007/6/25, Roberto Bermejo Martinez <[EMAIL PROTECTED]>:
> > Davi escribió:
> > > Em Segunda 25 Junho 2007 14:01, Roberto BErmejo Martinez escreveu:
> > >> What stage can I use  with a Intel Core 2 duo??
> > >
> > >   Intel still be 64 bits... As AMD. So, you can use AMD64 too.
> >
> > I probe with x86, ia64 and amd64 and already don't  work.
>
> Looks like you try to install from an 32bit OS. Using the amd64 Gentoo
> LiveCD and the adm64 stage3 should work.

If you don't want a 64-bit kernel (and therefore no 64-bit applications), you 
can go the 32-bit route and use the (i[[:digit:]]|x)86 liveCD and stage.  I 
don't recommend this, but it may be preferred if you use software that is (a) 
non-portable (and not ported) or (b) only available in binary form 
(non-Free).

It is possible you are running into some problem with the liveCD, but as you 
other messages indicate you are able to see your drives and partition them, 
you simply can't perform the chroot -- which should only be an issue if (a) 
you are using a 64-bit stage from as 32-bit liveCD or (b) the stage tarball 
is corrupt or broken.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Where is wxWidgets/wxPython 2.8?

2007-06-25 Thread Boyd Stephen Smith Jr.
On Monday 25 June 2007, Grant Edwards <[EMAIL PROTECTED]> wrote 
about '[gentoo-user]  Where is wxWidgets/wxPython 2.8?':
> wxWidgets/wxPython 2.8 has been out for about 6 months now, but
> hasn't even made it into "testing" yet.  The most recent
> version available in portage is 2.6.3.  Is there some problem
> with wxWidgets/wxPython 2.8?  Is there anything we users can do
> to help?

Hrm, your message seems directed at the developers.  If that's the case, 
you sent it to the wrong mailing list.  (You want -devel, next door).

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] where is libnetsnmp-devel? (needed for hplip)

2007-06-21 Thread Boyd Stephen Smith Jr.
On Thursday 21 June 2007 19:40:23 Allan Gottlieb wrote:
> Which package contains libnetsnmp-devel?

$eix -c snmp
[...]
[I] net-analyzer/net-snmp ([EMAIL PROTECTED]/28/2006): Software for generating 
and 
retrieving SNMP data
[...]

Probably that one, but that's just a guess.

Gentoo doesn't separate packages into -devel versions -- you get all the 
development stuff as part of the base package (since it's usually required to 
compile, as Gentoo does, pacakges that depend on it).

There isn't a "libnetsnmp" package in gentoo, nor a "netsnmp" package in any 
of the *-libs categories.  Naming something "netsnmp" seems a bit redundant 
to me anyway, I'm fairly sure the "N" of "sNmp" stands for "network", so I 
just searched for snmp.  14 hits.  1 is in a *-libs category, but the short 
description says it's specifically for KDE, not what you are looking for I 
think.  1 (other) has "lib" in the name of the package, but it's specifically 
for ruby, again, I was fairly sure that wasn't what you were looking for.  
Also, other distros generally but ruby in the package name of ruby libraries.  
Down to 12 packages.

I threw out packages in dev-perl and perl-python, again, because of other 
distros naming practices.  1 package was in sec-policy which is definitely 
not the place for a lib.  1 package was a plugin for something else, so I 
decided that was also probably not what you want.  Down to 4 packages.

At that point, I decided the most likely package was net-snmp because of the 
name.  bsnmp says it's a library (whereas net-snmp doesn't) so that would 
probably be a good second choice.  snmpmon (a "tool") and snmptt could also 
ship that library, but that's probably a stretch.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] /boot without space.

2007-06-21 Thread Boyd Stephen Smith Jr.
On Thursday 21 June 2007 16:11:42 Ricardo Bevilacqua wrote:
> I was installing a boot splash when i got this message
>
> //
> o Creating initramfs image..
> mv: writing «/boot/fbsplash-livecd-2007.0-1024x768»: There is no space
> left on the device.
> //
>
> I was surprised so I checked the /boot partition

Try using:
du -xa /boot | sort -rn
as root to locate the space hogs, which may be hidden files.  (du does "lie" 
sometimes though, because the assumptions it makes about file size aren't 
always true.)

You might also fire up filelight and/or the file size view of konqueror 
(either would also need to be as root) if you prefer a graphical view.  (They 
will suffer from the same limitations as du, but their assumptions my be 
different.)

Oh, I'm not sure while filesystem you are using, but reiserfs reserves some 
space for the block usage bitmap and misc. metadata, and that takes up a 
number of MB.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Set a network quota per eth device?

2007-06-21 Thread Boyd Stephen Smith Jr.
On Thursday 21 June 2007 05:22:21 [EMAIL PROTECTED] wrote:
> You can use iptables counters and some scripting on bash. Most of the
> people do it by hands, because writing huge billing system is to
> comprehensive :)

You could do it that way, but it rather silly since the kernel has all kinds 
of support for traffic control and shaping.

Shorewall may be able to handle the task, and it is fairly friendly.

If shorewall can't do what you need you'll need to look into the CLI to the 
kernel's traffic control/shaping/queuing tables: tc.  Some examples and 
discussion are in the "Linux Advanced Routing & Traffic Control HOWTO".  It's 
part of The Linux Documentation Project so it can be found either there [ 
http://tldp.org/HOWTO/Adv-Routing-HOWTO/ ] or at it's own little corner of 
the web [ http://lartc.org/ ].  It's old, but still mostly useful.

I can also send you some scripts built around tc for my own little home 
network that *might* be useful as examples.

Also, foringer:
A: Because it reverses the order of the conversation.
Q: Why is top-posting so annoying?
A: Top-posting.
Q: What's the most annoying thing on mailing list and newsgroups?

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Sync and glsa-check from cron

2007-06-19 Thread Boyd Stephen Smith Jr.
On Tuesday 19 June 2007 17:26:15 Joshua Doll wrote:
> Nick wrote:
> > I can set up the sudoers part all fine, but is there anything I
> > should watch out for / consider when running these maintenance tools
> > from a cron job?

Oh, and I forgot to mention it in my other direct reply:  You'll probably need 
to specify the full path to those commands.  $PATH is generally different or 
unset when tasks are run from cron.

> I think cron can run jobs as root.

Yes, /etc/cron.{hourly,daily,weekly,monthly} contains scripts to be run as 
root.  Also, some (most? all?) cron daemons allow root to have a crontab 
separate from the system crontab.  If you have root access you can even 
fiddle with the system crontab, but that's not the "preferred" solution.

Many cron daemons also allow jobs to be run as a user by maintaining a crontab 
for each user and "su"-ing to the correct user (and cleaning/setting the 
environment) before running the task.  If I'm reading the question correctly, 
he will be adding these actions to his user's crontab and then sudo-ing to 
run the script.  sudo can be set up to allow users to run tasks as root 
without a password.  sudo also cleans the environment by default, but that 
can be turned off or made less strict.

However, tasks run by cron (either as root or as another user) will have 
different environment variables set.  e.g. /etc/profile and $HOME/.profile 
are not sourced in the shell (generally cron jobs aren't run in a shell at 
all).  They will also generally not have a tty associated with them.  Again, 
if I'm reading the OP correctly, (s)he was wondering if those changes will 
affect those two commands.  Some commands / scripts are quite sensitive to 
the environment and may give different results (or not work at all) when run 
from a cron job.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Sync and glsa-check from cron

2007-06-19 Thread Boyd Stephen Smith Jr.
On Tuesday 19 June 2007 17:18:45 Nick wrote:
> So, I'm planning to run "sudo emerge --sync" and "sudo glsa-check -f
> new" from a cron job, perhaps once a week.
>
> I can set up the sudoers part all fine, but is there anything I
> should watch out for / consider when running these maintenance tools
> from a cron job?

Not these two, they shouldn't depend significantly on your environment 
variables.  Just make sure you are in the right group to run cron jobs.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Boyd Stephen Smith Jr.
On Tuesday 19 June 2007 14:03:20 Jan-Hendrik Zab wrote:
> I really dislike this problem :D

/me agrees.

My locally installed man page doesn't provide any other explanations for that 
return code, so I'm still betting it's one of those things.  However, someone 
more skilled than I might be able to spend some time digging through libc 
and/or the kernel to determine an alternative cause.

Does you dmesg show any kernel faults/backtraces?  Sometimes they can muck up 
things enough to cause "weird errors" but not enough to crash the system.  If 
so, I'd recommend capturing it and rebooting.  Then, report the fault as a 
bug.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Can't login with a normal user

2007-06-19 Thread Boyd Stephen Smith Jr.
On Tuesday 19 June 2007 12:27:10 Jan-Hendrik Zab wrote:
> 'strace -f su - jonsnow':
>
> [pid  4117] execve("/bin/zsh", ["-su"], [/* 6 vars */]) =
> -1 EACCES (Permission denied) 

Note that the trace clearly shows that /bin/zsh isn't returning an error code 
(in which case pid 4117 would immediately die) but rather the execve call is 
returning an error code and the fork()ed copy of su continues executing 
(writes an error to stderr and then dies).

According to http://www.die.net/doc/linux/man/man2/execve.2.html EACCES is 
only returned by this function for a few reasons:

1) Search permission is denied on a component of the path prefix of filename 
or the name of a script interpreter. (See also path_resolution(2).)

(So, make sure /bin and / are executable by uid 1000.)

2) The file or a script interpreter is not a regular file. 

(So, make sure /bin/zsh is not a symlink, evidently that doesn't work.)

3) Execute permission is denied for the file or a script or ELF interpreter.

(So, make sure that /bin/zsh and /lib/ld-linux.so* are executable.  
If /bin/zsh is a script make sure the interpreter listed after #! is 
executable.  Proceed recursively if THAT is a script.)

(Also, is it possible that you don't have the right /lib/ld-linux.so?  See the 
above link for some detail [the paragraph just above RETURN VALUE].  ldd 
should be able to show you which one you need.)

4) The file system is mounted noexec.

(So, make sure that you filesystem is currently mounted exec.)

If all of those check out, I think you'll have to "use the source, luke".

> Permissions of '/':
>
>   drwxr-xr-x 20 root root 4096 2007-06-17 16:21 //

That looks a little weird, but only because of the extra '/'.

On my system:
$ ls -ld /
drwxr-xr-x 23 root root 664 2007-06-11 20:27 /

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Finer grained kde*-meta packages

2007-06-18 Thread Boyd Stephen Smith Jr.
On Monday 18 June 2007 16:36:38 Peter Ruskin wrote:
> On Monday 18 June 2007, Boyd Stephen Smith Jr. wrote:
> > /var/db/pkg/world
>
> I think your system may need updating - the world file has lived
> in /var/lib/portage for some time now.

Paludis prefers it @ /var/db/pkg/world.  I have both on my system; one is just 
a symlink to the other.

My system was fully updated (~amd64) around 8a this morning, right before I 
left for work.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Finer grained kde*-meta packages

2007-06-18 Thread Boyd Stephen Smith Jr.
On Monday 18 June 2007 14:36:05 Neil Bothwick wrote:
> I have most of KDE installed here, yet
> only 67 kde-base packages in world.

I run fairly light, I have about half that many:

$ grep -c ^kde /var/db/pkg/world
31

I do have a number of KDE applications installed from other parts of the tree 
though, like kmplayer, kaffeine, ktorrent, etc.

> You could reduce that sill further 
> by using more than the two meta packages I currently have.

Again, since I prefer to just install the apps I want, I only pulled in 1 meta 
package.

$ grep ^kde /var/db/pkg/world | grep -e '-meta$'
kde-base/kdeartwork-meta

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Help me reboot X

2007-06-18 Thread Boyd Stephen Smith Jr.
On Monday 18 June 2007 12:22:59 Kevin O'Gorman wrote:
> On 6/18/07, Neil Bothwick <[EMAIL PROTECTED]> wrote:
> > On Sun, 03 Jun 2007 21:16:58 -0400, Ken wrote:
> > > If you have physical access to the machine and have support for the
> > > Magic SysRq built into your kernel, you can kill the X server by
> > > pressing ALT + SysRq + K. This will kill all processes running on the
> > > current terminal.

Hrm, I thought this killed ALL processes, but I could be wrong.  Is that maybe 
Alt+SysRq+e or Alt+SysRq+i?

> > If you are accessing via SSH, you can still use this with
> >
> > echo k >/proc/sysrq-trigger
>
> Nice.  However, I'm still wondering -- neither of my keyboards has a keytop
> labelled sysreq.  What is it?

My laptop has a specific key for it.  IIRC, (my desktop is not in front of 
me), it shares a key with 'Print Screen'.  On both (again, IIRC) it's usually 
shortend to just 'SysRq'.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] lvm without initrd

2007-06-16 Thread Boyd Stephen Smith Jr.
On Saturday 16 June 2007, Florian Philipp <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] lvm without initrd':
> I'd like to know which parts of my system need to stay on "traditional"
> partitions and which directories can be moved to an lvm if I don't want
> to use initrd and still be able to boot.

Anything 'cept / (and /boot of course) can live on LVM without the need for 
an initrd.  Of course, /lib and /etc can't be on separate block devices 
from /.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: Re: Finer grained kde*-meta packages

2007-06-16 Thread Boyd Stephen Smith Jr.
On Saturday 16 June 2007, Alexander Skwar <[EMAIL PROTECTED]> 
wrote about '[gentoo-user]  Re: Re: Finer grained kde*-meta packages':
> · Boyd Stephen Smith Jr. <[EMAIL PROTECTED]>:
> > Right, because kde*-meta is supposed to replace, and act as much as
> > possible like the monolithic kde* package.  If you don't want all of
> > kdenetwork you don't install kdenetwork-meta, you install individual
> > applications from kdenetwork.
>
> Well, but as kdenetwork-meta is a dependency of kde-meta, this
> "solution" means, that about 300 packages should be manually
> listed, just because one package is not wanted.

No, because as I covered in my other reply, you can still use kdebase-meta, 
kdepim-meta, etc. to pull is all the packages from those parts of kde and 
only list individual applications from the parts you don't want everything 
from (in your case you should be able to use every kde-meta 'cept for 
kdenetwork-meta).  For your particular use case it's still < 30 packages, 
not 300.

Sure, maybe that's still too many.  Perhaps a "recommends"/"suggests" 
dependency type (all recommends would be post-dependencies) to allow a 
package to install even if all of the packages that satisfy one of it's 
recommend atoms are masked would be better, but you'll have to take that 
up with the developers responsible for specifying the EAPI levels.  
Careful how you phrase any suggestion though or you'll just get shouted 
down by "Gentoo isn't Debian" replies.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: Finer grained kde*-meta packages

2007-06-15 Thread Boyd Stephen Smith Jr.
On Friday 15 June 2007, Alexander Skwar <[EMAIL PROTECTED]> wrote 
about '[gentoo-user]  Re: Finer grained kde*-meta packages':
> Suppose you've got the following "use case": Install all of
> KDE, but leave out PPP stuff.
>
> How would you solve that?

Intall all the kde*-meta packages except kde-meta (I want to customize my 
kde install) and kdenetwork-meta (Specifically, I want to adjust network 
[ppp] support).  Install any packages I need but don't have yet via the 
split ebuilds.

Just because kde-meta doesn't satisfy your needs you don't have to forgo 
using the -meta ebuilds entirely.  In your case it will probably be < 30 
packages you need to install, not > 300.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: Finer grained kde*-meta packages

2007-06-15 Thread Boyd Stephen Smith Jr.
On Friday 15 June 2007, Alexander Skwar <[EMAIL PROTECTED]> wrote 
about '[gentoo-user]  Re: Finer grained kde*-meta packages':
> Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote:
> > On Friday 15 June 2007, Alexander Skwar <[EMAIL PROTECTED]>
> The "ppp" flag is already "known" to portage.
>
> --($:~/tmp)-- euses -i ppp
> net-dialup/capi4k-utils:pppd - Installs pppdcapiplugin modules

That's "pppd", not "ppp"

> But maybe "dialup" might be good. But that's details.

Yes, much easier to understand.

> >> I mean, what's the advantage of the kde*-meta packages over the kde
> >> package, when the kde*-meta require just as much "junk", as the
> >> kde package does? Hm, really, what's the use of the kde*-meta package
> >> anyway?
> >
> > The kde-meta package is meant to replace the kde package.  The is no
> > advantage (and without a workable confcache, at least one
> > disadvantage) to running split ebuilds.  The advantage of split ebilds
> > is that you have the choice to install only the kde applications you
> > want, by using the individual ebaulds, without dragging in all of kde
> > (which is what "old" style kde packages pulled in as a dependency.)
>
> But with using the kde*-meta package, this advantage doesn't
> exist.

Right, because kde*-meta is supposed to replace, and act as much as 
possible like the monolithic kde* package.  If you don't want all of 
kdenetwork you don't install kdenetwork-meta, you install individual 
applications from kdenetwork.

Of course, any USE flags available on the old monolithic packages, as well 
as any use configure options from upstream, should be exposed.

> > Are the monolithic ebuilds still available?
>
> Yes. Eg. kdemultimedia-3.5.7.ebuild
>
> > They need to be purged from
> > the tree ASAP.
>
> Have phun with bugzilla :)
>
> Or where should something like this actually be brought
> up?

Probably the developer list, I'm sure someone from the kde herd would hear 
you there.

> > -
>
> Your signature is delimited in a wrong way.

Odd, I must have accidentally cut one of the -s.  Kmail properly uses "-- 
\n" as this message and my first in the thread can attest.  It does let 
you edit you signature and the separator, and I must have mistakenly taken 
advantage of that.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Finer grained kde*-meta packages (was: Make portage assume, that a package is installed)

2007-06-15 Thread Boyd Stephen Smith Jr.
On Friday 15 June 2007, Alexander Skwar <[EMAIL PROTECTED]> wrote 
about '[gentoo-user]  Finer grained kde*-meta packages (was: Make portage 
assume, that a package is installed)':
> Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote:
> > However, I suggest that a cleaner method would be to not install
> > kde-meta or kdenetwork-meta at all but instead just install the KDE
> > applications that you require.
>
> Actually, I disagree.
>
> This would (obviously *g*) mean, that kde-meta cannot be installed
> (just as you say).

Yes, because the upstream kde includes, in particular, kppp.

> This means, that a whole "shit load" of packages 
> would need to be manually installed. And all that, just because you
> don't want one or two packages?

Yep.  You get kde-meta or individual kde packages or you get your own 
ebuild that depends on a number of KDE packages.  The Gentoo developers do 
quite a bit of work just to give us kde-meta.  Be glad they don't stick 
you with the monolithic ebuilds.

> Nah. IMO that's the wrong way around. IMO the correct way would
> be to enhance the kde*-meta packages so, that they support USE flags,
> which allow the user to select what's to be installed.

I suppose that's a good idea in the future.  Perhaps you should file an 
enhancement bug.  That said, I would prefer kde-meta install all the 
packages that are part of KDE's upstream packaging by default.

> Eg. a "ppp" flag to select that ppp related stuff is to be installed.
> Or "filesharing" to disable filesharing related stuf

Do you suggest a global flag?

If so, what packages do you recommend this flags modify the behavior of?

If not, shouldn't it have a less ambiguous name?

> I mean, what's the advantage of the kde*-meta packages over the kde
> package, when the kde*-meta require just as much "junk", as the
> kde package does? Hm, really, what's the use of the kde*-meta package
> anyway?

The kde-meta package is meant to replace the kde package.  The is no 
advantage (and without a workable confcache, at least one disadvantage) to 
running split ebuilds.  The advantage of split ebilds is that you have the 
choice to install only the kde applications you want, by using the 
individual ebaulds, without dragging in all of kde (which is what "old" 
style kde packages pulled in as a dependency.)

Are the monolithic ebuilds still available?  They need to be purged from 
the tree ASAP.

- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Make portage assume, that a package is installed

2007-06-15 Thread Boyd Stephen Smith Jr.
On Friday 15 June 2007, Alexander Skwar <[EMAIL PROTECTED]> wrote 
about '[gentoo-user]  Make portage assume, that a package is installed':
> Good morning!
>
> On my system, I did not install net-dialup/ppp.
> But I'd now like to install kde-base/kde-meta, which will
> pull in kde-base/kdenetwork-meta, which will pull in kde-base/kppp
> and this will finally pull in net-dialup/ppp.
>
> Can I now make it somehow so, that I am able to install kdenetwork-meta,
> but NOT install kppp & ppp?
>
> So I tried to create the file in /etc/portage. Contents:
>
> --($:~)-- cat /etc/portage/package.provided
> kde-base/kppp-3.5.7
> net-dialup/ppp-2.4.4-r8
>
> Obviously, I'm doing something wrong.
>
> How do I do it right?

As Peter Alfredsen mentioned, overrides for your profile should go 
in /etc/portage/profile instead of /etc/portage.

However, I suggest that a cleaner method would be to not install kde-meta 
or kdenetwork-meta at all but instead just install the KDE applications 
that you require.

For example:
$ grep -i kde /var/db/pkg/world
dev-util/kdesvn
kde-base/akregator
kde-base/kalzium
kde-base/kaudiocreator
kde-base/kcharselect
kde-base/kdeartwork-kscreensaver
kde-base/kdeartwork-kwin-styles
kde-base/kdeartwork-styles
kde-base/kdebase-startkde
kde-base/kdm
kde-base/kget
kde-base/kgpg
kde-base/kicker-applets
kde-base/klipper
kde-base/kmahjongg
kde-base/kmail
kde-base/kmenuedit
kde-base/kmix
kde-base/kompare
kde-base/konq-plugins
kde-base/konqueror-akregator
kde-base/konsole
kde-base/kontact
kde-base/korganizer
kde-base/kpager
kde-base/kpdf
kde-base/kscreensaver
kde-base/kstars
kde-base/ksysguard
kde-base/kwalletmanager
kde-base/kwin
kde-base/superkaramba
kde-misc/kdiff3
kde-misc/filelight

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] M$ Excel document converter

2007-06-13 Thread Boyd Stephen Smith Jr.
On Wednesday 13 June 2007, Aleksey Kunitskiy <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] M$ Excel document converter':
> On Wednesday 13 June 2007 15:04, Boyd Stephen Smith Jr. wrote:
> > I am.
> >
> > Here's a script that will dump a worksheet as a csv:
> >
> > #! /usr/bin/ruby
>
> This script doesn't work for me :(

Bogus. :(

Well, try Bertram's suggestion.  I just wrote the script on the fly without 
testing it.

I'll install parseexcel and see what I did wrong and post a script that 
works for me later.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] M$ Excel document converter

2007-06-13 Thread Boyd Stephen Smith Jr.
On Wednesday 13 June 2007, Aleksey Kunitskiy <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] M$ Excel document converter':
> On Wednesday 13 June 2007 14:02, Bertram Scharpf wrote:
> > There's a Ruby package `parseexcel' which seems to work as
> > far as I can test here.
> >
> >   <http://raa.ruby-lang.org/project/parseexcel/>
>
> I'm not a ruby programmer :(

I am.

Here's a script that will dump a worksheet as a csv.  Save, chmod a+x, and 
invoke like name_of_script name_of_excel_file worksheet_number > csv_file 
(e.g. ./convertxls price_list.xls 0 > price_list.csv):

#! /usr/bin/ruby
require 'parseexcel'

wb = Spreadsheet::ParseExcel.parse(ARGV.shift)
ws = workbook.worksheet(ARGV.shift.to_i)
ws.each { |row|
  puts row.collect { |cell|
'"' + cell.to_s.gsub(/"/, '""') + '"'
  }.join(',')
}

Clearly, all the heavy lifting is done by that library, which you will need 
to run this script.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Can't login on Courier-imap server

2007-06-13 Thread Boyd Stephen Smith Jr.
On Wednesday 13 June 2007 03:38:58 Johannes Skov Frandsen wrote:
> I have installed Courier-imap on my server and I'm trying to test it,
> which is not going that well...
>
> When I try to telnet in to it I can connect but I can't log in.
>
> Am I using the right commands when I test?

Yes, but you are using the wrong format.  All IMAP commands and responses are 
prefixed by a 4-character string and a space.  This way a command can have 
multiple responses and multiple commands can be sent before the response for 
the first is received.  (The client matches responses to commands based on 
matching prefixes.)

So, you'll probably want your first line to be something like:
AAAA login your_username

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] DVD 2.4 to DVD5

2007-06-11 Thread Boyd Stephen Smith Jr.
On Tuesday 12 June 2007 00:19:20 Nicola Degl'Innocenti wrote:
> I have bought a new camcorder with minidvd, and i need to convert this mini
> dvd to the standard video dvd (4.7Gb) preferibly without addictional
> compression and in a simply way :-)

Can you read the mini-dvds in your computer's DVD drive?

If so, you just need to copy the data to a new disk -- k3b should be able to 
do this if you have enough free space in your temporary directory.  You can 
do it in two (or three) steps as well, if you want or need to store the image 
on your HD.  You'll rip the content with cp, dd, dvdbackup, or k3b.  This 
will either create an iso or directory; you can loopback mount the iso to get 
a directory or use genisoimage to get an iso from the directory.  Finally 
burn the iso/directory using growisofs or k3b.

If not, the first thing is you need to find a library/program that can read 
the A/V off the mini-dvd.  For that task, I can provide no aid.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Double network cards

2007-06-11 Thread Boyd Stephen Smith Jr.
On Monday 11 June 2007, dexter <[EMAIL PROTECTED]> wrote about 'Re: 
[gentoo-user] Double network cards':
> Marco Calviani pisze:
> > Hi list,
> >   i would like some technical advice concerning the possibility of
> > mounting two network devices on the same desktop computer. One network
> > card (which is binded to a fixed IP) allows me to allow the machine to
> > be visible on the public network, while the second one (faster, the
> > one i've installed now) is used to work.
>
> Hello
> If You are going to use both devices to access the same address space
> then afaik it is not possible.
> I think it could be done with static routing, but You would require
> properly configured router.

Which (surprise!) is the same thing as a properly configured linux box. :P

Basically, you simply need to make sure you configure routing for 
the "internet at large" correctly.  This will generally involve some sort 
of source-based routing and/or some custom dhclient scripts and/or 
assigning proper metrics to your routes and telling the kernel how to use 
those metrics when there are multiple routes to a single IP.

We have two networks here at the house: the cable internet (9Mbps/1Mbps, 
but those speeds can't be counted on, dynamic IP) and the DSL 
(1.5Mbps/512Kbps, I think, block of static IPs).  I've got two NICs so I'm 
on both of them.  Virtually all traffic uses the cable connection (http 
requests, bittorrent, etc.), but the DSL connection is available for 
traffic (ssh, local mail server [on the same subnet], etc.). Here's the 
relevant parts of my setup:

/etc/conf.d/net:
config_eth0=( "dhcp" )
modules_eth0=( "pump" )
pump_eth0=""
config_eth1=( "69.154.123.205/29 brd 69.154.123.207" )
modules_eth1=( "!plug" )

/etc/iproute2/rt_tables:
127 dsl

/etc/conf.d/local.start:
sbr-init

/usr/local/sbin/sbr-init:
#!/bin/bash

# Clear tables
ip route flush table dsl 2>&-

# Fill tables
ip route add 69.154.123.200/29 dev eth1 table dsl
ip route add 0.0.0.0/0 via 69.154.123.206 table dsl

# Reset rules
ip rule del pref 16000 from 69.154.123.205 2>&-

# Set rules
ip rule add pref 16000 from 69.154.123.205 table dsl

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: FeatureRequest Was: Re: Why are gentoo people so in love with colorized output?!?

2007-06-10 Thread Boyd Stephen Smith Jr.
On Sunday 10 June 2007, "Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> 
wrote about 'Re: [gentoo-user]  Re: FeatureRequest Was: Re: Why are gentoo 
people so in love with colorized output?!?':
> Acually, I'd prefer
> black-on-white

I meant white-on-black.  Dark backgrounds are just easier on my eyes.

> for everything but I haven't found a good KDE theme for 
> that yet.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] Re: FeatureRequest Was: Re: Why are gentoo people so in love with colorized output?!?

2007-06-10 Thread Boyd Stephen Smith Jr.
On Sunday 10 June 2007, Grant Edwards <[EMAIL PROTECTED]> wrote 
about '[gentoo-user]  Re: FeatureRequest Was: Re: Why are gentoo people so 
in love with colorized output?!?':
> I don't care how you label it, white-on-black is nasty. ;)

I feel the same way about black-on-white terminals.  Acually, I'd prefer 
black-on-white for everything but I haven't found a good KDE theme for 
that yet.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?

2007-06-10 Thread Boyd Stephen Smith Jr.
On Sunday 10 June 2007, Karl Haines <[EMAIL PROTECTED]> wrote about 'Re: 
FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love 
with colorized output?!?':
> Color is pretty ;) lol. It makes things interesting! I agree however
> that there might need to be some way to turn it off easily.

It should also be turned off by default for anything that's not a terminal. 
or a terminal whose termcap/terminfo/etc. doesn't support the ANSI color 
feature. One of the most annoying things I've ever seen is ANSI escape 
codes in emails and/or log files.  Gentoo is fairly good about that now, 
but I'm still having problem with RoR misbehaving in this way.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


[OT] Ubuntu isn't the devil (was: Re: [gentoo-user] Again: Critical bugs considered invalid)

2007-06-08 Thread Boyd Stephen Smith Jr.
On Friday 08 June 2007, "Hemmann, Volker Armin" 
<[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] 
Again: Critical bugs considered invalid':
> On Samstag, 9. Juni 2007, b.n. wrote:
> > Kent Fredric ha scritto:
> > > On 6/8/07, b.n. <[EMAIL PROTECTED]> wrote:
> > > ( probably releated to it being a
> > > generally harder distro to use that *cough* ewwbuntu *cough*
> > > unlinspired *cough*  or *cough* deadrat *cough* )
> >
> > OT: Ubuntu distros (Kubuntu, expecially) are really, really shiny and
> > slick pieces of software. I just installed Kubuntu 7.04 at work and
> > it's the more polished, ready-to-go, easy to use Linux distro I've
> > ever seen. I use Gentoo on my home desktop for various reasons and
> > because I have different needs, but the Linux community has only to
> > learn from the Ubuntus.
>
> what to learn? How to make kcontrol worse?

I think many find ksystemsettings to be better a better interface than 
kcontrol.  I don't, so I just use kcontrol.  It is a little stupid that 
they don't install the desktop icon for it, but it's trivial to fix.

> The slowest boot of all 
> times?

My Gentoo boots more slowly, but that's probably related to the large delay 
mounting a 3TiB reiserfs.  Ubuntu can also be very quick to boot *if* all 
files read on startup fit into system ram throughout the startup sequence, 
on my laptop this isn't the case, so my booting is somewhat delayed.

> A braindead installer?

How exactly is it braindead?  I've used it multiple times and while it's 
error handling could be better, it's allowed me to do all the setup I need 
before the install starts and generally gets me run-and-running much 
faster and Gentoo.

> A patched-to-death kpdf?  

Yeah, ubuntu patches KDE left and right and it's a bit annoying, especially 
when they reduce usability for no good reason.  E.g. the search toolbar 
forces the cursor to the end of it's contents from time to time, and 
doesn't properly submit searches with parenthesis in them -- both issues 
make the search bar on Gentoo much better.

> Yes, there is something to learn from the ubuntus. Like: don't make
> their mistakes.

Their "mistakes" made them the most popular linux distribution in a 
incredibly small amount of time.  Their "mistakes" continue to drive user 
and developers toward the project in flocks.  Their "mistakes" lead to 
Dell shipping home systems with Ubuntu pre-installed.

I love Gentoo.  I love Debian.  I still think Ubuntu does some things 
better and some things worse.  On my laptop, I'd prefer not to configure 
anything -- and Ubuntu provides a usable system with no hassles.  Servers 
@ work -- Debian.  Desktop @ home -- Gentoo.  I don't think I'd change any 
of them.

> Or: there is a difference between userfriendly and made 
> for idiots.

Ubuntu being neither. ;)

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


  1   2   3   4   5   6   7   8   >