Keith | 1 Sep 02:07 2015
Picon

[clug] Base

     I am putting a big toe into Libre Office Base (via Kubuntu) and finding that 
it lacks at least some of the facilities with which I am familiar in Access.  
Would there be anyone in CLUG ahead of me in this who could respond to some 
queries?
-----------------------------------------------------------------------------------------
Keith Sayers                                           keith@...
6 Clambe Place
CHARNWOOD, ACT 2615
Australia                                         http://www.keithsayers.id.au
------------------------------------------------------------------------------------------

--

-- 
linux mailing list
linux@...
https://lists.samba.org/mailman/listinfo/linux

Adrian | 28 Aug 14:15 2015
Picon

[clug] tftp server

I am having trouble with set-up of tftp server.

I am using the latest ubuntu. I can get and put a file when using tftp localhost.  If I try to get a file from a
windows 10 
machine, it says " connect request failed"  and yet on my linux box, tail /varlog/syslog is :

Aug 28 22:12:04 adrian-TravelMate-6293 in.tftpd[25937]: connect from 192.168.20.111 (192.168.20.111)
Aug 28 22:12:04 adrian-TravelMate-6293 tftpd[25938]: tftpd: trying to get file: abc.txt
Aug 28 22:12:04 adrian-TravelMate-6293 tftpd[25938]: tftpd: serving file from /srv/tftp

I am trying ultimately install an iso file onto a sun box, thus:

{0} ok boot net:rarp - install
Boot device: /pci <at> 7c0/pci <at> 0/network <at> 4:rarp  File and args: - install
100 Mbps full duplex  Link up
Requesting Internet Address for 0:14:4f:95:44:a8
Timed out waiting for TFTP reply
Timed out waiting for TFTP reply

So it would appear that the tftp server is not working for machines other than localhost.

And the obvious answer is ..........

Adrian

--

-- 
Adrian Blake
101 Mulach St
Cooma
NSW, 2630
(Continue reading)

Tony Breeds | 28 Aug 03:17 2015

[clug] CLUG Website down

Hi All,
    just a quick email to say I've broken the CLUG website.

I am working on fixing it  I can all but guarantee that if I don't send this
email someone will notice.   Now that I've sent it no one will care ;P

Yours Tony.
--

-- 
linux mailing list
linux@...
https://lists.samba.org/mailman/listinfo/linux
Hal Ashburner | 25 Aug 05:17 2015
Picon

Re: [clug] Launch gnome-terminal to launch daemon process

On 25 August 2015 at 13:14, Hal Ashburner <hal@...> wrote:
> Extra fork is overkill and wasn't there initially.
> Likewise the disown in the command and the disown in the script it
> launches weren't there...
>
>
> The idea is a basic double fork.
> terminal
>  |-> bash
>          |->python
>
> so that when the terminal goes away it kills bash but leaves the
> python running to be inherited by init. Pretty fundamental to how unix
> works, I'd have thought.
>
> Note that if I run the script that launches the python and kill the
> terminal, that works fine and the python keeps running so I'm
> imagining the double fork is actually happening.
>
> The following works the way I expect it when I run it as a script in a
> terminal - double forks, kill that terminal, hgview stays. Unix works.
>
> #!/bin/bash
> cmd="exec /usr/bin/python /opt/ark/bin/hgview &"
> eval $cmd
>
>
> gnome-terminal --sm-client-disable
> --title="$cmd" --command "bash -c \"$the-above-script;
> ; echo done; sleep 36000\""
(Continue reading)

Andrew Janke | 25 Aug 04:38 2015
Picon

Re: [clug] Launch gnome-terminal to launch daemon process

On 25 August 2015 at 12:22, Hal Ashburner <hal@...> wrote:
> Why doesn't a regular double fork work?
> Why doesn't disowning the process work?
> What on earth is going on? Does gnome-terminal somehow break unix?

I think the answers to the above questions is that I don't think the
disown is doing what you want in the --command argument and the -a
would mean that you aren't getting an error. I haven't tested but I
don't think that quoting is getting you. I'd use the -x argument over
--command to check.

   gnome-terminal -x /usr/bin/python /opt/ark/bin/hgview | run now

(I think the pipe will do the wrong thing here though).

I don't see what your extra fork(s) in the command argument is achieving
beyond in this case probably more confusion.

a

--

-- 
linux mailing list
linux@...
https://lists.samba.org/mailman/listinfo/linux

Hal Ashburner | 25 Aug 04:23 2015
Picon

Re: [clug] Launch gnome-terminal to launch daemon process

On 25 August 2015 at 12:22, Hal Ashburner <hal@...> wrote
(and was blocked by the list):
> Can try that... Although I'm not sure what the illness is that this
> medicine might cure.
>
> Why doesn't a regular double fork work?
> Why doesn't disowning the process work?
> What on earth is going on? Does gnome-terminal somehow break unix?
>
> On 25 August 2015 at 12:02, Andrew Janke <a.janke@...> wrote:
>> Sounds like a use case of screen to me, or dirty tricks with at:
>>
>>    /usr/bin/python /opt/ark/bin/hgview | at now
>>
>>
>>
>> a
>>
>> On 25 August 2015 at 11:34, Hal Ashburner
<hal.ashburner@...> wrote:
>>> Here's the setup.
>>> I've got some python scripts that runs some gui stuff.
>>> I want to write a bash script that a user can double click on, have it
>>> launch a terminal that that then launches the python scripts with some
>>> useful text about each launch in case something goes wrong.
>>> I want the python scripts to keep executing when that initial launched
>>> terminal is closed.
>>>
>>> I can't seem to do anything to get what I'm running to outlive the terminal.
>>>
(Continue reading)

Hal Ashburner | 25 Aug 03:34 2015
Picon

[clug] Launch gnome-terminal to launch daemon process

Here's the setup.
I've got some python scripts that runs some gui stuff.
I want to write a bash script that a user can double click on, have it
launch a terminal that that then launches the python scripts with some
useful text about each launch in case something goes wrong.
I want the python scripts to keep executing when that initial launched
terminal is closed.

I can't seem to do anything to get what I'm running to outlive the terminal.

I'm /think/ I'm double forking inside the terminal, I'm also trying to
put the process  in the background and disowning everything. I try
disowning the python as well.

I've tried every combination of these I can think of and I just can't
get the python to outlive the terminal.

Relevant launching script

cmd=$HOME/bin/some_command

# if st't to avoid a fork bomb if we mess it up
if [[ $cmd != ${BASH_SOURCE[0]} ]]; then
    gnome-terminal --geometry=80x8+0+0 --sm-client-disable
--title="$cmd" --command "bash -c \"echo running $cmd; bash $cmd \&;
disown -a; echo done; sleep 36000\""
fi

a simple version of some_command looks like:

(Continue reading)

Steven Hanley | 24 Aug 03:44 2015

[clug] [this week] CLUG Meeting 2015-08-27 - Unit Tests, Fun? Evil? Still Useful?

All

Canberra Linux Users Group Meeting - 27 August 2015
 =================================================

 Date:          27 August 2015 (Fourth Thursday of the month)

 =================================================

 Time:          18:15 - 18:55

 Abstract:     It's BeerSIG time!
               'What's BeerSIG?' I hear you ask! BeerSIG is a social
               gathering, and an opportunity to get together with 
               like minded people and share a social pint
               or two before the meeting.

 Location:     Wig and Pen, Llewellyn Hall, Canberra School of Music
               Look for the table with a stuffed toy penguin

 =================================================

 Time:         19:00 - 21:00 (or when it finishes)

 Speaker:      Neill Cox

 Abstract:     Unit Tests. What they are, why you should do them and 
               how they can make your life easier.

               Unit tests are an important discipline in writing
(Continue reading)

Bryan Kilgallin | 19 Aug 14:45 2015
Picon

[clug] OT programmers' society

I drew tonight's CanFP meeting.
http://www.netspeed.com.au/bryan/art/drawing/Programming.JPG

-- 
www.netspeed.com.au/bryan/
==========================

--

-- 
linux mailing list
linux@...
https://lists.samba.org/mailman/listinfo/linux

Mike Carden | 19 Aug 13:05 2015
Picon

[clug] Videos from the Chaos Computer Congress

The CCC is like a European LCA with perhaps more of a subversive focus.
Some of their videos are both entertaining and educational. I just watched
the one about their conference badge which is a hackable Software Defined
Radio piece of test gear.

https://media.ccc.de/browse/conferences/camp2015/

Enjoy.

-- 
crash
--

-- 
linux mailing list
linux@...
https://lists.samba.org/mailman/listinfo/linux

Stephen Hodgman | 19 Aug 09:20 2015
Picon

[clug] fdisk :"Unable to write to /dev/sdb"

G'day All,
I have two Seagate 2TB Backup Plus USB 3 drives that I use for backup on
a CentOS 5 system.
When I received them I used fdisk to remove the NTFS partition and
created a Linux partition.
I then formated as ext3 and they are working fine.

Today I purchased another drive, the box was basically the same, the
drive case was slightly different but it was still 2TB.
I used fdisk, deleted the partion, created a linux partition, pressed
"w" to save it and it responded
"Unable to write to /dev/sdb".  The NTFS partition remains on the disk.

The device it not write protected.  I wrote to it with the NTFS partition.
When it loads, /var/log/messages says "Write protection is off"
The only real difference that I can see is that this new drive logs as
New Disk:
SCSI device sdb: 488378645 4096-byte hdwr sectors
Old (working) Disk:
 SCSI device sdb: 3907029167 512-byte hdwr

They both multiply to 2TB but is there an issue with 4096 sectors?
Or, does anyone have a suggestions as to why fdisk will not write
partitioning to the disk?
Thanks.

--

-- 
Steve Hodgman
Mob: 0407 182 355
Ph:  02 6236 6380
(Continue reading)


Gmane