Tag Archives: Debian

Ubuntu Linux, T-Mobile, & Nokia N73 as a Bluetooth Modem.

If bluetooth works on your computer, then getting your system to talk to your N73 isn’t hard and I’m not going to cover it here. See this posting for what packages I needed to install to get bluetooth working in my Dell 700M laptop running Ubuntu Linux:

http://timony.com/mickzblog/2007/10/09/ubuntu-bluetooth-sd-card/

If you have T-Mobile T-Zones Internet service for your phone in the US you should be able to use the following procedure to surf the web on your computer using your N73.

First find your Phone’s bluetooth device address (or ID), by typing

*#2820#

into your phone.

You should see a sequence of numbers and letters that look something like this on the screen:

000ABC22BC33

Write it down in this format, (with a colon after every 2nd character):

00:0A:BC:22:BC:33

Next make a backup copy of this file

/etc/bluetooth/rfcomm.conf

For example:

sudo cp  /etc/bluetooth/rfcomm.conf /etc/bluetooth/rfcomm.conf.org

I’m going to presume you’ve never edited this file before, and you can change it to look like this (using the bluetooth device number you discovered):

#
# RFCOMM configuration file.
#
rfcomm0 {
 #      # Automatically bind the device at startup
 	bind yes;
 #
 #      # Bluetooth address of the device
 	device 00:0A:BC:22:BC:33;
 #
 #      # RFCOMM channel for the connection
	channel 2;
 #
 #      # Description of the connection
	comment "Nokia N73";
 }

If you have edited this file before and are already using rfcomm0, then create a new entry named rcomm1 and replace rcomm1 with any other references I make to rcomm0. Also, make sure you get all the semi-colons after each entry in the file.

Next copy the gprs-connect-chat and the gprs-disconnect-chat files from:

http://davesource.com/Solutions/20070520.T-Mobile-Nokia-E65-Ubuntu-Linux.html#networking

In the gprs-connect-chat replace line 47:

OK              'AT+CGDCONT=1,"IP","internet2.voicestream.com","",0,0'

With this:

OK              'AT+CGDCONT=1,"IP","wap.voicestream.com","",0,0'

Move the 2 files to /etc/ppp/peers:

sudo mv  gprs-connect-chat /etc/ppp/peers
sudo mv  gprs-disconnect-chat  /etc/ppp/peers

Next create a new file in /etc/peers named gprs and copy’n’paste the following (the gprs script that davesource.com uses didn’t work for me):

# GPRS for T-Mobile USA
/dev/rfcomm0 # device bound to T610 phone
230400 # speed
defaultroute # use the network for the default route
usepeerdns # use the DNS servers from the remote network
nodetach # keep pppd in the foreground
crtscts # hardware flow control
lock # lock the serial port
noauth # don’t expect modem to authenticate itself
local # don’t use Carrier Detect or Data Terminal Ready
debug
connect /etc/ppp/peers/gprs-connect-chat
disconnect /etc/ppp/peers/gprs-disconnect-chat

Now your ready to test the connection. First stop networking:

sudo /etc/init.d/networking stop

Next, turn on bluetooth on your phone and connect to it. Once your connect issue the following commands:

rfcomm bind all
 pppd call gprs

When your done, control-c will stop the ppp connection, then run this command:

 rfcomm release all

If you’ve more than one entry defined in your rfcomm.conf file, try using:

frcomm bind rfcomm0

And replace rfcomm0 with rfcomm1 or rfcomm2 …

To web-surf you will need to set your browser to use the following proxy:

216.155.165.50:8080

But, ssh & VPN won’t work, just web-browsing at dial-up speed! However, it might be possible to tunnel ssh and other services.

The following links were a lot of help in aiding me in getting this to work:

http://www.yepthatsme.com/2004/11/09/ppp-chat-scripts-for-t-mobile-sony-ericsson-t610-gprs-via-bluetooth-with-debian/

http://digitalife.wordpress.com/2007/07/31/using-your-mobile-phone-as-a-gprs-modem-with-ubuntu-linux-via-dku-2-usb-cable/

I used the scripts from here to get the laptop to connect (with minor changes):

http://davesource.com/Solutions/20070520.T-Mobile-Nokia-E65-Ubuntu-Linux.html#bluetooth

I need to clean-up/rewrite this posting, and put in proper references to sites that helped me get this working.

Copies of the configuration files are here:

rfcomm.conf

gprs, gprs-connect-chat, gprs-disconnect-chat

Enlightement e17 on Ubuntu Screenshots

E17 Darkness Theme on Ubuntu:

E17 Darkness Theme on Ubuntu with the menu highlighted:

E17 Darkness theme with a wallpaper from vladstudio.com:

Themes are available from get-e.org. The packages for Ubuntu come with Darkness and other themes, the Debian package appears to only come with the default theme.

Look for my latest posting on E17 as this information could be out-of-date:

http://timony.com/mickzblog/category/e17/

Enlightement e17 on Debian & Ubuntu

Update, April 17th, 2008:

This post is out of date, for a Debian update see:

http://timony.com/mickzblog/2008/04/17/update-on-enlightenment-e17-for-debian/

See newer instructions for Ubuntu here:

http://timony.com/mickzblog/2008/04/15/e17-on-ubuntu-revisited/

Look for my latest postings on E17 as this information could be out-of-date:

http://timony.com/mickzblog/category/e17/

UPDATE, April 14th 2008:

Edevelop.org is temporarily down as they move their server to a new datacenter, which means these instructions will not work for Debian until the server is back online. However, for Ubuntu you can use the Dunnewind.net repository. Follow the instructions below, and comment out references to the Edevelop.org repository. I’ll do a proper update in the near future, or create a new posting and separate out the Debian & Ubuntu instructions.

Announcement below:

http://www1.get-e.org/Main/News/_articles/381.html


Edevelop.org has e17 packages for both Debian & Ubuntu. If you’d like to install the packages on either Debian or Ubuntu follow the procedure below:

Note: Not responsible for any damage this might do to your system.

Debian
For Debian sid/unstable edit /etc/apt/sources.list as root or using sudo and add the following lines:
# enlightenment e17 packages:
deb http://edevelop.org/debian unstable main

Ubuntu
If your using Ubuntu Edgy, add the following line to your sources.list, found in /etc/apt/:
# enlightenment e17 packages:
deb http://edevelop.org/pkg-e/ubuntu edgy e17
deb http://e17.dunnewind.net/ubuntu edgy e17

You can replace “edgy” with “gutsy” or “hardy”. Also, I’m not sure if there conflicts between the edevelop & dunnewind repostiories. And I cannot test them as edevelop is still down.

Update package list
Next you’ll need to update the package list:
sudo apt-get update
If needed install signing key
If you get the following warning:
W: GPG error: http://edevelop.org edgy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 223020C2A7C6F0DF
you can add the signing key for the Edevelop repository. This is trivial to do, but not necessary, if you don’t do this you’ll receive a warning every time you update or install a package from edevelop.org:
cd /tmp/;
wget http://lut1n.ifrance.com/repo_key.asc;
sudo apt-key add repo_key.asc;

Install E17
To see most of the E17 packages available:
apt-cache search e17
To install all the packages (as of Feb-18-2007) on Debian:
sudo apt-get install e17 e17-extras engage engage eclair libemotion0-xine
To install all the packages (as of Feb-18-2007) on Ubuntu:
sudo apt-get install e17 engage libewl1-engines-all libewl1-engines-all engage

If you want to see what any of the packages provides you can use apt-cache show packagename. e.g.

apt-cache show e17
Package: e17
Source: enlightenment
Version: 1:0.16.999.037-0cvs20070217
Priority: optional
Section: x11
Maintainer: Falko Schmidt
Depends: enlightenment, e17-libs, e17-modules, eutils
Suggests: e17-extras
Architecture: i386
Filename: dists/unstable/main/binary-i386/x11/e17_0.16.999.037-0cvs20070217_i386.deb
Size: 8702
Installed-Size: 48
MD5sum: 1bf3e406695b3145fb3bb48944bb44ff
Description: Virtual package providing the E17 desktop shell
Enlightenment is an advanced window manager for X11. Unique
features include: a fully animated background, nice drop shadows
around windows, backed by an extremely clean and optimized
foundation of APIs.
.
This virtual package provides all you need to run E17:
* E17 windowmanager
* E17 modules
* E17 tools.

Logout and at the Login Screen, click on Session and select Enlightenment.

Thanks to the Enlightenment developers for creating Enlightement and continuing work on E17, and thanks to the folk at Edevelop.org for building and hosting the E17 packages.

For more information see the following links:
http://forums.debian.net/
https://launchpad.net/e17-repository
https://wiki.ubuntu.com/Ebuntu

Update: removed e-mail address in package listing.

Look for my latest posting on E17 as this information could be out-of-date:

http://timony.com/mickzblog/category/e17/

This originally posted at:

http://timony.com/mickzblog/2007/02/18/enlightement-e17-on-debian-ubuntu/

Debian & Flash 9

Flash 9 was released a few days ago and Debian has packages to install it! But, it, at least for me, hasn’t made it’s way out to the repositories. You can download the package using wget:

wget http://http.us.debian.org/debian/pool/contrib/f/flashplugin-nonfree/flashplugin-nonfree_9.0.31.0.1_i386.deb

Then install it using dpkg either as root or using sudo:

sudo dpkg -i  flashplugin-nonfree_9.0.31.0.1_i386.deb

Also, make sure that Flashplayer 8 isn’t installed:

sudo apt-get remove --purge flashplayer-mozilla

This should work for any Debian Testing or Unstable system.