Re: [gentoo-user] [ot General Textmode q]

2009-09-23 Thread Mick
On Wednesday 23 September 2009, Willie Wong wrote:
 On Tue, Sep 22, 2009 at 04:37:15PM -0500, Penguin Lover Harry Putnam 
squawked:
  Can any one tell me how to copy with mouse (really the left mouse
  button provided on the touchpad) but paste from keyboard while in text
  (console) mode?  Or using the touch pad thing somehow.  I've tried
  pressing both touchpad buttons at once to emulate middle mouse but it
  has no effect.

 In console the copy-paste is provided by GPM. And I thought GPM paste
 is right mouse key, not middle key. And I am also pretty sure that GPM
 does not do third button emulation the way X does.

 I think a possibility is that you have plugged in and used a mouse
 with three buttons. This forced gpm into 3 button mode, so that the
 middle button becomes paste and right button is extend selection. Then
 you poor two-button touchpad has no more paste.

 To prevent that edit /etc/conf.d/gpm and add APPEND=-2 to force gpm
 to stick with 2-button mode.

I am not running gpm to test; have you tried the obvious 'Insert', or Shift+I, 
or Shift+Insert?
-- 
Regards,
Mick


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


Re: [gentoo-user] Does Firefox call Google?

2009-09-23 Thread KH

Grant schrieb:

[snip]  and the home page is not set to go there.[snip]


Hi,

does this also include stuff like google analytics? Like are there adds 
on the homepage?


kh

http://www.ghostery.com/apps/google_analytics



Re: [gentoo-user] Does Firefox call Google?

2009-09-23 Thread Grant
 [snip]  and the home page is not set to go there.[snip]

 Hi,

 does this also include stuff like google analytics? Like are there adds on
 the homepage?

Good question, I will test for that.

Does anyone know if Firefox downloads its website lists from Google?

- Grant



Re: [gentoo-user] Re: [ot General Textmode q]

2009-09-23 Thread Willie Wong
On Tue, Sep 22, 2009 at 08:56:20PM -0500, Penguin Lover Harry Putnam squawked:
 No one responded about the possibility of using the keyboard to do the
 paste ... and man gpm is silent about it as well, does that mean its
 not really possible to copy with mouse and paste with keyboard?

I am not sure if it is even possible. This will require a server that
catches all keystrokes from the keyboard, decide whether the
keystrokes are to be sent to the application or to gpm, and act
accordingly. 

If you are in a position to select text with your mouse, I think you
are usually in a pretty good position to paste text with your mouse.
(Even for one button mice, if you read 'info gpm', which has more
details, I think it shows you how to rebind a Metakey+mouseclick
combo.)

You can of course do some sort of cut-and-paste on the console using
readline. With the history buffer, if you have typed one long command
before, you shouldn't need to do it again :) 

Else I'd just use Vim's built-in yank and pop with splitwindows. 

Maybe it is possible to integrate readline with gpm? Never thought of
that, and google doesn't show anything useful either. 

W
-- 
The longest word in the English language is the one
that follows And now a word from out sponsor.
~Jack Benny
Sortir en Pantoufles: up 1020 days,  6:54



Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-23 Thread Willie Wong
On Tue, Sep 22, 2009 at 11:41:52PM -0400, Penguin Lover Philip Webb squawked:
   debug1: Remote protocol version 1.5, remote software version 1.2.17
   debug1: no match: 1.2.17
   Protocol major versions differ: 2 vs. 1
   Couldn't read packet: Connection reset by peer
 
 It looks as if the U server has an earlier version of the software.
 
Egads, this is U Toronto? Still using ssh-1? 

SSH-1 does not have the concept of subsystems, so while your version
of ssh and scp can communicate with the ssh server at the other end,
you cannot 'pass to subsystem sftp'... 

Whay you need to do, assuming that you university is using a version
of ssh that bundles with an sftp-server, but NOT ssh-2, is to first

1. ssh into the server in question.
2. track down the path to the sftp server binary. In gentoo with
openssh it is /usr/lib/misc/sftp-server. 
3. Try running sftp with the flag '-s path-to-sftp-server-binary' the
path should be the absolute path on the remote machine. 

Alternatively, ask your IT people about sftp. They should be able to
tell you if it is possible to be used. And if not, tell them to
upgrade to ssh-2 already. :)

W

-- 
(04:01:59) W: yep
(04:02:02) W: I love linux
(04:02:15) NJYWT: I love penguins
Sortir en Pantoufles: up 1020 days,  7:15



[gentoo-user] Re: Hints on setting up mythweb?

2009-09-23 Thread Grant Edwards
On 2009-09-23, Mark Knecht markkne...@gmail.com wrote:
 On Tue, Sep 22, 2009 at 8:19 PM, Grant Edwards
grant.b.edwa...@gmail.com wrote:
 On 2009-09-23, Grant Edwards grant.b.edwa...@gmail.com wrote:
SNIP

 And it failed. ??Mythbackend doesn't seem to know where to put
 the recorded files...

 Bitten again by permissions. ??I forgot to set the ownership of
 the /myth directory to be the mythtv user. ??I'm happily
 recording after making sure that mythbackend could write to the
 directory where I told it to store recordings.

 I still need to hook up the second tuner in my HDHomerun. ??I
 swear there must be at least a half-dozen 2-way RF splitters in
 the house, but can I _find_ one when I need one

 I have my permissions on the video storage directory set to
 mythtv:video IIRC.

That's what I decided on.

 That was straight out of the Gentoo Wiki stuff somewhere.

Yup -- except that it says to use mythtv:mythtv, instead of
mythtv:video. I missed that step somehow.

 I got burned by it this week when my USB storage drive failed
 and I had to replace it with an old 1394 drive.

The error message you see in the backend log is truely cryptic.
Instead of saying it didn't have permission to create file
/myth/tv/whatever.mpg, you get some bizarre message about a
very long, apparently unrelated URL not being local or not be
found or something like that.

-- 
Grant Edwards   grante Yow! Are we THERE yet?
  at   My MIND is a SUBMARINE!!
   visi.com




Re: [gentoo-user] Re: upgrade of xfce4 degrades terminal

2009-09-23 Thread Paul Hartman
On Tue, Sep 22, 2009 at 6:40 PM, walt w41...@gmail.com wrote:
 On 09/21/2009 09:13 PM, Maxim Wexler wrote:

 Opens an identical xterm. In the original terminal it says

 Warning: Cannot convert string nil2 to type FontStruct

 before spawning the new terminal.

 Search results inconclusive.  BTW if you google Warning: Cannot
 convert string nil2 to type FontStruct + xfterm4 you get precisely
 one hit, which I believe is known as a googlewhack.

 This is the terminal I want, the one I used to have:

 http://goodies.xfce.org/projects/applications/terminal

 This is the terminal I have now:

 http://www.xfce.org/projects/terminal...

 Is this still a problem for you?  I just emerged x11-terms/terminal
 (both versions) and both are like the one you want.  Neither package
 has anything to do with xfterm4, so maybe that's an obsolete file.

I don't have xfce installed at the moment but a bit a googling shows
xfterm4 is a launcher script for the panel that opens a terminal (not
necessarily Terminal, depending on what you've configured). Maybe you
can look at it and see what it's trying to do.



Re: [gentoo-user] Re: Hints on setting up mythweb?

2009-09-23 Thread Mark Knecht
On Wed, Sep 23, 2009 at 7:37 AM, Grant Edwards
grant.b.edwa...@gmail.com wrote:
 On 2009-09-23, Mark Knecht markkne...@gmail.com wrote:
 On Tue, Sep 22, 2009 at 8:19 PM, Grant Edwards
grant.b.edwa...@gmail.com wrote:
 On 2009-09-23, Grant Edwards grant.b.edwa...@gmail.com wrote:
SNIP

 And it failed. ??Mythbackend doesn't seem to know where to put
 the recorded files...

 Bitten again by permissions. ??I forgot to set the ownership of
 the /myth directory to be the mythtv user. ??I'm happily
 recording after making sure that mythbackend could write to the
 directory where I told it to store recordings.

 I still need to hook up the second tuner in my HDHomerun. ??I
 swear there must be at least a half-dozen 2-way RF splitters in
 the house, but can I _find_ one when I need one

 I have my permissions on the video storage directory set to
 mythtv:video IIRC.

 That's what I decided on.

 That was straight out of the Gentoo Wiki stuff somewhere.

 Yup -- except that it says to use mythtv:mythtv, instead of
 mythtv:video. I missed that step somehow.

I suspect this might have been on the MythTV site but I don't really
remember now.


 I got burned by it this week when my USB storage drive failed
 and I had to replace it with an old 1394 drive.

 The error message you see in the backend log is truely cryptic.
 Instead of saying it didn't have permission to create file
 /myth/tv/whatever.mpg, you get some bizarre message about a
 very long, apparently unrelated URL not being local or not be
 found or something like that.

Sounds familiar. Glad you got it all running.

cheers,
Mark



Re: [gentoo-user] Does Firefox call Google?

2009-09-23 Thread Paul Hartman
On Wed, Sep 23, 2009 at 2:45 AM, Grant emailgr...@gmail.com wrote:

 Does anyone know if Firefox downloads its website lists from Google?

I think in FF1 and FF2 it would periodically download a list of bad
URLs (FF1) or a list of hashes of bad domain names (FF1 and FF2) and
check the local list for hits. In FF3 I believe the phishing filter
submits every site to google as you browse, in real time. It may
download the list, too. I'm not entirely sure. Disable Block reported
web forgeries and Block reported attack sites in Firefo if you'd
rather not (potentially) tell Google about every URL you ever visit.

The host sb.google.com contains the lists.



Re: [gentoo-user] Re: [ot General Textmode q]

2009-09-23 Thread Paul Hartman
On Tue, Sep 22, 2009 at 8:56 PM, Harry Putnam rea...@newsguy.com wrote:
 No one responded about the possibility of using the keyboard to do the
 paste ... and man gpm is silent about it as well, does that mean its
 not really possible to copy with mouse and paste with keyboard?

The only way I can think is to use screen, which has keyboard-based
text selection, copy and paste functionality (including selecting from
the scrollback buffer).



Re: [gentoo-user] Does Firefox call Google?

2009-09-23 Thread Frank Steinmetzger
Am Mittwoch, 23. September 2009 schrieb KH:
 Grant schrieb:
  [snip]  and the home page is not set to go there.[snip]

 Hi,

 does this also include stuff like google analytics? Like are there adds
 on the homepage?

I'm blocking all requests to google analytics with NoScript.
Google doesn’t have to know everything.
The same goes for googlesyndication.
-- 
Gruß | Greetings | Qapla'
Hard drives have two known states: new and full.


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


Re: [gentoo-user] Does Firefox call Google?

2009-09-23 Thread Paul Hartman
On Wed, Sep 23, 2009 at 10:56 AM, Frank Steinmetzger war...@gmx.de wrote:
 Am Mittwoch, 23. September 2009 schrieb KH:
 Grant schrieb:
  [snip]  and the home page is not set to go there.[snip]

 Hi,

 does this also include stuff like google analytics? Like are there adds
 on the homepage?

 I'm blocking all requests to google analytics with NoScript.
 Google doesn’t have to know everything.
 The same goes for googlesyndication.

It's a double-edged sword. If I block google-analytics, web site
owners won't know that I've visited their site. It will be one less
Linux user in their stats. (But everyone uses Windows, look at the
stats! Let's use ActiveX!)



Re: [gentoo-user] Does Firefox call Google?

2009-09-23 Thread Paul Hartman
On Wed, Sep 23, 2009 at 11:05 AM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Wed, Sep 23, 2009 at 10:56 AM, Frank Steinmetzger war...@gmx.de wrote:
 Am Mittwoch, 23. September 2009 schrieb KH:
 Grant schrieb:
  [snip]  and the home page is not set to go there.[snip]

 Hi,

 does this also include stuff like google analytics? Like are there adds
 on the homepage?

 I'm blocking all requests to google analytics with NoScript.
 Google doesn’t have to know everything.
 The same goes for googlesyndication.

 It's a double-edged sword. If I block google-analytics, web site
 owners won't know that I've visited their site. It will be one less
 Linux user in their stats. (But everyone uses Windows, look at the
 stats! Let's use ActiveX!)

* I will add that of course they can read their server logs, but you'd
be surprised how many people rely solely on GA and don't even know how
to read their server logs. Or on high-traffic sites the logs can be
many gigabytes per day and they simply can't download them and store
them.



[gentoo-user] libjpeg, 6 vs 7, and emacs

2009-09-23 Thread felix
Gentoo updates refuse to install both versions 6 and 7 of jpeg,
and I have found that certain applications, like emacs, refuse
to remerge with -7 so I have been refusing the -7 update for a
month or two now.  Every once in a while, one slips by me,
usually because I forget to remove thunderbird from the list of
updates, and I find out when emacs won't run.  If I try to build
emacs with -7, it complains, so I remerge jpeg-6 and then emacs
is happy again.  I do not understand the compat lib; it also blocks,
and since I can just refuse the -7 update and keep on working, I
have not looked into it much, figuring that sooner or later emacs
and other packages will be upgraded to handle jpeg-7.

Recently another jpeg-7 upgrade slipped past me, only this time it
got weird.  I remerged jpeg-6 and found that emacs now complained
that jpeg-7 was missing.  Here is ldd /usr/emacs/bin|grep jpeg:

libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0x7f0cbd19f000)
libjpeg.so.7 = not found

Now I am puzzled.   If jpeg-6 and -7 block each other, how did
emacs end up expecting both?  If I try to emerge emacs with -6
installed and -7 missing, it complains that gtk is not installed properly.

Obviously I am doing something wrong.  Gentoo documentation on the
jpeg compatibility lib is so minimal as to be useless, unless I
have just not found the right documentation.  If that is the right
solution to my mess, I'd like to get it working, but I can't figure
out how to emerge the compatibility library when it blocks.

These are the packages that would be merged, in order:

Calculating dependencies  .... done!
[ebuild  N] media-libs/jpeg-compat-6b-r1  0 kB
[blocks B ] media-libs/jpeg-7 (media-libs/jpeg-7 is blocking 
media-libs/jpeg-compat-6b-r1)

Total: 1 package (1 new), Size of downloads: 0 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'media-libs/jpeg-compat-6b-r1', 'merge') pulled in by
media-libs/jpeg-compat

  ('installed', '/', 'media-libs/jpeg-6b-r8', 'nomerge') pulled in by
media-libs/jpeg required by ('installed', '/', 'x11-libs/qt-3.3.8b-r2', 
'nomerge')
media-libs/jpeg required by ('installed', '/', 'x11-libs/openmotif-2.3.2', 
'nomerge')
media-libs/jpeg required by ('installed', '/', 
'dev-python/wxpython-2.6.4.0-r2', 'nomerge')
(and 88 more)

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



Re: [gentoo-user] libjpeg, 6 vs 7, and emacs

2009-09-23 Thread Paul Hartman
On Wed, Sep 23, 2009 at 12:14 PM,  fe...@crowfix.com wrote:
 Gentoo updates refuse to install both versions 6 and 7 of jpeg,
 and I have found that certain applications, like emacs, refuse
 to remerge with -7 so I have been refusing the -7 update for a
 month or two now.  Every once in a while, one slips by me,
 usually because I forget to remove thunderbird from the list of
 updates, and I find out when emacs won't run.  If I try to build
 emacs with -7, it complains, so I remerge jpeg-6 and then emacs
 is happy again.  I do not understand the compat lib; it also blocks,
 and since I can just refuse the -7 update and keep on working, I
 have not looked into it much, figuring that sooner or later emacs
 and other packages will be upgraded to handle jpeg-7.

jpegcompat-6b replaces jpeg-6b IF you have jpeg-7 also installed. Any
packages that depend on jpeg-6b should compile with jpegcompat-6b
also.



[gentoo-user] Re: Does Firefox call Google?

2009-09-23 Thread Nikos Chantziaras

On 09/23/2009 05:16 AM, Grant wrote:

Does Firefox periodically make Google requests for
some reason?  The person logging in says they aren't attempting to
access Google, and the home page is not set to go there.  Does anyone
know why this might be happening?


If you haven’t disabled it, Firefox periodically downloads a current list
of
malware addresses for its phising filter.


Thank you.  Is this the checkbox: Tell me if the site I'm visiting is
a suspected attack site.


Two options, in the Security tab:

Block reported attack sites and Block reported web forgeries.


BTW, Firefox asks Google for the lists right?


Yes.  This is what Google says:

http://code.google.com/apis/safebrowsing/firefox3_privacy.html

your browser will contact Google's servers when you visit a potentially 
risky site. It will also periodically contact Google's servers to 
download the most recent list of known phishing and malware sites





[gentoo-user] Re: ati-drivers to radeon

2009-09-23 Thread James
Nikos Chantziaras realnc at arcor.de writes:

*   ATI Radeon display support │ │
  │ │[*] DDC/I2C for ATI Radeon support (NEW) │ 
│
  │ │[*] Support for backlight control (NEW)



Thanks.



James






[gentoo-user] Re: libjpeg, 6 vs 7, and emacs

2009-09-23 Thread walt

On 09/23/2009 10:14 AM, fe...@crowfix.com wrote:

Gentoo updates refuse to install both versions 6 and 7 of jpeg,
and I have found that certain applications, like emacs, refuse
to remerge with -7 so I have been refusing the -7 update for a
month or two now.  Every once in a while, one slips by me,
usually because I forget to remove thunderbird from the list of
updates, and I find out when emacs won't run.  If I try to build
emacs with -7, it complains, so I remerge jpeg-6 and then emacs
is happy again.  I do not understand the compat lib; it also blocks,
and since I can just refuse the -7 update and keep on working, I
have not looked into it much, figuring that sooner or later emacs
and other packages will be upgraded to handle jpeg-7.

Recently another jpeg-7 upgrade slipped past me, only this time it
got weird.  I remerged jpeg-6 and found that emacs now complained
that jpeg-7 was missing.  Here is ldd /usr/emacs/bin|grep jpeg:

libjpeg.so.62 =  /usr/lib/libjpeg.so.62 (0x7f0cbd19f000)
libjpeg.so.7 =  not found

Now I am puzzled.   If jpeg-6 and -7 block each other, how did
emacs end up expecting both?...


ldd is actually recursive and lists not only the libs linked to
emacs directly but also they libs *they* are linked to.

There was a bug recently where the same library was both 'found'
and 'not found' at the same time.

If you do an ldd on each of the libs separately you should find
out which one is expecting which libjpeg.

BTW, I have jpeg-7 on my ~amd64 machine and I didn't even know it,
and emacs works okay.  I can see why it wouldn't work for you as
long as emacs has conflicting dependencies like the above, though.






Re: [gentoo-user] Re: upgrade of xfce4 degrades terminal[FIXED - almost]

2009-09-23 Thread Maxim Wexler
   root:566 ~ emerge -pv x11-terms/terminal
 These are the packages that would be merged, in order:
 Calculating dependencies... done!
 [ebuild N ] dev-util/xfce4-dev-tools-4.6.0  61 kB
 [ebuild R ] x11-terms/terminal-0.4.0 USE=dbus -debug -doc (-nls%)

Ok, that restored my terminal. Now I have to keep xfce from opening
the old one automatically every time I startx.

Thanks

mw



[gentoo-user] opening port 8000

2009-09-23 Thread Maxim Wexler
Hi group,

Shoutcast doesn't connect. nmap reveals all my ports are closed. How
to open port 8000?
netstat -a doesn't mention it.

Maxim Wexler

ps sorry if another similar post made it to the list; I was typing
away and it just disappeared, honest



Re: [gentoo-user] opening port 8000

2009-09-23 Thread Justin
Maxim Wexler wrote:
 Hi group,
 
 Shoutcast doesn't connect. nmap reveals all my ports are closed. How
 to open port 8000?
 netstat -a doesn't mention it.
 
 Maxim Wexler
 
 ps sorry if another similar post made it to the list; I was typing
 away and it just disappeared, honest
 
Assuming you are using an iptables based fw:

iptables -A INPUT -p tcp --dport 8000 -j ACCEPT



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] opening port 8000

2009-09-23 Thread Paul Hartman
On Wed, Sep 23, 2009 at 3:38 PM, Maxim Wexler maxim.wex...@gmail.com wrote:
 Hi group,

 Shoutcast doesn't connect. nmap reveals all my ports are closed. How
 to open port 8000?
 netstat -a doesn't mention it.

 Maxim Wexler

 ps sorry if another similar post made it to the list; I was typing
 away and it just disappeared, honest

Well, two questions:

1) sudo netstat -lpn - do you see it listening on port 8000? if so,
2) open it on your firewall/router



[gentoo-user] Re: opening port 8000

2009-09-23 Thread Nikos Chantziaras

On 09/23/2009 11:38 PM, Maxim Wexler wrote:

Hi group,

Shoutcast doesn't connect. nmap reveals all my ports are closed. How
to open port 8000?
netstat -a doesn't mention it.


You mean you have a shoutcast server running on your machine?  Are you 
behind a NAT?


To see if you're behind a NAT, type:

  /sbin/ifconfig

and note the inet addr of your ethernet device (usually eth0). 
Then, go here:


  http://www.myipaddress.com/show-my-ip-address

and check if the IP address reported there is the same as the inet 
addr reported by ifconfig.  If they are not the same, you are behind a 
NAT.  That means you will have to forward port 8000 in the device your 
PC is connected to (a DSL modem/router/gateway, for example).





Re: [gentoo-user] opening port 8000

2009-09-23 Thread Kyle Adams
Maxim Wexler wrote:
 Hi group,

 Shoutcast doesn't connect. nmap reveals all my ports are closed. How
 to open port 8000?
 netstat -a doesn't mention it.

 Maxim Wexler

 ps sorry if another similar post made it to the list; I was typing
 away and it just disappeared, honest


   
Couple of quick questions though:
1.) Nmap from outside your network, or just the box with shoutcast?
2.) Direct connection to the internet or not.
a.) If not directly connected to internet, open port on router
b.) If directly connected iptables -A INPUT -p tcp --dport 8000 -j
ACCEPT


Cheers

Kad



[gentoo-user] OT: iptables w/ 2 web servers

2009-09-23 Thread James
Hello,


I have one static  IP with DNS (primary and secondary)
performed by my isp. I'm setting up a second web server
with a different domain name. It is setup already by the ISP
for DNS. Could someone post
some simple iptable examples of how to route 2 different
web server traffic streams to 2 different machines?

Both are inside the same DMZ2 different machines
with different (NAT) IP addresses.


Right now, all port 80 traffic is auto forwarded to
a single NAT address on the firewall. Simple. Now I have 
to figure out how to  forward different web traffic streams 
to 2 different NAT ip addresses, each on a different ip 
address and a different machine.


I do not want to put the sites on the same machine, for a variety
of reasons, beside one machine moves in a few months to a 
different physical location (and network numbers).


Suggestions or a good book for example would be keen.
I use raw IPtables/netfilter on the firewall. All servers
are gentoo.


James






Re: [gentoo-user] OT: iptables w/ 2 web servers

2009-09-23 Thread kashani

James wrote:

Hello,

I have one static  IP with DNS (primary and secondary)
performed by my isp. I'm setting up a second web server
with a different domain name. It is setup already by the ISP
for DNS. Could someone post
some simple iptable examples of how to route 2 different
web server traffic streams to 2 different machines?

Both are inside the same DMZ2 different machines
with different (NAT) IP addresses.

Right now, all port 80 traffic is auto forwarded to
a single NAT address on the firewall. Simple. Now I have 
to figure out how to  forward different web traffic streams 
to 2 different NAT ip addresses, each on a different ip 
address and a different machine.


I do not want to put the sites on the same machine, for a variety
of reasons, beside one machine moves in a few months to a 
different physical location (and network numbers).
 
Suggestions or a good book for example would be keen.

I use raw IPtables/netfilter on the firewall. All servers
are gentoo.


	I'm not sure it's possible via firewall rules because they are 
operating at the IP level and you'd really need to be doing deep looks 
into the packets to read the http request headers in order to figure out 
which server should be getting the connection.
	The simplest solution is to run a reverse proxy on your firewall that 
actually accepts the http connection, reads the http request, and then 
forwards it on to the correct web server. You can do this in apache via 
proxypass, Squid which is your most powerful and flexible option, ngnix, 
lighttpd, or Varnish.
	There are some security concerns with this type of setup, ie running 
daemons open to the public on your firewall, reverse proxies need to be 
locked down, hard to do IP based restrictions on the webserver, etc.


kashani



Re: [gentoo-user] Re: libjpeg, 6 vs 7, and emacs

2009-09-23 Thread felix
On Wed, Sep 23, 2009 at 01:22:00PM -0700, walt wrote:

 ldd is actually recursive and lists not only the libs linked to
 emacs directly but also they libs *they* are linked to.

I should have thought of that.  Alrighty, I'll go dig 'em up.

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



[gentoo-user] Login prompt customization

2009-09-23 Thread Mark Knecht
Hi,
   Is the text used for the login prompt at the boot console hardwired
or is there someplace - preferably a text file - where that could be
customized?

Thanks,
Mark



Re: [gentoo-user] Login prompt customization

2009-09-23 Thread Volker Armin Hemmann
On Donnerstag 24 September 2009, Mark Knecht wrote:
 Hi,
Is the text used for the login prompt at the boot console hardwired
 or is there someplace - preferably a text file - where that could be
 customized?
 
 Thanks,
 Mark
 

it can be customzied and it is explained on www.gentoo.org. Click on 'docs'



Re: [gentoo-user] Login prompt customization

2009-09-23 Thread Dale
Mark Knecht wrote:
 Hi,
Is the text used for the login prompt at the boot console hardwired
 or is there someplace - preferably a text file - where that could be
 customized?

 Thanks,
 Mark


   

Check into /etc/issue and see if that helps.  There may be a man page
for the options.

Dale

:-)  :-) 



[gentoo-user] [OT] Good fast IDE hard drive but cheap and BIG.

2009-09-23 Thread Dale
Hi,

I recently got DSL and youtube is growing on me.  LOL  I been trying to
find a really good hard drive that is around 400 to 500Gb and pretty
fast.  It has to be a IDE drive, you know, the big wide cables.  I don't
have SATA on this rig.

I have a Maxtor that I like and is pretty fast but it appears they are a
little hard to find nowadays.  In matter of importance:  size, price,
speed.  Newegg is great but will consider others as well.

Thanks for any pointers.  Open to ideas. 

Dale

:-)  :-) 



[gentoo-user] kvm and intel E5450 processor

2009-09-23 Thread James Erickson

today i installed two quad core Intel Xeon
E5450's (Harpertown). i notice in /proc/cpuinfo i no longer have a vmx
flag as i had with my previous Intel E5405's. i have also noticed that
my /dev/kvm device is no longer created. VT is enabled in the bios. the
data for the E5450's states that they have Intel Virtualization
Technology. so why dont i have a /dev/kvm? have i spent all that money
on processors that can't use kvm? can anyone shed some light on this
issue for me? i am confused.

James Erickson
  
_
Microsoft brings you a new way to search the web.  Try  Bing™ now
http://www.bing.com?form=MFEHPGpubl=WLHMTAGcrea=TEXT_MFEHPG_Core_tagline_try 
bing_1x1

Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-23 Thread Stroller


On 23 Sep 2009, at 09:33, Willie Wong wrote:
On Tue, Sep 22, 2009 at 11:41:52PM -0400, Penguin Lover Philip Webb  
squawked:

  ...
It looks as if the U server has an earlier version of the software.



Egads, this is U Toronto? Still using ssh-1?


I read it as only indicating that the /home/purslow/.ssh/id_[dr]sa  
files in the user's home directory were type 1.


I'm not clear whether these are in the home directory on the client or  
on the server, but I wonder if deleting them (`mv ~/.ssh ~/.ssh.old`)  
might allow one to make a ssh2 connection (using a password initially).


Stroller.




Re: [gentoo-user] OT: iptables w/ 2 web servers

2009-09-23 Thread Stroller


On 23 Sep 2009, at 22:35, James wrote:

...
I have one static IP
... Could someone post
some simple iptable examples of how to route 2 different
web server traffic streams to 2 different machines?

Both are inside the same DMZ2 different machines
with different (NAT) IP addresses.


Can't be done.

Inherently, a client requesting a webpage looks up the IP address for  
bigbreastedmommas.com, finds its 24.73.161.102 (or whatever) and send  
an http request to port 80 of that IP.


There is no way for IPtables to distinguish between an http request to  
bigbreastedmommas.com at 24.73.161.102 and an http request to  
bouncyboobs.com at 24.73.161.102, assuming both are on port 80.


I would LOVE to be proved wrong on this, because it would be immensely  
useful for NATted geeks. However an iptables module to do this  
certainly did not exist in the past, and I'm guessing there are  
protocol-specific reasons why it can't be done.


What you can do is forward port 80 to one machine and have that proxy  
to the other when necessary. Or have it redirect to the other, which  
listens on port 81.


Stroller.




[gentoo-user] KDE 4.3.1 : further queries

2009-09-23 Thread Philip Webb
Thanks for the advice so far.  Here are some more obstacles encountered.

Kworldview : no longer an independent app (as in 3.5.10),
but seems to have been incorporated into Marble (no problem with that).
I have a file '/usr/share/kde4/services/plasma-applet-kworldclock.desktop',
which belongs to Marble, but I can't find a way to use it in Marble.

Gwenview : can one view hidden files ? -- it's under 'view' in 3.5.10
 also assigned to Control-H , but nowhere to be seen in 4.3.1 .

Kcontrol : might this help with configuring KDE 4.3.1 apps ?
-- eg I really don't like the wider toolbars in 4.3.1
 would like to have smaller icons  no accompanying descriptions.
The version for 3.5.10 doesn't work on the Fluxbox desktop:
it opens but lacks the list of options on the left side.
Would I have more success with 4.3.1 (there are  8  dependencies) ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-23 Thread Philip Webb
090923 Willie Wong wrote:
 On Tue, Sep 22, 2009 at 11:41:52PM -0400, Penguin Lover Philip Webb squawked:
 It looks as if the U server has an earlier version of the software.
 Egads, this is U Toronto? Still using ssh-1? 

It's IRIX 5.3  seems to be left with minimal maintenance (it works).

 SSH-1 does not have the concept of subsystems,
 so while your version of ssh and scp can communicate with the ssh server
 at the other end, you cannot 'pass to subsystem sftp'... 
 Assuming it is using a version of ssh that bundles with an sftp-server,
 but NOT ssh-2, you need to 1. ssh into the server in question;
 2. track down the path to the sftp server binary:
 in Gentoo with openssh it is /usr/lib/misc/sftp-server;

There's no dir 'misc' in  /usr/lib  on the remote machine nor a 'ssh'.
 
 3. Try running sftp with the flag '-s path-to-sftp-server-binary'
 ie the absolute path on the remote machine. 

In reply to Stroller, all I have in  ~/.ssh  is 'known_hosts',
which does allow successful connection to the remote machine.

That's just to respond to both your kind helps (big smiles).
I checked the CHASS WWW site  it contained an Ssh access link;
when I logged in, the system was IRIX64 6.5  the hostname different.
Armed with that knowledge, I tried again with the new hostname
 succeeded with Sftp from CLI  from Krusader  with Fish from Krusader !
So something did change from Krusader 1.80.0 - 2.0.0 
-- perhaps no longer guessing a hostname if it's not found at once -- ,
but if I enter the (now known) correct hostname everything works as of old.

Thanks again for your advice.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] [OT] Good fast IDE hard drive but cheap and BIG.

2009-09-23 Thread Paul Hartman
On Wed, Sep 23, 2009 at 10:07 PM, Dale rdalek1...@gmail.com wrote:
 Hi,

 I recently got DSL and youtube is growing on me.  LOL  I been trying to
 find a really good hard drive that is around 400 to 500Gb and pretty
 fast.  It has to be a IDE drive, you know, the big wide cables.  I don't
 have SATA on this rig.

 I have a Maxtor that I like and is pretty fast but it appears they are a
 little hard to find nowadays.  In matter of importance:  size, price,
 speed.  Newegg is great but will consider others as well.

 Thanks for any pointers.  Open to ideas.

You can get a SATA-to-IDE adapter for a few dollars. That should
significantly open up your buying options, since nearly everything is
SATA now.



Re: [gentoo-user] [OT] Good fast IDE hard drive but cheap and BIG.

2009-09-23 Thread kashani

Dale wrote:

Hi,

I recently got DSL and youtube is growing on me.  LOL  I been trying to
find a really good hard drive that is around 400 to 500Gb and pretty
fast.  It has to be a IDE drive, you know, the big wide cables.  I don't
have SATA on this rig.

I have a Maxtor that I like and is pretty fast but it appears they are a
little hard to find nowadays.  In matter of importance:  size, price,
speed.  Newegg is great but will consider others as well.

Thanks for any pointers.  Open to ideas. 


SATA PCI card should be  $20. I'd then go with a SATA II drive.

kashani