.

mob

Tips Inside Moved To New Domain

Showing posts with label Linux tips. Show all posts
Showing posts with label Linux tips. Show all posts

Friday, September 10, 2010

How to connect GPRS Internet on Ubuntu 9.10 using Nokia mobile phone

In UBUNTU Linux, The mobile internet is not possible at older version, Here today our tips go for about it, Some time our mobile phones play an important role on wireless internet, here our linux not providing the easier form to connect mobile to their hardware, For example: Nokia mobile having PC Suite for windows operating system, here the internet is possible in a single click, but there no PC suite for linux, Here WVDIAL is used to connect mobile internet to linux, just we require an mobile, Data Cable, Unlimited internet usage from service provider,



Step to Install Mobile Internet In Linux.

  • Then open up a terminal and type:


lsusb

  • and you ll get something like that:

Bus 001 Device 005: ID 0421:02e3 Nokia Mobile Phones
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

  • The first line corresponding to your Nokia phone, has two numbers: 421 which is the vendor ID and 2e3 which is the product ID. These two numbers must be used in order to enable the serial connection through the usb cable from the connected phone. On that terminal type:

sudo modprobe usbserial vendor=0x421 product=0x2e3

  • In your case go ahead and replace the above numbers with the ones from your output.

  • Now, if you do not have wvdial installed, go ahead and install it (in debian-like linux distros):

sudo apt-get install wvdial

And now you are ready to start configuration for your modem. On the terminal type:

sudo wvdialconf create

  • The tool will try to identify the serial port the modem is connected and will make some tests in order to give you the final settings. Hopefully you will get a -not so small- list ending with something like this:

Found an USB modem on /dev/ttyACM0.
Modem configuration written to create.
ttyACM0: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

  • So, /dev/ttyACM0 is the device node that it is going to be used with speed 460800. Now, we will edit the options for dialing. Edit the following file with your favourite editor:

sudo vi /etc/wvdial.conf

  •  And enter the following:

[Dialer Defaults]
Modem = /dev/ttyACM0
BAUD = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=, ,"airtelgprs.com"
Phone = *99***1#
Username = web
Password = web
New PPPD = yes
Stupid Mode = 1

  • Edit the above according to the setting that you received. Also, change the "airtelgprs.com" according to your cell settings.

  • Save it, close it and then in terminal type:

sudo wvdial

  • And if you get the following:Carrier detected.  Starting PPP immediately.;
  Starting pppd at Thu Apr 15 15:27:00 2010
  Pid of pppd: 2975
  Using interface ppp0
  pppd: `(Q �1Q �(Q
  pppd: `(Q �1Q �(Q
  pppd: `(Q �1Q �(Q
  pppd: `(Q �1Q �(Q
  local  IP address 188.73.249.223
  pppd: `(Q �1Q �(Q
  remote IP address 10.6.6.6
  pppd: `(Q �1Q �(Q
  primary   DNS address 212.152.70.6
  pppd: `(Q �1Q �(Q
  secondary DNS address 212.152.70.7
  pppd: `(Q �1Q �(Q

  • You are done!!! You have internet from your mobile and you can go ahead and start using the internet!

The  above solution can be achieved through a bluetooth connection. First of all, you need to have bluetooth utilities installed on your machine. So make sure to install them.
After installing them, open up a terminal and type:

hcitool scan

  • This will identify all bluetooth devices that are in range. When your device shows up, use its MAC address to identify the channel for the rfcomm property (needed to access the modem):

sdptool search DUN

  • This will give you a list for the properties of your phone:


Inquiring ...
Searching for DUN on [mac address] ...
Service Name: Dial-Up Networking
Service RecHandle: 0x1001a
Service Class ID List:
  "Dialup Networking" (0x1103)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 22
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

  • Note the MAC and the channel number so that you may use it. Now we should create the rfcomm0
  • node so that it can be accessed:
sudo rfcomm bind 0 [mac address] [channel]

  • The device node has been created and now you can use it for dialup. Last step before dialing, you should change the modem property on wvdial.conf to:

modem = /dev/rfcomm0

And you are done!

Sunday, May 23, 2010

HowTo: Reinstall Ubuntu Automatically

Sometimes after a partial upgrade of Ubuntu you suddenly find that it has broken down the System Dependency Tree and now you are unable to revert back the changes.
In such cases there is a very simple command that reinstalls all the distribution packages and reconfigures them automatically.
sudo dpkg-reconfigure -phigh -a
Since this command would take a lot of time to process (~1 hour) depending on your hardware in case you have a minor dependency problem you can fix it via
sudo apt-get install -f

Saturday, May 8, 2010

VLMC – VideoLAN Movie Creator

The folks behind AddictiveTips’s favorite VLC Media Player are working on their next project, a video editor called VideoLAN Movie Creator(VLMC). It will be cross-platform just like VLC media player, i.e, it will work on Windows, Linux, and Mac.





It is under development stage at the moment and the pre-release version will be available to the developers “very soon” according to VideoLAN Movie Creator website. The current version has lots of bugs, but if you can’t wait to give it a try, grab the unstable linux release from the website(link given below).
Here is a quick 5 minutes video showing the demo of VLMC.



VideoLAN Movie Creator

[Source]

Mp3 Diags: Fix Upto 50 Problems With Mp3 Audio Files in linux

MP3 Diags is the ultimate tool to fix problems in your music audio collection. It can properly tag your mp3 files, add missing album cover art, fix VBR headers, fix audio with poor sound quality, and much more. To put it in a nutshell, unlike other programs who focus on fixing one or two problems, Mp3 Diags scans and repairs upto 50 different problems.

On first start, choose the directories to scan for mp3 files, backup destination, and other settings. Make sure you have a backup of the mp3 files since the original mp3 audio files will be modified by the program.


Once the main window is open, choose the music folder which you want to scan and it will load all music files on the main program. Now you can choose to apply a certain fix by clicking the fix button, there are four different types of fix buttons given next to the main fix button. You can choose to add a certain number of fixes to each button(from Preferences window) so that it becomes easier to repair the mp3 collection in one click.
So what does aa, ab, ae, ak, etc which are given next to the file name stand for? The information is displayed under notes and further detailed information is given at the bottom.


It has a build-in tag editor which adds missing tag information, album art, etc and also corrects the wrong placement of tags/headers. Just next to the Tag editor button is the Normalization button which can fix the missing normalization data.


Looking for a tool to split Mp3 file? Give Mp3Splitter a shot. Mp3 Quality Modifier can compress the Mp3 files, while Mp3val can quickly repair the mp3 files that fails to play on your iPod or any other mp3 player.
Download Mp3 Diags (Main Site)
It works on Windows XP, Windows Vista, and Windows 7. Linux versions are also available.

Subscribe via MAIL

Enter your email address:

Delivered by FeedBurner