Posts Tagged ‘Cellular Internet’

A small update to the cellular browsing

Wednesday, July 2nd, 2008

I have uploaded a replacement¬†wvdial.conf for the cellular entry below. Notice that for Cellcom in Israel, you need an init string AT+CGDCONT=1,”IP”,”internetg” . which is embedded into the file. For other cellular providers, you might need a different string.

For Cellcom users out there – this is the right init string. If you are on an “Cellular Internet” package, do not use AT+CGDCONT=1,”IP”,”WAPU” !

A nice dial-up script

Tuesday, July 1st, 2008

It’s either me, or NetworkManager sux. This is the most incomplete and incompetent piece of software I have ever seen. The only reason I actually use it is that there is no better alternative which does whatever NetworkManager manages, somehow, to do.

My initial thought was to setup NetworkManager as the dial-up component. What should be more obvious than that? Well, it just won’t connect, and its logs are horrific at best. So back to gksudo script for us, then…

You can put this script in /usr/local/sbin/ and change its permissions to eXecutable (by root, of course), and then add a nice menu item called “Cellular Internet” in your Gnome Menu. It should run ‘gksudo /usr/local/sbin/

That’s all.

Sierra AirCard 880E on Ubuntu

Tuesday, July 1st, 2008

To get your newly purchased Sierra AirCard 880E on your Ubuntu Hardy, you should follow these simple steps:

  1. Make sure you have GCC on your computer: ‘sudo apt-get install gcc
  2. Make sure you have kernel sources installed on your computer: ‘sudo apt-get install linux-headers-2.6.24-19-generic
  3. Download the driver from Sierra Wireless site
  4. Extract and compile (‘make‘, ‘sudo make install‘)
  5. Add to /etc/modprobe.d/blacklist-modem the line: ‘blacklist ehci_hcd’
  6. Insert the device into the laptop. When everything is OK, you should see that a USB device is registered using ‘dmesg‘ shortly afterwards, or ‘lsusb
  7. Configure /etc/wvdial.conf using the attached config file wvdial.conf
  8. Add to /etc/ppp/peers the file wvdial

Done. To connect, you need to run ‘sudo wvdial &

I will add in the future a nice gksudo with a nice-looking connect/disconnect script

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.