On Tue, Sep 18, 2001 at 02:33:47AM -0700, SURJO DAS wrote:
> 
> I have been trying to  configure the dialup configuration 
> using kppp.  Unfortunately, I  cannot  use  wvdial as the 
> Motorola SM56  Internal  Modem  does not  get detected by 
> wvdialconf utility. So I had to use kppp using /dev/modem 
> as the device.
> 

You do not need wvdialconf to set up your modem strings and
you can even enter it manually. Just  note  down your modem
init string as you use in windows. Make a file as root with
the name /etc/wvdial.conf. Put something like this:

---------<snip>-----------

[Dialer Defaults]
Phone = NNNNNN        # actual phone number
Username = [EMAIL PROTECTED]
Password = your_password
Dial Command = ATDT   # or ATDP for pulse dial
New PPPD = yes
Modem = /dev/sm56     # put in the correct device here
Baud = 57600
Init1 = ATZ
Init2 = AT&F E0 V1 E1 &C1 &D2 S95=47 S10=250 X3 L3 

--------</snip>-----------

Note: INIT2 needs to be modified for your card. I have only
put in a default set which works well with VSNL connects.

Type in wvdial as root ... and it should work.

Note, /dev/modem is not a device. This is usually a symlink
to the actual device. Ensure that the symlink is pointed to
the correct device ("ls -al /dev/modem").

Your ppp device should be registered by your kernel at boot
For checking do a "dmesg | less".  You should get something
like:

PPP: version X.Y.Z (demand dialling)
PPP line discipline registered.
PPP BSD Compression module registered
registered device ppp0

If not, you know where the problem lies ... the kernel !

> This issue is that I am trying to configure dial-up access 
> using kppp for a VSNL account. After configuring the acco-
> unt and trying to dial, the modem  dials to the VSNL Server 
> and I get the following error message.
> 
> pppd daemon died unexpectedly
> LCP terminated by peer.
> 
> I have the following entries in /etc/resolv.conf
> 
> nameserver 202.54.12.6
> nameserver 202.54.12.3

Amend this section to read :

search whatever.vsnl.net.in
domain whatever.vsnl.net.in
nameserver 202.54.12.6
nameserver 202.54.12.3
 
> 
> I also have the following entries in /etc/ppp/options
> 
> lock
> noauth
> usepeerdns
>

Also ensure that the general PPPD options are fulfilled here
in /etc/ppp/options. The usual things  which  work with VSNL
looks something like this ...

-----------<snip>-----------------------
# General configuration options for PPPD:
lock
defaultroute
noipdefault
modem
/dev/xxxx       # enter correct device
57600
crtscts
# for more verbose error reporting:
debug

#noauth         # To avoid  PPPD authentication which
                # VSNL does  not need, no harm though
                # keeping noauth enabled for dial-out
                # only boxes.
                                
-----------</snip>-----------------------

Please see the docs in /usr/share/doc/ppp* to under-
stand what I am talking about.
 
> When I read the /var/log/messages file, I see the
> following error
> 
> modprobe:  Can't locate module ppp0

This is what surprises me. Please do a "lsmod" and see
if ppp is listed there ... I can't understand above ..

> pppd 2.4.0 started by root, uid 0
> Using interface ppp0
> Connect: ppp0 <--> /dev/sm56
> LCP terminated by peer
> Connection terminated
> Exit
> 

Obviously, your pppd has failed in linking to VSNL and VSNL
got fed up and ditched you !

HTH

USM Bish


:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Changing 80x25 on console                      LOST #068

To change console from default 80x25,  experiment with various
settings in /etc/TextConfig. You  need  to have "svgatextmode"
package installed for that. It will work on console only ..... 
It will not work under X (i.e. xterm or rxvt).
Try: SVGATextMode 80x30x9   

####<[EMAIL PROTECTED]>####################################
:

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to