[Dorset] Linux defragmentation

2013-12-20 Thread p.lane

Knowledgable peeps.
Is it necessary to defrag Linux based partitions?
I was taught that defragging UNIX partitions wasn't ever necessary 
because UNIX 'conspired to defragment'.
ie from the outset of creating data, semi-smart data handling routines 
logically distributed file fragments about the partition for optimal 
function and retrieval.

Does anyone know if various Linux distro's have similar functionality?
thanks.

--
P.Lane
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2014-01-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Router IP addressing

2013-10-22 Thread p.lane

On 22/10/2013 08:53, Peter Merchant wrote:

On 21/10/13 22:06, David Wilkinson wrote:

Hi Peter,

That subnet mask is valid if the link is a point to point link where 
a network and broadcast addresses are not needed, such as an ADSL link.
I don't think it is wildly used however with the IPv4 address space 
running out, I suspect it will be used more to save on wasting IP 
addresses.


Regards

David



On 21/10/13 21:53, Peter Merchant wrote:
I am  quite confused by the IP addressing in the following chart 
copied from my Router. It shows an IP subnet mask that I don't 
understand. Is this  an error in the display in this router, or is 
there something about IP addressing in the WAN that I don't understand?





  0d:13h:22m:51s
IP Address :92.22.90.206
Subnet Mask :255.255.255.255
Default Gateway :92.22.80.1
DNS Server :78.151.236.3  62.24.139.9



Can anyone cast any light on it?   It wouldn't surprise me if it was 
an error on the display as there are a few errors in the English 
used on the device.


Cheers,

Peter




Thanks David, I wondered if it was something like that. But does this 
translate my IP address as given from the router to a pseudo-device at 
the ISP end of the ADSL connection, or at the exchange in the DSLAM?


Peter



255.255.255.255 is the subnet of the WAN.
As the router is the route between the 2 distinct networks, and each 
network has its own subnet, the WAN link is a point to point link, not a 
broadcast network which bridges a subnet.
It links a machine with a single IP address to another machine with a 
single IP address, each of which has an interface route to the other end 
of the link.


--
P.Lane
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-11-05 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] OT: Networking through VMs

2013-10-03 Thread p.lane

On 02/10/2013 16:59, Terry Coles wrote:

On Wednesday 02 Oct 2013 14:54:00 d-...@hadrian-way.co.uk wrote:

Guys,

I have a very strange networking problem here at work and cannot see the
wood for the trees.  The OT bit is that the VMs are Windows XP guests
running in Virtual PC (XPMode) on Windows 7 hosts.  However, the problem is
relating to being able to ping between guests and (sometimes) from hosts to
guests.  is there anyone who is network / VM savvy enough to suggest an
avenue to explore?

Here is the setup:

*  3-off standard Dell desktop PCs running Windows 7 Professional.
*  1-off standard Dell desktop PC running Kali Linux Live Disc.
*  The three PCs are networked together using a cheapo Netgear Switch FS108.
  (I have also tried a 3-Com hub.)
*  All physical computers are allocated static IP addresses in the
192.168.0.* range with a netmask of 255.255.255.0.
*  Each of the three desktop PCs are hosting an almost identical VM running
XP professional.  The only difference between the three XP instances are
hostname and IP address (in the same range as the hosts).  There are some
applications that are configured differently on each guest, but I don't
believe that  they have any bearing on the problem because I can shut them
down with the same result.
*  This network is completely private and Firewalls are off in all hosts and
guests.

Here is what happens when I ping each machine:
*  All the hosts ping each other OK.
*  One of the guests (no 3) can always ping one of the other guests, but
generally not both.
*  Guest No 1 can never ping Guest No 2 and vice versa, but both can usually
ping Guest No 3.
*  The hosts running Guests 1  2 also have trouble pinging the guest on the
other machine.
*  The above results are variable.

If I use nmap from the fourth machine running Linux I also get variable
results: *  Usually all XP guests show around 5 or 6 ports open, but this
does vary. *  All W7 hosts show the same dozen or so ports open.
*  Sometimes one of the guests shows up as having all of its ports filtered.

Small update.  Just before I left work today, we ran continuous pings from all 
of the hosts to
all of the guests, vice versa and all of the hosts to all of the hosts (instead 
of the four pings
and stop which Windows usually does).  Behaviour was pretty much as described, 
but then
some of the working pings began to time out occasionally and then more often.  
If we
temporarily disconnected an ethernet cable at the switch, or temporarily 
powered the switch
down, things improved for a while, although we never got Guests 1 and 2 to talk 
together.

We could get a similar effect by disabling the network connection temporarily.


Terry.
Are there DNS issues?
local host file of the Linux m/c, VM names missing? -
Add name, fully qualified name, correct IP addr etc.
File  Print sharing needs to be opened on the VM firewall.
Cheers,
Phil.


--
P.Lane
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-10-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Web Kiosk OS

2013-09-27 Thread p.lane

On 26/09/2013 21:23, Tim wrote:
It look like I will be building a web Kiosk PC for work in the next 
couple of months and not knowing anything about this sort of set-up\OS 
I thought I would see if I could tap into some of your knowledge on 
the lug


What is required is a PC device that only has to access a single web 
site (which is live on the internet), there will be a need for 
keyboard input. Network access will be via a supplied 5mb supply with 
DHCP (the type of thing places like the NEC offer for those showing at 
large shows).


At present the hardware side of thing looks like an old P4 pentium 
spec Dell PC, onboard graphics with a 23 display.


I have had a quick google and there are plenty of offerings for web 
kiosk OS\software but which one is the best to use? Without playing 
with it I have no idea if it will meet my requirements. If I had a 
choice a Debian\Ubuntu base would be preferred as my limited Linux 
ability is from that family of OS's.


Can anybody offer any guidance??

Tim


Here's a reasonable Linux based guide.found it on the web.

http://it.oscarmcmaster.org/howto-s/setting-up-a-kiosk-machine

--
P.Lane
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-10-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] [dotdorset] Feedback needed on Beach Labs

2013-07-15 Thread p.lane

On 12/07/2013 11:33, Ralph Corderoy wrote:

Hi, This popped up on the dotDorset mailing list and given the number of
home-workers on DLUG I thought it worth copying over as Adrian
suggested.  Cheers, Ralph.

--- Forwarded Message

Subject: [dotdorset] Feedback needed on Beach Labs
From: Adrian Howard adri...@quietstars.com
To: dotdor...@googlegroups.com
Date: Fri, 12 Jul 2013 11:04:52 +0100
Message-ID: CAHQdGMBWO+LGxHpDmb+n_efU2=smg97ke60ajszkmp1wckd...@mail.gmail.com

Hey folks,

Various peeps are in the process of trying to think about / set up a
local co-working/incubator/accelerator space in Bournemouth. They've got
a straw man proposal / presentation done and are rabidly seeking
feedback.

The document:
https://docs.google.com/file/d/0B0zbGiTeF3GPejJnX0NRbDRIdUU/edit?usp=sharing

More info:
 Twitter: https://twitter.com/beachlabs/
 Web site (not done yet): http://beach.io/
 LinkedIn group where discussion is happening:
 
http://www.linkedin.com/groups/Silicon-Beach-Labs-5090920?home=gid=5090920trk=anet_ug_hm

If folk want to comment or drop me a line directly I can pass feedback
along, or join the group and get involved yourself.

If you can think of anybody else who would be interested in this please
pass it on (Ralph - do you think any of the LUG folk would find it
interesting?)

Cheers,

Adrian
- -- 
adri...@quietstars.com / +44 (0)7752 419080 / @adrianh / quietstars.com

Subscribe to the latest Agile  Lean UX news here  http://is.gd/KREt5S

- -- 
To post to this group, send email to dotdor...@googlegroups.com

To unsubscribe, send email to dotdorset+unsubscr...@googlegroups.com
See http://dotdorset.org/  http://groups.google.com/group/dotdorset for more

--- End of Forwarded Message

I'm very interested in this. If required, I can also supply a Sparc 10 
runing olaris10 or 11 or a Linux, plus a small StorEdge box with approx 
20GB of storage. (It will be more when I buy larger capacity disks but 
will be fine to begin with.

I can also supply a desktop PC and monitor running a Linux.
Being Poole based, I can be on-site 1 day min per week.
I'm also working on a project which is at the stage where I require some 
ideas and seed funding to progress.


--
P.Lane
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-08-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Samba and Windows Access to Drives.

2013-06-20 Thread p.lane

On 19/06/2013 14:15, Ralph Corderoy wrote:

Hi Charles,


Turns out I was on 11.04 so I have upgraded to 11.10 and am now in
process of upgrading again to 12.04LTS - will probably stop there as
that seems to be the latest stable LTS.

Yes, it is.


I will also be re-formatting network and USB drives to EXT4 and
installing Samba on Windows machines so that they can also use the
drives - does this make sense?

No, not really.  :-)  I've not used Samba, not having a need, but others
on the list have so hopefully they'll pipe up.

If you're intending to plug those USB drives into Windows machines then
they need to be formatted with a filesystem Windows understands;  and
ext4 isn't by default.  If all the drives are connected to Linux
machines and Windows only sees them over the network, then ext4 is fine.

To use the network to access the drives, I'd expect Samba to be on the
Linux machines so they can serve up the drives' content and Windows
would use its native software to access them over the network.  Samba
could also be used for Linux-to-Linux access over the network AIUI;
bits of Samba running on both machines.

What is it you'd like to achieve?  Access to what storage and where?

Cheers, Ralph.

Samba is an excellent tool, controllable from the Linux side and simple 
to set up and manage.

I recommend it.

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-07-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Samba and Windows Access to Drives.

2013-06-20 Thread p.lane
-to-Linux access over the network AIUI;
bits of Samba running on both machines.

What is it you'd like to achieve? Access to what storage and where?

Cheers, Ralph.

--
Next meeting: Bournemouth, Tuesday, 2013-07-02 20:00
Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/
New thread on mailing list: mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively: http://goo.gl/4Xue








--
Next meeting:  Bournemouth, Tuesday, 2013-07-02 20:00
Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue




Virtualbox is stable in Ms, Linux and UNIX and again, simple to use and 
a pleasant user experience with a short learning curve.
Better throughput is acheived with ESXi but it is more of a complicated 
process.

For desktops, V'Box is great.


--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-07-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Partition folder capacity

2013-05-10 Thread p.lane

Hi Justin.
Yes, definitely Solaris 2.x
I was working mainly with 2.4-2.6 (previously with SunOS also), but it 
is in the 2.x Network admin course material, I just checked it. I took 
that course in 2000.
I'm sure I've only used that feature once tho as I said , after upping 
the capacity of an EMC array for NEC (watching the snow fall on the car 
park overnight while restoring from tape backup).
And you're right, it is no longer relevant on modern Solaris systems, 
just thought something similar might be available in Linux instead of a 
rebuild.
Performance may have been an issues some years ago, but not now. 
Similarly reducing minfree is a good idea these days as filesystems are 
so large and systems are so quick. you wouldn't 'tunefs -m5 /'  on 
an 8gb root drive, but you would on an 800gb filesystem.

Cheers,
Phil Lane.

On 09/05/2013 18:03, Justin Stringfellow wrote:



Tuning the maxusers as a means of increasing the available inodes was
taught by Sun in their 2.x Network Admin course and was included in the
NFS Server Performance and Tuning guide. So as a recommended method, I
regard it as having been safe, useful and effective.


Tuning maxusers is a very old fashioned approach to system tuning; are 
you sure you weren't told to do this in relation to SunOS4.x, which 
was the earlier Sun UNIX OS, and a BSD derivative? I believe you 
absolutely do tune maxusers there, but not Solaris 2.x. Typically you 
would tune more specifically - e.g. ncsize for the DNLC, nrnodes for 
NFS inode count, etc. Turning the wick up on maxusers will change 
sizing for the whole system and could easily result in negative 
performance gains.


cheers
--justin







--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-06-04 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Partition folder capacity

2013-05-09 Thread p.lane

On 07/05/2013 19:03, Justin Stringfellow wrote:

Tuning maxusers on Solaris is a bad idea, not sure about Linux. It's an ancient 
tunable whose meaning has long since ceased to control the max number of 
interactive users and it serves more as a master control knob for sizing the 
whole system. The impact of fiddling with it is potentially large. Much better 
to find the more specific tunable for the thing you want to change.

cheers,
--justin

p.lane p.l...@lectrics.co.uk wrote:


On 07/05/2013 18:46, p.lane wrote:

On 07/05/2013 15:42, C A Wills wrote:

Hi Bob

Thanks for the info but using df -i only lists info of the laptop I'm
using although the remote partition is 'mounted' on the desktop and I
can 'see' the files on it in Nautilus.
The only partitions listed are sda2 (root)  sda6 (home).

*C A Wills*

/Powered by Linux  Open Source Software/


On 07/05/13 12:39, Bob Dunlop wrote:

$ df -i



 From my Solaris admin I remember having to increase the number of
inodes on an expanded filesystem on an EMC array.

/etc/bin/nfstsat

the size of the inode cache can be increased as it is a quota system
tied to the 'maxuser' parameter.
increase the 'maxusers' parameter in the /etc/system file.
By default, it is set to the amount (number) of RAM present.

set maxusers = 1024

  increasing this parameter increases the number of available inodes. A
reboot is required.
The system will recompute the size of the inode cache.
Not sure how this translates to Linux, but is worth a search.
bon chance.


btw...jfs2 increases inode allocation on the fly..allegedly.

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-05-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue
Tuning the maxusers as a means of increasing the available inodes was 
taught by Sun in their 2.x Network Admin course and was included in the 
NFS Server Performance and Tuning guide. So as a recommended method, I 
regard it as having been safe, useful and effective.


--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-06-04 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Partition folder capacity

2013-05-07 Thread p.lane

On 07/05/2013 15:42, C A Wills wrote:

Hi Bob

Thanks for the info but using df -i only lists info of the laptop I'm 
using although the remote partition is 'mounted' on the desktop and I 
can 'see' the files on it in Nautilus.

The only partitions listed are sda2 (root)  sda6 (home).

*C A Wills*

/Powered by Linux  Open Source Software/


On 07/05/13 12:39, Bob Dunlop wrote:

$ df -i



From my Solaris admin I remember having to increase the number of 
inodes on an expanded filesystem on an EMC array.


/etc/bin/nfstsat

the size of the inode cache can be increased as it is a quota system 
tied to the 'maxuser' parameter.

increase the 'maxusers' parameter in the /etc/system file.
By default, it is set to the amount (number) of RAM present.

set maxusers = 1024

 increasing this parameter increases the number of available inodes. A 
reboot is required.

The system will recompute the size of the inode cache.
Not sure how this translates to Linux, but is worth a search.
bon chance.

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-05-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] The Latest Linux Powered Device

2013-01-24 Thread p.lane

On 14/01/2013 21:30, Sean Gibbins wrote:

On 14/01/13 16:33, p.lane wrote:
Add some servos to move the rifle and you have the ultimate in safe 
sniping. 


Now there's an oxymoron if ever I heard one!

On a more serious note, is no one else troubled that arguably one of 
the most complex artefacts created by man (through cooperation no 
less) is being adapted for killing?


*sigh*

Sean


The H-bomb is fairly complex.

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-02-05 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] dorset Digest, Vol 469, Issue 1

2013-01-24 Thread p.lane

On 15/01/2013 14:48, Graeme Gemmill wrote:

On 15/01/13 12:00, dorset-requ...@mailman.lug.org.uk wrote:

Re: The Latest Linux Powered Device
Sorry Sean, but the first electronic computer, ENIAC, 1946, was 
created to generate ballistic tables for the US artillery

Graeme
And the internet or Darpanet, was created my the US military to 
communicate with all of its main sites around the country...but then you 
all knew that...history lesson over.


--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-02-05 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] dorset Digest, Vol 469, Issue 1

2013-01-24 Thread p.lane

On 15/01/2013 17:44, Sean Gibbins wrote:

On 15/01/13 14:48, Graeme Gemmill wrote:

On 15/01/13 12:00, dorset-requ...@mailman.lug.org.uk wrote:

Re: The Latest Linux Powered Device
Sorry Sean, but the first electronic computer, ENIAC, 1946, was 
created to generate ballistic tables for the US artillery 


Doubtless true Graeme, but did it run Linux?

They can have Windows and other proprietary operating systems to wage 
war and kill more efficiently, but can they not leave Linux alone?


Sean

of course not...linux is being deployed more increasingly by the worlds 
military as it is so much more secure than you know what!


--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-02-05 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Nexus 7 virus software, any problems?

2013-01-01 Thread p.lane

On 01/01/2013 15:00, Terry Coles wrote:

On Tuesday 01 Jan 2013 14:44:43 Sean Gibbins wrote:

However, this Christmas my son was able to purchase a decent new branded
graphics card from PC World for the same price that it was available
ebuyer and Amazon - that was a first!

My Samsung Chromebook was the same price at PC World as everywhere else, so I
bought it there for convenience.  For once the salesperson was not totally
clueless (he claimed to have a Chromebook himself), but that was pretty
irrelevant because I knew what I wanted.

I do buy from them when it makes sense, but I wouldn't rely on their advice.
I remember taking my mother there to get her a Dell Mini 10 Netbook when they
were available with Ubuntu.  However, PC World didn't do the Ubuntu version
and the sales guy was busy telling my mother that Linux was too difficult when
she mentioned that she'd  been using a Linux Netbook for two years and found
it much simpler than Windows!

I'm still not sure if he believed her.

I have always used Comodo IS (firewalls and AV) for my Win pc's and have 
found it excellent. It is much less mem intensive than Norton, McAfee or 
Kaspersky and friendlier to use and has found threats that the paid for 
products didn't. There is a Linux version available, but not yet Android.
As an aside, I also use Kaspersky TDS killer ( a standalone) and 
ComboFix. Be careful with the latter.


--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday, 2013-01-08 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Best starter programming language

2012-09-15 Thread p.lane

On 15/09/2012 13:22, cawi...@talktalk.net wrote:

Hi All

My 12 year old grandson has asked 'Which is the best Programming 
Language to learn?' - over to you all!!


Please remember he is 12 years old and has just started senior school 
here in Switzerland.  I've suggested he ought to lean a cross platform 
language but I don't know which one. (C, C++, Python, Ruby, Jarva?)
He has a windows 98 laptop and a MAC at home and I assume a Windows 
macine at school.
At the moment he is learning to touch type (at school) and uses Libre 
Office and Firefox at home.  He is also interested to programme his 
Lego Mindstorm but does not have anyone to support him and finds it 
frustrating when stuck.


Any suggestions please?

--
*Clive Wills*

/Powered by Linux  Open Source Software///



--
Next meeting:  2012-10-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Perl, Perl and more Perl...then Python.

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  2012-10-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Best starter programming language

2012-09-15 Thread p.lane

On 15/09/2012 22:00, Peter Washington wrote:

On 15 September 2012 20:07, Peter Merchantmadsmad...@netscape.net  wrote:

On 15/09/12 19:33, Adrian Warman wrote:

I think Leo's recommendation is Python.

In any event, I would also recommend it. It's platform-agnostic, it's
used by big companies (Google, anyone?), it can be run in a simple,
interpreter-like way (single line Basic, anyone?), it supports
object-oriented programming, there's lots of documentation and
examples freely available,...

Adrian


Excellent reasons Adrian. I always have to ask, what do you want to do with
it?  If you are wanting to access databases you would use a different
language than if you wanted to do machine control. Because the raspberry pi
uses Python, I am working with it to control the basic I/O  functions, but
not yet at doing anything with USB devices.

My python references are ' Byte of Python', and 'Dive into Python'.

I like interpretive languages like Basic, Forth and Python for learning.

I believe that there is an editor from which you can run your python and
then drop back to the editor, but I don't know what it is. It might be
Notepad++ in a W$ environment.

Notepad++ and Kate both display text in different colours depending on their
function.

Peter M.

Peter M.

Personally I would have to agre that Python is a good choice for
starting learning about software because it encourages good practices
and it can actually take you a very long way.

I use Scite to edit my Python because it is itself cross platform, it
provides syntax colouring and you can compile / interpret your code
from the Editor and if there is an error it will highlight the line
with the error.

I have Notepad++ on the work laptop that I'm writing on now and I've
just looked for Compilation / Interpretation tools and I couldn't find
any, (but I only looked quite quickly).

Good luck to your grandson Clive.


And Perl is also  platform agnostic.
Phil.

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  2012-10-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Where the log entry

2012-09-11 Thread p.lane

On 08/09/2012 23:25, Tim wrote:
I wrote a simple one line script and put it into /etc/init.d with the 
intention of it running on boot up. Unfortunately it does not seem to 
run upon bootup. Which log file should I look in to see if any reason 
for it not running is logged (I have looked but can't find anything 
relevant)??


Tim

--
Next meeting:  2012-10-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Did you make it executable? chmod +x
Phil

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  2012-10-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] ext2-3-4 on Win

2012-07-09 Thread p.lane

On 07/07/2012 21:17, StarLion wrote:

Greetings all,

For various reasons, I'm trying to access an EXT3 partition from Windows. I
know of several ways, the most notable of which being the ext2 IFS
(Linkhttp://www.diskinternals.com/linux-reader/),
but the IFS and most other solutions don't seem to work too well on Windows
7. Running the remaining options under 64-bit Win only seems to make things
worse.
I had thought that by working with Cygwin to gain a Unix-alike environment
would be able to solve this, but alas it relies on Windows for nearly all
of its filesystem needs - and since Windows cannot by default understand
EXT, neither can Cygwin.
So I'm in search of a means of accessing the partition that will work for a
change. Does anyone know of such a way, or should I start looking at other
means of access instead?

Thanks either way.
--
Next meeting:  Bournemouth, Tuesday 2012-08-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue

I found this which looks like a solution if you're up to tweaking it 
according to your setup -


so long you have additional spaces in your NTFS drive to accomodate ext3 
drives data; assuming you have this, just try the sequence of commands only


]# mkdir /mnt/ext ; mkdir /mnt/ntfs
]# mount -t ext3 /dev/sdb1 /mnt/ext
]# mount -t ntfs /dev/sdc1 /mnt/ntfs
]# mkdir /mnt/ntfs/ext3_data
]# cp -xR /mnt/ext/* /mnt/ntfs/ext3_data/
]# sync
]# umount /mnt/ntfs ; umount /mnt/ext


Your data will be properly copied into the ext3_data directory under the 
ntfs drive; ofcourse the conversion of data format from ext3 to ntfs 
would be handled by the corresponding filesystems kernel modules.


You may also chose to copy of the entire ext3 disk image onto your ntfs 
drive too, use the following:


]# mkdir /mnt/ntfs
]# mount -t ntfs /dev/sdc1 /mnt/ntfs
]# mkdir /mnt/ntfs/ext_data
]# dd if=/dev/sdb1 of=/mnt/ntfs/ext_data/ext3.img bs=512 count=size_of_data  
/ 512


Here with the /count/ flag takes an argument as a number you get as a 
divide the total ext3 drive's capacity to 512.


At the end, what you get is not the pure data rather its a disk copy as 
a backup onto your ntfs drive, this disk image is a file which would be 
saved as an ntfs file over the ntfs drive. In this case, to get your 
data, you need to do the following:


]# mount -o loop -t ext3 /mnt/ntfs/ext_data/ext3.img /mnt/ext


Here you can access your data inside the /mnt/ext directory.

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset

--
Next meeting:  Bournemouth, Tuesday 2012-08-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Network error on boot

2012-06-28 Thread p.lane

On 24/06/2012 17:14, Keith Edmunds wrote:

On Sun, 24 Jun 2012 16:38:19 +0100, t...@xendistar.co.uk said:


r8169 :03:00.0 eth0: unable to loadfirmware patch
rtl-nic/rt18168e-3.fw (-2)

Does that file exist? It should be in /lib/firmware.


I have also tried disabling the
network interface on the PC which did not help. If I could at least get
the PC to boot up to the desktop it would help.

This won't get you a GUI, but it'll get you a root login (but with nothing
_at all_ running). At the grub prompt, edit the command line and append
'init=/bin/bash' to the line specifying the kernel, then boot. You'll be
dropped straight into a root shell.

Alternatively, boot a rescue CD (I favour
http://www.sysresccd.org/SystemRescueCd_Homepage, but any will do). That
will allow you to examine /lib/firmware, and will also allow you to set up
networking if you need to copy a file onto your system.

Do any of you guys use this Linux utility to boot from if you get problems -
systemrescuecd-x86-2.8.0.iso
If you can't find it on the web, It's a 400MB file so can't attach it here.
Will ftp to anyone who would like to try it..
I won't do it here as it will go to everone.
Phil

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday 2012-07-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Network error on boot

2012-06-28 Thread p.lane

On 24/06/2012 18:56, Tim wrote:

On 24/06/12 18:23, Tim wrote:

On 24/06/12 17:14, Keith Edmunds wrote:

On Sun, 24 Jun 2012 16:38:19 +0100, t...@xendistar.co.uk said:


r8169 :03:00.0 eth0: unable to loadfirmware patch
rtl-nic/rt18168e-3.fw (-2)

Does that file exist? It should be in /lib/firmware.


No



I have also tried disabling the
network interface on the PC which did not help. If I could at least 
get

the PC to boot up to the desktop it would help.
This won't get you a GUI, but it'll get you a root login (but with 
nothing

_at all_ running). At the grub prompt, edit the command line and append
'init=/bin/bash' to the line specifying the kernel, then boot. 
You'll be

dropped straight into a root shell.

Alternatively, boot a rescue CD (I favour
http://www.sysresccd.org/SystemRescueCd_Homepage, but any will do). 
That
will allow you to examine /lib/firmware, and will also allow you to 
set up

networking if you need to copy a file onto your system.


I favour the gui route I am not a very good at cli

From the boot disk I can access the PC hard disk and make changes but 
I don't know what files to modify so that I can switch of the network 
and then let the PC boot to a desktop. I am also going off in search 
of this rtl-nic/rt18168e-3.fw file and then maybe put it in the 
lib/firmware folder and see what happens.


Tim



Ok updating my own post, I realised that the boot disk I was using was 
happy accessing the internet so I checked the lib/firmware folder and 
there was an rtl-nic folder complete with the rt18168e-3.fw file in 
the folder, so I copied the whole folder over and tried booting the 
PC, still won't boot past network configuring


Tim


--
Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Have you tried commenting out the boot config in -
/etc/network/interfaces
to bypass the network connect hang?
Phil.

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday 2012-07-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Made me laugh

2012-06-22 Thread p.lane

On 21/06/2012 17:50, Terry Coles wrote:

On Tuesday 19 Jun 2012 10:52:12 Peter Merchant wrote:

I have just bought from Novatech a 7 port powered USB Hub  to work with
my Raspberry Pi. It's smaller than a fag packet. What is interesting is
that the features lists compatible with Windows ME/2000/xp etc, Lunix
2.4.  ???

Under System Requirements, aside for Pentium etc, it lists 'Macitosh'.

Nowhere does it say where it was manufactured.

Scoshland?


I've read some bad things about these -
overheating, 'burning out', power socket badly soldered to board.
Cheap is cheap. try not to go there.
+ you just know where they are made...In the 60's  early 70's it was 
known as 'Jap crap'.

Now it's 'cheap as china.'

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Hi all, just joined......

2012-06-18 Thread p.lane

On 16/06/2012 17:33, Tim wrote:

On 15/06/12 12:45, p.lane wrote:

Hi all @ DLug.
Found the group today, so I've joined up  linked to LinkedIN.
I've added to the members page so do have a read.
Please fell free to contact me with anything social or professional.
Thanks.

Welcome to Dlug, I must ask, are you sure you want your home address 
and mobile numbers appearing on public accessible (like dlug) services?


Tim


--
Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Hi Tim.
.and good point.
I'll change the email caddress away from my Corp addy.
Thank you.
Phil

--
P.Lane
CEO Lectrics Ltd
19 Brampton Rd
Poole
Dorset
Home - 01202 677401
mob - 0794 142 7691


--
Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Hi all, just joined......

2012-06-18 Thread p.lane

On 17/06/2012 09:12, Terry Coles wrote:

On Friday 15 Jun 2012 12:45:36 p.lane wrote:

Found the group today, so I've joined up  linked to LinkedIN.
I've added to the members page so do have a read.
Please fell free to contact me with anything social or professional.

Talk about a blast from the past!  How are you Phil?  From your entry on the
members page, you seem to be still rolling along :-)

You should come to a Meeting if you can.  You just missed one; the normal
'first Tuesday of the month' meeting was postponed until last week (to avoid
clashing with the Jubilee B/H).  The next one is not until Tuesday 3rd July.
I'm a regular, (when the company hasn't sent me off to some distant place),
and Paul Tyson normally comes along.

We don't tend to get too heavy, but we always have a good natter and the
beer's not bad.  As of about 4 months ago, the pub got all up to date and
installed Wi-Fi (the Cloud) so we're generally pretty set up.


Hi Terry.
Good to be in touch again.
You guys have been through some changes - Thales - EADS - Cassidian.
Have been through a few myself; quite a journey.
I thought the site had closed down at 1 point after a drive past. I'm 
glad it's still thriving.
I hope to attend a meet soon but am away a lot myself. It'll be great to 
catch up, you'll be talking all night to update me.
Do say hi to Paul and anybody else that knows me. I've no idea who is 
still there.

Cheers,

--
P.Lane
CEO Lectrics Ltd
Poole
Dorset


--
Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


[Dorset] Hi all, just joined......

2012-06-16 Thread p.lane

Hi all @ DLug.
Found the group today, so I've joined up  linked to LinkedIN.
I've added to the members page so do have a read.
Please fell free to contact me with anything social or professional.
Thanks.

--
P.Lane
CEO Lectrics Ltd
19 Brampton Rd
Poole
Dorset
Home - 01202 677401
mob - 0794 142 7691


--
Next meeting:  Bournemouth, Tuesday 2012-06-12 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue