Friday, December 26, 2008

How to Fix Firefox Offline Mode After Running wvdial

Open Terminal, run:

sudo gedit /etc/dbus-1/system.d/NetworkManager.conf

Find the first three of this line:

<allow send_interface="org.freedesktop.NetworkManager"/>

and change to 'deny'.

VLC Video Flickering on Ubuntu Intrepid

To solve video playback flickering on Ubuntu Intrepid with Compiz turned on: run VLC, select Tools -> Preferences -> Video -> Output, and choose 'X11 video output'.

Tuesday, December 02, 2008

How to Connect to IndosatM2 Broom From Ubuntu and Nokia E61 Using Bluetooth

  1. edit /etc/bluetooth/hcid.conf, and in options section, set 'security auto' and 'passkey "1234"
  2. initiate pairing from E61 and enter the passkey used in step 1
  3. set E61 discoverable and run from terminal: hcitool scan to find E61's MAC Address
  4. find channel for dial-up: sdptool browse [MAC Address]
  5. edit /etc/bluetooth/rfcomm.conf and enter:
    rfcomm0 {
    bind yes;
    device [MAC Address];
    channel [channel];
    comment "My Bluetooth";
    }
  6. sudo /etc/init.d/bluetooth restart
  7. if you want to check the bluetooth device, run: rfcomm
  8. edit /etc/wvdial.conf and change the modem to: /dev/rfcomm0

How to Connect to IndosatM2 Broom From Ubuntu and Nokia E61

Edit /etc/wvdial.conf and add these lines below:

[Dialer broom]
Modem = /dev/ttyACM0
Baud = 3600000
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","indosatm2"
Area Code =
Phone = *99#
Username = username
Password = password
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 0
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

To allow unprivileged user to dial:
1. sudo groupadd dialup;
2. sudo chgrp dialup /dev/ttyACM0
3. sudo chmod g+w /dev/ttyACM0
4. sudo chgrp dialup /etc/ppp/pap-secrets
5. sudo chgrp dialup /etc/ppp/chap-secrets
6. sudo chmod g+w /etc/ppp/pap-secrets
7. sudo chmod g+w /etc/ppp/chap-secrets
8. sudo chgrp dialup /etc/wvdial.conf
9. sudo chmod g+w /etc/wvdial.conf
10. Add user to dialup group in /etc/group

For Ubuntu Jaunty Jackalope:
11. sudo chmod u+s /usr/bin/wvdial