IT Community - Software Programming, Web Development and Technical Support

How to make BSNL Dial up connection from Ubuntu

This is a discussion on How to make BSNL Dial up connection from Ubuntu within the Operating Systems forums, part of the Computer Hardware/Software and Networking category; Hi all i am using BSNL Dial up connection from Windows system. Now i want to switch over to linux. ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Computer Hardware/Software and Networking > Operating Systems

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-18-2007, 04:12 AM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default How to make BSNL Dial up connection from Ubuntu

Hi all
i am using BSNL Dial up connection from Windows system.
Now i want to switch over to linux.
I have installed Ubuntu in my system. But i am not able to connect to the internet. How to make dial up connections in Ubuntu/Linux.

Can anyone here help me on this?

Thanks in advance
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-18-2007, 04:39 AM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default Re: How to make BSNL Dial up connection from Ubuntu

hello my friend..

here is what you want..

The LINESPEED used to connect to the modem has been assumed to be 115200 bps. If your system is older, you may need to use a slower speed such as 38400 or 19200.
the steps are...
1.Login as root.

2.Use modemtool to set /dev/modem to the right port for your modem. If your modem gives you a NO-DIALTONE error , you will need to set ATX1 on your modem using minicom and write this using AT&W.

3. Edit the /etc/resolv.conf file to have the following information. Set the nameserver entries as needed (get this important information from your ISP if it is other than DOT Hyderabad).

mjollnir# cat /etc/resolv.conf
search vsnl.net.in
nameserver 202.54.30.1
nameserver 202.54.1.30

4.Edit the following files to have the lines as below. Be sure to make these modifications as per your requirements.

5.In chat-ppp0, make sure you use the actual username and password instead of the dummy xyz and secret used (yeah, obvious, but still ...)

6.Also remember to change the telephone number as needed (172222 is the access number for DOT Hyderabad).

7.If your telephone exchange does not support tone dialling (also called DTMF or fast dialling), change the string ATDT to ATDP in the chat-ppp0 script. Yeah, we do still have a few such "crossbar" exchanges - direct descendants of the original developed by a Kansas undertaker called Almon Strowger, over a hundred years ago (not all that many of them, to be sure, but these dinosaurs do exist).

8.If you have an older machine and modem, it may not support a speed of 115.2 kbps. In that case , you will have to change the LINESPEED line - try 57600, 33600, 19200 or whatever works on your machine. Anything above an old 486 shouldn't matter.

9.You will need to dial up from minicom and check what are needed and tailor the following files accordingly. This is very important as the chat script will fail if you do not have the right 'expect' and 'send' sequences.

for example here are the files..

Here are the files.

/etc/sysconfig/network-scripts/chat-ppp

'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'ATZ'
'OK' 'ATDT172222'
'CONNECT'
'name:' 'xyz@dummy.vsnl.net.in'
'ord:' 'secret'
'>' 'ppp'
'TIMEOUT' '5'

/etc/sysconfig/network-scripts/ifcfg-ppp0

PERSIST=yes
DEFROUTE=yes
ONBOOT=no
INITSTRING=ATZ
MODEMPORT=/dev/modem
LINESPEED=115200
ESCAPECHARS=no
DEFABORT=yes
HARDFLOWCTL=yes
DEVICE=ppp0
PPPOPTIONS=
DEBUG=no
PAPNAME=
REMIP=
IPADDR=
BOOTPROTO=none
MTU=
MRU=
DISCONNECTTIMEOUT=
RETRYTIMEOUT=10
USERCTL=yes


10. Now set the modes for the files using the commands

chmod 0600 /etc/sysconfig/network-scripts/chat-ppp0
chmod 0644 /etc/sysconfig/network-scripts/ifcfg-ppp0

11. * You can start ppp by running

/usr/sbin/usernetctl ppp0 up


and stop it with

/usr/sbin/usernetctl ppp0 down

Enjoy..
-Bluesky
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-18-2007, 04:43 AM
nnraja nnraja is offline
D-Web Programmer
 
Join Date: May 2007
Posts: 94
nnraja is on a distinguished road
Default Re: How to make BSNL Dial up connection from Ubuntu

hello suresh.,

one of the Easiest way is using command line way (assuming ubuntu install CD comes with wvdial):

# sudo apt-get install wvdial
# sudo wvdialconf
<output.... hopefully you have only one modem device, if the modem is
not detected you're in trouble (internal winmodem?)>

# sudo vi /etc/wvdial.conf
Edit the username, password and phone number fields and remove the
semi-colon ";" in front of them.

At least earlier, I've found that for dialling to BSNL you need to
disable "Check for dialtone".So add the line:
Abort on no dialtone = off

If you're having problems with GUI's like KPPP, try to disable dialtone check.

Thanks
nnraja
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Linux prasannavigneshr Operating Systems 7 02-28-2008 10:24 PM
What is the difference between internet connection and GPRS or mobile net connection? sathishkumar Computer Hardware 2 08-11-2007 04:16 AM
What do you make from Adsense? spid4r Google 0 03-08-2007 11:48 PM
Make Your Products Different theseokit Promotion Techniques 4 03-08-2007 11:15 PM
If you to make a movie... djree The Lounge 0 03-08-2007 01:24 PM


All times are GMT -7. The time now is 01:48 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0