Re: Not Debian related. wvdial
Kent West wrote:
> If you don't know if you have a winmodem or not, let us know the
> make/model, or at least the chipset (look for the numbers on the bigger
> chips on the, presumably internal, modem). If you have the box/paperwork
> that came with the modem, does it state that it requires some sort of
> Windows? (It's okay if it says the included communication software
> requires Windows, but we're concerned about the modem itself, not the
> included software).
My modem is a V.90 56K external from Creative called Blaster.
> If it's not a winmodem, you might try minicom (assuming you can get it
> installed on Redhat; on Debian it's as simple as typing "apt-get install
> minicom"). Although minicom won't let you "get on the net" so-to-speak,
> it'll let you make sure the modem is working and you're getting past the
> login routine of your ISP.
>
> Give us more details and we'll go from there.
The output from "wvdialconf /dev/null 2>1 | tee wvdialconf.out"
Scanning your serial ports for a modem.
Port Scan<*1>: Ignoring ttyS0 because /dev/mouse is a link to it.
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 -- 56K
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
Port Scan<*1>: S3 S4 S5 S6 S7 S8 S9 S10
Port Scan<*1>: S11 S12 S13 S14 S15 S16 S17 S18
Port Scan<*1>: S19 S20 S21 S22 S23 S24 S25 S26
Port Scan<*1>: S27 S28 S29 S30 S31 SA0 SA1 SA2
Port Scan<*1>: SC0 SC1 SC2 SC3 SI0 SI1 SI2 SI3
Port Scan<*1>: SI4 SI5 SI6 SI7 SI8 SI9 SI10 SI11
Port Scan<*1>: SI12 SI13 SI14 SI15 SR0 SR1 SR2 SR3
<<<< removed some lines here >>>>>>>>
Found a modem on /dev/ttyS1.
ttyS1<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0"
This is my wvdial.conf file
[Dialer Defaults]
Modem = /dev/ttyS1
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
Phone = 999-9999
Username = myuser
Password = mypassword
The output from wvdial 2>&1 | tee wvdial.out
--> WvDial: Internet dialer version 1.41
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT 999-9999
--> Waiting for carrier.
ATDT 999-9999
CONNECT 50667
PROTOCOL:LAPM
--> Carrier detected. Waiting for prompt.
Welcome to 3Com Total Control HiPer ARC (TM)
Networks That Go The Distance (TM)
login:
--> Looks like a login prompt.
--> Sending: myuser
myuser
Password:
--> Looks like a password prompt.
--> Sending: (password)
[7f][03]@![01][01]
[1f][01][04][05]\[02][06][7f][7f][7f][7f][05][06]B_bO[07][02][08][02][11][04][05]\[13][03]
~[7f]}#@!}!}"} }?}!}$}%\}"}&[7f][7f][7f][7f]}%}&B_bO}'}"}(}"}1}$}%\}3}#}
w[1c]~
--> PPP negotiation detected.
--> Starting pppd at Sun Jul 8 07:31:14 2001
The output from ifconfig ---
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:230 errors:0 dropped:0 overruns:0 frame:0
TX packets:230 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
ppp0 Link encap:Point-to-Point Protocol
inet addr:216.204.114.201 P-t-P:216.204.109.6
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
The output from route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
216.204.109.6 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 216.204.109.6 0.0.0.0 UG 0 0 0 ppp0
After I do all this I then start Netscape and try to go to some web page.
The responds I get it that Netscape is unable to locate the web page.
I tried to telnet into my isp, but I get host name undefind. I don't
know which file telnet is looking into for the host name.
Wayne
P.S. Does wvdial use /etc/ppp/pap-secret or /etc/pp/chap-sceret?
Reply to: