Monthly Archives: February 2008

Huawei E220 on Ubuntu Gutsy for Vodafone Australia

  • if running a recent kernel, just plugin and check option module is being loaded
  • $ lsmod | grep option
  • also look in /var/log/messages
  • $ less /var/log/messages
    option 5-2:1.0: GSM modem (1-port) converter detected
    usb 5-2: GSM modem (1-port) converter now attached to ttyUSB0
    option 5-2:1.1: GSM modem (1-port) converter detected
    usb 5-2: GSM modem (1-port) converter now attached to ttyUSB1
  • use this /etc/wvdial.conf
  • [Dialer hsdpa]
    Phone = *99***1#
    Username = vodafone
    Password = vodafone
    Stupid Mode = 1
    Dial Command = ATDT
    Modem = /dev/ttyUSB0
    Baud = 460800
    Init2 = ATZ
    Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
    ISDN = 0
    Modem Type = Analog Modem
    Init5 =AT+CGDCONT=1,"IP","vfinternet.au";
  • connect using this command (check you’re in the
  • wvdial hsdpa

    Change first day of week in Ubuntu’s Gnome Calendar

    Under the Australian locale, the first day of the week appears as Sunday rather than Monday, which is incorrect. To change it:

    • check which locale is running, using the locale command (ie en_AU)
    • sudo vi /usr/share/i18n/locales/en_AU and change first_weekday to 2
    • regenerate the locale using sudo locale-gen
    • get the calendar to reload using killall gnome-panel

    In another post, I also show how to automate this, so it doesn’t get reset by Ubuntu’s automatic updates.

    See also:

    Setup a forwarding caching-only DNS Server on Ubuntu

    A quick cheatsheet for setting up a forwarding, caching-only DNS Server on Ubuntu. (more…)