Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts
Here's the step to setup modem BandLuxe C100 WCDMA on your Ubuntu.

1. You need to install package wvdial first.
Check your system in terminal using :
#dpkg -l | grep wvdial

2. Make sure you're disconnected from ethernet / LAN
Stop the network in terminal using :
#/etc/init.d/networking stop


3. Plugin the modem BandLuxe C100 into USB Port

4. Open terminal and login as root

5. Make a symbolic link from ttyUSB0 to modem
#ln -s /dev/ttyUSB0 /dev/modem

6. Type this as root :
#wvdialconf

7. Edit file /etc/wvdial.conf
Phone = {your ISP dialup #}
Password = { your ISP login password }
Username = { your ISP login name }
Save the file

8. Connect to ISP using this command in terminal :
#wvdial
If you can see the IP WAN and DNS address then the connection is successful.
Try using ping test to a website.

9. To disconnect from the ISP hold and press Ctrl+C on the opened terminal.

I'm sure many have you familiar with how to download videos from YouTube and we all know that the format are in FLV.

We know how to open those files in Linux but what if we want to open them in DVD player ? Then you need to convert them at least to AVI or MPEG formats.


Although there are many ways and applications to convert them, this time we will try to convert FLV into MPG video.

Install the required encoder/decoder
sudo apt-get install mencoder avidemux transcode ffmpeg2theora
To convert the FLV video into MPG, use this command
ffmpeg -i video1.flv -y -sameq video1.mpg


Notes : The command above will change file Video1.flv into Video1.mpg




Sometimes we need to update our linux system from the internet but the update took so long we canceled them and hopefully we could try next time when the internet connection a bit better.

Actually we don't have to wait for a better connection. When we tried to update to the internet, usually it would go to the default repository.

We could always change the repository in the /etc/apt/sources.list to the nearest repository to our location so we could get more fast reply as well.

In Indonesia, there are several repository to choose but my favourite is www.kambing.ui.edu

They also have repository for other linux system such as fedora, mandriva, debian, etc.

To add the repository to your system :

1. Open /etc/apt/sources.list in the console/terminal
2. Add this line at the bottom of the list :

For Ubuntu 7.10 :

deb http://kambing.ui.edu/ubuntu gutsy main restricted multiverse universe
deb http://kambing.ui.edu/ubuntu gutsy-updates main restricted multiverse universe


For Ubuntu 7.04 :

deb http://kambing.ui.edu/ubuntu feisty main restricted multiverse universe
deb http://kambing.ui.edu/ubuntu feisty-updates main restricted multiverse universe

3. Save the file
4. Still in the console or terminal, run : apt-get update

Now you can install and update all your system files in ubuntu.
** This tips only work for Virtual Box 1.5.4

1. Install needed software :
$apt-get install bridge-utils uml-utilities

2. Edit file /etc/network/if-pre-up.d/uml-utilities :
- replace chown root:uml-net /dev/net/tun
with chown root:vboxusers /dev/net/tun

3. Stopped networking :
$/etc/init.d/networking stop

4. Edit file /etc/network/interfaces :
(adjust accordingly )

auto lo
iface lo inet loopback

auto tap0
iface tap0 inet manual
tunctl_user user --> user login name
uml_proxy_arp 10.32.15.220 --> change according to your own ip address
uml_proxy_ether eth0 --> if your network card is eth1 then change accordingly

auto br0
iface br0 inet static
address 10.32.15.220
netmask 255.0.0.0
gateway 10.32.15.3
bridge_ports eth0 tap0
bridge_maxwait 0

auto eth0
iface eth0 inet manual

5. Start networking :
$/etc/init.d/networking start

*** Updated 29/10/2008
I've tried this trick above with VirtualBox 2.0.4 and it work like a charm :D

You only have to add this line below to work :

VBoxAddIF vbox0 [username] br0

Well let me know if it's working for you.