Re: NTP dynamic servers?

2007-01-22 Thread Jacques Normand
On Tue, Jan 23, 2007 at 01:49:55AM +0100, Bruno Voigt wrote:
> I'm running debian/unstable on my laptop and often the LAN/WLAN is not 
> connected (yet)
> when the system is starting up - including NTPD.
> 
> NTPD then seems to discard all unreachable server entries and ends up 
> with no peers left.
> In some googled doc I found the ntp.conf option "dynamic" to tell it 
> that some peers may become available later on,
> but the debian ntpd doesnt't seem to understand it - or I don't know how 
> to use it correctly.
> 
> What is the best way to configure the ntpd in such an environment ?

How about calling the init.d script from /etc/network/interfaces?

I mean, there is little need for having the deamon running while
offline and providing that your clock does not drift too much, that
should do it.

jacques


signature.asc
Description: Digital signature


Re: top post fixer?

2007-01-22 Thread Steve C. Lamb
On Mon, Jan 22, 2007 at 10:37:56AM -0600, Dave Sherohman wrote:
> On Mon, Jan 22, 2007 at 10:25:23AM -0600, John C wrote:
> > If you really believe this quote, why do you insist that bottom 
> > posting is the only *correct* way to go?
 
> There is a huge difference between encouraging someone to do something
> and forcing them to do it.  My intent is to persuade, not to enforce.

Not to mention there's a huge difference between interleaving/trimming and
bottom-posting.  Bottom-posting is no better than top-posting.

-- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
   PGP Key: 8B6E99C5   | main connection to the switchboard of souls.
---+-


signature.asc
Description: Digital signature


Re: top post fixer?

2007-01-22 Thread Steve C. Lamb
On Sun, Jan 21, 2007 at 12:15:55PM -0600, Dave Sherohman wrote:
> Granted, context is much less of a concern when reading in threaded
> mode within a single mail-reading session, but some blighted souls are
> still using non-threaded MUAs, memory of the thread's content fades
> when you move on to other threads (or, heaven forbid, non-email-reading
> activities), and the context even changes to some degree when one branch
> of the thread ends and you move into another.  Threading alone is not
> a complete solution to the problem of maintaining context.

Of course all of this presumes that one keeps mail around for referencing.
At several hundred messages a day in some lists I don't.  If I don't read it
and need too keep it for something it gets deleted then and there.  That's
what the archives are for.

Besides, if everyone had perfect threading and an infinite archive there
would be no reason to quote the entire previous thread anyway.  There's just
no reason for it at all.

-- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
   PGP Key: 8B6E99C5   | main connection to the switchboard of souls.
---+-


signature.asc
Description: Digital signature


Re: top post fixer?

2007-01-22 Thread Steve C. Lamb
On Sat, Jan 20, 2007 at 07:43:05AM -0800, Francis Healy wrote:
>   Why is it that most mail clients default to a top post?  When you hit
> reply, There is a blank space where your cursor it, followed by .
> wrote: and then the message you are replying to.  If top posting is really
> as bad as some individuals claim (and I am by no means convinced of this),
> then change this default behavior in mail clients.

Define "most".  In all of the email clients I have ever chosen to use not
a single one exhibits the behavior you describe.  Pine, elm, mutt, PMMail/2,
PMMail2000, TheBat, Sylpheed-Claws, Thunderbird just to name most.  Pretty
much the only culprit is Lookout!  Is that surprising given that it is a
Microsoft product and their modus operandi is to break standards since they
know the ignorant masses of their typical user will think it is the other
people who are broken?

-- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
   PGP Key: 8B6E99C5   | main connection to the switchboard of souls.
---+-


signature.asc
Description: Digital signature


Re: Data Redundancy

2007-01-22 Thread Tom Brown
On Mon, 2007-01-22 at 15:43 +1000, Will Parkinson wrote:
> Hi All,
> 
> I have a server that i need to mirror elsewhere for data redundancy 
> purposes.  What is the best way to have this done?  The sites on my box 
> are MySQL and PostgreSQL driven so those need to be on both machines as 
> well.  Ideally id like to have a main server and in any event that the 
> main server went down, switch to the other server. 

That's exactly what drbd+heartbeat does for you. drbd mirrors your data
and heartbeat handles the fail over. (see drbd.org and linux-ha.org)
This has worked for me. I think I saw someone mention heartbeat and
linux-ha already, so sorry if this is redundant. The ideal scenario is
to have both machines identical, but that is not necessary. So, if you
have another server you can use, it may be cheap that way. However,
there is a time commitment to learning how to use the two tools.

Good luck,
Tom


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian Installation Problem

2007-01-22 Thread user local

2007/1/22, Nikolai Todorov <[EMAIL PROTECTED]>:


Hello,
recently I had a big problem with the net isntallation of Debian 31r4
sarge. I just cannot connect to internet... During the installation i wrote
my IP( it is static IP), my gateway, my subnet mas and dns.



Proxy(?)

With best regards!


RE: Help! Can't login or su, but SSH is ok...

2007-01-22 Thread Kevin Ross
> -Original Message-
> From: Marc Branchaud [mailto:[EMAIL PROTECTED] 
> Sent: Monday, January 22, 2007 2:54 PM
> To: debian-user@lists.debian.org
> Subject: Help! Can't login or su, but SSH is ok...
> 
> Hi all,
> 
> Over the weekend one of my sarge boxes decided to stop 
> accepting logins. 
>   Currently, the box allows remote SSH (via public-key 
> authentication) 
> for regular users, but it doesn't allow user logins via 
> telnet or on the 
> console, even for root.  SSH'd-in users also can't su to any user.
> 
> The only way root can currently log in is to reboot in recovery mode. 
> Even in that mode, root can su to a regular user, but the 
> regular user 
> can't su.
> 
> su reports:
>   su: Authentication information cannot be recovered
>   Sorry.
> 
> On Friday, I did change the box's configuration.  I had 
> previously been 
> trying to make it work with Samba Windows domain 
> authentication, and had 
> added some pam_winbind.so lines to files in /etc/pam.d/.  On Friday I 
> decided that I didn't really need Windows domain auth, so I 
> removed all 
> references to pam_winbind.so from my /etc/pam.d/ files.  
> There were no 
> problems after the changes on Friday, though I wasn't overly 
> systematic 
> about trying things out, but I'm pretty sure I su'd to root...
> 
> I can't figure out what went wrong.  My /etc/pam.d/ files 
> look fine to 
> me (I can compare them to those on another, working sarge box on the 
> same network).  I'm not even sure that's where the problem 
> lies.  Google 
> can't tell me what "Authentication information cannot be recovered" 
> means, and the machine isn't logging anything when su or logins fail.

Did you also make sure /etc/nsswitch.conf looks like the default? Namely,
passwd, group, and shadow should all have "compat", and only "compat",
in the second column.

-- Kevin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ntp and hwclock

2007-01-22 Thread Oleg Verych
On 2007-01-20, Douglas Allan Tutty wrote:
> I'm running Etch amd64 ntp on my home system over dialup ppp.  
>
> I stopped using chrony because I was having some problems and it
> couldn't talk to my rtc anyway.
>
> Our power can be unreliable and I don't have a UPS.  Since ntp doesn't
> adjust the hwclock, right now the only time it gets updated is at
> shutdown.  
>
> What would be the disadvantage of having a cron.hourly script run
> /etc/init.d/hwclock.sh stop ?

This script is unrelated to ntp (or any other time-sync service).

Linux kernel updates CMOS (hardware clock) time every 11 minutes.
In-kernel clock, that uses various CPU/Chipset hardware and is stable
enough. Its precision is as good as CPU frequency high (mostly). Any big
drift may be caused by bugs in the kernel, low precision of CMOS while
computer is powered off.

For a vary good precision of local time, time-syncing services are
used. But in fact, to have vary precise time, one must run computer
for a very long time with very good Internet connection to many time
servers.

--
-o--=O`C Denis
 #oo'L O   1981-2006
<___=E M


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: help with C algorythm (find unique value in an array) could you please make changes

2007-01-22 Thread Mike Polyakov

Michael,


Why not just use a std::set here?  Repeated inserts of the same
value will be ignored.


True, but that will use extra memory. Since pointers are iterators,
this can be done on ordinary array in place without extra memory. Only
thing is that unique() function modifies the original array. I have
used back_insert_iterator with extra class to keep track of the number
of unique elements, but now the code is not neat anymore:


#include 
#include 
#include 
#include 
#include 
using namespace std;

struct Count {
 int num;
 Count() : num() {}
 void push_back(int n) {++num;}
 typedef int& const_reference;
};

int main()
{
 srand(time(NULL));
 enum {SIZE=100};
 int array[SIZE];
 for (int i=0; i < SIZE; ++i)  // populate with random ints
   array[i] = rand()%70;
 sort(array,array+SIZE);
 Count count;
 unique_copy(array, array+SIZE, back_insert_iterator(count));
 cout <<"Unique size: " 

Re: Revive dark photos -- Conclusion

2007-01-22 Thread ][
On Mon, 22 Jan 2007 00:26:12 +, ][ wrote:

> I remember that I revived some dark photos to normal look by simply
> choosing certain gimp menus. Now I want to do it again, but couldn't find
> the menu entry any more.

thanks everyone for the respond. 

The retinex
http://docs.gimp.org/en/plug-in-retinex.html
looks very promising, but I found that it is not that automatic -- 
The default does not give optimal result, and I didn't seem to be
able to find a good parameter combination. 

Sjoerd Hiemstra's suggestion, 
http://article.gmane.org/gmane.linux.debian.user/270822
is the most comprehensive. I found it has covered all the cases
for my dark photos. thanks Sjoerd.

cheers

tong

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sf.net/techdocs/
  http://xpt.sf.net/tools/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: help with C algorythm (find unique value in an array) could you please make changes

2007-01-22 Thread Michael Marsh

On 1/22/07, Mike Polyakov <[EMAIL PROTECTED]> wrote:

For speed of writing, here's the whole thing in C++ using STL:

#include 
#include 
#include 
#include 
#include 
using namespace std;

int main()
{
  srand(time(NULL));
  vector array;// original array
  vector unique; // each unique element from


Why not just use a std::set here?  Repeated inserts of the same
value will be ignored.

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: kdm changing fonts?

2007-01-22 Thread Rick Thomas


On Jan 22, 2007, at 5:05 PM, Luis Finotti wrote:


  I don't
quite understand the "dpi" option there...  What does it refer to?
(dpi="dots per inch", right?


dpi = dots per inch.  Think of it as the inverse or "inches per dot".

If a screen actually has 100 dots per inch, and the display software  
knows that, and the display software does its job correctly (all big  
"if"s!) that means that each dot is 1/100 of an inch across.  So to  
make a 12 point font (1 point = 1/72 inch)  Your "m" will be 1/6th  
inch or about 0.17 inch across, or 17 dots.


Under the same assumptions of everything working as it's supposed to,  
if your screen has 72 dpi, the same 12 point "m" will be 12 dots  
across, or (again) 1/6 inch.


Now if you actually have a 72dpi screen, but you tell the software  
you have a 100 dpi screen, the resulting 17 dot wide character "m"  
will actually be 17/72 inch, or about 0.24 inch across.  Looked at  
another way, the actual dots are bigger than the software thinks they  
are, so the characters appear larger.


By claiming to have more dpi than you do, you will make your  
displayed characters on the screen appear unnaturally large.


Does that help?

Rick



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Slow web browsing?

2007-01-22 Thread Greg Vickers
Hi all,

Has anyone else had any problems with their web browsing lately? I did
an aptitude update and aptitude upgrade on the 18th of January and the
following packages were upgraded:
[UPGRADE] libdps1 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libice6 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libsm6 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libx11-6 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libxaw7 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libxext6 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libxi6 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libxmu6 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libxmuu1 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libxp6 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libxpm4 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libxrandr2 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libxt6 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libxtrap6 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libxtst6 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] libxv1 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] xfonts-cyrillic 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] xlibmesa-gl 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] xlibmesa-glu 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] xlibs-data 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3
[UPGRADE] xutils 4.3.0.dfsg.1-14sarge2 -> 4.3.0.dfsg.1-14sarge3

I'm running stable with some stuff off backports.org, like Firefox and
Thunderbird.

I can't pin down exactly what caused the problem, I've installed karm
and flashplayer-nonfree lately too, I've removed flashplayer and that
hasn't fixed the problem.

Now some web pages download really slowly - including www.debian.org!
The behavior goes something like this: I browse to that address and
Firefox (or Mozilla or Evolution, they all behave the same way for a
given web site, hence I suspect a library problem) contacts the server,
and starts transferring data, and displays the page incrementally in
teeny-tiny bits, about one graphic per second and up to 10 (wow, 10!)
words a second. Slowly, slowly the web page will be displayed
(rendered?) and eventually I'll get the page.

Does anyone have any ideas or suggestions that I can try to fix this? Am
I on the right track?

Thanks,
-- 
Greg Vickers
IT Security Engineer & Project Manager
IT Security, Network Services,
Information Technology Services
Queensland University of Technology
L12, 126 Margaret St, Brisbane

Phone: +61 7 3138 9536
Mobile: 0410 434 734
Fax: +61 7 3138 2921
Email: [EMAIL PROTECTED]
IT Security web site: http://www.its.qut.edu.au/itsecurity/

CRICOS No. 00213J


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kdm changing fonts? [Solved]

2007-01-22 Thread Luis Finotti

Dear all,


Check the [X-:*-Core] section of /etc/kde3/kdm/kdmrc...
I noticed the same effect myself and make sure the line now reads:
ServerArgsLocal=-nolisten tcp -dpi 100
which cleans things up nicely in my case.


This indeed fixed it.  Thanks Rob!

Luis


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Hiphophoneys

2007-01-22 Thread 2252811139


--
===
Brought to you by, Cingular Wireless Messaging
http://www.CingularMe.COM/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Data Redundancy

2007-01-22 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/22/07 18:14, Will Parkinson wrote:
> I have a dedicated server at the moment (which is the one i want
> mirrored), i have considered the solution below before, but does the dns
> "load balance" to a server when it is down? i've been told that it
> doesn't, but i haven't put it into practice yet.  What i really need is
> a service to check whether the main server is available, and if its not,
> switch to the secondary.  The solution below does take care of the data
> redundancy problem though.

Heartbeat monitors are a dime a dozen.

$ wajig show heartbeat-2
Package: heartbeat-2
Priority: optional
Section: admin
Installed-Size: 4504
Maintainer: Simon Horman <[EMAIL PROTECTED]>
Architecture: i386
Version: 2.0.7-2
Replaces: heartbeat, libpils0, libstonith0, stonith
Provides: heartbeat, libpils0, libstonith0, stonith
Depends: libbz2-1.0, libc6 (>= 2.3.6-6), libcurl3 (>= 7.15.5-1),
libgcrypt11 (>= 1.2.2), libglib2.0-0 (>= 2.12.0), libgnutls13 (>=
1.4.0-0), libgpg-error0 (>= 1.4), libltdl3 (>= 1.5.2-2), libncurses5
(>= 5.4-5), libnet1 (>= 1.1.2-1), libopenipmi0, libpam0g (>= 0.76),
libsensors3 (>= 1:2.10.1), libsnmp9 (>= 5.2.3), libssl0.9.8 (>=
0.9.8c-1), libtasn1-3 (>= 0.3.4), libuuid1, libwrap0, libxml2 (>=
2.6.27), zlib1g (>= 1:1.2.1), python, python-central (>= 0.5.8),
iproute, adduser, iputils-ping, psmisc
Recommends: sysklogd | syslog-ng | system-log-daemon, logrotate,
iptables
Conflicts: heartbeat, libpils0, libstonith0, stonith
Filename: pool/main/h/heartbeat-2/heartbeat-2_2.0.7-2_i386.deb
Size: 1362814
MD5sum: 8528217421a5d8836733fcfdd327e4a8
SHA1: a0f2677d256e0b6df00897b4994c751b7fabc4f5
SHA256: 6e49f5a6937e9046b4ef14640d6f79392da06f09a1dcc7bfb7378ba02c5609e0
Description: Subsystem for High-Availability Linux
 heartbeat is a basic heartbeat subsystem for Linux-HA which implements
 serial, UDP, and PPP/UDP heartbeats together with IP address takeover
 including a nice resource model including resource groups.
 .
 It currently supports a very sophisticated dependency model for n-node
 clusters. It is both extremely useful and quite stable at this point in
 time.
Python-Version: current
Tag: uitoolkit::ncurses

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFtWCHS9HxQb37XmcRAnPQAKCqrSRi6oM5zw2sWe+sCWwsE8bGtACg1c9p
lUXRh3n7hPi1mW1X3pdqcCQ=
=ayTm
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Data Redundancy

2007-01-22 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

MySQL & PostgreSQL each have database-specific replication options.

For non-database files, I'd first look at rsync.  If that does not
do what you want, next look at OCFS2 and think about clustering
(non-database) partititions.

On 01/22/07 17:30, Will Parkinson wrote:
> Yes i need to mirror all functions, programs, crons, databases etc to do
> with a web server.  I have been looking this up and it seems, as roberto
> said in an earlier post, its is going to be an expensive exercise.  I
> really need a cheap option at the moment if there is such a thing.
> 
> Cheers
> 
> Will
> 
> Ron Johnson wrote:
> On 01/21/07 23:43, Will Parkinson wrote:
>  
 Hi All,

 I have a server that i need to mirror elsewhere for data redundancy
 purposes.  What is the best way to have this done?  The sites on my box
 are MySQL and PostgreSQL driven so those need to be on both machines as
 well.  Ideally id like to have a main server and in any event that the
 main server went down, switch to the other server.
 Any info greatly appreciated
 
> 
> Do you mean that you need to mirror the MySQL & PostgreSQL
> databases, or some non-database files, or both?

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFtV/QS9HxQb37XmcRAtaNAKCCEY0RmPYnu6blSLDQK/lVYF+OgACg6tsV
kjjqCdp3dTkO6Xmi0owcloo=
=uMvM
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



NTP dynamic servers?

2007-01-22 Thread Bruno Voigt

Hi,
I'm running debian/unstable on my laptop and often the LAN/WLAN is not 
connected (yet)

when the system is starting up - including NTPD.

NTPD then seems to discard all unreachable server entries and ends up 
with no peers left.
In some googled doc I found the ntp.conf option "dynamic" to tell it 
that some peers may become available later on,
but the debian ntpd doesnt't seem to understand it - or I don't know how 
to use it correctly.


What is the best way to configure the ntpd in such an environment ?

TIA,
Bruno


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Data Redundancy

2007-01-22 Thread Will Parkinson
I have a dedicated server at the moment (which is the one i want 
mirrored), i have considered the solution below before, but does the dns 
"load balance" to a server when it is down? i've been told that it 
doesn't, but i haven't put it into practice yet.  What i really need is 
a service to check whether the main server is available, and if its not, 
switch to the secondary.  The solution below does take care of the data 
redundancy problem though.


Cheers

Will

Julian De Marchi wrote:


What I do is purchase ( if money is an option ) a near identical 
server, then create your own scripts just to copy changed data, using 
the tar program. For Mysql I use Mysql dump. Do not host any sites 
using postgreSQL so no advice in that area. Cron will only have to be 
copied once, same with most of your config files. DNS obviously is not 
an issue.


 


I have my setup working, mirroring data daily.

 

Have you thought about renting a dedicated server for the role you are 
after?


 


Julian

 




*From:* Will Parkinson [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, 23 January 2007 09:30
*To:* debian-user@lists.debian.org
*Subject:* Re: Data Redundancy

 

Yes i need to mirror all functions, programs, crons, databases etc to 
do with a web server.  I have been looking this up and it seems, as 
roberto said in an earlier post, its is going to be an expensive 
exercise.  I really need a cheap option at the moment if there is such 
a thing.


Cheers

Will

Ron Johnson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
On 01/21/07 23:43, Will Parkinson wrote:
  

Hi All,
 
I have a server that i need to mirror elsewhere for data redundancy

purposes.  What is the best way to have this done?  The sites on my box
are MySQL and PostgreSQL driven so those need to be on both machines as
well.  Ideally id like to have a main server and in any event that the
main server went down, switch to the other server.
Any info greatly appreciated

 
Do you mean that you need to mirror the MySQL & PostgreSQL

databases, or some non-database files, or both?
 
 
-BEGIN PGP SIGNATURE-

Version: GnuPG v1.4.6 (GNU/Linux)
 
iD8DBQFFtF94S9HxQb37XmcRAkpPAJ9j3tOas1wGYgKqEjjq+VUazU1oSwCglm25

0Jqjnu59/XZDos8E9WuTbT0=
=B/MW
-END PGP SIGNATURE-
 
 
  

 





SAMBA deletes folders in my home folder

2007-01-22 Thread Danesh Daroui

Hi all,

I have installed SAMBA and it works fine. Each user with WinXP has its 
own home folder and all printers all shared between all WinXP users. The 
problem is when I create a folder in my shared folder and then restart 
the server, my new created folder at my own home folder is gone. It 
seems that SAMBA deletes all new created folder by WinXP users in their 
home folders when the server is restarted. It sounds unusual since all 
my data will be gone and therefore these folders for each user will be 
practically useless. Is there something that I can change in SAMBA's 
settings, so my new created folders and all files transfered to it will 
be remain unchanged even when the server is restarted? I want to use it 
as a backup server, so it should save all my files permanently.


Thanks,

Danesh


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ls and globbing and full pathnames

2007-01-22 Thread Andrew Sackville-West
On Tue, Jan 23, 2007 at 12:45:33AM +0100, Robert MannI wrote:
> Hello Linux Masters!
> 
> I have a particular problem I need to solve related to the "ls" command 
> and
> globbing.
> 
> As an example, to see the all of the files in the root directories of my
> websites I do:
> $ ls -m /var/www/*
> 
> This gives me the output in the form:
> ---
> /var/www/site1:
> index.html, some_image.jpg
> 
> /var/www/site2:
> index.html, some_other_file
> ---
> 
> Which is beautiful, but I need to work with the output, hence I need the
> full filepaths, something like this:
> ---
> /var/www/site1/index.html, /var/www/site1/some_image.jpg,
> /var/www/site2/index.html, /var/www/site2/some_other_file
> ---
> Is there any known way to get that kind of output instead?

find /var/www

then you get the full joy of using find's many features too. just
remember if you are using globbing in find's arguments (such as -name
or -iname) that you should escape the wildcards ala \*

if you really want a comma seperated list, the check out sed or cut.

hth

A


signature.asc
Description: Digital signature


Re: Data Redundancy

2007-01-22 Thread Will Parkinson
Yes i need to mirror all functions, programs, crons, databases etc to do 
with a web server.  I have been looking this up and it seems, as roberto 
said in an earlier post, its is going to be an expensive exercise.  I 
really need a cheap option at the moment if there is such a thing.


Cheers

Will

Ron Johnson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/21/07 23:43, Will Parkinson wrote:
  

Hi All,

I have a server that i need to mirror elsewhere for data redundancy
purposes.  What is the best way to have this done?  The sites on my box
are MySQL and PostgreSQL driven so those need to be on both machines as
well.  Ideally id like to have a main server and in any event that the
main server went down, switch to the other server.
Any info greatly appreciated



Do you mean that you need to mirror the MySQL & PostgreSQL
databases, or some non-database files, or both?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFtF94S9HxQb37XmcRAkpPAJ9j3tOas1wGYgKqEjjq+VUazU1oSwCglm25
0Jqjnu59/XZDos8E9WuTbT0=
=B/MW
-END PGP SIGNATURE-


  




Re: help with C algorythm (find unique value in an array) could you please make changes

2007-01-22 Thread Mike Polyakov

No you're quite right, not least since my insertion routine
traverses the whole list on each call. I didn't write this
for speed of execution, merely speed of writing it :)


For speed of writing, here's the whole thing in C++ using STL:

#include 
#include 
#include 
#include 
#include 
using namespace std;

int main()
{
 srand(time(NULL));
 vector array;// original array
 vector unique; // each unique element from
original included only once
 enum {SIZE=100};
 for (int i=0; i < SIZE; ++i)// populate with random ints
   array.push_back(rand()%50);

 // remove duplicates:
 sort(array.begin(),array.end());
 unique_copy(array.begin(), array.end(), back_inserter(unique));

 cout <<"Unique size: " 

ls and globbing and full pathnames

2007-01-22 Thread Robert MannI

Hello Linux Masters!

I have a particular problem I need to solve related to the "ls" command and
globbing.

As an example, to see the all of the files in the root directories of my
websites I do:
$ ls -m /var/www/*

This gives me the output in the form:
---
/var/www/site1:
index.html, some_image.jpg

/var/www/site2:
index.html, some_other_file
---

Which is beautiful, but I need to work with the output, hence I need the
full filepaths, something like this:
---
/var/www/site1/index.html, /var/www/site1/some_image.jpg,
/var/www/site2/index.html, /var/www/site2/some_other_file
---
Is there any known way to get that kind of output instead?


Muchas Gracias (Thanks),
Rob


Re: monodevelop in Etch

2007-01-22 Thread Michael Ott
Hello!

> I run Etch and want to use the mono on it.
> 
> I can't to find monodevelop for Etch.
> 
> Will there be monodevelop in etch?
It doen not seems to be in Etch. The are only packages in unstable. But
I believe that it is easy to use this packages or maybe there are
backport.

And you find more info there:
http://www.mono-project.com/Downloads#Binaries_for_other_platforms
http://pkg-mono.alioth.debian.org/


CU
 
  Michael  
  
-- 
,''`.   Michael Ott, e-mail: michael at king-coder dot de
   : :' :   Debian SID on Thinkpad T43: 
   `. `'http://www.zolnott.de/laptop/ibm-t43-uc34nge.html 
 `-


pgpt9HvZimzft.pgp
Description: PGP signature


Re: help with C algorythm (find unique value in an array) could you please make changes

2007-01-22 Thread Jon Dowland
On Mon, Jan 22, 2007 at 11:42:32AM -0600, Ron Johnson wrote:
> On 01/22/07 11:22, Jon Dowland wrote:
> > On Mon, Jan 22, 2007 at 10:30:29AM +, Jon Dowland wrote:
> [snip]
> > /* populate the unique list */
> > for(i = 1; i < argc; ++i) {
> > int val = atoi(argv[i]);
> > if(!in_list(val, list)) {
> > list = add_to_list(val, list);
> > }
> > }
>
> Unless I'm misreading, this would not scale well *at all*.

No you're quite right, not least since my insertion routine
traverses the whole list on each call. I didn't write this
for speed of execution, merely speed of writing it :)

This would improve insertions (but obviously not the in_list
test):

struct node * add_to_list(const int val, struct node *list) {
newlist = malloc(sizeof(struct node));
if(!newlist) {
fprintf(stderr,"error allocating list node\n");
exit(1);
}
newlist->val = val;
newlist->next = list;
return newlist;
}


-- 
Jon Dowland


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kdm changing fonts?

2007-01-22 Thread Rob Bochan
On Monday 22 January 2007 17:05, Luis Finotti wrote:
> ...
> OK, I will check that.  Thanks!
>
> But, even if that fixes it, shouldn't it be considered a bug?  I don't
> quite understand the "dpi" option there...  What does it refer to?
> (dpi="dots per inch", right?  For what?  The fonts?  I thought that
> the font size would take car of it's resolution/size...)  Why does it
> change what is done without it?

I'm not sure why it's different, but I first noticed it last spring, see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363359
when the font settings changed on me via startx. I'd noticed the change in 
font sizes previously, as they were different when startx was used vs kdm. I 
hunted down the setting for it then.

...Rob

-- 
Technically, you'd only need one time traveler convention.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Help! Can't login or su, but SSH is ok...

2007-01-22 Thread Marc Branchaud

Hi all,

Over the weekend one of my sarge boxes decided to stop accepting logins. 
 Currently, the box allows remote SSH (via public-key authentication) 
for regular users, but it doesn't allow user logins via telnet or on the 
console, even for root.  SSH'd-in users also can't su to any user.


The only way root can currently log in is to reboot in recovery mode. 
Even in that mode, root can su to a regular user, but the regular user 
can't su.


su reports:
su: Authentication information cannot be recovered
Sorry.

On Friday, I did change the box's configuration.  I had previously been 
trying to make it work with Samba Windows domain authentication, and had 
added some pam_winbind.so lines to files in /etc/pam.d/.  On Friday I 
decided that I didn't really need Windows domain auth, so I removed all 
references to pam_winbind.so from my /etc/pam.d/ files.  There were no 
problems after the changes on Friday, though I wasn't overly systematic 
about trying things out, but I'm pretty sure I su'd to root...


I can't figure out what went wrong.  My /etc/pam.d/ files look fine to 
me (I can compare them to those on another, working sarge box on the 
same network).  I'm not even sure that's where the problem lies.  Google 
can't tell me what "Authentication information cannot be recovered" 
means, and the machine isn't logging anything when su or logins fail.


I'd appreciate at least some pointers as to how to debug this problem, 
cuz I'm stumped!


Marc


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: [OT] CPU and GHz

2007-01-22 Thread Rob Sims
On Mon, Jan 22, 2007 at 10:13:29PM +0100, Misko wrote:
> I am just curious!
> Todays computers are running on high clock frequencies.
> If I have CPU that runs on (let say) 1 GHz what parts of hardware
> are actually running on this speed? (except crystal :)
> I understand that memory chips are much slower than CPU so every
> time that CPU need data that is not in cache it must slow down.
> I also read somewhere that CPU is internally dividing clock impulses
> and run on slower speed that it is advertised.

> So where is this high speed used?
 
Actually, the crystal generally runs more slowly than the CPU clock.
Generally, a CPU has a phase-locked loop clock generator on the chip for
use by the core logic.  A smaller multiple is used for the interface
logic.

In short, the high frequency is used by the arithmetic units, internal
cache, and instruction pipelines, all internal to the CPU chip.  The CPU
does not normally "slow down" when a cache miss occurs, it idles until
the data comes from memory, but the clock doesn't vary.

The CPU can be told to go into a low power state in which the clock
frequency is reduced.
-- 
Rob


signature.asc
Description: Digital signature


Re: How to catch process that removes files?

2007-01-22 Thread [EMAIL PROTECTED]
lsof will show you currently open files, and of course you can pipe it
through grep.  If they aren't already opened, though, it might not
help.

I'd do a complete inventory of the files that get deleted, and then
check the permissions on all of them.  That might give you some clues.

You might also check your cron jobs.  rgrep through the /etc/cron*
directories and see if any of the missing filenames are there.

Another question is, how often does it happen?  Is it regular or
random?

You might also install tiger and see if it finds anything.  And, of
course, install logwatch and check its messages daily.  And make sure
you're getting the mail for root so you can see any warnings.  And grep
through your logs in /var/log.

Let us know if you find the culprit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



monodevelop in Etch

2007-01-22 Thread csanyipal
Hello!

I run Etch and want to use the mono on it.

I can't to find monodevelop for Etch.

Will there be monodevelop in etch?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Iceweasel crashing and a cure

2007-01-22 Thread [EMAIL PROTECTED]
$ cat /etc/debian_version
$ apt-cache policy iceweasel
$ reportbug iceweasel  # You might want to submit a bug, or just post
here the dependency report it generates

If that doesn't fix it or shed any light, you might try running
Iceweasel as a different user, or with a clean Iceweasel profile.

If that still doesn't help, you might try:

$ sudo aptitude update && sudo aptitude upgrade

And if that still doesn't help:

$ sudo aptitude dist-upgrade

Good luck.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: What's using up bandwidth?

2007-01-22 Thread H.S.

[EMAIL PROTECTED] wrote:



Unfortunately, iftop doesn't display usage per-process.  Here are the



Try nethogs

->HS



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




monodevelop in Etch

2007-01-22 Thread csanyipal
Hello!

I run Etch and want to use the mono on it.

I can't to find monodevelop for Etch.

Will there be monodevelop in etch?

-- 
Regards, Paul Csányi
http://www.freewebs.com/csanyi-pal/index.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



hi

2007-01-22 Thread 07783248946
make me horney

Re: kdm changing fonts?

2007-01-22 Thread Luis Finotti

Dear Andrei.

On 1/22/07, Andrei Popescu <[EMAIL PROTECTED]> wrote:

On Mon, 22 Jan 2007 15:07:44 -0500
"Luis Finotti" <[EMAIL PROTECTED]> wrote:

> GDM also makes the fonts larger, but XDM works... Does any one know
> what is going wrong?  Is that a bug?  I'd like to be able to turn off
> the computer from within KDE.  It is not a big deal, but it seems
> that it is a bug, so I thought I should ask.

gdm sets the dpi via a commandline option. Not sure about kdm. If you
want to configure gdm I think I can still remember it.


Thanks for your help!  I guess Rob's reply does just that, give the
proper argument to kdm.

I appreciate your help, though!

Luis


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: kdm changing fonts?

2007-01-22 Thread Luis Finotti

Dear all,

On 1/22/07, Rob Bochan <[EMAIL PROTECTED]> wrote:

On Monday 22 January 2007 15:07, Luis Finotti wrote:
> ...
> GDM also makes the fonts larger, but XDM works... Does any one know what is
> going wrong?  Is that a bug?  I'd like to be able to turn off the computer
> from within KDE.  It is not a big deal, but it seems that it is a bug, so I
> thought I should ask.

Check the [X-:*-Core] section of /etc/kde3/kdm/kdmrc...
I noticed the same effect myself and make sure the line now reads:
ServerArgsLocal=-nolisten tcp -dpi 100
which cleans things up nicely in my case.


OK, I will check that.  Thanks!

But, even if that fixes it, shouldn't it be considered a bug?  I don't
quite understand the "dpi" option there...  What does it refer to?
(dpi="dots per inch", right?  For what?  The fonts?  I thought that
the font size would take car of it's resolution/size...)  Why does it
change what is done without it?

Well, if it works I will be happy enough.  Just wondering.

Thanks again,

Luis


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: What should I use?

2007-01-22 Thread Jochen Schulz
[EMAIL PROTECTED]:
>
> I have never used Linux before, but I've always wanted to learn.

That's the right attitude for starting with Debian. When I started to
experiment with linux, I was told to start with Debian, not because it's
easier but because in the long run I would end up using it anyway. I
don't regret it. :)

> I  want to use Debian Linux, but I don't know which to use.  I am
> wanting to  dual boot it in my laptop with my Windows.  My laptop is
> made by eMachines  and uses a AMD Sempron 3200+ processor.  Please let
> me know what  version to install.  Thank you very much!!!

Although I generally don't give new users the advice to run anything but
Debian stable, with your new laptop you should probably begin with the
installer for Debian etch, which will become Debian's stable release in
the next few months. You can get it at
. Use one of the download
links for "i386". If your Sempron is a 64 Bit CPU you might try the
"amd64" version, but then it will be quite difficult to run proprietary
software like the Adobe Flash player.

If you have a fast internet connection, you should use the "netinst"
image. This is the smallest one and install only the most basic system
from CD, the rest is downloaded from a mirror server near to your
location. If you prefer to install (almost) everything from CD/DVD,
download the first of the "full" CD/DVD sets, either directly via HTTP
or via Bittorrent, if you prefer that. Ignore the "jigdo" links, because
jigdo sucks and doesn't gain you anything in your situation.

To get an overview over your new system, you should at least skim over
. This should
answer most of your questions about the different flavours of Debian,
package management software, the install process (although this topic
might not be strictly up to date) and basic shell usage (which you will
probably need even if you install one of the all-singing, all-dancing
dekstop environments).  If you scroll down the download page for the
installer, you will find links to even more documentation.

Don't worry if you don't understand most of it, that's quite normal in
the beginning. You will learn very quickly. If you have any questions,
you are welcome to ask here or on more specialised mailing lists. Just
try to make it easy to help you by giving relevant details and a concise
description of your actual problem. :)

Oh, and to answer your first implicit question: the Debian installer
will automatically detect your Windows partition and will try to make
some space for linux. After installation, your bootloader should offer
to boot any of your existing operating systems.

Have fun,
J.
-- 
I start many things but I have yet to finish a single one.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: KDE double-click for icons on desktop?

2007-01-22 Thread Bruno Voigt

Florian Kulzer wrote:
Please give me detailed instructions where to find the setting in the 
KDE Control Center,the checkbox - to tell KDE that I want to start apps on the desktop via 
double-click instead of single-click.


Open the Control Center and go to "Peripherals > Mouse". The setting you
want is on the "General" tab in the "Icons" field; it is called
"Double-click to open files and folders (select icons on first click)"
You can adjust the double-click interval on the "Advanced" tab.

Thanks a lot - For some reason I didn't expect it under the mouse-settings,
and checked instead other and other again the apperance & desktop 
settings ;-)


bye, Bruno


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Why there is no space left on root partition?

2007-01-22 Thread Andrew Sackville-West
On Mon, Jan 22, 2007 at 03:25:39PM -0600, John Hasler wrote:
> Andrew Sackville-West writes:
> > how about if aptitude could install in ~/blah if run as non-root? I'm
> > sure there are implications I don't understand.
> 
> Worms would then be able to call aptitude to install malware in the user's
> home directory.

absolutely. I was just pondering the moving of the wife from winxp to
deb. coming up here soon. so do I give her the root password (it is
her machine after all), setup up a good comprehensive sudoers files,
or, wouldn't it be nice if she could install apps at will in her home
tree without bringing down the whole box. just thinking aloud.

A


signature.asc
Description: Digital signature


Re: SMTP server

2007-01-22 Thread Andrew Sackville-West
On Mon, Jan 22, 2007 at 11:23:42AM -0800, Paul Johnson wrote:
> Andrew Sackville-West wrote:
> > 220-elasmtp-spurfowl.atl.sa.earthlink.net ESMTP Exim 4.34 #1 Sat, 20
> > Jan 2007 18:17:24 -0500
> 
> In that case, Earthlink's retarded postmasters need to be shot, their
> Challenge-Response system ripped out by force, any backups containing the
> C|R system burned and scattered, and new guys who understand spamassassin
> and exim hired to do the job right.

yup.

A


signature.asc
Description: Digital signature


Re: KDE double-click for icons on desktop?

2007-01-22 Thread Florian Kulzer
On Mon, Jan 22, 2007 at 23:35:12 +0100, Bruno Voigt wrote:
> Hi,
> I have a fresh installed debian/unstable with KDE.
> 
> Please give me detailed instructions where to find the setting in the 
> KDE Control Center,
> the checkbox - to tell KDE that I want to start apps on the desktop via 
> double-click instead of single-click.
> 
> I can't locate it :-((

Open the Control Center and go to "Peripherals > Mouse". The setting you
want is on the "General" tab in the "Icons" field; it is called
"Double-click to open files and folders (select icons on first click)"
You can adjust the double-click interval on the "Advanced" tab.

-- 
Regards,
  Florian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] CPU and GHz

2007-01-22 Thread Andrew Sackville-West
On Mon, Jan 22, 2007 at 10:13:29PM +0100, Misko wrote:
> I am just curious!
> Todays computers are running on high clock frequencies.
> If I have CPU that runs on (let say) 1 GHz what parts of hardware
> are actually running on this speed? (except crystal :)
> I understand that memory chips are much slower than CPU so every
> time that CPU need data that is not in cache it must slow down.
> I also read somewhere that CPU is internally dividing clock impulses
> and run on slower speed that it is advertised.
> 
> So where is this high speed used?

marketing material? ;-)

A


signature.asc
Description: Digital signature


Re: What should I use?

2007-01-22 Thread Andrew Sackville-West
On Mon, Jan 22, 2007 at 04:08:22PM -0500, [EMAIL PROTECTED] wrote:
> I have never used Linux before, but I've always wanted to learn.  I  want to 
> use Debian Linux, but I don't know which to use.  I am wanting to  dual boot 
> it in my laptop with my Windows.  My laptop is made by eMachines  and uses a 
> AMD Sempron 3200+ processor.  Please let me know what  version to install.  

So congrats and good luck on your quest!

Debian is a great distribution -- it is telling how many other
distributions are based on Debian in some way or another. 

That said, wrapping your head around a new operating system can be
difficult *and* Debian can be more difficult than some. So be prepared
to work hard, read lots, overcome setbacks etc. There is a great
resource for you here in this list provided you do your
homework. There are many *really* knowledgeable people here who are
willing to help those who help themselves... Your best bet is to do a
reasonable amount of research and ask good, well formed and supported
questions. 

So which version? It really depends, at this time, on your
hardware. Using a laptop, you're probably best served using "etch"
which is the name of the current "Testing" flavor of debian. I would
not normally recommend "testing" as it is prone to breakage and
because of its nature, when it breaks, it can remain broken for quite
a while. However, "Etch" is currently frozen as it is about to be
released as "stable". This means that the only package upgrades going
into "etch" should be bug fixes and should be pretty stable going
forward. The hardware support in "etch" is much better than that found
in the current stable release "sarge" and you'll likely fare much
better with it. 

If you can post specifics about your hardware, especially chipsets,
types of harddrives (ide, sata, scsi etc) folks here will provide
feedback on potential problems and solutions.

hth

A



signature.asc
Description: Digital signature


Re: Why there is no space left on root partition?

2007-01-22 Thread John Hasler
Andrew Sackville-West writes:
> how about if aptitude could install in ~/blah if run as non-root? I'm
> sure there are implications I don't understand.

Worms would then be able to call aptitude to install malware in the user's
home directory.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: What should I use?

2007-01-22 Thread Glenn Becker


Hi Justin -


I have never used Linux before, but I've always wanted to learn.  I  want to
use Debian Linux, but I don't know which to use.  I am wanting to  dual boot
it in my laptop with my Windows.  My laptop is made by eMachines  and uses a
AMD Sempron 3200+ processor.  Please let me know what  version to install.
Thank you very much!!!


If by version you mean you are trying to choose between "stable," 
"testing" and "unstable," my advice would be to start with stable because 
one of the hallmarks of Debian is that "stable" is not released until all 
involved are as sure as can be that it is rock solid.


That said you will also commonly hear that with all the work that goes 
into "stable" the applications in it are actually /not/ the latest 
versions by the time it comes out. This is undoubtedly true; however, as a 
new user you might not care as much at first about that.


And it's easier to move up to the "testing" version one day if you want to 
do that. Or install selected apps from "testing" or "unstable" if you feel 
you need them - Debian makes it possible to "mix" releases, though I 
wouldn't do it until you are more certain about what you are changing.


Enjoy the journey - I sure did!

Regards,

Glenn

+-+
Glenn Becker - [EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org
+-+


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: What should I use?

2007-01-22 Thread Andrei Popescu
On Mon, 22 Jan 2007 16:08:22 EST
[EMAIL PROTECTED] wrote:

> I have never used Linux before, but I've always wanted to learn.  I
> want to use Debian Linux, but I don't know which to use.  I am
> wanting to  dual boot it in my laptop with my Windows.  My laptop is
> made by eMachines  and uses a AMD Sempron 3200+ processor.  Please
> let me know what  version to install. Thank you very much!!!

Considering that your hardware is new and etch is pretty stable you
could install that. Etch is now at the stadium others would call
'release candidate'.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[OT] CPU and GHz

2007-01-22 Thread Misko
I am just curious!
Todays computers are running on high clock frequencies.
If I have CPU that runs on (let say) 1 GHz what parts of hardware
are actually running on this speed? (except crystal :)
I understand that memory chips are much slower than CPU so every
time that CPU need data that is not in cache it must slow down.
I also read somewhere that CPU is internally dividing clock impulses
and run on slower speed that it is advertised.

So where is this high speed used?
Thanks
Misko


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



KDE double-click for icons on desktop?

2007-01-22 Thread Bruno Voigt

Hi,
I have a fresh installed debian/unstable with KDE.

Please give me detailed instructions where to find the setting in the 
KDE Control Center,
the checkbox - to tell KDE that I want to start apps on the desktop via 
double-click instead of single-click.


I can't locate it :-((

TIA,
Bruno


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




What should I use?

2007-01-22 Thread JustinLitteral
I have never used Linux before, but I've always wanted to learn.  I  want to 
use Debian Linux, but I don't know which to use.  I am wanting to  dual boot 
it in my laptop with my Windows.  My laptop is made by eMachines  and uses a 
AMD Sempron 3200+ processor.  Please let me know what  version to install.  
Thank you very much!!!


Re: kdm changing fonts?

2007-01-22 Thread Rob Bochan
On Monday 22 January 2007 15:07, Luis Finotti wrote:
> ...
> GDM also makes the fonts larger, but XDM works... Does any one know what is
> going wrong?  Is that a bug?  I'd like to be able to turn off the computer
> from within KDE.  It is not a big deal, but it seems that it is a bug, so I
> thought I should ask.

Check the [X-:*-Core] section of /etc/kde3/kdm/kdmrc...
I noticed the same effect myself and make sure the line now reads:
ServerArgsLocal=-nolisten tcp -dpi 100
which cleans things up nicely in my case.


...Rob

-- 
Seven puppies were harmed during the making of this email.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mozilla Sunbird

2007-01-22 Thread Andrei Popescu
On Mon, 22 Jan 2007 14:43:01 -0600
Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote:

> Hugo Vanwoerkom wrote:
> > Tom Grove wrote:
> >> Is there a Sunbird port to Debian?
> >>
> >> -Tom
> >>
> >>
> > 
> > and with the wonders of google ;-)
> > http://packages.debian.org/experimental/mail/sunbird
> > 
> 
> That being the case, if I had this in /etc/apt/sources.list:
> 
> deb ftp://ftp.uni-mainz.de/pub/Linux/debian/ experimental main
> non-free contrib
> deb ftp://ftp.uni-mainz.de/pub/Linux/debian/ unstable main non-free
> contrib
> 
> then just
> 
> apt-get install sunbird
> 
> 
> would get all the experimental stuff and fill it out with the libs in 
> unstable?

You need 'apt-get -t experimental install sunbird'

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mozilla Sunbird

2007-01-22 Thread Hugo Vanwoerkom

Hugo Vanwoerkom wrote:

Tom Grove wrote:

Is there a Sunbird port to Debian?

-Tom




and with the wonders of google ;-)
http://packages.debian.org/experimental/mail/sunbird



That being the case, if I had this in /etc/apt/sources.list:

deb ftp://ftp.uni-mainz.de/pub/Linux/debian/ experimental main non-free 
contrib

deb ftp://ftp.uni-mainz.de/pub/Linux/debian/ unstable main non-free contrib

then just

apt-get install sunbird


would get all the experimental stuff and fill it out with the libs in 
unstable?


Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: kdm changing fonts?

2007-01-22 Thread Andrei Popescu
On Mon, 22 Jan 2007 15:07:44 -0500
"Luis Finotti" <[EMAIL PROTECTED]> wrote:

> GDM also makes the fonts larger, but XDM works... Does any one know
> what is going wrong?  Is that a bug?  I'd like to be able to turn off
> the computer from within KDE.  It is not a big deal, but it seems
> that it is a bug, so I thought I should ask.

gdm sets the dpi via a commandline option. Not sure about kdm. If you
want to configure gdm I think I can still remember it.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: What's using up bandwidth?

2007-01-22 Thread Paul Johnson
Celejar wrote:

> On Sat, 20 Jan 2007 23:26:54 -0600
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 
>> On 1/20/07, Jochen Schulz <[EMAIL PROTECTED]> wrote:
>> > Bill Moseley:
>> > >
>> > > How would you go about tracking down the process that is eating up
>> > > all the bandwidth?
>> >
>> > Take a look at netstat-nat on the NATting machine iftop for the machine
>> > using the bandwidth.
>> 
>> Unfortunately, iftop doesn't display usage per-process.  Here are the
>> two solutions I've found:
>> 
>> 1. atop, with the atopcnt kernel patch.  Unfortunately,
>> kernel-patch-atopcnt doesn't apply against 2.6.18, so unless you use
>> 2.6.13 or 2.6.8, this doesn't help.  (There's an RC bug filed against
>> that package, and hopefully it will be updated for Etch.)
>> 
>> 2.  A combination of iftop to find the port of the saturating
>> connection, and $(netstat -anp | grep portnumber) to find the process
>> that's using that port.
>> 
>> There are several other bandwidth-monitoring apps, but I haven't yet
>> found the right one to show the usage per-process (other than atop).
> 
> Nethogs [0] claims to display bandwidth per process.

apt-cache search for the win!

[EMAIL PROTECTED]:~$ apt-cache show nethogs
Package: nethogs
Priority: optional
Section: net
Installed-Size: 96
Maintainer: Bart Martens <[EMAIL PROTECTED]>
Architecture: i386
Version: 0.6.0-2
Depends: libc6 (>= 2.3.6-6), libgcc1 (>= 1:4.1.1-12), libncurses5 (>=
5.4-5), libpcap0.8 (>= 0.9.3-1), libstdc++6 (>= 4.1.1-12)
Filename: pool/main/n/nethogs/nethogs_0.6.0-2_i386.deb
Size: 22462
MD5sum: fa9b0ff300ac9f81ae3fae6549a57739
SHA1: e9082393875853944e849417263fea6b0da9fcc4
SHA256: 31516fbe2f592ec5812f429dbf4cf49353657d355e5810bd7c5437a7224be04c
Description: Net top tool grouping bandwidth per process
 NetHogs is a small 'net top' tool. Instead of breaking the traffic down per
 protocol or per subnet, like most tools do, it groups bandwidth by process.
 NetHogs does not rely on a special kernel module to be loaded.
 .
  Homepage: http://nethogs.sourceforge.net/
Tag: uitoolkit::ncurses

Package: nethogs
Priority: optional
Section: net
Installed-Size: 96
Maintainer: Bart Martens <[EMAIL PROTECTED]>
Architecture: i386
Version: 0.6.0-1
Depends: libc6 (>= 2.3.6-6), libgcc1 (>= 1:4.1.0), libncurses5 (>= 5.4-5),
libpcap0.8 (>= 0.9.3-1), libstdc++6 (>= 4.1.0)
Filename: pool/main/n/nethogs/nethogs_0.6.0-1_i386.deb
Size: 22410
MD5sum: 3fd15ed3055e351e17898fb26f2feaff
SHA1: 75e93f03ab0dc6e279e60c354ec15cfb6803be62
SHA256: 0db40ee6ec09fdc416b778350ecd2119831054f9c8a15688936bcd9a86d07fe6
Description: Net top tool grouping bandwidth per process
 NetHogs is a small 'net top' tool. Instead of breaking the traffic down per
 protocol or per subnet, like most tools do, it groups bandwidth by process.
 NetHogs does not rely on a special kernel module to be loaded.
 .
  Homepage: http://nethogs.sourceforge.net/
Tag: uitoolkit::ncurses




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: top post fixer?

2007-01-22 Thread Paul Johnson
Francis Healy wrote:

> Paul Johnson <[EMAIL PROTECTED]> wrote:Ken Irving wrote:
> 
>> On Thu, Jan 18, 2007 at 10:57:25PM -0500, Kevin Mark wrote:
>>> Hi folks,
>>> with the continual talk of the bad etiquitte of top posts...
>
> Why is it that most mail clients default to a top post?

They don't.  Most default to not-top-posting, leaving the cursor at the top
of the editor window because most people read and edit from the top down. 
Bottom posting isn't the answer as well:  You should always frame your
reply within the context of the text you're replying to, and trim
superfluous material.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mozilla Sunbird

2007-01-22 Thread Hugo Vanwoerkom

Tom Grove wrote:

Is there a Sunbird port to Debian?

-Tom




and with the wonders of google ;-)
http://packages.debian.org/experimental/mail/sunbird

Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: top post fixer?

2007-01-22 Thread Paul Johnson
Please turn your line wraps on at 72 columns, indent quoted material, and
reply *above* the singature break.
http://wiki.ursine.ca/Best_Online_Quoting_Habits

Francis Healy wrote:

>> Andy Smith <[EMAIL PROTECTED]> wrote:  On Sat, Jan 20, 2007 at 07:43:05AM
>> -0800, Francis Healy wrote:
>>> Why is it that most mail clients default to a top post? When you hit
>>> reply, There is a blank space where your cursor it, followed by .
>>> wrote: and then the message you are replying to.
>> 
>> Yes, quoted. What else should they do? My MUA can't read my mind
>> to tell which quotes are irrelevant and should be deleted.
>> 
> If top posting is realy the bane of everyone's existance that certian 
> voceriferous individuals claim it is, what is wrong with the mail client 
> putting the cursor at the at the botttom of the reply and letting you move 
> it up in the event you need to delete some irrelevant passage.   

English is read from top down, not from the bottom up.

> When I read mailing lists, I generally am going through a series of 
> messages.  I want to see the content of the current message first.  If I 
> need to read the original post, I don't mind scrooling down.

The rest of us that get more than a few messages a day don't want, and
shouldn't have, to scroll down and piece together a contextual puzzle. 
Email and news is a form of public speaking.  Part of public speaking is
sticking to a format that your audience will listen to.
http://wiki.ursine.ca/Best_Online_Quoting_Practices#But_within_my_.28very_limited.2C_closed.29_group_of_colleagues_or_friends_top_post_among_each_other_all_the_time.21

> I see the point of placing the respone within the prior post if you are 
> addressing a series of issues point by point, but I don't get all the bile 
> that is spewed in the direction of top posters.   

Then you don't get very much email.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: top post fixer?

2007-01-22 Thread Paul Johnson
Kevin Mark wrote:

> Now if only I would switch from mutt to gnus

That's a pretty good idea if you have more than one list/newsgroup
subscription that gets this kind of traffic.  I would still give yourself a
rainy weekend to learn gnus if you're not a LISPer, though; it's got
something of a learning curve but becomes quite comfortable once you're
used to it.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sourceforge.net Code

2007-01-22 Thread Paul Johnson
[EMAIL PROTECTED] wrote:

> Hello everyone,
> 
> Thanks for all the help :D ,Savane and Gforge are perfect... one more time
> thanks again to everyone

No problem!  Glad we could help!



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Mozilla Sunbird

2007-01-22 Thread Tom Grove

Is there a Sunbird port to Debian?

-Tom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Why there is no space left on root partition?

2007-01-22 Thread Andrew Sackville-West
On Mon, Jan 22, 2007 at 08:08:24PM +0200, Andrei Popescu wrote:
> On Mon, 22 Jan 2007 11:07:05 -0500
> [EMAIL PROTECTED] wrote:
> 
> > On Tue, Jan 23, 2007 at 02:18:55AM +1300, Chris Bannister wrote:
> > 
> > I'd actually appreciate it if aptitude (or other such) would
> > distinguish between packages whose use requires root permissions
> > (whether by a setuid or not) and those that don't, and ask whether
> > this is really intended.
> 
> And who checks that the so-called harmless package is what it says. The
> non-root user doesn't know anything about md5sums, security, ...

how about if aptitude could install in ~/blah if run as non-root? I'm
sure there are implications I don't understand. 

A




signature.asc
Description: Digital signature


Re: SMTP server

2007-01-22 Thread Paul Johnson
Andrew Sackville-West wrote:

> On Thu, Jan 18, 2007 at 11:42:27PM -0800, Paul Johnson wrote:
>> Grok Mogger wrote:
>> 
>> > Hope no one minds if I hijack this thread.  =)
>> 
>> It's best to start a new one; better luck next time.  :o)
>> 
>> I prefer exim myself.  It's relatively straightforward and exim4-doc is
>> excellent.  If only all packages had that kind of comprehensive
>> documentation...
> 
> anecdotal support of exim
> 
> [EMAIL PROTECTED]:~$ telnet smtpauth.earthlink.net 25
> Trying 207.69.189.206...
> Connected to smtpauth.earthlink.net.
> Escape character is '^]'.
> 220-elasmtp-spurfowl.atl.sa.earthlink.net ESMTP Exim 4.34 #1 Sat, 20
> Jan 2007 18:17:24 -0500
> 
> that's a pretty big operation using exim :)

In that case, Earthlink's retarded postmasters need to be shot, their
Challenge-Response system ripped out by force, any backups containing the
C|R system burned and scattered, and new guys who understand spamassassin
and exim hired to do the job right.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apt-listbugs behavior (was libpangocairo and gimp...)

2007-01-22 Thread Andrew Sackville-West
I didn't read the beginning of the thread, but it looks like you're
hijacking... :(

On Mon, Jan 22, 2007 at 10:29:00AM -0800, tom arnall wrote:
> i tried to upgrade this morning but got the following right after fetching 
> the 
> stuff:
> 
>   Fetched 5428kB in 40s (133kB/s)
>   Reading package fields... Done
>   Reading package status... Done
>   Retrieving bug reports... Done
>   Parsing Found/Fixed information... Done
>   grave bugs of ucf (2.0017 -> 2.0018) 
>#407963 - Syntax error in /usr/bin/ucfr
>   grave bugs of desktop-base (0.3.20 -> 4.0.0) 
>#407799 - desktop-base: /etc/defaults/kdm.d/10_desktop_base \
>overrides configure d login desktop without warning on upgrade
>   serious bugs of netbase (4.27 -> 4.28) 
>#407538 - netbase: /etc/networks should not be a conffile
>   Summary:
>ucf(1 bug), desktop-base(1 bug), netbase(1 bug)
>   Are you sure you want to install/upgrade the above packages? 
> [Y/n/?/...]  n


you can revie the bugs by entering their bug numbers at the prompt
above. It will allows you to determine if they will affect you or
not. For example, the netbase bug, IIRC is pretty minor as far as its
effect on systems. A quick read should tell you whether you need to
work about it. Also, you can hold specific packages so that the rest
of the upgrade can continue.

> 
> 
> the rest of it:
> 
>   
> 
>   ** Exit with an error by force in order to stop the installation. 
> **
>   
> 

this is normal. you told it not to install...


[snipped typical dpkg errors and aptitude output...]

> 
> is the solution simply to wait until the repository deals w' the situation, 
> or 
> is the problem on my end?
> 

depends on what you're trying to do. You can wait, though new bugs may
be reported as the old ones are fixed. I suggest you hold the packages
in question and proceed with the upgrade. 

.02

A


signature.asc
Description: Digital signature


Re: What's using up bandwidth?

2007-01-22 Thread Paul Johnson
John W. Foster wrote:

> If you have a wireless setup, you may have someone piggy-backing on your
> connection. If that is the case you need to password protect the
> connection.

I'd think WEP on the connection and MAC authentication at the router would
be *much* more successful at keeping someone out.  Or just set up a Nocat
system for the wifi, that's what a lot of coffee shops, restaurants and
hotels do.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



kdm changing fonts?

2007-01-22 Thread Luis Finotti

Hi,

I recently installed Etch in a Lenovo T60.  Since I had to get the ATI
drivers to work, I did a minimal install before adding a display manager
(kdm).  After I had X up and running with the proper driver, and properly
configured (with KDE), I installed KDM.  Now, if I login via KDM, the fonts
(of konsole, konqueror, etc.) all get quite a bit larger.  (I am 99% sure
that the resolution does not change, just the fonts get larger.)  I've
noticed later the same problem with another laptop (with an Intel graphics
card and open source driver).

If you check the fonts used by konsole, for example, they are not changed
there (i.e., if it said 12pt, it still shows 12pt), but it is displayed way
too large...

GDM also makes the fonts larger, but XDM works... Does any one know what is
going wrong?  Is that a bug?  I'd like to be able to turn off the computer
from within KDE.  It is not a big deal, but it seems that it is a bug, so I
thought I should ask.

Best to all,

Luis


Re: help with C algorythm (find unique value in an array) could you please make changes

2007-01-22 Thread Виталий Ищенко
В Вск, 21/01/2007 в 19:13 -0500, Kamaraju Kusumanchi пишет:
> 
> 2. In the worst case, your algorithm scales as O(N^2). If I am not wrong, you 
> can do this in O(N log(N)) steps. If your N is large (say > 1000) this has a 
> huge benefit. The algorithm would be
> a. use a quicksort technique to sort the input array
There is qsort in stdlib.h (man 3 qsort) Complexity O(N * logN)
But if you need to do it yourself -- "Donald Knuth. The Art of Computer
Programming, Volume 3: Sorting and Searching" will help you
> b. compare side by side elements in the sorted array to determine for 
> uniqueness.
+ O(N)

Rather fast, at least faster, then O(N^2)



Re: Doing administrative work

2007-01-22 Thread Johannes Wiedersich
Tyler MacDonald wrote:
> Have you put a password on your bootloader (GRUB, etc) to restrict changing
> the boot parameters?
> 
> Otherwise, you can simply edit the boot parameters, and add something like
> "S init=/bin/bash" to the end to drop yourself right into a root shell on
> boot.

The same applies to the bios. Otherwise someone could just switch off
the machine, enter a knoppix-cd or boot over usb/ethernet etc. and reset
the root password via the rescue medium.

Johannes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re: restoring a "panel" in xfce4

2007-01-22 Thread Peter Easthope

Jhair Tocancipa Triana said,
"Xfce Menu->Settings->Settings Manager->Panel

then add a new panel with the "+" button at the left and then add the
old items (Task List, System Tray) to the newly created panel, no?"

Jhair, adding the panel was easy but I failed to
see how to replace the Task List in the fresh panel.

Liam O'Toole said,
"Look at the configuration files under ~/.config/xfce4. You should be
able to find the file which holds the panel configuration, and delete it."

Liam, that worked easily enough.  I deleted only
the file /home/peter/.config/xfce4/panel/panels.xml
and configured to taste.  Thanks for the tip about
not having xfce4 running.

Thanks to Jhair & Liam,  ... Peter E.


--
Desktops.OpenDoc  http://carnot.pathology.ubc.ca/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Doing administrative work

2007-01-22 Thread Dave Ewart
On Monday, 22.01.2007 at 10:39 -0800, Tyler MacDonald wrote:

> Dave Ewart <[EMAIL PROTECTED]> wrote:
> > This is actually what is done, yes.
> > 
> > And, in addition, the safe is only accessible to restricted
> > individuals.  Having said that, none of the restricted individuals
> > (apart from me) would know what to do with the root password anyway
> > ...
> > 
> > All a matter of risk assessment, really.
> 
> I'm coming into this conversation late, so this may have already been
> covered...
> 
> Have you put a password on your bootloader (GRUB, etc) to restrict
> changing the boot parameters?
> 
> Otherwise, you can simply edit the boot parameters, and add something
> like "S init=/bin/bash" to the end to drop yourself right into a root
> shell on boot.

Password-protecting the bootloader is sensible if the system in question
is in a public area, or likely to be accessible to many people.
However, the servers are in locked rooms with very limited access.  It
only introduces a hassle to password-protect the bootloader
unnecessarily.

Dave.
-- 
Please don't CC me on list messages!
...
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED]
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92



signature.asc
Description: Digital signature


Re: Debian Installation Problem

2007-01-22 Thread Andrei Popescu
On Mon, 22 Jan 2007 15:33:53 +0200 (GMT+02:00)
Nikolai Todorov <[EMAIL PROTECTED]> wrote:

> Hello,
> recently I had a big problem with the net isntallation of Debian 31r4
> sarge. I just cannot connect to internet... During the installation i
> wrote my IP( it is static IP), my gateway, my subnet mas and dns. The
> istallation could not connect to the i-net, i had errors like "failed
> to fetch" or "temporary unavailable"... I tried to do it myself. I
> changed the /etc/apt/sources.list, tried with 3 mirrors from my
> country, 2 from US and 2 from Germany.. ifconfig seem to be
> OK, /etc/network/interfaces too.. I just can`t find where the problem
> is. I would be very greceful if You can help me!

Can you 'ping google.com'?

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



JENNY hottest Asian Beauty

2007-01-22 Thread asianlady
hallöchen!

auf der seite 

http://www.privatdirtypics.com

könnt ihr noch viel mehr von mir sehen ;-)))

bussi
jenny

<>


Re: Doing administrative work

2007-01-22 Thread Tyler MacDonald
Dave Ewart <[EMAIL PROTECTED]> wrote:
> This is actually what is done, yes.
> 
> And, in addition, the safe is only accessible to restricted individuals.
> Having said that, none of the restricted individuals (apart from me)
> would know what to do with the root password anyway ...
> 
> All a matter of risk assessment, really.

I'm coming into this conversation late, so this may have already been
covered...

Have you put a password on your bootloader (GRUB, etc) to restrict changing
the boot parameters?

Otherwise, you can simply edit the boot parameters, and add something like
"S init=/bin/bash" to the end to drop yourself right into a root shell on
boot.

- Tyler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Doing administrative work

2007-01-22 Thread Dave Ewart
On Monday, 22.01.2007 at 09:31 -0600, Ron Johnson wrote:

> You might be trustworthy not to walk away from a logged-in console and
> not install stupid stuff, but is he?

Well, the console is in a locked-room and only available to a small
number of people.  In the event of my untimely demise, I believe this
would be a minor issue ;-)

> > The procedure is: the nominated deputy can retrieve the root
> > passwords from the safe and login via the console :-)
> 
> Also, did you date and sign your name on top of the adhesive seam
> (and, it couldn't hurt, then tape over your signature) from the
> envelope that the root password is in?
> 
> That will ensure that no one can sneak a peak at the root password and
> cleverly reseal the envelope.

This is actually what is done, yes.

And, in addition, the safe is only accessible to restricted individuals.
Having said that, none of the restricted individuals (apart from me)
would know what to do with the root password anyway ...

All a matter of risk assessment, really.

Dave.
-- 
Please don't CC me on list messages!
...
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED]
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92



signature.asc
Description: Digital signature


Re: Revive dark photos -- Debian gimp packaging question

2007-01-22 Thread Cláudio E. Elicker
On Sunday 21 January 2007 22:26, ][ wrote:
> Hi,
>
> I remember that I revived some dark photos to normal look by simply
> choosing certain gimp menus. Now I want to do it again, but couldn't find
> the menu entry any more.
>
> So I went ahead googling the answer, and it seems Normalize, Contrast
> Auto-stretch and Auto-stretch HSV are three ways of doing it. But I believe
> I've been to every corner of gimp menu, but didn't find a single clue where
> those options could be. E.g., Contrast Autostretch should be at (Filters ->
> Map -> Contrast Autostretch), but it's not there, in my gimp at least.
>
> Are those tools excluded from the gimp release, because of recent
> tightening the license issue?
>
> If so, anybody is kind enough to show me how to get and install them
> myself?
>
> thanks
>
> tong
>

http://docs.gimp.org/en/plug-in-retinex.html

[]'s


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: libpangocairo and gimp...

2007-01-22 Thread tom arnall
i tried to upgrade this morning but got the following right after fetching the 
stuff:

Fetched 5428kB in 40s (133kB/s)
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
grave bugs of ucf (2.0017 -> 2.0018) 
 #407963 - Syntax error in /usr/bin/ucfr
grave bugs of desktop-base (0.3.20 -> 4.0.0) 
 #407799 - desktop-base: /etc/defaults/kdm.d/10_desktop_base \
 overrides configure d login desktop without warning on upgrade
serious bugs of netbase (4.27 -> 4.28) 
 #407538 - netbase: /etc/networks should not be a conffile
Summary:
 ucf(1 bug), desktop-base(1 bug), netbase(1 bug)
Are you sure you want to install/upgrade the above packages? 
[Y/n/?/...]  n


the rest of it:



** Exit with an error by force in order to stop the installation. 
**


E: Sub-process if dpkg -s apt-listbugs | grep -q '^Status: .* \
ok installed'; the n /usr/sbin/apt-listbugs apt || \
( test $? -ne 10 || exit 10; echo \
'Warning: apt- listbugs exited abnormally, hit enter key to \
continue.' 1>&2 ; read a < /dev/tty  ); fi returned an error 
code (10)
E: Failure running script if dpkg -s apt-listbugs | grep -q '^Status: \
.* ok inst alled'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 \
|| exit 10; echo 'Wa rning: apt-listbugs exited abnormally, \
hit enter key to continue.' 1>&2 ; read a  < /dev/tty ); fi


(the preamble was:

The following packages have been kept back:
  alsamixergui firefox gdk-imlib1 gnome-cups-manager 
gnome-system-monitor
  gnomemeeting mozilla-browser mozilla-venkman
The following packages will be upgraded:
  console-common desktop-base hal kernel-package libhal-storage1 libhal1
  libsepol1 libsmbclient libvolume-id0 libwrap0 libwrap0-dev netbase
  openbsd-inetd python-tz tcpd ucf udev
17 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 5428kB of archives.
After unpacking 516kB of additional disk space will be used.
Do you want to continue [Y/n]? y

)


is the solution simply to wait until the repository deals w' the situation, or 
is the problem on my end?

thanks,

tom arnall





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kmail SMTP problems

2007-01-22 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/22/07 11:59, Andrei Popescu wrote:
> On Sun, 21 Jan 2007 08:19:30 +0100
> Robert Epprecht <[EMAIL PROTECTED]> wrote:
> 
>>> On Wed, 17 Jan 2007 20:11:46 +0100
>>> Robert Epprecht <[EMAIL PROTECTED]> wrote:
>> [about problems setting up Kmail to use smtp on google mail accounts]
> 
>> I think this is a big problem with this type of GUI applications:
>> If it does *not* work, how do you find out what's wrong? Not even
>> starting Kmail from a terminal provided any diagnostic error messages.
>> This does not feel like Linux to set it up, but like another well
>> known OS ;-) Why can't a GUI program provide the the possibility
>> to give (meaningful) error messages to the user who wants to see it?
> 
> There are GUI programs that provide proper error logs. But gmail is
> also not the best server to judge on. There are just so many quirks
> about it ...

It is trivial to set up Postfix to relay smtp messages to a
"primary" smtp server.  I do this on my system, and thus I do not
list smtp..net in my MUA, but simply "haggis", which is my
machine's name.

I mention this because Postfix dumps quite a lot of useful
information into /var/log/mail.err and /var/log/mail.log using syslog.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFtQC+S9HxQb37XmcRAhnUAKDSchnKAY5cbp6w53/pDmU1BUawhQCePwmR
pyecIICglj1pjA2kuvCX42M=
=jOZ+
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Iceweasel crashing and a cure

2007-01-22 Thread Michael Marsh

On 1/22/07, Don <[EMAIL PROTECTED]> wrote:

2. Without the MOZ_DISABLE_PANGO=1, starting iceweasel from command line
(or a KDE link to iceweasel) brings up the browser and it crashes by
completely killing itself every time on that web page URL (and some
others), but more importantly the following error message comes after
the crash using the command line:

> [EMAIL PROTECTED]:~$ iceweasel
> /usr/lib/iceweasel/firefox-bin: symbol lookup error: 
/usr/lib/libpangocairo-1.0.so.0: undefined symbol: 
pango_font_describe_with_absolute_size
> [EMAIL PROTECTED]:~$
>

Even though my immediate problem is "solved", can anyone tell me what
the "real" problem is and what I can do about it?  I just have a feeling
from the error message that something else is wrong.


This might help you figure out what's going wrong, or at least give
you another data point:

http://gnomesupport.org/forums/viewtopic.php?t=11429

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: firefox keeps dying with libpangocairo error

2007-01-22 Thread tom arnall
On Tuesday 16 January 2007 15:03, tom arnall wrote:
> after a recent etch dist-upgrade, firefox keeps dying with:
>
>   [EMAIL PROTECTED]:~$ firefox
>   /usr/lib/firefox/firefox-bin: symbol lookup error:\
>   /usr/lib/libpangocairo-1.0.so.0: undefined symbol: \
>   cairo_scaled_font_get_font_options
>

fixed it. there were files/links in usr/local/lib which i got rid of:

libcairo.a  libcairo.la*  libcairo.so@  libcairo.so.2@  libcairo.so.2.2.3*

how did they get there?

tom arnall



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Why there is no space left on root partition?

2007-01-22 Thread Andrei Popescu
On Mon, 22 Jan 2007 11:07:05 -0500
[EMAIL PROTECTED] wrote:

> On Tue, Jan 23, 2007 at 02:18:55AM +1300, Chris Bannister wrote:
> > On Sat, Jan 20, 2007 at 07:57:46AM -0600, John Hasler wrote:
> > > Sven Arvidsson writes:
> > > > I'm not a Windows user myself, but I hear of many Windows users
> > > > who actually know that they shouldn't run as admin but are
> > > > forced to do so because a lot of applications, installers and
> > > > games simply will not run on an unprivileged account.
> > > 
> > > Nothing forces them to run those applications.  If they really
> > > cared about security they would refuse to buy such programs and
> > > the publishers would get the message.
> > 
> > True, but quite often there is no choice. For example, at the local
> > primary school there is quite a lot of educational software which
> > comes under this umbrella. Although to be fair, I think it may be
> > the way the security features of the admin account are setup. The
> > average teacher is not aware of, or actually has time to learn
> > about, security with regards to installing purchased educational
> > software.
> 
> I'd actually appreciate it if aptitude (or other such) would
> distinguish between packages whose use requires root permissions
> (whether by a setuid or not) and those that don't, and ask whether
> this is really intended.

And who checks that the so-called harmless package is what it says. The
non-root user doesn't know anything about md5sums, security, ...

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kmail SMTP problems

2007-01-22 Thread Andrei Popescu
On Sun, 21 Jan 2007 08:19:30 +0100
Robert Epprecht <[EMAIL PROTECTED]> wrote:

> > On Wed, 17 Jan 2007 20:11:46 +0100
> > Robert Epprecht <[EMAIL PROTECTED]> wrote:
> 
> [about problems setting up Kmail to use smtp on google mail accounts]

> I think this is a big problem with this type of GUI applications:
> If it does *not* work, how do you find out what's wrong? Not even
> starting Kmail from a terminal provided any diagnostic error messages.
> This does not feel like Linux to set it up, but like another well
> known OS ;-) Why can't a GUI program provide the the possibility
> to give (meaningful) error messages to the user who wants to see it?

There are GUI programs that provide proper error logs. But gmail is
also not the best server to judge on. There are just so many quirks
about it ...

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Iceweasel crashing and a cure

2007-01-22 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/22/07 11:45, Don wrote:
> I have been plagued by my Iceweasel browser crashing consistently
> on some webpages for some time now and the other day I researched
> the problem on this and other lists to try to find a solution.
> 
> I'm using "sid" on my system, kept updated/upgraded. One of the
> web pages it crashes on every time is
> http://www.mozilla.com/en-US/ (as an example).
> 
[snip]
> 
> Even though my immediate problem is "solved", can anyone tell me
> what the "real" problem is and what I can do about it?  I just
> have a feeling from the error message that something else is
> wrong.
> 
> Hints, pointers, appreciated.

http://www.mozilla.com/en-US/ does not crash my Sid 2.0.0.1+dfsg-2.

My system is a generic GNOME-only system.  (Well, maybe a few Qt
libraries, but i hardly ever use them.)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFtPqZS9HxQb37XmcRAsAPAKCahXtXCvH49OElymeHNCOODUlLmACfbmzR
nJRapPej69kvnk7adtjtsHc=
=QVVG
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Iceweasel crashing and a cure

2007-01-22 Thread Don
I have been plagued by my Iceweasel browser crashing consistently on
some webpages for some time now and the other day I researched the
problem on this and other lists to try to find a solution.

I'm using "sid" on my system, kept updated/upgraded. One of the web
pages it crashes on every time is http://www.mozilla.com/en-US/ (as an
example).

I find two things:

1. Past postings gave a hint to use MOZ_DISABLE_PANGO=1 and trying this
it works for me!  No crashing in several days now and displays the above
mentioned website fine.

2. Without the MOZ_DISABLE_PANGO=1, starting iceweasel from command line
(or a KDE link to iceweasel) brings up the browser and it crashes by
completely killing itself every time on that web page URL (and some
others), but more importantly the following error message comes after
the crash using the command line:

> [EMAIL PROTECTED]:~$ iceweasel
> /usr/lib/iceweasel/firefox-bin: symbol lookup error: 
> /usr/lib/libpangocairo-1.0.so.0: undefined symbol: 
> pango_font_describe_with_absolute_size
> [EMAIL PROTECTED]:~$
> 

Even though my immediate problem is "solved", can anyone tell me what
the "real" problem is and what I can do about it?  I just have a feeling
from the error message that something else is wrong.

Hints, pointers, appreciated.

Don


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: help with C algorythm (find unique value in an array) could you please make changes

2007-01-22 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/22/07 11:22, Jon Dowland wrote:
> On Mon, Jan 22, 2007 at 10:30:29AM +, Jon Dowland wrote:
[snip]
> /* populate the unique list */
> for(i = 1; i < argc; ++i) {
> int val = atoi(argv[i]);
> if(!in_list(val, list)) {
> list = add_to_list(val, list);
> }
> }

Unless I'm misreading, this would not scale well *at all*.

Instead of using a singly linked list, I'd use a binary tree, where
each leaf node records not only the unique value, but the number of
repeating instances.  That would need log2(num_unique_entries)
accesses per query or insert, instead of, on average,
num_unique_entries/2 accesses per query or insert.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFtPeIS9HxQb37XmcRAisNAKDBPDly2U9ra7JZGgBdWnsDzhUfyACg2OrD
IHDlOBKOE9wRqgXbCVkeX/Y=
=klp7
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Re: top post fixer?

2007-01-22 Thread John C



celejar wrote:

On 1/22/07, Dave Sherohman <[EMAIL PROTECTED]> wrote:

On Mon, Jan 22, 2007 at 10:25:23AM -0600, John C wrote:
> >I would rather be exposed to the inconvenience attending too much 
Liberty

> >than those attending too small degree of it.
> >  - Thomas Jefferson


[snip]


> By the way, I do love the quote. :-)

So did I, as soon as I saw it.  There are a lot of similarly great
quotes from Jefferson and his friends, but this is one of the few that I
can fit into a 4-line .sig.  :)


I would respectfully differ. This sort of thing is stirring but
somewhat content-free. We all agree that giving up too much liberty
for too little security is a really Bad Idea, and we also all agree
that giving up a bit of liberty for increased security is essential
(does anyone believe that nuclear weapons should be  commercially
available and totally unregulated?). The great political questions are
ultimately those of degree, which of course does not mean that they
aren't profoundly important. I make the same objection to the famous
Ben Franklin quote about "those who would give up essential liberty"
[0].

Celejar

[0] http://en.wikiquote.org/wiki/Benjamin_Franklin



Oooops.. there I was about to answer Dave's post with a "I can 
live with persuasion :)" type comment, when you point out that we 
are drifting into a almost political discussion.


Then you pick on one of my favorite Franklin quotes and bring us 
to the edge of a Nucular war.:(


That was good  :)

Oh well! since a political discussion does not belong on this 
list, I'll drop it. :)


Cheers.
John




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Revive dark photos -- Debian gimp packaging question

2007-01-22 Thread Sjoerd Hiemstra
][ wrote: 
> I remember that I revived some dark photos to normal look by simply
> choosing certain gimp menus. Now I want to do it again, but couldn't
> find the menu entry any more.

As far as I think I know, in many photo editing programs, including
Gimp, it usually goes like this:

Tools > Colour tools > Levels...
Select Channel: Red; click 'Auto'
Select Channel: Green; click 'Auto'
Select Channel: Blue; click 'Auto'
Select Channel: Value; click 'Auto'

That should do it in most cases.
For grayscale photos, skip the colours.

For more 'difficult' cases, try to adjust the 'Input Levels' and
'Output Levels' in this same dialog, and/or try Tools > Colour Tools >
Curves..., e.g. to sharpen the contrast in the dark areas.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: help with C algorythm (find unique value in an array) could you please make changes

2007-01-22 Thread Jon Dowland
On Mon, Jan 22, 2007 at 10:30:29AM +, Jon Dowland wrote:
> I think it's our duty to provide the most cunning/evil
> solution possible then :)

Probably not all that evil or cunning by most people's
standards, but here's my solution. I tried to do a
continuation-passing-style tail recursive thing, but my C
skills aren't up to it.


-- 
Jon Dowland
#include 
#include 
/*
 * find the number of unique values in an array
 */

typedef enum { false, true, } boolean;

struct node {
struct node * next;
int val;
};
boolean in_list(const int val, const struct node *list) {
if(NULL == list) return false;
return val == list->val || in_list(val, list->next);
}
struct node * add_to_list(const int val, struct node *list) {
if(NULL == list) {
list = malloc(sizeof(struct node));
if(!list) {
fprintf(stderr,"error allocating list node\n");
exit(1);
}
list->val = val;
list->next = NULL;
} else list->next = add_to_list(val, list->next);
return list;
}
int list_size(const struct node *list) {
if(NULL == list) return 0;
return 1 + list_size(list->next);
}

int main(int argc, char **argv) {
int i;
struct node *p, *list = NULL;

if(argc < 2) {
fprintf(stderr, "usage: %s number [ number ... ]\n", argv[0]);
exit(1);
}
/* populate the unique list */
for(i = 1; i < argc; ++i) {
int val = atoi(argv[i]);
if(!in_list(val, list)) {
list = add_to_list(val, list);
}
}

/* loop and print out the list */
for(p = list; NULL != p; p = p->next) {
printf("%d ", p->val);
}
printf("\n");

/* now for the new array */
printf("number of unique numbers: %d\n", list_size(list));

return 0;
}


Re: help with C algorythm (find unique value in an array) could you please make changes

2007-01-22 Thread Roberto C. Sanchez
On Mon, Jan 22, 2007 at 11:36:11AM -0500, Kamaraju Kusumanchi wrote:
> 
> Hey guys
> Lighten up! Give him the benefit of doubt and help him if you can. May be 
> the OP belongs to some other field and is trying to get a sense of algorithm 
> implementation for a related problem.
> 
Except that:

 * He is asking a question that can be reasonably answered after reading
   a decent introductory CompSci text
 * He is coding in C (if he really works in another field, it is
   *highly* unlikely that he would be working in C; Matlab would be more
   likely)
 * He is asking people on the list to modify the code for him
 * He provides no indication of what due dilligence he has taken up to
   now

> Mocking/rediculing others is not a good idea (especially on public lists)!
> 
It is not mocking or ridicule.  Simply, someone commented that it
smelled like CompSci homework and some snarky comments were made.
Nobody called him a loser or used any sort of negative language toward
him.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


[OT] Re: top post fixer?

2007-01-22 Thread celejar

On 1/22/07, Dave Sherohman <[EMAIL PROTECTED]> wrote:

On Mon, Jan 22, 2007 at 10:25:23AM -0600, John C wrote:
> >I would rather be exposed to the inconvenience attending too much Liberty
> >than those attending too small degree of it.
> >  - Thomas Jefferson


[snip]


> By the way, I do love the quote. :-)

So did I, as soon as I saw it.  There are a lot of similarly great
quotes from Jefferson and his friends, but this is one of the few that I
can fit into a 4-line .sig.  :)


I would respectfully differ. This sort of thing is stirring but
somewhat content-free. We all agree that giving up too much liberty
for too little security is a really Bad Idea, and we also all agree
that giving up a bit of liberty for increased security is essential
(does anyone believe that nuclear weapons should be  commercially
available and totally unregulated?). The great political questions are
ultimately those of degree, which of course does not mean that they
aren't profoundly important. I make the same objection to the famous
Ben Franklin quote about "those who would give up essential liberty"
[0].

Celejar

[0] http://en.wikiquote.org/wiki/Benjamin_Franklin


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Doing administrative work

2007-01-22 Thread Dave Sherohman
On Sun, Jan 21, 2007 at 10:31:39PM -0500, Greg Folkert wrote:
>   * If the need arises use a method to allow "limited privileges" in
> a granular way. I use "sudo" it allows one to give "user
> creation" without giving the keys to the machine to the person
> or helpdesk person.

I'm sure you're aware of this, Greg, but, for anyone who isn't that
familiar with sudo, you need to go over the commands that you give
untrusted people (e.g., the helpdesk person mentioned above) access to
very carefully to ensure that none of them can be used to spawn a shell
or execute arbitrary commands.  If they can use sudo to run, say, vi or
emacs as root (both of which can be used to run arbitrary commands,
including /bin/bash, unless passed specific command-line switches to
disable this), then you're "giving the keys to the machine" to them and
they can get full root powers as soon as they think to type (in most
cases) "!".

-- 
I would rather be exposed to the inconvenience attending too much Liberty
than those attending too small degree of it.
  - Thomas Jefferson


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



lrc files: ASCII text?

2007-01-22 Thread Victor Munoz
Hello. This is probably not a Debian related problem, so sorry for
that, but maybe someone has an answer. I am trying to load lrc lyrics
files to an mp3 player. There was one lrc example file in it, and it
looked just like plain text, with time tags. So I made one for another
song, put it in the player, and nothing, lyrics are not shown. I
downloaded an lrc file from the web, uploaded it, and it works.

Now the Debian part:-)

The command 'file' on the sample lrc says: 'ASCII English text, with
CRLF line terminators'. The file from the web says: 'ASCII English
text'. The file I have is 'ASCII text, with CRLF line terminators'.
The first trial was with a version wich was 'ASCII text', and nothing
either. First I thought it was a CRLF issue, but it is not. What about
the 'English' tag. How does file knows it is English or non-English.
In fact, my problematic song is a Japanese one, but lyrics are
written in romanized form, no weird characters. I don't know what else
to do, so any help will be appreciated.

Regards,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: top post fixer?

2007-01-22 Thread Dave Sherohman
On Mon, Jan 22, 2007 at 10:25:23AM -0600, John C wrote:
> >I would rather be exposed to the inconvenience attending too much Liberty
> >than those attending too small degree of it.
> >  - Thomas Jefferson
> 
> If you really believe this quote, why do you insist that bottom 
> posting is the only *correct* way to go?

There is a huge difference between encouraging someone to do something
and forcing them to do it.  My intent is to persuade, not to enforce.

> By the way, I do love the quote. :-)

So did I, as soon as I saw it.  There are a lot of similarly great
quotes from Jefferson and his friends, but this is one of the few that I
can fit into a 4-line .sig.  :)

-- 
I would rather be exposed to the inconvenience attending too much Liberty
than those attending too small degree of it.
  - Thomas Jefferson


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: help with C algorythm (find unique value in an array) could you please make changes

2007-01-22 Thread Kamaraju Kusumanchi
On Monday 22 January 2007 05:30, Jon Dowland wrote:
> On Sun, Jan 21, 2007 at 09:17:08PM -0500, Roberto C. Sanchez wrote:
> > On Sun, Jan 21, 2007 at 06:54:44PM -0600, Ron Johnson wrote:
> > > This smells like CompSci homework.
> >
> > 
> >
> > I was thinking the same thing.
>
> I think it's our duty to provide the most cunning/evil solution possible
> then :)

Hey guys
Lighten up! Give him the benefit of doubt and help him if you can. May be 
the OP belongs to some other field and is trying to get a sense of algorithm 
implementation for a related problem.

Mocking/rediculing others is not a good idea (especially on public lists)!

raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/

--
Need Help Repairing Your Credit?
Eliminate or consolidate your debt. Cut by 50%, payoff in 12-36 months
http://tags.bluebottle.com/fc/MhtYWUi20XE4KS0ZPfMvmzdKZQ7TGJ8DEdo3a/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Why there is no space left on root partition?

2007-01-22 Thread hendrik
On Tue, Jan 23, 2007 at 02:18:55AM +1300, Chris Bannister wrote:
> On Sat, Jan 20, 2007 at 07:57:46AM -0600, John Hasler wrote:
> > Sven Arvidsson writes:
> > > I'm not a Windows user myself, but I hear of many Windows users who
> > > actually know that they shouldn't run as admin but are forced to do so
> > > because a lot of applications, installers and games simply will not run
> > > on an unprivileged account.
> > 
> > Nothing forces them to run those applications.  If they really cared about
> > security they would refuse to buy such programs and the publishers would
> > get the message.
> 
> True, but quite often there is no choice. For example, at the local
> primary school there is quite a lot of educational software which comes
> under this umbrella. Although to be fair, I think it may be the way the
> security features of the admin account are setup. The average teacher is
> not aware of, or actually has time to learn about, security with regards
> to installing purchased educational software.

I'd actually appreciate it if aptitude (or other such) would distinguish 
between packages whose use requires root permissions (whether by a 
setuid or not) and those that don't, and ask whether this is really 
intended.

-- hendrik


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: top post fixer?

2007-01-22 Thread John C

I would rather be exposed to the inconvenience attending too much Liberty
than those attending too small degree of it.
  - Thomas Jefferson


If you really believe this quote, why do you insist that bottom 
posting is the only *correct* way to go?


By the way, I do love the quote. :-)

John


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Switching to amd64 - is it worth it?

2007-01-22 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/22/07 09:19, Greg Folkert wrote:
> On Mon, 2007-01-22 at 08:42 -0600, Ron Johnson wrote:
>> For a home user, doing "home things" and only probably 1GB or less
>> of RAM, and the aforementioned hassles running Flash (and acroread),
>> I vote: stay with i386.
>>
>> OTOH, if this were your *workstation*, and you were doing lots of
>> compiling, or running statistical analyses, etc, etc, etc, then go
>> with amd64.
>>
>> It goes without saying that you should go amd64 on your servers.
> 
> Hmm, I say that the workload and specific tasks determine 32-bit or
> 64-bit. Servers in general can be either.
> 
> I have an HP Proliant DL145 G2 with an Opteron. I am running a -k7
> kernel on this machine. IOW 32-Bit Debian Sid, not 64-Bit. I see many
> applications having bit-alignment errors in 64-bit environments. This

Bit alignment???  Never heard of it.

Or byte alignment?  That would be a compiler bug.

> then increases problems in unexpected areas. When I run into a
> requirement, I'll switch.
> 
> But, there many reasons to go with 64-bit, massive memory requirements,
> tremendous processing, tons of IO... in general extreme requirements,
> require 64-bit environments at the moment.

Even apps not needing extreme requirements benefit from the extra
registers in 64 bit mode.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFtNl8S9HxQb37XmcRAkvKAJsGKBsuOsKwiv+W8lY1pICK0jDJVACgi4bW
LHjhbrMwRkhVt/D8vclCs4Q=
=qRP1
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Doing administrative work

2007-01-22 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/22/07 09:14, Dave Ewart wrote:
> On Monday, 22.01.2007 at 07:51 -0600, Ron Johnson wrote:
> 
>> On 01/22/07 04:07, Dave Ewart wrote:
>>> On Sunday, 21.01.2007 at 22:03 -0500, Jim Hyslop wrote:
>>> 
>> [snip]
[snip]
>> The first thing that pops into my mind, though, is, "What 
>> happens if you get hit by a bus?"
> 
> This has crossed my mind, since my daily commute to work involves
>  fighting the local bus drivers, endlessly... :-)

You might be trustworthy not to walk away from a logged-in console
and not install stupid stuff, but is he?

Better to follow good security practices now.

> The procedure is: the nominated deputy can retrieve the root 
> passwords from the safe and login via the console :-)

Also, did you date and sign your name on top of the adhesive seam
(and, it couldn't hurt, then tape over your signature) from the
envelope that the root password is in?

That will ensure that no one can sneak a peak at the root password
and cleverly reseal the envelope.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFtNjYS9HxQb37XmcRAjCrAJ43+l2ga8e58Q4Ld57XbHw+KUmd5ACeLK5I
ajkSvKTIBGFkNYJWXzSkspE=
=PDfi
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian Installation Problem

2007-01-22 Thread Raffaele Morelli


Hello,
recently I had a big problem with the net isntallation of Debian 31r4
sarge. I just cannot connect to internet... During the installation i wrote
my IP( it is static IP), my gateway, my subnet mas and dns. The istallation
could not connect to the i-net, i had errors like "failed to fetch" or
"temporary unavailable"... I tried to do it myself. I changed the
/etc/apt/sources.list, tried with 3 mirrors from my country, 2 from US and 2
from Germany.. ifconfig seem to be OK, /etc/network/interfaces too.. I just
can`t find where the problem is. I would be very greceful if You can help
me!



Is your network interface up? If you type 'ifconfig' you should see
something ike

eth0  Link encap:Ethernet  HWaddr 00:0C:76:5E:DB:32
 inet addr: YOUR IP ADDR  Bcast:YOUR BROADCAST  Mask: YOUR NETMASK

if not, try run 'ifup eth0' or verify if the proper kernel module is loaded

cheers


Re: Switching to amd64 - is it worth it?

2007-01-22 Thread Greg Folkert
On Mon, 2007-01-22 at 08:42 -0600, Ron Johnson wrote:
> 
> For a home user, doing "home things" and only probably 1GB or less
> of RAM, and the aforementioned hassles running Flash (and acroread),
> I vote: stay with i386.
> 
> OTOH, if this were your *workstation*, and you were doing lots of
> compiling, or running statistical analyses, etc, etc, etc, then go
> with amd64.
> 
> It goes without saying that you should go amd64 on your servers.

Hmm, I say that the workload and specific tasks determine 32-bit or
64-bit. Servers in general can be either.

I have an HP Proliant DL145 G2 with an Opteron. I am running a -k7
kernel on this machine. IOW 32-Bit Debian Sid, not 64-Bit. I see many
applications having bit-alignment errors in 64-bit environments. This
then increases problems in unexpected areas. When I run into a
requirement, I'll switch.

But, there many reasons to go with 64-bit, massive memory requirements,
tremendous processing, tons of IO... in general extreme requirements,
require 64-bit environments at the moment.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster:  Linux


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


Re: Switching to amd64 - is it worth it?

2007-01-22 Thread Alan Ianson
On Mon January 22 2007 06:33, Juergen Fiedler wrote:

> I don't do anything that needs vast computing power - I mostly use
> that machine for web browsing, email and the occasional movie, all of
> which works quite nicely with the x86 kernel and libraries. Is there
> any good reason to switch to an amd64 kernel and if so, would I be
> setting myself up for major headaches?

I would stay with a 32bit kernel if your running the i386 distro, more of a 
gut feeling than a scientific fact.. :) You could install the -amd64 kernel 
and just experiment with it to see how it goes. Keep your current kernel also 
just in case it doesn't work the way you'd like it to.

I run the amd64 distro myself and at this point the only thing I miss is the 
flash player. I just can't get flash working on this box but it doesn't 
bother me (much) so I just live without it. In the early days of the amd64 
distro I missed OOo also but that is there in etch now and it works well in 
my experience.

Multi-Media may not work as well on amd64 as it does on i386 but it works for 
everything I need so I'm happy. I can play mp3 and ogg files (as well as wma 
when I need to) so I'm happy. The differences between amd64 and i386 are few 
at this point.

Adobe says they are working on a 64bit flash player so it will be there at 
some point, it seems to be slow coming but it is coming.. :) There is work on 
gnash also for flash support. I wouldn't be surprised if gnash came through 
before adobe but we'll have to wait and see.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



  1   2   >