Linux WvDial Setup

From XMission Wiki
Jump to navigation Jump to search


WvDial Setup

  1. Make sure your modem is connected and turned on (if you have an external modem).
  2. Create a wvdial.conf file by issuing the following command:
  3. wvdialconf /etc/wvdial.conf
  4. This command will result in output similar to this:
    Scanning your serial ports for a modem.
    ttyS1<*1>: ATQ0 V1 E1 -- OK
    ttyS1<*1>: ATQ0 V1 E1 Z -- OK
    ttyS1<*1>: ATQ0 V1 E1 S0=0 -- OK
    ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
    ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
    ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 -- OK
    ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 -- OK
    ttyS1<*1>: Modem Identifier: ATI -- 5601
    ttyS1<*1>: Speed 2400: AT -- OK
    ttyS1<*1>: Speed 4800: AT -- OK
    ttyS1<*1>: Speed 9600: AT -- OK
    ttyS1<*1>: Speed 19200: AT -- OK
    ttyS1<*1>: Speed 38400: AT -- OK
    ttyS1<*1>: Speed 57600: AT -- OK
    ttyS1<*1>: Speed 115200: AT -- OK
    ttyS1<*1>: Max speed is 115200; that should be safe.
    ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 -- OK
    ttyS0<*1>: ATQ0 V1 E1 -- ATQ0 V1 E1 -- ATQ0 V1 E1 -- nothing.
    Port Scan<*1>: S2 S3
    Found a modem on /dev/ttyS1.
    ttyS1: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0"
  5. Edit your configuraton file at /etc/wvdial.conf and input your account information. The following lines should be changed:
    Phone = 9900900 <- Your local XMission access number.
    Username = acctname <- Your XMission username.
    Password = password <- Your password.
  6. To insure your PPP password is secure, issue the command,
    chmod 600 /etc/wvdial.conf
  7. Configuration is complete. To connect, issue the command "wvdial" at a root prompt.