Re: Need help with CUPS printing

2015-03-29 Thread Paul E Condon
On 20150329_1814+0100, Lisi Reisz wrote:
> On Sunday 29 March 2015 17:58:11 Brian wrote:
> > > Browsing On
> > > BrowseOrder allow,deny
> > > BrowseAllow all
> > > BrowseRemoteProtocols CUPS
> > > BrowseAddress @LOCAL
> > > BrowseLocalProtocols CUPS dnssd
> >
> > This is almost the standard Wheezy, It will not suffice on Jessie. The
> > BrowseOrder, BrowseAllow, BrowseAddress and BrowseRemoteProtocols
> > directives are no longer part of cups. cups also know nothing about
> > 'CUPS'.
> 
> Yes, Gene is using Wheezy.
> 
> Lisi

Lisi,

Thanks for pointing this out, but I think my proble is
gone. CUPS is behaving much better than I've ever seen. Its OK
with me if 'my' thread is hijacked now.

Happy camper,
-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150330032439.ga19...@big.lan.gnu



Re: temporarily disable shutdown

2015-03-29 Thread David Wright
Quoting Matthias Bodenbinder (matth...@bodenbinder.de):
> [...] And even on the commandline a "poweroff" is still successfully executed.

You haven't said whether the commandline is being typed on a console
VC, or remotely. It makes a big difference. For example:

jessiebox ~$ ls -l /sbin/poweroff 
lrwxrwxrwx 1 root root 14 Feb 13 05:45 /sbin/poweroff -> /bin/systemctl
jessiebox ~$ /sbin/poweroff
 AUTHENTICATING FOR org.freedesktop.login1.power-off ===
Authentication is required for powering off the system.
Authenticating as: root
Password:← typed root's password
 AUTHENTICATION COMPLETE ===
jessiebox ~$ Connection to jessiebox closed by remote host.
Connection to jessiebox closed.
wheezybox ~$ ls -l /sbin/poweroff 
lrwxrwxrwx 1 root root 4 Jul 17  2013 /sbin/poweroff -> halt
wheezybox ~$ ls -l /sbin/halt 
-rwxr-xr-x 1 root root 13848 Jul 17  2013 /sbin/halt
wheezybox ~$ /sbin/poweroff
poweroff: must be superuser.
wheezybox ~$ 

So wheezy just runs a binary that checks for root.

Jessie (running systemd) makes me authenticate if I'm remote, but will
shutdown straightaway if I type the command on the console. Which is
reasonable since all I have to do otherwise is press CtrlAltDel or the
power button to achieve the same effect.

Cheers,
David.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150330031018.ga13...@alum.home



Re: Need help with CUPS printing [solved?]

2015-03-29 Thread Paul E Condon
On 20150329_1421+0100, Lisi Reisz wrote:
> On Sunday 29 March 2015 13:36:28 Curt wrote:
> > On 2015-03-29, deloptes  wrote:
> > > Hi
> > > long mails are not easy to read and understand. Most important is the
> > > quality of information in it ... like model number or chipset in the
> > > hardware you use etc.
> >
> > +1
> 
> I'm afraid that I gave up trying to read it.  Made worse from my point of 
> view 
> by longish blocks of text.
> 
> Lisi

Thanks to all, especially the ones with candid remarks about my
writing. I will try to improve.

The problem must have been fixed in some package in the last batch of
bug fix packages from the release team. Now I can't reproduce the
malfunction that I was seeing a few days ago. It was software, because
the only hardware that I changed during that time was Memorex PS3 mouse
and there are some explanations I cannot abide. 

--
Paul E Condon
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150330014406.gc15...@big.lan.gnu



Re: who to report a kernel bug to in Jessie

2015-03-29 Thread James



On 03/29/2015 06:54 AM, Brian wrote:

On Sat 28 Mar 2015 at 16:43:31 -0400, James wrote:


On 03/28/2015 03:36 PM, Brian wrote:

On Sat 28 Mar 2015 at 14:41:42 -0400, James wrote:


My computer crashes and the text on the screen says it's a kernel bug.
The first pid is comm, upowerd.

If we knew *exactly* what the screen told you and in what circumstances
the crash occurs and how repeatable it is we might be able to help you.



I took a picture of the screen.
http://lockie.ca/~rjl/20150328_142159_small.jpg
I think the other times it crashed had the same info on the screen.
I am using lxde now and it hasn't crashed yet.
Before I had icewm.

A search with "kernel bug at /build/" reveals a number of reports
similar to

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756714

Maybe.

I don't use xen so I don't know.
How often does Debian Jessie build new kernels?
kernel.org seems way ahead.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/55189f70.5000...@lockie.ca



Re: Wheezy wifi problems

2015-03-29 Thread David Wright
Quoting Bob Holtzman (hol...@cox.net):
> After figuring out how to get iwlwifi installed and now being able to
> turn on the transciever, the problem becomes being asked for
> authentication as in a password or encryption key to connect to the
> network. I don't remmember setting up a password or key for this.My
> previous install of wheezy didn't do this.
> 
> Anyone have an idea how I can get connected? Any pointers appreciated. 

Well, it might help to know what software you're trying to connect
with, and where you are: in a café or at home. If you're at home, I'd
would have thought it unlikely that you (or houses around) are running
a wifi Access Point without encryption.

I use wicd myself. If I look at the APs listed, move down the list
with ↓ and then press →, the configuration for that AP screen will
have the "Use Encryption" box checked if the AP was listed as
requiring it (which, in my living room, they all are). It's then a
matter of using ↓ to move down to the line marked "Key:" and typing in
the key (set at the router/AP).

An unsecured AP will show the "Use Encryption" box unchecked.

As the wifi connections are per machine rather than per user, the
passwords are stored in /etc/wicd/wireless-settings.conf so a new
installation would require you to copy this file over (as root) to get
the immediate automatic connectivity you're used to.

I assume that other software does much the same sort of thing. They
might vary in their ability to display a password to the ordinary user
in the configuration screen above. Wicd gives a little privacy in that
the stored key shows as asterisks unless you move the cursor down to
the "Key:" line itself.

Cheers,
David.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150330004838.ga4...@alum.home



Re: Need help with CUPS printing

2015-03-29 Thread Gene Heskett


On Sunday 29 March 2015 12:58:11 Brian wrote:
> On Sun 29 Mar 2015 at 10:57:37 -0400, Gene Heskett wrote:
> > I am getting the impression that the overall install on both doesn't
> > have the correct Browsing options set, from this machine which
> > serves all
>
> That could be a possibility, although the OP did say
>
>   > After installing the most recent upgrades to Jessie on both
>   > computers this morning, I tried to print a few pages from
>   > iceweasel and printing worked.

I missed that, it was a long post & my short term memory is poor. :(
>
> His problem appears to be getting Emacs to communicate with the
> printing system rather than the system itself.
>
> > available printers to the rest of the machines on my local network
> > (I am behind a router running dd.wrt so its pretty wide open here,
> > with all addresses set in host files at an not well used class c
> > address in the 192.168 class B block. security by obscurity and NAT
> > rules in the router).
> >
> > The Browsing section of the cupsd.conf of this machine:
> > (comments excised for some reason unk to me)
>
> I'll add some then :).
>
> > LogLevel warn
>
> Ok.
>
> > SystemGroup lpadmin root gene
> > Group sys gene
> > User lp gene
>
> These directives should be in /etc/cups/cups-files.

I was just making sure I could kill a job gone wild without having to 
become root on a rootless system to do it. My color laser would have 
wasted 40 sheets of paper while I was gaining access rights.

> root doesn't need to be in SystemGroup. There might be a good reason
> for the presence of group gene but I cannot think of one.

Root was inherited from a previous config, and gene is the operative that 
lets me do admin stuff.  It is my machine. :) Thats also why I appended 
the network/security part of my msg.  Its terrible practice if the 
machine is connected directly to the modem.

> The default for Group and User on Debian is lp. gene and sys seem to
> be superfluous.

Probably.
>
> > Port 631
>
> Needed if you want to allow remote access.
>
> > Listen /var/run/cups/cups.sock
>
> Fine.
>
> > Browsing On
> > BrowseOrder allow,deny
> > BrowseAllow all
> > BrowseRemoteProtocols CUPS
> > BrowseAddress @LOCAL
> > BrowseLocalProtocols CUPS dnssd
>
> This is almost the standard Wheezy,

Correct, the install here is not exactly wheezy, but is based on it.
> It will not suffice on Jessie. The 
> BrowseOrder, BrowseAllow, BrowseAddress and BrowseRemoteProtocols
> directives are no longer part of cups. cups also know nothing about
> 'CUPS'.

Gah, Mike's been playing again, or someone at debian.  What was wrong 
with the way it did work?

As for Mike, I've known him since he was DodgeColt on Delphi.

> [Some lines relevant to the topic snipped]
>
> > One of my printers has an ethernet port and is a bit faster if I use
> > it, hence the dnssd addition in the Protocols.
>
> dnssd and ethernet ports are unrelated.

The dnssd showed up sometime after I'd set the printer up at a local 
ethernet address, I didn't make a conscious effort to add it.  Bad 
assumption on my part?
>
> > The critical section to check would seem to be the "Browsing..."
> > By default, this is not enabled but "Off", and you also need to
> > check
>
> Browsing is 'on' by default on Jessie.

Excellent.  If and when I ever get to Jessie. I am somewhat constrained 
by at least keeping the sim modes of LinuxCNC working here.

> [Many lines irrelevant to the topic snipped]

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 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201503291848.07456.ghesk...@wdtv.com



Re: javascript in iceweasel

2015-03-29 Thread Liam O'Toole
On 2015-03-29, Bob Holtzman  wrote:
> On Sat, Mar 28, 2015 at 09:41:16PM +, Liam O'Toole wrote:
>> On 2015-03-28, Bob Holtzman  wrote:
>> > Running Wheezy 7.8 w/ iceweasel 31.5.3. Some sites won't work, telling
>> > me I need to install/activate javascript. Not sure how to do this. I
>> > assume java is loaded because I see some icedtea 6  packages installed.
>> > No idea how to activate javascript, assuming it's lurking on the HD.
>> > Searches turned up virtually nothing useful. The few relevant hits
>> > talked about going to Tools -> Options which doesn't exist on my copy.
>> >
>> > Any pointers appreciated..  
>> >
>> 
>> Brad's post answers your question. 
>
> Yes. It just didn't seem to work.
>
>> Just FYI, JavaScript is not related
>> to Java and Icedtea. Those latter are used for running Java applets and
>> applications from a web browser. It's a common misunderstanding arising
>> from the similarity in nomenclature.
>
> Thanks. I was aware of thatThanks. I was aware of that.
>

Good. I wasn't sure why you mentioned Java in this context, so I thought
I'd clear up any potential misunderstanding.

-- 

Liam



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmhgh91.771.liam.p.otoole@dipsy.tubbynet



Re: After upgrade to jessie usb keyboard multimedia keys stopped working

2015-03-29 Thread deloptes
Petter Adsen wrote:

> xev -event keyboard

No they do not - any idea what direction I should dig.

I see this in the Xorg.0.log

[143241.089] (**) Option "xkb_rules" "evdev"
[143241.089] (**) Option "xkb_model" "a4techKB21"
[143241.089] (**) Option "xkb_layout" "us,de,bg"
[143241.089] (**) Option "xkb_options" "compose:rwin,grp_led:scroll"

so where is this model coming from? and is this the correct one? But how was
it working in wheezy - did it change in the background?


regards




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mf9da6$q62$1...@ger.gmane.org



Re: Need help with CUPS printing

2015-03-29 Thread Brian
On Sun 29 Mar 2015 at 18:14:26 +0100, Lisi Reisz wrote:

> On Sunday 29 March 2015 17:58:11 Brian wrote:
> > > Browsing On
> > > BrowseOrder allow,deny
> > > BrowseAllow all
> > > BrowseRemoteProtocols CUPS
> > > BrowseAddress @LOCAL
> > > BrowseLocalProtocols CUPS dnssd
> >
> > This is almost the standard Wheezy, It will not suffice on Jessie. The
> > BrowseOrder, BrowseAllow, BrowseAddress and BrowseRemoteProtocols
> > directives are no longer part of cups. cups also know nothing about
> > 'CUPS'.
> 
> Yes, Gene is using Wheezy.

The originator of this thread has Jessie on two machines. So that will
be where *his* focus is. Printing on Wheezy and Jessie has distinctly
different characteristics to merit pointing them out.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/29032015182716.239b0ef4f...@desktop.copernicus.demon.co.uk



Re: NetworkManager & tun/br enigma

2015-03-29 Thread Johannes Graumann
Johannes Graumann wrote:

> Hello,
> 
> I'm trying to get a NetworkManager-independent bridg up and running to be
> able to have my firewall manage traffic to/from lxc containers.
> 
> My '/etc/network/interfaces' looks like this:
>> auto lo
>> iface lo inet loopback
>>  
>> # tun/tap/bridge combo for lxc container networking
>> auto tun0
>> iface tun0 inet manual
>>   tunctl_user   root
>>   upip link set tun0 up
>>   down  ip link set tun0 down
>> auto br0
>> iface br0 inet static
>>   bridge_ports  tun0
>>   bridge_maxwait0
>>   bridge_stpoff
>>   address   172.16.0.1
>>   netmask   255.255.255.0
>>   dns-searchvirt.local
> 
> No matter what I do to the
>> [ifupdown]
>> managed=true/false
> parameter in '/etc/NetworkManager/NetworkManager.conf', 'ifconfig' doesn't
> show me the tun0/br0 interfaces.
> 
> When I manually call 'service networking re/start', the process gets stuck
> unresponsively. 'CTRL-C'ing out 'ifconfig' now shows the tun/br
> interfaces. 'tail /var/log/messages' reports:
>> IPv6: ADDRCONF(NETDEV_UP): tun0: link is not ready
> 
> Any hints on what may be wrong and how to proceed?
> 
> Sincerely, Joh

Turns out this was a (shot?) systemd issue. After reinstalling it my setup 
works as expected: eth/wlan managed by NM (as nos present in 
/etc/network/interfaces), tun/br come up and are not NM managed.

Joh 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mf9c5o$5dd$1...@ger.gmane.org



Re: Need help with CUPS printing

2015-03-29 Thread Lisi Reisz
On Sunday 29 March 2015 17:58:11 Brian wrote:
> > Browsing On
> > BrowseOrder allow,deny
> > BrowseAllow all
> > BrowseRemoteProtocols CUPS
> > BrowseAddress @LOCAL
> > BrowseLocalProtocols CUPS dnssd
>
> This is almost the standard Wheezy, It will not suffice on Jessie. The
> BrowseOrder, BrowseAllow, BrowseAddress and BrowseRemoteProtocols
> directives are no longer part of cups. cups also know nothing about
> 'CUPS'.

Yes, Gene is using Wheezy.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201503291814.26924.lisi.re...@gmail.com



Re: Need help with CUPS printing

2015-03-29 Thread Brian
On Sun 29 Mar 2015 at 10:57:37 -0400, Gene Heskett wrote:

> I am getting the impression that the overall install on both doesn't have 
> the correct Browsing options set, from this machine which serves all 

That could be a possibility, although the OP did say

  > After installing the most recent upgrades to Jessie on both
  > computers this morning, I tried to print a few pages from
  > iceweasel and printing worked.

His problem appears to be getting Emacs to communicate with the printing
system rather than the system itself.

> available printers to the rest of the machines on my local network (I am 
> behind a router running dd.wrt so its pretty wide open here, with all 
> addresses set in host files at an not well used class c address in the 
> 192.168 class B block. security by obscurity and NAT rules in the 
> router).
> 
> The Browsing section of the cupsd.conf of this machine:
> (comments excised for some reason unk to me)

I'll add some then :).

> LogLevel warn

Ok.

> SystemGroup lpadmin root gene
> Group sys gene
> User lp gene

These directives should be in /etc/cups/cups-files.

root doesn't need to be in SystemGroup. There might be a good reason for
the presence of group gene but I cannot think of one.

The default for Group and User on Debian is lp. gene and sys seem to be
superfluous.

> Port 631

Needed if you want to allow remote access.

> Listen /var/run/cups/cups.sock

Fine.

> Browsing On
> BrowseOrder allow,deny
> BrowseAllow all
> BrowseRemoteProtocols CUPS
> BrowseAddress @LOCAL
> BrowseLocalProtocols CUPS dnssd

This is almost the standard Wheezy, It will not suffice on Jessie. The
BrowseOrder, BrowseAllow, BrowseAddress and BrowseRemoteProtocols
directives are no longer part of cups. cups also know nothing about
'CUPS'.

[Some lines relevant to the topic snipped]

> One of my printers has an ethernet port and is a bit faster if I use it, 
> hence the dnssd addition in the Protocols.

dnssd and ethernet ports are unrelated.

> The critical section to check would seem to be the "Browsing..."
> By default, this is not enabled but "Off", and you also need to check 

Browsing is 'on' by default on Jessie.

[Many lines irrelevant to the topic snipped]


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150329165811.gc22...@copernicus.demon.co.uk



NetworkManger: Prioritize interfaces for default route

2015-03-29 Thread Bernd Naumann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

on my debian stable laptop I use default installed Networkmanger to
use different networks over the day.

Besides regular dhcp-client on eth0 and wlan0, I have presets for
differnt LAN setups, to access openwrt failsafed devices.

Also for my test/devel routers I have different ethernet configurations.


I wanted to configure NetworkManger to handle wlan0 as my primary
interface for having the the default route.

The behaviour of NetworkManger is that it will always use eth0.

So if I plugin and plugout an ethernet cable NetworkManger resets the
default route and all my connections to the outside world is cut and I
have to re-establish this connections, which is time consuming and
annoying ...

So the only thing I can now image is to use a dispatcher script to
'reset' the default route after a interface connects or disconnects.

But I thing I will miss some packages while the interface reconfigures?
And this all over sounds not like a good idea.

I want to switch ethernet connects while in a wifi network, like I can
now switch wifi networks while connected to a ethernet network without
any interruptions to 0.0.0.0.

Are there any suggestions for such a setup on a desktop?

Bernd

- -- 
Bernd Naumann 

PGP:   0xA150A04F via pool.sks-keyservers.net
XMPP:  b...@weimarnetz.de

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)

iQIcBAEBAgAGBQJVGCg8AAoJEEYW3OihUKBPCsgP/1hVoG+3Odsz6SSz+fnpRnHZ
6482lWMqhcb/Qz5s2XFNg1Keawvv5+Gz3kR1aut1cKoT2J/o4gMVIcEOC2YGD8Eo
SKJ6lkKM58ME7kVdi62Egwp/M8hc4ZYU4s1r4VwqrEZAnTa8TTTdcsHGznzk9kM3
aySjyfRTAUhJzDU8zvYzD3I2cV4Xic5UhLtVr3q9IZXgnq39JkoA5dTw8W5H2XAx
6orpQHH8PfXHV6Axj842BJ5BVM7g22pSaMvvtJ++/EGbIbkLq88DrtmBAThyNm6u
4AG2hqtqX6kO6DncsJDG0MOiHh0FsLRkTjWKaNoqWS1slPl3CvWCRqUMVraiqRED
/lPAsn37oHN0ZV4R4adIqKzOxHu2/6R6H/DPekkHuKaP9TJwfV+iTx+JOUOiOc1k
NHrdFrVyNvLSemdINu8IyTzHI/44n9gD4fGi0PJKzuo6fqbdZJLTvlqzUB98tbRX
ZBUaVoLHdoMTOoSBKoaqdkGF4b4DsrfO+3xb/T9KRcv/ZYxH6Hy9UZT5YDIWTCrC
ChGmLZiA6/fla4gegjs8OILvGL4BR+fHJzZWioYOSeBKIC4Da31CQY5c/RH8f59H
7EBMZgBl94E8EH1TuJCLuzL0B4sx5eD0E9YmV8YmxPABbFlOZfZ7JQaliJo2ytDg
FTwVxS6S9hvzTcjz6OVs
=um/T
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5518283c.9060...@kr217.de



Re: temporarily disable shutdown

2015-03-29 Thread Michael Biebl
Am 29.03.2015 um 11:42 schrieb Matthias Bodenbinder:
> Am 28.03.2015 um 18:51 schrieb Michael Biebl:
>> You can run something like
>>
>> systemd-inhibit --what=shutdown --mode=block /bin/sleep 3600
>>
>> to block shutdown for 1h.
> 
> This does NOT work. I tested it with debian testing.

Are you sure you are using systemd as PID 1?

> It does not prevent shutdown through hte KDE GUI. 

I tested GNOME, but I was under the impression KDE used logind nowadays
as well.

> And even on the commandline a "poweroff" is still successfully executed.

Was poweroff executed as root (or via sudo)?

-- 
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: Need help with CUPS printing

2015-03-29 Thread Gene Heskett
On Sunday 29 March 2015 05:22:19 deloptes wrote:
> Paul E Condon wrote:
> > I'm running Jessie, as close to plain vanilla as my hardware allows.
> > I have a HP Laserjet 5MP. This is an ancient device. It has built-in
> > firmware for Level 2 Postscript printing and a special socket for
> > Apple Localtalk connection, but no USB. It is a sturdy old beast and
> > was running nicely until quite recently. But in a special
> > configuration that needs to be understood in order to give help:
> >
> > My main desktop computer on which I receive email, and create my own
> > documents has *only* USB. I bought a special cable that has a USB to
> > Centronics conversion dongle at one end. But I can't use it because
> > the socket for Centronics on the printer is in recessed place in the
> > printer where the dongle won't fit and I can't enlarge the place
> > without sawing away parts of the printer framework that are
> > necessary for the paper feed system to work. So, instead, I put into
> > service an old micro-mini Dell (now running Jessie) and put CUPS on
> > it, and configured it to be a print server. But all this was well
> > before I had any idea that there would ever be anything like Jessie
> > in my future. At first, after some fiddling, the print server worked
> > under Jessie, but now it has stopped working. The printer continues
> > to produce test pages when requesting them from the old Dell
> > keyboard and in self-test mode by pushing buttons on the printer
> > itself, not by typing at the computer keyboard.
> >
> > After installing the most recent upgrades to Jessie on both
> > computers this morning, I tried to print a few pages from iceweasel
> > and printing worked. But I also want to be able to print from Emacs,
> > which I use to compose my emails, such as this one. Emacs told be
> > that there was no default printer even though I had just selected
> > the printer on the old Dell from a pick-list presented to be by the
> > print user interface presented to me by the Emacs user interface. I
> > think I should configure the Cups server on my desktop computer to
> > indicate that that printer over on the old Dell is the one for
> > Emacs. But how do I do that?
> >
> > I can't trust my own investigations to determine if there have been
> > any recent changes in the Jessie CUPS packages in the recent past. I
> > know there was a new version of CUPS at the time that Jessie entered
> > pre-release freeze, and I pretty sure my system was working then and
> > not something that I lost in my transition from Wheezy. And, of
> > course, I'd like a more foreword looking suggestion than to
> > re-install Wheezy. I'd like this fixed before Jessie release because
> > I have a bad feeling that the longer I wait the further from the
> > main-stream I will be. I need, with my old hardware, to be as close
> > to the middle of the herd of users as I can be.
> >
> > The print driver for the HPLj-5MP that I have been using in recent
> > years is the one with (recommended) in its listing in the pick-list
> > of all HP print drivers in the localhost:631 web site on both
> > computers. Beyond that I can't think of anything people might need
> > to know about my set-up. I'd be glad to answer any questions about
> > things that I haven't realized might be important.
> >
> > Please help
>
> Hi
> long mails are not easy to read and understand. Most important is the
> quality of information in it ... like model number or chipset in the
> hardware you use etc.
>
> I had similar experience with usb2parallel cable. Actually I am using
> 2 old printers with 2 different cables. The one does not have an
> issue. The other does and since upgrade to wheezy and later to jessie.
> I had to fix the same issue for the worse cable, where the chip does
> not communicate the proper port to the system. The solution was to
> update printers.conf manually and put there
> DeviceURI parallel:/dev/usb/lp0
> or whatever port your cable is using
>
> For the other issue how - that you can not connect the cable to the
> printer - use parallel port cable extention.
>
> I hope this helps
>
> regards

I am getting the impression that the overall install on both doesn't have 
the correct Browsing options set, from this machine which serves all 
available printers to the rest of the machines on my local network (I am 
behind a router running dd.wrt so its pretty wide open here, with all 
addresses set in host files at an not well used class c address in the 
192.168 class B block. security by obscurity and NAT rules in the 
router).

The Browsing section of the cupsd.conf of this machine:
(comments excised for some reason unk to me)
LogLevel warn
SystemGroup lpadmin root gene
Group sys gene
User lp gene
Port 631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS dnssd
DefaultAuthType Basic

And from one of the machines that can use the printers 

Re: Need help with CUPS printing

2015-03-29 Thread Lisi Reisz
On Sunday 29 March 2015 13:36:28 Curt wrote:
> On 2015-03-29, deloptes  wrote:
> > Hi
> > long mails are not easy to read and understand. Most important is the
> > quality of information in it ... like model number or chipset in the
> > hardware you use etc.
>
> +1

I'm afraid that I gave up trying to read it.  Made worse from my point of view 
by longish blocks of text.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201503291421.34868.lisi.re...@gmail.com



Re: Need help with CUPS printing

2015-03-29 Thread Curt
On 2015-03-29, deloptes  wrote:
>
> Hi
> long mails are not easy to read and understand. Most important is the
> quality of information in it ... like model number or chipset in the
> hardware you use etc.

+1


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmhfsec.232.cu...@einstein.electron.org



Re: [solved securely now??] What is the correct way to set encrypted swap with systemd?

2015-03-29 Thread Sven Hartge
~Stack~  wrote:

> One more question if you don't mind: I understand why the encrypted
> partition UUID is going to change every time, but the physical
> partition UUID for my /dev/sda3 shouldn't change though. If they are
> the same systemd.fsck shouldn't have a problem with the physical
> partition UUID of /dev/sda3, but yet it does (at least for me). So
> what is the difference between the UUID pointing to /dev/sda3 and the
> /dev/disk/by-id pointing to /dev/sda3?

Please provide an example of such an UUID and the way you obtained it. 

S°

-- 
Sigmentation fault. Core dumped.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5bgbenvjj...@mids.svenhartge.de



Re: spam acl condition: error reading from spamd socket: Connection timed out

2015-03-29 Thread Rainer Dorsch
Many thanks, Andreas, for you quick reply.

I "prefixed" all occurences of the ACL condition spam now with 

 condition = ${if < {$message_size}{10K}}

such that I have now

  # from 
http://www.exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.html
  # put headers in all messages (no matter if spam or not)
  warn  condition = ${if < {$message_size}{10K}}
spam = Debian-exim:true
add_header = X-Spam-Score: $spam_score ($spam_bar)
add_header = X-Spam-Report: $spam_report

  # add second subject line with *SPAM* marker when message
  # is over threshold
  warn  condition = ${if < {$message_size}{10K}}
spam = Debian-exim
add_header = X-Spam-Flag: Yes

  # reject spam at high scores (> 12)
  deny  message = This message scored $spam_score spam points.
condition = ${if < {$message_size}{10K}}
spam = Debian-exim:true
condition = ${if >{$spam_score_int}{120}{1}{0}}

Thanks again,
Rainer


On Sunday 29 March 2015 12:37:45 Andreas Metzler wrote:
> On 2015-03-29 Rainer Dorsch  wrote:
> > I get from time to time this error message on my spamassassin+exim4 setup:
> > 
> > 2015-03-26 20:46:22 1YbDhW-00062f-G2 spam acl condition: error reading
> > from
> > spamd socket: Connection timed out
> > 
> > I suspect that on this virtual machine, sometimes there are really long
> > processing times.
> > 
> > I am wondering if
> > 
> > local_scan_timeout
> > 
> > is the right parameter to modify.
> 
> No, local_scan_timeout and the spam ACL are not related. See
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-adding_a_local_s
> can_function_to_exim.html
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-content_scannin
> g_at_acl_time.html#SECTscanspamass
> 
> Usually this error happens when large messages are passed to
> spamassassin, best practice is to limit the message size of messages
> passed on to spamassassin.
> 
> cu Andreas

-- 
Rainer Dorsch
Lärchenstr. 6
72135 Dettenhausen
07157/734133


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/2489879.tLzO62eAJj@blackbox



xmodmap question

2015-03-29 Thread Petter Adsen
I've been playing with xmodmap to change the comma on the numpad
(Norwegian layout) to a period, as I mainly use the numpad for entering
IP addresses. According to the man page, section "Expression Grammar",
the first keysym is for the key with no modifier, and a second is for
the key with Shift as a modifier.

However, when I run 'xmodmap -e "keycode 91=period"', the key simply
"dies", it no longer outputs anything, although 'xmodmap -pk' lists it
as set to "period". If I run 'xmodmap -e "keycode 91=period period"',
it works just fine (although it also sets it with Shift, but I don't
mind that).

What am I doing wrong? Why can't I just change the keysym to be sent
without a modifier?

Petter


-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgpoiiHhfagrq.pgp
Description: OpenPGP digital signature


Re: spam acl condition: error reading from spamd socket: Connection timed out

2015-03-29 Thread Andreas Metzler
On 2015-03-29 Rainer Dorsch  wrote:
> I get from time to time this error message on my spamassassin+exim4 setup:

> 2015-03-26 20:46:22 1YbDhW-00062f-G2 spam acl condition: error reading from 
> spamd socket: Connection timed out

> I suspect that on this virtual machine, sometimes there are really long 
> processing times.

> I am wondering if 
>   local_scan_timeout
> is the right parameter to modify.


No, local_scan_timeout and the spam ACL are not related. See
http://www.exim.org/exim-html-current/doc/html/spec_html/ch-adding_a_local_scan_function_to_exim.html
http://www.exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.html#SECTscanspamass

Usually this error happens when large messages are passed to
spamassassin, best practice is to limit the message size of messages
passed on to spamassassin.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150329103745.ga1...@downhill.g.la



Re: After upgrade to jessie usb keyboard multimedia keys stopped working

2015-03-29 Thread Petter Adsen
On Sun, 29 Mar 2015 11:59:45 +0200
deloptes  wrote:

> Hi
> as the title says I am unable to use the multimedia keys on the
> keyboard since upgrade to jessie.
> Do you have any hint, because all I find is information on how to fix
> the multimedia keys in general, which is of no use.
> On the notebook the multimedia keys (Volume Up/Down and Mute) work
> fine, but on the external USB keyboard they stopped working.
> I see evdev in Xorg.0.log and information related to the usb keyboard.

If you run "xev -event keyboard", focus the window and press some of
the multimedia keys, do they register?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."


pgp54UvFAEoqL.pgp
Description: OpenPGP digital signature


Re: who to report a kernel bug to in Jessie

2015-03-29 Thread Brian
On Sat 28 Mar 2015 at 16:43:31 -0400, James wrote:

> On 03/28/2015 03:36 PM, Brian wrote:
> >On Sat 28 Mar 2015 at 14:41:42 -0400, James wrote:
> >
> >>My computer crashes and the text on the screen says it's a kernel bug.
> >>The first pid is comm, upowerd.
> >If we knew *exactly* what the screen told you and in what circumstances
> >the crash occurs and how repeatable it is we might be able to help you.
> >
> >
> I took a picture of the screen.
> http://lockie.ca/~rjl/20150328_142159_small.jpg
> I think the other times it crashed had the same info on the screen.
> I am using lxde now and it hasn't crashed yet.
> Before I had icewm.

A search with "kernel bug at /build/" reveals a number of reports
similar to

   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756714

Maybe.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/29032015115205.7c48e45fe...@desktop.copernicus.demon.co.uk



Re: javascript in iceweasel

2015-03-29 Thread Curt
On 2015-03-29, Bob Holtzman  wrote:
>
> Javascript enabled shown as true, however, there are a whole pile of
> javascript options listed with only a few turned off.
>
> Still in the dark. Thanks for the reply.
>

I'm reading that javascript is either enabled or it isn't (single global
setting).

You might try Help > Troubleshooting Information > "Show Folder" (here
it actually says "Open Directory" rather than "Show Folder"--it's your
profile directory). Open prefs.js in a text editor and look for
javascript preferences that contain the words capability and noAccess
(search for 'capab'). 

You might also try the problem sites in Safe Mode, "the classic
diagnostic tool to bypass interference by extensions and custom
settings."

Good luck.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnmhfje1.232.cu...@einstein.electron.org



After upgrade to jessie usb keyboard multimedia keys stopped working

2015-03-29 Thread deloptes
Hi
as the title says I am unable to use the multimedia keys on the keyboard
since upgrade to jessie.
Do you have any hint, because all I find is information on how to fix the
multimedia keys in general, which is of no use.
On the notebook the multimedia keys (Volume Up/Down and Mute) work fine, but
on the external USB keyboard they stopped working.
I see evdev in Xorg.0.log and information related to the usb keyboard.

Thanks in advance




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mf8ieh$opq$1...@ger.gmane.org



Re: temporarily disable shutdown

2015-03-29 Thread Matthias Bodenbinder
Am 28.03.2015 um 18:51 schrieb Michael Biebl:
> You can run something like
> 
> systemd-inhibit --what=shutdown --mode=block /bin/sleep 3600
> 
> to block shutdown for 1h.

This does NOT work. I tested it with debian testing.
It does not prevent shutdown through hte KDE GUI. And even on the commandline a 
"poweroff" is still successfully executed.

Matthias




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mf8hdu$f5f$1...@ger.gmane.org



Re: Need help with CUPS printing

2015-03-29 Thread deloptes
Paul E Condon wrote:

> I'm running Jessie, as close to plain vanilla as my hardware allows.
> I have a HP Laserjet 5MP. This is an ancient device. It has built-in
> firmware for Level 2 Postscript printing and a special socket for
> Apple Localtalk connection, but no USB. It is a sturdy old beast and
> was running nicely until quite recently. But in a special configuration
> that needs to be understood in order to give help:
> 
> My main desktop computer on which I receive email, and create my own
> documents has *only* USB. I bought a special cable that has a USB to
> Centronics conversion dongle at one end. But I can't use it because the
> socket for Centronics on the printer is in recessed place in the
> printer where the dongle won't fit and I can't enlarge the place
> without sawing away parts of the printer framework that are necessary
> for the paper feed system to work. So, instead, I put into service an
> old micro-mini Dell (now running Jessie) and put CUPS on it, and
> configured it to be a print server. But all this was well before I had
> any idea that there would ever be anything like Jessie in my
> future. At first, after some fiddling, the print server worked under
> Jessie, but now it has stopped working. The printer continues to
> produce test pages when requesting them from the old Dell keyboard and
> in self-test mode by pushing buttons on the printer itself, not by
> typing at the computer keyboard.
> 
> After installing the most recent upgrades to Jessie on both computers
> this morning, I tried to print a few pages from iceweasel and printing
> worked. But I also want to be able to print from Emacs, which I use to
> compose my emails, such as this one. Emacs told be that there was no
> default printer even though I had just selected the printer on the old
> Dell from a pick-list presented to be by the print user interface
> presented to me by the Emacs user interface. I think I should configure
> the Cups server on my desktop computer to indicate that that printer
> over on the old Dell is the one for Emacs. But how do I do that?
> 
> I can't trust my own investigations to determine if there have been any
> recent changes in the Jessie CUPS packages in the recent past. I know
> there was a new version of CUPS at the time that Jessie entered
> pre-release freeze, and I pretty sure my system was working then and not
> something that I lost in my transition from Wheezy. And, of course, I'd
> like a more foreword looking suggestion than to re-install Wheezy. I'd
> like this fixed before Jessie release because I have a bad feeling that
> the longer I wait the further from the main-stream I will be. I need, with
> my old hardware, to be as close to the middle of the herd of users as I
> can be.
> 
> The print driver for the HPLj-5MP that I have been using in recent years
> is the one with (recommended) in its listing in the pick-list of all HP
> print drivers in the localhost:631 web site on both computers. Beyond that
> I can't think of anything people might need to know about my set-up. I'd
> be glad to answer any questions about things that I haven't realized might
> be important.
> 
> Please help
> 

Hi
long mails are not easy to read and understand. Most important is the
quality of information in it ... like model number or chipset in the
hardware you use etc.

I had similar experience with usb2parallel cable. Actually I am using 2 old
printers with 2 different cables. The one does not have an issue. The other
does and since upgrade to wheezy and later to jessie. I had to fix the same
issue for the worse cable, where the chip does not communicate the proper
port to the system. The solution was to update printers.conf manually and
put there
DeviceURI parallel:/dev/usb/lp0
or whatever port your cable is using

For the other issue how - that you can not connect the cable to the
printer - use parallel port cable extention.

I hope this helps

regards



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mf8g8b$v01$1...@ger.gmane.org



spam acl condition: error reading from spamd socket: Connection timed out

2015-03-29 Thread Rainer Dorsch
Hello,

I get from time to time this error message on my spamassassin+exim4 setup:

2015-03-26 20:46:22 1YbDhW-00062f-G2 spam acl condition: error reading from 
spamd socket: Connection timed out

I suspect that on this virtual machine, sometimes there are really long 
processing times.

I am wondering if 
local_scan_timeout
is the right parameter to modify.

Many thanks and kind regards
Rainer


-- 
Rainer Dorsch
http://bokomoko.de/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1651493.mixWIIUpW6@blackbox



Re: temporarily disable shutdown

2015-03-29 Thread Matthias Bodenbinder
Hello Michael,

that is a very good suggestion. Thank you. But I also have debian stable.
Do you have any idea for debain stable as well?

Matthias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mf8apt$j92$1...@ger.gmane.org



Re: javascript in iceweasel

2015-03-29 Thread Bret Busby
On 29/03/2015, Bob Holtzman  wrote:
> Running Wheezy 7.8 w/ iceweasel 31.5.3. Some sites won't work, telling
> me I need to install/activate javascript. Not sure how to do this. I
> assume java is loaded because I see some icedtea 6  packages installed.
> No idea how to activate javascript, assuming it's lurking on the HD.
> Searches turned up virtually nothing useful. The few relevant hits
> talked about going to Tools -> Options which doesn't exist on my copy.
>
> Any pointers appreciated..
>
> --
> Bob Holtzman
> A fair fight is the result of poor planning.
>
>

I have a thought.

The problem could lie with the particular web sites.

Some web sites spout erroneous error messages.

For some web sites, in web browsers with javascript enabled, I get an
error message stating
"Javascript appears to be disabled in your web browser"
which is, in some instances, completely wrong.

Similarly, with some web sites, I get the error message
"Cookies appear to be disabled in your web browser"
which is completely wrong. One of the web sites that gives this
erroneous error message, is the gmail web site, which is badly
written. But then, that is google, where quality is regarded as
unneeded.

So, as you get the error message with some web sites, and, especially,
not with all web sites (although, fortunately, not all web sites are
written using the sinister javascript), I suggest that the problem may
lie with the web sites that display the error message, as being badly
written. Unfortunately, badly written (as in faulty) web sites, appear
to be steadiily increasing, and, threatening to take over the web.

Just a thought...

-- 
Bret Busby
Armadale
West Australia
..

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
 Chapter 28 of Book 1 of
 "The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts",
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8nqvc9gswgrry0c6kxzjpgavmm8h9imbgyaus-mbky...@mail.gmail.com