Avatar of beer9
beer9Flag for India

asked on 

pppd does not start

Hello, I am trying to use my USB data card modem to connect to internet. but what I see that it doesn't start at all and keep waiting forever then it gets killed.

wvdial.conf file:
[Dialer bsnlnet]
Init1 = ATZ
Init2 = at+cgdcont=1,"ip","bsnlnet"
Stupid Mode = 1
Modem Type = USB Modem
ISDN = 0
Phone = *99#
Modem = /dev/ttyUSB1
Username = " "
Password = " "
Baud = 7200000
Carrier Check = no

pppd process:
root     26142 26136  0 20:56 pts/3    00:00:00 /usr/sbin/pppd 7200000 modem crtscts defaultroute usehostname -detach user   noipdefault call wvdial usepeerdns idle 0 logfd 6

ppp0 interface:

root@darkstar:~# ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol  
          POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

message while connecting through wvdial
root@darkstar:~# wvdial bsnlnet
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: at+cgdcont=1,"ip","bsnlnet"
at+cgdcont=1,"ip","bsnlnet"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT 7200000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Tue Aug  9 20:56:42 2011
--> Pid of pppd: 26142
--> pppd: h[02][07][08]P[01][07][08]
--> Using interface ppp0
--> pppd: h[02][07][08]P[01][07][08]
--> pppd: h[02][07][08]P[01][07][08]
--> pppd: h[02][07][08]P[01][07][08]
Linux

Avatar of undefined
Last Comment
beer9
ASKER CERTIFIED SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of beer9
beer9
Flag of India image

ASKER

Thank you! :-)
Linux
Linux

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

71K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo