WVDIAL.CONF(5)
π WVDIAL.CONF(5) π
ok so bestie, welcome to the wvdial.conf manual page β yes it lives in File Formats Manual section 5, and yes it's giving "I read the docs so you don't have to" energy β¨
πΈ NAME πΈ
wvdial.conf β the wvdial configuration file, aka the little text file that holds your whole dial-up destiny π
β¨ DESCRIPTION β¨
ok so here's the tea π« β when wvdial starts up, the very first thing it does is load its config from /etc/wvdial.conf. That file has the basic deets about your modem port, your speed, and your init string, plus all the info about your Internet Service Provider (ISP) β like the phone number, your username, and your password. literally everything it needs to go make friends with the internet π
The config file /etc/wvdial.conf is in Windows "ini" file format, which means sections named inside square brackets, and a bunch of variable = value pairs chillin' inside each section. iconic format tbh.
Here's a sample configuration file, no cap:
[Dialer Defaults]
Modem = /dev/ttyS2
Baud = 57600
Init = ATZ
Init2 = AT S11=50
Phone = 555-4242
Username = apenwarr
Password = my-password
[Dialer phone2]
Phone = 555-4243
[Dialer shh]
Init3 = ATM0
[Dialer pulse]
Dial Command = ATDP
So that sample config up there? It contains all the options you need to run the two sample command lines given above. slay. And here is the complete list of settings that wvdial understands π
π THE SETTINGS (every single one, we're not skipping, periodt) π
Modemβ the location of the devicewvdialshould use as your modem. The default is/dev/modem. πBaudβ the speed at whichwvdialwill talk to your modem. The default is57600baud. β‘Init1...Init9βwvdialcan use up to nine initialization strings to set your modem up. Before dialing, these strings get sent to the modem in numerical order. These are especially useful when you're specifying multiple sections. Peep the example above that usesInit3to turn the modem's speaker off π The default is"ATZ"forInit1.Phoneβ the phone number you wantwvdialto dial. You can add up to 4 other phone numbers thatwvdialwill dial in order, by adding:Phone1Phone2Phone3Phone4Dial Prefixβwvdialwill insert this string after the dial command and before the phone number. For example, to disable call waiting (in North America, anyway) set this to"*70,". πDial Commandβwvdialwill use this string to tell the modem to dial. The default is"ATDT". πLoginβ you must set this to the username you use at your ISP.Login Promptβ if your ISP has an unusual login procedure thatwvdialis unable to figure out, you can use this option to specify a login prompt. When this prompt is received from your ISP,wvdialwill send theLoginstring. πPasswordβ you must set this to the password you use at your ISP.Ask Passwordβ by setting this option,wvdialwill prompt for your password on every dialin. So you don't have to save your password in/etc/wvdial.conf. (Option added by SuSE.) πPassword Promptβ if your ISP has an unusual login procedure thatwvdialis unable to figure out, you can use this option to specify a password prompt. When this prompt is received from your ISP,wvdialwill send thePasswordstring.PPPD Pathβ if your system haspppdsomewhere other than/usr/sbin/pppd, you will need to set this option. π£οΈAuto DNSβ try to get the Domain Nameserver (DNS) from the provider. This option is"on"by default. (Option added by SuSE.)Check DNSβ check the Domain Nameserver (DNS) after the connection has been set up. This option is"on"by default. (Option added by SuSE.)DNS Test1β first DNS lookup for DNS check. (Option added by SuSE.)DNS Test2β second DNS lookup for DNS check. (Option added by SuSE.)Check Def Routeβ check the default route after the connection has been set up. This option is"on"by default. (Option added by SuSE.)Force Addressβ this option only applies if you have a static IP address at your ISP, and even then you probably don't need it. Some ISPs don't send the IP address as part of the PPP negotiation. This option forcespppdto use the address you give it. π«ΆRemote Nameβ if your ISP uses PAP or CHAP authentication, you might need to change this to your ISP's authentication name. In most cases, however, it's safe to use the default value,"*".Carrier Checkβwvdialchecks your modem during the connection process to make sure it's actually online. If you have a weird modem that insists its carrier line is always down, you can disable the carrier check by setting this option to"no". πStupid Modeβ whenwvdialis in Stupid Mode, it does not attempt to interpret any prompts from the terminal server. It startspppdimmediately after the modem connects. Apparently there are ISPs that actually give you a login prompt, but work only if you start PPP, rather than logging in. Go figure π€· Stupid Mode is (naturally) disabled by default. (the name is honestly so unserious but okay π)New PPPDβ you need this option if you havepppdversion2.3.0or newer, to makewvdialcreate the file/etc/ppp/peers/wvdial. This option is enabled by default, so if you have an olderpppdyou need to set it to`no'(or upgradepppd). βDefault Replyβ whenwvdialdetects a prompt, and it hasn't seen any clues that indicate what it should send as a response to the prompt, it defaults to sending"ppp". Sometimes this is inadequate. Use this option to overridewvdial's default prompt response. π¬Auto Reconnectβ if enabled,wvdialwill attempt to automatically reestablish a connection if you are randomly disconnected by the other side. This option is"on"by default. πIdle Secondsβ set the hangup timeout in seconds. If there is inactivity for the given time, the connection is shut down. A hangup timeout of0disables this feature. π΄Abort on Busyβ if enabled,wvdialwill not retry the connection if the modem says that the line is busy. This option is"off"by default.Abort on No Dialtoneβ if enabled,wvdialwill not retry the connection if the modem says that there is no dialtone. This option is"on"by default. π΅Dial Attemptsβ if a value is set,wvdialwill quit after that many tries. If set to0,wvdialwill happily keep dialling forever. π₯Dial Timeoutβ the maximum time in seconds thatwvdialwill wait for a connection to be made. Default value is60seconds. β³
Oh and also β the wvdialconf(1) program can be used to detect your modem and fill in the Modem, Baud, and Init/Init2 options automatically. so you don't even have to do it by hand bestie, it does it for you β¨
π AUTHORS π
Dave Coombs and Avery Pennarun for Net Integration Technologies Inc. Great contributions have been made by many people, including SuSE and RedHat. Thanks guys! π
π¦ SEE ALSO π¦
wvdial(1), wvdialconf(1), pppd(8).
ok that's the whole page bestie, you ate that π this was WvDial, dated December 2005, and that's your WVDIAL.CONF(5) moment β go forth and dial, mwah π
π
π¦ where this page comes from
- arch rolling: wvdial 1.61-10 Β· LGPL-2.0-only
- debian bookworm: wvdial 1.61-6 Β· LGPL-2.0-only
- debian trixie: wvdial 1.61-8 Β· LGPL-2.0-only
- nixos 26.05: wvdial-unstable 2016-06-15
- nixpkgs unstable: wvdial 0-unstable-2016-06-15
- ubuntu jammy: wvdial 1.61-6 Β· LGPL-2.0-only
- ubuntu noble: wvdial 1.61-7build2 Β· LGPL-2.0-only
- ubuntu questing: wvdial 1.61-8
- ubuntu resolute: wvdial 1.61-8build1 Β· LGPL-2.0-only
- ubuntu stonking: wvdial 1.61-9 Β· LGPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms