Re: Question about Kickstart pre script busybox

2013-03-15 Thread Nico Kadel-Garcia
On Fri, Mar 15, 2013 at 2:12 AM, Yan Xiaofei yanxf...@gmail.com wrote:
 Hello

 I found SL58 use busybox environment in %pre script in kickstart.
 So some of the command failed because it different with util command.
 Is there way to disable busybox in %pre script?


 Another question:
 What is the default environment of SL5.9?

 Best Regards

 Xiaofei

The question is good, but kind of backwards. That small, limited shell
and binary environment on installation CD's and the old installtion
floppies had to be very, very small in order to *fit* on floppies.
Busybox provided that, with a lot of basic system commands linked into
a single binary to save space with all the command parsing and leaving
out lots of complex and not critical functions.

Since people don't use floppies for installation much anymore, it's
not so important. But the bigger this bootstraqp environment, the
larger the space needed in RAM for bootstrap installations such as
PXE, and the less RAM resources left for doing the actual instlalation
itself, especially for RPM installation processes or the X based GUI
that is commonly used now. So there's real pressure to keep the small,
limited busybox environment that has worked pretty well up until now.

If you need a LiveCD to do installations from, and aren't instlaling
on embedded devices with small resources, that's one way to get access
to more powerful tools.


Re: double precision versus single/float ?

2013-03-15 Thread Keith Lofstrom
I'm doing some very big phased array calculations on an oldish
Core2 Duo, preparing to migrate the inner loops to an nVidia
GPU.  These calculations do a lot of differencing when
computing nulls in the interference patterns (as does nature!)
and I presume that single precision will do them relatively
inaccurately.

I'm running 32 bit SL6.2 on the test machine, and gcc with libm .

I ran two calculations side by side, one with floats and one
with doubles, and they appear to have done the exact same thing,
even the same runtime, interesting given that 90% of the
calculation is a sin() and cos() calculation in a tight loop.
One would expect that the double precision calculation would
have more iterations and be slower.  And of course slightly
different placements for the nulls.

What am I missing?  Are double and float synonyms for the same
double precision representation?  If so, how do I emulate the
single-precision behavior of the GPU?  Note that the outer
outer outer loop of the calculation takes 6 days, though once
I locate some differences in a very large simulation field,
I can restrict the field and work faster.

Keith

(What?  Using scientific linux for Science? Oh, the horror...)

-- 
Keith Lofstrom  kei...@keithl.com Voice (503)-520-1993


Re: double precision versus single/float ?

2013-03-15 Thread Matthias Schroeder

Hi,

On 03/15/2013 04:59 PM, Keith Lofstrom wrote:

...  Are double and float synonyms for the same
double precision representation?


From http://en.wikipedia.org/wiki/C_data_types:

The actual size of floating point types also varies by implementation. 
The only guarantee is that the long double is not smaller than double, 
which is not smaller than float. Usually, 32-bit and 64-bit IEEE 754 
floating point formats are used, if supported by hardware.


The other issue could be that most calculations might be done using 
register values with precision far exceeding the precision of the 
variable in memory. That would complete 'hide' the expected effect of 
the float or double on the calculations. Use -ffloat-store to avoid this 
for your tests.


HTH,

Matthias


nspluginwrapper

2013-03-15 Thread Yasha Karant

Evidently, from URL:

http://nspluginwrapper.org/why.html

nspluginwrapper is currently the only means to run a plugin in a browser 
of a different architecture. It is most commonly used to run a 32-bit 
plugin built for x86 in a 64-bit browser built for x86-64


End quote

and thus appears to address the issue I have raised in a different 
thread.  I have found:


nspluginwrapper-1.4.4-1.el6_3.x86_64.rpm - A compatibility layer for 
Netscape 4 plugins


Does anyone have experience with this adaptation layer compatibility 
insert?  If so, good, bad, and is it reliable?


Yasha Karant


Re: nspluginwrapper

2013-03-15 Thread Todd And Margo Chester

On 03/15/2013 10:12 AM, Yasha Karant wrote:

Evidently, from URL:

http://nspluginwrapper.org/why.html

nspluginwrapper is currently the only means to run a plugin in a browser
of a different architecture. It is most commonly used to run a 32-bit
plugin built for x86 in a 64-bit browser built for x86-64

End quote

and thus appears to address the issue I have raised in a different
thread.  I have found:

nspluginwrapper-1.4.4-1.el6_3.x86_64.rpm - A compatibility layer for
Netscape 4 plugins

Does anyone have experience with this adaptation layer compatibility
insert?  If so, good, bad, and is it reliable?

Yasha Karant



Hi Yasha,

The only thing I tried to use it for was acrobat reader.  Flash
and Java all have 64 bit plug ins.  I never got it to work right.

It is a mute point now that Firefox 19 has a build in PDF reader.
It wont do fill in forms, but you just download a copy and
run acroread.

-T


need command line support of zoho

2013-03-15 Thread Todd And Margo Chester

Hi All,

The connection just times out.  Does anyone know what I am
doing wrong here?  This is Linux and the nail program.
(The account does work from Thunderbird.)

#!/bin/bash
echo nail test | \
nail -v \
-S smtp-use-starttls \
-S from=taperepo...@.com \
-S smtp-auth=login \
-S ssl-verify=ignore \
-S smtp-auth-user=taperepo...@.com \
-S smtp-auth-password=zz \
-S smtp=smtp.zoho.com:465 \
-s `dnsdomainname` zoho smtp test subject y...@zoho.com


Many thanks,
-T


Re: need command line support of zoho

2013-03-15 Thread Paul Robert Marino
Well that depends.If its clear text and you have the right flags set it will show you all of the raw data.Wireshark can in many cases decode it further.However if it ssl/tls encrypted there is a tool much to most infosec peoples dismay (and joy when its useful ) called ssldump that can take a tcpdump that captures the full conversation and decode it.But that answered is no not out of the box.-- Sent from my HP Pre3On Mar 15, 2013 10:27 PM, jdow j...@earthlink.net wrote: On 2013/03/15 19:14, Todd And Margo Chester wrote:
 On 03/15/2013 02:17 PM, Todd And Margo Chester wrote:
 Hi All,

 The connection just times out.  Does anyone know what I am
 doing wrong here?  This is Linux and the nail program.
 (The account does work from Thunderbird.)

 #!/bin/bash
 echo "nail test" | \
  nail -v \
 -S smtp-use-starttls \
 -S from=taperepo...@.com \
 -S smtp-auth=login \
 -S ssl-verify=ignore \
 -S smtp-auth-user=taperepo...@.com \
 -S smtp-auth-password=zz \
 -S smtp=smtp.zoho.com:465 \
 -s `dnsdomainname`" zoho smtp test subject" y...@zoho.com


 Many thanks,
 -T


 Okay, I've have gotten a little further along.  I am able to test
 with gmail but not yet with zoho:

 #!/bin/bash
 echo "nail test" | nail -v -s `dnsdomainname`" zoho smtp test subject" \
 -S smtp-use-starttls \
 -S smtp-auth=plain \
 -S ssl-verify=ignore \
 -S smtp=smtps://smtp.zoho.com:465 \
 -S from=x...@zoho.com \
 -S smtp-auth-user= \
 -S smtp-auth-password="hahahahaha" \
 -S nss-config-dir=/home/linuxutil/mailcerts/ \
 yy...@zoho.com


 Gives me:

 250 AUTH LOGIN PLAIN
 STARTTLS
 220 Ready to start TLS
 SSL/TLS handshake failed: Unknown error -5938.

 Anyone know what causes this?

 Many thanks,
 -T


 Okay.  I figured it out.  I commented out "-S smtp-use-starttls".
 Go figure.

 [editorial comment] AAHH!![/editorial comment]

 -T

Out of curiosity does tcpdump show the plain text login and message
transfer or is it encrypted?

{O.O}

Re: need command line support of zoho

2013-03-15 Thread Todd And Margo Chester

On 03/15/2013 08:05 PM, Paul Robert Marino wrote:

Well that depends.
If its clear text and you have the right flags set it will show you all
of the raw data.
Wireshark can in many cases decode it further.
However if it ssl/tls encrypted there is a tool much to most infosec
peoples dismay (and joy when its useful ) called ssldump that can take a
tcpdump that captures the full conversation and decode it.
But that answered is no not out of the box.



-- Sent from my HP Pre3


On Mar 15, 2013 10:27 PM, jdow j...@earthlink.net wrote:

On 2013/03/15 19:14, Todd And Margo Chester wrote:
  On 03/15/2013 02:17 PM, Todd And Margo Chester wrote:
  Hi All,
 
  The connection just times out. Does anyone know what I am
  doing wrong here? This is Linux and the nail program.
  (The account does work from Thunderbird.)
 
  #!/bin/bash
  echo nail test | \
  nail -v \
  -S smtp-use-starttls \
  -S from=taperepo...@.com \
  -S smtp-auth=login \
  -S ssl-verify=ignore \
  -S smtp-auth-user=taperepo...@.com \
  -S smtp-auth-password=zz \
  -S smtp=smtp.zoho.com:465 \
  -s `dnsdomainname` zoho smtp test subject y...@zoho.com
 
 
  Many thanks,
  -T
 
 
  Okay, I've have gotten a little further along. I am able to test
  with gmail but not yet with zoho:
 
  #!/bin/bash
  echo nail test | nail -v -s `dnsdomainname` zoho smtp test
subject \
  -S smtp-use-starttls \
  -S smtp-auth=plain \
  -S ssl-verify=ignore \
  -S smtp=smtps://smtp.zoho.com:465 \
  -S from=x...@zoho.com \
  -S smtp-auth-user= \
  -S smtp-auth-password=hahahahaha \
  -S nss-config-dir=/home/linuxutil/mailcerts/ \
  yy...@zoho.com
 
 
  Gives me:
 
  250 AUTH LOGIN PLAIN
  STARTTLS
  220 Ready to start TLS
  SSL/TLS handshake failed: Unknown error -5938.
 
  Anyone know what causes this?
 
  Many thanks,
  -T
 
 
  Okay. I figured it out. I commented out -S smtp-use-starttls.
  Go figure.
 
  [editorial comment] AAHH!![/editorial comment]
 
  -T

Out of curiosity does tcpdump show the plain text login and message
transfer or is it encrypted?

{O.O}



Don't know.  Does this help?

# ./MailxTest.rla
Resolving host smtp.zoho.com . . . done.
Connecting to 74.201.154.90 . . . connected.
220 mx.zohomail.com SMTP Server ready March 15, 2013 8:34:27 PM PDT
 EHLO server.aa.local
250-mx.zohomail.com Hello server.aaa.local 
(static-50-124-80-106.drr01.grdv.nv.nv.frontiernet.net (50.124.80.106))

250-SIZE 2500
250 AUTH LOGIN PLAIN
 AUTH LOGIN
334 VXNlcm5hbWU6
 YWNjb3VudGluZ0BhbHBpbmVmYXN0ZW5lci5jb20=
334 UGFzc3dvcmQ6
 ZmNhOTMyRGNtYQ==
235 Authentication Successful
 MAIL FROM:account...@.com
250 Sender account...@.com OK
 RCPT TO:a...@.com
250 Recipient a...@.com OK
 RCPT TO:cc...@.net
250 Recipient cc...@.net OK
 DATA
354 Ok Send data ending with CRLF.CRLF
 .
250 Message received
 QUIT
221 mx.zohomail.com closing connection


multi-monitor problems...

2013-03-15 Thread Steven Haigh

Hi again all,

This has started to bug me in a multi-monitor setup

1) notification-daemon always seems to pop up the notifications on the 
Top Right (This is good) of the screen that the mouse is currently on 
(this is bad). Is there a way that I can tell notification-daemon to use 
screen #x for all notifications instead of them changing based on where 
the mouse is at the time?


I had a quick look in the schema for notification-daemon that is 
presented via gconf-editor, but nothing stood out.


2) New windows seem to follow the mouse also. If I click the Thunderbird 
icon for instance, then move my mouse to the left of the three screens, 
the new thunderbird windows will appear on the left screen. If I leave 
the mouse on the middle screen, it will appear there - same with the 
right screen. Is there a way to disable this behaviour to either have 
the windows appear where they were last, or the centre by default?


Sorry if these seem to be fairly newbie questions - my history with 
linux has always been on the server / CLI end - this is the first time 
I've really been using linux on the desktop...


--
Steven Haigh

Email: net...@crc.id.au
Web: https://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299


Re: need command line support of zoho

2013-03-15 Thread jdow

The point is that he seemed to use an SSL port and he apparently found
using SSL did not work. So was something else providing the SSL (or other
encryption) or was the provider all fooed up?

{o.o}


On 2013/03/15 20:05, Paul Robert Marino wrote:

Well that depends.
If its clear text and you have the right flags set it will show you all of the
raw data.
Wireshark can in many cases decode it further.
However if it ssl/tls encrypted there is a tool much to most infosec peoples
dismay (and joy when its useful ) called ssldump that can take a tcpdump that
captures the full conversation and decode it.
But that answered is no not out of the box.



-- Sent from my HP Pre3


On Mar 15, 2013 10:27 PM, jdow j...@earthlink.net wrote:

On 2013/03/15 19:14, Todd And Margo Chester wrote:
  On 03/15/2013 02:17 PM, Todd And Margo Chester wrote:
  Hi All,
 
  The connection just times out. Does anyone know what I am
  doing wrong here? This is Linux and the nail program.
  (The account does work from Thunderbird.)
 
  #!/bin/bash
  echo nail test | \
  nail -v \
  -S smtp-use-starttls \
  -S from=taperepo...@.com \
  -S smtp-auth=login \
  -S ssl-verify=ignore \
  -S smtp-auth-user=taperepo...@.com \
  -S smtp-auth-password=zz \
  -S smtp=smtp.zoho.com:465 \
  -s `dnsdomainname` zoho smtp test subject y...@zoho.com
 
 
  Many thanks,
  -T
 
 
  Okay, I've have gotten a little further along. I am able to test
  with gmail but not yet with zoho:
 
  #!/bin/bash
  echo nail test | nail -v -s `dnsdomainname` zoho smtp test subject \
  -S smtp-use-starttls \
  -S smtp-auth=plain \
  -S ssl-verify=ignore \
  -S smtp=smtps://smtp.zoho.com:465 \
  -S from=x...@zoho.com \
  -S smtp-auth-user= \
  -S smtp-auth-password=hahahahaha \
  -S nss-config-dir=/home/linuxutil/mailcerts/ \
  yy...@zoho.com
 
 
  Gives me:
 
  250 AUTH LOGIN PLAIN
  STARTTLS
  220 Ready to start TLS
  SSL/TLS handshake failed: Unknown error -5938.
 
  Anyone know what causes this?
 
  Many thanks,
  -T
 
 
  Okay. I figured it out. I commented out -S smtp-use-starttls.
  Go figure.
 
  [editorial comment] AAHH!![/editorial comment]
 
  -T

Out of curiosity does tcpdump show the plain text login and message
transfer or is it encrypted?

{O.O}


Re: need command line support of zoho

2013-03-15 Thread jdow

On 2013/03/15 20:39, Todd And Margo Chester wrote:

On 03/15/2013 08:05 PM, Paul Robert Marino wrote:

Well that depends.
If its clear text and you have the right flags set it will show you all
of the raw data.
Wireshark can in many cases decode it further.
However if it ssl/tls encrypted there is a tool much to most infosec
peoples dismay (and joy when its useful ) called ssldump that can take a
tcpdump that captures the full conversation and decode it.
But that answered is no not out of the box.



-- Sent from my HP Pre3


On Mar 15, 2013 10:27 PM, jdow j...@earthlink.net wrote:

On 2013/03/15 19:14, Todd And Margo Chester wrote:
  On 03/15/2013 02:17 PM, Todd And Margo Chester wrote:
  Hi All,
 
  The connection just times out. Does anyone know what I am
  doing wrong here? This is Linux and the nail program.
  (The account does work from Thunderbird.)
 
  #!/bin/bash
  echo nail test | \
  nail -v \
  -S smtp-use-starttls \
  -S from=taperepo...@.com \
  -S smtp-auth=login \
  -S ssl-verify=ignore \
  -S smtp-auth-user=taperepo...@.com \
  -S smtp-auth-password=zz \
  -S smtp=smtp.zoho.com:465 \
  -s `dnsdomainname` zoho smtp test subject y...@zoho.com
 
 
  Many thanks,
  -T
 
 
  Okay, I've have gotten a little further along. I am able to test
  with gmail but not yet with zoho:
 
  #!/bin/bash
  echo nail test | nail -v -s `dnsdomainname` zoho smtp test
subject \
  -S smtp-use-starttls \
  -S smtp-auth=plain \
  -S ssl-verify=ignore \
  -S smtp=smtps://smtp.zoho.com:465 \
  -S from=x...@zoho.com \
  -S smtp-auth-user= \
  -S smtp-auth-password=hahahahaha \
  -S nss-config-dir=/home/linuxutil/mailcerts/ \
  yy...@zoho.com
 
 
  Gives me:
 
  250 AUTH LOGIN PLAIN
  STARTTLS
  220 Ready to start TLS
  SSL/TLS handshake failed: Unknown error -5938.
 
  Anyone know what causes this?
 
  Many thanks,
  -T
 
 
  Okay. I figured it out. I commented out -S smtp-use-starttls.
  Go figure.
 
  [editorial comment] AAHH!![/editorial comment]
 
  -T

Out of curiosity does tcpdump show the plain text login and message
transfer or is it encrypted?

{O.O}



Don't know.  Does this help?

# ./MailxTest.rla
Resolving host smtp.zoho.com . . . done.
Connecting to 74.201.154.90 . . . connected.
220 mx.zohomail.com SMTP Server ready March 15, 2013 8:34:27 PM PDT
  EHLO server.aa.local
250-mx.zohomail.com Hello server.aaa.local
(static-50-124-80-106.drr01.grdv.nv.nv.frontiernet.net (50.124.80.106))
250-SIZE 2500
250 AUTH LOGIN PLAIN
  AUTH LOGIN
334 VXNlcm5hbWU6
  YWNjb3VudGluZ0BhbHBpbmVmYXN0ZW5lci5jb20=
334 UGFzc3dvcmQ6
  ZmNhOTMyRGNtYQ==
235 Authentication Successful
  MAIL FROM:account...@.com
250 Sender account...@.com OK
  RCPT TO:a...@.com
250 Recipient a...@.com OK
  RCPT TO:cc...@.net
250 Recipient cc...@.net OK
  DATA
354 Ok Send data ending with CRLF.CRLF
  .
250 Message received
  QUIT
221 mx.zohomail.com closing connection



tcpdump would show whether the transaction was in clear text or not. It
does appear there might be some encryption on the login, though.

{^_^}