Misplaced Pages

WvDial: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 17:43, 19 May 2015 edit136.2.1.112 (talk) Re wrote sentence to not improperly use the word you← Previous edit Revision as of 16:06, 26 May 2015 edit undoRitchie333 (talk | contribs)Edit filter managers, Autopatrolled, Administrators125,291 edits rm WP:NOTMANUAL - possibly copy of the man page?Next edit →
Line 20: Line 20:
| website = | website =
}} }}
'''WvDial''' (pronounced 'weave-dial' <ref></ref>) is a utility that helps in making ]-based connections to the Internet that is included in some important Linux distributions.<ref></ref> WvDial is a ] ]: it dials a modem and starts ] in order to connect to the ]. '''WvDial''' (pronounced 'weave-dial' <ref></ref>) is a utility that helps in making ]-based connections to the Internet that is included in some important Linux distributions.<ref></ref> WvDial is a ] ]: it dials a modem and starts ] in order to connect to the ]. It uses the ] library.<ref></ref>


WvDial uses heuristics to guess how to dial and log into a server, alleviating the need to write a login script.<ref></ref>
When WvDial starts, it first loads its configuration from <tt>/etc/wvdial.conf</tt> and <tt>~/.wvdialrc</tt>, which contain basic information about the modem port, speed, and init string, along with information about your ISP, such as the phone number, your user name, and your password.<ref name="wvdial"></ref>

Then it ] (strings are sent to the modem) and ] the server and waits for a connection (a '']'' string from the modem). Any time after connecting, WvDial will start PPP if it sees a PPP sequence from the server or, alternatively, tries to start PPP. If all of this fails, WvDial just runs ] and hopes for the best.<ref name="wvdial" />

The connection started with WvDial can be dropped by switching back to the terminal from where it was started and pressing Ctrl-C.

WvDial uses the ] library.<ref></ref>

== WvDial and chat ==
It uses heuristics to guess how to dial and log into your server rather than forcing you to write a login script.<ref></ref>

== wvdialconf utility ==
If <tt>/etc/wvdial.conf</tt> is not present, the easiest way to create it is to use configuration utility '''wvdialconf''' .

It helps in generating the configuration file needed by WvDial. wvdialconf detects your modem, and fill in automatically the Modem, maximum Baud rate, and a good ] (Init options) and generates or updates the WvDial configuration file (/etc/wvdial.conf) based on this information.

It is safe to run wvdialconf if a configuration file already exists. In that case, only the Modem, Baud, Init, and Init2 options are changed in the section, and only if autodetection is successful.

wvdialconf is a non-interactive utility ( that means that you still need to edit /etc/wvdial.conf to specify the phone number, login name, and password of your internet account in order for WvDial to work).

Example:
wvdialconf /etc/wvdial.conf

Here, /etc/wvdial.conf is the path of the file that needs to be created or updated with the details that wvdialconf detects.

The configuration file built by wvdialconf still needs to be updated with the details like your phone number, username, password for your internet connection in order for WvDial to work.

== Files ==
* /dev/ttyS (] modems) and /dev/ttyUSB (]s).

* /etc/ppp/peers/wvdial : required for correct authentication in pppd version 2.3.0 or newer.

* /etc/ppp/{], ]}-secrets : Contains a list of usernames and passwords used by pppd for authentication. WvDial maintains this list automatically.

=== wvdial.conf ===
When WvDial starts, it first loads its configuration from '''/etc/wvdial.conf'''. The configuration file /etc/wvdial.conf is the equivalent to the Windows "ini" file format, with '''section'''s named in square brackets and a number of variable = value pairs within each section.

Here is a sample configuration file:

Modem = /dev/ttyACM0
Baud = 460800
Init = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = USB Modem
Phone = #777
Username = adi candra
Password = topengbaja
stupid mode = 2

This example that uses Init3 to turn the modem's speaker off. The default is "ATZ" for Init(1).

When WvDial is in Stupid Mode, it does not attempt to interpret any prompts from the terminal server. It starts pppd immediately after the modem connects. In some cases there are ISP's that present a login prompt, but work only if PPP is started, rather than logging in.

== Log ==
If WvDial fails to establish the communication, type the following commands:
script wvdial.log
wvdial
exit

== Ready ==
After starting wvdial you can know if your session is ready with `<code>/sbin/ip addr</code>` which, if OK, will show a ] interface entry.


==Graphical frontends== ==Graphical frontends==

Revision as of 16:06, 26 May 2015

This article uses second-person (you) inappropriately. Please help rewrite it to use a more formal, encyclopedic tone. (May 2015)
WvDial
Original author(s)Dave Coombs / Avery Pennarun
Stable release1.61 / September 19, 2009
Repository
Operating systemLinux
Available inindonesia
TypeInternet
LicenseGNU Lesser General Public License
Websitealumnit.ca

WvDial (pronounced 'weave-dial' ) is a utility that helps in making modem-based connections to the Internet that is included in some important Linux distributions. WvDial is a Point-to-Point Protocol dialer: it dials a modem and starts pppd in order to connect to the Internet. It uses the wvstreams library.

WvDial uses heuristics to guess how to dial and log into a server, alleviating the need to write a login script.

Graphical frontends

There are some GUI tools which allows using WvDial:

See also

References

  1. freshmeat.net: Project details for WvDial
  2. Wv Dial - open.alumnit.ca
  3. Wv Streams - open.alumnit.ca
  4. chat(8) - Linux man page
  5. http://osx.freshmeat.net/projects/x-wvdial/ , http://www.xfree86.org/4.4.0/xmessage.1.html

Further reading

External links

Categories: