Re: put gparted on minimum system, for disks over 2TB

2014-02-02 Thread Nemeth Gyorgy
2014-01-31 00:50 keltezéssel, C.T.F. Jansen írta:
> Tried to setup a 3TB disk using cfdisk and it failed silently. Suggest
> that cfdisk is updated to work with current disks; 3 and 4 TB. At least
> update the man page. partman is not on the production system and can't
> be installed, don't know if it actually works with disks over 2TB.
> 
> gparted worked but it had to be installed first, it was not on the
> system already. It is not on the base, minimum, system. Suggest that it
> be put on the minimum system since it should work with whats out there
> and these sizes will become more and more common.

Gparted needs a working X window environment, for a minimum system gdisk
is better choice. It can handle GPT partition table and similar to fdisk.


-- 
--- Friczy ---
'Death is not a bug, it's a feature'


-- 
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/52ee0210.4030...@freemail.hu



Re: "cloning" a debian installation

2014-02-02 Thread Chen Wei
On Fri, Jan 31, 2014 at 09:36:52PM +, Kruppt wrote:
> On 2014-01-31, Fabrice Vaillant  wrote:
> > to suit my computer. The question I'm asking is, what would be the 
> > simplest way(if it is possible) to "clone" my existing installation
> > onto 
> > the new ssd.
>
> Yes you can clone it easily with rsync.
> Boot up a LiveCD such as SystemRescueCD on a comp with
> grub-install --root-directory=/mnt/sdb2 /dev/sdb
> grub-mkconfig -o /boot/grub/grub.cfg
> update-initramfs -uk $(uname -r)
>

Just migrated a Wheezy installation to SSD few days earlier. Boot from
live debian, fdisk, mkfs, and rsync are pretty straight forward, but the
grub part is tricky, perhaps because I never really understand how grub
works. I end up let the debian installer do it.

1) install a minimum wheezy
2) boot into live debian
3) copy the /etc/fstab and grub.cfg out, edit uuid if needed
4) rsync -av --delete OLD_Installation/ NEW_Installation/
5) copy fstab and grub.cfg back
6) run update-grub, (it might not necessary, but seems harmless)




-- 
Chen Wei


-- 
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/20140202074129.GH25217@localhost



Re: Suggest a tool for decoding binary data

2014-02-02 Thread Chen Wei
On Sat, Feb 01, 2014 at 05:36:19PM -0800, Kevin O'Gorman wrote:
> I'm about to tackle GPT partitioned disks, and want to decode the
> label.
> 
> The data is little-endian, but I want my code to work on little- or
> big-endian machines.  I want it to be a script -- nothing compiled.
> 
> I've figured out that on my little-endian machines, I can use bash
> with something like
> otherlabel=$(($(dd if=label bs=1 skip=32 count=8 | od -An -t d8) ))


I am not quit understand why need dump the label, but it can be done
easily by script language, say, Python.


# - begin --
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys
from struct import unpack

skip = 32
count = 8
fp = open(path_to_dd_image, 'rb').read(skip + count)
data_of_interest = fp[skip:]

if sys.byteorder == 'little':
#assuming the label is a 8 bytes unsigned integer
label = unpack('Q', data_of_interest)[0]
# - end --






-- 
Chen Wei


-- 
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/20140202092853.GM25217@localhost



Re: Iceweasel weird behavior

2014-02-02 Thread Andrei POPESCU
On Lu, 13 ian 14, 21:47:53, Scott Ferguson wrote:
> 
> Iceweasel 26?

Current sid, so it's 24.2.0esr-1.
 
[snip very useful troubleshooting tips]

This issue hasn't been manifesting for me lately, so at the moment I 
can't troubleshoot it.

Thanks,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: Default kernel network variables, sysctl, not secure enough.

2014-02-02 Thread Reco
 Hi.

On Sun, 02 Feb 2014 13:47:36 +1300
"C.T.F. Jansen"  wrote:

> Installed them and looked for man pages, nothing found, then through 
> /usr/share/doc again. This had a number of extra files in it that seemed 
> relevant but the variables set were not found as such. A look in
> 
>/usr/share/doc/linux-doc-32/Documentation/networking/ip-sysctl.txt

Actually, this file should be called:

/usr/share/doc/linux-doc-3.2/Documentation/networking/ip-sysctl.txt.gz

And rp_filter is there.

 
> defines the values for the previously mentioned variable, with rp_filter 
> at the end of it. The variable itself was not listed in this file so a 
> grep did not find it.

Consider using zgrep, since all kernel documentation is compressed with
gzip.

> Editing /etc/sysctl.conf and uncommenting most of the settings will 
> improve the situation.

Or, break networking completely, if host in question has multiple
network interfaces with different IPs, looking into the same network.
This sysctl variable is disabled by default for the reason.

 
> Someone put a README* in /etc/sysctl.d that suggested one put a 
> local.conf file in /etc/sysctl.d . This  may be a better way to do it 
> but  isn't documented anywhere, I think. It is less than obvious and may 
> be hard to find later.

Editing /etc/sysctl.conf will ask you to merge maintainer's changes
to /etc/sysctl.conf once you upgrade procps package.
Adding arbitrary named (.conf extension is necessary) file
to /etc/sysctl.d won't have such effect.
Whenever file is called local.conf or my_secure_sysctl_variables.conf
is irrelevant.


> Putting sysctl commands in start-up scripts may be challenging to find 
> later but site procedures vary. The variables can be set using sysctl as 
> well.

Take a look on /etc/init.d/procps.

Reco


-- 
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/20140202143718.e60ab77b3297d604a07e9...@gmail.com



Re: May I introduce to you ..... 'beeb'

2014-02-02 Thread Lisi Reisz
On Sunday 02 February 2014 04:28:52 Doug wrote:
> On 02/01/2014 02:30 PM, Lisi Reisz wrote:
> > On Saturday 01 February 2014 17:58:45 Doug wrote:
> >> On 02/01/2014 08:13 AM, Sharon Kimble wrote:
> >>> May I introduce to you ‘beeb’ the all-singing, all-dancing,
> >>> upgrade to ‘get-iplayer’!
> >>>
> >>> The BBC has some superb radio and TV programmes, some of which
> >>> they have released into the public domain and which can be
> >>> downloaded using ‘get-iplayer’, and then can be played with
> >>> your choice of viewer. This script will -
> >>>
> >>>   * Check to see if you have 'get-iplayer/get_iplayer'
> >>> installed. If not it will prompt you to install it.
> >>>   * Creates the directory where the 'beeb-tv.txt &
> >>> beeb-radio.txt' files are stored.
> >>>   * Downloads the current radio programme feed,
> >>>   * Allows you to put the programme numbers in to download, and
> >>> tell you how much more you can download in this session,
> >>>   * Downloads the programmes,
> >>>   * Then downloads the current TV programme feed,
> >>>   * Allows you to put the programme numbers in to download, and
> >>> tell you how much more you can download in this session,
> >>>   * Downloads the programmes,
> >>>   * Asks you if you want to create a playing list of the radio
> >>> programmes that can then be used by MPD.
> >>>
> >>> You can get 'beeb' from either my blog 'A taste of linux' or
> >>> from my bitbucket - https://bitbucket.org/boudiccas/dots
> >>>
> >>> Any problems, or further instruction required, please let me
> >>> know.
> >>>
> >>> Thanks
> >>> Sharon.
> >>
> >> My distro does not include iplayer. Will "beeb" tv play on a
> >> common Linux player, like VLC?
> >
> > Where do you live?
> >
> > Lisi
>
> Long Island, New York

You can't therefore legitimately access it.  Although people living in 
the UK can in fact access it without paying the licence fee, the vast 
majority have in fact paid for or been given a licence.  Given how 
they badger you, it can be difficult not to. ;-)  That is the theory 
anyway.

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



Re: You lazy son-of-a-guns out there! (Was: May I introduce to you)

2014-02-02 Thread Lisi Reisz
On Sunday 02 February 2014 07:06:45 Bob Bernstein wrote:
> On Sat, 1 Feb 2014, Doug wrote:
> > On 02/01/2014 02:30 PM, Lisi Reisz wrote:
> >> On Saturday 01 February 2014 17:58:45 Doug wrote:
> >>> On 02/01/2014 08:13 AM, Sharon Kimble wrote:
>  May I introduce to you ‘beeb’ the all-singing, all-dancing,
>  upgrade to ‘get-iplayer’!
>
> I'm reasonably certain that as of this late date the _last_ thing
> anyone wants to see on this list is another OT baby-poop storm, but
> HAVE WE COMPLETELY SURRENDERED on the issue of top-quoting or
> bottom-quoting or whatever the heck we're calling it these days?
>
> C'mon!

Everyone whose mail reached me had bottom posted. 

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



Recovering data from an ext4 on LVM

2014-02-02 Thread Nuno Magalhães
Greetings,

I had an ext4 partition accessible via samba share and one day that
share became empty. I considered goofing up in Windows, but then found
out that there were a lot of warnings in dmesg. The partition was not
set to be fsck-ed and was made available via a Xen guest. I did start
running fsck but after 2 days of 100% CPU usage (single core only on a
quad-core) i quit.

The data isn't quite mission critical, i do back that one up, but it's
nonetheless rather important, at least some pieces. My main goal is to
find out how that happened. I tried looking at the samba logs but
they're quite confusing and crowded, and i couldn't pin-point any
specific data that would point to a user deletion. I was hoping
someone would point me to other logs i can skim.

>From what i've been searching, ext4 on a virtual machine could do well
with barriers off[1], and maybe ext3 would've been a better bet. I'm
not sure if the cause could've been somewhere in the virtualization
(the samba share was made available via a Xen PV guest). I don't think
the disk is corrupted, only the file system and it's gazillion inodes
(it's about 400GB of a 1TB drive) that fsck wants to clone.

My second concern would be to recover the data. I tried r-studio,which
did see all the neat partitions on LVM and RAID1 (another partition on
this 1TB drive makes up half of a RAID1,over which is an LVM VG, the
other VG being mostly used by the damaged partition). However, when i
re-ran r-studio again, it can't find its bearings and i can no longer
pinpoint the partition - it apparently doesn't support LVM yet[2].
It's a shame, it seemed to be the best candidate for the job.

The LVM does seem to be my main problem. I also tried testdisk, but it
eventually tells me the partition can't be recovered. Then i tried
photorec, which does recover a whole bunch of files, but it's mostly
pieces of files (i don't have 49K .cab files,so not all of the
recovered files are accurate). I assume this has something to do with
the underlying PEs and LEs of LVM. I do have another partition (on the
same disk) where photorec has been dumping part of the data (i
filtered out ISOs and such), but it's not big enough for a dd.

My next bet would've been ext4magic but it's only available in testing
(my host is stable), and i don't really want to risk that much of a
drive stir (since host / and other / are in a partition in the same
drive). I just might, if all else fails. There's also foremost and
giis, but i haven't looked into these yet. Any other suggestions? I
don't think there's a tool that'll even recover the directory
structure and file names, that would be great, but files alone are a
good start.

The next step is considering a makeover on my drives :) (the outcome
of which will largely depend on the success of this recovery). Can
anyone tell me if RAID5 is slower to write than a single drive? This
is a home machine, but if 5 is that slow i'd consider a bigger RAID1
instead.

Any help, pointers, tips or any other technical feedback would be welcome.

TIA,
Nuno

[1] http://blog.jolexa.net/2012/02/linode-dont-use-barriers-and-ext-4/
[2] http://forum.r-tt.com/lvm-t8503-10.html?sid=429b8e4210a71188712e4bed1b8d6b8b

-- 
"On the internet, nobody knows you're a dog."


-- 
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/cadqa9uai+ak6cethlzr7ueqn3nqyjaandvug3udswnv6xg9...@mail.gmail.com



Re: May I introduce to you ..... 'beeb'

2014-02-02 Thread Sharon Kimble
On Sat, 01 Feb 2014 12:58:45 -0500
Doug  wrote:

> On 02/01/2014 08:13 AM, Sharon Kimble wrote:
> > May I introduce to you ‘beeb’ the all-singing, all-danc
> ing, upgrade to
> > ‘get-iplayer’!
> >
> > The BBC has some superb radio and TV programmes, some of which they
> > have released into the public domain and which can be downloaded
> > using ‘get-iplayer’, and then can be played with your choice of
> > viewer. This script will -
> >
> > * Check to see if you have 'get-iplayer/get_iplayer'
> > installed. If not it will prompt you to install it.
> > * Creates the directory where the 'beeb-tv.txt &
> >   beeb-radio.txt' files are stored.
> > * Downloads the current radio programme feed,
> > * Allows you to put the programme numbers in to download,
> > and tell you how much more you can download in this session,
> > * Downloads the programmes,
> > * Then downloads the current TV programme feed,
> > * Allows you to put the programme numbers in to download,
> > and tell you how much more you can download in this session,
> > * Downloads the programmes,
> > * Asks you if you want to create a playing list of the radio
> >   programmes that can then be used by MPD.
> >
> > You can get 'beeb' from either my blog 'A taste of linux' or from my
> > bitbucket - https://bitbucket.org/boudiccas/dots
> >
> > Any problems, or further instruction required, please let me know.
> >
> > Thanks
> > Sharon.
> My distro does not include iplayer. Will "beeb" tv play on a
> common Linux player, like VLC?
> 
'get-iplayer' is the programme that gets the feeds and downloads the
programmes from the BBC, it doesn't actually "play" the programmes. You
need something else to do that, like VLC, etc.

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, emacs 24.3.50.1
Registered Linux user 561944


signature.asc
Description: PGP signature


Re: Recovering data from an ext4 on LVM

2014-02-02 Thread Ralf Mardorf
On Sun, 2014-02-02 at 15:25 +, Nuno Magalhães wrote:
> My next bet would've been ext4magic but it's only available in testing
> (my host is stable), and i don't really want to [...]

Search for a live media including ext4magic. Keep in mind to mount read
only.



-- 
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/1391355484.1074.7.camel@archlinux



Re: May I introduce to you ..... 'beeb'

2014-02-02 Thread Sharon Kimble
On Sun, 02 Feb 2014 15:51:04 +1100
Scott Ferguson  wrote:

> On 02/02/14 00:13, Sharon Kimble wrote:
> > 
> > May I introduce to you ‘beeb’ the all-singing, all-dancing, upgrade
> > to ‘get-iplayer’!
> > 
> 
> > 
> > Any problems, or further instruction required, please let me know.
> > 
> > Thanks
> > Sharon.
> > 
> 
> 
> Thanks - it looks interesting. (if only there was something similar
> for Australian Broadcasting Corporations iview).
> 
> I can't seem to find the source to the binary you provide. Have you
> released it?

The 'binary I provide'? If you mean the programme itself, its on my
blog, and in my bitbucket, you can get it from either source. If you
have the programme, then you've got the source, I can't think of any
other way of phrasing it. 
> 
> Is it related to the Debian package?
> http://packages.debian.org/wheezy/get-iplayer

'beeb' has been described as a "wrapper" to get-iplayer, in that it
uses get-iplayer but also extends it in an area in which get-iplayer
doesn't have any input/focus, specifically the MPD-playlist.
> 
> Are there any potential problems with permissions? e.g.:-
> http://www.bbc.co.uk/blogs/bbcinternet/2010/03/bbc_iplayer_content_protection.html

I know of none, after all, its only using get-iplayer as its been
released to use, and in the way that it should be used. All I've done
is codified a pattern of usage of get-iplayer in a logical manner! 

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, emacs 24.3.50.1
Registered Linux user 561944


signature.asc
Description: PGP signature


Re: Moving website to different server

2014-02-02 Thread Veljko
On 2014-Jan-29 18:05, Veljko wrote:
> Thanks Jochen, I'll try this in a few days and let you know how it went.

In case someone else need something like this, following block worked for me:

ProxyRequests off
ProxyPass / https://ip_of_new_server:443/
ProxyPassReverse / https://ip_of_new_server:443/
ProxyPreserveHost On
SSLProxyEngine On

  Order deny,allow
  Allow from all
 

As you can see, this is for https. For plain http, SSLProxyEngine should be
removed. Trailing slash is very important. 

Thanks again for your help!

Regards,
Veljko


-- 
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/20140202163232.ga25...@angelina.example.com



Re: grub efi does not find windows

2014-02-02 Thread Roger Leigh
On Tue, Jan 28, 2014 at 04:34:23PM +0100, Ralf Mardorf wrote:
> On Wed, 2014-01-29 at 04:16 +1300, Chris Bannister wrote:
> > On Tue, Jan 28, 2014 at 11:47:33AM +0100, berenger.mo...@neutralite.org 
> > wrote:
> > > Thanks in advance for any hint about how to make me able to boot
> > > windows anew.
> > 
> > Is os-prober installed?
> 
> Doesn't a chainloader work for an efi boot?

No, it's not possible from what I've seen.

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linuxhttp://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-GPG Public Key  F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


-- 
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/20140202194710.ge11...@codelibre.net



Re: Confused about dist-upgrade

2014-02-02 Thread Tom H
On Fri, Jan 24, 2014 at 1:06 PM, Brian  wrote:
> On Fri 24 Jan 2014 at 12:52:05 -0500, Tom H wrote:
>> On Thu, Jan 23, 2014 at 6:47 PM, Brian  wrote:
>>> On Thu 23 Jan 2014 at 17:52:00 -0500, Bob Bernstein wrote:

 At any rate, to move from, say, squeeze, to wheezy, my approach
 would be to edit my sources.list, replacing all instances of
 "squeeze" with "wheezy", and then running

 # apt-get update
 # apt-get dist-upgrade

 That as far as memory serves -- which is getting shakier and shakier
 with the advance of years :-( -- is what has worked in the past.
>>>
>>> The recommended way is
>>>
>>>apt-get update
>>>upgrade kernel
>>>reboot
>>>upgrade packages associated with any critical services
>>>apt-get dist-upgrade
>>
>>> From memory, this isn't the recommended way for upgrades to Lenny,
>> Squeeze, or Wheezy.
>
> *I* wasn't working from memory when responding to "...to move from, say,
> squeeze, to wheezy, my approach...".
>
>>From memory, an upgrade to Lenny involved having to ensure udev was
> upgraded first. Or maybe that was the upgrade to Etch.

You hadn't specified "from squeeze to qheezy" and you were therefore
implying that it was a general approach.

Still from memory because I don't have the time check at the moment:

The upgrade from squeeze to wheezy didn't involve rebooting between
upgrade and dist-upgrade.

The upgrade from lenny to squeeze involved upgrade, install
linux-image and udev, reboot, and dist-upgrade.

The upgrade to lenny or to etch involved upgrade, install linux-image
and something else, and dist-upgrade.

So there's no single upgrade method...


-- 
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=swobydam+nrkqx2owiju8bdhmt35+qnbpswcbn2q5e...@mail.gmail.com



Re: Help with command - cp

2014-02-02 Thread Tom H
On Sun, Jan 26, 2014 at 9:40 AM, Zenaan Harkness  wrote:
>
> BTW, with GNU ls, -r is the same as -R, but doesn't require pressing  
> :)

What do you mean by "GNU ls"? The ls provided by coreutils?

If it is, then "-r" mean "reverse the sort order" and "-R" means
"recurse through subdirectories".


-- 
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=Sxo6W9AduXYP6YG4OBp1n=68_kPDa+BRvUTVfc=uu4...@mail.gmail.com



Re: Poll: Which Init-System should Debian use in the future?

2014-02-02 Thread Tom H
On Mon, Jan 27, 2014 at 10:04 AM, Marko Randjelovic  wrote:
> On Mon, 27 Jan 2014 12:36:07 + (GMT)
> Holger Vogt  wrote:
>>
>> http://pollator.com/polls/which-init-system-should-debian-use-in-the-future/votes/new
>
> I didn't vote because openrc is not on list.

openrc replaces sysv-rc and insserv not sysvinit so you could've voted
for sysvinit.


-- 
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=syqrfxw4bvrvlkptmn1pofyah+t4pct+dk4bfuw4xm...@mail.gmail.com



Re: grub efi does not find windows

2014-02-02 Thread Tom H
On Tue, Jan 28, 2014 at 5:47 AM,   wrote:
> Le 28.01.2014 11:41, berenger.mo...@neutralite.org a écrit :
>
> Sorry for incomplete message. Here is the full message:
>
> At my job, I have a computer on which I can choose the OS so, I installed my
> lovely debian there (with "some" problems to make it booting because of this
> damned EFI ) but would prefer to keep windows in dual boot. Windows
> partition is still there, but grub does not seems to be able to notice it.
> I can do all tasks on the Debian system, but I need to retrieve some
> informations which were configured on windows, and keeping a dual boot seems
> a not so bad idea anyway, so do someone have any idea about what to do to
> fix that problem?
>
> Now some technical informations which could give (or not) some hints to help
> me:
> The boot flag was on a NTFS partition sda1, 1GiB large.
> Windows itself was on a NTFS partition sda2, more than 300GiB large, but I
> have resized it through Debian installer to 93GiB ( should be enough for a
> system which will almost never be used, even if the system's name is windows
> btw ). After simple resizing, it was still able to work.
> There were 2 other partitions, one for windows recovery with NTFS, and
> another one for HP tools with fat32. I have removed both of them.
> I now have a fat32 partition with EFI informations, mount point: /boot/efi,
> 1.86GiB large on sda3, which is bootable.
> I have lot of other partitions for Debian: /, /usr, /var, swap, /tmp and
> /home. Lot of GiB there.
> The last partition is a FAT32 that I intend to keep to share data between
> windows and debian, on sd5, 61GiB large ( very large too, but considering
> the HD's size... I did not cared a lot about that ).

Have you checked that "/boot/efi/EFI/Microsoft\Boot\bootmgfw.efi"
exists? (It might be "Bootmgfw.efi".)

Have you tried to switch to "bootmgfw.efi" through your firmware?

Running "efibootmgr" should display all the values that your firmware
knows about and the order in which they classified.


--
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=SyXYnY-ygJwCBdaDRE=4w0sG3=xgbnkhjg6s6nsdpy...@mail.gmail.com



Re: Disable ipv6?

2014-02-02 Thread Tom H
On Tue, Jan 28, 2014 at 6:04 AM, Tanstaafl  wrote:
>
> Is there an easy way to do this?
>
> I don't use it, I don't understand it (yet), so I don't want to use it until
> I do understand it.

https://lists.debian.org/debian-user/2014/01/msg00109.html


-- 
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=swqgd4zbjqwucqd5ibto3mv0kzj72txz3rs19ycrgm...@mail.gmail.com



Re: grub efi does not find windows

2014-02-02 Thread Tom H
On Sun, Feb 2, 2014 at 2:47 PM, Roger Leigh  wrote:
> On Tue, Jan 28, 2014 at 04:34:23PM +0100, Ralf Mardorf wrote:
>> On Wed, 2014-01-29 at 04:16 +1300, Chris Bannister wrote:
>>> On Tue, Jan 28, 2014 at 11:47:33AM +0100, berenger.mo...@neutralite.org 
>>> wrote:

 Thanks in advance for any hint about how to make me able to boot
 windows anew.
>>>
>>> Is os-prober installed?
>>
>> Doesn't a chainloader work for an efi boot?
>
> No, it's not possible from what I've seen.

Can't "multiboot /boot/efi/EFI/..." be used to load an efi executable?


-- 
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=szajo77zy_8mv77mbsscycrf2cbtdz83j-y+mses+g...@mail.gmail.com



Any reason not to run amd64 these days?

2014-02-02 Thread Rick Macdonald


I've been running 32bit Debian since release 0.93, before buzz was 
released. I've been through a few PCs over these 20 years, and now my 
latest one is dying on me (HP Dual core Pentium D, 4GB RAM).


I'd like to take a step up and get a machine with more memory (12 or 
16GB). I've done some searching and it seems these days there are no 
limitations with having access to all Debian packages, especially if one 
uses the multi-arch feature.


Still, I'd like to ask on the list here. Are there any issues with 
switching to amd64? What about drivers?


The new machine will likely be an off-the-shelf HP I7-4470 CPU machine 
with an NVIDIA GeForce card, somewhere between a GT635 and a GTX660.


What about running 32 bit windows and apps in wine or VMWare?

Regards,
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/52eeb18e.5080...@timshel.ca



Kernel panics after wheezy upgrade (but blaming hardware)

2014-02-02 Thread Rick Macdonald
I finally updated my 32bit PC to wheezy in October. Shortly after, I 
started getting kernel panics (blinking CapsLock/Scroll Lock for about 
10 seconds, then it would re-boot itself).


I ran memtest for 14 hours; no errors.

It often happened while watching videos in iceweasel, especially when 
seeking with the slider. It also happened with totem and an audio 
program again when seeking. It also happen on 3 occasions right after I 
clicked SEND in icedove. Often it would reboot on its own overnight. I 
admit I thought it was all due to software for many weeks.


Then I started getting fsck errors during the re-boot. Then after 
running OK for an hour or so it started re-mounting the hard drive 
read-only without rebooting. I was seeing journal errors (ext3 
filesystem). Then I saw a BIOS message saying a hard drive failure was 
imminent.


I had a new drive that I wasn't using, so I set it up with ext4 
partitions and copied everything to it, fixed up grub, and booted the 
new drive.


It went back to kernel panics!

I stole a Gateway desktop from my kids (similar CPU and memory). I put 
my harddrives (the new one), memory (4x1GB), gigabit LAN card and video 
card (GeForce 7300LE) into it. No problems at all.


When swapping the video card I discovered that the fan was no longer 
working. I thought maybe an overheating video card could be to blame but 
it's run for 2 days now without a kernel panic.


That pretty much leaves the blame on the original machine's mother board 
and power supply. I replaced the power supply a few years ago (Antec 
Earthwatts 430W EA-430D). The machine is an HP Pavillion MutilMedia TV 
PC, so there's an Hauppage TV tuner card installed. I didn't try 
removing that. I don't use it but I still have remnants installed from 
when I played with ivtv some years ago.


Any comments about all this? I kind welcome the excuse to buy a new PC 
with a better video card and more memory (and 64bit), but it would be 
nice to know what's wrong with the machine before I through it out.


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/52eeb75a.9040...@timshel.ca



Re: May I introduce to you ..... 'beeb'

2014-02-02 Thread Scott Ferguson
On 03/02/14 02:44, Sharon Kimble wrote:
> On Sun, 02 Feb 2014 15:51:04 +1100
> Scott Ferguson  wrote:
> 
>> On 02/02/14 00:13, Sharon Kimble wrote:
>>>
>>> May I introduce to you ‘beeb’ the all-singing, all-dancing, upgrade
>>> to ‘get-iplayer’!
>>>
>> 
>>>
>>> Any problems, or further instruction required, please let me know.
>>>
>>> Thanks
>>> Sharon.
>>>



>>
>> Is it related to the Debian package?
>> http://packages.debian.org/wheezy/get-iplayer
> 
> 'beeb' has been described as a "wrapper" to get-iplayer, in that it
> uses get-iplayer but also extends it in an area in which get-iplayer
> doesn't have any input/focus, specifically the MPD-playlist.

My apologies - I'm not trying to be obtuse, but that didn't answer my
question. Let me rephrase that How is "beeb" different (advantages?)
to the *Debian* package "get_iplayer"??

http://packages.debian.org/search?keywords=get-iplayer
Features:

* Downloads Mov (mp4) streams from BBC iplayer site in much better
quality than Flash player streams
* Allow multiple programmes to be downloaded using a single command
* Indexing of all available (i.e. listed) iplayer programs
* Available Programme Index listing
* Caching of Index (default 4hrs)
* Full HTTP Proxy support (tested on Squid)
* Regex search on programme name capability (makes it useful to run this
from crontab)
* Regex search on long programme description and episode capability
* Tested on Linux (Fedora 6/7/8/9, Centos/RHEL 5, MacOSX, Ubuntu),
Windows and loads more
* Requires: perl 5.8, perl-LWP
* Latest Version: http://linuxcentre.net/get_iplayer/get_iplayer

DESCRIPTION
get_iplayer lists, searches and records BBC iPlayer TV/Radio, BBC
Podcast programmes. Other 3rd-Party plugins may be available.

get_iplayer has three modes: recording a complete programme for later
playback, streaming a programme directly to a playback application, such
as mplayer; and as a Personal Video Recorder (PVR), subscribing to
search terms and recording programmes automatically. It can also stream
or record live BBC iPlayer output

If given no arguments, get_iplayer updates and displays the list of
currently available programmes. Each available programme has a numerical
identifier,pid. get_iplayer utilises the rtmpdump tool to record BBC
iPlayer programmes from RTMP flash streams at various qualities.

In PVR mode, get_iplayer can be called from cron to record programmes to
a schedule.

NOTES: it also install a web based manager (http://127.0.0.1:1935)
launched by running:-
$ get_iplayer_web_pvr
>From Australia, if I wanted to ignore the permissions I asked about in
the following paragraph (apparently it's illegal to download BBC
programs outside of the UK - see the reference further down), I'd have
to use a UK-based proxy e.g.:-

$ cat ~/.get_iplayer/options

# For Debian-based systems, inhibit automatic updates
# packagemanager apt

# Add site-wide configuration in this file
proxy https://someUK-basedProxy:443


>>
>> Are there any potential problems with permissions? e.g.:-
>> http://www.bbc.co.uk/blogs/bbcinternet/2010/03/bbc_iplayer_content_protection.html
> 
> I know of none, after all, its only using get-iplayer as its been
> released to use, and in the way that it should be used.

Thanks

> All I've done
> is codified a pattern of usage of get-iplayer in a logical manner! 

I'm confused. What is illogical about:-
# apt-get install get_iplayer

It seems to work (or am I missing something?)
http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=get-iplayer

It's part of the debian architecture (it upgrades and updates etc)...


> 
> Sharon.
> 

TIA


Kind regards


-- 
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/52eec27e.1080...@gmail.com



Re: May I introduce to you ..... 'beeb'

2014-02-02 Thread Lisi Reisz
On Sunday 02 February 2014 15:44:14 Sharon Kimble wrote:
> > Are there any potential problems with permissions? e.g.:-
> > http://www.bbc.co.uk/blogs/bbcinternet/2010/03/bbc_iplayer_conten
> >t_protection.html
>
> I know of none, 

Apart, you mean, from the fact that you are posting this on an 
international list and playing iPlayer content outside of the UK is 
explicitly forbidden??

> after all, its only using get-iplayer as its been 
> released to use, and in the way that it should be used. All I've
> done is codified a pattern of usage of get-iplayer in a logical
> manner!

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



Re: Any reason not to run amd64 these days?

2014-02-02 Thread Ralf Mardorf
On Sun, 2014-02-02 at 13:58 -0700, Rick Macdonald wrote:
> Are there any issues with switching to amd64? What about drivers?

There aren't issues.

> What about running 32 bit windows and apps in wine

Wine and at least VBox can do this. There might be issues for 32-bit
VSTs.


-- 
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/1391380001.820.4.camel@archlinux



Re: grub efi does not find windows

2014-02-02 Thread berenger . morel



Le 02.02.2014 21:46, Tom H a écrit :
On Tue, Jan 28, 2014 at 5:47 AM,   
wrote:

Le 28.01.2014 11:41, berenger.mo...@neutralite.org a écrit :

Sorry for incomplete message. Here is the full message:

At my job, I have a computer on which I can choose the OS so, I 
installed my
lovely debian there (with "some" problems to make it booting because 
of this

damned EFI ) but would prefer to keep windows in dual boot. Windows
partition is still there, but grub does not seems to be able to 
notice it.

I can do all tasks on the Debian system, but I need to retrieve some
informations which were configured on windows, and keeping a dual 
boot seems
a not so bad idea anyway, so do someone have any idea about what to 
do to

fix that problem?

Now some technical informations which could give (or not) some hints 
to help

me:
The boot flag was on a NTFS partition sda1, 1GiB large.
Windows itself was on a NTFS partition sda2, more than 300GiB large, 
but I
have resized it through Debian installer to 93GiB ( should be enough 
for a
system which will almost never be used, even if the system's name is 
windows

btw ). After simple resizing, it was still able to work.
There were 2 other partitions, one for windows recovery with NTFS, 
and

another one for HP tools with fat32. I have removed both of them.
I now have a fat32 partition with EFI informations, mount point: 
/boot/efi,

1.86GiB large on sda3, which is bootable.
I have lot of other partitions for Debian: /, /usr, /var, swap, /tmp 
and

/home. Lot of GiB there.
The last partition is a FAT32 that I intend to keep to share data 
between
windows and debian, on sd5, 61GiB large ( very large too, but 
considering

the HD's size... I did not cared a lot about that ).


Have you checked that "/boot/efi/EFI/Microsoft\Boot\bootmgfw.efi"
exists? (It might be "Bootmgfw.efi".)


I'm not at work currently, but I'll take a look tomorrow. However, I 
have already looked at what was in /boot and am pretty sure that I have 
no file or directory with microsoft or windows in their name ( 
lowercase, uppercase and all kinds of mixes ). I'll check anew to be 
sure anyway.




Have you tried to switch to "bootmgfw.efi" through your firmware?


Which firmware?


Running "efibootmgr" should display all the values that your firmware
knows about and the order in which they classified.


I'll install this tool and check what it gives tomorrow, thanks.


--
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/405222b42ab54cca2e626b052879b...@neutralite.org



Re: making my Wheezy beep. How?

2014-02-02 Thread Ralf Mardorf
On Sat, 2014-02-01 at 09:54 +0100, Ralf Mardorf wrote:
> On Fri, 2014-01-31 at 20:48 -0600, Nate Bargmann wrote:
> > * On 2014 31 Jan 18:04 -0600, Ralf Mardorf wrote:
> > > On Fri, 2014-01-31 at 09:48 -0600, Nate Bargmann wrote:
> > > > MiscBell=FALSE
> > > > 
> > > > Set it to TRUE.
> > > 
> > 
> > ~/.config/xfce4/terminal/terminalrc
> 
> And now it beeps if I run
> 
> $ printf "\7"; sleep 1; printf "\a"

No it doesn't. It works for my Arch Linux where I run xfce4-terminal in
a Xfce4 session, but it doesn't work for my Debian where Xfce isn't
installed, just KDE4 and Jwm are installed. The path and file didn't
exist, so I mkdir the path and copied terminalrc from my Arch to my
Debian install. When I run xfce4-terminal in a Jwm session there still
are no beeps, I didn't test it for KDE4.


-- 
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/1391380475.820.9.camel@archlinux



Re: Confused about dist-upgrade

2014-02-02 Thread Brian
On Sun 02 Feb 2014 at 15:22:44 -0500, Tom H wrote:

> You hadn't specified "from squeeze to qheezy" and you were therefore
> implying that it was a general approach.

In my own mind I thought I was responding to the previous post:

   At any rate, to move from, say, squeeze, to wheezy, my approach

but it is possible there was some ambiguity in my response.

> So there's no single upgrade method...

Agreed.


-- 
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/02022014223251.e976260ef...@desktop.copernicus.demon.co.uk



Re: Viber on Debian

2014-02-02 Thread Chris Bannister
On Sun, Feb 02, 2014 at 03:37:48PM +1100, Scott Ferguson wrote:
> On 02/02/14 14:12, Man_Without_Clue wrote:
> > Viber just won't start.
> 
> Presuming you are running a 64-bit Debian release. After installing it
> with:-
> # dpkg -i viber.deb
> 
> did you get any useful messages?
> 
> have you tried following the installation with:-
> 
> # apt-get -f install
> 
> NOTE: run the following first:-
> 
> # apt-get -sf install | more
> and post the result.

Maybe useful to post:
ldd /path/to/viber-binary

also(?)

-- 
"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/20140202230651.GC5980@tal



Re: Any reason not to run amd64 these days?

2014-02-02 Thread Rick Macdonald


Thanks, Ralf.

I do use a couple of 32bit DAWs: Reaper and Power Tracks Pro. I use them 
in wine but I also have VMWare. If I just stick with the 32bit versions 
of the DAWs, all the 32bit VST plugins should be OK, right? Or are you 
saying there could still be issues?


Rick

On 02/02/14 03:26 PM, Ralf Mardorf wrote:

On Sun, 2014-02-02 at 13:58 -0700, Rick Macdonald wrote:

Are there any issues with switching to amd64? What about drivers?

There aren't issues.


What about running 32 bit windows and apps in wine

Wine and at least VBox can do this. There might be issues for 32-bit
VSTs.





--
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/52eecc4c.80...@timshel.ca



Re: making my Wheezy beep. How?

2014-02-02 Thread Ralf Mardorf
On Sun, 2014-02-02 at 23:34 +0100, Ralf Mardorf wrote:
> On Sat, 2014-02-01 at 09:54 +0100, Ralf Mardorf wrote:
> > On Fri, 2014-01-31 at 20:48 -0600, Nate Bargmann wrote:
> > > * On 2014 31 Jan 18:04 -0600, Ralf Mardorf wrote:
> > > > On Fri, 2014-01-31 at 09:48 -0600, Nate Bargmann wrote:
> > > > > MiscBell=FALSE
> > > > > 
> > > > > Set it to TRUE.
> > > > 
> > > 
> > > ~/.config/xfce4/terminal/terminalrc
> > 
> > And now it beeps if I run
> > 
> > $ printf "\7"; sleep 1; printf "\a"
> 
> No it doesn't. It works for my Arch Linux where I run xfce4-terminal in
> a Xfce4 session, but it doesn't work for my Debian where Xfce isn't
> installed, just KDE4 and Jwm are installed. The path and file didn't
> exist, so I mkdir the path and copied terminalrc from my Arch to my
> Debian install. When I run xfce4-terminal in a Jwm session there still
> are no beeps, I didn't test it for KDE4.

PS: On Debian I already prefer to use ROXTerm and right now I installed
it to my Arch Linux too and noticed that it does use the same syntax.

E.g.

$ xfce4-terminal --maximize -T "♪ jackd" -e "jackd -dalsa"
$ roxterm --maximize -T "♪ jackd" -e "jackd -dalsa"

I guess I'll use ROXTerm in the future, instead of xfce4-terminal for
all Linux.


-- 
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/1391382559.820.16.camel@archlinux



Re: You lazy son-of-a-guns out there! (Was: May I introduce to you)

2014-02-02 Thread Chris Bannister
On Sun, Feb 02, 2014 at 02:06:45AM -0500, Bob Bernstein wrote:
> On Sat, 1 Feb 2014, Doug wrote:
> 
> >On 02/01/2014 02:30 PM, Lisi Reisz wrote:
> >>On Saturday 01 February 2014 17:58:45 Doug wrote:
> >>>On 02/01/2014 08:13 AM, Sharon Kimble wrote:
> May I introduce to you ‘beeb’ the all-singing, all-dancing,
> upgrade to ‘get-iplayer’!
> 
> I'm reasonably certain that as of this late date the _last_ thing
> anyone wants to see on this list is another OT baby-poop storm, but
> HAVE WE COMPLETELY SURRENDERED on the issue of top-quoting or
> bottom-quoting or whatever the heck we're calling it these days?

Is text/PLAIN legitimate? I thought it was text/plain

-- 
"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/20140202231528.GD5980@tal



Re: Any reason not to run amd64 these days?

2014-02-02 Thread Ralf Mardorf
On Sun, 2014-02-02 at 15:53 -0700, Rick Macdonald wrote:
> Thanks, Ralf.
> 
> I do use a couple of 32bit DAWs: Reaper and Power Tracks Pro. I use them 
> in wine but I also have VMWare. If I just stick with the 32bit versions 
> of the DAWs, all the 32bit VST plugins should be OK, right? Or are you 
> saying there could still be issues?

Regarding to VST I don't have knowledge, because I don't use VSTs, but
IIRC I once wanted to test VSTs and there where issues with 64-bit
architecture. But IIRC I wanted to use Windows VSTs on Linux. I guess
using them with Reaper in wineasio should work, but you better ask at
http://lists.linuxaudio.org/listinfo/linux-audio-user .

For Linux audio production I'm using 64-bit since years, just at the
moment I've got a Debian 32-bit install on my machine too. I haven't
done any audio production with 32-bit yet, but IMO the GUI performance
on 64-bit architecture using linux-rt is better, than on 32-bit
architecture. But in a "blind" test I perhaps couldn't notice the
difference for the performance.


-- 
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/1391383238.820.24.camel@archlinux



Re: You lazy son-of-a-guns out there! (Was: May I introduce to you)

2014-02-02 Thread Joel Rees
On Sun, Feb 2, 2014 at 4:06 PM, Bob Bernstein  wrote:
> On Sat, 1 Feb 2014, Doug wrote:
>
>> On 02/01/2014 02:30 PM, Lisi Reisz wrote:
>>>
>>> On Saturday 01 February 2014 17:58:45 Doug wrote:

 On 02/01/2014 08:13 AM, Sharon Kimble wrote:
>
> May I introduce to you 'beeb' the all-singing, all-dancing,
> upgrade to 'get-iplayer'!
>
>
> I'm reasonably certain that as of this late date the _last_ thing anyone
> wants to see on this list is another OT baby-poop storm, but HAVE WE
> COMPLETELY SURRENDERED on the issue of top-quoting or bottom-quoting or
> whatever the heck we're calling it these days?
>
> C'mon!
>
>
> --
> IMPORTANT: This email is intended for the use of the individual
> addressee(s) named above and may contain information that is
> confidential, privileged or unsuitable for overly sensitive
> persons with low self-esteem, no sense of humour or irrational
> metaphysical beliefs.

Hmm. I think I am not the only one who read Sharon's slightly
over-the-top introduction of the BBS media player and wondered what
Justin-what's-his-name had to do with Debian.

But that was droll, Bob.

-- 
Joel Rees

Be careful where you see conspiracy.
Look first in your own heart.


-- 
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/caar43ioduxtd6t-m2c+dswx6xakxs9z_epmj9vsftw8gd7+...@mail.gmail.com



http.debian.net hash sum mismatch

2014-02-02 Thread Robin
Has anybody else experienced problems over the last couple of days?
Or is there a local fix I can apply?

For ref:

About http.debian.net

Brought to you by Raphael Geissert, it aims to solve the problem of
choosing a Debian mirror, among other issues. The redirector uses the
geo and network location of the user and the mirrors, the architecture
of the requested files, IP address family, the availability and
freshness of the mirrors, and a few other things. It is constantly
improved.
The result: it selects the best mirror that can serve the file. Give
the demonstration a try!
If you are familiar with cdn.debian.net you should think of
http.debian.net as a superior replacement.


Thanks
-- 
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/CAOZWb-pT+pNXN=8ss8_obf3m7yuya_fq81fcyfahc+6g9gy...@mail.gmail.com



Re: You lazy son-of-a-guns out there! (Was: May I introduce to you)

2014-02-02 Thread Bob Bernstein

On Mon, 3 Feb 2014, Joel Rees wrote:


But that was droll, Bob.


Thank you sir; high praise indeed. I wish I could assert authorship 
of the thing, but I stole it from another internet (l)user.


:-)


--
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational
metaphysical beliefs.


--
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/Pine.LNX.4.64.1402021836100.11604@gebyyobl.ybpnyqbznva



Re: May I introduce to you ..... 'beeb'

2014-02-02 Thread Sharon Kimble
On Mon, 03 Feb 2014 09:11:10 +1100
Scott Ferguson  wrote:

> On 03/02/14 02:44, Sharon Kimble wrote:
> > On Sun, 02 Feb 2014 15:51:04 +1100
> > Scott Ferguson  wrote:
> > 
> >> On 02/02/14 00:13, Sharon Kimble wrote:
> >>>
> >>> May I introduce to you ‘beeb’ the all-singing, all-dancing,
> >>> upgrade to ‘get-iplayer’!
> >>>
> >> 
> >>>
> >>> Any problems, or further instruction required, please let me know.
> >>>
> >>> Thanks
> >>> Sharon.
> >>>
> 
> 
> 
> >>
> >> Is it related to the Debian package?
> >> http://packages.debian.org/wheezy/get-iplayer
> > 
> > 'beeb' has been described as a "wrapper" to get-iplayer, in that it
> > uses get-iplayer but also extends it in an area in which get-iplayer
> > doesn't have any input/focus, specifically the MPD-playlist.
> 
> My apologies - I'm not trying to be obtuse, but that didn't answer my
> question. Let me rephrase that How is "beeb" different
> (advantages?) to the *Debian* package "get_iplayer"??
> 
> http://packages.debian.org/search?keywords=get-iplayer
> Features:
> 
> * Downloads Mov (mp4) streams from BBC iplayer site in much better
> quality than Flash player streams
> * Allow multiple programmes to be downloaded using a single command
> * Indexing of all available (i.e. listed) iplayer programs
> * Available Programme Index listing
> * Caching of Index (default 4hrs)
> * Full HTTP Proxy support (tested on Squid)
> * Regex search on programme name capability (makes it useful to run
> this from crontab)
> * Regex search on long programme description and episode capability
> * Tested on Linux (Fedora 6/7/8/9, Centos/RHEL 5, MacOSX, Ubuntu),
> Windows and loads more
> * Requires: perl 5.8, perl-LWP
> * Latest Version: http://linuxcentre.net/get_iplayer/get_iplayer
> 
> DESCRIPTION
> get_iplayer lists, searches and records BBC iPlayer TV/Radio, BBC
> Podcast programmes. Other 3rd-Party plugins may be available.
> 
> get_iplayer has three modes: recording a complete programme for later
> playback, streaming a programme directly to a playback application,
> such as mplayer; and as a Personal Video Recorder (PVR), subscribing
> to search terms and recording programmes automatically. It can also
> stream or record live BBC iPlayer output
> 
> If given no arguments, get_iplayer updates and displays the list of
> currently available programmes. Each available programme has a
> numerical identifier,pid. get_iplayer utilises the rtmpdump tool to
> record BBC iPlayer programmes from RTMP flash streams at various
> qualities.
> 
> In PVR mode, get_iplayer can be called from cron to record programmes
> to a schedule.
> 
> NOTES: it also install a web based manager (http://127.0.0.1:1935)
> launched by running:-
> $ get_iplayer_web_pvr
> >From Australia, if I wanted to ignore the permissions I asked about
> >in
> the following paragraph (apparently it's illegal to download BBC
> programs outside of the UK - see the reference further down), I'd have
> to use a UK-based proxy e.g.:-
> 
> $ cat ~/.get_iplayer/options
> 
> # For Debian-based systems, inhibit automatic updates
> # packagemanager apt
> 
> # Add site-wide configuration in this file
> proxy https://someUK-basedProxy:443
> 
> 
> >>
> >> Are there any potential problems with permissions? e.g.:-
> >> http://www.bbc.co.uk/blogs/bbcinternet/2010/03/bbc_iplayer_content_protection.html
> > 
> > I know of none, after all, its only using get-iplayer as its been
> > released to use, and in the way that it should be used.
> 
> Thanks
> 
> > All I've done
> > is codified a pattern of usage of get-iplayer in a logical manner! 
> 
> I'm confused. What is illogical about:-
> # apt-get install get_iplayer
> 
> It seems to work (or am I missing something?)
> http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=get-iplayer
> 
> It's part of the debian architecture (it upgrades and updates etc)...

Yes, it is used, and as I've already said, 'beeb' is like a
"wrapper-script" to get-iplayer. It takes what get-iplayer does, makes
it work a bit more logically, and then creates a 'beeb.m3u' playlist
under ~/.mpd if you tell it too. 

If it doesn't scratch your itch, then you don't have to use it, its all
free and open-source!

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, emacs 24.3.50.1
Registered Linux user 561944


signature.asc
Description: PGP signature


Re: making my Wheezy beep. How?

2014-02-02 Thread Nate Bargmann
If you're using Konsole, the beep capability was removed long ago for
KDE4.  I added to a bug about it on their Bugzilla and the developer
stated that it would not be fixed.  :-(

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.us


-- 
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/20140202234655.gd12...@n0nb.us



Re: May I introduce to you ..... 'beeb'

2014-02-02 Thread Bob Bernstein

On Sun, 2 Feb 2014, Sharon Kimble wrote:

Very cute.

BTW, that's one helluva .emacs file you have there.



--
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive
persons with low self-esteem, no sense of humour or irrational
metaphysical beliefs.


--
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/Pine.LNX.4.64.1402022327220.11604@gebyyobl.ybpnyqbznva



A persistent name for a sound device.

2014-02-02 Thread peter
I'm interested to make a persistent name for a sound device. 
The output of "udevadm info -a -p $(udevadm info -q path -n /dev/... )" 
follows. 
What exactly is meant by the last sentence of the introductory paragraph? 
Must the first match occur in the first stanza of the info?  Does "one single 
parent device" allow the direct parent only?  Can the attributes belong to the 
grandparent or great-grandparent?

This is one rule I've tried.  
SUBSYSTEM=="sound", ATTRS{idVendor}=="0d8c", ATTRS{idProduct}=="0008", 
SYMLINK+="USBspeakers"
None of my rules have yielded a SYMLINK.

Thanks for any ideas, ... Peter E.

===
root@dalton:/home/peter# udevadm info -a -p $(udevadm info -q path -n 
/dev/snd/by-id/usb-0d8c_C-Media_USB_Audio_Device-00)

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device 
'/devices/pci:00/:00:03.2/usb5/5-1/5-1:1.0/sound/card3/controlC3':
KERNEL=="controlC3"
SUBSYSTEM=="sound"
DRIVER==""

  looking at parent device 
'/devices/pci:00/:00:03.2/usb5/5-1/5-1:1.0/sound/card3':
KERNELS=="card3"
SUBSYSTEMS=="sound"
DRIVERS==""
ATTRS{id}=="Device"
ATTRS{number}=="3"

  looking at parent device '/devices/pci:00/:00:03.2/usb5/5-1/5-1:1.0':
KERNELS=="5-1:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="snd-usb-audio"
ATTRS{bInterfaceNumber}=="00"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bNumEndpoints}=="00"
ATTRS{bInterfaceClass}=="01"
ATTRS{bInterfaceSubClass}=="01"
ATTRS{bInterfaceProtocol}=="00"
ATTRS{supports_autosuspend}=="1"

  looking at parent device '/devices/pci:00/:00:03.2/usb5/5-1':
KERNELS=="5-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 4"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="a0"
ATTRS{bMaxPower}=="100mA"
ATTRS{urbnum}=="8415"
ATTRS{idVendor}=="0d8c"
ATTRS{idProduct}=="0008"
ATTRS{bcdDevice}=="0100"
ATTRS{bDeviceClass}=="00"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="12"
ATTRS{busnum}=="5"
ATTRS{devnum}=="2"
ATTRS{devpath}=="1"
ATTRS{version}==" 1.10"
ATTRS{maxchild}=="0"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{product}=="C-Media USB Audio Device   "

  looking at parent device '/devices/pci:00/:00:03.2/usb5':
KERNELS=="usb5"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bMaxPower}=="  0mA"
ATTRS{urbnum}=="27"
ATTRS{idVendor}=="1d6b"
ATTRS{idProduct}=="0001"
ATTRS{bcdDevice}=="0302"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="12"
ATTRS{busnum}=="5"
ATTRS{devnum}=="1"
ATTRS{devpath}=="0"
ATTRS{version}==" 1.10"
ATTRS{maxchild}=="2"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Linux 3.2.0-4-686-pae ohci_hcd"
ATTRS{product}=="OHCI Host Controller"
ATTRS{serial}==":00:03.2"
ATTRS{authorized_default}=="1"

  looking at parent device '/devices/pci:00/:00:03.2':
KERNELS==":00:03.2"
SUBSYSTEMS=="pci"
DRIVERS=="ohci_hcd"
ATTRS{vendor}=="0x1039"
ATTRS{device}=="0x7001"
ATTRS{subsystem_vendor}=="0x105b"
ATTRS{subsystem_device}=="0x0c56"
ATTRS{class}=="0x0c0310"
ATTRS{irq}=="22"
ATTRS{local_cpus}==""
ATTRS{local_cpulist}=="0-31"
ATTRS{dma_mask_bits}=="32"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""

  looking at parent device '/devices/pci:00':
KERNELS=="pci:00"
SUBSYSTEMS==""
DRIVERS==""
===



-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +1 360 639 0202  http://carnot.yi.org/ 
 New address Bcc: peter at easthope. ca 


-- 
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/E1WAAtm-0001Mo-0A@dalton.invalid



Re: A persistent name for a sound device.

2014-02-02 Thread Scott Ferguson
On 03/02/14 15:12, pe...@easthope.ca wrote:
> I'm interested to make a persistent name for a sound device. 
> The output of "udevadm info -a -p $(udevadm info -q path -n /dev/... )" 
> follows. 
> What exactly is meant by the last sentence of the introductory paragraph? 
> Must the first match occur in the first stanza of the info? 

No. (if you mean in the udev rule)

> Does "one single 
> parent device" allow the direct parent only? 

There are a number of parent devices, don't try and match for more than
one value per parent device.

> Can the attributes belong to the 
> grandparent or great-grandparent?

Yes.

I thought the man page was the best guide, but you may find this better:-
http://www.reactivated.net/writing_udev_rules.html

> 
> This is one rule I've tried.  
> SUBSYSTEM=="sound", ATTRS{idVendor}=="0d8c", ATTRS{idProduct}=="0008", 
> SYMLINK+="USBspeakers"
> None of my rules have yielded a SYMLINK.


How about the following?:-

KERNEL=="controlC3", ATTRS{idVendor}=="0d8c", ATTRS{idProduct}=="0008",
SYMLINK+="USBspeakers" GROUP=="sound"


or. same thing(?) without trying for two matches from the same parent,
and 'trying' to match particular card output:-
KERNEL=="controlC3", ATTRS{idProduct}=="0008", ATTRS{id}=="Device",
ATTRS{product}=="C-Media USB Audio Device   ", SYMLINK+="USBspeakers"
GROUP=="sound"

> 
> Thanks for any ideas, ... Peter E.


It might help if you posted the full path of the udev rule in case that
(it's name and location) is a problem.


> 
> ===
> root@dalton:/home/peter# udevadm info -a -p $(udevadm info -q path -n 
> /dev/snd/by-id/usb-0d8c_C-Media_USB_Audio_Device-00)
> 

> 
> 


Kind regards


-- 
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/52ef2989.9030...@gmail.com



Re: Suggest a tool for decoding binary data

2014-02-02 Thread Kevin O'Gorman
On Sun, Feb 2, 2014 at 1:28 AM, Chen Wei  wrote:
> On Sat, Feb 01, 2014 at 05:36:19PM -0800, Kevin O'Gorman wrote:
>> I'm about to tackle GPT partitioned disks, and want to decode the
>> label.
>>
>> The data is little-endian, but I want my code to work on little- or
>> big-endian machines.  I want it to be a script -- nothing compiled.
>>
>> I've figured out that on my little-endian machines, I can use bash
>> with something like
>> otherlabel=$(($(dd if=label bs=1 skip=32 count=8 | od -An -t d8) ))
>
>
> I am not quit understand why need dump the label, but it can be done
> easily by script language, say, Python.
>
>
> # - begin --
> #!/usr/bin/env python
> # -*- coding: utf-8 -*-
>
> import sys
> from struct import unpack
>
> skip = 32
> count = 8
> fp = open(path_to_dd_image, 'rb').read(skip + count)
> data_of_interest = fp[skip:]
>
> if sys.byteorder == 'little':
> #assuming the label is a 8 bytes unsigned integer
> label = unpack(' else:
> label = unpack('>Q', data_of_interest)[0]
> # - end --

Ah, thank you, that is a nice start.  I'll remove the test for system
byteorder because the data is always little-endian.  It's the sytem I
was worred about and the '<' is the ticket.

-- 
Kevin O'Gorman

programmer, n. an organism that transmutes caffeine into software.
Please consider the environment before printing this email.


-- 
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/CAGVXcSYYcN45B8S5vmTggYTGgaDbTpARZs=gvlbmsejjyqp...@mail.gmail.com



Re: A persistent name for a sound device.

2014-02-02 Thread Scott Ferguson
On 03/02/14 16:30, Scott Ferguson wrote:
> On 03/02/14 15:12, pe...@easthope.ca wrote:
>> I'm interested to make a persistent name for a sound device. 
>> The output of "udevadm info -a -p $(udevadm info -q path -n /dev/... )" 
>> follows. 
>> What exactly is meant by the last sentence of the introductory paragraph? 
>> Must the first match occur in the first stanza of the info? 
> 
> No. (if you mean in the udev rule)

CORRECTION.  That should be, um, *yes* (all the values in the udev rule
must match for the action to occur)

[me thinks] Must the match occur in the first stanza info? The one on
the left hmmm, what's the matching order - left-to-right or
right-to-left. Unicode so probably one of those toroidial vortex
things. Goes one way in the Northern Hemisphere, and the other way? I
got it! Same way as people go around ovals... which is? Boolean?
http://s.mlkshk.com/r/54DT



Kind regards


-- 
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/52ef3e6c.3060...@gmail.com