Re: [gentoo-user] [OT] SSH port forwards behind restrictive firewall
On Tuesday 19 February 2008, Mick wrote: > > Does your mail server at home have a real ip address? You can do > > > > ssh -l -p 443 -N ssh.server.address -L > > localport:mail.server.address:remoteport > > > > And you don't need to worry about setting up forwarding rules on the > > router. > > The mail server is on the Internet, not accessible by ssh. I intended > to use the router to bounce the ssh connection and forward it to the > mail server. > > laptop --> |firewall| --> router --> mailserver >sshsshssl > > Essentially, thinking of using the router as a proxy server. Ok, then Willie's command will work just fine, provided that *ssh* connections to port 443 or 80 of your router work (and of course, that your router can in turn reach the mail server on the necessary ports). ssh -p 443 -L 1234:mail.server:25 -L 5678:mail.server:110 [EMAIL PROTECTED] Would open ports 1234 and 5678 on localhost for sending and receiving mail respectively. If your mail server uses SSL, the use the corresponding ports (995 and/or 587 or whatever). What you send to port 1234 on localhost will be forwarded by ssh to your router, and the router will forward the data to the mail server, port 25. The same for port 5678. Note that the connection between your computer and the router is through ssh, to port 443 of the router. This is the only connection you'll pass through the firewall, and through which all the forwarded ports will flow. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Where to report bugs for KDE 4?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, its OK to report Bugs of the KDE4 Packages in the tree to Bugzialla. And there are already some ... 210607, 210477, 208052,... cheers Tom Dirk Heinrichs wrote: | Hi, | | seems there are no bug reports yet for KDE 4 in Gentoo's bugzilla, which | makes me wonder wether it is ok to do so or wether they should be reported | elsewhere. | | Bye... | | Dirk -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHupyprpEWPKIUt7MRAp8fAJ4n17Xfh9gx2YrRJS8f0hyK83wigQCcDrXC K7j89e6R0ybufjMNRJIyG/o= =DEU3 -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] MacBook: How many hours on battery with Gentoo?
Lowe Schmidt ha scritto: > Hi. > > I'm planning on buying myself a MacBook and I'm just wondering if anyone > knows how many hours I will get out of it if I run Gentoo. I mainly use > a bunch > of terminals, gvim and some lightweigth gtk app so nothing heavy going on. > > All input appreciated My Macbook Pro with light, normal usage lasts about three hours (OS X lasts at least one hour more). m. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] evince and letter size paper
On Monday 18 February 2008 18:06:23 Allan Gottlieb wrote: > At Sun, 17 Feb 2008 12:08:11 + Mick <[EMAIL PROTECTED]> wrote: > > Has evince got it's own application level configuration for paper size > > under printer settings, or something like that? > > I couldn't find one. It does have file -> print setup > and that says A4, which I always change to US letter, but it doesn't > "stick". If it's any consolation, I get the reverse in Firefox - it never remembers that printing uses A4 paper here. -- Rgds Peter -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] [OT] SSH port forwards behind restrictive firewall
On Tuesday 19 February 2008, Etaoin Shrdlu wrote: > On Tuesday 19 February 2008, Mick wrote: > > > Does your mail server at home have a real ip address? You can do > > > > > > ssh -l -p 443 -N ssh.server.address -L > > > localport:mail.server.address:remoteport > > > > > > And you don't need to worry about setting up forwarding rules on the > > > router. > > > > The mail server is on the Internet, not accessible by ssh. I intended > > to use the router to bounce the ssh connection and forward it to the > > mail server. > > > > laptop --> |firewall| --> router --> mailserver > >sshsshssl > > > > Essentially, thinking of using the router as a proxy server. > > Ok, then Willie's command will work just fine, provided that *ssh* > connections to port 443 or 80 of your router work (and of course, that > your router can in turn reach the mail server on the necessary ports). > > ssh -p 443 -L 1234:mail.server:25 -L 5678:mail.server:110 [EMAIL PROTECTED] > > Would open ports 1234 and 5678 on localhost for sending and receiving > mail respectively. If your mail server uses SSL, the use the > corresponding ports (995 and/or 587 or whatever). > > What you send to port 1234 on localhost will be forwarded by ssh to your > router, and the router will forward the data to the mail server, port > 25. The same for port 5678. > > Note that the connection between your computer and the router is through > ssh, to port 443 of the router. This is the only connection you'll pass > through the firewall, and through which all the forwarded ports will > flow. Nice! I will try it out next time I'm in the office. Thanks. :) -- Regards, Mick signature.asc Description: This is a digitally signed message part.
RE: [gentoo-user] nvidia drivers don't compile under kernel 2.6.24
I had this problem once with some other software. I fixed it by setting /usr/src/linux to the same directory as the kernel i was using. Before that change it was pointing to an older kernel version. You can do this with eselect kernel list and then eselect kernel set -Original Message- From: John covici <[EMAIL PROTECTED]> Sent: dinsdag 19 februari 2008 12:28 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] nvidia drivers don't compile under kernel 2.6.24 Hi. I tried using kernel 2.6.24-gentoo-r2 -- however the nvidia drivers version 100.14.19 complains that it is unable to determine the kernel version. I did some googling, but saw no solution to this problem, but it seems others are having difficulties with this also. Any assistance would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Digest verification failed
On Feb 17, 2008 7:15 PM, Neil Bothwick <[EMAIL PROTECTED]> wrote: > On Sun, 17 Feb 2008 09:57:13 -0500, Kenneth Prugh wrote: > > > I also don't think straight without breakfast, so I'm sorry about the > > last email.. it wasn't very professional of me :> > > How does that differ from the rest of us? :-) > > > On a side note: the reason I hate -user is it completely breaks claws > > when it tries to thread it if there are unread > > I have no such problem here, but I have Claws set to show only unread > messages. > > > -- > Neil Bothwick > > "Bad dog! Leave that wire [EMAIL PROTECTED] TERRIER > Thanks to everyone who helped. I realizes that a more recent version was available and I'm emerging it now. When it is done I'll rerun glsa-check again and let you know if it worked. I't has been some time since I ran a Gentoo based system and I'm hoping I don't do something to break it. I hate reinstalling as I usually loose files and time. Bob
Re: [gentoo-user] vesa-tng not working with kernel 2.6.24
OK, thanks I will check this out. on Tuesday 02/19/2008 [EMAIL PROTECTED]([EMAIL PROTECTED]) wrote > > On Tue, 19 Feb 2008 06:24:52 -0500, John covici <[EMAIL PROTECTED]> > wrote: > > 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. > > > > -- > > Your life is like a penny. You're going to lose it. The question is: > > How do > > you spend it? > > > > John Covici > > [EMAIL PROTECTED] > > -- > > gentoo-user@lists.gentoo.org mailing list > > since the 23 version vesatng is removed. You can used the next generation > of spocks fb support named uvesfb. Follow the this page > > http://dev.gentoo.org/~spock/projects/uvesafb/ > > . > > -- > gentoo-user@lists.gentoo.org mailing list -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] vesa-tng not working with kernel 2.6.24
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. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] vesa-tng not working with kernel 2.6.24
On Tue, 19 Feb 2008 06:24:52 -0500, John covici <[EMAIL PROTECTED]> wrote: > 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. > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > [EMAIL PROTECTED] > -- > gentoo-user@lists.gentoo.org mailing list since the 23 version vesatng is removed. You can used the next generation of spocks fb support named uvesfb. Follow the this page http://dev.gentoo.org/~spock/projects/uvesafb/ . -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Digest verification failed
On Feb 19, 2008 7:25 AM, Neil Bothwick <[EMAIL PROTECTED]> wrote: > On Tue, 19 Feb 2008 07:08:41 -0500, Robert Stockdale IV wrote: > > > I't has been some time since I ran a > > Gentoo based system and I'm hoping I don't do something to break it. I > > hate reinstalling as I usually loose files and time. > > With the time it takes for a full reinstall and the amount of > documentation available to help fix problems, I find it difficult to > think of a problem not involving dense smoke or horrible grinding noises > that is best fixed with a reinstall. > > > -- > Neil Bothwick > > Real women don't have hot flashes, they have power surges. > Sabayon takes about 3 hours for a complete install and most of it is performed automatically. I run the setup configuration at the beginning and it lets me know when to reboot into the fresh install. Correcting a trashed system could take days. Bob
Re: [gentoo-user] vesa-tng not working with kernel 2.6.24
on Tuesday 02/19/2008 [EMAIL PROTECTED]([EMAIL PROTECTED]) wrote > > On Tue, 19 Feb 2008 06:24:52 -0500, John covici <[EMAIL PROTECTED]> > wrote: > > 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. > > -- > > since the 23 version vesatng is removed. You can used the next generation > of spocks fb support named uvesfb. Follow the this page > > http://dev.gentoo.org/~spock/projects/uvesafb/ > > . Do I still need to do what I have been doing -- using genkernel to generate the initial ram disk or should I skip this step? Thanks. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] nvidia drivers don't compile under kernel 2.6.24
This was done already before the problem occurred. on Tuesday 02/19/2008 Sjakie([EMAIL PROTECTED]) wrote > I had this problem once with some other software. I fixed it by setting > /usr/src/linux to the same directory as the kernel i was using. Before that > change it was pointing to an older kernel version. > > You can do this with eselect kernel list and then eselect kernel set > > -Original Message- > From: John covici <[EMAIL PROTECTED]> > Sent: dinsdag 19 februari 2008 12:28 > To: gentoo-user@lists.gentoo.org > Subject: [gentoo-user] nvidia drivers don't compile under kernel 2.6.24 > > Hi. I tried using kernel 2.6.24-gentoo-r2 -- however the nvidia > drivers version 100.14.19 complains that it is unable to determine > the kernel version. I did some googling, but saw no solution to this > problem, but it seems others are having difficulties with this also. > > Any assistance would be appreciated. > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > [EMAIL PROTECTED] > -- > gentoo-user@lists.gentoo.org mailing list > > > -- > gentoo-user@lists.gentoo.org mailing list -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] vesa-tng not working with kernel 2.6.24
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] vesa-tng not working with kernel 2.6.24
This One Time, at Band Camp, John covici <[EMAIL PROTECTED]> said, On Tue, Feb 19, 2008 at 07:23:04AM -0500: > on Tuesday 02/19/2008 [EMAIL PROTECTED]([EMAIL PROTECTED]) wrote > > On Tue, 19 Feb 2008 06:24:52 -0500, John covici <[EMAIL PROTECTED]> > > wrote: > > > 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. > > > -- > > since the 23 version vesatng is removed. You can used the next generation > > of spocks fb support named uvesfb. Follow the this page > > http://dev.gentoo.org/~spock/projects/uvesafb/ > > . > Do I still need to do what I have been doing -- using genkernel to > generate the initial ram disk or should I skip this step? > Thanks. Yes it is the same as vesafb, though you should install sys-apps/v86d and make sure you have CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs" in your kernel config... -- Wael Nasreddine http://wael.nasreddine.com PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2 .: An infinite number of monkeys typing into GNU emacs, would never make a good program. (L. Torvalds 1995) :. pgp49a7aKDB1a.pgp Description: PGP signature
[gentoo-user] nvidia drivers don't compile under kernel 2.6.24
Hi. I tried using kernel 2.6.24-gentoo-r2 -- however the nvidia drivers version 100.14.19 complains that it is unable to determine the kernel version. I did some googling, but saw no solution to this problem, but it seems others are having difficulties with this also. Any assistance would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Digest verification failed
On Tue, 19 Feb 2008 07:08:41 -0500, Robert Stockdale IV wrote: > I't has been some time since I ran a > Gentoo based system and I'm hoping I don't do something to break it. I > hate reinstalling as I usually loose files and time. With the time it takes for a full reinstall and the amount of documentation available to help fix problems, I find it difficult to think of a problem not involving dense smoke or horrible grinding noises that is best fixed with a reinstall. -- Neil Bothwick Real women don't have hot flashes, they have power surges. signature.asc Description: PGP signature
Re: [gentoo-user] nvidia drivers don't compile under kernel 2.6.24
On Feb 19, 2008 6:12 AM, John covici <[EMAIL PROTECTED]> wrote: > This was done already before the problem occurred. > > on Tuesday 02/19/2008 Sjakie([EMAIL PROTECTED]) wrote > > I had this problem once with some other software. I fixed it by setting > /usr/src/linux to the same directory as the kernel i was using. Before that > change it was pointing to an older kernel version. > > > > You can do this with eselect kernel list and then eselect kernel set > > > > -Original Message- > > From: John covici <[EMAIL PROTECTED]> > > Sent: dinsdag 19 februari 2008 12:28 > > To: gentoo-user@lists.gentoo.org > > Subject: [gentoo-user] nvidia drivers don't compile under kernel > 2.6.24 > > > > Hi. I tried using kernel 2.6.24-gentoo-r2 -- however the nvidia > > drivers version 100.14.19 complains that it is unable to determine > > the kernel version. I did some googling, but saw no solution to this > > problem, but it seems others are having difficulties with this also. > > > > Any assistance would be appreciated. > > > > -- > > Your life is like a penny. You're going to lose it. The question is: > > How do > > you spend it? > > > > John Covici > > [EMAIL PROTECTED] > > -- > > gentoo-user@lists.gentoo.org mailing list > > > > > > -- > > gentoo-user@lists.gentoo.org mailing list > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > [EMAIL PROTECTED] > -- > gentoo-user@lists.gentoo.org mailing list > > I had the same problem, but didn't research it to far. To fix it I just used the masked version and it compiled fine. Been running for a couple weeks and haven't noticed any issues with them either.
Re: [gentoo-user] Where to report bugs for KDE 4?
Am Dienstag, 19. Februar 2008 schrieb ext Thomas Kahle: > its OK to report Bugs of the KDE4 Packages in the tree to Bugzialla. Ok, thanks. > And there are already some ... > 210607, 210477, 208052,... Changed the search criteria a little, now I found these ones myself. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] How to avoid NetworkManager logs in terminals
2008/2/18, Iain Buchanan <[EMAIL PROTECTED]>: > > > On Sun, 2008-02-17 at 18:08 -0200, Alejandro Bednarik wrote: > > > > > > 2008/2/16, Iain Buchanan <[EMAIL PROTECTED]>: > > > try adding > > >/dev/null 2>&1 > > to the end of it. > > > Hi! > > about sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 I tried this > > before send this email, but the NetworkManager logs and > > in the tty1 anyway, the only change is that i don't see any output in > > the terminal i run the command. > > > a i see... > > I thought you were on console 1, I didn't realise that NetworkManager > printed output to console 1 even if you started it from elsewhere... Now > I get it! > > > about start-stop-daemon --start --quiet --exec ${processname} yes, i > > also tried your suggestion before send the email, but with the same > > bad result. > > yes, won't work given what you've said... > > > I not sure but for me, the parameter console=tty1 i have in the the > > kernel line i use in grub have something to do (i use fbsplash and > > fbcondecor), but is not the only reason, i check sabayon linux which > > use NetworkManager, fbsplash and fbconvecor just like the way i do, > > but NM don't do the same. > > Sounds like NetworkManager is using syslog() to write to the log file, > and you have syslog set up to notify you. This usually happens by > printing messages to console 1! NetworkManager seems to translate glib > errors directly to syslog errors. Have a look at nm-logging.c if you > want to see more about that. > > Anyway, depending on the logger you use (I use syslog-ng) you can set it > up not to be so verbose. syslog-ng allows you to filter based on > program name for example. man syslog-ng.conf for more info (or whatever > logger you use :) > > Have a look at http://www.campin.net/syslog-ng.conf for some examples. > > HTH, > > -- > Iain Buchanan > > I can understand how they wouldn't let in those wild jungle apes, but what > about those really smart ones who live among us who rollerskate and smoke > cigars? > > -- Homer Simpson, on Heaven >The Telltale Head > > -- > gentoo-user@lists.gentoo.org mailing list > > You rock! that was the key of my problem, i just added syslog-ng to the default run level and i don't get more that odd behavior of NetworkManager. Now is time to configure syslog-ng properly. Many thanks! :D Cheers!
[gentoo-user] libpcre-7.6-r1
Friends, I'm trying to install the library libpcre-7.6-r1, but I'm getting this: * ERROR: dev-libs/libpcre-7.6-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2301: Called econf 'src_compile' 'src_compile' '--with-match-limit-recursion=8192' '--enable-utf8' '--enable-unicode-properties' '--enable-cpp' '--enable-pcregrep-libz' '--disable-pcregrep-libbz2' '--enable-static' * ebuild.sh, line 513: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-libs/libpcre- 7.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libpcre-7.6-r1/temp/environment'. I haven't understended the build error. It's something missing? What should I do to solve? Everything that I try to install uses this library (Samba, Apache, etc.). []s -- Fabrício L. Ribeiro http://palavrasapenas.wordpress.com † Pro Catholica Societate †
Re: [gentoo-user] libpcre-7.6-r1
Am Dienstag, 19. Februar 2008 schrieb Fabrício L. Ribeiro: > Friends, > > I'm trying to install the library libpcre-7.6-r1, but I'm getting this: > > * ERROR: dev-libs/libpcre-7.6-r1 failed. > * Call stack: > * ebuild.sh, line 49: Called src_compile > * environment, line 2301: Called econf 'src_compile' > 'src_compile' '--with-match-limit-recursion=8192' '--enable-utf8' > '--enable-unicode-properties' '--enable-cpp' '--enable-pcregrep-libz' > '--disable-pcregrep-libbz2' '--enable-static' > * ebuild.sh, line 513: Called die > * The specific snippet of code: > * die "econf failed" > * The die message: > * econf failed > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at '/var/tmp/portage/dev-libs/libpcre- > 7.6-r1/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/dev-libs/libpcre-7.6-r1/temp/environment'. > > > I haven't understended the build error. It's something missing? What should > I do to solve? The text above is the error message from portage (emerge), which is pretty useless. The real error message should be a few lines above this. However, I would suggest to query http://bugs.gentoo.org and see if you can find it there. Bye... Dirk signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: SSL CUPS and SMTP on port 587
> Does anyone have any experience printing with CUPS via SSL? I need to > print across the internet so I need the data to be transmitted via > SSL. I know CUPS supports SSL, but I can't find any information on > making it work. This guys has the same problem: > > http://www.cups.org/newsgroups.php?s15392+gcups.general+v15401+T0 > > My ISP (Cox) blocks outgoing port 25 so I can't submit mail to my > remote mail server. From what I understand, port 587 is commonly used > to get around this. Can I have postfix listen on port 25 and port > 587? Has anyone set that up? > > - Grant For SSL CUPS, I have 'SSLPort 443' in the CUPS server's cupsd.conf and 'ServerName :443' in the client's client.conf. 'lpr file.pdf' on the client prints and I get "cupsdCloseClient: SSL shutdown successful!" in the server's error log after printing. I think it's working. - Grant -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] MacBook: How many hours on battery with Gentoo?
On Tue, 2008-02-19 at 11:28 +0100, b.n. wrote: > Lowe Schmidt ha scritto: > > Hi. > > > > I'm planning on buying myself a MacBook and I'm just wondering if anyone > > knows how many hours I will get out of it if I run Gentoo. I mainly use > > a bunch > > of terminals, gvim and some lightweigth gtk app so nothing heavy going on. > > > > All input appreciated > > My Macbook Pro with light, normal usage lasts about three hours (OS X > lasts at least one hour more). > > m. Have you found any reason for this discrepancy? I'd suspect them to be on par with the right tuning. signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] MacBook: How many hours on battery with Gentoo?
Ritesh Kumar ha scritto: > On Feb 19, 2008 12:09 PM, Florian Philipp <[EMAIL PROTECTED]> > wrote: > > > On Tue, 2008-02-19 at 11:28 +0100, b.n. wrote: > > Lowe Schmidt ha scritto: > > > Hi. > > > > > > I'm planning on buying myself a MacBook and I'm just wondering > if anyone > > > knows how many hours I will get out of it if I run Gentoo. I > mainly use > > > a bunch > > > of terminals, gvim and some lightweigth gtk app so nothing heavy > going on. > > > > > > All input appreciated > > > > My Macbook Pro with light, normal usage lasts about three hours (OS X > > lasts at least one hour more). > > > > m. > > Have you found any reason for this discrepancy? I'd suspect them to be > on par with the right tuning. > > > Are you doing any kind of CPU frequency scaling? In the kernel (I use > gentoo sources) configuration enable Yes, I do frequency scaling (the ondemand governor is used when the laptop is unplugged). I also use laptop-mode for the hd and pommed to tune screen brightness. I think the problems are the wireless and the video drivers. The new Macbook Pro wireless drivers (I bought my machine in late October 2007, just when Leopard came out -although, well, I found myself almost never using it) required SVN version of madwifi (dunno if now the stable version works, will check when upgrading kernel), and so far attempting to set power saving on my wireless card fails. The Macbook Pro also has a nvidia video card. The nvidia drivers work quite well (apart from some issues with external dvi resolution), but as far as I know, on it the "Powermizer" feature is somehow disabled. :( I guess both things combined can explain at least a significant quantity of the power drain. Suggestions are much welcome, I hate the reduced battery power. m. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] MacBook: How many hours on battery with Gentoo?
On Feb 19, 2008 12:09 PM, Florian Philipp <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-02-19 at 11:28 +0100, b.n. wrote: > > Lowe Schmidt ha scritto: > > > Hi. > > > > > > I'm planning on buying myself a MacBook and I'm just wondering if > anyone > > > knows how many hours I will get out of it if I run Gentoo. I mainly > use > > > a bunch > > > of terminals, gvim and some lightweigth gtk app so nothing heavy going > on. > > > > > > All input appreciated > > > > My Macbook Pro with light, normal usage lasts about three hours (OS X > > lasts at least one hour more). > > > > m. > > Have you found any reason for this discrepancy? I'd suspect them to be > on par with the right tuning. > Are you doing any kind of CPU frequency scaling? In the kernel (I use gentoo sources) configuration enable Power Management - CPU frequency scaling - performance (is selected as default) - ondemand governor - conservative - ACPI Processor P-States driver - Intel Enhanced SpeedStep This enables frequency scaling... this works for my Core2 desktop so I suspect it should work for the mac book too. To select the actual cpu scaling governor to use, you can do the following (as root) echo ondemand > /sys/devices/system/cpu/cpu(n)/cpufreq/scaling_governor where you need to this for all the cores... for my Core 2 desktop I have cpu0 and cpu1. You can select between ondemand, conservative and performance. Try both ondemand and conservative... My guess is there will be little difference in power consumption between the two and ondemand may be better for response time sensitive loads (typical desktop usage). I keep the above command in /etc/conf.d/local.start so that I get the CPU freq scaling goodness on every boot :) # /etc/conf.d/local.start # This is a good place to load any misc programs # on startup (use &>/dev/null to hide output) gov=ondemand echo "Switching to the '$gov' cpu frequency scaling governer." echo $gov > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo $gov > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor _r
Re: [gentoo-user] Portage issue
Hello! Alan McKinnon-2 wrote: > > On Sunday 03 February 2008, Robert Stockdale IV wrote: > >> [blocks B ] > app-shells/bash- 3.2_p33) > > emerge --sync, there is a later version of portage in the tree that bash > does not block > Hm. Are you sure? I just installed 2007.0 and set ACCEPT_KEYWORDS=~x86. I then did a emerge --sync followed by an "emerge -vat portage". Result: test9 / # emerge -vat portage These are the packages that would be merged, in reverse order: Calculating dependencies... done! [nomerge ] sys-apps/portage-2.1.4.4 [2.1.2.2] USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl" [ebuild U ] app-shells/bash-3.2_p33 [3.1_p17] USE="-afs -bashlogger nls -plugins% -vanilla" 2,564 kB [ebuild U ] sys-apps/portage-2.1.4.4 [2.1.2.2] USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl" 368 kB [nomerge ] dev-lang/python-2.5.1-r5 USE="berkdb -bootstrap -build -doc -examples gdbm -ipv6 ncurses -nothreads readline -sqlite ssl -tk -ucs2" [ebuild N] app-admin/python-updater-0.4 4 kB [ebuild NS ] dev-lang/python-2.5.1-r5 USE="berkdb -bootstrap -build -doc -examples gdbm -ipv6 ncurses -nothreads readline -sqlite ssl -tk -ucs2" 9,174 kB [ebuild U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.17] 232 kB [blocks B ] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked How do you get around this blocker? Thanks, Michael - -- Michael Schmarck [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Portage-issue-tp15256634p15562413.html Sent from the gentoo-user mailing list archive at Nabble.com. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] MacBook: How many hours on battery with Gentoo?
On Tue, 2008-02-19 at 20:07 +0100, b.n. wrote: > Ritesh Kumar ha scritto: > > On Feb 19, 2008 12:09 PM, Florian Philipp <[EMAIL PROTECTED]> > > wrote: > > > > > > On Tue, 2008-02-19 at 11:28 +0100, b.n. wrote: > > > Lowe Schmidt ha scritto: > > > > Hi. > > > > > > > > I'm planning on buying myself a MacBook and I'm just wondering > > if anyone > > > > knows how many hours I will get out of it if I run Gentoo. I > > mainly use > > > > a bunch > > > > of terminals, gvim and some lightweigth gtk app so nothing heavy > > going on. > > > > > > > > All input appreciated > > > > > > My Macbook Pro with light, normal usage lasts about three hours (OS X > > > lasts at least one hour more). > > > > > > m. > > > > Have you found any reason for this discrepancy? I'd suspect them to be > > on par with the right tuning. > > > > > > Are you doing any kind of CPU frequency scaling? In the kernel (I use > > gentoo sources) configuration enable > > Yes, I do frequency scaling (the ondemand governor is used when the > laptop is unplugged). I also use laptop-mode for the hd and pommed to > tune screen brightness. > > I think the problems are the wireless and the video drivers. The new > Macbook Pro wireless drivers (I bought my machine in late October 2007, > just when Leopard came out -although, well, I found myself almost never > using it) required SVN version of madwifi (dunno if now the stable > version works, will check when upgrading kernel), and so far attempting > to set power saving on my wireless card fails. > > The Macbook Pro also has a nvidia video card. The nvidia drivers work > quite well (apart from some issues with external dvi resolution), but as > far as I know, on it the "Powermizer" feature is somehow disabled. :( > > I guess both things combined can explain at least a significant quantity > of the power drain. Suggestions are much welcome, I hate the reduced > battery power. > > m. 1. Use laptop-mode if you don't do it by now. Really nice even without its delayed disk write feature. 2. Displays are by far the biggest energy consumers. Lower its brightness as far as possible. Some laptops even allow you to switch its backlight off - very nice if you are outdoor. 3. Use the powersave-governor. If you really need the additional power ondemand offers, try the conservative-governor. It increases the clock rate slower than ondemand and might stop it from jumping too fast too high. 4. Try sys-power/powertop. It shows you processes creating a lot up wakeups for the CPU. It also gives you tips on your kernel config. 5. Sometimes a BIOS update helps... Hope this helps. signature.asc Description: This is a digitally signed message part
[gentoo-user] Re: Portage issue
Michael Schmarck habmalnefrage.de> writes: > These are the packages that would be merged, in reverse order: > > Calculating dependencies... done! > [nomerge ] sys-apps/portage-2.1.4.4 [2.1.2.2] USE="-build -doc -epydoc > (-selinux)" LINGUAS="-pl" > [ebuild U ] app-shells/bash-3.2_p33 [3.1_p17] USE="-afs -bashlogger nls > -plugins% -vanilla" 2,564 kB [...] > [blocks B ] app-shells/bash-3.2_p33) > > Total: 5 packages (3 upgrades, 1 new, 1 in new slot, 1 block), Size of > downloads: 12,338 kB > > !!! Error: The above package list contains packages which cannot be > installed > !!!at the same time on the same system. [...] > How do you get around this blocker? emerge -1av =app-shells/bash-3.2_p17-r1 && emerge portage That solved it for me. Cheers, Michael -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] MacBook: How many hours on battery with Gentoo?
Florian Philipp ha scritto: > On Tue, 2008-02-19 at 20:07 +0100, b.n. wrote: > 1. Use laptop-mode if you don't do it by now. Really nice even without > its delayed disk write feature. Er, I already use it. I wrote it, in fact. :) > 2. Displays are by far the biggest energy consumers. Lower its > brightness as far as possible. Some laptops even allow you to switch its > backlight off - very nice if you are outdoor. That's what I do (Never tried outdoor however). Somehow the pommed daemon seems less granular in managing the screen than OS X, however. > 3. Use the powersave-governor. If you really need the additional power > ondemand offers, try the conservative-governor. It increases the clock > rate slower than ondemand and might stop it from jumping too fast too > high. Thanks for the tip! > 4. Try sys-power/powertop. It shows you processes creating a lot up > wakeups for the CPU. It also gives you tips on your kernel config. Thanks too. I know about powertop but it complains about something not correctly set up in my kernel. I have to do this janitorial work. > 5. Sometimes a BIOS update helps... Well, if it's a BIOS issue, OS X works around it? I think it's just my system suffering some unavoidable limits with new machines, while Apple of course designed OS X around its own machines. > Hope this helps. Thanks a lot! m. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Portage issue
On Tuesday 19 February 2008, Michael Schmarck wrote: > Hello! > > Alan McKinnon-2 wrote: > > On Sunday 03 February 2008, Robert Stockdale IV wrote: > >> [blocks B ] >> app-shells/bash- 3.2_p33) > > > > emerge --sync, there is a later version of portage in the tree that > > bash does not block > > Hm. Are you sure? Not so much anymore... One of the admins at work is having similar troubles with a machine not updated for a while. I didn't go through this on my notebook which is updated weekly, so perhaps I hit an ideal window of opportunity between commits. Let's look at this in more detail: You have portage-2.1.2.2 and want to upgrade to 2.1.4.4 You have bash-3.1_p17 and want to upgrade to 3.2_33 bash-3.1_p17 has no DEPEND blockers bash-3.2-p17-r1 has no DEPEND blockers bash-3.2_p33 blocks =app-shells/bash-3.1_p17 portage-2.1.3.19 requires >=app-shells/bash-3.2_p17 portage-2.1.4.4 requires >=app-shells/bash-3.2_p17 Ignore the conditional blocker from portage as you should not have build in USE. Now aside from what on earth certain versions of portage have to do with certain versions of bash... try this: emerge bash-3.2-p17-r1 emerge portage emerge bash > I just installed 2007.0 and set ACCEPT_KEYWORDS=~x86. I then > did a emerge --sync followed by an "emerge -vat portage". Result: > > test9 / # emerge -vat portage > > These are the packages that would be merged, in reverse order: > > Calculating dependencies... done! > [nomerge ] sys-apps/portage-2.1.4.4 [2.1.2.2] USE="-build -doc > -epydoc (-selinux)" LINGUAS="-pl" > [ebuild U ] app-shells/bash-3.2_p33 [3.1_p17] USE="-afs > -bashlogger nls -plugins% -vanilla" 2,564 kB > [ebuild U ] sys-apps/portage-2.1.4.4 [2.1.2.2] USE="-build -doc > -epydoc (-selinux)" LINGUAS="-pl" 368 kB > [nomerge ] dev-lang/python-2.5.1-r5 USE="berkdb -bootstrap > -build -doc -examples gdbm -ipv6 ncurses -nothreads readline -sqlite > ssl -tk -ucs2" [ebuild N] app-admin/python-updater-0.4 4 kB > [ebuild NS ] dev-lang/python-2.5.1-r5 USE="berkdb -bootstrap > -build -doc -examples gdbm -ipv6 ncurses -nothreads readline -sqlite > ssl -tk -ucs2" 9,174 kB > [ebuild U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.17] 232 kB > [blocks B ] app-shells/bash-3.2_p33) > > Total: 5 packages (3 upgrades, 1 new, 1 in new slot, 1 block), Size > of downloads: 12,338 kB > > !!! Error: The above package list contains packages which cannot be > installed > !!!at the same time on the same system. > > For more information about Blocked Packages, please refer to the > following section of the Gentoo Linux x86 Handbook (architecture is > irrelevant): > > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked > > How do you get around this blocker? > > Thanks, > Michael > > - > -- > Michael Schmarck > [EMAIL PROTECTED] > -- > View this message in context: > http://www.nabble.com/Portage-issue-tp15256634p15562413.html Sent > from the gentoo-user mailing list archive at Nabble.com. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] MacBook: How many hours on battery with Gentoo?
On Tuesday 19 February 2008, b.n. wrote: > Florian Philipp ha scritto: > > On Tue, 2008-02-19 at 20:07 +0100, b.n. wrote: > > 1. Use laptop-mode if you don't do it by now. Really nice even > > without its delayed disk write feature. > > Er, I already use it. I wrote it, in fact. :) Dude, you just made my day :-) That is so funny, in a "Wow! What's the odds of that?" kind of way :-) -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] MacBook: How many hours on battery with Gentoo?
Alan McKinnon ha scritto: > On Tuesday 19 February 2008, b.n. wrote: >> Florian Philipp ha scritto: >>> On Tue, 2008-02-19 at 20:07 +0100, b.n. wrote: >>> 1. Use laptop-mode if you don't do it by now. Really nice even >>> without its delayed disk write feature. >> Er, I already use it. I wrote it, in fact. :) > > Dude, you just made my day :-) > > That is so funny, in a "Wow! What's the odds of that?" kind of way :-) Ehm, maybe you are understanding "I wrote the laptop mode code". That's quite wrong. My programming capabilities are quite scarce... and I never ever did anything remotely looking like kernel programming. I meant, I wrote I used it in the previous email!! However now I see how easy was the misunderstanding (I'm not of English mother language). Hope the *real* author of laptop-mode was not reading! m. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] MacBook: How many hours on battery with Gentoo?
On Wednesday 20 February 2008, b.n. wrote: > Alan McKinnon ha scritto: > > On Tuesday 19 February 2008, b.n. wrote: > >> Florian Philipp ha scritto: > >>> On Tue, 2008-02-19 at 20:07 +0100, b.n. wrote: > >>> 1. Use laptop-mode if you don't do it by now. Really nice even > >>> without its delayed disk write feature. > >> > >> Er, I already use it. I wrote it, in fact. :) > > > > Dude, you just made my day :-) > > > > That is so funny, in a "Wow! What's the odds of that?" kind of way > > :-) > > Ehm, maybe you are understanding "I wrote the laptop mode code". > That's quite wrong. My programming capabilities are quite scarce... > and I never ever did anything remotely looking like kernel > programming. > > I meant, I wrote I used it in the previous email!! > > However now I see how easy was the misunderstanding (I'm not of > English mother language). Hope the *real* author of laptop-mode was > not reading! Oops :-) But it still put a smile on my face after an especially hard day :-) -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] vesa-tng not working with kernel 2.6.24
On Tue, 2008-02-19 at 13:30 +0100, Wael Nasreddine wrote: > This One Time, at Band Camp, John covici <[EMAIL PROTECTED]> said, > On Tue, Feb 19, 2008 at 07:23:04AM -0500: > > Do I still need to do what I have been doing -- using genkernel to > > generate the initial ram disk or should I skip this step? > Yes it is the same as vesafb, though you should install > sys-apps/v86d and make sure you have > CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs" in your kernel > config... It depends how early you want the splash screen to come up. It should work without the initramfs, but you'll get a few kernel text messages go by first. cya, -- Iain Buchanan Fortune's Office Door Sign of the Week: Incorrigible punster -- Do not incorrige. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] How to avoid NetworkManager logs in terminals
On Tue, 2008-02-19 at 12:03 -0300, Ale wrote: > 2008/2/18, Iain Buchanan <[EMAIL PROTECTED]>: > > Sounds like NetworkManager is using syslog() to write to the log file, > > and you have syslog set up to notify you. This usually happens by > > printing messages to console 1! NetworkManager seems to translate glib > > errors directly to syslog errors. Have a look at nm-logging.c if you > > want to see more about that. > > > > Anyway, depending on the logger you use (I use syslog-ng) you can set it > > up not to be so verbose. syslog-ng allows you to filter based on > > program name for example. man syslog-ng.conf for more info (or whatever > > logger you use :) > > > > Have a look at http://www.campin.net/syslog-ng.conf for some examples. > > > > HTH, > > > You rock! that was the key of my problem, i just added syslog-ng to the > default run level and i don't get more that odd behavior of NetworkManager. > Now is time to configure syslog-ng properly. > > Many thanks! :D no probs. It took a while but we got there! cya, -- Iain Buchanan * m2 stares at the monitor... it looks like a hamburger... m2 - that's a bad sign -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Question about library with undfined refs
I tried to run make on my project today and it came back with a lot of errors that are very similar to this one: /usr/local/lib/libmysqlpp.so: undefined reference to `typeinfo for [EMAIL PROTECTED]' I ran revdep-rebuild --library=/usr/local/lib/libmysqlpp.so and it didn't want to rebuild anything. I then re-merged mysql++. Ran make again. Same errors. What's the next step I should take to resolve this? -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Portage issue
Good morning! Alan McKinnon-2 wrote: > > On Tuesday 19 February 2008, Michael Schmarck wrote: >> Hello! >> >> Alan McKinnon-2 wrote: >> > On Sunday 03 February 2008, Robert Stockdale IV wrote: >> >> [blocks B ] > >> app-shells/bash- 3.2_p33) >> > >> > emerge --sync, there is a later version of portage in the tree that >> > bash does not block >> >> Hm. Are you sure? > > Not so much anymore... > ;-) Alan McKinnon-2 wrote: > > try this: > > emerge bash-3.2-p17-r1 > emerge portage > emerge bash > This worked for me, as I found out a short while after I posted my original message :) Thanks a lot for your explanation. This way, it's at least understandable *WHY* this works ;-) Best regards, Michael - -- Michael Schmarck [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Portage-issue-tp15256634p15583094.html Sent from the gentoo-user mailing list archive at Nabble.com. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Portage issue
On Wednesday 20 February 2008, Michael Schmarck wrote: > > emerge bash-3.2-p17-r1 > > emerge portage > > emerge bash > > This worked for me, as I found out a short while after I posted > my original message :) Thanks a lot for your explanation. This > way, it's at least understandable *WHY* this works ;-) You're welcome. What I'd like to know is in which universe portage could block bash It just sounds a bit daft, sort of like OpenOffice blocking mutt... -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Gentoo "Install CD" 2008.Feb.08. minimal i686
Dear All, I would like to ask those people, who uploaded the torrent file to different trackers, please modify the description by this additional note: -- >8 Please note: this is NOT AN OFFICIAL RELEASE from gentoo.org! Do not send bugreports to the gentoo.org, but visit the site wrote below and use the Forum (http://www.osbusiness.hu) to inform the author. -- >8 Thank you! István 2008. 02. 11, hétfő keltezéssel 08.22-kor Pongracz Istvan ezt írta: > Hi, > > Sure, thank you for you both (Iain and Hal). > I prepare a torrent file and I will send it to you. > I plan to bundle the livecd + portage snapshot + stage3. > Any pro/contra? > > First, I have to learn using a tracker :) > > István > > > 2008. 02. 10, vasárnap keltezéssel 22.08-kor Hal Martin ezt írta: > > Can I have a copy of the torrent? I have ~3Mbit up. > > > > > > -Hal > > > > > > Iain Buchanan wrote: > > > > > > > > > let me know when, and I'll seed it for you :) I only have 256k up but > > > it's a start! > > > > > > -- > BSA. Mert megérdemlitek. > Open Source. Mert megérdemlem. > -- > BSA. They value it. > Open Source. The value. It. > -- > http://www.osbusiness.hu > -- BSA. Mert megérdemlitek. Open Source. Mert megérdemlem. -- BSA. They value it. Open Source. The value. It. -- http://www.osbusiness.hu -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Portage issue
Alan McKinnon написа: On Wednesday 20 February 2008, Michael Schmarck wrote: emerge bash-3.2-p17-r1 emerge portage emerge bash This worked for me, as I found out a short while after I posted my original message :) Thanks a lot for your explanation. This way, it's at least understandable *WHY* this works ;-) You're welcome. What I'd like to know is in which universe portage could block bash It just sounds a bit daft, sort of like OpenOffice blocking mutt... Hi, Thinking about it, much of portage is bash-scripts, no. Maybe some portage features depend on newer bash functions, just guessing. HTH. Rumen smime.p7s Description: S/MIME Cryptographic Signature