Re: Syslog-NG

2016-06-03 Thread Andrew Clark
I don't have my pi with me, but in Debian, the logrotate package handles
regular rotation and signaling daemons to open new files. You should be
able to figure out a suitable configuration from one of the files already
in /etc/logrotate.d/

As for the large log file you already have, I think split should be able to
break it into multiple pieces that you can read.

On 3 June 2016 at 16:42, David  wrote:

> Dear Group,
>
> I am running Syslog-ng on a Raspberry Pi, it stores the data sent to it
> on a 64G memory stick. It's working very well.
>
> I retrieve the syslog file by SSHing into the Pi and copying the file to
> my main PC.
>
> The problem I have is that the file has now grown to 3.7G and normal
> text editors wont open it.
>
> Can anybody recommend a text editor or text viewer that will work with
> large files?
>
> The solution going forward is to get Syslog-ng to start a new file every
> month, anybody know if this is possible?
>
> regards,
>
> David.
>
>
>


-- 
Cheers,

Andrew.


Re: Syslog-NG

2016-06-03 Thread Joe
On Fri, 03 Jun 2016 07:42:46 +0100
David  wrote:

> Dear Group,
> 
> I am running Syslog-ng on a Raspberry Pi, it stores the data sent to
> it on a 64G memory stick. It's working very well.
> 
> I retrieve the syslog file by SSHing into the Pi and copying the file
> to my main PC.
> 
> The problem I have is that the file has now grown to 3.7G and normal
> text editors wont open it.
> 
> Can anybody recommend a text editor or text viewer that will work with
> large files?

If all else fails, you can cut the file into chunks. The split and cat
utilities are one way to break and join files.

> 
> The solution going forward is to get Syslog-ng to start a new file
> every month, anybody know if this is possible?
> 

Logrotate is the log management utility, syslog-ng doesn't need to deal
with this. The syslog-ng on my server saves to standard /var/log system
files, so that all happens automatically.

If you're saving to a specific new file, you need a new logrotate.conf
entry, preferably a new file in /etc/logrotate.d.

-- 
Joe



OpenJDK-8-jre-jamvm mips version start failed

2016-06-03 Thread 飞颜
Dear Group,

   I used QEMU run Debian8.4(jessie) MIPS(big endian) version, I need use
java environment for develop OSGI bundles.

   openjdk hospot jvm is very slow, i want to change to jamvm, but it can
not start successfully. the error meaasge is below:

  java: relocation error:
/usr/lib/jvm/java-8-openjdk-mips/jre/lib/mips/libjava.so: symbol
JVM_GetResourceLookupCacheURLs, version SUNWprivate_1.1 not defined in file
libjvm.so with link time reference.

  how can I solved this issue? thanks.

  I used command apt-get install openjdk-8-jre-jamvm for installing jre,
and use jessie-backport source as below:
  deb http://httpredir.debian.org/debian jessie-backports main contrib
non-free


I also got patch about this issue, how to patch openjdk-8-jre-jamvm mips
version?

https://github.com/xranby/jamvm/commit/25b39703b2c3468f666f6175ff94e46526d402a7

Regards,
Wayne


Re: Syslog-NG

2016-06-03 Thread David
On Fri, 2016-06-03 at 08:16 +0100, Joe wrote:
> On Fri, 03 Jun 2016 07:42:46 +0100
> David  wrote:
> 
> > Dear Group,
> > 
> > I am running Syslog-ng on a Raspberry Pi, it stores the data sent to
> > it on a 64G memory stick. It's working very well.
> > 
> > I retrieve the syslog file by SSHing into the Pi and copying the file
> > to my main PC.
> > 
> > The problem I have is that the file has now grown to 3.7G and normal
> > text editors wont open it.
> > 
> > Can anybody recommend a text editor or text viewer that will work with
> > large files?
> 
> If all else fails, you can cut the file into chunks. The split and cat
> utilities are one way to break and join files.
> 
> > 
> > The solution going forward is to get Syslog-ng to start a new file
> > every month, anybody know if this is possible?
> > 
> 
> Logrotate is the log management utility, syslog-ng doesn't need to deal
> with this. The syslog-ng on my server saves to standard /var/log system
> files, so that all happens automatically.
> 
> If you're saving to a specific new file, you need a new logrotate.conf
> entry, preferably a new file in /etc/logrotate.d.
> 
Dear Joe and Andrew,

Thank you for the very helpful advice.

I've used the split command and now have lots of smaller chunks.

Next to try the rotate to keep the original files to a manageable size.

regards,

David.




Execute sh script inside a new terminal windows

2016-06-03 Thread heqami...@runbox.com
Hi,

Is possible to execute a .sh inside a **new** terminal?

if inside a terminal I try to execute

gnome-terminal myscript.sh

I got a new terminal, but 'myscript.sh' will be ignored.

Thanks for help




Re: ssh-ing in inside private network

2016-06-03 Thread Lisi Reisz
On Wednesday 01 June 2016 23:07:55 David Wright wrote:
> On Tue 31 May 2016 at 20:31:32 (+0100), Lisi Reisz wrote:
> > On Thursday 31 March 2016 15:08:24 Brian wrote:
> > > On Thu 31 Mar 2016 at 13:27:35 +0100, Lisi Reisz wrote:
> > > > On Thursday 31 March 2016 12:28:57 to...@tuxteam.de wrote:
> > > > > 1. Each computer should have an SSH server running (on Debian that
> > > > > would be package openssh-server: in Debian it has priority
> > > > > "optional": I'd double-check that it's installed)
> > > >
> > > > It is installed.  How do I check that it is running?
> > >
> > > Use 'ssh user@somewhere'. 'Connection refused' is a good indication
> > > there is no ssh server on port 22.
> > >
> > > > Previously (under Wheezy) using Fish, I have been getting the first
> > > > part of the message and asked if I want to accept the new
> > > > identification. Fish presumably then edited the file.  So I need
> > > > static IPs fast!  or a hosts file?  I have some learning to do. 
> > > > Static IPs I have no problem over, I just
> > >
> > > The IP and host in /etc/hosts is fine. Alternatively, with avahi-daemon
> > > on the machines you would do 'ssh someone@eros.local'. Use with static
> > > or dynamic IPs and not have the bother of maintaining a hosts file.
> >
> > Right, I am making (slow) progress.  My next question is at the end after
> > my progress report.
> >
> > Here is how far I have got:
> >
> > I tried and failed to edit ~/.ssh/known_hosts because it was encrypted.
> > So I googled, and set it in ssh_conf to unencrypted.  It remained
> > encrypted, of course, so I did the following:
>
> The commands in https://lists.debian.org/debian-user/2016/03/msg01299.html
> handle encrypted ~/.ssh/known_hosts without your having to weaken security.
>
> $ ssh-keygen -l -v -f ~/.ssh/known_hosts -t ecdsa -F foo<-test
> $ ssh-keygen -f ~/.ssh/known_hosts -t ecdsa -R foo  <-remove
> (foo is the hostname or IP#.)

Thanks, David.  The main underlying purpose of all this is to do something 
about my woeful ignorance of, and lack of skill with, ssh-ing, via some real 
problems I need to solve.  When you sent that email originally I'm afraid I 
glazed over and didn't understand it, particularly as it is the kind of thing 
I have physical difficulty reading.  I didn't know what foo was anyway.  
Thanks for having the patience to repeat the information in a different way.

> > [...]
> >
> > So - the key changed when you change operating system.  A nuisance but
> > hardly surprising, and easily remediable after you kind souls showed me
> > the way.
>
> If you copy the keys from one OS to another (on the same host, of course),
> you shouldn't have this rigmarole.

I had worked that out as a principle, but not worked out how to do it in 
practice.  That was for another day!

> The files concerned are: 

So thank you very much for this.
>
> $ ls -l1 /etc/ssh/*key*
> -rw--- 1 root root  668 Apr 28  2014 /etc/ssh/ssh_host_dsa_key
> -rw-r--r-- 1 root root  599 Apr 28  2014 /etc/ssh/ssh_host_dsa_key.pub
> -rw--- 1 root root  227 Apr 28  2014 /etc/ssh/ssh_host_ecdsa_key
> -rw-r--r-- 1 root root  171 Apr 28  2014 /etc/ssh/ssh_host_ecdsa_key.pub
> -rw--- 1 root root 1679 Apr 28  2014 /etc/ssh/ssh_host_rsa_key
> -rw-r--r-- 1 root root  391 Apr 28  2014 /etc/ssh/ssh_host_rsa_key.pub
> $
>
> The posting referred to above also contained a quick fix to temporarily
> circumvent said rigmarole (without copying the keys) if you need to
> flip between OSes a lot (ie use /dev/null as your known_hosts file).
>
> ssh -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null
> user@host

I hadn't picked this up either.  I simply hadn't understood the email.  This 
may be the best solution for 198.162.0.5, Hermes.

Thanks for the help, 

Lisi





Re: ssh-ing in inside private network

2016-06-03 Thread Lisi Reisz
On Wednesday 01 June 2016 14:43:29 Mark Fletcher wrote:
> On Wed, Jun 1, 2016 at 9:10 PM Dan Purgert  wrote:
> > Lisi Reisz wrote:
> > > On Tuesday 31 May 2016 23:56:02 Richard Hector wrote:
> > >> On 01/06/16 07:31, Lisi Reisz wrote:
> > >> > Now to do what I really wanted to do all along, and ssh in to run
> >
> > level
> >
> > >> > one as root:
> > >> >
> > >> > lisi@Tux-II:~$ ssh root@192.168.0.5
> > >> > ssh: connect to host 192.168.0.5 port 22: No route to host
> > >> > lisi@Tux-II:~$ ssh lisi@192.168.0.5
> > >>
> > >> Run level one? AKA single user mode? I wouldn't expect to find sshd
> > >> running in single user mode. Without checking, I'm not sure I'd even
> > >> expect networking to be up.
> > >>
> > >> Richard
> > >
> > > Yes, I had come to the conclusion that that was probably the problem.
> > > Networking does appear to be up since nmap found a host having scanned
> > > the ports.
> >
> > You'll need to reset the init script to fire at runlevel 1.  Not sure
> > how you go about this in a systemd setup.
> >
> > That being said, the 'init' manpage has the following warning:
> >
> > # On  a  Debian  system,  entering  runlevel 1 causes all processes to be
> > # killed except for kernel threads and the script that does  the killing
> > # and other processes in its session.  As a consequence of this, it isn't
> > # safe to return from runlevel 1 to a multi-user runlevel:  daemons that
> > # were  started  in runlevel S and are needed for normal operation are no
> > # longer running.  The system should be rebooted.
> >
> > I'm not sure if this holds for systemd-init though.
>
> To add to that, and not to make value judgements, but the point of Runlevel
> 1 is that it is single user mode. The whole point is that there is only one
> person logged in, _via the console_, and no one else can be logged in doing
> anything, and therefore it is safe to perform maintenance like taking disks
> offline to back them up (back in the days when that was the main / only way
> to do it) or other similar maintenance tasks.
>
> So, running the ssh daemon in Runlevel 1 is like, well, like trying to fit
> brake blocks to a tomato. It just doesn't make a lot of sense. I think I
> missed what you were actually trying to do but does it really need to be
> done in Runevel 1? Because Runlevel 1 and remote access to the machine
> aren't concepts that belong in the same sentence, at least without a
> negative.
>
> Sorry, probably not what you wanted to hear but...

What I wanted to do was learn!  This is obvious once one thinks about it, but 
hitting it was a good way to learn.  I shall not forget in a hurry that no 
servers are running by default in Run Level 1.  I wanted to log in without X 
and runlevel 1 has no X.

Thanks for your time and help, Mark and Dan (and Richard, and everyone else, 
of course).

Lisi  



Re: Execute sh script inside a new terminal windows

2016-06-03 Thread Erwan David
On Fri, Jun 03, 2016 at 10:54:29AM CEST, "heqami...@runbox.com" 
 said:
> Hi,
> 
> Is possible to execute a .sh inside a **new** terminal?
> 
> if inside a terminal I try to execute
> 
> gnome-terminal myscript.sh
> 
> I got a new terminal, but 'myscript.sh' will be ignored.
> 
> Thanks for help
> 

man gnome-terminal says it all :
gnome-terminal -e myscript.sh

that's the standard option for all terminal emulators.



Re: ssh-ing in inside private network

2016-06-03 Thread Lisi Reisz
On Wednesday 01 June 2016 18:52:40 David Wright wrote:
> AIUI one can configure a box to run X in all runlevels but 1;
> however, there's no need to do it that way. None of my machines
> run X automatically at runlevel 2: I have to use startx.

This is indubitably true, but irrelevant to the problem at hand.  It does 
however suggest that it would be worth setting up a, say Run Level 3, without 
X.  

But a default Ubuntu installation does not have it.

Lisi



Running without X was: Re: ssh-ing in inside private network

2016-06-03 Thread Lisi Reisz
On Friday 03 June 2016 10:07:13 Lisi Reisz wrote:
>  I wanted to log in without X
> and runlevel 1 has no X.

So I next tried to shut X down.  I have tried this before without success, so 
I googled again, and gathered that what I needed to do in fact was shut down 
my dm.  See:

https://wiki.debian.org/Xorg#Configure_X

I wanted to log-in without X in order to do:

$ cd /etc/X11/
# Xorg -configure

But I couldn't.  So I tried:

# /etc/init.d/gdm stop && /etc/init.d/gdm3 stop && /etc/init.d/kdm stop 
&& /etc/init.d/xdm stop

Here is what happened from then on (still over ssh, which may be relevant):
lisi@Hermes:~$ sudo su
[sudo] password for lisi:
root@Hermes:/home/lisi# /etc/init.d/gdm stop && /etc/init.d/gdm3 stop 
&& /etc/init.d/kdm stop && /etc/init.d/xdm stop
bash: /etc/init.d/gdm: No such file or directory

So Google for systemd, which is what I  think Ubuntu 16.04 is using.  Then:

root@Hermes:/home/lisi# systemctl list-units | grep -i manager
init.scope  
 
loaded active running   System and Service Manager
lightdm.service 
 
loaded active running   Light Display Manager
ModemManager.service
 
loaded active running   Modem Manager
NetworkManager-wait-online.service  
 
loaded active exitedNetwork Manager Wait Online
NetworkManager.service  
 
loaded active running   Network Manager
resolvconf.service  
 
loaded active exitedNameserver information manager
systemd-udevd.service   
 
loaded active running   udev Kernel Device Manager
udisks2.service 
 
loaded active running   Disk Manager
user@1000.service   
 
loaded active running   User Manager for UID 1000
root@Hermes:/home/lisi# systemctl stop lightdm.service   


root@Hermes:/home/lisi# systemctl stop lightdm.service
root@Hermes:/home/lisi# cd /etc/X11/
root@Hermes:/etc/X11# Xorg -configure

X.Org X Server 1.18.3
Release Date: 2016-04-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.13.0-85-generic x86_64 Ubuntu
Current Operating System: Linux Hermes 4.4.0-22-generic #40-Ubuntu SMP Thu May 
12 22:03:46 UTC 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic 
root=UUID=d2c7c24d-c672-4ff9-bb54-57537ca2123f ro quiet splash vt.handoff=7
Build Date: 07 April 2016  09:18:50AM
xorg-server 2:1.18.3-1ubuntu2 (For technical support please see 
http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun  1 16:34:34 2016
List of video drivers:
radeon
vmware
qxl
ati
intel
amdgpu
modesetting
nouveau
vesa
fbdev
No devices to configure.  Configuration failed.
(EE) Server terminated with error (2). Closing log file.
root@Hermes:/etc/X11#


root@Hermes:/etc/X11# logout
bash: logout: not login shell: use `exit'
root@Hermes:/etc/X11# exit
exit
lisi@Hermes:~$ logout
Connection to 192.168.0.5 closed.
lisi@Tux-II:~$ 
-

Where next???  Ubuntu on Hermes is currently unusable because of the graphics.  
Debian Jessie with TDE 14.0.4 on the same machine is running beautifully, and 
I didn't have to do anything other than choose a setting in the Control 
Center.

Yes, I know that this is the Debian list.  Half of me wants you to tell me to 
get rid of Ubuntu, even as a dual boot!!  But hey!  I am learning a bit about 
systemd as well as ssh.  Can't be bad. ;-/

FWIW it is Ubuntu-MATE (16.04).

Lisi



Re: ssh-ing in inside private network

2016-06-03 Thread Lisi Reisz
On Friday 03 June 2016 09:59:29 Lisi Reisz wrote:
> I didn't know what foo was anyway.

I meant that I didn't know specifically what foo was in that context.

Lisi



libreCAD, can't find help docs

2016-06-03 Thread Gene Heskett
Greetings all;

Wheezy, i386.

libreCAD looks like a simple enough cad I could learn how to use but it 
cannot find its help docs.

I do not see a separate docs package in the repo's.

Does anyone have a clue where they might be found?

Thanks all.

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: OpenJDK-8-jre-jamvm mips version start failed

2016-06-03 Thread James Cowgill
Hi,

On Fri, 2016-06-03 at 15:59 +0800, 飞颜 wrote:
> Dear Group,
> 
>    I used QEMU run Debian8.4(jessie) MIPS(big endian) version, I need use
> java environment for develop OSGI bundles.
> 
>    openjdk hospot jvm is very slow, i want to change to jamvm, but it can
> not start successfully. the error meaasge is below:

OpenJDK does not have a mips implementation of hotspot, it uses the
Zero VM on mips and yes it's very slow.

>   java: relocation error:
> /usr/lib/jvm/java-8-openjdk-mips/jre/lib/mips/libjava.so: symbol
> JVM_GetResourceLookupCacheURLs, version SUNWprivate_1.1 not defined in file
> libjvm.so with link time reference.
> 
>   how can I solved this issue? thanks.

I'm not sure how to solve it, but since it seems to affect amd64 as
well, I've filed it as bug #826206

https://bugs.debian.org/826206

Thanks,
James

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


Re: libreCAD, can't find help docs

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

On Fri, Jun 03, 2016 at 05:59:53AM -0400, Gene Heskett wrote:
> Greetings all;
> 
> Wheezy, i386.
> 
> libreCAD looks like a simple enough cad I could learn how to use but it 
> cannot find its help docs.
> 
> I do not see a separate docs package in the repo's.
> 
> Does anyone have a clue where they might be found?

Hmmm. Looking at the package files (e.g. [1]), the manual page is the
only thing which looks like documentation.

Have you tried "man librecad"?

regards

[1] 

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

iEYEARECAAYFAldRX0sACgkQBcgs9XrR2kbjEACcCEVn18uaRxHK6bP+yTbw2iD7
jXIAn3FI4HnYgaATJdL2Ogvxm86b8z4v
=+w0Y
-END PGP SIGNATURE-



Re: libreCAD, can't find help docs

2016-06-03 Thread Lisi Reisz
On Friday 03 June 2016 10:59:53 Gene Heskett wrote:
> Greetings all;
>
> Wheezy, i386.
>
> libreCAD looks like a simple enough cad I could learn how to use but it
> cannot find its help docs.
>
> I do not see a separate docs package in the repo's.
>
> Does anyone have a clue where they might be found?
>
> Thanks all.
>
> Cheers, Gene Heskett

http://wiki.librecad.org/index.php/Main_Page
http://wiki.librecad.org/index.php/LibreCAD_users_Manual

GIYF??? ;-)

Lisi



Pursuant to my efforts to remove, and update the remaining :amd64 built packages

2016-06-03 Thread Gene Heskett
Greetings all;

I re-added the amd64 architecture to the architecture's in dpkg/synaptic, 
but the package -> force-version remains stubbornly ghosted, so I cannot 
fix any broken patckages that are preventing the install of any updates.

So I try to have dpkg remove the amd64 aarchitecture, but now get a 
database is locked error.  The system is working, quite stably, but I 
cannot update anything.  A dpkg -C spits out about 60 files in error, 
all tagged :amd64.

What are the steps I should take to fix this?

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: libreCAD, can't find help docs

2016-06-03 Thread Gene Heskett
On Friday 03 June 2016 06:43:23 to...@tuxteam.de wrote:

> On Fri, Jun 03, 2016 at 05:59:53AM -0400, Gene Heskett wrote:
> > Greetings all;
> >
> > Wheezy, i386.
> >
> > libreCAD looks like a simple enough cad I could learn how to use but
> > it cannot find its help docs.
> >
> > I do not see a separate docs package in the repo's.
> >
> > Does anyone have a clue where they might be found?
>
> Hmmm. Looking at the package files (e.g. [1]), the manual page is the
> only thing which looks like documentation.
>
> Have you tried "man librecad"?

Now, yes, its about a 6 line manpage that points 
to /usr/share/doc/librecad, which contains a changelog.gz, copyright, 
(std gpl2+) and the last file there is the README.debian and it is a 5 
line file.  Pretty thin in other words.  Their web page mentions 
downloading the librecad-doc file, but no links to it.

> regards
>
> [1] 
>
> -- 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: libreCAD, can't find help docs

2016-06-03 Thread Gene Heskett
On Friday 03 June 2016 07:03:54 Lisi Reisz wrote:

> On Friday 03 June 2016 10:59:53 Gene Heskett wrote:
> > Greetings all;
> >
> > Wheezy, i386.
> >
> > libreCAD looks like a simple enough cad I could learn how to use but
> > it cannot find its help docs.
> >
> > I do not see a separate docs package in the repo's.
> >
> > Does anyone have a clue where they might be found?
> >
> > Thanks all.
> >
> > Cheers, Gene Heskett
>
> http://wiki.librecad.org/index.php/Main_Page
> http://wiki.librecad.org/index.php/LibreCAD_users_Manual
>
> GIYF??? ;-)
>
That, sadly, is for version 2.0, apparently much more capable than the 
version in the repo's which is 1.07, and 6 years old.
I tried to install freecad as I have some experience with it on *buntu 
10-04 LTS, but that blew up my database and I now have about 70 :amd64 
files installed on an i386 system.  And neither synaptic nor dpkg will 
let me fix it.  See my other msg this morning.

I may have to see if I can upodate to jessie yet. In which case I do it 
as amd64 as I believe the linuxcnc simulation will run on it.  The real 
thing will not, the amd64 latency is horrible.  But the simulator is 
running on an amd64 kernel right now.

root@coyote:/var/cache/apt/archives# uname -a
Linux coyote 3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-ckt25-2~bpo70+1 
(2016-04-12) x86_64 GNU/Linux

And its happy as a clam.

Thank Lisi.
> Lisi


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 



jessie install cd no network

2016-06-03 Thread Javier Marcon
Hello, I downloaded the Jessie install cd and added a preseed file to
automatically install some packages, but running the install cd does not
recognize the realtek network cards, telling me that no network hardware
was detected.

If I install it in a Virtualbox machine (with a phisical disk mapped)
and then I boot with that disk, the network cards work perfectly.

the cards I have are:

javier@javier-System-Product-Name:~$ lspci | grep -i ethernet
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 10)

How can I make the debian installer to automatically boot these modules
in the kernel?

Thanks,

Javier.



Re: SOS

2016-06-03 Thread Michael Milliman



On 06/02/2016 09:19 AM, Lisi Reisz wrote:

On Thursday 02 June 2016 09:44:51 to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[CCed, because probably not on list. Perhaps it's just a spam
trap -- so be it]

He had already had two replies to the same question, which he is here asking
for the second time, cc'd to his address, which he has ignored.

  
https://lists.debian.org/msgid-search/CAFqwwS7ubTdCQmkbOOS9ATs2EH9akxayeD=fvxfroatp4la...@mail.gmail.com

and
https://lists.debian.org/msgid-search/20160601112243.44f52...@debian7.boseck208.net


On Thu, Jun 02, 2016 at 09:21:10AM +0100, john borley wrote:

Hi can you help me i’am  trying with out success to get your software off
my computer can you please advise me  .thank you mr j borley

Hi, john,

there sure are people on this list willing to help you, but you
will have to help us help you: which software are you trying to
get off your computer? How did you get it on your computer in
the first place?

It got there because his grandson put it there.  (He said last time.).

Lisi

However, what 'it' is is still in question.  Really strange all around.

regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAldP8gMACgkQBcgs9XrR2kaWJwCaAtMaf+OeEHI5pfLtM8kr/lAC
fGQAn2tfBg5q97NGkXGEI1h6+bjK0KHJ
=nWCZ
-END PGP SIGNATURE-


--
73's
Mike, WB6VQX



Re: SOS

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

On Fri, Jun 03, 2016 at 07:05:44AM -0500, Michael Milliman wrote:

[...]

> >It got there because his grandson put it there.  (He said last time.).
> >
> >Lisi
> However, what 'it' is is still in question.  Really strange all around.

Let's hope 'it' ain't an early beta of BloodDrone [1]

[1] 

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

iEYEARECAAYFAldRdEQACgkQBcgs9XrR2kaRvQCeJDa0C5PGDtXXpOKLT3uUJdpC
g/UAmwfc24YZv39Hh4wk+P1Gxefvn82L
=EB+u
-END PGP SIGNATURE-



Re: icons missing in kde 5 applications

2016-06-03 Thread Ariel Molinuevo
Ok. I managed to fix it following the instructions from here:
https://wiki.archlinux.org/index.php/Qt#Configuration_of_Qt5_apps_under_environments_other_than_KDE

and installing qt5ct from here:
http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/q/qt5ct/.

Regards.

Ariel


Re: jessie install cd no network

2016-06-03 Thread Javier Marcon
Thanks, the problem is with realtek pci and pci express ethernet cards.
I will try to find the module to add in /lib/firmware in the
installation cd to see if it works. the weird thig is that after
installing, the intalled debian uses the cards perfectly (but debian
installer) does not recognize them. The solution would be to make debian
installer cd to use the same kernel that installs, but I don't know how
to do it.

Thanks,

Javier.

El 03/06/16 a las 09:23, Haines Brown escribió:
> Javier, I reply privately because of my ignorance.
>
> If I understand correctly, you are saying that Jessie's base packages do
> not include firmware-ralink (because not open source?) and so you lack
> the wireless driver needed by your wireless card (such as rt2860.bin).
>
> This is an old problem. I've experienced it in terms of a netinst from a
> USB key. Early in the installation, the installer says it lacks
> necessary software and asks if you want to add it at this point. I've
> always just hooked up an ethernet cable, but my sense is that you can
> insert a key having on it /lib/firmware/ and the installer will
> use it.
>
> I have no idea about a CDROM installation, for I've not done that for some
> time. Perhaps a CDROM installation does not prompt you for the driver. I
> should also add that my recent experience is not with Debian, but with
> the Devuan fork of Jessie Debian.
>
> There's plenty of discussion of the issue on line, but just putting the
> drive on a key does not seem to work, and the reason may be that you must
> construction the /lib/firmware/ directory structure for it.
>
> Haines Brown
>
>



Re: enable telnetd?

2016-06-03 Thread Dan Purgert
Felix Miata wrote:
> Dan Purgert composed on 2016-06-02 19:57 (UTC):
>
>> Felix Miata wrote:
>
>>> I have no interest in answers explaining ssh and security risk. These are
>>> understood. All I'm interested in is capturing dmesg and logs from a test
>>> installation while normal logins are busy with segfaulting or otherwise
>>> inaccessible.
>
>> well, if /dev/tty# is shot because segfaulting (or otherwise
>> inaccessible), I wouldn't expect telnetd to help there any (unless
>> telnet uses a different pool of ttys).
>
> Actually I would expect it to use a different "pool", but this is not a 
> subject I know more than a trifle about.

Same here :(

> [snip]
> IOW, current need is past, but I'd still like to know what's wrong and
> get it fixed for a possible next time.

Good that you found / fixed the problem.

>> Would a serial console (i.e. /dev/ttyS0) suit your needs?
>
> Probably not well, something yet else to configure that I haven't
> needed to do in more than two decades, another cable to locate and
> connect, and likely for a one time only use. Or can serial connection
> be shared over existing ethernet?

No, serial connections are via serial ports, and won't traverse ethernet
networks (though you could probably get ethernet -> serial modems if you
really wanted to).  I have enough random network hardware that uses
serial consoles between my desk (a.k.a. "test bench") and my main
network kit, that adding in a serial null-modem cable for the server was
'no big deal' - just some config changes in /etc/inittab, and running
out to Microcenter.

After having more than a few occasions where something was mis-behaving
sufficently to *require* serial console access (thanks buggy router
flash media), it's becoming one of those things that I look for now, and
will spend extra money to get.  Sure, I might only use it once or twice
ever in the lifetime of the product (this being "at home" and all) ...
but it's cheap insurance.

-- 
Registered Linux user #585947
Github: https://github.com/dpurgert



Re: jessie install cd no network

2016-06-03 Thread Dan Purgert
Javier Marcon wrote:
> Hello, I downloaded the Jessie install cd and added a preseed file to
> automatically install some packages, but running the install cd does not
> recognize the realtek network cards, telling me that no network hardware
> was detected.

They probably need "non-free" drivers, which goes against how Debian
does things.  I ran into this with an intel WLAN card.  Just had the
driver *deb on a USB key that I installed once the system was running.

> If I install it in a Virtualbox machine (with a phisical disk mapped)
> and then I boot with that disk, the network cards work perfectly.

vbox emulates some rather "old" network cards (e.g. the intel
single-port gbit NICs that have been around since 2000 or so).  As I
recall, those cards have been in the kernel since the early 3.x releases
(if not 2.x), so Debian doesn't run into any "non-free" kernel module
issues.

-- 
Registered Linux user #585947
Github: https://github.com/dpurgert



Re: Running without X was: Re: ssh-ing in inside private network

2016-06-03 Thread Dan Purgert
Lisi Reisz wrote:
> On Friday 03 June 2016 10:07:13 Lisi Reisz wrote:
>>  I wanted to log in without X
>> and runlevel 1 has no X.
>
> So I next tried to shut X down.  I have tried this before without success, so 
> I googled again, and gathered that what I needed to do in fact was shut down 
> my dm.  See:
>
> https://wiki.debian.org/Xorg#Configure_X
>
> I wanted to log-in without X in order to do:
> [snip]
>
> Where next???  Ubuntu on Hermes is currently unusable because of the
> graphics. 
> Debian Jessie with TDE 14.0.4 on the same machine is running
> beautifully, and I didn't have to do anything other than choose a
> setting in the Control Center.

Honestly, I don't know how to do it with systemd (it will be installed
on one of my boxen over my dead body).

With sysvinit (or, Upstart, or any sane init system), it's as
simple as going into /etc/rc[X].d/ and then moving 'S##mdm' to
'K##mdm'[1], then changing /etc/inittab (for sysvinit) if you edited
your "not default" runlevel.  In my case, Debian defaults to RL2, so I
edited RL3 and set that as the default (to match the "standard" of
"Multi-User, without X).

For Upstart, you can do similar things, but it's a little different:

 - the "default" settings are in /etc/init/rc-sysinit.conf
 - the Upstart script needs to be told individually which runlevel(s) it
   can run at.

[X] = this is your runlevel (e.g. /etc/rc3.d/ for RL3)
[1] I just pulled mdm out of thin air.  If you're using something else
(gdm, slim, whatever), change that one instead.

>
> Yes, I know that this is the Debian list.  Half of me wants you to
> tell me to get rid of Ubuntu, even as a dual boot!!  But hey!  I am
> learning a bit about systemd as well as ssh.  Can't be bad. ;-/

get rid of systemd. ;)

Watch out in case you have systemd 230 (or if you don't and it becomes
an update) -- the systemd devs have decided that processes should die
when the user logs out - *EVEN THOSE THAT HAVE BEEN EXPLICITLY ALLOWED
WITH NOHUP*.

-- 
Registered Linux user #585947
Github: https://github.com/dpurgert



Re: jessie install cd no network

2016-06-03 Thread Steve McIntyre
Javier wrote:
>Hello, I downloaded the Jessie install cd and added a preseed file to
>automatically install some packages, but running the install cd does not
>recognize the realtek network cards, telling me that no network hardware
>was detected.
>
>If I install it in a Virtualbox machine (with a phisical disk mapped)
>and then I boot with that disk, the network cards work perfectly.
>
>the cards I have are:
>
>javier@javier-System-Product-Name:~$ lspci | grep -i ethernet
>04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
>RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
>06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
>RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 10)
>
>How can I make the debian installer to automatically boot these modules
>in the kernel?

At a guess you may just be missing firmware. Try using the
firmware-included netinst:

  http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
Who needs computer imagery when you've got Brian Blessed?



Re: icons missing in kde 5 applications

2016-06-03 Thread Stephen Allen
On Fri, Jun 03, 2016 at 07:27:41AM -0500, Ariel Molinuevo wrote:
> Ok. I managed to fix it following the instructions from here:
> https://wiki.archlinux.org/index.php/Qt#Configuration_of_Qt5_apps_under_environments_other_than_KDE
> 
> and installing qt5ct from here:
> http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/q/qt5ct/.
> 
> Regards.

Debian could learn a lot from the completeness of Arch Linux
Documentation. I use it myself, often.



Re: SOS

2016-06-03 Thread Stephen Allen
On Fri, Jun 03, 2016 at 02:12:52PM +0200, to...@tuxteam.de wrote:
> On Fri, Jun 03, 2016 at 07:05:44AM -0500, Michael Milliman wrote:
> 
> [...]
> 
> > >It got there because his grandson put it there.  (He said last time.).
> > >
> > >Lisi
> > However, what 'it' is is still in question.  Really strange all around.
> 
> Let's hope 'it' ain't an early beta of BloodDrone [1]
> 
> [1] 
> 

 See HURD on that timeline? 



Re: icons missing in kde 5 applications

2016-06-03 Thread Lisi Reisz
On Friday 03 June 2016 15:04:50 Stephen Allen wrote:
> On Fri, Jun 03, 2016 at 07:27:41AM -0500, Ariel Molinuevo wrote:
> > Ok. I managed to fix it following the instructions from here:
> > https://wiki.archlinux.org/index.php/Qt#Configuration_of_Qt5_apps_under_e
> >nvironments_other_than_KDE
> >
> > and installing qt5ct from here:
> > http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/q/qt5ct/.
> >
> > Regards.
>
> Debian could learn a lot from the completeness of Arch Linux
> Documentation. I use it myself, often.

It's a wiki. ;-)

Lisi



Re: SOS

2016-06-03 Thread Lisi Reisz
On Friday 03 June 2016 15:09:01 Stephen Allen wrote:
> On Fri, Jun 03, 2016 at 02:12:52PM +0200, to...@tuxteam.de wrote:
> > On Fri, Jun 03, 2016 at 07:05:44AM -0500, Michael Milliman wrote:
> >
> > [...]
> >
> > > >It got there because his grandson put it there.  (He said last time.).
> > > >
> > > >Lisi
> > >
> > > However, what 'it' is is still in question.  Really strange all around.
> >
> > Let's hope 'it' ain't an early beta of BloodDrone [1]
> >
> > [1] 
>
>  See HURD on that timeline?

It was the first thing I noticed!!  (My sight problems make separate, single, 
items easier to see.)  

Lisi



Re: dphys-swapfile why don't us fallocate to create swapfile

2016-06-03 Thread Lisi Reisz
On Thursday 02 June 2016 09:50:31 basti wrote:
> so why you don't use this?

Why doesn't who use it?

Lisi



Re: google-chrome-stable on Wheezy

2016-06-03 Thread SamuelOPH
​Hi Mike,​

2016-06-01 6:47 GMT-03:00 Mike McGinn :

> Hi Samuel,
> It is not an issue of need, it is an issue of time. I am the software
> engineer / server guy at work, so I use my laptop at work and home. When
> I upgraded from Squeeze it tool more than eight hours. I simply do not
> have a day to piss away right now. I will do it eventually as time permits.
>
> The computer is my tool, it is not the other way around.
>

​Just be careful then, because ​the only computer that never needs fixes is
the ones that are never used, and if you stick too long to Wheezy it can
take some time until you realize you're having more work than with
upgrading it (unless we're talking about a server), the browser issues are
the most easily seen.


Samuel Henrique O. P. [samueloph]


Re: Running without X was: Re: ssh-ing in inside private network

2016-06-03 Thread David Wright
On Fri 03 Jun 2016 at 10:28:32 (+0100), Lisi Reisz wrote:
> On Friday 03 June 2016 10:07:13 Lisi Reisz wrote:
> >  I wanted to log in without X
> > and runlevel 1 has no X.
> 
> So I next tried to shut X down.  I have tried this before without success, so 
> I googled again, and gathered that what I needed to do in fact was shut down 
> my dm.  See:
> 
> https://wiki.debian.org/Xorg#Configure_X
> 
> I wanted to log-in without X in order to do:
> 
> $ cd /etc/X11/
> # Xorg -configure
> 
> But I couldn't.  So I tried:
> [various sysvinit things to kill X]

> Here is what happened from then on (still over ssh, which may be relevant):

Well, I thought it might be, but when I tried it, all went smoothly,
and I got results identical with when I had done it locally.

> [various systemd things to kill X]

> root@Hermes:/etc/X11# Xorg -configure
> 
> X.Org X Server 1.18.3
> Release Date: 2016-04-04
> X Protocol Version 11, Revision 0
> Build Operating System: Linux 3.13.0-85-generic x86_64 Ubuntu
> Current Operating System: Linux Hermes 4.4.0-22-generic #40-Ubuntu SMP Thu 
> May 12 22:03:46 UTC 2016 x86_64
> Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic 
> root=UUID=d2c7c24d-c672-4ff9-bb54-57537ca2123f ro quiet splash vt.handoff=7
> Build Date: 07 April 2016  09:18:50AM
> xorg-server 2:1.18.3-1ubuntu2 (For technical support please see 
> http://www.ubuntu.com/support)
> Current version of pixman: 0.33.6
[...]
> vesa
> fbdev
> No devices to configure.  Configuration failed.
> (EE) Server terminated with error (2). Closing log file.
> root@Hermes:/etc/X11#

Just to note (you probably know this) that, apart from "No devices to
configure" and the lack of action, the failure message is normal.

> Where next???  Ubuntu on Hermes is currently unusable because of the 
> graphics.  

I haven't followed everything you did earlier wrt X. I take it that X
(which you killed above) is "working", but not to your liking? which
is why you want to (re)configure the Xserver. In which case, the
problem is way over my head, but AFAICT nothing to do with your using
ssh to do things through.

If X wasn't working at all (ie when you boot ubuntu, you get nothing)
then it would suggest there's no driver loaded that can run the
hardware. Unusual for ubuntu.

Sorry about the lack of further ideas. In tracking what you've been
doing, I did discover that it's obvious if you try to Xorg -configure
while X is running ((EE) Server is already active for display 0) and
that the point of failure when run as a user is the juggling of log
files; I had thought it would check for $UID=0 earlier than that.

Cheers,
David.



Re: google-chrome-stable on Wheezy

2016-06-03 Thread Mike McGinn


On 06/03/2016 10:28 AM, SamuelOPH wrote:
> ​Hi Mike,​
> 
> 2016-06-01 6:47 GMT-03:00 Mike McGinn  >:
> 
> Hi Samuel,
> It is not an issue of need, it is an issue of time. I am the software
> engineer / server guy at work, so I use my laptop at work and home. When
> I upgraded from Squeeze it tool more than eight hours. I simply do not
> have a day to piss away right now. I will do it eventually as time
> permits.
> 
> The computer is my tool, it is not the other way around.
> 
> 
> ​Just be careful then, because ​the only computer that never needs fixes
> is the ones that are never used, and if you stick too long to Wheezy it
> can take some time until you realize you're having more work than with
> upgrading it (unless we're talking about a server), the browser issues
> are the most easily seen.
> 
> 
> Samuel Henrique O. P. [samueloph]

I am buying a new laptop in February, this one will be eight years old
by then. Then I shall start clean with Jessie.

Mike

-- 
Mike McGinn KD2CNU
President, UU Congregation at Rock Tavern * www.uucrt.org
The  problem with quotes on the internet is that it is
often difficult to verify their authenticity --Abraham Lincoln
More kidneys than eyes ** Registered Linux User 377849



Re: libreCAD, can't find help docs

2016-06-03 Thread Joe
On Fri, 3 Jun 2016 07:36:24 -0400
Gene Heskett  wrote:

> On Friday 03 June 2016 07:03:54 Lisi Reisz wrote:
> 
> > On Friday 03 June 2016 10:59:53 Gene Heskett wrote:  
> > > Greetings all;
> > >
> > > Wheezy, i386.
> > >
> > > libreCAD looks like a simple enough cad I could learn how to use
> > > but it cannot find its help docs.
> > >
> > > I do not see a separate docs package in the repo's.
> > >
> > > Does anyone have a clue where they might be found?
> > >
> > > Thanks all.
> > >
> > > Cheers, Gene Heskett  
> >
> > http://wiki.librecad.org/index.php/Main_Page
> > http://wiki.librecad.org/index.php/LibreCAD_users_Manual
> >
> > GIYF??? ;-)
> >  
> That, sadly, is for version 2.0, apparently much more capable than
> the version in the repo's which is 1.07, and 6 years old.

It's worth trying to run the current version (2.0.9) on Sid if you can
organise it. It's still a bit buggy, but is improving fast with each
version. Older versions were *much* worse. I also use a Windows version
in emergencies, but that doesn't seem able to produce hard copy, or
even graphics files, so is presumably a slightly older version.

I used to use qcad, from [the community/free version of] which librecad
was forked, and as far as I recall, the basics were very similar. Qcad
still exists, but I believe the writers were not willing to port the
free version to QT4, hence the fork. It took a while for the librecad
people to sort out some really, really gross artefacts of the porting.
Serious use of the zoom required 'great peace of mind'.

I'd have thought that the 2.0 manual would be near enough to get
started. Layers and drawing primitives are pretty much universal,
things like extend and trim are less intuitive, but I don't think they
have changed much. The philosophy behind copying/moving seems
particularly non-intuitive, but easy once understood.

I don't think even the current version is great at importing other
drawing formats. and 'DXF' seems to be an aspiration rather than a
standard file format.

-- 
Joe



Re: Ideas to obtain text file list of emails in an IMAP folder?

2016-06-03 Thread Joe
On Fri, 03 Jun 2016 15:05:08 +0100
Ron Leach  wrote:

> List, good afternoon,
> 
> Have any debian-user readers ever tried to create a list of all the 
> email messages stored in an IMAP folder?
> 

Sorry if you're a determined non-programmer, but the quickest approach
might be a perl or php script. It's probably ten years ago now, but I recall
using php running on a remote web server to pick out MySQL transaction
emails from an IMAP server, decrypt and validate the SQL commands and
poke them into a local MySQL database linked to some php display pages,
deleting the email once the transaction was completed.

If you don't have someone who can do this quickly, it's probably not
practical. If it is, you get exactly what you want, not something
'nearly right' off the shelf, which changes after the next version
upgrade.

-- 
Joe



Acronis Software Users

2016-06-03 Thread Smith Alexis

Hello there, Would you be keen on Acronis Software Users List for your
deals and showcasing effort? We can give you Database from North
America, Latin America, EMEA, and APAC. Data Fields – Name, Title, 
Email, Phone Numbers, Company Name, and Company Details like Physical

Address, Web Address, Revenue Size, Employee Size and industry. The
following are the few focused on records you may be intrigued: QlikView,
Tableau, Microsoft BI, Alteryx, Jasper delicate, SAP Business Objects,
IBM Cognos, TIBCO Spotfire, Hadoop, Oracle BI, Sisense And some more.
Acronis Software Specialties: Acronis Backup and Recovery, Symantec,
Veeam, Macrium, BakBone Software, Softek, Sap, PowerQuest, IBM, and some
more. If it's not too much trouble survey and let me know whether you
are intrigued and I will hit you up with more data for the same.
Respects,
Smith Alexis

Advertising Executive To quit reaction "Expel" in the headline.



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


Re: libreCAD, can't find help docs

2016-06-03 Thread Gene Heskett
On Friday 03 June 2016 10:51:15 Joe wrote:

> On Fri, 3 Jun 2016 07:36:24 -0400
>
> Gene Heskett  wrote:
> > On Friday 03 June 2016 07:03:54 Lisi Reisz wrote:
> > > On Friday 03 June 2016 10:59:53 Gene Heskett wrote:
> > > > Greetings all;
> > > >
> > > > Wheezy, i386.
> > > >
> > > > libreCAD looks like a simple enough cad I could learn how to use
> > > > but it cannot find its help docs.
> > > >
> > > > I do not see a separate docs package in the repo's.
> > > >
> > > > Does anyone have a clue where they might be found?
> > > >
> > > > Thanks all.
> > > >
> > > > Cheers, Gene Heskett
> > >
> > > http://wiki.librecad.org/index.php/Main_Page
> > > http://wiki.librecad.org/index.php/LibreCAD_users_Manual
> > >
> > > GIYF??? ;-)
> >
> > That, sadly, is for version 2.0, apparently much more capable than
> > the version in the repo's which is 1.07, and 6 years old.
>
> It's worth trying to run the current version (2.0.9) on Sid if you can
> organise it. It's still a bit buggy, but is improving fast with each
> version. Older versions were *much* worse. I also use a Windows
> version in emergencies, but that doesn't seem able to produce hard
> copy, or even graphics files, so is presumably a slightly older
> version.
>
> I used to use qcad, from [the community/free version of] which
> librecad was forked, and as far as I recall, the basics were very
> similar. Qcad still exists, but I believe the writers were not willing
> to port the free version to QT4, hence the fork. It took a while for
> the librecad people to sort out some really, really gross artefacts of
> the porting. Serious use of the zoom required 'great peace of mind'.
>
> I'd have thought that the 2.0 manual would be near enough to get
> started. Layers and drawing primitives are pretty much universal,
> things like extend and trim are less intuitive, but I don't think they
> have changed much. The philosophy behind copying/moving seems
> particularly non-intuitive, but easy once understood.
>
> I don't think even the current version is great at importing other
> drawing formats. and 'DXF' seems to be an aspiration rather than a
> standard file format.

I don't have a preference for output file format, as long as it will 
convert to RS-274-D gcode.  I have a simple little project, I need to 
make a small bar, with two screws to attach it to another piece of the 
same material, in this case 1/2" thick alu, carrying a jack screw in the 
other end of it that can be adjusted to serve as a coggedd belt 
tightening jack, with the screw bridging the space between the top of a 
jackshaft frame I made several years ago, but with when mounted using 
the OEM motor mounts, allows the shaft to rise, slackening the belt 
enough to allow it to hop cogs when heavily loaded.  This allows the 
spindle to stop in just a few degrees of rotation while the driving 
pulley, with a 1 HP motor behind it now, to finish burning up the belt, 
long before I can hit the big yellow kill button.  This lathe is a piece 
of junk from the gitgo, but I'm stuck with it. Its been CNC'd with .001" 
acuracy screws for yonks, and I am hopeing that with the latest changes 
I am making to the drive train, I can reduce the frequency of belt 
burnups.  I have enough other machinery that I can do it without the 
drawings, so its not a do it this way or die situation.

But I would like at some point before I fall over, and I'm north of 80 
already, to master some cad program, preferably full 3d so I can maybe 
make some of this stuff and peddle it on ebay because there are a half a 
million copies of this thing been sold to unsuspecting people who didn't 
know any better, like me 20 years ago. :-)

Thanks Joe.

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: google-chrome-stable on Wheezy

2016-06-03 Thread Lisi Reisz
On Friday 03 June 2016 15:45:43 Mike McGinn wrote:
> I am buying a new laptop in February, this one will be eight years old
> by then. Then I shall start clean with Jessie.

By next February (9 months away), shouldn't you be thinking of Stretch?  It 
will probably already be full-frozen, and Jessie will be nearly Old Stable.

http://news.softpedia.com/news/debian-9-stretch-freeze-delayed-to-integrated-linux-kernel-4-10-501330.shtml

Lisi



Re: Running without X was: Re: ssh-ing in inside private network

2016-06-03 Thread Lisi Reisz
On Friday 03 June 2016 15:32:14 David Wright wrote:
>  I did discover that it's obvious if you try to Xorg -configure
> while X is running

There's a hole in the bucket, dear Eliza

This is why I was trying to do it at single user level, to be *certain* that X 
wasn't running. :-)

X is there, but unusable because the resolution is taking almost everything 
off the screen.  Ubuntu is such a GUI based OS that I am getting nowhere 
fast.

But I have had some practice with ssh, with which I am getting more confident.  
I do now know roughly how to use it and just have to learn more.  Ubuntu is 
and was an aside.  I just have to decide what I want to do to nuke it and get 
my Debian back unmolested.

Thanks everyone for all the help.  I'll do a "SOLVED" and a proper report on 
my original post over the weekend.

Lisi



Re: Ideas to obtain text file list of emails in an IMAP folder?

2016-06-03 Thread Dan Purgert
Ron Leach wrote:
> List, good afternoon,
>
> Have any debian-user readers ever tried to create a list of all the 
> email messages stored in an IMAP folder?
>
> We run Dovecot as an IMAP server.  Email messages relating to 
> different projects/activities are held in different IMAP folders.  I'd 
> like to have a list, in a text file, of all the messages held in one 
> or other IMAP folder.  The best outcome would be a file listing each 
> message's From, To, Date, and Subject, and any order would do.  I only 
> need the list of messages, not the messages themselves.  The person 
> doing this would be the person whose mailbox it is, and would have the 
> IMAP passwords etc.
>
> [snip]

Do the same here (Dovecot + Postfix), not 100% certain if this'll match
your setup, but it should be pretty close.

ASSUMPTIONS BASED ON MY SETUP:
 | mailroot: /var/mail/vhosts/domain.tld
 | userdir: $mailroot/user
 | |-inbox: $userdir/cur
 | |-otherfolders: $userdir/directory/cur

In the inbox (or other folder), mails are referenced as long filenames
like -- 1464813605.M917021P29754.mailserver,S=49388,W=50440:2,d (not
that it matters, but it might be important to you).

And the headers are, well, standard.  So, we can pull the info out
pretty easily.  This is a terribad "I just wrote it right now" script,
but I think it covers what you want.  

It works here ... output looks like this:
 | Message: 1464237628.M592694P7866.[xxx],S=6188,W=6304:2,S
 | Subject: Re: Thanks
 | From: Peter 
 | Date: Wed, 25 May 2016 20:52:23 -0400
 | To: Dan Purgert 
 |
 | =
 |
 | [next message ...]


HTH, and happy hacking :)

< - @ - @ - CUT HERE FOR SCRIPT - @ - @ ->
#!/bin/bash

#
#
#   script: mlhdr   
#   by: Dan Purgert
#copyright: 2016
#  version: 0.1
# date: Fri Jun  3 11:33:44 EDT 2016
#  purpose: Quick and dirty script to help fellow
# : hacker Ron Leach with getting email  
# : header information.
#
#  license: GPL v2 (only)
#prerequisites: User running this MUST(RFC2119) be a
# : member of sudoers (or root).
# installation: chmod +x and run via sudo/as root.  
#
#


if [[ $EUID -ne 0 ]]; then 
  printf "\nSorry, this script must be run as root.\n"
  exit 0
fi

if [[ $# = 0 ]] || [[ "$1" = "-h" ]] ; then
  printf "
  
  mlhdr
   
  
  This script is intended to grab the header information from emails in
  the listed directory.  

  Usage:
mlhdr /path/to/mail/box [/output/file]
  
  Options:
-h Print this help and exit"
  exit 0
fi

spinner() {
  local pid=$1
  local del=0.5
  local sp='/-\|'
  local n=${#sp}
  printf ' ' >&2
  while [ $(ps a | awk '{print $1}' | grep $pid) ] ; do
printf '\b%s' "${sp:i++%n:1}" >&2
sleep $del
  done
}

if [[ "$2" = '' ]]; then
  :
else
  exec 1>"$2"
fi

chk=$(echo "${1:(-3)}")
if [[ "$chk" = "cur" ]]; then
  dir="$1"
else
  dir="$1/cur"
fi

cd "$dir"

(
  for f in *; do
printf "Message: $f\n"
egrep '^From:|^To:|^Date:|^Subject:' "$f"
printf "\n=\n\n"
  done ) & spinner $!

#END#

-- 
Registered Linux user #585947
Github: https://github.com/dpurgert



Re: Pursuant to my efforts to remove, and update the remaining :amd64 built packages

2016-06-03 Thread Jörg-Volker Peetz
Hi,

Gene Heskett wrote on 06/03/16 13:14:
> Greetings all;
> 
> I re-added the amd64 architecture to the architecture's in dpkg/synaptic, 
> but the package -> force-version remains stubbornly ghosted, so I cannot 
> fix any broken patckages that are preventing the install of any updates.
> 
> So I try to have dpkg remove the amd64 aarchitecture, but now get a 
> database is locked error.  The system is working, quite stably, but I 

Using aptitude I would command

  aptitude purge '~ramd64'

and maybe

  aptitude purge '~c'

which should remove leftover config files from packages previously removed.

Then again

  dpkg --remove-architecture amd64

Regards,
jvp.

> cannot update anything.  A dpkg -C spits out about 60 files in error, 
> all tagged :amd64.
> 
> What are the steps I should take to fix this?
> 
> Cheers, Gene Heskett
> 




Re: Pursuant to my efforts to remove, and update the remaining :amd64 built packages

2016-06-03 Thread Jörg-Volker Peetz
Jörg-Volker Peetz wrote on 06/03/16 20:09:
> Hi,
> 
> Gene Heskett wrote on 06/03/16 13:14:
>> Greetings all;
>>
>> I re-added the amd64 architecture to the architecture's in dpkg/synaptic, 
>> but the package -> force-version remains stubbornly ghosted, so I cannot 
>> fix any broken patckages that are preventing the install of any updates.
>>
>> So I try to have dpkg remove the amd64 aarchitecture, but now get a 
>> database is locked error.  The system is working, quite stably, but I 
> 
> Using aptitude I would command
> 
>   aptitude purge '~ramd64'

Sorry, this should be

  aptitude purge '~i~ramd64'

> 
> and maybe
> 
>   aptitude purge '~c'
> 
> which should remove leftover config files from packages previously removed.
> 
> Then again
> 
>   dpkg --remove-architecture amd64
> 
> Regards,
> jvp.
> 
>> cannot update anything.  A dpkg -C spits out about 60 files in error, 
>> all tagged :amd64.
>>
>> What are the steps I should take to fix this?
>>
>> Cheers, Gene Heskett
>>
> 
> 
> 




rsync deletion target files

2016-06-03 Thread Rodolfo Medina
Hi all Debian users.

rsync's `--delete' option works fine when the target directory is the same as
the sender one.  In the following example, I'm sending all the content of
/home/rodolfo from machine1 to /home/rodolfo in machine2:

 $ rsync --dry-run -vrtul --delete --exclude='/.*' . 192.168.0.2:/home/rodolfo

, and --delete works perfectly.  Instead, in this other example:

 $ rsync --dry-run -vrt --delete --modify-window=1 Mail News howto ... 
/mnt/pendrive/rodolfo

I'm copying various files from different places of my home directory to a
directory named `rodolfo' on the pendrive.  I want that all the files that are
not listed before `/mnt/pendrive' in the above command were deleted in the
destination, but this does not happen.  In rsync `man' page I can't find a
solution.  Please, whoever can, any suggestion about how to do so.

Thanks in advance for any help,

Rodolfo



CUPS under jessie

2016-06-03 Thread Alan McConnell
CUPS seems to be the standard printing SW used by Linux, or at least
by Debian.  But my CUPS is totally broken and I'd like to get rid of
it all and reinstall.  So I ran apt-get purge cups, but there
are still lots of cups-related files on my system, like in
/etc/cups/, /usr/lib/cups, /usr/share/cups, and likely other
places as well.

How do I make sure that my system is cups-clean, before I reinstall?

[ Background: I have a Canon 4770n three-in-one, connected to my
computer by a USB cable.  It is a very handsome piece of machinery,
it worked fine when I ran wheezy, but now that I've moved to jessie,
the printing part doesn't work at all.  However, the scanning capability
works just fine, as does the copying, which is of course independent of
the computer.  ]

I would be very grateful for any aid.  Just to show how bad things
are:  I try to access  http://localhost:631 on my iceweasel and I get
the message:  Unable to connect.? ? ? ?Aaaagghhh!!

Alan

-- 
Alan McConnell :  http://globaltap.com/~alan/
The beauty of an object, a song, or a dance can never be altogether
intrinsic, independent of old associations and acquired understanding.



Re: Hello Debian

2016-06-03 Thread Stuart Longland
On 02/06/16 20:48, Pier wrote:
> http://…
> pierg75@…

Yes, that's a URL and an email address.  Well done.  Now try again with
some actual relevant (to the list) content this time.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



signature.asc
Description: OpenPGP digital signature


Re: Pursuant to my efforts to remove, and update the remaining :amd64 built packages

2016-06-03 Thread Gene Heskett
On Friday 03 June 2016 14:09:21 Jörg-Volker Peetz wrote:

> Hi,
>
> Gene Heskett wrote on 06/03/16 13:14:
> > Greetings all;
> >
> > I re-added the amd64 architecture to the architecture's in
> > dpkg/synaptic, but the package -> force-version remains stubbornly
> > ghosted, so I cannot fix any broken patckages that are preventing
> > the install of any updates.
> >
> > So I try to have dpkg remove the amd64 aarchitecture, but now get a
> > database is locked error.  The system is working, quite stably, but
> > I
>
> Using aptitude I would command
>
>   aptitude purge '~ramd64'

Strange, a tilde in place of a - sign.  I had to stare at that a while before 
it registered. :)

This claims there are more than 40 and refuses.
> and maybe
>
>   aptitude purge '~c'

Spits out a list of 109 files, which will likely destroy the system. I did not 
allow it to continue.

Does it also have an install command that would install the i386 versions?  
That IS what this install originally was.

> which should remove leftover config files from packages previously
> removed.
>
> Then again
>
>   dpkg --remove-architecture amd64
>
Already done that, but had to use a text editor on the arch file. dpkg refused, 
claiming the database was busy.  And I rebooted after I did that.

> Regards,
> jvp.
>
> > cannot update anything.  A dpkg -C spits out about 60 files in
> > error, all tagged :amd64.

So I can't count, it was over a screenfull. :)

> > What are the steps I should take to fix this?
> >
> > Cheers, Gene Heskett

Thanks JVP.

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: Pursuant to my efforts to remove, and update the remaining :amd64 built packages

2016-06-03 Thread Gene Heskett
On Friday 03 June 2016 14:15:17 Jörg-Volker Peetz wrote:

> aptitude purge '~i~ramd64

Returns:

root@coyote:/var/lib/dpkg# aptitude purge '~i~ramd64'
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

Me goes off the handle some other chores, I'll check in an hour or so.

Thanks JVP.

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: Ideas to obtain text file list of emails in an IMAP folder?

2016-06-03 Thread Ron Leach

On 03/06/2016 17:31, Dan Purgert wrote:

Ron Leach wrote:

Have any debian-user readers ever tried to create a list of all the
email messages stored in an IMAP folder?



Do the same here (Dovecot + Postfix), not 100% certain if this'll match
your setup, but it should be pretty close.

[snip]

#!/bin/bash

[snip most of the the script body]
   done )&  spinner $!

#END#



Well.  That worked very well.  Clever, too; I was thinking I'd need to 
use the imap protocol to extract the headers from Dovecot, in the same 
way that an email client does.


I've never dabbled in scripts; I'm going to use this to learn about 
how they work.  I followed most of it but at the moment I don't 
understand how the script either

(a) finds each message (we're using Maildir), nor
(b) how it prints the 5 lines in each report stanza while only using 
one 'printf' statement.

But that's what I'm going to find out - tomorrow, now.

Anyway, it's doing exactly what I need.  I commented out the 
inter-message line of '', because it annoyed the downstream 
spreadsheet that I was using to analyse the output.


Dan, I'm much obliged,

regards

Ron



Re: CUPS under jessie

2016-06-03 Thread Lisi Reisz
On Friday 03 June 2016 21:00:52 Alan McConnell wrote:
> I would be very grateful for any aid.  Just to show how bad things
> are:  I try to access  http://localhost:631 on my iceweasel and I get
> the message:  Unable to connect.    ? ? ? ?    Aaaagghhh!!

You said that you purged CUPS.  Since you have removed it, how do you expect 
iceweasel to connect to it?  That doesn't show me "how bad things are", 
it shows me that you have successfully removed CUPS.

Lisi



Re: Pursuant to my efforts to remove, and update the remaining :amd64 built packages

2016-06-03 Thread Jörg-Volker Peetz
Some more explanations: these tilde-on-letter combinations are search patterns
for aptitude. "~c" stands for packages already removed but not purged, there are
some config files left on the system. See also "--purge --pending" in the man
page of dpkg.
So this does no harm if you don't intend to reinstall one of these packages.

Just to list these sort of packages command

  aptitude search '~c'

"~ramd64" addresses all packages for architecture amd64, "~i" addresses all
installed packages. The patterns can be combined, for example

  aptitude search '~c~ramd64'

Could you show what this command lists?
You said

  aptitude search '~i~ramd64'

didn't list any package, which would mean there is no amd64 package installed on
your system.

Could you also show the outcome of

  dpkg -l | grep ':amd64'

?

Regards,
jvp.




Re: Ideas to obtain text file list of emails in an IMAP folder?

2016-06-03 Thread Dan Purgert
Ron Leach wrote:
> On 03/06/2016 17:31, Dan Purgert wrote:
>> Ron Leach wrote:
>>> Have any debian-user readers ever tried to create a list of all the
>>> email messages stored in an IMAP folder?
>
>> Do the same here (Dovecot + Postfix), not 100% certain if this'll match
>> your setup, but it should be pretty close.
>>
>> [snip]
>>
>> #!/bin/bash
>>
>> [snip most of the the script body]
>>done )&  spinner $!
>>
>> #END#
>>
>
> Well.  That worked very well.  Clever, too; I was thinking I'd need to 
> use the imap protocol to extract the headers from Dovecot, in the same 
> way that an email client does.

Nah, IMAP is just a protocol for accessing the messages (similar to how
"HTTP" is the protocol for viewing "documents" over the internet).
Since you have direct access to the box, we can skip all that mess. 

> I've never dabbled in scripts; I'm going to use this to learn about 
> how they work.  

Really, the "scriptiest" parts are just the `if' conditions.  The actual
work is handled by grep.  TBH, you could've done this in a one-liner on
the commandline.

 - cd (maildir) ; for f in *; do egrep 'stuff' $f; done >> output_file.txt

alternately, if you have 'mail' installed:

 - cd (maildir) ; [...] ; done | mail -s"Email Report" you@host

Which would've sent it to you as an email.

> I followed most of it but at the moment I don't 
> understand how the script either
> (a) finds each message (we're using Maildir), nor

When you give it the path to the mail, the program changes directories
to where the mail is saved on the server.  Then the for loop uses a glob
(`*') to enumerate all files in the directory, and puts them into the
"list" identified as 'f'.

For each filename in the list ('f'), the filename that is being checked
is printed out, and then the command 'grep' is called, whose purpose is
to print out lines containing the expression you provide it. In this
case, the expression '^Date:|^To:|^From:|^Subject:' means "Match any
lines that contain 'Date:' OR 'To:' OR [...], and print them to
stdout[1]" 

The caret character -- ^ -- is a special character that means
"the beginning of a line"; meaning a line starting "Date:2016[...]"
would match (and be printed by grep), but one containing "on Date:2016"
would not, because that line does not begin with "Date:".


[1] "stdout" is 'standard output' -- typically, the screen.  There's a
portion of the code wherein I redirect stdout to a file if you've
supplied it, else it would print to the screen (and the spinner would
probably make a mess of things, unless you piped the output to something
else, or did the redirect outside the script).  In addition to "stdout",
you also have:

 - 'stderr' ('standard error'), which also defaults to printing to your
   screen.  It's what I used to get the spinner to work (probably not
   the best option per se, but I just threw this together).
 
 - 'stdin' ('standard input'), i.e. your keyboard. Can be redirected as
   well, though that syntax is "command *<* input", rather than using
   "command *>* output" for redirection to a file, or "cmd | cmd [...]"
   for piping one command's output to the input of the next command.


> (b) how it prints the 5 lines in each report stanza while only using 
> one 'printf' statement.

It's how grep works - it prints all lines that match what you're looking
for.

> But that's what I'm going to find out - tomorrow, now.
>
> Anyway, it's doing exactly what I need.  I commented out the 
> inter-message line of '', because it annoyed the downstream 
> spreadsheet that I was using to analyse the output.

Figured you were mainly after the list, hence the visual breaks :).

>
> Dan, I'm much obliged,

Glad it helped.  Feel free to hack away at it and edit it as you need.
If you use Usenet, there are some extremely knowledgable guys who tend
to hang out in alt.os.linux[.ubuntu] (along with us up-and-coming types).  


-- 
Registered Linux user #585947
Github: https://github.com/dpurgert



Re: Pursuant to my efforts to remove, and update the remaining :amd64 built packages

2016-06-03 Thread Gene Heskett
On Friday 03 June 2016 20:06:57 Jörg-Volker Peetz wrote:

> Some more explanations: these tilde-on-letter combinations are search
> patterns for aptitude. "~c" stands for packages already removed but
> not purged, there are some config files left on the system. See also
> "--purge --pending" in the man page of dpkg.
> So this does no harm if you don't intend to reinstall one of these
> packages.
>
> Just to list these sort of packages command
>
>   aptitude search '~c'
>
> "~ramd64" addresses all packages for architecture amd64, "~i"
> addresses all installed packages. The patterns can be combined, for
> example
>
>   aptitude search '~c~ramd64'
>
> Could you show what this command lists?
> You said
>
>   aptitude search '~i~ramd64'
>
Still does not return anything

> didn't list any package, which would mean there is no amd64 package
> installed on your system.
>
> Could you also show the outcome of
>
>   dpkg -l | grep ':amd64'

root@coyote:/var/lib/dpkg# dpkg -l | grep ':amd64' 
ii  gcc-4.7-base:amd644.7.2-5   

amd64GCC, the GNU Compiler Collection (base package)
ii  libacl1:amd64 2.2.51-8  

amd64Access control list shared library
ii  libasound2:amd64  1.0.25-4  

amd64shared library for ALSA applications
ii  libatk1.0-0:amd64 2.4.0-2   

amd64ATK accessibility toolkit
ii  libattr1:amd641:2.4.46-8

amd64Extended attribute shared library
ii  libaudiofile1:amd64   0.3.4-2   

amd64Open-source version of SGI's audiofile library
ii  libavahi-client3:amd640.6.31-2  

amd64Avahi client library
ii  libavahi-common-data:amd640.6.31-2  

amd64Avahi common data files
ii  libavahi-common3:amd640.6.31-2  

amd64Avahi common library
ii  libbz2-1.0:amd64  1.0.6-4   

amd64high-quality block-sorting file compressor library - 
runtime
ii  libcomerr2:amd64  1.42.5-1.1+deb7u1 

amd64common error description library
ii  libdatrie1:amd64  0.2.5-3   

amd64Double-array trie library
ii  libdbus-1-3:amd64 1.6.8-1+deb7u6

amd64simple interprocess messaging system (library)
ii  libdbus-glib-1-2:amd640.100.2-1 

amd64simple interprocess messaging system (GLib-based shared 
library)
ii  libevent-2.0-5:amd64  2.0.19-stable-3+deb7u1

amd64Asynchronous event notification library
ii  libffi5:amd64 3.0.10-3  

amd64Foreign Function Interface library runtime
ii  libfontconfig1:amd64  2.9.0-7.1 

amd64generic font configuration library - runtime
ii  libfreetype6:amd642.4.9-1.1+deb7u3  

amd64FreeType 2 font engine, shared library files
ii  libgcc1:amd64 1:4.7.2-5 

amd64GCC support library
ii  libglib2.0-0:amd642.33.12+really2.32.4-5

amd64GLib library of C routines
ii  libgssapi-krb5-2:amd641.10.1+dfsg-5+deb7u7  

amd64MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii  libhunspell-1.3-0:amd64   1.3.2-4   

amd64spell checker and morphological analyzer (shared library)
ii  libice6:amd64 2:1.0.8-2 

amd64X11 Inter-Client Exchange library
ii  libjasper1:amd64  1.900.1-13+deb7u4 

amd64JasPer JPEG-2000 runtime library
ii  libjbig0:amd642.0-2+deb7u1  

amd64JBIGkit libraries
ii  libjpeg8:amd648d-1+deb7u1   

amd64Independent JPEG Group's JPEG runtime library
ii  libk5crypto3:amd641.10.1+dfsg-5+deb7u7  

amd64MIT Kerberos runtime libraries - Crypto Library
ii  libkeyutils1:amd641.5.5-3+deb7u1

amd64Linux Key Management Utilities (library)
ii  libkrb5-3:amd64  

Re: SOS

2016-06-03 Thread Michael Milliman



On 06/03/2016 07:12 AM, to...@tuxteam.de wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Jun 03, 2016 at 07:05:44AM -0500, Michael Milliman wrote:

[...]


It got there because his grandson put it there.  (He said last time.).

Lisi

However, what 'it' is is still in question.  Really strange all around.

Let's hope 'it' ain't an early beta of BloodDrone [1]

[1] 

Deep belly laugh!!:-D

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

iEYEARECAAYFAldRdEQACgkQBcgs9XrR2kaRvQCeJDa0C5PGDtXXpOKLT3uUJdpC
g/UAmwfc24YZv39Hh4wk+P1Gxefvn82L
=EB+u
-END PGP SIGNATURE-



--
73's
Mike, WB6VQX



Re: CUPS under jessie

2016-06-03 Thread Alan McConnell
On Fri, Jun 03, 2016 at 11:15:22PM +0100, Lisi Reisz wrote:
> On Friday 03 June 2016 21:00:52 Alan McConnell wrote:
> > I would be very grateful for any aid.  Just to show how bad things
> > are:  I try to access  http://localhost:631 on my iceweasel and I get
> > the message:  Unable to connect.    ? ? ? ?    Aaaagghhh!!
> 
> You said that you purged CUPS.  Since you have removed it, how do you expect 
> iceweasel to connect to it?  That doesn't show me "how bad things are", 
> it shows me that you have successfully removed CUPS.
  Sorry for the misunderstanding.  I was describing how
bad things _were_.  I really wasn't trying to run cups after I had
 -- partially -- purged it.

Alan

-- 
Alan McConnell :  http://globaltap.com/~alan/
The beauty of an object, a song, or a dance can never be altogether
intrinsic, independent of old associations and acquired understanding.



Re: Teeny tiny console font after firmware-linux

2016-06-03 Thread Bob Bernstein
Sorry...sent this first using an incorrect -- for debian-user -- 
account. Bah. 



On Thu, 21 May 2015, Sven Arvidsson wrote:

It's probably a good idea to have the firmware packages 
installed, I think these are used to handle throttling to make 
sure it doesn't overheat.


As can be seen, when we last left Bob he was stuck with an 
impossibly small console font (or, is "terminal font" the correct 
verbiage?). Last night I hurled all caution to the wind and 
revisited this situation. For those keeping score at home, this is 
Jessie, sans systemd, running AMD64.


I discovered and remedied that I only had one of the 
firmware-linux-free/nonfree packages installed. Then I enabled 
framebuffer and began to run dpkg-reconfigure console-setup with 
some success. I now have Terminus2Bold 16x32 to use in my console, 
or terminal, or whatever.


But I want bigger, to accommodate my failing eyes. This leads me -- 
ta da, finally! -- to my _question_:


Will a given font appear smaller or larger if the screen 
resolution is increased or decreased?


To enable framebuffer I set in /etc/default/grub:

GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=1024x768
and rem'd out
# GRUB_TERMINAL=console

The output of 'hwinfo --framebuffer' suggests I have many other 
larger and smaller resolutions available to me, but I am not one 
to muck around with undue familiarity in those far reaches.


If I _knew_ that the result of setting a lesser resolution, say, 
800x600, would render those Terminus2Bold 16x32 jobbies "bigger" 
on my monitor, I would rally round and charge into it!


Thoughts?

Thanks!


--
Man is essentially a dreamer, wakened sometimes for a
moment by some peculiarly obtrusive element in the
outer world, but lapsing again quickly into the happy
somnolence of imagination.
Russell



Re: Teeny tiny console font after firmware-linux

2016-06-03 Thread Bob Bernstein

On Thu, 21 May 2015, Bob Bernstein wrote:


On Thu, 21 May 2015, Sven Arvidsson wrote:

It's probably a good idea to have the firmware packages 
installed, I think these are used to handle throttling to make 
sure it doesn't overheat.


As can be seen, when we last left Bob he was stuck with an 
impossibly small console font (or, is "terminal font" the 
correct verbiage?). Last night I hurled all caution to the wind 
and revisited this situation. For those keeping score at home, 
this is Jessie, sans systemd, running AMD64.


I discovered and remedied that I only had one of the 
firmware-linux-free/nonfree packages installed. Then I enabled 
framebuffer and began to run dpkg-reconfigure console-setup with 
some success. I now have Terminus2Bold 16x32 to use in my 
console, or terminal, or whatever.


But I want bigger, to accommodate my failing eyes. This leads me 
-- ta da, finally! -- to my _question_:


Will a given font appear smaller or larger if the screen 
resolution is increased or decreased?


To enable framebuffer I set in /etc/default/grub:

GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=1024x768
and rem'd out
# GRUB_TERMINAL=console

The output of 'hwinfo --framebuffer' suggests I have many other 
larger and smaller resolutions available to me, but I am not one 
to muck around with undue familiarity in those far reaches.


If I _knew_ that the result of setting a lesser resolution, say, 
800x600, would render those Terminus2Bold 16x32 jobbies "bigger" 
on my monitor, I would rally round and charge into it!


Thoughts?

Thanks!


--
Man is essentially a dreamer, wakened sometimes for a
moment by some peculiarly obtrusive element in the
outer world, but lapsing again quickly into the happy
somnolence of imagination.
Russell



Re: Ideas to obtain text file list of emails in an IMAP folder?

2016-06-03 Thread David Wright
On Sat 04 Jun 2016 at 00:06:34 (-), Dan Purgert wrote:
> Ron Leach wrote:
> > On 03/06/2016 17:31, Dan Purgert wrote:
> >> Ron Leach wrote:
> >>> Have any debian-user readers ever tried to create a list of all the
> >>> email messages stored in an IMAP folder?
> >
> >> Do the same here (Dovecot + Postfix), not 100% certain if this'll match
> >> your setup, but it should be pretty close.

> >>> [...] The person
> >>> doing this would be the person whose mailbox it is, and would have the
> >>> IMAP passwords etc.

> >> [snip]
> >>
> >> #!/bin/bash
> >> [...]

> >> if [[ $EUID -ne 0 ]]; then
> >>   printf "\nSorry, this script must be run as root.\n"
> >>   exit 0
> >> fi

> >> [snip most of the the script body]
> >
> > Well.  That worked very well.  Clever, too; I was thinking I'd need to 
> > use the imap protocol to extract the headers from Dovecot, in the same 
> > way that an email client does.
> 
> Nah, IMAP is just a protocol for accessing the messages (similar to how
> "HTTP" is the protocol for viewing "documents" over the internet).
> Since you have direct access to the box, we can skip all that mess. 

How does your script deal with the users' IMAP passwords, or prevent
the sudo-priveleged users from reading each others' emails?

I was interested in seeing how this problem would be tackled "through"
IMAP. I should be able coerce mutt into writing a fresh cache of the
headers in an INBOX thus:

Run mutt with a special configuration file: mutt -F conffile
and open the appropriate inbox:  -f imaps://.../INBOX
readonly if required:-R

conffile contains:
set header_cache=some-empty-directory
set imap_headers="X-ORIGINAL-TO RETURN-PATH"
set spoolfile="imaps://...passwords.../INBOX

The cache will appear in a folder under some-empty-directory and
any non-default headers can be included by setting imap_headers.

It might be sufficient to specify -f '!' (as spoolfile is set).

file says the resulting cache is a "Tokyo Cabinet (1.0:911)" and
I have no idea how to list its contents. It would be neat to have
a customised listing (with width unrestricted by the terminal) of
my INBOX on the IMAP server to which I *don't* have privileged access.

Cheers,
David.



Re: Teeny tiny console font after firmware-linux

2016-06-03 Thread Felix Miata

Bob Bernstein composed on 2016-06-03 21:48 (UTC-0400):


I discovered and remedied that I only had one of the
firmware-linux-free/nonfree packages installed. Then I enabled
framebuffer and began to run dpkg-reconfigure console-setup with
some success. I now have Terminus2Bold 16x32 to use in my console,
or terminal, or whatever.



But I want bigger, to accommodate my failing eyes. This leads me --
ta da, finally! -- to my _question_:



Will a given font appear smaller or larger if the screen
resolution is increased or decreased?



To enable framebuffer I set in /etc/default/grub:



GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=1024x768
and rem'd out
# GRUB_TERMINAL=console



The output of 'hwinfo --framebuffer' suggests I have many other
larger and smaller resolutions available to me, but I am not one
to muck around with undue familiarity in those far reaches.



If I _knew_ that the result of setting a lesser resolution, say,
800x600, would render those Terminus2Bold 16x32 jobbies "bigger"
on my monitor, I would rally round and charge into it!


Keeping all else equal, screen dimensions in mm or cm or inches in 
particular, changing resolution has a big impact on text size. Fewer pixels 
in a given space means a lower pixel density. So, conversely, more pixels in 
a given space means higher pixel density. A 16x32 glyph is nominally 16px 
wide by 32px tall. Those pixels necessarily take up more space as resolution 
and density are lowered.


In summary, 16x32 at a lower screen resolution translates to a bigger glyph 
on any given display.

--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Teeny tiny console font after firmware-linux

2016-06-03 Thread Bob Bernstein

On Fri, 3 Jun 2016, Felix Miata wrote:

In summary, 16x32 at a lower screen resolution translates to a 
bigger glyph on any given display.


Thanks. That comports with my feeble cogitations. I'll give her 
a whirl.



--
Man is essentially a dreamer, wakened sometimes for a
moment by some peculiarly obtrusive element in the
outer world, but lapsing again quickly into the happy
somnolence of imagination.
Russell



Re: updates on skylake power management issues?

2016-06-03 Thread Henrique de Moraes Holschuh
On Wed, 01 Jun 2016, Richard Hector wrote:
> Does anyone know where I can keep up to date with progress on fixing
> the problems? I scan the LKML archives occasionally, but haven't seen
> much that looks relevant.

lwn.net and LKML are, AFAIK, the only places you might get some
information about this.  Maybe Phoronix can be of some help as well.

> Also, does anyone have (or know where I can find) comments on how
> risky it actually is? I figure it can't be any worse than using the
> machine heavily, right? If it's running flat tack, it won't throttle
> back the CPU anyway? Is using my CPU to its fullest extent outside of
> reasonable use? Or am I misunderstanding it?

AFAIK, it is not going to damage the hardware, but it will age the
battery faster, since it will use it more.

However, and I cannot stress this enough: keep the BIOS/UEFI up-to-date.
For Skylake systems right now, that means check for BIOS updates every
month.

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



Re: How to properly install Radeon drivers for Sid

2016-06-03 Thread Mostafa Shahverdy
On Thu, Jun 02, 2016 at 11:54:00PM -0400, Felix Miata wrote:
> Mostafa Shahverdy composed on 2016-05-30 17:53 (UTC+0430):
> 
> > I have an ultra wide monitor that supports 2560x1080.
> > While I have a Radeon 5450 graphic card, running Debian Sid, I only can get 
> > 1920x1080.
> ...
> 
> I suggest you try purging xserver-xorg-video-ati and 
> xserver-xorg-video-radeon.
> I couldn't get Stretch's radeon to do 2560x1080 with HD5450 either, but
> 2560x1080 WFM with the built-in/native Xorg modeset driver, the recommended
> FOSS driver for non-ancient gfxchips in xserver versions >1.16.x:
> 
> http://fm.no-ip.com/SS/KDE/d9tde-desktop-2560x1080.jpg
I did. Now I get a better video (no glitches while playing movies). But
still I can get only 1920x1080.

I have to mention that using a DVI cable I can get 2560x1080, but it is
very very noisy. 

-- 
Regards,
Mostafa Shahverdy 


signature.asc
Description: PGP signature


Re: How to properly install Radeon drivers for Sid

2016-06-03 Thread Mostafa Shahverdy
On Thu, Jun 02, 2016 at 06:49:51PM +0200, Jörg-Volker Peetz wrote:
> Are there some relevant messages in dmesg or .xsession-errors ?
I could find these lines in my dmesg:

[   20.761805] [drm] radeon kernel modesetting enabled.
[   22.045156] radeon :01:00.0: Invalid PCI ROM header signature: expecting 
0xaa55, got 0x
[   22.045273] radeon :01:00.0: VRAM: 1024M 0x - 
0x3FFF (1024M used)
[   22.045276] radeon :01:00.0: GTT: 1024M 0x4000 - 
0x7FFF
[   22.045365] [drm] radeon: 1024M of VRAM memory ready
[   22.045366] [drm] radeon: 1024M of GTT memory ready.
[   22.155126] radeon :01:00.0: firmware: direct-loading firmware 
radeon/CEDAR_pfp.bin
[   22.229089] radeon :01:00.0: firmware: direct-loading firmware 
radeon/CEDAR_me.bin
[   22.246054] radeon :01:00.0: firmware: direct-loading firmware 
radeon/CEDAR_rlc.bin
[   22.588369] radeon :01:00.0: firmware: direct-loading firmware 
radeon/CEDAR_smc.bin
[   22.606661] [drm] radeon: dpm initialized
[   23.206287] radeon :01:00.0: firmware: direct-loading firmware 
radeon/CYPRESS_uvd.bin
[   23.207570] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
[   23.221016] radeon :01:00.0: WB enabled
[   23.221020] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00 and cpu addr 0x8800d8773c00
[   23.221022] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c and cpu addr 0x8800d8773c0c
[   23.221766] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c418 and cpu addr 0xc9c1c418
[   23.221771] radeon :01:00.0: radeon: MSI limited to 32-bit
[   23.221806] radeon :01:00.0: radeon: using MSI.
[   23.221835] [drm] radeon: irq initialized.
[   24.148893] fbcon: radeondrmfb (fb0) is primary device
[   24.239967] radeon :01:00.0: fb0: radeondrmfb frame buffer device
[   24.252077] [drm] Initialized radeon 2.43.0 20080528 for :01:00.0 on 
minor 0
[ 2701.713031] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
[ 2701.716292] radeon :01:00.0: WB enabled
[ 2701.716295] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00 and cpu addr 0x8800d8773c00
[ 2701.716296] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c and cpu addr 0x8800d8773c0c
[ 2701.717057] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c418 and cpu addr 0xc9c1c418
[29345.357054] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
[29345.360248] radeon :01:00.0: WB enabled
[29345.360251] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00 and cpu addr 0x8800d8773c00
[29345.360252] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c and cpu addr 0x8800d8773c0c
[29345.361071] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c418 and cpu addr 0xc9c1c418


I don't know why, but I can't find .xession-errors or I don't have such file in 
my system.
> 
> That I interpret as switching off of the GPU.
> What are the specifications of the graphic card regarding maximal electric
> energy consumption? On the web I found something like around 160 Watts.
> Can your power supply unit in the computer deliver that?
I think it can, It can deliver 800 watts. 
As I mentioned in the other email, I can get 2560x1080 using DVI cable,
but with very very poor quality. Can this all be related to cable? 

When I use DVI cable I see thi error on my _monitor_:

The screen is not currently set to the recommended resolution.
A DVI Dual-Link cable is provided.
Other DVI cables may be used, but they must be Dual-Link DVI cables.
Otherwise the video will not display or have poor quality.


-- 
Regards,
Mostafa Shahverdy 


signature.asc
Description: PGP signature


Re: How to properly install Radeon drivers for Sid

2016-06-03 Thread Felix Miata

Mostafa Shahverdy composed on 2016-06-04 10:16 (UTC+0430):


On Thu, Jun 02, 2016 at 11:54:00PM -0400, Felix Miata wrote:



Mostafa Shahverdy composed on 2016-05-30 17:53 (UTC+0430):



> I have an ultra wide monitor that supports 2560x1080.
> While I have a Radeon 5450 graphic card, running Debian Sid, I only can get 
1920x1080.
...



I suggest you try purging xserver-xorg-video-ati and xserver-xorg-video-radeon.
I couldn't get Stretch's radeon to do 2560x1080 with HD5450 either, but
2560x1080 WFM with the built-in/native Xorg modeset driver, the recommended
FOSS driver for non-ancient gfxchips in xserver versions >1.16.x:



http://fm.no-ip.com/SS/KDE/d9tde-desktop-2560x1080.jpg



I did. Now I get a better video (no glitches while playing movies). But
still I can get only 1920x1080.



I have to mention that using a DVI cable I can get 2560x1080, but it is
very very noisy.


I don't know, but were it not that in Windows 2560x1080 works OK I would 
suspect this meant you might have cables that aren't up to the task, or a 
possibly borderline defective HD5450. Maybe Linux, either kernel or driver or 
Xorg, is less efficient and needs higher quality cabling? How long are the 
cables you tried? What gauge is the HDMI cable's wires? Which version does 
your HDMI cable support, 1.1? 1.2? 1.3? 1.4?


Note that AIUI, DVI and HDMI video signals are the same, the main difference 
that I'm aware of between DVI and HDMI being that a DVI cable omits carriage 
of audio.


Video noise on DVI could be a software issue, DE/theme or driver or server. 
If it's theme or DE, disabling compositing or switching themes might be 
workarounds.


Possibly someone might be able to spot a remaining issue if you share this 
latest Xorg.0.log and .xsession-errors from using the HDMI cable and modeset 
driver - maybe even me. It could be a custom xorg.conf file could work around 
an EDID shortcoming that the Windows driver avoids.


Booting some other distribution's live media might be telling. It could be 
that your particular hardware in combination with Sid uncovers an Xorg or 
kernel bug that does not manifest elsewhere. Try the Knoppix 7.6 DVD or one 
of openSUSE's (42.1, kernel 4.1.21/server 1.17.2 or Tumbleweed, kernel 
4.6.0/server 1.18.3) or Fedora's latest (v23, kernel 4.5.5/server 1.18.3 via 
updates, or v24 beta, kernel 4.5.5/server 1.18.3).


I don't think I know enough to suggest any more except to refer to this very 
thread[1] by starting a thread on the xorg-driver-...@lists.x.org and/or the 
x...@lists.x.org list.


[1] https://lists.debian.org/debian-user/2016/05/msg01057.html
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/