Avatar of beer9
beer9
Flag 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

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Duncan Roe

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
beer9

ASKER
Thank you! :-)
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy