(solved) Re: ssh fingerprint mismatch for one single client

2020-09-22 Thread Beco
> Yes. Given the data you've provided, I retract my first hunch: it seems
> your student is seeing a different host:
>
>  - either DNS resolves to a different IP address -- then you'd see
>different IP addresses for your server as viewed from your student's
>workstation wrt the "rest of the world
>
>  - or routing sends your student to a different host (claiming the
>same IP address, that stinks ;-)
>
> Traceroute might help in the second case. Besides, you wouldn't see your
> student's access attempts in your server logs -- after all, he's knocking
> at another door.
>
> Cheers
>  - t
>


Dear Linuxers,

I just want to close this issue by thanking everyone who chipped in with
help and attempts to solve the problem

Unfortunately the mistery will go on, because my student solve the problem
by  changing his  ISP server.

He told that the problem was solved immediately, as we predict and tested
(via mobile and the neighbor's internet).

So, I cannot run any more tests, and I'll stay curious about what really
happened.

My bet: the "homebrew ISP" has a DNS problem.

Thanks.

Dr. Bèco





-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09

Essa mensagem é destinada exclusivamente ao seu destinatário e pode conter
informações confidenciais, protegidas por sigilo profissional, direitos
autorais reservados, ou cuja divulgação seja proibida por lei. O uso não
autorizado de tais informações é proibido e está sujeito às penalidades
cabíveis.

This message is intended exclusively for its addressee and may contain
information that is confidential and protected by a professional privilege,
reserved copyright, or whose disclosure is prohibited by law. Unauthorized
use of such information is prohibited and subject to applicable penalties.


Re: ssh fingerprint mismatch for one single client

2020-09-20 Thread Beco
On Sun, 20 Sep 2020 at 13:59, Beco  wrote:


> I also asked him to bring his notebook to a neighbor to try to connect
> from there. We'll see his reply soon.
>
>
>
>

Update:

He went to his neighbor with his notebook in hand, tried there and he got
the correct fingerprint and connected to the server with no issues.



Cheers,
Beco



-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09

Essa mensagem é destinada exclusivamente ao seu destinatário e pode conter
informações confidenciais, protegidas por sigilo profissional, direitos
autorais reservados, ou cuja divulgação seja proibida por lei. O uso não
autorizado de tais informações é proibido e está sujeito às penalidades
cabíveis.

This message is intended exclusively for its addressee and may contain
information that is confidential and protected by a professional privilege,
reserved copyright, or whose disclosure is prohibited by law. Unauthorized
use of such information is prohibited and subject to applicable penalties.


Re: ssh fingerprint mismatch for one single client

2020-09-20 Thread Beco
ter
0 packets dropped by kernel



The server IP is correct (198.200.100.50 fictitious but correct)




> BTW, is the server in question public? I.e. can any of the list members
> connect to it and find out for themselves that's a good fingerprint
> looks like?

It is not, sorry about that.
But I think the command above "nmap" gives a good example.

Bad fingerprint:
ECDSA key fingerprint is
SHA256:+2abcdf2312QbKjdsafdkjfIOIjnCCDIOej129831jasROY.
or as md5:
|   256 5b:6b:4b:3b:2b:1b:8b:2b:7b:9b:9b:0b:3b:5b:4b:3b (ECDSA)

---

Good fingerprint:
AADSkjdsd98ajdasfnSlkjl2k342ASndsnfjdsfJKJOsdkn123ssasd2dscjcjodifjadsf8jdfjsncFLY
or as md5:
|   256 cc:99:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee (ECDSA)


> Reco
> Reco ends -


Also: i asked him to try connecting via cable (instead of wifi). Same
problem.

I also asked him to bring his notebook to a neighbor to try to connect from
there. We'll see his reply soon.

Thanks all for the rich input. I hope we can find something.



--
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09

Essa mensagem é destinada exclusivamente ao seu destinatário e pode conter
informações confidenciais, protegidas por sigilo profissional, direitos
autorais reservados, ou cuja divulgação seja proibida por lei. O uso não
autorizado de tais informações é proibido e está sujeito às penalidades
cabíveis.

This message is intended exclusively for its addressee and may contain
information that is confidential and protected by a professional privilege,
reserved copyright, or whose disclosure is prohibited by law. Unauthorized
use of such information is prohibited and subject to applicable penalties.


Re: ssh fingerprint mismatch for one single client

2020-09-19 Thread Beco
On Sat, 19 Sep 2020 at 18:55, mick crane  wrote:

>
> Just wild guess.
> Student can connect via the mobile network but not through the ISP
> router?
> Might that be the port for ssh on the router ?
>
> mick
>
> --
> Key ID4BFEBB31
>
>


Hello Mick,

Thanks for the interest.

Yes, student can connect via mobile.

And, somewhat "yes", student can kind of connect via ISP. It is not that
the port is blocking traffic.
The fingerprint appears, and if accepted the wrong one, the password is
asked for.

But then, of course, the connection fail.

Also, he was able to connect the day before. So whatever it is, it is
recent, and just for one single student.

Also, I asked him to check the router port 22 if it was ok. He did a hard
reset (factory reset) on it. He took a look and it is open.


My best,
Beco

-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09

Essa mensagem é destinada exclusivamente ao seu destinatário e pode conter
informações confidenciais, protegidas por sigilo profissional, direitos
autorais reservados, ou cuja divulgação seja proibida por lei. O uso não
autorizado de tais informações é proibido e está sujeito às penalidades
cabíveis.

This message is intended exclusively for its addressee and may contain
information that is confidential and protected by a professional privilege,
reserved copyright, or whose disclosure is prohibited by law. Unauthorized
use of such information is prohibited and subject to applicable penalties.


Re: ssh fingerprint mismatch for one single client

2020-09-19 Thread Beco
On Sat, 19 Sep 2020 at 18:46, Lucas Castro  wrote:

>
> Check if he's really reaching the right server.
>
> ping the server from his computer and check with tcpdump on server side.
>
> If not reaching the server, try traceroute to track where is going on.
>
>
> Local address or Internet address address?
>
> If local address, maybe he had already  accessed other server with the
> same address.
> --
>
> Lucas Castro
>
>

Dear Lucas, thanks for the interest.

The ping server side is disabled, so this test is not possible.
Traceroute from student to server shows it is the correct server.


Not a clue yet. Thanks


-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09

Essa mensagem é destinada exclusivamente ao seu destinatário e pode conter
informações confidenciais, protegidas por sigilo profissional, direitos
autorais reservados, ou cuja divulgação seja proibida por lei. O uso não
autorizado de tais informações é proibido e está sujeito às penalidades
cabíveis.

This message is intended exclusively for its addressee and may contain
information that is confidential and protected by a professional privilege,
reserved copyright, or whose disclosure is prohibited by law. Unauthorized
use of such information is prohibited and subject to applicable penalties.


ssh fingerprint mismatch for one single client

2020-09-19 Thread Beco
Dear linuxers,

I've a server and one of my students is getting a wrong fingerprint when
trying to connect via SSH.

After a lot of debug, we are still unable to pinpoint why.

The server didn't change IP or keys, and other students still log in ok
with the correct fingerprint. Just one student, let's call him Bob (because
why not), is not getting through.

I've asked Bob to try a different machine, which he does not have, being a
poor student. But he had a mobile, so after trying the app juiceSSH and
wifi on, he again got the wrong fingerprint.

I asked him to turn the wifi off for the mobile and yes, he got the correct
fingerprint.

I also asked him to run a full antivirus scan in his notebook (windows) and
nothing was found.

He also hard-reseted the router, still the problem continues.

He called the ISP for any clues, but it is a small company who doesn't know
the word "fingerprint" neither in english nor in their native language. So,
not much help there.

I also asked him to check if his IP is what he think it is, and he checked
with one of these "what is my IP" website and it is ok.

As for DNS, I asked him to try to ssh directly using the server's IP
instead of the name, but still the wrong fingerprint.

Kinda crazy, right? I run out of ideas...

What else should I try to help that student?

Thanks
Beco




-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09

Essa mensagem é destinada exclusivamente ao seu destinatário e pode conter
informações confidenciais, protegidas por sigilo profissional, direitos
autorais reservados, ou cuja divulgação seja proibida por lei. O uso não
autorizado de tais informações é proibido e está sujeito às penalidades
cabíveis.

This message is intended exclusively for its addressee and may contain
information that is confidential and protected by a professional privilege,
reserved copyright, or whose disclosure is prohibited by law. Unauthorized
use of such information is prohibited and subject to applicable penalties.


Re: cron consolekit pam_ck_connector.so: no such file

2020-09-15 Thread Beco
Thanks Reco,

I don't know how you keep up after all these years seen you here on the
debian list.

Congrats.

Beco.





On Tue, 15 Sep 2020 at 11:36, Reco  wrote:

> Hi.
>
> On Tue, Sep 15, 2020 at 11:19:39AM -0300, Beco wrote:
> > Is this pam module deprecated?
>
> Yes, it was removed from main archive back in 2018 - [1].
>
> > I can't find the package that provides it on
> > debian buster.
>
> There's no package in buster that provides the PAM module or ConsoleKit
> itself, see above.
>
> > What is the correct secure approach? Should I just remove the optional
> > session line from PAM config?
>
> Strictly speaking, deinstallation of "libpam-ck-connector" (I'm assuming
> it was installed on this system at some point) should have done that.
> But no package is bug-free, and ConsoleKit was not the best package in
> this regard.
>
> So, removing offending lines from the PAM configuration is the best
> course of action.
>
> Reco
>
> [1] https://tracker.debian.org/pkg/consolekit
>
>

-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09

Essa mensagem é destinada exclusivamente ao seu destinatário e pode conter
informações confidenciais, protegidas por sigilo profissional, direitos
autorais reservados, ou cuja divulgação seja proibida por lei. O uso não
autorizado de tais informações é proibido e está sujeito às penalidades
cabíveis.

This message is intended exclusively for its addressee and may contain
information that is confidential and protected by a professional privilege,
reserved copyright, or whose disclosure is prohibited by law. Unauthorized
use of such information is prohibited and subject to applicable penalties.


cron consolekit pam_ck_connector.so: no such file

2020-09-15 Thread Beco
Dear debians,

Is this pam module deprecated? I can't find the package that provides it on
debian buster.

And I get a lot of logs:

CRON: PAM adding faulty module: pam_ck_connector.so
SSHD: PAM adding faulty module: pam_ck_connector.so
unable to dlopen(pam_ck_connector.so): /lib/security/pam_ck_connector.so:
cannot open shared object file: No such file or directory


What is the correct secure approach? Should I just remove the optional
session line from PAM config?

I can't even find consolekit for buster.

Maybe this is old news (gentoo reports no activity on this since 2017), but
I'm only reading about it now.

Thanks in advance.


-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09

Essa mensagem é destinada exclusivamente ao seu destinatário e pode conter
informações confidenciais, protegidas por sigilo profissional, direitos
autorais reservados, ou cuja divulgação seja proibida por lei. O uso não
autorizado de tais informações é proibido e está sujeito às penalidades
cabíveis.

This message is intended exclusively for its addressee and may contain
information that is confidential and protected by a professional privilege,
reserved copyright, or whose disclosure is prohibited by law. Unauthorized
use of such information is prohibited and subject to applicable penalties.


(solved - part 2) Re: Missing a "9" (possible font missing)

2020-04-04 Thread Beco
On Sat, 4 Apr 2020 at 18:32, Dan Ritter  wrote:

> Beco wrote:
> > Yes, this test indeed solved the "9" becoming a dash.
> >
> > I could let that as is, but after many years using linux I learned that
> the
> > less you personalize your system, the less headache you will have in the
> > future.
> >
> > So, how can I undo some probable mistake in my system and get it back to
> > what it is like when first installed?
> >
> > Is there a debian package for Lucida Grande. I know I've tried to install
> > many out-of-repositories alternatives for Lucida Grande that I'm willing
> to
> > remove them all.
>
> Sorry, there is not. Lucida Grande is a variant of Lucida Sans that
> Apple commissioned and holds the copyright on.
>
> It's very likely that one of those out-of-repo alternatives is
> causing your problem; left to its own devices, the X11 font
> system will look for a reasonable match when it doesn't have
> precisely the font asked for. The fontconfig trick that I showed
> you is the proper way to inform it of a user preference; it is
> probably overriding something claiming to be Lucida Grande but
> with a poor excuse for a 9 glyph.
>
> Remove all the alternatives, and it should cope well enough.
>
>
> -dsr-
>


Dan,

I removed all Lucida crap from my system, and then I also removed that
small hack from
~/.fonts.conf

It is working ok now.

It is using an automatic alternative in the absence of Lucida Grande.
I can't say exactly what font it is using, but it is probably  what is
configured as firefox default (Dejavu Sans).

(That trick with firefox console don't show the actual font, only the one
chosen by the webmaster)



So, as a (second) solution, now I would again try to finish this thread
with (solved). In summary:

Do not install crap Lucida Grande fonts on your system.

If I find a better solution on days to come, I reply to this email.

Att.,

-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: Missing a "9" (possible font missing)

2020-04-04 Thread Beco
Dear Dan,

Yes, this test indeed solved the "9" becoming a dash.

I could let that as is, but after many years using linux I learned that the
less you personalize your system, the less headache you will have in the
future.

So, how can I undo some probable mistake in my system and get it back to
what it is like when first installed?

Is there a debian package for Lucida Grande. I know I've tried to install
many out-of-repositories alternatives for Lucida Grande that I'm willing to
remove them all.

Thanks,

Béco




On Sat, 4 Apr 2020 at 12:58, Dan Ritter  wrote:

> Beco wrote:
> > On Thu, 2 Apr 2020 at 20:03, Dan Ritter  wrote:
> >
> > > Beco wrote:
> > > > Guess I was wrong. The problem persists, now it looks like the
> problem is
> > > > Helvetica.
> > > >
> > > > I found this link:
> > > >
> > > > https://support.google.com/chrome/thread/2120514?hl=en
> > > >
> > > > I don't use chrome, I use firefox. But it appears that the problem
> > > happens
> > > > in both browsers.
> > > >
> > > > Still a mystery.
> > >
> > >
> > > Open up the offending page in Firefox. Find a paragraph where
> > > the 9 is missing.
> > >
> > > Use the three-bar menu, Web Developer, Inspector. That should
> > > open up a debugging console underneath the webpage.
> > >
> > > On the left of the debugging console you should see a tree of
> > > HTML elements. When you mouse over them, they will be
> > > highlighted and so will the relevant portion of the page. Some
> > > parts of the tree might be folded down into triangles, which you
> > > can open up.
> > >
> > > Find the smallest element that contains the 9. Click on it in
> > > the tree to select it.
> > >
> > > Now look over at the right side of the debugging console.
> > > There's a Fonts tab. It will show you the precise font being
> > > used.
> > >
> > > That is your culprit. Tell us and we'll see if we can help you
> > > remove it.
> > >
> > > -dsr-
> > >
> >
> >
> > Thanks Dan,
> >
> > Did that. Still Lucida Grande.
> >
> > I failed to install this font like 3 times from 3 different download
> sites.
> >
> > Any official debian solution to it?
>
>
> Let's try substitution at the X11 layer.
>
> This syntax in your ~/.fonts.conf will change the response for one
> font into an answer from another:
>
> 
>  Lucida Grande
>  
>   DejaVu Sans
>  
> 
>
> Add as many stanzas as you like; then run fc-cache and restart
> your application.
>
> -dsr-
>


-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: Missing a "9" (possible font missing)

2020-04-04 Thread Beco
On Thu, 2 Apr 2020 at 20:03, Dan Ritter  wrote:

> Beco wrote:
> > Guess I was wrong. The problem persists, now it looks like the problem is
> > Helvetica.
> >
> > I found this link:
> >
> > https://support.google.com/chrome/thread/2120514?hl=en
> >
> > I don't use chrome, I use firefox. But it appears that the problem
> happens
> > in both browsers.
> >
> > Still a mystery.
>
>
> Open up the offending page in Firefox. Find a paragraph where
> the 9 is missing.
>
> Use the three-bar menu, Web Developer, Inspector. That should
> open up a debugging console underneath the webpage.
>
> On the left of the debugging console you should see a tree of
> HTML elements. When you mouse over them, they will be
> highlighted and so will the relevant portion of the page. Some
> parts of the tree might be folded down into triangles, which you
> can open up.
>
> Find the smallest element that contains the 9. Click on it in
> the tree to select it.
>
> Now look over at the right side of the debugging console.
> There's a Fonts tab. It will show you the precise font being
> used.
>
> That is your culprit. Tell us and we'll see if we can help you
> remove it.
>
> -dsr-
>


Thanks Dan,

Did that. Still Lucida Grande.

I failed to install this font like 3 times from 3 different download sites.

Any official debian solution to it?

Thanks.

Dr. Bèco



-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: Missing a "9" (possible font missing)

2020-04-02 Thread Beco
Hi guys,

A while ago I started this thread.

After installing tt-mscorefonsts-installer I wrote a new email with the
subject "solved" on it.

Guess I was wrong. The problem persists, now it looks like the problem is
Helvetica.

I found this link:

https://support.google.com/chrome/thread/2120514?hl=en

I don't use chrome, I use firefox. But it appears that the problem happens
in both browsers.

Still a mystery.

Maybe I messed up my system fonts. I wonder if there is a way to clean all
fonts and the the system back to its original set of fonts from the
installation.

Any clue on how to do that?

My best,

Bèco




On Mon, 21 Oct 2019 at 19:04, Michael Lange  wrote:

> Hi,
>
> On Mon, 21 Oct 2019 17:39:24 -0400
> Larry Martell  wrote:
>
>
> >
> > There are many font finder apps. I use the WhatFont Chrome extension.
> > That page looks to be entirely in Verdana.
> >
>
> that depends on which fonts you have installed, according to the style
> sheet the requested font for the body is one of:
>
> "Segoe UI", Verdana, "Lucida Grande", Arial, Helvetica,sans-serif;
>
> however in the section "für die Turnierdatenbank" (tournament database)
> there is only
>
> FONT-FAMILY: "Lucida Grande", Verdana, Helvetica;
>
> Maybe this is the problem (although I would be surprised to learn that
> neither firefox nor chrome can handle this)? Anyway, installing
> ttf-mscorefonts-installer might be worth a try.
>
>
> Regards
>
> Michael
>
>
> .-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.
>
> There's a way out of any cage.
> -- Captain Christopher Pike, "The Menagerie" ("The Cage"),
>stardate unknown.
>
>

-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: (solved) Re: Missing a "9" (possible font missing)

2019-10-22 Thread Beco
On Tue, 22 Oct 2019 at 06:37, Nicolas George  wrote:

> Beco (12019-10-21):
> > Installing:
> >
> > # apt-get install ttf-mscorefonts-installer
> >
> > solved the mystery.
>
> No, it hid it.
>
> Regards,
>
> --
>   Nicolas George
>


Hello Nicolas,

Yes, you are right, from the point of view of whoever is the webmaster.

But as I'm just a user in this case, it is solved in my end.

I'll send an email to the webmaster to let them know about the problem.
Though I have no hopes, and no intention to follow up.

Thanks,

Beco




-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


(solved) Re: Missing a "9" (possible font missing)

2019-10-21 Thread Beco
Dear Michael,

You got it right:

[...]

> "Segoe UI", Verdana, "Lucida Grande", Arial, Helvetica,sans-serif;
>
> however in the section "für die Turnierdatenbank" (tournament database)
> there is only
>
> FONT-FAMILY: "Lucida Grande", Verdana, Helvetica;
>
> Maybe this is the problem (although I would be surprised to learn that
> neither firefox nor chrome can handle this)? Anyway, installing
> > ttf-mscorefonts-installer might be worth a try.
>
> Regards
> Michael
>


Installing:

# apt-get install ttf-mscorefonts-installer

solved the mystery.

Thanks.

Att.,
Beco




-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Missing a "9" (possible font missing)

2019-10-21 Thread Beco
Hi guys,

When I open this website:

https://chess-results.com/

Every "9" is written as a dash "-". If you look for any event year for the
current year you (well, at least me) will see 201-

I'm not sure how this come to be. I tried to look at the "html page source"
to detect what font it uses, but I saw no explanation there.

Some time ago I remember removing A LOT of fonts I don't need from my
computer (mostly not-latin). So maybe I removed something I shouldn't.

I tried with firefox and google chrome, both the same results. I installed
back
fonts-ibm-plex and fonts-noto-core to test, but still no "9" at the page.

I thought maybe it was a site problem, but when I used virtualbox and
chrome over windows 10, the "9" was there.

I changed the default font from firefox to "liberartion sans" but no luck.

Not sure how to proceed. What is the mystery?

My best,

Bèco.

-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: (solved) Re: Dual boot: one legacy, the other uefi

2019-10-14 Thread Beco
Hello guys,

As I promised, here a more detailed solution, with the steps I really used:


The problem:

* You have a Windows 10 UEFI and a Linux Legacy boot. They both work, but
to choose what to boot you need to change the BIOS option each time.

Possible solutions discussed in the thread:
1. Let it be. Don't try to fix what ain't broke.
2. Try to make grub legacy find and boot windows
3. Move Linux boot to UEFI as well.

Solution I chose was 3: lets move Linux Legacy to Linux UEFI under these
conditions.

Step-by-step solution to "MY" case. Be careful as your system might have
small differences that would make a huge difference in the end.
Special attention to /dev/sdXN partition names and the respective UUID used
in FSTAB.

First step: with a UEFI setup on BIOS, bring up the Linux Legacy.

To do this, you need to boot from a USB stick, as your Linux won't boot.
Then you need to give control to the Linux on the harddrive (chroot).

The steps are:

# boot do debian live of your choice, preferred the same version you have
on HD.
You will need the internet.
Check if apt-get is working on your live system. Maybe install some
innocuous/small package like "ascii"

Create a point for the new root (in my example it is in sda8):
# mkdir /mnt/root
# mount -t ext4 /dev/sda8 /mnt/root

Now we need to setup the EFI boot

# mkdir /mnt/rooot/boot/efi

Find your current UEFI partition (maybe fdisk -l will help you), then mount
it:
# mount /dev/sda1 /mnt/rooot/boot/efi

Now prep to change root. Mount all essencial filesystems:

# mount --bind /sys /mnt/rooot/sys/
# mount --bind /proc /mnt/rooot/proc/
# mount --bind /dev /mnt/rooot/dev/
# mount --bind /dev/pts /mnt/rooot/dev/pts/
# mount --bind /run /mnt/rooot/run/

Be sure the internet will work after chroot with:
# cp /etc/resolv.conf /mnt/root/etc/resolv.conf

Find the correct UUID of the UEFI partition. You will need this information
to add to fstab file.
(Use commands like blkid or fdisk -l -o +UUID or ls /dev/disk/by-uuid)

Add it to your FSTAB

echo "UUID=A2YOUR14-9UUID22  /boot/efi  vfat  defaults0   2" >>
/mnt/rooot/etc/fstab

Now finally, do the magic:

chroot /mnt/root

You should now "be" on the main Linux on your HD.

Test apt-get to be sure with some small/useless package. You really don't
want to mess up the following commands!
# apt-get install figlet

This is the "almost" irreversible part. Until now you were playing with
kid's commands.
Remove the old legacy grub.
Add the new UEFI grub
Re-install the grub menu and hopefully it will recognize your windows.

# apt-get remove grub-pc
# apt-get install grub-efi
# grub-install /dev/sda


Check if this file exists, to be sure you are on a UEFI partition now:
# file /boot/efi/EFI/debian/grubx64.efi

Chek also the output of this command and find DEBIAN there:
# efibootmgr

Go back to your old root
# exit

Remove your USB-stick and...
# reboot



Check this website for some other insights:
https://blog.getreu.net/projects/legacy-to-uefi-boot/

On my machine I needed also to remove this options in the BIOS:
BIOS - removed secure boot


That is all.
Have a good hacking.

My best,
Dr. Béco


PS. These instructions come WITHOUT ANY WARRANTY.  Always have your backup
ready to reinstall everything.




On Thu, 10 Oct 2019 at 18:15, Beco  wrote:

>
> Hello all,
>
> Thank you very much for all this thread and discussion.
>
> Let me get back to you.
>
> On Sun, 6 Oct 2019 at 18:26, Pascal Hambourg 
> wrote:
>
>
> Dear Pascal,
>
>
>
>>
>> If Windows boots in EFI mode :
>> Mount the EFI partition on /boot/efi.
>> Install grub-efi-amd64.
>> Boot some Linux media in EFI mode.
>> Chroot into the Debian system, mount the usual pseudo-filesystems
>> (/proc, /dev...) and the EFI partition.
>> Run grub-install.
>> Run update-grub.
>> Done.
>>
>>
>>
>
> Your simplified solution nailed it! Thank you.
>
> I mark this thread as solved basically because of this small paragraph. So
> if you are reading this in the near future trying to find a solution, this
> step-by-step and some duckduckgo will get you into business.
>
>
> There are more details for a complete response, and some commands needs to
> be in a different order, that I'll reply later in this thread, just to make
> sure the procedure that I made and worked flawlessly, is registered for
> posterity.
>
>  For now, if you are in a hurry, this answer above will get you in the
> right path.
>
> My best,
>
> Beco
>
>
>
> --
> Dr Beco
> A.I. researcher
>
> "I know you think you understand what you thought I said but I'm not sure
> you realize that what you heard is not what I meant" -- Alan Greenspan
>
> GPG Key:
> https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
> Creation date: pgp

(solved) Re: Dual boot: one legacy, the other uefi

2019-10-10 Thread Beco
Hello all,

Thank you very much for all this thread and discussion.

Let me get back to you.

On Sun, 6 Oct 2019 at 18:26, Pascal Hambourg  wrote:


Dear Pascal,



>
> If Windows boots in EFI mode :
> Mount the EFI partition on /boot/efi.
> Install grub-efi-amd64.
> Boot some Linux media in EFI mode.
> Chroot into the Debian system, mount the usual pseudo-filesystems
> (/proc, /dev...) and the EFI partition.
> Run grub-install.
> Run update-grub.
> Done.
>
>
>

Your simplified solution nailed it! Thank you.

I mark this thread as solved basically because of this small paragraph. So
if you are reading this in the near future trying to find a solution, this
step-by-step and some duckduckgo will get you into business.


There are more details for a complete response, and some commands needs to
be in a different order, that I'll reply later in this thread, just to make
sure the procedure that I made and worked flawlessly, is registered for
posterity.

 For now, if you are in a hurry, this answer above will get you in the
right path.

My best,

Beco



-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Dual boot: one legacy, the other uefi

2019-10-06 Thread Beco
Hi guys,

I have this laptop problem to solve: the original windows 10 is kept,
shrunk partition to 1TB, originally cryptographied (but now normal). The
rest was given to Linux, Debian 10: 800GB root and 8.2GB swap.

Now the system can boot both systems ok. But to choose which one you want,
you need to enter the BIOS, change legacy to UEFI, and vice-versa, then you
can boot.

Not a good way to keep.

Lets give the devices some names.

/dev/sda4 is windows 10
/dev/sda5 is debian buster 10
/dev/sda6 is swap

Other partitions are the usual that comes with a Windows Dell laptop (boot,
backup, etc.)

Grub is installed at sda5 with Debian, but when updated it doesn't
recognize A Windows partition.

Can you point me to a possible howto, blog, set of instructions or even
abstract ideas that are in the right direction?

My best,



-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


(solved) Re: Debian 10 freezes upon shutdown, reboot and logout

2019-09-30 Thread Beco
Short answer:

# apt-get install nvidia-detect

and then you install the driver it recommends after detection.

That is it.



alternative version:

the driver nouveau is broken (for my system). It not only hangs the system
during the tasks on the subject of this email, but also during init 1, init
3, a simple alt+f1 to get a tty, etc. And sometimes doing nothing, just
using the computer (say, gimp, editing an image).

To test without the necessity to change the system and risk a "blank
screen", I went in the BIOS and disabled the nvidia graphic card, letting
only the intel_integrated card running.

The system booted flawlessly, with no nouveau driver. Worked just fine.
Then I just installed nvidia proprietary on top of it, getting nouveau
automatically removed in the process.

A few boots, reboots, shutdowns and logouts after, just to be sure, and
voilà! The system is perfect.

Cheers,

Beco



On Mon, 30 Sep 2019 at 00:31, Beco  wrote:

> Some updates on testing I'm doing:
>
> $ init 1
> also hangs
>
> Booting from grub using init 3 gave me a single chance to reboot without
> hanging, other variables being acpi=off. But somehow I was not able to
> reproduce the behaviour.
>
> Messages appearing on screen when init 3 was running, or in kernel.log:
>
> ---
> TTM Buffer eviction failed
> nouveau DRM failed idle channel 0
> ---
>
>
> Now the messages below appear while the shutting down (or rebooting) is
> running its course, so I have no terminal at hand. Just the notifications
> scrolling:
> (I took a picture with a mobile and wrote them by hand. Forgive any typos
> or abbreviations)
>
> after init 1 or reboot or shutdown actually
>
> INFO: rcu_sched detected stalls on CPUs/tasks:
> rcu: $3-...0: (0 ticks this GP) idle=51a/1/0x4
> rcu: $(detected by 6, t=5252 jiffies, g...)
> NMI watchdog: Watchdog detected hard LOCKUP on cpu 3
> INFO: rcu_sched detected expedited stalls on CPUs/tasks:
> rcu: blocking rcu_node structures:
> watchdog: BUG: soft lockup - CPU#5 stuck for 23s! [systemd:1]
> ...
> repeats in an endless loop
> ...
>
> INFO: task irq/87-ELANO611:556 blocked for more than 120 seconds
> Tainted: GWOEL4.19.0-6-amd64 #1 Debian 4.19.67-2+deb10u1
> echo 0 > /proc/sys/kernel/hung_task_timeout_secs disables this message
> ...
> repeats for other tasks (haveged, systemd-logind, wpa_supplicant,
> dhclient, QQm1Thread, GlobalQueue, gdbus, ...)
> ...
>
>
>
> i2c_transfer+0x51...
> elan_i2c_get_report+0x1c...
> ? __switch_to+0x8c/0x440...
> elan_isr+0x4b...
> ? __schedule+0x2aa...
> ? __wake_up_common_lock+...
> ? irq_finalize_oneshot
> irq_thread_fn+0x1f...
> kthread+0x112
> ret_from_fork+...
> watchdog: BUG: soft lockup...
> Modules linked in: ufs qnx4 hfsplus hfs minix vfat msdos fat jfs xfs
> dm_mod pc sst_ssp snd_hda_ext_core snd_soc_acpi_intel_match
> x86_pkg_temp_thermal btbcm irqbypass videobuf2_vmalloc btintel ideapad_l...
> pcspkr xor btrfs ecb zstd_decompre... xtables autofs4 media pcc_cpufreq...
> CPU: 5 PID:: 1 Comm: systemd Tainted: G
> Hardware name: LENOVO 81G3/LNVNB161216, BIOS 6JCN23WW 01/23/2018
> RIP: 0010:smp_call_function_many+0x1f8/0x250
> Code: c7 e8 6c 3f 5f 00...
> RAX: 0003 RBX: 9e RCX: fff...
> RDX: 0001 RSI:  RDI: fff9e...
> RBP:  R08:  R09:
> R10:...  R11:... R12:...
> R13:... R14: R15:...
> FS:... GS:... knlGS:...
> CS: ... DS: ... ES: ... CRO:
> CR2:  CR3:... CR4:
> Call Trace:
> ? tcp_v6_pre_connect...
> ? add_nops...
> on_each_cpu...
> text_poke_bp
> __jump_label_transform...
> arch_jump_label...
> __jump_label_update...
> __static_key_slow_dec_cpu...
> __cgroup_bpf_detach...
> __cgroup_bpf_prog_detach...
> __x64_sys_bpf...
> do_syscall_64+0x53/0x110
> entry_SYSCALL_64_after_hwframe+0x44/0xa9
> RIP: 0033:
> ...
> repeat, different memory dump
> ...
> Task dump for CPU 3:
> Xorg R running task
> Call Trace:
> ? nvif_object_fini...
> ?nouveaus_vmm_fini
> ?nouveau_cli_fini
> ?nouveau_drm_postcl...
> ?drm_file_free.part
> ?drm_release+...
> ?__fput
> ?task_work_run...
> ?do_exit
> ?handle_mm_fault
> ?do_group_exit
> ?__x64_sys_exit_group...
> do_syscall_64+0x53/0x110
> entry_SYSCALL_64_after_hwframe+0x44/0xa9
>
>
> --
>
>
> I would prefer to read that on logs instead of a mobile picture... Not
> sure yet what logs to look (or maybe turn on)
>
> dmesg shows only the starting process, not the hanging avenue when trying
> to shutdown.
>
> Thanks for any help or tip.
>
> Att.,
> Beco
>
>
>
>
>
>
> On Sun, 29 Sep 2019 at 21:27, Beco  wrote:
>
>>
>>

Re: Debian 10 freezes upon shutdown, reboot and logout

2019-09-29 Thread Beco
Some updates on testing I'm doing:

$ init 1
also hangs

Booting from grub using init 3 gave me a single chance to reboot without
hanging, other variables being acpi=off. But somehow I was not able to
reproduce the behaviour.

Messages appearing on screen when init 3 was running, or in kernel.log:

---
TTM Buffer eviction failed
nouveau DRM failed idle channel 0
---


Now the messages below appear while the shutting down (or rebooting) is
running its course, so I have no terminal at hand. Just the notifications
scrolling:
(I took a picture with a mobile and wrote them by hand. Forgive any typos
or abbreviations)

after init 1 or reboot or shutdown actually

INFO: rcu_sched detected stalls on CPUs/tasks:
rcu: $3-...0: (0 ticks this GP) idle=51a/1/0x4
rcu: $(detected by 6, t=5252 jiffies, g...)
NMI watchdog: Watchdog detected hard LOCKUP on cpu 3
INFO: rcu_sched detected expedited stalls on CPUs/tasks:
rcu: blocking rcu_node structures:
watchdog: BUG: soft lockup - CPU#5 stuck for 23s! [systemd:1]
...
repeats in an endless loop
...

INFO: task irq/87-ELANO611:556 blocked for more than 120 seconds
Tainted: GWOEL4.19.0-6-amd64 #1 Debian 4.19.67-2+deb10u1
echo 0 > /proc/sys/kernel/hung_task_timeout_secs disables this message
...
repeats for other tasks (haveged, systemd-logind, wpa_supplicant, dhclient,
QQm1Thread, GlobalQueue, gdbus, ...)
...



i2c_transfer+0x51...
elan_i2c_get_report+0x1c...
? __switch_to+0x8c/0x440...
elan_isr+0x4b...
? __schedule+0x2aa...
? __wake_up_common_lock+...
? irq_finalize_oneshot
irq_thread_fn+0x1f...
kthread+0x112
ret_from_fork+...
watchdog: BUG: soft lockup...
Modules linked in: ufs qnx4 hfsplus hfs minix vfat msdos fat jfs xfs dm_mod
pc sst_ssp snd_hda_ext_core snd_soc_acpi_intel_match x86_pkg_temp_thermal
btbcm irqbypass videobuf2_vmalloc btintel ideapad_l... pcspkr xor btrfs ecb
zstd_decompre... xtables autofs4 media pcc_cpufreq...
CPU: 5 PID:: 1 Comm: systemd Tainted: G
Hardware name: LENOVO 81G3/LNVNB161216, BIOS 6JCN23WW 01/23/2018
RIP: 0010:smp_call_function_many+0x1f8/0x250
Code: c7 e8 6c 3f 5f 00...
RAX: 0003 RBX: 9e RCX: fff...
RDX: 0001 RSI:  RDI: fff9e...
RBP:  R08:  R09:
R10:...  R11:... R12:...
R13:... R14: R15:...
FS:... GS:... knlGS:...
CS: ... DS: ... ES: ... CRO:
CR2:  CR3:... CR4:
Call Trace:
? tcp_v6_pre_connect...
? add_nops...
on_each_cpu...
text_poke_bp
__jump_label_transform...
arch_jump_label...
__jump_label_update...
__static_key_slow_dec_cpu...
__cgroup_bpf_detach...
__cgroup_bpf_prog_detach...
__x64_sys_bpf...
do_syscall_64+0x53/0x110
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:
...
repeat, different memory dump
...
Task dump for CPU 3:
Xorg R running task
Call Trace:
? nvif_object_fini...
?nouveaus_vmm_fini
?nouveau_cli_fini
?nouveau_drm_postcl...
?drm_file_free.part
?drm_release+...
?__fput
?task_work_run...
?do_exit
?handle_mm_fault
?do_group_exit
?__x64_sys_exit_group...
do_syscall_64+0x53/0x110
entry_SYSCALL_64_after_hwframe+0x44/0xa9


--


I would prefer to read that on logs instead of a mobile picture... Not sure
yet what logs to look (or maybe turn on)

dmesg shows only the starting process, not the hanging avenue when trying
to shutdown.

Thanks for any help or tip.

Att.,
Beco






On Sun, 29 Sep 2019 at 21:27, Beco  wrote:

>
> Hi,
>
> I'm currently having issues with a LENOVO ideapad320.
>
> Using Stretch was smooth. But this weekend I've updated to Buster and I'm
> having trouble to shutdown the system.
> Rebooting also freezes.
>
> Watchdog says the CPU number #something is 22 seconds froze.
>
> I usually don't use "logout" since it is my personal laptop and I only
> uses KDE, but I've decided to give i3wm a try and because of that I
> discovered that not only shutdown and reboot hangs the system, but also
> logout.
>
> I need to finish shutdown with SysReq commands everytime to sync, umount
> and turn off.
>
> Not sure what logs I need to look, but kern.log shows nouveau driver
> having problems. Not much to go after, but may be a tip.
> Also, I've tried to add ACPI=force to grub, just in case, to test. Nothing
> changed.
>
> A small detail: my var partition is separated from the root. I'm telling
> this because in the old system ever reboot gave me a "unable to umount
> var". But it was ok. When I installed Stretch in 2018 I researched the
> problem and it was only a warning from journal.conf that could be solved by
> using "volatile". Anyway, I even considered to move /var to the root just
> to test, but after reading more about the problem I decided not to pursue
> this way.
>
> It must be something else... Maybe I could try to remove nouveau just to
> test. But since removing and adding nouveau is really hard, and the video
> is working great, I want to check with you g

Debian 10 freezes upon shutdown, reboot and logout

2019-09-29 Thread Beco
Hi,

I'm currently having issues with a LENOVO ideapad320.

Using Stretch was smooth. But this weekend I've updated to Buster and I'm
having trouble to shutdown the system.
Rebooting also freezes.

Watchdog says the CPU number #something is 22 seconds froze.

I usually don't use "logout" since it is my personal laptop and I only uses
KDE, but I've decided to give i3wm a try and because of that I discovered
that not only shutdown and reboot hangs the system, but also logout.

I need to finish shutdown with SysReq commands everytime to sync, umount
and turn off.

Not sure what logs I need to look, but kern.log shows nouveau driver having
problems. Not much to go after, but may be a tip.
Also, I've tried to add ACPI=force to grub, just in case, to test. Nothing
changed.

A small detail: my var partition is separated from the root. I'm telling
this because in the old system ever reboot gave me a "unable to umount
var". But it was ok. When I installed Stretch in 2018 I researched the
problem and it was only a warning from journal.conf that could be solved by
using "volatile". Anyway, I even considered to move /var to the root just
to test, but after reading more about the problem I decided not to pursue
this way.

It must be something else... Maybe I could try to remove nouveau just to
test. But since removing and adding nouveau is really hard, and the video
is working great, I want to check with you guys first for more fresh ideas.

Has anyone had trouble shutting down Buster? What other options do I have
to try to find the problem and a possible solution? Any other logs may be
of interest?

Thanks.

Bèco,
-- Linux user since it was called "just a hobby" (by L. Torvald)



-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Install fest debian linux - Recife/Brazil - UPE/POLI - Oct, 05, 19

2019-09-20 Thread Beco
Dear Debian users,

It is with great satisfaction that I'm bringing you this news.

We (UPE/POLI, Recife, BR) are holding a *Linux Install Fest / Debian*, next
Oct, 05, 19.

Please, if you are from Debian marketing department, or know the proper
channels, help us to share this news officially.

If you are responsible for the news, you may contact me directly for more
information.

Thank you.

Prof. Dr. Ruben Carlo Benante - organizer.

PS. Attention: if you want to attend, be aware that there are limited spots
available.

Event link:

http://csec.poli.br/eventos/semana-universitaria/


PPS. *Moderators* of other lists, please approve this one-time message from
a sender that is not subscribed, or if otherwise, please be kind to forward
this email yourself. Thank you very much for your support.


-- Forwarded message -
From: Prof. Dr. Ruben Carlo Benante
Date: Fri, 20 Sep 2019 at 22:06
Subject: Re: Install fest debian linux
To: all debian linux users


Boa noite senhores e senhoras,

É com muita alegria e satisfação que informo sobre a pré-inscrição do
evento na SU que iremos realizar (*):

*Linux Install Fest / Debian!*

Será durante o evento da SEMANA UNIVERSITÁRIA, no último dia,

Data: sábado, 05/Out/19.
Local: LIP7
Horário: das 9h as 17h

Tragam seus notebooks e dêem o seu grito de liberdade!

Com estimas!
Prof. Ruben

PS. Vagas limitadas!

PPS. (*) Ainda aguardo o aval da Extensão para confirmar o evento, local e
hora,  mas deixo este email como "teaser" e é quase certo que o dia/horário
será mantido. Volto a confirmar com vocês todos na segunda-feira. Por
favor, espalhem a notícia aos quatro ventos.



-- 
Prof. Dr. Ruben Carlo Benante
UPE - Universidade de Pernambuco
ECOMP - Eng. da Computação
DCA - Eng. de Controle e Automação (Mecatrônica)
Rua Benfica, 455 - Madalena
CEP 50720-001 - Recife - PE
PABX: +55 (81) 3184-7555
FAX: +55 (81) 3184-7501
DCA: +55 (81) 3184-7570

"As I grow older, I pay less attention to what men say. I just watch what
they do." (Carnegie)


-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Install fest debian linux - Recife/Brazil - UPE/POLI - Oct, 05, 19

2019-09-20 Thread Beco
Dear Debian users,

It is with great satisfaction that I'm bringing you this news.

We (UPE/POLI, Recife, BR) are holding a *Linux Install Fest / Debian*, next
Oct, 05, 19.

Please, if you are from Debian marketing department, or know the proper
channels, help us to share this news officially.

If you are responsible for the news, you may contact me directly for more
information.

Thank you.

Prof. Dr. Ruben Carlo Benante - organizer.

PS. Attention: if you want to attend, be aware that there are limited spots
available.

Event link:

http://csec.poli.br/eventos/semana-universitaria/


PPS. *Moderators* of other lists, please approve this one-time message from
a sender that is not subscribed, or if otherwise, please be kind to forward
this email yourself. Thank you very much for your support.


-- Forwarded message -
From: Prof. Dr. Ruben Carlo Benante
Date: Fri, 20 Sep 2019 at 22:06
Subject: Re: Install fest debian linux
To: all debian linux users


Boa noite senhores e senhoras,

É com muita alegria e satisfação que informo sobre a pré-inscrição do
evento na SU que iremos realizar (*):

*Linux Install Fest / Debian!*

Será durante o evento da SEMANA UNIVERSITÁRIA, no último dia,

Data: sábado, 05/Out/19.
Local: LIP7
Horário: das 9h as 17h

Tragam seus notebooks e dêem o seu grito de liberdade!

Com estimas!
Prof. Ruben

PS. Vagas limitadas!

PPS. (*) Ainda aguardo o aval da Extensão para confirmar o evento, local e
hora,  mas deixo este email como "teaser" e é quase certo que o dia/horário
será mantido. Volto a confirmar com vocês todos na segunda-feira. Por
favor, espalhem a notícia aos quatro ventos.



-- 
Prof. Dr. Ruben Carlo Benante
UPE - Universidade de Pernambuco
ECOMP - Eng. da Computação
DCA - Eng. de Controle e Automação (Mecatrônica)
Rua Benfica, 455 - Madalena
CEP 50720-001 - Recife - PE
PABX: +55 (81) 3184-7555
FAX: +55 (81) 3184-7501
DCA: +55 (81) 3184-7570

"As I grow older, I pay less attention to what men say. I just watch what
they do." (Carnegie)


-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: all files moved to lost+found

2018-10-09 Thread Beco
Hello guys,

Just an update.

I was lead to believe that a problem with the UUID in the file:

$ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=e07e74f3-fa2f-blablabla

caused the error.

For some reason, this UUID was not reflecting the real UUID of the swap
file.


I was about to mark this as "solved" by that. But for my surprise, look at
this events (reported as an image here in imagebin, sorry about that):

https://ibin.co/4IZlwCvE6Ey0.png

After gcc fatal error saying the file (that is open in another terminal,
with vim, which I just compiled a few lines above successfully,) didn't
exist, I went to the other terminal, typed ":w" in vim, so to save it
again, and back to the compile terminal it found the file.

How come!?? It is amazing. This machine is doomed, or the system, not sure.
Something is really wrong here. I can lose files just like that!?

Thanks for any input.

Att.,
Beco.

PS. Maybe I should start a new installation from scratch, or maybe just to
be sure, start using the dual boot I've installed as Devuan, which I'm
still not fully using. It is just there, just in case. I don't know. Maybe
it is a KDE thing, because I tried to TEST all hardware (disk and memory).


PS. Ok, I was fast in screenshot, afraid to lose the error. But now that I
wrote this email easily, here it is, the same info in the image above, as
text. No need to see the image anyway.


[20181010.010115, !5088]$ gcc mequine.c -o mequine.x -Wall -Wextra -g -O0
mequine.c: In function ‘main’:
mequine.c:21:17: warning: implicit declaration of function ‘printcscc’ [
-Wimplicit-function-declaration]
printcscc(s[6]);
^
[20181010.010304, !5088]$ gcc mequine.c -o mequine.x -Wall -Wextra -g -O0
gcc: error: mequine.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
[20181010.010328, !5088]$ gcc mequine.c -o mequine.x -Wall -Wextra -g -O0
[20181010.010345, !5088]$ springe
~/tmp/nofileScreenshot_20181010_010612.png
status:4IZlwCvE6Ey0
url:https://ibin.co/4IZlwCvE6Ey0.png

*>>>> It was a simple cycle: compile, error, fix, save, compile again (AND
THE FILE DISAPPEARED), save again, compile again (ALL GOOD).*




On Fri, 5 Oct 2018 at 10:33, Gene Heskett  wrote:

> On Friday 05 October 2018 08:53:14 Beco wrote:
>
> > Dear linux users,
> >
> > The memtest86+ came out clean.
> >
> > I run out of ideas to what was the problem.
> >
> > Wasn't it a very serious problem I would already stop writing emails.
> > But to have the whole /home disappear, is something that changes your
> > expectations for the whole linux experience.
> >
> > It has to have a simple explanation hidden somewhere (and
> > testable/repeatable/provable, not just guesses)
> >
> > Thanks,
> >
> > Beco
>
> In that event, I'd be checking the drive makers web site for firmware
> updates for YOUR drive(s)
>
> Seagate is pretty good about that.
>
> I'm not saying this is your problem, but it is something to investigate.
>
> The last 1T drive I updated had already used up 25 sectors as
> re-allocated at < 5,000 spinning hours. After the update it was about
> 25% faster, and 80,000+ spinning hours later, still had that same 25
> re-allocated sectors. Its a good drive yet but amanda needed more space,
> so it got replaced with a 2T drive. Stretch isn't stable yet,way too
> many networking problems so I'll probably wait till buster turns stable.
> Networking already Just Works from the reports I read here.
>
> --
> 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 <http://geneslinuxbox.net:6309/gene>
>
>

-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: all files moved to lost+found

2018-10-05 Thread Beco
On Tue, 2 Oct 2018 at 01:07, Abdullah Ramazanoğlu  wrote:

>
> But the journal is passing through on-disk controller, too. If the drive is
> mishandling its on-drive cache, then an FS corruption is still possible.
> Even
> if journal writes are "direct", the drive could be ignoring that (i.e.
> caches
> it nevertheless) without flushing it prior to power-off, corrupting the
> journal
> as well.
>
> If the FS survives through reboots, but falters when the laptop is power
> cycled, then a cache flush issue is still probable.
>
> Another test method might be hibernation. If resume from hibernation works,
> then that rules out on-disk caching problem.
>
> Regards
> --
> Abdullah Ramazanoğlu
>
>
>
Thanks Abdullah,

(Somehow your message went to spam)

I'll try hibernation test. Good idea. This behaviour has to have something
to do with cache. I don't see how this could happen otherwise.

Regards,
Beco




-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: all files moved to lost+found

2018-10-05 Thread Beco
Dear linux users,

The memtest86+ came out clean.

I run out of ideas to what was the problem.

Wasn't it a very serious problem I would already stop writing emails. But
to have the whole /home disappear, is something that changes your
expectations for the whole linux experience.

It has to have a simple explanation hidden somewhere (and
testable/repeatable/provable, not just guesses)

Thanks,

Beco

-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: all files moved to lost+found

2018-10-04 Thread Beco
On Thu, 4 Oct 2018 at 08:34, songbird  wrote:

>   also, perhaps malware is a possibility?  once you said
> chrome and other backport repositories i'm not sure i'd
>
>
Of course it crosses ones mind, but from backport I used ONLY nvidia, then
back to nouveau when the video card wasn't recognized.
Chrome as malware facilitator, yes, it could be, but I doubt this strange
thing would happen. Lets try to focus on other possible explanations before
assuming that. But I'll run some sort of scanner just to be 100% sure,
thanks.

We need to keep in mind what happened if we are to solve the puzzle. I
don't know if there would be, for example, a LOG referring kernel panic at
some level.

Maybe somehow there is a EXT4 table of inodes that got lost? I'm not sure
how that would be. Is there anyone more familiar with the implementation of
linux, or we are just users guessing?

Reporting back the HD test, after the seagate destructive test, I can
safely rule out that the HD is in perfect condition.

I also installed a new grub menu (memtest86+) and I'll let it running
tonight. Tomorrow I'll post the results.

After HD and RAM, I would go to intel chip. It baffles me that nowadays,
every now and then, there is a new microcode update. Intel really did a job
on all of us.

Also, maybe systemd has some services that could do something like that.
Not sure. I used a new partition to install Devuan today. The dual boot is
set. Both distros are running ok, no problems at all, not signs of nothing.
Just a empty /home. This is really something new for me. I'm in this list
since emails were sent by paper, and I never saw that, even once.


My best,
Beco.

PS. Just to remind us how strange it is: stay 5 seconds wondering:

lost+found$ ls
http://sprunge.us/FlKCOY




-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: all files moved to lost+found

2018-10-03 Thread Beco
>
> >> Is the "swap" partition something that could cause that if turned off by
> >> "swapoff"?
> >
> > I don't think so.
>
> +1
>
>
Good, I also suspected so. I'm a linux user since slackware installed from
floppies, I never saw something like that!

Look this "ls" command in the lost+found folder. It is amazing. Some of
those numbers are actually folders containing other files. Files inside the
folder have their names, which make things easier.

Be amazed:
http://sprunge.us/FlKCOY

The whole /home disapeared, EXCEPT:

http://sprunge.us/KnXpEJ

Isn't that puzzling??

I did last time only non-destructive tests using the seagate tool. I could
just today make a full backup (not that I was ignoring anyone, I know the
importance of backups. My laptop stayed turned off until I got the time to
properly do it).

Now it is running a destructive test, and it will take more 5 hours to
finish. Until now (46%) all good. Anyway, I don't believe it is a HD issue.
If it was a cache not sync, it would affect only like 100 files opened at
the time of turning it off. Not the whole drive.

Regarding the "shop list", I use debian since etch (I used redhat before it
was sold, and suse -- again sold), and it is my policy to (almost) never
install software if not from sources. I only installed I believe "scidvspc"
(a chess program) in other laptop, not this one. I have 3 laptops, 2 local
servers, 1 server in my name at the university (as I'm a professor and my
students use them), and 2 outside the country (rented), all of them using
the same debian version.

$ uname -a
Linux raposa 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (2018-09-30)
x86_64 GNU/Linux

$ cat /etc/apt/sources.list
# generated by
# Debian Sources List Generator (Beta)
# 2013-01-13
# http://debgen.simplylinux.ch/

deb http://ftp.br.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.br.debian.org/debian/ stretch main contrib non-free

deb http://ftp.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ stretch-updates main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free

add to that the google chrome repository and we are done. (I used also
skype and spotify, not in repos, but again, not in this particular laptop,
so, yep... brand new laptop, 3 months of usage, still tweeking it, setting
my develop environment, vim, gcc, latex, fonts, etc.)


About the hardware itself, I add, from lshw:

   description: Notebook
   product: 81G3 (LENOVO_MT_81G3_BU_idea_FM_ideapad 320-15IKB)
   vendor: LENOVO
   version: Lenovo ideapad 320-15IKB
   description: CPU
   product: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz

Other informations on this command regarding HD is not updated, since this
is a file from a backup and I can't run the command in the current machine
state (and I changed HD and added SSD to it). But the memory (RAM) is
SAMSUNG 8GB and a nvidia card with 4GB (that won't work, and I remember
adding backports to sources.apt and trying, then giving up, removing
backports, and cleaning the packages from it).


Also, another nice question you guys asked: hybernation or sleep: I never
use them. I always turn off completely, then in the next day, turn it on.

What else? Did I forget something? Sorry, I need to go to sleep now.

I'll keep updating as soon as I can, not so fast as I wish.

Thanks for your interest and tips.

My best,

 Béco

PS. I see this now:


> Another test method might be hibernation. If resume from hibernation
works,
> then that rules out on-disk caching problem.
>

I'll do it only after the destructive test is done, and I re-fill the
/home. I'm also thinking in installing a second linux distro in another
200GB partition I have free in the 2TB drive. (Summary: 2TB is 200GB free -
reserved for the future, 8GB swap, and the rest is /home)


OP done for today. Sincerely, Beco.


-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: all files moved to lost+found

2018-10-01 Thread Beco
On Sun, 30 Sep 2018 at 15:25, David Christensen 
wrote:

>
> Download and run Seagate's diagnostic tool on the 2 TB drive:
>
> https://www.seagate.com/support/downloads/seatools/
>
> (I have been using the bootable CD image for years ("legacy"), but it
> looks like they finally have a bootable USB image.)
>
> Use a camera and take pictures of the various screens.  Transcribe them
> into a reply to this list.
>
>
>
>
Dear David, hi guys/girls that are following this problem.

First, the delay in my response is due to the fact that I'm fighting a lot
of parallel battles here, but I'm still trying to solve this problem.
In the next days I'll always try to reply.

I've done the bootable seagate HD test. It came up 100% ok, all tests. The
HD is new, I wouldn't expect different, but it is always reassuring to do
the real test and see the results.

To recap, I used the computer all day, since morning until late night. From
time to time, say, about 3 times that day, I noticed a small 5 seconds long
freeze. Sometimes, in other days, KDE wouldn't open plasmashell, but I did
not need to reboot; just open tty1, and run systemctl restart sddm, and it
would run ok. Not sure if this is related.

That night, I turned off the computer, no errors, nothing.

Next morning, first boot, it booted fast and I was faced with an empty
desktop. Also empty /home. After e2fsck, all my files reappeared as inode
numbers in lost+found. I was able to recover some of them, and I have
backup for others. But I'm not still putting them on the hard disk.

I'm still waiting for possible causes or solutions, or just to know what
have happened in the first place.

Is the "swap" partition something that could cause that if turned off by
"swapoff"? Because I remember turning it off during that afternoon. But I
used the computer a LOT until night, so, I don't think there was any link
to the disappearance of ALL files. Also, when I used swapoff, it was almost
without use anyway.

I read above from Abdullah, that it is very unlike to have such major FS
fail, and it looks like it didn't "flush" the night I turned off. This is
also my guess, it is the only thing that make sense. Maybe the inode table
was in the memory and got corrupted. But it is strange to figure that,
since the filesystem is EXT4, and it is very stable nowadays.

Someonelse asked if 2TB is ok for this laptop, Causey I believe, my inbox
got deleted, but yes, this configuration accepts a 2TB; also, this would be
a problem during the installation 3 months ago, and the consequences would
be far different from the reported problem here.

Thanks all for inputs and lets reason what else. I may be able to create a
virtualbox to test some theories in the future, to get to the bottom of it.
The laptop is still in guarantee period, I need to know if there is
something really wrong or if it was just an occasional, yet rare, event.

My best,

Beco


PS. Sorry for not copying Abdullah and Causey on the reply, my inbox got
cleaned here.

-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: all files moved to lost+found

2018-09-30 Thread Beco
On Sun, 30 Sep 2018 at 16:40, bw  wrote:


>
> 286699 files on a partition with only /home on it sounds a little high?
>
>
Hi BW,

the directory lost+found is also in the /home partition.



Beco
-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: all files moved to lost+found

2018-09-30 Thread Beco
On Sun, 30 Sep 2018 at 14:11, Abdullah Ramazanoğlu  wrote:

> On Sun, 30 Sep 2018 11:09:50 -0300 Beco said:
>
> > Hi everyone,
> >
> > I have a bit of a problem I never faced before and I'm in need of some
> > guidance that may require some patience if to do it right and not lose
> any
> > data.
> >
> > I have a lenovo ideapad 320, and I changed its internal HD to a 2TB
> > seagate, 3 months ago.
> >
> > In the last couple of weeks I got this "small" problem twice:
> >
> > Laptop won't boot saying it couldn't read /home partition. The only
> > partition in the 2TB plus a swap. OS is in a SSD.
> >
> > So, twice I could login as root single mode, run:
> >
> > e2fsck -vy /dev/sda3
> >
> > and boot ok after lots of messages of inodes failing to do their inodes
> > thing.
> >
> > This time was different: I booted the machine and it won't complain, just
> > opened KDE with no icons on it. Blank desktop, with my owl wallpaper.
> >
> > I was worried, moved to tty1, killed the desktop section and then run the
> > same e2fsck above. Again, lots of inodes errors.
> >
> > No badblocks. I also run e2fsck -pckv /dev/sda3 which took 5 hours to
> > finish, and no badblocks.
> >
> > Now, I rebooted it, and still, same empty /home/user
> >
> > I notice on the other hand that there are A LOT of files under
> > /home/lost+found
> > All names are just numbers in the form "#383389933" and so on. Even
> > directories like that.
> >
> > I used "file #339938383" to see what the file is about. I found some PGN
> > images, and I could also identify some of my directories. They seem to be
> > all there. Just the names are crazy, and they are not in /home/user.
> >
> > Now that I never got before.
> >
> > How should I proceed?
> >
> > Is there a command that brings back lost+found files to theis
> > "found-and-not-lost" correct places?
> >
> > Thanks guys.
> >
> > Beco
>
> Hi Beco,
>
> As I understand it you had repeated disk failures and consecutively a
> massive
> file-system corruption.
>
> The files in lost+found are those that are recovered by fsck. There are
> probably unrecovered ones too (lost forever). As for restoring their
> original
> names and directory hierarchy, I don't know if it is possible at all -
> other
> than manually inspecting and renaming/relocating every one of them
> separately.
> I think the best course of action would be dealing with the hardware and FS
> corruption issue first, and then reformatting /home and restoring from
> backups.
>
> --
> Abdullah Ramazanoğlu
>
>
>
Dear Abdullah,

Thanks for your reply. I tend to agree. I am still not sure what CAUSED the
problem in the first place.

If I need to change HD? (I'm not convinced, HD seems ok). Is there any kind
of hardware problem with LENOVO IDEAPAD 320? Maybe... But what?

And the logs... I looked at various logs, no problems, except some minor
drivers that won't read (like wireless and nvidia).
Same old, same old.

Now this, this is my first time. To loose ALL /home?? In the first morning
boot, without warning, just a clean boot and a empty desktop?

What sorcery is that?

Beco





-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: all files moved to lost+found

2018-09-30 Thread Beco
On Sun, 30 Sep 2018 at 15:25, David Christensen 
wrote:

> On 9/30/18 7:09 AM, Beco wrote:
> > Hi everyone,
> >
> > I have a bit of a problem I never faced before and I'm in need of some
> > guidance that may require some patience if to do it right and not lose
> any
> > data.
> >
> > I have a lenovo ideapad 320, and I changed its internal HD to a 2TB
> > seagate, 3 months ago.
> >
> > In the last couple of weeks I got this "small" problem twice:
> >
> > Laptop won't boot saying it couldn't read /home partition. The only
> > partition in the 2TB plus a swap. OS is in a SSD.
> >
> > So, twice I could login as root single mode, run:
> >
> > e2fsck -vy /dev/sda3
> >
> > and boot ok after lots of messages of inodes failing to do their inodes
> > thing.
> >
> > This time was different: I booted the machine and it won't complain, just
> > opened KDE with no icons on it. Blank desktop, with my owl wallpaper.
> >
> > I was worried, moved to tty1, killed the desktop section and then run the
> > same e2fsck above. Again, lots of inodes errors.
> >
> > No badblocks. I also run e2fsck -pckv /dev/sda3 which took 5 hours to
> > finish, and no badblocks.
> >
> > Now, I rebooted it, and still, same empty /home/user
> >
> > I notice on the other hand that there are A LOT of files under
> > /home/lost+found
> > All names are just numbers in the form "#383389933" and so on. Even
> > directories like that.
> >
> > I used "file #339938383" to see what the file is about. I found some PGN
> > images, and I could also identify some of my directories. They seem to be
> > all there. Just the names are crazy, and they are not in /home/user.
> >
> > Now that I never got before.
> >
> > How should I proceed?
> >
> > Is there a command that brings back lost+found files to theis
> > "found-and-not-lost" correct places?
> >
> > Thanks guys.
> >
> > Beco
>
> Download and run Seagate's diagnostic tool on the 2 TB drive:
>
> https://www.seagate.com/support/downloads/seatools/
>
> (I have been using the bootable CD image for years ("legacy"), but it
> looks like they finally have a bootable USB image.)
>
> Use a camera and take pictures of the various screens.  Transcribe them
> into a reply to this list.
>
>
> Do you have backups?
>
>
> David
>
>
>
>

Thanks David,

I'll give it a try. I just run

e2fsck -pckv /dev/sda3

It lasted 5 hours running. I took a picture, here is the transcript:

286708 inodes used (0.25% of 112926720)
3776 non-contiguous files (1.3%)
84 non-contiguous dir (0%)
ind/dind/tind blocks: 0/0/0
extent depth histogram: 285759/645
67067830 blocks used (14% of 451678229)
0 bad blocks
11 large files

240878 reg files
45498 dir
0 char devs
0 block devs
2 fifos
0 links
319 symbolic links
2 sockets
-
286699 files


--

but if you look /home/user, it is just empty. Ok, I found a couple of
hidden files, like .bashrc, .profile, .config and things inside it. For
example, inside .config there are files like cache, git-config, etc.

Some are missing. My .ssh dir for example, with keys, missing.

Inside /home/lost+found is just madness

A LOT A LOT of #32432432 #2342342 #52343242 #5234234 #4234324
and many dirs:
#123123123/ #5235235234/
etc.

Should I install this software regardless? I mean, I don't want to start
installing things on the HD that I'm supposed to recover somehow.

What could cause this in the first place? Yesterday I turned it off ok,
went to sleep, and today the first boot and nothing on /home.


Regarding backup, I was afraid my last backup was 3 months old. It turns
out I have one just one month old. It is a big loss yet, but well, what can
you do after the fact...

Is it possible that this microcodes updating everyweek turned our computer
into timebombs? My laptop is new, debian was installed 3 months ago,
nothing much here.

I'm writing from my old laptop, 6 years old, debian, still working. The
same configuration I used in the new one. This old is DELL, the new one is
LENOVO.

Original HD was 1TB and no SSD. That was the only modification I made: SSD
with / root, and 2TB HD seagate with /home.

Yesterday I noticed while using google chrome to browse that everything
froze. I needed to go to tty1 (ALT+F1) and kill sddm (systemctl restart
sddm), and then back to ALT+F7 , login again, and all good to use.


Beco



-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


all files moved to lost+found

2018-09-30 Thread Beco
Hi everyone,

I have a bit of a problem I never faced before and I'm in need of some
guidance that may require some patience if to do it right and not lose any
data.

I have a lenovo ideapad 320, and I changed its internal HD to a 2TB
seagate, 3 months ago.

In the last couple of weeks I got this "small" problem twice:

Laptop won't boot saying it couldn't read /home partition. The only
partition in the 2TB plus a swap. OS is in a SSD.

So, twice I could login as root single mode, run:

e2fsck -vy /dev/sda3

and boot ok after lots of messages of inodes failing to do their inodes
thing.

This time was different: I booted the machine and it won't complain, just
opened KDE with no icons on it. Blank desktop, with my owl wallpaper.

I was worried, moved to tty1, killed the desktop section and then run the
same e2fsck above. Again, lots of inodes errors.

No badblocks. I also run e2fsck -pckv /dev/sda3 which took 5 hours to
finish, and no badblocks.

Now, I rebooted it, and still, same empty /home/user

I notice on the other hand that there are A LOT of files under
/home/lost+found
All names are just numbers in the form "#383389933" and so on. Even
directories like that.

I used "file #339938383" to see what the file is about. I found some PGN
images, and I could also identify some of my directories. They seem to be
all there. Just the names are crazy, and they are not in /home/user.

Now that I never got before.

How should I proceed?

Is there a command that brings back lost+found files to theis
"found-and-not-lost" correct places?

Thanks guys.

Beco


-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


(SOLVED) Re: Xsession.d ssh-agent

2017-11-25 Thread Beco
On 25 November 2017 at 17:07, Ulf Volmer <u.vol...@u-v.de> wrote:

> On 25.11.2017 20:27, Beco wrote:
> > I've changed the line to:
> >
> > SSHAGENTARGS=-st36000
> >
> > removing spaces and quotes, in hope it would get it.
> >
> > Still no solution.
>
> interesting. i have tried another way and it works for me:
>
> SSHAGENTARGS="-t 1h"
>
> ulf@deb9-desktop:~$ ps -ef|grep [s]sh-agent
> ulf   4307  4221  0 21:04 ?00:00:00 /usr/bin/ssh-agent -t 1h
> startxfce4
>
> -s is the default, so i guess you can ignore this option.
>
> BTW: you have replied to me personally. normally you should answer to
> the mailing list.
>
> best regards
> Ulf
>


Hi Ulf, hi list,

Sorry about the "reply-to-all" that I forgot. Now it goes to all.

So, I found this answer here:

https://unix.stackexchange.com/questions/122511/configuring-the-default-
timeout-for-the-ssh-agent

(in the end of the text of the accepted answer)

and it says to do exactly as your second suggestion.


SOLUTION: These options works:

SSHAGENTARGS="-t 1h"
SSHAGENTARGS="-t 3600"



BUG: These causes a strange boot as KDE not initializing:

SSHAGENTARGS="-s -t 3600"
SSHAGENTARGS=-st3600

Thanks all, specially Ulf.

Beco.



-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Xsession.d ssh-agent

2017-11-25 Thread Beco
Dear users,

Does anyone knows why KDE won't start if I change this file...


```Original
$ head -n8 /etc/X11/Xsession.d/90x11-common_ssh-agent

# $Id: 90x11-common_ssh-agent 305 2005-07-03 18:51:43Z dnusinow $

# This file is sourced by Xsession(5), not executed.

STARTSSH=
SSHAGENT=/usr/bin/ssh-agent
SSHAGENTARGS=

```

...line SSHAGENTARGS=

to simple add this arguments:

SSHAGENTARGS="-s -t 36000"

(10h for identities lifetime)

It (KDE) just freezes in a blank screen during boot. Not even the mouse
cursor comes up. There it stays...

Maybe that is not the place to add such arguments?

Thanks,

Beco





-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


(SOLVED) Re: kde4 can't find file usr/share/kde4/apps/kdm/themes/lines

2017-07-01 Thread Beco
On 1 July 2017 at 07:02, Curt <cu...@free.fr> wrote:

> On 2017-06-29, Beco <r...@beco.cc> wrote:
>
> >>From time to time, every one or two boots, KDE won't load, it shows a
> > dialog with only an "OK" button and the message:
> >
> > kde can't find file usr/share/kde4/apps/kdm/themes/lines
>
> > I click ok and get redirected to a console login.
> >
> > If I just boot again, it will likely boot just fine.
> >
> > The first time I saw the problem was during the first boot after the
> > upgrade. I didn't know then that I could just boot again, and I started
> > digging in the console to realize that I could not solve the problem and
> I
> > started all the install process again, which took me some of my weekend
> > time.
> >
> > I tried to google then, and today again after the problem reappears, but
> I
> > can't find any forum with another case similar.
>
> This looks similar:
>
> https://bbs.archlinux.org/viewtopic.php?id=116488
>
> > Any ideas ? Thanks.
>
>

Yes, Curt,

It is similar indeed. Also, by the solution they figured out, (editing
Theme=/usr/share/apps/kdm/themes/oxygen-air) I can see that it is using
"kdm" instead of sddm.

That is the root of the problem. A proper solution is just what I said in
the previous email: install sddm as your default and remove old kdm.

Thanks!

Beco




-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: kde4 can't find file usr/share/kde4/apps/kdm/themes/lines

2017-06-29 Thread Beco
On 29 June 2017 at 16:40, Cindy-Sue Causey <butterflyby...@gmail.com> wrote:

> On 6/29/17, Intense Red <intns...@golgotha.net> wrote:
>
>
> >The changes between KDE in Jessie and KDE in Stretch are substantial,
> > including killing off kdm and replacing it with sddm.
> >
> >On multiple machines I've had the upgrade go pretty rocky, not only at
> > the dm level but on the desktop itself.
>
>
> Based on what Intense Red stated along with this being about "themes",
> my first thought is... what about configuration files within the
> user's /home files (~/)?
>
> My next thought was that I could see myself trying to track down the
> file hierarchy changes in the switch from kdm to sddm. Maybe there's a
> similar path that could be manipulated to suit personal desires.
>
>

Hello Cindy,

First, thank you for such broad chat. Sometimes when we don't know exactly
the problem it is good to just hear from someone else to just get ideas.

My first thought was just try to find the freaking file somewhere in my
hierarchy and, I don't know, fix it, remove write permissions, hard link,
anything, just to be sure it is always there. But the file is not to be
found anyware.

Anyhow...



> I wrote more after that, but I've deleted it. I just plugged that
> "usr/share" path into an Internet search while asking "what package
> contains".
>
> Top of the list returned was using the word "purge" with respect to
> kdm. If this was happening to me, I'm getting the warm fuzzies about
> that word "purge" in this case. That would be because that sounds like
> a *fast* way to attempt to correct this.
>
> I think "purge" is an appropriate word to add to my first thought
> about the personal configurations. I just don't know the what and
> where with respect to being safe to purge while playing around with
> it. Purging would let a user start over and catch up to speed with how
> Intense Red's mention of a changeover to sddm now handles things.
>
>

This is what I was talking about. The fact that KDE changed to SDDM was
vague in my mind.

Now that you mentioned it, I just checked to realize that after the upgrade
I was still using KDM.

I've changed to SDDM and the first boot went fine.

Let's hope this is a definitive solution.



> Using a word like "purge"? ALWAYS after a *BACKUP* is made, of
> course Of course. *grin*
>
> Cindy :)
> --
> Cindy-Sue Causey
> Talking Rock, Pickens County, Georgia, USA
>
> * runs with duct tape *
>
>


I don't really dig workarounds. If I make one myself, it keeps in my mind
forever, and I always try to find a solution that meets "the unix way"
sooner or later.

But well... whatever floats your boat, as they say...

See y'a.

Bèco.



-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


kde4 can't find file usr/share/kde4/apps/kdm/themes/lines

2017-06-29 Thread Beco
Hi guys/girls, hello.


Does anyone else have this problem with KDE4 after Jessie/Stretch upgrade?

>From time to time, every one or two boots, KDE won't load, it shows a
dialog with only an "OK" button and the message:

kde can't find file usr/share/kde4/apps/kdm/themes/lines

I click ok and get redirected to a console login.

If I just boot again, it will likely boot just fine.

The first time I saw the problem was during the first boot after the
upgrade. I didn't know then that I could just boot again, and I started
digging in the console to realize that I could not solve the problem and I
started all the install process again, which took me some of my weekend
time.

I tried to google then, and today again after the problem reappears, but I
can't find any forum with another case similar.

Any ideas ? Thanks.

Bèco.





-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


April's fool

2017-03-31 Thread Beco
Hi guys,

I admin a server with some 80 users (students) and tomorrow is april's fool.

Now, help me out...

What is a "reversible" prank I could play?

* It should be easy to make it working in some minutes (half an hour of
configuration at most).
* It should be harmless and reversible (of course)
* It should last the whole day, people trying to figure that out.

As I am a professor, and the class just got a warning they were not
studying hard enough, I can say something like It was a punishment for
their laziness, so I have a "cover up" story that can scary them for sure.

What are your suggestions?

Thanks for playing.

My best,
Bèco.

PS. None of them are subscribed to this list! ;)



-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Bash crashed in a alias to view markdown

2016-08-16 Thread Beco
Hello guys,

This alias caused bash to crash:

http://sprunge.us/PMhe

The alias is now corrected to check if `$1` is empty (*), but still, bash
should not crash like this.

I'm not opening a bug report because I don't really know (nor have the time
to find out) how/where this things are correlated. Anyway, I still think
this information would be useful to those who are working closely to bash
maintainers, so here it is, shared with you.

I hope this helps.

Thank you,
Beco.

PS. All I did was calling the alias without an argument (a file to open)
and pressing CONTROL-C to interrupt it, twice in a row. And bang, crash.

(*) The new alias, in case someone finds it useful to view markdown files:

alias mdless='_mdless() { if [ -n "$1" ] ; then if [ -f "$1" ] ; then cat
<(echo ".TH $1 7 `date --iso-8601` Dr.Beco Markdown") <(pandoc -t man $1 )
| groff -K utf8 -t -T utf8 -man 2>/dev/null | less ; fi ; fi ;}; _mdless '

Just add to your ~/.bash_aliases ;)



-- 
Dr Beco
A.I. researcher

"I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant" -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindex=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: wlan disappeared

2015-08-06 Thread Beco

 On 6 August 2015 at 02:28, Beco r...@beco.cc wrote:
 Earlier today I picked at BIOS to see if there was something there I could
 change. The only reference to network there is to select where to boot from.

 But I'll double check to be sure.




Ok, I got some results.

I found on BIOS an option to disable NIC, and I did. Booted to see:

# lspci -v
09:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030
[Rainbow Peak] (rev 34)
Subsystem: Intel Corporation Centrino Wireless-N 1030 BGN
Flags: bus master, fast devsel, latency 0, IRQ 50
Memory at f7e0 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 4c-eb-42-ff-ff-7b-a0-16
Kernel driver in use: iwlwifi

# rfkill list

0: phy0: Wireless LAN

Soft blocked: no

Hard blocked: yes

Booted again, enabled and things got very weird.

First, the FN+F2 key started working just as rffill block/unblock. So I
unblocked it.

At start, the network worked for a minute. I thought that all would be
good. But then, NetworkManager told me wifi connection deactivated.

So I run some tests:

dmesg

[Thu Aug  6 05:17:50 2015] iwlwifi :09:00.0: firmware: direct-loading
firmware iwlwifi-6000g2b-6.ucode
[Thu Aug  6 05:17:50 2015] iwlwifi :09:00.0: loaded firmware version
18.168.6.1 op_mode iwldvm

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: Error sending
REPLY_TXFIFO_FLUSH: time out after 2000ms.

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: Current CMD queue read_ptr
141 write_ptr 142


[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: Loaded firmware version:
18.168.6.1
[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: Start IWL Error Log Dump:

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: Status: 0x004C, count:
-30718
[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x14607C40 |
ADVANCED_SYSASSERT
[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x8802 | uPc

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x000A | branchlink1

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x | branchlink2

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x0024 |
interruptlink1
[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x |
interruptlink2
[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x14607C80 | data1

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x8802 | data2

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0xA0557620 | line

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x | beacon time

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x16192C14 | tsf low

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x8802 | tsf hi

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x | time gp1

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x | time gp2

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x14607CD8 | time gp3

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x8802 | uCode version

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0xA0416B0A | hw version

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x | board version

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x8802 | hcmd

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x0020 | isr0

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x8802 | isr1

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x14607CE8 | isr2

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x8802 | isr3

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x14607CA8 | isr4

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x8802 | isr_pref

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x15CB8000 | wait_event

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x8802 | l2p_control

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x00A01C30 | l2p_duration

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x | l2p_mhvalid

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x0001 |
l2p_addr_match
[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x | lmpm_pmg_sel

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x0001 | timestamp

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: 0x | flow_handler


[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: Log capacity -1515870811
is bogus, limit to 1 entries

[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: Log write index
-1515870811 is bogus, limit to 1
[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: Start IWL Event Log Dump:
display last 1 entries
[Thu Aug  6 05:22:01 2015] iwlwifi :09:00.0: flush request fail

[Thu Aug  6 05:22:03 2015] iwlwifi :09:00.0: Failing on timeout while
stopping DMA channel 0 [0x5a5a5a5a]

[Thu Aug  6 05:22:05 2015] iwlwifi :09:00.0: Failing on timeout while
stopping DMA

wlan disappeared

2015-08-05 Thread Beco
Hi guys,

Something odd happened today, on my first clean boot of the day.
(notebook DELL vostro v131)

Simply, no wlan0 at all.

$ ifconfig -a #shows only eth0 and lo.
$ lspci #shows no wifi at all (should be a Intel Centrino Wireless-N 1030
BGN Rev=0xB0)
$ lshw -C Network #shows only eth0
$ rfkill list #shows nothing

I checked all logs, no error. dmesg, syslog, kernelog, messages... (what
else?)

It simply disappeared out of the blue.

I bought a usb wifi dongle to work a bit, and its working fine as wlan2.

But well... What can I do, or check? Maybe try to recreate the interface.

I tried
$ rmmod iwlwifi
$ modprobe iwlwifi
but nothing seems to bring it back.

Also, old dmesg shows (when it was working) that the driver should be:

/lib/firmware/iwlwifi-6000g2b-6.ucode, version 18.168.6.1

I found this driver related to

* Intel Wireless 6005/6205 firmware, version 18.168.6.1
* Intel Wireless 6030 firmware, version 18.168.6.1

Not the Wireless-N 1030. Why it was working on what seemed to be the wrong
firmware? Why it disappeared now?

The driver

* Intel Wireless 1000 firmware, version 39.31.5.1
   (iwlwifi-1000-5.ucode)

will work with intel Wireless-N 1030 BGN?

How could I test it? Because modprobe do not select the driver.

Thanks any help.

Beco




--
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindexsearch=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: wlan disappeared

2015-08-05 Thread Beco
On 6 August 2015 at 01:04, bri...@aracnet.com wrote:

 On Wed, 5 Aug 2015 23:23:35 -0300
 Beco r...@beco.cc wrote:

  Hi guys,
 
  Something odd happened today, on my first clean boot of the day.
  (notebook DELL vostro v131)
 
  Simply, no wlan0 at all.
 

 there is often a hardware switch which disables WLAN.

 Is it possible that it's been turned off ?

 lspci should _absolutely_ show it's existence regardless of whether or not
 the drivers have been loaded.  Either it's off, if it's a separate card
 it's come loose/disconnected, or if it's on-board then you probably have a
 hardware failure.

 Brian



Hi Brian,

Thanks for trying to make sense of this mess.

This notebook has onboard wifi, no physical switch, but a combination of
keys FN+F2 that would supposedly turn it on or off. This combination never
worked since day one of all older debians I started with, and I never used
it. But since you mentioned, I tried some keystrokes, no luck though.

Let me put lspci here. Maybe I'm mistaken.

lspci shows:

# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family
DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series
Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset
Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family
High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family
PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family
PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family
PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family
PCI Express Root Port 5 (rev b5)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family
PCI Express Root Port 8 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset
Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC
Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset
Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus
Controller (rev 05)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
0b:00.0 USB controller: Texas Instruments TUSB73x0 SuperSpeed USB 3.0 xHCI
Host Controller (rev 02)


As you can see... No wifi there.

I also read carefully lshw again. Nope. Nothing.

Thanks,
Beco





-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindexsearch=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: wlan disappeared

2015-08-05 Thread Beco
On 6 August 2015 at 01:54, bri...@aracnet.com wrote:


 i forgot to ask an important question, although i'm sure you would have
 mentioned it.  you can't boot into Windows on this machine, right ?


No windows near me in any machine. :)




 Sure seems like a hardware failure.


I'm starting to think that also. But today this notebook is so weird, I
don't know. I'm still puzzled. Maybe something debian-related, you know.
These Debian Jessie 8.0 and 8.1 are a bit unstable to my taste. I hope we
move on soon to 8.2.(*)



 oh- one other thing to try.  boot up into BIOS and see if there's anything
 at all in there about your WLAN hardware.


Earlier today I picked at BIOS to see if there was something there I could
change. The only reference to network there is to select where to boot from.

But I'll double check to be sure.


Tx.,
Beco.

PS. Or Debian Stretch, see my ascii-art for it (in monospaced font,
please):

_\O/_
/|\


-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindexsearch=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


(solved) Re: / 100% used

2015-07-20 Thread Beco
Reporting solution.

There was basically

---
* Immediate problem:
---
1) Identify what was filling /var and stop it.

In a terminal, trying to keep system useful, this command saved the day.
# while true; do echo clean syslog; cat /dev/null  syslog ; sleep 10; done

While at it, reading syslogs to understand the problem was a wireless
driver. Blacklisting it and disabling it from bios did the job.

System usable again.

---
* Long term solution to improve the system:
---
1) Shrink a hot /home (/dev/sda3) to free space for /var
---

All done via ssh (remotely)
Tip: you cant #fuser -km /home, because you'll kick yourself out.

write down info from commands:
# fdisk -l
# df -h
# df -B 4k
# mount -l
# du -chd1
# fdisk -s /dev/sda3
# dumpe2fs -h /dev/sda3

This is the check block. Do it again after critical commands, just to see
if its all ok and the way you suppose it should be.

To unmount /home you need to login as root. Not sudoing to root. So, if
you are in need, edit /etc/ssh/sshd_config and - AllowRootLogin yes
# systemctl restart ssh
# ssh root@yourserver

Make sure noone else can login, isolate the server. (You can lock
passwords, or lock logins, whatever you may like.)
# umount /home
# fsck -n /dev/sda3
# resize2fs /dev/sda3 850G
now 222822400 (4k) blocks long

Generate how many bytes multiplying this number by 4*1024
- 912,680,550,400 bytes
If your sector is 512 bytes, then divide it by 512 to get number of sectors
(to be used in fdisk)

1,782,579,200 sectors

Now your partition /dev/sda3 will start still in the same sector
(113672192=initial), but it will end at:

1,782,579,200 + 113672192 = 1896251392

---
# fdisk /dev/sda
delete sda3
new partition 3 (primary in this case)
same start point (113672192)
end point = 1896251392

This would be all good, and it actually works as I rebooted and tested. But
to save you one boot, I regret this number because when I create the new
/var partition (sda4=extended, sda5=logical var), it suggested to start at
1896253440. So, just try to create a new partition and see where it
suggests to start. Subtract one from it. Delete all again, and create again
sda3. (Till now, no w, nothing written, just fdisk in memory. A simple
q will quit all without changes).

So: summarizing: create new partition, check where it suggests starts
(1896253440), delete it. Delete again sda3.

new partition 3 (primary)
same start point (113672192)
end point = 1896253439

new partition 4 (extended)
all size
new partition 5 (logical)
+14G for /var
new partition 6 (logical)
all the rest (~13G) for /tmp

w (fdisk write and quit)

---

# fsck -n /dev/sda3
# mount /home

use all the check block of commands from above

# reboot (not really necessary, but nice to see all working)

# vi /etc/ssh/sshd_config
AllowRootLogin no
# systemctl restart ssh

---

---
2) Moving /var to /dev/sda5
---

# mkfs.ext4 /dev/sda5
# mkdir /mnt/var
# mount /dev/sda5 /mnt/var

Now, very important, noone can be writing to var. Research on the matter
suggests the better option is to login using single mode (init 1). But via
ssh, I tried something a bit risk. If you follow this instructions, its
at your own risk. Be warned!

# lsof | grep /var
And you will see a lot of process writing into /var.

Well, if you are SURE noone but you can access the system at this point,
you might risk losing some seconds of VAR (logs and other stuff), but the
system will recovery ok. So, ignoring the services writing to var, just do:

# cp -ax /var/* /mnt/var

# ls -l /dev/disk/by-uuid
to get the UUID to use in fstab

#vi /etc/fstab
Add the line:

UUID=181839181821...bla...bla...bla   /var   ext4   defaults   0   0

Just update the new var one last time before reboot:

# rsync -ihrpgu --stats --progress --delete /var /mnt/var

# reboot

-

System will lose data from the seconds between your last rsync and the
reboot. But it will boot ok, unless something very critical happens in this
moment. Your system, you should know better if you can ignore this
seconds (may you have apache running at full charge, or anything else
that are demanding the server? Then you must avoid this and use
single-mode. Google for it.)

---

System back online, time to use all check commands again. Specially:

# mount -l

And after checking everything, your system is ready. (I did a last clean
reboot just to check dmesg, all ok)


I hope this email helps anyone searching for a hot change of partition
remotely.

It was difficult to gather information on this process.


Thanks all that helped.
Beco

PS. I'll do the same with /tmp now. And /tmp

Re: Something wrong with NetworkManager

2015-07-06 Thread Beco
On 6 July 2015 at 06:18, Brian a...@cityscape.co.uk wrote:


 I thought you are not supposed to have the same interface managed by
 both ifupdown and networkmanager.

 The wiki has:

   If you want NetworkManager to handle interfaces that are enabled in
 /etc/network/interfaces:

 Set managed=true in /etc/NetworkManager/NetworkManager.conf.

 Restart NetworkManager:

  https://wiki.debian.org/NetworkManage



Hi Brian,

Yes, you are right. I used NetworkManager alone some years now. I only
turned on ifupdown yesterday after NetworkManager failed to do its job (due
to some mysterious reason LOG should clarify).

NetworkManager will not manage an interface listed in
/etc/network/interfaces, so they say. So its not managed by both. And that
is a great thing, no need to change. Because if NM goes crazy like
yesterday, you can chose to change who manages it. If you change
managed=true, then if NM breaks, you'll be left without options. (Well,
there is WICD, but you need internet to install it)

After 2 reboots and nothing else from my part except commenting the lines
from /etc/network/interfaces (effectively given back control to
NetworkManager) it came back alive ok.

Now I'm back to it (NetworkManager) and hope it will keep up.

Thanks.
Beco.

PS. Link:

https://wiki.debian.org/NetworkManager







-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindexsearch=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: / 100% used

2015-07-06 Thread Beco
On 6 July 2015 at 12:03, Marek Salwerowicz marek_...@wp.pl wrote:

 Hello Beco,

 cut
 Did you read  Jessie release notes before upgrading and upgrade procedures?
 https://www.debian.org/releases/stable/amd64/release-notes/index.en.html

 Since you teach students, it would be good to teach them best practices
 by running well organised and prepared server...



 I'd re-think the partition layout:
 https://www.debian.org/releases/lenny/ia64/apcs03.html.en, second
 paragraph:

 For multi-user systems or systems with lots of disk space, it's best to
 put /usr, /var, /tmp, and /home each on their own partitions separate from
 the / partition.

 Are there any backups / RAID for users' home directories?

 Please don't consider it as offensive, I'd like just to let you know that
 the problems you've encountered could have been much worse

 Good luck  ;-)

 Cheers

 Marek



Hi Joe, Marek, guys,


Joe, I prefer not to disable it on the bios. I like to have some control
over ssh. You never know. But after blacklisting it, I think the problem is
solved for a while.

Marek, thank you for your kind criticize. Most people don't get how to
politely point problems without being rude (I'm one, but mostly because the
english barrier, I tend to be dry).


 Why have you performed major upgrade of Operating System on running
production server?

Well, I had no choice. This server can't go down, and needs to be up to
date.

But I scheduled to vacations period. Users drop from 200- to almost zero.
Never zero. This days, there are only 6 students left, 3 of them online. I
am responsible for them as well. But being so many, I could help if things
get very wrong.

Thanks the system was down only for 2 non-consecutively hours. 1h, when the
problem appear, solved with a while loop, and 1h when the next attempt
failed (removing wpasupplicant). This last one was horrible, because it
took me from home. Now its running using ifdownup. I think I'll let it this
way for now. Until things are sorted out by Debian maintainers of what went
wrong after upgrade. I still believe there was some misconfiguration issue
regarding NetworkManager, specially after my notebook also broke.


 Did you perform backup of data before performing upgrades?

 Did you try it before on any development machines?

Yes, I set up a backup server. It is used to test upgrades also. I upgraded
it some weeks ago. No problem at all. I was quite amazed it worked
flawlessly.

But there are no backups during vacations, because students get out every 6
months and accounts are deleted after that. So home is almost empty (you
can see that in the `df -h`)

But to substitute one server to other in case of problems would take at
leas a day or two of hard work. Not a good option.

Also, all users (but this 6) are locked out. And only 3 are heavily using.
Even those 3 did not lost any data or work. That was a very good upgrade,
despite this 2 hours down.
Next time, Debian 9 will not let me down! :)

(And, yes, I read the release notes -- not again, but when upgrading the
first system).


Anyway, thank you for the tips. I will consider changing /var to another
partition.

(*) Given my current set up, I think its better to bring some space from
/home, isn't so? How many Gigas would you use (given this particular case
in hands?)

/dev/sda146G   12G   33G  26% / (ext4)
/dev/sda3   864G  4.0G  816G   1% /home (ext4)

Current usage:
$ du -hc
var = 1.1 GB (ext4)
usr = 8.5 GB (ext4)
tmp = 200 KB (ext4)

I'm thinking of:
var = 10 GB
usr = 20 GB
tmp = 10 GB

Or maybe:
var = 15 GB
usr = 20 GB
tmp = 5 GB

And keep all ext4 (to simplify my life, if that is ok, or at least not
critical).


(**) What configuration tool do you suggest to use for partitioning? Is it
safe to do it via ssh?


(***) Should I trust better NetworkManager, or let the server using
ifupdown? Or change to Wicd?



Thanks

Beco.






-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindexsearch=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: / 100% used

2015-07-06 Thread Beco
On 6 July 2015 at 10:45, Linux4Bene linux4b...@telenet.be wrote:

 Op Sun, 05 Jul 2015 17:32:56 -0300, schreef Beco:


  # apt-get remove wpasupplicant
 
  I could break the while loop deleting syslog. It stoped spamming.
  Looks like all messages was linked to it.
 
  I don't know very much wpasupplicant. Ill this software be needed in the
  near future?

 Only if you plan on using wireless on your server (which seems weird) so
 probably not.

  Im afraid the system is working only now, and will be unreachable next
  reboot.
 Then plan a scheduled maintenance where the users know the system won't
 be available for a while. Make sure you have backups of the system.
 Notify the users, shutdown the system, disable wireless in the BIOS,
 then reboot and fix whatever is on your path.
 You might want to do this on premise and have a system at hand connected
 to the net to search for info if you do encounter a problem.

 Regards


Hi Bene,

Well, with you I think its 3 suggestions to disable wireless via BIOS. So,
I've just changed my mind and I'll disable it. What is the point of asking
for suggestions and no following them?
If I need it one day, I'll re-enable.

Thanks for the tip and for the agenda.

Cheers,
Beco.



-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindexsearch=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: Something wrong with NetworkManager

2015-07-06 Thread Beco
 $ cat /etc/network/interfaces

 auto wlan0
 iface wlan0 inet dhcp
   wpa-ssid myownnaise
   wpa-psk e1841746a4f6dc64b7a6fa1f...cut




Its an intermittent problem. I commented the lines above and rebooted. Now
it is working via NetworkManager again.

Also, even when it was not working, I could issue the command:

# iwlist wlan0 scanning | grep ESSID

ESSID:myownnaise
ESSID:101ap
ESSID:VENTURE
ESSID:phaby
ESSID:Monyck
ESSID:ATT-7524
ESSID:ATT-4FE3
ESSID:ATT-9382


Mistery...





-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindexsearch=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: / 100% used

2015-07-05 Thread Beco
On 5 July 2015 at 16:58, David Christensen dpchr...@holgerdanske.com
 wrote:

 On 07/05/2015 12:19 PM, Beco wrote:
  16G of syslog ... over and over, this messages:

1 Jul  5 15:35:58 beco kernel: [66691.859352] ieee80211 phy0:
 rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
 2 Jul  5 15:35:58 beco kernel: [66691.859358] rt2800pci :03:00.0:
 firmware: failed to load rt2860.bin (-2)
 3 Jul  5 15:35:58 beco kernel: [66691.859359] rt2800pci :03:00.0:
 Direct firmware load failed with error -2
 4 Jul  5 15:35:58 beco kernel: [66691.859361] rt2800pci :03:00.0:
 Falling back to user helper


 It looks like the kernel is trapped in an infinite loop trying to load
 firmware for a network interface, and filling up your logs with error
 messages.


 Possible solutions:

 1.  Disable or remove the hardware in question.

 2.  Install rt2860.bin.  STFW ieee80211 phy0:
 rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin', I
 see:

 https://forums.gentoo.org/viewtopic-p-7563606.html


 David




David, guys,

Just to be sure: this server doesn't have (nor need) wireless interface.


root@camelo:/var/log# ifconfig
eth0  Link encap:Ethernet  HWaddr 22:60:77:93:3a:1c
  inet addr:10.0.3.2  Bcast:10.255.255.255  Mask:255.0.0.0
  inet6 addr: fe80::3a77:33ff:fe93:3a1c/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:508681 errors:0 dropped:0 overruns:0 frame:0
  TX packets:213717 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:56644394 (54.0 MiB)  TX bytes:107124530 (102.1 MiB)
  Interrupt:20 Memory:f720-f722

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:65536  Metric:1
  RX packets:2066703 errors:0 dropped:0 overruns:0 frame:0
  TX packets:2066703 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:95588488 (91.1 MiB)  TX bytes:95588488 (91.1 MiB)


I prefer uninstall it if so. But I'm having trouble identifying it. What
exactly should I uninstall? I need eth0 working (and thats all).

Also, is wpa_supplicant really necessary?

Thanks,
Beco.




-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindexsearch=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: / 100% used

2015-07-05 Thread Beco
On 5 July 2015 at 16:19, Beco r...@beco.cc wrote:

 Hi guys,

 I need some help regarding this problem.

 Yesterday I upgraded from Wheezy to Jessie. Today I got an email saying
 the user could not create a tmp file to do anything.

 I checked the filesystem with:

 
 # df -h
 Filesystem  Size  Used Avail Use% Mounted on

 /dev/sda146G   46G 0 100% /

 udev 10M 0   10M   0% /dev

 tmpfs   789M   82M  708M  11% /run

 tmpfs   2.0G  4.0K  2.0G   1% /dev/shm

 tmpfs   5.0M  4.0K  5.0M   1% /run/lock

 tmpfs   2.0G 0  2.0G   0% /sys/fs/cgroup

 /dev/sda3   864G  4.0G  816G   1% /home

 tmpfs   395M 0  395M   0% /run/user/1000

 tmpfs   395M 0  395M   0% /run/user/1340
 tmpfs   395M 0  395M   0% /run/user/1328
 tmpfs   395M 0  395M   0% /run/user/1360
 

 Also tried to find what was using such huge space with:


 
 # find / -xdev -type f -size +200M -exec ls -lh {} \;
 -rw-r- 1 root adm 4.2G Jul  5 16:05 /var/log/messages
 -rw-r- 1 root adm 5.6G Jul  5 16:05 /var/log/kern.log
 -rw-r- 1 root adm 16G Jul  5 16:05 /var/log/syslog
 -rw-r- 1 root adm 9.6G Jul  5 16:05 /var/log/daemon.log
 

 I'm not convinced that only 16G of syslog is my whole problem. But Id
 start with that, if I can make the system usable again. So I check the log
 just to see, over and over, this messages:

 
   1 Jul  5 15:35:58 beco kernel: [66691.859352] ieee80211 phy0:
 rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
2 Jul  5 15:35:58 beco kernel: [66691.859358] rt2800pci :03:00.0:
 firmware: failed to load rt2860.bin (-2)
3 Jul  5 15:35:58 beco kernel: [66691.859359] rt2800pci :03:00.0:
 Direct firmware load failed with error -2
4 Jul  5 15:35:58 beco kernel: [66691.859361] rt2800pci :03:00.0:
 Falling back to user helper
 ...

 Jul  5 15:35:58 beco systemd-udevd[16867]: failed to execute
 '/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
 'socket:@/org/freedesktop/hal/u
 dev_event': No such file or directory
 ...
   24 Jul  5 15:35:58 beco wpa_supplicant[2357]: Could not set interface
 wlan0 flags (UP): Cannot allocate memory
   25 Jul  5 15:35:58 beco wpa_supplicant[2357]: nl80211: Could not set
 interface 'wlan0' UP
   26 Jul  5 15:35:58 beco wpa_supplicant[2357]: Could not set interface
 wlan0 flags (UP): Cannot allocate memory
   27 Jul  5 15:35:58 beco wpa_supplicant[2357]: WEXT: Could not set
 interface 'wlan0' UP
   28 Jul  5 15:35:58 beco wpa_supplicant[2357]: wlan0: Failed to
 initialize driver interface
 ...
   30 Jul  5 15:35:58 beco NetworkManager[1812]: error [1436121358.001526]
 [supplicant-manager/nm-supplicant-interface.c:856] interface_add_cb(): (w
   lan0): error adding interface: wpa_supplicant couldn't grab this
 interface.
   31 Jul  5 15:35:58 beco NetworkManager[1812]: info (wlan0): supplicant
 interface state: starting - down
   32 Jul  5 15:35:58 beco systemd-udevd[16870]: failed to execute
 '/lib/udev/socket:@/org/freedesktop/hal/udev_event' 
 'socket:@/org/freedesktop/hal/u
 dev_event': No such file or directory
 ...
 


Ok, I run:

# apt-get remove wpasupplicant

I could break the while loop deleting syslog. It stoped spamming. Looks
like all messages was linked to it.

I don't know very much wpasupplicant. Ill this software be needed in the
near future?

Im afraid the system is working only now, and will be unreachable next
reboot.

--

To keep up with Santiago and Joe:

Santiago, thanks for the file. I do prefer not use if not necessary,
though. Lets see how things goes.

Joe, I'm runing this server via ssh. And I cannot turn it off, as there are
users online now.
I'll read your other suggestions more easily now that its kind of 
working.




Thanks.
Beco.



-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindexsearch=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


/ 100% used

2015-07-05 Thread Beco
Hi guys,

I need some help regarding this problem.

Yesterday I upgraded from Wheezy to Jessie. Today I got an email saying the
user could not create a tmp file to do anything.

I checked the filesystem with:


# df -h
Filesystem  Size  Used Avail Use% Mounted on

/dev/sda146G   46G 0 100% /

udev 10M 0   10M   0% /dev

tmpfs   789M   82M  708M  11% /run

tmpfs   2.0G  4.0K  2.0G   1% /dev/shm

tmpfs   5.0M  4.0K  5.0M   1% /run/lock

tmpfs   2.0G 0  2.0G   0% /sys/fs/cgroup

/dev/sda3   864G  4.0G  816G   1% /home

tmpfs   395M 0  395M   0% /run/user/1000

tmpfs   395M 0  395M   0% /run/user/1340
tmpfs   395M 0  395M   0% /run/user/1328
tmpfs   395M 0  395M   0% /run/user/1360


Also tried to find what was using such huge space with:



# find / -xdev -type f -size +200M -exec ls -lh {} \;
-rw-r- 1 root adm 4.2G Jul  5 16:05 /var/log/messages
-rw-r- 1 root adm 5.6G Jul  5 16:05 /var/log/kern.log
-rw-r- 1 root adm 16G Jul  5 16:05 /var/log/syslog
-rw-r- 1 root adm 9.6G Jul  5 16:05 /var/log/daemon.log


I'm not convinced that only 16G of syslog is my whole problem. But Id start
with that, if I can make the system usable again. So I check the log just
to see, over and over, this messages:


  1 Jul  5 15:35:58 beco kernel: [66691.859352] ieee80211 phy0:
rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
   2 Jul  5 15:35:58 beco kernel: [66691.859358] rt2800pci :03:00.0:
firmware: failed to load rt2860.bin (-2)
   3 Jul  5 15:35:58 beco kernel: [66691.859359] rt2800pci :03:00.0:
Direct firmware load failed with error -2
   4 Jul  5 15:35:58 beco kernel: [66691.859361] rt2800pci :03:00.0:
Falling back to user helper
...

Jul  5 15:35:58 beco systemd-udevd[16867]: failed to execute
'/lib/udev/socket:@/org/freedesktop/hal/udev_event'
'socket:@/org/freedesktop/hal/u
dev_event': No such file or directory
...
  24 Jul  5 15:35:58 beco wpa_supplicant[2357]: Could not set interface
wlan0 flags (UP): Cannot allocate memory
  25 Jul  5 15:35:58 beco wpa_supplicant[2357]: nl80211: Could not set
interface 'wlan0' UP
  26 Jul  5 15:35:58 beco wpa_supplicant[2357]: Could not set interface
wlan0 flags (UP): Cannot allocate memory
  27 Jul  5 15:35:58 beco wpa_supplicant[2357]: WEXT: Could not set
interface 'wlan0' UP
  28 Jul  5 15:35:58 beco wpa_supplicant[2357]: wlan0: Failed to initialize
driver interface
...
  30 Jul  5 15:35:58 beco NetworkManager[1812]: error [1436121358.001526]
[supplicant-manager/nm-supplicant-interface.c:856] interface_add_cb(): (w
  lan0): error adding interface: wpa_supplicant couldn't grab this
interface.
  31 Jul  5 15:35:58 beco NetworkManager[1812]: info (wlan0): supplicant
interface state: starting - down
  32 Jul  5 15:35:58 beco systemd-udevd[16870]: failed to execute
'/lib/udev/socket:@/org/freedesktop/hal/udev_event'
'socket:@/org/freedesktop/hal/u
dev_event': No such file or directory
...


This keeps going. You can see above, its only from 15h35min58s. During one
single minute I got more than 7000+ lines added into syslog.

It seems a variety of problems. How can I get out from this EMERGENCY
(system is not usable), and then with more calm and time, figure out what
to do in the long term?

Thank you,
Beco.


-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindexsearch=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: / 100% used

2015-07-05 Thread Beco
On 5 July 2015 at 16:58, David Christensen dpchr...@holgerdanske.com
wrote:

 On 07/05/2015 12:19 PM, Beco wrote:
  16G of syslog ... over and over, this messages:

1 Jul  5 15:35:58 beco kernel: [66691.859352] ieee80211 phy0:
 rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
 2 Jul  5 15:35:58 beco kernel: [66691.859358] rt2800pci :03:00.0:
 firmware: failed to load rt2860.bin (-2)
 3 Jul  5 15:35:58 beco kernel: [66691.859359] rt2800pci :03:00.0:
 Direct firmware load failed with error -2
 4 Jul  5 15:35:58 beco kernel: [66691.859361] rt2800pci :03:00.0:
 Falling back to user helper


 It looks like the kernel is trapped in an infinite loop trying to load
 firmware for a network interface, and filling up your logs with error
 messages.


 Possible solutions:

 1.  Disable or remove the hardware in question.

 2.  Install rt2860.bin.  STFW ieee80211 phy0: rt2x00lib_request_firmware:
 Info - Loading firmware file 'rt2860.bin', I see:

 https://forums.gentoo.org/viewtopic-p-7563606.html


 David




Hi guys,

An emergency is an emergency.

I opened an terminal and run:

# while true; do echo clean syslog; cat /dev/null  syslog ; sleep 10; done

Now I can think.

:)

Please, advise.

David, I'm looking into your solution now. I'll report back. Thank you.

Beco.



-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindexsearch=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: / 100% used

2015-07-05 Thread Beco
On 5 July 2015 at 20:29, Pascal Hambourg pas...@plouf.fr.eu.org wrote:

 Beco a écrit :
 
  Just to be sure: this server doesn't have (nor need) wireless interface.

 It has one. If you don't need it, you can disable the kernel module
 autoloading by creating a file /etc/modprobe.d/blacklist-rt2800pci.conf
 containing the following line :

 blacklist rt2800pci



Hi guys,

I'll report actions in order now:

- Upgrade from wheezy to jessie yesterday nigh. No problems during upgrade.
- Today email from users telling system is not usable (but online and you
could login)
- After inquiring the logs, I saw syslog with what seems to be 3 problems,
spamming the logs
  * networkmanager reporting wpa_supplicant
  * wpa_supplicant trying to setup wlan0
  * kernel attempting to load rt2860.bin

Status: system could not create any files. I could not apt-get install
lshw, for instance. Users (students) could not run gcc to compile, due to
lack of resources.

System is remote, using ssh to solve problems.

1st action: a loop created with a bash command:
# while true; do echo clean syslog; cat /dev/null  syslog ; sleep 10; done

This would allow me to see whats happening. I could install lshw.

The Wanderer asked for

-
#ifconfig -a

eth0 bla bla bla cut

lo bla bla bla cut

wlan0 Link encap:Ethernet  HWaddr 00:0a:0c:49:83:9b
  BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
-

So, yes, it has wlan0.

Also this command:
-
# lshw -C network
  *-network
   description: Ethernet interface
   product: 82579V Gigabit Network Connection
   vendor: Intel Corporation
   physical id: 19
   bus info: pci@:00:19.0
   logical name: eth0
   version: 05
   serial: 38:60:77:93:3a:1c
   size: 100Mbit/s
   capacity: 1Gbit/s
   width: 32 bits
   clock: 33MHz
   capabilities: pm msi bus_master cap_list ethernet physical tp 10bt
10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=e1000e
driverversion=2.3.2-k duplex=full firmware=0.13-4 ip=10.0.3.2 latency=0
link=yes multicast=yes port=twisted pair speed=100Mbit/s
   resources: irq:42 memory:f720-f721 memory:f7228000-f7228fff
ioport:f040(size=32)
  *-network DISABLED
   description: Wireless interface
   product: RT3062 Wireless 802.11n 2T/2R
   vendor: Ralink corp.
   physical id: 0
   bus info: pci@:03:00.0
   logical name: wlan0
   version: 00
   serial: 00:0c:0a:49:83:9b
   width: 32 bits
   clock: 33MHz
   capabilities: pm bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=rt2800pci
driverversion=3.16.0-4-amd64 firmware=N/A latency=32 link=no maxlatency=4
mingnt=2 multicast=yes wireless=IEEE 802.11bgn
   resources: irq:16 memory:f710-f710
-


2nd action:

 # apt-get remove wpasupplicant

System stabilized. I let all my ssh sessions on, and went to grab a bite.
(Not lunched today yet).

- OH BOY SECTION!!

Just to come back and see all sessions kicked out. System not accessible
anymore.

Ping was ok. But no connection. Ping was problably ok because a server
before mine should be answering the pings.

Any ssh give me time out! Oh, boy! So the worst came true: I needed
physical access to a server in my room, sunday night. There I went. Drove
there, all dark and empty. Sysadmins life.

There I saw the Network-Manager icon (KDE) was not active. Well, I
downloaded the wpasupplicant package using my notebook, passed via pendrive
to the server, reinstalled it.

3rd action:

Nothing working. Tried ifup, not recognized. Then I remember I had
commented some lines before, in /etc/network/interfaces. I dis-commented
this line:

---
iface eth0 inet dhcp
---

And #ifup eth0

All running. I needed to get out there, because the gate's keeper was not
happy.

Back to my home, now I think the server is running ok.

I need to figure out what is wrong, and if there is a better solution.
Because I can't make sense of what just happened as reported above.

In my understanding, I was supposed to let Network-manager run the game.
Not wpa_supplicant, and not ifup.

Now I don't know where is Network-manager. wpa_supplicant was gone, and
back again. System is stable. And ifup is configured.



Last action:  (Pascal's suggestion)
I added the referred firmware to the blacklist

Just in case


So, where I am now after such modifications?!

Tomorrow I'll have full access to the server, and hopefully no gatekeeper
in my back, so I'll have some time.

Should I research for Network-Manager? Comment back this ifup ?

I'm kind of lost here.

Thanks!

Beco.



PS.

Kernel log was also full with:

Jul  5 17:21:47 beco kernel: [73049.254557

Something wrong with NetworkManager

2015-07-05 Thread Beco
Hi guys,

After a battle with wpa_supplicant commented in other thread (*) it's time
for this notebook breaks down.

I just connected as usual (turning on the notebook and nothing more needed)
and the list of available wireless nets are empty.

The only way I could connect was to go through my mobile via bluetooth, and
from it to my wifi.

There is something wrong with this Jessie upgrade. I upgraded my notebook
(as well as the server at the university) yesterday.

Now, I wrote this piece here:
$ cat /etc/network/interfaces

auto wlan0
iface wlan0 inet dhcp
  wpa-ssid myownnaise
  wpa-psk e1841746a4f6dc64b7a6fa1f...cut

And rebooted ok. Wlan0 is connected and working ok.

I wonder what is happening. Is there some logs I can share with you so we
could understand what is going on?

Thanks any tip here (also!)

Beco

PS.

(*)( https://lists.debian.org/debian-user/2015/07/msg00207.html )

PPS. Some useful info I can give in advance. I don't know exactly what we
are looking for here.

lshw -C network
cut

*-network
   description: Wireless interface
   product: Centrino Wireless-N 1030 [Rainbow Peak]
   vendor: Intel Corporation
   physical id: 0
   bus info: pci@:09:00.0
   logical name: wlan0
   version: 34
   serial: 4c:eb:42:7b:a0:16
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet
physical wireless
   configuration: broadcast=yes driver=iwlwifi
driverversion=3.16.0-4-amd64 firmware=18.168.6.1 ip=192.168.0.8 latency=0
link=yes multicast=yes wireless=IEEE 802.11bgn
   resources: irq:50 memory:f7e0-f7e01fff



Are these errors relevant to the problem? I was not seing them before:
file: syslog

4035 Jul  5 20:41:28 raposa NetworkManager[755]: (NetworkManager:755):
libnm-util-CRITICAL **: get_secret_flags: assertion 'is_secret_prop
(setting, secret_name, error)' failed

5723 Jul  5 22:05:51 raposa NetworkManager[750]: error
[1436144751.645583] [platform/nm-linux-platform.c:1714] add_object():
Netlink error adding 0.0.0.0/0 via 192.168.0.1 dev wlan0 metric 1024 mss 0
src user: Unspecific failure
5724 Jul  5 22:05:51 raposa NetworkManager[750]: error
[1436144751.645649] [platform/nm-linux-platform.c:1714] add_object():
Netlink error adding 192.168.0.1/32 via 0.0.0.0 dev wlan0 metric 1024 mss 0
src user: Unspecific failure
5725 Jul  5 22:05:51 raposa NetworkManager[750]: error
[1436144751.645683] [platform/nm-linux-platform.c:1714] add_object():
Netlink error adding 0.0.0.0/0 via 192.168.0.1 dev wlan0 metric 1024 mss 0
src user: Unspecific failure
5726 Jul  5 22:05:51 raposa NetworkManager[750]: error
[1436144751.645702] [nm-policy.c:693] update_ip4_routing(): Failed to set
default route.

5780 Jul  5 22:08:43 raposa kernel: [  441.864790] iwlwifi :09:00.0:
Failed to load firmware chunk!

5786 Jul  5 22:08:52 raposa NetworkManager[750]: error
[1436144932.891200] [platform/nm-linux-platform.c:2250] link_change():
Netlink error changing link 3:  UP mtu 0 (1) driver 'iwlwifi' udi
'/sys/devices/pci:00/:00:1c.3/:09:00.0/net/wlan0': Unspecific
failure

5789 Jul  5 22:08:52 raposa NetworkManager[750]: warn Activation (wlan0)
failed for connection 'myownnaise'

5820 Jul  5 22:09:08 raposa NetworkManager[750]: info (wlan0): device
state change: failed - disconnected (reason 'none') [120  30 0]





-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan

GPG Key: https://pgp.mit.edu/pks/lookup?op=vindexsearch=0x5A107A425102382A
Creation date: pgp.mit.edu ID as of 2014-11-09


Re: calendar world cup (portuguese) and others

2014-08-13 Thread Beco
Darac:
  /usr/share/calendar appears to be owned by the bsdmainutils package. I
  would suggest filing a wishlist bug against that package with your file
  attached.


Thanks, Darac! I'll do that.

Cheers,
Beco



-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan


calendar world cup (portuguese) and others

2014-08-12 Thread Beco
Hi guys,

Last semester I made some calendars.

Specially a brazilian one, that is not current on the system.

I wonder, to whom should I send them, to ask Debian to keep them in the
next version?

Thanks!
Beco.

PS. Bellow a teaser. If you like, please save as a plain text file under
the directory cited:


-- 

root@camelo:/usr/share/calendar/pt_BR# cat calendar.copa2014
/*
 * World Cup 2014
 * Prepared by Ruben Carlo Benante [ rcb at beco dot cc ]
 */

#ifndef _calendar_copa2014_
#define _calendar_copa2014_

LANG=utf-8

12 Jun  Copa do Mundo 2014, Grupo A, Brasil 3 x 1 Croácia (SP)
13 Jun  Copa do Mundo 2014, Grupo A, México 1 x 0 Camarões (RN)
13 Jun  Copa do Mundo 2014, Grupo B, Espanha 1 x 5 Holanda (BA)
13 Jun  Copa do Mundo 2014, Grupo B, Chile 3 x 1 Austrália (MT)
14 Jun  Copa do Mundo 2014, Grupo C, Colômbia 3 x 0 Grécia (MG)
14 Jun  Copa do Mundo 2014, Grupo C, Costa do Marfim 2 x 1 Japão (PE)
14 Jun  Copa do Mundo 2014, Grupo D, Uruguai 1 x 3 Costa Rica (CE)
14 Jun  Copa do Mundo 2014, Grupo D, Inglaterra 1 x 2 Itália (AM)
15 Jun  Copa do Mundo 2014, Grupo E, Suíça 2 x 1 Equador (DF)
15 Jun  Copa do Mundo 2014, Grupo E, França 3 x 0 Honduras (RS)
15 Jun  Copa do Mundo 2014, Grupo F, Argentina 2 x 1 Bósnia e Herzegovina
(RJ)
16 Jun  Copa do Mundo 2014, Grupo F, Irã 0 x 0 Nigéria (PR)
16 Jun  Copa do Mundo 2014, Grupo G, Alemanha 4 x 0 Portugal (BA)
16 Jun  Copa do Mundo 2014, Grupo G, Gana 1 x 2 EUA (RN)
17 Jun  Copa do Mundo 2014, Grupo H, Bélgica 2 x 1 Argélia (MG)
17 Jun  Copa do Mundo 2014, Grupo H, Rússia 1 x 1 Coréia do Sul (MT)
17 Jun  Copa do Mundo 2014, Grupo A, Brasil 0 x 0 México (CE)
18 Jun  Copa do Mundo 2014, Grupo A, Camarões 0 x 4 Croácia (AM)
18 Jun  Copa do Mundo 2014, Grupo B, Espanha 0 x 2 Chile (RJ)
18 Jun  Copa do Mundo 2014, Grupo B, Austrália 2 x 3 Holanda (RS)
19 Jun  Copa do Mundo 2014, Grupo C, Colômbia 2 x 1 Costa do Marfim (DF)
19 Jun  Copa do Mundo 2014, Grupo C, Japão 0 x 0 Grécia (RN)
19 Jun  Copa do Mundo 2014, Grupo D, Uruguai 2 x 1 Inglaterra (SP)
20 Jun  Copa do Mundo 2014, Grupo D, Itália 0 x 1 Costa Rica (PE)
20 Jun  Copa do Mundo 2014, Grupo E, Suíça 2 x 5 França (BA)
20 Jun  Copa do Mundo 2014, Grupo E, Honduras 1 x 2 Equador (PR)
21 Jun  Copa do Mundo 2014, Grupo F, Argentina 1 x 0 Irã (MG)
21 Jun  Copa do Mundo 2014, Grupo F, Nigéria 1 x 0 Bósnia e Herzegovina (MT)
21 Jun  Copa do Mundo 2014, Grupo G, Alemanha 2 x 2 Gana (CE)
22 Jun  Copa do Mundo 2014, Grupo G, EUA 2 x 2 Portugal (AM)
22 Jun  Copa do Mundo 2014, Grupo H, Bélgica 1 x 0 Rússia (RJ)
22 Jun  Copa do Mundo 2014, Grupo H, Coréia do Sul 2 x 4 Argélia (RS)
23 Jun  Copa do Mundo 2014, Grupo A, Camarões 1 x 4 Brasil (DF)
23 Jun  Copa do Mundo 2014, Grupo A, Croácia 1 x 3 México (PE)
23 Jun  Copa do Mundo 2014, Grupo B, Austrália 0 x 3 Espanha (PR)
23 Jun  Copa do Mundo 2014, Grupo B, Holanda 2 x 0 Chile (SP)
24 Jun  Copa do Mundo 2014, Grupo C, Japão 1 x 4 Colômbia (MT)
24 Jun  Copa do Mundo 2014, Grupo C, Grécia 2 x 1 Costa do Marfim (CE)
24 Jun  Copa do Mundo 2014, Grupo D, Itália 0 x 1 Uruguai (RN)
24 Jun  Copa do Mundo 2014, Grupo D, Costa Rica 0 x 0 Inglaterra (MG)
25 Jun  Copa do Mundo 2014, Grupo E, Honduras 0 x 3 Suíça (AM)
25 Jun  Copa do Mundo 2014, Grupo E, Equador 0 x 0 França (RJ)
25 Jun  Copa do Mundo 2014, Grupo F, Nigéria 2 x 3 Argentina (RS)
25 Jun  Copa do Mundo 2014, Grupo F, Bósnia e Herzegovina 3 x 1 Irã (BA)
26 Jun  Copa do Mundo 2014, Grupo G, EUA 0 x 1 Alemanha (PE)
26 Jun  Copa do Mundo 2014, Grupo G, Portugal 2 x 1 Gana (DF)
26 Jun  Copa do Mundo 2014, Grupo H, Coréia do Sul 0 x 1 Bélgica (SP)
26 Jun  Copa do Mundo 2014, Grupo H, Argélia 1 x 1 Rússia (PR)
28 Jun  Copa do Mundo 2014, Oitavas, Brasil 1(3) x 1(2) Chile (MG)
28 Jun  Copa do Mundo 2014, Oitavas, Colombia 2 x 0 Uruguai (RJ)
29 Jun  Copa do Mundo 2014, Oitavas, Holanda 2 x 1 México (CE)
29 Jun  Copa do Mundo 2014, Oitavas, Costa Rica 1(5) x 1(3) Grécia (PE)
30 Jun  Copa do Mundo 2014, Oitavas, França 2 x 0 Nigéria (DF)
30 Jun  Copa do Mundo 2014, Oitavas, Alemanha 1 x 0 Argélia (RS)
01 Jul  Copa do Mundo 2014, Oitavas, Argentina 1 x 0 Suíça (SP)
01 Jul  Copa do Mundo 2014, Oitavas, Bélgica 2 x 1 EUA (BA)
04 Jul  Copa do Mundo 2014, Quartas, Brasil 2 x 1 Colômbia (CE)
04 Jul  Copa do Mundo 2014, Quartas, França 0 x 1 Alemanha (RJ)
05 Jul  Copa do Mundo 2014, Quartas, Holanda 0(4) x 0(3) Costa Rica (BA)
05 Jul  Copa do Mundo 2014, Quartas, Argentina 1 x 0 Bélgica (DF)
08 Jul  Copa do Mundo 2014, Semi-final, Brasil 1 x 7 Alemanha (MG)
09 Jul  Copa do Mundo 2014, Semi-final, Holanda 0(2) x 0(4) Argentina (SP)
12 Jul  Copa do Mundo 2014, Terceiro lugar, Brasil x Holanda (DF)
13 Jul  Copa do Mundo 2014, Final, Alemanha x Argentina (RJ)

#endif /* !_calendar_copa2014_ */


--

-- 
Dr Beco
A.I. researcher

I know you think you understand what you thought I said but I'm not sure
you realize that what you heard is not what I meant -- Alan Greenspan


Remote xboard without Desktop Environment

2013-11-20 Thread Beco
Hello fellows,

I find it hard to ask exactly what I need as solution, and so, to
avoid XY problem I'll openly discuss the main objective here.

So, I have this hobby, chess, and I've being developing since 94 a
chess engine (Xadreco) that runs with xboard protocol. (Oldtimes, it
just used conio.h/curses.h to print a fine board using ascii-art text
to let you play on console).

Its a console application, very simple.

Now suppose I have this 2 computers:

[Fox]-ssh-[Lizard]

Fox and Lizard run Debian Wheezy.

Fox is a very fast notebook (intel i5, 6GB Ram), with KDE.

Lizard is an old computer (pentium 200Mhz MMX, 96MB RAM) used as a
backup. It has no DE nor WM. Just plain console.

I will work on Fox only. No use of Lizard keyboard/mouse/monitor. I
connect to Lizard by ssh.


(1) How can I run xboard and play against xadreco issuing the command
fox$ xboard -fcp xadreco

First: I cannot start xboard on lizard. Xboard needs  display . I
cannot start it from Fox, nor from Lizard directly.

It would be great if xboard would just run on a console. I tried the
option -noGUI, but I think its not about that.

So the commands:

fox$ xboard -fcp xadreco
fox$ xboard -fcp xadreco
lizard$ xboard -fcp xadreco

Wont work.

Of course, it tells me: no display.

The obvious solution is to install a DE. The machine is too old and
slow. I don't want to install a DE unless necessary.


(2) xboard can connect to a chess server (a third computer). So the
configuration would be:

[Fox] - ssh - [Lizard] - xboard-protocol - [Flik]

Flik is not mine, I suppose it runs linux. I don't need to know. Flik
runs a chess server (ICS), so I can talk to it using xboard protocol (
text commands over the internet that tells the opponents moves, and
send the engine moves, in a fashion notation that reminds the
coordinates of a naval battle game)

In this case, the graphical interface (or the chess board) is really
unnecessary, as people will play chess at their computers. Xboard only
need to keep the connection alive and send the text commands from
the protocol (like moves, etc.).


(3) Now, how can I keep xboard running on lizard, after I turn off fox.

Also, it happens that the connection break some time. So I would
connect via ssh from Fox to Lizard to restart xboard again.


Ultimately, the main objective is keep Lizard on, running xboard and
xadreco, connected with Flik, playing games. If something goes wrong,
use Fox to restart the program.
And: saving as much RAM as possible of Lizard, without installing
anything unless necessary.

[Fox] - ssh - [Lizard] - xboard-protocol - [Flik] -
xboard-protocol - [netizens]


Thanks any help here (specially with concepts to try to understand
and solve the best way possible each approach).

Beco



-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2xnnuv_82zA3yuqWa1Wus1YBhORexKqFwV=3bxw82e...@mail.gmail.com



Re: Remote xboard without Desktop Environment

2013-11-20 Thread Beco
On 20 November 2013 12:57, Darac Marjal mailingl...@darac.org.uk wrote:
 The obvious solution is to install a DE. The machine is too old and
 slow. I don't want to install a DE unless necessary.

 This is probably the easiest question to answer. If you do ssh -X
 lizard, then SSH will set up what is known as X forwarding; that is,
 it sets up port forwarding and environment variables so that programs on
 lizard will use the display on fox.

 For example:
  fox$ xboard   # fox executes xboard and displays locally
  fox$ ssh -X lizard
  lizard$ xboard# lizard executes xboard and displays on fox


Hi Darac,

Yep, this solved indeed. First I tried and got an error. I thought it
would be because of the fact there is no x-server. But it was just the
case of editing sshd_conf and allow port forward.

Great! Thanks. One to go.



 [Fox] - ssh - [Lizard] - xboard-protocol - [Flik] -
 xboard-protocol - [netizens]

 One possibility might be to use screen or tmux to provide a
 detachable console. I don't know if the exact details of this are
 possible, but it might be possible to do the following:

   fox$ ssh lizard
   lizard$ screen# starts a new screen session
   lizard$ xboard-server   # Somehow run xboard in a text-only mode
   lizard$ Ctrl+A Ctrl+D   # Detach the screen session. xboard continues
 to run in the background
   lizard$ logout


I apt-get-installed screen and Ctrl-A-D worked as a charm.

The real mystery now is how to run xboard! :)

This line:

   fox$ xboard  # Fox connects to the xboard server in the same way
  that flik does.

Just to clarify, I think you meant:

fox$ xboard -ics Flik # Fox connects to Flik server the same way other
players (netizens) do.


 In other words, we treat Flik and Fox the same (as clients, talking the
 xboard protocol to lizard, which runs purely as a server).


Flik is the ICS (internet chess server, or xboard server), not a client.


Thanks!
Beco.




-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caluyw2zljxjgh_nlkaohzs_ru+av0kfp674fbmkd3se-wsz...@mail.gmail.com



Re: Remote xboard without Desktop Environment

2013-11-20 Thread Beco
On 20 November 2013 13:57, Darac Marjal mailingl...@darac.org.uk wrote:

 Flik is the ICS (internet chess server, or xboard server), not a client.

 Ah, OK. So Flik rather than Lizard is the server. I think I
 misunderstood there. In that case you want to make Lizard the client.

 Hmm. I don't know of a program like screen that works for X connections
 (i.e. allows you to detach and reattach them). There are, however,
 programs that will run the client on a virtual display and you can then
 view that display on Fox. For that, look at a VNC or RDP server. Here,
 the basic workflow would be similar to screen; you start a VNC or RDP
 server on lizard, you connect a viewer program on fox to the display on
 lizard, you start xboard on the virtual display, you can then disconnect
 and reconnect to that virtual display.



Hi Paul (is it Paul, isnt it? Or Darac?), hi guys,


Yes, Lizard is a client. It connect to Flik (ICS) with its own login,
and play games like other players do.

About this last suggestion, I was kind of thinking on it, but...

I thought VNC (or RDP for that matter) would only let me see the
other computer as if it was local. In that case, Lizard would need a
DE anyway, isnt it?



Thanks,
Beco.





-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2yCgtWNG=hgfssrukwf7qi4ua-bmhwicry8sk5d+mw...@mail.gmail.com



Apper password: sudo or root?

2013-11-13 Thread Beco
Dear users,

Why in some of my systems, when I try to update, apper asks for my
sudo password, and in others, it asks for root password?

During the installation I always follow the same procedure, and I try
to keep all systems as equal as I can, so Im pretty sure I did not
changed such option.

Actually, I don't even know where to change. If I knew, I would make
them all ask for just on kind.

The way it is, I never know. And the dialog box do not say which one
its expecting. Its bothering me for a while now, so I thought to ask
here if some has a solution.

Thanks!
Beco.



-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


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



Re: Apper password: sudo or root?

2013-11-13 Thread Beco
Hi Ralf,

On 13 November 2013 15:52, Ralf Mardorf ralf.mard...@alice-dsl.net wrote:
 What DE do you use?
 What application to update do you use?
 Do you have both enabled, su and sudo?

 Assumed you're using Synaptic on a GTK based DE and both, su and sudo
 are enabled, than it's likely that you need to change the launcher you
 use to start Synaptic from gksu synaptic to gksudo synaptic.


Sorry to make you have to assume such things.

Apper is the application. Its default to KDE (substitutes old synaptic).

I don't have synaptic installed anymore, since Apper icon appear on my panel.

Thanks for your help. I actually can already start digging based on
what you said. Let me try something here.

My best,
Beco.



-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2yghREqxedT=i7er_wvryefz4j1l_l+zdctuoa3wuy...@mail.gmail.com



Upgrade all kept back packages

2013-11-10 Thread Beco
  libqtgstreamerui-0.10-0 libqtscript4-core libqtscript4-gui
libqtscript4-network libqtscript4-sql
  libqtscript4-uitools libqtscript4-xml libquicktime1 libswscale0
libtag-extras1 libtheora-bin libunicap2 libvpx0
  libweed0 libx264-112 libx264-118 libxine2-doc lilypond lilypond-data
lilypond-doc lives-data lokalize lsdvd
  lskat mkvtoolnix nuvola-icon-theme ogmtools okteta optipng palapeli
palapeli-data parley-data poxml
  preview-latex-style python-aeidon python-dateutil python-enchant
python-iniparse python-levenshtein
  python-simplejson python-utidylib python-vobject rdesktop rocs
rtmpdump step tex4ht tex4ht-common texlive
  texlive-bibtex-extra texlive-fonts-recommended
texlive-fonts-recommended-doc texlive-latex-extra
  texlive-latex-extra-doc texlive-math-extra texlive-pictures
texlive-pictures-doc transcode-doc transcode-utils
  translate-toolkit ttf-sjfonts twolame umbrello valgrind
wwwconfig-common xsltproc youtube-dl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  phonon-backend-null
The following packages will be REMOVED:
  akonadiconsole akregator amarok ark blinken bomber devede digikam
dolphin dragonplayer dvdrip gwenview juk k3b
  kaddressbook kajongg kalarm kamoso kanagram kapman kbattleship
kblocks kbounce kde kde-baseapps kde-config-cddb
  kde-full kde-plasma-desktop kde-plasma-netbook kde-standard
kde-workspace kde-workspace-bin kdeaccessibility
  kdeartwork kdebase kdebase-workspace-bin kdeedu kdegames kdegraphics
kdegraphics-mobipocket kdemultimedia
  kdemultimedia-kio-plugins kdenetwork kdepasswd kdepim
kdepim-groupware kdepim-kresources kdepim-wizards
  kdeplasma-addons kdesdk kdesdk-dolphin-plugins kdeutils kfind kget
khangman kid3 kile kipi-plugins kleopatra
  klettres kmail kmix kmousetool kmplayer knode knotes kollision
konq-plugins konqueror konsole kontact kopete
  korganizer kpat kplayer kscd kscreensaver kscreensaver-xsavers
kshisen ksirk ktimetracker ktorrent ktouch
  ktuberling kwordquiz libakonadi-contact4 libk3b6 libk3b6-extracodecs
libkcddb4 libkdepim4 libkonq-common
  libkonq5abi1 libokularcore1 libsmokephonon3 lives marble
marble-plugins mplayer mplayerthumbs okular parley
  phonon-backend-vlc plasma-runners-addons plasma-scriptengine-python
plasma-scriptengines
  plasma-widget-folderview plasma-widgets-addons python-kde4
ruby-phonon subtitleripper system-config-printer-kde
  transcode vlc vlc-nox vlc-plugin-notify vlc-plugin-pulse xvidcap
The following NEW packages will be installed:
  phonon-backend-null
0 upgraded, 1 newly installed, 117 to remove and 0 not upgraded.
Need to get 15.9 kB of archives.
After this operation, 434 MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.



# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  avidemux-common libaften0 libartsc0 libfame-0.9-1 libgraphicsmagick3
libmjpegtools-1.9 libmkv0 libquicktime1
  libx264-112 libxine2-doc
0 upgraded, 0 newly installed, 10 to remove and 7 not upgraded.
After this operation, 12.7 MB disk space will be freed.
Do you want to continue [Y/n]? y




And here I tried remove again the previous command, with the same
result: apt-get wants to remove and strip naked my system.

How can I eliminate the message The following packages have been kept
back:  mplayer transcode vlc vlc-nox vlc-plugin-notify
vlc-plugin-pulse xvidcap ?


Thanks!
Beco




-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caluyw2yoa9qyw_f+cp1+hgjghdtf++mwpodvy5ihxyt+6co...@mail.gmail.com



Re: Upgrade all kept back packages

2013-11-10 Thread Beco
On 10 November 2013 14:05, Beco r...@beco.cc wrote:
 And here I tried remove again the previous command, with the same
 result: apt-get wants to remove and strip naked my system.

 How can I eliminate the message The following packages have been kept
 back:  mplayer transcode vlc vlc-nox vlc-plugin-notify
 vlc-plugin-pulse xvidcap ?




I read somewhere that dist-upgrade would do the trick, but it did not
work; although I got 2 more! (  transcode and xvidcap )

(This is Wheezy, with Wheezy sources.list)

# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  libavcodec-extra-53
The following NEW packages will be installed:
  libavcodec53 libbs2b0 libmjpegtools-2.0-0 mjpegtools
The following packages have been kept back:
  mplayer vlc vlc-nox vlc-plugin-notify vlc-plugin-pulse
The following packages will be upgraded:
  transcode xvidcap
2 upgraded, 4 newly installed, 1 to remove and 5 not upgraded.
Need to get 6,129 kB of archives.
After this operation, 2,357 kB of additional disk space will be used.
Do you want to continue [Y/n]? y



Thanks,
Beco



-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2wacH5eXthJttvhpz2cV=67z8cook1_ufrd6ndte22...@mail.gmail.com



Re: Upgrade all kept back packages

2013-11-10 Thread Beco
 out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 vlc-nox : Depends: libcdio10 but it is not installable
   Depends: libiso9660-7 but it is not installable
   Depends: libupnp3 (= 1.4.3) but it is not installable
E: Unable to correct problems, you have held broken packages.



Any light here? Thanks.

Beco




-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2zQ04omSKy3PZ2yStD_oEXvLd2bhBU=ycpsqxxvhr7...@mail.gmail.com



Re: Upgrade all kept back packages

2013-11-10 Thread Beco
++5 live-boot
live-boot-initramfs-tools live-config live-config-sysvinit
  ttf-kochi-gothic ttf-sazanami-mincho wx-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  live-initramfs
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 32.8 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 324511 files and directories currently installed.)
Removing live-initramfs ...


# apt-get install live-initramfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  camstream-doc libmysqlclient16 libstdc++5 live-boot
live-boot-initramfs-tools live-config live-config-sysvinit
  ttf-kochi-gothic ttf-sazanami-mincho wx-common
Use 'apt-get autoremove' to remove them.
Suggested packages:
  loop-aes-utils curlftpfs genext2fs httpfs2 squashfs-tools mtd-tools
unionfs-fuse
The following NEW packages will be installed:
  live-initramfs
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 112 kB of archives.
After this operation, 512 kB of additional disk space will be used.
Get:1 http://packages.linuxmint.com/ debian/import live-initramfs all
1.236.2-1 [112 kB]
Fetched 112 kB in 5s (19.2 kB/s)
Selecting previously unselected package live-initramfs.
(Reading database ... 324509 files and directories currently installed.)
Unpacking live-initramfs (from .../live-initramfs_1.236.2-1_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/live-initramfs_1.236.2-1_all.deb (--unpack):
 trying to overwrite '/usr/share/initramfs-tools/hooks/live', which is
also in package live-boot-initramfs-tools 3.0.1-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
live-boot: core filesystems devices utils memdisk udev wget blockdev.
Errors were encountered while processing:
 /var/cache/apt/archives/live-initramfs_1.236.2-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



# cat /var/log/dpkg.log | tail

2013-11-10 15:06:24 startup archives unpack
2013-11-10 15:06:24 install live-initramfs:all none 1.236.2-1
2013-11-10 15:06:24 status triggers-pending initramfs-tools:all 0.109.1
2013-11-10 15:06:24 status not-installed live-initramfs:all none
2013-11-10 15:06:24 status half-installed live-initramfs:all 1.236.2-1
2013-11-10 15:06:25 status not-installed live-initramfs:all none
2013-11-10 15:06:25 trigproc initramfs-tools:all 0.109.1 0.109.1
2013-11-10 15:06:25 status half-configured initramfs-tools:all 0.109.1
2013-11-10 15:06:34 status installed initramfs-tools:all 0.109.1


Is this ok to boot yet? Or do I need to do something urgent before
attempt to boot?

Thanks any help.

Beco.




-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


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



Re: Upgrade all kept back packages

2013-11-10 Thread Beco
On 10 November 2013 16:17, Bob Proulx b...@proulx.com wrote:
 Beco wrote:
 Bob Proulx wrote:

 Make sense?  Hopefully.  Good luck!  Please report back on your
 progress so that we (I!) can learn from it!

 Bob


Okey Bob! Thanks a lot. You gave me a LOT of food for thought now.

I'll try some paths here and I'll try to log what I do and report back.

Rob, thanks also. I'll see if your tip fits here and reply latter.

Good news is: system booted okey. But a error message appear just
after grub, and I couldn't read it. Something like missing file.

There is no Merillat in my sources, but when I imported the GPG from
las.ic.unicamp, I got a Merillat message:


deb http://www.las.ic.unicamp.br/pub/debian-multimedia/ wheezy main non-free
#unicamp
#  apt-key adv --keyserver keyring.debian.org --recv-keys 07DC563D1F41B907
#
# Executing: gpg --ignore-time-conflict --no-options
--no-default-keyring --secret-keyring /tmp/tmp.Nh3SiyWmJu
--trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg
--primary-keyring /etc/apt/trusted.gpg --keyring
/etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring
/etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring
/etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring
/etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyserver
keyring.debian.org --recv-keys 07DC563D1F41B907
# gpg: requesting key 1F41B907 from hkp server keyring.debian.org
# gpg: key 1F41B907: public key Christian Marillat
maril...@debian.org imported
# gpg: no ultimately trusted keys found
# gpg: Total number processed: 1
# gpg:   imported: 1


Im removing all that does not comply with the Debian packages. But
still, I'm having trouble trying to remove specific packages that
insist that I need to get rid of KDE or other big stuffs.

What a mess! Today I'll clean it for good.


Cheers,
Beco.




-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2yK4-_M=RkEaLNGafj3-wC7=rl1rzzezd7nt_laap3...@mail.gmail.com



Re: Upgrade all kept back packages

2013-11-10 Thread Beco
On 10 November 2013 17:06, Beco r...@beco.cc wrote:
 On 10 November 2013 16:17, Bob Proulx b...@proulx.com wrote:

 Im removing all that does not comply with the Debian packages. But
 still, I'm having trouble trying to remove specific packages that
 insist that I need to get rid of KDE or other big stuffs.



apt-get remove $(deborphan)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libisccc60 libisccfg62
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  cups-driver-gutenprint foo2zjs lib32tinfo5 libbind9-60
libboost-iostreams1.42.0 libdb4.6 libdb4.7 libdb4.8 libeina1
  libescpr1 libevent-1.4-2 libkadm5clnt-mit7 libkadm5srv-mit7
liblwres60 librpcsecgss3 libtar0 libtokyocabinet8
  libxcb-composite0 libxcb-xfixes0 linux-image-2.6-amd64
virtualbox-guest-additions virtualbox-ose-qt xulrunner-10.0
0 upgraded, 0 newly installed, 23 to remove and 0 not upgraded.


Then, I went to the list one by one, removing the ones I could,
without incurring in a chain of removables.

I finally got my system into this situation (8 files not ok):


# apt-show-versions | grep -v uptodate
epson-inkjet-printer-201215w 1.0.0-1lsb3.2 installed: No available
version in archive
kde 5:66 installed: No available version in archive
kdebase 5:66 installed: No available version in archive
libmp3lame0 1:3.99.5-0.1 newer than version in archive
libvlc5 1:2.0.1-0.6 newer than version in archive
libvlccore5 1:2.0.1-0.6 newer than version in archive
libxvidcore4 3:1.3.2-0.6 newer than version in archive
vlc-data 1:2.0.1-0.6 newer than version in archive


And sources.list is:

# generated by
# Debian Sources List Generator (Beta)
# 2013-01-13
# http://debgen.simplylinux.ch/

deb http://ftp.br.debian.org/debian wheezy main contrib non-free
deb-src http://ftp.br.debian.org/debian wheezy main contrib non-free

deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

#Third Parties Repos
#deb http://www.las.ic.unicamp.br/pub/debian-multimedia/ wheezy main non-free
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib non-free

# after apt-get update, run:
# Oracle VM VirtualBox - Third Parties Repos, virtualbox.org
# wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
-O- | sudo apt-key add -

#java oracle automatic
deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
#apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886

#unicamp
#  apt-key adv --keyserver keyring.debian.org --recv-keys 07DC563D1F41B907
#
# Executing: gpg --ignore-time-conflict --no-options
--no-default-keyring --secret-keyring /tmp/tmp.Nh3SiyWmJu
--trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg
--primary-keyring /etc/apt/trusted.gpg --keyring
/etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring
/etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring
/etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring
/etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyserver
keyring.debian.org --recv-keys 07DC563D1F41B907
# gpg: requesting key 1F41B907 from hkp server keyring.debian.org
# gpg: key 1F41B907: public key Christian Marillat
maril...@debian.org imported
# gpg: no ultimately trusted keys found
# gpg: Total number processed: 1
# gpg:   imported: 1



From this 8 files:

epson-inkjet-printer-201215w 1.0.0-1lsb3.2 installed: ok. need it. its
my printer.


kde 5:66 installed: I'm quite sure I need this also. ;)
kdebase 5:66 installed:  and this.

Still, I would like them to be from the current sources.list now. How
can I do it? downgrade it? how?

And if not needed, delete the files:
libmp3lame0 1:3.99.5-0.1 newer than version in archive
libvlc5 1:2.0.1-0.6 newer than version in archive
libvlccore5 1:2.0.1-0.6 newer than version in archive
libxvidcore4 3:1.3.2-0.6 newer than version in archive
vlc-data 1:2.0.1-0.6 newer than version in archive

If needed, make them come from my sources.list.


Example:



# apt-get install vlc-data=2.0.3-5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  advancecomp amarok-common amarok-utils amor asymptote asymptote-doc
blogilo bovo cantor cantor-backend-kalgebra cervisia
  cvsservice dblatex digikam-data enblend enfuse gnugo granatier
guile-1.8 guile-1.8-libs hugin hugin-data hugin-tools
  javascript-common kalgebra kalzium kalzium-data katomic kblackbox
kbreakout kbruch kcachegrind kcharselect kcolorchooser
  kde-config-cron kde

Re: Upgrade all kept back packages

2013-11-10 Thread Beco
On 10 November 2013 15:39, Rob Owens row...@ptd.net wrote:
 find all packages from deb-multimedia.org:
 aptitude search '~i ?origin(Unofficial Multimedia Packages)'

 purge all packages from deb-multimedia.org:
 aptitude purge '~i ?origin(Unofficial Multimedia Packages)'



Hi Rob,

Maybe I'm doing something wrong, but this command does not find anything here.

But now I think I probably removed everything.

Beco.



-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caluyw2y6yx_wp42vnck+ix93oabqfzfoaywsg526fl41oce...@mail.gmail.com



Re: Upgrade all kept back packages

2013-11-10 Thread Beco
On 10 November 2013 16:17, Bob Proulx b...@proulx.com wrote:
 Beco wrote:
 Bob Proulx wrote:
  First verify your sources.list file.  I didn't see where you said what
  version of Debian you were using.  Stable Wheezy, Testing Jessie, or
  Unstable Sid.  Whatever.  Make sure it is consistent.

 I should have asked, can you post your sources.list file?  I see in
 your message that you are running Wheezy 7.  (But I can't say Stable
 since you have added many destabilizing things.)

$ apt-show-versions | grep -v uptodate

 Nice command. It shows me I still have squeeze on my system.

 Unless you have cleaned then old libs may still be hanging around and
 they will only be used by the old Squeeze part of the system.
 Probably need to do some cleaning.  The 'apt-get autoremove' tool is a
 good start for it.  I also like 'deborphan'.

 I'm not quite sure what to do with this response:

 #  apt-show-versions | grep -v uptodate

 deb-multimedia-keyring 2012.05.10-dmo3 newer than version in archive
 live-initramfs 2.0.15-1 newer than version in archive
 vlc-nox/wheezy upgradeable from 2.0.3-5 to 1:2.0.1-0.6

 Ah, yes, there is the problem.  You see that the Merillat version has
 an epoch on the front.  The 1: part.  That makes version 1:2.0.1-0.6
 newer than 2.0.3-5.  But not just that single package.  This will be
 similar across many packages.  But it shows the root of the problem.
 And it is why people have become annoyed that he is doing this.  It
 creates problems for people such as yourself that trip into the
 pitfall and then have to dig out of it.  Meanwhile the work he has
 done has helped many people for years.  I still use some of the his
 packages and am grateful that they are there.  And so I have mixed
 feelings about it.

 libisc62 1:9.7.3.dfsg-1~squeeze8 installed: No available version in archive
 libisccc60 1:9.7.3.dfsg-1~squeeze8 installed: No available version in archive

 These are good examples of old orphaned libraries.  Nothing is using
 them anymore.  They can be purged from the system.  They don't really
 hurt anything being there.  But they are lint and they confuse the
 issue so I would purge them.  Using deborphan (try 'orphaner') is good
 to find things like those and clean them out.

 skype 4.2.0.11-1 installed: No available version in archive

 This is an example of something that is never going to be in the free
 archive because it is a nonfree component that you have manually
 installed.  If you want it then that is just the way things are going
 to be.

 mplayer is uninstalled for now. The only problem I see is vlc.

 # apt-cache policy vlc-nox
 vlc-nox:
   Installed: 2.0.3-5
   Candidate: 1:2.0.1-0.6
   Version table:
  1:2.0.1-0.6 0
 500 http://www.las.ic.unicamp.br/pub/debian-multimedia/ wheezy/main 
 amd64 Packages
  *** 2.0.3-5 0
 500 http://ftp.br.debian.org/debian/ wheezy/main amd64 Packages
 100 /var/lib/dpkg/status

 The epoch is why it is trying to install from the Merillat archive.

 Basically you need to make a choice.  Politics between Debian and
 Merillat have gotten to the point that you really need to decide which
 camp you are in.  Debian has gone the libav route.  Merillat has gone
 the ffmpeg route.  You need to decide which you want.  If you want to
 use the Merillat sources then you need to take this problem and
 anything like it there.  If you want to go the Debian sources then you
 need to remove the Merillat archive and go back to Debian.  Or you
 need to learn how to deal with the problem somehow.  But certainly the
 Debian multimedia developers are not happy about the situation for
 exactly the problems you have found.  They don't want to clean up
 someone else's mess.  I can't blame them.  Look at how you were sucked
 into having this problem!

 The ffmpeg v. libav problem isn't entirely clear cut to the outsider.
 I am an outsider.  But from what I have read I wish Debian had gone
 the ffmpeg route.  (Can't we all just get along?)  But they didn't.
 So to make my life easier for better or worse I have stuck with the
 Debian packaging of libav.  Which means that while I am using some
 things from Merillat the multimedia components that depend upon these
 are not any of them.

 And so I recommend that you remove the Merillat sources from your
 sources.list file.  Then get your system back into a sane state.
 I am not saying never use a Merillat package.  I am just saying that
 to get your system cleaned up that you should remove the sources.list
 and remove all of the packages from there in order to get things back
 into a sane state.  After that then you could selectively pick and
 choose and probably be okay.  But fix your system first.  Make sense?

 Now this command won't work:

 # apt-get install vlc-nox=1:2.0.1-0.6

 That version will force an install from the Merillat archive.  And
 therefore by dependency any problems you have should be taken up with
 his archive and not Debian's.

 The following packages have unmet

Re: Upgrade all kept back packages

2013-11-10 Thread Beco
On 10 November 2013 18:14, Beco r...@beco.cc wrote:


 Now, guys, how come KDE and KDEBASE does not have archive candidates?

 Where are they?

 Thanks,
 Beco.

It seems KDE is just a dummy package. Is the correct package kde-full?

# apt-cache policy kde-full
kde-full:
  Installed: 5:77+deb7u1
  Candidate: 5:77+deb7u1
  Version table:
 *** 5:77+deb7u1 0
500 http://ftp.debian.org/debian/ wheezy/main amd64 Packages


If so, my system is now ok, I believe.

Thanks!
Beco



-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


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



Re: Upgrade all kept back packages

2013-11-10 Thread Beco
Hi guys,

Just to report back:

To remove kdebase dummy, first:
# apt-get install kde-plasma-desktop

And to remove kde dummy, first:
# apt-get install kde-full

Then just remove kde and kdebase. Now:

# apt-show-versions | grep -v uptodate
epson-inkjet-printer-201215w 1.0.0-1lsb3.2 installed: No available
version in archive
skype 4.2.0.11-1 installed: No available version in archive

# deborphan --guess-all
(no files)

# deborphan
(no files)

System is pretty clean.

Cheers,
Beco.




-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caluyw2y+ekhk_cxaprd+jbgouykh6qjw_kwzletl5d4um7p...@mail.gmail.com



Re: Why Debian

2013-11-09 Thread Beco
On 9 November 2013 06:40, Itay deb...@itayf.fastmail.fm wrote:
 On Sat, 9 Nov 2013, Alberto Salvia Novella wrote:
 So you feel more vanilla is better, is this?


 I prefer chocolate... ;-)

I second that.

 But the good thing in Debian for me is: I feel that once Ilearn to do
 something, the knowledge will stay with me, and will be relevant for quite
 some time in the future.

And specially that.


 Hope this helps.
 Itay

My best,
Beco.



-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2z1PkZVyOPQFVb2ASCqxkSByRLPx5EQEaN6k=jj4+m...@mail.gmail.com



Re: Why Debian

2013-11-08 Thread Beco
On 8 Nov 2013 14:15, Alberto Salvia Novella es204904...@gmail.com wrote:
 Summarizing:

 Which are the very important reasons why do you prefer Debian over Ubuntu?



Why to use a Debian based OS if you can use Debian?

My best,
Beco.


Re: No space left on device (28) but device is NOT full!

2013-11-06 Thread Beco
On 6 November 2013 13:43, Neal Murphy neal.p.mur...@alum.wpi.edu wrote:
 Assuming the problem is /var/log is part of the root filesystem and is crammed
 with millions of files. Assume other drive is /dev/sdb. The general process is
 as follows.

 1. Reboot to single-user
 2. Add partition #1 to /dev/sdb
 3. 'mkreiserfs /dev/sdb1'  # to avoid the whole issue of inodes
 4. 'mount /dev/sdb1 /mnt'
 5. 'cd /var/log; find . -depth | cpio -pdv /mnt'
 6. 'if [ $? -eq 0 ]; then cd ..; mv log log-; rm -rf log-; fi'
 7. 'mkdir log; chmod 755 log
 8. 'echo /dev/sdb1 /var/log reiserfs defaults,notail 0 1  /etc/fstab'
 9. 'wait'
 10. 'umount /mnt; init 6'


Hi Neal,

I think I'm going to ask about the easier part:

What is 9. wait for?

Thx,
Beco.



-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caluyw2x+vyf-h4i_yxgzdsnc2b7+iuxyeq4zqxdjgy7yyow...@mail.gmail.com



Re: [OT] What is an open thread (was Re: 3D printer)

2013-11-04 Thread Beco


 Chris Bannister via lists.debian.org
 11:18 (1 hour ago)
 to debian-user
 On Sun, Nov 03, 2013 at 09:21:58AM -0500, Celejar wrote:
  On Sun, 3 Nov 2013 03:59:37 -0200
  Beco r...@beco.cc wrote:
 
   Hi guys,
  
   This is an open thread, if that is allowed.
 
  What's an open thread?
 At a guess, opposite to a closed thread IOW anyone can contribute,
 although the terms don't make any sense at all on this list.
 --
 If you're not careful, the newspapers will have you hating the people
 who are being oppressed, and loving the people who are doing the
 oppressing. --- Malcolm X


Hi Chris,

Please discuss the term in this thread.

Thanks!

Beco.





-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caluyw2wvahedme2sfhbgfovs-h5+wjonl1w+97zommqnhju...@mail.gmail.com



Re: 3D printer

2013-11-04 Thread Beco
On 4 November 2013 10:24, ken geb...@mousecar.com wrote:
 On 11/03/2013 08:57 AM Mirco Piccin wrote:

 Hi

 I would like to start a topic on 3d printers. Does anyone here have
 experience in using such printers with debian/linux?


 Our local public library bought a couple of these.  They give classes on
 them.  And if you want something printed, you email them the STL file,
 they'll print it, and send you an email back when you can pick it up.  I
 think they charge about 5 cents/pound... hardly anything.

 Unless you really want to play around with building it, it's a much better
 way to go than having your own.


Hi Ken,

I was thinking in build one actually. It can be useful, and I have
some students willing to work on it.

The problem is that we know all the history of struggle between linux
and printers (and devices in general). I was wondering if this is the
case with 3D printers.

Its not easy to find devices debian/linux compatible. Tell me about
building your own!

Do you know if the model your library has works on linux?

Mirco,

I think I like most the Prusa i3. It looks pretty! And being the third
version, the site states: he i3 incorporates lessons learned from the
previous two Prusa designs, as well as other popular modern RepRap
designs. 

I wonder how to connect it to computer. Is it USB?

And do you need any special driver? How debian sees it?

Thanks!

Beco.

PS. No, Charles. I'm not a hit man. :) Actually, I don't like guns
that much. If humanity wants to kill each other, go for it. I'll just
enjoy my lonely ride with art, programming, music, poetry, science,
etc., the best I can! Cheers!




-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caluyw2xubird5lgrutx-gaqmrq-eu_jwx6h8eo0k6ozhxpu...@mail.gmail.com



3D printer

2013-11-03 Thread Beco
Hi guys,

This is an open thread, if that is allowed.

I would like to start a topic on 3d printers. Does anyone here have
experience in using such printers with debian/linux?

What brand would you recommend?

How about kits?

What software is there available in debian repositories to create 3D
projects that can be directly printed?

Thanks any input.

My best,
Beco.





-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by doing
them (Aristotle)


Re: 3D printer

2013-11-03 Thread Beco
On 3 November 2013 10:57, Mirco Piccin pic...@gmail.com wrote:
 Hi

 I would like to start a topic on 3d printers. Does anyone here have
 experience in using such printers with debian/linux?

 here i am :)

 What brand would you recommend?
 How about kits?

 i'm using an opensource 3d printer (RepRap project), specifically a Prusa i2.
 It arrived as a kit.
 Low price and good results.
 Take a tour on the project wiki:
 www.reprap.org
 (there's also a forum)

 What software is there available in debian repositories to create 3D
 projects that can be directly printed?

 if you are a programmer, use OpenSCAD.
 Or you can use Blender.
 (both opensource),

 Then you need to export your object in STL format.
 Then you need to use Slic3r (that is an italian opensource slicing sw)
 http://slic3r.org/
 to generate gcode from this STL.
 At this point you need a 3d printer :)

 Thanks any input.

 regards
 Mirco



Hi Mirco,

Very nice tip. Thanks!

I'm looking forward to build one. From the link you gave, I see there
is some models to build:

http://reprap.org/wiki/Build_A_RepRap


[1] Prusa Mendel
Full-sized RepRap, Focused On Low Cost and Ease of Sourcing

[2] MendelMax
Full-sized RepRap Focused on Structural Rigidity and Ease of Assembly

[3] Wallace
Smaller RepRap designed to reduce part count and minimize complexity of build

[4] Original Mendel
The first Mendel design: fully functional, but more complicated than
later variants

[5] RepRapPro Huxley
Smaller RepRap design to reduce part count and give portability.

[6] RepRapPro Tricolour Mendel
RepRap design that gives multi-material/multi-colour 3D printing.


And the Legacy RepRap 3D Printers. 
These designs have been replaced by more recent ones (so build them at
your own risk).If you are new to RepRap, you should probably start
with Prusa Mendel (if you want a big build volume) or Huxley (if you
want a small machine).

[6] Original Huxley
The Original Mini RepRap

[7] Darwin
The first RepRap

---

Very good options! What is the model you have? Did you find it
difficult to assembly or find the required pieces?


Thanks!
Beco.





-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2zJvQ8bi3wW289H1SR99YC4BDqMzPRJAZO3OVPi3-C==a...@mail.gmail.com



[OT] What is an open thread (was Re: 3D printer)

2013-11-03 Thread Beco
 Curt cu...@free.fr via lists.debian.org wrote:
 On 3 November 2013 12:51, Patrick Wiseman pwise...@gmail.com wrote:
  On Sun, Nov 3, 2013 at 10:36 AM, Lisi Reisz lisi.re...@gmail.com wrote:
  On Sunday 03 November 2013 14:21:58 Celejar wrote:
  On Sun, 3 Nov 2013 03:59:37 -0200
 
  Beco r...@beco.cc wrote:
   Hi guys,
  
   This is an open thread, if that is allowed.
 
  What's an open thread?
 
  +1
 
  Off topic?
 
  Patrick

 It's like a loose thread except when you pull on it everything doesn't
 unravel.



Hi guys,

I changed the subject so this meta-discussion does not pollute the other one.

I think this meta-discussion is OT, thats why I wrote [OT] on the subject.

An open thread, as I stated, was something like curt defined. It is a
valid topic, it's related to Debian and printer usage (topics that are
not off-topic), but there is not a single problem to solve.

There is not a OP who has a specific question and want a specific
solution. For example: what driver to use with a model Wh4t3v3R of
printer S0M3-1?

But, if that question happens in the thread, it fits. Its open, but
not so open that people would stop talking about 3D printer and start
talking about, lets say, unixes or sysadmins definitions. That would
fork the thread in the normal way threads are forked.

As I'm not interested in OT in general, and as this thread is OT, I'm
not interested in it also. Feel free to keep going with this
discussion.

My best!
Beco.



-- 
Dr Beco
A.I. researcher

For the things we have to learn before we can do them, we learn by
doing them (Aristotle)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2w=ASMwQdPGNYK_VEz9zF=3c0v_du3ltjbihpbjzvd...@mail.gmail.com



Re: ANDROID (back to the OQ)

2013-10-31 Thread Beco
On 31 October 2013 13:12, ken geb...@mousecar.com wrote:


 Alex,

 As you can see (from this long conversation), there are a variety of
 interpretations of what free means and its value to the end user. Getting
 back to your original concerns, here are some observations I've made about
 android which indicate to me that it's not free.

 When you buy a phone with android on it, you don't have root access to the
 system.  You're just a regular user.  Yes, you can root the phone, but then
 you invalidate the warrantee, from what I understand, both the software and
 hardware warrantees.  So if something fails on your phone, the company whom
 you bought it from won't provide support.  If something breaks (whether
 it's software or hardware), you're on your own.  There are some
 android-specific lists which could be helpful.

 [cut]


Hello Ken,

I agree with you in all the topics bellow (the [cut]) but this one above.

The fact that you cant be root doesn't add to Android not being FOSS.

Lets say, for example, that you create an enterprise that makes software
(and hardware, to be more close to the example. Suppose you build a small
computer using go'old Z80 processor. The motherboard isn't that big. You
call it Z80-Alive! )

Now, you sell this machines in your community (school, church, whatever)
with a support contract, and state: You'll be THE only sysadmin, you'll
have root access and buyers will be a regular users. As long as buyers
don't try to gain root access, you'll give support to software and hardware.

In some enterprises, if you try to get root access, you may be fired! :)
But Z80-Alive!, as someone buy the piece of hardware and you are just
helping out, the buyer can't (won't) be fired, just lose warranty.

Well, for me, this enterprise can't be called not free based only on
that.

I agree with the other topics in your email: closed softwares installed
without your agreement, and other stuffs (closed hardware, drivers, etc).
But to isolate the feature --become root--, suppose this enterprise
will only install FOSS, will only use public domain hardware, and ask you
if you are ready for an update before pushing it to your Z80 machine.

Avoiding users to become root is just a policy matter of an organization,
in which you are part.

Of course you can become root anyway and void warranty. That is not bad.
That is just an weighted conscious option.

My best,
Beco.





-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown
Jr.)


Re: alien 32/64 bits

2013-10-30 Thread Beco
On 30 October 2013 15:28, François Patte
francois.pa...@mi.parisdescartes.fr wrote:
 Bonjour,

 Is there a way to build a debian package on an amd64 from a rpm package
 built for a 32bits platform.

 I don't mean that I want an amd64 debian package, as 32bits can be
 installed.

 Thank you.


Hi Fraçois,

You just want to run alien... Convert a RPM (i386) to a DEB (also
i386). Nothing more changes. As you said yourself, your 64b machine
can run a 32b software.

Cheers,
Beco.

-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2zFE0yv8=h27231pu3h48tf70gkiizm9y9ebyphuqa...@mail.gmail.com



Re: alien 32/64 bits

2013-10-30 Thread Beco
On 30 October 2013 19:10, François Patte
francois.pa...@mi.parisdescartes.fr wrote:
 Le 30/10/2013 23:07, Beco a écrit :

 AdbeRdr9.4.2-1_i486linux_fra.rpm is for architecture i386 ; the package
 cannot be built on this system



Hi François,

What is the exact command you issued?

On a first check, I think maybe there is a problem. I see people
working around by first converting the RPM to TAR.CZ with : alien
--to-tgz AdbeRdr9.4.2-1_i486linux_fra.rpm

I can check better late in the night when I came back from work.

Beco.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2yzyZLqRqk7j3Hevn58+AG__cW-cEOEPA0tvP=zdcz...@mail.gmail.com



Re: alien 32/64 bits

2013-10-30 Thread Beco
On 30 October 2013 19:28,  berenger.mo...@neutralite.org wrote:
 I think the kind of information he want is, for example, the software's
 name. Or the software's role.


Exactly! If it is ADOBE READER (I'm guessing), in this site

http://get.adobe.com/reader/otherversions/

You get to choose operational system, language and package system, to dowload.

My best,
Beco.



-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


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



Re: Oddity in synaptic 0.75.13 (Wheezy)

2013-10-18 Thread Beco
On 18 October 2013 04:26, Tom H tomh0...@gmail.com wrote:


 (Apologies for the earlier blank email. Hit Send rather than ...
 to expand the text...)


;)


 LMAO! What drama!

 The developer must've grabbed an Ubuntu patch and not cleaned up that part.

 It's just a question of filing a bug report to remove this.



I agree its too much a drama. Yep, its something simple indeed! But still,
we must take care. Debian is a very good product.

Regards,
Beco.



-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown
Jr.)


Re: Jessie Minimum Kernel Requirement

2013-10-17 Thread Beco
On 17 October 2013 07:23, Bonno Bloksma b.blok...@tio.nl wrote:
 If I remember correctly it was in the step from Lenny to Squeeze. I know for 
 sure I had to do it on several machines.
 Yup, just found it in my old notes, it was Lenny to Squeeze.

 Bonno Bloksma


Hi Bonno, hi Reco,

Yep, I confirm. I did this on my personal computers and two servers a
while back. Kind of confusing... I almost lost one of the servers. I
hope as time and Debian evolves, these procedures go safer and safer.

Best,
Beco.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2xCV7-05vyqUjT9_XRqWLrHS3Tqg5=rsp7umty+pdf...@mail.gmail.com



Re: Oddity in synaptic 0.75.13 (Wheezy)

2013-10-17 Thread Beco
On 17 October 2013 19:24, Cybe R. Wizard cybe_r_wiz...@earthlink.net wrote:

 Using synaptic 0.75.13 in Wheezy under the menu item, Settings,
 Repositories, the updates tab lists, Notify me of a new Ubuntu
 version.

 What?  Is someone developing for Debian but promoting Ubuntu?  Did
 Ubuntu push this version upstream?

 Inquiring mind and all that.

 Cybe R. Wizard
 --
 Nice computers don't go down.
 Larry Niven, Steven Barnes
 The Barsoom Project

I read this and could believe, so I went to synaptic to see. It's there.

Debian trade-mark is a very strong, and brings with it so many
attributes conquered over time. We must be careful to not let this
happen.

I understand people must be developing for ubuntu more than for
debian, and that sometimes software goes the other way around.

This collaboration between distros is very important. But keeping
Debian Debian is of utter importance.

It's a marketing issue, so I cc'd the debian-publicity mailing list to
alert the problem.

My best,
Beco.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2yWzCNuQ5D2=00qmygdicy9f653hbz4pfgb50rmuzg...@mail.gmail.com



Re: xtrs z80

2013-10-16 Thread Beco
On 16 October 2013 00:37, Glenn English g...@slsware.com wrote:

 On Oct 15, 2013, at 9:17 PM, Stan Hoeppner wrote:

 I don't know if C was even available for the TRS-80 back then.  If it
 was it didn't cross my RADAR.

 It might well have been. One of my first jobs in computing was to write an 
 evaluation of 3 C compilers on a Xerox CP/M box. I don't remember what they 
 were called, but I think they cost $$.

 Aww, don't make it so easy.  Have them do it in assembler. :)

 Keep in mind that C is nothing but a collection of macros for PDP-11 assembly 
 language :-)



Hey guys,

Assembler! LOL! That is to break their legs! No, not so cruel. :)

Just to LINK a c program too much crazy. Considering how the language
evolved, to use, for example,

int main(argc, argv)
int argc;
char **argv;

Wow! That is really strange!

I also learned BASIC in one of these machines, more precisely a MODEL
III. How I loved it! I called it Elephant (all my computers have
names). I really regret that I sold it. Im looking for a good price to
buy one again. Even if it did not work, I can install a raspberry PI
or a arduino intel Galileo running xtrs emulator. But that is for the
future! Now I'm happy to remember the fun in my notebook.

I learned C some years later, in a PC-XT, in 1989 probably. Never
heard of a C compiler for TRS-80. But after so many years programming
C I thought I would give it a try. And I want to tell the fresh news:
I just succeed!

I've found this Misosys C: a complete KR C system  at
http://tim-mann.org/misosys.html

Very nice! You also need to download MRAS assembler.

What a JOB to compile a simple program!! :) LOL

But I DID ! Ahahaha! (Bellow the whole sequence for your delight)

Now I want to program another one using printf to see if the link is ok.

Very funny. I think that little game I'm writing to learn debian
packaging, I'll include a port to TRS-80. (Actually, its a old game,
written originally on a TRS-80, in BASIC, that I lost the code, and I
rewrote it in C based on some other BASIC versions I have for PC-XT
and 486. Weird to move it back to TRS-80)


Cheers,
Beco.

PS. Here the C compilation process:

BTW, I renamed the JOB CONTROL LANGUAGE called MC/JCL that do all
the stuff bellow to GCC/JCL ! Now I feel more at home.

Just do:
DO GCC (N=program)
And it runs all the programs.

But here I run one at time:
L is the text editor Lazy Writer
If you know a better one, please tell me. But I kind of like this one.
Reminds me 'vi'.

LDOS Ready
 L
int main()
{
putchar('A');
return 0;
}
s PUTCHAR/CCC*

LDOS Ready
 MCP PUTCHAR/CCC:1
MISOSYS C Preprocessor - Version 1.6a - DOS 5.1.x
Copyright 1985,86 Riclin Computer Products. All rights reserved

13968 bytes free

Including PUTCHAR/CCC

Output PUTCHAR/TOK - Preprocessed file

LDOS Ready
MC1 PUTCHAR:1
MISOSYS C Compiler - Pass 1 - Version 1.6a - DOS 5.1.x
Copyright 1985, 1986 MISOSYS, INC. All rights reserved

5245 bytes free

...
main() {...}.
No error(s) found

LDOS Ready
MC2 PUTCHAR:1
MISOSYS C Compiler - Pass 2 - Version 1.6a - DOS 5.1.x
Copyright 1985, 1986 MISOSYS, INC. All rights reserved

4917 bytes free

...
main() {...}.

Output: PUTCHAR/ASM

LDOS Ready
MRAS MC +I=PUTCHAR +O=PUTCHAR -NL
MRAS 1.0a - Copyright (c) 1985 MISOSYS, Inc.,
All rights reserved.

Including MC
Including PUTCHAR
including MCMACS
000f is the transfer address
0 Total errors
26263 Free space

Output: PUTCHAR/REL - Relocatable Object File

LDOS Ready
 MLINK PUTCHAR:1 +N=PUTCHAR:1 -E

MLINK 1.2 - Copyright (c) 1985 MISOSYS, Inc.,
All rights reserved.
L 5200-5BF4 09F5
32933 Free space

Output: PUTCHAR/CMD

LDOS Ready
PUTCHAR
A
LDOS Ready


Yaaay! :D



-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2xHHj1MwU=jxqypghfpqyyhe4t4-coxwaunmsqoc80...@mail.gmail.com



Re: xtrs z80

2013-10-15 Thread Beco
On 15 October 2013 04:38, Stan Hoeppner s...@hardwarefreak.com wrote:

 Beco rcb at beco.cc writes:

  Is xtrs broken under wheezy?

 What is it anyway?  A Tandy Trash 80 emulator?

 --
 Stan


Hi Stan,

Yep, its an emulator for TRS-80 ! Please, don't call it by its ugly
nickname (Trash!) :)

I'm having lots of fun with this emulator. Today I could install a
harddrive, mind you!
It has (I believe, I need to compute it yet) 13 MB!!

I'll put all software from various disketts I've collected in this single
file.

Now I just need to make it boot from the HD and I don't need even the OS on
drive :0 anymore.

As soon as I put a c compiler on it, I'll start using only my TRS-80 to
work. Bye debian! It was nice to be with you! But things evolves, you know!

Ahaha! I wonder what my students would do when I ask for the next
assignment: -Do a program that reads 2 numbers and calculates the average,
in C. - Just it, teacher? - Yep. But on a TRS80. LOL.

Cheers,
Beco.





-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown
Jr.)


xtrs z80

2013-10-13 Thread Beco
Hi guys,

Is xtrs broken under wheezy?

I cant manage to run it. I only get a blank window.

Anyone here uses it?

Thanks!
Beco.



-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2z58etd7wCeVL59J49x4LtW6xg4TMCTa=wjphi-a+o...@mail.gmail.com



Re: xtrs z80

2013-10-13 Thread Beco
On 13 October 2013 17:22, Beco r...@beco.cc wrote:
 Hi guys,

 Is xtrs broken under wheezy?

 I cant manage to run it. I only get a blank window.

 Anyone here uses it?

 Thanks!
 Beco.


Probably nobody uses it, but for the record (someone googling his way to here):

Downloading the tar.gz from http://tim-mann.org/xtrs.html and
installing from it works ok. (Should mark it as solved?)

So, its probably some bug. What I got from the .deb installation is
just a blank screen, and CTR-C brings this errors:

beco@machine:~/Documents/hobby/cp500$ /usr/bin/xtrs -model 3
-autodelay -keystretch 400 -diskdir . -bg black -fg green

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server :0
  after 2818 requests (2818 known processed) with 7 events remaining.

beco@machine:~/Documents/hobby/cp500$ /usr/bin/xtrs -model 4
-autodelay -keystretch 400 -diskdir . -bg black -fg green

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server :0
  after 2818 requests (2818 known processed) with 9 events remaining.


Bye,
B.


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



Arduino TRE

2013-10-03 Thread Beco
Hi guys,

Anyone have tested this Arduino TRE [1] with Debian?

I'm very happy such enterprises still believe in, and produce hardware
to linux! :)

I bet this  1-GHz Sitara AM335x processor is very fast, suitable for
most end-users to do basic stuff, like a small office or something.

Cheers,
Beco.

[1] http://blog.arduino.cc/2013/10/03/a-sneak-preview-of-arduino-tre/




-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2wAiq6Gt0cy84un7gHQXJu7D376D=hucsuvvj2fhqr...@mail.gmail.com



Re: Arduino TRE

2013-10-03 Thread Beco
On 3 October 2013 18:21, Stan Hoeppner s...@hardwarefreak.com wrote:
 [1] http://blog.arduino.cc/2013/10/03/a-sneak-preview-of-arduino-tre/

 You need to ask on the Debian ARM mailing list, or search the archive.

 --
 Stan


Thanks Stan! :)

I just did. I hope I can ask without subscribing and read from
archives, because it was more of a chat I would ask this list, than
subscribing to such specific mailing list as debian arm.

My best,
Beco



--
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2wCyBE+B5jkXQTXU=i9r+1sda_am8wwdoqwjvva1ba...@mail.gmail.com



Default directory to put .mo file (language)

2013-10-02 Thread Beco
Hi mentors,

Please,

Would I better use

/usr/share/locale

or

/usr/local/share/locale


I'm programming an old game (from the 8 bits times). I'm starting with
this because I got a suggestion on debian-user-list that starting with
a library to learn packaging would be too hard.

Now, this game is just plain console, text. A RPG you play typing commands.
I'm doing the translation, and soon you will be able to play the best
game ported to linux ever! :)

So, don't assume I know packaging yet. I'm just trying to make my life
easier when packaging comes.

What would be the correct directory to put the translated/compiled
files .mo (from msgfmt command)?


And if you please, where would the game binary be installed ultimately?

Thanks,
Beco










-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


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



Re: Default directory to put .mo file (language)

2013-10-02 Thread Beco
On 3 October 2013 02:49, Beco r...@beco.cc wrote:
 Hi mentors,

 Please,

 Would I better use

 /usr/share/locale

 or

 /usr/local/share/locale


 I'm programming an old game (from the 8 bits times). I'm starting with
 this because I got a suggestion on debian-user-list that starting with
 a library to learn packaging would be too hard.

 Now, this game is just plain console, text. A RPG you play typing commands.
 I'm doing the translation, and soon you will be able to play the best
 game ported to linux ever! :)

 So, don't assume I know packaging yet. I'm just trying to make my life
 easier when packaging comes.

 What would be the correct directory to put the translated/compiled
 files .mo (from msgfmt command)?


 And if you please, where would the game binary be installed ultimately?

 Thanks,
 Beco




Hi debians,

This message was supposed to go to mentors.

Now I better wait here for some answers instead of resending it to the
other list.

Sorry the confusion.

Thanks any help,
Beco.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2xFrnoPGRQRJ42H9pxyevQsB=v49rnsjd1mxqsfrk7...@mail.gmail.com



RE: kernel compilation (was ... Re: Building computer)

2013-09-29 Thread Beco
On 29 September 2013 02:41, Chris Bannister cbannis...@slingshot.co.nz wrote:

 On Thu, Sep 26, 2013 at 11:57:43PM -0300, Beco wrote:
  On 26 September 2013 22:22, Tom H tomh0...@gmail.com wrote:
 
 
   (I've compiled a kernel on a netbook; you'd better have a few hours to
   spare...)
  
  
  
  
  Questions for people who compile kernel and their machines:

 You are better off starting a new thread. You could create a subtopic by
 changing the subject.

 Now unfortunately, information about compiling a kernel is buried in
 a thread about building a computer. :(




From the thread Building computer, I've asked:

 On Thu, 2013-09-26 at 23:57 -0300, Beco wrote:
  How long a considered fast kernel compilation would last? I'd like
  to have a clue. And in what kind of computer (processor / RAM /
  anything else relevant)?

And I got some good answers that is better to join this thread:

Just to dig it:

Answer from Ralf:
https://lists.debian.org/debian-user/2013/09/msg01204.html

From Stan:
https://lists.debian.org/debian-user/2013/09/msg01212.html

From Johnatan:
https://lists.debian.org/debian-user/2013/09/msg01213.html

From Tom:
https://lists.debian.org/debian-user/2013/09/msg01214.html

From Stephen:
https://lists.debian.org/debian-user/2013/09/msg01245.html

From Stan:
https://lists.debian.org/debian-user/2013/09/msg01285.html


Also, the thread

Building a computer for compiling and CPU emulation (Re: Building computer)

https://lists.debian.org/debian-user/2013/09/msg01317.html

Started by Joel Rees now looks like a duplicate. Please, join here.

Thanks.
Beco.





--
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2zBs+KqpPAwf5T-FzgzjiZq8Vnrq8aMgBCohJUM1i=2...@mail.gmail.com



Re: duplicate emails

2013-09-26 Thread Beco
Hi Cat,

I'm receaving only one email at time from you.

Might be people ccing you?

BTW, I'm reading very interested your topic about building computer. Thanks.

Beco.





On 26 September 2013 14:49, Catherine Gramze rhia...@gmail.com wrote:

 I am getting numerous posts by me in my inbox, partially completed posts
 plus duplicate of full posts, but only for the debian-user emails. If this
 is happening on the entire list, I apologize. I am not repeatedly sending!
 I do not know the cause of this and will be trying to eliminate these if
 anybody can confirm I am inadvertently spamming the list in this way.




-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown
Jr.)


Re: Building computer

2013-09-26 Thread Beco
On 26 September 2013 22:22, Tom H tomh0...@gmail.com wrote:


 (I've compiled a kernel on a netbook; you'd better have a few hours to
 spare...)




Questions for people who compile kernel and their machines:

How long a considered fast kernel compilation would last? I'd like to
have a clue. And in what kind of computer (processor / RAM / anything else
relevant)?

Thanks!
Beco.




-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown
Jr.)


Re: Volunteer in need of a mentor

2013-09-26 Thread Beco
On 23 September 2013 08:45, Dan Ritter d...@randomstring.org wrote:
 On Sun, Sep 22, 2013 at 11:24:27PM -0300, Beco wrote:
 Its time!

 I believe you want to subscribe to debian-devel, and pose this
 request there.

 -dsr-


Thanks Dan,

I sent to  debian-ment...@lists.debian.org

They told they don't appoint mentors. I also sent to
mentor...@women.debian.org but got no response till now.


Beco.


-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2wJ-xYMSO=etfwwdn763uf6kdtjo6xhpu-xug5d2vh...@mail.gmail.com



Mentoring. (was Re: how many users is enough? (was Re: Debian Installer 7.0 Beta4 release))

2013-09-26 Thread Beco
[snip]

On 28 November 2012 09:39, Lisi Reisz lisi.re...@gmail.com wrote:
 On Tuesday 27 November 2012 22:31:52 Beco wrote:
  I would like a mentor during my next vacation, to help me with .deb files.

 Here is a web-page that explains the scheme.  Don't be put off by the mention
 of women.  They mentor irrespective of gender.
  quote
 However, this group wouldn't exist within Debian without the support of the
 men within the Debian community and the mentoring program does administer to
 both male and female mentees.  And there are both male and female mentors.
 /quote

  http://women.debian.org/mentoring

 And/or you can send an email to:
  mentor...@women.debian.org
 requesting a mentor.

 There are more mentors than are mentioned on the link I gave you above.  Some
 have chosen not to make themselves visible in this way.

 The name, of course, is sexist.  It was originally started to try to get more
 women into developing; to improve the conversion rate for women in Debian, if
 you will.  But that was some while ago, and it now caters for both genders.

 Do keep me posted on how you get on!

 [snip]

 Cheers,
 Lisi


Hi Lisi,

Do you have any news about the mentoring program?

Catherine Gramze, as Lisi explained, they mentor  both male and female.


My best,
Beco.




-- 
Dr Beco
A.I. researcher

Sometimes the heart sees what is invisible to the eye. (H. Jackson Brown Jr.)


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



  1   2   3   >