[gentoo-user] Re: modules in use

2008-12-06 Thread Patric Schmitz
On Sat, 06 Dec 2008 02:51:02 +0200
Nikos Chantziaras <[EMAIL PROTECTED]> wrote:

> Neil Bothwick wrote:
> > On Fri, 5 Dec 2008 22:32:23 +0100, Sebastian Günther wrote:
> > 
> >> The third column of lsmod is headed with Used by and consists of a 
> >> number and a list of modules which use it.
> >>
> >> Everything with a 0 is not used.
> > 
> > Not true. Anything with a 0 is not used by another module. That's
> > not the same as not used. 
> 
> I think a 0 indicates that it's not used at all.  

Can't be true. I have the following lines in /proc/modules:

usbhid 41184 0 - Live 0x8802d000
usbkbd 6336 0 - Live 0x88007000
usbmouse 4736 0 - Live 0x88042000

All have 0 in the third column, but they are obviously used as i am
typing this. 

Just an observation, cheers.



Re: [gentoo-user] Re: modules in use

2008-12-06 Thread Patric Schmitz
On Sat, 06 Dec 2008 02:51:02 +0200
Nikos Chantziaras <[EMAIL PROTECTED]> wrote:

> Neil Bothwick wrote:
> > On Fri, 5 Dec 2008 22:32:23 +0100, Sebastian Günther wrote:
> > 
> >> The third column of lsmod is headed with Used by and consists of a 
> >> number and a list of modules which use it.
> >>
> >> Everything with a 0 is not used.
> > 
> > Not true. Anything with a 0 is not used by another module. That's
> > not the same as not used. 
> 
> I think a 0 indicates that it's not used at all.

Can't be true. I have the following lines in /proc/modules:

usbhid 41184 0 - Live 0x8802d000
usbkbd 6336 0 - Live 0x88007000
usbmouse 4736 0 - Live 0x88042000

All have 0 in the third column, but they are obviously used as i am
typing this. 

Just an observation, cheers.



Re: [gentoo-user] IGMP, what is this?

2008-11-21 Thread Patric Schmitz
On Fri, 21 Nov 2008 06:50:04 -0600
Dale <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I noticed a little modem activity while I was idle.  I wasn't sure
> what it was so I used wireshark to capture and exported it.  I did a
> google search and even read the wikipedia thing but I'm still not
> sure what to make of this.  Here is what I got from wireshark:
> 
> 
> 
> No. TimeSourceDestination
> Protocol Info
>  20 113.958458  209.244.187.170   224.0.0.1
> IGMP V2 Membership Query, general
> 
> Frame 20 (44 bytes on wire, 44 bytes captured)
> Arrival Time: Nov 21, 2008 06:41:55.382585000
> [Time delta from previous captured frame: 29.711333000 seconds]
> [Time delta from previous displayed frame: 29.711333000 seconds]
> [Time since reference or first frame: 113.958458000 seconds]
> Frame Number: 20
> Frame Length: 44 bytes
> Capture Length: 44 bytes
> [Frame is marked: False]
> [Protocols in frame: sll:ip:igmp]
> [Coloring Rule Name: Routing]
> [Coloring Rule String: hsrp || eigrp || ospf || bgp || cdp || vrrp
> || gvrp || igmp || ismp]
> Linux cooked capture
> Packet type: Unicast to us (0)
> Link-layer address type: 512
> Link-layer address length: 0
> Source: 
> Protocol: IP (0x0800)
> Internet Protocol, Src: 209.244.187.170 (209.244.187.170), Dst:
> 224.0.0.1 (224.0.0.1)
> Version: 4
> Header length: 20 bytes
> Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN:
> 0x00)  00.. = Differentiated Services Codepoint: Default (0x00)
>  ..0. = ECN-Capable Transport (ECT): 0
>  ...0 = ECN-CE: 0
> Total Length: 28
> Identification: 0x7a8b (31371)
> Flags: 0x00
> 0... = Reserved bit: Not set
> .0.. = Don't fragment: Not set
> ..0. = More fragments: Not set
> Fragment offset: 0
> Time to live: 1
> Protocol: IGMP (0x02)
> Header checksum: 0xd1b4 [correct]
> [Good: True]
> [Bad : False]
> Source: 209.244.187.170 (209.244.187.170)
> Destination: 224.0.0.1 (224.0.0.1)
> Internet Group Management Protocol
> IGMP Version: 2
> Type: Membership Query (0x11)
> Max Response Time: 10.0 sec (0x64)
> Header checksum: 0xee9b [correct]
> Multicast Address: 0.0.0.0 (0.0.0.0)
> 
>   00 00 02 00 00 00 00 00 00 00 00 00 00 00 08
> 00    0010  45 00 00 1c 7a 8b 00 00 01 02 d1 b4 d1 f4
> bb aa   E...z... 0020  e0 00 00 01 11 64 ee 9b 00 00 00
> 00   .d..
> 
> 
> 
> 
> Ideas?  Thanks

Hmm it looks like an IGMP multicast group membership
query. I have seen the (SAP) service discovery function of VLC
broadcasting those (or something similar, i might be mixing up things
here).

On http://www.networksorcery.com/enp/protocol/igmp.htm i found:

"0x11   Group Membership Query, general or group-specific. General
Query is used to learn which groups have members on an attached
network. Group-Specific Query is used to learn if a particular group
has any members on an attached network. These two messages are
differentiated by the Group Address."

I hope this is of any help,
Patric



Re: [gentoo-user] make.conf

2008-10-17 Thread Patric Schmitz
On Fri, 17 Oct 2008 11:11:21 -0700 (PDT)
ann kok <[EMAIL PROTECTED]> wrote:

> hi all

Hello, 

> why we have to put the following flags in the make.conf
> 
> what are the purpose?
> 
> CFLAGS="-O2 -pipe"
> CXXFLAGS="-O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"

These are parameters for the gcc compiler. On a Gentoo system, you
compile all (or most of) your software from source, instead of simply
installing a precompiled binary package, as in most other distributions.

These parameters influence the compiler, the software which actually
builds the program from the source code. Their exact meaning is
documented in gcc's manual page (man gcc).

-O2 instructs the compiler to perform second level optimizations on the
code (note 'O', not '0').
-pipe tells gcc to use unix pipes for communication during the compile
process, which might speed up things.

CFLAGS specifies the options when compiling a C source file, CXXFLAGS
is for C++ files.

CHOST specifies your machine architecture and operating system type.
This stems from the GNU config package which is used by the
automake/autoconf build system which is used for most software.
According to config.sub from autoconf, the format of this target
specification is:

#   CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
# or in some cases, the newer four-part form:
#   CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM

Cheers,
Patric



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

2008-09-12 Thread Patric
On Thu, 11 Sep 2008 19:51:21 -0500
Dale <[EMAIL PROTECTED]> wrote:

Hi Dale, 

> After getting things switched over, I hope this will make things
> easier in the future if I need to switch ISPs or something.  My
> questions are: 1: Does anyone know of a reasonably priced dial-up ISP
> that does not have a monthly limit?  Does anyone see anything
> wrong/weird with my plan?  Maybe something I need to add in?  

I tried both AOL and GMail and both annoy me to some extend. They both
provide free IMAP access, and work "fairly well". I always felt the AOL
servers to be pretty slow (when using imap), and i hate the way
googlemail saves your E-Mail thrice in it's own, duplicate folder
structure (which doubles or triples the size of your local imap cache).
This might be reasonable for people accessing the service only through
their webinterface, but is annoying when using an external client.

The thing that most irritated me after a while are the free provider's
privacy terms. Google may archive and index *all* your mail (read:
SPAM, everything) for eternity. AIM (as well as google) claims all
content to be submitted via their services as their intellectual
property (this counts for ICQ also, btw, use jabber!). This is
laughable from a juristic point of view, but i find the attempt in
itself reason enough not to use their services. There was this funny
article linked on slashdot last week
(http://valleywag.com/5044902/the-5-most-laughable-terms-of-service-on-the-net).

I don't know about Yahoo! specifically in this respect, but I don't
expect them to be any better.

After some search i stumbled upon the relatively new freemail provider
Lavabit (http://lavabit.com). Their service is very promising, privacy
is most important. Connections to their server exclusively use
authenticated SMTP and they offer pop3 and imap over SSL. There are
free, free with ads, and two paid ($6 or $18 p. year) service models,
each with their own limits. Most important for me was their free IMAP
support. You might want to check out their page wether it suits you.

I am very content with their service, even if you don't get an
unlimited storage space at their servers. Google does this because
they can afford it (wasting our precious resources) and in turn mines
all that data for personalized ads, search, and whatnot. 

Regards,
Patric



[gentoo-user] Re: Mail on multiple laptops

2008-08-01 Thread Patric Schmitz
On Tue, 15 Jul 2008 12:09:44 -0400
Michael Pobega <[EMAIL PROTECTED]> wrote:

> On Tue, Jul 15, 2008 at 04:02:07PM +, Grant Edwards wrote:
> Yeah, my debian-user folder is at 54,000 e-mails now. It's pretty
> crazy, it takes me about four minutes to access it. I don't know why
> Mutt needs to continually cache the data, I thought the idea of
> caches was to prevent things like this from happening?

That is crazy indeed. I had the same "problem" here and thought a
bit about it, and so, just to hopefully clear this up for others:

Why should one store years old mailing lists mail _on the server_
for ever? 

Why is IMAP useful, because you can access your mails from
anywhere and from multiple clients. But that counts only for those
mails which have a chance to be of interest at different places
(complete personal email, probably).
This is certainly not the case for year old mailinglist mails (which
are, in the case of debian-user at least, also available from public
archives). 
Why store these maybe hundred of megabytes of mail on the server,
there is just no reason. And it should not surprise that clients (and i
guess servers alike) need a huge amount of time to scan through huge
directories, even if only comparing the local cache.

If you don't trust the public mailing list archives, do it like I did
for now. Create a local mailbox (you have to find some certain machine
for this of course, i suggest your desktop at home). 
I called it "archived mail". Then create e.g. a folder debian-user and
just move all mails from the IMAP server to that local folder.
Afterwards you can still access your archived mails from that list,
just not from everywhere (well actually you can by using the public
archives), but you have to ask yourself again: Why should i need that?

Now I have the huge folders lying on my hard-disk, i can search
_quickly_ through tenthousands of mails, and the access time for
opening the remote folders is greatly reduced. If I feel like cleaning
up again, maybe after 1-2k mails, i just move them over again. Reducing
unneccessary traffic, saving precious resources, and able to search the
archive much quicker.

This is just my opinon, maybe someone who had _all_ his mails on IMAP
till now might rethink this.

Cheers,
Patric



Re: [gentoo-user] tor servers being throttled?

2008-07-21 Thread Patric Schmitz
On Sun, 20 Jul 2008 19:30:46 +0100
Mick <[EMAIL PROTECTED]> wrote:

> Hi All,
> 
> I am trying to find out if the pedestrian download speeds that I have
> been getting over the last couple of months when using tor and
> privoxy are related to my UK ISP DSLMax throttling, or if it is
> something you have observed too.
> 
> Tor was usually slower than direct browsing, but the last few times I
> have tried using I can hardly get more than say 1.5kbps.
> 
> Is there a way of troubleshooting this to see where the throttling
> occurs?

Although having never actually used Tor myself, i would say no, and by
design. 
Tor is not like some central service which one party provides that
could "throttle their servers", but a chain of (private) gateways which
forward the encrypted data to one another.
The idea behing the whole thing is, that every gateway only knows of
its direct neighbors, so noone is able to reconstruct the whole chain
(to achieve anonymity).
Threrefore, i guess, it is not possible to troubleshoot the bottleneck
of such a chain.

Cheers,
Patric



Re: [gentoo-user] Trouble tweaking KDE package "six"

2008-07-19 Thread Patric Schmitz
On Thu, 17 Jul 2008 20:45:32 -0700
"Kevin O'Gorman" <[EMAIL PROTECTED]> wrote:
 
> It involves a new target in Makefile.am, but if I run a new 'automake'
> I get a Makefile.in which is _very_ different from the old one, and
> won't even compile the old target.  Most obviously, a bunch of *.moc
> targets are not generated.  The Makefile has some references to
> 'automoc', but that does not seem to be an executable or package in
> Gentoo (but if I'm reading it right, it is a package in Ubuntu).

http://doc.trolltech.com/4.4/moc.html
seems to be "Meta object compiler", a Qt thing. The ebuild
x11-libs/qt seems to provide "/usr/bin/moc", haven't found automoc (as
an executable at least).

> I have a book on autotools, but have only used  them, not configured
> them.  I have a book on Qt (apropos of moc and automoc), but have
> never written Qt code.  My tweak is for a non-GUI alternative, so I
> was hoping that the GUI stuff would just keep working and not bother
> me.  KDE itself seems to be largely lacking in programming docs (or I
> just missed it), although there a a few short tutorials.

See above, http://doc.trolltech.com has tons of (professionally written
and maintained) documentation on Qt and everything around it.

> I'm not looking for answers (my questions may not yet be well-enough
> formulated for that), but pointers to resources.  Of course, if anyone
> has answers, or can guide me, that would be welcome too.

wikipedia Qt/moc:
http://en.wikipedia.org/wiki/Qt_%28toolkit%29#Meta_object_compiler

the famous autobook on autotools:
http://sources.redhat.com/autobook/

as well as the links above is all I have found just now. Hope this
helps.

Good Luck,
Patric.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Evolution Doesn't Filter Incoming Mail

2008-07-16 Thread Patric Schmitz
On Wed, 16 Jul 2008 16:27:24 +0100
Richard <[EMAIL PROTECTED]> wrote:

> Dear all,
> 
> I use Evolution as my mail client. I receive Gentoo mailing list email
> at my GMail address, and access this email in Evolution over IMAP.
> 
> I want Gentoo mailing list messages to go into a Gentoo mailing list
> folder in Evolution, and so I've setup an incoming mail filter to take
> all mail with a sender or recipient address matching
> '@lists.gentoo.org' and move it to my Gentoo mailing list folder.

I had a similar problem with Thunderbird and IMAP. The problem was that
"Sender" is not amongst the standard headers which TB retrieves per
default for newly arrived messaged. 
I had to somehow tell TB to "fetch all headers", don't remember exactly
how, since I'm using claws now.

> Despite ticking the 'Apply filters to new messages in INBOX on this
> server' check-box in the Evolution Account Editor, I have to highlight
> new email and click 'Apply Filters' in Evolution's 'Message' menu so
> that Evolution will actually move them to the desired folder.
> 
> Can anyone help with this?

This is just a guess, i haven't used evolution actually, but look for
a retrieve option "fetch all mail headers" or something, it might be
the same issue.

HTH,
Patric Schmitz
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Nvidia GeForce Go 6800 and nvidia-drivers ==> Cannot switch to ttys or close X

2008-03-12 Thread Patric

andrea wrote:

...
The X session loads smooth with no errors and no warnings but after X is
loaded there is no way to come back to the framebuffer console (pressing
CTRL+ALT+F* or closing the session).

I get an almost white screen with some distorsion. If I come back
pressing CTRL+ALT+F7 I see my X session up n running.
The same happens if I close my session and then write "startx" on the
white screen. I have a brand new session running with no problems and no
errors.


I'm afraid I can't provide any help on this, but wanted to mention that I
experience exactly the same behaviour with my GeForce Go 6800 (TurboCache).
And this is not only for the current driver, but has been the case ever since i
own this notebook (it's an Acer Travelmate 4150LMi). The nvidia driver version
at the time I got it was 1.0-7184, and was already broken back then.
I would really love to see a solution for this, since not being able to leave X
is pretty annoying.
I should mention that on this system I have Debian installed, and used
kernel.orgs vanilla kernel + nvidia driver from their homepage ever since.

Regards,
  Patric

PS: Hi list! :)


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



[gentoo-user] how to get vi!?

2006-09-25 Thread Patric Douhane



Hi Im using 2006.1 and it seems that vi isn't 
included.how do I install it? Tried emerge vi but it's not 
found