meino.cramer | 30 Sep 16:05 2014
Picon
Picon

"Headless question": Harvesting the results...software needed.

Hi,

with lot of help of this forum (***TAHNKS!***) I now
have a embedded device which is able to
dis/connect itsself from/to the LAN, set the clock via ntp-client
and is able to fire up a tool, which collects
data from sensors and put those into
a file ... even if the tool has no
connection to a terminal.

Next step will be to connect a GPS module
(ordered) to the GPIO pins of that board
(which is quite offtopic and I fear therefore
my sole problem... ;).

Suppose the GPS would already be attached
to the board and works...

Is there any free available software and data for
strict offline useage (which does NOT calls
to home), which is able to map GPS data to a street/land
map?
I need both: The maps themselves and the logic to read
GPS coordinates and map movements and ways to those maps.

Is something like that available for free or should
I directly ask the NSA/CIA/FBI/...?

Thank you very much in advance for any help!
Best regards,
(Continue reading)

James | 30 Sep 15:09 2014
Picon

root on newest livedvd ?

livedvd-amd64-multilib-20140826.iso

The old livedvd, to get root access it was "sudo su -"

which does not see to work. Ideas on the new
syntax to get root access.

Also, is it straightforward to install a secondary
ebuild package on this latest livedvd that is not
part of the iso?

curiously,
James

meino.cramer | 30 Sep 12:12 2014
Picon
Picon

another "headless device"-question: In search of the LAN

Hi,

For a device (beaglebone black) I am looking for a solution
of the following problem:

This little computer boots a fully blown Gentoo linux. It is 
used mostly as headless device (capturing data from attached 
sensors).

From time to time I want access it via LAN.

If the device was booted without LAN attached, the configured
ethernet was not found and dhcpd fails.
So Gentoo goes into "no LAN"-mode (or something like that).

Is there a less "waiting for the timeout"-prone way to refresh
the status of the LAN beside putting the accoring init-script
into a cron job ???

Is there a way to check, whether a RJ45 was plugged into the 
device and if so to start init-script then?

Thank you very much in advance for any help!
Best regards,
mcc

Andrew Lowe | 29 Sep 19:18 2014
Picon

I'm trying to emerge polkit, now it wants to bring in all of KDE

Hi all,
	Just what is happening with ebuilds today? At work, I'm in the process
of setting up a workstation using the KDE profile. I've gone to the KDE
install doco on the wiki, http://wiki.gentoo.org/wiki/KDE, had a read
and it says that I'll need D-Bus, polkit, udev and udisks. I can emerge
D-Bus with no problems then onto polkit which its wiki says needs D-Bus
and consolekit.

	So I attempt to install consolekit and bingo, there's the avalanche.
Perl crap everywhere, Samba, MySQL & MariaDB, and I don't even use
either of these DB's, a battle between LibAV and FFMPEG, what looks like
all of KDE and oh look, there's vlc along for the ride. Even zlib
decides it wants to come along but manages to block itself. That many
files want to come along to the party that I can't "Shift PgUp" back up
through my text console to see it all - a text console because I don't
have any graphics installed yet.

	I had a look at the consolekit ebuild and it says that it needs polkit,
even though the wiki says that polkit depends upon consolekit - going
round in circles here. So I looked at the polkit ebuild and it looks
like it needs polkit-kde-agent, which to my untrained eye, probably is
responsible for this avalanche os stuff - I think....

	So what do I have to do to not have this avalanche of stuff, so that I
can emerge pieces bit by bit, so that I can see what's happening. I've
probably got some of the above slightly wrong, "lost in translation"
going from work to home, but "the vibe" is there. It is so frustrating
when you sit there and see a massive list of packages, a good proportion
I don't even want, I'm looking at you MySQL/MariaDB - isn't this due to
the Akonadi mess, scroll up the screen and it makes no sense as to why
(Continue reading)

meino.cramer | 28 Sep 16:13 2014
Picon
Picon

Running a program on a headless computer ?

Hi,

I want to run programs, which insist on haveing a terminal
to write their status to and which are writing files which
their results on a headless computer (beaglebone).

I tried things like 

    my_program -o file.txt -parameter value > /dev/null &2>&1 &

but this results in a idle copy of this process and a defunct
child.

The program does not use X11 in any way...

Is there any neat trick to accomplish what I am trying to do here?

Thank you very much in advance for any help!
Best regards,
mcc

Jorge Almeida | 28 Sep 10:44 2014
Picon

bloated by gcc

I'm having a somewhat disgusting issue on my Gentoo: binaries are
unaccountably large.

I'm talking about C programs of my own, so no version related issues
whatsoever. The computer is a core i3 with a 32 bit system.

Example, for the same program:

10275 B on an atom running Slackware 14.1 (gcc 4.8.2)
5896 B (same, stripped with strip --strip-unneeded)

11675 B on i3, Gentoo, gcc 4.8.3 (with default gcc it was worse)
9704 B stripped

8207 B on *the same i3 box* running LFS (gcc 4.9.1)
5768 B stripped

When compiling against dietlibc, the difference is even more shocking
(almost double size in Gentoo after stripping).

Compiled with:
gcc -Os -march=i686  -fomit-frame-pointer -pipe -Wall -pedantic
-fdata-sections -ffunction-sections -Wl,--gc-sections
-fno-asynchronous-unwind-tables -std=c99

Gentoo:
$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/i686-pc-linux-gnu/gcc-bin/4.8.3/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/4.8.3/lto-wrapper
(Continue reading)

Joseph | 27 Sep 19:03 2014
Picon

phpmyadmin - upgrading

After upgrade of phpmyadmin, I think it was installed correctly:

This is an upgrade
phpmyadmin-4.1.7 is already installed - upgrading
Running /usr/sbin/webapp-config -U -h localhost -u root -d /phpmyadmin phpmyadmin 4.1.14.3
INFO: postinst
Running /usr/sbin/webapp-cleaner -p -C /phpmyadmin

But after re-login I get a message:

$cfg['Servers'][$i]['users'] ... 	not OK [ Documentation ]
$cfg['Servers'][$i]['usergroups'] ... 	not OK [ Documentation ]
Configurable menus: Disabled

I've appended the missing section in config.inc.php
/* configuration storage */
...
$cfg['Servers'][$i]['users'] = 'pma__users';
$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
?>

Am I missing any tables?

--

-- 
Joseph

meino.cramer | 27 Sep 07:42 2014
Picon
Picon

Playing timidity patches via keyboard?

Hi,

I am looking for some sort of software, for which I 
have no words (neiter I am a native english speaker
nor I am a musician...;):
There is a program called "Timidity", which is able
to play midifiles and produce sound. The sound is taken
from "patchsets" (GUS?).

Is there any GPLed/OpensSource Software, which does
the same thing but for notes I am playing on the
midi keyboard?

Thank you very much in advance for any help!
Best regards,
mcc

James | 26 Sep 03:15 2014
Picon

mesos and openstack

Hello,

Here an short article talks about mesos and openstack.

http://openstacksv.com/2014/09/02/make-no-small-plans/

enjoy,
James

James | 25 Sep 17:25 2014
Picon

udev (viable) alternatives ?

Ok,

So I have used eudev before, without issue before. Things are moving along
so now I see an udev-215 upgrade to udev-261 on a system running lxde.
I intend to migrate this system to lxqt in the next few weeks, after
I build up a new workstation.

So changing from udev-215 to eudev-1.10-r2 is as simple as 
unmerging the former and emerging the latter ? The sytem
is not tweaked very much and still running a 3.13.6 kernel, for now.

Any other caveats (short term) on switching udev to eudev?

curiously,
James

Gevisz | 25 Sep 11:02 2014
Picon

Depends or not depends? That is the question. :)

Running
#emerge --depclean --backtrack=60 --ask 
after updating my system today, I have got the following:
>>> These are the packages that would be unmerged:

 dev-lang/tk
    selected: 8.5.15 
   protected: none 
     omitted: none 

 dev-lang/tcl
    selected: 8.5.15-r1 
   protected: none 
     omitted: none 

All selected packages: dev-lang/tk-8.5.15 dev-lang/tcl-8.5.15-r1

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No]

On the other hand,
$ equery depends
gives
$ equery depends tk
 * These packages depend on tk:
app-text/epspdf-0.6.0 (tk ? dev-lang/tk)
dev-lang/R-3.0.1 (tk ? dev-lang/tk)
dev-lang/ocaml-3.12.1 (tk ? >=dev-lang/tk-3.3.3)
(Continue reading)


Gmane