Minggu, 28 Agustus 2016

Bristol Digest, Vol 658, Issue 5

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. I am at the pub already (Sebastian)
2. KT (peternsomerset@virginmedia.com)
3. Re: August 2016 LUG Meeting this Saturday (Sebastian)
4. Re: August 2016 LUG Meeting this Saturday (Sebastian)
5. Re: KT (Sebastian)


----------------------------------------------------------------------

Message: 1
Date: Sat, 27 Aug 2016 13:39:23 +0100
From: Sebastian <sebsebseb_mageia@gmx.com>
To: <bristol@mailman.lug.org.uk>
Cc: sebsebseb_mageia@gmx.com
Subject: [bristol] I am at the pub already
Message-ID: <162c9f6a-d5cb-466d-be76-e5149a8e82ae@gmx.com>
Content-Type: text/plain; charset=utf-8; format=flowed

I am already at the pub earlier than expected. First one there for a
change! Come join me?

Usual place on the lower level at the back of the pub when entering in the
left hand side corner.

Sebastian


--
Sent using Dekko from my Ubuntu device

------------------------------

Message: 2
Date: Sat, 27 Aug 2016 15:42:54 +0300
From: peternsomerset@virginmedia.com
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: [bristol] KT
Message-ID: <1472301774.421342176@f30.my.com>
Content-Type: text/plain; charset="utf-8"


Is anyone at the KT if so I will make the effort to get there!?
--
Sent from myMail app for Android
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20160827/b82f1bb1/attachment-0001.html>

------------------------------

Message: 3
Date: Sat, 27 Aug 2016 13:45:23 +0100
From: Sebastian <sebsebseb_mageia@gmx.com>
To: nick robinson <devnull791101@gmail.com>,
<sebsebseb_mageia@gmx.com>
Cc: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>,
sebsebseb_mageia@gmx.com
Subject: Re: [bristol] August 2016 LUG Meeting this Saturday
Message-ID: <6d922a7b-41a2-4337-92f4-e0543de614e3@gmx.com>
Content-Type: text/plain; charset=utf-8; format=flowed

On Saturday, 27 August 2016 13:40:13 BST, nick robinson
<devnull791101@gmail.com> wrote:
> sorry guys I'm not going to make this one. the traffic is nuts

How bad? If you were to get the train and turn up about 4 some of us will
probably still be here for quite awhile. I am waiting for others now, but
well I am early

Where you trying to come from as well?
>
> On 23 Aug 2016 12:48 p.m., "Sebastian via Bristol" <
> bristol@mailman.lug.org.uk> wrote:
>
>> On Tuesday, 23 August 2016 09:25:48 BST, nick robinson via Bristol <
>> bristol@mailman.lug.org.uk> wrote:
>>
>>> ill try stop in for a cold one
>>>
>>> Ok hope to meet you there. Also it seems that we haven't mett before, or
>> that if we have that its been quite awhile.
>>
>> On 22 August 2016 at 20:38, Sebastian via Bristol <
>>> bristol@mailman.lug.org.uk> wrote:
>>>
>>> Hi
>>>>
>>>> Why not come and join us on a maybe/possible hot day this Saturday, at
>>>> the
>>>> Knight's Templar Pub in Temple Qyay near Temple Meads Train Station in
>>>> Bristol, for our usually scheduled LUG meeting? I will
>>>> probably be there
>>>> about 3pm, or about 3:30pm, what about you?
>>>> For anyone who does not know we sit on the lower level at
>>>> the back of the
>>>> pub when entering it on the lower level at the back of the pub, on the
>>>> left
>>>> in the corner with the plugs, unless someone else is already there, and
>>>> if
>>>> so near there instad. Someone from our group is likely to be there at
>>>> about 2pm by the earlist, and people tend to leave between 4:30pm and
>>>> 5:30pm/6.
>>>>
>>>> I hope it will be a good LUG meeting with a good turn out of
>>>> people, like
>>>> the last four years from what I seem to remember. Also some of us will
>>>> probably be discussing a likly event, that trying to get sorted out
>>>> properly for Saturday October 22nd 2016 for Linux Presentation Day. At
>>>> least some more volunteers are wanted, to help with the
>>>> event in general,
>>>> so please do kindly put yourself forward, by getting back to
>>>> me soon, if
>>>> you haven't already, and are at least interested to some extent.
>>>>
>>>> Best Regards
>>>>
>>>> Sebastian
>>>>
>>>>
>>>> --
>>>> Sent using Dekko from my Ubuntu device
>>>>
>>>> _______________________________________________
>>>> Bristol mailing list
>>>> Bristol@mailman.lug.org.uk
>>>> https://mailman.lug.org.uk/mailman/listinfo/bristol
>>>>
>>>
>>>
>>
>> --
>> Sent using Dekko from my Ubuntu device
>>
>> _______________________________________________
>> Bristol mailing list
>> Bristol@mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/bristol
>


--
Sent using Dekko from my Ubuntu device

------------------------------

Message: 4
Date: Sat, 27 Aug 2016 13:48:11 +0100
From: Sebastian <sebsebseb_mageia@gmx.com>
To: nick robinson <devnull791101@gmail.com>,
<sebsebseb_mageia@gmx.com>
Cc: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>,
sebsebseb_mageia@gmx.com
Subject: Re: [bristol] August 2016 LUG Meeting this Saturday
Message-ID: <20e98895-7cd0-4d67-b210-77e0af77d060@gmx.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Read your measaGE from my phone slightly wrong as well.

On Saturday, 27 August 2016 13:45:23 BST, Sebastian
<sebsebseb_mageia@gmx.com> wrote:
> On Saturday, 27 August 2016 13:40:13 BST, nick robinson
> <devnull791101@gmail.com> wrote:
>> sorry guys I'm not going to make this one. the traffic is nuts
>
> How bad? If you were to get the train and turn up about 4 some of us will
> probably still be here for quite awhile. I am waiting for others now, but
> well I am early
>
> Where you trying to come from as well?
>>
>> On 23 Aug 2016 12:48 p.m., "Sebastian via Bristol" <
>> bristol@mailman.lug.org.uk> wrote:
>>
>>> On Tuesday, 23 August 2016 09:25:48 BST, nick robinson via Bristol <
>>> bristol@mailman.lug.org.uk> wrote:
>>>
>>>> ill try stop in for a cold one
>>>>
>>>> Ok hope to meet you there. Also it seems that we haven't
>>>> mett before, or
>>> that if we have that its been quite awhile.
>>>
>>> On 22 August 2016 at 20:38, Sebastian via Bristol <
>>>> bristol@mailman.lug.org.uk> wrote:
>>>>
>>>> Hi
>>>>>
>>>>> Why not come and join us on a maybe/possible hot day this Saturday, at
>>>>> the
>>>>> Knight's Templar Pub in Temple Qyay near Temple Meads Train Station in
>>>>> Bristol, for our usually scheduled LUG meeting? I will
>>>>> probably be there
>>>>> about 3pm, or about 3:30pm, what about you?
>>>>> For anyone who does not know we sit on the lower level at
>>>>> the back of the
>>>>> pub when entering it on the lower level at the back of the pub, on the
>>>>> left
>>>>> in the corner with the plugs, unless someone else is
>>>>> already there, and
>>>>> if
>>>>> so near there instad. Someone from our group is likely to be there at
>>>>> about 2pm by the earlist, and people tend to leave between 4:30pm and
>>>>> 5:30pm/6.
>>>>>
>>>>> I hope it will be a good LUG meeting with a good turn out of
>>>>> people, like
>>>>> the last four years from what I seem to remember. Also
>>>>> some of us will
>>>>> probably be discussing a likly event, that trying to get sorted out
>>>>> properly for Saturday October 22nd 2016 for Linux
>>>>> Presentation Day. At
>>>>> least some more volunteers are wanted, to help with the
>>>>> event in general,
>>>>> so please do kindly put yourself forward, by getting back to
>>>>> me soon, if
>>>>> you haven't already, and are at least interested to some extent.
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Sebastian
>>>>>
>>>>>
>>>>> --
>>>>> Sent using Dekko from my Ubuntu device
>>>>>
>>>>> _______________________________________________
>>>>> Bristol mailing list
>>>>> Bristol@mailman.lug.org.uk
>>>>> https://mailman.lug.org.uk/mailman/listinfo/bristol
>>>>>
>>>>
>>>>
>>>
>>> --
>>> Sent using Dekko from my Ubuntu device
>>>
>>> _______________________________________________
>>> Bristol mailing list
>>> Bristol@mailman.lug.org.uk
>>> https://mailman.lug.org.uk/mailman/listinfo/bristol
>>
>
>

--
Sent using Dekko from my Ubuntu device

------------------------------

Message: 5
Date: Sat, 27 Aug 2016 13:51:30 +0100
From: Sebastian <sebsebseb_mageia@gmx.com>
To: <bristol@mailman.lug.org.uk>, <sebsebseb_mageia@gmx.com>
Subject: Re: [bristol] KT
Message-ID: <dc9a78ec-c7d5-4223-9daa-4bb692d43054@gmx.com>
Content-Type: text/plain; charset=utf-8; format=flowed

On Saturday, 27 August 2016 13:42:54 BST, peternsomerset--- via Bristol
<bristol@mailman.lug.org.uk> wrote:
>
> Is anyone at the KT if so I will make the effort to get there!?
> --
> Sent from myMail app for Android

Yes I am so hope to see you in a bit. I am expecting two others as well,
not sure about other people.


--
Sent using Dekko from my Ubuntu device

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 658, Issue 5
***************************************

Sabtu, 27 Agustus 2016

Bristol Digest, Vol 658, Issue 4

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Open for Business at Wuthering Bytes (Andres Baravalle)


----------------------------------------------------------------------

Message: 1
Date: Sat, 27 Aug 2016 11:36:55 +0000
From: Andres Baravalle <a.baravalle@uel.ac.uk>
To: "bristol@mailman.lug.org.uk" <bristol@mailman.lug.org.uk>
Subject: [bristol] Open for Business at Wuthering Bytes
Message-ID:
<AM3PR02MB22547B593301A030A2001C6B7EF0@AM3PR02MB225.eurprd02.prod.outlook.com>

Content-Type: text/plain; charset="utf-8"

Open for Business is an annual one day conference hosted by the BCS Open Source Specialist Group and Open Source Consortium, that aims to explore key themes in open source software as they relate to service providers and consumers, across both the private and public sectors.

In 2016 the conference will build on the success of the inaugural event held the previous year — which took a look at some of the broader challenges and opportunities, with first-hand experiences — to dive deeper and consider best practices in driving effective open source adoption.

Once again we have some fantastic speakers lined-up that bring many unique insights, including Mike Little, co-founder of WordPress - which now powers a staggering >26% of the web, Maarten Ectors, Vice President IoT at Canonical, Matija Suklje, lawyer and FOSS legal specialist who 5 years Matija served as FSFE's Legal Coordinator, and Mark Kent, who will provide unique insights into a major open source platform at BT.

Open for Business is hosted by the BCS Open Source Specialist Group and the Open Source Consortium, and is being run as part of the Wuthering Bytes (http://wutheringbytes.com) technology festival.

For further details please see the conference website: http://ossg.bcs.org/ofb2016/

Open for Business is sponsored by: BCS (http://bcs.org) and Embecosm
(http://www.embecosm.com/)

Andres
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20160827/1faa4b79/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 658, Issue 4
***************************************

Rabu, 24 Agustus 2016

Bristol Digest, Vol 658, Issue 3

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Serviio configuration (was Showing Photos on TV via DNLA)
(Peter Hemmings)
2. Re: Serviio configuration (was Showing Photos on TV via DNLA)
(Amias Channer)
3. Re: Serviio configuration (was Showing Photos on TV via DNLA)
(Peter Hemmings)
4. Re: Serviio configuration (was Showing Photos on TV via DNLA)
(David)
5. Re: Serviio configuration (was Showing Photos on TV via DNLA)
(Peter Hemmings)
6. Re: Serviio configuration (Peter Hemmings)


----------------------------------------------------------------------

Message: 1
Date: Wed, 24 Aug 2016 16:04:32 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: Amias Channer <me@amias.net>, Bristol and Bath Linux User Group
<bristol@mailman.lug.org.uk>
Subject: [bristol] Serviio configuration (was Showing Photos on TV via
DNLA)
Message-ID: <bf7c3c0d-6a9b-2c41-8488-10fbc2b80e98@virginmedia.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

I used Wifi-ftp app on Android and FireFTP add-on to Firefox which
worked OK, I then tried the more complicated (to install) "Serviio" and
got stuck - mainly because I am not sure how to configure it!

I was using this:

http://wiki.serviio.org/doku.php?id=howto:linux:install:fedora

for my fedora 24 laptop but using dnf instead of yum.

I have got it running from boot (with a VM warning):


[peter@localhost ~]$ systemctl status serviio.service
● serviio.service - Start the serviio DLNA server in headless mode
Loaded: loaded (/usr/lib/systemd/system/serviio.service; enabled;
vendor preset: disabled)
Active: active (running) since Wed 2016-08-24 14:26:58 BST; 1h 22min ago
Main PID: 896 (serviio.sh)
Tasks: 50 (limit: 512)
CGroup: /system.slice/serviio.service
├─896 /bin/sh /opt/serviio/bin/serviio.sh
└─959 java -Xmx512M -Xms20M -XX:+UseParNewGC
-XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20
-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true
-Dderby.system.home=/opt/serviio/library -Dserviio.home=/

Aug 24 14:26:58 localhost.localdomain systemd[1]: Started Start the
serviio DLNA server in headless mode.
Aug 24 14:27:01 localhost.localdomain serviio.sh[896]: OpenJDK 64-Bit
Server VM warning: Using the ParNew young collector with the Serial old
collector is deprecated and will likely be removed in a future rele

but I cannot connect to it.

I cannot find the "console" and I have not configured folders, I had
assumed this is done remotely via the "console"?

Something I have obviously missed, but at least its running.

I have have also assumed I do not need to install LAMP for this to work,
am I right?

Servers are not my strong point as you can see but Serviio gets good
reviews but known to be a pain to set up!


On 22/08/16 11:21, Amias Channer wrote:
> Hello Peter,
>
> Serviio does picture sharing, i've not used it for that myself but its
> very capable otherwise with my Samsung smart tv
> http://serviio.org/download
>
>
> Cheers
> Amias
>
> On 22 August 2016 at 08:46, Peter Hemmings via Bristol
> <bristol@mailman.lug.org.uk> wrote:
>> Hi,
>>
>> I have been trying to show photos on a TV via a Samsung Blu Ray player with
>> DNLA.
>>
>> I have a Moto G phone that does not have a SD Card and have got it to work
>> with Android BubbleDNLA, but my photos are mainly on my fedora 24 PC.
>>
>> I installed Kodi and it worked with video/music libraries but could not
>> seem to get any photos, can't it stream photos?
>>
>> For quickness I would like to put photos on my moto G but cannot find the
>> phone when I plug it into the linux pc via usb cable, but i can hear a
>> "blip" (nothing on file manager).
>>
>> Any advice on how to easily show my photos via DNLA?
>>
>> Regards
>>
>> --
>> Peter H
>>
>>
>> _______________________________________________
>> Bristol mailing list
>> Bristol@mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/bristol
Regards
--
Peter H

------------------------------

Message: 2
Date: Wed, 24 Aug 2016 16:14:59 +0100
From: Amias Channer <me@amias.net>
To: Peter Hemmings <peternsomerset@virginmedia.com>
Cc: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Serviio configuration (was Showing Photos on TV
via DNLA)
Message-ID:
<CAMgU7XUixT7x9H0+jtBsavF69Dk7GbNG2JP_Zg_kgwpLHENxAA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hello Peter,

The serviio console is on http://localhost:23423/console , this should
allow you to choose the folders containing the media.

I seem to remember you have a firewalling on your systems , you might
need to allow it , there are a lot of ports involved in DLNA

TCP 8895 and UDP 1900

It uses a java class to provide the http server so you won't need to
install one.

There is a guide here -
http://serviio.org/index.php?option=com_content&view=article&id=5

Cheers
Amias

On 24 August 2016 at 16:04, Peter Hemmings
<peternsomerset@virginmedia.com> wrote:
> Hi,
>
> I used Wifi-ftp app on Android and FireFTP add-on to Firefox which worked
> OK, I then tried the more complicated (to install) "Serviio" and got stuck -
> mainly because I am not sure how to configure it!
>
> I was using this:
>
> http://wiki.serviio.org/doku.php?id=howto:linux:install:fedora
>
> for my fedora 24 laptop but using dnf instead of yum.
>
> I have got it running from boot (with a VM warning):
>
>
> [peter@localhost ~]$ systemctl status serviio.service
> ● serviio.service - Start the serviio DLNA server in headless mode
> Loaded: loaded (/usr/lib/systemd/system/serviio.service; enabled; vendor
> preset: disabled)
> Active: active (running) since Wed 2016-08-24 14:26:58 BST; 1h 22min ago
> Main PID: 896 (serviio.sh)
> Tasks: 50 (limit: 512)
> CGroup: /system.slice/serviio.service
> ├─896 /bin/sh /opt/serviio/bin/serviio.sh
> └─959 java -Xmx512M -Xms20M -XX:+UseParNewGC
> -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20
> -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true
> -Dderby.system.home=/opt/serviio/library -Dserviio.home=/
>
> Aug 24 14:26:58 localhost.localdomain systemd[1]: Started Start the serviio
> DLNA server in headless mode.
> Aug 24 14:27:01 localhost.localdomain serviio.sh[896]: OpenJDK 64-Bit Server
> VM warning: Using the ParNew young collector with the Serial old collector
> is deprecated and will likely be removed in a future rele
>
> but I cannot connect to it.
>
> I cannot find the "console" and I have not configured folders, I had assumed
> this is done remotely via the "console"?
>
> Something I have obviously missed, but at least its running.
>
> I have have also assumed I do not need to install LAMP for this to work, am
> I right?
>
> Servers are not my strong point as you can see but Serviio gets good reviews
> but known to be a pain to set up!
>
>
> On 22/08/16 11:21, Amias Channer wrote:
>>
>> Hello Peter,
>>
>> Serviio does picture sharing, i've not used it for that myself but its
>> very capable otherwise with my Samsung smart tv
>> http://serviio.org/download
>>
>>
>> Cheers
>> Amias
>>
>> On 22 August 2016 at 08:46, Peter Hemmings via Bristol
>> <bristol@mailman.lug.org.uk> wrote:
>>>
>>> Hi,
>>>
>>> I have been trying to show photos on a TV via a Samsung Blu Ray player
>>> with
>>> DNLA.
>>>
>>> I have a Moto G phone that does not have a SD Card and have got it to
>>> work
>>> with Android BubbleDNLA, but my photos are mainly on my fedora 24 PC.
>>>
>>> I installed Kodi and it worked with video/music libraries but could not
>>> seem to get any photos, can't it stream photos?
>>>
>>> For quickness I would like to put photos on my moto G but cannot find the
>>> phone when I plug it into the linux pc via usb cable, but i can hear a
>>> "blip" (nothing on file manager).
>>>
>>> Any advice on how to easily show my photos via DNLA?
>>>
>>> Regards
>>>
>>> --
>>> Peter H
>>>
>>>
>>> _______________________________________________
>>> Bristol mailing list
>>> Bristol@mailman.lug.org.uk
>>> https://mailman.lug.org.uk/mailman/listinfo/bristol
>
> Regards
> --
> Peter H

------------------------------

Message: 3
Date: Wed, 24 Aug 2016 16:57:49 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Serviio configuration (was Showing Photos on TV
via DNLA)
Message-ID: <c45e985f-6fa1-8d83-5697-c49ea64806ce@virginmedia.com>
Content-Type: text/plain; charset=utf-8; format=flowed

On 24/08/16 16:14, Amias Channer via Bristol wrote:
> Hello Peter,
>
> The serviio console is on http://localhost:23423/console , this should
> allow you to choose the folders containing the media.

Sorry forgot to add "http://localhost:23423/console" just gives:

Not Found

The server has not found anything matching the request URI

You can get technical details here.
Please continue your visit at our home page.


>
> I seem to remember you have a firewalling on your systems , you might
> need to allow it , there are a lot of ports involved in DLNA
>
> TCP 8895 and UDP 1900

Just looked again in firewall and its set to its default of

1025-65535 udp and tcp

>
> It uses a java class to provide the http server so you won't need to
> install one.

OK, TA that's what I had thought

>
> There is a guide here -
> http://serviio.org/index.php?option=com_content&view=article&id=5

OK I will have another look at that one, I think it is something simple
like users/permissions as the service is running and the firewall should
be OK.

I always get confused between the firewall on the box and on the router
and assume the router only affects external packets from the lan.

>
> Cheers
> Amias
>
> On 24 August 2016 at 16:04, Peter Hemmings
> <peternsomerset@virginmedia.com> wrote:
>> Hi,
>>
>> I used Wifi-ftp app on Android and FireFTP add-on to Firefox which worked
>> OK, I then tried the more complicated (to install) "Serviio" and got stuck -
>> mainly because I am not sure how to configure it!
>>
>> I was using this:
>>
>> http://wiki.serviio.org/doku.php?id=howto:linux:install:fedora
>>
>> for my fedora 24 laptop but using dnf instead of yum.
>>
>> I have got it running from boot (with a VM warning):
>>
>>
>> [peter@localhost ~]$ systemctl status serviio.service
>> ● serviio.service - Start the serviio DLNA server in headless mode
>> Loaded: loaded (/usr/lib/systemd/system/serviio.service; enabled; vendor
>> preset: disabled)
>> Active: active (running) since Wed 2016-08-24 14:26:58 BST; 1h 22min ago
>> Main PID: 896 (serviio.sh)
>> Tasks: 50 (limit: 512)
>> CGroup: /system.slice/serviio.service
>> ├─896 /bin/sh /opt/serviio/bin/serviio.sh
>> └─959 java -Xmx512M -Xms20M -XX:+UseParNewGC
>> -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20
>> -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true
>> -Dderby.system.home=/opt/serviio/library -Dserviio.home=/
>>
>> Aug 24 14:26:58 localhost.localdomain systemd[1]: Started Start the serviio
>> DLNA server in headless mode.
>> Aug 24 14:27:01 localhost.localdomain serviio.sh[896]: OpenJDK 64-Bit Server
>> VM warning: Using the ParNew young collector with the Serial old collector
>> is deprecated and will likely be removed in a future rele
>>
>> but I cannot connect to it.
>>
>> I cannot find the "console" and I have not configured folders, I had assumed
>> this is done remotely via the "console"?
>>
>> Something I have obviously missed, but at least its running.
>>
>> I have have also assumed I do not need to install LAMP for this to work, am
>> I right?
>>
>> Servers are not my strong point as you can see but Serviio gets good reviews
>> but known to be a pain to set up!
>>
>>
>> On 22/08/16 11:21, Amias Channer wrote:
>>>
>>> Hello Peter,
>>>
>>> Serviio does picture sharing, i've not used it for that myself but its
>>> very capable otherwise with my Samsung smart tv
>>> http://serviio.org/download
>>>
>>>
>>> Cheers
>>> Amias
>>>

Regards
--
Peter H

------------------------------

Message: 4
Date: Wed, 24 Aug 2016 17:09:04 +0100
From: David <david@avoncliff.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Serviio configuration (was Showing Photos on TV
via DNLA)
Message-ID: <57BDC6A0.1080207@avoncliff.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

On 24/08/16 16:57, Peter Hemmings via Bristol wrote:
>
>
> On 24/08/16 16:14, Amias Channer via Bristol wrote:
>> Hello Peter,
>>
>> The serviio console is on http://localhost:23423/console , this should
>> allow you to choose the folders containing the media.
>
> Sorry forgot to add "http://localhost:23423/console" just gives:
>
> Not Found
>

Is your localhost setup?
You could try 127.0.0.1:23423/console

------------------------------

Message: 5
Date: Wed, 24 Aug 2016 17:29:27 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Serviio configuration (was Showing Photos on TV
via DNLA)
Message-ID: <bcdf140c-4fd6-bc49-acb8-317105e581bb@virginmedia.com>
Content-Type: text/plain; charset=utf-8; format=flowed

On 24/08/16 17:09, David via Bristol wrote:
> On 24/08/16 16:57, Peter Hemmings via Bristol wrote:
>>
>>
>> On 24/08/16 16:14, Amias Channer via Bristol wrote:
>>> Hello Peter,
>>>
>>> The serviio console is on http://localhost:23423/console , this should
>>> allow you to choose the folders containing the media.
>>
>> Sorry forgot to add "http://localhost:23423/console" just gives:
>>
>> Not Found
>>
>
> Is your localhost setup?
> You could try 127.0.0.1:23423/console
>

Nope - the same result


[peter@localhost ~]$ cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4
localhost4.localdomain4
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6
[peter@localhost ~]$


Will read some more later and try to find the answer.

I also have the serviio app on my android but not sure how to use it!!

>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol

--
Peter H

------------------------------

Message: 6
Date: Wed, 24 Aug 2016 20:51:08 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Serviio configuration
Message-ID: <f8f59ab8-6436-0f89-3130-27b014001bf8@virginmedia.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Update

On 24/08/16 17:29, Peter Hemmings via Bristol wrote:
>
>
> On 24/08/16 17:09, David via Bristol wrote:
>> On 24/08/16 16:57, Peter Hemmings via Bristol wrote:
>>>
>>>
>>> On 24/08/16 16:14, Amias Channer via Bristol wrote:
>>>> Hello Peter,
>>>>
>>>> The serviio console is on http://localhost:23423/console , this should
>>>> allow you to choose the folders containing the media.
>>>
>>> Sorry forgot to add "http://localhost:23423/console" just gives:
>>>
>>> Not Found

Just checked where it was!:

[peter@localhost ~]$ locate serviio-console.sh
/home/peter/Downloads/serviio/bin/serviio-console.sh
/opt/serviio/bin/serviio-console.sh
[peter@localhost ~]$

and it works by doing "sh /opt/serviio/bin/serviio-console.sh"

an information window says a new 1.6.1 version is available (I have
1.2.1 Evaluation licence 14 days left).

On status page I can see 3 devices, 2 unrecognized Generic Profiles with
unknown brown radio buttons that are my PC and Andriod phone.
If I switch on the phone it does not become active even with
"ServiiDroid" app running but am not sure if it should!

The other device has an active (green) button which is my Sony Blu Ray
player. It listed as a H6500 with a profile "Sony BDP-Sx70/SMP-N100
(2010)". I am not sure if it was automatically self configured because
I don't remember doing it.

If I go to the remote page on the console, add a password and I can
access the "MediaBrowser" (it opens with Chrome which is not my default
though).

If I now paste that page (http://localhost:23424/mediabrowser/) in
Firefox, it also works as expected.

So localhost:23424 is OK.

But if I paste http://localhost:23424/console/ it doesn't work so I need
to locate the MediaBrowser and maybe put the console.sh in the same folder!?

At least its a step forward.

>>
>> Is your localhost setup?
>> You could try 127.0.0.1:23423/console
>>
>
> Nope - the same result
>
>
> [peter@localhost ~]$ cat /etc/hosts
> 127.0.0.1 localhost localhost.localdomain localhost4
> localhost4.localdomain4
> ::1 localhost localhost.localdomain localhost6
> localhost6.localdomain6
> [peter@localhost ~]$
>
>
> Will read some more later and try to find the answer.
>
> I also have the serviio app on my android but not sure how to use it!!
>
>>
>> _______________________________________________
>> Bristol mailing list
>> Bristol@mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/bristol
>

Will have another look tomorrow night

Regards

--
Peter H

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 658, Issue 3
***************************************

Selasa, 23 Agustus 2016

Bristol Digest, Vol 658, Issue 2

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re: Showing Photos on TV via DNLA
(Andy Pepperdine (BBLUG account))
2. Re: Showing Photos on TV via DNLA (Stuart Ward)
3. Re: Showing Photos on TV via DNLA (Peter Hemmings)
4. August 2016 LUG Meeting this Saturday (Sebastian)
5. Re: August 2016 LUG Meeting this Saturday (nick robinson)
6. Re: August 2016 LUG Meeting this Saturday (Sebastian)


----------------------------------------------------------------------

Message: 1
Date: Mon, 22 Aug 2016 15:02:07 +0100
From: "Andy Pepperdine (BBLUG account)" <bbl.andy@pepsplace.org.uk>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Showing Photos on TV via DNLA
Message-ID: <22c66292-b5b1-d4f2-ea43-c2db042bd6d5@pepsplace.org.uk>
Content-Type: text/plain; charset=utf-8

Peter,

Just to transfer files from and to an Android device, I've found the
Wifi-ftp app on Android, combined with FireFTP add-on to Firefox on the
pc to be useful. It does away with all the cables.

Andy

On 22/08/16 08:46, Peter Hemmings via Bristol wrote:
>
> For quickness I would like to put photos on my moto G but cannot find
> the phone when I plug it into the linux pc via usb cable, but i can hear
> a "blip" (nothing on file manager).

--
Andy Pepperdine

------------------------------

Message: 2
Date: Mon, 22 Aug 2016 15:54:51 +0100
From: Stuart Ward <stuart.ward@bcs.org>
To: debian@invux.com, Bristol and Bath Linux User Group
<bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Showing Photos on TV via DNLA
Message-ID:
<CAMJ2t=VQrCw91=xgJTAX-+4iyrFLBd4s_GD1=No0wmfaZaGnpQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On 22 August 2016 at 10:34, Steve King via Bristol <
bristol@mailman.lug.org.uk> wrote:

> I have only had success with minidlna on my samsung smart TV.
>

+1 on minidlna I mainly use for viewing video, but it will show pictures,
and do audio as well.

--
Stuart Ward M +44 7782325143
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20160822/da11cdf2/attachment-0001.html>

------------------------------

Message: 3
Date: Mon, 22 Aug 2016 18:25:14 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: bbl.andy@pepsplace.org.uk, Bristol and Bath Linux User Group
<bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Showing Photos on TV via DNLA
Message-ID: <ed459250-7d9a-d258-bd26-c74ca3289485@virginmedia.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

Thanks for the suggestions, I will look into them later this week (I
have previously, a long time ago, tried mediatomb and minidlna but not
too successfully as I did not really know what I was doing!).

I must admit I "chickened out" on this as time is short, so I just put
photos from shotwell onto a stick and will be using that directly into
my samsung blu ray tomorrow.


On 22/08/16 15:02, Andy Pepperdine (BBLUG account) via Bristol wrote:
> Peter,
>
> Just to transfer files from and to an Android device, I've found the
> Wifi-ftp app on Android, combined with FireFTP add-on to Firefox on the
> pc to be useful. It does away with all the cables.
Will also try this as I have not used it

> Andy
>
> On 22/08/16 08:46, Peter Hemmings via Bristol wrote:
>> For quickness I would like to put photos on my moto G but cannot find
>> the phone when I plug it into the linux pc via usb cable, but i can hear
>> a "blip" (nothing on file manager).
Regards

--
Peter H


------------------------------

Message: 4
Date: Mon, 22 Aug 2016 20:38:20 +0100
From: Sebastian <sebsebseb_mageia@gmx.com>
To: <bristol@mailman.lug.org.uk>, <sebsebseb_mageia@gmx.com>
Subject: [bristol] August 2016 LUG Meeting this Saturday
Message-ID: <e37b1c44-92eb-4273-abcf-3899820e78dc@gmx.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi

Why not come and join us on a maybe/possible hot day this Saturday, at the
Knight's Templar Pub in Temple Qyay near Temple Meads Train Station in
Bristol, for our usually scheduled LUG meeting? I will probably be there
about 3pm, or about 3:30pm, what about you?

For anyone who does not know we sit on the lower level at the back of the
pub when entering it on the lower level at the back of the pub, on the left
in the corner with the plugs, unless someone else is already there, and if
so near there instad. Someone from our group is likely to be there at
about 2pm by the earlist, and people tend to leave between 4:30pm and
5:30pm/6.

I hope it will be a good LUG meeting with a good turn out of people, like
the last four years from what I seem to remember. Also some of us will
probably be discussing a likly event, that trying to get sorted out
properly for Saturday October 22nd 2016 for Linux Presentation Day. At
least some more volunteers are wanted, to help with the event in general,
so please do kindly put yourself forward, by getting back to me soon, if
you haven't already, and are at least interested to some extent.

Best Regards

Sebastian


--
Sent using Dekko from my Ubuntu device

------------------------------

Message: 5
Date: Tue, 23 Aug 2016 09:25:48 +0100
From: nick robinson <nick@njrobinson.net>
To: Sebastian <sebsebseb_mageia@gmx.com>, Bristol and Bath Linux User
Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] August 2016 LUG Meeting this Saturday
Message-ID:
<CADo8qK49Q67+mBP1OEzhtj5DcWRWJey3CrKe_Q-fp8nRMf0OQg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

ill try stop in for a cold one

On 22 August 2016 at 20:38, Sebastian via Bristol <
bristol@mailman.lug.org.uk> wrote:

> Hi
>
> Why not come and join us on a maybe/possible hot day this Saturday, at the
> Knight's Templar Pub in Temple Qyay near Temple Meads Train Station in
> Bristol, for our usually scheduled LUG meeting? I will probably be there
> about 3pm, or about 3:30pm, what about you?
> For anyone who does not know we sit on the lower level at the back of the
> pub when entering it on the lower level at the back of the pub, on the left
> in the corner with the plugs, unless someone else is already there, and if
> so near there instad. Someone from our group is likely to be there at
> about 2pm by the earlist, and people tend to leave between 4:30pm and
> 5:30pm/6.
>
> I hope it will be a good LUG meeting with a good turn out of people, like
> the last four years from what I seem to remember. Also some of us will
> probably be discussing a likly event, that trying to get sorted out
> properly for Saturday October 22nd 2016 for Linux Presentation Day. At
> least some more volunteers are wanted, to help with the event in general,
> so please do kindly put yourself forward, by getting back to me soon, if
> you haven't already, and are at least interested to some extent.
>
> Best Regards
>
> Sebastian
>
>
> --
> Sent using Dekko from my Ubuntu device
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20160823/ab1ff589/attachment-0001.html>

------------------------------

Message: 6
Date: Tue, 23 Aug 2016 12:48:07 +0100
From: Sebastian <sebsebseb_mageia@gmx.com>
To: <bristol@mailman.lug.org.uk>, <sebsebseb_mageia@gmx.com>
Subject: Re: [bristol] August 2016 LUG Meeting this Saturday
Message-ID: <90e447a7-2a16-48cd-b292-743e5920ea25@gmx.com>
Content-Type: text/plain; charset=utf-8; format=flowed

On Tuesday, 23 August 2016 09:25:48 BST, nick robinson via Bristol
<bristol@mailman.lug.org.uk> wrote:
> ill try stop in for a cold one
>
Ok hope to meet you there. Also it seems that we haven't mett before, or
that if we have that its been quite awhile.

> On 22 August 2016 at 20:38, Sebastian via Bristol <
> bristol@mailman.lug.org.uk> wrote:
>
>> Hi
>>
>> Why not come and join us on a maybe/possible hot day this
>> Saturday, at the
>> Knight's Templar Pub in Temple Qyay near Temple Meads Train Station in
>> Bristol, for our usually scheduled LUG meeting? I will probably be there
>> about 3pm, or about 3:30pm, what about you?
>> For anyone who does not know we sit on the lower level at the back of the
>> pub when entering it on the lower level at the back of the
>> pub, on the left
>> in the corner with the plugs, unless someone else is already
>> there, and if
>> so near there instad. Someone from our group is likely to be there at
>> about 2pm by the earlist, and people tend to leave between 4:30pm and
>> 5:30pm/6.
>>
>> I hope it will be a good LUG meeting with a good turn out of people, like
>> the last four years from what I seem to remember. Also some of us will
>> probably be discussing a likly event, that trying to get sorted out
>> properly for Saturday October 22nd 2016 for Linux Presentation Day. At
>> least some more volunteers are wanted, to help with the event in general,
>> so please do kindly put yourself forward, by getting back to me soon, if
>> you haven't already, and are at least interested to some extent.
>>
>> Best Regards
>>
>> Sebastian
>>
>>
>> --
>> Sent using Dekko from my Ubuntu device
>>
>> _______________________________________________
>> Bristol mailing list
>> Bristol@mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/bristol
>


--
Sent using Dekko from my Ubuntu device

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 658, Issue 2
***************************************

Senin, 22 Agustus 2016

Bristol Digest, Vol 658, Issue 1

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Showing Photos on TV via DNLA (Peter Hemmings)
2. Re: Showing Photos on TV via DNLA (Steve King)
3. Re: Showing Photos on TV via DNLA (Amias Channer)


----------------------------------------------------------------------

Message: 1
Date: Mon, 22 Aug 2016 08:46:12 +0100
From: Peter Hemmings <peternsomerset@virginmedia.com>
To: bristol@mailman.lug.org.uk
Subject: [bristol] Showing Photos on TV via DNLA
Message-ID: <e7fcb8b1-9fa5-3e20-17af-46b3f67983fd@virginmedia.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

I have been trying to show photos on a TV via a Samsung Blu Ray player
with DNLA.

I have a Moto G phone that does not have a SD Card and have got it to
work with Android BubbleDNLA, but my photos are mainly on my fedora 24 PC.

I installed Kodi and it worked with video/music libraries but could not
seem to get any photos, can't it stream photos?

For quickness I would like to put photos on my moto G but cannot find
the phone when I plug it into the linux pc via usb cable, but i can hear
a "blip" (nothing on file manager).

Any advice on how to easily show my photos via DNLA?

Regards

--
Peter H


------------------------------

Message: 2
Date: Mon, 22 Aug 2016 10:34:02 +0100
From: "Steve King" <debian@invux.com>
To: "Peter Hemmings" <peternsomerset@virginmedia.com>, "Bristol and
Bath Linux User Group" <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Showing Photos on TV via DNLA
Message-ID:
<0d745d6a9d26443df99925e2a3449e25.squirrel@dazzle.invux.com>
Content-Type: text/plain;charset=iso-8859-1

> Hi,
>
> I have been trying to show photos on a TV via a Samsung Blu Ray player
> with DNLA.
>
> I have a Moto G phone that does not have a SD Card and have got it to
> work with Android BubbleDNLA, but my photos are mainly on my fedora 24
> PC.
>
> I installed Kodi and it worked with video/music libraries but could not
> seem to get any photos, can't it stream photos?
>
> For quickness I would like to put photos on my moto G but cannot find
> the phone when I plug it into the linux pc via usb cable, but i can hear
> a "blip" (nothing on file manager).
>
> Any advice on how to easily show my photos via DNLA?
>
> Regards
>
> --
> Peter H
>

I have only had success with minidlna on my samsung smart TV.

minidlna is part of debian, but doesn't seem to be part of fedora so you
will have to find an rpm from a source you trust.


For your moto G problem, you may need to configure an mtp capable system
to recognise your android device. This seems to be a good primer:

https://wiki.archlinux.org/index.php/MTP

(Though mtp is a complicated subject, in my experience it normally just
works - but if your distro is older than your handset you may have to
tweak it a bit)

--
Steve


------------------------------

Message: 3
Date: Mon, 22 Aug 2016 11:21:10 +0100
From: Amias Channer <me@amias.net>
To: Peter Hemmings <peternsomerset@virginmedia.com>, Bristol and Bath
Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Showing Photos on TV via DNLA
Message-ID:
<CAMgU7XWf8cdkxNmpDGs7jfiRCjyr13W4UBYbZp5XJXtn=UU_Eg@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hello Peter,

Serviio does picture sharing, i've not used it for that myself but its
very capable otherwise with my Samsung smart tv
http://serviio.org/download


Cheers
Amias

On 22 August 2016 at 08:46, Peter Hemmings via Bristol
<bristol@mailman.lug.org.uk> wrote:
> Hi,
>
> I have been trying to show photos on a TV via a Samsung Blu Ray player with
> DNLA.
>
> I have a Moto G phone that does not have a SD Card and have got it to work
> with Android BubbleDNLA, but my photos are mainly on my fedora 24 PC.
>
> I installed Kodi and it worked with video/music libraries but could not
> seem to get any photos, can't it stream photos?
>
> For quickness I would like to put photos on my moto G but cannot find the
> phone when I plug it into the linux pc via usb cable, but i can hear a
> "blip" (nothing on file manager).
>
> Any advice on how to easily show my photos via DNLA?
>
> Regards
>
> --
> Peter H
>
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 658, Issue 1
***************************************

Sabtu, 20 Agustus 2016

Bristol Digest, Vol 657, Issue 1

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. JOB: Senior Systems Administrator, Bristol, £41-46K+defined
benefit pension+40 days annual leave (Alex Butcher)


----------------------------------------------------------------------

Message: 1
Date: Fri, 12 Aug 2016 14:19:18 +0100 (BST)
From: Alex Butcher <lug@assursys.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: [bristol] JOB: Senior Systems Administrator, Bristol,
£41-46K+defined benefit pension+40 days annual leave
Message-ID:
<alpine.LRH.2.11.1608121410210.10781@zlgugi.of5.nffheflf.cev>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

"An exciting opportunity has arisen within the University of Bristol IT
Services Division for an experienced Linux Systems Administrator. We are
looking for a Senior Systems Administrator to join our Wireless and Network
Services team to help us drive expansion of authenticated network services
across the University.

The Role:
The successful candidate will be joining the team responsible for the smooth
running of the authentication architecture for our 802.1X enabled wireless
network (eduroam), expanding authenticated network access to include the
wired network, and for running other critical network services such as DNS
and DHCP.

These services are provided by an estate of 70+ CentOS machines (CentOS 6
and 7) running on a mixture of physical machines and VMWare virtual
machines, with their configuration managed by Puppet.

We underpin our services with a variety of technologies including BIND,
ISC-DHCP, FreeRADIUS, Apache, MariaDB+Galera, GitLab, Nagios etc."

More info:
<http://www.bristol.ac.uk/jobs/find/details.html?nPostingID=4924&nPostingTargetID=18311>

Informal enquiries: Mark.Elley at bristol.ac.uk

Pension information:

"Career Revalued Benefits Section

If you join USS on or after 1 October 2011 and have not been a member
previously you will be eligible for the Career Revalued Benefits Section
("CRBS"). This means that your benefits will be calculated at the end of
each scheme year in which you have been a member and added to any previous
benefits built up in the scheme. These benefits then receive increases each
year up to retirement. The formula used to work out the annual pension is
1/80th (or 1.25%) of salary in each scheme year. In addition a lump sum is
provided of 3 times the pension.

[...]

The University will increase its employer contribution (currently 16%) to an
amount equivalent to 16% plus the Appropriate Percentage of your Pensionable
Salary. This contribution will be paid directly by the University into
USS."

<http://www.bristol.ac.uk/hr/salaries/sal-exchange/ussinformation.html>

"The annual leave entitlement for full-time staff, effective from January
2007, is 40 days made up as follows:
Annual leave (25 days)
Public Holidays (currently 8 working days)
University closure days (7 working days)"

Terms and conditions:
<http://www.bristol.ac.uk/hr/terms/jandabovestaff.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 657, Issue 1
***************************************

Rabu, 10 Agustus 2016

Bristol Digest, Vol 656, Issue 2

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re: SSSD Problem (nick robinson)
2. Re: SSSD Problem (Dave Addison)


----------------------------------------------------------------------

Message: 1
Date: Tue, 9 Aug 2016 14:17:59 +0100
From: nick robinson <nick@njrobinson.net>
To: Dave Addison <dave@redmoor.org.uk>, Bristol and Bath Linux User
Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] SSSD Problem
Message-ID:
<CADo8qK5sSYj42jTOsMQnhec_c7Cw8i3PP9MV7_1fcQDaSvHDZw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

is each machine running its own ldap or is it centralised on one machine?

On 9 August 2016 at 00:13, Dave Addison via Bristol <
bristol@mailman.lug.org.uk> wrote:

> Hi All
>
> Would anyone be up for providing some assistance with an sssd problem I'm
> having?
>
> I have three machines all using sssd with an ldap backend for
> authentication
> and, on one of them, I can't login as root either via ssh or su. ssh just
> fails after three attempts but su returns an error "User unknown to
> underlying
> authentication module"
>
> replacing pam_sss.so with pam_ldap.so in the common-auth file in pam.d
> makes
> the problem go away
>
> replacing pam_sss.so with pam_unix.so also makes the problem go away.
> Ithink
> this means there isn't a problem with the passwd and shadow files. I have
> another non-root user in passwd and this user can also login with
> pam_sss.so
> configured
>
> nsswitch.conf can be either "files sss" or "compat sss" on all machines for
> passwd and group without affecting behaviour. None of the machines have an
> nsswitch.conf entry for shadow.
>
> All three machines have "filter_user = root" and "filter_group = root" in
> sssd.conf. Removing these filters on the failing machine makes no
> difference to
> behaviour.
>
> Any ideas?
> Regards
> Dave
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20160809/d09b97a8/attachment-0001.html>

------------------------------

Message: 2
Date: Tue, 09 Aug 2016 18:17:38 +0100
From: Dave Addison <dave@redmoor.org.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] SSSD Problem
Message-ID: <2628548.BqsugC55oO@phaedra>
Content-Type: text/plain; charset="us-ascii"

On Tuesday 09 Aug 2016 14:17:59 nick robinson via Bristol wrote:
> is each machine running its own ldap or is it centralised on one machine?
>
They're all running off one centralised ldap server. However, when I slept on
it overnight, I realised that the root login wasn't handled by sssd and I
should have been looking at the pam configuration.

The problem turned out to be the pam_unix2.so plugin handling local logins
which, for some reason, had taken severe exception to the setup on the one
machine. I've replaced pam_unix2.so with pam_unix.so and all is now working
fine.

Just don't ask me why. Both the failing machine and the machine I copied the
setup from are both OpensSuSE 13.2. That would take a lot more digging and,
apparently, pam_unix2.so is only supposed to be for support to migration now.

Regards
Dave
> On 9 August 2016 at 00:13, Dave Addison via Bristol <
>
> bristol@mailman.lug.org.uk> wrote:
> > Hi All
> >
> > Would anyone be up for providing some assistance with an sssd problem I'm
> > having?
> >
> > I have three machines all using sssd with an ldap backend for
> > authentication
> > and, on one of them, I can't login as root either via ssh or su. ssh just
> > fails after three attempts but su returns an error "User unknown to
> > underlying
> > authentication module"
> >
> > replacing pam_sss.so with pam_ldap.so in the common-auth file in pam.d
> > makes
> > the problem go away
> >
> > replacing pam_sss.so with pam_unix.so also makes the problem go away.
> > Ithink
> > this means there isn't a problem with the passwd and shadow files. I have
> > another non-root user in passwd and this user can also login with
> > pam_sss.so
> > configured
> >
> > nsswitch.conf can be either "files sss" or "compat sss" on all machines
> > for
> > passwd and group without affecting behaviour. None of the machines have an
> > nsswitch.conf entry for shadow.
> >
> > All three machines have "filter_user = root" and "filter_group = root" in
> > sssd.conf. Removing these filters on the failing machine makes no
> > difference to
> > behaviour.
> >
> > Any ideas?
> > Regards
> > Dave
> >
> > _______________________________________________
> > Bristol mailing list
> > Bristol@mailman.lug.org.uk
> > https://mailman.lug.org.uk/mailman/listinfo/bristol


------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 656, Issue 2
***************************************

Selasa, 09 Agustus 2016

Bristol Digest, Vol 656, Issue 1

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. SSSD Problem (Dave Addison)


----------------------------------------------------------------------

Message: 1
Date: Tue, 09 Aug 2016 00:13:55 +0100
From: Dave Addison <dave@redmoor.org.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: [bristol] SSSD Problem
Message-ID: <11171678.grkXsdhQC8@phaedra>
Content-Type: text/plain; charset="us-ascii"

Hi All

Would anyone be up for providing some assistance with an sssd problem I'm
having?

I have three machines all using sssd with an ldap backend for authentication
and, on one of them, I can't login as root either via ssh or su. ssh just
fails after three attempts but su returns an error "User unknown to underlying
authentication module"

replacing pam_sss.so with pam_ldap.so in the common-auth file in pam.d makes
the problem go away

replacing pam_sss.so with pam_unix.so also makes the problem go away. Ithink
this means there isn't a problem with the passwd and shadow files. I have
another non-root user in passwd and this user can also login with pam_sss.so
configured

nsswitch.conf can be either "files sss" or "compat sss" on all machines for
passwd and group without affecting behaviour. None of the machines have an
nsswitch.conf entry for shadow.

All three machines have "filter_user = root" and "filter_group = root" in
sssd.conf. Removing these filters on the failing machine makes no difference to
behaviour.

Any ideas?
Regards
Dave

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 656, Issue 1
***************************************

Sabtu, 06 Agustus 2016

Bristol Digest, Vol 655, Issue 7

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re: Inode data allocation (Andrew)


----------------------------------------------------------------------

Message: 1
Date: Fri, 5 Aug 2016 13:02:58 +0100
From: Andrew <andrewsoltau@gmail.com>
To: bblug@fonehelp.co.uk, Bristol and Bath Linux User Group
<bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Inode data allocation
Message-ID: <3bbf5e99-dade-ae82-a6d7-8e55b31d3953@1dtv.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

On 05/08/16 12:05, Mike Yates via Bristol wrote:
> On Fri Aug 5 10:35:29 Andrew wrote:
>
>> Using paragon to see ext4 on windows which appears to work just fine.
>> But that is only free for 10 days.
>> Anyone know of free software for this?
> Yes indeed, the "Ext2fsd" driver and manager from http://www.ext2fsd.com
>
> It's a bit quirky but has never wrecked any of my discs.
> If you've got Win10-1607 already (hours of agony!) you'll need the
> beta version, otherwise wait for catch-up.
>
> Good luck
> Mike
Thanks Mike. Just the job.

(Personally: clone w7 disk, install 10, login with windows account, set
aside for future proofing, return to 7)

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20160805/309ced1d/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 655, Issue 7
***************************************

Jumat, 05 Agustus 2016

Bristol Digest, Vol 655, Issue 6

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Inode data allocation (Mike Yates)


----------------------------------------------------------------------

Message: 1
Date: Fri, 5 Aug 2016 12:05:04 +0100
From: Mike Yates <bblug@fonehelp.co.uk>
To: Bristol and Bath LUG <bristol@mailman.lug.org.uk>
Subject: [bristol] Inode data allocation
Message-ID:
<CAKU1sbwLENmKUF4jeXEvCOMTehLzcQVqsxVbj3+eobfsNn5Pbw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Fri Aug 5 10:35:29 Andrew wrote:

> Using paragon to see ext4 on windows which appears to work just fine.
> But that is only free for 10 days.
> Anyone know of free software for this?

Yes indeed, the "Ext2fsd" driver and manager from http://www.ext2fsd.com

It's a bit quirky but has never wrecked any of my discs.
If you've got Win10-1607 already (hours of agony!) you'll need the
beta version, otherwise wait for catch-up.

Good luck
Mike

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 655, Issue 6
***************************************

Bristol Digest, Vol 655, Issue 5

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Inode data allocation (Andrew)
2. Re: Inode data allocation (Chris Boot)
3. Re: Inode data allocation (Shane McEwan)
4. Re: Inode data allocation (Andrew)
5. Re: Inode data allocation (Alex Butcher)
6. Re: Inode data allocation (Andrew)


----------------------------------------------------------------------

Message: 1
Date: Thu, 4 Aug 2016 17:41:29 +0100
From: Andrew <andrewsoltau@gmail.com>
To: Bristol and Bath Group <bristol@mailman.lug.org.uk>
Subject: [bristol] Inode data allocation
Message-ID: <4b7556bb-2a85-1338-eec3-8f32b6f9c739@1dtv.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hi

New drive for data. Ext4 is reserving 40gb plus for inode data etc on a
new 3tb drive. Will this shrink down drastically if I store only large
files ie movies on it? The alternative is ntfs as this may wind up being
accessed by windoze but I really do not want to go that route if it all
comes to the same thing once the drive is fairly full.

Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20160804/e57eea74/attachment-0001.html>

------------------------------

Message: 2
Date: Thu, 4 Aug 2016 18:34:49 +0100
From: Chris Boot <bootc@bootc.net>
To: andrew@1dtv.com, Andrew <andrewsoltau@gmail.com>, Bristol and Bath
Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Inode data allocation
Message-ID: <c274a209-766b-21af-412f-40be65647737@bootc.net>
Content-Type: text/plain; charset=utf-8

On 2016-08-04 17:41, Andrew via Bristol wrote:
> Hi
>
> New drive for data. Ext4 is reserving 40gb plus for inode data etc on a
> new 3tb drive. Will this shrink down drastically if I store only large
> files ie movies on it? The alternative is ntfs as this may wind up being
> accessed by windoze but I really do not want to go that route if it all
> comes to the same thing once the drive is fairly full.
>
> Andrew

Hi Andrew,

If you know that you won't be needing all those inodes, you can format
the filesystem with options to increase the "inode_ratio", or the ratio
of inodes to storage space. That effectively saves less space for inodes
thus giving you far more space for data storage.

For example:

mkfs.ext4 -T big /dev/sdXY

The various "types" of filesystem are defined in /etc/mke2fs.conf. The
ones you'll be interested in are "big" or "huge" most likely.
"largefile" goes even further, and "largefile4" is just insane.

Things get even more fun when you start approaching 16TB single
filesystems, but I'll leave those stories for another day.

HTH,
Chris

--
Chris Boot
bootc@bootc.net

------------------------------

Message: 3
Date: Thu, 4 Aug 2016 20:58:31 +0100
From: Shane McEwan <shane@mcewan.id.au>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Inode data allocation
Message-ID: <57A39E67.4050601@mcewan.id.au>
Content-Type: text/plain; charset=utf-8; format=flowed

On 04/08/16 18:34, Chris Boot via Bristol wrote:
> If you know that you won't be needing all those inodes, you can format
> the filesystem with options to increase the "inode_ratio", or the ratio
> of inodes to storage space. That effectively saves less space for inodes
> thus giving you far more space for data storage.

Also, by default 5% of the filesystem is reserved for privileged files
(essentially those owned by root). This makes sense for system
partitions where you want the system to keep running even if a user
"fills" the disk. But on a data disk it's just a waste of space. You can
turn off the reservation with:

mkfs.ext4 -m 0 /dev/sdXY

or if you've already started using the filesystem:

tune2fs -m 0 /dev/sdXY

Shane.

------------------------------

Message: 4
Date: Thu, 4 Aug 2016 22:31:51 +0100
From: Andrew <andrewsoltau@gmail.com>
To: Shane McEwan <shane@mcewan.id.au>, Bristol and Bath Linux User
Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Inode data allocation
Message-ID: <9edfd9da-fb17-1e97-5b89-e8a7b34ab665@1dtv.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Thanks guys

mkfs.ext4 -T big /dev/sdXY

took it down to 22.21Gb.

tune2fs -m 0 /dev/sdXY
did not make any difference.

Good enough!

I got the output:

pc # mkfs.ext4 -m 0 /dev/sdc
mke2fs 1.42.12 (29-Aug-2014)
Found a gpt partition table in /dev/sdc
Proceed anyway? (y,n) y

It is not a bootable drive, so should I remove this? If so how?

Andrew

On 04/08/16 20:58, Shane McEwan via Bristol wrote:
> On 04/08/16 18:34, Chris Boot via Bristol wrote:
>> If you know that you won't be needing all those inodes, you can format
>> the filesystem with options to increase the "inode_ratio", or the ratio
>> of inodes to storage space. That effectively saves less space for inodes
>> thus giving you far more space for data storage.
>
> Also, by default 5% of the filesystem is reserved for privileged files
> (essentially those owned by root). This makes sense for system
> partitions where you want the system to keep running even if a user
> "fills" the disk. But on a data disk it's just a waste of space. You
> can turn off the reservation with:
>
> mkfs.ext4 -m 0 /dev/sdXY
>
> or if you've already started using the filesystem:
>
> tune2fs -m 0 /dev/sdXY
>
> Shane.
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20160804/ea94f8d8/attachment-0001.html>

------------------------------

Message: 5
Date: Fri, 5 Aug 2016 10:14:24 +0100 (BST)
From: Alex Butcher <lug@assursys.co.uk>
To: andrew@1dtv.com, Andrew <andrewsoltau@gmail.com>, Bristol and
Bath Linux User Group <bristol@mailman.lug.org.uk>
Cc: Shane McEwan <shane@mcewan.id.au>
Subject: Re: [bristol] Inode data allocation
Message-ID:
<alpine.LRH.2.11.1608051011260.18868@zlgugi.of5.nffheflf.cev>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Thu, 4 Aug 2016, Andrew via Bristol wrote:

> I got the output:
>
> pc # mkfs.ext4 -m 0 /dev/sdc
> mke2fs 1.42.12 (29-Aug-2014)
> Found a gpt partition table in /dev/sdc
> Proceed anyway? (y,n) y

/dev/sdx (e.g. /dev/sdc) device nodes are whole-disc devices, /dev/sdxn
nodes (e.g. /dev/sdc1) are partitions.

If you create a filesystem on the whole-disc device - which means it won't
have a partition table, whether MBR or GPT - it won't be mountable under
other OSs (*cough* Windows) and will probably require some work to mount
under Linux. Also, if you ever wish to resize the filesystem to allow the
creation of a new filesystem alongside it, you won't be able to.

> Andrew

Best Regards,
Alex

------------------------------

Message: 6
Date: Fri, 5 Aug 2016 11:35:16 +0100
From: Andrew <andrewsoltau@gmail.com>
To: Alex Butcher <lug@assursys.co.uk>, Bristol and Bath Linux User
Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Inode data allocation
Message-ID: <4c1c6d26-f8f4-4d03-9aa3-1527cb004818@1dtv.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

On 05/08/16 10:14, Alex Butcher via Bristol wrote:
> On Thu, 4 Aug 2016, Andrew via Bristol wrote:
>
>> I got the output:
>>
>> pc # mkfs.ext4 -m 0 /dev/sdc
>> mke2fs 1.42.12 (29-Aug-2014)
>> Found a gpt partition table in /dev/sdc
>> Proceed anyway? (y,n) y
>
> /dev/sdx (e.g. /dev/sdc) device nodes are whole-disc devices, /dev/sdxn
> nodes (e.g. /dev/sdc1) are partitions.
>
> If you create a filesystem on the whole-disc device - which means it
> won't
> have a partition table, whether MBR or GPT - it won't be mountable under
> other OSs (*cough* Windows) and will probably require some work to mount
> under Linux. Also, if you ever wish to resize the filesystem to allow the
> creation of a new filesystem alongside it, you won't be able to.
>
>> Andrew
>
> Best Regards,
> Alex

Hi Alex

Thanks. Doh. So simple but I never twigged the /dev/sdxn.

(Whole disk filesystem automounted fine on linux LMDE2 but of course
windows could not see it. And part of the plan was to connect up to
windows just to copy files over quickly. Saying 19 hours on usb3 so
ethernet would have been a while.
All sorted now with big ext4 on sdc1. Using paragon to see ext4 on
windows which appears to work just fine. But that is only free for 10
days. Anyone know of free software for this?)

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20160805/e5e3afcc/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 655, Issue 5
***************************************

Rabu, 03 Agustus 2016

Bristol Digest, Vol 655, Issue 4

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re: Regex and Postgres from Perl (Chris)
2. Re: Regex and Postgres from Perl (Martin Moore)
3. Re: Regex and Postgres from Perl (Martin Moore)


----------------------------------------------------------------------

Message: 1
Date: Wed, 03 Aug 2016 08:34:11 +0100
From: Chris <cshorler@googlemail.com>
To: Martin Moore <martinm@it-helps.co.uk>, Bristol and Bath Linux User
Group <bristol@mailman.lug.org.uk>, Martin Moore via Bristol
<bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Regex and Postgres from Perl
Message-ID: <2804A315-E6E4-47A8-9184-5C8C9DE756F5@googlemail.com>
Content-Type: text/plain; charset=UTF-8

On 2 August 2016 18:04:04 BST, Martin Moore via Bristol <bristol@mailman.lug.org.uk> wrote:
>
> I'm converting an archaic system from a bit of SQL and a lot of
> Perl/Javascript to mostly SQL (Postgres) and a bit of js.
>
> Nearly done, but I've got to the bit where Regexes are involved.
>
>Basically I need to do the following from Perl into PostgreSQL. I can't
>see
>a way to do it. I guess I could possibly use the Perl module in
>Postgres but
>it's not something I've done before. Could also get away with putting
>the
> Regex stuff into js if all else fails.
>
>I've looked at regexp_split_to_array but can't see it'll do what I
>need.
>
> Any ideas?
>
> Ta,
>
> Martin.
>
>
>
>
>my $tafre = '(?:TAF(?:\s*AMD|COR|CC\w?)?\b)'; # TAF start,
>Canadian
>my $timestampre = '\d{4,6}Z?\b'; # Opt, with opt
>date
> my $icaore = '[A-Z]\w{3}\b'; # Mand
> my $latere = 'AMD|RTD|COR|TAF|AMD\sCOR';
> my $issuere = '\d{4,6}Z\b';
> my $periodre = '(?:\d{4}\/\d{4}\b|\d{4,6}\b)';
> my $atre = '\d{2,4}'; #
> my $winddirre = '[\d\/]{3}|VRB';
> my $windspdre = '[\d\/]{2}';
> my $gustre = 'G(\d{2})';
> my $windunitre = 'KT|MPS|KMH';
> my $windre = "($winddirre)($windspdre)(?:$gustre)?($windunitre)";
> my $varre = '\d{3}V\d{3}\s*';
> my $tempre = 'M?\d\d|\/\/';
> my $dewpre = 'M?\d\d|\/\/';
> my $altimeterre = '[QA]\s?\d{4}|QFE\d{3,4}.\d';
> my $visandcloud = 'CAVOK';
> my $onevisre = '(?:P?\d{4}[NSEW]{0,2}|[P0-9\s\/]{0,5}\s*SM|CAVOK)';
> my $onervrre = '(?:R\d{2}\w?\/\w+)';
>my $onecloudre =
>'(?:[A-Z]{3}[0-9\/]{3}[A-Z]{0,3}\s*|VV[0-9\/]{3}\s*)';
> my $cloudre = $onecloudre.'+|CLR|SKC|NSC';
> my $onewxre = '(?:NSW|
> .
> .
> .
> .
> .
>
> $self->{timestamp},
> $self->{icao},
> $self->{late},
> $self->{issued},
> $self->{period},
> $self->{winddir},
> $self->{meanwindsp},
> $self->{gust},
> $self->{windunit},
> $self->{vis},
> $self->{wx},
> $self->{cloud},
> $self->{supp},
> $self->{change},
> $self->{temps}
> )
>
> = ($metline =~ /
> (?:$tafre)?\s*
> ($timestampre)?\s* # optional
> timestamp
> ($icaore)\s* # mand icao
> identifier
> ($latere)?\s*
> ($issuere)?\s* # optional issue
> time
> ($periodre)\s* # Mandatory period
> (?:$windre)?\s* # wind, gust
> # ($onevisre\s*)?\s* # a vis gps
> ((?:$onevisre\s*)*)\s* # zero or more vis
> gps
> ((?:$onewxre\s*)*)\s* # zero or more wx
> groups
> ($cloudre)?\s* # optional cloud
> group
> ((?:$onesuppre\s*)*\s*)
> (.*?)\s*
> ((?:$onetaftempre\s*)*\s*)=/sx))
> # supplementary info
>
>
>
>
>
>
>
>_______________________________________________
>Bristol mailing list
>Bristol@mailman.lug.org.uk
>https://mailman.lug.org.uk/mailman/listinfo/bristol

Perhaps the function regexp_matches(...) is what you want?

https://www.postgresql.org/docs/9.5/static/functions-string.html


------------------------------

Message: 2
Date: Wed, 03 Aug 2016 11:08:46 +0100
From: Martin Moore <martinm@it-helps.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Regex and Postgres from Perl
Message-ID: <69B3FB93-D906-45E4-93D5-6C48C0FE4C23@it-helps.co.uk>
Content-Type: text/plain; charset="UTF-8"

> Perhaps the function regexp_matches(...) is what you want?

Worth a look, cheers!

On 03/08/2016, 08:34, "Chris" <cshorler@googlemail.com> wrote:

On 2 August 2016 18:04:04 BST, Martin Moore via Bristol <bristol@mailman.lug.org.uk> wrote:
>
> I'm converting an archaic system from a bit of SQL and a lot of
> Perl/Javascript to mostly SQL (Postgres) and a bit of js.
>
> Nearly done, but I've got to the bit where Regexes are involved.
>
>Basically I need to do the following from Perl into PostgreSQL. I can't
>see
>a way to do it. I guess I could possibly use the Perl module in
>Postgres but
>it's not something I've done before. Could also get away with putting
>the
> Regex stuff into js if all else fails.
>
>I've looked at regexp_split_to_array but can't see it'll do what I
>need.
>
> Any ideas?
>
> Ta,
>
> Martin.
>
>
>
>
>my $tafre = '(?:TAF(?:\s*AMD|COR|CC\w?)?\b)'; # TAF start,
>Canadian
>my $timestampre = '\d{4,6}Z?\b'; # Opt, with opt
>date
> my $icaore = '[A-Z]\w{3}\b'; # Mand
> my $latere = 'AMD|RTD|COR|TAF|AMD\sCOR';
> my $issuere = '\d{4,6}Z\b';
> my $periodre = '(?:\d{4}\/\d{4}\b|\d{4,6}\b)';
> my $atre = '\d{2,4}'; #
> my $winddirre = '[\d\/]{3}|VRB';
> my $windspdre = '[\d\/]{2}';
> my $gustre = 'G(\d{2})';
> my $windunitre = 'KT|MPS|KMH';
> my $windre = "($winddirre)($windspdre)(?:$gustre)?($windunitre)";
> my $varre = '\d{3}V\d{3}\s*';
> my $tempre = 'M?\d\d|\/\/';
> my $dewpre = 'M?\d\d|\/\/';
> my $altimeterre = '[QA]\s?\d{4}|QFE\d{3,4}.\d';
> my $visandcloud = 'CAVOK';
> my $onevisre = '(?:P?\d{4}[NSEW]{0,2}|[P0-9\s\/]{0,5}\s*SM|CAVOK)';
> my $onervrre = '(?:R\d{2}\w?\/\w+)';
>my $onecloudre =
>'(?:[A-Z]{3}[0-9\/]{3}[A-Z]{0,3}\s*|VV[0-9\/]{3}\s*)';
> my $cloudre = $onecloudre.'+|CLR|SKC|NSC';
> my $onewxre = '(?:NSW|
> .
> .
> .
> .
> .
>
> $self->{timestamp},
> $self->{icao},
> $self->{late},
> $self->{issued},
> $self->{period},
> $self->{winddir},
> $self->{meanwindsp},
> $self->{gust},
> $self->{windunit},
> $self->{vis},
> $self->{wx},
> $self->{cloud},
> $self->{supp},
> $self->{change},
> $self->{temps}
> )
>
> = ($metline =~ /
> (?:$tafre)?\s*
> ($timestampre)?\s* # optional
> timestamp
> ($icaore)\s* # mand icao
> identifier
> ($latere)?\s*
> ($issuere)?\s* # optional issue
> time
> ($periodre)\s* # Mandatory period
> (?:$windre)?\s* # wind, gust
> # ($onevisre\s*)?\s* # a vis gps
> ((?:$onevisre\s*)*)\s* # zero or more vis
> gps
> ((?:$onewxre\s*)*)\s* # zero or more wx
> groups
> ($cloudre)?\s* # optional cloud
> group
> ((?:$onesuppre\s*)*\s*)
> (.*?)\s*
> ((?:$onetaftempre\s*)*\s*)=/sx))
> # supplementary info
>
>
>
>
>
>
>
>_______________________________________________
>Bristol mailing list
>Bristol@mailman.lug.org.uk
>https://mailman.lug.org.uk/mailman/listinfo/bristol

Perhaps the function regexp_matches(...) is what you want?

https://www.postgresql.org/docs/9.5/static/functions-string.html

------------------------------

Message: 3
Date: Wed, 03 Aug 2016 11:09:15 +0100
From: Martin Moore <martinm@it-helps.co.uk>
To: Bristol and Bath Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Regex and Postgres from Perl
Message-ID: <B9BD16DB-5AB3-4AD6-9A28-4EED0826B540@it-helps.co.uk>
Content-Type: text/plain; charset="utf-8"

I'll look at that too!

Cheers.

From: <parsnip@amias.net> on behalf of Amias Channer <me@amias.net>
Date: Tuesday, 2 August 2016 at 20:50
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>, Martin Moore <martinm@it-helps.co.uk>
Subject: Re: [bristol] Regex and Postgres from Perl

Hello martin,

This will help
https://github.com/TooTallNate/pcre-to-regexp

Cheers
Amias

On 2 Aug 2016 18:04, "Martin Moore via Bristol" <bristol@mailman.lug.org.uk> wrote:


I'm converting an archaic system from a bit of SQL and a lot of
Perl/Javascript to mostly SQL (Postgres) and a bit of js.

Nearly done, but I've got to the bit where Regexes are involved.

Basically I need to do the following from Perl into PostgreSQL. I can't see
a way to do it. I guess I could possibly use the Perl module in Postgres but
it's not something I've done before. Could also get away with putting the
Regex stuff into js if all else fails.

I've looked at regexp_split_to_array but can't see it'll do what I need.

Any ideas?

Ta,

Martin.


my $tafre = '(?:TAF(?:\s*AMD|COR|CC\w?)?\b)'; # TAF start, Canadian
my $timestampre = '\d{4,6}Z?\b'; # Opt, with opt date
my $icaore = '[A-Z]\w{3}\b'; # Mand
my $latere = 'AMD|RTD|COR|TAF|AMD\sCOR';
my $issuere = '\d{4,6}Z\b';
my $periodre = '(?:\d{4}\/\d{4}\b|\d{4,6}\b)';
my $atre = '\d{2,4}'; #
my $winddirre = '[\d\/]{3}|VRB';
my $windspdre = '[\d\/]{2}';
my $gustre = 'G(\d{2})';
my $windunitre = 'KT|MPS|KMH';
my $windre = "($winddirre)($windspdre)(?:$gustre)?($windunitre)";
my $varre = '\d{3}V\d{3}\s*';
my $tempre = 'M?\d\d|\/\/';
my $dewpre = 'M?\d\d|\/\/';
my $altimeterre = '[QA]\s?\d{4}|QFE\d{3,4}.\d';
my $visandcloud = 'CAVOK';
my $onevisre = '(?:P?\d{4}[NSEW]{0,2}|[P0-9\s\/]{0,5}\s*SM|CAVOK)';
my $onervrre = '(?:R\d{2}\w?\/\w+)';
my $onecloudre = '(?:[A-Z]{3}[0-9\/]{3}[A-Z]{0,3}\s*|VV[0-9\/]{3}\s*)';
my $cloudre = $onecloudre.'+|CLR|SKC|NSC';
my $onewxre = '(?:NSW|
.
.
.
.
.

$self->{timestamp},
$self->{icao},
$self->{late},
$self->{issued},
$self->{period},
$self->{winddir},
$self->{meanwindsp},
$self->{gust},
$self->{windunit},
$self->{vis},
$self->{wx},
$self->{cloud},
$self->{supp},
$self->{change},
$self->{temps}
)

= ($metline =~ /
(?:$tafre)?\s*
($timestampre)?\s* # optional
timestamp
($icaore)\s* # mand icao
identifier
($latere)?\s*
($issuere)?\s* # optional issue
time
($periodre)\s* # Mandatory period
(?:$windre)?\s* # wind, gust
# ($onevisre\s*)?\s* # a vis gps
((?:$onevisre\s*)*)\s* # zero or more vis
gps
((?:$onewxre\s*)*)\s* # zero or more wx
groups
($cloudre)?\s* # optional cloud
group
((?:$onesuppre\s*)*\s*)
(.*?)\s*
((?:$onetaftempre\s*)*\s*)=/sx))
# supplementary info

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20160803/b289b48e/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

------------------------------

End of Bristol Digest, Vol 655, Issue 4
***************************************