dialup in ubuntu
Carl Karsten
carl at personnelware.com
Mon Sep 19 01:45:51 UTC 2005
I was just pointed to gnome-ppp which is a GUI around wvdial. looking into
wvdial, I find wvdialconf, so I run it.
root at dhcp44:/etc# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 -- OK
ttyS0<*1>: ATQ0 V1 E1 Z -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS0<*1>: Modem Identifier: ATI -- 3361
ttyS0<*1>: Speed 4800: AT -- OK
ttyS0<*1>: Speed 9600: AT -- OK
ttyS0<*1>: Speed 19200: AT -- OK
ttyS0<*1>: Speed 38400: AT -- OK
ttyS0<*1>: Speed 57600: AT -- OK
ttyS0<*1>: Speed 115200: AT -- OK
ttyS0<*1>: Max speed is 115200; that should be safe.
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Port Scan<*1>: S2 S3 S4 S5 S6 S7 S8 S9
Port Scan<*1>: S10 S11 S12 S13 S14 S15 S16 S17
Port Scan<*1>: S18 S19 S20 S21 S22 S23 S24 S25
Port Scan<*1>: S26 S27 S28 S29 S30 S31 S32 S33
Port Scan<*1>: S34 S35 S36 S37 S38 S39 S40 S41
Port Scan<*1>: S42 S43 S44 S45 S46 S47 S48 S49
Port Scan<*1>: S50 S51 S52 S53
Found a modem on /dev/ttyS0.
Modem configuration written to /etc/wvdial.conf.
ttyS0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
root at dhcp44:/etc# cat /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyS0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
; Phone = <Target Phone Number>
; Username = <Your Login Name>
; Password = <Your Password>
I set up the number/name/pw, and...
root at dhcp44:/etc# wvdial
--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT18479290020
--> Waiting for carrier.
ATDT18479290020
CONNECT 28800/ARQ
--> Carrier detected. Waiting for prompt.
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `
``` ` ```` ` `` ` ` ```````````` ``` `` `` ` ` ` ` ` ``` ``` ``````
```` ` ``` `` ` `` ` `` ` `````` ``` ` ` ``` ``````` ` ` `` `````` `` `` ``
` `` ````` `` `` `` `
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Sun Sep 18 20:34:02 2005
--> pid of pppd: 29801
--> Using interface ppp0
--> Using interface ppp0
--> Disconnecting at Sun Sep 18 20:34:32 2005
I LOVE the output this thing gives. It is a 28.8 modem, so CONNECT 28800 is what
I would hope for. This also does the user land stuff I was looking for - you need
admin privs to config it (sudo) but just need to be in the dialout group to run
it. The gui isn't too good about debugging problems, but so what? I think using
the command line is just fine for debugging.
Hats off to ogra who turned me onto this. Hope it works as well for the you and
the library.
^Carl Karten
More information about the ubuntu-users
mailing list