Posts Tagged ‘Nokia’

Dial-up in Israel through Orange 3G

Saturday, May 3rd, 2008

I have set up a small script to allow me to dial-up using my cell to the internet. The speed of the 3G connection is quite amazing, and this information would assist, I’m sure, others as well. I am using Bluetooth to communicate between my cell and my portable computer.


1. Create an /etc/wvdial.conf with the following contents:

[Dialer Defaults]
Phone = *99***1#
Username = orange
Password = mobile54
New PPPD = yes
Modem = /dev/rfcomm1
Baud = 460800
Init2 = atz
ISDN = off
Modem Type = Analog Modem
Dial Attempts = 1
Abort on No Dialtone = off
Stupid Mode = on

2. Pair your mobile and your laptop (check it on the net). Get the hardware ID

3. Get the channel for DUN (or Dial-Up Networking)

4. Add this script in /usr/local/sbin/ (I called it “gprs”). Replace the zeros with your own hardware ID, and the number 4 (Nokia N95) with the channel you use:

rfcomm connect 1 00:00:00:00:00:00 4 &
echo $PID_BT
sleep 5
wvdial &
echo $PID_WV
sleep 7
echo “Press on Ctrl+C to disconnect”

trap “{ kill $PID_WV; sleep 1; kill $PID_BT; exit; }” SIGINT

while true; do sleep 10; done

5. You need to run the script under “sudo”. Ctrl+C will exit and disconnect.

Good luck.

Nokia’s AMR, and Linux conversion

Tuesday, December 27th, 2005

First and foremost, although I’ve purchased a new display card, I haven’t installed it in the computer yet, as my NVidia has decided to behave. Maybe it’s something to do with some specific build of Firefox, as it’s the only main package changed during the last two or three days.

Second, I’ve tape-recorded into my cell an event, and wanted to play it, afterwards, on my desktop. I discovered that it’s being saved in AMR format, which is rather annoying, and uncooperative. Google brought me this site, pointing to an important place on the web. Them both gave me a hint. I’ve been able to download Nokia’s package, and although it got compiled, it segfaulted, so using the second site, I’ve noticed the changes required both to the Makefile and to the codeĀ  itself, and it works correctly now.

Second, I’ve had problems with the script. I’ve altered it a bit, to fit my needs, and it’s attached here

You need to copy the compiled “encode” and “decode” to /usr/local/bin in this case, because it’s the right place for them.

It works correctly now, and I’m as happy as I can be. Got some good laughes out of these records.

One more thing – As today I’ve started working heavilly with VMWare, I’ve discovered a bug in it. I will probably verify it in the near future, but it can be replicated following these steps:

1) On an existing Win2003 Ent. Server install VMWare GSX 3.2.1

2) Check “Host Settings” to make sure it uses “C:Virtual Machines

3) Create a storage partition on another disk, formatted to NTFS, and mount it to “C:Virtual Machines

4) Repeate step 2. Use “Browse” to set it up right, if you’re not sure.

5) If you don’t have enough space on your C:, for example, less than the default Virtual Disk of 4GB, even if your mounted partition “C:Virtual Machines” does have enough space, VMWare wizard will complain about “not enough space”, and will not continue.

6) Setting drive letter to the storage partition and defining VMWare to use it works correctly.

So I’ve encountered it, and will try to repeate it on the next server I get to use. Could be interesting if I can actually reproduce it. Didn’t find anything about it in their documentations and knowledge-base.