[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring the Huawei E620 dongle to work using wvdial



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Samad wrote:

> I am doing something similar with tpg (aka optus), can I suggest just
> using pppd call <profile name>  debug until you work out what the
> problem is, it all looks okay to me. but debug should give you some
> more info.

I looked at what the pppd manual page has to say about the "call <name>
debug" option.  I am not sure what in this situation the <name> should
be.  Under "call <name>" the pppd manual name has this to say:

"Read additional options from the file /etc/ppp/peers/<name>. This file
may contain privileged options, such as noauth, even if pppd is not
being run by root. The name string may not begin with / or include .. as
a pathname component. The format of the options file is described below."

In the /etc/ppp/peers/ directory there is only one file created since I
started trying to configure the E620: wvdial.distrib. The directory also
has a symbolic link: wvdial --> wvdia.distrib.  That file contains the
following text:

noauth
name wvdial
usepeerdns

Should the <name> in "call <name> debug be wvdial?

Under the "debug" option in the "pppd" manual page appears the following:

"Enables connection debugging facilities. If this option is given, pppd
will log the contents of all control packets sent or received in a
readable form. The packets are logged through syslog with facility
daemon and level debug. This information can be directed to a file by
setting up /etc/syslog.conf appropriately (see syslog.conf(5))."

So, to make life easier I should add the following line in the rules
section of /etc/rsyslog.conf (rssyslog is installed in my laptop,
successor apparently to syslog):

pppd.*	-/var/log/pppd.log

Correct?  (I suppose I could grep all the pppd entries in / var/syslog
to a separate file, but amending the rsyslog.conf seems easier and neater.)

Finally, I should run the full command as root with the dongle attached,
 yes?

Regards, Ken Heard

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwYhnwACgkQlNlJzOkJmTfDyQCfTK9XH8NRQ5KUmnfc67CcQ8Vh
3OEAnRjzspMWZQumfVq3FVr3D/xuXpiX
=EJa+
-----END PGP SIGNATURE-----


Reply to: