[gentoo-user] app-text/poppler-0.24.3 fails to build

2013-11-05 Thread Norman Rieß
Hello,

poppler fails to build for me and i don't know why.
Does someone got an idea about this?

[ 97%] Building CXX object
qt4/src/CMakeFiles/poppler-qt4.dir/ArthurOutputDev.cc.o
cd
/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3_build/qt4/src
 /usr/bin/x86_64-pc-linux-gnu-g++  -DHAVE_CONFIG_H=1
-Dpoppler_qt4_EXPORTS  -DNDEBUG -Wall -Wcast-align -fno-exceptions
-fno-check-new -fno-common -ansi -Wnon-virtual-dtor -Woverloaded-virtual
-O2 -pipe  -fPIC
-I/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3
-I/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3/fofi
-I/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3/goo
-I/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3/poppler
-I/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3_build
-I/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3_build/poppler
-I/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3/qt4/src
-I/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3_build/qt4/src
-I/usr/include/freetype2 -I/usr/include/qt4-o
CMakeFiles/poppler-qt4.dir/ArthurOutputDev.cc.o -c
/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3/qt4/src/ArthurOutputDev.cc
Traceback (most recent call last):
Traceback (most recent call last):
  File /usr/bin/g-ir-scanner, line 46, in module
  File /usr/bin/g-ir-scanner, line 46, in module
sys.exit(scanner_main(sys.argv))
  File /usr/lib64/gobject-introspection/giscanner/scannermain.py, line
404, in scanner_main
sys.exit(scanner_main(sys.argv))
  File /usr/lib64/gobject-introspection/giscanner/scannermain.py, line
404, in scanner_main
transformer = create_transformer(namespace, options)
transformer = create_transformer(namespace, options)
  File /usr/lib64/gobject-introspection/giscanner/scannermain.py, line
297, in create_transformer
  File /usr/lib64/gobject-introspection/giscanner/scannermain.py, line
297, in create_transformer
transformer.register_include(include_obj)
  File /usr/lib64/gobject-introspection/giscanner/transformer.py, line
131, in register_include
transformer.register_include(include_obj)
  File /usr/lib64/gobject-introspection/giscanner/transformer.py, line
131, in register_include
self._parse_include(filename)
self._parse_include(filename)
  File /usr/lib64/gobject-introspection/giscanner/transformer.py, line
203, in _parse_include
  File /usr/lib64/gobject-introspection/giscanner/transformer.py, line
203, in _parse_include
parser.parse(filename)
  File /usr/lib64/gobject-introspection/giscanner/girparser.py, line
60, in parse
parser.parse(filename)
  File /usr/lib64/gobject-introspection/giscanner/girparser.py, line
60, in parse
tree = parse(filename)
  File string, line 62, in parse
tree = parse(filename)
  File string, line 62, in parse
  File string, line 38, in parse
  File string, line 38, in parse
cElementTree.ParseError: syntax error: line 1, column 0
cElementTree.ParseError: syntax error: line 1, column 0
make[2]: *** [glib/Poppler-0.18.gir] Fehler 1
make[2]: Leaving directory
`/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3_build'
make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
make[2]: *** [glib/Poppler-0.18.gir] Fehler 1
make[2]: Leaving directory
`/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3_build'
make[1]: *** [glib/CMakeFiles/gir-girs.dir/all] Fehler 2
Linking CXX shared library libpoppler-qt4.so
cd
/var/tmp/portage/app-text/poppler-0.24.3/work/poppler-0.24.3_build/qt4/src
 /usr/bin/cmake -E cmake_link_script
CMakeFiles/poppler-qt4.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -Wall -Wcast-align
-fno-exceptions -fno-check-new -fno-common -ansi -Wnon-virtual-dtor
-Woverloaded-virtual -O2 -pipe   -Wl,-O1 -Wl,--as-needed -Wl,--as-needed
-shared -Wl,-soname,libpoppler-qt4.so.4 -o libpoppler-qt4.so.4.3.0
CMakeFiles/poppler-qt4.dir/poppler-annotation.cc.o
CMakeFiles/poppler-qt4.dir/poppler-document.cc.o
CMakeFiles/poppler-qt4.dir/poppler-embeddedfile.cc.o
CMakeFiles/poppler-qt4.dir/poppler-fontinfo.cc.o
CMakeFiles/poppler-qt4.dir/poppler-form.cc.o
CMakeFiles/poppler-qt4.dir/poppler-link.cc.o
CMakeFiles/poppler-qt4.dir/poppler-link-extractor.cc.o
CMakeFiles/poppler-qt4.dir/poppler-movie.cc.o
CMakeFiles/poppler-qt4.dir/poppler-optcontent.cc.o
CMakeFiles/poppler-qt4.dir/poppler-page.cc.o
CMakeFiles/poppler-qt4.dir/poppler-base-converter.cc.o
CMakeFiles/poppler-qt4.dir/poppler-pdf-converter.cc.o
CMakeFiles/poppler-qt4.dir/poppler-private.cc.o
CMakeFiles/poppler-qt4.dir/poppler-ps-converter.cc.o
CMakeFiles/poppler-qt4.dir/poppler-qiodeviceoutstream.cc.o
CMakeFiles/poppler-qt4.dir/poppler-sound.cc.o
CMakeFiles/poppler-qt4.dir/poppler-textbox.cc.o
CMakeFiles/poppler-qt4.dir/poppler-page-transition.cc.o
CMakeFiles/poppler-qt4.dir/poppler-media.cc.o
CMakeFiles/poppler-qt4.dir/ArthurOutputDev.cc.o
../../libpoppler.so.43.0.0 

Re: [gentoo-user] Mail System with virtuell User

2013-09-12 Thread Norman Rieß
Am 12.09.2013 02:12, schrieb Silvio Siefke:
 Hello,
 
 
 has someone run a Mailserver (Postfix) with virtuell User which not 
 use Mysql/Postgresql Database Backen? I has read the Dovecot / Postfix 
 Websites which has Howtos for No Database but so really want not run. 
 
 The most Howto i found are for Mysql and on Debian. Gentoo is not use
 as Web/Mailserver? I found only the wiki from Gentoo but is only use 
 with Database. Has someone a config and can shared or know someone a
 Tutorial which can take as first step to install?
 
 
 Thank you  Greetings
 Silvio
 

Hello,

i would say file based ist pretty much the default. All i specified in
postfix is in main.cf home_mailbox = Maildir/.

And in dovecot in 10-mail.conf mail_location = maildir:~/Maildir

Nothing else is storage related.

Norman



[gentoo-user] Disable Screen Blanking

2013-07-08 Thread Norman Rieß
Hi,

i am trying to disable Screen Blanking but have been unsuccessful so far.

I used various methods:

* installed gnome-power-manager and disabled screen power saving
* setterm -blank 0
* echoing setterm -blank 0 to the dev/ttyXs
* xset s off
* Kernel parameter in Grub consoleblank=0

A kernelsetting for this seem to have existed in older kernels, but
seems to have vanished in recent ones.

All methods have failed.

Does anyone know of a way to just keep the screen on?

Thanks,
Norman



Re: [gentoo-user] Disable Screen Blanking

2013-07-08 Thread Norman Rieß
Am 08.07.2013 14:43, schrieb Randolph Maaßen:
 2013/7/8 Norman Rieß nor...@smash-net.org mailto:nor...@smash-net.org
 
 Hi,
 
 i am trying to disable Screen Blanking but have been unsuccessful so
 far.
 
 I used various methods:
 
 * installed gnome-power-manager and disabled screen power saving
 * setterm -blank 0
 * echoing setterm -blank 0 to the dev/ttyXs
 * xset s off
 * Kernel parameter in Grub consoleblank=0
 
 A kernelsetting for this seem to have existed in older kernels, but
 seems to have vanished in recent ones.
 
 All methods have failed.
 
 Does anyone know of a way to just keep the screen on?
 
 Thanks,
 Norman
 
 
 I have in my openbox autostart.sh xset -dpms s off. this disables the
 sceensaver (as you tried), but also turns Energy Star (DPMS) features off. 
 So no power management turns off the screen.
 
 -- 
 Mit freundlichen Grüßen / Best regards
  
 Randolph Maaßen
 

Thank you! It works.

Regards,
Norman



Re: [gentoo-user] Linux Fiber SAN

2013-06-16 Thread Norman Rieß
Am 16.06.2013 02:25, schrieb Nick Khamis:
 Hello Norman,
 
 Sorry for the delayed response
 
 What do you mean by replication?
 
 Oh I was referring to the replication of the entire NFS server with virtual
 drive images etc.. to other machines for fail over, maybe load balancing.
 
 Kind Regards,
 
 Nick.
 

Hi,

the NFS Server is a Netapp dualhead high availability storage system,
which takes care of all this.

Regards,
Norman



Re: [gentoo-user] Linux Fiber SAN

2013-06-13 Thread Norman Rieß
Am 13.06.2013 14:31, schrieb Nick Khamis:
 Hello Norman,
 
 Thank you so much for your response, and that is an interesting setup.
 
 we open up pools of up to 20 hosts which all mount the same NFS
 share which holds sparse file images as virtual hdds of the
 VM.
 
 How are these sprase file images initially built for each VM's virtual hdd? 
 And
 can this process be automated.

There are many ways, in our case virt-install creates them automaticaly.
But you could just dd a file from /dev/zero or random. It is a raw
sparse file. There is no internal logic behind it.
Of cause this process can be fully automated.
We automated the complete installation process, which takes one command
now to install and deploy a completely from scratch installed VM in
about 8 to 11 Minutes.

 
 So life migration is possible, other than holding the VMs on local
 storage.
 
 I can understand that.
 
 Our never clusters are equipped with hosts using 10 gigabit ethernet.
 Two 10GE ports are bonded to provide redundancy and balancing. Every
 host features 2 bonds, one for storage vlans and one for the production
 vlans. Performance is not the issue.
 
 Good network engineering.
 
 I guess also with this setup replication would be handled by rsync? If so, the
 potential of this setup really starts to shine.

What do you mean by replication?


 
 WOW, from NAS to SAN?
 
 
 Kind Regards,
 
 Nick.
 




Re: [gentoo-user] Linux Fiber SAN

2013-06-12 Thread Norman Rieß
Am 12.06.2013 08:33, schrieb Dan Johansson:
 On 12.06.2013 06:57, Norman Rieß wrote:
 Am 11.06.2013 16:19, schrieb Nick Khamis:
 Hello Everyone,

 Was wondering what people are running these days, and how do they
 compare to the 10,000 dollar SAN boxes. We are looking to build a fiber
 san using IET and glusterFS, and was wondering what kind of luck people
 where having using this approach, or any for that matter.

 the question is, what are you doing with it and why do you think you
 need a fibre channel SAN.
 Our goal indeed is to get rid of the SAN infrastructure as it is
 delicately to all kinds of failure with nearly zero fault tolerance.
 An example, you have an hicup or a power failure in your network. SAN is
 dead from nowon and must be reinitialized on the server. Simple NFS
 comes back up without any fuzz.
 Another, you boot your storage systems due to an os update or something
 like that. Your SAN will be dead. NFS will just go on as if nothing
 happened.
 We use netapp storage systems which are NAS and SAN capable.
 Another point is, that if you have a SAN lun, there is either no way to
 increase or decrease size on the fly, on cifs or nfs you can resize your
 share on the go.

 So if you do not have a _really_ good reason to use a fribre channel
 SAN, don't!
 
 Hello,
 
 I tend to disagree. A correctly designed SAN (using dual Fabric among
 other things) is a lot more stable and has a lot better performance than
 any NAS (NFS, CIFS, iSCSI) solution. One other thing that also needs to
 be correctly configured to have a stable SAN infrastructure is the
 servers on it (Multipathing, partition alignment, queue depth, ...)
 according to the storage vendors recommendation.
 LUN expansion/shrink is storage vendor specific, some can not (netapp
 apparently) but others can.
 
 Just my 2 cents.
 
 Regards,
 


Hello,

you are right i did not elaborate on our san setup, but dual fabric,
correctly configured hba, proper timeout settings, multipathing,
alignment and proper block sizes, all was cared for.
And yes, it is stable as long, as no glitch in power, network etc. or
maintenance is due. Here NFS is far more fault tolerant.
Our servers are equipped with 10GE ports, which are bonded. Performance
is not the issue. Further more, is the configuration far easier and more
robust.
According to roadmaps ethernet will outperform SAN infrastructure by
factors soon.

Oh, you can resize the lun, but on the server side you have a
blockdevice exposed and need to unmount, resize if possible and mount
again. On nfs it is a df for the old size, resizing and a df with the
new size with no service downtime.

Regards,
Norman





Re: [gentoo-user] Linux Fiber SAN

2013-06-12 Thread Norman Rieß
Am 12.06.2013 16:20, schrieb Nick Khamis:
 Hello Nick,
 
 the question is, what are you doing with it and why do you think you
 need a fibre channel SAN.
 Our goal indeed is to get rid of the SAN infrastructure as it is
 delicately to all kinds of failure with nearly zero fault tolerance.
 An example, you have an hicup or a power failure in your network. SAN is
 dead from nowon and must be reinitialized on the server. Simple NFS
 comes back up without any fuzz.
 Another, you boot your storage systems due to an os update or something
 like that. Your SAN will be dead. NFS will just go on as if nothing
 happened.
 We use netapp storage systems which are NAS and SAN capable.
 Another point is, that if you have a SAN lun, there is either no way to
 increase or decrease size on the fly, on cifs or nfs you can resize your
 share on the go.
 
 So if you do not have a _really_ good reason to use a fribre channel
 SAN, don't!
 
 Regards,
 Norman
 
 
 Hello Norman,
 
 Thank you so much for your response. That is a very interesting! We
 currently use an NFS to house home directories etc.., and I love how it
 just bloody works!!! We do however need block level sharing. The idea is
 the 
 typical host with multiple VM with virtual HDDs residing on a SAN.
 We figured
 fibre would give us better performance (for the mean time!!!).
 
 It was my understanding that SAN whether implemented using iSCSI
 or Fibre was essentially susceptible to the same type
 of faults that lead to whatever failures? The only difference being of
 course, on is on fibre, and the other using ethernet. Given the price
 of fibre right now, it's quite cheap and we though double the throughput,
 why not?
 
 We could have the VMs taking storage from DAS, and mount to an
 external NFS for home/ etc... Not sure how it would perform in terms of
 IO rates, and also, the idea of block level allocation just seems so much
 cleaner no?
 
 PS I am new to SAN, please excuse me.
 
 Kind Regards,
 
 Nick

Hello,

our setup is that we open up pools of up to 20 hosts which all mount the
same NFS share which holds sparse file images as virtual hdds of the
VMs. So life migration is possible, other than holding the VMs on local
storage.
Our never clusters are equipped with hosts using 10 gigabit ethernet.
Two 10GE ports are bonded to provide redundancy and balancing. Every
host features 2 bonds, one for storage vlans and one for the production
vlans. Performance is not the issue.
Our older clusters do this with 1 gigabit ethernet and three bonds.
We have some high performance services and throughput never was a problem.
So i recomment NFS. But it really depends on your prefferation.

Regards,
Norman






Re: [gentoo-user] Linux Fiber SAN

2013-06-11 Thread Norman Rieß
Am 11.06.2013 16:19, schrieb Nick Khamis:
 Hello Everyone,
 
 Was wondering what people are running these days, and how do they
 compare to the 10,000 dollar SAN boxes. We are looking to build a fiber
 san using IET and glusterFS, and was wondering what kind of luck people
 where having using this approach, or any for that matter.
 
 Kind Regards,
 
 Nick.

Hello Nick,

the question is, what are you doing with it and why do you think you
need a fibre channel SAN.
Our goal indeed is to get rid of the SAN infrastructure as it is
delicately to all kinds of failure with nearly zero fault tolerance.
An example, you have an hicup or a power failure in your network. SAN is
dead from nowon and must be reinitialized on the server. Simple NFS
comes back up without any fuzz.
Another, you boot your storage systems due to an os update or something
like that. Your SAN will be dead. NFS will just go on as if nothing
happened.
We use netapp storage systems which are NAS and SAN capable.
Another point is, that if you have a SAN lun, there is either no way to
increase or decrease size on the fly, on cifs or nfs you can resize your
share on the go.

So if you do not have a _really_ good reason to use a fribre channel
SAN, don't!

Regards,
Norman



Re: [gentoo-user] How to prevent a dns amplification attack

2013-03-31 Thread Norman Rieß
Am 31.03.2013 04:08, schrieb Paul Hartman:
 On Thu, Mar 28, 2013 at 3:51 AM, Norman Rieß nor...@smash-net.org wrote:
 Hello,

 i am using pdns recursor to provide a dns server which should be usable
 for everybody.The problem is, that the server seems to be used in dns
 amplification attacks.
 I googled around on how to prevent this but did not really find
 something usefull.

 Does anyone got an idea about this?
 
 Coincidentally, yesterday US-CERT published a small article about DNS
 amplification attacks and mitigation strategies:
 
 http://www.us-cert.gov/ncas/alerts/TA13-088A
 

Thanks a lot!



Re: [gentoo-user] How to prevent a dns amplification attack

2013-03-30 Thread Norman Rieß

Am 29.03.2013 um 23:34 schrieb Paul Hartman paul.hartman+gen...@gmail.com:

 On Thu, Mar 28, 2013 at 7:49 PM, Peter Humphrey
 pe...@humphrey.ukfsn.org wrote:
 On Thursday 28 March 2013 20:53:49 Paul Hartman wrote:
 
 In my case, my ISP's DNS servers are slow (several seconds to reply),
 fail randomly when they should resolve, return an IP (which goes to
 their ad-laden helper website if you are using a web browser) when
 they should instead return nxdomain, and they have openly admitted to
 selling customer DNS lookup history to marketers for targeted
 advertising.
 
 
 
 That is just evil. Have you no alternative to this ISP?
 
 Not really.
 
 I have a 100 megabit connection through the cable company; my only
 wired alternative is DSL (1.5 mbit for almost half the price I'm
 paying for 100mbit). Cellular or satellite are not viable options for
 me because of comparatively poor value, latency and miniscule data
 usage caps.

 […]
 
 It is no longer legal for local governments to award monopolies, but
 the damage has been done. What we have is essentially the cable TV
 infrastructure that was laid out during the decade when local cable
 monopolies were legal, and the cost of entry for a new player into the
 market now is so high that nobody ever bothers. End result for
 consumers is a lack of choice. There are some places where competition
 exists, but those places are pretty rare, in my experience.
 
 There are some other possible alternatives to cable internet and DSL,
 such as municipal wifi, mesh networks, powerline and FTTx, but none
 are available where I live.
 
 The service I receive from the cable company here is actually
 excellent, with the exception of the aforementioned DNS woes.
 
 Pretty much every major ISP in the US does DNS-hijacking and other
 shenanigans, so there's no avoiding the evilness. I believe the board
 members of major cable and telecom companies would sell their own
 mothers into slavery if it meant a rise in share prices or a larger
 bonus at the end of the year...
 

That is pretty much the same as what happened in Germany. The telephone network 
was build by the german postal service in the past and was run by the 
government. As we all know everything works better and cheaper when things are 
privatized, so the Deutsche Telekom was created and with it a semi monopoly 
over night.
Regions not dense enough are not part of the developing plans of any of the 
companies. So if you are lucky like me, you are stuck with 16mbit DSL provided 
by one company rented by an other company. If people start to build their own 
network or a competitor reaches for a specific underdeveloped region, this 
region gets an upgrade like to DSL 3 Mbit or something like that, so the 
competitors draw of.
If you are really lucky you live in a region which is really dense or a cable 
company provides you with internet, so you get 100mbit. But this is only a 
fraction of all people.
If the government is confronted with this they say, the market will regulate 
that, which it does not. And if voices get too loud, the tell the companies to 
develop the underdeveloped regions, they shake hands on TV and nothing happens.
And as Paul said, most ISP do DNS-hijacking and the like, which breaks things 
in incredible unexpected ways.

So when i wrote this post to the mailing list and got answers like unnecessary 
crap and why make it available for everyone i thougt, this to be answers of 
some weirdos which should be ignored.
Here you do not trust your ISP… you use the ISP which sucks less or the only 
one that gives you any internet at all.
If you reach a certain level of knowledge, you change your DNS settings to free 
DNS servers and if you run a resolver you do it for the other poor souls as 
well.
There are lists of unfiltered DNS Servers 
(http://www.ungefiltert-surfen.de/nameserver/de.html), which are checked 
regularly if they provide unfiltered answers an the like.
And there are howtos for the average user on how to change the dns settings and 
to avoid your isp´s dns servers.

Regards
Norman





Re: [Bulk] Re: [gentoo-user] How to prevent a dns amplification attack

2013-03-30 Thread Norman Rieß
Am 30.03.2013 16:11, schrieb Kevin Chadwick:
 On Sat, 30 Mar 2013 13:06:16 +0100
 Norman Rieß nor...@smash-net.org wrote:
 
  As we all know everything works better and cheaper when things are
 privatized
 
 Actually No it's not so simple at all.
 
 You get incompetence in private and public and you may be more likely
 to get away with it for longer in a public service than in a market with
 competition but there are many examples where things simply get worse.
 
 In the UK, water companies were privatisied and fat cats made lots of
 money letting the pipes deteriorate for future generations.
 
 British Telecom, well that's a mixed bag but it is certainly a
 tiny shadow of it's original self.
 
 We know ideals and theory hardly ever work but theoretically public
 should be much better when well managed.
 
 I wonder if ISPS wouldn't be handling things like TalkTalks
 Homesafe in such a stupid manner (across the board is where it is
 stupid, even for non users of the service) where they redirect all the
 http traffic through an undoubtedly insecure layer 7 handling huawei
 device with less commercial pressures or analysing bandwidth at layer
 7 when they should be doing so more safely and completely at layers 3
 and 4 leading me to believe they are not just thinking about bandwidth
 usage. Why does it matter if you download 1000Gb via torrents or http.
 ACKs can be managed in any case.
 
 I'm glad open source is beginning to make strides into public services
 as it should help put an end to expensive interoperability issues (if
 we stay away from non posix things like systemd, though even then
 shouldn't be too bad ;-)).
 

I think, you did not spot the sarcasm in what i said :-).



Re: [gentoo-user] How to prevent a dns amplification attack

2013-03-29 Thread Norman Rieß
Am 29.03.2013 01:49, schrieb Peter Humphrey:
 On Thursday 28 March 2013 20:53:49 Paul Hartman wrote:
 
  
 
 In my case, my ISP's DNS servers are slow (several seconds to reply),
 
 fail randomly when they should resolve, return an IP (which goes to
 
 their ad-laden helper website if you are using a web browser) when
 
 they should instead return nxdomain, and they have openly admitted to
 
 selling customer DNS lookup history to marketers for targeted
 
 advertising.
 
  
 
 That is just evil. Have you no alternative to this ISP?
 
  
 
 -- 
 
 Peter
 
  
 

Like free and open DNS servers? ;-) Like the one i am talking about and
was told it was unnessesary crap?

Norman



[gentoo-user] How to prevent a dns amplification attack

2013-03-28 Thread Norman Rieß
Hello,

i am using pdns recursor to provide a dns server which should be usable
for everybody.The problem is, that the server seems to be used in dns
amplification attacks.
I googled around on how to prevent this but did not really find
something usefull.

Does anyone got an idea about this?

Regards,
Norman



Re: [gentoo-user] How to prevent a dns amplification attack

2013-03-28 Thread Norman Rieß
Am 28.03.2013 16:38, schrieb Michael Mol:
 On 03/28/2013 04:51 AM, Norman Rieß wrote:
 Hello,

 i am using pdns recursor to provide a dns server which should be usable
 for everybody.The problem is, that the server seems to be used in dns
 amplification attacks.
 I googled around on how to prevent this but did not really find
 something usefull.

 Does anyone got an idea about this?
 
 I'm not sure it can be done. You can't make a resolver available to
 everybody without somebody in that everybody group abusing it, and
 that's exacly what happens in a DNS amplification attack.
 
 Restrict your resolver to be accessible only to your network or, at
 most, those of the specific group of people you're seeking to help.
 
 You *might* try restricting the resolver to only respond to TCP requests
 rather than UDP requests, but if the resolver sends response data along
 with that first SYN+ACK, then nothing is solved, and you've opened
 yourself up to a SYN flood-based DoS attack. (OTOH, if your resolver
 went offline as a result of a SYN flood, at least it wouldn't be part of
 an amplification attack any longer...)
 

Thank you Michael!



Re: [gentoo-user] How to prevent a dns amplification attack

2013-03-28 Thread Norman Rieß
Am 28.03.2013 10:07, schrieb Adam Carter:
 Why are you making your server available to everyone?
 

For the lulz mostly.




Re: [gentoo-user] Kernel 3.6: No external Monitor

2012-11-21 Thread Norman Rieß
Am 20.11.2012 23:24, schrieb Florian Philipp:
 Am 20.11.2012 21:35, schrieb Norman Rieß:
 Am 20.11.2012 20:08, schrieb Damien Levac:
 On 11/20/12 13:33, Norman Rieß wrote:
 Am 20.11.2012 19:02, schrieb Florian Philipp:
 Am 20.11.2012 14:52, schrieb Norman Rieß:
 Am 20.11.2012 13:51, schrieb Bruce Hill:
 On Tue, Nov 20, 2012 at 08:44:08AM +0100, Norman Rieß wrote:
 Hello,

 i am using a Thinkpad X301 with a DVI Monitor connected to the mini
 displayport.
 That worked perfectly for years, but with Kernel 3.6 (and 3.7rc) the 
 DVI
 Monitor stays black on boot and it is not visible in xrandr. As if it
 wasn't connected at all.
 [...]
 What does `xrandr --current` say? (from x11-apps/xrandr)

 In what situation? 3.5 or 3.6 kernel?

 In doubt, both. But I'm fairly sure he meant 3.6 since there are no
 problem to solve in 3.5. :P


 Yeah, i was kinda irritated by that question, as i allready said, that
 xrandr does not show the display.
 [...]
 
 Sorry, missed that part.
 
 Can you try without KMS?
 http://wiki.debian.org/KernelModesetting
 
 Regards,
 Florian Philipp
 

Setting nomodeset does not solve the problem.

Regards,
Norman



Re: [gentoo-user] Kernel 3.6: No external Monitor

2012-11-20 Thread Norman Rieß
Am 20.11.2012 13:51, schrieb Bruce Hill:
 On Tue, Nov 20, 2012 at 08:44:08AM +0100, Norman Rieß wrote:
 Hello,

 i am using a Thinkpad X301 with a DVI Monitor connected to the mini
 displayport.
 That worked perfectly for years, but with Kernel 3.6 (and 3.7rc) the DVI
 Monitor stays black on boot and it is not visible in xrandr. As if it
 wasn't connected at all.
 Rebooting with 3.5 brings back the Display with full functionality.

 All i found about this was a Fedora bugreport stating the issue, but is
 unanswered for a month now.

 Does someone got an idea here or faced the same issue and solved it?

 Regards,
 Norman
 
 Can you give us a link to:
 
 (1) the Fedora bug report
 (2) your 3.5 kernel .config
 (3) your 3.6 (and 3.7rc) kernel .config(s)
 

Yes.
(1) https://bugzilla.redhat.com/show_bug.cgi?id=869824

(2) http://smash-net.org/temp/config-3.5.4
(3) http://smash-net.org/temp/config-3.6.6
http://smash-net.org/temp/config-3.7.0-rc6





Re: [gentoo-user] Kernel 3.6: No external Monitor

2012-11-20 Thread Norman Rieß
Am 20.11.2012 19:02, schrieb Florian Philipp:
 Am 20.11.2012 14:52, schrieb Norman Rieß:
 Am 20.11.2012 13:51, schrieb Bruce Hill:
 On Tue, Nov 20, 2012 at 08:44:08AM +0100, Norman Rieß wrote:
 Hello,

 i am using a Thinkpad X301 with a DVI Monitor connected to the mini
 displayport.
 That worked perfectly for years, but with Kernel 3.6 (and 3.7rc) the DVI
 Monitor stays black on boot and it is not visible in xrandr. As if it
 wasn't connected at all.
 Rebooting with 3.5 brings back the Display with full functionality.

 All i found about this was a Fedora bugreport stating the issue, but is
 unanswered for a month now.

 Does someone got an idea here or faced the same issue and solved it?

 Regards,
 Norman

 Can you give us a link to:

 (1) the Fedora bug report
 (2) your 3.5 kernel .config
 (3) your 3.6 (and 3.7rc) kernel .config(s)


 Yes.
 (1) https://bugzilla.redhat.com/show_bug.cgi?id=869824

 (2) http://smash-net.org/temp/config-3.5.4
 (3) http://smash-net.org/temp/config-3.6.6
 http://smash-net.org/temp/config-3.7.0-rc6



 
 What does `xrandr --current` say? (from x11-apps/xrandr)
 
 Regards,
 Florian Philipp
 

In what situation? 3.5 or 3.6 kernel?



Re: [gentoo-user] Kernel 3.6: No external Monitor

2012-11-20 Thread Norman Rieß
Am 20.11.2012 20:08, schrieb Damien Levac:
 On 11/20/12 13:33, Norman Rieß wrote:
 Am 20.11.2012 19:02, schrieb Florian Philipp:
 Am 20.11.2012 14:52, schrieb Norman Rieß:
 Am 20.11.2012 13:51, schrieb Bruce Hill:
 On Tue, Nov 20, 2012 at 08:44:08AM +0100, Norman Rieß wrote:
 Hello,

 i am using a Thinkpad X301 with a DVI Monitor connected to the mini
 displayport.
 That worked perfectly for years, but with Kernel 3.6 (and 3.7rc) the DVI
 Monitor stays black on boot and it is not visible in xrandr. As if it
 wasn't connected at all.
 Rebooting with 3.5 brings back the Display with full functionality.

 All i found about this was a Fedora bugreport stating the issue, but is
 unanswered for a month now.

 Does someone got an idea here or faced the same issue and solved it?

 Regards,
 Norman
 Can you give us a link to:

 (1) the Fedora bug report
 (2) your 3.5 kernel .config
 (3) your 3.6 (and 3.7rc) kernel .config(s)

 Yes.
 (1) https://bugzilla.redhat.com/show_bug.cgi?id=869824

 (2) http://smash-net.org/temp/config-3.5.4
 (3) http://smash-net.org/temp/config-3.6.6
 http://smash-net.org/temp/config-3.7.0-rc6



 What does `xrandr --current` say? (from x11-apps/xrandr)

 Regards,
 Florian Philipp

 In what situation? 3.5 or 3.6 kernel?

 In doubt, both. But I'm fairly sure he meant 3.6 since there are no
 problem to solve in 3.5. :P
 
 Damien
 

Yeah, i was kinda irritated by that question, as i allready said, that
xrandr does not show the display.
3.5 activates the display during kernel loading, on 3.6 it stays shut
off during the whole boot process.


3.6:
xrandr --current
Screen 0: minimum 320 x 200, current 1440 x 900, maximum 32767 x 32767
LVDS1 connected 1440x900+0+0 (normal left inverted right x axis y axis)
287mm x 180mm
   1440x900   60.0*+   50.0
   1024x768   60.0
   800x60060.3 56.2
   640x48059.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)

-
3.5 both screens mirrored:
xrandr --current
Screen 0: minimum 320 x 200, current 1440 x 900, maximum 32767 x 32767
LVDS1 connected 1440x900+0+0 (normal left inverted right x axis y axis)
287mm x 180mm
   1440x900   60.0*+   50.0
   1024x768   60.0
   800x60060.3 56.2
   640x48059.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1440x900+0+0 (normal left inverted right x axis y axis)
518mm x 324mm
   1920x1200  60.0 +
   1600x1200  60.0
   1680x1050  59.9
   1680x945   60.0
   1400x1050  59.9
   1600x900   60.0
   1280x1024  60.0
   1440x900   59.9*
   1280x960   60.0
   1366x768   60.0
   1360x768   60.0
   1280x800   59.9
   1280x768   60.0
   1024x768   60.0
   1024x576   60.0
   800x60060.3 56.2
   848x48060.0
   640x48060.0
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)

-
3.5 in my dualscreen setup:
xrandr --current
Screen 0: minimum 320 x 200, current 3360 x 1200, maximum 32767 x 32767
LVDS1 connected 1440x900+1920+0 (normal left inverted right x axis y
axis) 287mm x 180mm
   1440x900   60.0*+   50.0
   1024x768   60.0
   800x60060.3 56.2
   640x48059.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1200+0+0 (normal left inverted right x axis y axis)
518mm x 324mm
   1920x1200  60.0*+
   1600x1200  60.0
   1680x1050  59.9
   1680x945   60.0
   1400x1050  59.9
   1600x900   60.0
   1280x1024  60.0
   1440x900   59.9
   1280x960   60.0
   1366x768   60.0
   1360x768   60.0
   1280x800   59.9
   1280x768   60.0
   1024x768   60.0
   1024x576   60.0
   800x60060.3 56.2
   848x48060.0
   640x48060.0
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)



[gentoo-user] Kernel 3.6: No external Monitor

2012-11-19 Thread Norman Rieß
Hello,

i am using a Thinkpad X301 with a DVI Monitor connected to the mini
displayport.
That worked perfectly for years, but with Kernel 3.6 (and 3.7rc) the DVI
Monitor stays black on boot and it is not visible in xrandr. As if it
wasn't connected at all.
Rebooting with 3.5 brings back the Display with full functionality.

All i found about this was a Fedora bugreport stating the issue, but is
unanswered for a month now.

Does someone got an idea here or faced the same issue and solved it?

Regards,
Norman



Re: [gentoo-user] Users hi!

2012-11-15 Thread Norman Rieß

Am 15.11.2012 um 16:46 schrieb BRM bm_witn...@yahoo.com:

 From: Dale rdalek1...@gmail.com
 
 Joshua Murphy wrote:
 On Wed, Nov 14, 2012 at 4:30 PM, Dale rdalek1...@gmail.com wrote:
 BRM wrote:
 snip spam 
 Hey,
 Check this out:
 List-Unsubscribe: mailto:gentoo-desktop+unsubscr...@lists.gentoo.org 
 Bye.   Dale :-)  :-) 
 P.S.  I wonder if he will get the hint.  LOL  
 I am only responsible for what I said ... Not for what you understood or how 
 you interpreted my words! 
 Probably not, since it looks like a fairly hands-off spam attempt,
   but I have to say, I'm rather amused by the attempt to spoof a
   Microsoft based site (in url and content) while spamming a Linux
   mailing list. It's first-line bait to pull someone into an 'online
   employment' scam, by the looks of it, with the added benefit of ad
   revenue from those who load that page with a standard browser.
 
 Poison [BLX]
 Joshua M. Murphy
 Well, I did get a reply on another list.  He/she seems to have read
 it at least.  Maybe he/she got the idea.  
 As if anyone here would follow a link like that anyway.  It's not
 like we are a bunch of crazy folks here.  lol  
 
 First, my apologies to this list. I had gotten it from someone else, but 
 bypassed my better judgement in part thinking being on Linux with Firefox 
 were solution enough, which interestingly they were not.
 Now, the page itself is pretty benign but it provided the spammers a way to 
 attack webmail sites - e.g. Yahoo! - and go through the address book and sent 
 out their own e-mails. My guess is that it had to be a hack into Firefox to 
 support it, but one not yet patched at least by Kubuntu (my work laptop, 
 which I do keep up to date).
 
 Ben
 

Well it was on the razor list so it got filtered out anyway.





Re: [gentoo-user] Where to discuss ARM stuff.

2012-08-09 Thread Norman Rieß
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 09.08.2012 10:04, schrieb Raffaele BELARDI:
 On 08/09/2012 07:24 AM, Norman Rieß wrote:
 Am 08.08.2012 14:14, schrieb Raffaele BELARDI: I have a problem
 compiling binutils. Full build log can be found here
 http://smash-net.org/temp/build_log.txt
 
 I tried tha vanilla flag and diabled zlib as suggested via
 google search, but neither did help. I also tried latest unstable
 version 2.29 i think.
 
 Quite obscure...
 
 I'd try to reproduce by issuing only the offending line from the
 shell (the one that compiles options.cc, see below) and then try
 again removing the -O2 flag.
 
 Also check if the disk is full (end of file not at end of a line; 
 newline inserted is suspicious but it could just be a side effect
 of the compiler crash).
 
 There are some build requirements listed in the README under 
 /var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/,

 
double check if they are met by your ARM toolchain.
 
 If all fails you could try disabling gold compilation (the 
 --enable-gold bit) and just compile/use the standard GCC linker.
 
 Sorry, not much else I can think of. I never had to compile the
 binutils package because I had a binary cross-compiler toolchain
 for ARM available.
 
 raf
 
 $ armv6j-hardfloat-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. 
 -I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold

 
- -I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold
 -I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/../include

 
-
-I/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/../elfcpp
 -DLOCALEDIR=\/usr/share/binutils-data/armv6j-hardfloat-linux-gnueabi/2.22/locale\

 
- -DBINDIR=\/usr/armv6j-hardfloat-linux-gnueabi/binutils-bin/2.22\
 -DTOOLBINDIR=\/usr/armv6j-hardfloat-linux-gnueabi/bin\   -W
 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -frandom-seed=options.o -O2 -pipe -mcpu=arm1176jzf-s -mfpu=vfp -MT
 options.o -MD -MP -MF .deps/options.Tpo -c -o options.o 
 /var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22/gold/options.cc

 
A guy from IRC #gentoo-embedded gave the essential hint yesterday.
Setting MAKEOPTS=-j1 instead of -j2 solves the problem.

Norman
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEbBAEBAgAGBQJQJJAaAAoJEMCA6frkLT6zGmEH90zynjc862ofZ5S9vK6g8Srf
Ad9NjzrLXm9cYSfaTQAqJQYXEMr4fofjLQgk00wjW0Ofc7gHCY2BwjewLdN3KgIa
f+HVwd+KTxKTZ6kilVgQvZWB6ks/iRe6luJu1qzYDQ7n8QXCRRMGzUZ1jvFOVKOg
8v7xHs+dWppA/JnDMxu2lH2lb14D0U/9QIkvTMb7u/z5aXrRT3IMrDKdtpfhhsVj
AYhOjAQ6ii9j8SPOl/AlyAHxnJ0e1cmzNGCDEej2cZ4jAsbVvZAjtq660PBNsD+Y
5ZORsCTVOb3NL1z7UO493HS6D2NKmAFOGha6shvLtGlL6AACod5IVoO3MilU7g==
=BpwC
-END PGP SIGNATURE-



[gentoo-user] Where to discuss ARM stuff.

2012-08-08 Thread Norman Rieß
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

i am running Gentoo on an ARM device and ran into a problem building
binutils.
I thought to asked about that on an gentoo-arm mailing list, but
found, that this list ist listed as closed.
So is there an apropriate list or ressource dedicated to that or does
gentoo-user cover this?

Regards,
Norman
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQIlWjAAoJEMCA6frkLT6zy6MH/00jNkclFzdM/YcwVGUvYkSO
mJmgGTk2BHpdjC02zmKQa2IjpX24tdtfjnFxpwD+klL0h7Es5x4t/C6NN39cBHno
prfMRPpDu7+My47D2W/QTCVA0rXTOt0hkNN3yMQUnOpspsMEnclx4RwbBFL69SDN
K0lTCK0fJkNV4tQi2GwVzmpBx0ePwZ5/V6XfW1WEnm7mlgeHU4GUACWmG0Z6U3S+
QUya1mLK38gTKF5ylDUZ43G3Ncf0YFEAiBOkLku9R1YQoX06udf0s2iSdd0gWPQ1
gFiNx5XVSLsKKD1pwHA3eCN/c65IsEEeGdpyvMD7IxjBQdy28RGpCMzXxZTzxTo=
=7bHu
-END PGP SIGNATURE-



Re: [gentoo-user] Where to discuss ARM stuff.

2012-08-08 Thread Norman Rieß
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 08.08.2012 14:14, schrieb Raffaele BELARDI:
 On 08/08/2012 02:03 PM, Norman Rieß wrote:
 i am running Gentoo on an ARM device and ran into a problem 
 building binutils.
 
 What problem? I have no experience on Gentoo/ARM but some on 
 buildroot/ARM.
 
 raf
 

I have a problem compiling binutils.
Full build log can be found here http://smash-net.org/temp/build_log.txt

I tried tha vanilla flag and diabled zlib as suggested via google
search, but neither did help.
I also tried latest unstable version 2.29 i think.

Any hint would be welcome.

Norman

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQI0mIAAoJEMCA6frkLT6zsqgIAI1as1BdYXEdK2o2HJCITGSN
29Y/Q6EV5iXQ03TwCQFR+SgMCHy4Z/BdwhrtG+tDC7BpqjoTEFKKG6NTz46wn93D
odxhH8lQO1S7OhAUpeknHrxNKunCQicscVepi5S9qxmUklEw578/BCbdFRKgeLxv
fDQfWRY0IYq4h/9eGm9FF4FfwtvKFuelXBKIGkDl7y9DY6jm/F7w+Gh0Y/IzqK1M
A3pcLY4fSvvTAkOwzDrWZ49tlE/gIJ/UTmfS3IMgStfwColm31eboZhYE6Q3xppk
HywrpK40lu1HfoHnP9AT0PnMm+VuqhTWbrdPHD79t7Y1Xio50M83PqbfUMhiLH4=
=AJfb
-END PGP SIGNATURE-



[gentoo-user] Nginx dav-ext webdav the gentoo way

2012-04-22 Thread Norman Rieß
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello,

i am running an OwnCloud instance on my nginx webserver.
The problem is, nginx seems not to implement the OPTIONS and PROPFIND
methods of webdav. But these methods are needed to run OwnCloud webdav.
There is a nginx-ext-dav module, which supports these methods but this
module seems not to be in the nginx ebuild or in the portage tree.

So what is the gentoo way here? I would rather like to avoid compiling
nginx myself, breaking the update process of portage.
I did not find an overlay containing this, but franky, i did not
really know how to search for that.

Have any of you done this and how?

Thank you.

Regards,
Norman
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPlBNGAAoJEMCA6frkLT6zBCcH/0o24uMNFl6kNu6c2TRigrnH
BlOkQo8ihnSQqoNmJYOZGwr3CzQuN7vjzFaQUx069u3a6ShGDLHsvVSsjXWbypK7
/5KnLTb9pIqTkT7hLtLwUjOYU1PMnjp0W+xukhgcTmwUp/zPLhL7PhiAW9ZW+6YR
W9FYzA9USSBsVosvKkWa+DIlRCfI/lsLYAF1mUQ5QoKeDqz6KPqgnuDhGkuMqyeN
U/y4qcwv1XuSagxdH1x41eMPHuz/9JGXgWeY+o2Qb2wL9Oqs0ZDi+Bl5ae+ORfSZ
qMhc3PjA8fCNwJJQ9sT4W8q2p3Jz8ytPzHP90GcB+4FQ3IgSD7ZlXH3VUIIO90s=
=w+R1
-END PGP SIGNATURE-



Re: [gentoo-user] Nginx dav-ext webdav the gentoo way

2012-04-22 Thread Norman Rieß
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 22.04.2012 17:36, schrieb Mick:
 On Sunday 22 Apr 2012 15:18:46 Norman Rieß wrote:
 Hello,
 
 i am running an OwnCloud instance on my nginx webserver. The
 problem is, nginx seems not to implement the OPTIONS and
 PROPFIND methods of webdav. But these methods are needed to run
 OwnCloud webdav. There is a nginx-ext-dav module, which supports
 these methods but this module seems not to be in the nginx ebuild
 or in the portage tree.
 
 So what is the gentoo way here? I would rather like to avoid
 compiling nginx myself, breaking the update process of portage. I
 did not find an overlay containing this, but franky, i did not 
 really know how to search for that.
 
 Have any of you done this and how?
 
 Thank you.
 
 Regards, Norman
 
 Have a look here:
 
 http://gpo.zugaina.org/
 

Thank you, i allready searched this site, but did not find nginx with
dav-ext or dav-ext as stand alone package.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPlGpGAAoJEMCA6frkLT6zDSQH/1NQji3+HtE02mv9XphRXakP
/S7ZCwJ9OfqmEEcLmtycedew3zZr4bETsURN0HLMPeNWB+aGxNOSMjDIkS4PYqJg
Gse8WBNmVlgKrTRqTUhAbu1UzILACASsdYrK/e6SL8dmffUW5rmeK8lKAe45BIrj
wf1uYAOqxOdAlCWsJsfkOF/isMx3IQewXuP45oj4I0W8Vo5FWehGi52mdoxVdQOx
ROtw5oOQOJBz2gWkKl2/0biyMgASlRk1rkEB0eR8RSvPHoeYEjBnCumcvwYdn+W6
6xuD3BpFqMzH2wEEgtAz7qLDdTcCC4juJTDdvrtFf5Iyi5AAvWpt+WMyl4ObJ8k=
=hPGi
-END PGP SIGNATURE-



Re: [gentoo-user] Jabber server recommendation

2011-12-21 Thread Norman Rieß
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/22/11 05:39, Mike Diehl wrote:
 At the risk of starting a religious war, I'd like to ask for a
 recommendation for a Jabber server.
 
 I just tried to install ejabberd, only to find out that it's
 written in erklang and that seems to crash on my system.  I'd like
 a native C/C++ implementation.
 
 That leaves Jabber and jabber2.
 
 Is there any reason to pick one over the other?  Are there other
 choices I should look at?
 
 TIA,
 

Take a look at prosody.

Regards,
Norman
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJO8soEAAoJEMCA6frkLT6zLzMH/1s2A+ZkH/286thvlc8xmCdY
JDoe59vj4162MHQ0TeS64GrrnR9k/fNVRE3OE6Uq0Q9N8KCVmhdW3iv4WM5sJVMe
DvpT+9E2cDgzEA89mcdwtT7eU2bM4jhCD1H0Wa7eDoynSGtCWDeunH/DjaR3y1w0
IkMngqvJysl6BHg1J6CCoYRDl+bycSqtH6AcwmAN/0avTawYuW9TGC13nJ9c34kH
TvefpgRYRr85UAK7j63BjR9XRbxBqn3iYDsrCNJIg6EgekDNgQlaiH0TRJZNvCr3
EIwGKsHsbbCOpB+tqBf574O7fZPkMxvCVUxR4vZHCHzJz8CF1a7o0PwU2DtdC9c=
=WNCZ
-END PGP SIGNATURE-



Re: [gentoo-user] [OT] embedded gentoo?

2011-11-18 Thread Norman Rieß
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/18/11 09:49, Neil Bothwick wrote:
 On Fri, 18 Nov 2011 08:18:01 +0200, Alan McKinnon wrote:
 
 That's nothing, someone once put NetBSD on a toaster. And someone else
 managed to install Linux on a dead badger, but I think that was a spoof.
 
 That's nothing, Nokia have put Windows on a phone!
 
 

Seems pretty far fetched to me :-)
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOxiexAAoJEMCA6frkLT6z8WoH/2j5v0fAi1fRKzuAgdrFlDTm
sWUd6IAfrMMXTartGeT9yZgUYLXqrIdcU375D6jY0I+BE4Ic0jqnjVFkMdrgWekl
JioEYeuqtB2s6URQyBDRmGAI56y5Tuy2U5AcrjEQWzRmy7LTbrgbNUYKhpw1hZSL
jaFyhKlkGOhUX7C6eNQeTmzr/WPx9ymLigGCmX22RoIbVqxCSicBBA9sGe4aI9re
mBShiuBmKqxhdcXJ9N9iNcUYh7sQ4vBOuWzyLSKDNPJ4mjnBe0JUbMMtDCztC28w
HNb9v6X90zOyR1A1OnXEGzADFTfQbkomgkKgSWSJxT9PGCEM5mqZxL62cHDNLU0=
=IiLZ
-END PGP SIGNATURE-



Re: [gentoo-user] (OT) TP-Link TL-MR3420 GPL?

2011-08-19 Thread Norman Rieß
Am 08/19/11 09:35, schrieb Pandu Poluan:
 Just bought a TP-Link TL-MR3420 3G/3.75G Wireless N Router (the kind
 that accepts a 3G or EVDO USB modem), and the first thing that fell on
 my hand when I opened it...
 
 ... is a printed copy of GPL!
 
 I wonder what GPLicensed software this access point uses... anyone knows?
 
 Rgds,
 
 

Most routers, nas devices, TVs, toasters run a modified or sometimes not
modified version of linux (Debian, Slackware etc.) with stock daemons
providing their funktionality.

Norman



Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-18 Thread Norman Rieß
Am 08/18/11 09:11, schrieb Matthew Finkel:
 On Thu, Aug 18, 2011 at 12:45 AM, Norman Rieß nor...@smash-net.org
 mailto:nor...@smash-net.org wrote:
 
 Am 08/17/11 13:44, schrieb Joost Roeleveld:
  On Wednesday, August 17, 2011 09:59:50 AM Peter Humphrey wrote:
  On Tuesday 16 August 2011 02:48:30 Michael Mol wrote:
  How does everybody here use Gentoo? For personal use? Production
 use?
  For
  server, desktop or embedded roles? What's your most interesting
 setup
  or use case?
 
  Since you ask: my workstation runs Gentoo. My old workstation
 sometimes
  does; at other times it's experimenting with other distributions.
 
  I have a midget server on the LAN (Atom N270) which runs Gentoo,
 but it's
  too underpowered to do all the compiling itself, so it
 NFS-exports its
  packages directory to my workstation, where I have a 32-bit
 chroot set up as
  an image of the Atom. Emerging is done here, making the packages
 available
  for installation on the Atom. This is a cumbersome operation though.
 
  The Atom serves web, time, squid proxy, dns, cups and mysql to
 the LAN. It
  runs http-replicator and rsyncd to keep a local portage tree for
 the other
  boxes. I'd like it to serve mail too, but I've never managed to
 set that up.
 
  Putting email on the Atom using IMAP might not be the best option.
 IMAP can be
  quite heavy on resources on the server-side.
 
  I use a quad-core AMD for my server.
 
  --
  Joost
 
 
 Depends on how you use it. I have an IMAP-Server running on Atom which
 holds my email archive. Also depends on the Software you use for the
 IMAP-Server.
 I can not see why a N270 could not serve a moderate amount of users
 on IMAP.
 
 Concerning the Atom not fast enough for compiling-Problem. I compiled,
 run and update a Gentoo System on a AMD Geode LX, which is way less
 powerfull and it works just fine.
 
 Norman
 
 
 Just out of curiosity, how long does it take to compile gcc?
 
 - Matt

Atom:

genlop -t sys-devel/gcc-4.4.5
 * sys-devel/gcc

 Sat Feb 26 13:06:08 2011  sys-devel/gcc-4.4.5
   merge time: 1 hour, 12 minutes and 27 seconds.

 Wed Mar 23 23:01:12 2011  sys-devel/gcc-4.4.5
   merge time: 1 hour, 10 minutes and 22 seconds.


Geode:

 genlop -t sys-devel/gcc-4.4.5
 * sys-devel/gcc

 Sat Feb 26 19:11:36 2011  sys-devel/gcc-4.4.5
   merge time: 7 hours, 17 minutes and 41 seconds.

 Fri Mar 25 05:51:21 2011  sys-devel/gcc-4.4.5
   merge time: 7 hours, 17 minutes and 2 seconds.


Norman



Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-18 Thread Norman Rieß
Am 08/18/11 09:50, schrieb Neil Bothwick:
 On Thu, 18 Aug 2011 06:45:14 +0200, Norman Rieß wrote:
 
 Concerning the Atom not fast enough for compiling-Problem. I compiled,
 run and update a Gentoo System on a AMD Geode LX, which is way less
 powerfull and it works just fine.
 
 That's just plain masochism. I have one of those and even installing from
 binary packages is painfully slow.
 
 I have three Atom machines here, a small server, a netbook and a nettop
 used as a MythTV frontend, and the only compiling any of them do is for
 their kernels.
 
 

I am not sitting in front of it watching stuff scroll by and its
funktion (Wifi-Accesspoint) is not affected by compiling...
Sure it takes a little longer, but why should i care.

And compiling on the Atoms is not worth a mention... my pentium m is
less snappy.




Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-18 Thread Norman Rieß
Am 08/18/11 11:08, schrieb Neil Bothwick:
 On Thu, 18 Aug 2011 10:41:57 +0200, Norman Rieß wrote:
 
 Concerning the Atom not fast enough for compiling-Problem. I
 compiled, run and update a Gentoo System on a AMD Geode LX, which is
 way less powerfull and it works just fine.  

 That's just plain masochism. I have one of those and even installing
 from binary packages is painfully slow.

 I have three Atom machines here, a small server, a netbook and a
 nettop used as a MythTV frontend, and the only compiling any of them
 do is for their kernels.
 
 I am not sitting in front of it watching stuff scroll by and its
 funktion (Wifi-Accesspoint) is not affected by compiling...
 Sure it takes a little longer, but why should i care.
 
 Most of the time, there's no need. There are times when a package is
 updated and needs a config update immediately after or you could end up
 with the new program being called with the old config. Binary installs
 mean you have a better idea of when that will need to be done.
 
 It's not a big issue, but I already have the binary build setup so adding
 one more host was a simple matter of creating a directory for the chroot
 and adding the host name to an existing script.
 
 How long did the initial install take on the Geode? I installed to the
 chroot on the build host in the first place then rsynced everything
 across.
 
 

Yes, and when i return to that shell some time later i scroll through
the package messages and do what needs to be done, followed by a
etc-update, revdep-rebuild, depclean and sometimes lafilefixer.
I am not saying, i update like fire and forget :-).

Everyone should use a setting that one sees fit. That's why we use
Gentoo, right? Because we have that choice.
If you have a well working setup in place, then it is only right to use it.

Can't remember how long it take exactly, but here is the ouput of a
whole system rebuild with a kind of funny estimate :-).
Shows you all the packages, too.
Just wondering myself right now, why there are N and U packages, when
emerge -uDN world shows nothing to do...

emerge -pe system world | genlop -p
These are the pretended packages: (this may take a while; wait...)

[ebuild   R] sys-libs/zlib-1.2.5-r2
[ebuild   R] virtual/libintl-0
[ebuild   R] app-arch/xz-utils-5.0.1
[ebuild   R] sys-devel/gnuconfig-20110202
[ebuild   R] dev-libs/expat-2.0.1-r3
[ebuild   R] virtual/libiconv-0
[ebuild   R] app-misc/pax-utils-0.2.2
[ebuild   R] app-arch/bzip2-1.0.6
[ebuild   R] app-misc/mime-types-8
[ebuild   R] sys-devel/gcc-config-1.4.1-r1
[ebuild   R] app-arch/cpio-2.11
[ebuild   R] sys-libs/timezone-data-2011e
[ebuild   R] sys-fs/sysfsutils-2.1.0
[ebuild   R] sys-apps/tcp-wrappers-7.6-r8
[ebuild   R] dev-libs/libffi-3.0.9-r2
[ebuild   R] sys-devel/patch-2.5.9
[ebuild   R] sys-apps/which-2.20
[ebuild   R] sys-devel/autoconf-wrapper-10-r1
[ebuild   R] sys-devel/automake-wrapper-4
[ebuild   R] sys-process/cronbase-0.3.2-r1
[ebuild   R] mail-client/mailx-support-20060102-r1
[ebuild   R] dev-libs/libnl-1.1-r2
[ebuild   R] app-portage/portage-utils-0.3.1
[ebuild   R] net-misc/rdate-1.4-r3
[ebuild   R] sys-kernel/module-rebuild-0.5
[ebuild   R] sys-kernel/linux-headers-2.6.36.1
[ebuild   R] virtual/libffi-0
[ebuild   R] sys-apps/sandbox-2.4
[ebuild   R] sys-apps/net-tools-1.60_p20110409135728
[ebuild   R] sys-apps/module-init-tools-3.16-r1
[ebuild   R] sys-devel/m4-1.4.15
[ebuild   R] sys-apps/pciutils-3.1.7
[ebuild   R] virtual/os-headers-0
[ebuild   R] dev-libs/gmp-4.3.2
[ebuild   R] dev-libs/mpfr-3.0.0_p3
[ebuild   R] sys-apps/sysvinit-2.88-r1
[ebuild   R] virtual/init-0
[ebuild   R] sys-apps/baselayout-2.0.3
[ebuild   R] sys-apps/debianutils-3.4.4
[ebuild   R] sys-devel/libperl-5.10.1
[ebuild  N ] virtual/pam-0
[ebuild   R] net-mail/mailbase-1
[ebuild   R] virtual/man-0
[ebuild   R] sys-apps/man-pages-posix-2003a
[ebuild   R] app-i18n/man-pages-de-0.5-r1
[ebuild   R] sys-apps/man-pages-3.28
[ebuild   R] sys-auth/pambase-20101024
[ebuild   R] virtual/acl-0
[ebuild   R] app-admin/python-updater-0.9
[ebuild   R] sys-devel/binutils-config-2-r1
[ebuild   R] app-admin/eselect-vi-1.1.7-r1
[ebuild   R] virtual/mta-0
[ebuild   R] virtual/perl-MIME-Base64-3.08
[ebuild   R] virtual/perl-ExtUtils-CBuilder-0.27.03
[ebuild   R] app-admin/eselect-ctags-1.13
[ebuild   R] dev-util/ctags-5.7
[ebuild   R] virtual/perl-IO-Compress-2.024
[ebuild   R] virtual/perl-Digest-MD5-2.39
[ebuild   R] virtual/perl-libnet-1.220.0-r1
[ebuild   R] virtual/perl-Module-Build-0.36.07
[ebuild   R] virtual/perl-Test-Harness-3.17
[ebuild   R] virtual/perl-Archive-Tar-1.54
[ebuild   R] virtual/perl-ExtUtils-ParseXS-2.22.05
[ebuild   R] sys-devel/gettext-0.18.1.1-r1
[ebuild   R] sys-apps/sed-4.2.1
[ebuild   R] sys-apps

Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-18 Thread Norman Rieß
Am 08/18/11 12:08, schrieb James Broadhead:
 On 18 August 2011 09:23, Norman Rieß nor...@smash-net.org wrote:
 Am 08/18/11 09:11, schrieb Matthew Finkel:
 Just out of curiosity, how long does it take to compile gcc?

 - Matt

 Atom:

 genlop -t sys-devel/gcc-4.4.5
  * sys-devel/gcc

 Sat Feb 26 13:06:08 2011  sys-devel/gcc-4.4.5
   merge time: 1 hour, 12 minutes and 27 seconds.

 Wed Mar 23 23:01:12 2011  sys-devel/gcc-4.4.5
   merge time: 1 hour, 10 minutes and 22 seconds.
 
 I have an Atom 330 machine which is getting significantly worse
 build-times than you. What make.conf options are you using? (Or are
 you using something else to improve build times?)
 
  Wed Mar 16 04:49:09 2011  sys-devel/gcc-4.4.5
merge time: 2 hours, 56 minutes and 20 seconds.
 
  Thu May  5 22:07:36 2011  sys-devel/gcc-4.3.4
merge time: 2 hours, 14 minutes and 15 seconds.
 
  Fri May  6 00:35:53 2011  sys-devel/gcc-4.4.5
merge time: 2 hours, 28 minutes and 17 seconds.
 
 Admittedly, my machine runs xbmc, which is a resource hog, and has a
 fair bit of disk activity.
 My CFLAGS are:
 CFLAGS=-O2 -march=core2 -mtune=generic -fomit-frame-pointer -pipe
 -mssse3 -mfpmath=sse
 which date to before -march=atom, and having read a performance
 article suggesting these. I note that the only practical difference
 between the resultant gcc options is that setting -mtune to core2 adds
 #define __tune_core2__ 1. I wonder what the practical difference is.
 echo | gcc -dM -E - -O2 -march=core2 -mtune=generic
 -fomit-frame-pointer -pipe -mssse3 -mfpmath=sse
 
 I suppose, having looked into it this far, I'll merge gcc-4.5 to see
 what effect -mtune=atom has.
 
 (I'm not particularly interested in build times, but whether they're a
 sign of poor overall performance ... )
 
 JB
 

Well i use an Atom D510, the core features seems to be quite similar to
yours, with the only difference, that D510 has a graphics unit added.
Here is my make.conf... how many threads are you using in gcc?

CFLAGS=-O2 -pipe -march=core2 -mssse3 -mfpmath=sse
CXXFLAGS=${CFLAGS}
CHOST=x86_64-pc-linux-gnu
MAKEOPTS=-j5

USE=-X -gtk -gtk2 -qt3 -qt4 -gnome -kde unicode nls -mysql mmx sse sse2
ssse3 acpi hddtemp threads iproute2

LINGUAS=de
AUTOCLEAN=yes
FEATURES=parallel-fetch

Norman




Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-17 Thread Norman Rieß
Am 08/17/11 13:44, schrieb Joost Roeleveld:
 On Wednesday, August 17, 2011 09:59:50 AM Peter Humphrey wrote:
 On Tuesday 16 August 2011 02:48:30 Michael Mol wrote:
 How does everybody here use Gentoo? For personal use? Production use?
 For
 server, desktop or embedded roles? What's your most interesting setup
 or use case?

 Since you ask: my workstation runs Gentoo. My old workstation sometimes
 does; at other times it's experimenting with other distributions.

 I have a midget server on the LAN (Atom N270) which runs Gentoo, but it's
 too underpowered to do all the compiling itself, so it NFS-exports its
 packages directory to my workstation, where I have a 32-bit chroot set up as
 an image of the Atom. Emerging is done here, making the packages available
 for installation on the Atom. This is a cumbersome operation though.

 The Atom serves web, time, squid proxy, dns, cups and mysql to the LAN. It
 runs http-replicator and rsyncd to keep a local portage tree for the other
 boxes. I'd like it to serve mail too, but I've never managed to set that up.
 
 Putting email on the Atom using IMAP might not be the best option. IMAP can 
 be 
 quite heavy on resources on the server-side.
 
 I use a quad-core AMD for my server.
 
 --
 Joost
 

Depends on how you use it. I have an IMAP-Server running on Atom which
holds my email archive. Also depends on the Software you use for the
IMAP-Server.
I can not see why a N270 could not serve a moderate amount of users on IMAP.

Concerning the Atom not fast enough for compiling-Problem. I compiled,
run and update a Gentoo System on a AMD Geode LX, which is way less
powerfull and it works just fine.

Norman



Re: [gentoo-user] OT: but cool - NASDAQ is gentoo powered

2011-08-16 Thread Norman Rieß
Am 08/16/11 03:48, schrieb Michael Mol:
 On Mon, Aug 15, 2011 at 8:28 PM, Adam Carter adamcart...@gmail.com wrote:
 http://www.itworld.com/open-source/193823/how-linux-mastered-wall-street
 
 This is related to a question I wanted to poll the list with. How does
 everybody here use Gentoo? For personal use? Production use? For
 server, desktop or embedded roles? What's your most interesting setup
 or use case?
 
 I had Gentoo on both my desktop and HTPC, but I had to cannibalize the
 HTPC for parts, so now it's just on my primary desktop box.
 

My usecases for Gentoo are desktop / laptop, fileserver, router, a kvm
guest on my rootserver and an AMD Geode based WLAN-Accesspoint.
So i am running Gentoo on 6 of my 7 systems plus the kvm guest.

Norman



Re: [gentoo-user] [SOLVED] Scripts not working... HELP!

2011-04-29 Thread Norman Rieß
Am 04/29/11 00:16, schrieb Walter Dnes:
   It appears that it's only python scripts that are not executing.  By
 sheer chance, I wanted to use 2 scripts that involved python.  My
 getcot script invokes getmail which is a python script.  emerge is
 also a python script.  Maybe it's just python scripts that are the
 problem.
 
 Last minute update
 ==
 
   I ran eselect python set 1, and things appear to be working now.
 
 I'm not sure if it's my memory fading, but I seem to recall that before
 I ran eselect python set 1, I got...
 
 [i3][root][~] eselect python list 
 Available Python interpreters:
   [1]   python2.7
   [2]   python3.1
 
 I.e. neither one was selected.  Is it possible that...
 * my selected version was python2.6
 * I ran an update and removed the python 2.6
 * but forgot to select 2.7
 

That is kind of what i told you...



Re: [gentoo-user] Scripts not working... HELP!

2011-04-28 Thread Norman Rieß
Had similar symptoms as my default system python was not defined properly.
Use eselect python list --python2 to see if that is the case.
Set it with eselect python set --python2 number if necessary.

Regards
Norman

Am 04/28/11 07:40, schrieb Walter Dnes:
   This message is coming from my 32-bit hot backup gentoo machine.
 For some reason, any script that I call on my 64-bit machine immediately
 returns to the command prompt.  No warnings or error messages or
 diagnostics.  Builtins and compiled executables work OK.  For instance,
 if I have a script named xyz that goes like so...
 
 #!/bin/bash
 man bash
 
 ..., executing xyz or ~/bin/xyz results in bash immediately
 returning to to the command prompt.  If I type man bash, it works OK.
 On top of everything else, getmail seems to go into forkbomb mode,
 generating a gazillion processes, and eventually locking up the machine,
 if I type in...
 /usr/bin/getmail -v -v -v --rcfile rc_cotse
 
   It looks like the script is being totally ignored, e.g...
 
 waltdnes@i3 ~ $ emerge anyone home?
 waltdnes@i3 ~ $
 
   Any ideas what gives?
 




Re: [gentoo-user] removing gtk+ as requested by --depclean

2011-04-28 Thread Norman Rieß
Am 04/28/11 14:28, schrieb Allan Gottlieb:
 (I confess to being a little over cautious after xcb.)
 
 After today's update word (just a few updates were specified/done).
 --depclean recommended
 
 These are the packages that would be unmerged:
 
  x11-libs/gtk+
 selected: 3.0.9 
protected: none 
  omitted: 2.24.3 
 
 All selected packages: x11-libs/gtk+-3.0.9
 
 I am a gnome user so gtk is important and I notice that it is suggesting
 I remove the highest version.  I decided not to remove it until I
 checked here.  My system is ~amd64
 
 Advice appreciated.
 allan
 

Hi,

you can check with equery d x11-libs/gtk+ if there is a package which
depends on this version. I expect there will be none, otherwise depclean
would not want to remove it.
If you remove it, you can run revdep-rebuild to see if any programs
have broken libs und rebuild them.

Regards
Norman





Re: [gentoo-user] how to forbid dhcp for eth0

2011-01-14 Thread Norman Rieß
Am 01/14/11 06:33, schrieb doherty pete:
 when i start the kernel, it wait long time to dhcp for eth0:
 eth0:dhcped 4.0.15 starting
 eth0:waiting for carrier
 
 i want to forbid dhcp,how can i do?
 

Hi,

configure a static IP or bring up the interface without configuration
with config_eth0=( null )

If you do not want dhcp at all, unmerge dhcpcd.

Regards,
Norman



Re: [gentoo-user] Gentoos community communication rant

2010-09-08 Thread Norman Rieß
On 09/08/10 10:43, Al wrote:

 emails too. But you still get the 'new mails' indicator.

 
 Good, that you finally start to understand that mails have their
 disadvantages in producing noise.
 
 If you would go a step further you will be able to recognize, how this
 puts a cap on the potential userbase of Gentoo.
 
 Al
 

My list mails get sorted in subfolders and only the mails that get in
the main inbox are indicated as new mail. So lists do not generate noise
here.



Re: [gentoo-user] Gentoos community communication rant

2010-09-07 Thread Norman Rieß
On 09/07/10 01:55, Al wrote:
 
 2.) It is not on a public available gentoo server. I first would need
 access to alt.os.linux.gentoo.

I think if you want so run an maintain such a server, it would be welcome.

 3.) It is not synchronized with the mailing list.

It is. At least it was when i used it till a year or so ago.





Re: [gentoo-user] Gentoo 32bit-64bit: How?

2010-09-06 Thread Norman Rieß
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 06.09.2010 19:27, schrieb meino.cra...@gmx.de:
 Hi,
 
 My questions are:
 1) Is there a performance gain, when migrating to 64bit if the 
target applications supports 64bit?
 2) Is it possible - if( true ){  how(); } - to simply
convert a 32bit system to 64 bit.
Simply in my case means: Simpler ways than starting right
from the bare metal of a virgin harddisk and doing the same
stuff I did for the current system again... ;)
 3) Is there some tutorial, which show me the path to go?
 
 Thank you very much in advance for any help!
 
 Best regards,
 mcc
 

The only way i know to migrate to 64bit is a reinstallation. But the
config files are the same of cause, so it should not be so hard as the
first install if you save your /etc and /home.

The CPU vendors tell, that 64bit code is faster on their 64bit capable
CPUs. Personally i newer thought, oh yes i feel it, this is 64bit. If
there is a speed gain, it is marginal or only in special cases.

So if you only want to switch to 64bit because of the memory, you could
also use PAE till you want to reinstall anyway.
Nevertheless 64bit on a 64bit capable CPU seems like the way to go :-).

Regards,
Norman

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMhTaEAAoJEMCA6frkLT6zEsQIAJmzWM4LNu+pK5djZs8xsPjw
xZ5ShiIAAxnHISITxFt8saavYNhJ3kWVqgDpWop0kHjIknK5S+HiXzrADYqIY6I/
ndjANc4p6Gw1B6EiLT5Pwhx2Yhiw32DFqgnQHtkadwEO4+tqz/HU9FnOtpH9r7rD
giBwKi1ugr4ZwAYqerHPnKVx+MvGa0OA+jHA06FTBj8WlckqJp3SOx5NS+auNx5B
YDI3jYUSXLP1IDhJKr2jl/ov8LFswnhAqTQovTfPEe0SsACZDo3y/ELEwPbOOmTn
KawkDreDIgOSncJYnQyngXS4Boe84axJOrq5887NuVsiUCD4EFeJPTx73Mkq2CU=
=iqq/
-END PGP SIGNATURE-



Re: [gentoo-user] Gentoo on 8GB SSD

2010-08-18 Thread Norman Rieß
On 08/17/10 18:59, Stéphane Guedon wrote:
 
 Is a SSD capable of supporting gentoo ? That's a good idea !
 You may be a pionneer ! Let's try...

Not really. Gentoo is running fine on SSD and why wouldn't it. A data
storage device does not care what data it stores.
Gentoo is even running fine on CF.
This is my first hand experience.

Regards
Norman



Re: [gentoo-user] I've been hacked.

2010-05-11 Thread Norman Rieß

Am 05/11/10 08:54, schrieb Grant:

I nmap'ed one of my remote Gentoo servers today and besides the
expected open ports were these:

1080/tcp open  socks
3128/tcp open  squid-http
8080/tcp open  http-proxy

I'm not running any sort of proxy software that I know of and I should
be the only person whatsoever with access to the machine.  'netstat
-l' doesn't show any info on those ports at all so I suppose it's been
hacked as well?  I installed and ran 'rkhunter --check' (what happened
to the chrootkit ebuild?) but it doesn't seem to be much use since I
hadn't established a file of stored file properties.

What do you guys think is going on?  What should I do from here?
   

What does lsof (I'd reinstall it afresh) show with regards to strange users?
What users the above services run under.  If indeed they are not legitimate
and you confirm that they are not being run as packages that you installed,
then I'm afraid the only sane option is to reinstall.
 

Wow.  I'm actually seeing the same thing from other domains I nmap.
Could my ISP have some kind of a weird environment set up that makes
it look like there are ports such as these open on remote systems?
Right now I'm on some kind of a shared connection where everyone has
their own modem or router or whatever it is, but I think everyone's IP
is the same.

- Grant

   

Hello,

looks like, your ISP has a Transparent Proxy Setup running.

Regards,
Norman



Re: [gentoo-user] Checking sanity of system...

2010-04-04 Thread Norman Rieß
Am 04.04.2010 07:18, schrieb meino.cra...@gmx.de:
 Hi,

 this is no security issue in sense of attacks...it is related
 to the consistency of the system.

 Simple question (and may be complicate to answer... ;) )

 How can I check, that my Gentoo system is uptodate, consistent 
 and sane?

 Best regards,
 mcc


   
Hi,

Every Update:
emerge --sync  emerge -uDN world
-- Read the Packagemessages for Instructions.
etc-update# Merge new Configfiles
revdep-rebuild# Identify broken libraries

From time to time:
emerge --deplcean (-p)  revdep-rebuild# Delete old packages and
sort out the resulting broken packages
eclean distfiles# Delete the old source-packages in your distfile repo.

Regards,
Norman




Re: [gentoo-user] mplayer: xvid and lavc

2010-03-18 Thread Norman Rieß

Am 03/18/10 12:20, schrieb Arnau Bria:

Hi all,

I'm trying to add some sub to a video with menconder (following a
receipt).

I run something like:

mencoder mi_video.avi -oac pcm -ovc lavc -lavcopts 
vcodec=xvid:mbd=2:trell:autoaspect -sub mis_subs.srt -subfont-text-scale 3 -o 
video_final.avi

but I get the error:

[...]
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
Cannot find codec 'xvid' in libavcodec...
Couldn't open video filter 'lavc'.
Failed to open the encoder.


I though that building mplayer with xvid support should be enough:

$ eix media-video/mplayer
[I] media-video/mplayer (...)
   
but seems that not it isn't.


and don't know what lavc is...

anyone could tell me what package/s are missing in my system?

TIA

   


Hello,
i allways had problems with lavc so i used xvid in mplayer directly:
mencoder sourcefile -ovc xvid -xvidencopts bitrate=vbitrate -oac mp3lame 
-lameopts abr:br=abitrate  -o result_path


Regards
Norman



Re: [gentoo-user] mplayer: xvid and lavc

2010-03-18 Thread Norman Rieß

Am 03/18/10 13:14, schrieb Arnau Bria:

On Thu, 18 Mar 2010 12:38:01 +0100
Norman Rieß wrote:


   

Hello,
 

Hi Norman,

   

i allways had problems with lavc so i used xvid in mplayer directly:
mencoder sourcefile -ovc xvid -xvidencopts bitrate=vbitrate -oac
mp3lame -lameopts abr:br=abitrate  -o result_path
 

I don't get it  source file is avi file, but where is sub file?

   

Regards
Norman
 

Thanks for your reply,
Cheers
   


Um...it is not the exact command you should use in your case with the 
subs, it is an example on how to bypass the lavc problem.

Producing a working command, that suits _your_ needs is still your job ;-).





Re: [gentoo-user] ati-drivers: no kernel found?

2010-03-11 Thread Norman Rieß

Am 03/11/10 11:23, schrieb Arnau Bria:


lx-arnau linux # ls /usr/src/linux
arch   crypto   firmware  include  ipc lib  Module.markers  Module.symvers  
scripts   sound   usr   vmlinux
block  drivers  fsinit kernel  mm   modules.order   net 
security  System.map  virt  vmlinux.o

lx-arnau linux # ls -lsa /usr/src/linux/.config
92 -rw-r--r-- 1 root root 87932 2010-03-11 11:16 /usr/src/linux/.config

so, why is ati complaining aboput my kerel conf?

TIA,
   


This listing is not a complete kernel set. Did you do a emerge 
--depclean lately?

Reemerge you kernel ebuild and do a make oldconfig to be sure.

Then try it again.

Norman



Re: [gentoo-user] ati-drivers: no kernel found?

2010-03-11 Thread Norman Rieß

Am 03/11/10 11:55, schrieb Arnau Bria:

On Thu, 11 Mar 2010 11:31:03 +0100
Norman Rieß wrote:

[...]
   

This listing is not a complete kernel set.
 

For curiosity, what is missing? make oldconfing?¿

   

Did you do a emerge  --depclean lately?
 

yep.

   

Reemerge you kernel ebuild and do a make oldconfig to be sure.
 

I'm with r6 and gentoo-sources is at r10, is it important? do Ihave to
remerge r6 too?

   

Then try it again.

Norman
 

Thanks,
Arnau


   


A complete listing looks like this:
bragi linux # ls
arch   drivers   Kbuild   modules.builtin  samples usr
block  firmware  kernel   modules.orderscripts virt
COPYINGfslib  Module.symvers   securityvmlinux
CREDITSinclude   MAINTAINERS  net  sound   vmlinux.o
crypto init  Makefile README   System.map
Documentation  ipc   mm   REPORTING-BUGS   tools
bragi linux #

Depclean seems to delete some parts of the kernel directory if you have 
a newer kernel ebuild available. Had that too, once.
Which release you use r6 or r10 is your choise. r10 is newer with more 
security patches and such, so i would say you should use that one.

Do you know how to deal with a kernel update?

Norman




Re: [gentoo-user] Gentoo on SSD

2010-02-16 Thread Norman Rieß

Am 02/16/10 10:28, schrieb alain.didierj...@free.fr:

I'm thinking of re-installing Gentoo on an Intel 40 Megs SSD -- excluding the
most often writen dirs like /var, /tmp, /home --. What do you think ? I'll be
glad to hear about previous experiences. What about swap ? Is it safe to have it
on the SSD ?

   

Hi,

i have a Gentoo System on SSD running for a while now. No problems.

Regards,
Norman



Re: [gentoo-user] Howto generate a list of installed packages?

2009-12-28 Thread Norman Rieß
Alan E. Davis wrote:
 Season's Greetings to one and all.

 I would like to be able to generate a script or list of packages of
 some kind that would enable me to install Gentoo with an identical
 profile of installed packages.  Since with Debian/Ubuntu one can run
dpkg --get-selections  file
 and
dpkg --set-selections  file
 (or some such), one imagines that the Gentoo gurus/magicians are able
 to do something similar.

 It takes me months to get a new machine up to speed.  In fact, I have
 just realized I don't have tcsh installed, something I hardly EVER
 use, but need to run a one of a kind script. 

 Can anyone make a suggestion?  Am I missing something?

 Thanks

 Alan Davis
/var/lib/portage/world contains all packages you installed. Copy that
file over to you new system and do a emerge --sync  emerge -puDN world
and you should be done.

Norman



[gentoo-user] Question about sfdisk

2009-06-25 Thread Norman Rieß

Hello,

i am trying to change the partitionlayout of a disk with sfdisk in a script.
Partitioning works fine. But now i want to leave a partition untouched.
So how can i ignore a certain partition?

With input like
,,,
,42000,7,*
,148000,7,

or

;
,42000,7,*
,148000,7,

the first line of course grabs all the space an the other lines raise an 
error.


Regards
Norman




Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-12 Thread Norman Rieß

Grant schrieb:

Leave INTERFACES blank. As you keep the networks seperated, hostapd does not
depend on any other devices.
wlan0 is initialized by hostapd. So you are good to go.
The accesspoint itself, so to say the wlan part does not have any IP adress,
at it is merely a connectionpoint for normal wlan systems. The IP adress to
your device however is defined by the other nics. In your case eth1.



I don't have eth1 set up yet.  For now I just want eth0 on the WAN and
wlan0 on the LAN.  eth0 dhcp's from my ISP, but I need to specify a
local IP address for my LAN somewhere right?

  


wlan0 in master mode does _not_ have an IP adress. So far eth0 is the 
only ip adress your device has.
If you do not spezify a local ip adress on eth1, you will not have any 
local ip adress.



For the shorewall business, you have to tell, what you want to do with
shorewall exactely.
I dare say you have a wlan zone as your AP and a loc zone with eth1. As i am
using bridging i can not tell you if and how shorewall responds.
But if you want to keep eth1 an wlan0 seperate, what so you need shorewall
for?



Since the AP system is also the router, I use shorewall for NAT, port
closing, port forwarding, and packet shaping.  shorewall gives an
empty loc zone error if I don't have net.wlan0 started because wlan0
is the only loc interface.

- Grant

  
You can let shorewall depend on hostapd, so your shorewall starts after 
hostapd and your wlan0.

Check the depend() section in shorewalls rc-script.



Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-12 Thread Norman Rieß

Grant schrieb:

Leave INTERFACES blank. As you keep the networks seperated, hostapd does
not
depend on any other devices.
wlan0 is initialized by hostapd. So you are good to go.
The accesspoint itself, so to say the wlan part does not have any IP
adress,
at it is merely a connectionpoint for normal wlan systems. The IP adress
to
your device however is defined by the other nics. In your case eth1.



I don't have eth1 set up yet.  For now I just want eth0 on the WAN and
wlan0 on the LAN.  eth0 dhcp's from my ISP, but I need to specify a
local IP address for my LAN somewhere right?


  

wlan0 in master mode does _not_ have an IP adress. So far eth0 is the only
ip adress your device has.
If you do not spezify a local ip adress on eth1, you will not have any local
ip adress.



I'm very confused.  I've been running wlan0 in master mode for about 3
years with IP 192.168.0.1 and no eth1.  Here was my entire
/etc/conf.d/net:

config_eth0=( dhcp )
mode_wlan0=( master )
essid_wlan0=( networkname )
channel_wlan0=( 11 )
config_wlan0=( 192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0 )

All I'm trying to do is switch wireless drivers from madwifi-ng to the
in-kernel ath5k.  With madwifi-ng, I started net.wlan0, started
hostapd, and started shorewall and everything worked perfectly.  Now
with ath5k, net.wlan0 won't start in master mode.  This causes 2
problems:

1. I can't specify a local IP for wlan0 in /etc/conf.d/net like I've
been doing for years.
2. shorewall checks whether or not net.wlan0 has started because wlan0
is the only device in zone loc, so shorewall won't start.

So I'm required to have an eth1 because I'm switching from madwifi-ng
to ath5k?  That doesn't seem right.

  

For the shorewall business, you have to tell, what you want to do with
shorewall exactely.
I dare say you have a wlan zone as your AP and a loc zone with eth1. As i
am
using bridging i can not tell you if and how shorewall responds.
But if you want to keep eth1 an wlan0 seperate, what so you need
shorewall
for?



Since the AP system is also the router, I use shorewall for NAT, port
closing, port forwarding, and packet shaping.  shorewall gives an
empty loc zone error if I don't have net.wlan0 started because wlan0
is the only loc interface.

- Grant


  

You can let shorewall depend on hostapd, so your shorewall starts after
hostapd and your wlan0.
Check the depend() section in shorewalls rc-script.



I'm confused here too.  shorewall seems to be checking whether or not
net.wlan0 has started, not whether the wlan0 interface is up.  Trying
to start shorewall after hostapd has started results in the same error
described above because net.wlan0 hasn't been started.

- Grant

  


Well, madwifi-ng is a matured project with an insanely great featureset.
ath5k ap mode till this day is not activated in the kernel. You have to 
activate it with a code patch, the gentoo rc-script can not cope with it 
yet. hostapd needs to be a new version and has to initialize the device 
itself.
Of course you can not expect the same features and easy to use behaviour 
from such an experimental software.


You seem to have a working setup, which suits your needs. Unless you 
have a serious reason i would not change a running and supported system.




Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-12 Thread Norman Rieß

Stroller schrieb:


On 12 Jun 2009, at 16:38, Grant wrote:

...
OK, thank you Norman.  The reason I'm trying to switch (this is my
third serious attempt) is some kind of a bug that crashes the system
when SMP is enabled and the madwifi driver is in master mode.  I've
been running without SMP, but I could really use the extra power.


That's interesting. I had an old 4 x processor machine running as an 
access-point (madwifi or madwifi-ng) running in master mode for at 
least a year or two. It was unstable as heck, and I never attributed 
it to this. It would, however, stay up for days or weeks at a time.


Maybe this bug has crept in more recently? I'm not sure that it will 
apply to my new system (on which I'd like to run an AP, as soon as I 
get round to it) as that is a single processor P4.



Do you know if there is better Gentoo support for this on the horizon?


I did find the dev uberlord immensely helpful when I was first doing 
this. He was the baselayout guy at the time, although I don't know if 
he still is or if you might be able to get hold of him.


IMO the first thing to do is get the AP up  running without resort to 
the Gentoo init.d scripts. Try allocating an IP address to wlan0 just 
using `ifconfig` as root. If that works then you know the hardware  
principles of operation are all ok.


Stroller.


I would recomment the same thing. Play around manualy. Find out what 
works and what does not. And if you found a manual way, you can start 
scriptworkarounds and automating things.




Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-11 Thread Norman Rieß

Grant schrieb:

Thanks for the clarification Norman :-)

ok, I removed net.wlan0 so it doesn't start up anymore. My computer
booted
up and all the services are working the way they should, however I am
having a problem getting hostapd to start. Here is the error I get when
I
tried to start up hostapd...

penguin ~ # /etc/init.d/hostapd start
* Bringing up interface wlan0
*   Configuring wireless network for wlan0
*   Scanning for access points
* no access points found
*   Failed to configure wireless for wlan0
* ERROR: net.wlan0 failed to start
* ERROR: cannot start hostapd as net.wlan0 would not start

It's suppose to be an access point, not scanning for one so do you have
any idea what I should do now?




  

Did you remove wlan0 from the /etc/conf.d/hostapd file?





No, should I just leave it empty?
INTERFACES=

What about /etc/hostapd/hostapd.conf?
Do I leave it like this...
interface=wlan0
...or remove that line too?


  

INTERFACES should at least contain the bridge device. The wired NIC does not
hurt either.
In /etc/hostapd/hostapd.conf wlan0 is needed to tell hostapd which device it
has to initialize, so leave it like this.



I've almost got this working, but I don't know what to include in the
/etc/conf.d/hostapd INTERFACES variable since I don't have a br0
device or configuration.  Do I need one?  If I leave INTERFACES empty
and I don't start net.wlan0, I don't have a way to define the IP
address for the AP, and shorewall's loc zone is empty because
net.wlan0 hasn't started.

- Grant

  
What do you want to do with your accesspoint. You will need a bridge to 
a wired network if you want your ap attached to that wired network. This 
is quite usual though...
Without a bridge to a wired network, only the wlan systems are connected 
and can not connect to your wired systems.




Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-11 Thread Norman Rieß



What do you want to do with your accesspoint. You will need a bridge to a
wired network if you want your ap attached to that wired network. This is
quite usual though...
Without a bridge to a wired network, only the wlan systems are connected and
can not connect to your wired systems.



That's no problem, I'm OK with keeping eth1 and wlan0 separate.  Right
now I just want to get wlan0 working.  Do you know how to do that?  I
can't start net.wlan0 because it chokes on master mode, so I don't
know how to specify an IP for the AP or how to fill shorewall's loc
zone as that is normally filled by net.wlan0.

- Grant

  
Leave INTERFACES blank. As you keep the networks seperated, hostapd does 
not depend on any other devices.

wlan0 is initialized by hostapd. So you are good to go.
The accesspoint itself, so to say the wlan part does not have any IP 
adress, at it is merely a connectionpoint for normal wlan systems. The 
IP adress to your device however is defined by the other nics. In your 
case eth1.
For the shorewall business, you have to tell, what you want to do with 
shorewall exactely.
I dare say you have a wlan zone as your AP and a loc zone with eth1. As 
i am using bridging i can not tell you if and how shorewall responds.
But if you want to keep eth1 an wlan0 seperate, what so you need 
shorewall for?




Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-10 Thread Norman Rieß

Jason Carson schrieb:

Thanks for the clarification Norman :-)

ok, I removed net.wlan0 so it doesn't start up anymore. My computer booted
up and all the services are working the way they should, however I am
having a problem getting hostapd to start. Here is the error I get when I
tried to start up hostapd...

penguin ~ # /etc/init.d/hostapd start
* Bringing up interface wlan0
*   Configuring wireless network for wlan0
*   Scanning for access points
* no access points found
*   Failed to configure wireless for wlan0
* ERROR: net.wlan0 failed to start
* ERROR: cannot start hostapd as net.wlan0 would not start

It's suppose to be an access point, not scanning for one so do you have
any idea what I should do now?


  

Did you remove wlan0 from the /etc/conf.d/hostapd file?



Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-10 Thread Norman Rieß

Jason Carson schrieb:

Jason Carson schrieb:


Thanks for the clarification Norman :-)

ok, I removed net.wlan0 so it doesn't start up anymore. My computer
booted
up and all the services are working the way they should, however I am
having a problem getting hostapd to start. Here is the error I get when
I
tried to start up hostapd...

penguin ~ # /etc/init.d/hostapd start
* Bringing up interface wlan0
*   Configuring wireless network for wlan0
*   Scanning for access points
* no access points found
*   Failed to configure wireless for wlan0
* ERROR: net.wlan0 failed to start
* ERROR: cannot start hostapd as net.wlan0 would not start

It's suppose to be an access point, not scanning for one so do you have
any idea what I should do now?



  

Did you remove wlan0 from the /etc/conf.d/hostapd file?




No, should I just leave it empty?
INTERFACES=

What about /etc/hostapd/hostapd.conf?
Do I leave it like this...
interface=wlan0
...or remove that line too?

  
INTERFACES should at least contain the bridge device. The wired NIC does 
not hurt either.
In /etc/hostapd/hostapd.conf wlan0 is needed to tell hostapd which 
device it has to initialize, so leave it like this.




Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-10 Thread Norman Rieß

Jason Carson schrieb:

Alright, I have done everything you have suggested but when hostapd tries
to start I am getting this error...

penguin ~ # /etc/init.d/hostapd start
* Starting hostapd...
Configuration file: /etc/hostapd/hostapd.conf
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=5 eloop_data=0x80f1a38 user_data=(nil)
handler=0x8091790
* start-stop-daemon: failed to start `/usr/sbin/hostapd'  
   [ !! ]

* ERROR: hostapd failed to start

Do you have any idea why this is happening?


  

Not quite...
What kernelsettings do you activate for you wlan?



Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-10 Thread Norman Rieß

Jason Carson schrieb:

Jason Carson schrieb:


Alright, I have done everything you have suggested but when hostapd
tries
to start I am getting this error...

penguin ~ # /etc/init.d/hostapd start
* Starting hostapd...
Configuration file: /etc/hostapd/hostapd.conf
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=5 eloop_data=0x80f1a38 user_data=(nil)
handler=0x8091790
* start-stop-daemon: failed to start `/usr/sbin/hostapd'
   [ !! ]
* ERROR: hostapd failed to start

Do you have any idea why this is happening?



  

Not quite...
What kernelsettings do you activate for you wlan?




I used the kernel settings mentioned here...
http://linuxwireless.org/en/users/Drivers/ath5k#Enabling_ath5k
...but I built everything directly into the kernel, NOT as modules.

I have attached my .config to this email so you can see if I am missing
anything.

I also activated

CONFIG_HOSTAP=y
CONFIG_HOSTAP_FIRMWARE=y
CONFIG_HOSTAP_FIRMWARE_NVRAM=y

but i think i found the real reason.
I checked the 2.6.29.x ath5k base.c and found, that the AP code is still 
dormant.

You need to apply this patch:

--- linux-2.6.29/drivers/net/wireless/ath5k/base.c  2009-02-10
06:11:43.186470883 +0100
+++ linux-2.6.29/drivers/net/wireless/ath5k/base.c.old
2008-11-14 09:36:40.0 +0100
@@ -522,6 +501,7 @@
  hw-wiphy-interface_modes =
  BIT(NL80211_IFTYPE_STATION) |
  BIT(NL80211_IFTYPE_ADHOC) |
+   BIT(NL80211_IFTYPE_AP) |
  BIT(NL80211_IFTYPE_MESH_POINT);

  hw-extra_tx_headroom = 2;

Open the file 
/usr/src/linux-yourversion/drivers/net/wireless/ath5k/base.c, search for


hw-wiphy-interface_modes

and the apply the line

BIT(NL80211_IFTYPE_AP) |

between these lines.
Rebuild and install the kernel.

Background: The AP code is there, but it is not activated yet. This line 
activates it.
I thought newer 2.6.29er kernels do not have this restriction, so i did 
not think of this, but apparently they do.




Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-09 Thread Norman Rieß

Jason Carson schrieb:

Greetings,

I am trying to setup a wireless access point using the atheros kernel
driver (Built into the kernel, not as a module). I am using
Vanilla-Sources 2.6.29.4. I need my wireless network card to start up in
master mode but for some reason it is starting up in managed mode.


When wlan0 starts up I get this error message...


* Bringing up interface wlan0
*configuring wireless network for wlan0
Error for wireless request Set Mode (8B06) :
   SET failed on device wlan0 ; invalid argument.
*wlan0 connected to SSID MyNetwork
*in managed mode (WEP Disabled)
*  null...[ ok ]


then when hostapd starts up I get this error message...


* Starting hostapd...
Configuration file: /etc/hostapd/hostapd.conf
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=5 eloop_data=0x80f5a38 user_data=(nil)
handler=0x8094b70
* start-stop-daemon: failed to start `/usr/sbin/hostapd'  
 [ !! ]

* ERROR: hostapd failed to start


Here is my /etc/conf.d/net


config_eth0=69.196.152.151 netmask 255.255.255.0 broadcast 69.196.152.255
config_eth1=null
config_wlan0=null
bridge_br0=eth1 wlan0
config_br0=192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255
channel_wlan0=1
mode_wlan0=master
essid_wlan0=MyNetwork


Here is my hostapd.conf


interface=wlan0
bridge=br0
driver=nl80211
ssid=MyNetwork
hw_mode=g
channel=1
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
country_code=CA
wpa=1
wpa_passphrase=passphrase
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP


Anyone know how to change my wireless card to master mode and make it so
I don't get those error messages?


Thanks


P.S. I have everything working with madwifi and an older kernel so worst
case scenario I stay with that configuration until I get this problem
figured out.


  

Hello,

do _NOT_ initialize the master mode of your nic with the rc-script. Let 
hostapd do that. rc-script will fail!

So your /etc/conf.d/net would look like this:

config_eth0=69.196.152.151 netmask 255.255.255.0 broadcast 69.196.152.255
config_eth1=null
config_wlan0=null
bridge_br0=eth1 wlan0
config_br0=192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255



Regards Norman




Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-09 Thread Norman Rieß

Jason Carson schrieb:

Hey Norman,

I tried changing my /etc/conf.d/net to what you suggested but it resulted
in the following errors...

*Bringing up interface wlan0
* Configuring wireless network for wlan0
* Scanning for access points
*no access points found
* Failed to configure wireless for wlan0

Then because wlan0 wouldn't start I got a bunch of errors like...

* Error: cannot start named as net.wlan0 would not start
* Error: cannot start sshd as net.wlan0 would not start
* Error: cannot start apache2 as net.wlan0 would not start
etc...




  

This is still rc-script output... do not use the rc-script. Do not start it!
Your errors would be, because you have to detach these services from 
wlan0 and let them use the bridge.


Here is some output from my box:

mimir ~ # rc-update -s -v | grep net
  local |  default nonetwork   
net.br0 |  default 
   net.eth0 |  default 
 net.lo | boot 
   netmount |  default 
mimir ~ # ifconfig wlan0
wlan0 Protokoll:Ethernet  Hardware Adresse 00:80:48:5e:57:3d 
 inet6 Adresse: fe80::280:48ff:fe5e:573d/64 
Gültigkeitsbereich:Verbindung

 UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
 RX packets:48 errors:0 dropped:0 overruns:0 frame:0
 TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
 Kollisionen:0 Sendewarteschlangenlänge:1000
 RX bytes:7344 (7.1 KiB)  TX bytes:14190 (13.8 KiB)

mimir ~ # ls /etc/init.d/net.*
/etc/init.d/net.br0  /etc/init.d/net.eth0  /etc/init.d/net.lo

As you can see, there is no rc-script on wlan, but it is initialized an 
running in AP mode.


Regards
Norman





Re: [gentoo-user] What annoys you?

2009-04-04 Thread Norman Rieß
I am annoyed by a little more generous thing lately, which i am afraid
isn't fixable by a summer of code. But you wanted to know what annoys
me, so here it is.

There was a lib update, that broke sancho a while ago. A new version of
sancho fixed this. But i had to use this new version from the developers
site, because even ~arch package was several versions lower.
Some weeks ago the oscar protocol or something was changed and pidgin
was not able to login to icq. New version fixed this instantly, but it
took a while till this version hit ~arch. Again i had to install a
program outside of portage.
Gnome 2.26 was released and 2.24 hit portage around that time.
I just built me an openbox desktop today. Google and Openbox Hompage
show quite a few docks which can be used. None of them is in portage or
it is hardmasked. There where two docks available, one segfaulted! I
found a great taskbar named tint2, not in portage. I compiled it and it
works perfectly.

This is what annoys me most lately. And yes, i am planning on reading
into ebuild stuff and trying to contribute.

regards
Norman




Re: [gentoo-user] Gentoo and Madwifi contradict each other

2009-02-22 Thread Norman Rieß
Grant schrieb:
 The madwifi/ath5k guys say it should work in 2.6.28 which I'm on.  The
 latest is I'm getting this directly from hostapd:

 Failed to set interface ath0 to master mode.
 nl80211 driver initialization failed.
 rmdir[ctrl_interface]: No such file or directory
 ELOOP: remaining socket: sock=5 eloop_data=...

 I'm sure my procedure is correct now, but I don't know why ath0 won't
 go into master mode.

 - Grant

   


Hi,
i have been, through that lately an it is not that out of the box. Here
is what i put together from linux-wireless mailinglist and trial and error:

1. Master mode on ath5k is there, but not activated and not in 2.6.28.
Mainly from this thread i got the kernel stuff and settings
http://marc.info/?t=12265272074r=1w=2
I use the latest git pull from http://linuxwireless.org/. The AP mode
needs still to be activated:

--- wireless-testing/drivers/net/wireless/ath5k/base.c  2009-02-10
06:11:43.186470883 +0100
+++ wireless-testing/drivers/net/wireless/ath5k/base.c.old
2008-11-14 09:36:40.0 +0100
@@ -522,6 +501,7 @@
   hw-wiphy-interface_modes =
   BIT(NL80211_IFTYPE_STATION) |
   BIT(NL80211_IFTYPE_ADHOC) |
+   BIT(NL80211_IFTYPE_AP) |
   BIT(NL80211_IFTYPE_MESH_POINT);

   hw-extra_tx_headroom = 2;

Now you have a kernel and a ath5k module capable of master mode.

2. You need ~arch version of hostapd. Stable version did not do the
trick for me.
3. I needed to modify the startscripts. I removed the net.wlan0 link
completely, as it does not seem to be able to initialize the ap mode,
but is loaded automaticaly even when it is not set to boot in a spezific
runlevel. So you need hostapd to initialize the wlan-nic. hostapd script
wants to start all networkinterfaces with the rc-scripts, so i edited
the script, to start my bridge an the wired card only and leave out the
wlan-nic. I think this is a little redundant to removing the net.wlan0
script.

Sometimes while testing, the interface did not shut down properly and
hostapd could not initialize them any more. So i had to set them down
manually with iwconfig. After that hostapd could use them again.

This is clearly not yet meant to be used in a productive environment, as
the devs clearly stated in the postet threads on wireless-linux.


Regards,
Norman



Re: [gentoo-user] Gentoo and Madwifi contradict each other

2009-02-22 Thread Norman Rieß
Grant schrieb:
 Hi,
 i have been, through that lately an it is not that out of the box. Here
 is what i put together from linux-wireless mailinglist and trial and error:

 1. Master mode on ath5k is there, but not activated and not in 2.6.28.
 Mainly from this thread i got the kernel stuff and settings
 http://marc.info/?t=12265272074r=1w=2
 I use the latest git pull from http://linuxwireless.org/. The AP mode
 needs still to be activated:

 --- wireless-testing/drivers/net/wireless/ath5k/base.c  2009-02-10
 06:11:43.186470883 +0100
 +++ wireless-testing/drivers/net/wireless/ath5k/base.c.old
 2008-11-14 09:36:40.0 +0100
 @@ -522,6 +501,7 @@
   hw-wiphy-interface_modes =
   BIT(NL80211_IFTYPE_STATION) |
   BIT(NL80211_IFTYPE_ADHOC) |
 +   BIT(NL80211_IFTYPE_AP) |
   BIT(NL80211_IFTYPE_MESH_POINT);

   hw-extra_tx_headroom = 2;

 Now you have a kernel and a ath5k module capable of master mode.

 2. You need ~arch version of hostapd. Stable version did not do the
 trick for me.
 3. I needed to modify the startscripts. I removed the net.wlan0 link
 completely, as it does not seem to be able to initialize the ap mode,
 but is loaded automaticaly even when it is not set to boot in a spezific
 runlevel. So you need hostapd to initialize the wlan-nic. hostapd script
 wants to start all networkinterfaces with the rc-scripts, so i edited
 the script, to start my bridge an the wired card only and leave out the
 wlan-nic. I think this is a little redundant to removing the net.wlan0
 script.

 Sometimes while testing, the interface did not shut down properly and
 hostapd could not initialize them any more. So i had to set them down
 manually with iwconfig. After that hostapd could use them again.

 This is clearly not yet meant to be used in a productive environment, as
 the devs clearly stated in the postet threads on wireless-linux.


 Regards,
 Norman
 

 Thanks a lot Norman.  I've got to remember not to ride the bleeding
 edge.  Removing wlan0 from /etc/conf.d/hostapd didn't prevent hostapd
 from starting it?

 - Grant

   
Removing wlan0 from /etc/conf.d/hostapd is not what you would want, as
you wish hostapd to use wlan0.
The init scripts are not able to set up master mode correctly and bring
up an error or set up wlan0 interface in a false mode so hostapd can not
set it up any more.
So i set up my init to completely ignore wlan0 till hostapd handles it.
Somehow hot- or coldplug initialized the net.wlan0 script anyway, so i
removed it completely.
Basicly it is moving over the handling of wlan0 from rc-scripts to hostapd.

One thing,you might stumble accross later on. In hostapd.conf provide
the wpa key in hex, not in phrase. phrase coused authentication errors
for me an for one guy in the thread i talked about earlier.
Otherwise the system runs fine and stable now. I hope there will be a
less messy init-setting soon, as this functions get stabilized.

Norman




Re: [gentoo-user] Gentoo and Madwifi contradict each other

2009-02-22 Thread Norman Rieß
Grant schrieb:
 Removing wlan0 from /etc/conf.d/hostapd is not what you would want, as you
 wish hostapd to use wlan0.
 The init scripts are not able to set up master mode correctly and bring up
 an error or set up wlan0 interface in a false mode so hostapd can not set it
 up any more.
 So i set up my init to completely ignore wlan0 till hostapd handles it.
 Somehow hot- or coldplug initialized the net.wlan0 script anyway, so i
 removed it completely.
 

 Can you be more specific about what you did?  Did you just remove the
 wlan0 initscript, or did you also make an initscript modification?  If
 so, could you share your modification?

   
Sure.
I removed the net.wlan0 script, or better, i never created it.
I modified the init.d/hostapd script, not to depend on all interfaces
but on only those, which i need:

/etc/init.d/hostapd
depend() {
need net.br0
need net.eth0
use logger
}

As i said earlier, this is kind of redundant as it is possible, that
without the script, hostapd would not start that interface. But i can
not tell, i never tested it.

 Basicly it is moving over the handling of wlan0 from rc-scripts to hostapd.
 

 That's why I thought removing wlan0 from /etc/conf.d/hostapd would be
 appropriate.

 - Grant
   
Damnit, you are right, i should have read the text.

After looking over this setting with a little distance for this thread,
10 days after setting this up and with yout hint, i feel this could be
smoothed up significantly ;-). So thanks for that. I think i will put
some energy in it tomorrow.

Norman



Re: [gentoo-user] Gentoo and Madwifi contradict each other

2009-02-22 Thread Norman Rieß
Grant schrieb:
 Still no luck for me with master mode, even after editing
 wireless-testing/drivers/net/wireless/ath5k/base.c.  2.6.28 is
 supposed to work but I'm wondering if it's not in 2.6.28-hardened or
 something.  I still get Failed to set interface ath0 to master mode
 from hostapd.

 - Grant

   
2.6.28 did not work for me either.
Get the wireless-testing kernel as described here:
http://linuxwireless.org/en/developers/Documentation/git-guide
Apply the modification to ath5k/base.c.

You will have a 2.6.29-rc kernel with wireless-testing modifications.
This one should do the trick.

Norman



Re: [gentoo-user] Gentoo and Madwifi contradict each other

2009-02-22 Thread Norman Rieß
Grant schrieb:


 I'm a step closer in 2.6.28 after applying this patch:

 --- wireless-testing.orig/net/mac80211/cfg.c 2008-10-28 10:32:35.0 
 +0200
 +++ wireless-testing/net/mac80211/cfg.c 2008-10-28 10:32:40.0 +0200

 @@ -26,6 +26,8 @@

 #ifdef CONFIG_MAC80211_MESH
 case NL80211_IFTYPE_MESH_POINT:
 #endif
 + case NL80211_IFTYPE_AP:
 + case NL80211_IFTYPE_AP_VLAN:
 case NL80211_IFTYPE_WDS:
 return true;
 default:

 The interface will go into master mode now but it errors when trying
 to set the channel.  Are you using an AR5xxx?

 - Grant

   
 Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC
(rev 01)



Re: [gentoo-user] Re: homemade nas setup

2009-01-31 Thread Norman Rieß
Harry Putnam schrieb:
 Norman Rieß nor...@smash-net.org writes:

   Is it connected into 10/100 or 1000 (gigabit) setup?
   

   
 It is a gigabit setup. NFS read is about 30-34MB/s, writing is
 considerably slower with 15MB/s. So writing is a bit slow. But as i do
 not need fast storage i did not investigate. And it must be mentioned,
 that the whole data is in AES.
 

 Being AES should have a pretty dramatic impact right? or is it not
 decrypted and just bounced from one place to another?

   

Yes AES has some impact. These are the speeds with de/encryption.



Re: [gentoo-user] homemade nas setup

2009-01-30 Thread Norman Rieß
Harry Putnam schrieb:
 A few I can think of are space and noise.. but having never been
 around our run a nas setup... I'm not sure if that is really true.

 Anyway, a few thoughts on what I might be running into doing it myself,
 or missing compared to storebought.  Maybe maintenance
 considerations.. or whatever, would be welcome.

   

I am running my old AthlonXP system with 2 gig ram, a minimal
installation on a small extra disk, 3 disks for data as raid 5 and some
crypto, as a home nas. The system is build from spare parts except the
data disks and a small sata controller, which i had to buy. The old
miditower resides in a lumber-room under a shelf. So noise and space is
no problem. Of course you could build such a system in a smaller case.

The system only runs nfs, samba and a cups server. I do not use some
fancy guis or anything like that. So settings have to be made in the
config files manualy, except the cupsd which brings a web gui. Maybe
that is something some people would miss. But i do not think a gentoo
user would care.

As maintainence i do ,beside the regular emerge --sync and updates, a
raidcheck every weekend, but that can be cronjobed of course.

One point i feel mentionable is scalability. You buy a home nas with two
disks and you are stuck with that two disks because the case can not
handle more than that. Your do-it-yourself nas can do that.
It is a point of personal liking i think. I mean, you buy a home nas
click 5 minutes in the gui an you are done. Selfmade nas needs
understanding of the system, setting the whole thing up and some
configfile changes every now and then.

Regards
Norman



Re: [gentoo-user] Re: homemade nas setup

2009-01-30 Thread Norman Rieß
Harry Putnam schrieb:
 Norman Rieß nor...@smash-net.org writes:

   
 The system only runs nfs, samba and a cups server. I do not use some
 fancy guis or anything like that. So settings have to be made in the
 config files manualy, except the cupsd which brings a web gui. Maybe
 that is something some people would miss. But i do not think a gentoo
 user would care.
 

 Have you timed any thing like write speeds across the network to this
 box? 

 Is it connected into 10/100 or 1000 (gigabit) setup?


   
It is a gigabit setup. NFS read is about 30-34MB/s, writing is
considerably slower with 15MB/s. So writing is a bit slow. But as i do
not need fast storage i did not investigate. And it must be mentioned,
that the whole data is in AES.

I use this share like a local harddisk. There is nothing like Oh, this
is on remote storage, i will do random thing differently. I do
everything i do on a local disk, and i did not find anything that would
not work due to lack of performance. Admitted i do not do much
performancecritical stuff.



Re: [gentoo-user] Network printing

2009-01-13 Thread Norman Rieß
Peter Humphrey schrieb:
 On Monday 12 January 2009 20:12:16 Norman Rieß wrote:

   
 So here is the screenshot.
 http://www.smash-net.org/bilder/cups.png
 Notice: loki is the client and asgard is the server connected to the
 printer.

 The upper left shell shows the configuration cupsd.conf on the _server_.
 You see the Allow  statements in the Location-tags. These
 statements configure which IP's shall be allowed to print and browse the
 configuration-webpage.
 In the browser you see the webpage on the server. I am sorry it is in
 german, but i guess you will get the point. You see the printer
 connected and configured there.
 That is all on the serverside.

 Bottom left you see a cat of the client.conf with its only statement,
 the cupsserver. You do _not_ configure printers here!
 You see the lpstat sees the printer on the server. And you see the gedit
 printingdialog sees the printer.
 

 Thanks. That's exactly what I have. Do you have ldap in your print server's 
 cups USE flags? Or gnutls?

   
These are my flags:

USE=-X -gtk -gtk2 -qt3 -qt4 -gnome -kde unicode nls samba mmx sse 3dnow
-mysql
USE=3dnow acl apache2 berkdb bzip2 cli cracklib crypt cups dri fortran
gdbm gpm iconv ipv6 isdnlog ldap mailwrapper midi mmx mudflap ncurses
nls nptl nptlonly openmp pam pcre perl pppd python readline reflection
samba session snmp spl sse ssl sysfs tcpd truetype unicode x86 xml xorg
zlib

package.use
net-print/cups jpeg nls pam png ppds ssl tiff X





Re: [gentoo-user] Network printing

2009-01-13 Thread Norman Rieß
Peter Humphrey schrieb:

 Why two statements, with duplicate elements?
   

The first line are the useflags from make.conf.
Second are the userflags from emerge --info, so make.conf + profileflags.
   
 package.use
 net-print/cups jpeg nls pam png ppds ssl tiff X
 

 So you do have ldap specified. I'll try recompiling cups with ldap and see 
 what that does. Thanks.

   
Yes, but i do not use ldap in my network.




Re: [gentoo-user] Network printing

2009-01-12 Thread Norman Rieß
Peter Humphrey schrieb:
 Are you telling me that the printers the server knows of should appear in 
 the client's cups web page automatically? That certainly doesn't happen, 
 which is why I've been trying to tell the client where to find its 
 printers.

   
No the webpage only runs on the server which is connected to the printers.
On that page, you should be able to see all printers connected to that
server. If not, then you have to add them.

The only thing you have to tell the clients is the name of your server
the printers are connected to in the client.conf file.
The applications on the client should see all printers on the server
automatically then.
The cupsd doesn't even need to be started on the clients.
 This looks important (trimming time  date etc.):
 cupsdAcceptClient: 8 from 192.168.2.6:631 (IPv4)
 cupsdReadClient: 8 POST / HTTP/1.1
 cupsdAuthorize: No authentication data provided.
 cupsdSendError: 8 code=403 (Forbidden)
 cupsdCloseClient: 8

 (The log is taken from the server after running lpstat -a on the client; the 
 IPv4 address shown is the client.)

 What kind of authentication data does that mean? User ID confirmation? SSH 
 keys? As far as I know I haven't done anything particular to SSH or SSL. The 
 Gentoo printing guide doesn't mention gnutls or ldap, so I haven't set them 
 up, or even installed them.
   

I assume the printers are not configured correctly on the server.
When i am home from work i will be able to provide some screenshots to
make things clearer.

Regards
Norman




Re: [gentoo-user] Network printing

2009-01-12 Thread Norman Rieß
Norman Rieß schrieb:
 When i am home from work i will be able to provide some screenshots to
 make things clearer.

 Regards
 Norman


   
So here is the screenshot.
http://www.smash-net.org/bilder/cups.png
Notice: loki is the client and asgard is the server connected to the
printer.

The upper left shell shows the configuration cupsd.conf on the _server_.
You see the Allow  statements in the Location-tags. These
statements configure which IP's shall be allowed to print and browse the
configuration-webpage.
In the browser you see the webpage on the server. I am sorry it is in
german, but i guess you will get the point. You see the printer
connected and configured there.
That is all on the serverside.

Bottom left you see a cat of the client.conf with its only statement,
the cupsserver. You do _not_ configure printers here!
You see the lpstat sees the printer on the server. And you see the gedit
printingdialog sees the printer.

Norman





Re: [gentoo-user] Network printing

2009-01-10 Thread Norman Rieß
Peter Humphrey schrieb:

 Of course it should. It does not. I simply cannot find the necessary 
 invocations and USE flags etc. No matter what I try I cannot get printing 
 to work over the network. I always get a succession of success messages 
 from cups, followed by printer does not exist when I try to print a test 
 page. That's a pretty strange definition of success in anybody's book. Even 
 a straightforward postscript laser cannot be made to work now.

 I'm going to give it up altogether as a lost cause. Every machine on the 
 network will have to have the printers set up locally, and be carried to 
 where the printers are whenever a print job is needed.

 This is one giant black mark for Linux, the ultimate networking OS. I've 
 been using Linux on-and-off for about 15 years, but I'm seriously 
 considering the future of it in this house.

 Thanks for trying to help.

   
I read your posts and it sound to me, you try to connect to the printers
instead of your spoolserver.
You say you configured both printers on one server with CUPS-Webpage. I
assume this works and you can print a testpage with the Webpage.
Then you wrote ServerName yourserver in /etc/cups/client.conf . You
can now choose both printers in the applicationspecific printmenus, right?

If this is the case and it still does not work, please provide some
logentries.

As one who uses linux for 15 years you should know that cups != linux.

Regards Norman



Re: [gentoo-user] AMD vs. Intel on Gentoo?

2008-03-22 Thread Norman Rieß

Grant schrieb:

I had become an AMD guy, but I think I'm hearing that Intel is beating
AMD in performance tests.  Plus my AMD64 X2 desktop should be much
faster than my Intel laptop but is actually slower.  What do you guys
think?

- Grant
  
Well the experience of a desktop or an application depends on more than 
just the processor. Nearly every part of a computer does its part. And 
then you have the software, what software you use, how it is build, what 
reqirements this software has on other software and hardware and so on. 
Does it uses the FPU or is it heavy on the ALU. How much IO is used and 
how much can the system provide.
But if you believe the average hardwaremagazine, intel is a step ahead 
right now.


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



Re: [gentoo-user] AMD vs. Intel on Gentoo?

2008-03-22 Thread Norman Rieß

Florian Philipp schrieb:

On Sat, 2008-03-22 at 10:07 -0700, Grant wrote:
  

I had become an AMD guy, but I think I'm hearing that Intel is beating
AMD in performance tests.  Plus my AMD64 X2 desktop should be much
faster than my Intel laptop but is actually slower.  What do you guys
think?

- Grant



I work at the German Aerospace Center (basically the German NASA). We've
been using AMD CPUs for a long time on our clusters and workstations
because they were not only cheaper but also faster on floating point
operations whereas Intel was faster on integer operations. Now we are
switching to Intel because AMD lost this advantage and has problems
delivering the ordered number of CPUs.
I personally stick with AMD because they have a factory in Germany and I
don't want Intel to rule the market as they've done before AMD came up
with the Athlon XP.
  
I can confirm that. The German Weather Service uses AMD CPU's on the 
servers for visualising weathercharts due to better FPU performance.

The new bunch of servers however are intel systems.

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



Re: [gentoo-user] AMD vs. Intel on Gentoo?

2008-03-22 Thread Norman Rieß

Grant schrieb:

   I had become an AMD guy, but I think I'm hearing that Intel is beating
   AMD in performance tests.  Plus my AMD64 X2 desktop should be much
   faster than my Intel laptop but is actually slower.  What do you guys
   think?
  
   - Grant
  
  Well the experience of a desktop or an application depends on more than
  just the processor. Nearly every part of a computer does its part. And
  then you have the software, what software you use, how it is build, what
  reqirements this software has on other software and hardware and so on.
  Does it uses the FPU or is it heavy on the ALU. How much IO is used and
  how much can the system provide.
  But if you believe the average hardwaremagazine, intel is a step ahead
  right now.
 
  Norman

 When Intel finally implements HyperTransport (I think it's planned for
 the next generation), AMD will loose their last bastion performance
 wise ... what a pity.



It is a pity.  When did AMD's overall advantage disappear?

- Grant
  

With the arrival of the Core CPU's.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] vesa-tng not working with kernel 2.6.24

2008-02-19 Thread Norman Rieß
John covici schrieb:
 Hi.  I compiled gentoo-sources 2.6.24-r2 -- however the vesa-tng
 seemed to disappear -- its in the .config, but for some reason I am
 getting a console of 25x80.  Now I have the default mode set to
 [EMAIL PROTECTED] which works fine with the 2.6.21 kernel, but not the
 2.6.24 one.  What is strange is that I can't find the vesatng in the
 .config, but if I go into make menuconfig its there, so can someone
 explain why things are not working properly for 2.6.24?

 Thanks.

   
vesa-tng was replaced by uvesafb.
http://dev.gentoo.org/~spock/projects/uvesafb/

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



Re: [gentoo-user] Re: Re: Is GWN dead?

2008-01-13 Thread Norman Rieß
Michael Schmarck schrieb:
 · Norman Rieß [EMAIL PROTECTED]:

   
 Michael Schmarck schrieb:
 
 · Norman Rieß [EMAIL PROTECTED]:

   
   
 Right, basicly telling people You have to depend on / use other distros
 to install our OS, cause we are not able to / don´t have time to provide
 this sounds a little fishy. It makes Gentoo look incomplete.
 
 
 Well, but providing outdated (ie. non-usable for new systems) install
 medium is also very bad. And if the installer doesn't work (satisfactory),
 then that gives an even worse impression.

 Michael Schmarck
   
   
 I agree.
 And i don't think that this is contradicting my statement, does it?
 

 Depends. You're saying, that Gentoo might look to be incomplete, if
 it were to rely on other distributions (Live CDs). I'm saying, that
 it currently already looks to be incomplete, despite there being a
 install CD - a CD, which is outdated.


 Michael Schmarck
   
Still no complaints about your opinion from my side ;-).
In short. An outdated InstallCD is bad and no InstallCD at all is bad, too.


Re: [gentoo-user] Re: Is GWN dead?

2008-01-13 Thread Norman Rieß
Alan McKinnon schrieb:
 On Saturday 12 January 2008, Qian Qiao wrote:
   
 I can understand why you guys think we are so compelled to have a
 Gentoo LiveCD, because every other OS does, and to be honest, that is
 exactly the reason that stops you guys thinking out of the box, in
 what way is being able to install Gentoo from any LiveCD/distro a bad
 thing? In everyway it should be considered one of Gentoo's strengths?
 

 Joe,

 You have hit the nail on the head. The users around here pushing the 
 idea to have an install CD just do not get it, and are probably 
 *not*able* to think out the box. They can comprehend is Gentoo = 
 Gentoo install CD, precisely because virtually every other OS does it 
 this way. And they have been indoctrinated to think this is the only 
 way it can work, or they have drunk the PR department Kool-Aid or 
 suffer from Red Hat Inc.'s major disease - Not Invented Here syndrome.

 I've had hundreds of people pass through my Linux sysadmin courses, and 
 guess which concept they have most trouble grasping? It's not how 
 initrd works, Xen, or LVM (the usual assumed suspects), it's how do you 
 manage to use an Ubuntu LiveCD to fix a broken Red Hat system? Or how 
 did I install Red Hat using Ubuntu as a bootstrap system (possible, but 
 waay more trouble than it's worth)

 Such people should probably be running Ubuntu or a binary distro as they 
 don't fit the profile of gentoo's target audience. Before anyone flames 
 me to oblivion for insulting them, it's not an insult. I just recognize 
 that you want to buy a high performance passenger car, and gentoo sells 
 an experimental plane in kit form.

   
I have installed Gentoo in many ways, the old UniversalCD, the LiveCD,
others Distros LiveCD's, from a working Gentooinstallation to a
usb-connected drive which was transferred to boot in a old laptop and so on.
But i still think a Gentoo-Install-CD/DVD is a good thing.
So your statement The users around here pushing the idea to have an
install CD just do not get it, and are probably *not*able* to think out
the box. is clearly not bulletproof.

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



Re: [gentoo-user] Re: Is GWN dead?

2008-01-13 Thread Norman Rieß
b.n. schrieb:
 Norman Rieß ha scritto:

   
 I have installed Gentoo in many ways, the old UniversalCD, the LiveCD,
 others Distros LiveCD's, from a working Gentooinstallation to a
 usb-connected drive which was transferred to boot in a old laptop and so on.
 But i still think a Gentoo-Install-CD/DVD is a good thing.
 

 Any practical reason for that?

 m.
   
No, only psychological, political, philosophical ones.

Norman


Re: [gentoo-user] Re: Re: Re: Is GWN dead?

2008-01-13 Thread Norman Rieß
Michael Schmarck schrieb:
 · Norman Rieß [EMAIL PROTECTED]:

   
 Still no complaints about your opinion from my side ;-).
 

 *G*

   
 In short. An outdated InstallCD is bad and no InstallCD at all is bad, too.
 

 I agree that an outdated Install CD is bad. But I disagree,
 that no Install CD at all is bad. I think it's not bad.

 Michael Schmarck
   
Ok, i'm fine with that.


Re: [gentoo-user] Re: Is GWN dead?

2008-01-13 Thread Norman Rieß
Alan McKinnon schrieb:
 On Sunday 13 January 2008, Norman Rieß wrote:
   
 I have installed Gentoo in many ways, the old UniversalCD, the
 LiveCD, others Distros LiveCD's, from a working Gentooinstallation to
 a usb-connected drive which was transferred to boot in a old laptop
 and so on. But i still think a Gentoo-Install-CD/DVD is a good thing.
 So your statement The users around here pushing the idea to have an
 install CD just do not get it, and are probably *not*able* to think
 out the box. is clearly not bulletproof.
 

 You miss my point. 

 The thread is about users insisting that Gentoo must have an installer 
 because how else would one install Gentoo? which is patently not 
 true.

 My comment was to highlight that people who don't see the truth of that 
 probably can't think out the box. I didn't pull this comment out my ass 
 either, it's based on several hundred observations of me personally, in 
 face-to-face situations, explaining to people how a typical Linux 
 install process works and observing how many get it and how many don't.

 Please don't respond to my posts in isolation, treating them as 10 
 second sound bites. They are in a thread, and part of a larger context.

 If you want a Gentoo installer then by all means go ahead and make one. 
 Or you can pay someone to make one for you. That is how FLOSS works 
 after all.

 But is not justifiable to make the creation of such an installer a 
 top-priority for Gentoo, as such a thing ALREADY EXISTS. It just 
 doesn't have a Gentoo G logo on it.

   
I think we have a different understandig about this thread.

Norman


Re: [gentoo-user] Is GWN dead?

2008-01-11 Thread Norman Rieß
Galevsky schrieb:
 On Jan 11, 2008 10:38 AM, Dirk Heinrichs [EMAIL PROTECTED] wrote:
   
 Am Freitag, 11. Januar 2008 schrieb ext Shaochun Wang:

 
 Currently, Gentoo has not updated
 its installation CD for a long time!
   
 They don't need to. One week ago I used a GRML cd to install a new Gentoo
 system.
 

 

 On Jan 11, 2008 10:22 AM, Alan McKinnon [EMAIL PROTECTED] wrote:
   
 Why do you think gentoo *needs* to update it's install CD?
 

 Because Gentoo is a distro, and as a distro, it should have a way to
 be installed on a computer... I upgraded my hardware recently and my
 previous gentoo distro was not able to boot (ICH9 + JMicron
 controller) because no SATA HD was recognized with my old 2.6.18
 kernel the only way to boot was livecd with right kernel/modules.
 But Gentoo was not able to provide a *so basic feature*, the one that
 let me boot on my computer and you see no needs with that ? Well,
 if Gentoo is not able to make my computer booting, it is sure that I
 have no need to get maintained portage nor any one of the ebuilds...

 [..]

 Gal'
   
Right, basicly telling people You have to depend on / use other distros
to install our OS, cause we are not able to / don´t have time to provide
this sounds a little fishy. It makes Gentoo look incomplete.

MHO

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



Re: [gentoo-user] Re: Is GWN dead?

2008-01-11 Thread Norman Rieß
Michael Schmarck schrieb:
 · Norman Rieß [EMAIL PROTECTED]:

   
 Right, basicly telling people You have to depend on / use other distros
 to install our OS, cause we are not able to / don´t have time to provide
 this sounds a little fishy. It makes Gentoo look incomplete.
 

 Well, but providing outdated (ie. non-usable for new systems) install
 medium is also very bad. And if the installer doesn't work (satisfactory),
 then that gives an even worse impression.

 Michael Schmarck
   
I agree.
And i don't think that this is contradicting my statement, does it?

Norman


[gentoo-user] Silicon Image 3112 Raid Controller on Kernel 2.6.22 and 2.6.23 not working.

2007-12-08 Thread Norman Rieß
Hi,

i am using a Silicon Image, Inc. SiI 3112 [SATALink/SATARaid] Serial ATA
Controller (rev 02) in a non-RAID configuration. Simply an an
SATA-Controller so to speak.
This worked fine ever since. But with the release of kernel 2.6.22 the
controller stopped working.

Here is a picture of the errormessage when the kernel loads.

http://www.smash-net.org/kernel2.6.23/kernel_sil_err.jpg

I googled around and found, that quite a few people had problems with
SIL-Controllers. But none but one had this particular problem. This guy
apparently told  a kernel developer about this, who said he would take a
look at it.  So i waited till 3.6.23, but the problem still persists.

Here is my  kernel-config for 2.6.23:
http://www.smash-net.org/kernel2.6.23/config-kernel-2.6.23

Maybe someone on this list has a fresh idea.

Regards
Norman
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Silicon Image 3112 Raid Controller on Kernel 2.6.22 and 2.6.23 not working.

2007-12-08 Thread Norman Rieß
David Relson schrieb:



 Hello Norman,

 I, too, have one of their controllers (identified by lspci as RAID bus
 controller: Silicon Image, Inc. PCI0680 Ultra ATA-133 Host Controller
 (rev 02).  It works ... kind of ...

 I bought it because my new AMD64 mobo has 1 ATA connector and I have 2
 ATA hard drives and a SONY DVD RW DRU-510A, ATAPI CD/DVD-ROM drive.
 When I tried to boot a LiveCD from the SONY, the kernel was read then
 reported can't find cdrom device.  Not good!

 To upgrade to 64-bit gentoo, I had to recable my box so that my primary
 HD and the SONY were attached to the mobo.

 My rating of the SII card?  OK -- sort of.

 Regards,

 David

   
Hello,

problem is, that my mobo has no other SATA Ports. Standard-ATA ports of
the Motherboard is PATA.
And i sort of can not blame the controller because the 2.6.20 kernel
works perfectly. (As this post proofs :-)).


Regards,
Norman
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Silicon Image 3112 Raid Controller on Kernel 2.6.22 and 2.6.23 not working.

2007-12-08 Thread Norman Rieß
Mark Shields schrieb:


 I have this same chipset and run two SATA drives in a RAID 1
 (mirrored) config, but I'm running hardened-2.6.20-r6. I will note I
 have had no problems using the kernel drivers and have been using the
 hardened kernel since 2.6.14; before that this was just a system using
 the gentoo-sources, not sure how far that dates ('05-ish).   I'll
 emerge the latest stable hardened (2.6.22-r8) and test it, and check
 back with you guys.  I was thinking about upgrading anyways.

 I looked at your config and noticed:

 CONFIG_SATA_SIL24=y

 You don't need this.  It probably isn't causing the problem, but I
 would disable it anyways.

 Also disable

 CONFIG_SATA_VIA=y

 too.

 -- 
 - Mark Shields 
You will need to use at least kernel 2.6.22 to have this effect (if you
have it at all).
I tried some different kernelsettings, so there could be some things
active, which are not really necessary.

Thank you for trying. I am looking forward to your results.

Norman
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] insatiable revdev-rebuild SOLVED

2007-10-04 Thread Norman Rieß

Allan Gottlieb schrieb:

At Thu, 04 Oct 2007 10:31:57 +0200 Bo Ørsted Andresen [EMAIL PROTECTED] wrote:

  

On Thursday 04 October 2007 05:37:19 Allan Gottlieb wrote:


An emerge (of openssl, I believe, but am not sure)  a few days ago
triggered a request for me to run
  # revdep-rebuild --library libcrypto.so.0.9.7
  # revdep-rebuild --library libssl.so.0.9.7

I have done so.  The revdep-rebuild for libssl found nothing, but the
one for libcrypto rebuilt openssl.  However rerunning the command
again again rebuilt openssh.  A msg had explained that this is
possible but didn't suggest that the request would never end.  I have
run the revdep-rebuild for libcrypto 4 times and it keeps rebuilding
openssl

What should I do to fix this problem?
  
It also told you to remove lib{crypto,ssl}.so.0.9.7 after running those 
revdep-rebuild commands. revdep-rebuild finds that libssl.so.0.0.7 links 
against libcrypto.so.0.9.7 and the hack (preserve_old_lib from eutils.eclass) 
that the openssl ebuild uses to preserve those libraries until you've done 
this makes it look like they belong to the new version of openssl (even 
though they really don't)..



As always Bo's reply solved the problem completely.  I apologize for
missing the remove commands.  I shall read the instructions more
carefully in the future.

thank for the help.
allan gottlieb
  

There was no remove command

WARN: postinst
Old versions of installed libraries were detected on your system.
In order to avoid breaking packages that depend on these old libs,
the libraries are not being removed.  You need to run revdep-rebuild
in order to remove these old dependencies.  If you do not have this
helper program, simply emerge the 'gentoolkit' package.

 # revdep-rebuild --library libcrypto.so.0.9.7
 # revdep-rebuild --library libssl.so.0.9.7

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] freenx / nxclient / nxserver etc.. [experiences]

2007-09-27 Thread Norman Rieß

I couldn´ t get freenx to work either.
After trying freenx for a day or two without any progress, i installed 
nxserver-freeedition, which worked from the start.


This mail is living proof ;-).

Bye
Norman


Ow Mun Heng schrieb:

I just tried to installed freenx(0.7) nx(3.0) and it's a bit frustrating
because it doesn't seem to be working well.

eg: Sometimes I can connect, sometimes I can't. (timeout)

then when I can connect, sometimes I get my gnome-desktop, sometimes
not.

When I log-out, (suspend) and I try to log in back using the same
session, I can't.

Should I just try the nxserver-freeedidition instead?

What are your experiences?

Seems like everything that google returns are all between 1 to 2 years
ago details.

Thanks


  


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no shorewall

2007-08-25 Thread Norman Rieß
Jorge Almeida schrieb:
 Anybody managed to get shorewall working with gentoo-sources 2.6.22-r5?
 I upgraded from 2.6.20, and there went the firewall. I used oldconfig
 just to see what's new, then make clean, then make menuconfig (starting
 with the saved config file from kernel 2.6.20). Shorewall is version
 3.2.9. I already changed a few things in case some module would be
 missing due to name change. I'm out of ideas. In case someone can
 provide some suggestion, here comes the output of shorewall start and
 the relevant part of .config.


   
I had similar problems. I solved them with the kernelsettings here:
http://www.shorewall.net/3.0/kernel.htm#v2.6.20
which ist pretty much activating everything :-). So i don´t really know
what did the trick.
But i did not compile this as moduls. Perhaps this is a little
wastefull, but it worked.

Norman
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] #Gentoo

2007-08-18 Thread Norman Rieß
Steen Eugen Poulsen schrieb:
 Steen Eugen Poulsen skrev:
   
 Every day for around a hour the same op comes around and their is always
 trouble for some reason in that short period. The channel works
 perfectly the other 23 hours a day... So one has to wonder if the op is
 creating the problems...

 Things like kicking someone reading impaired, because they are a bit slow...

 Or the latest gem using kicks to argue with other ops.

 As the worst examples lately.

 Could we please re-educate the #Gentoo ops and get them to have a bit
 more professionalism and tact or maybe consider that not everyone has
 the skills to be a good community representative.
 

 I got banned from the channel for posting this to the list...

 Oh well, it hurts the Gentoo community more than me, I was simply doing
 my part to help out people, farewell and I'm sorry I can't be there to
 help out anymore, but thats just the way things work around here at the
 moment.

   
Sad to hear things like that.
If you still want to help, you could use the #gentoo channels on the
other big IRC-Networks.
They are mostly not so crowded than the official channel, but a hundred
people are in some of them though.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] couple of newbie questions about emerge

2007-01-07 Thread Norman Rieß

Daniel Iliev schrieb:


2) yes, emerge -uD world keeps your system up-todate

  

emerge -uDN world also takes care of newly added or removed USE-flags.

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



Re: [gentoo-user] Has Linux jumped the Shark?

2006-12-20 Thread Norman Rieß

Jeff Rollin schrieb:

Their argument seemed to be that
because GNOME is running into problems and because KDE is behind
schedule, the Linux desktop is dead.

How true is this?

Jeff
Like uh, we cannot finish this tiny feature here in 3 days as planned, 
so let us give up the whole project? :-)


And Linux is more popular than ever and gaining users (correct me if i 
am wrong). Developement on Gnome and KDE is going on..

So i do not see how they could be dead.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Gnome Power Manager Message (a little OT)

2006-12-14 Thread Norman Rieß
Guys guess what. As i have updated my Gnome to 2.16 now, the new 
shiny Power Manager tells me, that my laptop runs on battery after i 
pull the plug...
Can you believe that?? If i pull the plug on my computer... it runs on 
battery. incredible!! And it tells me EVERY time i pull the plug, 
that i pulled the plug! I can not imagine what i would have done without 
that information... i might have forgotten it one time, when i pull the 
plug, that i pulled the plug.




Ok serious... how can i switch this insane little window off, that does 
tell me, what i allready know and intended to do.


Thanks

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



Re: [gentoo-user] Gnome Power Manager Message (a little OT)

2006-12-14 Thread Norman Rieß

Allan Gottlieb schrieb:

At Thu, 14 Dec 2006 22:49:14 +0100 Norman Rieß [EMAIL PROTECTED] wrote:

  

Guys guess what. As i have updated my Gnome to 2.16 now, the new
shiny Power Manager tells me, that my laptop runs on battery after i
pull the plug...
Can you believe that?? If i pull the plug on my computer... it runs on
battery. incredible!! And it tells me EVERY time i pull the plug,
that i pulled the plug! I can not imagine what i would have done
without that information... i might have forgotten it one time, when i
pull the plug, that i pulled the plug.



Assuming this is the one on the panel, right click on the icon and
then left click on remove.

allan

  
No it´s not. It is the one, that if you delete it from the autostart in 
the sessionmanager, it writes itself back in it, so it starts again.
What you mean is the old power-status-icon. Now there is a power manager 
integrated in gnome.

--
gentoo-user@gentoo.org mailing list



  1   2   >