Showing posts with label Debian. Show all posts
Showing posts with label Debian. Show all posts

Wednesday, February 9, 2011

Debian 6.0 "Squeeze".

Yes, a new version of Debian OS is relesed.And It Is no longer

just a Linux distribution,from now onwards It'll also supports FreeBSD kernel.


You can get it from it's official (and now updated :) ) website,to visit click here.


Saturday, December 11, 2010

Debian/rules..!!


Debian is everywhere,see my new Debian based shampoo.. :) :P

jokes apart after a days of understanding/experiments (this experiments will be posted one by one on this blog) I get my tuned Debian desktop like this :


Saturday, July 17, 2010

Mini-DebConf in India.

Yes,If you don't able to attend Debconf10 in New-york :).Then here you go all Debian lovers a Mini-DebConf held in Pune.I recently got this news from Kartikbhai's blog.If you are near around Pune and have interest in Debian or in Opensource than this is the golden chance for you.I wish something happened and I may also visit this fab event.

for more details you can visit

http://wiki.debian.org/DebianIndia/MiniDebConf2010

Friday, April 16, 2010

Internet on Debian Lenny/Linux using GPRS enabled cellphone.

There are mainly three ways to connect internet with your laptop.

1. Through the ethernet port normally a broadband connection.

2.Wi-Fi

3.USB modem

You may have some other ways also.Now in my case I love Debian/Linux operating system but I coud't connect Internet using first option because ethernet port is working correctly but I couldn't afford it,second one is availavle for me but my Wi-Fi chip has some driver problem.So I decided to connect Internet through my GPRS enabled cellphone(Nokia N72).After searching too many pages and trying many things and after finding a very good help from Linux Gujarat Group from google group.I 've been able to connect it.After my experience I made one tutorial which may helpful to you.

In my experience I used,(It may be work fine with other cellphones and Linux distros also)

Operating system : Debian Lenny 5.0

cellphone : Nokia N72(using DKU data-cable)

Service provider : Airtel India

step1:

First of all we need to configure the modem parameters of your cell phone.Connect the cell phone to the laptop computer with the USB cable.After that we require special package called wvdial(you must have connectivity with Internet for downloading,I used ethrnet connection of my friend)

And then type as root:

# apt-get install wvdial

after that

# wvdialconf

step 2:

After doing this, wvdialconf has examined your cell phone and after a successful connection with it has determined the correct parameters of your modem and written it to a file. But now we must tweak this configuration file, so that we type as root:

# apt-get install gedit

# gedit /etc/wvdial.conf

You need to delete the following lines of code:

Modem Type = USB Modem Modem = /dev/ttyACM0 


-Your wvdial.conf should have the code like this one : (you may require some changes according to your service provider,If its same then just copy and paste the below code)

[Dialer blz-scb]
Modem = /dev/rfcomm0
[Dialer usb-scb]
Modem = /dev/ttyACM0
Modem Type = USB Modem
[Dialer Defaults]
APN = airtelgprs.com
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","airtelgprs.com"
Modem Type = USB Modem
ISDN = 0
Phone = *99#
Username = A
New PPPD = yes
Password = B
Modem = /dev/ttyACM0
Baud = 460800

Now we save the file without changing name nor location and we are ready. The cell phone modem is completely configured, and we can use it.

step 3 :

Before connecting your laptop to your cell phone, we first need to bring down your existing network connection. To do that, we type as root:  
# ifconfig eth0 down # mv /etc/resolv.conf   /etc/resolv.conf.eth0 

  • And eth0 is the name of your active network interface. In case you are not sure about the name of your interface, just type as root:

# ifconfig 

So that all active interfaces will appear.

step 4 :

If you want to connect your laptop to the internet via USB to your cell phone. Just connect the cables and type as root:

# wvdial usb-scb& 

You are done. You can surf the web, or check your e-mail.

This is it,If you've any problem regarding this topic you can ask in comments.

Sources:

1. http://wiki.debian.org/UseYourCellPhoneAsModem?highlight=%28%28UseYourCellPhoneAsModem%29%29

2. http://groups.google.com/group/linux-gujarat/browse_thread/thread/46aefbb82dec1b13?hl=en&pli=1