Showing posts with label trying. Show all posts
Showing posts with label trying. Show all posts

Friday, September 29, 2017

Trying Out Ubuntu 10 04 On A Desktop PC Part Two

Trying Out Ubuntu 10 04 On A Desktop PC Part Two


This blog describes the multimedia playback capabilities (both audio and video) of the standard Ubuntu 10.04 - that is, what this 64-bit OS can play out-of-the-box. Let us start with the audio capabilities first.

Multimedia - Audio Playback

It was obvious from the start that Ubuntu can handle sound - but what format? A quick peek into the /usr/share/sounds directory gave me some answers. The sound file formats that Ubuntu can handle out-of-the-box are .wav and .ogg type files. The wav format is an uncompressed PCM one while the ogg format is a lossy compressed one. Both are free formats and that is the reason they were included on a standard Ubuntu (which has a strict policy regarding non-free or propriety formats - they simply are not included).

A test was carried out by plugging in a USB drive containing several audio and video files of various formats, into the Ubuntu 10.04 PC. The USB drive was recognized by the OS and mounted automatically - an icon for that drive appeared on the desktop. The OS also obligingly open the Nautilus file browser showing the contents of the USB drive. Hovering the cursor over the various audio files on the USB drive, I discovered that Ubuntu can indeed play back wav and ogg type audio files plus it also can play back flac type audio files. This format is a lossless compressed PCM type and it is a free format (flac = free lossless audio codec) - hence it was included in the standard Ubuntu. However, out of the box Ubuntu CANNOT play back mp3, mp4, aac, m4a and ape formatted audio files. Obviously, extra non-free or propriety codecs need to be installed to handle these formats.

A quick check with the official Ubuntu 10.04 document did not help much but checking the community document on restricted formats gave instructions on which package to install in order to get support for the other audio (and video) formats. The package is appropriately named ubuntu-restricted-extras and besides the codecs necessary for play back of the other formats, also includes Microsoft TTF fonts, Java runtime environment, Flash plugin, LAME (to create compressed audio files), and DVD playback. Opening the Synaptic Package Manager, I installed this package - which took a while - mainly due to the downloading of the various TTF fonts from a busy server.

After the ubuntu-restricted-extras package was installed, another test was performed on the other audio files on the USB drive. Hovering the cursor over the files I can now play back mp3, mp4, aac, m4a and ape formatted audio files. This package indeed took care of the most popular audio formats found. By the way, I also found out that the popular Microsoft TrueType fonts (like Times New Roman, Arial, Courier New, etc) were also installed on my system - a big plus and another reason to install this package.

Another audio capability test was then performed - the audio CD playback capability. Inserting an audio CD into the drive resulted in it being recognized and mounted (a icon will appear on the desktop). A message box will also pop-up telling me that I have inserted an audio CD and asked which application to use the CD with - the default is Rhythmbox. Note that I can make this the default action also - however, for this test I accepted the default application by clicking on OK. Rhythmbox, the music management and playback software for GNOME, was launched and I was able to play the CD by clicking on the Play button. The details about the CD (album name, artist, and track/song title) was also displayed. This test confirmed that Ubuntu was indeed capable of handling audio CDs.

Thats it as far as my needs for audio playback on Ubuntu 10.04 goes. In my next blog, I will be describing the video playback capabilities of the OS, so stay tuned.

download file now

Read more »

Monday, September 18, 2017

Trying Out Ubuntu 10 04 On A Desktop PC Part One

Trying Out Ubuntu 10 04 On A Desktop PC Part One


As mentioned in several of my previous blogs, I use Ubuntu Netbook Remix exclusively on my netbooks (a Lenovo S10-2 and an HP Mini 2140). After playing around with the relatively new UNR 10.04 on the HP, I grew to like the OS - so much so that I decided to install it on a spare PC that I had around (which was mainly used for testing) and play around with it some more. The PC is built around an Asus M2N-E motherboard and the CPU I had installed is an AMD Athlon 64 X2 5200+. The amount of RAM on the motherboard is 8 GB of DDR2-800. Clearly the 64-bit flavor of Ubuntu 10.04 was the choice of OS here. To top up the hardware, I also installed a ATI HD 4670 video card, a 550W power supply and a 320GB SATA hard disk. The display was an Acer 23 inch wide screen LCD. With all the hardware pieces in place, I ventured into the world of 64-bit Linux computing. This blog and more will describe my journey in that world.

After downloading the ISO image of the DVD, I burned it to a disc and used it for the installation. The actual installation was painless - the only unusual item of note is that I partitioned the hard disk manually and used ext3 filesystem instead of the default ext4. I also used my normal (normal for me, that is) partitioning scheme - i.e., a small boot partition, the root partition, a swap partition and a home partition. The reason for using the ext3 filesystem was mentioned also in my previous blog - it enables me to backup or clone my hard disk using the Arconis Home 2010 software, which at the moment can only handle ext3 type filesystem.

The first boot-up went without any problem and after logging in, was presented with the purple-colored desktop. The first thing I did was to change the screen desktop background to a more pleasing one - right-clicking on the desktop and selecting Change Desktop Background, I was presented with several choices. I selected Maraetai before sunrise as my background - at least it does not hurt my eyes as much as the default! :)

The second thing I did was un-mute my sound system, which, for some reason or other, the Ubuntu team decided to initially start off muted. I also adjusted the volume level sliders to a reasonable value. Note that the Sound Preference dialog box that appears upon clicking it, do not have the option to test the sound levels - a shortcoming which I urge the Ubuntu team to fix.

The next (and somewhat irritating) thing I fixed is the placement of the windows control (maximize, minimize and close) buttons from the top left side of the windows to the usual (and familiar) top right side.

As with my previous installation of UNR 10.04 on my HP netbook, I was prompted to update my system and it also indicated that propriety drivers were available for my system. Putting aside the drivers for the time being, I updated the system via the Update Manager - which took a while since there was a fair amount of updates that needed to be applied. Once completed a re-boot was required - this was done and the system restarted - this time it was accompanied with the Ubuntu startup sound.

The Firefox Browser

The first software I tried out on the Ubuntu 10.04 was the default web browser that come with it - the Firefox. I started it and changed my home page to news.google.com.my and then checked the installed plugins by executing about:plugins via the address bar. All the necessary multimedia and java plugins were installed except Shockwave flash-player and pdf-reader plugins.

The Shockwave flash-player plugin package (named flashplugin-nonfree) can be installed using the Synaptic Package Manager but note that this is a 32-bit plugin - the 64-bit one is still in beta and was not included in the standard installation of Ubuntu 10.04. As it is a 32-bit package, there was a lot of dependencies for it - the major ones being nspluginwrapper and ia32-libs. These are required to make the 32-bit plugin work on 64-bit Ubuntu. A lot of work to get one plugin to work - I just wish Adobe would get the 64-bit one working as soon as possible. However, the plugin worked - I verified it by playing a YouTube movie (my favorite HQ movie of Sarah Brighman singing Harem). The command about:plugins also verified that the shockwave flash is indeed installed.

The pdf-reader plugin, on the other hand, is not such a simple package to install. First the lucid partner repository need to enabled - this is done by editing the /etc/apt/sources.list file (as root) and un-commenting the two lines for the lucid partner repository. Then the Synaptic Package Manager need to be restarted and the package database refreshed by clicking on the Reload button. Alternatively, the command sudo aptitude update can be run from a console. Then a search for acroread need to be done and once found that package need to be installed. Note that this will also install the free Adobe Acrobat Reader and if you choose so, make it the default pdf type file reader. Once the plugin (and reader) has been installed, the Firefox browser has to re-started. The command about:plugins has also to be executed to verify that the pdf plugin is indeed installed - which in my case, was. In order to test the plugin I used a web page containing a pdf test document and it verified that the installed plugin worked. However, for some strange reason, the Acrobat Reader was not listed in the Applications menu list. Loggin out and then back in solved this - Acrobat Reader 9 was now listed in Applications -> Office.

Next I installed some extra essential (to me!) plugins - Adblock Plus, Download Statusbar, Webmail Notifier and Yoono (a social neworking app to mintor my twitter and facebook account). Once these were installed I now have the Firefox browser that I can use productively. In fact, I use the same setup for my netbooks and my Windows 7 workstations. Later I get my bookmarks synchronized across all my computers. I wonder if there is an application that will allow me to do so.

Next, I will check out the multimedia capabilities of Ubuntu 10.04 ... stay tuned.

download file now

Read more »

Friday, September 8, 2017

Trying out this blogging thing again

Trying out this blogging thing again


This is, i think, the third time I have tried to setup a blog.  I hope to be talking about a number of things on this site.


Here are the topics that interest me:

  • MythTV
  • Application Development
  • Podcasting
  • Linux
  • Cooking
MythTV
I am the co-host of the MythTV Cast podcast.  You can find us over at http://mythtvcast.com.  The podcast is a small, niche, podcast centered around MythTV.  We arent associated with MythTV in any way, but we wanted put together a show where we could highlight news and developments with the project, as well as interview key people associated in or around the project.  Check us.

Application Development
I am an application developer specializing mostly Java Enterprise applications. I mostly develop with the Spring Framework.  I tend to focus more on web-based applications and have been focusing on HTHML5 and CSS3.  This has also lead me more into into integrating the web and mobile applications, specifically on the Android platform.

The first app I published in the Android Market is OpenSchedule for Android. It is a very specific app for attending conferences.  I am currently working on version 2 of the application.

Podcasting
As I mentioned above, I am the co-host of the MythTV Cast podcast.  I am also a regular co-host on the Linux Link Tech Show. We meet live every Wednesday night at 8:30 pm EST and we talk about Linux and all types of technology.

I live in podcasts every day.  They run all day long on my Android phone as  I am doing my work.  I will be posting links to my regular podcasts in a future posting.

Linux
I live in Linux every day.  I run Ubuntu Linux on my work laptop as well as my MythTV boxes at home.  I hope to address some news and topics as they come up as well as issues that I run into (although, this seems far less than a few years ago).  If you are interested in how I got into linux, check my bio on the tllts.org web site.

Cooking
I know this is completely unrelated to all the other technology based topics I have mentioned, but it is, quite possibly, my favorite thing to do.  I will try almost any food as well as try to make almost any dish.  My wife and I have gone to numerous cooking classes and we are always trying new things.

This is a little about what I intend to put here.  I am going to try to post some stuff here on a somewhat consistent basis, but, if past experience tells me anything, dont expect too much :)  For some reason, I have been getting the itch to write some things down lately, and I hope this will be that place for me to do that.

I will post these out to my various social networks when I do post.  Speaking of which, you can find me on Google+, Facebook, Twitter and Identi.ca.  I am dmfrey everywhere.

download file now

Read more »

Thursday, August 24, 2017

Trying to Understand the Function of Guilds

Trying to Understand the Function of Guilds


Credit goes to Dr. Jenny Fremlin
If youve stuck around with me long enough, you know that I have questions surrounding guilds. If you dont raid, what purpose do they serve? I was in a guild for a pretty long time that was a 100% social guild. We occasionally ran raids as level 85s but it was strictly old content because hardly any of us were experienced raiders and hardly any of us were geared to run Cataclysm (at the time, this was the most current expansion) raids. There were times where we couldnt even manage to get through Cata heroic dungeons as a guild without wiping repeatedly. It was sad. From what I could tell, the most active members were primarily interested in PvP and were geared and experienced as such. The husband and I were looking for more than that. While we occasionally enjoy PvP, our primary focus was social and leveling but we were very interested in learning how to raid. This was something that our guild and more importantly, our guild manager, was totally uninterested in. Rather than try and bend the guild to fit us, we left. It was so far from being personal. I really miss those people. But being in a guild that didnt fit us, that we had outgrown, led to dissatisfaction with WoW in general.

After Pandaria came out, we left the guild and paid for a realm transfer. We decided to found our own guild. Our entire purpose was to have a place for our alts and a bank that we could do with what we wanted. After leveling the guild to 25 and more than just two members to level 90, we plan on recruiting. What were looking for in members is as follows:

  • Fun people that enjoy playing a game and not analyzing it to death.
  • Respectful people that understand that when youre running a level 85 dungeon on normal with bad gear, its because youre trying to get better gear for cripes sake. 
  • Respectful people that understand when youre in a level 85 dungeon with bad gear, that you probably dont know all the fights because ITS A LOW LEVEL DUNGEON THAT YOURE TRYING TO LEARN AND GET BETTER GEAR.
  • Fun people that are interested in being respectful, social, adults who are interested in playing a game.
  • Fun people that are looking to learn together.
I know. Im idealist and probably unrealistic but my husband and I cant possibly be the only gamers out there that are like us. I remain hopeful.

The other day, @Matticus posted this on Twitter:
 It led me to wonder, what are other guilds like? Guilds that have actual leadership and direction? I really think this is an aspect of MMOs, and not just WoW, that I have yet to experience.

I found this paper that was written in 1996 about MUDs which was entirely too interesting especially when comparing it to the current gaming experience of MMOs. Essentially, nothing much has changed in what the gamer is looking for in the 17 years since this was written. You should read it.

I would love to hear about other peoples guild experiences.

download file now

Read more »

Sunday, August 20, 2017

Trying Out Ubuntu 10 04 On A Desktop PC Part One Addendum

Trying Out Ubuntu 10 04 On A Desktop PC Part One Addendum


In my previous blog, I mentioned installing some extra add-ons. What I forgot to mention was that I had problem initially while trying to install ANY add-ons - an error #228 occurs eveytime. After researching the web, I found that this was a common problem with 64-bit Ubuntu and it had to do something with IPv6 support in Firefox. This has to be disabled before add-ons can be successfully installed.

Following the instruction, I executed about:config in Firefox and then clicked "Ill be careful" button on the warning that appeared. I then typed ipv6 in the filter box to get to the one and only line thats needed - that line will say network.dns.disableipv6. The default value is "false". I then double-clicked it to set the value to "true" (to disable IPv6). Once this was done and Firefox restarted, I could install the add-ons without any problems. Note that if you do require IPv6 support in Firefox you need to reverse the process.

download file now

Read more »

Wednesday, August 2, 2017

Trying to save data from 2GB USB Drive

Trying to save data from 2GB USB Drive


This is a follow up with this thread on Ubuntu Forums:


Part 1

1- From Terminal, I run: $ testdisk

2- Choose the create a new log file:





3- From the list, I choose /dev/sdb and then [Proceed]




4- I choose then [Intel]:




5- [Analyse]:




6- This is what I get after choosing [Analyse] and I choose [Quick Search]:




7- What I get and then I press [Enter]:




8- Nothing happens so I select [Deep Search]:




9- Still nothing so I press [Enter]:




10- Finally [Quit]:




Some helpful and nice people on the Ubuntu Forum suggest NOT to create any partition table at this stage because that might cause the loss of the data that if there is any. Hence, I didnt create any partition table nor any partition but as you can see, this is what is happening with me.


I thought to make life easier for everyone so that we be on the same page :)
This is what I see when I use testdisk so hope it is clear now.

Thank you for trying to help, I highly appreciate that :)

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

Part 2
 
$ sudo photorec




[Search]



[Other]
 






 


 Finally ...


It seems there are no files!
Hope this is the correct way ...

download file now

Read more »

Tuesday, August 1, 2017

Trying SQL Injection on Your Own

Trying SQL Injection on Your Own


Hey, if after our last couple of posts, you feel like your SQL fu is up to snuff and want to get your hands on a real vulnerable web app that maybe doesnt have the answers all leaked out, then check this out.


Head on over to  http://csis.pace.edu/~lchen/sweet and download the vulnerable app theyre hosting in VM or Virtualbox format. Stand up that server and follow these two guides, 5 - Security Testing and 6 - Vulnerability Management .

The Ubuntu web server is running BadStore, which you can alternately register for and download here: http://www.badstore.net  Either way, youre going to be able to run SQL Injection and XSS vulns against this web app and database.

Try it out!


download file now

Read more »