Tuesday, June 28, 2011

Alias setup for dual boot on CR-48

In Ubuntu

navigate to home folder
ctrl+h
.bashrc
alias chromeos='sudo cgpt add -i 6 -P 0 -S 0 /dev/sda;sudo reboot'

In ChromeOS

sudo vim .profile
a (insert mode)
alias ubuntu='sudo cgpt add -i 6 -P 5 -S 1 /dev/sda;sudo reboot'
escape (command mode)
shift+z
shift+z
exit
enter

Upgraded ssd ChromeOS / Prepare for Ubuntu install

For use with a 40 gig Intel 310 msata 1.8" SodaCreek SSD

alt + ctrl + ->
chronos
sudo bash
umount /mnt/stateful_partition
cgpt add -i 1 -b 266240 -s 16777216 -l STATE /dev/sda
cgpt add -i 6 -b 17043456 -s 32768 -l KERN-C /dev/sda
cgpt add -i 7 -b 17076224 -s 52699136 -l ROOT-C /dev/sda

dd if=/dev/zero of=/dev/sda bs=131072 seek=1040 count=65536

Now you can use the easy install for Ubuntu 11.04, so reboot, let it do it's thing, and install it after it's done.

wget http://goo.gl/hnkxo; sudo sh hnkxo (under chronos, not root)

Once installed, log in to Ubuntu and

sudo resize2fs -p /dev/sda7

You are done, enjoy.

Monday, April 11, 2011

CR-48 3G working with custom bios install Ubuntu

All credit for this info goes to other sources, as normal. Posting here in order to spare my bookmark clutter, ie, personal use.

taken from - http://blog.bagearon.com/

1. Grab the files here: QC Serial USB Drivers (cros – source) and here: qc.tar.gz – Linux (x86) binaries
2. Extract the first – qcserialusb.tar.gz (wherever) and get to a bash terminal in that location.
3. Run ./installthreeg.sh
4. Run (as root) modprobe QCSerial2k and then modprobe QCUSBNet2k and ensure no errors appear.
5. Extract the second, qc.tar.gz to /opt.
6. Run ./startthreeg.sh (from a bash terminal or by double clicking it).
7. Create a new connection using the network manager panel app, of the mobile broadband flavor. Enter #777 for the number.
8. Connect, browse, etc.

Sunday, April 10, 2011

Updated mplayer install on CrOS

sudo mkdir /mnt/stateful_partition/dev_image
sudo mount -n --bind /mnt/stateful_partition/dev_image /usr/local
sudo mount -n -o remount,exec,suid /usr/local
mount | grep local (make sure no noexec or nosuid.)
export LD_LIBRARY_PATH=/usr/local/lib

(qemacs-edit .bashrc with below)
if ! grep -q /usr/local /etc/mtab; then
sudo mount -n --bind /mnt/stateful_partition/dev_image /usr/local
sudo mount -n -o remount,exec,suid /usr/local
export LD_LIBRARY_PATH=/usr/local/lib
fi

(set alias for easy play logged in as chronos)
alias play='/usr/local/bin/mplayer'
save and exit qemacs(save ctrlx+ctrls/close ctrlx+ctrlc)

make sure /bin/ is there, if not,
sudo su -
mkdir /usr/local/bin/
check for mplayer2 location, move to /usr/local/bin/
sudo chmod +x mplayer

Now while logged in as chronos (default, not root) all you need to do is type "play /*location of files*/" without quotes to play. You can add a * at the end to play all in the selected folder.

Thursday, April 7, 2011

So I got bored and made a CR-48 Chrome extension

Many useful links for use on ChromeOS/CR-48.

Check it out and let me know what you think.

https://chrome.google.com/webstore/detail/glkncpdakjnpbhdjoflalnfeegkdiklh

Wednesday, March 30, 2011

Playing movie files on ChromeOS in Dev MODE

If you've switched the dev switch and are logged in as sudo su, you can do this.

Go through the setup of packages on Todd's site here.
http://www.duh.org/chromiumos/pkgs/

You don't have to worry about the .tar extraction part of his guide at this moment just for mplayer.
Make sure you have a /bin/ folder in the /usr/local/ folder.
If you don't have one, you may need to make one with mkdir bin
While you're in qemacs in the previous guide editing the .bashrc file in /home/chronos/user/, you may as well setup an alias for mplayer.
alias play='/usr/local/bin/mplayer'
(you may also want to add other aliases as I did:example (alias nosleep='sudo initctl stop powerd'))


Next, as explained in this thread by Ripps:
http://groups.google.com/group/chrome-notebook-pilot/browse_thread/thread/9a81a4d8e875d72d

Download:
http://ubuntuone.com/p/hFu/ into your /Downloads/ folder, in terminal, navigate to this folder and
Extract
tar -xjvf mplayer2_single.tbz2

Then move the file into the /usr/local/bin folder by
mv mplayer /usr/local/bin/

QEMACS HELP
TO SAVE :::: ctrl+x THEN ctrl+s
TO EXIT :::: ctrl+x THEN ctrl+c

REBOOT

If you followed this guide properly, all you should have to type while logged in as chronos is
play (location)(flags)
play /media/sdcard/avi/* -loop will play all media in selected folder and repeat (I haven't tested many flags to be honest. Please comment if you have)

Don't kill me or get ill if something breaks, lol.

Monday, March 14, 2011

Geek movie night

Spent this boring day watching movies>

Primer, Contact, and Frequency

Do want more movies in this type of sci-fi genre.

Thursday, March 10, 2011

While it's an appreciated feature I use often, the way calls are made with Google is frustrating.

To use the free calling feature fully, you need to have a Google Voice account, Google Talk elements installed, and to receive calls, you have to have the Gmail page in focus, or else you would miss your call if the volume isn't high enough to hear the vague ringing.

I would like to be able to call and receive calls within Google Voice instead of having Gmail open.  I have thought about modifying or creating a page with all of these elements, but after reviewing the code, I'm only left sighing.

It's just strange the amount of clutter my Gmail page is collecting, from AIM chat, Google talk, and now the Call Phone feature.  I wish I could pick and choose Google elements.  I have tried iGoogle GV gadgets, and to my research so far, none of them work properly.

Big sigh > time to read some more.

Wednesday, March 9, 2011

Interesting info found in recent chrome gpu acceleration article

"We should also note that there are 23 security fixes, 15 of which came from external security tipsters, which received $14,837 in compensation."


THIS is the way to do open source!

Monday, March 7, 2011

Sunday, March 6, 2011

My old friend -1988 Model M 1391401

After cleaning up about 10 years of hoarding pc parts in one room, this was one of the things that survived the cleansing.  I'm now using it on a dual boot ubuntu/win7 pc.

CR-48

For those who may not know what a CR-48 is, you can refer to the link to explain.  

I will be discussing it in detail throughout the life of this blog, along with many other things.
Testing mobile Google Voice from my CR-48 to BLOGGR. Yes, it seems redundant, but still testing for shits and giggles.

Begin the blog

So, this is it.  The first blog.

Exciting times.