Planet.mindstab.net updated, now resynced with my daily reading list

2008-01-29 12:13:38 PST

Tags: , , , ,

So I've been adding a lot to my RSS reading list lately. In an attempt to broaden my world view a bit I added some stuff from the BBC and CBC. And for my own interest in random things I added some stuff like grinding.be, Coilhouse and a few other treats. I've also expanded my geek reading with sites like Phoronix and a few others. So in summery, lots of new additions!

Anyways, through all this, planet.mindstab.net grew less and less reflective of what I've been reading, but I finally got around to refreshing it's list of feeds, so go take a look, thats what I read or skim every day. It's a massive flow of information on things I wish to stay informed on. (The full reading list is displayed on the right side of the site, it's not small :))

As a note, the PlanetPlanet software that runs it is glitchy. I cannot seem to make it do times properly, and it insists on adding my timezone onto everything (+8 hours) even though no other webapp or app on the server has this problem.

Further internet integration

2007-08-01 17:00:51 PST

Tags: ,

As you can now see I am even further integrated with the internet. Thanks to a wonderful program called Share-It from shozu.com which is a Java program for cell phones, I can now post media from my cell to many places via them. This is cunning in part because they can do the multiplexing, so if I want a picture I took to go to two places, they do it because their bandwidth is cheap compared to my expensive cell bandwidth. Anyways, I signed up for a Picasa Web account. Google bought this photo album program company Picasa and released their program for free, and then built or got in the deal an online album too. So I then hooked Share-It on my cell to my picasaweb account. Then, for the final stroke, I got WP o Matic, a Wordpress plugin that creates entries from RSS feeds, and have it feeding of my Picasa web album. I like it, its simple but works. I might even ditch Twitter Tools and just use WP o Matic for Twitter as well. We'll see.

But the moral of the story is I can now post pictures and text to my website from my cell phone from pretty much any where. I feel very connected ;)

Twitter and RSS updates

2007-07-31 14:03:54 PST

Tags: , , ,

Further connecting myself to the internet, I got myself a Twitter account. It's like a mini (140 char max) text only blog. Seems minimal. So why use it? It's trivial to post to from mobile devices like a DS, and you can update it via SMS text message from a cell phone as well. So it's meant to be used to keep track of yourself and what you're up to. Also, when you're out and about you can tell Twitter to follow your friends (on Twitter) and it will text message you any time they update.

Anyways, since no one I know actually has a Twitter account, obviously it won't be too useful as it is for anyone I know, so I'm integrating it into my site (Wordpress) and then my other Journal that wordpress auto posts to will also 'benefit' from this. So now I have Twitter fairly integrated. However some of my readers may not want that. I'm aggregated on Planet Larry and I'm not sure how much a Planet dedicated to the technical goings ons of Gentoo users cares about my current goings on and whereabouts. So I've rearranged my wordpress categories and now I have an RSS feed for everything but Twitter.

My RSS sans Twitter
My Twitter: twitter.com/dan_ballard

Next it might be interesting to look for a service that I can tie into Wordpress so I can update my blog with pictures from my cell phone...

Pimping

2007-07-26 14:37:52 PST

Tags:

Where's my flying car and jet pack?

Getting my Ubuntu laptop and Sony Ericsson k510a cell phone to talk to each other with Bluetooth: file sharing and internet over GPRS and ppp

2007-07-26 08:23:38 PST

Tags: , , , ,

Well, I taught my laptop a new trick.

I went out and bought a DLink DBT-122 Bluetooth adapter (USB). Cheapest one they had, plugged it into my laptop (Ubuntu Feisty) and it was recognized right away. Installed bluez and bluetooth related packages and started to play.

First thing I did was enable the bluetooth applet that runs in the notification area. It can also be accessed from System->Preferences->Bluetooth Preferences. Once that was on and my cell phone's (Sony Ericsson k510a) bluetooth was on I was able to use nautilus' sendto to send files via bluetooth to my cell phone. Then after turning on Applications->Accessories->Bluetooth File Sharing, which starts an applet in the notification area, I was able to send files to my laptop from my cell phone via bluetooth. So that was all cool, but it was also just warm up.

Next I wanted to get internet on my laptop through my cell phone. While impractical in the areas on cost and speed, it does have far greater coverage than random unsecured wifi access points around the city (especially as of late as people are finally starting to use WEP and WPA) and it's coverage out of city is of course no contest either.

So I installed a few more tools, ppp (Point to Point Protocol) related, like ppp and pppconfig.

The first tool I used was 'hcitool' which is used for establishing bluetooth connections and other bluetooth related issues.

# hcitool scan
Scanning ...
         00:17:B9:DA:E4:F2       phone.mindstab.net

This will scan for all bluetooth devices in range and return their name and MAC address. Next I had to connect to the phone and laptop or 'pair' the devices. For my phone, the Sony Ericsson k510a, I had to do this on the phone's side. I went to Settings->Connectivity->Bluetooth->My Devices. Then I selected New Device and after it scanned, I selected my laptop. It then bid me enter a 'password' so I choose a few numbers, and then the bluetooth manager on my laptop notified me a device was trying to 'pair' and asked me to enter the number there. That done my cell phone accepted my laptop. I selected my laptop/device on my cell phone and told it to always accept connections from that device. Also, to be safe, I put the password/number in '/etc/bluetooth/pin' although I'm not really certain if that was necessary.

Now the devices were set to connect to each other on a regular basis so back to hcitool to handle that. The 'cc' argument establishes or breaks a connection and the 'auth' argument authenticates the connection.

# hcitool cc 00:17:B9:DA:E4:F2
# hcitool auth 00:17:B9:DA:E4:F2

Now a bluetooth connection with the phone was established. Next up it was time to configure the ppp connection that would run from my laptop, over bluetooth to the cell, and from there over GPRS (or possibly EDGE?) to the internet.

First, I needed to further setup Bluez (Bluetooth handler on Linux) to facilitate this by creating a /dev/ entry for the connection. And I needed a bit more info. The command 'sdptool' delivered this to me. It can be used to list all the supported features of a device and their details. I was specifically interested in the 'Dial-up Networking' section.

# sdptool browse 00:17:B9:DA:E4:F2
...
Service Name: Dial-up Networking
Service RecHandle: 0x10002
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 2
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100
...

In there I found the 'Channel' that the protocol was operating on, in this case '2'. Now I opened up '/etc/bluetooth/rfcomm.conf' and setup the device.

/etc/bluetooth/rfcomm.conf

rfcomm0 {
        bind yes;
        device 00:17:B9:DA:E4:F2;
        channel 2;
        comment "Bluetooth PPP Connection";
}

Then I restart bluetooth. On newer Ubuntu versions the service is just called 'bluetooth' but on older versions it's apparently called 'bluez'.

# invoke-rd.d bluetooth restart

Now I had setup a connection to my cell phone and created '/dev/rfcomm0' for it. I was now ready to setup a ppp connection over bluetooth.

pppconfig thankfully does most of the hard work here. It configures the ppp/peer files and the even more convoluted chatscript (some kind of text file that contains the initial connection protocol text that is used to establish the connection).

# pppconfig

pppconfig gives you a menu. I chose 'Create Connection'. Called it whatever, I chose 'gprs'. Next I selected 'Dynamic' (for DNS). Then I selected 'Chat' for the Authentication Method. I entered no password or login, and then deleted the text when it asked for a User name and another password. The default speed of '115200' baud was fine. 'Tone' is the choice for the 'Pulse or Tone' section. The number to dial was a bit tricky. It's in the form of something like '*99***slot-of-internet-on-cell#' so for me '*99***2#' was what I entered but others might try '*99***1#' or possibly '*99#'. I entered the port to use manually and entered '/dev/rfcomm0'. Then it gave me a chance to review and then write the file. I did so.

The two main files it creates are '/etc/ppp/peers/gprs' and '/etc/chatscripts/gprs'. If you are lucky you should just be able to connect now, but I had problems, so I had to tweak the files a bit. In '/etc/ppp/peers/gprs' I had to comment out the 'remotename' and 'ipparam' lines with hashs [#].

/etc/ppp/peers/gprs

...
user ""
#remotename gprs2
#ipparam gprs2

and in '/etc/chatscripts/gprs' I had to comment out the 'ogin:' and 'ssword:' lines again with hashes.

/etc/chatscripts/gprs

...
# ispname
#ogin: ""
# isppassword
#ssword: ""
# postlogin

Now all the ppp config files were properly configured to work with my phone, so it was time to try the connection out. Before that though, I turned other networking off, which is easy enough with NetworkManager, I just right clicked on it and unchecked 'Networking'. Then to turn on the connection over bluetooth, ppp, and gprs, I just used the 'pon' command.

# pon gprs

and gave it a few seconds. My cell lit up and told me it was connecting and then it connected. Then I was good to go. Sadly gprs internet rates are expensive here at $0.05 / kB. Also, it's a bit firewalled so the standard ping google.com test to see if the connection is working fails. I just loaded a small web page in my browser. It worked! Then tried to 'ssh' to my server, and that also worked! When I was done, I just

# poff gprs

to turn the connection off.

And that's it. Now I can get files to and from my cell phone and get internet from it for my laptop as well.

When I was having trouble, I looked in '/var/log/syslog' to see where the trouble was coming from.

Also, for some reason, the next day, 'sdptool' was reporting that the 'Dailup Networking' service had moved to channel 2 so I had to change '/etc/bluetooth/rfcomm.conf' file to represent that and restart bluetooth with 'invoke-rc.d bluetooth restart', so keep an eye out for that if your connection starts failing later for no reason.

References

Test

2007-06-13 13:02:28 PST

Tags: ,

I just bought the Opera web browser for the nintendo ds and am posting from my ds through an unsecured access point while standing out front of future shop.

This is a test of the handwriting recognition.

Ok, cool. I am suitably impressed and pleased with my new toy.

Will Technology Force Us to Choose Between Privacy and Freedom?

2007-03-29 23:41:58 PST

Tags: ,

Christian Hammond just posted a blog entry, "Watching you watching me watching you", that covers an idea that's been coalescing in the back of my mind for a month or two. It's basically about the fact that with technology and culture where it is today, we put out a fantastic amount of freely available knowledge about ourselves and that this runs counter to many people's strong desire for privacy and fear of 'Big Brother'.
He says it fairly well. Go check it out.

Related book: The Transparent Society: Will Technology Force Us to Choose Between Privacy and Freedom?

This was still in Sci-Fi last year

2007-03-25 16:37:13 PST

Tags:

Care of slashdot:
Scientists Create Sheep That Are 15 Percent Human
. The purpose? In part at least, organ harvesting for human transplants. I may live forever yet!

Living in the Future: Part 1

2006-12-18 18:33:56 PST

Tags:

I love living in the future. My friend came online and messaged me asking for my help finding something he'd just lost in his apartment, across town. Specifically, he'd put his cell phone down and it had been absorbed by the room. I gave it a call on my cell, and after a few rings he answered with "thanks". Glad to lend a helping hand.

Valid XHTML 1.0!
Valid CSS!
Mindstab.net is proudly powered by WordPress
Entries (RSS) and Comments (RSS).
18 queries. 1.176 seconds.