Re: XFS TRIM Support on Debian 6.0.5 ?

2012-08-30 Thread Stan Hoeppner
On 8/30/2012 10:15 PM, Andy Chandra wrote: > I was wondering if Debian 6.0.5 support TRIM (for Solid-state Disks) using > XFS filesystem on Debian 6.0.5? Not with the default kernel. Read on. > Anyone has clue about installing XFS filesystem on Debian 6.0.5? The XFS driver will load as a modu

Re: no man pages... ??

2012-08-30 Thread songbird
Tony Baldwin wrote: ... try mandb -c as root. songbird -- 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/70u5h9-aii@id-306963.user.uni-berlin.de

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-30 Thread daniel jimenez
Hello guys, @richard, 1 this is not homework, a friend asked me to do some statistics on an experimental dataset he got for his masters thesis and the file was already that way. 2 i'm well versed in fortran, this problem however is not what i'm used to. I thought about reading the line bare in c

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-30 Thread lina
On Friday 31,August,2012 11:22 AM, Richard Owlett wrote: > lina wrote: >> On Friday 31,August,2012 08:35 AM, Richard Owlett wrote: >>> daniel jimenez apparently described a *HOMEWORK* problem: Hello all, I need some help fixing the format of some pretty strangely compressed data

RESOLVED: no man pages... ??

2012-08-30 Thread Tony Baldwin
On Fri, Aug 31, 2012 at 12:00:25AM -0400, Tony Baldwin wrote: > On Thu, Aug 30, 2012 at 11:56:17PM -0400, Tony Baldwin wrote: > > On Thu, Aug 30, 2012 at 09:55:10PM -0400, Tony Baldwin wrote: > > > My man pages have all disappeared... > > > > > > I did "man netstat" to look something up, and I go

Re: no man pages... ??

2012-08-30 Thread Tony Baldwin
On Thu, Aug 30, 2012 at 11:56:17PM -0400, Tony Baldwin wrote: > On Thu, Aug 30, 2012 at 09:55:10PM -0400, Tony Baldwin wrote: > > My man pages have all disappeared... > > > > I did "man netstat" to look something up, and I got nothing... > > I mean, no error, but it was an empty page. > > > > I t

Re: no man pages... ??

2012-08-30 Thread Tony Baldwin
On Thu, Aug 30, 2012 at 09:55:10PM -0400, Tony Baldwin wrote: > My man pages have all disappeared... > > I did "man netstat" to look something up, and I got nothing... > I mean, no error, but it was an empty page. > > I tried > man ls > man cd > man aptitude > etc., etc... > > same thing...no ma

Re: copying data from a partition with badblocks

2012-08-30 Thread Kamaraju S Kusumanchi
Go Linux wrote: > --- On Thu, 8/30/12, Kamaraju S Kusumanchi > wrote: I guess iOmega drives are not very stable. >> I guess iOmega drives are not very stable. >> > > I have several external drives from iOmega that are a few years old. But > the drives inside the enclosure are Western Digital. I

Re: no man pages... ??

2012-08-30 Thread Tony Baldwin
On Thu, Aug 30, 2012 at 09:27:14PM -0500, Richard Owlett wrote: > Tony Baldwin wrote: > >My man pages have all disappeared... > > > >I did "man netstat" to look something up, and I got nothing... > >I mean, no error, but it was an empty page. > > > >I tried > >man ls > >man cd > >man aptitude > >et

Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Kamaraju S Kusumanchi
Dan Ritter wrote: > On Tue, Aug 28, 2012 at 09:28:20AM -0400, Kamaraju S Kusumanchi wrote: >> 4) What might have caused this problem and how to prevent it in the >> future? > > I don't know, but in my experience, USB-connected hard disks > suffer these problems much more than PATA/SATA/eSATA/SCSI

Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Kamaraju S Kusumanchi
Sthu Deus wrote: > Kamaraju, You wrote: > >> > You will not be able to do so until You connect Your drive to >> > computer directly - i.e. through PATA/SATA cable. >> > >> >> This is an external USB hard drive. The only connection it has is >> USB. So, I guess in this case smartctl is not much

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-30 Thread Richard Owlett
lina wrote: On Friday 31,August,2012 08:35 AM, Richard Owlett wrote: daniel jimenez apparently described a *HOMEWORK* problem: Hello all, I need some help fixing the format of some pretty strangely compressed data files. An example would be like this: 2883 452 07 16 2 4 6 107 Parsing rules:

XFS TRIM Support on Debian 6.0.5 ?

2012-08-30 Thread Andy Chandra
Hi, I was wondering if Debian 6.0.5 support TRIM (for Solid-state Disks) using XFS filesystem on Debian 6.0.5? Anyone has clue about installing XFS filesystem on Debian 6.0.5? I'm planning for using MySQL (/var) on XFS filesystem on my SSD. -- Best Regards, Andy Chandra (Mr) IF Founder and CEO

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-30 Thread lina
On Friday 31,August,2012 08:35 AM, Richard Owlett wrote: > daniel jimenez apparently described a *HOMEWORK* problem: >> Hello all, >> >> I need some help fixing the format of some pretty strangely >> compressed data files. An example would be like this: >> >> 2883 >> 452 >> 07 >> 16 >> 2 >> 4 >> 6

Re: no man pages... ??

2012-08-30 Thread Richard Owlett
Tony Baldwin wrote: My man pages have all disappeared... I did "man netstat" to look something up, and I got nothing... I mean, no error, but it was an empty page. I tried man ls man cd man aptitude etc., etc... same thing...no man pages... I've never, ever, in over a decade of using gnu/linux

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-30 Thread Mark Blakeney
On Fri, 31 Aug 2012 01:31:29 +, Russell L. Harris wrote: > This exercise provides the impetus to learn to use a very useful tool, > namely Perl. I would suggest python is a much better choice to a young person just starting out. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.o

no man pages... ??

2012-08-30 Thread Tony Baldwin
My man pages have all disappeared... I did "man netstat" to look something up, and I got nothing... I mean, no error, but it was an empty page. I tried man ls man cd man aptitude etc., etc... same thing...no man pages... I've never, ever, in over a decade of using gnu/linux, ever lost my man pag

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-30 Thread John L. Cunningham
On Thu, Aug 30, 2012 at 04:37:19PM -0700, daniel jimenez wrote: >Hello all, >I need some help fixing the format of some pretty strangely compressed >data files. An example would be like this: > >2883 >452 >0 7 >1 6 >2 >4 >6 >10 7 >Parsing rules: >

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-30 Thread Russell L. Harris
* Richard Owlett [120831 00:39]: > daniel jimenez apparently described a *HOMEWORK* problem: ... > >I need some help fixing the format of some pretty strangely > >compressed data files. An example would be like this: This exercise provides the impetus to learn to use a very useful tool, namely Pe

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-30 Thread Richard Owlett
daniel jimenez apparently described a *HOMEWORK* problem: Hello all, I need some help fixing the format of some pretty strangely compressed data files. An example would be like this: 2883 452 07 16 2 4 6 107 Parsing rules: The first two lines should be ignored. The first column is the 'index',

Please help parsing file [sed, awk, fortran, bash]

2012-08-30 Thread daniel jimenez
Hello all, I need some help fixing the format of some pretty strangely compressed data files. An example would be like this: 2883 452 0 7 1 6 2 4 6 10 7 Parsing rules: The first two lines should be ignored. The first column is the 'index', the second column being the 'counter'. If there is no se

Re: OpenVPN

2012-08-30 Thread cletusjenkins
> On Thu, 30 Aug 2012 14:45:08 -0700 Joe wrote > > > On Thu, 30 Aug 2012 14:16:07 -0700 > > cletusjenkins wrote: > > > > > Does > > > using the gui normally work? > > > > > > > Yes, as I posted earlier, I use Network Manager on a now somewhat old > > Ub

[solved] RE: Dual-Monitor help

2012-08-30 Thread Nelson Green
> Nelson Green wrote: > > So, my final question is, where is my X11 start-up file? > > There are several different ways to start up X11. Probably the > simplest for you is to create a $HOME/.xsession file. The > xdm/gdm/kdm/lightdm processes will use it if the file exists. Create > it with the fol

Re: copying data from a partition with badblocks

2012-08-30 Thread Go Linux
--- On Thu, 8/30/12, Kamaraju S Kusumanchi wrote: I guess iOmega drives are not very stable. > I guess iOmega drives are not very stable. > I have several external drives from iOmega that are a few years old. But the drives inside the enclosure are Western Digital. I've never had a problem with

Re: OpenVPN

2012-08-30 Thread Joe
On Thu, 30 Aug 2012 14:16:07 -0700 cletusjenkins wrote: > Does > using the gui normally work? > > Yes, as I posted earlier, I use Network Manager on a now somewhat old Ubuntu to connect to OpenVPN on squeeze. I mostly use it at free WiFi locations, to route traffic through my home server. But

Re: OpenVPN

2012-08-30 Thread cletusjenkins
-- clet debian is my main squeeze On Thu, 30 Aug 2012 12:42:15 -0700 Joe wrote > On Thu, 30 Aug 2012 20:41:00 +0200 > Registros Web wrote: > > Network Manager can handle most OpenVPN configuration options, and is > a viable alternative to using a command-line invocation w

Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Sthu Deus
Kamaraju, You wrote: > > You will not be able to do so until You connect Your drive to > > computer directly - i.e. through PATA/SATA cable. > > > > This is an external USB hard drive. The only connection it has is > USB. So, I guess in this case smartctl is not much useful. And You can not dis

Re: OpenVPN

2012-08-30 Thread cletusjenkins
>Whether you are acting as a server or a client you need to have a >config file (.conf) in the /etc/openvpn directory (wich is the default >location where the openvpn service will look for .conf files and will >try to start those connections automatically when the service is >started). Check i

Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Lisi
On Thursday 30 August 2012 19:17:14 Kamaraju S Kusumanchi wrote: > Sthu Deus wrote: > > You will not be able to do so until You connect Your drive to computer > > directly - i.e. through PATA/SATA cable. > > This is an external USB hard drive. The only connection it has is USB. So, > I guess in thi

Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Dan Ritter
On Tue, Aug 28, 2012 at 09:28:20AM -0400, Kamaraju S Kusumanchi wrote: > 1) Does this mean there are badblocks on my hard drive? Yes. > 2) Am I correct in choosing "yes" to both these questions or is there a > better way? Yes. > 3) Is the drive going bad and need to be replaced? Yes. > 4) Wh

Re: OpenVPN

2012-08-30 Thread Joe
On Thu, 30 Aug 2012 20:41:00 +0200 Registros Web wrote: > On Thu, Aug 30, 2012 at 3:44 PM, cletusjenkins > wrote: > > > On Thu, Aug 30, 2012 at 02:06:17AM -0700, cletusjenkins wrote: > > > > I'm trying to connect to a VPN service via openVPN. When I try > > > > to connect (via network manager

Re: Setting up to do repetitive installs on ONE machine (cf BabelBox)

2012-08-30 Thread Richard Owlett
Rob Owens wrote: [snip] Now you can use virtual machines instead of real machines to set up your local network. It works the same as I described above. You will need to read up a bit on the networking options that Virtualbox provides. I think you want "bridged networking", but it's been a while

Re: copying data from a partition with badblocks

2012-08-30 Thread Lisi
On Thursday 30 August 2012 19:35:42 Kamaraju S Kusumanchi wrote: > This one is very slim and does not even have an external case. > >  http://www.amazon.com/Iomega-Prestige-Portable- > SuperSpeed-35194/dp/B004NIDHXC Yes, it has got a case. The case is black metal. Compact Metal Enclosure Lightw

Re: qt embedded on Debian

2012-08-30 Thread Brian
On Thu 30 Aug 2012 at 13:37:42 -0500, hvw59601 wrote: > The package used to be "Qtopia" for that, but that is gone... apt-cache search qtopia -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive

Re: OpenVPN

2012-08-30 Thread Registros Web
On Thu, Aug 30, 2012 at 3:44 PM, cletusjenkins wrote: > > On Thu, Aug 30, 2012 at 02:06:17AM -0700, cletusjenkins wrote: > > > I'm trying to connect to a VPN service via openVPN. When I try to > connect (via network manager's gui) I get an error saying the openvpn service > is not running. I d

Re: copying data from a partition with badblocks

2012-08-30 Thread Kamaraju S Kusumanchi
Camaleón wrote: > On Thu, 30 Aug 2012 11:07:15 -0400, Kamaraju S Kusumanchi wrote: > >> One of the partitions on my hard drive has badblocks. I did a >> >> $sudo e2fsck -c -c -f -v /dev/sdb7 >> >> on it and it found 757 badblocks. The partition itself is 100 GB and >> only 18 GB of it is filled

Re: qt embedded on Debian

2012-08-30 Thread hvw59601
Camaleón wrote: On Thu, 30 Aug 2012 09:31:03 -0500, hvw59601 wrote: Is it true that there is no package for QT embedded on Debian and that it has to be compiled from source using http://qt-project.org/doc/qt-4.8/qt-embedded-install.html I wonder why it was removed and did not return :-? Mayb

Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Kamaraju S Kusumanchi
Sthu Deus wrote: > > You will not be able to do so until You connect Your drive to computer > directly - i.e. through PATA/SATA cable. > This is an external USB hard drive. The only connection it has is USB. So, I guess in this case smartctl is not much useful. -- Kamaraju S Kusumanchi http:/

200% OT: alsa-base breaks linux-sound-base

2012-08-30 Thread Ralf Mardorf
On Thu, 2012-08-30 at 12:15 -0500, Charles Kroeger wrote: > On Mon, 27 Aug 2012 16:10:02 +0200 > Camaleón wrote: > > >Well, you can "unmute" any of the detected input/outputs by this command > >that can be run on system boot: > > > amixer set PCM 100 unmute > > >Not sure if this will help in

Re: alsa-base breaks linux-sound-base

2012-08-30 Thread Charles Kroeger
On Mon, 27 Aug 2012 16:10:02 +0200 Camaleón wrote: >Well, you can "unmute" any of the detected input/outputs by this command >that can be run on system boot: > amixer set PCM 100 unmute >Not sure if this will help in your case, though... maybe using "alsactl" >to store the volume/unmuted opt

Re: Alsa-Base breaks Linux-Sound-Base

2012-08-30 Thread Charles Kroeger
On Wed, 29 Aug 2012 17:50:02 +0200 Camaleón wrote: > I experienced no issues with the dist-upgrade. In my troubles with that I'm sure they installed alsa-base with everything muted. Sound for me only returned after messing about with the alsamixergui keyboard controls of which some control this

Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Sthu Deus
Good time of the day, Kamaraju. You wrote: > $smartctl -a /dev/sdb > smartctl 5.41 2011-06-09 r3365 [i686-linux-3.0.0-1-686-pae] (local > build) Copyright (C) 2002-11 by Bruce Allen, > http://smartmontools.sourceforge.net > > /dev/sdb: Unknown USB bridge [0x059b:0x0571 (0x000)] > Smartctl: plea

Re: copying data from a partition with badblocks

2012-08-30 Thread Camaleón
On Thu, 30 Aug 2012 11:07:15 -0400, Kamaraju S Kusumanchi wrote: > One of the partitions on my hard drive has badblocks. I did a > > $sudo e2fsck -c -c -f -v /dev/sdb7 > > on it and it found 757 badblocks. The partition itself is 100 GB and > only 18 GB of it is filled. Now my question is how to

Re: sshd_config match keyword syntax

2012-08-30 Thread Camaleón
On Thu, 30 Aug 2012 14:37:34 +0100, Roger Lynn wrote: > I want to force everyone except members of a particular group to run > sftp when they ssh into a server. So at the end of /etc/ssh/sshd_config > I have: > > Match Group !sshers > ForceCommand /usr/lib/openssh/sftp-server > > However I can

Re: Dual-Monitor help

2012-08-30 Thread The Wanderer
On 08/29/2012 02:13 PM, Bob Proulx wrote: The Wanderer wrote: Bob Proulx wrote: exec x-session-manager The 'x-session-manager' is a Debian package specific symlink handle that always points to the currently configured window manager. Isn't that 'x-window-manager'? At least, I don't ha

Re: sshd_config match keyword syntax

2012-08-30 Thread Brian
On Thu 30 Aug 2012 at 14:37:34 +0100, Roger Lynn wrote: > I want to force everyone except members of a particular group to run sftp > when they ssh into a server. So at the end of /etc/ssh/sshd_config I have: > > Match Group !sshers > ForceCommand /usr/lib/openssh/sftp-server > > However I can

Re: qt embedded on Debian

2012-08-30 Thread Camaleón
On Thu, 30 Aug 2012 09:31:03 -0500, hvw59601 wrote: > Is it true that there is no package for QT embedded on Debian and that > it has to be compiled from source using > http://qt-project.org/doc/qt-4.8/qt-embedded-install.html I wonder why it was removed and did not return :-? Maybe "debian-qt-k

Re: qt embedded on Debian

2012-08-30 Thread Ozkar L. Garcell
On 08/30/2012 10:31 AM, hvw59601 wrote: Hi, Is it true that there is no package for QT embedded on Debian and that it has to be compiled from source using http://qt-project.org/doc/qt-4.8/qt-embedded-install.html Hugo Its true, you must compile from the sources. The last time I did it on D

Re: debian on soneview notebook

2012-08-30 Thread Camaleón
On Thu, 30 Aug 2012 08:45:35 -0400, Ozkar L. Garcell wrote: (please, keep the replies at the bottom) > On 08/29/2012 12:56 PM, Camaleón wrote: >> Try to append "nomodeset" at the boot kernel line. Can you jump to a >> debug tty? If so, what's printed in the screen? (you can make a >> snapshot, up

sshd_config match keyword syntax

2012-08-30 Thread Roger Lynn
Hi, I want to force everyone except members of a particular group to run sftp when they ssh into a server. So at the end of /etc/ssh/sshd_config I have: Match Group !sshers ForceCommand /usr/lib/openssh/sftp-server However I can't get the group negation to work. If I remove the '!' it works as

Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Kamaraju S Kusumanchi
Federico Alberto Sayd wrote: > Did you try to diagnose your hardrive with smartmontools? Smartmontools > uses S.M.A.R.T.[1] technology included in harddrives, and displays info > about predictable failures, time of use, etc. > > Regards > > [1] http://en.wikipedia.org/wiki/S.M.A.R.T. $smartctl

Re: OpenVPN

2012-08-30 Thread cletusjenkins
> On Thu, Aug 30, 2012 at 02:06:17AM -0700, cletusjenkins wrote: > > I'm trying to connect to a VPN service via openVPN. When I try to connect > > (via network manager's gui) I get an error saying the openvpn service is > > not running. I do not see any errors in messages, syslog, daemon.log

Re: Query about failure of Debian 6 64 bit to swap properly

2012-08-30 Thread Camaleón
On Thu, 30 Aug 2012 02:16:23 +0800, Bret Busby wrote: > On Wed, 29 Aug 2012, Camaleón wrote: (...) >> Some hints: >> >> - With 8 GiB of RAM you can (almost) safely turn off your swap at all, >> it shouldn't be used. You can indeed run this test (→ turn off swap) to >> see how your system behaves

Re: system-wide association between MIME types and applications

2012-08-30 Thread Camaleón
On Wed, 29 Aug 2012 16:10:45 -0300, ROGERIO DE CARVALHO BASTOS wrote: > I'm using XFCE4 in Debian Wheezy and need a way to set system-wide > association between MIME types and applications. According to [1], > /usr/share/applications/defaults.list do this, but it can't works with > and I don't fin

Re: debian on soneview notebook

2012-08-30 Thread Ozkar L. Garcell
Thanks for the answer. No I cannot jump for any tty, just reboot the system. Perhaps is a video driver failure, 'cause this notebook have a ATI chiptset. Now I am recompiling the kernel, with the appropiate flags for my hardware, in few minutes I will post what happens. And I will try with "nom

Re: OpenVPN

2012-08-30 Thread Darac Marjal
On Thu, Aug 30, 2012 at 02:06:17AM -0700, cletusjenkins wrote: > I'm trying to connect to a VPN service via openVPN. When I try to connect > (via network manager's gui) I get an error saying the openvpn service is not > running. I do not see any errors in messages, syslog, daemon.log or dmesg >

Re: Query about failure of Debian 6 64 bit to swap properly

2012-08-30 Thread Darac Marjal
On Thu, Aug 30, 2012 at 01:28:05PM +0800, Bret Busby wrote: > On Wed, 29 Aug 2012, Bob Proulx wrote: > [cut] > > I enable javascript in Opera, as I use it for most online financial > transactions, including online banking, and, of the (more?) major > web browsers, as far as I am aware, opera is t

OpenVPN

2012-08-30 Thread cletusjenkins
I'm trying to connect to a VPN service via openVPN. When I try to connect (via network manager's gui) I get an error saying the openvpn service is not running. I do not see any errors in messages, syslog, daemon.log or dmesg about this. When I manually start the service it just says that it is s

OT: How upstart-job is performing in debian system ?

2012-08-30 Thread Ralf Mardorf
On Wed, 2012-08-29 at 11:35 -0400, Tom H wrote: > I've been following the systemd threads on the Arch mailing lists > since you pointed to them. What I find interesting is that, on the > users' list, people are still hyper-ventilating about systemd and > Lennart Poettering and on the developers' li