Re: Best way to migrate disks

2012-03-24 Thread Stan Hoeppner
On 3/25/2012 12:46 AM, Marc Shapiro wrote:
> I have an old 40GB disk and a recently purchased 1TB disk.  The new disk
> has been partitioned into a 2GB swap partition, two 500MB partitions
> that are currently empty and the remainder is an LVM2 PV which I have
> added to my VG, so I now have plenty of space.  So far, so good.
> 
> My problem is that I am still booting off of the 40GB disk and my /
> partition has pretty much run out of space (it is about 280MB).  I want
> to migrate everything from there into one of the 500MB partitions on the
> new drive and boot from there.  What is the best way to do this?  Any
> suggestions?

Need more details.  Output of fdisk -l for both drives, lilo/grub conf
files, and /etc/fstab would be helpful, as well as the LVM config.

-- 
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/4f6ec21f.8000...@hardwarefreak.com



Re: Best way to migrate disks

2012-03-24 Thread Olaf Reitmaier Veracierta

On 03/25/2012 01:16 AM, Marc Shapiro wrote:
I have an old 40GB disk and a recently purchased 1TB disk.  The new 
disk has been partitioned into a 2GB swap partition, two 500MB 
partitions that are currently empty and the remainder is an LVM2 PV 
which I have added to my VG, so I now have plenty of space.  So far, 
so good.


My problem is that I am still booting off of the 40GB disk and my / 
partition has pretty much run out of space (it is about 280MB).  I 
want to migrate everything from there into one of the 500MB partitions 
on the new drive and boot from there.  What is the best way to do 
this?  Any suggestions?


Marc




First, make a backup. Don't modify anything on the old disk, just in the 
new one!!!


What are the 500 MB partitions for? Well It does not matters, but I will 
use them in this example. I always do this on my laptops.


Make identical (size) volumes on LVM in the new disk as many partitions 
you have on the old disk.


Now reboot with debian live cd or usb stick and bring up LVM or... do 
all of this without reboot directly from your current system running but 
stop as many services as you can.


Then supossing your old disk is:

old disk: sda1=/boot (1GB), sda2=swap (9GB), sda3=/ (30GB)

You must configure your new disk similar to this:

new disk: sdb1=/boot (500M), sdb2=none (500M), sdb3=lvm=>rest(999GB). In 
lvm at vg00 you must create: lvswap (9GB), lvroot (30GB).


Then use the command "dd" to copy each partition... one by one... byte 
by byte:


dd if=/dev/sda3 of=/dev/vg00/lvroot

The same with /dev/sda1 and all the none swap partions of your old disk.

Later copy the boot sector with GRUB: dd if=/dev/sda of=/dev/sdb bs=512 
count=1


You must mount and edit the /boot/grub/menu.lst and 
/boot/grub/device.maps in the NEW DISK to fit the new hardware names... 
adjust "sda" to "sdb".


Disconnect the old disk and boot from new one installed as master on 
your mother board.


Done!

If anything fails you always can start all over again your old disk is save.

--
-
   "You don't know where your shadow will fall",
Somebody.-
-
 Ing. Olaf Reitmaier Veracierta
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.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/4f6eba41.4080...@gmail.com



Re: how to increase space for tmpfs /tmp

2012-03-24 Thread Stan Hoeppner
On 3/24/2012 4:02 PM, Javier Vasquez wrote:
> 2012/3/24 shirish शिरीष :

>> # TMPFS_SIZE: maximum size for all tmpfs filesystems if no specific
>> # size is provided.  If no value is provided here, the kernel default
>> # will be used.
>> TMPFS_SIZE=20%
> 
> See, this is as you wish.  This particular setting is the maximum for
> ALL of the tmpfs space.  Kind of the default if nothing else is
> specified.  You might not touch this if you don't want.  So I would
> not be afraid of using 100% of RAM here.

That's probably not a smart idea:

http://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt
...
tmpfs has three mount options for sizing:

size:  The limit of allocated bytes for this tmpfs instance. The
   default is half of your physical RAM without swap. If you
   oversize your tmpfs instances the machine will deadlock
   since the OOM handler will not be able to free that memory.
...

The OP would likely be far better off simply mounting /tmp on his root
filesystem as was always done in the past.  Application developers
writing to /tmp aren't expecting memory speed transfers of such files
because of the traditional placement of /tmp.  And he'll have more than
enough space, many times his RAM quantity.

FWIW, my Squeeze servers are all upgrades going back to Sarge, IIRC.
Here's my /tmp setup:

$ df /tmp
FilesystemTypeSize  Used Avail Use% Mounted on
/dev/sda2 ext2 33G  3.8G   28G  12% /

I'm sure some/many of you will gasp at that fact I still use EXT2.  If
it ain't broke, don't "fix" it.  The /boot and root filesystems are on
EXT2, with all data storage on XFS.  Never had problems with EXT2 in
this setup, so it lives on, for now.

-- 
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/4f6eb693.30...@hardwarefreak.com



Re: ethernet card problem

2012-03-24 Thread Scott Ferguson
On 25/03/12 16:43, Alan Kerns wrote:
> Realtek RTL8111/8168B

As you've noted - that card requires firmware, you can build an
installer that contains it[*1] or download one[*2].

If you have managed to install the base system you just need the
firmware-realtek package from non-free:-
http://debian.lcs.mit.edu/debian/pool/non-free/f/firmware-nonfree/firmware-realtek_0.28+squeeze1_all.deb

[*1]
http://wiki.debian.org/DebianInstaller/NetbootFirmware

[*2]
http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/
http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/



Please don't post in HTML.


Kind regards

-- 
Iceweasel/Firefox/Chrome/Chromium/Iceape/IE extensions for finding
answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/


-- 
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/4f6eb3af.8040...@gmail.com



Best way to migrate disks

2012-03-24 Thread Marc Shapiro
I have an old 40GB disk and a recently purchased 1TB disk.  The new disk 
has been partitioned into a 2GB swap partition, two 500MB partitions 
that are currently empty and the remainder is an LVM2 PV which I have 
added to my VG, so I now have plenty of space.  So far, so good.


My problem is that I am still booting off of the 40GB disk and my / 
partition has pretty much run out of space (it is about 280MB).  I want 
to migrate everything from there into one of the 500MB partitions on the 
new drive and boot from there.  What is the best way to do this?  Any 
suggestions?


Marc


--
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/4f6eb12d.1080...@gmail.com



ethernet card problem

2012-03-24 Thread Alan Kerns
The other day I installed debian-6.0.4-i386 on my backup computer and it 
worked so well that I decided to install debian-6.0.4-amd64 on my main 
computer.
The install begins smoothly but stops dead when looking for network 
hardware.
The unseen hardware is Realtek RTL8111/8168B PCI Express Gigabit 
Ethernet Controller.
The hardware which worked fine on my i386 machine is not Realtek but I 
think Silicon Integrated Systems.
 tells 
me this Reatek hardware "works fine". Like hell it does!

Where can I find out what ethernet cards will really work fine with squeeze.
I'll go and buy one to save myself a lot of hassle and frustration.
I have the latest realtek-firmware installed on my Linux Mint Debian 
Edition which I have been using for some months; but that's no help when 
installing squeeze from a CD-ROM on a different partition.

Any helpful advice would be appreciated.
Alan Kerns


Re: US Weather Bureau video displays have stopped working

2012-03-24 Thread Edward C. Jones

Camaleón wrote:

Ensure your browser is giving preference to the Flash Player plugin over
Gnash.

I installed flashplugin-nonfree and the problem went away with no 
changes in IceWeasel's settings.  I suspect that the security update for 
gnash had something to do with the problem.



--
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/4f6e7b29.4070...@comcast.net



Re: Can no longer mount SDHC card

2012-03-24 Thread Lisi
On Saturday 24 March 2012 15:09:57 Ken Heard wrote:
>  Nouns and adjectives have gender, but people have sex.

The latest strident feminist PC requires "gender".  (It came up recently on 
Debian Women.)  I share your objection.  But then I never burnt my bra, I 
just got on and did a male (masculine?!) job.  And I am most emphatically not 
a "chair".  I am not a piece of furniture.

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



Re: simple stand-alone firewall

2012-03-24 Thread Steven Jan Springl
On Saturday 24 Mar 2012 16:16:08 Charles Kroeger wrote:
> 
> You won't get a 'stealth' rating at grc. Shorewall seems to leave port 0
> visible but closed. I don't know why this is but would be interested to
> know if someone on this list knew the reason.
> 
> What is the deal with port 0?

I have just tried grc, and my Shorewall firewall gets a 'stealth' rating.

Steven.


-- 
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/201203242218.08365.ste...@springl.ukfsn.org



can't get sound to work with webcam Logitech C910

2012-03-24 Thread Bernard

Hi to Everyone !

I just bought the above mentioned web camera, and, if I record a video 
using Cheese, the sound is not there when I try displaying the record 
using 'vlc'. I get this:


main subpicture error : blending YUVA to I444 failed

this line repeated a number of times.

The image is there though, but no sound

Thanks in advance for your input


P.S. : Debian Squeeze on that system.


--
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/4f6e3ea9.1030...@teaser.fr



Re: how to increase space for tmpfs /tmp

2012-03-24 Thread Henrique de Moraes Holschuh
On Sun, 25 Mar 2012, shirish शिरीष wrote:
> How do I write values of TMPFS_SIZE and TMP_SIZE

AFAIK, it will accept whatever "mount" accepts for the "size=" parameter for
tmpfs filesystems.  You can find that information on the mount(8) manpage.

> This is what it looks like atm :-
> 
> # TMPFS_SIZE: maximum size for all tmpfs filesystems if no specific
> # size is provided.  If no value is provided here, the kernel default
> # will be used.
> TMPFS_SIZE=20%

This means 20% of the system RAM.

> # TMP_SIZE: maximum size of /tmp
> #
> # No default size.
> TMP_SIZE=

Which means use whatever is in TMPFS_SIZE, I think.

> a. From where would TMPFS_Size be used ? Would it take from the space
> allocated from / (which has enough empty space) or does it take from
> /home. Note that I have two partitions / , /home and of course swap is
> also good around 4 GB.

It lives in virtual memory, so it is stored in system RAM.  Data inside a
tmpfs can be swapped to disk.  Unused space in a tmpfs is very cheap, but
AFAIK the tmpfs size _does_ increase the size of some page tables, so if you
really need to know exactly how many resources are taken by unused tmpfs
space, we'd need to ask in LKML for an expert opinion.

> b. The second question is how do I phrase the two ?
> tmpfs is given as 20% . 20% is default for what and from where ?

AFAIK, it's 20% of the available system RAM at kernel boot.  I am not sure
it takes into account RAM explicitly set aside for hugepages, but you likely
don't have to worry about that.

> c. What do I write at TMP_SIZE= if I want to say 900 MiB or 1 GiB .

TMP_SIZE=1G
TMP_SIZE=900M

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
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/20120324211239.gb6...@khazad-dum.debian.net



Re: Iceape Mail View Fails To Show Multiple Accounts - Yes It Does

2012-03-24 Thread Thomas H. George
On Sat, Mar 24, 2012 at 04:05:38PM -0400, Thomas H. George wrote:
> I ran a dist-upgrade. View in iceape mail has changed - for the
> worst.
> 
> Previously view would show all four of the mail accounts I have and for
> each the choice of mailbox, sent, drafts and trash.
> 
> Now only one account is opened and the options sent, drafts, and trash
> are missing.
> 
> For me this is disaster.  I want to switch between mail accounts daily
> and I occasionally need to look at what I have put in the trash file.
> 
> Does anyone know how to recover these options?  The accounts are still
> defined in edit/mail & newsgroup accounts settings.
> 
> Tom
> 
> 
View/Layout/Folder Panel

I should have found this before posting.  My bad.

Tom
> 
> -- 
> 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/20120324200538.ga21...@tomgeorge.info
> 
> 


-- 
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/20120324210821.ga21...@tomgeorge.info



Re: how to increase space for tmpfs /tmp

2012-03-24 Thread Javier Vasquez
2012/3/24 shirish शिरीष :
>
> ...
>
> How do I write values of TMPFS_SIZE and TMP_SIZE
>
> This is what it looks like atm :-
>
> # TMPFS_SIZE: maximum size for all tmpfs filesystems if no specific
> # size is provided.  If no value is provided here, the kernel default
> # will be used.
> TMPFS_SIZE=20%

See, this is as you wish.  This particular setting is the maximum for
ALL of the tmpfs space.  Kind of the default if nothing else is
specified.  You might not touch this if you don't want.  So I would
not be afraid of using 100% of RAM here.  Though if you feel like it's
too agressive, you can set something different.

When using %, the percentage is with respect to RAM.

I would recommend you also looking at swappiness setting
(vm.swappiness), :-)  When you use absolute sizes, those sizes can go
beyond RAM, as long as they fit into RAM+Swap, that's why I mentioned
swappiness, though a bit off topic.

>
> # TMP_SIZE: maximum size of /tmp
> #
> # No default size.
> TMP_SIZE=

This is also as per your needs.  You might want to use all of the RAM
reducing if you'd like other tmpfs areas such as /run and /run/lock,
plus some margin.  Or you could use some other heuristic, more or less
conservative.

I would use half the RAM if I want to be conservative, :-).  And if
agressive, then whole RAM, hoping to swap when in need (I usually have
in swap same amount of RAM).

You can google around this, and you can find the following information
useful (though not debian):

https://wiki.archlinux.org/index.php/Fstab#tmpfs

Notice there's no restriction to go beyond RAM size again, since you
can always swap.

Finally, you do not need to touch /etc/default/tmpfs if you don't want
to.  Just set the entry in your /etc/fstab as I mentioned previously,
kind of:

tmpfs  /tmptmpfs   nodev,nosuid,relatime,size=2G   0   0

Just make sure the size you use doesn't exceed RAM+Swap...

>
> Now my questions are :-
>
> a. From where would TMPFS_Size be used ? Would it take from the space
> allocated from / (which has enough empty space) or does it take from
> /home. Note that I have two partitions / , /home and of course swap is
> also good around 4 GB.
>
> $ free -h
>             total       used       free     shared    buffers     cached
> Mem:          2.0G       1.8G       134M         0B        72M       840M
> -/+ buffers/cache:       954M       1.0G
> Swap:         4.6G       212M       4.4G
>

There's no magic, just experimentation.  I think I provided enough
hints, but from your setting:  2g RAM + 4.6g Swap, I would go with the
2g, or even 3g...  It doesn't mean you'll be using all that amount of
tmp area, it means you can load through vim a 2g or a 3g file if you'd
like, :-)  Vim by default loads in /tmp...

> b. The second question is how do I phrase the two ?
> tmpfs is given as 20% . 20% is default for what and from where ?

Didn't understand.  TMPFS_SIZE is kind of the default if no other
setting is found.  The rest are specific.

>
> c. What do I write at TMP_SIZE= if I want to say 900 MiB or 1 GiB .

Do the math, :-)  I believe you can use a suffix also.  But again, you
can always use fstab without touching debian stuff...

>
>
>> Thanks,
>>
>> --
>> Javier.

-- 
Javier.


--
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/CALUrRGdzOfDvLLUHOKGSbb1Qte0+96�pqanni1rtdsxjx...@mail.gmail.com



Re: how to increase space for tmpfs /tmp

2012-03-24 Thread Henrique de Moraes Holschuh
On Sat, 24 Mar 2012, Joey Hess wrote:
> shirish शिरीष wrote:
> > I got this error, does anybody know how I can give more space to tmpfs ?
> > 
> > Downloaded, time 4575.50sec, speed 29kB/sec,
> > texlive-latex-extra-doc_2009-10_2011.20120322-1_all.debdelta
> >  Error: applying of delta for texlive-latex-extra-doc failed:  :
> > Sorry, not enough disk space (581788kB) in directory /tmp for applying
> > delta (needs 668963kB) (retriable)
> 
> Edit /etc/default/rcS, set RAMTMP=no, reboot. Or, set TMPDIR to point to
> something like $HOME/tmp

You don't need to reboot because of the size change.

"mount -o remount,size= /tmp"  works, at least for
increasing size.  One of the good things of a tmpfs is that you can
resize it dynamically.

> You may also consider filing a bug, since the more people report
> problems with Debian's new, absurdly small /tmp, the more likely it
> is to get fixed.

Hmm, yes, it can certaily be raised by popular demand.  But what would
probably help more is a set of profiles of /tmp sizes based on the
amount of system ram to provide the initial default size.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
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/20120324210023.ga6...@khazad-dum.debian.net



Re: is there anti censor software in Debian packages?

2012-03-24 Thread Long Wind
it seems that I have to use freegate with XP

Thank Camaleón and Rob!


--
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/CAB-gxZA22Kf-gbN4kuJ6f=8whfbt8zjkfvw_7aeegjvkuvc...@mail.gmail.com



Re: how to increase space for tmpfs /tmp

2012-03-24 Thread shirish शिरीष
at bottom :-

2012/3/24 Javier Vasquez :
> 2012/3/24 Joey Hess :
>> shirish शिरीष wrote:
>>> I got this error, does anybody know how I can give more space to tmpfs ?
>>>
>>> Downloaded, time 4575.50sec, speed 29kB/sec,
>>> texlive-latex-extra-doc_2009-10_2011.20120322-1_all.debdelta
>>>  Error: applying of delta for texlive-latex-extra-doc failed:  :
>>> Sorry, not enough disk space (581788kB) in directory /tmp for applying
>>> delta (needs 668963kB) (retriable)
>>
>> Edit /etc/default/rcS, set RAMTMP=no, reboot. Or, set TMPDIR to point to
>> something like $HOME/tmp
>>
>> You may also consider filing a bug, since the more people report
>> problems with Debian's new, absurdly small /tmp, the more likely it
>> is to get fixed.
>>
>> --
>> see shy jo
>
>
> Why?
>
> You can always configure as you wish.  Take a look at:
>
> /etc/default/tmpfs
>
> There you can configure TMPFS_SIZE and TMP_SIZE, which are the ones
> asked for.  And if you definitely don't want to use tmpfs, then you
> can RAMTMP=yes as you suggested.
>
> I think this is a matter of configuration, and we all might want
> different settings for our purposes, :-)

Hi all,
Thank you Joey Hess and Javier Vasquez for answering my query but I
wish some examples would have been given alongwith it.

How do I write values of TMPFS_SIZE and TMP_SIZE

This is what it looks like atm :-

# TMPFS_SIZE: maximum size for all tmpfs filesystems if no specific
# size is provided.  If no value is provided here, the kernel default
# will be used.
TMPFS_SIZE=20%

# TMP_SIZE: maximum size of /tmp
#
# No default size.
TMP_SIZE=

Now my questions are :-

a. From where would TMPFS_Size be used ? Would it take from the space
allocated from / (which has enough empty space) or does it take from
/home. Note that I have two partitions / , /home and of course swap is
also good around 4 GB.

$ free -h
 total   used   free sharedbuffers cached
Mem:  2.0G   1.8G   134M 0B72M   840M
-/+ buffers/cache:   954M   1.0G
Swap: 4.6G   212M   4.4G

b. The second question is how do I phrase the two ?
tmpfs is given as 20% . 20% is default for what and from where ?

c. What do I write at TMP_SIZE= if I want to say 900 MiB or 1 GiB .


> Thanks,
>
> --
> Javier.

Looking forward for help and advice.
-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


--
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/CADdDZRkboP8_xS6RNctE9MXFrb1ajAX=-svmkyjs7v-ifkw...@mail.gmail.com



Iceape Mail View Fails To Show Multiple Accounts

2012-03-24 Thread Thomas H. George
I ran a dist-upgrade. View in iceape mail has changed - for the
worst.

Previously view would show all four of the mail accounts I have and for
each the choice of mailbox, sent, drafts and trash.

Now only one account is opened and the options sent, drafts, and trash
are missing.

For me this is disaster.  I want to switch between mail accounts daily
and I occasionally need to look at what I have put in the trash file.

Does anyone know how to recover these options?  The accounts are still
defined in edit/mail & newsgroup accounts settings.

Tom


-- 
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/20120324200538.ga21...@tomgeorge.info



Re: Gnus can't open nntp+news.gmane.org

2012-03-24 Thread Csanyi Pal
Curt  writes:

> On 2012-03-24, Pál  wrote:
>
>> 400 load at 40.63, try later 
>
> I've gotten this same error (using slrn with gmane) and I just took it
> to mean that the server couldn't handle any more clients (overloaded).
>
> It does say try later, which seems to substantiate this
> interpretation. 

Indeed. I'm always in a hurry so I didn't saw 'try later'.

-- 
Regards from Pal


-- 
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/87bonl22ja@gmail.com



Re: Gnus can't open nntp+news.gmane.org

2012-03-24 Thread Curt
On 2012-03-24, Pál  wrote:

> 400 load at 40.63, try later 

I've gotten this same error (using slrn with gmane) and I just took it
to mean that the server couldn't handle any more clients (overloaded).

It does say try later, which seems to substantiate this interpretation.


-- 
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/slrnjms8qt.3di.cu...@einstein.electron.org



Re: Logs normalization (was: Can no longer mount SDHC card)

2012-03-24 Thread Rick Thomas


On Mar 24, 2012, at 12:58 PM, Camaleón wrote:


Well, it's far more simpler than that: I was only "whining" for not
having the same log files, located in the same place and holding the  
same

information between the different distributions :-)


Ahhh... The joy of Linux!  /-;

Linux is all about "choices".
Sometimes we like that -- we call it "freedom".
Sometimes we don't -- then we call it "chaos".

Enjoy!
Rick

--
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/46370bc3-6818-4001-af9f-c4d47a124...@pobox.com



Re: how to increase space for tmpfs /tmp

2012-03-24 Thread Javier Vasquez
On Sat, Mar 24, 2012 at 11:10 AM, Camaleón  wrote:
> On Sat, 24 Mar 2012 11:00:49 -0600, Javier Vasquez wrote:
>
>> 2012/3/24 Joey Hess :
>>> shirish शिरीष wrote:
 I got this error, does anybody know how I can give more space to tmpfs
 ?

 Downloaded, time 4575.50sec, speed 29kB/sec,
 texlive-latex-extra-doc_2009-10_2011.20120322-1_all.debdelta
  Error: applying of delta for texlive-latex-extra-doc failed:  :
 Sorry, not enough disk space (581788kB) in directory /tmp for applying
 delta (needs 668963kB) (retriable)
>>>
>>> Edit /etc/default/rcS, set RAMTMP=no, reboot. Or, set TMPDIR to point
>>> to something like $HOME/tmp
>>>
>>> You may also consider filing a bug, since the more people report
>>> problems with Debian's new, absurdly small /tmp, the more likely it is
>>> to get fixed.
>
> +5
>
>> Why?
>
> Because the default is giving some headaches to the users?
>

How many?  Or how many would you consider critical mass to make things change?

To me it's just not possible to provide defaults satisfying all users.

The important thing for the distro is to make sure to provide options
so the user can tweak the system as he/she wants/needs.  Not that it
will be perfect by default for his/her needs.  And this is already the
case for this tmpfs thing.

Moreover, you can shut debian settings off, and use fstab if you'd
like, as follows:

tmpfs  /tmp tmpfs   nodev,nosuid,relatime,size=2G   00

Current setting is not the most fortunate for some (neither for me),
but users still have the ability to configure as they wish, which BTW
can serve way better than any default now, or even in the future.

>> You can always configure as you wish.  Take a look at:
>>
>> /etc/default/tmpfs
>>
>> There you can configure TMPFS_SIZE and TMP_SIZE, which are the ones
>> asked for.  And if you definitely don't want to use tmpfs, then you can
>> RAMTMP=yes as you suggested.
>>
>> I think this is a matter of configuration, and we all might want
>> different settings for our purposes, :-)
>
> There was a recent discussion in this same list about that entitled
> "[Feedback needed] Setting the right size for /tmp" (it was opened by
> me), I would recommend reading people's comments to get a wider outlook
> on this with their pros and cons.

With so much traffic, I usually miss some e-mails...  I'll have to
look for that one you started...

I won't probably talk more about this, :-).  I believe the question
has been addressed (with options, and suggestions for complains), and
if not, maybe the original poster can ask further, :-)

>
> Greetings,
>
> --
> Camaleón

Thanks,

-- 
Javier.


--
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/CALUrRGdKaMg=byhq4cyq5mrjjwqwcg6zq2kjktrxeuyvxo3...@mail.gmail.com



Re: Gnus can't open nntp+news.gmane.org - SOLVED

2012-03-24 Thread Csanyi Pal
Pál  writes:

> I used so far GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
>  of 2012-03-21 on trouble, modified by Debian and in it GNUS to read and post
> news.gmane.org.
>
> Today I can't open news.gmane.org with Gnus, I get an error mesage: 
>
> Unable to open server nntp+news.gmane.org, go offline? (y or n) 
> 400 load at 40.63, try later 
> nntp (news.gmane.org) open error: '400 load at 40.63, try later '.
> Continue? (y or n) 
> Couldn't open server on news.gmane.org
>
> I didn't changed any settings neither in .emacs, nor in .gnus.
>
> What can I do to solve this problem?

Well, after a reboot Gnus can open again news.gmane.org, however I don't
know what happen.

-- 
Regards from Pal


-- 
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/87ipht273o@gmail.com



Re: Setup SSH to login from Internet to system behind firewal and sudo for few commands

2012-03-24 Thread Pál
Hi Dan,

Dan Ritter  randomstring.org> writes:

> On Wed, Mar 21, 2012 at 07:15:38PM +0100, Csanyi Pal wrote:

> > I want to setup firewall/gateway for an user to can login with SSH into
> > my desktop from the Internet.
> > 
> > After the user logged in with SSH, I want to let it run commands:
> > apt-get and apt-cache only.
> > 
> > Is this possyble?
> > If yes, how can I log the activities of that user?

> Well, you *could* do that:
> but I really suggest you NOT do this, unless you are the user in
> question. Remember that the power of apt-get as root can trash
> your machine.

> You'll get better advice if you explain what you're trying to
> do.

I think it would be better if I install on my VirtualBox a Debian GNU/Linux
wheezy/sid system and allow an user from the Internet to SSH into that system on
VB and there uses whatever command he like as root. Is it possible to have this
setup? Is it possible to SSH into a system that run in a VirtualBox?

Regrads, from Pál



-- 
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/loom.20120324t181455...@post.gmane.org



Re: how to increase space for tmpfs /tmp

2012-03-24 Thread Camaleón
On Sat, 24 Mar 2012 11:00:49 -0600, Javier Vasquez wrote:

> 2012/3/24 Joey Hess :
>> shirish शिरीष wrote:
>>> I got this error, does anybody know how I can give more space to tmpfs
>>> ?
>>>
>>> Downloaded, time 4575.50sec, speed 29kB/sec,
>>> texlive-latex-extra-doc_2009-10_2011.20120322-1_all.debdelta
>>>  Error: applying of delta for texlive-latex-extra-doc failed:  :
>>> Sorry, not enough disk space (581788kB) in directory /tmp for applying
>>> delta (needs 668963kB) (retriable)
>>
>> Edit /etc/default/rcS, set RAMTMP=no, reboot. Or, set TMPDIR to point
>> to something like $HOME/tmp
>>
>> You may also consider filing a bug, since the more people report
>> problems with Debian's new, absurdly small /tmp, the more likely it is
>> to get fixed.

+5

> Why?

Because the default is giving some headaches to the users?
 
> You can always configure as you wish.  Take a look at:
> 
> /etc/default/tmpfs
> 
> There you can configure TMPFS_SIZE and TMP_SIZE, which are the ones
> asked for.  And if you definitely don't want to use tmpfs, then you can
> RAMTMP=yes as you suggested.
> 
> I think this is a matter of configuration, and we all might want
> different settings for our purposes, :-)

There was a recent discussion in this same list about that entitled 
"[Feedback needed] Setting the right size for /tmp" (it was opened by 
me), I would recommend reading people's comments to get a wider outlook 
on this with their pros and cons.

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



Gnus can't open nntp+news.gmane.org

2012-03-24 Thread Pál
Hi,

I used so far GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-03-21 on trouble, modified by Debian and in it GNUS to read and post
news.gmane.org.

Today I can't opne news.gmane.org with Gnus, I get an error mesage: 

Unable to open server nntp+news.gmane.org, go offline? (y or n) 
400 load at 40.63, try later 
nntp (news.gmane.org) open error: '400 load at 40.63, try later '.  Continue? (y
or n) 
Couldn't open server on news.gmane.org

I didn't changed any settings neither in .emacs, nor in .gnus.

What can I do to solve this problem?

Regards, from Pál


-- 
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/loom.20120324t180300-...@post.gmane.org



Re: US Weather Bureau video displays have stopped working

2012-03-24 Thread Camaleón
On Sat, 24 Mar 2012 11:11:40 -0400, Edward C. Jones wrote:

> My PC has up-to-date Debian stable on it. Although the CPU chip is
> Intel, the kernel is "AMD64".  

Which is fine :-)

> Here is an URL for a U. S. Weather Bureau radar site:
> 
> http://radar.weather.gov/radar.php?rid=lwx&product=N0R&overlay=1110&loop=yes
> 
> This should show a time-lapse loop for the radar in Sterling, Virginia.
> Recently this has stopped working.  Does anybody know what the problem
> is?

Also works here.

Ensure your browser is giving preference to the Flash Player plugin over 
Gnash.

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/jkkumb$7bd$9...@dough.gmane.org



Re: how to increase space for tmpfs /tmp

2012-03-24 Thread Javier Vasquez
2012/3/24 Joey Hess :
> shirish शिरीष wrote:
>> I got this error, does anybody know how I can give more space to tmpfs ?
>>
>> Downloaded, time 4575.50sec, speed 29kB/sec,
>> texlive-latex-extra-doc_2009-10_2011.20120322-1_all.debdelta
>>  Error: applying of delta for texlive-latex-extra-doc failed:  :
>> Sorry, not enough disk space (581788kB) in directory /tmp for applying
>> delta (needs 668963kB) (retriable)
>
> Edit /etc/default/rcS, set RAMTMP=no, reboot. Or, set TMPDIR to point to
> something like $HOME/tmp
>
> You may also consider filing a bug, since the more people report
> problems with Debian's new, absurdly small /tmp, the more likely it
> is to get fixed.
>
> --
> see shy jo


Why?

You can always configure as you wish.  Take a look at:

/etc/default/tmpfs

There you can configure TMPFS_SIZE and TMP_SIZE, which are the ones
asked for.  And if you definitely don't want to use tmpfs, then you
can RAMTMP=yes as you suggested.

I think this is a matter of configuration, and we all might want
different settings for our purposes, :-)

Thanks,

-- 
Javier.


--
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/CALUrRGfNyLUZNqLjbnb8v8K2LD_k7LUgmuSoH2fBQ+wV_G=6...@mail.gmail.com



Logs normalization (was: Can no longer mount SDHC card)

2012-03-24 Thread Camaleón
On Sat, 24 Mar 2012 11:32:55 -0400, Rick Thomas wrote:

> On Mar 23, 2012, at 11:53 AM, Camaleón wrote:

>>> Take a look at /etc/rsyslog.conf
>>
>> Nothing of interest (for the matter) here.
>>
>>> and
>>> man rsyslog.conf rsyslogd
>>
>> Still no way to know where messages are being dropped.
>>
>> I would like to see more integration/compatibility in this regard
>> coming
>> from all distributions.
>>
>>> All your questions will be answered (albeit cryptically) there.
>>
>> Mmm... I'm afraid they're not ;-)
>>
> 
> Perhaps I didn't understand your question.
> 
> Those man pages, along with the rsyslog.conf file will give you the
> general rules governing which messages get sent into which log files.

Yes. And this is the same for every distribution. But no, I was not 
speaking about that but the differences between linux distributions which 
configure different logging settings.

For example, and as I said before, there is no "/var/log/syslog" in 
openSUSE and what Debian sends to syslog openSUSE sends it to "/var/log/
messages" which is also available in Debian but holding different 
information. 

Which is nothing but a bit of mess for system administratrors and that's 
why I would like to see a higher degree of integration (standardization) 
in this field, logs (at least for me) are an important part of any 
operating system.

> Any particular messages will be a special case of those general rules. 
> I did say that they were cryptic.  So the application of the rules may
> require specialized knowledge, often available only by examining the
> source code.

Yes, I know it can be tweaked but I was referring to the defaults.
 
> Perhaps your question was prompted by the need for that specialized
> knowledge?  If that's the case, I apologize for misunderstanding.

Well, it's far more simpler than that: I was only "whining" for not 
having the same log files, located in the same place and holding the same 
information between the different distributions :-)

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/jkkufu$7bd$8...@dough.gmane.org



Re: Can no longer mount SDHC card

2012-03-24 Thread Camaleón
On Sat, 24 Mar 2012 22:09:57 +0700, Ken Heard wrote:

> Camaleón wrote:
> 
>> But don't worry; linear thinking is not linked to a particular gender.
> 
> Don't you mean sex?  Nouns and adjectives have gender, but people have
> sex.

Nope, I meant "gender" which also applies to human beings, AFAIK.

But if you feel better having sex than gender I'm not going to object to 
that.

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/jkktes$7bd$7...@dough.gmane.org



Re: is there anti censor software in Debian packages?

2012-03-24 Thread Rob Owens
On Sat, Mar 24, 2012 at 07:20:25PM +0800, Long Wind wrote:
> I am in China, the government blocks many sites
> I just install freegate, it works well for Windows XP
> Which debian package can do that job?
> I used to use tor
> it worked for some time, later it didn't work
> 
See if you can use https://startpage.com

It's a search engine that gives you the option of viewing links through
their proxy.  But I suspect your government may block that site.

-Rob


-- 
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/20120324164009.gb13...@aurora.owens.net



Re: simple stand-alone firewall

2012-03-24 Thread Charles Kroeger
>Is there a good firewall application in Debian which provides a secure
>default configuration?  Or must I learn how to configure a firewall?

The package: 'arno-iptables-firewall' will do that. You will have to tell it
how you're connecting (e.g. eth0) but after that it will configure a
'default' script. It will give you a 'stealth' classification on the grc.com
'shields up' port prober..possibly a false sense of security but fun to watch.

I use shorewall myself, there's good examples presented with the package in
how to configure the various files you can use those examples with some
obvious local tweaking and get good results even if you don't know what
you're doing.

You won't get a 'stealth' rating at grc. Shorewall seems to leave port 0
visible but closed. I don't know why this is but would be interested to know
if someone on this list knew the reason.

What is the deal with port 0?

-- 
CK 


-- 
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/9t6aa9fg5...@mid.individual.net



RE: US Weather Bureau video displays have stopped working

2012-03-24 Thread Mike Viau


> On Sat, 24 Mar 2012 11:11:40 -0400  wrote:
> 
> My PC has up-to-date Debian stable on it. Although the CPU chip is 
> Intel, the kernel is "AMD64". 

This is okay, and not a CPU problem

>Here is an URL for a U. S. Weather Bureau radar site:
> 
> http://radar.weather.gov/radar.php?rid=lwx&product=N0R&overlay=1110&loop=yes
> 
> This should show a time-lapse loop for the radar in Sterling, Virginia.  
> Recently this has stopped working.  Does anybody know what the problem is?
> 

It appears to be working fine for me


-M
  

--
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/bay148-w1940d6a687954e7d22ccf7ef...@phx.gbl



Re: US Weather Bureau video displays have stopped working

2012-03-24 Thread Cybe R. Wizard
On Sat, 24 Mar 2012 11:11:40 -0400
"Edward C. Jones"  wrote:

> My PC has up-to-date Debian stable on it. Although the CPU chip is 
> Intel, the kernel is "AMD64".  Here is an URL for a U. S. Weather
> Bureau radar site:
> 
> http://radar.weather.gov/radar.php?rid=lwx&product=N0R&overlay=1110&loop=yes
> 
> This should show a time-lapse loop for the radar in Sterling,
> Virginia. Recently this has stopped working.  Does anybody know what
> the problem is?
> 
Up-to-date Debian Sid works with Iceweasel, Opera and even gGaleon(!).
Maybe its your flash player?  Mine is Adobe 11.1.102.55

Cybe R. Wizard
-- 
Strength through Unity.
Unity through faith.
Adam Sutler


-- 
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/20120324105319.4107e207@wizardstower



Re: Can no longer mount SDHC card

2012-03-24 Thread Rick Thomas


On Mar 23, 2012, at 11:53 AM, Camaleón wrote:


On Fri, 23 Mar 2012 00:59:56 -0400, Rick Thomas wrote:


On 03/22/12 10:47, Camaleón wrote:

To be sincere, I'm still unsure about what log file holds what
information. In openSUSE, the main log was "/var/log/messages" and  
you

had to look there to see the most relevant information, but here
(Debian) seems to be "/var/log/syslog". Then there are additional  
small
files for authentication, user and other stuff I never remember  
which

is disseminated into small registries files.


Take a look at /etc/rsyslog.conf


Nothing of interest (for the matter) here.


and
man rsyslog.conf rsyslogd


Still no way to know where messages are being dropped.

I would like to see more integration/compatibility in this regard  
coming

from all distributions.


All your questions will be answered (albeit cryptically) there.


Mmm... I'm afraid they're not ;-)

Greetings,

--
Camaleón


Perhaps I didn't understand your question.

Those man pages, along with the rsyslog.conf file will give you the  
general rules governing which messages get sent into which log files.   
Any particular messages will be a special case of those general  
rules.  I did say that they were cryptic.  So the application of the  
rules may require specialized knowledge, often available only by  
examining the source code.


Perhaps your question was prompted by the need for that specialized  
knowledge?  If that's the case, I apologize for misunderstanding.


Rick

--
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/225fac29-e7a4-40b2-a371-bc43d3225...@pobox.com



US Weather Bureau video displays have stopped working

2012-03-24 Thread Edward C. Jones
My PC has up-to-date Debian stable on it. Although the CPU chip is 
Intel, the kernel is "AMD64".  Here is an URL for a U. S. Weather Bureau 
radar site:


http://radar.weather.gov/radar.php?rid=lwx&product=N0R&overlay=1110&loop=yes

This should show a time-lapse loop for the radar in Sterling, Virginia.  
Recently this has stopped working.  Does anybody know what the problem is?



--
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/4f6de42c.3070...@comcast.net



Re: how to increase space for tmpfs /tmp

2012-03-24 Thread Joey Hess
shirish शिरीष wrote:
> I got this error, does anybody know how I can give more space to tmpfs ?
> 
> Downloaded, time 4575.50sec, speed 29kB/sec,
> texlive-latex-extra-doc_2009-10_2011.20120322-1_all.debdelta
>  Error: applying of delta for texlive-latex-extra-doc failed:  :
> Sorry, not enough disk space (581788kB) in directory /tmp for applying
> delta (needs 668963kB) (retriable)

Edit /etc/default/rcS, set RAMTMP=no, reboot. Or, set TMPDIR to point to
something like $HOME/tmp

You may also consider filing a bug, since the more people report
problems with Debian's new, absurdly small /tmp, the more likely it
is to get fixed.

-- 
see shy jo


signature.asc
Description: Digital signature


Re: how to increase space for tmpfs /tmp

2012-03-24 Thread shirish शिरीष
please CC me if anybody does answer this, sorry for top-posting.

2012/3/24 shirish शिरीष :
> Hi all,
> I got this error, does anybody know how I can give more space to tmpfs ?
>
> Downloaded, time 4575.50sec, speed 29kB/sec,
> texlive-latex-extra-doc_2009-10_2011.20120322-1_all.debdelta
>  Error: applying of delta for texlive-latex-extra-doc failed:  :
> Sorry, not enough disk space (581788kB) in directory /tmp for applying
> delta (needs 668963kB) (retriable)
>
>
> I tried this command :-
>
> $sudo mount -o size=734003200  /tmp
>
>
> This gave me this :-
>
> $ df -hT
> Filesystem                                             Type      Size
> Used Avail Use% Mounted on
> rootfs                                                 rootfs     84G
>  16G   65G  20% /
> udev                                                   devtmpfs  996M
>   0  996M   0% /dev
> tmpfs                                                  tmpfs     201M
> 744K  200M   1% /run
> /dev/disk/by-uuid/somuuidno. ext4       84G   16G   65G  20% /
> tmpfs                                                  tmpfs     5.0M
>   0  5.0M   0% /run/lock
> tmpfs                                                  tmpfs     700M
>   0  700M   0% /tmp
> tmpfs                                                  tmpfs     401M
>  84K  401M   1% /run/shm
> /dev/sda10                                             ext4       84G
>  77G  3.2G  97% /home
> tmpfs                                                  tmpfs     700M
>   0  700M   0% /tmp
> tmpfs                                                  tmpfs     700M
>   0  700M   0% /tmp
>
>
> The only change I have done here is just masked/not shared the uuid
> number of the disk. Even after doing this change I got the same error
> as before. What's more now I can see two entries for tmpfs as well but
> still a no go, any ideas anybody ?

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


Re: Can no longer mount SDHC card

2012-03-24 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Camaleón wrote:

> But don't worry; linear thinking is not linked to a particular gender.

Don't you mean sex?  Nouns and adjectives have gender, but people have sex.

Ken

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAk9t48QACgkQlNlJzOkJmTcOlACfWtIHZkAxRfcEuA9kp/pTw3AM
XwsAn3fGFfrWy44SizV7C/H56Z2juHL0
=BNnI
-END PGP SIGNATURE-


-- 
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/4f6de3c5.5030...@heard.name



Re: Apt-pinning confusion

2012-03-24 Thread Ramon Hofer
On Fri, 23 Mar 2012 12:15:10 +, Ramon Hofer wrote:

> So I thought I'd go with Stable, the kernel from backports and alsa from
> testing.
> Unfortunately this doesn't work. I suppose my problem are wrong apt-
> preferences numbers or something like this.

Could it be that it's not possible to have the squeeze-backports kernel, 
wheezy alsa-utils and any build-essential installed at the same time is 
not possible?

Here's the output of apt-get install build-essential and apt-get -t 
wheezy install alsa-utils.

http://pastebin.com/raw.php?i=njV7phnL

So I switched to the wheezy build essential. It deinstalled the 2.6 
headers.
Then I was able to install alsa-utils from wheezy.

But when I want to install a dependency from xbmc "libcurl4-gnutls-dev" I 
have to install pkg-config which remove build-essential again.

Maybe it's easier for me to switch to Wheezy and install the libbost 
package from Squeeze.

Or am I missing something?


Best regards
Ramon


-- 
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/jkkmo2$81t$1...@dough.gmane.org



Re: Apt-pinning confusion

2012-03-24 Thread Camaleón
On Sat, 24 Mar 2012 13:14:47 +, Ramon Hofer wrote:

> On Fri, 23 Mar 2012 18:55:13 +, Camaleón wrote:
 
>>> What do you think it would be better to completely go with testing.
>> 
>> Testing is currently quite stable but there are significant differences
>> between wheezy and squeeze, like the gnome environment.
> 
> I think this won't make any difference for me because I will only use
> the base system with xorg and xbmc without any window manager.

Oh, that will make things easier (in the event you want to go with 
testing) :-)

>> I'm not going to make any comments about pinning because I've never
>> used but just a question: have you considered in using pinning only for
>> the packages you want to be kept for a specific flavour? That is, being
>> more "selective" to avoid additional problems or messing up too many
>> packages.
> 
> This sounds good.
> I thought I can do that by installing via "apt-get -t wheezy
> alsa-utils".

Yes, if you manually specify in that way it's even safer.

(...)

> Unfortunately I don't have synaptic. I only have the terminal since I
> don't want to use any window manager for xbmc.

Aptitude can be a good "replacement" for Synaptic.

> I can't as well install build-essential. There are many dependencies
> which usually are solved automatically. I think this is something that
> shouldn't be. When I want to install build- essential it asks for
> libc6-dev which depends on libc but a newer version is to be installed:
> 
> http://pastebin.com/raw.php?i=FCBUeaVg

$ sudo apt-get -t squeeze-backports install build-essential 

> It seems as if I made a mess because there already is a libc6 package
> from testing installed.

Mmm, I can't see such that package available for the backports :-?

>> Your first plan seems good, it may just need to be polished a bit :-)
> 
> Ok, thanks.
> I will try to again maybe with a clean install again. Like that the mess
> with the package dependencies should be gone.

Wow... no need to re-install :-), just be sure about the steps you're 
doing. Whether in doubt, launch aptitude and try from there, it usually 
provides insightful information when having to deal with different/mixed  
sources.

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/jkkkfd$7bd$6...@dough.gmane.org



Re: USB drive spins up every hour

2012-03-24 Thread Curt
On 2012-03-24, Stefan Monnier  wrote:
>
> My problem is that apparently some application somehow accesses the
> drive but not in a way that block_dump catches.

It won't spin up if it's not mounted, will it?

I mean, I believe you mentioned you only use the drive once a day
for back-up purposes, so that it could remain unmounted and unspinupable
at all other times.

--Curt

(who knows nothing about hard drives and how they get that way).


-- 
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/slrnjmrl3j.1t2.cu...@einstein.electron.org



Re: simple stand-alone firewall

2012-03-24 Thread Chris Davies
Russell L. Harris  wrote:
> From the standpoint of protection of a LAN (two or three machines)
> for a home or home office, how effective is a firmware-based
> firewall/router in comparison with a software-based stand-alone
> firewall/router?  Is either significantly better than the other?

Firmware based will probably be on a lower-powered device - and therefore
more energy friendly. You should be able to get one that is sufficiently
sophisticated to handle pretty much all your SoHo needs.


> I am thinking in terms of devoting an old computer (200 MHz Pentium)
> to the task of firewall/router.

Plenty sufficient.


> Is there a good firewall application in Debian which provides a secure
> default configuration?  Or must I learn how to configure a firewall?

I'm not aware of a firewall application that provides a default secure
configuration. (That could be as harsh as "nothing in, nothing out",
or a little more relaxed such as "nothing in, anything out". It depends
on your requirements.)

My preference is shorewall, but that's not GUI based and you do need
to understand firewalls "enough" to make some sensible decisions. I've
tried to use fwbuilder in the past but I couldn't get my head around
how to make the GUI do what I wanted. The shorewall website has some
pretty good worked examples for different scenarios.

A really simple "nothing in, anything out" for a end-point workstation
can be defined like this -

  # Erase the rules associated with the INPUT chain
  iptables -F INPUT

  # Allow in anything that is part of a known connection
  iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

  # Put other ALLOW rules here
  # e.g. inbound to tcp port 80: iptables -A INPUT -p TCP --dport 80

  # Reject anything else coming in via eth0
  iptables -A INPUT -i eth0 -j REJECT

But it gets more complicated if you're going to route from one interface
to another - which is why a "default" ruleset isn't always one that's
going to work. For starters, you need to define which interface is
"external" and which one(s) are "internal".

Chris


-- 
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/ekq049x72q@news.roaima.co.uk



Re: Apt-pinning confusion

2012-03-24 Thread Ramon Hofer
On Fri, 23 Mar 2012 18:55:13 +, Camaleón wrote:

> On Fri, 23 Mar 2012 12:15:10 +, Ramon Hofer wrote:
> 
>> I'm trying to put the MythTV PVR XBMC version on my Shuttle box. I need
>> a newer alsa version than the one from Squeeze because the stable
>> version doesn't see the soundcard. So I wanted to install alsa from
>> testing.
>> And because I use a SSD I thought it would be a good idea to use the
>> squeeze-backports kernel.
>> 
>> What do you think it would be better to completely go with testing.
> 
> Testing is currently quite stable but there are significant differences
> between wheezy and squeeze, like the gnome environment.

I think this won't make any difference for me because I will only use the 
base system with xorg and xbmc without any window manager.


>> There are two reasons why I didn't want to do this:
>> 
>> First I need to compile the jme module manually to be able to use the
>> network interface. So I thought the less changes to the kernel makes me
>> less often compile that module again.
> 
> My wild guess is that wheezy kernel is not going to change much since
> now (3.2.12 is the current one) and IIRC, wheezy will be relased with
> this (3.2.x) branch but well... this can change at any time so yes, you
> will have to recompile the kernel module for every kernel change.

Ok, so at least I don't have to expect kernel changes every day :-)


>> Second the XBMC version I want to install needs libboost version 1.47
>> or older.
> 
> Any specific reason for you to stick with a specific version of XBMC?
> :-?

Yes, I want to use xbmc as a frontend for mythtv. And there's a branch of 
xbmc pvr that can connect to mythbackend:

http://forum.xbmc.org/showthread.php?tid=110694

  
>> Unfortunately this doesn't work. I suppose my problem are wrong apt-
>> preferences numbers or something like this.
>> 
>> Here's my sources.list: http://pastebin.com/5SQhvDqw And apt
>> preferences: http://pastebin.com/VcndLA6C
> 
> (tip: when sending a pastebin link, I prefer to use the "raw" mode, it
> reads better, i.e.: http://pastebin.com/raw.php?i=VcndLA6C)

Didn't know that. Thanks for the tip I will post it like this from now 
on :-)


> I'm not going to make any comments about pinning because I've never used
> but just a question: have you considered in using pinning only for the
> packages you want to be kept for a specific flavour? That is, being more
> "selective" to avoid additional problems or messing up too many
> packages.

This sounds good.
I thought I can do that by installing via "apt-get -t wheezy alsa-utils".


>> And here's the error I get when I try to install linux-headers-686-pae
>> from squeeze-backports: http://pastebin.com/RcAPE36t
>> 
>> The following packages have unmet dependencies:
>>  linux-headers-686-pae : Depends: linux-headers-3.2.0-0.bpo.2-686-pae
>>  but
>> it is not going to be installed
>> E: Broken packages
> 
> Mmm... "linux-headers-686-pae" is a metapackage that has to pull "linux-
> headers-3.2.0-0.bpo.2-686-pae" automatically, I would open Sypatic to
> see what's going on with this although manually installing "linux-
> headers-3.2.0-0.bpo.2-686-pae" in addition to the metacpake should work.

I installed the two metapackages linux-headers-686-pae and linux-
image-686-pae so that I always have the newest backport kernel with the 
matching headers.

Unfortunately I don't have synaptic. I only have the terminal since I 
don't want to use any window manager for xbmc.

I can't as well install build-essential. There are many dependencies 
which usually are solved automatically.
I think this is something that shouldn't be. When I want to install build-
essential it asks for libc6-dev which depends on libc but a newer version 
is to be installed: 

http://pastebin.com/raw.php?i=FCBUeaVg

It seems as if I made a mess because there already is a libc6 package 
from testing installed.


>> Yesterday I had the problem with alsa but today witchcraft made the
>> problem with alsa disappear but the one with the kernel header and as
>> well build-essential appear.
>> 
>> Is this really a problem of the apt pinning numbers? Or what can you
>> suggest me to do?
>> Maybe stick with the stable kernel and compile alsa from source?
> 
> Your first plan seems good, it may just need to be polished a bit :-)

Ok, thanks.
I will try to again maybe with a clean install again. Like that the mess 
with the package dependencies should be gone.


Best regards
Ramon


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



changing the title of the thread

2012-03-24 Thread Pierre Frenkiel

On Sat, 24 Mar 2012, Tom H wrote:


. . .


  It happens very often that the discussion, although very intersting, shifts
  to something which has absolutely nothing to de with the
  original subject. In that case, I suggest to modify the subject when
  replying, as I did in the present reply.
  In particular, it would make more efficient the search for a given
  topic when browsing the archive.
  For example, if I need informations about "ffmpeg" or "handbrake",
  I will never look in a thread named
   apt-get will upgrade aptitude will not

--
Pierre


--
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.00.1203241340050.17...@pfr2.frenkiel-hure.net



Re: apt-get will upgrade aptitude will not

2012-03-24 Thread Tom H
On Sat, Mar 24, 2012 at 7:16 AM, Jochen Spieker  wrote:
> Chris Bannister:
>>
>> I suppose that ultimately all you'd need is libav (ffmpeg is
>> "now/will be" deprecated)
>
> Oh, didn't know that.

>From a recent -devel post [1]:



> Actually, ffmpeg changed names to libav recently. The latter is in
> Debian (unstable), not yet in debian-multimedia.org's unstable
> repository.

Not exactly: Libav is a _fork_ of FFmpeg.



More at [2] and [3] (and probably many other places...).

[1] http://lists.debian.org/debian-devel/2012/03/msg00361.html
[2] http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2011-March/109225.html
[3] http://www.phoronix.com/scan.php?page=news_item&px=OTIwNw


-- 
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=szksjk-zaw+xdguok5a0z-luhfrmzv_wecrfqcrtpb...@mail.gmail.com



Re: simple stand-alone firewall

2012-03-24 Thread green
Russell L. Harris wrote at 2012-03-24 02:02 -0500:
> Is there a good firewall application in Debian which provides a secure
> default configuration?  Or must I learn how to configure a firewall?

Hopefully you are able to find something simple to use, but if you do learn 
how to configure a firewall, I can recommend the ferm package.  Ferm is 
simple to use after learning a bit about iptables, and much faster than 
custom iptables scripts.  There is more information and an example script at:
http://wiki.debian.org/ferm


signature.asc
Description: Digital signature


Re: is there anti censor software in Debian packages?

2012-03-24 Thread Camaleón
On Sat, 24 Mar 2012 19:20:25 +0800, Long Wind wrote:

> I am in China, the government blocks many sites I just install freegate,
> it works well for Windows XP Which debian package can do that job? I
> used to use tor
> it worked for some time, later it didn't work

The Tor community will be glad to hear what's going wrong for you, have 
you contacted them (forums, mailing list, bugzilla...)? 

Anyway, although I have not tried, maybe Freegate can work through Wine.

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/jkkedi$7bd$5...@dough.gmane.org



is there anti censor software in Debian packages?

2012-03-24 Thread Long Wind
I am in China, the government blocks many sites
I just install freegate, it works well for Windows XP
Which debian package can do that job?
I used to use tor
it worked for some time, later it didn't 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/CAB-gxZC2oDM5GobGoCK_xrotEpLDmRHNNnpO=nrcyepebto...@mail.gmail.com



Re: apt-get will upgrade aptitude will not

2012-03-24 Thread Jochen Spieker
Chris Bannister:
> On Fri, Mar 23, 2012 at 04:24:18PM +0100, Jochen Spieker wrote:
>> Chris Bannister:
>>> 
>>> I didn't know about handbrake-cli and looks like it might replace
>>> "videotrans" and "lxdvdrip" 
>> 
>> From what I can tell from their package descriptions: not quite. I
>> usually dump DVD contents using 'mplayer -dumpstream' and then encode
> 
>  You have to watch the whole thing each time? 

No, -dumpstream can use full drive speed without showing the movie.

>> the resulting directory structure using HandBrakeCLI (yes, the binary
>> name has capitals in it!). HandBrake's strength lies more in the
>> encoding part, not in DVD ripping/backup.
> 
> I suppose that ultimately all you'd need is libav (ffmpeg is 
> "now/will be" deprecated)

Oh, didn't know that.

> dvdauthor, and genisoimage/growisofs or would that be libav, vim ?

Usually, I don't author DVDs. I just want them in H.264 on my disk.

J.
-- 
I hate myself but have no clear idea why.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: [MUST WATCH YOUTUBE VIDEO] [SUCCESS REPORT] Xen VGA Passthrough to Windows 8 Consumer Preview HVM Virtual Machine with Xen 4.2-unstable Changeset 25070 and Linux Kernel 3.3.0 in Ubuntu 11.10 amd64

2012-03-24 Thread Martin Steigerwald
Am Donnerstag, 22. März 2012 schrieb Teo En Ming (Zhang Enming):
> Dear Xen Users and David Techer,

Hi Teo,

> It is only in the last few days that I have had great success with Xen
> VGA Passthrough to Windows 8 Consumer Preview HVM Virtual Machine with
> Xen 4.2-unstable Changeset 25070 and Linux Kernel 3.3.0 in Ubuntu 11.10
> amd64 dom0.

Now what at all does this have to do with Debian?

This is a Debian mailing list, not an Ubuntu one.

This also is not a Xen specific mailing list.

And what on earth do I want with Windows 8 Consumer Preview?

You mentioned it once here already, now you mentioned it again. You posted 
it to various other mailing lists.

Everyone can look it up. Search engines for sure find. I just tried, for 
"Xen VGA passthrough Windows 8 Consumer Preview" Google has you posts here 
as first hits.

I think thats (more) than enough advertisement. Heck, you even posted it 
in Phoronix forums, Xen-devel - while its no a developer topic as well I 
suppose - and where else not.

So please keep it at that and do not post again here regarding this topic 
unless someone asks about it and wants to know more.

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


--
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/201203241108.58431.mar...@lichtvoll.de



Re: [MUST WATCH YOUTUBE VIDEO] [SUCCESS REPORT] Xen VGA Passthrough to Windows 8 Consumer Preview HVM Virtual Machine with Xen 4.2-unstable Changeset 25070 and Linux Kernel 3.3.0 in Ubuntu 11.10 amd64

2012-03-24 Thread Teo En Ming (Zhang Enming)

Dear Karlsen,

That jet engine noise is really actually my Delta 12 cm 1.3 Amperes fan 
in my computer casing.


As for audio track, I don't know what to say. Let the video speak for 
itself.


Thank you very much.

Yours sincerely,

Teo En Ming (Zhang Enming)

On 23/03/2012 00:40, Arnt Karlsen wrote:

On Thu, 22 Mar 2012 23:29:46 +0800, Teo wrote in message
<4f6b456a.8040...@gmail.com>:


Dear Xen Users and David Techer,

It is only in the last few days that I have had great success with
Xen VGA Passthrough to Windows 8 Consumer Preview HVM Virtual Machine
with Xen 4.2-unstable Changeset 25070 and Linux Kernel 3.3.0 in
Ubuntu 11.10 amd64 dom0.

Please do watch my Youtube video on successful Xen VGA Passthrough to
Windows 8 Consumer Preview HVM domU.

Youtube video link: http://www.youtube.com/watch?v=kGH05ZoMk6o

..successful?  Like Obama, "I have 2 words," mine are, "Prove it."

..instead, you break up your alleged chain of evidence by
faceplanting your entire audience.  Imagine if I came to SG,
grabbed you by your neck and planted your face onto whatever
you put your camera down on, to make that same noise with
your face, as many times.  Yes I lost count, I was distracted
by that wanna-be jet engine or vacuum cleaner or whatever
whine on your _useless_ audio track.  Lose it.

..next time, put your camera on a tripod or duct-tape it onto
your face or whatever so it _always_ records what you wanna
show us in a way that proves an _unbroken_ chain of evidence.
Verbal comments and no whine makes a nice useful audio track.




--
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/4f6d7eb4.4030...@gmail.com



Re: simple stand-alone firewall

2012-03-24 Thread Mika Suomalainen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I use UFW as firewall on all computers at home. It's very easy to
configure.

UFW (package ufw) can be found from Debian repositories. For
documentation see https://help.ubuntu.com/community/UFW . There is
also graphical user interface called GUFW (package gufw).

On 24.03.2012 09:02, Russell L. Harris wrote:
>> From the standpoint of protection of a LAN (two or three
>> machines) for
> a home or home office, how effective is a firmware-based 
> firewall/router in comparison with a software-based stand-alone 
> firewall/router?  Is either significantly better than the other?
> 
> I am thinking in terms of devoting an old computer (200 MHz
> Pentium) to the task of firewall/router.  In years past (back in
> the dark epoch when I was running Window$), I discovered SmoothWall
> while struggling with a DSL line with PPPoE.
> 
> After downloading a small CD ISO image from the SmoothWall web
> site, it took me less than an hour to install and configure
> SmoothWall. With SmoothWall, it was not necessary for the user to
> study the subject of firewall configuration -- the default
> SmoothWall configuration was perfectly adequate for most users.
> 
> I quit using SmoothWall several years ago, when a friend gave me a 
> firmware firewall/router and convinced me that I ought to make the 
> transition, simply for the economy in terms of desktop space and 
> electricity.  And I no longer have the curse of PPPoE.
> 
> But now I think that it might be prudent to return to a devoted 
> machine and software, and I would much prefer to use a Debian
> package instead of SmoothWall.
> 
> Is there a good firewall application in Debian which provides a
> secure default configuration?  Or must I learn how to configure a
> firewall?
> 
> RLH
> 
> 

- -- 
Mika Suomalainen
> gpg --keyserver keyserver.ubuntu.com --recv-keys 62FE66853913CB03 
> Key fingerprint = ED5E 7C98 4489 7058 CDA9  9A55 62FE 6685 3913
> CB03

>> Are you seeing weird character mess on bottom of this email?
>>> Or are you seeing weird .sig files in attachments?
 If the answer is yes, follow these steps:
> 1. Install GPG.
>> For Linux: see package managment of your distribution. 
>> For Mac OS X: http://gpgtools.org/ For Windows:
>> http://gpg4win.org/
> 2. Install GPG compatible email client. E.g. Thunderbird
>> http://mozilla.org/thunderbird/
> 3. Install GPG support for Thunderbird
>> http://enigmail.mozdev.org/home/index.php.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPbXo1AAoJEGL+ZoU5E8sD3EsIAKMjOtf4B/QPKYjfp1g7szvt
ZKPDPL/lGQs6W+hJEhRuh3sgGNjCD6lndYmPetEgoL86QOrbXEGT/jsefu1HtGjO
KmaH9Iiw6m/w+8uww/EEs6uzzVPyFz7ja57lgA5a2U+Xe6vCX/75oSNca/O2v9US
IcXrvZ9qx53U3JESAvthcBYKOSebZ6IimytfYXGe6mkjJ0SY9+CT7qlQpxB/CkSF
Dljh7gh3qoY37MSwLCVcZnPKU4DFg35cY6S9bz3tq2m0kuJFK9SNQ0sHif+529zb
/nh+zxUwpkMbWvp1eiTNu7kBfftiBGpcWkvQFcwulYaKp+Bvnu/3YZzoK5nc8OM=
=+3RS
-END PGP SIGNATURE-


-- 
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/4f6d7a3d.80...@gmail.com



Re: USB drive spins up every hour

2012-03-24 Thread Camaleón
On Fri, 23 Mar 2012 22:15:38 -0400, Stefan Monnier wrote:

> My USB-connected drive spins up every hour (or even half-hour).
>> (...)
> Any idea what it might be and how to find out and fix it?
 IIRC, this setting can be defined using hdparm ("-M" flag and also
 "/usr/ share/doc/hdparm/README.acoustic") but as the man page/doc
 says, the possible options for this value depend on the hard disks
 model.
>>> hdparm only sets the timeout for spin DOWN.  My drives spins down just
>>> fine, the problem is that it spins *UP* even though I don't use it.
>> I think both settings can be tweaked. "man hdparm" is long but worth
>> for a slow reading.
> 
> You're confused.  Spin up happens when the drive is accessed and that's
> all there is to it.  

Well, that's not always the case. There are external drives which have 
embeded in their firmware the power saving routines and spin-down/up 
automatically based on that, regardless the disk is being accessed or not.

> There is no setting for it because there's no reason to spin up the
> drive if there's no access to it, and there's no way to satisfy an
> access without spinning the drive, so there's basically no choice of
> when to spin up, from the drive's point of view (except for accesses to
> meta-data via things like smartctl and hdparm).
> 
> My problem is that apparently some application somehow accesses the
> drive but not in a way that block_dump catches.

Mmm... if you so sure the disk is awaked by an external application, then 
don't mount it unless you need it, that way the disk can be still powered 
on but it will inaccessible for the system and programs.

>  Stefan "already familiar with the hdparm man page, which
> incidentally also mentions that these operations often
> don't work for USB-connected drives ;-)"

This is hit-or-miss, you have to try first :-)

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/jkjtrs$7bd$4...@dough.gmane.org



Re: simple stand-alone firewall

2012-03-24 Thread Camaleón
On Sat, 24 Mar 2012 07:02:42 +, Russell L. Harris wrote:

> From the standpoint of protection of a LAN (two or three machines) for
> a home or home office, how effective is a firmware-based firewall/router
> in comparison with a software-based stand-alone firewall/router?  

I'd say even the SPI and firewall capabilities of most home/soho DSL 
routers will be enough for that environment.

> Is either significantly better than the other?

That will depend on the appliance.
 
> I am thinking in terms of devoting an old computer (200 MHz Pentium) to
> the task of firewall/router.  In years past (back in the dark epoch when
> I was running Window$), I discovered SmoothWall while struggling with a
> DSL line with PPPoE.
> 
> After downloading a small CD ISO image from the SmoothWall web site, it
> took me less than an hour to install and configure SmoothWall. With
> SmoothWall, it was not necessary for the user to study the subject of
> firewall configuration -- the default SmoothWall configuration was
> perfectly adequate for most users.
> 
> I quit using SmoothWall several years ago, when a friend gave me a
> firmware firewall/router and convinced me that I ought to make the
> transition, simply for the economy in terms of desktop space and
> electricity.  And I no longer have the curse of PPPoE.
> 
> But now I think that it might be prudent to return to a devoted machine
> and software, and I would much prefer to use a Debian package instead of
> SmoothWall.

A dedicated machine managed by a complete SO and iptables is usually 
better than anything, when it comes to security, of course. The problem 
is that you have to waste power, space and time to configure it properly.

> Is there a good firewall application in Debian which provides a secure
> default configuration?  Or must I learn how to configure a firewall?

You must learn how to configure a firewall but there some tools that can 
help you with the task:

http://wiki.debian.org/Firewalls

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



simple stand-alone firewall

2012-03-24 Thread Russell L. Harris
>From the standpoint of protection of a LAN (two or three machines) for
a home or home office, how effective is a firmware-based
firewall/router in comparison with a software-based stand-alone
firewall/router?  Is either significantly better than the other?

I am thinking in terms of devoting an old computer (200 MHz Pentium)
to the task of firewall/router.  In years past (back in the dark epoch
when I was running Window$), I discovered SmoothWall while struggling
with a DSL line with PPPoE.

After downloading a small CD ISO image from the SmoothWall web site,
it took me less than an hour to install and configure SmoothWall.
With SmoothWall, it was not necessary for the user to study the subject
of firewall configuration -- the default SmoothWall configuration was
perfectly adequate for most users.

I quit using SmoothWall several years ago, when a friend gave me a
firmware firewall/router and convinced me that I ought to make the
transition, simply for the economy in terms of desktop space and
electricity.  And I no longer have the curse of PPPoE.  

But now I think that it might be prudent to return to a devoted
machine and software, and I would much prefer to use a Debian package
instead of SmoothWall.

Is there a good firewall application in Debian which provides a secure
default configuration?  Or must I learn how to configure a firewall?

RLH


-- 
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/20120324070242.GB2483@cromwell.tmiaf