Tag Archives: linux

Netbank Slow

If your a commonwealth bank customer and you use ubuntu or other linux OS you may find that the Netbank website is extremely slow to login to.

Solution install nscd name server cache daemon

sudo apt-get install nscd

apt://ncsd

by the way this was found out by putting a complaint into the commonwealth bank which the complaint was swiftly replied to with generic flush your DNS for windows instructions and further instructions saying that AVG link scanner also is known to slow down Netbank. but once I dismissed these solutions as not solving the problem they then actually asked real questions got me to try and different dns server.  I also got plenty of phone calls check that my problem has been resolved or that at least someone is attempting to fix it so there ads must be right..

In the long run Commonwealth bank need to fix there DNS so that there sub-domain address is faster to look up.

In the short term my problem is fixed if it’s only a speed increase when I log into Netbank for the 2nd time, since the cache seems to clear on each restart.

Installing AGVCRToMPEG2 on 9.04

AGVCRtoMPEG2 – is an old and outdated program that can convert your AGVCR recordings to avi or mp3.

README can be found at https://svn.ci.uchicago.edu/svn/if-media/AGVCRToMPEG2/README

Dependencies from apt repos:

  • Scons
  • Subversion
  • Build-essentials
  • libgsm
  • libsamplerate
  • libz

sudo apt-get install scons subversion build-essential libgsm1-dev libsamplerate-dev libz-dev

Download the code form the svn repository

svn co https://svn.ci.uchicago.edu/svn/if-media/AGVCRToMPEG2

We have to use the exact version of ffmpeg that he used in development since he has used superseeded functions from the ffmpeg libiary

svn co svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg -r 5652

Configure and Make ffmpeg (don’t install unless you want to)

cd ffmpeg

./configure

make

Next we have to edit the scons file in cd ~/AGVCRToMPEG2 , it is meant to take the command argument of where you complied the version of ffmpeg but it seems to use old and outdated scons code so we hard code the location in.

Using your favourite editor e.g vim SConstruct

On line 23:

ffmpeg_path = env[‘ffmpeg_path’]
#ffmpeg_path= /home/jack/D/project/ffmpeg

change to

#ffmpeg_path = env[‘ffmpeg_path’]
ffmpeg_path= ‘/home/carma/ffmpeg’

replace carma with your username

We can now attempt to compile the code with the the command scons. but your most likely to get errors due to poor C++ coding most are just related to messing #includes

The following files will need to be edited:

AGVCRToMPEG2.cpp
VPMedia/video/h261/VPMH261ASEncoder.cpp
VPMedia/video/h261/VPMH261Encoder-mash.cpp
VPMedia/video/VPMVideoBufferSink.cpp
VPMedia/video/VPMVideoAssembler.cpp
AudioMixer.cpp
VPMSSRCManager.cpp

To make things easier attached is the output of svn diff AGVCRTOMPEG2_904update.patch Note gunzip because of wordpress security doesn’t allow patch files.

gunzip AGVCRTOMPEG2_904update.patch.gz

now patch

patch -p0 < AGVCRTOMPEG2_904update.patch

Compile attempt 2

scons

Readme contains many examples and hopefully you now have a working system.

linux too f*@King easy to install

Ok I have a computer it generally stays on 24/7. it does important work like download files during off-peak download periods. It also is my svn server. samba etc…

It is also used by my family to surf the web since it’s always on and they don’t need to wait for computers to boot.

Ok so the short of the story is my computer got reformatted.

Distributing the blame

  • Me – should of know better than to leave a mandriva install disk in the drive, (virtualbox install is why it was there) and when I finished my linux install I SHOULD of changed the BIOS setting to disable boot from CD.
  • Dad – shouldn’t of turned off the computer he knows is always on.
  • Mum – shouldn’t of continued to click yes through the mandrivia install, by the time i found the computer it was asking for a username and password for the new mandriva install. so it already had FORMATED and INSTALLED mandriva.

Coming soon !! more blog entries on the success or failure of data recovery tools in linux. If you have any pointers please tell me.

Aside welcome planet.linux.org.au readers !

Exploring samaba shares in linpus

By default you can not browse samba shares in Linpus being based of XFCE there is no XFCE file browser that support samba, you can still doing it using a hack and fuse smb. ok so everything is done in command line so start with Alt+ F2 then type in xterm to get our command line.
sudo yum install fuse-smb
We then need to add our linpus user “user” to the fuse group
sudo usermod -a -G fuse user
We can check that this command worked with “id user”
Create a new folder in our home directory
mkdir samba
Mount fuse to our new directory you will also need to run this code every time you reboot.
fuse /home/user/samba

cd into the samba folder or open up thunar and navigate to the /home/user/samba folder and there should be your samba network.

Random Ubuntu Support Calls

Ok it’s been an odd morning.

This morning i got a phone call on my home line from some old man wanting help with his ubuntu install, well more to the point is that he wanted to format ubuntu and start again.  After asking a couple of questions about what he wanted,  I told to format the drive and do a fix MBR in windows is probably abit more complex than he wants, and since he was dual booting that he should just continue to launch windows instead.

His orginal problem was he couldn’t get on the internet at the time, It didn’t click at the time when he said he was with optus that the reason he couldn’t get on the net is the weird way that optus modems are setup.

After talking to him for a while i finally got around to asking how he got my number because it was becoming more clear i didn’t know the guy.

Apparently he found my ubuntu wiki page https://wiki.ubuntu.com/Gabz and assume I could help him looked up my phone number in the address book since my last name isn’t very common my home (parents house) is the only listed number.

So this was the first time i’ve been rung by a 85 year old man wanting to know how to fix ubuntu. It was an odd experiance.

If how it all ended, was well I got over the slightly weird feeling told him to keep ubuntu there, since he mentioned he lived in Toronto (NSW) we exchanged email address and I sent him the link to Westlakes Linux Learners

Anyone else recieved random phone calls asking for linux help ???

LCA updates.

Lots of mini-news so time for dot points

  • I Checked my site visit statistics and noticed that I’m now on the Linux.conf.au planet, I don’t normally put my blog up for planets but it was part of the registration and was easy. so hello my extra blog readers from http://planet.linux.org.au/lca2009/
  • Linux.conf.au, I have tickets to for the conf. Tiger airways are now on my list of banned airlines, In 1 year they’ve gone from alright to horrible. Basically they canceled our flights from Melbourne to Hobart. and put us on other ones but then we can’t get the Jetstar flights we have to connect us to the Newcastle to Melbourne Part. So more money had to be spent Tiger gave a less than expected refund.
    • Related on the 18th January we fly into Melbourne from Newcastle at 7:40 am our next flight to Hobart doesn’t leave until 17:55 so we have 8 hours in Melbourne to kill, please leave suggestions in comments if you have some ideas of what to do.
  • Kym and Linux.conf.au. Not so good she is trialling her talk out at work the week before, but the robot isn’t ready yet… it was meant to be ready for her last year but the processor still isn’t inside the bear yet. As for the talk well the OO.o sliders aren’t finished yet either.
  • Still looking for a new OS for my Acer Aspire looked at Kuki.me but it’s still not near production stage yet.

Anyway welcome to the new Planet readers 😀

Acer Aspire One

Christmas was very good to Gabz, he scored Wii controllers, remote control helicopters and of course what this post is about, a new netbook, namely a Acer Aspire One, Linpus 512 Mb Ram 8 Gb SSD.

Impressive Parts

  • Size, Weight and Keyboard.
    It’s small like you would expect but the keyboard is easier to type on that the XO olpc which is the only other netbook sort of thing I’ve gotten to play with. It’s really light weight and the battery is giving me 2.5 hours.
  • Boot time – Linpus got one thing right 14 second boot time from cold boot it also does hibernate but that isn’t really any slower than a cold boot.
  • 3G Modem support. If your 3G modem is made by Huawei (Optus, Vodafone or 3 ) then your in luck once you download the software from the acer site the Huawei modems work great. They even use the same software as you would under windows so you can still send those SMS messages. only extra step is making a new profile for your modem.

    Mobile Partner
    Mobile Partner
  • If the 8 Gb SSD Isn’t enough for you, you can expand with a SD Card they even merge the 2 drives together to appear as a single drive.
  • Also the webcam is builtin, the Mic is placed well and once you download Skype from the acer website it works great.
  • If you brought the extra USB DVD-RW like I was given you be pleased to know that under Linux you have DVD playback out of the box. Also the DVD-RW DL powers just from the USB port so no extra cables needed.

Unimpressive Parts

  • LINPUS ! – For starters it’s based on Red Hat (Fedora) being a Debian guy I find this to be a negative.
    Limited Range of Software, Acer isn’t supporting much they have an Acer game installed which is trial ware. Not really impressed that the full range of linux software isn’t easily available on this distro.
  • Security ok when you start linpus for the first time, you set the root password. Ok fair enough but there is no User password. Which is ok by it self. But guess what the user has no password but has Full SUDO rights ?! So if you ever want to change the root password on any linpus Acer try “sudo passwd”

    Root Password changing
    Root Password changing

Basically I’m very happy with this Netbook, and most of my problems will be solved in the coming weeks when I get Ubuntu on to this netbook. Though I would love a way to decrease the Ubuntu boot to the 15 second range.

Installing Kubuntu 8.04, KDE4, and Firefox 3

Kubuntu 7.10 was coming up with errors such as ‘unknown URL system:/’ and my KDE4 broke, I found links that told me it was a dolphin problem and was fixed in a version of dolphin that didn’t exist in my repos so I decided it was time for a fresh install (gnome worked fine to access files though).

I decided on Kubuntu 8.04 Beta 1 with KDE4, my first problem was because I have an nvidia graphics card (8600) splash screens usually fail to appear and so did the disk check and ‘press enter to reboot screen’ before and after I installed 8.04, but after installing and updating I found the “Hardware Drivers Manager” which had the latest version of nvidia drivers; they were just one click away. Sadly my Dvico TV tuner card doesn’t work out of the box, but when 8.04 becomes stable I’ll reinstall that.

After installing nvidia drivers and restarting my splash screen came back! Sadly only in 640×480 so I changed the splash screen res to 1440×900 by:
sudo vim /etc/usplash.conf
sudo update-initramfs -u

I also changed the splash so it showed details of loading by changing
sudo vim /boot/grub/menu.lst
delete ‘quiet’ from the kernel line of the kernel you are running right down the bottom of the file then you will get all the messages under the loading bar of “filesystem OK”, etc.

I also installed Firefox 3. It looks horrible out of the box, BUT there is a package called gtk-qt-engine-kde4 which will put KDE4 themes on GTK. After the package is installed you go into system settings-> appearance -> GTK Styles and Fonts. I still don’t like the look of it, so I ended up installing Firefox 2.0 to get back to something that looked decent.

And my last problem that I have found so far is they took IRC out of Kopete!!! (bug 201732) So annoying… I may have to start using pidgin.
Oh and Adobe Reader doesn’t seem to appear for 64bit Linux, kpdf it will have to be.

Another random note Openoffice.org 2.4 opens nearly instantaneously