Mord Behar | 27 Apr 19:06 2015
Picon

OT: Xiaomi phones

Has anybody on this list bought one of Xiaomi's new phones (or tablet)?
Spec-wise they should be really good, and very cheap. I'm curious about use case stories, buying the device, shipping it to Israel, using it, upgrading it and so on. Also, what you did when it broke.
Thanks.
Mordechai

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Shlomi Fish | 26 Apr 08:24 2015
Picon

Debian 8 "Jessie" was published.

Hi all,

Debian 8 "Jessie" has been published yesterday/today:

* http://lwn.net/Articles/641875/

* http://linux.slashdot.org/story/15/04/26/0322241/debian-8-jessie-released

For the record, Jessie from Toy Story is http://pixar.wikia.com/Jessie . The previous major version of Debian was made available on 2013-05-04 - about two years ago. Its next version will be called "Stretch" after http://pixar.wikia.com/Stretch .

Best regards,

-- Shlomi Fish

--
------------------------------------------
Shlomi Fish http://www.shlomifish.org/

Chuck Norris helps the gods that help themselves.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Shlomo Solomon | 22 Apr 10:22 2015
Picon

Raspberry PI printer error message

First I want to say that printer installation has really improved
since I last got a new printer a few years ago. In fact, I would
even say that installing my new HP 8610 on Mageia and Raspberry PI
(Raspbian) was even faster and easier than on Windows.

But I did encounter something strange on the PI. After installing
system-config-printer and cups, I used the GUI to detect the printer.
The printer was located - including the printer driver, but then I got
an authentication window saying: "privileges are required to
add/remove/edit a remote printer". The pi user and password were not
accepted. 

But here's the weird thing - I hit cancel, but the printer was
installed and WORKS PERFECTLY. If I try to edit the printer's
properties, I also get the same authorization message, but again am
able to change properties as needed.

--

-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Constantine Shulyupin | 21 Apr 16:48 2015
Picon

Parsing compilation errors and automatic resolving

Hi,

Again I am compiling big OSS project for embedded environment and receive a lot of errors like:
warning: libXXX, needed by YYY, not found
fatal error: XXX: No such file or directory.
undefined reference to XX
etc

Then I look for missing packages with utilities: nm, apt-file search and configure compilation.

Question:

Are there utility, which parses errors and proposes obvious solutions?

For example, following code proposes to add missing library to LDFLAGS:

perl -ne '/.*warning: lib(.*?)\..*, needed by .*, not found .*/ && print "export LDFLAGS+=\" -l$1\"\n";' < config.log

Thanks

--
Constantine Shulyupin
http://www.MakeLinux.co.il/
Embedded Linux Systems
Tel Aviv
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Shachar Shemesh | 17 Apr 14:07 2015

Good Midi program for people wishing to learn the piano

Hi all,

I finally realized a dream I've had for several decades now, and bought a piano. In particular, I bought a digital piano. So far I'm enjoying it tremendously.

I thought I can accelerate and enhance my learning experience, however, by hooking it up to a computer and have the computer check that I'm playing what I'm supposed to play (or, at the very least, show me what I played so I can compare). The list of MIDI packages under Debian is rather long, and I find I need some assistance.

So far, I tried lmms (which doesn't see my piano), vmpk, which works great, but is a mere input/output, and not much else, and muse, which I have not managed to operate yet, but it seems not be what I'm looking for.

It seems that the MIDI sequencers are just that - sequencers. It has not occurred to them to work with, you know, notes. I'm going to try nted next, but the description is not promising (I think it can import from midi files, but not from a midi device. I can, of course, have my piano store a midi file to a USB DoK, and then import it, but that's too long a process for what I want).

Recommendations, anyone?
Shachar
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Omer Zak | 17 Apr 09:14 2015
Picon

[octave3.0-info vs. dpkg] Dirty package uninstall in Debian - how to do it?

In Linux (Debian Jessie which is currently Debian Testing), I
encountered the following bug from hell.

I have installed the package octave3.0-info (1:3.0.1-6lenny3) which
conflicts with the new version of dpkg (1.17.25) which is part of Debian
Jessie.

The current dpkg version that I have is 1.17.24, and there is a problem
with octave3.0-info which prevents the current dpkg from uninstalling
it.

Hence, a deadlock which prevents me from upgrading to the new dpkg
version (I reported the bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782714).

Is there any expert who can advise me how to work around the deadlock
and allow me to install the new dpkg?

Thanks,
--- Omer

--

-- 
cal 09 1752
My own blog is at http://www.zak.co.il/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Shlomo Solomon | 16 Apr 19:59 2015
Picon

Re Mageia and NTFS disk

Actually, that's exactly the conclusion I came to :-)
1 - I tried deleting the NTFS partition and creating a new EXT4 using
the utility but was not successful. 
2 - I then used fdisk in a terminal and it seemed to work but the
utility didn't recognize what I'd done in fdisk. 
3 - I then connected the disk to my Raspberry PI and used Gparted to
create an EXT4 partition on the entire disk. 
4 - Back on my Mageia box, The new partition looks OK:
[solomon <at> shlomo1 ~]$ df|grep sdj
/dev/sdj1       3.6T   68M  3.4T
1% /run/media/solomon/7677d9e4-9884-4085-a361-e6d2ff4a72db

BUT - in the Mageia utility I see only a "small" EXT4 partition and
another 1.9Tb of un-allocated space for a total of only about 60% of
the disk.
5 - I then tried Gparted on the Mageia box and everything seems normal.

SO - Yes, there seems to be a bug in Mageia's "Manage Disk
Partitions" utility. 

On Thu, 16 Apr 2015 20:26:03 +0300
Constantine Shulyupin <const@...> wrote:

> It's possible that 2TB is just 32bit LONG_MAX 2147483647 and there is
> bug in the utility.
> Must to use long long int for disk sizes in bytes.
> 
> 
> 
> On Thu, Apr 16, 2015 at 7:19 PM, Shlomo Solomon
> <shlomo.solomon@...> wrote:
> 
> > I'm about to format my new 4Tb drive as Ext4, but before I do, I
> > wanted to see how it shows up "out-of-the-box" and got some strange
> > results. I'm pretty sure formatting as Ext4 will solve this, but I'm
> > curious if anyone can explain the following:
> >
> > I mounted the drive and I see:
> > [solomon <at> shlomo1 ~]$ df |grep Seagate
> > /dev/sdj1 3.7T  203M 3.7T 1% /run/media/solomon/Seagate Expansion
> > Drive
> >
> >
> >
> > [root <at> shlomo1 solomon]# fdisk /dev/sdj
> >
> > Welcome to fdisk (util-linux 2.24.2).
> > Changes will remain in memory only, until you decide to write them.
> > Be careful before using the write command.
> >
> > Command (m for help): p
> > Disk /dev/sdj: 3.7 TiB, 4000787025920 bytes, 976754645 sectors
> > Units: sectors of 1 * 4096 = 4096 bytes
> > Sector size (logical/physical): 4096 bytes / 4096 bytes
> > I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> > Disklabel type: dos
> > Disk identifier: 0xc64aae83
> >
> > Device    Boot Start       End     Blocks  Id System
> > /dev/sdj1       2048 976752639 3907002368   7 HPFS/NTFS/exFAT
> >
> >
> >
> > But, when I run the "Manage Disk Partitions" utility in Mageia's
> > Control Center I can see 1 "small" NTFS partition and another 1.9Tb
> > of un-allocated space for a total of only about 60% of the disk:
> >
> > Device: sdj1
> > Volume label: Seagate_Expansion_Drive
> > DOS drive letter: C (just a guess)
> > Type: NTFS-3G
> > Size: 465GB (12%)
> >
> > Empty
> > Size: 1.9TB (54%)
> > Cylinder 60800 to 328149
> >
> > After hitting the "clear all" button I see more or less the proper
> > size: Device: sdj
> > Size: 3.6TB
> > Name: NA4KTWL4
> >
> >
> > As I wrote, I'm quite sure formatting EXT4 will solve this, but WTF?
> >
> >
> >
> > --
> > Shlomo Solomon
> > http://the-solomons.net
> > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4
> >
> >
> > _______________________________________________
> > Linux-il mailing list
> > Linux-il@...
> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> >
> 
> 
> 

-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4

--

-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Shlomo Solomon | 16 Apr 18:19 2015
Picon

Mageia and NTFS disk

I'm about to format my new 4Tb drive as Ext4, but before I do, I
wanted to see how it shows up "out-of-the-box" and got some strange
results. I'm pretty sure formatting as Ext4 will solve this, but I'm
curious if anyone can explain the following:

I mounted the drive and I see:
[solomon <at> shlomo1 ~]$ df |grep Seagate
/dev/sdj1 3.7T  203M 3.7T 1% /run/media/solomon/Seagate Expansion Drive

[root <at> shlomo1 solomon]# fdisk /dev/sdj

Welcome to fdisk (util-linux 2.24.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): p
Disk /dev/sdj: 3.7 TiB, 4000787025920 bytes, 976754645 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xc64aae83

Device    Boot Start       End     Blocks  Id System
/dev/sdj1       2048 976752639 3907002368   7 HPFS/NTFS/exFAT

But, when I run the "Manage Disk Partitions" utility in Mageia's
Control Center I can see 1 "small" NTFS partition and another 1.9Tb of
un-allocated space for a total of only about 60% of the disk:

Device: sdj1
Volume label: Seagate_Expansion_Drive
DOS drive letter: C (just a guess)
Type: NTFS-3G
Size: 465GB (12%)

Empty
Size: 1.9TB (54%)
Cylinder 60800 to 328149

After hitting the "clear all" button I see more or less the proper size:
Device: sdj
Size: 3.6TB
Name: NA4KTWL4

As I wrote, I'm quite sure formatting EXT4 will solve this, but WTF?

--

-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Shlomi Fish | 15 Apr 13:49 2015
Picon

Linux Kernel 4.0 is Out + Debian Jessie Planned Upcoming Release

Hi all!

Linux kernel 4.0 is out:

* https://www.kernel.org/

* http://linux.slashdot.org/story/15/04/13/0249208/linux-40-kernel-released

* http://lwn.net/Articles/640082/

It's actually kernel 3.20 in disguise.

That put aside , Debian Jessie is planned to be released (as the new Debian
Stable) on 25 April (ten days from now):

https://release.debian.org/

“May you live in interesting times.”

Regards,

    Shlomi Fish

--
------------------------------------------
Shlomi Fish http://www.shlomifish.org/

Chuck Norris helps the gods that help themselves.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Shlomo Solomon | 14 Apr 05:44 2015
Picon

formatting a disk for a home NAS

I'm setting up a home NAS - Raspberry PI2, Raspbian, Samba, external
disk. It's meant to serve files to a mixed network - Linux, Windows and
Android devices. The new disk comes formatted as NTFS. My "gut" tells
me to re-format as EXT4 - any comments or suggestions?

Additional info: The files will be a mix of music, video and office
files. I will also be backing up at least one of the Linux boxes on
this server, so there will also be a fair number of small files -
e-mail, config files, etc. In the past I used to prefer ReiserFS, but
over the years, I've gradually moved to EXT4 for new disks.

--

-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Amos Shapira | 14 Apr 05:19 2015
Picon

Re: I've been hacked, or not?

Please allow me to disagree,

I see top value in spending some time to learn to set it up automatically - it'll pay itself in spades every time you have to update anything on that server, let alone migrate or rebuild it.

Setting up a test environment with Vagrant, setting things up with Puppet (or whatever else is your favourite poison), testing the changes with Serverspec and friends shouldn't take more than a day of hacking, will make you much more relaxed about maintaining this server, and give you fantastic tools to use in your other work.

E.g. I'm hacking now on my own project and see the value of automatic tests so as my code progresses, I can make sure I didn't break something which worked before. Sure its a hassle to kickstart it but once it's up it's invaluable.

On 14 April 2015 at 12:53, Shachar Shemesh <shachar-bG81FZYBAlipwFb5G8XvHQ@public.gmane.org> wrote:

Yes. That's top advice IF you are working off someone elses money and/or paying for your own time.

If, however, this is something done in your spare time, serving mostly you and being paid for out of your own pocket, the difference between 8€/mo and what you said becomes big.

Shachar

On Apr 14, 2015 3:02 AM, Amos Shapira <amos.shapira-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On 14 April 2015 at 02:34, Shachar Shemesh <shachar-bG81FZYBAlipwFb5G8XvHQ@public.gmane.org> wrote:
If I just reinstall the server (both time consuming and expensive, as I need provision a temporary server to make a smooth transition), I'm still going to be open to the same attack vector unless I do something.

Don't you have a DR plan?
How about automating the server setup, so you can both test changes (ever heard of Vagrant?) and get it back to life without worrying about it?



--Amos



--

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Gmane