Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Mar 11, 2016 at 05:02:49PM -0500, Gene Heskett wrote:

[...]

> Yup, that they do.  They also cost around 35,000 USD to put it on YOUR 

Now you're exaggerating. We have an (oldish) Brother "laser" networked
printer which was quite affordable and understands pretty well PS (well,
officially it's "brotherscript" -- really!) but it works nicely either
from the whole CUPS gorilla or from a more traditional lprng installation.

No blobs, no frills. Only this stupid 99.9% compatible PS ripoff is
sometimes annoying, I guess if they'd left the (official or inofficial)
copy of Ghostscript just alone instead of tweaking it, it'd be better.

It is, fwiw a Brother HL 5170DN. Would I recommend it? Well, the
mechanical quality is what you'd expect for the price. It tends to
"decorate" its first pages with some creases. It is very low on
mem, and its RIP isn't really fast. But it has done its job for
well over seven years now.

So. Now I'll bite off my tongue and take my ball with me. I'm off
this thread. I can't bear the overall animosity and poking of
fun at those who try to put some effort into avoiding binary
blobs. It reminds me of the poking at vegetarians "now are snails
vegetables or not?". I thought I left that behind in my teens.

- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlbjylkACgkQBcgs9XrR2kaUYgCfQjJTQN2qNsPPKhE0VMC0xUXu
n5oAn2pw1i+OQV8Z1KsbPe7XnkweQ9Wh
=CQyw
-END PGP SIGNATURE-



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread jdd

Le 12/03/2016 08:50, to...@tuxteam.de a écrit :


So. Now I'll bite off my tongue and take my ball with me. I'm off
this thread. I can't bear the overall animosity and poking of
fun at those who try to put some effort into avoiding binary
blobs.


no, not for me.

there are two parts: having a hardware that just works, and for this 
Brother is better than many other makes, and getting free of privative 
software, which is better but harder.


By the way it's a bit of a dead way: even RMS do not ask for free 
BIOS... when he could (there is work on the subject).


I remember the time where every printer was sold with a manual stating 
what codes was giving what.


So working toward a free driver is a good idea, but this have to be done 
with knowledgeable people, probably (no offense!) not to be found here 
but in gutenprint mailing list


http://gimp-print.sourceforge.net/

they list some brother mfc printers, so may be yours is not so far from 
support, if you help


Brother MFC-6550MC  brother-mfc-6550mc  Brother-MFC-6550MC  
Brother MFC-8300brother-mfc-8300Brother-MFC-8300
Brother MFC-9500brother-mfc-9500Brother-MFC-9500
Brother MFC-9600brother-mfc-9600Brother-MFC-9600

(on the printer list, the names are not by alphabetic order)

ask them (and report here, please :-)

thanks
jdd



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Fri 11 Mar 2016 at 12:39:58 -0600, David Wright wrote:

> On Fri 11 Mar 2016 at 17:48:01 (+), Brian wrote:
> > 
> > The AirPrint facility handles a PDF (it has to).
> 
> I don't understand this statement. If a printer doesn't have a PS
> interpreter (or emulation thereof), are you saying that it acquires
> one by virtue of supporting AirPrint?

No. (I think you meant PDF).

The PDL of choice for AirPrint capable devices is PDF. A PDF document
sent to an Airprint capable printer is converted to BUL (the Brother
Unknown Language) as it would be if it was processed on a workstation by
CUPS.

Note that this is a conversion, not an interpretation. An interpreter
produces a raster image and this happens later when the RIP deals with
BUL.

> > Whether the printer
> > handles direct PDF printing is questionable. But it's a decent idea to
> > try.
> 
> It would seem odd to support PDF printing and be silent on the matter
> in the printer's literature, eg 
> www.printerbase.co.uk/spec/pdf/brother-mfcj5720dw.pdf
> http://support.brother.com/g/b/spec.aspx?c=eu_ot&lang=en&prod=mfcj5720dw_us_eu_as

The important word is "direct". The MFC-J5720DW doesn't have a  PDF
interpreter. Hence the silence.



Re: iceweasel now firefox-esr?

2016-03-12 Thread Andrew McGlashan


On 12/03/2016 4:37 PM, Dale Harris wrote:
> Huh, why is iceweasel installing firefox-esr now and not even putting
> in a sym. link from iceweasel to firefox?

http://www.pcworld.com/article/3036509/linux/iceweasel-will-be-renamed-firefox-as-relations-between-debian-and-mozilla-thaw.html



Re: iceweasel now firefox-esr?

2016-03-12 Thread Joe
On Sat, 12 Mar 2016 08:44:43 +0100
Sven Arvidsson  wrote:

> On Sat, 2016-03-12 at 00:37 -0500, Dale Harris wrote:
> > Huh, why is iceweasel installing firefox-esr now and not even
> > putting in a sym. link from iceweasel to firefox?  
> 
> Iceweasel is no more, read the changelog. 
> 
> If you think it should install a symlink, file a bug.
> 

After a routine upgrade (which did *not* raise a changelog notice), any
menu entries which reference iceweasel are now broken, with the user
being left to fix them. I'd say that was a bug.

-- 
Joe



Re: iceweasel now firefox-esr?

2016-03-12 Thread Joe
On Sat, 12 Mar 2016 21:04:52 +1100
Andrew McGlashan  wrote:

> On 12/03/2016 4:37 PM, Dale Harris wrote:
> > Huh, why is iceweasel installing firefox-esr now and not even
> > putting in a sym. link from iceweasel to firefox?  
> 
> http://www.pcworld.com/article/3036509/linux/iceweasel-will-be-renamed-firefox-as-relations-between-debian-and-mozilla-thaw.html
> 

We knew it was going to happen, we did not expect to have to repair
broken links when it did.

-- 
Joe



Re: iceweasel now firefox-esr?

2016-03-12 Thread Tony van der Hoff

On 12/03/16 10:13, Joe wrote:

On Sat, 12 Mar 2016 21:04:52 +1100
Andrew McGlashan  wrote:


On 12/03/2016 4:37 PM, Dale Harris wrote:

Huh, why is iceweasel installing firefox-esr now and not even
putting in a sym. link from iceweasel to firefox?


http://www.pcworld.com/article/3036509/linux/iceweasel-will-be-renamed-firefox-as-relations-between-debian-and-mozilla-thaw.html



We knew it was going to happen, we did not expect to have to repair
broken links when it did.



Presumably it's not coming to Jessie? (yet)

If you're using Testing, then you shouldn't be beyond fixing a few symlinks.

But, certainly a bug.

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



Re: iceweasel now firefox-esr?

2016-03-12 Thread Sven Arvidsson
On Sat, 2016-03-12 at 10:11 +, Joe wrote:
> After a routine upgrade (which did *not* raise a changelog notice),
> any
> menu entries which reference iceweasel are now broken, with the user
> being left to fix them. I'd say that was a bug.

There was a NEWS file, so should have been picked up by apt-
listchanges.

Anyway, looks like bugs have already been filed.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5



signature.asc
Description: This is a digitally signed message part


WPA supplicant configured with static IP inside /etc/network/interfaces invokes dhcpcd

2016-03-12 Thread supersonicsnow

When I try this:

/etc/network/interfaces
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.0.123
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 8.8.8.8 8.8.4.4

*resolvconf makes 2 entries as expected inside the resolv.conf**file*
nameserver 8.8.8.8
nameserver 8.8.4.4

*Alright, but I still need to connect to a network. So I add this stuff 
underneath:*

wpa-scan-ssid 1
wpa-ap-scan 1
wpa-key-mgmt WPA-PSK
wpa-proto RSN WPA
wpa-pairwise CCMP TKIP
wpa-group CCMP TKIP
wpa-ssid "blah"
wpa-psk blahblah

*I get a static IP on the network and connect successfully, but now 
resolv.conf file is polluted with junk created by dhcpcd*

_$ resolvconf -l_
# resolv.conf from wlan0
# Generated by dhcpcd from wlan0
nameserver 192.168.0.1

# resolv.conf from wlan0:ra
# Generated by dhcpcd from wlan0:ra
nameserver fe80::1%wlan0

# resolv.conf from wlan0.inet
# Generated by ifup for wlan0.inet
nameserver 8.8.8.8
nameserver 8.8.4.4

*I expect that dhcpcd should not be involved at all with**my STATIC 
wlan0, is that correct?*

1. Can you please confirm this behavior is a bug.
2. Do you know what package is responsible for the faulty behavior? My 
best guess would be: ifupdown?


Thanks


Re: WPA supplicant configured with static IP inside /etc/network/interfaces invokes dhcpcd

2016-03-12 Thread deloptes
supersonicsnow wrote:

> *I expect that dhcpcd should not be involved at all with**my STATIC
> wlan0, is that correct?*
> 1. Can you please confirm this behavior is a bug.
> 2. Do you know what package is responsible for the faulty behavior? My
> best guess would be: ifupdown?

you might have some network manager running - at least in my case. I solved
all similar issue by disabling all setup in interfaces and using the
manager to handle all of it.

regards



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread jdd

Le 12/03/2016 10:56, Brian a écrit :


The PDL of choice for AirPrint capable devices is PDF. A PDF document



The important word is "direct". The MFC-J5720DW doesn't have a  PDF
interpreter. Hence the silence.



it have one for airprint, but may be this one is only available for 
aiprint, not for usb (ridiculous, I know, but we see such thing often)


http://www.linux-magazine.com/Online/Features/AirPrint

any printer (any hardware?) needs software to make something, be it on 
rom (eprom or flash memory) or driver (the infamous "windows printers").


What the more near to freedom?? no idea.

jdd




Re: WPA supplicant configured with static IP inside /etc/network/interfaces invokes dhcpcd

2016-03-12 Thread Pascal Hambourg
supersonicsnow a écrit :
> 
> *I expect that dhcpcd should not be involved at all with**my STATIC 
> wlan0, is that correct?*

IIUC, not any more if you have dhcpcd5 (the only version available in
the current stable Jessie). It is an autonomous daemon which detects
when an interface is up and tries to configure it, unless configured
otherwise.



Re: Android emulator

2016-03-12 Thread Rastko
Eclipse on Windows was something of a usable disaster, which I
can't say for Android Studio, which is both a disk, CPU and memory hog.

It apparently needs a lot of config to work.

As far as emulator goes, I had to ditch the official emulator (rebranded
QEMU), simply because I don't have hardware virtualization functions on
my processor. I've decided to use Android-x86-eeepc on VirtualBox, but
this will only work up to version 4.0 or something, later ones require
VT-x as the official emulator does.

You can install the eeepc image on virtual disk, so you can have
writable file system; you can push files via remote shell, setup SL4A
scripting engine, use Bridged Networking for LANning to it, and many
other stuff (Debugging is a given). It's MUCH faster (I guess cutdown)
then the official emulator+images, can't seem to figure out why... It
probably lacks something, but for developer work does the job.

I tried recently official emulator+images on a VT-x machine with HAXM,
it IS faster, but hickups every now and then. And I must say, it is a
tad slower than the unofficial x86+VirtualBox... or so it seems.




On Fri, 2016-02-26 at 23:03 -0600, Peter Easthope wrote: 
> https://wiki.debian.org/AndroidTools indiates 
> that Android SDK is a rather complex beast.
> 
> Suppose a user needs one or a few Android apps 
> but is not particularly interested in owning an 
> Android device.  Is installation of Android SDK 
> to a small laptop and app usage there feasible?  
> Or not worth the distraction and better to buy 
> a tablet or smartphone?
> 
> Thanks,... Peter E.
> 




Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 02:50:49 to...@tuxteam.de wrote:

> On Fri, Mar 11, 2016 at 05:02:49PM -0500, Gene Heskett wrote:
>
> [...]
>
> > Yup, that they do.  They also cost around 35,000 USD to put it on
> > YOUR
>
> Now you're exaggerating.

No I am not. We (the tv station where I spent my last 18 working year at 
as the Chief Engineer) needed another copier/printer about 15 years back 
as we were overwhelming the $17,000 model, people standing around 
waiting their turn, and the local office supply business sold us a 
Minolta that could, if you fed it the right supplies, even bind a book 
for you, and yes it was $35k at the time, plus of course an annual 
maintenance contract that was for same day service. It had everything 
but a coffee spigot on it.

> We have an (oldish) Brother "laser" networked 
> printer which was quite affordable and understands pretty well PS
> (well, officially it's "brotherscript" -- really!) but it works nicely
> either from the whole CUPS gorilla or from a more traditional lprng
> installation.
>
> No blobs, no frills. Only this stupid 99.9% compatible PS ripoff is
> sometimes annoying, I guess if they'd left the (official or
> inofficial) copy of Ghostscript just alone instead of tweaking it,
> it'd be better.
>
> It is, fwiw a Brother HL 5170DN. Would I recommend it? Well, the
> mechanical quality is what you'd expect for the price. It tends to
> "decorate" its first pages with some creases. It is very low on
> mem, and its RIP isn't really fast. But it has done its job for
> well over seven years now.

Much the same can be said for the HL3170CDW I have, its an entry level 
color laser.  Beginning to have some smudge and streak troubles, but it 
has nearly 4000 pages thru it. And I just found it needs a full, pull 
the line cord out, powerdown reset to restore normal operation, a panel 
switch reboot doesn't cut it.  It also needs a firmware update, but they 
have about 5 of them, each customised for the windows machine it takes 
to run the updater.  But to find a winderz machine to run the updater 
isn't possible here as there aren't any here. 100% linux here. I've not 
tried our dfu utilities to see if that could work, and I'm not sure I 
could strip out the actual update from their windows packages.

> So. Now I'll bite off my tongue and take my ball with me. I'm off
> this thread. I can't bear the overall animosity and poking of
> fun at those who try to put some effort into avoiding binary
> blobs. It reminds me of the poking at vegetarians "now are snails
> vegetables or not?". I thought I left that behind in my teens.

I very faintly recall my teen years, we were just finished with fighting 
WW=II then.

> -- t


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 12:15:38 +0100, jdd wrote:

> Le 12/03/2016 10:56, Brian a écrit :
> 
> >The PDL of choice for AirPrint capable devices is PDF. A PDF document
> 
> >The important word is "direct". The MFC-J5720DW doesn't have a  PDF
> >interpreter. Hence the silence.
> 
> it have one for airprint, but may be this one is only available for aiprint,
> not for usb (ridiculous, I know, but we see such thing often)

It has been said in this thread that "Printers are dark and muddy";
there is no need to muddy their operation further, as is done here.

With a CUPS installation the brother_lpdwrapper_mfcj5720dw filter
converts PDF into BUL and sends the data to a RIP (an interpreter)
on the printer. AirPrint uses exactly the same printer as CUPS but
the conversion done by brother_lpdwrapper_mfcj5720dw has to be on
the printer in firmware. Then the RIP takes over. The RIP is not
converting PDF to raster format. There is no PDF interpreter for
AirPrint to use.

> http://www.linux-magazine.com/Online/Features/AirPrint

Listing 2 on that page isn't needed with Debian CUPS.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread deloptes
to...@tuxteam.de wrote:

> So. Now I'll bite off my tongue and take my ball with me. I'm off
> this thread. I can't bear the overall animosity and poking of
> fun at those who try to put some effort into avoiding binary
> blobs. It reminds me of the poking at vegetarians "now are snails
> vegetables or not?". I thought I left that behind in my teens.

And I left time wasting in my teens.

It is not clear why OP would not install the vendor deb files. If s/he wants
to gain security, he could do it in a different way and still use the
printer. Example old Raspberry costs ~30-40$ and voila you have your
dedicated printer with no network.

Never mind - I wish him/her luck and perhaps s/he will update us later on
the progress and findings.

IMO it is not likely that one adds a spy software on such low cost device -
what for? If you want to print confidentail information - there are other
types of printers and setups you could do so.

Doing some more usable things, could be more beneficial to him/her. Anyway
this is a personal choice, but the effort seems silly, so we (I think I am
not the only one) have spoken and warned him/her.

regards



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Lisi Reisz
On Saturday 12 March 2016 07:50:49 to...@tuxteam.de wrote:
> So. Now I'll bite off my tongue and take my ball with me. I'm off
> this thread. I can't bear the overall animosity and poking of
> fun at those who try to put some effort into avoiding binary
> blobs. It reminds me of the poking at vegetarians "now are snails
> vegetables or not?". I thought I left that behind in my teens.

And the Everything Free brigade is so pleasant to anyone who wants to use 
binary blobs??  I was nearly lynched for wanting to use something from the 
non-free repository.

Why can't we all live and let live?  And all I have seen in this thread is 
people not comprehending.  No-one being unpleasant and castigating.

I have a ball if anyone would like it. ;-)

Lisi



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread jdd

Le 12/03/2016 13:22, Brian a écrit :


on the printer. AirPrint uses exactly the same printer as CUPS but
the conversion done by brother_lpdwrapper_mfcj5720dw has to be on
the printer in firmware. Then the RIP takes over. The RIP is not
converting PDF to raster format. There is no PDF interpreter for
AirPrint to use.


I was understanding than one have to send pdf to airprint, but this 
article is all what I know of it


jdd



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Andrew McGlashan


On 12/03/2016 11:32 PM, deloptes wrote:
> IMO it is not likely that one adds a spy software on such low cost device -
> what for? If you want to print confidentail information - there are other
> types of printers and setups you could do so.

Well, it doesn't need to have it's own /spyware/  it might be badly
setup and perhaps be taken over by something smarter.  This whole IoT is
very dangerous -- talk of putting them all on their own network is not
enough as each can attack each other and any of them can try to
compromise the /other/ network via jumping on to the network it is not
supposed to know about.

And yes, that might be extreme, but people are too trusting of junk that
is polluting this world just to make another dollar quickly; junk that
isn't secure to start with and too cheap to ever consider that to change.

A.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 14:00:00 +0100, jdd wrote:

> Le 12/03/2016 13:22, Brian a écrit :
> 
> >on the printer. AirPrint uses exactly the same printer as CUPS but
> >the conversion done by brother_lpdwrapper_mfcj5720dw has to be on
> >the printer in firmware. Then the RIP takes over. The RIP is not
> >converting PDF to raster format. There is no PDF interpreter for
> >AirPrint to use.
> 
> I was understanding than one have to send pdf to airprint, but this article
> is all what I know of it

AirPrint supports PDF, JPEG and URF as PDLs. URF is obligatory. PDF is
the PDL of choice if the device supports it.

So, you do not *have* to send PDF to Airprint but is very common for
that to happen.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Ron
On Sat, 12 Mar 2016 12:46:08 +
Lisi Reisz  wrote:

> And the Everything Free brigade is so pleasant to anyone who wants to use 
> binary blobs?? 

Because, it seems, for some people "Linux is about freedom of choice" means 
"you are free to accept MY choices, and no other".
 
Cheers,
 
Ron.
-- 
   Let us consider that arbitrary power has seldom
  or never been introduced into any country at once
It must be introduced by slow degrees,
 and as it were step by step,
  lest the people see its approach.
---Lord Chesterfield

   -- http://www.olgiati-in-paraguay.org --
 



Re: Extundelete

2016-03-12 Thread Osamu Aoki
Hi,

On Tue, Feb 16, 2016 at 08:49:33AM -0500, Susan Cragin wrote:
> Fooling around, lost "susan" folder. Want folder back. May have
> recursively deleted everything in it. Want txt org and a couple other
> extensions.  (I've got days-old backup but want to try recovering
> files.) So, extundelete or something else?  or Which Linux-on-a-stick
> has the best recovery tools?

0. Boot from CD/USK-key/another partition
1. Use dd to take disk image of the filesystem
2. Move image to anothe machine
3. Install testdisk to this machine
4. Recover data



user in jail (vsftpd)

2016-03-12 Thread Abdelkader Belahcene
Hi,
I want to put ftp user in jail ( with vsftpd)
I configured as it is said in the doc, /etc/vsftpd.conf:
chroot_local_user=YES


but when I tried to access it refused completly for the user, here:

Name (localhost:bela2): abdou
Password:
500 OOPS: vsftpd: refusing to run with writable root inside chroot()
Login failed.
421 Service not available, remote server has closed connection


I am using vsftpd 3.0.2-17 on debian jessie

Is there a bug ??
best regards


Fwd: E : unable to locate package

2016-03-12 Thread Udeesha Dilshan
I using Debian jessie 8.2.I use

# DEBIAN 
# Debian Experimental
deb http://ftp.de.debian.org/debian experimental main contrib non-free
deb-src http://ftp.de.debian.org/debian experimental main contrib
# Debian Sid # CURRENT UNSTABLE
deb http://ftp.de.debian.org/debian sid main contrib non-free
deb-src http://ftp.de.debian.org/debian sid main contrib non-free
# Debian 8.0 (Jessie) # CURRENT TESTING
deb http://ftp.de.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.de.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib
non-free
deb http://ftp.de.debian.org/debian jessie-backports main contrib non-free
deb-src http://ftp.de.debian.org/debian jessie-backports main contrib
non-free
this mirrors.but not work.


Radeon trouble Jessie 8.3. [drm:radeon_pci_probe] *ERROR* with firmware-linux-nonfree installed

2016-03-12 Thread Trond Arild Ydersbond
I have got this working on the same machine with Wheezy 7.6 and Knoppixes up to 
and including 7.6.1, but it seems that radeon_pci_probe refuses to recognize 
the installed firmware. Have tried different settings, but dmesg stille gives 
the same error.
*ERROR* radeon kernel modesetting for R600 or later requires 
firmware-linux-nonfree

What can I do about this?

Trond



How to install Perl with readline support?

2016-03-12 Thread Kynn Jones
Hi everyone,

I have been searching for the answer to the subject line's question
for the last two hours.

None of the answers I've found work.  (I.e. the `perl -de 1` REPL
remains without readline support.)

I have already `apt-get install`-ed

libreadline-dev
libterm-readline-gnu-perl
libterm-readline-perl-perl

(...along with their dependencies, of course).  I also ran `apt-get
install --reinstall perl`, and `dpkg-reconfigure`'d everything in
sight.  All of this got me nothing.

I'm puzzled by how difficult this problem has turned out to be.
Usually, `apt-cache search ...` followed by `apt-get install` takes
care of stuff like this.  In the harder cases, the first hit from a
Google search has the answer.  What makes this one so difficult?  Am I
missing something?

TIA!

kj



Re: wireless not working in strech

2016-03-12 Thread nice sw123
OK, I've no resorted back to using /etc/network/interfaces and it's working.

   Here's what I did:
   ***1)
dmesg | grep wlx## show the name of the wlan interface## it is
usually called something like wlx008733553e50

   This will show something like r8712u 1-2:1.0 wlx008733553e50:
renamed from wlan0
   That note of the name wlx008733553e50

   ***2)
   Then edit /etc/NetworkManager/NetworkManager.conf to the following
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

   ***3)
   Obtain hash_of_the_password_of_your_wireless_accesspoint with this command:
wpa_passphrase name_of_your_wireless_access_point
#enter_password_of_you_wireless_access_point_and_hit_enter

   ***4)
   Then edit /etc/network/interfaces to the following:
   ## remember that wlx008733553e50 was obtained
auto wlx008733553e50
iface wlx008733553e50 inet dhcp
wpa-ssid name_of_your_wireless_access_point
wpa-psk hash_of_the_password_of_your_wireless_accesspoint


Does anybody know how to get this working with NetworkManager (in managed mode)?


On Mon, Mar 7, 2016 at 9:50 PM, nice sw123  wrote:
> After an upgrade, wireless is no longer working in stretch.
> (I was using a wireless adapter and needed package: firmware-realtek).
>
> * network-manager does not show wireless
>
> *
>   sudo iwconfig
> ... shows wlx008733553eaa instead of wlan0
>
> *
>   dmesg
> ...shows "renamed from wlan0"
>
> *
> issung the command
>   sudo ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
> changed the name back to "wlan0"
>
> But wireless still does not show in network-manager.
>
> What can one do?
> Thanks.
>
> n.



Re: How to install Perl with readline support?

2016-03-12 Thread John L. Cunningham
On Sat, Mar 12, 2016 at 11:54:25AM -0500, Kynn Jones wrote:
> Hi everyone,
> 
> I have been searching for the answer to the subject line's question
> for the last two hours.
> 
> None of the answers I've found work.  (I.e. the `perl -de 1` REPL
> remains without readline support.)

I have to say that I usually just install perl modules from CPAN. It's too hard 
for me to match up the module that the perl error is complaining about with the 
correct debian package.

-- 
John



Re: Radeon trouble Jessie 8.3. [drm:radeon_pci_probe] *ERROR* with firmware-linux-nonfree installed

2016-03-12 Thread Sven Arvidsson
On Sat, 2016-03-12 at 16:31 +, Trond Arild Ydersbond wrote:
> I have got this working on the same machine with Wheezy 7.6 and
> Knoppixes up to and including 7.6.1, but it seems that
> radeon_pci_probe refuses to recognize the installed firmware. Have
> tried different settings, but dmesg stille gives the same error.
> *ERROR* radeon kernel modesetting for R600 or later requires
> firmware-linux-nonfree
> 
> What can I do about this?

Just a hunch but maybe you booted the wrong kernel, or the initrd for
some reason wasn't regenerated after the firmware was installed?

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





signature.asc
Description: This is a digitally signed message part


Re: How to install Perl with readline support?

2016-03-12 Thread David Christensen

On 03/12/2016 08:54 AM, Kynn Jones wrote:

I have been searching for the answer to the subject line's question
for the last two hours.


On my Wheezy 7.9 box, Term::ReadLine is already installed.


RTFM Term::ReadLine, pasting the SYNOPSIS into a script, and running it:

$ cat readline.pl
use Term::ReadLine;
my $term = Term::ReadLine->new('Simple Perl calc');
my $prompt = "Enter your arithmetic expression: ";
my $OUT = $term->OUT || \*STDOUT;
while ( defined ($_ = $term->readline($prompt)) ) {
my $res = eval($_);
warn $@ if $@;
print $OUT $res, "\n" unless $@;
$term->addhistory($_) if /\S/;
}

$ perl readline.pl
Enter your arithmetic expression: 1+1
2
Enter your arithmetic expression: ^[[A^C


History did not work on the second prompt.


> I have [installed]
>
>  libreadline-dev
>  libterm-readline-gnu-perl
>  libterm-readline-perl-perl

RTFM Term::ReadLine indicates that a back end is needed. Either of the 
latter two you installed should be sufficient.



If I install:

libterm-readline-perl-perl


And run the example again:

$ perl readline.pl

Enter your arithmetic expression: 1+1
2

Enter your arithmetic expression: 1+1
2

Enter your arithmetic expression:


History works, but there are extra blank lines between prompts and my 
terminal can get stuck in bold mode depending on how I exit (?).



David



Re: How to install Perl with readline support?

2016-03-12 Thread David Christensen

On 03/12/2016 09:06 AM, John L. Cunningham wrote:

I have to say that I usually just install perl modules from CPAN.


I have found that installing foreign software (including CPAN 
distributions) is a good way to destabilize Debian systems.  So, I keep 
my most important machines "Debian clean", backup/archive religiously, 
and pick a specific machine (or dedicated VM) for non-Debian software 
experiments.



David



Bug ?

2016-03-12 Thread Aymeric Do
Hello,
I have several warning in my terminal when I launch program as reportbug,
keepassx etc.

Warning :
Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path :
« adwaita »

I think that is a bug on


Re: Bug ?

2016-03-12 Thread Aymeric Do
Hello,
This is message in english (LANG=C) and example with reportbug :

(reportbug:2211): Gtk-WARNING **: Unable to locate theme engine in
module_path: "adwaita",

(reportbug:2211): Gtk-WARNING **: Unable to locate theme engine in
module_path: "adwaita",

But this warning come with a lot of command, like reportbug, keepassx
etc...

Regards,
gnutux95

2016-03-12 18:51 GMT+01:00 Aymeric Do :

> Sorry my email was sent by error :
>
> This is detail of my debian OS :
> No LSB modules are available.
> Distributor ID:Debian
> Description:Debian GNU/Linux testing-proposed-updates (sid)
> Release:testing-proposed-updates
> Codename:sid
>
> What packet is concerning by this bug if this is a bug ?
>
>
> Thank you
>
> Regards,
> gnutux95
>
> 2016-03-12 18:49 GMT+01:00 Aymeric Do :
>
>> Hello,
>> I have several warning in my terminal when I launch program as reportbug,
>> keepassx etc.
>>
>> Warning :
>> Gtk-WARNING **: Impossible de trouver le moteur de thème dans
>> module_path : « adwaita »
>>
>> I think that is a bug on
>>
>>
>


Re: Bug ?

2016-03-12 Thread Aymeric Do
Sorry my email was sent by error :

This is detail of my debian OS :
No LSB modules are available.
Distributor ID:Debian
Description:Debian GNU/Linux testing-proposed-updates (sid)
Release:testing-proposed-updates
Codename:sid

What packet is concerning by this bug if this is a bug ?


Thank you

Regards,
gnutux95

2016-03-12 18:49 GMT+01:00 Aymeric Do :

> Hello,
> I have several warning in my terminal when I launch program as reportbug,
> keepassx etc.
>
> Warning :
> Gtk-WARNING **: Impossible de trouver le moteur de thème dans
> module_path : « adwaita »
>
> I think that is a bug on
>
>


Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 08:50:49 +0100, to...@tuxteam.de wrote:

> So. Now I'll bite off my tongue and take my ball with me. I'm off
> this thread. I can't bear the overall animosity and poking of
> fun at those who try to put some effort into avoiding binary
> blobs. It reminds me of the poking at vegetarians "now are snails
> vegetables or not?". I thought I left that behind in my teens.

Don't you think there has been a very positive aspect to this thread?
Not just for Jarle Aase's immediate needs but also for present and
future readers of it.

Misconceptions have been cleared up, the OP knows now why he couldn't
print and various byways have been explored. Even the binary blob issue
was treated with robust respect. Of course, people are entitled to
persue freeness and Jarl Aase did explain his position and had it
acknowledged. Others couldn't quite accept why someone should want to
turn down an easy route to printing with proprietary software. That's
all part of life's rich pattern.

Printing was, of course, the objective. There is a solution on the table
which fits the desire for freeness. Jarl Aase appears to be the only
participant in this thread who has access to an AirPrint printer.
Considering the interest which has been shown in his problem  some
feedback would be useful to have. I hope we haven't lost another ball. :)



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Lisi Reisz
On Saturday 12 March 2016 18:22:11 Brian wrote:
> It reminds me of the poking at vegetarians "now are snails
>
> > vegetables or not?".

Did anyone ever really claim that snails are vegetables???  I find that hard 
to believe!

Lisi



Re: wireless not working in strech

2016-03-12 Thread Michael Biebl
Am 07.03.2016 um 21:50 schrieb nice sw123:
> After an upgrade, wireless is no longer working in stretch.
> (I was using a wireless adapter and needed package: firmware-realtek).
> 
> * network-manager does not show wireless
> 
> *
>   sudo iwconfig
> ... shows wlx008733553eaa instead of wlan0
> 
> *
>   dmesg
> ...shows "renamed from wlan0"
> 
> *
> issung the command
>   sudo ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
> changed the name back to "wlan0"
> 
> But wireless still does not show in network-manager.
> 

Are you using network-manager 1.1.91?
If so, this might be
https://bugzilla.gnome.org/show_bug.cgi?id=763388
then

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 07:46:08 Lisi Reisz wrote:

> On Saturday 12 March 2016 07:50:49 to...@tuxteam.de wrote:
> > So. Now I'll bite off my tongue and take my ball with me. I'm off
> > this thread. I can't bear the overall animosity and poking of
> > fun at those who try to put some effort into avoiding binary
> > blobs. It reminds me of the poking at vegetarians "now are snails
> > vegetables or not?". I thought I left that behind in my teens.
>
> And the Everything Free brigade is so pleasant to anyone who wants to
> use binary blobs??  I was nearly lynched for wanting to use something
> from the non-free repository.
>
> Why can't we all live and let live?  And all I have seen in this
> thread is people not comprehending.  No-one being unpleasant and
> castigating.
>
> I have a ball if anyone would like it. ;-)
>
> Lisi

I've been in that box, watching them tie knots on ropes too.  But at the 
end of the day, I only outlaw one driver blob, the nvidia. It locks out 
the IRQ's for extended periods of time and can, because of that, do 
serious damage to parts being CNC machined.  The nouveau driver doesn't 
resort to that, and works fine, for what I want to do.  So for me, the 
nvidia driver and its being married to a specific kernel, causes way 
more problems than it solves.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 08:21:14 Renaud  OLGIATI wrote:

> On Sat, 12 Mar 2016 12:46:08 +
>
> Lisi Reisz  wrote:
> > And the Everything Free brigade is so pleasant to anyone who wants
> > to use binary blobs??
>
> Because, it seems, for some people "Linux is about freedom of choice"
> means "you are free to accept MY choices, and no other".
>
> Cheers,
>
> Ron.

Give this man a bigger nail, he hits this one very well indeed. :)


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: How to install Perl with readline support?

2016-03-12 Thread Kynn Jones
On 3/12/16, David Christensen  wrote:
> If I install:
>
>  libterm-readline-perl-perl
>
>
> And run the example again:
>
>  $ perl readline.pl
>
>  Enter your arithmetic expression: 1+1
>  2
>
>  Enter your arithmetic expression: 1+1
>  2
>
>  Enter your arithmetic expression:
>
>
> History works, but there are extra blank lines between prompts and my
> terminal can get stuck in bold mode depending on how I exit (?).

Thanks.

What happens when you run

% perl -de 0

Loading DB routines from perl5db.pl version 1.44
Editor support available.

Enter h or 'h h' for help, or 'man perldebug' for more help.

main::(-e:1):   0
  DB<1> p 1
1
  DB<2>

...and then type UP-ARROW?

(When I do this, I get `^[[A`, and I also have installed
libterm-readline-perl-perl.)

kj



Re: Radeon trouble Jessie 8.3. [drm:radeon_pci_probe] *ERROR* with firmware-linux-nonfree installed

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 11:31:51 Trond Arild Ydersbond wrote:

> I have got this working on the same machine with Wheezy 7.6 and
> Knoppixes up to and including 7.6.1, but it seems that
> radeon_pci_probe refuses to recognize the installed firmware. Have
> tried different settings, but dmesg stille gives the same error.
> *ERROR* radeon kernel modesetting for R600 or later requires
> firmware-linux-nonfree
>
> What can I do about this?
>
> Trond

How about doing:

sudo apt-get install firmware-linux-nonfree

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: How to install Perl with readline support?

2016-03-12 Thread David Christensen

On 03/12/2016 10:48 AM, Kynn Jones wrote:

What happens when you run

 % perl -de 0

 Loading DB routines from perl5db.pl version 1.44
 Editor support available.

 Enter h or 'h h' for help, or 'man perldebug' for more help.

 main::(-e:1):  0
   DB<1> p 1
 1
   DB<2>

...and then type UP-ARROW?


readline history works.


David



$ script
Script started, file is typescript
dpchrist@t7400:~/sandbox/perl$ perl -de 0

Loading DB routines from perl5db.pl version 1.33
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(-e:1):   0

   DB<1> p 1
1

   DB<2> p 1
1

   DB<3> q
dpchrist@t7400:~/sandbox/perl$ exit
exit
Script done, file is typescript

2016-03-12 10:51:40 dpchrist@t7400 ~/sandbox/perl
$ dump typescript
  53 63 72 69 70 74 20 73  74 61 72 74 65 64 20 6f  |Script 
started o|
0010  6e 20 53 61 74 20 4d 61  72 20 31 32 20 31 30 3a  |n Sat Mar 
12 10:|
0020  35 30 3a 35 34 20 32 30  31 36 0a 64 70 63 68 72  |50:54 
2016.dpchr|
0030  69 73 74 40 74 37 34 30  30 3a 7e 2f 73 61 6e 64 
|ist@t7400:~/sand|
0040  62 6f 78 2f 70 65 72 6c  24 20 70 65 72 6c 20 2d  |box/perl$ 
perl -|
0050  64 65 20 30 0d 0a 0d 0a  4c 6f 61 64 69 6e 67 20  |de 
0Loading |
0060  44 42 20 72 6f 75 74 69  6e 65 73 20 66 72 6f 6d  |DB routines 
from|
0070  20 70 65 72 6c 35 64 62  2e 70 6c 20 76 65 72 73  | perl5db.pl 
vers|
0080  69 6f 6e 20 31 2e 33 33  0d 0a 45 64 69 74 6f 72  |ion 
1.33..Editor|
0090  20 73 75 70 70 6f 72 74  20 61 76 61 69 6c 61 62  | support 
availab|
00a0  6c 65 2e 0d 0a 0d 0a 45  6e 74 65 72 20 68 20 6f 
|le.Enter h o|
00b0  72 20 60 68 20 68 27 20  66 6f 72 20 68 65 6c 70  |r `h h' for 
help|
00c0  2c 20 6f 72 20 60 6d 61  6e 20 70 65 72 6c 64 65  |, or `man 
perlde|
00d0  62 75 67 27 20 66 6f 72  20 6d 6f 72 65 20 68 65  |bug' for 
more he|
00e0  6c 70 2e 0d 0a 0d 0a 6d  61 69 6e 3a 3a 28 2d 65 
|lp.main::(-e|
00f0  3a 31 29 3a 09 30 0d 0a  20 20 20 20 20 20 20 20  |:1):.0.. 
 |
0100  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | 
 |

*
0140  20 20 20 20 20 20 20 20  08 20 20 0d 0d 20 20 1b  |. 
..  .|
0150  5b 34 6d 44 42 3c 31 3e  1b 5b 32 34 6d 20 1b 5b 
|[4mDB<1>.[24m .[|
0160  31 6d 70 1b 5b 30 6d 1b  5b 31 6d 20 1b 5b 30 6d  |1mp.[0m.[1m 
.[0m|
0170  1b 5b 31 6d 31 1b 5b 30  6d 0d 0d 0a 31 0d 0a 20 
|.[1m1.[0m...1.. |
0180  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | 
 |

*
01c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 08  | 
.|
01d0  20 20 0d 0d 20 20 1b 5b  34 6d 44 42 3c 32 3e 1b  |  .. 
.[4mDB<2>.|
01e0  5b 32 34 6d 20 1b 5b 31  6d 70 20 31 1b 5b 30 6d  |[24m .[1mp 
1.[0m|
01f0  0d 0d 0a 31 0d 0a 20 20  20 20 20 20 20 20 20 20  |...1.. 
 |
0200  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | 
 |

*
0240  20 20 20 20 20 20 08 20  20 0d 0d 20 20 1b 5b 34  |  .  .. 
 .[4|
0250  6d 44 42 3c 33 3e 1b 5b  32 34 6d 20 1b 5b 31 6d  |mDB<3>.[24m 
.[1m|
0260  71 1b 5b 30 6d 0d 0d 0a  64 70 63 68 72 69 73 74 
|q.[0m...dpchrist|
0270  40 74 37 34 30 30 3a 7e  2f 73 61 6e 64 62 6f 78 
|@t7400:~/sandbox|
0280  2f 70 65 72 6c 24 20 65  78 69 74 0d 0a 65 78 69  |/perl$ 
exit..exi|
0290  74 0d 0a 0a 53 63 72 69  70 74 20 64 6f 6e 65 20  |t...Script 
done |
02a0  6f 6e 20 53 61 74 20 4d  61 72 20 31 32 20 31 30  |on Sat Mar 
12 10|

02b0  3a 35 31 3a 34 30 20 32  30 31 36 0a  |:51:40 2016.|
02bc




Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 13:22:11 Brian wrote:

> On Sat 12 Mar 2016 at 08:50:49 +0100, to...@tuxteam.de wrote:
> > So. Now I'll bite off my tongue and take my ball with me. I'm off
> > this thread. I can't bear the overall animosity and poking of
> > fun at those who try to put some effort into avoiding binary
> > blobs. It reminds me of the poking at vegetarians "now are snails
> > vegetables or not?". I thought I left that behind in my teens.
>
> Don't you think there has been a very positive aspect to this thread?
> Not just for Jarle Aase's immediate needs but also for present and
> future readers of it.
>
> Misconceptions have been cleared up, the OP knows now why he couldn't
> print and various byways have been explored. Even the binary blob
> issue was treated with robust respect. Of course, people are entitled
> to persue freeness and Jarl Aase did explain his position and had it
> acknowledged. Others couldn't quite accept why someone should want to
> turn down an easy route to printing with proprietary software. That's
> all part of life's rich pattern.
>
> Printing was, of course, the objective. There is a solution on the
> table which fits the desire for freeness. Jarl Aase appears to be the
> only participant in this thread who has access to an AirPrint printer.

My Brother HL3170CDW has a wireless interface, but no clue as to its 
usability with airprint, mainly because I have it disabled in its own 
menu's and have not explored that route to moving data.

And yes, my router with a DD-WRT reflash CAN do WLAN, but enabling that 
gives the whole world driveby access to my home 4 or 5 machine network 
unless I setup a different network just for the printer. So I have, 
having been attacked via that path, for security reasons, disabled ALL 
the WLAN style wireless.  Cat5E all over the place though.

One piece, swinging in the wind between the house and a small shop 
building nominally 40 feet away with 2 or 3 computers running smallish 
CNC controlled machines in it, and has been swinging in the wind for a 
decade & change now, still works fine right now.  And I've no clue why, 
it stood up to a measured 112mph wind in 2010 that cost me 4 trees and 
most of my fencing and part of the roof, siding and gutters of this 
house.  But the cat5 survived.

> Considering the interest which has been shown in his problem  some
> feedback would be useful to have. I hope we haven't lost another ball.
> :)


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 13:30:45 Lisi Reisz wrote:

> On Saturday 12 March 2016 18:22:11 Brian wrote:
> > It reminds me of the poking at vegetarians "now are snails
> >
> > > vegetables or not?".
>
> Did anyone ever really claim that snails are vegetables???  I find
> that hard to believe!
>
> Lisi

Sounds like somebody sick of beans for their vegan diets protein.

One of the prices one pays for being a vegan I guess.  Me, I have one of 
those PETA (People Eating Tasty Animals) T Shirts.  Shrug. :)

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 13:47:06 -0500, Gene Heskett wrote:

> On Saturday 12 March 2016 08:21:14 Renaud  OLGIATI wrote:
> 
> > On Sat, 12 Mar 2016 12:46:08 +
> >
> > Lisi Reisz  wrote:
> > > And the Everything Free brigade is so pleasant to anyone who wants
> > > to use binary blobs??
> >
> > Because, it seems, for some people "Linux is about freedom of choice"
> > means "you are free to accept MY choices, and no other".
> >
> > Cheers,
> >
> > Ron.
> 
> Give this man a bigger nail, he hits this one very well indeed. :)

A big spoon for stirring and continuing to spread this view would be
more suitable. :)

Debian is not about freedom of choice. Can this be seen in the Social
Contract?



Re: Bug ?

2016-03-12 Thread Sven Arvidsson
On Sat, 2016-03-12 at 18:49 +0100, Aymeric Do wrote:
> Hello,
> I have several warning in my terminal when I launch program as
> reportbug,
> keepassx etc.
> 
> Warning :
> Gtk-WARNING **: Impossible de trouver le moteur de thème dans
> module_path :
> « adwaita »
> 
> I think that is a bug on

I wouldn't exactly call it a bug. Adwaita is the default GTK+ theme in
GNOME and it doesn't seem to be found on your system, 

You could try to install gnome-themes-standard and see if that changes
it, or try another theme.
 

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5



signature.asc
Description: This is a digitally signed message part


Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Lisi Reisz
On Saturday 12 March 2016 19:13:20 Gene Heskett wrote:
> > On Saturday 12 March 2016 18:22:11 Brian wrote:
> > > It reminds me of the poking at vegetarians "now are snails
> > >
> > > > vegetables or not?".

Sorry, Brian.  Of course you didn't say that.  It is one of the snags of KMail 
that it sometimes misattributes the quote - and I don't always remember to 
check. :-(

Lisi



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 14:18:25 Brian wrote:

> On Sat 12 Mar 2016 at 13:47:06 -0500, Gene Heskett wrote:
> > On Saturday 12 March 2016 08:21:14 Renaud  OLGIATI wrote:
> > > On Sat, 12 Mar 2016 12:46:08 +
> > >
> > > Lisi Reisz  wrote:
> > > > And the Everything Free brigade is so pleasant to anyone who
> > > > wants to use binary blobs??
> > >
> > > Because, it seems, for some people "Linux is about freedom of
> > > choice" means "you are free to accept MY choices, and no other".
> > >
> > > Cheers,
> > >
> > > Ron.
> >
> > Give this man a bigger nail, he hits this one very well indeed. :)
>
> A big spoon for stirring and continuing to spread this view would be
> more suitable. :)

I do believe you are correct, some aplause needed here.
>
> Debian is not about freedom of choice. Can this be seen in the Social
> Contract?

DNK :( Haven't read it recently enough.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 14:08:58 -0500, Gene Heskett wrote:

> My Brother HL3170CDW has a wireless interface, but no clue as to its 
> usability with airprint, mainly because I have it disabled in its own 
> menu's and have not explored that route to moving data.

The existence of a wireless interface on a printer has no bearing on
whether it supports AirPrint. Many printers have wireless interfaces
and do not support AirPrint.

In addition, an AirPrint printer does not need wireless capability on
it; it is not a requirement. The only requirement is for the printer
to broadcast mDNS.

You can see what your printer does by using the novel idea of looking
at its manual. Guess what? :)

  https://support.apple.com/en-gb/HT201311

You are the only person in this thread to own up to having an AirPrint
Brother printer. That places you in an ideal position to test the ideas
proposed in this thread and assist the OP.

I'm interested in what

  avahi-browse -art > discovered

gives.

Would you please post the output here? A minimum of a Jessie install is
needed for something useful.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Ron
On Sat, 12 Mar 2016 19:18:25 +
Brian  wrote:

> > > > And the Everything Free brigade is so pleasant to anyone who wants
> > > > to use binary blobs??  

> > > Because, it seems, for some people "Linux is about freedom of choice"
> > > means "you are free to accept MY choices, and no other".

> > Give this man a bigger nail, he hits this one very well indeed. :)  

> A big spoon for stirring and continuing to spread this view would be
> more suitable. :)
> 
> Debian is not about freedom of choice. Can this be seen in the Social
> Contract?

You are the one stirring thing: I never mentioned Debian; only Linux...
 
Cheers,
 
Ron.
-- 
 Never get into an argument with someone who buys ink by the barrel.

   -- http://www.olgiati-in-paraguay.org --
 



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 17:01:36 -0300, Renaud OLGIATI wrote:

> On Sat, 12 Mar 2016 19:18:25 +
> Brian  wrote:
> 
> > A big spoon for stirring and continuing to spread this view would be
> > more suitable. :)
> > 
> > Debian is not about freedom of choice. Can this be seen in the Social
> > Contract?
> 
> You are the one stirring thing: I never mentioned Debian; only Linux...

We are both on a Debian mailing list. It takes two to tango.



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Gene Heskett
On Saturday 12 March 2016 15:01:58 Brian wrote:

> On Sat 12 Mar 2016 at 14:08:58 -0500, Gene Heskett wrote:
> > My Brother HL3170CDW has a wireless interface, but no clue as to its
> > usability with airprint, mainly because I have it disabled in its
> > own menu's and have not explored that route to moving data.
>
> The existence of a wireless interface on a printer has no bearing on
> whether it supports AirPrint. Many printers have wireless interfaces
> and do not support AirPrint.
>
> In addition, an AirPrint printer does not need wireless capability on
> it; it is not a requirement. The only requirement is for the printer
> to broadcast mDNS.
>
> You can see what your printer does by using the novel idea of looking
> at its manual. Guess what? :)
>
Never seen it, its an exra cost thing only available to servicing dealers 
I believe.

>   https://support.apple.com/en-gb/HT201311
>
> You are the only person in this thread to own up to having an AirPrint
> Brother printer. That places you in an ideal position to test the
> ideas proposed in this thread and assist the OP.

I didn't claim AirPrint, only that it could have a wlan connection IF it 
was enabled, which it isn't.

> I'm interested in what
>
>   avahi-browse -art > discovered
>
> gives.
>
> Would you please post the output here? A minimum of a Jessie install
> is needed for something useful.

I'm still on wheezy, but that output is likely north of 200k.  It finds 
an ipv6 address for a lot of stuff here, but ipv6 is disabled. Or is in 
the configs I use.

Probably 2 dozen stanza's of stuff on this printer, another dozen or so 
on a $110 B&W laser in the basement, and at least that many for an Epson 
NX515 whose printer died from clogged nozzles less than a month after I 
bought it, but its scanner works well. How avahi found it when its not 
even turned on is beyond me unless turning it off is not a full 
powerdown, or the USB cable is powering its interface.  Not to mention 
at least 50 other devices each a separate listing according to the 
protocol avahi queries I guess.  Way too big to post to a mailing list 
w/o an hours editing to trim it down to just this one printer. All the 
printers are shared to 4 other machines, and avahi finds it connected to 
them all, with every protocol in its basket. So I'm not going to inflict 
the list with that much trash data.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



events for power plug

2016-03-12 Thread Bruno Schneider
I have a notebook with Debian testing (Stretch) that gets slow
whenever the power cord is plugged in. I can't figure out the exact
reason for that, but it seems that setting the CPU governor to
performance helps a lot.

But calling cpufreq-selector is hard for regular users. I wish to make
a script that is called upon power plug events, with root privileges.

I read documentation from acpi and pm-powersave, and from my
understanding, scripts in /etc/pm/power.d/ should be called every time
the power plug status changes with parameters "true" or "false". So I
created a script there, but it seems to be called only at boot time,
and not every time the power plug status changes.

Can anybody help?
-- 
Bruno Schneider



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread Brian
On Sat 12 Mar 2016 at 15:27:00 -0500, Gene Heskett wrote:

> On Saturday 12 March 2016 15:01:58 Brian wrote:
> 
> > On Sat 12 Mar 2016 at 14:08:58 -0500, Gene Heskett wrote:
> > > My Brother HL3170CDW has a wireless interface, but no clue as to its
> > > usability with airprint, mainly because I have it disabled in its
> > > own menu's and have not explored that route to moving data.
> >
> > The existence of a wireless interface on a printer has no bearing on
> > whether it supports AirPrint. Many printers have wireless interfaces
> > and do not support AirPrint.
> >
> > In addition, an AirPrint printer does not need wireless capability on
> > it; it is not a requirement. The only requirement is for the printer
> > to broadcast mDNS.
> >
> > You can see what your printer does by using the novel idea of looking
> > at its manual. Guess what? :)
> >
> Never seen it, its an exra cost thing only available to servicing dealers 
> I believe.

Specifications for your printer are not avaialable online? Brother do
not tell you what the printer does? if you cannot be bothered to look,
why should I. Is there an unbelieving emoticon?

> >   https://support.apple.com/en-gb/HT201311
> >
> > You are the only person in this thread to own up to having an AirPrint
> > Brother printer. That places you in an ideal position to test the
> > ideas proposed in this thread and assist the OP.
> 
> I didn't claim AirPrint, only that it could have a wlan connection IF it 
> was enabled, which it isn't.

I understood that.

But you can claim to have an Airport printer!

> > I'm interested in what
> >
> >   avahi-browse -art > discovered
> >
> > gives.
> >
> > Would you please post the output here? A minimum of a Jessie install
> > is needed for something useful.
> 
> I'm still on wheezy, 

Nothing useful to be gained from the output then.



Re: events for power plug

2016-03-12 Thread Robert Pommrich
Hi, 

On 12 March 2016 21:35:17 CET, Bruno Schneider  wrote:
>I have a notebook with Debian testing (Stretch) that gets slow
>whenever the power cord is plugged in. I can't figure out the exact
>reason for that, but it seems that setting the CPU governor to
>performance helps a lot.
>
>But calling cpufreq-selector is hard for regular users. I wish to make
>a script that is called upon power plug events, with root privileges.
>
>I read documentation from acpi and pm-powersave, and from my
>understanding, scripts in /etc/pm/power.d/ should be called every time
>the power plug status changes with parameters "true" or "false". So I
>created a script there, but it seems to be called only at boot time,
>and not every time the power plug status changes.
>
>Can anybody help?

Install laptop-mode-tools and read its docs. This will probably help solving 
your problem.



Need help salvaging what I can from major disaster

2016-03-12 Thread Kynn Jones
The plan was:

  1. back up my hard drive to a new external drive;
  2. reinstall Debian;
  3. restore my data from the external drive;

I did 1 and 2, but when I went to restore data from the backup, there
was nothing there (except for a lost+found).

I don't understand how this could have happened.  I've done this sort
of thing many times, and this has never happened before.  (Needless to
say, I'm ready to shoot myself.)

Now my most pressing need is to salvage whatever I can from the hard disk.

Any advice/recommendations would be much appreciated.

kj



Re: events for power plug

2016-03-12 Thread Joel Roth
On Sat, Mar 12, 2016 at 05:35:17PM -0300, Bruno Schneider wrote:
> I have a notebook with Debian testing (Stretch) that gets slow
> whenever the power cord is plugged in. I can't figure out the exact
> reason for that, but it seems that setting the CPU governor to
> performance helps a lot.
> 
> But calling cpufreq-selector is hard for regular users. I wish to make
> a script that is called upon power plug events, with root privileges.

The cpufreqd package already does this.

Install, and look at /etc/cpufreqd.conf

Or,  you could poll the command on_ac_power to get the
status changes. 

Joel
 
> I read documentation from acpi and pm-powersave, and from my
> understanding, scripts in /etc/pm/power.d/ should be called every time
> the power plug status changes with parameters "true" or "false". So I
> created a script there, but it seems to be called only at boot time,
> and not every time the power plug status changes.
> 
> Can anybody help?
> -- 
> Bruno Schneider
> 

-- 
Joel Roth
  



Re: Need help salvaging what I can from major disaster

2016-03-12 Thread Kynn Jones
I realize that my last e-mail included too little information.  Sorry
about that.  Here are some more relevant details.

It turns out that I backed up the hard disk (HD) to the external drive
(XD) twice.  The first backup went well, as far as I can tell.  I
spot-checked individual files, etc.  Everything looked normal.

This first backup would have sufficed, but after I had done it I came
across the recommendation that a disk of that size (2TB) should be
formatted for ext4, whereas I had originally formatted it for ext2.  I
reformatted the disk for ext4 (fdisk + mkfs.ext4), and then repeated
the backup.  This backup procedure was in the form of a shell script,
that I had tested repeatedly.  I just re-ran it.  My memory is fuzzy
on the subsequent details.  Since everything had gone so well up to
that point, I probably did not check everything as obsessively as I
had up to that point, but something must have gone very wrong.

At any rate, at the moment, my only hopes are that

  1. something may be recoverable from the first backup in XD;
  2. something may be recoverable from HD.

The second of these is (I think) less likely, because I changed the
partition scheme for HD, going from a single partition, to separate
partitions for /, /var, /tmp, and swap.  In contrast, XD has always
consisted of a single partition.

Now I'm looking for some data recovery tool (preferably from Debian)
that either is part of some bootable media, or that I can use from a
USB stick after first booting from a Debian Live CD.

Any recommendations for these would be appreciated.

Many thanks in advance!

kj



Tails -- wheezy based good, jessie based bad

2016-03-12 Thread Andrew McGlashan
Hi,

Just reporting that I have a couple of older machines that both work
well with Tails 1.8.2 -- an old Thinkpad that used to run XP and an old
Macbook Pro 4,1 (early 2008).

Tails 1.8.2 is based on Wheezy.

Both machines fail on Tails 2.x -- the Thinkpad gets further than the
Macbook Pro.  2.x is based on Jessie.

Don't know why they don't work with Jessie / systemd setup, but one
would have thought that Tails should be made to work on just about any
machine.

Tails 2.x works fine on a much newer laptop (18 month old one with
i7-4700MQ cpu and nvidia graphic card -- on the whole anyway; there are
glitches getting to the "applications" menu; it works for a bit, then
stops working unless I open the places menu and move left to the
applications menu.  Strange.

Anyway, just thought I would put it out there.  Have "whispered" back to
Tails team on these, so hopefully fixes will be forthcoming in time.

Cheers
A.



signature.asc
Description: OpenPGP digital signature


Re: Need help salvaging what I can from major disaster

2016-03-12 Thread Kynn Jones
OK, post-mortem:

  1. after reviewing everything, the best hypothesis I have is that
the root of the problem was a bug in my backup script: it should have
checked that the backup disk was properly mounted before proceeding
with the back-up; something may have gone wrong with the mounting of
XD after it was reformatted, but this failure went undetected; rsync
just created the target directory under /media in HD.

  2. it looks like photorec can find a fair bit of recoverable data
from the first XD backup, but it's going to be a long slog to sort out
the recovered files (400GB's worth); for most of this I have an older
backup from 5 months ago; so the problem will be to identify the stuff
added since then.

I guess this is what learning Debian in the "school of hard knocks" is
all about...  This one knocked me out cold.

kj


On 3/12/16, Kynn Jones  wrote:
> I realize that my last e-mail included too little information.  Sorry
> about that.  Here are some more relevant details.
>
> It turns out that I backed up the hard disk (HD) to the external drive
> (XD) twice.  The first backup went well, as far as I can tell.  I
> spot-checked individual files, etc.  Everything looked normal.
>
> This first backup would have sufficed, but after I had done it I came
> across the recommendation that a disk of that size (2TB) should be
> formatted for ext4, whereas I had originally formatted it for ext2.  I
> reformatted the disk for ext4 (fdisk + mkfs.ext4), and then repeated
> the backup.  This backup procedure was in the form of a shell script,
> that I had tested repeatedly.  I just re-ran it.  My memory is fuzzy
> on the subsequent details.  Since everything had gone so well up to
> that point, I probably did not check everything as obsessively as I
> had up to that point, but something must have gone very wrong.
>
> At any rate, at the moment, my only hopes are that
>
>   1. something may be recoverable from the first backup in XD;
>   2. something may be recoverable from HD.
>
> The second of these is (I think) less likely, because I changed the
> partition scheme for HD, going from a single partition, to separate
> partitions for /, /var, /tmp, and swap.  In contrast, XD has always
> consisted of a single partition.
>
> Now I'm looking for some data recovery tool (preferably from Debian)
> that either is part of some bootable media, or that I can use from a
> USB stick after first booting from a Debian Live CD.
>
> Any recommendations for these would be appreciated.
>
> Many thanks in advance!
>
> kj
>



Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread David Wright
On Sat 12 Mar 2016 at 08:44:48 (+0100), jdd wrote:
> Le 11/03/2016 21:28, David Wright a écrit :
> 
> >You must live in a different price bracket from me.
> 
> nope. I had at least two HP5M for free ten years ago... they died
> recently. 

Well, let's assume that most people buy their equipment rather than
being given it for free.

The HP5M is solely a printer which is fine as far as it goes, but now
I need to buy a scanner, and quite possibly a fax machine, as well.
AFAICT I'd have to use it through a parallel (or serial?) interface.
This laptop has neither. You can network it with 10Base-T for a price,
but no USB connection.

I can see a refurbished one on the web for $340 (if that's the right
model) which is far more than a new AiO.

> There are ps compatible printer for cheap for years now.

So you say, but I never seem to be able to find them in the shops.
And take a typical web site. Here are the categories to refine one's
search. Are people interested in whether a printer supports PDF directly?
No:

  • NARROW BY: clear all
  • 0 Type of Printer + - clear
  □ [ ] All-in-One (23)
  □ [ ] Single-Function (14)
  □ [ ] Wide/Large Format (8)
  • 0 Output Type + - clear
  □ [ ] Black & White (12)
  □ [ ] Color (33)
  • 0 Print Technology + - clear
  □ [ ] Inkjet (5)
  □ [ ] Laser (39)
  • 0 Duplex Printing + - clear
  □ [ ] Automatic (31)
  □ [ ] Manual (13)
  • 0 Wireless Ready + - clear
  □ [ ] Wired (10)
  □ [ ] Wireless (23)
  □ [ ] Wireless Optional (5)
  • 0 Printer Connectivity + - clear
  □ [ ] USB & Network Ready (19)
  □ [ ] USB & Wireless (3)
  □ [ ] USB, Wireless, Network Ready (21)
  • 0 B&W PPM + - clear
[...]
  • 0 Brand + - clear
[...]
  • 0 Printer Use + - clear
  □ [ ] Home & Photo (4)
  □ [ ] Small Business (25)
  • 0 Department + - clear
  □ [ ] Printers (54)
  □ [ ] Laser Printers (8)
[...]
  • 0 Photo Capable + - clear
  □ [ ] Not Photo (23)
  □ [ ] Photo (21)
  • 0 Rating + - clear
[...]
  • 0 Deals + - clear
  □ [ ] On Promotion (21)
  • 0 Environmental + - clear
  □ [ ] Eco certified (50)
  □ [ ] Eco conscious (5)
  □ [ ] Recycled (10)
  • 0 ShopRunner + - clear
  □ [ ] ShopRunner Eligible (50)
  • 0 Printer Condition + - clear
  □ [ ] New (41)
  □ [ ] Refurbished (4)
  • 0 Supertank + - clear
  □ [ ] Not Supertank (44)
  • 0 Mobile Capability + - clear
  □ [ ] No (26)
  □ [ ] Yes (17)
  • 0 Number of Users + - clear
[...]
  • 0 Auto Restock + - clear
  □ [ ] Auto Restock Eligible (31)
  • 0 Price + - clear
[...]

So the specs of each printer have to be found and examined.
Can you give me a few current examples of the species?

> for pdf, I only have seen this on news papers, but the subject
> computer being airprint compatible must have some inside device, and
> it's not cheap.

Ditto. Brian has tried to explain, but I don't completely follow his
explanation. Not being at the cutting edge of mobile phone technology,
I don't have any experience of trying to use it, even if I had an
AirPrint-supporting printer.

> I spoke of gutenprint because I have a Canon photo thermal printer
> that prints jpeg from cards,

This is what's common. Not PDFs. And many take a variety of
stick/cards. Hardly surprising: that's what's inside the
cameras. Thank goodness one's not limited to TWAIN. Ugh.

> but not from computer (!), so need a
> driver. It was not at this time available on linux, but gutenprint
> mailing list user asked me to make some tests and could with this
> give me a solution.
> 
> the people there knows incredibly well the printers :-)

I'm sure they do. (However, they don't support my printer but luckily,
HP does.) But I don't understand the relationship between linux
printing and gutenprint. Actually I don't know much at all about
printing any more. I used to in the days of dot-matrix, having
happily written character definitions and code to rasterise and
print graphics.

Cheers,
David.



Re: Need help salvaging what I can from major disaster

2016-03-12 Thread rlharris
On Sat, March 12, 2016 9:59 pm, Kynn Jones wrote:
> OK, post-mortem:
...
> 1. after reviewing everything, the best hypothesis I have is that
> the root of the problem was a bug in my backup script: it should have...

I use gnome-disk-utility to mount the external usb3 drive and then I open
a terminal running Midnight Commander to check that I am using the correct
rsync command, which command I run manually.  Not quite as automated, but
I think it is safer.

I do use a script for jigdo download of weekly ISO images, but those mount
points are on the hard drive and do not change.

You may find fslint useful for detecting duplicates between your old
backup and files in the recovery directory.

Russ




Re: Does anyone know how to configure a Brother MFC-J5720DW with cups?

2016-03-12 Thread David Wright
On Sat 12 Mar 2016 at 09:56:37 (+), Brian wrote:
> On Fri 11 Mar 2016 at 12:39:58 -0600, David Wright wrote:
> 
> > On Fri 11 Mar 2016 at 17:48:01 (+), Brian wrote:
> > > 
> > > The AirPrint facility handles a PDF (it has to).
> > 
> > I don't understand this statement. If a printer doesn't have a PS
> > interpreter (or emulation thereof), are you saying that it acquires
> > one by virtue of supporting AirPrint?
> 
> No. (I think you meant PDF).

I guess so. Using your terminology below, "PDF converter" is ok with me.

> The PDL of choice for AirPrint capable devices is PDF. A PDF document
> sent to an Airprint capable printer is converted to BUL (the Brother
> Unknown Language) as it would be if it was processed on a workstation by
> CUPS.
> 
> Note that this is a conversion, not an interpretation. An interpreter
> produces a raster image and this happens later when the RIP deals with
> BUL.

So you appear to be saying that what passes through the AirPrint wire
or wifi link is a PDF. The printer then converts it to BUL, then raster.

> > > Whether the printer
> > > handles direct PDF printing is questionable. But it's a decent idea to
> > > try.
> > 
> > It would seem odd to support PDF printing and be silent on the matter
> > in the printer's literature, eg 
> > www.printerbase.co.uk/spec/pdf/brother-mfcj5720dw.pdf
> > http://support.brother.com/g/b/spec.aspx?c=eu_ot&lang=en&prod=mfcj5720dw_us_eu_as
> 
> The important word is "direct". The MFC-J5720DW doesn't have a  PDF
> interpreter. Hence the silence.

So if a PDF arrives by AirPrint, how does the MFC-J5720DW interpret it
if it doesn't have a PDF converter? (I am genuinely ignorant and confused.)

I'm used to this:

Paper -> scanner -> PDF containing image -> [...wifi...] -> computer

where the PDF is really just a container with an image in it.
And then its converse (but not its inverse):

Computer PDF -> CUPS -[convert]-> BUL -> [...wifi...] -> BrotherPrinter 
-[RIP]-> paper

where the Computer PDF contains some postscript-like code mixed
in with fonts etc which has to be "converted".

So now with AirPrint we have:

Phone PDF -[no-driver]-> [...wifi...] -> AirPrint -[convert]-> BUL -[RIP]-> 
paper

Linux computer PDF -> CUPS -> [...wifi...] -> AirPrint -[convert]-> BUL 
-[RIP]-> paper

but what does the backend of CUPS have to do? Why not just
cp ~/my-file.pdf dnssd://Brother%20Printer...
if you're not bothered about queueing/scheduling etc.

Cheers,
David.