Re: connect directly to another computer bypassing firewalls using a third server

2013-04-21 Thread Rick Thomas
Alberto,

What you want to do is possible.  In particular, skype and bittorrent do it.

As I understand it, they make use of a server with a public IP address.  I'm 
not going to get it exactly right, but the general idea is this:

Two clients, A and B, both behind NAT firewalls.  Server, S, with a public IP, 
i.e. *not* behind NAT.

A calls S and says I want to talk to B.  (This is possible because the call is 
originated inside A's NAT)
At approximately the same time, B calls S and says I'm willing to talk to A. 
(Possible because call is originated inside B's NAT)

Server tells each of A and B (over the connections each of them have open with 
S) in exactly 1 second (or whenever) from receiving this packet, try to open a 
connection to your opposite number on port 4 (or whatever).

With luck, each NAT will receive and act upon the outgoing request to setup the 
connection *before* it receives the incoming request.  So by the time the 
incoming request is received, the channel will be open and ready to receive.

If it doesn't work the first time, try again with slightly different timing.

Keep trying until it does work -- or you get tired and quit.

The result is a direct connection between A and B, which *both* NATs see as 
having been started from inside.

The server, S, is only involved for a brief time at the beginning.

Other than skype and bittorrent, I'm not aware of any packages that do this.  
Neither of them are directly useful for your purposes.

It's possible that nat-traverse is a general purpose implementation of this 
trick, but I haven't read the documentation, so I can't say for sure.

Enjoy!

Rick


On Apr 18, 2013, at 2:18 PM, alberto fuentes wrote:

> Its a long shot because i can really picture how could it work
> 
> I know I can connect using the third server, but I just want to use the 
> server to establish the connection
> 
> Any ideas :)


--
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/f24df815-cd06-4ad8-9177-7e698d454...@pobox.com



Re: .wav to text?

2013-04-21 Thread Hans-J. Ullrich

> Thus, my question of where are these packages :)

Just add the unstable repo to your sources.list, then do an "apt-get update" 
and after this you can install pocketsphinx.

Either do "apt-get install pocketsphinx", or you can install any package by 
doing "apt-get install somepackagename/unstable".

Good luck!

Hans


-- 
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/201304220851.48729.hans.ullr...@loop.de



Re: Dist-upgrade or upgrade. Which?

2013-04-21 Thread Patrick Bartek




- Original Message -
> From: Jochen Spieker 
> To: debian-user@lists.debian.org
> Cc: 
> Sent: Sunday, April 21, 2013 2:25 AM
> Subject: Re: Dist-upgrade or upgrade.  Which?
> 
> Patrick Bartek:
>> 
>>  I've been using Wheezy 64-bit for several months now, and as
>>  recommended[1] having been using "dist-upgrade" for upgrading it. 
>  My
>>  sources-list[2] is set to "Wheezy" and not "testing" as 
> per those same
>>  instructions.  When Wheezy is promoted to "Stable" should I 
> switch to
>>  "apt-get upgrade" instead?  Or does it really matter all that 
> much?
> 
> The main difference to keep in mind is that apt-get's upgrade operation
> will never change the set of installed packages. Ever. It will only
> upgrade already installed packages. No removals, no new packages.

Yes.  I am aware of this.  But it occurred to me:  Once Wheezy becomes Stable, 
the only changes made to its code will be security and bug fixes.  So, even a 
dist-upgrade should have the same effect as upgrade.  At least, as far as the 
Main repository is concerned.  Right?  Contrib, nonfree or 3rd party repos 
might have a different effect.

> As the stable distribution mainly receives security updates, performing
> an upgrade is enough most of the time. (Point releases might be
> different.)
> 
> [snip]
> 
> To put it short: irrespective of Debian flavour, my advice is to
> habitually perform upgrades and only use dist-upgrade when you see it is
> actually necessary in order to upgrade certain packages.


This is something I'd been thinking about.  What overall affect would mixing 
upgrade and dist-upgrade, if even only for select packages, have on a "Stable" 
system?  Could that possibly "break" it?  It was one of the reasons for my 
initial inquiry.

B


--
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/1366610886.88484.yahoomail...@web142303.mail.bf1.yahoo.com



Re: Re: Growing md0 by larger disk - which is best method.

2013-04-21 Thread R. Ramesh


On 21/04/13 01:11 PM, R. Ramesh wrote:
   


I have a mdadm implemented raid5 with 3 disks (2x 3TiB and 1x
2TiB). Each disk has one partition only for the full size of that
disk and the partitions are then combined in to md0. I like to
swap out the 2TiB with a new 3TiB. While I do not expect issue
with this, a lot of reading about unrecoverable errors spooked me
a little on the rebuild/resync. Further, I think it is silly that
we need to read all the disks in the original array as part of
resync (in a fail+remove+add method of changing disks) Is there a
way to avoid resync by doing a dd from 2TB on to the *new* 3TB and
then reassembling the array? I mean this

   1. shutdown
   2. add 3tb to the PC
   3. boot using rescue disk and do not assemble the md0.
   4. Copy partition table from one of  old 3TiB on to the *new* 3TiB
   5. dd 2TiB-part1 to *new* 3TiB-part1
   6. shutdown
   7. disconnect 2TiB disk
   8. restart to original OS on the disk to find the 3TiB as part of the
  reassemble
   9. Grow the array to full size


 


Since the above is not suggested anywhere I could find, I like to
know what I am missing as this seems too easy to me.

Ramesh

 

The problem is the location of the superblocks. If you're prepared to 
have your system shut down for a while to copy the data, I suggest 
that you simply remove the 2T disk and add the 3T disk. You will still 
have your 2T disk so if something fails, you should be able to recover 
using it. This of course means that you cannot be using your system. 
The md array cannot be written to or the 2T drive will no longer be 
usable. So boot from a rescue disk and rebuild the array without 
mounting it or any partition on it until the rebuild has completed. 


Thanks. I was thinking copy will be faster than rebuild. Further, it 
will avoid reading 4TB disk (of course, it will read 2TB when copying) I 
guess you are saying that the simple copying will not work.


I was going to try experimenting with files and loop devices (I tried 2x 
3G + 1x 2G files plus a new 3G file representing the new 3TB drive). 
However, after copying the files, loop thinks that the file representing 
new 3TB disk (or the new 3GB file) is really a 2TB disk. So, mdadm does 
not grow the array when using the new loop device. However, the file 
system was intact after copying and I could mount it etc. I just could 
not grow

it to full 6TB.

Ramesh



Re: Unstable release is expired

2013-04-21 Thread Bob Proulx
Charles Kroeger wrote:
> E: Release file for http://mirror.anl.gov/debian/dists/unstable/Release is 
> expired
> (invalid since 23h 14min 9s). Updates for this repository will not be applied.
> 
> Is this only for the anl.gov/debian/dist/unstable/ or does it mean
> (all) /unstable/Release is expired.

Means that mirror is stale.  Use a different mirror.  Try using
ftp.us.debian.org for example.

> Anyone else running unstable get this kind of message?

No.  Not on an up to date mirror.

Bob


signature.asc
Description: Digital signature


Re: netconsole over pppoe

2013-04-21 Thread jidanni
On Mon, Apr 22, 2013 at 09:14:02AM +1000, Zenaan Harkness wrote:
> So tun/tap? vtun (or openvpn if you want encryption, or just a modern
> ssh with local tun/tap support), or perhaps etherpuppet?
I think I better wait for somebody to write the HOWTO for my usage 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/20130422033741.ga2...@ps11007.dreamhostps.com



Re: Growing md0 by larger disk - which is best method.

2013-04-21 Thread Gary Dale

On 21/04/13 01:11 PM, R. Ramesh wrote:
I have a mdadm implemented raid5 with 3 disks (2x 3TiB and 1x 2TiB). 
Each disk has one partition only for the full size of that disk and 
the partitions are then combined in to md0.


I like to swap out the 2TiB with a new 3TiB. While I do not expect 
issue with this, a lot of reading about unrecoverable errors spooked 
me a little on the rebuild/resync. Further, I think it is silly that 
we need to read all the disks in the original array as part of resync 
(in a fail+remove+add method of changing disks)  Is there a way to 
avoid resync by doing a dd from 2TB on to the *new* 3TB and then 
reassembling the array? I mean this


  1. shutdown
  2. add 3tb to the PC
  3. boot using rescue disk and do not assemble the md0.
  4. Copy partition table from one of  old 3TiB on to the *new* 3TiB
  5. dd 2TiB-part1 to *new* 3TiB-part1
  6. shutdown
  7. disconnect 2TiB disk
  8. restart to original OS on the disk to find the 3TiB as part of the
 reassemble
  9. Grow the array to full size


Since the above is not suggested anywhere I could find, I like to know 
what I am missing as this seems too easy to me.


Ramesh

The problem is the location of the superblocks. If you're prepared to 
have your system shut down for a while to copy the data, I suggest that 
you simply remove the 2T disk and add the 3T disk. You will still have 
your 2T disk so if something fails, you should be able to recover using it.


This of course means that you cannot be using your system. The md array 
cannot be written to or the 2T drive will no longer be usable. So boot 
from a rescue disk and rebuild the array without mounting it or any 
partition on it until the rebuild has completed.



--
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/5174ad17.8050...@rogers.com



Re: Debian + UEFI + Install w/ USB Key

2013-04-21 Thread Gary Dale

On 21/04/13 01:50 PM, Fran R. Guerrero wrote:

Hi list,

I'm building my new system and I'm wishing to install Debian on it. 
It's reasonably new and the motherboard has this UEFI thing that 
pisses lots of people around. I'm no exception.


I tried to install Debian Wheezy with a USB key, using the 'dd' way 
but, even trying different versions of the installer, I always got a 
"Insert boot media" message when trying to boot from the USB with (at 
least in theory) Debian installer on it.


I have a laptop with Ubuntu installed and could manage to make a USB 
startup disk with its own utility (in the same key as I tried to put 
Debian on) and it boots OK and even lets me install Ubuntu 12.10 with 
no problems and boots in just 15 seconds (it is installed on a SSD drive).


I read about the new Debian 7 installer solving some issues with UEFI 
hardware, but I think the problem of not booting the installer relies 
on the 'dd way' of setting up the USB key, because Ubuntu's tool at 
the end installs a bootloader and a persistent partition if you wish.


Anybody has any tip on how to correctly make a USB install working 
(booting, at least) on a UEFI motherboard*? Any issues with the 
current installer to take into account with UEFI, partition tables and 
so on?


Many thanks in advance for your time!

Kind regards,
Fran

* the motherboard itself is an Asrock Z77 Extreme4-M, with no 
possibility of getting a BIOS 'downgrade'.


I'm not sure if dd actually works to produce a bootable USB stick. I 
note for example that systemrescuecd doesn't do that. It uses syslinux 
to put Linux onto the stick and has another program called install-mbr 
to create an MBR.


unetbootin also doesn't just dd something to the key. Have you tried 
using it to create a bootable USB stick with your favourite distro?



--
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/5174ab66.8040...@rogers.com



Unstable release is expired

2013-04-21 Thread Charles Kroeger
root@mundo:/home/charles# apt-get update

Get:1 http://debian.lcs.mit.edu testing Release.gpg [836 B]
Get:2 http://mirror.anl.gov unstable Release.gpg [836B]
Get:3 http://debian.lcs.mit.edu unstable Release.gpg [836B]
Hit http://mirror.anl.gov unstable Release
Get:4 http://debian.lcs.mit.edu experimental Release.gpg [836 B]
E: Release file for http://mirror.anl.gov/debian/dists/unstable/Release is 
expired
(invalid since 23h 14min 9s). Updates for this repository will not be applied.

Is this only for the anl.gov/debian/dist/unstable/ or does it mean
(all) /unstable/Release is expired.

Anyone else running unstable get this kind of message?

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



Re: Serveur with encrypted partition : 2 steps boot.

2013-04-21 Thread Bob Proulx
Erwan David wrote:
> Ok, here is a policy-rc.d which does not work :

Since I led you down this road I set up a test system.  I have been
using policy-rc.d in chroots seemlingly forever and they definitely
work there.  They definitely prevent package upgrades from starting
daemons.

  invoke-rc.d: policy-rc.d denied execution of restart.

But that is through dpkg and postinst scripts.  When I set up a test
VM system and booted it I was shocked to find that it didn't work.
Just like you found the daemons were still started at boot time.

  Starting Postfix Mail Transport Agent: postfix.

Am I completely misunderstanding the documentation on this?  Maybe.
If so then I am sorry for misleading you along with me.  I am
researching the problem.  I think this is completely against the
documented interface.

Bob


signature.asc
Description: Digital signature


Re: netconsole over pppoe

2013-04-21 Thread Zenaan Harkness
On 4/21/13, Pascal Hambourg  wrote:
> jida...@jidanni.org a écrit :
>> however I am on PPPOE over ADSL so
>>
>> # netstat -rn #just says
>> Kernel IP routing table
>> Destination Gateway Genmask Flags   MSS Window  irtt
>> Iface
>> 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0  0
>> ppp0
>> 168.95.98.254   0.0.0.0 255.255.255.255 UH0 0  0
>> ppp0
>> 192.168.44.00.0.0.0 255.255.255.0   U 0 0  0
>> eth0
>
> >From Documentation/networking/netconsole.txt in the kernel source tree :
> "some fundamental limitations will remain: only IP networks, UDP packets
> and *ethernet devices* are supported."
>
> A PPP or PPPoE interface is not an ethernet device, so unless the
> documentation is outdated, you cannot use ppp0. If you setup netconsole
> to send packets through eth0 to the PPPoE access concentrator MAC
> address, it is very unlikely they they will reach the remote server.

So tun/tap? vtun (or openvpn if you want encryption, or just a modern
ssh with local tun/tap support), or perhaps etherpuppet?


--
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/CAOsGNSSrAC=ybZE+YJ7a7PQrsj=qac8qpkkrxzj1rw6hgif...@mail.gmail.com



Re: .wav to text?

2013-04-21 Thread Zenaan Harkness
On 4/22/13, Hans-J. Ullrich  wrote:
> I suppose, they are more in unstable. :)

I got bitten by 3 things:
a) I am running a local repo (slow rural link, so I update at a
friends every few weeks or so to a usb drive);
b) Pocketsphinx has only come into the main repo relatively recently;
c) When I went to packages.debian.org, at the top was a search bar, so
I naturally enough searched for pocketsphinx, and got no results.

Thus, my question of where are these packages :)

Thanks all,
Zenaan

PS the p.d.org site does have a packages search field, but it's
further down the page, and that doesn't display without scrolling on a
normal FHD monitor; the top search bar only searches the debian.org
website it seems. Today, pocketsphinx "website search" _did_ come up
with one result, pointing at the QA site.


-- 
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/CAOsGNSRycUuvo_3mtuAZYYDLWncH7h4SLEbpV-ftL7A62jfv=g...@mail.gmail.com



Re: Dist-upgrade or upgrade. Which?

2013-04-21 Thread Vincent Lefevre
On 2013-04-21 22:52:39 +0100, Lisi Reisz wrote:
> On Sunday 21 April 2013 17:03:18 Chris Bannister wrote:
> > Using dist-upgrade can
> > remove half your sysytem before you can say OMG!
> 
> I use aptitude not apt-get, so cannot comment on apt-get, but the
> "aptitude full-upgrade" command does nothing without asking first,
> so there is no question of it removing "half your system before you
> can say OMG".

Ditto with apt-get when packages need to be installed or removed
in addition to those listed on the command line.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC 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/20130421223739.gh9...@xvii.vinc17.org



Re: what's your Debian uptime?

2013-04-21 Thread Vincent Lefevre
On 2013-04-20 19:24:00 -0600, Bob Proulx wrote:
> Vincent Lefevre wrote:
> > That's theory. In practice, old machines get no longer supported...
> > I submitted a bug report (and a patch), but AFAIK the bug has never
> > been fixed. I upgraded everything except the kernel, without being
> > sure I could boot it again (udev incompatibilities...). That's why
> > the machine was no longer rebooted.
> 
> And if you get into a situation where the machine reboots whether you
> desire it or not?  Power, cosmic ray hit, dead cooling fan, other?

It was a laptop, so that power wasn't a problem. A hardware failure
wuld have meant that the machine would be probably dead anyway (after
the last boot the laptop was already more than 8 year old). This is
actually what happened a few months ago: strange noises from the disk
and I/O errors...

> It happens. Even with UPS mains and redundant power supplies.
> Hardware doesn't last forever. Will it boot? If so then great. If
> not then you have a nasty problem to sort out and the machine is
> down until you do. I would rather know about it on my schedule
> rather than its schedule.

Even if there were a software problem, I wouldn't have wasting my
time to try to fix it for a machine that was almost no longer used
(mainly just for portability testing), in particular if the machine
couldn't boot.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC 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/20130421223223.gg9...@xvii.vinc17.org



Re: Dist-upgrade or upgrade. Which?

2013-04-21 Thread Lisi Reisz
On Sunday 21 April 2013 17:03:18 Chris Bannister wrote:
> Using dist-upgrade can
> remove half your sysytem before you can say OMG!

I use aptitude not apt-get, so cannot comment on apt-get, but the "aptitude 
full-upgrade" command does nothing without asking first, so there is no 
question of it removing "half your system before you can say OMG".  I 
therefore only use safe upgrade when I want to do at least a partial upgrade 
but do not want something specific removed which full-upgrade is threatening 
to remove.

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



Re: Issue with VirtualBox + netinst

2013-04-21 Thread Bob Proulx
Attila-Mihaly Balazs wrote:
> I'm seeing the following issue with netinst (both 6.0.7 and 7.0 RC1)
> and VirtualBox (4.1.18_Ubuntu r78361):
> 
> - the installer detects/configures the network normally, however
> when it comes to mirror selection it reports that the "release might
> not be supported by this mirror" for every mirror

Sounds like a DNS or NAT failure.  Or you might have a firewall that
is blocking.  You are using a mirror name such as ftp.us.debian.org?

Check your /etc/resolv.conf file and verify that you can look up
hostnames correctly.  Verify that you can look up the mirror
correctly.  Then verify that you can see the files there correctly.  I
would use lynx for that but wget/curl works too.  If you have a
firewall blocking then of course it won't work.  This following should
return a README file.

  wget -O- http://ftp.us.debian.org/debian/README

If the NAT in your VirtualBox is the same subnet as the real subnet
your host is connected to then of course NAT will fail terribly.  It
must be a unique subnet.

> - the solution which worked for me: change the adapter to PCnet-PCI
> II (from the default Intel 100/1000) AND change the networking from
> NAT to Bridged

Yes.  Because that removes both DNS and NAT from the configuration.
With bridged networking the vm will be using on your subnet directly.
But with NAT it will be one layer behind it.  But when using bridged
then the dhcp will be using your host subnet dhcp server instead.

Typically when using NAT there will be dnsmasq-base installed and it
will be setting up DHCP and DNS.  But I find that dnsmasq-base doesn't
set up a default domain name.  That causes this to fail for me when
trying to use my local mirror.

To avoid this a simple solution is to configure a static IP address.
That avoids the dnsmasq-base dhcp issues and you can configure your
dns server manually.

Verify that dnsmasq-base is even installed for you.  Perhaps your
configuration is expecting to use it and it isn't actually installed.
In Debian it is only a Recommends: relationship and wouldn't get
pulled in if you were avoiding recommends.

> My question is:
> - is there a bug for this in the bugtracker? (I searched around a
> little bit, but couldn't find anythin)
> - should I file a bug for this? If so, for which package?

I use KVM all of the time and all I can say is that it works there.
But dnsmasq-base doesn't set a default domain name.

If you file a bug be sure to file it to the right tracker.  Ubuntu for
the Ubuntu portions.  Or Debian for the Debian portions.

I don't know if you are using it but the most likely candidate for a
problem is dnsmaq-base.

Bob


signature.asc
Description: Digital signature


Re: Alsa sounds too low

2013-04-21 Thread Chris Bannister
On Sun, Apr 21, 2013 at 07:14:59PM +0200, Gábor Hársfalvi wrote:
> > I use Gnome 2 WM and I get the volume adjust icon on my panel but - as I
> > wrote before - its already in maximized volume but there is not enough
> > always.

Have you tried running:
# alsamixer
as root, and checking the levels?

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
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/20130421193401.GB5971@tal



Re: Dist-upgrade or upgrade. Which?

2013-04-21 Thread Chris Bannister
On Sun, Apr 21, 2013 at 06:41:43PM +0100, Kevin Chadwick wrote:
> > > I always use dist-upgrade but there's not a lot a choose. Upgrade
> > > upgrades installed packages while dist-upgrade can make more
> > > significant changes. Once Wheezy becomes stable the two should do
> > > the same thing. However, I prefer to stay in the habit of using
> > > dist-upgrade (or full-upgrade for aptitude).  
> > 
> > The point is, you are *SAFER* using upgrade. Using dist-upgrade can
> > remove half your sysytem before you can say OMG!
> > 
> > I recommend that new users follow Jochen's advice.
> 
> This might only apply to Ubuntu but I am sure I have had packages such
> as kernels with security related updates that needed dist-upgrade to
> install.

I don't use Ubuntu, so wouldn't know. This may happen, sure. In that
case it is obvious. But I think you are missing the point as to why it
is better to do an upgrade first *THEN IF NECESSARY* do dist-upgrade.

> So perhaps safer isn't quite the right word.

No. safer is the right word! 

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
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/20130421193030.GA5971@tal



Re: Serveur with encrypted partition : 2 steps boot.

2013-04-21 Thread Bob Proulx
Erwan David wrote:
> I have problems withe the documentation of poilcy-rc.d, mainly te
> fact it seems to be for the sole usage of package maintainers, not
> of administrators of the machine, (see the fact taht alternatives
> MUST be used), and that I do not understand at all what an
> out-of-runlevel action is.

That is simply to provide arbitration direction immediately to any
package that wishes to provide a policy-rc.d.  Otherwise how would
that work?

  $ apt-file search policy-rc.d | grep sbin/policy-rc.d
  fai-nfsroot: /usr/bin/policy-rc.d.fai
  policyrcd-script-zg2: /usr/sbin/zg-policy-rc.d

I only see two packages that provide a policy-rc.d script.  If you
don't install them then you won't conflict with them.  Your machine,
your rules, and all of that.

Or you could select one of the alternative methods.  You are blazing a
trail.  There is no pre-compiled correct answer.

Bob


signature.asc
Description: Digital signature


Re: Serveur with encrypted partition : 2 steps boot.

2013-04-21 Thread Bob Proulx
Erwan David wrote:
> Bob Proulx a écrit :
> >Erwan David wrote:
> >>update-rc.d dovecot disable 2
> >>reboot, indeed dovecot is not started
> >>telinit 3
> >>dovecot does not start (even if there is a Sxxdovecot in /etc/rc3.d)
> >Hmm...  It should start.  I just tested this on a service locally and
> >it starts for me.  are you sure it isn't starting due to the presence
> >of a new policy-rc.d script?  :-)
> 
> Coming back after some testing and interrupts...
> 
> No, there is no policy-rc.d script, so it's not the reason. I use a
> wheezy, with sysv-init if it makes a difference

All I can say is that when I change runlevels it works for me.  The
start scripts (/etc/rc3.d/S* for runlevel 3 example) all are invoked
and daemons launched there are started.  I tested this on a pristine
installation.  If it doesn't work for you then there is something
about your system that is different from a pristine installation.
Something local.  You will need to debug it.  Check /etc/inittab and
verify that the runlevels are still defined there.

> >In any case...  I wanted to add an additional comment.  I have been
> >thinking of doing something like this myself.  I haven't done it yet
> >but if I were implementing this then I think I would have the server
> >contact a central machine elsewhere on the network to get the keys to
> >decrypt and mount the encrypted partitions.  I am not sure what the
> >best mechanics would be to implement it.  But I think as soon as
> >networking came online I would have the remote server with the
> >encrypted disks contact a different server that I controlled.  Have it
> >pull the keys for the partition from there.  Then automatically mount
> >the partitions.  Then have it continue the boot process normally and
> >start the daemons normally.
> 
> I have no central machine on "the network". I want to encrypt
> because the machine is hosted, thus I do not physically control it.
> And that would leave some problem of booting the key_bearing
> machine.

This is still some dreamy brainstorming...

This would mean that you would need two machines and those should be
at different geographical locations.  The further apart the better.
That way if thieves stole one machine they would not get both of
them.  Individually each would be useless.

The only information on the key_bearing machine would be the keys.  As
such those would not need to be on an encrypted disk.  I wouldn't have
that one need to be encrypted.  Although you could and also have a way
to manually enter the keys so that you could manually bring them up.

Then if either machine were stolen you would be able to change the
keys on the other machine.  They keys are for boot time and not
runtime and so compromise of the keys would not compromise the runtime
of the system.  You would just need to change the keys before the
machine booted next.

Of course you would need two machines.  But for some of us there is
always a spare machine somewhere on the net that could be used for
this task and so that isn't a hardship.  :-)

Bob


signature.asc
Description: Digital signature


Re: /dev/random vs /dev/urandom

2013-04-21 Thread Jochen Spieker
Pascal Hambourg:
> Pol Hallen a écrit :
>> 
>>> /dev/random is cryptographically more secure.
>> 
>> do you mean /dev/urandom is [...]?
> 
> Not here.
> 
>>> /dev/random is faster.
> 
> But here.
> /dev/random is more random.
> /dev/urandom is faster.

Exactly, thanks. My 'u' key gets stck sometimes. :)

J.
-- 
I have never been happier than I am now; a fact which depresses me
immensely.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: /dev/random vs /dev/urandom

2013-04-21 Thread Kevin Chadwick
> Hi folks!
> 
> I need create a block file, later use it like archive (with dm).
> 
> What is better use?
> 
> /dev/random or /dev/urandom?
> 
> thanks!
> 
> Pol
> 

You might want to install haveged. You can use that directly without
affecting your system entropy.

> 
> -- 
> 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/517421c9.1040...@fuckaround.org
> 


-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___


-- 
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/20130421205142.41dfa...@kc-sys.chadwicks.me.uk



Re: /dev/random vs /dev/urandom

2013-04-21 Thread Pascal Hambourg
Pol Hallen a écrit :
>> Define "better".
> 
> better = secure (high level of security) :-)
> 
>> /dev/random is cryptographically more secure.
> 
> do you mean /dev/urandom is [...]?

Not here.

>> /dev/random is faster.

But here.
/dev/random is more random.
/dev/urandom is faster.


-- 
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/51742bdd.40...@plouf.fr.eu.org



Growing md0 by larger disk - which is best method.

2013-04-21 Thread R. Ramesh
I have a mdadm implemented raid5 with 3 disks (2x 3TiB and 1x 2TiB). 
Each disk has one partition only for the full size of that disk and the 
partitions are then combined in to md0.


I like to swap out the 2TiB with a new 3TiB. While I do not expect issue 
with this, a lot of reading about unrecoverable errors spooked me a 
little on the rebuild/resync. Further, I think it is silly that we need 
to read all the disks in the original array as part of resync (in a 
fail+remove+add method of changing disks)  Is there a way to avoid 
resync by doing a dd from 2TB on to the *new* 3TB and then reassembling 
the array? I mean this


  1. shutdown
  2. add 3tb to the PC
  3. boot using rescue disk and do not assemble the md0.
  4. Copy partition table from one of  old 3TiB on to the *new* 3TiB
  5. dd 2TiB-part1 to *new* 3TiB-part1
  6. shutdown
  7. disconnect 2TiB disk
  8. restart to original OS on the disk to find the 3TiB as part of the
 reassemble
  9. Grow the array to full size


Since the above is not suggested anywhere I could find, I like to know 
what I am missing as this seems too easy to me.


Ramesh


--
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/51741da5.5010...@verizon.net



Re: /dev/random vs /dev/urandom

2013-04-21 Thread Jerome BENOIT

Hello List,

On 21/04/13 20:04, Pol Hallen wrote:

Define "better".


better = secure (high level of security) :-)


/dev/random is cryptographically more secure.


do you mean /dev/urandom is [...]?


/dev/random is faster.


thanks!



man 4 random


Pol



hth,
Jerome






--
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/51742e12.5030...@rezozer.net



Re: /dev/random vs /dev/urandom

2013-04-21 Thread Pol Hallen
> Define "better".

better = secure (high level of security) :-)

> /dev/random is cryptographically more secure.

do you mean /dev/urandom is [...]?

> /dev/random is faster.

thanks!

Pol


-- 
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/51742a1f.3010...@fuckaround.org



Debian + UEFI + Install w/ USB Key

2013-04-21 Thread Fran R. Guerrero
Hi list,

I'm building my new system and I'm wishing to install Debian on it. It's
reasonably new and the motherboard has this UEFI thing that pisses lots of
people around. I'm no exception.

I tried to install Debian Wheezy with a USB key, using the 'dd' way but,
even trying different versions of the installer, I always got a "Insert
boot media" message when trying to boot from the USB with (at least in
theory) Debian installer on it.

I have a laptop with Ubuntu installed and could manage to make a USB
startup disk with its own utility (in the same key as I tried to put Debian
on) and it boots OK and even lets me install Ubuntu 12.10 with no problems
and boots in just 15 seconds (it is installed on a SSD drive).

I read about the new Debian 7 installer solving some issues with UEFI
hardware, but I think the problem of not booting the installer relies on
the 'dd way' of setting up the USB key, because Ubuntu's tool at the end
installs a bootloader and a persistent partition if you wish.

Anybody has any tip on how to correctly make a USB install working
(booting, at least) on a UEFI motherboard*? Any issues with the current
installer to take into account with UEFI, partition tables and so on?

Many thanks in advance for your time!

Kind regards,
Fran

* the motherboard itself is an Asrock Z77 Extreme4-M, with no possibility
of getting a BIOS 'downgrade'.


Re: /dev/random vs /dev/urandom

2013-04-21 Thread Jochen Spieker
Pol Hallen:
> Hi folks!
> 
> I need create a block file, later use it like archive (with dm).
> 
> What is better use?
> 
> /dev/random or /dev/urandom?

Define "better". /dev/random is cryptographically more secure.
/dev/random is faster.

J.
-- 
I lust after strangers but only date people from the office.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


/dev/random vs /dev/urandom

2013-04-21 Thread Pol Hallen
Hi folks!

I need create a block file, later use it like archive (with dm).

What is better use?

/dev/random or /dev/urandom?

thanks!

Pol


-- 
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/517421c9.1040...@fuckaround.org



Re: Alsa sounds too low

2013-04-21 Thread Gábor Hársfalvi
Wayne Topa 2013. április 21., vasárnap napon a következőt írta:

> On 04/21/2013 10:26 AM, Gábor Hársfalvi wrote:
>
>>
>>
>> Wayne Topa 2013. április 21., vasárnap napon a következőt írta:
>>
>> On 04/21/2013 03:57 AM, Gábor Hársfalvi wrote:
>>
>> Hi,
>>
>> I think when I maximize all sound levels in alsamixer I get more
>> less
>> volume than I need.
>>
>> For example I wish to see movies on Youtube and maximize volume
>> there
>> too the sounds of movie are too low for hearing.
>>
>> How to solve this?
>>
>>
>> I solved that here by installing the volumeicon-alsa package.
>>
>> HTH
>> --
>>
>> Wayne
>>
>>
>> --
>> 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/__**5173e63d.9060...@gmail.com
>> 
>> 
>> >
>>
>>
>> And what to do after installed this package?
>>
> In my case I put volumeicon & in my .xinitrc and when I bring up X, using
> fluxbox as my WM, I look for the programs icon, a speaker, and adjust the
> volume to the level I desire.
>
> As you did not let the list know what WM or Version you are running.
> I gave you the bone and thought you might do some searching for how to use
> it with whatever WM 'you' are using.
>
> Smart questions get Smart (informed) answers and your question was not
> Smart because you assumed we know everything we need to know to help you.
>
> --
>
> Wayne
>
> I use Gnome 2 WM and I get the volume adjust icon on my panel but - as I
> wrote before - its already in maximized volume but there is not enough
> always.


Re: Alsa sounds too low

2013-04-21 Thread Wayne Topa

On 04/21/2013 10:26 AM, Gábor Hársfalvi wrote:



Wayne Topa 2013. április 21., vasárnap napon a következőt írta:

On 04/21/2013 03:57 AM, Gábor Hársfalvi wrote:

Hi,

I think when I maximize all sound levels in alsamixer I get more
less
volume than I need.

For example I wish to see movies on Youtube and maximize volume
there
too the sounds of movie are too low for hearing.

How to solve this?


I solved that here by installing the volumeicon-alsa package.

HTH
--

Wayne


--
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/__5173e63d.9060...@gmail.com



And what to do after installed this package?
In my case I put volumeicon & in my .xinitrc and when I bring up X, 
using fluxbox as my WM, I look for the programs icon, a speaker, and 
adjust the volume to the level I desire.


As you did not let the list know what WM or Version you are running.
I gave you the bone and thought you might do some searching for how to 
use it with whatever WM 'you' are using.


Smart questions get Smart (informed) answers and your question was not 
Smart because you assumed we know everything we need to know to help you.


--

Wayne



--
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/51741be0.7060...@gmail.com



Re: Dist-upgrade or upgrade. Which?

2013-04-21 Thread Kevin Chadwick
> > I always use dist-upgrade but there's not a lot a choose. Upgrade
> > upgrades installed packages while dist-upgrade can make more
> > significant changes. Once Wheezy becomes stable the two should do
> > the same thing. However, I prefer to stay in the habit of using
> > dist-upgrade (or full-upgrade for aptitude).  
> 
> The point is, you are *SAFER* using upgrade. Using dist-upgrade can
> remove half your sysytem before you can say OMG!
> 
> I recommend that new users follow Jochen's advice.

This might only apply to Ubuntu but I am sure I have had packages such
as kernels with security related updates that needed dist-upgrade to
install.

So perhaps safer isn't quite the right word.

I usually use dist-upgrade and I wonder if using upgrade will allow me
to install updates without pulling in jockey and so polkit for
steam-launcher.

Of course it is no fix but will allow me to stay secure and ignore the
problem for now until I do need a dist-upgrade or use equiv.

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___


-- 
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/20130421184143.3fe98...@kc-sys.chadwicks.me.uk



Re: Alsa sounds too low

2013-04-21 Thread Chris Bannister
On Sun, Apr 21, 2013 at 04:26:01PM +0200, Gábor Hársfalvi wrote:
> And what to do after installed this package? [volumeicon-alsa]

Without installing it myself, (as I've never had any trouble with volume):

If you install a package and once it is installed you have no idea what
to do afterwards, I suggest:

1) dpkg -L volumeicon-alsa
This will list the files of this package.
There should be some files under

/usr/share/doc/volumeicon-alsa/

which should help.

The "dpkg -L volumeicon-alsa" command should also list any man pages.

Sometimes there is a separate "doc" package.

Sometimes you have to hunt out how to use the package from the Internet,
I kid you not!!

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
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/20130421161501.GC1290@tal



Re: Dist-upgrade or upgrade. Which?

2013-04-21 Thread Chris Bannister
On Sun, Apr 21, 2013 at 08:03:20AM -0400, Gary Dale wrote:
> I always use dist-upgrade but there's not a lot a choose. Upgrade
> upgrades installed packages while dist-upgrade can make more
> significant changes. Once Wheezy becomes stable the two should do
> the same thing. However, I prefer to stay in the habit of using
> dist-upgrade (or full-upgrade for aptitude).

The point is, you are *SAFER* using upgrade. Using dist-upgrade can
remove half your sysytem before you can say OMG!

I recommend that new users follow Jochen's advice.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
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/20130421160318.GB1290@tal



Re: .wav to text?

2013-04-21 Thread Hans-J. Ullrich
I suppose, they are more in unstable. :)

Hans


-- 
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/201304211754.45383.hans.ullr...@loop.de



Re: Serveur with encrypted partition : 2 steps boot.

2013-04-21 Thread Erwan David

Le 20/04/2013 23:37, Erwan David a écrit :
I have problems withe the documentation of poilcy-rc.d, mainly te fact 
it seems to be for the sole usage of package maintainers, not of 
administrators of the machine, (see the fact taht alternatives MUST be 
used), and that I do not understand at all what an out-of-runlevel 
action is.



Ok, here is a policy-rc.d which does not work :

#!/bin/sh
# /usr/sbin/policy-rc.d [options]   []
# /usr/sbin/policy-rc.d [options] --list  [ ...]
# See /usr/share/doc/sysv-rc/README.policy-rc.d for documentation.

# Live example scraped from ps:
#   /bin/sh /usr/sbin/policy-rc.d x11-common stop unknown

###

if [ ! -r /etc/secure_services ]; then
# No secure service -> Ok for everything
exit 0
fi

##
# Defines the secure mount point and the services which must be started 
after

. /etc/secure_services

do_check(){
SERVICES="$SECURE_SERVICES"
for test in $SECURE_SERVICES;do
if [ $1 = $test ];then
case $2 in
*start*)
if mountpoint -q $SECURE_MOUNTPOINT; then
exit 0
else
exit 101
fi;;
*)
exit 0
esac
fi
done

exit 0
}

if [ "X$SECURE_MOUNTPOINT" = "X" -o "X$SECURE_SERVICES" = "X" ];then
# no secure mount point or no secure service defined -> Ok for 
everything

exit 0
fi

while [ $# -gt 0 ]; do
case $1 in
--list) exit 101 ;;
--quiet) shift ;;
-*) shift ;;
*)  service=$1
actions=$2
do_check $service $actions
esac
done

###
# default
exit 101


And my /etc/secure_services is

#
# Mount point of encrypted file system
SECURE_MOUNTPOINT=/secure


# Services which need the encrypted file system
# space separated, they will be started in the order of the variable
SECURE_SERVICES="postgresql dspam slapd dovecot postfix"


But services in SECURE_SERVICES are started, so there is something I do 
not understand in what the script should do.


I checked : if /secure is not mounted, /usr/sbin/policy-rc.d postgresql 
start terminates on exit 101, which should prevent the start.



--
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/51740870.6060...@rail.eu.org



Re: Alsa sounds too low

2013-04-21 Thread Doug

On 04/21/2013 03:57 AM, Gábor Hársfalvi wrote:

Hi,

I think when I maximize all sound levels in alsamixer I get more less 
volume than I need.


For example I wish to see movies on Youtube and maximize volume there 
too the sounds of movie are too low for hearing.


How to solve this?
You probably need an audio reproduction system with more gain (external 
to the computer). I have one computer with a
Logitech system, consisting of two small speakers and a subwoofer, which 
has its own amplifier and tone control
Another computer I use is connected to a true hi-fi audio system, with a 
stereo amplifier and two large floor-standing
speaker cabinets. This second one really sounds excellent, and the 
Logitech system sounds pretty good.


--doug

--
Blessed are the peacemakers...for they shall be shot at from both sides.  A.M. 
Greeley


--
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/5174085d.1070...@optonline.net



Re: Alsa sounds too low

2013-04-21 Thread Gábor Hársfalvi
Wayne Topa 2013. április 21., vasárnap napon a következőt írta:

> On 04/21/2013 03:57 AM, Gábor Hársfalvi wrote:
>
>> Hi,
>>
>> I think when I maximize all sound levels in alsamixer I get more less
>> volume than I need.
>>
>> For example I wish to see movies on Youtube and maximize volume there
>> too the sounds of movie are too low for hearing.
>>
>> How to solve this?
>>
>
> I solved that here by installing the volumeicon-alsa package.
>
> HTH
> --
>
> Wayne
>
>
> --
> 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/**5173e63d.9060...@gmail.com
>
>
And what to do after installed this package?


Re: .wav to text?

2013-04-21 Thread Wayne Topa

On 04/21/2013 08:58 AM, Zenaan Harkness wrote:

On 4/21/13, John Hasler  wrote:

libpocketsphinx1 - Speech recognition tool - front-end library
pocketsphinx - Speech recognition tool

...
Which repo contains these packages?
TIA
Zenaan



They are in Wheezy.


wtopa@dj:~$ apt-cache search Speech recognition tool
w3-recs - Recommendations of the World Wide Web Consortium (W3C)
gstreamer0.10-pocketsphinx - Speech recognition tool - gstreamer plugin
libpocketsphinx-dev - Speech recognition tool - front-end library development 
files
libpocketsphinx1 - Speech recognition tool - front-end library
pocketsphinx - Speech recognition tool
pocketsphinx-hmm-en-hub4wsj - Speech recognition tool - front-end library 
development files
pocketsphinx-hmm-en-tidigits - Speech recognition tool - front-end library 
development files
pocketsphinx-hmm-zh-tdt - Speech recognition tool - front-end library 
development files
pocketsphinx-lm-en-hub4 - Speech recognition tool - front-end library 
development files
pocketsphinx-lm-zh-hans-gigatdt - Speech recognition tool - front-end library 
development files
pocketsphinx-lm-zh-hant-gigatdt - Speech recognition tool - front-end library 
development files
python-pocketsphinx - Speech recognition tool - python bindings
python-pocketsphinx-dbg - Speech recognition tool - python bindings
libsphinxbase-dev - Speech recognition tool - development files
libsphinxbase1 - Speech recognition tool - shared library
python-sphinxbase - Speech recognition tool - python bindings
python-sphinxbase-dbg - Speech recognition tool - python bindings (debug 
version)
sphinxbase-utils - Speech recognition tool - development files
sphinxtrain - Speech recognition tool - training tool



--
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/5173eda9.2050...@gmail.com



Partial resolution - was [Re: Three trials installing LILO - was [Re: Unexpected results attempting to install Squeeze(6.0.5) to USB flash drive]]

2013-04-21 Thread Richard Owlett

Richard Owlett wrote:

I made three attempts to install using LILO as boot loader
from most defaults to most customized:
   1. install using all of the single install hard drive
(using guided partitioning)
   2. install to a logical partition after resizing
partition created above
   3. install to flash drive

Installation choices common to all:
   install from DVD 1 of 8 of Debian 6.0.5
   expert install
   generally accepting all defaults
   not installing any networking as none available
   select only standard utilities (i.e. chose neither
Desktop nor Laptop)
   Install LILO to MBR of selected drive using large memory
model

Results:
   CASE 1
  Installation ran to normal finish.
 On reboot I had a correct shell which accepted login.
 After executing su, I did
 apt-get install gnome-session gdm3 gedit
gnome-terminal gparted
 which ran to completion without error message(s)
[warned that LBA32 addressing assumed]
 Installed system operated as expected.

   CASE 2
  Installation ran to normal finish.
 On reboot I had a correct shell which accepted login.
 After executing su, I did
 apt-get install gnome-session gdm3 gedit
gnome-terminal gparted
 which ran to completion without error message(s)
[warned that LBA32 addressing assumed]
 Installed system operated as expected,
 *EXCEPT* no way to boot the first installation.

CASE 3
   booting from flash drive hung in ash shell with prompt
(inittramfs)


lilo.conf from flash drive
[I've deleted most commented out lines and blank lines]

# Automatically added by lilo postinst script
large-memory
#
boot=/dev/sdb
# Specifies the device that should be mounted as root. (`/')
#
root=/dev/sdb1
# Specifies the location of the map file
#
map=/boot/map
# Specifies the number of deciseconds (0.1 seconds) LILO should
# wait before booting the first image.
#
delay=20
# Boot up Linux by default.
#
default=Linux
image=/vmlinuz
 label=Linux
 read-only
#restricted
#alias=1
 initrd=/initrd.img
image=/vmlinuz.old
 label=LinuxOLD
 read-only
 optional
#restricted
#alias=2
 initrd=/initrd.img.old




Two gotcha's found:
   delay=20 was too small, changed to delay=300 to give 30 
seconds
   prompt was commented out, un-commenting allowed menu to 
display


Problem with Case 3 is unresolved. I suspect that is related 
to installing a removable device.
[although written to address a different problem 
http://lists.debian.org/debian-user/2010/09/msg00248.html 
has started me thinking]




--
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/5173ec93.3090...@cloud85.net



Re: Alsa sounds too low

2013-04-21 Thread Wayne Topa

On 04/21/2013 03:57 AM, Gábor Hársfalvi wrote:

Hi,

I think when I maximize all sound levels in alsamixer I get more less
volume than I need.

For example I wish to see movies on Youtube and maximize volume there
too the sounds of movie are too low for hearing.

How to solve this?


I solved that here by installing the volumeicon-alsa package.

HTH
--

Wayne


--
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/5173e63d.9060...@gmail.com



Re: .wav to text?

2013-04-21 Thread John Hasler
Zenaan writes:
> Which repo contains these packages?

I searched Unstable.  I'm sure most or all are in Testing.  I don't know
which are in Stable.
-- 
John Hasler


-- 
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/87a9osuiwb@thumper.dhh.gt.org



Re: .wav to text?

2013-04-21 Thread Zenaan Harkness
On 4/21/13, John Hasler  wrote:
> libpocketsphinx1 - Speech recognition tool - front-end library
> pocketsphinx - Speech recognition tool
...
Which repo contains these packages?
TIA
Zenaan


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



Re: .wav to text?

2013-04-21 Thread John Hasler
libpocketsphinx1 - Speech recognition tool - front-end library
pocketsphinx - Speech recognition tool
pocketsphinx-hmm-en-hub4wsj - Speech recognition tool - front-end library 
development files
pocketsphinx-hmm-en-tidigits - Speech recognition tool - front-end library 
development files
pocketsphinx-hmm-zh-tdt - Speech recognition tool - front-end library 
development files
pocketsphinx-lm-en-hub4 - Speech recognition tool - front-end library 
development files
pocketsphinx-lm-zh-hans-gigatdt - Speech recognition tool - front-end library 
development files
pocketsphinx-lm-zh-hant-gigatdt - Speech recognition tool - front-end library 
development files
python-pocketsphinx - Speech recognition tool - python bindings
python-pocketsphinx-dbg - Speech recognition tool - python bindings
libsphinxbase-dev - Speech recognition tool - development files
libsphinxbase1 - Speech recognition tool - shared library
python-sphinxbase - Speech recognition tool - python bindings
python-sphinxbase-dbg - Speech recognition tool - python bindings (debug 
version)
sphinxbase-utils - Speech recognition tool - development files
python-sphinxcontrib.spelling - Sphinx "spelling" extension
sphinxtrain - Speech recognition tool - training tool

-- 
John Hasler


-- 
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/87ehe4uk8j@thumper.dhh.gt.org



Re: netconsole over pppoe

2013-04-21 Thread Pascal Hambourg
Hello,

jida...@jidanni.org a écrit :
> 
> however I am on PPPOE over ADSL so
> 
> # netstat -rn #just says
> Kernel IP routing table
> Destination Gateway Genmask Flags   MSS Window  irtt Iface
> 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0  0 ppp0
> 168.95.98.254   0.0.0.0 255.255.255.255 UH0 0  0 ppp0
> 192.168.44.00.0.0.0 255.255.255.0   U 0 0  0 eth0

>From Documentation/networking/netconsole.txt in the kernel source tree :
"some fundamental limitations will remain: only IP networks, UDP packets
and *ethernet devices* are supported."

A PPP or PPPoE interface is not an ethernet device, so unless the
documentation is outdated, you cannot use ppp0. If you setup netconsole
to send packets through eth0 to the PPPoE access concentrator MAC
address, it is very unlikely they they will reach the remote server.


-- 
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/5173d8c5.3000...@plouf.fr.eu.org



Re: Dist-upgrade or upgrade. Which?

2013-04-21 Thread Gary Dale
I always use dist-upgrade but there's not a lot a choose. Upgrade 
upgrades installed packages while dist-upgrade can make more significant 
changes. Once Wheezy becomes stable the two should do the same thing. 
However, I prefer to stay in the habit of using dist-upgrade (or 
full-upgrade for aptitude).


As for staying with Wheezy, why? I normally wait 3 - 6 months then 
switch to the new testing. This gives the developers time to fix the 
teething problems with all the new stuff that was held from Wheezy while 
it was being stabilized. By the time Wheezy becomes "stable", the rest 
of the Linux world has moved on.


Testing is what would be released with most other Linux distros. Unless 
you need the rock-solid stability of stable, i'd recommend spending most 
of your time with testing.



On 21/04/13 12:29 AM, Patrick Bartek wrote:

I've been using Wheezy 64-bit for several months now, and as recommended[1] having been using "dist-upgrade" for 
upgrading it.  My sources-list[2] is set to "Wheezy" and not "testing" as per those same instructions.  When 
Wheezy is promoted to "Stable" should I switch to "apt-get upgrade" instead?  Or does it really matter all 
that much?

This is my personal system, a desktop, and not a server.  I intend to stay with 
Wheezy on this machine for the next 3 to 5 years.

B

[1] http://wiki.debian.org/DebianTesting

[2] deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
  deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
  deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
  deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib 
non-free
  deb http://security.debian.org/ wheezy/updates main contrib non-free
  deb-src http://security.debian.org/ wheezy/updates main contrib non-free
  deb http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
  deb http://download.virtualbox.org/virtualbox/debian wheezy contrib






--
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/5173d588.7050...@rogers.com



Re: Issue with VirtualBox + netinst

2013-04-21 Thread Jaikumar Sharma
On Sun, Apr 21, 2013 at 3:03 PM, Attila-Mihaly Balazs 
wrote:
> the installer detects/configures the network normally, however when it
comes to mirror selection it reports that the "release might not be
supported by this mirror" for every mirror
> the solution which worked for me: change the adapter to PCnet-PCI II
(from the default Intel 100/1000) AND change the networking from NAT to
Bridged
I'm not sure, but initally it looks like to me that it is an issue of
accessing outside debian repositories from virtual box i.e.connection to
outside world (public mirrors) is not possible.

--Jaikumar


Re: rootfs

2013-04-21 Thread Thilo Six
Hello Roger,


Excerpt from Roger Leigh:

--  --
> I hope this makes clear why I currently hold the position that /usr
> (*as a separately mountable filesystem*) is not a useful feature.
> I long held the opposite opinion very strongly, until I spent a good
> bit of time really considering the validity of all the assumptions
> behind why we consider it useful, and came to the conclusion that it
> was, for the most part, not useful in the slightest on a modern
> package managed system.

I can very well recall the heated debates on debian-devel several years ago
about this topic. When you said in the previous mail that you are working on
moving /usr to the rootfs i thought oh oh an other valueable feature goes down
the drain. But your argumentation has actually convinced me.


-- 
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F



-- 
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/kl0hns$al2$1...@ger.gmane.org



Re: netconsole over pppoe

2013-04-21 Thread jidanni
Wait...
ppp says
Plugin rp-pppoe.so loaded.
Connected to 00:90:1a:... via interface eth0
peer from calling number 00:90:1A:... authorized
local  IP address 36.234...
remote IP address 168.95...
OK maybe I have all the information I need...


-- 
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/20130421102903.ga19...@ps11007.dreamhostps.com



Issue with VirtualBox + netinst

2013-04-21 Thread Attila-Mihaly Balazs

Hello all,

I'm seeing the following issue with netinst (both 6.0.7 and 7.0 RC1) and 
VirtualBox (4.1.18_Ubuntu r78361):


- the installer detects/configures the network normally, however when it 
comes to mirror selection it reports that the "release might not be 
supported by this mirror" for every mirror
- the solution which worked for me: change the adapter to PCnet-PCI II 
(from the default Intel 100/1000) AND change the networking from NAT to 
Bridged


My question is:
- is there a bug for this in the bugtracker? (I searched around a little 
bit, but couldn't find anythin)

- should I file a bug for this? If so, for which package?

Regards,
Attila Balazs


--
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/5173b24d.2000...@yahoo.com



Re: Dist-upgrade or upgrade. Which?

2013-04-21 Thread Jochen Spieker
Patrick Bartek:
>
> I've been using Wheezy 64-bit for several months now, and as
> recommended[1] having been using "dist-upgrade" for upgrading it.  My
> sources-list[2] is set to "Wheezy" and not "testing" as per those same
> instructions.  When Wheezy is promoted to "Stable" should I switch to
> "apt-get upgrade" instead?  Or does it really matter all that much?

The main difference to keep in mind is that apt-get's upgrade operation
will never change the set of installed packages. Ever. It will only
upgrade already installed packages. No removals, no new packages.

As the stable distribution mainly receives security updates, performing
an upgrade is enough most of the time. (Point releases might be
different.)

I am running sid and habitually only run 'apt-get upgrade' because it is
a quite safe thing to do. You can find many threads on debian-user from
people who involuntarily removed half of their Gnome desktop because
they didn't look closely what their dist-upgrade was about to do. This
cannot happen when you only use the upgrade method.

To put it short: irrespective of Debian flavour, my advice is to
habitually perform upgrades and only use dist-upgrade when you see it is
actually necessary in order to upgrade certain packages.

J.
-- 
I have been manipulated and permanently distorted.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Alsa sounds too low

2013-04-21 Thread Gábor Hársfalvi
Hi,

I think when I maximize all sound levels in alsamixer I get more less
volume than I need.

For example I wish to see movies on Youtube and maximize volume there too
the sounds of movie are too low for hearing.

How to solve this?


Re: Suggestions for Debian

2013-04-21 Thread Zenaan Harkness
Nathan, welcome to Debian! :)

On 4/21/13, Nathan Owens  wrote:
> Where should we give suggestions on ideas? I would like to proprose the
> idea of maybe Debian offering a community repo like Arch Linux's AUR or
> does anybody know of a site that allows people to upload deb files to be
> shared with others?

Seek the almighty Google for alternative repos, and you will find :)

Have you installed Debian yet? are you aware that there are around
40,000 packages for the main Debian repositories already? And that
does not count "alternative debian repositories" (hint hint ... google
search .. nudge nudge).
Debian ain't called The Unversal Operating System for nothing! It's a
dream, a goal, a principle. For many of us it's a reality and has been
for years. It's awesome!

Are you interested in packaging some software that's not in Debian
yet? It would be a good experience for you I'm sure.

Anyway, this is as good a place as any to make suggestions.
It just may be advisable (you sound rather newbie like, at least in
Debian world) to don your flame proof clothing when you do post -
there's a good and general expectation of civility, but occasionally
someone might respond a bit terse, so just smile and move right on :)

Good luck
Zenaan

PS http://wiki.debian.org/UnofficialRepositories might be of interest
to you - since it's in the forefront of my mind, I'll save you that
google search. Oh generous me :)


-- 
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/caosgnsqbk8w9hesyyrmwtydjb7+7y_d2qeb9s0cbjo6z0w8...@mail.gmail.com