beer9
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:
pppd process:
ppp0 interface:
message while connecting through wvdial
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]
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER