Re: Cups: printer installed but not printing

2011-08-04 Thread Anthony Campbell
On 04 Aug 2011, Camaleón wrote:
> On Thu, 04 Aug 2011 17:06:48 +0100, Anthony Campbell wrote:
> 
> 
> Show us the output of:
> 
> lpr -P your_printer /etc/hosts
> 
> Greetings,
> 
> -- 
> Camaleón
> 
Thanks, Camaleon and everyone else who has helped. Everything is working
now; the solution was to set the Samsung as the default. I thought I had
done this but for some reason it didn't work at first but now it's fine.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks
at http://www.smashwords.com/profile/view/acampbell


-- 
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/20110805062154.ga2...@ithaca.acampbell.org.uk



Re: Recovering from MKFS

2011-08-04 Thread Volkan YAZICI
On Thu, 04 Aug 2011 11:59:22 -0400, Ethan Rosenberg writes:
> I ran mkfs -L on an external usb drive, hoping to change it's name, which it
> did.  It, of course, rewrote the inode tables, which I did not realize that it
> would, and I cannot find my files on the disk.  Is there any way to recover 
> the
> files?

Steps I would follow goes here:

1. Create a copy of the entire USB disk image. Don't play unnecessarily
   with the original hardware and remember that every mount operation
   will potentially decrease your recovery chance. (Since mount's are
   not totally read-only.)

   root# dd if=/dev/sdb1 of=/root/sdb1.img.org
   root# cp /root/sdb1.img.org /root/sdb1.img

2. Grab TestDisk[1] and start playing with the copied disk image.

I had a similar problem to yours and TestDisk worked flawlessly.


Best.

[1] http://www.cgsecurity.org/wiki/TestDisk


-- 
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/87k4ase86i@alamut.ozun.int



Re: thread issue

2011-08-04 Thread lina
On Fri, Aug 5, 2011 at 6:59 AM, Stan Hoeppner  wrote:
> On 8/4/2011 11:52 AM, lina wrote:
>> On Fri, Aug 5, 2011 at 12:31 AM, Jerome BENOIT  wrote:
>>> Hello List:
>>>
>>> On 04/08/11 18:26, Stan Hoeppner wrote:

 On 8/4/2011 11:03 AM, Jerome BENOIT wrote:
>
> Hello List:
>
> just use a job scheduler as SLURM:
>
> http://packages.debian.org/wheezy/slurm-llnl

 She already has PBS.  Apparently you didn't read her posts.
>>>
>>> She run jobs on a lab cluster and on her personal Debian laptop,
>>> and she is not really aware of job scheduler [1]
>>>
>>> Jerome
>>>
>>> [1] personal communication.
>>
>
> Ahh, ok.  The "inside knowledge" now makes sense. :)  Jerome, Lina
> mentioned qsub, so I assumed she was aware of the job scheduler.  I take
> it that you meant she's not aware of a job scheduler for laptop use?
>

Please forgive I answering this questions for him.

Yes, I do know something very very basic about job scheduler.

Before I planned to analysis data on cluster, but I was suggested not
to do this cause some heavy process might slow down the server.

I was further suggested to do it on my laptop which also has 8
processor. But I was kind of lazy to transfer around 80G data from
server to laptop, and when the processors are fully occupied, there
was a heating problem which I do not like either.

I installed the slurm-llnl, but mostly I will not use it. seems very
complicate for me.

Thanks very much for all of your time.

> --
> Stan
>
>
> --
> 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/4e3b243b.5050...@hardwarefreak.com
>
>



-- 
Best Regards,

lina


--
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/cag9cjmmhfv2txyxr-zgvfjswfzqc_zh2sk9r_dzq7amktcq...@mail.gmail.com



Re: What are the 94 printable characters from the 128 characters of ASCII table?

2011-08-04 Thread Joel Rees
Making a long thread longer, but, ...

On Tue, Jul 26, 2011 at 11:01 AM, yudi v  wrote:
> Thanks Paul.
> Was having a tough time trying to understand.
>
> Instead of saying the following:
>
> "It is highly advisable to only use the 94 printable characters from the
> first 128 characters of the ASCII table"
>
> it would have been easier to understand if they simply said to use
> characters between 0x21 to 0x7e.

Many programs that use passwords for whatever purpose do accept space.
Many do not. Some with, for instance, underscore, or, for that matter,
all punctuation. Some *nix logins accept most control codes, as well.

Which way LUKS goes with that is something to ask the programmers.

As far as whether the ascii SP (hex 20) is a printing character or
not, it depends on what the context of your question is. That's why
the ANSI standard C library provides two separate functions, isgraph()
(space returns false) and isprint() (space returns true).

If you are wondering why this is so, look at the Unicode standard. You
will see that there are several different space characters defined,
and you will see some mention of their differing semantics.

Joel Rees


-- 
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/CAAr43iPj-cbeM7XPoiGJopGXhQPbybCorf7Lb=ZwU7oZ=et...@mail.gmail.com



Re: Billion 7800N

2011-08-04 Thread Heddle Weaver
On 5 August 2011 00:55, Camaleón  wrote:
> On Thu, 04 Aug 2011 13:48:35 +1000, Heddle Weaver wrote:
>
>> I've run into a few hiccups with a new modem, as specified in the
>> subject line.
>
> This one?
>
> http://au.billion.com/product/wireless/bipac7800n.php

Yep! That's the one.
>
>> I simply can't access the modem interface with a browser,
>> in order to configure it and yes, I've tried four different browsers. At
>> this rate SID is going to be frozen before I get back online.
>
> (...)
>
> Manual says that your router is available at "192.168.1.254", so your
> network adapter has to have an IP address assigned inside that range.
>
> Have you tried to ping it?

Like an idiot, no!
Thanks, Cam.
Regards,

Weaver.
-- 
Religion is regarded by the common people as true,
by the wise as false,
and by the rulers as useful.

— Lucius Annæus Seneca.

Terrorism, the new religion.


Re: Cups: printer installed but not printing

2011-08-04 Thread Vincent Lefevre
On 2011-08-04 17:06:48 +0100, Anthony Campbell wrote:
> I did that but still I get the error message with lpr -no default
> destination.

Which libcups2 do you use?

In my case, with libcups2 1.4.7-1:

ypig:~> lpq
lpq: error - no default destination available.

and with libcups2 1.4.6-11+b1:

ypig:~> lpq
lip-multi-3 is ready
no entries

I've reported the bug here:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635096

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


-- 
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/20110805015240.gj20...@prunille.vinc17.org



Fwd: Billion 7800N

2011-08-04 Thread Heddle Weaver
-- Forwarded message --
From: Heddle Weaver 
Date: 5 August 2011 11:50
Subject: Re: Billion 7800N
To: Gavin Elliot Jones 


On 4 August 2011 18:19, Gavin Elliot Jones  wrote:

> I also have a Billion 7800N and can access the web interface just fine.
> I use a mixture of Debian stable and Ubuntu 11.04 and it works without
> problem.
>
> The 7800N has 5 ethernet ports on the back, one of which is set up to be
> a cable WAN port (with the other four being ports on the gigabit
> switch). Perhaps you've connected your computer to that WAN port by
> mistake?

No,you're referring to the EWAN port which is for connection to a
modem for fibre access, etc.
I'm plugged into the 4th LAN port and have also tried the others in
order to eliminate the faulty port potential.

Did you get your modem installed onto an already established O.S. or
was it detected during the install procedure.
My /home is on an external expansion drive and I'm considering a
re-install if that detection procedure would pick it up.
I'm sure that once it had been detected, there'd be no further problems.
Thanks,

Weaver.
--
Religion is regarded by the common people as true,
by the wise as false,
and by the rulers as useful.

— Lucius Annæus Seneca.

Terrorism, the new religion.



-- 
Religion is regarded by the common people as true,
by the wise as false,
and by the rulers as useful.

— Lucius Annæus Seneca.

Terrorism, the new religion.


--
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/CAPeXKO31WN=tOAO+ct1yfTV2y=bhue8fhc2hpzcww9hqeab...@mail.gmail.com



Fwd: Billion 7800N

2011-08-04 Thread Heddle Weaver
I keep neglecting to forward these to the list. Hopefully I'll be back
on-line sometime and won't continue to blow it. Sorry for the personal
replies.


-- Forwarded message --
From: Heddle Weaver 
Date: 5 August 2011 11:43
Subject: Re: Billion 7800N
To: "Andrew M.A. Cater" 


On 4 August 2011 15:57, Andrew M.A. Cater  wrote:

> I suspect the problem is short sighted manufacturer and bad web interface 
> ddesigners.

That's what I thought it might have been initially, but there GPL'd
content on their Firmware update page talked me out of it.
Thanks.

Weaver.
--
Religion is regarded by the common people as true,
by the wise as false,
and by the rulers as useful.

— Lucius Annæus Seneca.

Terrorism, the new religion.



-- 
Religion is regarded by the common people as true,
by the wise as false,
and by the rulers as useful.

— Lucius Annæus Seneca.

Terrorism, the new religion.


--
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/CAPeXKO03VsUWhepJ=sia3ts5hzkfm2uylt9wg+72g5vz0ei...@mail.gmail.com



Re: wicd

2011-08-04 Thread Vincent Lefevre
On 2011-08-03 15:05:34 -0400, Robert Blair Mason Jr. wrote:
> It would be a very nice feature, but I would be willing to bet money
> it's an order of magnitude more complicated to implement than it should
> be (it's hardware, after all), and the developer hours are probably
> better spent elsewhere, IMHO.

It shouldn't be hard as all the information is in the kernel logs.
For instance:

Jul 24 22:00:11 xvii kernel: [565823.481727] iwlagn :0c:00.0: RF_KILL bit 
toggled to disable radio.
Jul 24 22:00:43 xvii kernel: [565858.857570] iwlagn :0c:00.0: RF_KILL bit 
toggled to enable radio.

Since the kernel knows the status of the radio button, the applications
should be able to know it too.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


-- 
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/20110805014517.gi20...@prunille.vinc17.org



Re: thread issue

2011-08-04 Thread Wolodja Wentland
On Thu, Aug 04, 2011 at 21:12 +0800, lina wrote:
> I noticed when make -j 8, the 8 cores can be fully occupied.
> 
> can I use some way to enable 8 cores at the same time when I run
> something, such as a bash script?

Not sure what you really want to do, but GNU/parallel [0] might be of interest. 
It
has unfortunately not yet been packaged for Debian as it conflicts with a
binary of the same name in the moreutils package. [1]

Also an often overlooked tool called "nproc" combines nicely with parallel, as
it returns the number of usable cores. (think "-j $(nproc)") ... but what are
you really trying to parallelise?

[0] http://www.gnu.org/s/parallel/
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597050
-- 
Wolodja 

4096R/CAF14EFC
081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC


signature.asc
Description: Digital signature


Re: KDE4.4 desktop customization for multiple users.

2011-08-04 Thread Scott Ferguson

On 05/08/11 04:16, Sthu Deus wrote:

Thank You for Your great work You have performed, Scott,
among other You wrote:


I copied the files as root to /etc/skel in the first place so
permissions are as they should be. No chmod required

NOTE: I don't have session saving enabled and I remove all histories
before copying the modelusers .kde files to /etc/skel. All this does is
allow me to have new users inherit styles, themes and configs - *not*
enforce non-default permissions.


I still can not understand the permission problem - how You bypass it -
for, having copied the model user files and having some of them, the
dir.s permission set to 700 (for example, ~/.kde/share)
- how a newly
created user can ever read from those dir.s and copy the files/dir.s to
its home dir.?


When you, as root, copy those files from /home/modeluser/.kde the 
ownership changes from modeluser:modeluser to root:root
So in your example the directory /etc/skel/.kde/share remains 700 
(40700) - it's only the owner that changes.


By default, when a new user is created a new group is also created, and 
a home into which the contents of /etc/skel is copied, then ownership is 
set to the new user, permissions *don't* change - just the *ownership* eg.:-

chown -R newuser:newuser

Which, makes the permissions as they should be. eg:-
/home/newuser/.kde (40)700
/home/newuser/.kde/share/config/session/kmix_string (100)600



I do not need a script to perform such simple task here (sorry, but
others may ever need it as it is stored in the list archive) - just
want to understand how things work.



Cheers

--
“If you're so pro-life, do me a favour: don't lock arms and block 
medical clinics. If you're so pro-life, lock arms and block cemeteries.”

~ Bill Hicks


--
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/4e3b43a9.20...@gmail.com



Re: Pidgin questions ...

2011-08-04 Thread Pete Orrall
> Does anyone have any preferences as what they think I should 
> look at also?

I have been using Pidgin for years and it is great.  No complaints here.
The only other multiprotocol client I know of is Kopete which was from
KDE 3.x.  I  haven't used it since KDE 3.4 days so I don't know its
current status.

-- 
Pete Orrall
ppat...@gmail.com
If there isn't a way I'll make one.


-- 
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/1312503482.18226.7.camel@Neuron.8EEWS



Re: Pidgin questions ...

2011-08-04 Thread Danilo Sandoval
Hi
I prefer Empathy, a very good IM , a large amount protocols available
Greetings

Saludos Cordiales.-
-
Danilo Sandoval
twitter: @danilosandoval



2011/8/4 Walter Hurry 

> On Thu, 04 Aug 2011 18:54:49 -0500, Dennis Wicks wrote:
>
> > Greetings;
> >
> > I am being dragged, kicking and screaming, into the 21st century! My
> > kids and grandkids and wife are demanding that I get messaging.
> >
> > I don't want to get one for every network or vendor out there and
> > happened to run across Pidgin, which seems to handle a lot of protocols.
> >
> > Does anyone have any preferences as what they think I should look at
> > also?
>
> Pidgin works well. Go for it.
>
>
>
> --
> 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/j1fcsk$l46$1...@dough.gmane.org
>
>


Re: Pidgin questions ...

2011-08-04 Thread Walter Hurry
On Thu, 04 Aug 2011 18:54:49 -0500, Dennis Wicks wrote:

> Greetings;
> 
> I am being dragged, kicking and screaming, into the 21st century! My
> kids and grandkids and wife are demanding that I get messaging.
> 
> I don't want to get one for every network or vendor out there and
> happened to run across Pidgin, which seems to handle a lot of protocols.
> 
> Does anyone have any preferences as what they think I should look at
> also?

Pidgin works well. Go for it.



-- 
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/j1fcsk$l46$1...@dough.gmane.org



Pidgin questions ...

2011-08-04 Thread Dennis Wicks

Greetings;

I am being dragged, kicking and screaming, into the 21st 
century! My kids and grandkids and wife are demanding that I 
get messaging.


I don't want to get one for every network or vendor out 
there and happened to run across Pidgin, which seems to 
handle a lot of protocols.


Does anyone have any preferences as what they think I should 
look at also?


Thanks for any hints, tips, or suggestions!

Dennis


--
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/4e3b3149.8040...@mgssub.com



Re: Have blkid reports on newly added devices

2011-08-04 Thread Bob Proulx
Tom H wrote:
> > $ blkid -c /dev//null -p /dev/sdc1
> Sorry "/dev/null" not "/dev//null".

A very, very small tidbit.  As long as the multiple '/' chars are not
at the very start of the string then it doesn't matter and one or more
are all the same as one.  At the very start of the string it is
undefined or implementation defined or one of those meaning
non-portable because the old Apollo Unix systems used to use it to
indicate a network host name.  And so POSIX allowed it.  And so now
Cygwin uses it for the same thing too.  But anywhere other than at the
start they are all collapsed into one.

  //hostname/some/path/file  <- not portable
  /some//pathfile<- should be portable

Bob


signature.asc
Description: Digital signature


Re: thread issue

2011-08-04 Thread Stan Hoeppner
On 8/4/2011 11:52 AM, lina wrote:
> On Fri, Aug 5, 2011 at 12:31 AM, Jerome BENOIT  wrote:
>> Hello List:
>>
>> On 04/08/11 18:26, Stan Hoeppner wrote:
>>>
>>> On 8/4/2011 11:03 AM, Jerome BENOIT wrote:

 Hello List:

 just use a job scheduler as SLURM:

 http://packages.debian.org/wheezy/slurm-llnl
>>>
>>> She already has PBS.  Apparently you didn't read her posts.
>>
>> She run jobs on a lab cluster and on her personal Debian laptop,
>> and she is not really aware of job scheduler [1]
>>
>> Jerome
>>
>> [1] personal communication.
> 
> We were in the same lab two years ago.
> 
> He was/is my teacher.

Ahh, ok.  The "inside knowledge" now makes sense. :)  Jerome, Lina
mentioned qsub, so I assumed she was aware of the job scheduler.  I take
it that you meant she's not aware of a job scheduler for laptop use?

-- 
Stan


-- 
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/4e3b243b.5050...@hardwarefreak.com



Re: Have blkid reports on newly added devices

2011-08-04 Thread Tom H
On Thu, Aug 4, 2011 at 4:32 PM, T o n g  wrote:
> On Thu, 04 Aug 2011 15:00:34 -0400, Tom H wrote:
>>>
>>> My newly inserted sdc1 has already been mounted, yet blkid can't report
>>> on it:
>>>
>>> $ df | grep sdc
>>> /dev/sdc1              3862528    428384   3434144  12% /mnt/camera
>>>
>>> $ blkid | grep sdc || echo no found
>>> no found
>>
>> Bypass the blkid cache with "-c /dev//null".
>
> $ blkid -p /dev/sdc1
> error: /dev/sdc1: No such file or directory
>
> $ blkid -c /dev//null | grep sdc || echo no found
> no found
>
> $ blkid -c /dev//null -p /dev/sdc1
>
> $ blkid -p /dev/sdc1
>
> $
>
> i.e., now no output. NB the /dev/sdc1 was mounted using
>
>  mount LABEL=xxx ...
>
> What do you get? Different than mine?

Sorry "/dev/null" not "/dev//null".

What's the output of "blkid -c /dev/null /dev/sdc1" as root?


--
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/CAOdo=szickiwk_o56c7gmg0xjtz7lqdkwad4smrkes7yoko...@mail.gmail.com



Re: Another problem

2011-08-04 Thread Robert P. J. Day
On Thu, 4 Aug 2011, Kevin Williams wrote:

>
> I got past the login but now it shows my username@debian20:$ what I do now

  apparently, the feature that lets you choose meaningful subject
lines is also broken.  i'd look into that.

rday


-- 
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/alpine.DEB.2.02.1108040558220.3625@localhost6.localdomain6



Debian Xorg server release version confusion

2011-08-04 Thread Tech Geek
Hello,

As per the Xorg website [1], the latest stable release is 7.6 which
happened on 20 December 2010 and the next stable release will be 7.7
[2] somewhere in 2011 (which is not out yet).

So my question is how come Debian Squeeze (stable) has Xorg server
(xserver-xorg-core) 7.7 [3] already if the 7.7 is still under
development. However, if you see xserver-xorg [4], it says 7.5.

Can somebody care to explain what is happening here?

[1] http://www.x.org/wiki/Releases/7.6
[2] http://www.x.org/wiki/Releases/7.7
[3] http://packages.debian.org/squeeze/xserver-xorg-core
[4] http://packages.debian.org/squeeze/xserver-xorg


-- 
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/CALXXvm7=2hjqjlz+bgvbfr1cqsrrbz5umsxfwy8cgm+an8b...@mail.gmail.com



Re: Booting Debian

2011-08-04 Thread Lisi
On Thursday 04 August 2011 11:52:55 Kevin Williams wrote:
> I'm running debian 6.0 I think someone told me to do this a while back but
> didn't what he was taking about.I need to boot up gnome any other type of
> desktop visualizer so I can get out of this command prompt

You hadn't mentioned that you have a command prompt!

Type "startx" without the quotation marks.  If nothing happens, you probably 
haven't got a desktop.

You still don't say what medium you used for the installation, so it is 
difficult to advise you on what exactly to do next if startx doesn't produce 
a GUI desktop/window manager.

It is also hard to diagnose what went wrong without knowing what you did!  
Give me some more information and I will try to help - but you are still not 
giving me enough. 

Basically, the best thing to do may well be to start the installation again, 
but if the same thing goes wrong you will just get back to where you are now.  
So try to tell us what you did!

I don't think that any of us are psychics. :-/

Lisi



-- 
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/201108042244.30327.lisi.re...@gmail.com



Re: Some coaching on apt-get and downgrading Package gtk+-2.0

2011-08-04 Thread Randy Kramer
On Thursday 04 August 2011 03:52:49 pm Walter Hurry wrote:
> On Thu, 04 Aug 2011 19:46:44 +, Walter Hurry wrote:
> > Short answer: Because when you are running ./configure and see a
> > message saying "Package xyz was not found in the pkg-config search
> > path", it usually means (in Debian) that you need to install
> > xyz*-dev* (asterisks are for emphasis). xyz alone is not enough for
> > the build.
>
> To amplify: Read the error message and (as Eduardo says) do an
> apt-file search for the missing *file*.

Walter,

Thanks very much!  I learned a few things today (I hope ;-).  Among 
others, I didn't know that apt-file existed--I've now installed it.

Randy Kramer



-- 
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/201108041744.17692.rhkra...@gmail.com



Re: wicd

2011-08-04 Thread Mark Grieveson
> > IMHO it would be a good idea if software showed the status of this
> > button.
> >   
> 
> It would be a very nice feature, but I would be willing to bet money
> it's an order of magnitude more complicated to implement than it
> should be (it's hardware, after all), and the developer hours are
> probably better spent elsewhere, IMHO.


It does seem that KDE's version of NetworkManager does have this
feature.  But I digress.

To recap, on a new install on a Dell D600 Latitude laptop, I initially
installed lxde, and tried to set up wicd, but this did not work.  So, I
installed the default (gnome) and did get the network-manager to find
wireless.  I then discovered that the Fn button in conjunction with F2
(easily hit from using Alt-F2 to run applications) would deactivate the
computer's ability to find wireless connections.  So, with this
knowledge, I tried to remove gnome and install lxde, borking up the
system. So, I did a fresh reinstall of the lxde option, to give it
another go.

BUT, this time around, the install did not give the option to install
the non-free firmware files from a usb stick.  It just indicates with
the install that no network devices (wired or wireless) were found.
This is also the case with gnome and kde installs.  I'm going to try
once again with lxde and wicd, and see.

Mark


-- 
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/20110804170720.15cb3...@torfree.net



Re: Some coaching on apt-get and downgrading Package gtk+-2.0

2011-08-04 Thread Walter Hurry
On Thu, 04 Aug 2011 19:46:44 +, Walter Hurry wrote:

> On Thu, 04 Aug 2011 15:33:49 -0400, Randy Kramer wrote:
> 
>> Eduardo,
>> 
>> Thanks, that worked perfectly, but, how did you know that, especially
>> so quickly?
>> 
>> Randy Kramer
>> 
>> On Thursday 04 August 2011 08:52:24 am Eduardo M KALINOWSKI wrote:
>>> On Qui, 04 Ago 2011, Randy Kramer wrote:
>>> > Yesterday, my build started failing with messages like this:
>>> >
>>> > "Package gtk+-2.0 was not found in the pkg-config search path.
>>> > Perhaps you should add the directory containing `gtk+-2.0.pc' to the
>>> > PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found
>>> > make: Nothing to be done for `all'."
>>>
>>> The only thing you need is the gtk+2 2.0 devel package:
>>>
>>> libgtk2.0-dev
>>>
>>> apt-file search gtk+-2.0.pc indicates to which package that file
>>> belongs.
> 
> Short answer: Because when you are running ./configure and see a message
> saying "Package xyz was not found in the pkg-config search path", it
> usually means (in Debian) that you need to install xyz*-dev* (asterisks
> are for emphasis). xyz alone is not enough for the build.

To amplify: Read the error message and (as Eduardo says) do an apt-file 
search for the missing *file*.



-- 
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/j1etah$hrh$2...@dough.gmane.org



Re: Some coaching on apt-get and downgrading Package gtk+-2.0

2011-08-04 Thread Walter Hurry
On Thu, 04 Aug 2011 15:33:49 -0400, Randy Kramer wrote:

> Eduardo,
> 
> Thanks, that worked perfectly, but, how did you know that, especially so
> quickly?
> 
> Randy Kramer
> 
> On Thursday 04 August 2011 08:52:24 am Eduardo M KALINOWSKI wrote:
>> On Qui, 04 Ago 2011, Randy Kramer wrote:
>> > Yesterday, my build started failing with messages like this:
>> >
>> > "Package gtk+-2.0 was not found in the pkg-config search path.
>> > Perhaps you should add the directory containing `gtk+-2.0.pc' to the
>> > PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found
>> > make: Nothing to be done for `all'."
>>
>> The only thing you need is the gtk+2 2.0 devel package:
>>
>> libgtk2.0-dev
>>
>> apt-file search gtk+-2.0.pc indicates to which package that file
>> belongs.

Short answer: Because when you are running ./configure and see a message 
saying "Package xyz was not found in the pkg-config search path", it 
usually means (in Debian) that you need to install xyz*-dev* (asterisks 
are for emphasis). xyz alone is not enough for the build.



-- 
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/j1esv4$hrh$1...@dough.gmane.org



Re: GDM3's prejudiced against a picture of me

2011-08-04 Thread Arnt Karlsen
On Thu, 04 Aug 2011 16:12:13 +0100, Alan wrote in message 
<4e3ab6cd.2050...@chandlerfamily.org.uk>:

> On 04/08/11 14:56, Camaleón wrote:
> > On Thu, 04 Aug 2011 08:13:39 +0100, Alan Chandler wrote:
> 
> >> I always had a picture on my old computer.  When I got the new one
> >> I copied my entire "home" to the new account and it started
> >> "occasionally" working.
> >>
> >> I can't remember now = but I have a recollection that I then reset
> >> it in System/Preferences but I am not sure now - the only place I
> >> can see to do that is "About Me"
> >
> > Was the old account also using GDM3? Many changes have been done
> > from GDM to GDM3 :-? Also, recheck your "~/.face" directory,
> > selected image should be placed there.
> 
> Yes I was using GDM3 in the old computer and GDM3 did not have any 
> problem always displaying my face.

..which version gdm3 did you have on your old box, and which version 
on your new box?  I ask because I'm offered 2.30.5-6squeeze3 and
2.30.5-6squeeze2 on my squeeze eeepc and 3.0.4-2 and 2.30.5-10 on
my sid+experimental laptop.   "Things may have changed."


> ~/.face is a file not a directory - its a png image of me that I am 
> trying to display
> 
> it is mode 644 owned (and group) by me.
> 
> 
> 


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
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/20110804213813.249b96a6@celsius.local



Re: Some coaching on apt-get and downgrading Package gtk+-2.0

2011-08-04 Thread Randy Kramer
Eduardo,

Thanks, that worked perfectly, but, how did you know that, especially so 
quickly? 

Randy Kramer

On Thursday 04 August 2011 08:52:24 am Eduardo M KALINOWSKI wrote:
> On Qui, 04 Ago 2011, Randy Kramer wrote:
> > Yesterday, my build started failing with messages like this:
> >
> > "Package gtk+-2.0 was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `gtk+-2.0.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'gtk+-2.0' found
> > make: Nothing to be done for `all'."
>
> The only thing you need is the gtk+2 2.0 devel package:
>
> libgtk2.0-dev
>
> apt-file search gtk+-2.0.pc indicates to which package that file
> belongs.








-- 
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/201108041533.50002.rhkra...@gmail.com



Re: Have blkid reports on newly added devices

2011-08-04 Thread Tom H
On Thu, Aug 4, 2011 at 1:55 PM, T o n g  wrote:
>
> How can I make blkid reports on newly added devices (eg, usb-pen)?
>
> My newly inserted sdc1 has already been mounted, yet blkid can't report
> on it:
>
> $ df | grep sdc
> /dev/sdc1              3862528    428384   3434144  12% /mnt/camera
>
> $ blkid | grep sdc || echo no found
> no found

Bypass the blkid cache with "-c /dev//null".


--
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/CAOdo=szaecgkhowszfnejloua3xvklcxmruvad6bvl3pvxv...@mail.gmail.com



Re: What are you talking about

2011-08-04 Thread shawn wilson
On Aug 4, 2011 1:04 PM, "Leonardo Ruoso"  wrote:
>
> 2011/8/4 Kevin Williams 
>>
>> I was just trying to boot up my laptop I'm studying computer science when
I get to college next year.
>
> May be you should consider another career... Surely you can study CS
anyway, but you'll need to teach yourself a lot more... Technology is
changing everyday...
>
> Telecommunications is a lot more stable than CS e even there I studied
analog switches and now I install and see Asterisk everywhere.
I've said that most cs majors can't tell their elbows from well, maybe
they do teach you how to read... maybe.

>>
>> so I decided to get to know linux so I can know something before college
and my friend told me out was hard to listen so I figured I should learn
know then later. Now my laptop isn't booting up to debian and I don't know
what I'm doing
>
> Why can't you follow the documentation (howto) like everybody else... you
can even try Ubuntu... My wife's laptop is a Debian one, even my 4 year girl
use it every day and is having a lot of fun.

If he's coming from windows, I'd go: mingw, virtualbox, actual install. I
don't think a GUI teaches anyone anything. Otoh, he doesn't have to start on
slackware spending hours learning the XF86Config file to get to a 'decent'
web browser (being Netscape at the time).

There's another side to this though. Computers are a lot like language, the
best way to learn them is to emerge yourself in them and if you don't have a
goal you won't learn very well.

>
> You may find that the world is more friendly today than was when I started
typing my own games in a storageless TK85... I really loved the MSX and you
can't imagine what having a hard disk has mean to a technology student just
a few years ago... Unix is just great and easy to hack...
>

Hmmm, that might have been a bit before me but I do remember the 8088 and
when they got a hdd and modem for a //e at my school. Good stuff. I also
remember everyone being banned from telnet because someone used it to mess
with the school's email server. How things have changed.


Re: Have blkid reports on newly added devices

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 17:55:19 +, T o n g wrote:

> How can I make blkid reports on newly added devices (eg, usb-pen)?
> 
> My newly inserted sdc1 has already been mounted, yet blkid can't report
> on it:
> 
> $ df | grep sdc
> /dev/sdc1  3862528428384   3434144  12% /mnt/camera
> 
> $ blkid | grep sdc || echo no found
> no found
> 
> Any workaround?

Have you tested with "-p"? :-?

***
-p Switch to low-level probing mode (bypass cache)
***

blkid -p /dev/sdc1

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.18.49...@gmail.com



Re: Recovering from MKFS

2011-08-04 Thread Camaleón
El 2011-08-04 a las 14:08 -0400, Ethan Rosenberg escribió:

(resending to the list)

> At 12:15 PM 8/4/2011, you wrote:
>> On Thu, 04 Aug 2011 11:59:22 -0400, Ethan Rosenberg wrote:
>>
>> > I ran mkfs -L on an external usb drive, hoping to change it's name,
>> > which it did.  It, of course, rewrote the inode tables, which I did not
>> > realize that it would, and I cannot find my files on the disk.  Is there
>> > any way to recover the files?
>>
>> I would try with a LiveCD containing Photorec:
>>
>> http://en.wikipedia.org/wiki/PhotoRec
>>
>
> Thanks.
>
> Will PhotoRec recover all files, or just those in Linux or graphics 
> format?  The drive is partitioned into ext3 and vfat.

It will scan the whole disk and try to recover all of the files it 
founds. Because of the filesystems are ext3 and vfat (which seem to be 
fully supported by the app) my guess is that it will do its best :-)

Greetings,

-- 
Camaleón 


-- 
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/20110804183247.gb10...@stt008.linux.site



Re: KDE4.4 desktop customization for multiple users.

2011-08-04 Thread Sthu Deus
Thank You for Your great work You have performed, Scott,
among other You wrote:

>I copied the files as root to /etc/skel in the first place so
>permissions are as they should be. No chmod required
>
>NOTE: I don't have session saving enabled and I remove all histories
>before copying the modelusers .kde files to /etc/skel. All this does is
>allow me to have new users inherit styles, themes and configs - *not*
>enforce non-default permissions.

I still can not understand the permission problem - how You bypass it -
for, having copied the model user files and having some of them, the
dir.s permission set to 700 (for example, ~/.kde/share) - how a newly
created user can ever read from those dir.s and copy the files/dir.s to
its home dir.?

I do not need a script to perform such simple task here (sorry, but
others may ever need it as it is stored in the list archive) - just
want to understand how things work.


-- 
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/4e3ae1e7.8c3bd80a.2592.6...@mx.google.com



Re: cups usbfs: process .... (usb) did not claim interface 1 before use

2011-08-04 Thread Pascal Dormeau
> where do I find the older version in the debian repo?

http://snapshot.debian.org/

Is it an HP printer ?
The kernel message you gave makes me think of a similar problem known
upstream http://www.cups.org/str.php?L3884+Qversion:1.5

Best regards

Pascal Dormeau


-- 
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/20110804195425.e81490126b91d153da444...@free.fr



Re: What are you talking about

2011-08-04 Thread Leonardo Ruoso
2011/8/4 Kevin Williams 

> I was just trying to boot up my laptop I'm studying computer science when I
> get to college next year.
>
May be you should consider another career... Surely you can study CS anyway,
but you'll need to teach yourself a lot more... Technology is changing
everyday...

Telecommunications is a lot more stable than CS e even there I studied
analog switches and now I install and see Asterisk everywhere.

>  so I decided to get to know linux so I can know something before college
> and my friend told me out was hard to listen so I figured I should learn
> know then later. Now my laptop isn't booting up to debian and I don't know
> what I'm doing
>
Why can't you follow the documentation (howto) like everybody else... you
can even try Ubuntu... My wife's laptop is a Debian one, even my 4 year girl
use it every day and is having a lot of fun.

You may find that the world is more friendly today than was when I started
typing my own games in a storageless TK85... I really loved the MSX and you
can't imagine what having a hard disk has mean to a technology student just
a few years ago... Unix is just great and easy to hack...

-- 
Leonardo Ruoso - Jornalista/Desenvolvedor
Assessoria de Imprensa. Consultoria de Marketing. Desenvolvimento e
Integração de Software.
Comunicação Social/Jornalismo - UFC/2006. Telecomunicações - ETFCE/1998.
Foos, Perl, Debian Gnu/Linux, Agile, UML, DBA e OOP. Coaching/NLP. Inglês e
Francês.
http://leonardo.ruoso.com - http://www.linkedin.com/in/lruoso


Re:

2011-08-04 Thread shawn wilson
On Thu, Aug 4, 2011 at 10:38, Emiliano  wrote:
> On 04/08/11 07:49, Kevin Williams wrote:
>
> I switch back to windows after searching for it for about twenty minutes
> thanks to anyone who tried to help me and for the idiots who had something
> to say about me being a troll. Y'all do realize the only way to stop a troll
> is too ignore him right? Thanks again for everyone who tried too help
> me.I'll try this out again once I have done my research
>
> Kevin for beginners I recommend try with Ubuntu, it's much easier to
> install. And if you have questions, try to google first and then if you
> can't get an answer, use the mailing list.

yes, when students do their homework before class, the professor is
more likely to respond favorably to the student :)


-- 
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/cah_obiebm6vz1ruyd3dnh_+vuwnwxpd1q4ac3vlg2nfvq_k...@mail.gmail.com



Re:

2011-08-04 Thread Emiliano

On 04/08/11 07:49, Kevin Williams wrote:


I switch back to windows after searching for it for about twenty 
minutes thanks to anyone who tried to help me and for the idiots who 
had something to say about me being a troll. Y'all do realize the only 
way to stop a troll is too ignore him right? Thanks again for everyone 
who tried too help me.I'll try this out again once I have done my research


Kevin for beginners I recommend try with Ubuntu, it's much easier to 
install. And if you have questions, try to google first and then if you 
can't get an answer, use the mailing list.


Could not perform immediate configuration.

2011-08-04 Thread Sthu Deus
Good time of the day.

I try to install perl from testing repo but the following error:

Could not perform immediate configuration on 'perl'. Please see man 5
apt.conf under APT::Immediate-Configure for details.

I did try to enable/disable the parameter in /etc/apt.conf but w/o
success.

How I can do this? - In the found pages on the web they suggest to make
sidt-upgrade but would not upgrade the dist...


Thanks for Your time.


-- 
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/4e3ad452.02cae30a.223d.6...@mx.google.com



Re: thread issue

2011-08-04 Thread lina
On Fri, Aug 5, 2011 at 12:31 AM, Jerome BENOIT  wrote:
> Hello List:
>
> On 04/08/11 18:26, Stan Hoeppner wrote:
>>
>> On 8/4/2011 11:03 AM, Jerome BENOIT wrote:
>>>
>>> Hello List:
>>>
>>> just use a job scheduler as SLURM:
>>>
>>> http://packages.debian.org/wheezy/slurm-llnl
>>
>> She already has PBS.  Apparently you didn't read her posts.
>
> She run jobs on a lab cluster and on her personal Debian laptop,
> and she is not really aware of job scheduler [1]
>
> Jerome
>
> [1] personal communication.

We were in the same lab two years ago.

He was/is my teacher.

>>
>
>
> --
> 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/4e3ac95c.7050...@rezozer.net
>
>



-- 
Best Regards,

lina


--
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/CAG9cJmm-2nvvFUYUaaOFQnqwk_O=vvg41qtfwhpmw722axr...@mail.gmail.com



Re: thread issue

2011-08-04 Thread lina
Thanks for your asking.

On Fri, Aug 5, 2011 at 12:24 AM, Stan Hoeppner  wrote:
> On 8/4/2011 10:42 AM, lina wrote:
>
>> Actually the nice-concern was in cluster.
> ...
>> I can't use qsub or mpi
>
> Full stop.  Time to give us more background Lina.  You've not been
> forthcoming.  :)  I'm seeing "cluster" and "mpi" for the first time in
> this thread, and we're some ~30 posts deep.  You should have given us
> more detailed information about your platform in your first post.
> Please answer these questions:
>
> 1.  What job (app) are you wanting to run?
> 2.  On every node in the cluster or just one, or a few?
> 3.  How frequently do you plan on running this program in future?
>    i.e. will this be a daily/weekly/monthly job?
> 4.  Why are you now manually running this job on an individual node?
> 5.  Why won't this job work with PBS?

I will try answer your questions in general.

The heavy job was running on those nodes, now left the analysis job.
which is very very short compared the big job.

The HPC is not free which is bad ( for me), and the analysis process
is not parallel yet.

actually my problem has already solved, but I am interesting in
reading all the further knowledgable discussions.
>
> Given that this list is primarily staffed by desktop weenies ;), I'm
> surprised you're asking for advice here, instead of on a Linux cluster
> oriented or other list more appropriate to your situation.

I posted on bash list, but for a long period, no answer.
Frankly speaking, at beginning when I decided to ask,
I worried that might be blamed for posting a bit off-topic.
But I did wish to get the answer, a simple "&" is a valuable sign I
learned from this posting.

at beginning, I barely read those emails from list cause lots I didn't
understand, mainly for deleting.
but gradually I am kind of like this list.
started to read those emails and discussions and feel kind of like
this list very much.
>
> --
> Stan
>
>
> --
> 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/4e3ac7a6.6040...@hardwarefreak.com
>
>



-- 
Best Regards,

lina


--
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/CAG9cJmkvO+4uhAtMGYrj3vX=qzjcugdtkhmeb1c4etugntc...@mail.gmail.com



[SOLVED] Running Wireshark as non-root in Squeeze

2011-08-04 Thread Tony van der Hoff

On 04/08/11 16:08, Camaleón wrote:

Configure as readme file says :-)

It seems there are two ways to setup wireshark (from readme file):

***
I./a. Installing dumpcap and allowing non-root users to capture packets
I./b. Installing dumpcap without allowing non-root users to capture
packets

The installation method can be changed any time by running:
dpkg-reconfigure wireshark-common
***



Bah! I misread that; probably too hasty :( I've been trying to 
dpkg-reconfigure wireshark (not common) with understandably little success.


I did the right thing; the wireshark group appeared, I added my user to 
it, and it all works fine!


Thank you so much for your ever-useful on the nail help, Cameleón.

Now to sort out my network problem ;(

Cheers
--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


--
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/4e3ac979.3020...@vanderhoff.org



Re: Recovering from MKFS

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 16:23:29 +, Walter Hurry wrote:

> On Thu, 04 Aug 2011 16:15:06 +, Camaleón wrote:
> 
>> On Thu, 04 Aug 2011 11:59:22 -0400, Ethan Rosenberg wrote:
>> 
>>> I ran mkfs -L on an external usb drive, hoping to change it's name,
>>> which it did.  It, of course, rewrote the inode tables, which I did
>>> not realize that it would, and I cannot find my files on the disk.  Is
>>> there any way to recover the files?
>> 
>> I would try with a LiveCD containing Photorec:
>> 
>> http://en.wikipedia.org/wiki/PhotoRec
> 
> The filesystem in question is on an external USB drive, so if OP's root
> filesystem is on an internal drive, and OP specifies a directory not on
> the USB for the recovered files, maybe there is no need to use a LiveCD?

I don't like installing programs that I rarely use, hence the LiveCD 
suggestion. Besides, running from a LiveCD provides an extra of security 
because internal hard disks won't be accesible unless explicitely/
manually mounted, or at least you can unmount them at all to avoid an 
"incidental" damage ("fat fingers" attack at the worst moment...) :-)

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.16.37...@gmail.com



Re: thread issue

2011-08-04 Thread Jerome BENOIT

Hello List:

On 04/08/11 18:26, Stan Hoeppner wrote:

On 8/4/2011 11:03 AM, Jerome BENOIT wrote:

Hello List:

just use a job scheduler as SLURM:

http://packages.debian.org/wheezy/slurm-llnl


She already has PBS.  Apparently you didn't read her posts.


She run jobs on a lab cluster and on her personal Debian laptop,
and she is not really aware of job scheduler [1]

Jerome

[1] personal communication.  






--
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/4e3ac95c.7050...@rezozer.net



Re: Cups: printer installed but not printing

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 17:06:48 +0100, Anthony Campbell wrote:

> On 04 Aug 2011, Brian wrote:
>> On Thu 04 Aug 2011 at 14:09:45 +0100, Anthony Campbell wrote:
>> 
>> > But what IS the default print queue in Cups? I can't find that
>> > specified in any of the docs I've looked at. Or do I just create it?
>> 
>> At http://localhost:631/printers/ there should be a 'Set As Default'
>> option.
>> 
>> 
>> 
> I did that but still I get the error message with lpr -no default
> destination.

Show us the output of:

lpr -P your_printer /etc/hosts

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.16.30...@gmail.com



Re: Cups: printer installed but not printing - SOLVED

2011-08-04 Thread Anthony Campbell
On 04 Aug 2011, Dom wrote:
> 
> To show the current default queue: lpstat -d
> 
> To list and show the status of all queues: lpstat -a
> 
> To set the CUPS default queue: lpadmin -d queuename
> 
> -- 
> Dom
> 
> 

Thanks to everyone for patience and replies. Printing is now working
following suggestions supplied.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks
at http://www.smashwords.com/profile/view/acampbell


-- 
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/20110804162932.gc2...@ithaca.acampbell.org.uk



Re: thread issue

2011-08-04 Thread Stan Hoeppner
On 8/4/2011 11:03 AM, Jerome BENOIT wrote:
> Hello List:
> 
> just use a job scheduler as SLURM:
> 
> http://packages.debian.org/wheezy/slurm-llnl

She already has PBS.  Apparently you didn't read her posts.

-- 
Stan


-- 
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/4e3ac826.5020...@hardwarefreak.com



Re: thread issue

2011-08-04 Thread Stan Hoeppner
On 8/4/2011 10:42 AM, lina wrote:

> Actually the nice-concern was in cluster.
...
> I can't use qsub or mpi

Full stop.  Time to give us more background Lina.  You've not been
forthcoming.  :)  I'm seeing "cluster" and "mpi" for the first time in
this thread, and we're some ~30 posts deep.  You should have given us
more detailed information about your platform in your first post.
Please answer these questions:

1.  What job (app) are you wanting to run?
2.  On every node in the cluster or just one, or a few?
3.  How frequently do you plan on running this program in future?
i.e. will this be a daily/weekly/monthly job?
4.  Why are you now manually running this job on an individual node?
5.  Why won't this job work with PBS?

Given that this list is primarily staffed by desktop weenies ;), I'm
surprised you're asking for advice here, instead of on a Linux cluster
oriented or other list more appropriate to your situation.

-- 
Stan


-- 
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/4e3ac7a6.6040...@hardwarefreak.com



Re: Recovering from MKFS

2011-08-04 Thread Walter Hurry
On Thu, 04 Aug 2011 16:15:06 +, Camaleón wrote:

> On Thu, 04 Aug 2011 11:59:22 -0400, Ethan Rosenberg wrote:
> 
>> I ran mkfs -L on an external usb drive, hoping to change it's name,
>> which it did.  It, of course, rewrote the inode tables, which I did not
>> realize that it would, and I cannot find my files on the disk.  Is
>> there any way to recover the files?
> 
> I would try with a LiveCD containing Photorec:
> 
> http://en.wikipedia.org/wiki/PhotoRec
> 
> Greetings,
> 
> --
> Camaleón

The filesystem in question is on an external USB drive, so if OP's root 
filesystem is on an internal drive, and OP specifies a directory not on 
the USB for the recovered files, maybe there is no need to use a LiveCD?



-- 
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/j1eh21$rk4$3...@dough.gmane.org



Re: Recovering from MKFS

2011-08-04 Thread Walter Hurry
On Thu, 04 Aug 2011 11:59:22 -0400, Ethan Rosenberg wrote:

> Dear list -
> 
> I ran mkfs -L on an external usb drive, hoping to change it's name,
> which it did.  It, of course, rewrote the inode tables, which I did not
> realize that it would, and I cannot find my files on the disk.  Is there
> any way to recover the files?

Assuming that the filesystem is Ext2/3/4, e2label is, I believe, the 
option you wanted.

To recover, you might try TestDisk/PhotoRec.



-- 
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/j1egkl$rk4$2...@dough.gmane.org



Re: Recovering from MKFS

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 11:59:22 -0400, Ethan Rosenberg wrote:

> I ran mkfs -L on an external usb drive, hoping to change it's name,
> which it did.  It, of course, rewrote the inode tables, which I did not
> realize that it would, and I cannot find my files on the disk.  Is there
> any way to recover the files?

I would try with a LiveCD containing Photorec:

http://en.wikipedia.org/wiki/PhotoRec

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.16.15...@gmail.com



Re: Cups: printer installed but not printing

2011-08-04 Thread Anthony Campbell
On 04 Aug 2011, Brian wrote:
> On Thu 04 Aug 2011 at 14:09:45 +0100, Anthony Campbell wrote:
> 
> > But what IS the default print queue in Cups? I can't find that specified
> > in any of the docs I've looked at. Or do I just create it?
> 
> At http://localhost:631/printers/ there should be a 'Set As Default'
> option.
> 
> 

I did that but still I get the error message with lpr -no default
destination.

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks
at http://www.smashwords.com/profile/view/acampbell


-- 
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/20110804160648.gb2...@ithaca.acampbell.org.uk



Re: thread issue

2011-08-04 Thread Walter Hurry
On Thu, 04 Aug 2011 10:59:58 -0500, Stan Hoeppner wrote:

> On 8/4/2011 10:34 AM, Walter Hurry wrote:
>> On Thu, 04 Aug 2011 16:28:41 +0100, Darac Marjal wrote:
>> 
>>> On Thu, Aug 04, 2011 at 10:23:08PM +0800, lina wrote:
 Thanks for suggestions,

 Actually I got a job which contains several small jobs inside.

 if run the bash script, it will do those one by one and it is pretty
 slow, waiting ...

 I can run each small jobs separately, but use a bash script kind of
 easy to make some changes in amount and manage.

 I just wonder are there some simple way to do it?
>>>
>>> What you could try is converting your bash script to a makefile, you
>>> can then let make do the work of parallelizing your jobs with "make -j
>>> 8 -f yourmakefile".
>> 
>> That's a clever use of make. Wish I'd thought of that!
> 
> Simply backgrounding the processes in the existing shell script is
> easier.  Using the make file option is simply extra work with no gain. I
> do know of other cases where the make file option is better.  Just not
> this case.

OK, fair point.

Nevertheless, I must try to remember that make is for lists of 
interdependent tasks, not just for compiling programs and so forth. 
Darac's suggestion (as far as I am concerned) is a good example of 
lateral thinking, even if it may not be the optimal solution in this 
particular case.



-- 
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/j1eg23$rk4$1...@dough.gmane.org



Re: thread issue

2011-08-04 Thread Jerome BENOIT

Hello List:

just use a job scheduler as SLURM:

http://packages.debian.org/wheezy/slurm-llnl

Jerome

On 04/08/11 16:23, lina wrote:

Thanks for suggestions,

Actually I got a job which contains several small jobs inside.

if run the bash script, it will do those one by one and it is pretty
slow, waiting ...

I can run each small jobs separately, but use a bash script kind of
easy to make some changes in amount and manage.

I just wonder are there some simple way to do it?

another question, if I don't have root previlege, can I adjust my nice
level in some cluster? I noticed mine NI was kind of 19, totally crazy
slow.

On Thu, Aug 4, 2011 at 10:15 PM, Frank Lanitz  wrote:

Am 04.08.2011 15:12, schrieb lina:

Hi,

I noticed when make -j 8, the 8 cores can be fully occupied.

can I use some way to enable 8 cores at the same time when I run
something, such as a bash script?


Hard to say as it depends on the software you are running. On shell
scripts you might can do it by intelligent forking of processes doing
the single tasks.


How can I fork of processes doing each single tasks?


Other applications do need to support multi threading in most cases
already inside source code.

Cheers,
Frank


--
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/4e3aa979.7010...@frank.uvena.de









--
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/4e3ac2ba.7090...@rezozer.net



Re: thread issue

2011-08-04 Thread Stan Hoeppner
On 8/4/2011 10:34 AM, Walter Hurry wrote:
> On Thu, 04 Aug 2011 16:28:41 +0100, Darac Marjal wrote:
> 
>> On Thu, Aug 04, 2011 at 10:23:08PM +0800, lina wrote:
>>> Thanks for suggestions,
>>>
>>> Actually I got a job which contains several small jobs inside.
>>>
>>> if run the bash script, it will do those one by one and it is pretty
>>> slow, waiting ...
>>>
>>> I can run each small jobs separately, but use a bash script kind of
>>> easy to make some changes in amount and manage.
>>>
>>> I just wonder are there some simple way to do it?
>>
>> What you could try is converting your bash script to a makefile, you can
>> then let make do the work of parallelizing your jobs with "make -j 8 -f
>> yourmakefile".
> 
> That's a clever use of make. Wish I'd thought of that!

Simply backgrounding the processes in the existing shell script is
easier.  Using the make file option is simply extra work with no gain.
I do know of other cases where the make file option is better.  Just not
this case.

-- 
Stan


-- 
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/4e3ac1fe.70...@hardwarefreak.com



Recovering from MKFS

2011-08-04 Thread Ethan Rosenberg

Dear list -

I ran mkfs -L on an external usb drive, hoping to change it's name, 
which it did.  It, of course, rewrote the inode tables, which I did 
not realize that it would, and I cannot find my files on the 
disk.  Is there any way to recover the files?


Thanks.

Ethan

Debian 6.0.1a  squeeze(sid) 




--
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/0lpe002riv2yc...@mta2.srv.hcvlny.cv.net



Re: thread issue

2011-08-04 Thread Stan Hoeppner
On 8/4/2011 10:33 AM, Darac Marjal wrote:
> On Thu, Aug 04, 2011 at 10:28:01AM -0500, Stan Hoeppner wrote:
>> On 8/4/2011 9:40 AM, lina wrote:
>>> On Thu, Aug 4, 2011 at 10:29 PM, Robert Baron
>>>  wrote:
 have you tried adding an '&' to the tasks you think can be run in
 parallel (as in running them in the background (ie 'mycmd myargs &'))?
>>>
>>> Thanks,
>>>
>>> "&" is cool.
>>> now is fully running, but, there is another thing slow it down, the
>>> nice level is 19. why is it so high? are there some root's setting?
>>
>> Nice levels can be deceiving to those who don't understand how kernel
>> scheduling works.  For example, it is possible, and happens all the time
>> really, that a program with a nice level of 19 will fully consume 100%
>> of a processor's time until the program completes.
>>
>> The only time nice comes into play is when scheduling contention exists.
>>  This only occurs when there are more ready-to-run processes/threads
>> than available processor time slice slots.  On an 8 processor desktop
>> with the default 1000Hz scheduler you have 8,000 scheduling slices per
>> second.  So unless your system has 8,001 ready to run processes every
>> second, that nice level 19 process will get all the CPU time it needs.
>>
>> Nice is a relic of early UNIX when businesses and universities would
>> have dozens to hundreds of concurrent users on serial TTY terminals
>> running programs on a shared single processor machine.  Nice allowed
>> administrators to provide "fair" access to all users, or to make sure a
>> critical batch job got the cycles it needed, even with many users
>> running their programs.  On today's multi-core desktops, nice is
>> literally irrelevant.  This is actually the case for most business
>> UNIX/Linux systems as well, as almost all of them have excess processor
>> capacity for their actual workloads.
> 
> I wouldn't say that nice is completely irrelevant. I run BOINC on my
> desktop machine and rely on the BOINC tasks having more nice (if I can
> take the opportunity to butcher English) than other tasks such as the
> web browser, the window manager and so on.
> 
> Doing so also allows me to tell my CPU scheduler to ignore niced
> processes and only spin up the CPU to full speed when an important task
> wants it (as opposed to always running at full speed doing the BOINC
> calculations).

Thanks for pointing out the exception to the rule.  I would think
affinity (taskset) is likely more popular with BOINC users than nice,
though.  I guess you simply don't want an idle core, ever.  Must be hard
on your electric bill. ;)

-- 
Stan


-- 
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/4e3ac117.2050...@hardwarefreak.com



Re: thread issue

2011-08-04 Thread Darac Marjal
On Thu, Aug 04, 2011 at 11:37:57PM +0800, lina wrote:
> On Thu, Aug 4, 2011 at 11:28 PM, Darac Marjal  
> wrote:
> > On Thu, Aug 04, 2011 at 10:23:08PM +0800, lina wrote:
> >> Thanks for suggestions,
> >>
> >> Actually I got a job which contains several small jobs inside.
> >>
> >> if run the bash script, it will do those one by one and it is pretty
> >> slow, waiting ...
> >>
> >> I can run each small jobs separately, but use a bash script kind of
> >> easy to make some changes in amount and manage.
> >>
> >> I just wonder are there some simple way to do it?
> >
> > What you could try is converting your bash script to a makefile, you can
> > then let make do the work of parallelizing your jobs with "make -j 8
> > -f yourmakefile".
> 
> Thanks,
> 
> how to convert a bash script to a makefile?

http://lmddgtfy.com/?q=makefile+howto

-- 
Paul Saunders


signature.asc
Description: Digital signature


Re: thread issue

2011-08-04 Thread lina
On Thu, Aug 4, 2011 at 11:28 PM, Stan Hoeppner  wrote:
> On 8/4/2011 9:40 AM, lina wrote:
>> On Thu, Aug 4, 2011 at 10:29 PM, Robert Baron
>>  wrote:
>>> have you tried adding an '&' to the tasks you think can be run in
>>> parallel (as in running them in the background (ie 'mycmd myargs &'))?
>>
>> Thanks,
>>
>> "&" is cool.
>> now is fully running, but, there is another thing slow it down, the
>> nice level is 19. why is it so high? are there some root's setting?
>
> Nice levels can be deceiving to those who don't understand how kernel
> scheduling works.  For example, it is possible, and happens all the time
> really, that a program with a nice level of 19 will fully consume 100%
> of a processor's time until the program completes.
>
> The only time nice comes into play is when scheduling contention exists.
>  This only occurs when there are more ready-to-run processes/threads
> than available processor time slice slots.  On an 8 processor desktop
> with the default 1000Hz scheduler you have 8,000 scheduling slices per
> second.  So unless your system has 8,001 ready to run processes every
> second, that nice level 19 process will get all the CPU time it needs.
>
> Nice is a relic of early UNIX when businesses and universities would
> have dozens to hundreds of concurrent users on serial TTY terminals
> running programs on a shared single processor machine.  Nice allowed
> administrators to provide "fair" access to all users, or to make sure a
> critical batch job got the cycles it needed, even with many users
> running their programs.  On today's multi-core desktops, nice is
> literally irrelevant.  This is actually the case for most business
> UNIX/Linux systems as well, as almost all of them have excess processor
> capacity for their actual workloads.

Actually the nice-concern was in cluster.

I noticed only run .sh a bit heavy staff, the nice level is 19. for
the TTY terminals is 0.

is it possible to deceive the .sh job as TTY terminals. (I should take
blame here cause thinking like this, but ...)

I can't use qsub or mpi here, the thread is the only option I got.

Thanks,
>
> --
> Stan
>
>
> --
> 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/4e3aba81.1070...@hardwarefreak.com
>
>



-- 
Best Regards,

lina


--
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/cag9cjmm134pug9oaakfprlavomvsm3echm279q2zduk13-q...@mail.gmail.com



Re: thread issue

2011-08-04 Thread lina
On Thu, Aug 4, 2011 at 11:28 PM, Darac Marjal  wrote:
> On Thu, Aug 04, 2011 at 10:23:08PM +0800, lina wrote:
>> Thanks for suggestions,
>>
>> Actually I got a job which contains several small jobs inside.
>>
>> if run the bash script, it will do those one by one and it is pretty
>> slow, waiting ...
>>
>> I can run each small jobs separately, but use a bash script kind of
>> easy to make some changes in amount and manage.
>>
>> I just wonder are there some simple way to do it?
>
> What you could try is converting your bash script to a makefile, you can
> then let make do the work of parallelizing your jobs with "make -j 8
> -f yourmakefile".

Thanks,

how to convert a bash script to a makefile?

>
> --
> Paul Saunders
>



-- 
Best Regards,

lina


-- 
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/cag9cjmkbjcb5btrzol-cwo-vzourm9xxkrafnafbnwm7p8o...@mail.gmail.com



Re: thread issue

2011-08-04 Thread Walter Hurry
On Thu, 04 Aug 2011 16:28:41 +0100, Darac Marjal wrote:

> On Thu, Aug 04, 2011 at 10:23:08PM +0800, lina wrote:
>> Thanks for suggestions,
>> 
>> Actually I got a job which contains several small jobs inside.
>> 
>> if run the bash script, it will do those one by one and it is pretty
>> slow, waiting ...
>> 
>> I can run each small jobs separately, but use a bash script kind of
>> easy to make some changes in amount and manage.
>> 
>> I just wonder are there some simple way to do it?
> 
> What you could try is converting your bash script to a makefile, you can
> then let make do the work of parallelizing your jobs with "make -j 8 -f
> yourmakefile".

That's a clever use of make. Wish I'd thought of that!



-- 
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/j1ee5l$h6s$1...@dough.gmane.org



Re: thread issue

2011-08-04 Thread Darac Marjal
On Thu, Aug 04, 2011 at 10:28:01AM -0500, Stan Hoeppner wrote:
> On 8/4/2011 9:40 AM, lina wrote:
> > On Thu, Aug 4, 2011 at 10:29 PM, Robert Baron
> >  wrote:
> >> have you tried adding an '&' to the tasks you think can be run in
> >> parallel (as in running them in the background (ie 'mycmd myargs &'))?
> > 
> > Thanks,
> > 
> > "&" is cool.
> > now is fully running, but, there is another thing slow it down, the
> > nice level is 19. why is it so high? are there some root's setting?
> 
> Nice levels can be deceiving to those who don't understand how kernel
> scheduling works.  For example, it is possible, and happens all the time
> really, that a program with a nice level of 19 will fully consume 100%
> of a processor's time until the program completes.
> 
> The only time nice comes into play is when scheduling contention exists.
>  This only occurs when there are more ready-to-run processes/threads
> than available processor time slice slots.  On an 8 processor desktop
> with the default 1000Hz scheduler you have 8,000 scheduling slices per
> second.  So unless your system has 8,001 ready to run processes every
> second, that nice level 19 process will get all the CPU time it needs.
> 
> Nice is a relic of early UNIX when businesses and universities would
> have dozens to hundreds of concurrent users on serial TTY terminals
> running programs on a shared single processor machine.  Nice allowed
> administrators to provide "fair" access to all users, or to make sure a
> critical batch job got the cycles it needed, even with many users
> running their programs.  On today's multi-core desktops, nice is
> literally irrelevant.  This is actually the case for most business
> UNIX/Linux systems as well, as almost all of them have excess processor
> capacity for their actual workloads.

I wouldn't say that nice is completely irrelevant. I run BOINC on my
desktop machine and rely on the BOINC tasks having more nice (if I can
take the opportunity to butcher English) than other tasks such as the
web browser, the window manager and so on.

Doing so also allows me to tell my CPU scheduler to ignore niced
processes and only spin up the CPU to full speed when an important task
wants it (as opposed to always running at full speed doing the BOINC
calculations).

-- 
Paul Saunders


signature.asc
Description: Digital signature


Re: thread issue

2011-08-04 Thread Darac Marjal
On Thu, Aug 04, 2011 at 10:23:08PM +0800, lina wrote:
> Thanks for suggestions,
> 
> Actually I got a job which contains several small jobs inside.
> 
> if run the bash script, it will do those one by one and it is pretty
> slow, waiting ...
> 
> I can run each small jobs separately, but use a bash script kind of
> easy to make some changes in amount and manage.
> 
> I just wonder are there some simple way to do it?

What you could try is converting your bash script to a makefile, you can
then let make do the work of parallelizing your jobs with "make -j 8
-f yourmakefile".

-- 
Paul Saunders


signature.asc
Description: Digital signature


Re: thread issue

2011-08-04 Thread Stan Hoeppner
On 8/4/2011 9:40 AM, lina wrote:
> On Thu, Aug 4, 2011 at 10:29 PM, Robert Baron
>  wrote:
>> have you tried adding an '&' to the tasks you think can be run in
>> parallel (as in running them in the background (ie 'mycmd myargs &'))?
> 
> Thanks,
> 
> "&" is cool.
> now is fully running, but, there is another thing slow it down, the
> nice level is 19. why is it so high? are there some root's setting?

Nice levels can be deceiving to those who don't understand how kernel
scheduling works.  For example, it is possible, and happens all the time
really, that a program with a nice level of 19 will fully consume 100%
of a processor's time until the program completes.

The only time nice comes into play is when scheduling contention exists.
 This only occurs when there are more ready-to-run processes/threads
than available processor time slice slots.  On an 8 processor desktop
with the default 1000Hz scheduler you have 8,000 scheduling slices per
second.  So unless your system has 8,001 ready to run processes every
second, that nice level 19 process will get all the CPU time it needs.

Nice is a relic of early UNIX when businesses and universities would
have dozens to hundreds of concurrent users on serial TTY terminals
running programs on a shared single processor machine.  Nice allowed
administrators to provide "fair" access to all users, or to make sure a
critical batch job got the cycles it needed, even with many users
running their programs.  On today's multi-core desktops, nice is
literally irrelevant.  This is actually the case for most business
UNIX/Linux systems as well, as almost all of them have excess processor
capacity for their actual workloads.

-- 
Stan


-- 
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/4e3aba81.1070...@hardwarefreak.com



Re: GDM3's prejudiced against a picture of me

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 16:12:13 +0100, Alan Chandler wrote:

> On 04/08/11 14:56, Camaleón wrote:

>> Was the old account also using GDM3? Many changes have been done from
>> GDM to GDM3 :-? Also, recheck your "~/.face" directory, selected image
>> should be placed there.
> 
> Yes I was using GDM3 in the old computer and GDM3 did not have any
> problem always displaying my face.
> 
> ~/.face is a file not a directory - its a png image of me that I am
> trying to display

A file? That's curious because system-wide folder for images is, well... 
a folder with images:

/usr/share/pixmaps/faces/*

> it is mode 644 owned (and group) by me.

Tried with a stocked image (/usr/share/pixmaps/faces/*) for your current 
profile? 

Another test you can do is creating a new user, assign it your own-made 
image and run some tests (re-logins) :-)

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.15.24...@gmail.com



Re: GDM3's prejudiced against a picture of me

2011-08-04 Thread Alan Chandler

On 04/08/11 14:56, Camaleón wrote:

On Thu, 04 Aug 2011 08:13:39 +0100, Alan Chandler wrote:



I always had a picture on my old computer.  When I got the new one I
copied my entire "home" to the new account and it started "occasionally"
working.

I can't remember now = but I have a recollection that I then reset it in
System/Preferences but I am not sure now - the only place I can see to
do that is "About Me"


Was the old account also using GDM3? Many changes have been done from GDM
to GDM3 :-? Also, recheck your "~/.face" directory, selected image should
be placed there.


Yes I was using GDM3 in the old computer and GDM3 did not have any 
problem always displaying my face.


~/.face is a file not a directory - its a png image of me that I am 
trying to display


it is mode 644 owned (and group) by me.



--
Alan Chandler
http://www.chandlerfamily.org.uk


--
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/4e3ab6cd.2050...@chandlerfamily.org.uk



Re: thread issue

2011-08-04 Thread Walter Hurry
On Thu, 04 Aug 2011 10:03:28 -0500, Stan Hoeppner wrote:

> (http://www.sgi.com/products/servers/altix/uv/)

I think I could afford to be *very* nice if I had one of those ;-)



-- 
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/j1ecq7$r9q$1...@dough.gmane.org



Re: Running Wireshark as non-root in Squeeze

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 15:37:46 +0100, Tony van der Hoff wrote:

> Thanks for your reply Cameleón.
> 
> On 04/08/11 15:26, Camaleón wrote:
>> On Thu, 04 Aug 2011 13:02:09 +0100, Tony van der Hoff wrote:
>>
>>> I'm trying to get Wireshark to work in non-root mode in Squeeze. There
>>> is a sort of how-to at /usr/share/doc/wireshark-common/README.Debian,
>>> but to be honest, I don't understand it.
>>
>> Mmm... did you configure it as "I.a" or "I.b"? Do you have a
>> customized/ vanilla kernel or Debian's stock one?
>>
> Configure what, how? I can find no configuration files.

Configure as readme file says :-)

It seems there are two ways to setup wireshark (from readme file):

***
I./a. Installing dumpcap and allowing non-root users to capture packets
I./b. Installing dumpcap without allowing non-root users to capture 
packets

The installation method can be changed any time by running:
dpkg-reconfigure wireshark-common
***

What did you select?

> Using Debian's stock amd64 kernel.

Then method I.a should work.

>> Readme file says that you have to manually add the users to wireshark
>> group. And I bet that running the app as root will also work.
>>
> Well, as I said, there is no wireshark group. Perhaps that is the
> problem.

My wild-guess is that selecting the install method I.a should have 
created the "wireshark" group accordingly or at least it what I would 
have expected :-?
 
> Running as root does indeed work, but pops up a dire warning that it's
> dangerous to do so. I don't particularly want to run as root.

Wireshark needs high priviledge access to network interfaces (like 
tcpdump and related tools) to put network adapter in promiscous mode so 
running the app as root has always been the usual method.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.15.08...@gmail.com



Re: thread issue

2011-08-04 Thread Stan Hoeppner
On 8/4/2011 9:15 AM, Frank Lanitz wrote:

> Other applications do need to support multi threading in most cases
> already inside source code.

Very few FOSS Linux applications are written with threads.  Those
needing it simply fork processes to achieve multiprocessor scalability.
 I've not done a study, but I'd make an educated guess that of the 20K+
packages shipped with Debian GNU/Linux, less than 100 use threads.
Those written with threads tend to be image processing applications and
simulation programs.  The Linux kernel itself is the most highly
threaded "program" in the ecosystem by many orders of magnitude.  The
kernel makes very heavy use of threads.  This is why it scales fairly
linearly to 2560+ processors.
(http://www.sgi.com/products/servers/altix/uv/)

-- 
Stan


-- 
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/4e3ab4c0.3070...@hardwarefreak.com



Re: thread issue

2011-08-04 Thread lina
Thanks for correct some concepts here.

On Thu, Aug 4, 2011 at 10:47 PM, Stan Hoeppner  wrote:
> On 8/4/2011 8:12 AM, lina wrote:
>> Hi,
>>
>> I noticed when make -j 8, the 8 cores can be fully occupied.
>>
>> can I use some way to enable 8 cores at the same time when I run
>> something, such as a bash script?
>
> This will fully answer your question, and then some:
> http://tldp.org/HOWTO/Parallel-Processing-HOWTO.html
>
> Multiprocessing has been around for many decades as well as the methods
> to program for it.  Most regular users simply never heard of it because
> only "business" machines had more than one processor.  A dual, quad, 6,
> 8, or 12 core CPU is simply a multiprocessor computer where all the
> processing units fit on a single chip, instead of many chips as in
> decades past.  From a programming standpoint, there is little difference
> from a 1980s multiprocessor UNIX machine and today's 8 core desktop.
> The term "processor" is used by systems programmers, not "core".  "Core"
> is a marketing term of CPU companies.  A "core" is a "processor".  A
> chip is NOT a processor unless it only has one core.  Get used to this
> terminology when discussing programming.  The term "core" does not exist
> in programming.  It is a hardware description, not a software
> description.  To the kernel, a "core" is a processor.
>
> The short short answer:  The Linux process scheduler will efficiently
> place processes and threads on hundreds of CPU cores for execution.  It
> is up to the programmer, sometimes the sysadmin or user, to generate the
> processes and threads, i.e. "the workload", necessary to occupy all
> processors in a machine.  If there is insufficient work to occupy all
> the processors, they will simply sit idle.
>
> 1. Write an application or script that forks or spawns a number of
> processes equal to or greater than the number of processors (CPU cores)
> in the system.  This is what 'make -j[x]' gives you when x is equal to
> or greater than the number of CPU cores.  Postfix spawns multiple smtpd
> and smtp processes for inbound/outbound mail delivery, allowing
> scalability across dozens of cores (although mail is rarely CPU bound).
>  The Apache web server forks dozens or hundreds of children allowing
> multiprocessor scalability.  These are but two examples of applications
> that can take advantage of a multiprocessor system.  Yes, a single CPU
> with many cores is a "multiprocessor".
>
> 2. Write an application that uses POSIX or Linux threads, creating one
> thread per CPU core in the machine.
>
> --
> Stan
>
>
> --
> 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/4e3ab117.3020...@hardwarefreak.com
>
>



-- 
Best Regards,

lina


--
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/CAG9cJmkqNo-REjznYZZkzmddkLDK9btLotLQM7=HXNi7=7j...@mail.gmail.com



Re: how to examine ssh problem

2011-08-04 Thread Alan Chandler

On 04/08/11 09:15, Ivan Shmakov wrote:

Alan Chandler  writes:


  >  (I actually have loads of these in my config file for all different
  >  combinations of username and host - I also tend to make different key
  >  pairs for each host which is why I am specifying an IdentityFile in
  >  each.)

Why?  The asymmetric cryptography employed by SSH is there
precisely to /not/ have multiple “secrets” on the side of the
party being authenticated.



Two things
1) Legacy through a desire to limit issues when I was carrying around 
the private key on a laptop,

2) Lack of thinking things through on my part.

What I should really do is consolidate down to one key for my static 
desktop and another key I am prepared to dispose of if the device its in 
gets lost.


I like to have a private key with no pass phrase to use within the 
privacy of my own home.  Obviously anything mobile needs a pass phrase 
to protect it.


--
Alan Chandler
http://www.chandlerfamily.org.uk


--
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/4e3ab3c0.8080...@chandlerfamily.org.uk



Re: Running Wireshark as non-root in Squeeze

2011-08-04 Thread shawn wilson
On Aug 4, 2011 7:39 AM, "Tony van der Hoff"  wrote:
>
> Hi,
>
> I'm trying to get Wireshark to work in non-root mode in Squeeze. There is
a sort of how-to at /usr/share/doc/wireshark-common/README.Debian, but to be
honest, I don't understand it.

I don't know about that doc (I'm on my phone). However, you need non-root
permissions to your Ethernet dev in order to directly work with it.
Personally, I like doing something like 'tcpdump -vvv -i eth > file' as root
and tshark or whatever with the file.

>
> I have no wireshark group, and apart from in that document I can find
nothing about dumpcap.

dumpcap... hmmm, I might have to look into that. Sounds like it generates
full pcap files without needing tcpdump switches.


Re: Billion 7800N

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 13:48:35 +1000, Heddle Weaver wrote:

> I've run into a few hiccups with a new modem, as specified in the
> subject line. 

This one?

http://au.billion.com/product/wireless/bipac7800n.php

> I simply can't access the modem interface with a browser,
> in order to configure it and yes, I've tried four different browsers. At
> this rate SID is going to be frozen before I get back online.

(...)

Manual says that your router is available at "192.168.1.254", so your 
network adapter has to have an IP address assigned inside that range. 

Have you tried to ping it?

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.14.55...@gmail.com



Re: Running Wireshark as non-root in Squeeze

2011-08-04 Thread Tony van der Hoff

Thanks for your reply Cameleón.

On 04/08/11 15:26, Camaleón wrote:

On Thu, 04 Aug 2011 13:02:09 +0100, Tony van der Hoff wrote:


I'm trying to get Wireshark to work in non-root mode in Squeeze. There
is a sort of how-to at /usr/share/doc/wireshark-common/README.Debian,
but to be honest, I don't understand it.


Mmm... did you configure it as "I.a" or "I.b"? Do you have a customized/
vanilla kernel or Debian's stock one?


Configure what, how? I can find no configuration files.

Using Debian's stock amd64 kernel.


I have no wireshark group, and apart from in that document I can find
nothing about dumpcap.

Can anybody give me some hints, please?


Readme file says that you have to manually add the users to wireshark
group. And I bet that running the app as root will also work.


Well, as I said, there is no wireshark group. Perhaps that is the problem.

Running as root does indeed work, but pops up a dire warning that it's 
dangerous to do so. I don't particularly want to run as root.


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


--
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/4e3aaeba.4010...@vanderhoff.org



Re: thread issue

2011-08-04 Thread Stan Hoeppner
On 8/4/2011 8:12 AM, lina wrote:
> Hi,
> 
> I noticed when make -j 8, the 8 cores can be fully occupied.
> 
> can I use some way to enable 8 cores at the same time when I run
> something, such as a bash script?

This will fully answer your question, and then some:
http://tldp.org/HOWTO/Parallel-Processing-HOWTO.html

Multiprocessing has been around for many decades as well as the methods
to program for it.  Most regular users simply never heard of it because
only "business" machines had more than one processor.  A dual, quad, 6,
8, or 12 core CPU is simply a multiprocessor computer where all the
processing units fit on a single chip, instead of many chips as in
decades past.  From a programming standpoint, there is little difference
from a 1980s multiprocessor UNIX machine and today's 8 core desktop.
The term "processor" is used by systems programmers, not "core".  "Core"
is a marketing term of CPU companies.  A "core" is a "processor".  A
chip is NOT a processor unless it only has one core.  Get used to this
terminology when discussing programming.  The term "core" does not exist
in programming.  It is a hardware description, not a software
description.  To the kernel, a "core" is a processor.

The short short answer:  The Linux process scheduler will efficiently
place processes and threads on hundreds of CPU cores for execution.  It
is up to the programmer, sometimes the sysadmin or user, to generate the
processes and threads, i.e. "the workload", necessary to occupy all
processors in a machine.  If there is insufficient work to occupy all
the processors, they will simply sit idle.

1. Write an application or script that forks or spawns a number of
processes equal to or greater than the number of processors (CPU cores)
in the system.  This is what 'make -j[x]' gives you when x is equal to
or greater than the number of CPU cores.  Postfix spawns multiple smtpd
and smtp processes for inbound/outbound mail delivery, allowing
scalability across dozens of cores (although mail is rarely CPU bound).
 The Apache web server forks dozens or hundreds of children allowing
multiprocessor scalability.  These are but two examples of applications
that can take advantage of a multiprocessor system.  Yes, a single CPU
with many cores is a "multiprocessor".

2. Write an application that uses POSIX or Linux threads, creating one
thread per CPU core in the machine.

-- 
Stan


-- 
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/4e3ab117.3020...@hardwarefreak.com



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: thread issue

2011-08-04 Thread lina
On Thu, Aug 4, 2011 at 10:29 PM, Robert Baron
 wrote:
> have you tried adding an '&' to the tasks you think can be run in
> parallel (as in running them in the background (ie 'mycmd myargs &'))?

Thanks,

"&" is cool.
now is fully running, but, there is another thing slow it down, the
nice level is 19. why is it so high? are there some root's setting?

lina

>
> On Thu, Aug 4, 2011 at 10:23 AM, lina  wrote:
>> Thanks for suggestions,
>>
>> Actually I got a job which contains several small jobs inside.
>>
>> if run the bash script, it will do those one by one and it is pretty
>> slow, waiting ...
>>
>> I can run each small jobs separately, but use a bash script kind of
>> easy to make some changes in amount and manage.
>>
>> I just wonder are there some simple way to do it?
>>
>> another question, if I don't have root previlege, can I adjust my nice
>> level in some cluster? I noticed mine NI was kind of 19, totally crazy
>> slow.
>>
>> On Thu, Aug 4, 2011 at 10:15 PM, Frank Lanitz  wrote:
>>> Am 04.08.2011 15:12, schrieb lina:
 Hi,

 I noticed when make -j 8, the 8 cores can be fully occupied.

 can I use some way to enable 8 cores at the same time when I run
 something, such as a bash script?
>>>
>>> Hard to say as it depends on the software you are running. On shell
>>> scripts you might can do it by intelligent forking of processes doing
>>> the single tasks.
>>
>> How can I fork of processes doing each single tasks?
>>
>>> Other applications do need to support multi threading in most cases
>>> already inside source code.
>>>
>>> Cheers,
>>> Frank
>>>
>>>
>>> --
>>> 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/4e3aa979.7010...@frank.uvena.de
>>>
>>>
>>
>>
>>
>> --
>> Best Regards,
>>
>> lina
>>
>>
>> --
>> 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/CAG9cJm=tnvr2o3oqaprea6t-_3pyz+4piugncxqwgpgq6z7...@mail.gmail.com
>>
>>
>



-- 
Best Regards,

lina


-- 
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/CAG9cJm=2goj1-hwkxgb7q+urygz4rlnbvc_npkendkxk-36...@mail.gmail.com



Re: thread issue

2011-08-04 Thread Robert Baron
have you tried adding an '&' to the tasks you think can be run in
parallel (as in running them in the background (ie 'mycmd myargs &'))?

On Thu, Aug 4, 2011 at 10:23 AM, lina  wrote:
> Thanks for suggestions,
>
> Actually I got a job which contains several small jobs inside.
>
> if run the bash script, it will do those one by one and it is pretty
> slow, waiting ...
>
> I can run each small jobs separately, but use a bash script kind of
> easy to make some changes in amount and manage.
>
> I just wonder are there some simple way to do it?
>
> another question, if I don't have root previlege, can I adjust my nice
> level in some cluster? I noticed mine NI was kind of 19, totally crazy
> slow.
>
> On Thu, Aug 4, 2011 at 10:15 PM, Frank Lanitz  wrote:
>> Am 04.08.2011 15:12, schrieb lina:
>>> Hi,
>>>
>>> I noticed when make -j 8, the 8 cores can be fully occupied.
>>>
>>> can I use some way to enable 8 cores at the same time when I run
>>> something, such as a bash script?
>>
>> Hard to say as it depends on the software you are running. On shell
>> scripts you might can do it by intelligent forking of processes doing
>> the single tasks.
>
> How can I fork of processes doing each single tasks?
>
>> Other applications do need to support multi threading in most cases
>> already inside source code.
>>
>> Cheers,
>> Frank
>>
>>
>> --
>> 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/4e3aa979.7010...@frank.uvena.de
>>
>>
>
>
>
> --
> Best Regards,
>
> lina
>
>
> --
> 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/CAG9cJm=tnvr2o3oqaprea6t-_3pyz+4piugncxqwgpgq6z7...@mail.gmail.com
>
>


-- 
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/CAA6oTfZb4LBT-+B6jb=NBq=axcljtvep0xek1met-vnhjcy...@mail.gmail.com



Re: Running Wireshark as non-root in Squeeze

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 13:02:09 +0100, Tony van der Hoff wrote:

> I'm trying to get Wireshark to work in non-root mode in Squeeze. There
> is a sort of how-to at /usr/share/doc/wireshark-common/README.Debian,
> but to be honest, I don't understand it.

Mmm... did you configure it as "I.a" or "I.b"? Do you have a customized/
vanilla kernel or Debian's stock one?

> I have no wireshark group, and apart from in that document I can find
> nothing about dumpcap.
> 
> Can anybody give me some hints, please?

Readme file says that you have to manually add the users to wireshark 
group. And I bet that running the app as root will also work.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.14.26...@gmail.com



Re: thread issue

2011-08-04 Thread lina
Thanks for suggestions,

Actually I got a job which contains several small jobs inside.

if run the bash script, it will do those one by one and it is pretty
slow, waiting ...

I can run each small jobs separately, but use a bash script kind of
easy to make some changes in amount and manage.

I just wonder are there some simple way to do it?

another question, if I don't have root previlege, can I adjust my nice
level in some cluster? I noticed mine NI was kind of 19, totally crazy
slow.

On Thu, Aug 4, 2011 at 10:15 PM, Frank Lanitz  wrote:
> Am 04.08.2011 15:12, schrieb lina:
>> Hi,
>>
>> I noticed when make -j 8, the 8 cores can be fully occupied.
>>
>> can I use some way to enable 8 cores at the same time when I run
>> something, such as a bash script?
>
> Hard to say as it depends on the software you are running. On shell
> scripts you might can do it by intelligent forking of processes doing
> the single tasks.

How can I fork of processes doing each single tasks?

> Other applications do need to support multi threading in most cases
> already inside source code.
>
> Cheers,
> Frank
>
>
> --
> 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/4e3aa979.7010...@frank.uvena.de
>
>



-- 
Best Regards,

lina


-- 
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/CAG9cJm=tnvr2o3oqaprea6t-_3pyz+4piugncxqwgpgq6z7...@mail.gmail.com



Re: thread issue

2011-08-04 Thread Frank Lanitz
Am 04.08.2011 15:12, schrieb lina:
> Hi,
> 
> I noticed when make -j 8, the 8 cores can be fully occupied.
> 
> can I use some way to enable 8 cores at the same time when I run
> something, such as a bash script?

Hard to say as it depends on the software you are running. On shell
scripts you might can do it by intelligent forking of processes doing
the single tasks.
Other applications do need to support multi threading in most cases
already inside source code.

Cheers,
Frank


-- 
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/4e3aa979.7010...@frank.uvena.de



Re: thread issue

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 21:12:27 +0800, lina wrote:

> I noticed when make -j 8, the 8 cores can be fully occupied.
> 
> can I use some way to enable 8 cores at the same time when I run
> something, such as a bash script?

I think the program you're going to run has to be multi-thread aware.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.14.04...@gmail.com



Re: GDM3's prejudiced against a picture of me

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 08:13:39 +0100, Alan Chandler wrote:

> On 02/08/11 11:43, Camaleón wrote:
>> On Mon, 01 Aug 2011 22:12:07 +0100, Alan Chandler wrote:
>>
>>> I have specified that I would like a picture of me to be presented at
>>> login.
>>
>> What did you do?
> 
> I always had a picture on my old computer.  When I got the new one I
> copied my entire "home" to the new account and it started "occasionally"
> working.
> 
> I can't remember now = but I have a recollection that I then reset it in
> System/Preferences but I am not sure now - the only place I can see to
> do that is "About Me"

Was the old account also using GDM3? Many changes have been done from GDM 
to GDM3 :-? Also, recheck your "~/.face" directory, selected image should 
be placed there.

>> I mean, how does your "/etc/gdm3/greeter.gconf-defaults" look like?
> 
> Nothing specific here

(...)

All seems right.

>> Radmon fails in this specific matter looks to me like it could be a
>> small bug... is there anything useful in your "~/.xsession-errors"
>> file?
>>
>>
> Isn't it a bit late by this time. ~/.xsession-errors implies I have
> already logged in as me = whereas I am talking about before anyone logs
> in.

Any login error should go there, for instance, if the greeter cannot find 
the image and loads a default one.

> Not that there was anything useful in it anyway that I could see.

If you were using a pre-made image try with one of the defaults and keep 
an eye on the greeter to see how it behaves.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.13.56...@gmail.com



Re: [left blank]

2011-08-04 Thread AG

On 04/08/11 13:49, Kevin Williams wrote:


I switch back to windows after searching for it for about twenty 
minutes thanks to anyone who tried to help me and for the idiots who 
had something to say about me being a troll. Y'all do realize the only 
way to stop a troll is too ignore him right? Thanks again for everyone 
who tried too help me.I'll try this out again once I have done my research




Kevin

Might I suggest that you take the time to do two basic things:

(1) read up on GNU/Linux /before/ you install it ... get to know what 
the steps are, how to partition the drive(s), how to set up the network, 
etc.  And yes, you will definitely need a root a/c whether or not you 
would like one.  The graphic installation is usually the best option 
because usually (altho' not always, so be aware) the defaults are the 
right options you can select for your system.  But, read up on some 
documentation first - if you are going to do comp sci then get used to 
the reading ... there'll be loads of it!! ;-)


(2) familiarise yourself with some mail list netiquette ... if you do a 
google on a "how to ask good questions", you will doubtless find some 
clues.  But basically it boils down to:
(2.1.) use meaningful subject lines - this makes it easier for other 
people to learn what you did that helped and also for others to answer 
your concerns;
(2.2.) do not top post - in other words, start your email replies below 
the sig line of the post you are replying to.  That way, readers can 
follow the thread logically from top to bottom, because people tend not 
to read from the bottom upwards

(2.3.) don't use HTML emails (disable it in your email client),
(2.4.) always give as much info about your system, what the problem is, 
when/ how it happens and what you have attempted already before asking 
the question.  It has been my experience here that people are really 
friendly and helpful and that they generally are more prone to help if 
they recognise that you have already made an effort to help yourself.


Aside from this - don't give up, persevere and you will definitely 
succeed.  At the risk of stating the blinding obvious, unlike Windows, 
GNU/Linux expects the user to do some work and depending on the distro, 
this expectation will range from very little to quite a lot.  But, as 
you are intending to do comp sci, I guess that this should be agreeable 
to you?


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


--
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/4e3aa136.5010...@gmail.com



Re: Please help

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 03:48:10 -0500, Kevin Williams wrote:

If you want to catch mailing list users attention, use a better subject 
for describing your problem.

> I'm trying to boot up debian but I can't get pass the login after
> installation

So you have installed Debian and now cannot login with the user you 
already created? Jump to tty1 (ctrl+alt+f1) and login as root to work 
from there and find out what went wrong.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.13.21...@gmail.com



Re: Cups: printer installed but not printing

2011-08-04 Thread Brian
On Thu 04 Aug 2011 at 14:09:45 +0100, Anthony Campbell wrote:

> But what IS the default print queue in Cups? I can't find that specified
> in any of the docs I've looked at. Or do I just create it?

At http://localhost:631/printers/ there should be a 'Set As Default'
option.


-- 
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/20110804133629.GJ14528@desktop



Re: Another problem

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 04:25:07 -0500, Kevin Williams wrote:

> I got past the login but now it shows my username@debian20:$ what I do
> now 

You first need to stop sending a new message every time, all of your e-
mails are now unthreaded and exposing meaningless subjects :-/

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.13.26...@gmail.com



Re: Lisi

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 05:52:55 -0500, Kevin Williams wrote:

What kind of subject is that?

> I'm running debian 6.0 I think someone told me to do this a while back
> but didn't what he was taking about.I need to boot up gnome any other
> type of desktop visualizer so I can get out of this command prompt

Run "startx" or as root "init 3".

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.13.32...@gmail.com



Re: (unknown)

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 07:49:20 -0500, Kevin Williams wrote:

> I switch back to windows 

Wow... you quitted very quickly.

> after searching for it for about twenty minutes 

20 minutes is no time.

> thanks to anyone who tried to help me and for the idiots who had
> something to say about me being a troll. 

(...)

Insulting people is unfair. You actually acted by your own and did not 
listen to what people was telling you. And you seemed to be very hurry, 
dunno why. Understanding how an OS works is not a 20-minutes task :-/

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.13.38...@gmail.com



Re: Cups: printer installed but not printing

2011-08-04 Thread Dom

On 04/08/11 14:09, Anthony Campbell wrote:

On 04 Aug 2011, Brian wrote:

On Thu 04 Aug 2011 at 10:24:38 +0100, Anthony Campbell wrote:


no system default destination


You haven't told CUPS what the default print queue is. It can be done
from the browser interface.


But what IS the default print queue in Cups? I can't find that specified
in any of the docs I've looked at. Or do I just create it?


To show the current default queue: lpstat -d

To list and show the status of all queues: lpstat -a

To set the CUPS default queue: lpadmin -d queuename

--
Dom


--
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/4e3aa0a7.7090...@rpdom.net



Re: (unknown)

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 04:54:33 -0500, Kevin Williams wrote:

> Installation was ok I didn't setup my network if that matters.I don't
> wish to get a root account and yes I remember my password.all I want to
> do is boot up

Start a new thread and specify what's your problem right now. And use an 
appropriate subject, please.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.13.30...@gmail.com



Re: What are you talking about

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 04:40:28 -0500, Kevin Williams wrote:

Are you replying to nobody?

> I was just trying to boot up my laptop I'm studying computer science
> when I get to college next year. so I decided to get to know linux so I
> can know something before college and my friend told me out was hard to
> listen so I figured I should learn know then later. Now my laptop isn't
> booting up to debian and I don't know what I'm doing

You need to calm down and start doing things in the right manner, with a 
minimal order.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.13.29...@gmail.com



Re: I can't

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 04:08:25 -0500, Kevin Williams wrote:

> I can't go into single user mode. Do I need to reinstall 

Try the suggested steps.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.13.23...@gmail.com



Re: (unknown)

2011-08-04 Thread Camaleón
On Thu, 04 Aug 2011 03:54:56 -0500, Kevin Williams wrote:

(please, keep the messages in the same thread and avoid using html)

> I'm at the localhost login and out keeps saying my login is incorrect.
> Thanks for the quick reply

Login as root and if you can't try to reset root's password.

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.13.23...@gmail.com



Re: pls respond asap

2011-08-04 Thread Camaleón
On Wed, 03 Aug 2011 19:58:41 +0200, 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

It has been already deleted...
 
> Its a matter of someone's life..please respond

You can contact Debian mailing list admin:

http://www.debian.org/contact.en.html

Greetings,

-- 
Camaleón


-- 
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/pan.2011.08.04.13.17...@gmail.com



thread issue

2011-08-04 Thread lina
Hi,

I noticed when make -j 8, the 8 cores can be fully occupied.

can I use some way to enable 8 cores at the same time when I run
something, such as a bash script?

Thanks for any suggestions,

-- 
Best Regards,

lina


-- 
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/cag9cjmnmeqcqmtxw-jb2a9v96melrs-cumeopb4gydm7dr0...@mail.gmail.com



Re: Cups: printer installed but not printing

2011-08-04 Thread Anthony Campbell
On 04 Aug 2011, Brian wrote:
> On Thu 04 Aug 2011 at 10:24:38 +0100, Anthony Campbell wrote:
> 
> > This detected my Samsung ML2571N without problems and I thought
> > everything was fine. But, with the recommended driver, printing a test
> > page gives a blank sheet.
> 
> Which package did you install to get the driver?
> 
Not sure what you mean. I used the Samsung ML2571N foomatic/postscript
driver. Actually, on my stable installation this does print the test
page.

Other problems now solved thanks to your advice, except:

> > no system default destination
> 
> You haven't told CUPS what the default print queue is. It can be done
> from the browser interface.

But what IS the default print queue in Cups? I can't find that specified
in any of the docs I've looked at. Or do I just create it?

Anthony   


-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks
at http://www.smashwords.com/profile/view/acampbell


-- 
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/20110804130945.ga2...@ithaca.acampbell.org.uk



Re: Some coaching on apt-get and downgrading Package gtk+-2.0

2011-08-04 Thread Eduardo M KALINOWSKI

On Qui, 04 Ago 2011, Randy Kramer wrote:

Yesterday, my build started failing with messages like this:

"Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
make: Nothing to be done for `all'."


The only thing you need is the gtk+2 2.0 devel package:

libgtk2.0-dev

apt-file search gtk+-2.0.pc indicates to which package that file belongs.


--
LOAD "LINUX",8,1
-- Topic on #LinuxGER
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20110804095224.horde.kyaltmm_qovoopyi6lcd...@mail.kalinowski.com.br



[no subject]

2011-08-04 Thread Kevin Williams
I switch back to windows after searching for it for about twenty minutes
thanks to anyone who tried to help me and for the idiots who had something
to say about me being a troll. Y'all do realize the only way to stop a troll
is too ignore him right? Thanks again for everyone who tried too help
me.I'll try this out again once I have done my research


Some coaching on apt-get and downgrading Package gtk+-2.0

2011-08-04 Thread Randy Kramer
To get to the point quicker, skip over the "Background:" down to "My 
question / problem:"

Background:

I'm not really a C or C++ programmer, but I've been working on a program 
(well, an addition to an existing program--a lexer for Scintilla for 
the Foswiki/ TWiki markup language) and "limping along" well enough but 
very slowly.

Yesterday, my build started failing with messages like this:

"Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
make: Nothing to be done for `all'."

It took me a while to realize what must have happened, and then I think 
I confirmed it.  Earlier that day, I had installed a new version of 
Adobe/Shockwave flash by using: 

"aptitude install flashplugin-nonfree"

(Aside: It took me a while to get that to work, I finally had to find 
the new libflashplayer.so (in a /root directory) and copy it 
to /usr/lib/adobe-flashplugin/libflashplayer.so, and then restart 
iceweasel.  (I'm not sure why it got installed to /root--probably some 
mistake I made--maybe having Iceweasel running while I tried the 
aptitude install, or maybe it was at some other point I made a 
mistake.)

Anyway, I then remembered that during the aptitude install of 
flashplugin-nonfree, it deleted and replaced a lot of packages, among 
them:

"Preparing to replace libgtk2.0-0 2.12.12-1~lenny1 
(using .../libgtk2.0-0_2.18.6-1~bpo50+1_i386.deb) ..."

I think that is the root of my problem, and, iirc, the version of 
Scintilla that I'm currently developing in cannot use gtk2.0-0_2.18.  
There is work going on to change that, but I'd like to finish my 
development work on the older version of Scintilla before contending 
with an upgrade.

My question / problem:

So, I think what I have to do 
is "downgrade" /libgtk2.0-0_2.18.6-1~bpo50+1_i386.deb back to 
libgtk2.0-0 2.12.12-1~lenny.

I'll be reading man pages and googling, but I'd like to do that with a 
minimum of learning (i.e., with a minimum of mistakes), so I'm seeking 
advice.  

I guess there is a slight chance that all I have to do is, as one of the 
make messages says: 

"Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable"

I.e., find the PKG_CONFIG_PATH and point it to the directory containing 
the new /libgtk2.0-0_2.18.6-1~bpo50+1_i386.deb instead of the old 
libgtk2.0-0 2.12.12-1~lenny (but, I would have thought they'd both be 
on the same path).  Let me look into that a little bit before sending 
this email...

Ok, I'm back.  I hoped/thought that aptitude (or apt-get) had something 
a "what provides" command which would tell me what package I need to 
install for `gtk+-2.0.pc', but maybe I'm remembering that from my 
Mandriva days.

I tried "aptitude install gtk+-2.0.pc" but that tells me:

"Couldn't find any package whose name or description 
matched "gtk+-2.0.pc""

So, I'll send this and keep digging.

Randy Kramer















-- 
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/201108040847.43025.rhkra...@gmail.com



Running Wireshark as non-root in Squeeze

2011-08-04 Thread Tony van der Hoff

Hi,

I'm trying to get Wireshark to work in non-root mode in Squeeze. There 
is a sort of how-to at /usr/share/doc/wireshark-common/README.Debian, 
but to be honest, I don't understand it.


I have no wireshark group, and apart from in that document I can find 
nothing about dumpcap.


Can anybody give me some hints, please?

--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


--
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/4e3a8a41.9000...@vanderhoff.org



Re: Cups: printer installed but not printing

2011-08-04 Thread Brian
On Thu 04 Aug 2011 at 10:24:38 +0100, Anthony Campbell wrote:

> This detected my Samsung ML2571N without problems and I thought
> everything was fine. But, with the recommended driver, printing a test
> page gives a blank sheet.

Which package did you install to get the driver?

>   And the lpr and lpq commands do not exist at
> all so I can't try printing from the command line.

cups-bsd

> My only clue comes from lpstat:
> 
> ithaca:/usr/share/cups:$ lpstat -p -d
> printer Samsung_ML-2570_Series is idle.  enabled since Thu 04 Aug 2011 
> 09:31:59 BST
> Unable to open /usr/share/cups/charsets/utf-8: No such file or 
> directory

That file comes with cups-common. Is it on the system?

> no system default destination

You haven't told CUPS what the default print queue is. It can be done
from the browser interface.


-- 
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/20110804113609.GI14528@desktop



  1   2   >