http://www.newcastlelug.org/

Subscriptions

July 29, 2010

James McDonald

Cisco 877 Continual Reload

I used Cisco’s SDM to configure the stateful firewall component on a Cisco 877 but I let it add all the automatic Instant Messenger rules. That’s when things started going wrong. The Cisco crashed and reloaded… probably 10 times a day. Deleting the IM stateful inspection rules fixed the continual reload problem.

by james at July 29, 2010 11:04 AM

July 23, 2010

Craig Ross

Lame but mildly successful hacking attempt on my ubuntu 10.4

Ive seen this attack occur on a windows xp machine running realvnc a number of years ago but this time it hit my ubuntu 10.4 machine.

 

I am currently working away from an internet connection so i am using my phone tethered with my computer to get online (see my last post). This configuration gives my laptop my public IP address ( ie no network address translation).

I was sitting at my machine just about to start programming and all of a sudden my mouse starts moving.

I looked at the gnome to panel just as it flashed the “your computer is being remotely controlled” message from the VNC server vino built into ubuntu.

The remote connection then typed the following message as if it was trying to run that command.

You can see the command now in line 8 of my program. Windows users will recognize this as an attempt to open the windows command line.

The remote connection terminated a second later and the attack was over.

I then opened my remote desktop preferences to check whether or not I had turned it on

It doesn’t appear that anyone should have had access as the service was not really activated.

If you look closely you will see however that even though the options are greyed out the box for “allow others users to control…” was ticked and all the security boxes were unticked. I cannot remember what settings i had before the attack and its possible that as part of the attack the settings were changed but as all it tried to do was run a windows command (as far a i could see) i can only assume that the attack was probably not written to attack gnome.

All in all made for a good laugh seeing a windows attack play out on a linux machine. I just hope nothing else happened that i didnt see.

 

Edit: I had a bit of a flip through my system logs and it looks all clean.

by craig at July 23, 2010 12:29 AM

July 14, 2010

James McDonald

Shock! Horror! Shock! No wait I said that already – Youtube Unavailable

OK so it happens so rarely that I had to post about it. On Wed 14 Jul 2010 06:38:24 PM AEST I got this when attempting to put on some tunes to shower by:

by james at July 14, 2010 01:11 PM

July 12, 2010

James McDonald

Cisco Network Topology Icons

If you use Dia or another open source diagramming package you may need some network infrastructure icons. Cisco publishes some here http://www.cisco.com/web/about/ac50/ac47/2.html Note: Dia already includes most of these which were converted several years ago when the licensing was favourable but the recent licensing doesn’t appear (IANAL) to allow Dia to package them now.

by james at July 12, 2010 10:11 PM

LOGIN Wiki Changelog

home

Welcome to LOGIN, the Linux Owners Group in Newcastle. We are a LUG for people in the Newcastle and Hunter region of NSW Australia. The main focus of the group is Linux and FOSS. Meetings and Events Next Meeting 20th July 2010 7:30pm Image Editing On Linux

July 12, 2010 10:58 AM

July 08, 2010

James McDonald

Circular Reboot due to Harddisk Removal

Until yesterday I had two hard drives in my Fedora 13 box. Hard disk 1 – /dev/sda was a 200GB Western Digital and hard disk 2 – /dev/sdb is a 500GB Samsung containing my Fedora 13 installation. The Western Digital, after many years of faithful service has died, and so I removed it because it [...]

by james at July 08, 2010 10:12 PM

July 06, 2010

James McDonald

Remember the Name

This post is another one of my memory jogger posts. After posting this I stumbled upon, in the original sense, not the http://www.stumbleupon.com/ sense. A link to http://www.site5.com/hosting/ which seems to have a better approach to hosting than some other hosting companies in that it has normal cheap as chips shared hosting, but also some [...]

by james at July 06, 2010 12:00 AM

July 05, 2010

James McDonald

It’s not You! It’s Me!

This is a handy site if you want to check if a web site you can’t access is unavailable to just you or to everyone else as well. Just append the URL to the end of http://downforeveryoneorjustme.com/ e.g. http://downforeveryoneorjustme.com/en.wikipedia.org

by james at July 05, 2010 01:12 AM

July 04, 2010

James McDonald

Renovations

A blog post from the Android Phone. We are nearing completion. Just have to install Stainless Steel Wire Balustrading from All Things Stainless (incidentally they use Joomla and VirtueMart so nice to see a bit of open source being used in a nuts and bolts style of business). And fitout the laundry and then paint… [...]

by james at July 04, 2010 08:12 AM

Google Android HTC Desire Phone

I’m posting this from an Android based phone. Very featureful. A little difficult for my big fingers to type with, but I’m getting better with practice. Battery life is about a day if you use the apps on the phone and keep the phone screen running. Overall I love being able to access the web [...]

by james at July 04, 2010 07:54 AM

July 02, 2010

James McDonald

What sort of Webhosting should I use? An Introduction to the Options.

You can’t have a website without a web host. It’s like having a house without having any land to build it on. Until you get that virtual real estate, all you have is a design and a plan. Before you go shopping for a web host, you should be aware that there are different kinds [...]

by james at July 02, 2010 10:57 PM

Youtube – Tutorials

Besides wasting copious amounts of time, which could be better spent communicating with your family. YouTube can also be a fantastic training resource. Tor example despite me being red/green colour blind I still occassionally want to edit images and the Open Source Tool to do that with is the GIMP. So doing a search on [...]

by james at July 02, 2010 12:21 PM

Craig Ross

Tether your Sony Ericsson Aino or U10i on Linux / Ubuntu

My carrer is Optus in Australia and i’m using Ubuntu 10.4 and i want to be able to connect to the internet via my sony ericsson aino also known as the U10i

Heres the quick how to.

 

Plug in your phone with the usb cableIt will then try to connect to your computer and look for the windows software (this default can be changed)

 

Click cancel on the phone and then choose the linux option

Now on your ubuntu desktop click the network manager icon in the system tray

Now disconnect from the USB wired network this appears to take priority over the 3G connection so the easiest way to get around it is to disconnect from the wired PC-Phone network.

Now Right click the network manager icon

and choose edit connections

Select the Mobile Broadband tab and edit the connection

The phone number shown is generally accepted as common for most carriers but the APN will come from your phone.

On your phone go to Settings–> Connectivity –> Internet Settings

It should look something like this

from here the APN is “internet” as that is what is written under the Connect using heading.

Now click Ok to all the open windows and click on the network manager icon again and now select “Optus” or the name of your carrier and you will be connected

 

by craig at July 02, 2010 01:32 AM

June 30, 2010

James McDonald

Turning off the smbclient mget prompt

Problem: Just tried to use mget to get all the files in a remote directory and it prompted me to accept each file with a y/n. This is because by default smbclient prompts to accept each file when using the mget command. smb: \> cd PDFs smb: \PDFs\> mget * Get file 20100615135815.pdf? # to [...]

by james at June 30, 2010 01:42 AM

June 26, 2010

Craig Ross

How to use an Xbox1 controller on your PC

 

I wanted to be able to use my old Xbox1 controller to play racing games on my pc.

I found here http://fury-tech.com/en/Guides/Xbox-Controller-Pc-Conversion-Mod/

Some basic instructions but i did not want to cut up my controller cable but I had an old bricked Xbox in the cupboard that i could pull the ports out of and cut them instead.

 

Xbox socket out of the bricked Xbox

Cut the end of the USB cable

 

Usb cable with the unneeded end cut off

Line up the colours (the extra yellow from the Xbox socket is not required

 

USB cable and the Xbox socket ready for solder

Solder and heatshrink

 

Post solder and heatshrink

Final product

 

Final product

Result of “lsusb” command on Ubuntu

 

Command line showing success under Ubuntu 10.4

I’m still trying to sort out the driver situation for windows 7 64bit and windows vista 32bit.

I will update this post when i have more info but just two links for now…

 

http://kmdriver.com/

and

http://www.redcl0ud.com/xbcd.html#download

 

 

 

 

 

 

 

 

by craig at June 26, 2010 01:24 PM

June 20, 2010

LOGIN Wiki Changelog

meetings_old

you can find slides and other material used at this site. ---------- 2010 19th April 2010 7:30pm “The Great Editor Shootout” See Vi/Vim, Emacs, Nano, Jedit, Gedit and Kate, vie for Newcastle-wide supremecy.

June 20, 2010 10:30 PM

June 15, 2010

James McDonald

Using Google Maps to Roughly Determine Your Distance from the Local Telephone Exchange

ADSL performance is predicated on a number of factors. Of primary importance to the potential speed of ADSL is the distance of your house from your local Telephone Exchange. Using Google maps you can roughly calculate your distance from the exchange: You need to know your home address. If you don’t know your address seek [...]

by james at June 15, 2010 11:32 PM

June 09, 2010

James McDonald

The Linux `at’ command

Cron does repeating jobs at runs one off jobs. So can be handy You need the `at’ package yum install at The at daemon must be running   ps -ef | grep atd root 2496 1 0 Mar18 ? 00:00:00 /usr/sbin/atd If not. Use chkconfig (redhatian) or update-rc.d (debian) to set it to start automatically [...]

by james at June 09, 2010 08:15 AM

June 04, 2010

James McDonald

Apple.com Trailers for Linux

Just installed Fedora 13 and was getting a “Get QuickTime” prompt when trying to view trailers at www.apple.com/trailers: Apple.com/trailers Get QuickTime Popup The Fix: yum install gecko-mediaplayer mozilla-vlc Caveats: Works with Firefox. Google Chrome, although it looks at /usr/lib/mozilla/plugins doesn’t pickup and use the Gecko MPlayer plugins for some reason. Update: Google Chrome (version 5.0.375.55) [...]

by james at June 04, 2010 12:14 AM

May 31, 2010

James McDonald

Facebook – The data persistence specialists

So tonight my better, no I mean much better half, goes to log into facebook and it prompts her to register her computer. Huh? Seeing as you can pretty much individually identify a computer simply by examining the default information that the browser passes over when you connect. I would say this wonderful new feature [...]

by james at May 31, 2010 10:57 AM

May 30, 2010

James McDonald

F13 Installer – Oh what a wonderful mess

So Ubuntu 10.04 is a thing of beauty and typically I use it above other distributions…. However my spiritual Linux home is Redhat/Fedora I started out with it and even bought the Sybex RHCE book. I even think that the Redhat style of system-config-blah provides a better way of admining a box than the Debian [...]

by james at May 30, 2010 12:06 PM

May 28, 2010

James McDonald

Backup Linux to a Windows Box

Been having a look on the web for options that allow backing up a Linux box to a Windows box without first having to create a massive file on the Linux box. Found a good FTP option at http://www.squidoo.com/linux_backup namely under point 4: # login ftp TheFTPServersIPAddressHere   # set the transfer mode to binary [...]

by james at May 28, 2010 07:09 AM

The process cannot access the file because it is being used by another process

Annoying problem “The process cannot access the file because it is being used by another process” trying to delete a directory. Didn’t want to reboot because I was running a VMWare VM at the time and well real operating systems don’t make you reboot every time something untoward happens. Tried filemon from sysinternals.com and couldn’t [...]

by james at May 28, 2010 06:55 AM

Windows 7zip Fails to Extract a Tar Archive created on Linux

Just had an error in Windows 7-Zip 4.6.5 trying to extract a Linux tar archive. A reasonably large tar archive of 3.76 GB. Got this error: Can not open file C:\path\to\tarfile.tar as archive So fell back to using Cygwin Using tar -tf archive.tar allowed me to list the contents of the archive just fine. But [...]

by james at May 28, 2010 05:33 AM

Australian Online Computer Component Sellers

http://www.staticice.com.au/ http://www.megabuy.com.au/ http://www.auspcmarket.com.au/ www.onlinecomputer.com.au http://www.eyo.com.au/ – Based at chipping norton. Reasonably easy to navigate their website. I have purchased 2 or three boxes from them. Found them reliable. http://www.computermemoryupgrades.com.au/ – I have used these guys. Easy to select the RAM and pay via CC. Usually arrives next day.

by james at May 28, 2010 12:47 AM

May 25, 2010

James McDonald

Secure your .htaccess files

Recently discovered an old Joomla website that had been hacked by a remote exploit which changed the contents of .htaccess and redirected the connecting clients away to malicious sites. I don’t know how they managed it but I thought that if .htaccess wasn’t writeable by the webserver process then the hack would have failed to [...]

by james at May 25, 2010 11:57 PM

Free GPL3 Licensed CD/DVD Burning Application for Windows

I haven’t tried this but don’t want to forget about it: http://infrarecorder.org/ You can also use ISORecorder which works well. Not sure of the license on this program. However the website says “Since the very beginning ISO Recorder has been a free tool (for personal use)”.

by james at May 25, 2010 11:13 AM

May 19, 2010

James McDonald

Gnome-shell or How to make Ubuntu look like an iPhone

Just had a play with the new Gnome 3 gnome-shell. On Ubuntu 10.04: apt-get install gnome-shell gnome-shell –replace To revert back to the default Ubuntu Window Manager metacity –replace (You may have to also run) gnome-panel & Anyway check it out… I can’t wait till they get it ready for prime time usage… I think the Linux community is so ready to [...]

by james at May 19, 2010 01:23 PM

May 18, 2010

James McDonald

Encourage Comments on Your Blog

I’m fairly strict with what I allow as comments on this blog. But if someone has gone to the effort to post a well-thought-out comment I don’t mind if they put a URL in the comment or the associated website field and therefore gain some SEO benefit from it. I have recently discovered that Wordpress by default [...]

by james at May 18, 2010 11:38 PM

If you think you are anonymous on the internet check out this site

A browser tells the site it is visiting about itself: the plugins it is using, the screen resolution it is set at, the fonts available for display, It’s preferred language/timezone and many other little details… (OS etc) It does this in order for the remote site to be able to serve a properly formatted webpage or tailored content. The problem is, [...]

by james at May 18, 2010 01:55 AM

May 10, 2010

David M. Williams

I’m a BlackBerry abuser

Over the last 6 years or so I’ve quite literally – according to server statistics – based out tens of thousands of e-mails on my various BlackBerry handhelds.

The BlackBerry has given me “BlackBerry thumb” in the past on the earlier thumbwheel versions. Looks like I’m hitting it back with my relatively new BlackBerry Bold 9700 giving up the ghost on its enter key.

No doubt this will be a warranty repair but I don’t know if I can be without it long enough to send it back to Telstra !

by david at May 10, 2010 03:47 AM

May 09, 2010

James McDonald

Ubuntu 10.04 – OpenOffice 3.2 cannot Spell Check with Australian Default Locale

Despite the oo website saying that the Australian dictionary is include in OO 3.x.x I couldn’t spell check my docs. The “Text Language” field of the OpenOffice Spell Checking dialog was missing. [...]

by james at May 09, 2010 01:17 PM

May 07, 2010

James McDonald

www.zshare.net DNS black holed

Check this out… Watching a video that was hosted on zshare.net… Tried to watch the next one in the series. Firefox kept saying that I had a problem loading the page. A little investigation and I discovered that DNS was replying with the address for localhost 127.0.0.1. I tried this at the local level (my gateway’s DNS proxy), [...]

by james at May 07, 2010 10:58 AM

May 06, 2010

Gabriel Noronha

Nvidias CUDA

Actually got around to looking a CUDA on Nvidia cards at work yesterday.

Got the SDK and sample code up and running on the mac pro, next thing to do is find some maths problem to do on it which will be faster than on a CPU / Grid. well at least that it will be faster given a better GPU the NVIDIA GT 120 isn’t that fast considering there is 2 Xenon quad core chips 2.4ghz. on the mac then there at 6 macs connected to the Xgrid. so it will be a bit hard to do a direct comparison.

Also had a informal meeting with the lab manager from physics we discussed how that for ever increasing amount of remote courses at the university how he plans to do physics labs for the astronomy course next year.

Ended up sending him to have a look at the UTS remote labs http://remotelabs.eng.uts.edu.au/ and told him to keep us posted since it’s all of interest.

So any ideas how to show that CUDA and GPU computing is useful ? or how to conduct an astronomy lab when your students are in Queensland ?

by Gabz at May 06, 2010 11:32 AM

May 04, 2010

James McDonald

Evolution – Exchange the Sand Dune Edition

Evolution at least the Exchange integration component is so buggy you could drive it on sand dunes. Every time I update Ubuntu I try the default mail application. For Ubuntu this is Evolution. Call me optimistic but as time progresses I would hope that basic integration problems would be resolved. Not with Evolution. Check this bug https://bugzilla.gnome.org/show_bug.cgi?id=435371 [...]

by james at May 04, 2010 01:30 AM

April 28, 2010

James McDonald

How many Unique IP’s have Connected to your Apache Website

This will tell you how many unique IP addresses have connected to your website since the last log file rotation. So if your logs are rotated daily then you have the number of unique IP’s for roughly the last 24hour   # go to your apache logs directory and run: $ cat access.log | awk '{ print $1 [...]

by james at April 28, 2010 04:17 AM

LOGIN Wiki Changelog

university_wireless - The old configuration ddn't work under Ubuntu 9. ...

The current configuration only uses PEAP authentication and WPA & WPA2 Enterprise security. Preamble The University of Newcastle does not officially support Linux (). This document assumes you have some basic knowledge of Linux and that your wireless card works with non-encrypted and WPA encrypted networks. If your wireless card doesn't work start with the basics before you try this.

April 28, 2010 03:36 AM

James McDonald

MySQL Backup to Email or Disk Script

If you run mysqldump –all-databases you get one monolithic file which can be a pain when trying to restore one database. So it’s nice to call mysqldump dbname so you get individual database backup files. To call mysqldump for each database requires that you either hardcode the db names in your backup script, or as below, use [...]

by james at April 28, 2010 02:47 AM

April 24, 2010

James McDonald

Security Tool not recognized by McAfee SecurityCenter

This post was written before McAfee wrongly identified svchost.exe as a virus and caused many large businesses to close their doors while the problem was resolved: Fixing a laptop for a friend gratis Has some sort of malicious application known as “Security Tool” installed (under windows 7) into c:\programdata\81504826\81504826.exe You would think that a Malware Application that [...]

by james at April 24, 2010 10:58 AM

April 23, 2010

James McDonald

I’ve fixed what I think the problem is. Why isn’t it working?

Organisations of a certain size employ IT people and harness them into a role. Those people take on the mantel of the role, learning whatever script that has been put before them. As long as the problem doesn’t deviate from the script then they effectively resolve problems. However no plan survives contact with the enemy, and [...]

by james at April 23, 2010 01:33 PM


Powered by Planet!
Last updated: July 30, 2010 01:00 AM

RSS 20 Atom