Re: Python

2012-02-01 Thread Chris Brennan
On Wed, Feb 1, 2012 at 1:42 AM, Johann Spies jsp...@sun.ac.za wrote:

On Tue, Jan 31, 2012 at 11:24:17PM +0200, cletusjenkins wrote:
  Hello, I am interested to learn how to program in Python. What debian
 packages
  would I need to start coding some basic cgi in apache? Thanks.

 In addition to what others have said, if you want to do web development
 using Python, do yourself a favour and look at
 http://killer-web-development.com and http://www.web2py.com.


Python is a great language, but keep in mind, if you learn py2, that doesn't
mean you'll instantly know py3, for example;

print hello world in py2 is valid, but not in py3 where it is

print(hello world)

In python2 print is a statement, and in python3 it's a function. If you
are
looking for a book to buy as well, you can start with O'Reilly's Learning
Python (3e/2007), which covers Python 2.5, this will give you enough to
function adequitly in Python2.7 o you can just skip to the 4th edition (4e)
which covers Python2.6 and Python3.x.

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




Re: sbin

2012-01-01 Thread Chris Brennan
This was intended for the list but accidentally got sent to only lina.

-- Forwarded message --
From: Chris Brennan xa...@xaerolimit.net
Date: Sun, Jan 1, 2012 at 12:01 PM
Subject: Re: sbin
To: lina lina.lastn...@gmail.com


On Sun, Jan 1, 2012 at 11:42 AM, lina lina.lastn...@gmail.com wrote:

 Hi,

 Is it safe to add /sbin into PATH?

 Why the default path not include /sbin,

 Thanks with best regards,


Typically /bin is reserved for binaries executable by everyone on the
system,
whereas /sbin is *typically* reserved for binaries that are executable by
root
only, most of these would typically have the SETUID bit set for root as
well,
to further prevent non-root users from running them. The same logic would
extend to /usr/bin, /usr/sbin, and where the BSD's are concerned,
/usr/local/bin and /usr/local/sbin

/bin
/sbin

These two paths are set up and almost always linked to / (that being they
reside on the same partition/slice as the root partition,) so then in the
event
the system cannot mount anything but /, you will have a partially working
environment that would contain statically built binaries, allowing you to
fix
what ever broke and move on.

/usr/bin
/usr/sbin

These two paths are /typically/ used for normal system operation of
system-related binaries.

/usr/local/bin
/usr/local/sbin

Some Linux distro's utilize this, but it's the primary install location for
BSD related OS's such as FreeBSD, NetBSD and/or OpenBSD (just
to name a few). Any user-installed packages, either from binary or
source, would get installed to this location, the idea being that the
base system doesn't get cluttered and/or tainted by user-installed
packages.

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




Re: Linux based forum software

2011-12-23 Thread Chris Brennan
On Fri, Dec 23, 2011 at 6:00 PM, T o n g mlist4sunt...@yahoo.com wrote:

Hi,

 Do you know any Linux based forum software that is good?

 The word forum is the worst to search, I've managed to find
 http://www.simplemachines.org/, but was wondering of your opinion on it
 and what else are good.


SimpleMachines is more of a CMS+Forum rolled into one, IIRC, they bundle
phpBB with it ... as for it's security, I have no idea. You can also use
phpbb
by itself, w/o the CMS bundle of SimpleMachines. there is also vBulitain
which
is not free (and not cheap either.) I'm unaware of any other alternatives
that
offer this rather traditional layout...

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




OT: C|Net's Download.com adware, spyware, malware hijinkx.

2011-12-09 Thread Chris Brennan
Sorry for the cross post I hadn't seen any chatter about this on the lists.
It
would seem that Download.com got caught with their pants down and were
re-wrapping F/OSS with their own installer and bundling adware, spyware
and malware with it.

NMap's author, over at insecure.org got pretty hot about it and has
collected
considerable information on the topic since he learned about it on Monday.

http://insecure.org/news/download-com-fiasco.html

http://seclists.org/nmap-hackers/2011/5

http://seclists.org/nmap-hackers/2011/6

Again, sorry for the cross post, but I know how I would feel if this were
done
to me (I'd be pretty pissed!) So flame me later for cross-posting and if
your a
software developer who also makes software for Windows users, then go and
check your stuff if it's listed on download.com.

So far, paint.net's software, VLC, NMap and emergeDesktop were affected.
Being a part of emergeDesktop's community, I know the author their has
instructed the community to not download his software from download.com,
I'm not sure what steps have been taken for paint.net and VLC though.

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



Re: [OT] where should I look for google sync information ?

2011-12-07 Thread Chris Brennan
On Wed, Dec 7, 2011 at 11:21 AM, Curt cu...@free.fr wrote:

On 2011-12-05, Stephen Allen marathon.duran...@gmail.com wrote:
  On Mon, Dec 05, 2011 at 08:49:30PM +0530, J. Bakshi wrote:
  Dear list,
 
  I have activated google sync operation in my android phone to sync
 contact.
  How can I verify/see those info at my google account ?
 
  ---end quoted text---
 
  Maybe it's visible on your Google profile. AFAIK it can be managed from
  there. Don't use my phone with it but that's how the Google-Chrome Sync
  works.

 Well, they say (Google) that when you sync your contacts, you sync your
 contacts, and the only logical proof that syncing has indeed occurred
 would and could only be found in your contacts (gmail contacts, for
 instance, and, of course, the contacts on your phone, because it's a
 two-way street, I do believe, otherwise the word sync would be a
 misnomer).

 Now what this has to do with a Google profile defies my imagination, but
 perhaps it's my comprehension that's faulty.


If you log into your GMail acct, go to your contacts and look for a group
called Starred on Android, this is the group that gets sync'd to your
device and back to GMail. All of your contacts on your phone will get put
into this group, GMail will also attempt to guess what contacts you use
the most and star them for you as well. I have to go back into that group
and un-star quite a few contacts because GMail has needlessly starred
them for no good/logical reason.


 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




Re: [Pkg-fglrx-devel] Bug#650699: Fwd: fglrx-driver

2011-12-04 Thread Chris Brennan
On Sun, Dec 4, 2011 at 10:24 AM, lina lina.lastn...@gmail.com wrote:

Sincerely looking for advice about following error:

  more Xorg.0.log | grep WW

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [ 16136.164] (WW) The directory /usr/share/fonts/X11/cyrillic does not
 exist.


This one can be safely ignored, unless you are looking for a Russian font
set.


 [ 16136.195] (WW) Falling back to old probe method for fglrx
 [ 16136.200] (WW) Unsupported ASIC ID 1002:675F:: in control file
 [ 16136.200] (WW) Unsupported ASIC ID 1002:675F:: in control file
 [ 16136.200] (WW) fglrx: No matching Device section for instance
 (BusID PCI:0@1:0:1) found
 [ 16137.250] (WW) fglrx(0): board is an unknown third party board,
 chipset is supported


What Brand and model video card is this? What version of the propriatary
driver? Does X actually load? can you paste this grep instead?

cat /var/log/Xorg.log.0 | grep -e (WW) -e (EE)

This will grep for all errors *AND* warnings.

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




Re: Booting into DOS [SOLVED]

2011-12-02 Thread Chris Brennan
On Fri, Dec 2, 2011 at 2:32 PM, Ethan Rosenberg eth...@earthlink.net wrote:

At 04:19 AM 12/2/2011, Brian wrote:

 On Thu 01 Dec 2011 at 23:32:42 -0500, Ethan Rosenberg wrote:

  I'm obviously doing something incorrect, since I cannot get a DOS boot.
  I'm sure I misunderstood you.  What are all the files that should be
  edited, and what should they contain?

 There is only one file to edit - /etc/grub.d/40_custom. I think Tom H is
 suggesting you have

   menuentry DOS (loader) (on /dev/sda1) {
   insmod part_msdos
   insmod fat
   set root='(hd0,1)'
   chainloader +1
   }

 You can check DOS is on /dev/sda1 using 'cfdisk /dev/sda'.


file -s /dev/sda (as root) will also show you what the partition/drive is,
but that's trivial, as long as it works for you.

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



Re: Password Management ?

2011-11-28 Thread Chris Brennan
On Sun, Nov 27, 2011 at 6:56 PM, Stephen Allen
marathon.duran...@gmail.com wrote:

 LastPass is online and KeePass is offline. Honestly, I would trust KeePass
   over LastPass.

 shrug


I don't understand your response here? Is there a point to your shrugging
at
the difference between LastPass and KeePass?


 Not true; One has the ability to export their data at any time, now.


Actually it is true, because the terms of their service can change at any
time.
And without notice, which is their right to do so, as long as they are a
business,
incorporated in the United States. Just because you can export your data
from
them for free now, doesn't mean you can't in the future.


 Anything can change at anytime including an OSS project.


True, but as long as I have a currently free copy of that OSS Project,
then it remains free if I don't upgrade to the newer (and conceivably
changed)
paid-for product.

Stephen, my goal here was not to split hairs with you but to illustrate the
differences between LastPass and KeePass at a cursory level for the OP,
who expressed not understanding the difference between the two.

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



Re: Password Management ?

2011-11-27 Thread Chris Brennan
On Sun, Nov 27, 2011 at 4:59 AM, Olivier BATARD obat...@gmail.com wrote:

Envoyé de mon iPhone

 Le 26 nov. 2011 à 18:43, Stephen Allen marathon.duran...@gmail.com a
 écrit :

  On Fri, Nov 25, 2011 at 04:21:52PM -0700, Bob Proulx wrote:
  Olivier BATARD wrote:
  I'm just interested on how, after googling for a long time, on a
  debian, can we manage users's passwords. I mean how can we manage a
  password database on a web php site for example ?
 
  How do you manage your user's passwords database ?
 
  You have asked a very confusing question.  It will ask different
  questions to different people.
 
  Agreed.

 Ok my question is about how to manage user's password I mean how to
 store user's password and let them access like keepass but web ?

 
  You asked specifically about a php web site.  Every php web site that
  has user logins that I have ever worked with has always had its own
  unique password database with its own unique fields.  This means that
  each php web site needs to manage its own passwords through the
  provided php web interface.  Or you could access the database directly
  such as through the command line or through phpmyadmin.
 
  Perhaps the OP means something like Keepass or LastPass which manages
 user passwords in
  a web browser environment?

 Exactly.

 
  I use LastPass which works fine on GNU/Linux and Google-Chrome and/or
 Chromium.
 

 Anyone knows an offline tool like lastpass ?


LastPass is online and KeePass is offline. Honestly, I would trust KeePass
over LastPass.

KeePass is opensource, freely available for multiple OS's and is actively
maintained. LastPass is a commercial business, they offer a free and
premium service, just remember that if they go all premium, you might
have to pay to get your data back from them.[1]

I'm a bit paranoid, but I go to great lengths to secure my KeePass DB. I
have an sD card with a TrueCrypt volume on it, inside that lives KeePass
in portable mode, with it's database. Which is also encrypted.

[1] The reason I point this out is when they bought XMarks recently, they
entertained the idea among the XMarks users about a premium only
service, I know the friends that I have gotten to use XMarks and I voted no.
XMarks essentially remained the same, but that can change at any time.
 --  Chris Brennan  A: Yes.  Q: Are you sure?  A: Because it
reverses the logical flow of conversation.  Q: Why is top posting
frowned upon?  http://xkcd.com/84/ | http://xkcd.com/149/ |
http://xkcd.com/549/  GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD
9A84 D5B2 0C0C)



Re: Password Management ?

2011-11-26 Thread Chris Brennan
On Sat, Nov 26, 2011 at 12:41 PM, Stephen Allen
marathon.duran...@gmail.com wrote:

On Fri, Nov 25, 2011 at 04:21:52PM -0700, Bob Proulx wrote:
  Olivier BATARD wrote:
   I'm just interested on how, after googling for a long time, on a
   debian, can we manage users's passwords. I mean how can we manage a
   password database on a web php site for example ?
  
   How do you manage your user's passwords database ?
 
  You have asked a very confusing question.  It will ask different
  questions to different people.

 Agreed.

  You asked specifically about a php web site.  Every php web site that
  has user logins that I have ever worked with has always had its own
  unique password database with its own unique fields.  This means that
  each php web site needs to manage its own passwords through the
  provided php web interface.  Or you could access the database directly
  such as through the command line or through phpmyadmin.

 Perhaps the OP means something like Keepass or LastPass which manages user
 passwords in
 a web browser environment?


KeePass isn't browser based, it's an encrypted database manager for
account information. While I don't use this feature of KeePass, it can also
fill in browser fields for you.

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




Re: Password Management ?

2011-11-24 Thread Chris Brennan
On Thu, Nov 24, 2011 at 6:34 AM, Olivier BATARD obat...@gmail.com wrote:

Hi,

 I'm just interested on how, after googling for a long time, on a
 debian, can we manage users's passwords. I mean how can we manage a
 password database on a web php site for example ?

 How do you manage your user's passwords database ?

 I've tried clipperz, but the product is under development and not safe.
 Phppassmanager seems great but no update since 2006.

 Is there a tool, web or else, to manage database passwords in debian ?


I use KeePass, it's an offline database program to manage passwords, it's
under active development and I've never had any real problems with it.

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




Bind9 (9.7.4)

2011-11-08 Thread Chris Brennan
Greetings!

I was discussing a bind issue that I am experiencing w/ an acquaintance on
IRC this afternoon and he informed me that bind was updated to cover a
latent bug in the DNS message processing code that could allow certain
UPDATE requests to crash named.

I'm currently running Bind 9.7.3, which as far as I can tell is the latest
available on the stable squeeze repos. I am curious why 9.7.4 hasn't been
pushed out? The only reason I am concerned is because I am actually being
affected by this bug. Bind actually dies, hundreds of times a day and it's
really annoying. I am going to set up a new copy of bind from source to
cover
this bug, but I would like to know why the new version hasn't been rolled
out?
It has been months since it's initial release.

Change #2912 (see CHANGES) exposed a latent bug in the DNS message
processing code that could allow certain UPDATE requests to crash named.
[RT #24777] [CVE-2011-2464]

BIND 9.7.4 Released on 01 Aug 2011

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



Re: Bind9 (9.7.4)

2011-11-08 Thread Chris Brennan
On Tue, Nov 8, 2011 at 3:01 PM, Pascal Hambourg pas...@plouf.fr.eu.org wrote:

Hello,

 Chris Brennan a écrit :
 
  I was discussing a bind issue that I am experiencing w/ an acquaintance
 on
  IRC this afternoon and he informed me that bind was updated to cover a
  latent bug in the DNS message processing code that could allow certain
  UPDATE requests to crash named.
 
  I'm currently running Bind 9.7.3, which as far as I can tell is the
 latest
  available on the stable squeeze repos.

 AFAICS, this vulnerability has been fixed in Debian Squeeze, see
 http://www.debian.org/security/2011/dsa-2272


OK, So my copy of bind is correctly up to date. That doesn't explain then
why
I am getting random deaths of bind, multiple times a day. It doesn't log
anything, which is the odd part, and it fails to restart without human
intervention
(cron isn't catching it for some reason, but that's not the bigger problem.)

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




Re: p7zip buggy?

2011-10-30 Thread Chris Brennan
On Sun, Oct 30, 2011 at 10:16 AM, Hans-J. Ullrich hans.ullr...@loop.de wrote:

Hello community,

 it would be nice, if someone might confirm or deny the following error.

 -

 7z a -v300m -mx=9 -p{mylamepassword} testfile.7z testfile.iso

 7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
 p7zip Version 9.20 (locale=de_DE@euro,Utf16=on,HugeFiles=on,2 CPUs)


 System error:
 E_NOTIMPL

 --

 I want to pack and split an ISO with a password. The sourcefile is about
 580MB.
 Compressing into one file is working, but splitting into two 300MB files
 gives ,
 an error. Some people wrote about the same problem in Ubuntu, when they
 want
 to DEcopmpress a file, but I want to compress and split.

 Before I send a bugreport, it would be nice, if someone could confirm
 this. I
 am running debian/wheezy on an amd64 machine.


Try splitting into two archives of size 290MB  300*2=600 which =!
580MB,
that might be where your problem is coming up. p7zip might not be handeling
the simple math correctly.

 --  Chris Brennan  A: Yes.  Q: Are you sure?  A: Because it
reverses the logical flow of conversation.  Q: Why is top posting
frowned upon?  http://xkcd.com/84/ | http://xkcd.com/149/ |
http://xkcd.com/549/  GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD
9A84 D5B2 0C0C)



Re: p7zip buggy?

2011-10-30 Thread Chris Brennan
On Sun, Oct 30, 2011 at 1:04 PM, Camaleón noela...@gmail.com wrote:

On Sun, 30 Oct 2011 15:16:51 +0100, Hans-J. Ullrich wrote:

  it would be nice, if someone might confirm or deny the following error.
 
  -
 
  7z a -v300m -mx=9 -p{mylamepassword} testfile.7z testfile.iso
 
  7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18 p7zip
  Version 9.20 (locale=de_DE@euro,Utf16=on,HugeFiles=on,2 CPUs)
 
 
  System error:
  E_NOTIMPL
 
  --

 (...)

 I just have tried and works fine here (wheezy).

 ***
 7z a -v3m -mx=9 -p{test} archive.7z file.tar
 ***

 file.tar is ~4.1 MiB and the above command creates two volumes (2
 files) of 3 MiB and 848.2 KiB of size respectively, which I think is
 correct :-?


Camaleon,

What version of p7zip is in wheezy? Are you possibly using a different
version
then what is provided in the wheezy repo?

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




Re: p7zip buggy?

2011-10-30 Thread Chris Brennan
On Sun, Oct 30, 2011 at 1:25 PM, Hans-J. Ullrich hans.ullr...@loop.de wrote:

Hi Chris,

 I tried again, but got no success. My version besides is 9.20.
 Maybe it is not a bug, just on my system? I will watch it the coming time.


Yeah, I saw that in your original e-mail, also of note is your using the
64-bit
version, as noted by the [64] in square brackets. I would like to see which
version Camaleon is using to compare, it very well might be a bug in the
arch's and not the version. So it's good to make note of the version and
arch.

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




Re: a quick question: how to add comments for several lines at the same time

2011-09-29 Thread Chris Brennan
On Thu, Sep 29, 2011 at 12:52 PM, John L. Cunningham djoh...@gmail.com wrote:

On Fri, Sep 30, 2011 at 12:31:00AM +0800, lina wrote:
  Hi,
 
  When I use vim (how can I add comments for several lines at the same
 time, not
  one by one)
  add #

 I set a mark a at the first row that I want to comment, then move the
 cursor to the last row I want commented and type:

 :'a,.s/^/# /g


You can do something similar in visual mode as well, I don't remember
exactly how though.

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




Re: help

2011-09-28 Thread Chris Brennan
On Wednesday, September 28, 2011, neo haux neo.h...@gmx.com wrote:



Blank emails don't go far. How about you start off by giving us an
idea of what it is you want help with. If it's hardware related, a
basic profile of your system would be in order as well.

-- 


 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CANLX3ygpqMUOzG9w4xmZ8oPsj5QAAg+_hCUGXWC0XSt=fzn...@mail.gmail.com



Re: apt-build issues

2011-09-18 Thread Chris Brennan
On Sun, Sep 18, 2011 at 10:01 AM, Camaleón noela...@gmail.com wrote:

On Sat, 17 Sep 2011 23:59:13 -0400, Chris Brennan wrote:

  So I decided to try and play with apt-build and I got the following
  which I can't seem to solve or figure out how to solve lol

 (...)

 I don't know how apt-build works nor does, but let me make some
 observations about the log...

  W: Failed to fetch
  http://www.debian-multimedia.org/dists/squeeze/Release Unable to find
  expected entry  contrib/source/Sources in Meta-index file (malformed
  Release file?)

 If I read D-M instructions coreectly, contrib does not seem to be a
 valid option (just main and non-free) so I would check this.

  W: Failed to fetch
  http://mozilla.debian.net/dists/squeeze-backports/Release Unable to find
  expected entry  iceweasel-4.0/binary-amd64/Packages in Meta-index file
  (malformed Release file?)

 For this one I dunno what could be the offending part. Anyway, I would
 recheck your /etc/apt/sources.list just in case.

 Greetings,

 --
 Camaleón


Camaleon,

Thanks for your reply, your clues have put me on the right track, I've
quashed the errors I reported and am now just trying to figure out how to
use a-b. :)

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




apt-build issues

2011-09-17 Thread Chris Brennan
 [2,513 B]
Get:6 http://dl.google.com stable Release [1,347 B]
Get:7 http://dl.google.com stable/non-free amd64 Packages [1,025 B]
Get:8 http://dl.google.com stable/main amd64 Packages [1,104 B]
Get:9 http://dl.google.com testing/non-free amd64 Packages [786 B]
Get:10 http://dl.google.com stable/main amd64 Packages [1,180 B]
Fetched 11.1 kB in 1s (9,471 B/s)
W: Failed to fetch
http://www.debian-multimedia.org/dists/squeeze/Release Unable to find
expected entry  contrib/source/Sources in Meta-index file
(malformed Release file?)

W: Failed to fetch
http://mozilla.debian.net/dists/squeeze-backports/Release Unable to
find expected entry  iceweasel-4.0/binary-amd64/Packages in
Meta-index file (malformed Release file?)

E: Some index files failed to download, they have been ignored, or old ones
used instead.
root@Blackdragon:~#


Any idea's cause I'm stumped!

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



Re: OT - Frequency of unsolicited emails

2011-09-11 Thread Chris Brennan
On Sun, Sep 11, 2011 at 5:26 PM, Heddle Weaver weaver2wo...@gmail.comwrote:



 On 12 September 2011 05:19, Doug dmcgarr...@optonline.net wrote:

 On 09/11/2011 11:23 AM, Camaleón wrote:

 On Sun, 11 Sep 2011 07:58:30 -0700, MR ZenWiz wrote:

  I've noticed since joining this list a number of weeks back that it is
 the only technical/OS discussion list to which I subscribe that
 frequently, as in one or more daily, ends up with emails in my spam
 list.

 Yup, the more mailing lists you subscribe, the more chances to get your
 inbox full of spam :-)

  Are we somehow more susceptible or less secure from spam than other
 lists, like Ubuntu users, CentOS users, GNOME users, etc. and if so,
 can't something be done about it?

 I'd say we are the same as in any other open mailing list. Or even we are
 less susceptible because Debian mailing lists lack for an archive (plain
 text based mbox file).

  It's a minor annoyance, but really, on an OS discussion list?

 Just saying

 I use a dedicated e-mail for posting in mailing lists so I keep my main
 inbox off of spam messages. True is that Gmail handles this reasonably
 well.

 Greetings,

  I agree with the OP.  I subscribe to at least 5 lists, and the Debian
 list
 is the only one that consistently has all kinds of spam, not only in
 English,
 but in various foreign languages, some of them in strange scripts!  Many
 of
 these appear to come from some travel agency, altho I have to guess, not
 being
 fluent in Hungarian, etc.  But I think the situation has improved somewhat
 over
 the past 6 months or so.


 And I'm afraid I agree with Cam.
 This list is administered efficiently and *some* spam gets through
 occasionally.
 Considering the volume of the list, it amazes me how little gets through.
 Something to consider - about half the OS distros out there are based on
 Debian and half their list members are on the Debian list also. It's a BIG
 list.

 1 or 2 spam messages a day on Debian-User is something it would take a
 miracle to rectify and, as has been noted, only a minor annoyance. Very
 minor.
 Configure your own spam filters as well, and the occurrence is less than
 trivial.
 Regards,

 Weaver.


I'm in the boat with Camaleon and Weaver, I'm on a dozen or more mailing
lists, all open-source related and I get maybe 5 e-mail messages a *month*

freebsd-{ports,chat,current,gnome,questions,security}
debian-users
gentoo-users

are the most active lists I am on, then a handful of independent projects
have me on their mailing lists too, most with moderate traffic on it. It
could be that you specifically have been targeted or possibly your ISP,
based on an IP Block...

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)




Re: Curlftpfs replacement?

2011-09-09 Thread Chris Brennan
On 9/8/2011 11:06 PM, Robert Blair Mason Jr. wrote:
 Hi list,
 
 I've googled some, but can't seem to find any active project providing
 FTP mounts.  Currently I've installed curlftpfs, but cf wikipedia the
 project appears to be abandoned.  Is there a new version or project that
 is still being developed upstream that anyone here knows about?
 
 Thanks,
 
 --
 rbmj
 
 

Couldn't FUSE do this? Just a thought to jump-start someone elses motor
a bit ... If you can mount sshfs I would imagine an 'ftpfs' module may
exist within the FUSE project, give that a try or shoot them a line and
see if they might have some better idea's just remember that ftp is
plain-text and as such, insecure... If your security-conscience then
sshfs or sftp/scp might be a wiser choice (just remember that you loose
speed for encryption, so it's a comprimise!)
-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: installing root-kit checkers

2011-09-09 Thread Chris Brennan
On 9/9/2011 6:45 PM, Lisi wrote:
 We seem to be being told that nowadays we should run a root-kit checker.  The 
 kernel exploit would indeed seem to suggest it.  I have tried rkhunter and 
 found that I couldn't make head or tail of it.  I then read that, for a 
 root-kit checker to work properly, you should install it on a fresh install 
 before said installation goes on the Internet.  All well and good, but I 
 almost always install Debian of some version or other, and when I do so, I 
 always install over the net.  
 
 So how do I run a check before going on the Internet???  I can hardly install 
 a package of any sort before I have installed at least the basics of the 
 distro!  (Yes, I know that there are those on this list who say that a 
 root-kit checker is useless anyway, and root-kits are obviously difficult to 
 spot - the kernel is guarded by people far more capable than I.)
 
 Lisi
 
 
Lisi,

Generally speaking, you might want to start with a fresh install, say in
a VM (VirtualBox is good for this). Then install chkrootkit, rkhunter
and/or tiger, all of which are sufficient root-kit checkers. Then you
can work from there, but the concept is that root-kit tools should be
the first tool installed and keep good, *known clean* sources handy to
copy to knew machines as the first thing they do after being installed.

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: In Need of Advice

2011-09-05 Thread Chris Brennan
On 9/5/2011 12:54 PM, RiverWind wrote:
 
 Hey There,
 
 I have two computers, a DOS and a Linux box. Now then, I am wanting
 to access my Linux box via my DOS box. I would ultimately like to
 use my Linux box as my sole ISP. I do not believe that using my
 modem in order to dial up my Linux machine would work, but I also
 know that there is such a thing as a NUL modem cable???

This is a Female-Female DB9 Serial port cable, the savy make their own,
I prefer to just buy them for a few bucks (I use 3-4 of them currently
to interconnect 5 devices, including my Netgate Firewall, in-case-of LAN
failure for some reason.

The linux box is assumed as Debian? What type of Dos box is this? MSDOS?
FreeDOS? FreeDOS may be a better route or if you are only using this box
for a small subset of tools, try DOSBOX, a *nix dos emulator.

 How would you good gentles go about putting such a plan as mine
 into action? In other words, how would you go about accessing a
 Linux machine with a DOS system? Is there any special software?
 Would I have to use a USB port? If I am not mistaken, DOS doesn't
 work with USB ports??? Even more desirable would be the ability to
 use the terminal emulator Commo as my means of establishing
 contact between the respective systems.

Just plug the cable in, make sure the DOS BIOS has the COM/DB9 port
enabled, note the irq/memory range. Then just tell Commo to use that
port to communicate.

As for setting it up on your linux box, this link[1] should help you. Be
sure to adapt it for your OS, so variations may need to be applied.

 I would appreciate any and all advice I can get regarding this
 matter, so that I won't need to pay for an ISP when I already have
 one. Thanks so much in advance.

What your aiming for here is 'Serial Console Access' and that would be
some of the keywords you would use to apply your GoogleFu. Obviously,
this is general, apply necessary keywords to supplement your search for
refinement.


 Feel free to visit my website and my blog and learn more about me
 and what I stand for.
 My Website @ http://riverwind.shellworld.net
 My Blog http://windraven13.livejournal.com/
 
 

hth

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Holiday Project for my job

2011-09-03 Thread Chris Brennan
On 9/3/2011 11:35 AM, ZephyrQ wrote:
 I am trying to set up several Linux desktops for a secure (locked)
 facility for troubled teenagers.  I brought one home to set up (so I can
 have unfettered internet access) but then I need to be able to 'clone'
 it to others without internet access (so package retrieval is impossible
 unless I bring home every single desktop; and we are talking about up to
 50).  So I need advice on the following:
 
 1.  Which distro to use?  I've used Mint before in a similar setting
 (and was pleased) but I'm now stuck with 6 year old Dells with almost no
 video acceleration and .5 G memory each.  I'm thinking XFCE with Mint or
 Xbuntu, but am open to others (even a stock debian install which I use
 on my home machine) but I will not be able to update unless I do so
 manually (which a CD or thumbdrive).
 
 2.  How do I 'clone' the machine to a CD or, preferably, a thumb drive
 so I can install the same configuration to all machines (limiting menu
 options, put in educational games, add openoffice or libreoffice, etc.)?
 
 
 Thank you for your time.
 
 

Clonezilla[1] should allow you to image one computer and clone it to the
others. It has both a Debian-based and Ubuntu-based images. As the
website states, the Ubuntu version is more up to date, but I still
prefer using the Debian version, I'd prefer stability over bleeding edge
when it comes to a cloning process. The only reason I would choose the
Ubuntu version is if it had a specific feature I needed.

[1]http://www.clonezilla.org

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [OT] Re: unsuscribe

2011-09-01 Thread Chris Brennan
On 9/1/2011 10:51 AM, Lisi wrote:
 On Thursday 01 September 2011 15:25:56 Camaleón wrote:
 My guess is that non-subscribers users (like me) do receive the footer
 appended at their messages but subscribed users do not. But this is not a
 scientific statement, just a wild theory I concluded by observing the
 messages that reach the list.
 
 Sorry to kybosh your theory, Camaleón, but I am subscribed and I usually (I 
 would have said always, but I just checked) get the footers. :-)
 
 Lisi
 
 

Every e-mail I've gotten so far, has had the foot on it... So I think
it's safe to say, always does apply in my case.

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Is seagate goflex compatible with debian

2011-08-28 Thread Chris Brennan
On 8/28/2011 3:05 AM, Lisi wrote:
 On Sunday 28 August 2011 05:28:40 lina wrote:
 If you want, I can grab her external after
 Hurricane Irene is done leaving her mark on NYC and get you dmesg logs
 from Squeeze and my laptop, running testing.

 have a nice weekend,
 
 Erm...  How does anyone have a nice weekend watching her/his home be blown to 
 bits or damaged, badly flooded etc. and possibly most of his/her possessions 
 being destroyed?!
 
 Lisi
 
 

Haha no worries Lisi, this weekend is shot to hell. 0330, NYC-Time, off
to bed now... (the worst is coming in now)

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Most Perplexing

2011-08-28 Thread Chris Brennan
On 8/28/2011 6:43 PM, RiverWind wrote:
 
 Hey There,
 
 Well folks, in order to run the conversion suggested by Bob, I did
 the following.
 
 I first saved the script he outlined and called it cb.sh. I then
 tried to make the file executable with chmod +x cb.sh. I then ran
 the file with ./cb.sh. I got the following response.
 
 Quote On
 [workshop] $ ./cb.sh
 '/cb.sh: line 1: syntax error near unexpected token `do
 '/cb.sh: line 1: `  for chapternum in $(seq 1 45); do
 [workshop] $
 Quote Off
 
 I am sure that I have done something wrong, but I can't figure for
 the life of me just what it was.
 
 cheerio,
 Riv
 
 The script reads as follows.
 
   for chapternum in $(seq 1 45); do
 wget http://www.dsl.org/cookbook/cookbook_$chapternum.html
   done
 
 
 Feel free to visit my website and my blog and learn more about me
 and what I stand for.
 My Website @ http://riverwind.shellworld.net
 My Blog http://windraven13.livejournal.com/
 
 
Put this on line one of your little script

#!/usr/bin/env sh

save it and rerun it. This will tell the script what shell to use to
execute the commands.


-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: securing the system, stopping unnecessary services and closing open ports.

2011-08-27 Thread Chris Brennan
On 8/27/2011 11:38 AM, Brad Alexander wrote:
 Ports 139, 445 and 901 are samba running. Port 631 is cups, your printer
 driver. 111 and 2049 are for NFS.  If you don't need them, you should be
 able to turn them off...If you do need it, then you should be able to
 firewall it, using iptables to limit access to the hosts or subnets you
 need.
 
 On Sat, Aug 27, 2011 at 11:05 AM, yudi v yudi@gmail.com
 mailto:yudi@gmail.com wrote:
 
 Nmap suggests the following ports are open:
 
 25/tcp   open  smtp
 111/tcp  open  rpcbind
 139/tcp  open  netbios-ssn
 445/tcp  open  microsoft-ds
 631/tcp  open  ipp
 901/tcp  open  samba-swat
 2049/tcp open  nfs
 
 I run a desktop email client that uses smtp apart from that I do not
 know why rest of the above services are open.
 
 it even had SSH listening on 22, changed the port # and also 
 changed PermitRootLogin to no in /etc/ssh/sshd_config after looking
 at the following output:
 also installed gufw and set it to deny as default.
 
 root@computer:/home/user# grep -ir Failed password /var/log/*
 /var/log/auth.log.1:Aug 14 13:50:37 computer sshd[3553]: Failed
 password for root from 60.242.242.121 port 56631 ssh2
 /var/log/auth.log.1:Aug 15 22:13:10 computer sshd[5129]: Failed
 password for invalid user admin from 190.24.225.223 port 22792 ssh2
 root@computer:/home/user# grep -ir BREAK-IN /var/log/*
 /var/log/auth.log.1:Aug 15 22:13:08 computer sshd[5129]: reverse
 mapping checking getaddrinfo for corporat190-24225223.sta.etb.net.co
 http://corporat190-24225223.sta.etb.net.co [190.24.225.223] failed
 - POSSIBLE BREAK-IN ATTEMPT!
 
 
 how can I find out if this system has been compromised?
 
 
 If you are looking for ssh attempts, you shoud peruse /var/log/auth.log
 and look for unusual logins. The ones like you mention above are failed.
 You could run fail2ban or another one that watches your ssh port and in
 the event of too many failed attempts, can block the IP through
 iptables. Be careful, because if someone spoofs the address, then you
 could block some site that you need to access.
 
 Another idea would be to run a Host-based Intrusion Detection System
 (HIDS). Tripwire is a classic example, as it does md5sums of critical
 files and you run it against your machine looking for changes. However,
 I have come to prefer OSSEC (http://ossec.net), which does md5summing in
 the background:
 
 OSSEC HIDS Notification.
 2011 Aug 25 07:25:59
 
 Received From: (013hornet) 192.168.224.13-syscheck
 Rule: 550 fired (level 7) - Integrity checksum changed.
 Portion of the log(s):
 
 Integrity checksum changed for: '/etc/sudoers'
 Size changed from '552' to '692'
 Old md5sum was: 'fc78e5599202f204e48df73a15e81533'
 New md5sum is : '377364efbaefe7138d3fe4081d98b592'
 Old sha1sum was: '9053767a81a35ded809dd7269d984589a8f09d13'
 New sha1sum is : '6bcc831d9407626328
 callto:9407626328651b68dc73763472b11374'
 
 but also watches your logs for events:
 OSSEC HIDS Notification.
 2011 Aug 25 06:43:57
 
 Received From: (056worf) 192.168.224.56-/var/log/auth.log
 Rule: 40101 fired (level 12) - System user successfully logged to the
 system.
 Portion of the log(s):
 
 Aug 25 06:43:56 worf su[9338]: + ??? root:nobody
 
 Having said all of that, if you suspect your machine was compromised
 (the failed logins messages in the logs only indicate that you had some
 failed attempts), nuke it and rebuild. After you rebuild, set up
 iptables, ossec, run nmap or nessus on it and put it back in service.
 
 Regards,
 --b
 
 
 what are the steps I need to take to secure it?
 -- 
 Kind regards,
 Yudi
 
 

If you need to actively scan for a rootkit, you can check out rkhunter ,
ckrootkit or sleuthkit, just to name a few.

If you want to get creative with tools, my gentoo box has this in
app-forensic:

afflib  air  chkrootkit  examiner  galleta  lynis   magicrescue
 metadata.xml  ovaldi  rdd  rkhunter  sleuthkit  zzuf
aideautopsy  cmospwd foremost  libewf   mac-robber  memdump
 openscap  pasco   rifiuti  scalpel   yasat

You can try some of these if you want, but I've only used the three I
initially mentioned.

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Is seagate goflex compatible with debian

2011-08-27 Thread Chris Brennan
On 8/27/2011 8:20 AM, lina wrote:
 Hi,
 
 Today I checked this one on store,
 
 http://www.seagate.com/www/en-us/products/external/external-hard-drive/portable-hard-drive
 
 the 1TB USB3.0 one, whose outside box showed the system requirements is:
 Windows 
 Mac® OS X operating system 10.4.11 or higher; 10.5.8 or 10.6.2 (32-bit
 kernel only)
 
 My questions is that:
 
 is it compatible with mine OS: x86_64 GNU/Linux ?
 How about 64-bit kernel Mac OS X?
 
 (The lady there make me moved,
 she stopped me buying it,
 cause she can't guarantee me it will work, and it's not refundable,
 she suggested me to wait for working day,
 so she can call someone and let me know the result.)
 
 Before the hard drive I used, I did not examine much, just feel it can
 be plugged in windows, also Linux, no problems at all.
 
 
 Thanks for any advice,
 

Lina,

I see my advice for Seagate was effective for you, glad to see it so. In
general though, I don't buy the preassembled externals. I prefer to shop
around for an enclosure on my choosing first, one I know will work with
what ever systems I am going to use it on, then I go and find an
appropriate hard-drive.

For example, I just bought this for my girlfriend

http://www.microcenter.com/single_product_results.phtml?product_id=0341014

And four of these:
http://www.microcenter.com/single_product_results.phtml?product_id=0355641

The encloser is running in raid1 (so roughly 698G), her laptop (A
Pre-Dell Alienware M17x) is running in raid0 (~1.3TB). That external
does require it's own power and the cord isn't very long. On the bright
side though, It received some abuse from me the first week we had it.
While preforming backup's of her laptop, I and my cat both knocked the
external off the desk, it slammed to the floor, I picked it up and it
was perfectly fine, granted it only fell 3 feet but I plugged it into my
Squeeze box as well as my FreeBSD box and scanned the array, no errors
(and it was still coping data when it fell!).

Like I had said previously, I am using these very same drives elseware
(my laptop, the squeeze box as well as the freebsd box)

/dev/md0  233G  4.2M  233G  1%  /mnt (xfs)
This is her two old laptop drives (Seagate 2.5, 16MB cache, 250GB,
7200RPM), they are running in a raid1 softraid array in Leviathan
(Squeeze). I swapped them out because the Intel fakeraid in the
Alienware died. So instead of just rebuilding a 500GB raid0 array, I
upgraded her to 2x750GB drives at ~1.3TB.

tank  559G  25K  559G  0%  /tank (zfs)
This is 2x750GB, 16MB Cache, 7200RPM drives running in a raid1 array as
my primary data storage device. They are attached to a HPT RocketRaid
1720 Card (2xSATAII), hardware raid. The OS is FreeBSD 8.2.

I realize this is more information then you are asking for, and I
apologize for that. I just wanted to illustarte how well these drives
function and to show you that the external I pointed out will work in
Squeeze at the very least. If you want, I can grab her external after
Hurricane Irene is done leaving her mark on NYC and get you dmesg logs
from Squeeze and my laptop, running testing.



-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: 2TB file system

2011-08-17 Thread Chris Brennan
 in use all the way up to 4x1TB drives in my desktop.
never had any serious problems with any of them. On the rare chance that
I did, Seagate was quick to get me a new drive ASAP.

P.S. I have never heard of GoFlex for a hard-drive manufacturer ...
toddles off to google ... ahh I see, GoFlex is Seagates line of external
drives (I don't use them so I had no idea...)

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [OT] 2TB file system

2011-08-17 Thread Chris Brennan
On 8/17/2011 10:48 AM, Mihira Fernando wrote:
 On 08/17/2011 07:55 PM, Pete Orrall wrote:
 How interesting. I hear many people have had problems with Hitachi
 drives, hence the nickname Hitachi DeathStar but myself...I've had
 no problems using their drives of any capacity from sizes smaller than
 80GB all the way to 1TB. 
 
 Probably cause you've joined the dark side ? :P
 
 
We have cookies.

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: 2TB file system

2011-08-17 Thread Chris Brennan
On 8/17/2011 11:41 AM, lina wrote:
 Yeah. Here I meant external hard drive. (Actually I have no idea about
 what's kind of driver I used in desktop or laptop).
 
 The external drives mainly plan to store some data which won't be
 visited often, kind of back up.
 500 GB + 500 GB is much more safer (for data storage) than all in one 1TB 
 drive?
 
 Okay, one thing I won't consider the HITACHI, so mainly seageat.
 
 Thanks again,

My laptop has a Seagate 750GB, 7200RPM Drive in it. My girlfriends
laptop runs 2x750's in a RAID0 array. Her external backup is a RAID1
array of 2x750GB drives (all 2.5in, 7200RPM)

My Desktop is running 4x1TB drives in a RAID10 array. My in-house
servers are a hodepodge of Seagates and MDT (refurb company) drives.
Those hodpodge collections are running in either LVM's or ZFS array's.

Ohh and the GF's *old* 250GB drives from her laptop are 7200RPM 2.5in
seagates as well, they are currently being stress tested in a RAID1
array in my Debian system.

I've got 2x750GB, 7200RPM, 2.5in drives in another RAID1 ZFS array in my
FreeBSD box, minus a loose cable, the drives work flawlessly.

P.S. Lately, I've been able to get the 750GB, 7200RPM 2-.5in drives very
cheap. 11 drives over the last 6-8mo for approximately $80-$100USD+Shipping.

So yea, I personally, would highly recommend Seagate's, either internal
or external. Best value for what ever your buck is.

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: 2TB file system

2011-08-17 Thread Chris Brennan
On 8/17/2011 12:02 PM, lina wrote:
 How do I check hard drive information of the desktop?
 
 Thanks,

Usually the drives label will reveal all. Size, Spindle-Speed, Cache if
present (all the 750's and 1TB drives I bought have a 16MB cache on
them). YMMV though depending on what it came with. The one thing to keep
in mind is laptops, all the hard-drives are accessible but in different
ways, my HP and my gf's AlienWare laptops are very easy to get to, my
old Dell Latitude required me to jump though many hoops and a torx screw
driver ultimately fixed my problem there.

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: 2TB file system

2011-08-17 Thread Chris Brennan
On 8/17/2011 12:29 PM, lina wrote:
 is it normal to show something as below? something wrong with my hard drive?
 
 [122997.499667] ata2.00: SATA link down (SStatus 4 SControl 0)
 [122997.499681] ata2.01: SATA link down (SStatus 4 SControl 0)
 [125780.338889] ata_piix :00:1f.2: PCI INT B disabled
 ...
 [125783.955600] ata2.00: failed to resume link (SControl 0)
 ...
 [131722.261129] applesmc: TB1T: read data fail
 [133377.721214] applesmc: TCGC: read data fail
 ...
 
 [134042.839675] ata_piix :00:1f.2: PCI INT B disabled
 
 actually during the start of the computer, it showed me something like
 failed to resume link, but I have no idea about it.
 
 Thanks again,

Nope, not normal, without more details about your system, I don't know
the context of link down. A stab in the dark, Your kernel is trying to
query all of your SATA ports and not finding drives attached to every
port. It could also mean that one or more SATA ports or attached drives
may be faulty. I would check cables and such first.

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Best linux Distro 2011

2011-08-10 Thread Chris Brennan
On 8/10/2011 1:51 PM, Hans-J. Ullrich wrote:

You make some valid, neutral points here, and I have no argument up to
this point.

 4. FreeBSD (and I thought long of it), just lost, as packages and updates 
 must 
 be compiled on the system itself. That was no problem for me, but things hnad 
 to go fast, and I was the only one, who was able to compile things. The other 
 mebers of my team were Microsoft-Mouse-Pusher or noobs.

The FreeBSD Ports system isn't the only means to install software.
Alongside the Ports system is the pkg_* system for installing pre-built
packages, these version numbers are almost always in-line w/ ports so
there is little issue and you can safely mix-match in most cases, so
long as you pay attention.


 5. The winner was Debian. Why? Easy to tell: The packaging thing was running 
 perfectly, I could automate a lot of things (cron-apt for example), 
 protection 
 was good with a little more work, and, very important, I could use webmin (in 
 a restricted form) for our noob-admins and also some usermin-modules for my 
 customers (also very restricted form). All other things could be configured 
 to 
 my needs, thanks to the scripts, debian is bringing by default. 
 
 And, not to forget: debian is running on the most different hardware, on 
 intel 
 machines, solaris, risc whatever. I choose after this advice: Choose a 
 distribution, and learn it. But learn it well! It was also the well 
 documentation and manuals, which made my decision easy (although the docu of 
 FreeBSD is very well, too!)

I beg your pardon, but the FreeBSD handbook beats any linux distro's
documentation hands down. You can 'man insert anything and get a well
documented man page on that topic, I can't man wl in Debian.

Don't get my wrong, I like Debian a lot, I've been using it since 6 was
released and so far, it suites my needs, I even choose it for the VPS I
just got. I'm also a FreeBSD fan (used it since the early 5.x days)

FreeBSD can also run on these platforms. Although, Solaris is a
UNIX-based OS, not a platform, are you talking about SUN Systems? Check
out [2] and [3] for FreeBSD's Architecture support policy and a link to
download the current supported branches (8.2 and 7.4) across multiple
architectures. There are other niche-releases of FreeBSD released by
developers on the side, such as NanoBSD, which is used as the
base-platform for pfSense.

 
 And not forget its freedom: There is no coorporation behind it, which si 
 controlling everything (like i.e. SuSE or RedHat!!)

Last I heard, while RedHat does own the rights to Fedora, it is
primarily a community-driven bleeding-edge OS designed to provide RHEL
an up to date, stable environment. I dunno about SuSE, never used it
much. Fedora, while bleeding edge, isn't all that bad if one takes your
own advice and learns it well.

 
 If I would have to choose today again, I would again vote for Debian, 
 especially for noobs. It is easy to install, well to learn, is still pure 
 linux (like slackware), and has a fine community.

Slackware is more pure in my option, only because the developer aims to
provide a *vanilla* environment that is free from developer influence.
The Debian way of doing something won't fly in Slackware, but the
vanilla/neutral way of doing something in Slackware will work in almost
any other modern *Nix OS

 
 Many may ask, and Ubuntu? Aaah, f...k off! I do not like, what Ubuntu does. 
 It 
 is mostly preconfigured, and people do not learn anything. And it lacks with 
 configuration. I remember, I should change postfix from English to German. No 
 problem in Debian! Just install German locales and configure postfix. And 
 Ubuntu? There are no German locales in its repository! Ah, get lost!
 It is an American Distro!
 
 Ok, this was just my personal point. I love Debian, fes problems with it and 
 bugs are fixed s fast! 

Bugs are fixed quite fast in FreeBSD too, spend time on -ports,
-hackers, -bugs or -security and you'll see, sometimes, they are fixed
within minutes of being discovered. Bugs found in in BASE can take a bit
longer because there is a testing procedure to ensure that new bugs
aren't introduced into the base system by mistake with the fix.

This is also my opinion, but I think it's an opinion founded slightly
more in fact. Take a look at the mailing lists[1] For FreeBSD, join a
few and you'll see how well taken care of and robust FreeBSD really is.
Ultimately, it comes down to what will work best in your environment and
I'm sure we're all happy that you found one. It just seems like your
analysis of FreeBSD was a bit short-minded.

[1]http://lists.freebsd.org/mailman/listinfo
[2]http://www.freebsd.org/doc/en/articles/committers-guide/archs.html
[3]http://www.freebsd.org/where.html

Yes, I'm a FreeBSD fan, I'm also a Debian fan, which is why I sit on
this mailing list. I'm also a long-time fan of Slackware, although I
haven't used it in many years. So be kind, don't flame me :D

-- 
 Chris Brennan
 --
 A: Yes.
 Q

Re: GLX Missing

2011-08-10 Thread Chris Brennan
On 8/10/2011 5:15 PM, Robert Blair Mason Jr. wrote:
 Hello list,
 
 I am unable to get 3d graphics on my laptop.  I've tried the standard
 reinstall xserver-xorg, xserver-xorg-video-intel, dpkg-reconfigure, and
 then restart, but it hasn't worked.
 
 My video card:
 
 $ lspci | grep VGA
 00:02.0 VGA compatible controller: Intel Corporation Core Processor
 Integrated Graphics Controller (rev 18)
 $ lsmod | grep -w video
 video  17707  1 i915
 thermal_sys17949  3 video,processor,thermal
 
 So far, so good.  But...
 
 $ cat /var/log/Xorg.0.log | grep -i glx
 [   659.592] (II) LoadModule: glx
 [   659.592] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
 [   659.599] (II) Module glx: vendor=NVIDIA Corporation
 [   659.599] (II) NVIDIA GLX Module  280.13  Wed Jul 27 17:12:07 PDT
 2011
 [   659.599] (II) Loading extension GLX
 [   659.841] (EE) Failed to initialize GLX extension (Compatible NVIDIA
 X driver not found)
 
 To me, it looks like Xorg is trying to load nvidia's glx modules, but
 is (correctly) unable to do so, because it (correctly) can't find any
 nvidia video cards on my system.  It also seems that this is blocking
 Xorg from loading intel glx drivers.
 
 Thanks for any advice,
 
 --
 rbmj
 
 

Try changing your xorg.conf to reflect the intel driver vs the nvidia
one, I would remove the nvidia gpu driver all together unless you need
it for some reason.


-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Best linux Distro 2011

2011-08-08 Thread Chris Brennan
On 8/8/2011 11:36 AM, shawn wilson wrote:
 I would have gone with slackware. But that's just me. :)

Slackware is a great way to learn Linux without many 'isms to worry
about. Slackware 4.x/5.x was my first distro to try on my own and I used
it for a very long time. It taught me the fundamental basics of what I
needed to know about compiling software and it's dependencies. It's
something I do recommend to people who want to aggressively learn Linux
without the overhead of learning how a specific OS does something.
Granted I haven't used Slackware since 9.1 so I have no idea how much
has changed since then...

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Best linux Distro 2011

2011-08-08 Thread Chris Brennan
On 8/8/2011 1:35 PM, Jerome BENOIT wrote:
 Why have you switched to Debian ?

Simply for the experience, I try to spend some time with a few different
distro's at a time. I've played with RHL, SuSE, Slackware, Arch, Gentoo,
Debian, Ubuntu, Slackware and FreeBSD, just to name a few.

To be perfectly honest, Debian, FreeBSD and Gentoo all share many things
in common and in general, I enjoy their philosophies over the others. To
that end, at home, I run a Debian, a Gentoo and 2 FreeBSD boxes (one is
my pfSense firewall and the other is a FreeBSD server). My VPS is also
Debian, although I would much prefer if my host would offer FreeBSD as I
am more familiar with that as a server.

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Problems ejecting cd.

2011-08-06 Thread Chris Brennan
On 8/6/2011 12:47 PM, R. Clayton wrote:
 I'm running debian testing updated weekly.  Every once in a while I manage to
 wedge the cd drive such that I can no longer eject it:
 
   $ sudo umount /dev/scd1
   umount: /dev/scd1: not mounted
 
   $ eject /dev/scd1
   eject: unable to eject, last error: Inappropriate ioctl for device
 
   $ sudo eject /dev/scd1
   eject: unable to eject, last error: Inappropriate ioctl for device
 
   $ eject -v /dev/scd1
   eject: device name is `/dev/scd1'
   eject: expanded name is `/dev/scd1'
   eject: `/dev/scd1' is a link to `/dev/sr1'
   eject: `/dev/sr1' is not mounted
   eject: `/dev/sr1' is not a mount point
   eject: `/dev/sr1' is not a multipartition device
   eject: trying to eject `/dev/sr1' using CD-ROM eject command
   eject: CD-ROM eject command failed
   eject: trying to eject `/dev/sr1' using SCSI commands
   eject: SCSI eject failed
   eject: trying to eject `/dev/sr1' using floppy eject command
   eject: floppy eject command failed
   eject: trying to eject `/dev/sr1' using tape offline command
   eject: tape offline command failed
   eject: unable to eject, last error: Inappropriate ioctl for device
 
   $ ls -l /dev/s{cd,r}1
   lrwxrwxrwx 1 root root  3 Aug  5 18:09 /dev/scd1 - sr1
   brw-rw 1 root cdrom 11, 1 Aug  5 18:09 /dev/sr1
 
   $ groups
   rclayton dialout cdrom floppy audio video plugdev bluetooth netdev
 
   $
 
 The drive's wedged so tightly that it doesn't respond to the button on the
 cd-tray drawer (it does, however, respond to the paper clip, but that fixes
 neither the eject command nor the drawer button).  This usually happens after 
 I
 have some mishaps mounting and unmounting the drive.  I can recover the drive
 by rebooting, but what, if anything, can I do short of rebooting to recover 
 the
 drive?

From a mechanical point of view, this sounds like a bad servo or
actuator motor in the drive. Is it old? New? Is the drive sluggish to
eject the drive, does it feel stiff, like something might be grinding on
the tray itself? Do you have kids that like to hide small things in
really neat new places?


-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [left blank]

2011-08-04 Thread Chris Brennan
On 8/4/2011 9:40 AM, AG wrote:
 GNU/Linux - and the *BSDs - are great systems to learn computing on. 
 For the transition though I would strongly advise against using the new
 system as your production system ... in the early stages of your
 learning curve there is the real risk that you can trash your system
 completely, so only install on a partition or a computer that you can
 play around on until you can become more familiar and confident with the
 system you are using.  This is also why you will need to set up a root
 a/c and a user a/c and only ever use the user a/c for working on the
 system unless the system requires you to be root.  In which case, try
 safeguards such as using the shell command su or sudo to temporarily
 grant root powers to the user.
 
 Otherwise, welcome to the world of GNU/Linux Debian and good luck.
 
 AG

A great list of suggestions AG. A great alternative if you don't want to
dual-boot or use a whole system is to use a Virtual Machine such as
VirtualBox[1]


[1]http://www.virtualbox.org


-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: pls respond asap

2011-08-03 Thread Chris Brennan
On 8/3/2011 1:58 PM, Wonder Universe wrote:
 guys i want to delete this mail i had sent
 can u help me how to do dat?
 
 http://lists.debian.org/debian-user/2011/08/msg00164.html
 
 Its a matter of someone's life..please respond
 
 

There is no deleting something from the internet, especially if it's
been archived off-list already. With enough probable cause, you could
petition the list administrators to modify the list archive, but I am
unsure of the implications of such an action, in the long time.

The point of the archive is historical value, if it can be modified,
it's resource as that historical reference becomes tainted.

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Has KFTPGrabber gone viral

2011-07-28 Thread Chris Brennan
On 7/28/2011 1:21 AM, Bret Busby wrote:
 Hello.
 
 I have been running KFTPGrabber 0.8.1 on Debian 5 on this computer.
 
 I hade been using it without problems, for maintaining web sites, until
 recently.
 
 A few days ago, it suddenly decided to, instead of uploading four
 selected files, upload a directory and its subdirectories, totalling
 about 200MB, instead of uploading the about 200kB selected.
 
 Today, I selected a couple of files, and it said hey, this file sounds
 similar, and tried to upload a file that was in a directory of the same
 level (the directory was at the same level; the file within that
 directory, was at a lower level). I tried repeatedly, and, no matter
 what file I selected to upload, KFTPGrabber decided that it wanted to
 upload, instead, the particular file that was in the directory, that was
 not a file that I wanted to upload.
 
 So, I had to use the command line FTP utility to upload the files.
 
 So, has KFTPGrabber become viral?
 
 If it has, then it is unfortunate, as it had been a good tool for web
 site development.
 
 -- 
 Bret Busby
 Armadale
 West Australia
 ..
 
 So once you do know what the question actually is,
  you'll know what the answer means.
 - Deep Thought,
   Chapter 28 of Book 1 of
   The Hitchhiker's Guide to the Galaxy:
   A Trilogy In Four Parts,
   written by Douglas Adams,
   published by Pan Books, 1992
 
 
 
 

Sorry for the repeated spam on this, my mail client has gone wonky for
some reason.

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Do I own an unsupported optical IDE drive?

2011-07-21 Thread Chris Brennan
On 7/21/2011 6:28 AM, Horace Dynamite wrote:
 I have a lot of ATA link errors in my dmesg,
 ;  BEGIN 
 [318539.569748] ata2: exception Emask 0x73 SAct 0x0 SErr 0x
 action 0xe frozen
 [318539.569751] ata2: irq_stat 0x, unknown FIS 
   , host bus
 [318539.569756] ata2: SError: { RecovData RecovComm UnrecovData
 Persist Proto HostInt PHYRdyChg PHYInt CommWake 10B8B Dispar BadCRC
 Handshk LinkSeq TrStaTrns UnrecFIS DevExch }
 [318539.569765] ata2: hard resetting link
 [318541.100038] ata1: failed to resume link (SControl )
 ; END 
 
 ... It goes on for a very long time, these errors are actually all I
 can see in my dmesg.
 
 I can't mount ISO's, I think this is because my optical drive is not
 supported (well, the IDE interface must be using a weird chipset)
 
 My kernel is 2.6.32-5-amd64.
 
 Am I right in thinking this implies my optical drive is not supported?
 My current optical drive has an IDE interface, using this Ultra DMA
 stuff on an Abit AB9 motherboard. I thought I should get a SATA drive,
 does this seem reasonable (my SATA disk drives work flawlessly with
 the SATA interface)?
 
 Thank you for your time,
 
 Horace.
 
 
Could you provide the make/model of the optical drive in question as
well as the output of lspci?

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: 32bit vs 64bit

2011-07-21 Thread Chris Brennan
On 7/21/2011 4:57 PM, Brad Alexander wrote:
 This is sort of an odd question, but my desktop is a core2duo machine,
 which means it is capable of 32 or 64 bit operation. The last time I
 rebuilt the machine in 2007, there were still a number of deficiencies
 in 64bit Linux. However, some time in the intervening time, my clock
 started running fast, gaining, say, 15 minutes per hour, even though ntp
 was running. I was advised to install the amd64 kernel. Thus I wound up
 with a franken-machine with a 64bit kernel and 32bit userland. One of
 the problems with this configuration is that apps which use the kernel
 and userland versions get confused. For instance, I can install the
 amd64 version of VirtualBox, but it will not start because it gives me
 wrong architecture...
 
 Well, now 64bit is as stable as 32bit, and I want to upgrade my machine
 to 64bit userland. Is there a reliable way to upgrade existing packages?
 Or is a complete rebuild (nuke and pave) the best way? I know I could
 probably wget every package on my system with a wget script and do a
 dpkg -i * but that seems frought with danger. On the other hand, doing
 a nuke and pave means I would be without the machine for the duration
 of the build, plus the post-install configuration means I have to labor
 to get things back to the way I like them.
 
 Is there some middle ground?
 
 thanks,
 --b

To borrow your own phrase  nuke and pave. Moving between
architectures is probably a very very bad idea :D (upgrade wise). While
not a guru, but a power user, this is something I would only attempt to
do in a VM and then, only to prove it can't be done. Sanely. But this is
just my $0.02 :D

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Trinity site offline?

2011-07-16 Thread Chris Brennan
On 7/15/2011 10:11 PM, shawn wilson wrote:
 4.2.2.2 and 4.2.2.1 

ARIN Direct allocation to Level3 Communications. if they don't know, then
TrinityDesktop.org's dns entries were removed from their DNS Servers for
what ever reason, but it appears it's back online now.


-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Want to build new Debian PC. Is IDE interface gone?

2011-07-11 Thread Chris Brennan
On 7/11/2011 2:55 PM, William Hopkins wrote:
 On 07/10/11 at 03:09pm, mark wrote:
 I think the last time I was annoyed about such a change was when
 you couldn't get floppy drives anymore..
 

Wait! So you can't get floppy drives anymore!?! :P

-- 
 Chris Brennan
 --
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: NVIDIA - URGENT

2011-07-02 Thread Chris Brennan
* Hans Vogelsberger li@schwaz.net [2011-07-02 18:44:43 +0200]:

 Todays testing update, safe-upgrade and full-upgrade totally killed my X 
 which ran with NVIDIA driver. Even this posting I must send from my old 
 computer which is in a terrible state because I did nothing on it since 
 I use the new one. Without X, most work I do on my computer cannot be done.
 
 Nouveau did not work after I bought my Fujitsu in January. Installing 
 xserver-xorg-video-nouveau, xserver-xorg-video-nouveau-dbg, 
 libdrm-nouveau1a, and libdrm-nouveau1a-dbg and changing the Driver line 
 in Section Device of /etc/X11/xorg.conf with Vim from NVIDIA to 
 nouveau and after another reboot to NOUVEAU did not work either. The 
 Identifier line was NVIDIA GeForce 9300 GE and thus correct, the other 
 sections in xorg.conf were not printed but configured elsewhere, and xdm 
 and xfce4 had worked well all the time.
 
 I rechanged the Driver line with Vim again back to NVIDIA, rebootet 
 and dpkg-reconfigured whatever seemed necessary, And rebootet again. 
 Near the end of /var/log/Xorg.0.log the following lines showed up:
 (II) Loading extension DRI2
 (II) LoadModule: nvidia
 (WW) Warning: couldn't open module nvidia
 (II) Unloading module nvidia
 (EE) Failed to load module nvidia
 These seem to be the important lines and are the same in Xorg.0.log and 
 in Xorg.0.log.old. The logs with nouveau are lost. I rebootet to often 
 and there is only one Xorg.0.log.old file. As far as I remember those 
 lines did not look notably different from the nvidia ones.
 
 Is there something I can do, or is it necessary to install Wheezy anew?
 In this case I hope it is enough to repartition / and /boot partitions 
 and leave the other ones as they are.
 
 Yours
 Hans Vogelsberger
 

Hans,
Try reinstalling the nvidia driver, the kernel likely changed during 
your upgrade and the driver needs to have his kernel module recompiled 
against the new kernel version. Try that and report back.

-- 
 Chris Brennan
 -- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110702170445.ge28...@gmail.com



Re: Unread bug reports ?

2011-06-25 Thread Chris Brennan
* Camale?n noela...@gmail.com [2011-06-25 11:09:40 +]:

 Which is fine... but in such cases there should be the figure of an 
 ombudsman, the glue that acts when no one is in charge of a package- or 
 that seems to be missing- that at least lets you know what is happening 
 and what's the bug status. With accurate information, you can quietly 
 wait or go upstream with the bug. You have more choices.
 
 Not news is not good news is this case.

Greetings!
FreeBSD's ports system has something similar to what your talking 
about here. The life of a port first depends on it's Maintainer, if 
s/he quits, gives up, gets bored, what ever, the port then defaults 
to Ports system maintainers where they, collectively decide one of 
the following:
a) absorb the port and continue support
b) find a new maintainer
c) drop support and move on
This is all decided by the Ports System committee and doesn't happen 
over night. There is ample time for people to be properly 
notified and for them to find a new maintainer amungst themselves or 
elsewhere or for people to move off/away from that port.

Just my $0.02 :D


-- 
 Chris Brennan
 -- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110625165320.ga6...@gmail.com



Re: posting

2011-06-22 Thread Chris Brennan
* lee l...@yun.yagibdah.de [2011-06-22 19:20:19 +0200]:

 Perhaps the digest can be turned into an mbox file without too much
 effort, like just stripping the headers of the container-message, and
 thus be treated as if the subscriber received the mailing list not as a
 digest but as single messages?

An interesting idea, so essentially they can be presented with a link to 
download the digest for any given period in mbox format for importation
into their mail client maybe make the period defineable so they 
could then choose to fetch the days messages or last weeks messages, given 
what they desire.

-- 
 Chris Brennan
 -- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110622172411.ga31...@gmail.com



Re: news/mail client and the text borders

2011-06-13 Thread Chris Brennan
* Philipp ??berbacher hollun...@lavabit.com [2011-06-13 11:27:57 +0200]:

 Excerpts from Davide Baldini's message of 2011-06-13 04:28:18 +0200:
  What software do you use for mail/news?
  I see all your messages are proudly well formatted and perfectly fit in
  pages of 80 columns, while I have to push return each line. If i forget, 
  lines gets splitted in my window but then when i send it out i
  see the big mistake...
  
  is there any margins setting? I use icedove (thunderbird 3.0.11)
 
 I use a CLI mailer (sup) and vim for text editing, so in my case it's
 vim that does the line wrapping. If memory serves vim is told that what
 it edits is a mail and behaves accordingly, but there certainly are
 manual settings for this stuff too.
 
I'm a mutt user and vim is my editor of choice, if that's the route you 
would like to go then the following will make your life somewhat easier.

ch...@stewie.xaerolimit.net:~$ cat .vim/after/ftplugin/mail.vim
syntax on
setlocal wrap
setlocal textwidth=72
 do text=flowed wrapping
setlocal formatoptions+=wr
setlocal formatoptions-=l
 don't autoindent or smartindent, as that just adds weird spaces into 
the
 middle of flowed text paragraphs
setlocal noautoindent nosmartindent
setlocal nopaste
ch...@stewie.xaerolimit.net:~$

This is what vim reads when I reply to and/or compose mail to some one. 
If you really want to jump into mutt, I would suggest subscribing to the 
mutt-users mailing list as well and I can share my mutt configuration 
(as can others) to help you along.



-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
s  http://xkcd.com/84/ | http://xkcd.com/149/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110613135008.ga17...@gmail.com



[debian.li...@home.nl: Re: broadcom: SOLVED]

2011-06-12 Thread Chris Brennan
- Forwarded message from steef debian.li...@home.nl -

Redirected back to list so it can be archived.


Date: Sun, 12 Jun 2011 21:39:46 +0200
From: steef debian.li...@home.nl
To: Chris Brennan xa...@xaerolimit.net
Subject: Re: broadcom: SOLVED

Chris Brennan schreef:
 * steefdebian.li...@home.nl  [2011-06-11 15:32:00 +0200]:
 
 
 hi list,
 
 bought my self a hp mini-netbook, included windoze7 and a very strong accu, 
 10
 hours of life.
 
 What's 'accu'?
 
 i put sid on an usb-stick, included fluxbox and wicd(-curses).
 
 wifi = (lspci) brcm4313. (type 5.60.350.6)
 
 Can you paste the whole line from lspci?
 
 'lspci | grep 4313' should do (without the quotes)
 
 loaded/installed the according the debian broadcom-  (broadcom 43xx wireless
 drivers)  -wiki convenient driver_firmware. the driver should be included in
 the sid_kernel, so i understood. however: this wifi_driver does not work.
 
 See below link.
 
 my questions: what did i do wrong if anything (1) ?
 
 My question, what *did* you do? Can you be a little more specific about the
 process you did follow?
 
 and
 
 broadcom assued a so-called xxx-STA driver (by google) somebody with some
 experience with this brcm4313 driver for linux (tar.gz) does this one work 
 for
 my mini_netbook (2) ?
 
 Link?
 
 if i find a working driver i can get rid of w7.
 
 http://wiki.debian.org/wl is what I used on my HP laptop. I've actually had
 Debian 6 (Squeeze) installed on there for several months now and I *JUST* got 
 wireless working
 within the last few days, it was based on the above link that I got it 
 working, it's
 fairly straight-forward and your 4313 is listed (mine is a 4312).
 
 One thing I do recommend, if you have a physical wifi switch, to toggle it 
 after the
 new wl driver is loaded, that was the trick that got it working for me, once 
 I did, it
 turned blue and I immediately connected to my Router
 
 

hi chris,

thanks for your help. with the [broadcom-sta] wl-module from the wl
debian wiki you advised me i was able to install wl.ko in the
kernel-modules. now all works fine.

thank you again,

steef

groningen netherlands

(with the wooden shoes)


- End forwarded message -

Steef, your very welcome. I am glad that wiki page helped you. I was 
amazed at how easily it worked for me. My laptop has been up for 3 days 
now with the information from that WIKI page and it is still reported 
100% signal strength and it hasn't dropped (Windows used to drop all the 
time, annoyed the hell out of me.)

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110612194305.ga14...@gmail.com



Re: broadcom

2011-06-11 Thread Chris Brennan
* steef debian.li...@home.nl [2011-06-11 15:32:00 +0200]:

 
 hi list,
 
 bought my self a hp mini-netbook, included windoze7 and a very strong accu, 
 10 
 hours of life.

What's 'accu'?

 i put sid on an usb-stick, included fluxbox and wicd(-curses).
 
 wifi = (lspci) brcm4313. (type 5.60.350.6)

Can you paste the whole line from lspci?

'lspci | grep 4313' should do (without the quotes)

 loaded/installed the according the debian broadcom-  (broadcom 43xx wireless 
 drivers)  -wiki convenient driver_firmware. the driver should be included in 
 the sid_kernel, so i understood. however: this wifi_driver does not work.

See below link.

 my questions: what did i do wrong if anything (1) ?

My question, what *did* you do? Can you be a little more specific about the
process you did follow?

 and
 
 broadcom assued a so-called xxx-STA driver (by google) somebody with some 
 experience with this brcm4313 driver for linux (tar.gz) does this one work 
 for 
 my mini_netbook (2) ?

Link?

 if i find a working driver i can get rid of w7.

http://wiki.debian.org/wl is what I used on my HP laptop. I've actually had 
Debian 6 (Squeeze) installed on there for several months now and I *JUST* got 
wireless working
within the last few days, it was based on the above link that I got it working, 
it's
fairly straight-forward and your 4313 is listed (mine is a 4312).

One thing I do recommend, if you have a physical wifi switch, to toggle it 
after the 
new wl driver is loaded, that was the trick that got it working for me, once I 
did, it
turned blue and I immediately connected to my Router


-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110611142714.ga28...@gmail.com



Re: broadcom

2011-06-11 Thread Chris Brennan
* Freeman hew...@gmail.com [2011-06-11 14:51:32 -0700]:

 You need broadcom-sta.
 
 Read here
 http://packages.debian.org/search?searchon=namessuite=allsection=allkeywords=broadcom-sta
 
 # apt-get install broadcom-sta-common broadcom-sta-source module-assistant
 +make debhelper quilt bzip2
 
 I don't remember how much of the install dpkg does automatically. But I
 believe you will be using module-assistant.  So don't forget sta-source and
 do all the preliminary steps and downloads within module-assistant.
 
 Then select the broadcom-sta module, build and install.
 
 Broadcom-STA is an imperfect solution. It's performance has been knonw to
 vary.  It will blacklist a number of modules, disabling your LAN connection. 
 The blacklist will be under /etc/modprob.d/broadcom-sta-common.conf .
 
 To use the LAN, I had an alias that moved
 /etc/modprob.d/broadcom-sta-common.conf to /root then rebooted.  And
 visa-versa.
 
 I do have an alternate blacklist file that, in addition, blacklists broadcom
 but I don't think that was necessary to use the LAN.  (It has been awhile.)

The Debian WIKI page I linked in my last e-mail covered all of this, I 
had my wireless working in approximately 10 minutes time. I did nothing 
spectacularly special. Either I got really lucky or that wiki is better
then people give it credit for.

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110611222835.gc30...@gmail.com



Re: unable to enumerate usb device on port 5

2011-06-10 Thread Chris Brennan
* Camale?n noela...@gmail.com [2011-06-10 10:25:46 +]:

 On Fri, 10 Jun 2011 12:04:00 +0530, Rohit Vaidya wrote:
 
  I have just installed Debian Squeeze successfully. On boot up I get the
  following message constantly dumped
  on the console. Whenever I try to access the virtual terminal it gives
  me the same message.
  Unable to enumerate usb device on port 5 . Even a dmesg shows the same
  message being constantly dumped
  on the terminal. What is the problem and how can we overcome this issue?
 
 JFYI, there have been similar reports on this list about that error:
 
 http://lists.debian.org/debian-user/2011/05/msg01769.html
 http://lists.debian.org/debian-user/2011/01/msg02201.html
 http://lists.debian.org/debian-user/2010/12/msg00960.html
 
 And there is also a bug report:
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620848
 
 What I don't know is if someone could finally solved the problem :-?

I noticed this as well last night when I had to reboot my Debian 6 laptop, I
hadn't noticed the error message before but it is dumped *a lot*, I could go 
find out exactly how many times if necessary...

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?

 http://xkcd.com/84/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110610152422.ga21...@gmail.com



Re: hard drive configuration

2011-06-06 Thread Chris Brennan
* prad p...@towardsfreedom.com [2011-06-06 09:23:08 -0700]:

 in the past we've had two partitions:
 /
 /data
 into the latter went home, www, mail and we'd softlink from the
 appropriate places. the nice thing about this setup has always been that
 when we upgraded or tried a different system there wasn't any data
 copying to do.
 
 now we've been experimenting with xfs on which there will be openvs
 containers to run the web/mail servers. containers go into /var/lib/vz
 and we're thinking of keeping them in a separate partition
 too. additionally, we've split things up so there are partitions for
 /usr /usr/local /tmp /home and so on.
 
 so i'm musing over whether to have a /data partition as before - it
 doesn't seem to make quite the same sense at this stage. however, when
 it comes time to change to the next debian, i keep thinking having the
 data separate may be an advantage.
 
 do people have favorite partitioning schemes with appropriate
 justifications for them?

In the past, I've done something simmilar, especially on multi-drive
systems. I will usuaully have root (/) on a small raid1 mirror (hard or
soft, your choice.) And then do soemthing simmilar w/ /data, whereas 
/data is running an LVM ontop of the RAID1 array for dynamic partitions.

When in doubt, install the system entirely to (/) and then copy over any 
persistant data to newly created partitions with in the LVM group.
Recently, I put together a squeeze system running XFS, this is my layout:

ch...@leviathan.xaerolimit.net:~$ sudo pvs; sudo vgs; sudo lvs
  PV VG   Fmt  Attr PSize   PFree
  /dev/sda2  swap lvm2 a-11.17g  0
  /dev/sda4  tank lvm2 a-41.18g   3.18g
  /dev/sdb1  swap lvm2 a-11.17g  0
  /dev/sdb2  tank lvm2 a-63.37g  13.37g
  /dev/sdc1  tank lvm2 a-   149.05g 149.05g
  /dev/sdd1  tank lvm2 a-   232.88g 232.88g
  /dev/sde1  tank lvm2 a-   465.76g 465.76g
  VG   #PV #LV #SN Attr   VSize   VFree
  swap   2   1   0 wz--n-  22.34g  0
  tank   5   7   0 wz--n- 952.23g 864.23g
  LVVG   Attr   LSize  Origin Snap%  Move Log Copy%  Convert
  swap  swap -wi-ao 22.34g
  distfiles tank -wi-a- 10.00g
  home  tank -wi-ao 50.00g
  opt   tank -wi-ao  5.00g
  portage   tank -wi-a-  1.00g
  tmp   tank -wi-ao  2.00g
  usr   tank -wi-ao 10.00g
  var   tank -wi-ao 10.00g
ch...@leviathan.xaerolimit.net:~$  mount
/dev/sda3 on / type xfs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda1 on /boot type ext2 (rw)
/dev/mapper/tank-home on /home type xfs (rw,grpquota,usrquota)
/dev/mapper/tank-opt on /opt type xfs (rw)
/dev/mapper/tank-tmp on /tmp type xfs (rw)
/dev/mapper/tank-usr on /usr type xfs (rw)
/dev/mapper/tank-var on /var type xfs (rw)
ch...@leviathan.xaerolimit.net:~$

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110606164536.gc21...@gmail.com



Re: There was a problem with your email to debianHELP

2011-06-01 Thread Chris Brennan
On Wed, Jun 1, 2011 at 5:04 PM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote:

On Wed, 2011-06-01 at 20:46 +0300, Andrei Popescu wrote:
  On Mi, 01 iun 11, 15:53:24, Juan R. de Silva wrote:
   On Wed, 01 Jun 2011 01:57:14 +0200, Ralf Mardorf wrote:
  
I think that all mails came through the list, but there were tons of:
   
From: webmas...@debianhelp.org
The email you sent to ... was rejected because there was a validation
error.
  
   I've gotten it too.
 
  The webmaster at debianhelp.org is aware of the issue and working on it.
 
  Please mind this is NOT a problem with the list. Your posts to
  debian-user@l.d.o are getting through just fine.
 
   And BTW, Ralf, every single of your responses to thread related to
   Evolution, were delivered to my personal e-mail address as well. Looks
   like they do have a problem over there.
 
  I doubt this is related. It seems to me like Ralf is just using
  reply-to-all instead of reply-to-list.
 
  Regards,
  Andrei

 Solved :)

 Evolution  Preferences  Composer Preferences  Tab: General 
 [x] Group reply goes only to mailing list, if possible


While I suspect the answer to this is no, does gmail have a feature such as
this? All I see now is reply/forward/reply-all, but no group reply...

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: There was a problem with your email to debianHELP

2011-06-01 Thread Chris Brennan
On Wednesday, June 1, 2011, William Hopkins we.hopk...@gmail.com wrote:
 On 06/01/11 at 06:46pm, Chris Brennan wrote:
 While I suspect the answer to this is no, does gmail have a feature such as
 this? All I see now is reply/forward/reply-all, but no group reply...

 Not that I know of. But of course, you can use gmail with any number of 
 clients which do support it.

 --
 Liam


I used a client (thunderbird) for years with gmail (goolge for domains
actually) and I found it cumbersome at best and the client eventually
got slow. I've also grown rather accustomed to flails interface, I do
realize some people like it Ne some don't, I do. I also realize that
with the ten+ mailing lists I am on, there are some features that are
missing.

In retrospect, maybe I should just learn to use fetchmail, procmail
and mutt (or maybe some other mta and fetch my mail to one of my local
servers and read it via samba or nfs. That said, are there any jostle
to setup fetchmail, procmail and an mta/mua for local use?

-- 


-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=71s4xtxr+4tem+dl1feja3wu...@mail.gmail.com



Re: aptitude/apt-get hangs during update (plus) on IPv6

2011-05-31 Thread Chris Brennan
On Tue, May 31, 2011 at 1:20 PM, Andrei Popescu
andreimpope...@gmail.com wrote:

On Ma, 31 mai 11, 09:50:48, Jeffrey B. Green wrote:
 
  So, if anyone knows what going on here or whether this looks like
  an official bug, then let me know.

 This sounds like you might want to contact debian-admin ;)


The 404's you were getting, I got them as well on my Debian 6 VPS. No
firewall in place on he VPS (yet, as I am still setting it up) but every
time I run an update, I see the 404's against s.d.o ... the VPS is IPv4 only
but the hosting provider may be doing IPv6 w/o my knowledge.


-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: There was a problem with your email to debianHELP

2011-05-31 Thread Chris Brennan
On Tue, May 31, 2011 at 7:57 PM, Ralf Mardorf
ralf.mard...@alice-dsl.net wrote:

I think that all mails came through the list, but there were tons of:

 From: webmas...@debianhelp.org
 The email you sent to ... was rejected because there was a validation
 error.


I got this too, it was addressed directly to me yet I hadn't sent mail to
the list in hours or longer... My full header/email is included if someone
wants to pick it apart



Delivered-To: xa...@xaerolimit.net
Received: by 10.205.82.199 with SMTP id ad7cs160377bkc;
Tue, 31 May 2011 16:46:17 -0700 (PDT)
Received: by 10.52.179.6 with SMTP id dc6mr1249691vdc.222.1306885576419;
Tue, 31 May 2011 16:46:16 -0700 (PDT)
Return-Path: phpmailfunction...@debianhelp.org
Received: from mx.spartacussystems.net ([173.242.120.58])
by mx.google.com with ESMTPS id oz7si424031vcb.86.2011.05.31.16.46.14
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 31 May 2011 16:46:15 -0700 (PDT)
Received-SPF: neutral (google.com: 173.242.120.58 is neither permitted
nor denied by best guess record for domain of
phpmailfunction...@debianhelp.org) client-ip=173.242.120.58;
Authentication-Results: mx.google.com; spf=neutral (google.com:
173.242.120.58 is neither permitted nor denied by best guess record
for domain of phpmailfunction...@debianhelp.org)
smtp.mail=phpmailfunction...@debianhelp.org; dkim=pass
header.i=@debianhelp.org
Received: from mx.spartacussystems.net (localhost [127.0.0.1])
by mx.spartacussystems.net (Postfix) with ESMTP id 7951699C03C
for xa...@xaerolimit.net; Tue, 31 May 2011 19:46:13 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=debianhelp.org; h=to
:subject:mime-version:content-type:sender:from:message-id:date
:content-transfer-encoding; s=postfix; bh=352sv0H81NA+HGK4z6q2GP
DmoWA=; b=plQ81Pn2CEw8GVu0YCZUqgUM8p4YmrD+9GG7WkxQX5w4ZvcMUX1Kyb
dKUGrLTjUASRSrYxgcVDsBH8ivMEmYMLMDej0ay03pnF4XjM7PiCRO1T1ABfbgWm
bKuOuEIQp+gZXhQyZOVnJN7S8CcH3tZ4GxerA2KmGAbMwazRz+F0c=
DomainKey-Signature: a=rsa-sha1; c=simple; d=debianhelp.org; h=to
:subject:mime-version:content-type:sender:from:message-id:date
:content-transfer-encoding; q=dns; s=postfix; b=x7wERNl46W+CG9JO
mkPoEHbhORuK6dP6lc/xeN4ht5zoDAPc3TH16wqMaOaFeBNOJrwTUG1YuHam6xzh
AFUQNASx2FGAJTarLL5PAuEIJ+mp86Pbrz2tVBWMVVtMrFaFykaKrnBHD1WeoWe/
BSOkuul3ZEW4s4/b3aTzsiCkY1Q=
Received: by mx.spartacussystems.net (Postfix, from userid 1001)
id 7824699C03D; Tue, 31 May 2011 19:46:13 -0400 (EDT)
To: xa...@xaerolimit.net
Subject: There was a problem with your email to debianHELP (Re:
aptitude/apt-get hangs during update (plus) on IPv6)
X-PHP-Originating-Script: 1001:mail.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
X-Mailer: Drupal
Errors-To: webmas...@debianhelp.org
Sender: webmas...@debianhelp.org
From: webmas...@debianhelp.org
Message-Id: 20110531234613.7824699c...@mx.spartacussystems.net
Date: Tue, 31 May 2011 19:46:13 -0400 (EDT)
Content-Transfer-Encoding: quoted-printable

The email you sent to Debain User lt;debian-user@lists.debian.orggt; wa=
s =20
rejected because there was a validation error.

In order for emails to be accepted by debianHELP:
- They must be sent in reply to a valid notification email.
- The reply must be done from the same email address the notification was=
 =20
sent to.



-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: received sms possible or not with debian ??

2011-05-26 Thread Chris Brennan
On Thu, May 26, 2011 at 4:16 PM, thuillier-charmet
thuillierchar...@illogal.net wrote:

At the moment i have a free mail box where i can
 received fax or voice message with an intermdiate of free phone number.
 i wish to received a sms on this mail box (without bought a mobil) when
 someone like my bank sent to me a sms !
 how i can do that ?
 thanks.


Have you thought about Google Voice?



-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.  Q: Why is top 
 posting frowned upon?


Re: Why does my system stop frequently?

2011-05-23 Thread Chris Brennan
On Sun, May 22, 2011 at 10:47 PM, Dennis Wicks w...@mgssub.com wrote:

[snip]

My system (lenny 2.6.26-2-686, P2, 2+ GHz)


The Pentium II max clockspeed was 233-450MHz  are you sure it's not a
P4? (PIII clockspeeds are 400Mhz to 1.4GHz.) So if it's a 2GHz CPu then it's
got to be a P4. It helps to know what you really are running, hardware wise
for us to help you diagnose a hardware problem.

Hardware freezes can happen for a few reasons, the obvious hardware issue is
bad ram. If you can run memtest again, but cycle your SODIMMs out (if you
have more then 1), this will help eliminate problems.

While the system is running normally, run top and watch it, see if anything
spikes. In the past, I've looped a 'ps aux' and piped it to a file for
review during a repeated freeze. This is the best way to see if it's a
software issue. I would also install and run something like chkrootkit,
rkhunter and maybe even sleuthkit and poke around for a rootkit on your
laptop.

Also consider that if the laptop is as old as you say, you could have a
failing piece of hardware that is forcing the CPU to divert all cycles to it
for some reason (I've seen this happen in desktops, my experiences with
laptops is limited to the few that I've had and worked on in the past but
the general concepts would be the same. Does the laptop get hot? Not just
warm (as that's normal) but outright hot to the touch.

Also, while it's frozen you say you can't select anything (with the mouse?)
and you can't type. Are you able to *MOVE* the mouse?

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: Serial Console Access

2011-05-23 Thread Chris Brennan
On Mon, May 23, 2011 at 12:04 AM, David Parker dpar...@utica.edu wrote:

Was your onboard serial port disabled in the BIOS at the time you installed
 Debian?  If it was, then the first port on your serial card should be mapped
 to /dev/ttyS0.  If not, then udev may have picked up the onboard port as
 /dev/ttyS0 and made your card /dev/ttyS1 (or another number).


No, originally the on-board serial device was enabled in the BIOS when I
plopped the card in, I've since disabled it in the BIOS and sometimes now
when I reboot this box, and run setserial, I will see either one or two
serial devices listed. The on-board device always showed up with a low IRQ
and the Serial card is IRQ16, so I was able to tell which device I was
using. During my troubleshooting, before sending my initial email), I had
set everything up to use ttyS0 and ttyS1 anyway, just to cover all my bases,
but I still got no login when I tried to connect via serial.



 I have two Debian 4 boxes with the serial console working.  It has been
 quite a while since I set this up, but I'm pretty sure that I just added
 this line to /etc/inittab and then restarted init:

 co:2345:respawn:/sbin/getty -L ttyS0 9600 vt102



I think the co may have something to do with it.  Sorry I can't be more
 help, I'm really rusty on this.  I did this 5 years ago and I've never had
 to do it again.


What does co do vs TO? Admittidly, I don't know much about how this works,
so like a smart monkey, I did what I saw wrote about the most. Also, how are
you restarting init w/o rebooting?

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


Re: Serial Console Access

2011-05-23 Thread Chris Brennan
On Mon, May 23, 2011 at 12:07 PM, Camaleón noela...@gmail.com wrote:

115200 is a bit high speed rate, for testing I would lower that value and
 once it works, you can play with this.


Yeah, it is high, that was just my last change, I started at the typical
9600, went to 19200, 38400 and then 115200. All produces the same black
window from putty.


 I suppose you already rebooted the computer you wanted to connect to,
 right?


Many times ...



 OTOH, /etc/inittab can be restarted/reloaded by issuing telinit q, or
 at least that was what I used on another distributions, in Debian I'm not
 sure if remains the same (reviewing the manual...) hum, yep, it's the
 same :-)


This saves me from having to repeatedly reboot the box  thanks :D

For shiggles, I changed 115200 back to 9600 and used telinit q :D, same
thing, black screen, no login prompt

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: Serial Console Access

2011-05-23 Thread Chris Brennan
On Mon, May 23, 2011 at 1:14 PM, Camaleón noela...@gmail.com wrote:

On Mon, 23 May 2011 12:17:29 -0400, Chris Brennan wrote:

  On Mon, May 23, 2011 at 12:07 PM, Camaleón noela...@gmail.com wrote:

 (...)

  OTOH, /etc/inittab can be restarted/reloaded by issuing telinit q, or
  at least that was what I used on another distributions, in Debian I'm
  not sure if remains the same (reviewing the manual...) hum, yep, it's
  the same :-)
 
 
  This saves me from having to repeatedly reboot the box  thanks :D
 
  For shiggles, I changed 115200 back to 9600 and used telinit q :D, same
  thing, black screen, no login prompt

 What happens if you press any key although there is no prompt?


Sonofa! I never thought to press enter ... when I did, it prompted for a
password, so I just hit enter again and was immediately prompted for a user
to login with.



 Can you test the serial connection from a client other than windows
 +putty? Just to start discarding culprits...


No need now :D see above. Thanks for the obvious tip lol.

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: Serial Console Access

2011-05-23 Thread Chris Brennan
On Mon, May 23, 2011 at 1:21 PM, Chris Brennan xa...@xaerolimit.net wrote:

On Mon, May 23, 2011 at 1:14 PM, Camaleón noela...@gmail.com wrote:

 On Mon, 23 May 2011 12:17:29 -0400, Chris Brennan wrote:

  On Mon, May 23, 2011 at 12:07 PM, Camaleón noela...@gmail.com wrote:

 (...)

  OTOH, /etc/inittab can be restarted/reloaded by issuing telinit q, or
  at least that was what I used on another distributions, in Debian I'm
  not sure if remains the same (reviewing the manual...) hum, yep, it's
  the same :-)
 
 
  This saves me from having to repeatedly reboot the box  thanks :D
 
  For shiggles, I changed 115200 back to 9600 and used telinit q :D, same
  thing, black screen, no login prompt

 What happens if you press any key although there is no prompt?


 Sonofa! I never thought to press enter ... when I did, it prompted for a
 password, so I just hit enter again and was immediately prompted for a user
 to login with.



 Can you test the serial connection from a client other than windows
 +putty? Just to start discarding culprits...


 No need now :D see above. Thanks for the obvious tip lol.


How ironic ... the power blinked and that machine rebooted, when it came
back up, I saw it boot via the serial console, but it would freeze during
the boot process w/

Loading the saved-state of the serial devices...

I then manually rebooted the box a few times and it always said the same
thing, a few times though, it would print a few characters of garbage and
then hang, no physical console access or serial access. The only way I got
the machine to come back up was to unplug the serial cable from that box and
it came back up normal ... now this isn't normal or wanted behavior and it
needs to be adjusted.

BTW, I bumped it back up to 115200 (as that is the max speed of that card
and the card in my windows machine, when I do connect via serial, it does
work and quite well. I also updated my inittab from TO to use co, not sure
if that made a difference but based on what I read, as long as it was
unique, it didn't matter, co seemed more logical anyway. Now question, does
Debian treat co special? Would there be issues or should I choose another
two-letter abriviation such as se/SE/sc/SC for serial console? Only reason I
point it out is because of my trouble getting console w/ keyboard and not
serial

-- 
 A: Yes.  Q: Are you sure?  A: Because it reverses the logical flow of
conversation.  Q: Why is top posting frowned upon?


Re: Why does my system stop frequently?

2011-05-23 Thread Chris Brennan
On Mon, May 23, 2011 at 5:08 PM, Dennis Wicks w...@mgssub.com wrote:

I'm sorry! That was a very significant typo! I have a P4, not a P2. Also,
 not raid disk.


No worries, I'm just surprised no one else picked up on it sooner lol.



 Also,

 Mem:   1555440k Swap:  6168868k


so that's ~1.5GB in ram and 5GB for swap



  Disk /dev/hda: 160 GB, 160039272960 bytes
 255 heads, 63 sectors/track, 19457 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System /dev/hda1
 *   1   19200   154223968   83  Linux
 /dev/hda2   19201   19286  682762   82  Linux swap
 /dev/hda3   19287   19372  682762   82  Linux swap
 /dev/hda4   19373   19457  674730   82  Linux swap

 Disk /dev/hdb: 40 GB, 40978344960 bytes
 255 heads, 63 sectors/track, 4982 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System /dev/hdb1
 1472637961563   83  Linux
 /dev/hdb247274810  97   82  Linux swap
 /dev/hdb348114894  97   82  Linux swap
 /dev/hdb448954982  698827   82  Linux swap

 Disk /dev/hdc: 250 GB, 250056737280 bytes
 255 heads, 63 sectors/track, 30401 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System /dev/hdc1
 1   30146   242147713   83  Linux
 /dev/hdc2   30147   30230  97   82  Linux swap
 /dev/hdc3   30231   30314  97   82  Linux swap
 /dev/hdc4   30315   30401  690795   82  Linux swap


Raiding 3 swaps across 3 disks? Interesting ... never thought of that ...

Just to note ... a little more information then above is needed to see if
it's a out of memory/swap issue

Mem:510480k total,   432012k used,78468k free,   143148k buffers
Swap:  1249916k total,33508k used,  1216408k free,   173584k cached

usually the first 3 columns (total/used/free) will do, free is the most
important, if Mem has 0 free, then everything is getting swapped that is not
in ram already. if Swap is really low, then you are having paging issues,
the lag could be related to the raided swap and/or a fault disk in the array





 Yes, I can move the mouse. There is hesitation when I try to switch to
 either a terminal session or ctl-alt-fx console to run top.

 Another symptom is that I can type while the system is frozen but nothing
 appears on the screen until the system frees up then it all displays at
 once.


I've seen that before, several years ago, sadly the solution there was my
ex-wife taking an ax to the machine :( So I was never able to properly
diagnose why, but it does tell us that the machine is buffering input and
not all cycles are being devoted elsewhere, just a significant portion of
them.



 I will run the other tests and post the results.


If you swap out the SODIMM's and run Memtest86+, allow at least 12h per
SODIMM, 24h to be on the safe side. If you have none to swap out, then just
let the machine run 12-24h uninterrupted.



 Thanks for the help!
 Dennis


no worrries ...




P.S. - What are some Mfg  model of enterprise disk drives?


http://www.seagate.com/www/en-us/products/enterprise/
http://www.wdc.com/en/products/internal/enterprise/
http://www-03.ibm.com/systems/x/options/storage/hddstorage/sas/browse.html

Just a few examples ... the 3rd link is for SAS (Serial Attached SCSI)
Storage. Enterprise Storage Drives (typically spoken about as Black Drives)
are typically designed to fail more loudly, last longer until fail and are
accustomed to be run solo or in raid arrays ... where as the consumer-grade
drives are typically Green Drives, they spin down more often to conserve
power, they fail less loudly or even silently! They are also considerably
cheaper ... so you get what you buy!


HTH/Chris


Serial Console Access

2011-05-22 Thread Chris Brennan
I've embarked on the trial and error process of setting up a serial console
on my Debian 6 machine. So far, the configuration has been pretty straight
forward. As a reference point I used the following two websites

http://www.cyberciti.biz/faq/howto-setup-serial-console-on-debian-linux/
http://www.cyberciti.biz/faq/howto-setup-serial-console-on-debian-linux/
http://www.cyberciti.biz/tips/replace-windows-vista-hyperterminal-with-putty.html

http://www.cyberciti.biz/tips/replace-windows-vista-hyperterminal-with-putty.htmlIn
a nut-shell, this is what is how my Debian box is configured (for serial
console)

root@leviathan:~# setserial -g /dev/ttyS[0123]
/dev/ttyS0, UART: 16550A, Port: 0xdc00, IRQ: 16
/dev/ttyS1, UART: 16550A, Port: 0xdc00, IRQ: 16
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
root@leviathan:~# grep -e tty -e serial /etc/default/grub
GRUB_CMDLINE_LINUX='console=tty0 console=ttyS0,115200n8'
GRUB_TERMINAL=serial
GRUB_SERIAL_COMMAND=serial --speed=115200 --unit=0 --word=8 --parity=no
--stop=1
#GRUB_CMDLINE_LINUX='console=ttyS1 console=ttyS1,38400n8'
#GRUB_TERMINAL=serial
#GRUB_SERIAL_COMMAND=serial --speed=38400 --unit=0 --word=8 --parity=no
--stop=1
root@leviathan:~# grep ttyS /etc/inittab
#T0:23:respawn:/sbin/getty -L ttyS0 19200 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 19200 vt100
T0:2345:respawn:/sbin/getty -L ttyS0 115200 vt100
#T0:2345:respawn:/sbin/getty -L ttyS1 38400 vt100
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
root@leviathan:~# grep ttyS /etc/securetty
ttyS0
#ttyS1
root@leviathan:~#

Now, the one part that could be causing a problem on the server but I can't
tell is setserial's output, which is noteworthy. The motherboards COM header
is expressly disabled in the bios (as I don't have the header to physically
put in this box), but I do have a Serial Card and many working null modem
cables.

The serial card is: 01:09.0 Serial controller: NetMos Technology PCI 9835
Multi-I/O Controller (rev 01)

In windows, I've got a 2-port serial card, it is properly recognized as COM3
and COM4. When I try to open a connection to the Debian box via COM3/COM4,
all I get is a black screen and I can't tell if I am actually connected to
the serial console or not  I am curious if I missed something here ... I
tend to experiment a lot and serial access would just make things so much
easier when I am forced to reboot this box and it doesn't come back up ... a
lot easier then lugging a 60lb CRT onto my desk to plug into that computer



-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


Re: Smartphone definition - Re: Poll Summary Poll 1b - What Smartphonedo you use?

2011-05-17 Thread Chris Brennan
On Tue, May 17, 2011 at 1:57 AM,  teddi...@tmo.blackberry.net wrote:

I would interject that Blackberrys are widely considered Smartphones, in
 fact really being the first of the bread, but only one Blackberry Model
 contained a touch screen interface...

 Really doubt they could support debian, but really I don't see debian
 running on any of them in the near future...


The Blackberry Storm was a nightmare. A friend of mine had one and I spent
more time on the phone w/ Verizon Tech Support and resetting the damned
device then he got to using it. It felt like Blackberry rushed it to compete
w/ other Touchscreen handheld devices.

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: I deleted /usr/src/linux

2011-05-17 Thread Chris Brennan
On Tue, May 17, 2011 at 8:10 PM, Perry Thompson ryperven...@yahoo.frwrote:

 In my struggle to make Nvidia work with a new kernel, I deleted
 /usr/src/linux. Is this bad? I had never used /usr/src in Ubuntu before,
 but I am seeing that it has more of a use in Debian.

 If I was not meant to delete it, is there a way to get it back?


No, you were not meant to delete that, and it's not the end of the system.
It's not like of my High School buddies doing deltree /y C:\... did you
delete /usr/src or just clobber everthing in /usr/src? Just fetch a new
vanilla (stock) kernel from kernel.org or apt-get/aptitude install the most
current one (be sure to check that it's the srcs and not a prebilt binary
kernel)


-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


Re: Waking from the Dead

2011-05-14 Thread Chris Brennan
On Sat, May 14, 2011 at 8:02 PM, Tom Allison t...@tacocat.net wrote:

This just got harder.
 I'm trying to just do a reinstall but I only have a macbook to work from.
 And the installation media can only be a USB drive.

 I am having all kinds of trouble getting an ISO image onto the USB that
 will work.

 I can 'cat debian.iso  /dev/disk1s1' well enough.
 And the machine will recognize the disk at start up, but it never sees it
 as a bootable device and just hangs.

 Many of the other instructions are assuming you have a working linux box,
 which I don't.  The files/packages I need to download to build a bootable
 image I don't have and I can not get either -- apt-get is locked up on
 dependencies that I'm unable to resolve.

 First: when I download a ISO for the Debian netinst image it's reported as
 'unable to open' on mac.
 no mountable file systems is the exact error.


Don't top post. Don't use cat either, try dd if=/image.iso of=/disk1s1. You
will need to first turn the boot magic-bit on, w/ a/ sysctl cmd (I know it
works in *bsd, not sure about OS X.

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: Waking from the Dead

2011-05-14 Thread Chris Brennan
On Sat, May 14, 2011 at 9:44 PM, Andrew Reid rei...@bellatlantic.net wrote:

 Hi --

  The instructions I used don't seem to have that requirement -- you just
 need dd, which Macs can do, I think.

  According to my (slightly dated, and possibly fragmentary) notes,
 I got boot.img.gz from:

 ftp://ftp.debian.org/debian/dists/stable/main/installer-
 i386/current/images/hd-media/boot.img.gz

 (NB 32-bit, and probably was Lenny when I did this, but others are
 supposed to work...)

  Then, plug in your USB device, do zcat /path/to/boot.img.gz  /dev/sdx
 (substitute OS-specific nomenclature for /dev/sdx), mount /dev/sdx (it
 will
 have a bootable FAT32 file-system), and copy the ISO of your choice to the
 root of the device.

  Then unmount, and boot your installation target system from it.

  I have a dim recollection that the name of the ISO file mattered,
 and had to match a config entry on the USB device somewhere, but my
 notes, alas, don't cover that case.

  Also, the ISO can't be too big -- you'll want the net-install ISO
 for this.



dd if=/path/image.iso of=/path/device is all you need. What you should pat
attention to is this

1) the image is bootable, all debian iso images are.
2) the size of the iso, make sure it will fit on your device

Andrew's directions would work but it seems an ass-backwards way
to achieve the same result in 1 cmd vs 2. But hey, if it works, it works.
cating an iso onto a device is pretty much a surefire way to fail at some
point. Your better off doing it in a prescribed, known to work method.



-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


Re: How to use serial ports?

2011-05-13 Thread Chris Brennan
On Fri, May 13, 2011 at 12:48 PM, Tapio Lehtonen
tapio.lehto...@dnainternet.net wrote:

Did not check BIOS for port settings, I supposed ports are enabled since
 dmesg and setserial show the port.

 root@phb:~# dmesg | grep -i tty
 [0.00] console [tty0] enabled
 [1.072850] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
 [1.073628] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
 root@phb:~# setserial -g /dev/ttyS*
 /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
 /dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
 /dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
 /dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
 root@phb:~#

 The computer has two serial ports, so I am a bit worried that only one
 shows in the above. Maybe the other is disabled in BIOS. I'll check next
 time I boot.

 No breakout box or any such fancy stuff. The null modem cables I used did
 work last time I used them, if find it unlikely all of them would have
 broken when unused in the cupboard.

 I tried both with and without RTS/CTS.

 I added the user to group dialout, so the user can read and write to the
 /dev/ttyS0 device.


 Tapio Lehtonen



Sorry if this is slightly OT, I've often wondered about using serial-console
to access my 3 local headless servers here, Camaleón link was very useful
for the software side of it, what about the hardware side, not the com
devices, but what type of cabling is required? Just a F-F rs232/db9 cable?


-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: Fwd: Re: [OT] Re: Defending yourself

2011-05-12 Thread Chris Brennan
On Thu, May 12, 2011 at 8:16 AM,  teddi...@tmo.blackberry.net wrote:

+20

 Oh and as far as that thing I said about having Cred, Camaleón assist more
 people on this list than just about anyone, so he's got Cred.

 Pick your battles a bit wiser.

 TeddyB



I have tried (rather well) to steer clear of this thread, although I have
read it with mild enthusiasm.  Camaleón and Boyd Stephen Smith Jr. both
appear on this list a lot, I would go as far as to say (just for the sake of
argument) that they equally help people, in their own ways, based on their
own opinions and experiences. I can't help but notice that both Camaleón and
Boyd Stephen Smith Jr. also remind me of Jack Lemon and Walter Matthau in
the Odd Couple, strong willed and opinionated individuals who fight,
bitterly about anything they can, I get that impression here that you are
this lists version of the Odd Couple ... so shake hands, agree to disagree
and let this thread die, it's starting to get old now.

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


Re: Defending yourself

2011-05-12 Thread Chris Brennan
On Thu, May 12, 2011 at 8:22 PM, PMA peterarmstr...@aya.yale.edu wrote:

Actually Re: Posting Style (nevermind a new thread):

 It seems to me that bottom-posting is for people who want to read
 in one direction, while top-posting is for people who want to see the
 current message immediately.

 I am wedded to the latter by profession, game in any case for either,
 and willing to abide by a given list's rule, if it exists, for using which.

 PA


This list and many others policy is to bottom-post. Regardless, can we
please let this thread die in peace?

-- 

 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: Fwd: Re: [OT] Re: Defending yourself

2011-05-11 Thread Chris Brennan
On Wed, May 11, 2011 at 4:53 AM, shawn wilson ag4ve...@gmail.com wrote:

Ahhh, I read threads like this on reddit (and other online forums) when I'm
 bored or just want to cringe at something. I never thought the likes of that
 would reach this list.

This thread has been nothing but hysterical ... akin to morning coffee as I
read all my list mail when I first get up.

 I'm starting to wonder how long this (OT) thread will go. I'm wishing we
 had that filesystem thread still going right about now - I learned something
 from that. (Not totally sold on xfs but I learned tons)

+1, I was already in the XFS camp and I learned a few new things (mostly
misconceptions)

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


Re: I am not receiving my discussion mail.

2011-05-10 Thread Chris Brennan
On Tue, May 10, 2011 at 11:43 AM, Camaleón noela...@gmail.com wrote:

On Tue, 10 May 2011 20:53:14 +0530, Narendra Sisodiya wrote:

  Please reply me, let me test, whether I am getting reply of email or
  not..

 Are you using Gmail's smtp service?

 If yes, it's normal you don't get your own postings (this is a well-known
 bugture: a bug that is called a feature :-P)


Or a feature that is a bug ... take your pick, it works both ways :D

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: Loss of connectivity on recent testing updates

2011-05-06 Thread Chris Brennan
On Fri, May 6, 2011 at 12:23 PM, AG computing.acco...@googlemail.com wrote:

Hey list

 Sometime over the last 9 days I have updated my testing desktop system and
 when I went to reboot the theme settings on Gnome had changed and I am
 unable to access the Internet.

 My partner's machine - from which this is sent - can access the Net fine.
 I could until I rebooted.  I've created a second account and that user
 cannot access the Net either.

 Help!!  I really have no clue what brought this about nor how to fix it.
 I've stopped the Firestarter firewall, and restarted it; ditto with Tor and
 Polipo.  No change.


Did you make sure the interface was up? As root, ifconfig or sudo ifconfig
or su -c ifconfig 

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Some way to restrict what apt-get/aptitude installs

2011-05-05 Thread Chris Brennan
I've a headless server running Debian 6 and I am curious if there is a way
to restrict what gets pulled in

Example #1 Gentoo: USE=-X will effectively stop all X/X-related libs from
being installed and the package manager there will fail, telling you why.
Example #2 FreeBSD: X=NO (YES/NO/TRUE/FALSE valid respectively)
WITHOUT_X=YES (YES/NO/TRUE/FALSE valid respectively) for a similar result
as Gentoo, FreeBSD will install some X libs silently when absolutely
necessary and while undesirable, this is acceptable.

Does something like this exist in Debian? I want to be able to install
things or have someone else install things they are told to like the good
monkey they are but I don't want the system to become bogged down with
needless X/X-related dependencies or for them to blindly install gnome for
example ...

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


Re: [OT] What SmartPhone for a FreeTard??? [Was: Poll - What Smartphone do you use?]

2011-05-03 Thread Chris Brennan
On Tue, May 3, 2011 at 3:53 PM, Roger Morgan halbtaxabo-...@yahoo.com wrote:

Well, there's the Openmoko Freerunner:
 http://www.openmoko.com/freerunner.html
 It's clunky and buggy, but it's free as in freedom,
 and it's usable as a cellphone, just.


It also only appears to be sold from half a dozen vendors in Europe I
would wager a guess, it only works in Europe too...


-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: file systems

2011-05-02 Thread Chris Brennan
On Mon, May 2, 2011 at 6:54 PM, Boyd Stephen Smith Jr.
b...@iguanasuicide.net wrote:

 I'd love to see data for 2.6.32 (Squeeze) and 2.6.38 (Wheezy/Sid).



I have Squeeze running XFS ontop of LVM2, if I can do something to
contribute to this, let me know

-- 
 A: Yes.  Q: Are you sure?  A: Because it reverses the logical flow of
conversation.  Q: Why is top posting frowned upon?


Re: In Debian GNU(Linux), you own phone. - Re: Poll - What Smartphone do you use?

2011-05-02 Thread Chris Brennan
On Tue, May 3, 2011 at 1:29 AM, giovanni_re john...@fastmail.us wrote:

I'm guessing you're probably not running Debian GNU(Linux) on your
 phone.  ;)

 If you were, it would be _you_ who is in control of your phone.  ;)

 That's why I'm working to get Smartphone Debian (SD) going.  :)


I'm guessing you like to pick fights? Your choice of words is questionable
and potentially inflammatory. You might want to choose your words more
carefully in the future. Your threads spark debate but when they
are borderline belligerent, it doesn't serve the community at large, makes
people want to be non-participant.

I'm with Mr. Wilson on this, what my phone runs is no ones business but who
I tell. Blatting my carrier, brand, make and model for anyone who wants to
get their google-fu on, can do so, and if they dig a little harder, they
could potentially use that information and put it to bad use. If someone
doesn't want to tell (and they wish to make it known that they don't want to
tell), then that is their business, at the very least respect it.

/rantoff


-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: file systems

2011-04-29 Thread Chris Brennan
On Fri, Apr 29, 2011 at 3:08 PM, prad p...@towardsfreedom.com wrote:

Chris Brennan xa...@xaerolimit.net writes:

 [snip]

  No worries, couldn't hurt to read up on CDDL[1], *BSD[2] Licences and
  GNU/GPL [3]. As for your general Filesystem needs, XFS or XFS-LVM is
  probably the smart way to go.
 
  You mentioned something about doing this on USB (solid-state?)
  storage? You might want to also consider reading up on USB's general
  policy about write few, read many. In a nutshell, most USB devices
  don't like to be written to many many times (such as a busy *primary*
  FS). They have a limited shelf-life of writes )wear leveling) before
  they go bad (I have an OCZ ATV rubber thumb drive that has suffered
  this.) This is why they tell you defragmenting SSD's is a *VERY* bad
  idea, you significantly reduce the write ability of the device.[4]
  [5][6]
 
  [1]
 http://en.wikipedia.org/wiki/Common_Development_and_Distribution_License
  [2] http://en.wikipedia.org/wiki/BSD_licenses
  [3] http://en.wikipedia.org/wiki/GNU_General_Public_License
  [4]
 http://en.wikipedia.org/wiki/USB_flash_drive#Advantages_and_disadvantages
  [5] http://www.bress.net/blog/archives/
  114-How-Long-Does-a-Flash-Drive-Last.html
  [6] http://www.corsairmemory.com/_faq/FAQ_flash_drive_wear_leveling.pdf
 
 many thx chris for the links. i was surprised to read this: one of the
 reasons for basing the CDDL on the Mozilla license was that the Mozilla
 license is GPL-incompatible.
 http://en.wikipedia.org/wiki/Common_Development_and_Distribution_License

 looking further i saw: The Free Software Foundation (FSF) considers the
 license a free software license, albeit one with a weak
 copyleft. However, unlike the X11 license (MIT License) the license
 has some complex restrictions making it incompatible with the GNU
 GPL. They urge people not to use the license because of this
 incompatibility unless the provision in section 13 of the MPL is
 exercised to provide the work under either the GPL or any other
 GPL-compatible license.[2]

 For these reasons, the Mozilla Suite and Firefox have been relicensed
 under multiple licenses, including the MPL, GPL and LGPL.
 http://en.wikipedia.org/wiki/Mozilla_Public_License#Compatibility_with_GPL

 so that might be why firefox is called iceweasel on debian and nakamoura
 on arch.


 also, thx for the tips regarding my usb idea. i agree it isn't a good
 one for several reasons. we'll stick to regular hard drives for now when
 we switch from freebsd to debian in june.

 --
 in friendship,
 prad


No worries, glad to be of help. Open Source Licencing is tricky ... but the
provided links should also have given you enough of an idea as to why
ZFS+Linux is a slim chance in hell to happen right now ... it would be great
to see ZFS in the Linux kernel, natively,  but you also need to consider
that the BSD world is still contributing heavily to the development of ZFS,
so it's also in heavy flux and that combined w/ the licencing of ZFS and the
kernel make it a nightmare to try and pull of successfully right now.

You would also need to take into account survivability of the project. ZFS
has a huge following but if Oracle were to get a bug up their collective
bums and stop public releases of ZFS past v28 then that's all the Open
Source community would be left with, is v28 as the most recent release. The
*BSD's would no doubt jump on it and fork it in a heartbeat ... but ZFSv28
while stable under most conditions and is feature-rich and very robust, it
is not feature-complete yet. ZFS is a great solution, it just isn't really
read for prime-time production use yet.

XFS, EXT3 and EXT4 are all great Filesystems to choose from in the meantime.
XFS being your actual choice, you will find it to be a very feature-rich,
feature-complete and robust FS that is able to grow and scale as you need
it. Just remember that it, like any other FS isn't the end-all be-all of
Filesystems, always make make room for appropriate backups, hardware
failover (multiple redundant RAID Arrays), dump the FS to another RAID
Array, and media-backups ... Bluray being ~50Gb/disc makes for an idea
solution for appropriately sized FS's.

Keep reading and if you get stuck ... the list is here to help ... even
the evangelists and naysayers can point you in the right direction ...

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.  Q: Why is top 
 posting frowned upon?


Re: Can't mount ntfs, says: unknown filesystem type 'LVM2_member'

2011-04-28 Thread Chris Brennan
On Thu, Apr 28, 2011 at 7:39 AM, Jose Legido j...@legido.com wrote:

 On 04/28/2011 02:01 AM, Chris Brennan wrote:

 Reposting to the list, OP, obey REPLY-TO headers or use 'Reply All'.

 Excuse me I forget it


It's all good :D
[snip]

 post the output of the following commands


  mount


 I think when I Install debian, marks sda1 as lvm and maybe the problem is
 not with ntfs. I start with live cd of hirens and doesn't watch ntfs
 partition


 # mount
 /dev/mapper/debian64-arrel on / type ext4 (rw,errors=remount-ro)
 tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
 proc on /proc type proc (rw,noexec,nosuid,nodev)
 sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
 udev on /dev type tmpfs (rw,mode=0755)
 tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
 devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
 /dev/mapper/debian64-home on /home type ext4 (rw)
 fusectl on /sys/fs/fuse/connections type fusectl (rw)


  df -h

 $ df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/mapper/debian64-arrel
22G  3.0G   18G  15% /
 tmpfs 2.0G 0  2.0G   0% /lib/init/rw
 udev  2.0G  280K  2.0G   1% /dev
 tmpfs 2.0G 0  2.0G   0% /dev/shm
 /dev/mapper/debian64-home
56G  381M   52G   1% /home

  cat /proc/partitions

 $ cat /proc/partitions

 #blocks  name

80  244198584 sda
81  118752448 sda1
826683040 sda2
83   81639424 sda3
84  1 sda4
857821312 sda5
  2540   2304 dm-0
  2541   58597376 dm-1


  lsmod | grep ntfs

 nothing

 uname -a

  Linux akainsa 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64
 GNU/Linux


  file /dev/sdxX (where 'x' is sda and sdb and 'X' is for each partition.

  # file -s /dev/sda
 /dev/sda: x86 boot sector; partition 1: ID=0x8e, active, starthead 1,
 startsector 63, 237504897 sectors; partition 2: ID=0x12, starthead 0,
 startsector 475025985, 13366080 sectors; partition 3: ID=0x8e, starthead
 254, startsector 237506560, 163278848 sectors; partition 4: ID=0x5,
 starthead 254, startsector 459382782, 15642626 sectors, code offset 0x63
 # file -s /dev/sda1
 /dev/sda1: LVM2 (Linux Logical Volume Manager) , UUID:
 zh2yJYVJUoCB7CvoMXeOkn0YugN0Ajx
 # file -s /dev/sda2
 /dev/sda2: x86 boot sector, code offset 0x58, OEM-ID MSDOS5.0,
 sectors/cluster 8, Media descriptor 0xf8, heads 255, hidden sectors
 475025985, sectors 13366080 (volumes  32 MB) , FAT (32 bit), sectors/FAT
 13028, reserved3 0x80, serial number 0x282e8f11, label: SERVICEV001
 # file -s /dev/sda3
 /dev/sda3: LVM2 (Linux Logical Volume Manager) , UUID:
 tMpuckfThYqBmDYqUz2qbktYH22DOBG
 # file -s /dev/sda4
 /dev/sda4: x86 boot sector; partition 1: ID=0x82, starthead 254,
 startsector 2, 15642624 sectors, code offset 0x77
 # file -s /dev/sda5
 /dev/sda5: Linux/i386 swap file (new style), version 1 (4K pages), size
 1955327 pages, no label, UUID=22fa700b-eff8-4aa3-b7ed-a93f6b042bf9



Based on what I see, I am going to take a stab in the dark here. It looks
like you originally had an Ubuntu/Windows dual-boot setup, is this correct?
Then you tried for a tripple-boot setup of Ubuntu/WIndows/Debian, correct?
I'm going to assume yes here for the sake of explination. If that is the
case, then very likely, your Debain install used your windows partitions.
the 'file-s' command we suggested to you (thanks to Arno for catching my
typo) tastes every partition and prints the FS type as output, I do see an
MSDOS partition, you can try mounting that somewhere to look at it, but
there are no NTFS partitions listed, unless you installed Windows elsewhere
on a different drive, it doesn't exist here ... Are you still able to boot
into Ubuntu?

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: Can't mount ntfs, says: unknown filesystem type 'LVM2_member'

2011-04-28 Thread Chris Brennan
On Thu, Apr 28, 2011 at 11:52 AM, Jose Legido j...@legido.com wrote:

 Based on what I see, I am going to take a stab in the dark here. It looks
 like you originally had an Ubuntu/Windows dual-boot setup, is this correct?
 Then you tried for a tripple-boot setup of Ubuntu/WIndows/Debian, correct?

 Yes, all correct

  I'm going to assume yes here for the sake of explination. If that is the
 case, then very likely, your Debain install used your windows partitions.
 the 'file-s' command we suggested to you (thanks to Arno for catching my
 typo) tastes every partition and prints the FS type as output, I do see an
 MSDOS partition, you can try mounting that somewhere to look at it, but
 there are no NTFS partitions listed, unless you installed Windows elsewhere
 on a different drive, it doesn't exist here ... Are you still able to boot
 into Ubuntu?

 The windows partition is sda1. The FAT32 partition is a small partition in
 laptop to recovery system with original cds.
 I can't boot into ubuntu :(
 I think debian installation (may be my fingers.) marks sda1 as LVM
 Any program to recovery data?

 Thanks!


There are forensic recovery tools available, I cannot speak to them as I
have never used them. Maybe someone else on this list could point you in
that direction. In the future you might want to boot a Linux LiveCD first
and see how a new kernel see's your drives, just to make sure you select the
correct devices. If your installing from a Live Environment then then bonus,
because you can taste the partitions and install all from the same
environment.

-- 

 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: Can't mount ntfs, says: unknown filesystem type 'LVM2_member'

2011-04-27 Thread Chris Brennan
On Wed, Apr 27, 2011 at 12:36 PM, Jose Legido j...@legido.com wrote:

Hello
 I had windows with ntfs
 I installed ubuntu. All ok. Gurb with 2 os, can ran windows and uvuntu and
 can mount windows partition in ubuntu
 I installed debian with lvm over ubuntu partition.
 I can't mount windows partition now, and windows doesn't appears in gurb

 # mount /dev/sda1 /mnt/windows/
 mount: unknown filesystem type 'LVM2_member'

 # pvs --all
  PV VGFmt  Attr PSize   PFree
  /dev/dm-1 --0   0
  /dev/dm-2 --0   0
  /dev/root --0   0
  /dev/sda1lvm2 a-   113,25g 113,25g
  /dev/sda2 --0   0
  /dev/sda5  vol64 lvm2 a-   113,25g  0

 I can't active vg because haven't name, but is not lvm, is only ntfs
 partition
 Maybe ubuntu puts in lvm and grub? Any idea? I have a lot of usefull
 information in
 Thanks!

What does 'vgscan' produce? Was windows installed on it's own LVM? did you
load the ntfs module (from the kernel) or did you try to use ntfs3g? 'Ware
the user though, NTFS write support with either module is flaky at best,
some have reported success, some have not, YMMV.

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


Re: Can't mount ntfs, says: unknown filesystem type 'LVM2_member'

2011-04-27 Thread Chris Brennan
Reposting to the list, OP, obey REPLY-TO headers or use 'Reply All'.

On Wed, Apr 27, 2011 at 6:37 PM, Jose Legido j...@legido.com wrote:

On Wed, Apr 27, 2011 at 6:45 PM, Chris Brennan xa...@xaerolimit.net wrote:
  On Wed, Apr 27, 2011 at 12:36 PM, Jose Legido j...@legido.com wrote:
 
  Hello
  I had windows with ntfs
  I installed ubuntu. All ok. Gurb with 2 os, can ran windows and uvuntu
 and
  can mount windows partition in ubuntu
  I installed debian with lvm over ubuntu partition.
  I can't mount windows partition now, and windows doesn't appears in gurb
 
  # mount /dev/sda1 /mnt/windows/
  mount: unknown filesystem type 'LVM2_member'
 
  # pvs --all
   PV VGFmt  Attr PSize   PFree
   /dev/dm-1 --0   0
   /dev/dm-2 --0   0
   /dev/root --0   0
   /dev/sda1lvm2 a-   113,25g 113,25g
   /dev/sda2 --0   0
   /dev/sda5  vol64 lvm2 a-   113,25g  0
 
  I can't active vg because haven't name, but is not lvm, is only ntfs
  partition
  Maybe ubuntu puts in lvm and grub? Any idea? I have a lot of usefull
  information in
  Thanks!
 
  What does 'vgscan' produce?
 only shows the debian LVM
 # vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group vol64 using metadata type lvm2


  Was windows installed on it's own LVM?

 No. I don't know who created this LVM!

  did you load the ntfs module (from the kernel) or did you try to use
 ntfs3g? 'Ware
  the user though, NTFS write support with either module is flaky at best,
  some have reported success, some have not, YMMV.
 

 I use ntfs3g:
 # mount -t ntfs /dev/sda1 /mnt/windows/
 NTFS signature is missing.
 Failed to mount '/dev/sda1': invalid argument
 The device '/dev/sda1' doesn't seem to have a valid NTFS.
 Maybe the wrong device is used? Or the whole disk instead of a
 partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?


 On Wed, Apr 27, 2011 at 6:45 PM, shawn wilson ag4ve...@gmail.com wrote:
  do an 'fdisk -l /dev/sda' and confirm everything,

 # fdisk -l /dev/sda

 Disk /dev/sda: 250.1 GB, 250059350016 bytes
 255 heads, 63 sectors/track, 30401 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0xfce09344

   Device Boot  Start End  Blocks   Id  System
 /dev/sda1   *   1   14784   118752448+  8e  Linux LVM
 /dev/sda2   29570   30401 6683040   12  Compaq diagnostics
 /dev/sda3   14785   29569   1187594255  Extended
 /dev/sda5   14785   29569   118759424   8e  Linux LVM

 Partition table entries are not in disk order


  but, 'mount -t ntfs
   ' should work for you. it is possible that sda on ubuntu is
  showing up as sdb in debian - why you should use labels if you don't.
 

 The same problem:

 # mount -t ntfs /dev/sda1 /mnt/windows/
 NTFS signature is missing.
 Failed to mount '/dev/sda1': Argumento inválido
 The device '/dev/sda1' doesn't seem to have a valid NTFS.
 Maybe the wrong device is used? Or the whole disk instead of a
 partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?


 A lot of thanks!



post the output of the following commands

mount
df -h
cat /proc/partitions
lsmod | grep ntfs
uname -a

file /dev/sdxX (where 'x' is sda and sdb and 'X' is for each partition.


-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


Re: file systems

2011-04-25 Thread Chris Brennan
On Mon, Apr 25, 2011 at 5:54 PM, Ron Johnson ron.l.john...@cox.net wrote:

On 04/25/2011 02:33 PM, Stan Hoeppner wrote:

 Ron Johnson put forth on 4/25/2011 1:25 AM:

 On 04/19/2011 05:42 PM, Stan Hoeppner wrote:
 [snip]


 XFS beats EXT4 hands down in nearly every category,


 Including not being able to xfs_check very large filesystems on 32 bit
 machines.  (Which if why I'm going back to ext4.)


 This is an odd statement given that XFS (on 32 bit archs) and EXT4 both
 currently top out at 16 TiB.  Thus moving to EXT4 gains you nothing on a
 32 bit machine, and you lose many advantages.

 Please define very large filesystems and post the specific error
 message you received when running xfs_check on this very large
 filesystem on your 32 bit machine.


 The fs was approx 3.5TB.

 # xfs_check /dev/mapper/backup_vg-backup_lv
 xfs_check: Out Of Memory



Total amount of ram, top of top would be handy too

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: list all the devices connected to the router

2011-04-24 Thread Chris Brennan
On Sun, Apr 24, 2011 at 12:52 PM, Kamaraju S Kusumanchi
raju.mailingli...@gmail.com wrote:

I connect my PCs to internet via Verizon DSL router. When I go to
 192.168.1.1 in a browser (say firefox), I am able to see all the computers
 connected to this router.

 However, from command line is there any way to probe for the list of IP
 addresses of all the machines connected to the router?

 thanks


You could just portmap your LAN's range (i.e. 192.168.1.0-255) for active
IP's. Remember that your router will show up w/ an IP in use as well as each
computer you know about on your LAN, so if you have more IP's in use then
computers, start hunting *and secure your wireless*!!!

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: file systems

2011-04-21 Thread Chris Brennan
On Thu, Apr 21, 2011 at 4:21 PM, shawn wilson ag4ve...@gmail.com wrote:


 On Apr 21, 2011 3:28 PM, prad p...@towardsfreedom.com wrote:
 
  prad p...@towardsfreedom.com writes:
 
   are there any feelings or recommendations regarding the above?
  
  one possibility i forgot to ask about is zfs using debian/freebsd.
  i understand that zfs works well with freebsd, so presumably it would
  with debian/freebsd as well.
 
  i'm curious as to feelings on this combo vs xfs with straight debian
  (which is really what we are leaning to) as we start our research on the
  matter.
 

 Read the kernel docs. It's still unstable as hell on linux IIRC.

You also need to take into account that CDDL (The Sun/Oracle Licence) is
not compatible with the GNU Licence, so there are legal issues as well (see
the ZFS link I initially posted a few days ago.) The whole point of the
rewrite project is to have a native (in-kernel) solution that is legally
compatible as well as stable (which it's not right now.)

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


Re: file systems

2011-04-21 Thread Chris Brennan
On Thu, Apr 21, 2011 at 8:09 PM, prad p...@towardsfreedom.com wrote:

Chris Brennan xa...@xaerolimit.net writes:


  one possibility i forgot to ask about is zfs using
  debian/freebsd.  i understand that zfs works well with freebsd,
  so presumably it would with debian/freebsd as well.
 
  i'm curious as to feelings on this combo vs xfs with straight debian
  (which is really what we are leaning to) as we start our research on
  the matter.
 
 
  You also need to take into account that CDDL (The Sun/Oracle Licence)
  is not compatible with the GNU Licence, so there are legal issues as
  well (see the ZFS link I initially posted a few days ago.) The whole
  point of the rewrite project is to have a native (in-kernel) solution
  that is legally compatible as well as stable (which it's not right
  now.)
 
 ok this pretty well seals things. we aren't thinking about doing debian
 to support the BSD license (not that i have anything personal against
 it, but if we're talking 'free', we need to 'stay free' and not play with
 the idea, imho).

 so thanks for eliminating the final brick, chris - xfs here we come!


CDDL isn't a BSD Licence, it's the licence that's used by what was Sun
Microsystems and is now Oracle. The BSD Licence and GNU can co-exists quite
well and have for a very long time. CDDL + *BSD Licences are a little
more tolerant of each other which is why ZFS was imported into FreeBSD,
NetBSD and OpenBSD. Once the Linux native solution gains some ground
stability-wise, they can seek to find some common ground when it comes to
the legalities of it.

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


Re: file systems

2011-04-21 Thread Chris Brennan
On Thu, Apr 21, 2011 at 9:44 PM, prad p...@towardsfreedom.com wrote:

Chris Brennan xa...@xaerolimit.net writes:

  CDDL isn't a BSD Licence, it's the licence that's used by what was Sun
  Microsystems and is now Oracle.
 
 sorry my mistake for thinking zfs was bsd (even after you said it was
 cddl)! i was confusing it with the fact that you can use zfs via
 freebsd). thx for the correction.

 i looked it up and the key point for me is that
 The Free Software Foundation considers it a free software license that
 is incompatible with the GNU General Public License (GPL).
 http://en.wikipedia.org/wiki/Common_Development_and_Distribution_License

  The BSD Licence and GNU can co-exists quite
  well and have for a very long time.
 
 i'd forgotten this largely i think due to some of the hostility
 demonstrated on the excellent freebsd mailist towards gpl (a few years
 ago).

 i guess this is also why you can actually have debian/freebsd then.
 furthermore, we bridge the incompatibilities perhaps:

 zfs -- cddl||bsd -- bsd||gpl -- debian(gpl)/freebsd(bsd)

 i'm not up on the licensing protocols so i'm just guessing here.


No worries, couldn't hurt to read up on CDDL[1], *BSD[2] Licences and
GNU/GPL[3]. As for your general Filesystem needs, XFS or XFS-LVM is probably
the smart way to go.

You mentioned something about doing this on USB (solid-state?) storage? You
might want to also consider reading up on USB's general policy about write
few, read many. In a nutshell, most USB devices don't like to be written to
many many times (such as a busy *primary* FS). They have a limited
shelf-life of writes )wear leveling) before they go bad (I have an OCZ ATV
rubber thumb drive that has suffered this.) This is why they tell you
defragmenting SSD's is a *VERY* bad idea, you significantly reduce the write
ability of the device.[4][5][6]

[1] http://en.wikipedia.org/wiki/Common_Development_and_Distribution_License
[2] http://en.wikipedia.org/wiki/BSD_licenses
[3] http://en.wikipedia.org/wiki/GNU_General_Public_License
[4]
http://en.wikipedia.org/wiki/USB_flash_drive#Advantages_and_disadvantages
[5]
http://www.bress.net/blog/archives/114-How-Long-Does-a-Flash-Drive-Last.html
[6] http://www.corsairmemory.com/_faq/FAQ_flash_drive_wear_leveling.pdf


-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: file systems

2011-04-19 Thread Chris Brennan
On Tue, Apr 19, 2011 at 3:18 PM, Kelly Clowers kelly.clow...@gmail.com wrote:

On Tue, Apr 19, 2011 at 11:45, prad p...@towardsfreedom.com wrote:
  we are thinking of redoing our existing servers and workstations in
  june. our servers is low volume and run out of our home via cable.
 
  right now the servers are running freebsd and our personal machines use
  arch linux, but we'd like to unify everything onto debian because
  a) we've liked it in the past
  b) we like the social contract
  c) we appreciate the no-nonsense attitude about 'free'
 
  we are contemplating the fs to use:
  ext4 (which we've used for a couple of years)
  zfs (we've heard this is really good)
  btrfs (ditto - though it's still 'new' and 'lacking' features)
 
  are there any feelings or recommendations regarding the above?


ext3/4, are probably your safest bet if you want reliability.

JFS or XFS if you need something a little faster then ext3, 'ware to
operator, JFX/XFS comes with there own risks (especially in power-loss
situations).

btrfs[1] can't seem to get away from being extremely experimental

ZFS[2] isn't a practical choice unless you intend on running
(Free/Open/Net)BSD or (Open)Solaris. Also consider that there are hardware
concerns with ZFS. Chiefly, lots of ram (+4GB minimum) and CPU cycles
(~+2GHz). ZFS is also known to be slow/unreliable on x86 machines so an x64
machine is probably warranted as well. If you are still curious, you can
search the FreeBSD mailing list, there is constant chatter about it as
*that* port is actively refined for production use in the *BSD environment.

[1] http://en.wikipedia.org/wiki/Btrfs
[2] http://en.wikipedia.org/wiki/ZFS

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?


Re: file systems

2011-04-19 Thread Chris Brennan
On Tue, Apr 19, 2011 at 4:50 PM, Doug dmcgarr...@optonline.net wrote:

If it makes any difference to you, I _think_ that there's a windows program
 that will read ext3; I know it will
 read ext2.  I haven't heard of one that reads ext4.  If you don't care
 about windows, ext4 seems to work fine.
 (You can read the windows directories from Linux and even cop;y to them,
 just not the other way around.)


Linux Support for NTFS writing, while supported, is still dangerous ... I've
trashed or had trashed more then one NTFS partition just from a simple copy
to that partition.

-- 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.

 Q: Why is top posting frowned upon?


Re: New to Linux

2011-04-12 Thread Chris Brennan
On Tue, Apr 12, 2011 at 10:12 AM, shawn wilson ag4ve...@gmail.com wrote:

another thing about times changing - virtuals are great. download some
 popular distros (don't limit yourself to linux either). i'd suggest
 debian, fedora, centos, ubuntu, and freebsd. then get virtual box and
 have fun. go, install, snapshot and then mess everything up. if you
 can't figure out how to put it back together again, revert to the
 snapshot.


You'll need VMWare or VirtualBox (VBox is free but because it's not Oracle
owned, it's licence might radically change without warning ... If you
*really* want to make a project out of it, try Gentoo too, fair warning
though, it can be time consuming.


Re: New to Linux

2011-04-12 Thread Chris Brennan
On Tue, Apr 12, 2011 at 11:03 AM, Peter Beck pe...@datentraeger.li wrote:

On Tue, 2011-04-12 at 10:53 -0400, Chris Brennan wrote:
  You'll need VMWare or VirtualBox (VBox is free but because it's not


s/not/now (Dyslexia first thing in the morning caught me off guard :D)


   Oracle owned, it's licence might radically change without warning

 why not KVM ? If your processor supports VT I would go for KVM.


Choice I suppose  my CPU supports VT and so does VBox, so that
functionality is passed to the Guest OS anyway


-- 
Did you know...
If you play a Windows 2000 CD backwards, you hear satanic messages,

but what's worse is when you play it forward
  ...it installs Windows 2000
   -- Alfred Perlstein on chat at freebsd.org


Re: New to Linux

2011-04-12 Thread Chris Brennan
On Tue, Apr 12, 2011 at 1:24 PM, Jonathan Matthews
cont...@jpluscplusm.com wrote:

They got borged by Oracle, IIRC, leaving them with at least 3
 different virtual platforms: virtualbox, solaris zones, virtual iron.
 Ooo, and maybe one more whose name escapes me. They also bought up
 Q-Layer, who were *great* ... and then dropped it entirely.

 OVM - that's what I was thinking of. Oracle VM, a RHEL-based Xen
 product with a web UI. Not too shabby, but why would you /bother/?

 ISTR there are some more exceptions than /just/ USB, but can't recall
 them at the moment.

 I'd honestly not recommend an Oracle-owned product at this point.
 They're showing themselves to be too hostile to FLOSS to trust them.
 And while I /know/ virtualbox is good and useful, the (relatively
 small!) extra work required to get KVM+libvirt (i.e. virt-manager)
 going will repay you many times over for the greater control and
 understanding you'll have of the underlying system. IMHO


IIRC, MySQL is another one that has been called into question do to Oracle's
resent acquisition of Sun Microsystems Products.

As to Shawn's response: per the source of virtualbox - oracle owns it.
however, it is all
under a gpl type license exept the usb driver which is close source.

GPL protect the current incarnation of a project, what's to stop Oracle from
release ver5 that *is not* under the GPL licence and the same name?

Also keep in mind that when Oracle acquired Open Office, the Sub Developers
on the project left/quit the project (to start LibreOffice).

GPL doesn't promise future freedom when someone else legally buy's the
rights to the source and changes it. That being said, Final versions of a
program released under GPL or another F/OSS licence allows that snapshot in
time of the code to remain unchanged(9and thus still free for another
developer group/project to pickup and continue)

These are very real fears being expressed all over Open Source communities,
it has been of much debate on the FreeBSD mailing lists as well as Gentoo.

-- 

Did you know...
If you play a Windows 2000 CD backwards, you hear satanic messages,
but what's worse is when you play it forward
  ...it installs Windows 2000
   -- Alfred Perlstein on chat at freebsd.org


Re: How to run a command as root when I shutdown system automatically ?

2011-04-05 Thread Chris Brennan
On Tue, Apr 5, 2011 at 1:41 AM, Kumar Appaiah a.ku...@alumni.iitm.ac.in wrote:

On Tue, Apr 05, 2011 at 11:57:31AM +0800, waterloo wrote:
 How to run a command as root when I shutdown system automatically ?
 I use Debian 6 amd64.

 Searching online led me to this:


 http://synapse.wordpress.com/2007/03/24/run-a-script-on-startup-shutdown-in-linux/

 HTH.

 Kumar


Off the top of my head (and requires debugging)

#!/usr/bin/env (ba)sh # (your choice of bash or sh)
execute-your-cmd-here
shutdown -r now # swap -r for -h if you wish to halt instead of reboot


inversely you can 'man (or info) bash' and learn how to use case so you can
pass switches to your script ... i.e.

/root/bin/your-shutdown-script -r

or

/root/bin/your-shutdown-script -h

If given enough inclination, I might be able to write something in python
(albeit it crude and rudimentary but it should get the job done)

-- 
Did you know...
If you play a Windows 2000 CD backwards, you hear satanic messages,

but what's worse is when you play it forward
  ...it installs Windows 2000

-- Alfred Perlstein on chat at freebsd.org


Re: [OT] English language

2011-04-03 Thread Chris Brennan
Plz 2 invades ur werdz insteadz!

P.S. While this meant to be funny and light-hearted, in reality, not all of
us Americans are stupid, dumb rednecks who eye their cousins and farm
animals.

-- Sent from my Droid (sorry for the top post)
On Apr 4, 2011 12:50 AM, Chris Bannister mockingb...@earthlight.co.nz
wrote:
 On Sun, Apr 03, 2011 at 05:32:34PM -0500, Ron Johnson wrote:
 Successfully spreading your empire (and thus your language) around
 the world /de facto/ dilutes your ownership of the language, by
 virtue of each group you teach it to morphing it to their own needs.

 Yep, the Americans don't even need to invade the country anymore.

 --
 Religion is excellent stuff for keeping common people quiet.
 -- Napoleon Bonaparte


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
 Archive: http://lists.debian.org/20110404055355.GE19144@fischer



aptitude upgrade

2011-03-30 Thread Chris Brennan
My laptop was off for about a week and when I fired it up today, I ran an
update and then an upgrade on my squeeze install and today I noticed this

[snip]
root@Blackdragon:~# aptitude upgrade
The following packages will be upgraded:
  apache2.2-bin bind9-host dnsutils gdm3 google-chrome-stable host
libbind9-60 libdns69 libisc62 libisccc60 libisccfg62 liblwres60 libmozjs2d
  libnss3-1d xulrunner-1.9.1
15 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 36.1 MB of archives. After unpacking 1,000 kB will be freed.
Do you want to continue? [Y/n/?] n
Abort.
root@Blackdragon:~#
[/snip]

So why the hell is apache being installed/upgraded on a desktop install w/
no server services?

-- 

Did you know...
If you play a Windows 2000 CD backwards, you hear satanic messages,
but what's worse is when you play it forward
  ...it installs Windows 2000
   -- Alfred Perlstein on chat at freebsd.org


  1   2   >