OtisUsenet <(E-Mail Removed)> wrote:
> Hello,
> Thank you for the detailed instructions, here is some more
> information.
> Clifford Kite <(E-Mail Removed)> wrote in message
> news:<(E-Mail Removed)>...
>> OtisUsenet <(E-Mail Removed)> wrote:
>>
>> > I've got RedHat 9 (2.4.20-8 kernel) on a ThinkPad T40.
>> > I am trying to get the modem to work. It is a Wintel modem (Agere),
>>
>> 1) Generate a detailed pppd/<chat or dialing frontend> log file:
>>
>> echo 'daemon.*;local2.* /var/log/ppp.log' >> /etc/syslog.conf
>> killall -HUP syslogd
>> echo debug >> /etc/ppp/options
>>
>> Run whatever (script, kppp, wvdial, ect.) to start pppd and/or chat.
>> Configure chat with the -v option for the script. Configure a pppd
>> dialing frontend (kppp, wvdial, ect.) for maximum verbosity and hope
>> the messages are sent to ppp.log .
> If I start the dial up with `wvdial <config name>` I get this in the
> console:
> [root@localhost modem]# wvdial HTppp
> --> WvDial: Internet dialer version 1.53
> --> Initializing modem.
> --> Sending: ATZ
> ATZ
> OK
ATZ is an iffy way of initializing a (real) modem. Usually ATZ&F
is better.
> --> Sending: ATM3
> ATM3
> OK
If this M3 is the same as described in my old modem manual then it turns
off the modem's speaker unless a call is being answered. Is that what
you want? Here M0 turns off the speaker altogether, M1 turns it on only
during negotiation by a call out, and M2 turns on the speaker only while
answering.
> --> Modem initialized.
> --> Sending: ATDT077100000
> --> Waiting for carrier.
> ATDT077100000
> CONNECT 52000 V42bis <===========
> CCC HiNet, HT d.d. <===========
> User Access Verification
> Username:
> --> Carrier detected. Starting PPP immediately.
> --> Starting pppd at Sun Apr 11 14:10:56 2004
> --> pid of pppd: 5283
> Note the lines with '<============'. Those indicate that my modem IS
> talking to my ISP, because 'HiNet, HT d.d.' is the name of the ISP,
> and I did not enter that name anywhere. This must be coming from the
> remote dial-in server.
Correct. And a connect speed of 52000 is great (assuming the winmodem
reports the connect speed correctly)!
> In /var/log/ppp.log I get only this:
> Apr 11 14:10:56 localhost pppd[5283]: pppd 2.4.1 started by root, uid
> 0
There should be a lot more unless pppd died immediately.
> Here are some of the relevant configs from my ifcfg-HTppp file:
> BOOTPROTO=dhcp <==== is this wrong? what should I set it to?
It is probably wrong unless you need DHCP for something other than
the PPP connection; PPP doesn't use DHCP.
> ONBOOT=no
> CCP=off
> PC=off
> AC=off
> BSDCOMP=off
> VJ=off
> VJCCOMP=off
> LINESPEED=57600
If this means what I think then 115200 would be better (at least with
a real modem).
> MODEMPORT=/dev/modem
> DEMAND=no
> DEFROUTE=yes <==== is this wrong? that should set the
If it means what I think it does then it's correct.
> routes, no?
> PERSIST=no
> PAPNAME=samofix
> There are no errors in any of the logs.
> However, when wvdial connects to the remove dial-in server, there are
> also no routes set, no IP for my computer, and no DNS servers.
So PPP didn't come up for IP.
> Then I tried using `ifup-ppp0` and I got this in the ppp.log:
> pr 11 14:37:23 localhost ifup-ppp: pppd started for ppp0 on /dev/modem
> at 57600
> Apr 11 14:37:23 localhost pppd[6155]: pppd 2.4.1 started by root, uid
> 0
> Apr 11 14:37:24 localhost wvdial[6170]: WvDial: Internet dialer
> version 1.53
> Apr 11 14:37:24 localhost wvdial[6170]: Initializing modem.
> Apr 11 14:37:24 localhost wvdial[6170]: Sending: ATZ
> Apr 11 14:37:24 localhost wvdial[6170]: ATZ
> Apr 11 14:37:24 localhost wvdial[6170]: OK
> Apr 11 14:37:24 localhost wvdial[6170]: Sending: ATM3
> Apr 11 14:37:24 localhost wvdial[6170]: ATM3
> Apr 11 14:37:24 localhost wvdial[6170]: OK
> Apr 11 14:37:24 localhost wvdial[6170]: Modem initialized.
> Apr 11 14:37:24 localhost wvdial[6170]: Sending: ATDT077600000
> Apr 11 14:37:24 localhost wvdial[6170]: Waiting for carrier.
> Apr 11 14:37:24 localhost wvdial[6170]: ATDT077600000
> Apr 11 14:37:49 localhost wvdial[6170]: CONNECT 52000 V42bis
> Apr 11 14:37:49 localhost wvdial[6170]: HiNet, HT d.d. <===
> connects?
> Apr 11 14:37:49 localhost wvdial[6170]: User Access Verification
> Apr 11 14:37:49 localhost wvdial[6170]: Username:
> Apr 11 14:37:49 localhost wvdial[6170]: Carrier detected. Chatmode
> finished.
> Apr 11 14:37:49 localhost pppd[6155]: Serial connection established.
> Apr 11 14:37:49 localhost pppd[6155]: Couldn't set tty to PPP
> discipline: Invalid argument
> Apr 11 14:37:51 localhost pppd[6155]: Exit.
So pppd did die (almost) immediately.
> So it looks like the modem connected, and then something blew up and
> killed pppd.
Correct. Pppd couldn't set some attribute of the modem's device file
(the "tty") to the PPP line discipline, so it exited.
> In the /var/log/messages.log I saw this:
> Apr 11 14:37:23 localhost ifup-ppp: pppd started for ppp0 on
> /dev/modem at 57600
> Apr 11 14:37:23 localhost pppd[6155]: pppd 2.4.1 started by root, uid
> 0
> Apr 11 14:37:24 localhost wvdial[6170]: WvDial: Internet dialer
> version 1.53
> Apr 11 14:37:24 localhost wvdial[6170]: Initializing modem.
> Apr 11 14:37:24 localhost wvdial[6170]: Sending: ATZ
> Apr 11 14:37:24 localhost wvdial[6170]: ATZ
> Apr 11 14:37:24 localhost wvdial[6170]: OK
> Apr 11 14:37:24 localhost wvdial[6170]: Sending: ATM3
> Apr 11 14:37:24 localhost wvdial[6170]: ATM3
> Apr 11 14:37:24 localhost wvdial[6170]: OK
> Apr 11 14:37:24 localhost wvdial[6170]: Modem initialized.
> Apr 11 14:37:24 localhost wvdial[6170]: Sending: ATDT077600000
> Apr 11 14:37:24 localhost wvdial[6170]: Waiting for carrier.
> Apr 11 14:37:24 localhost wvdial[6170]: ATDT077600000
> Apr 11 14:37:49 localhost wvdial[6170]: CONNECT 52000 V42bis
> Apr 11 14:37:49 localhost wvdial[6170]: HiNet, HT d.d.
> Apr 11 14:37:49 localhost wvdial[6170]: User Access Verification
> Apr 11 14:37:49 localhost wvdial[6170]: Username:
> Apr 11 14:37:49 localhost wvdial[6170]: Carrier detected. Chatmode
> finished.
> Apr 11 14:37:49 localhost pppd[6155]: Serial connection established.
> Apr 11 14:37:49 localhost kernel: <1>Unable to handle kernel paging
> request at virtual address 00210093
> Apr 11 14:37:49 localhost kernel: printing eip:
> Apr 11 14:37:49 localhost kernel: c012b535
> Apr 11 14:37:49 localhost kernel: *pde = 00000000
> Apr 11 14:37:49 localhost kernel: Oops: 0002
> Apr 11 14:37:49 localhost kernel: ppp_deflate zlib_deflate ppp_generic
> slhc nls_iso8859-1 nls_cp437 vfat fat sd_mod sr_mod radeon agrserial
> agrmodem autofs e1000 ipt_REJECT iptable_filter ip_t
> Apr 11 14:37:49 localhost kernel: CPU: 0
> Apr 11 14:37:49 localhost pppd[6155]: Couldn't set tty to PPP
> discipline: Invalid argument
<snip>
(I couldn't make much out of the remaining kernel Oops messages.]
> Apr 11 14:37:51 localhost pppd[6155]: Exit.
Same song, second verse.
> This also shows that the modem first connected, and then something in
> pppd and/or kernel blew up. I see that the ppp-related kernel modules
> are mentioned.
Correct. You almost certainly don't need ppp_deflate or zlib_deflate
unless the peer is a *nix host, and even then it's not likely they would
be needed for an ISP connection.
> These are the modules that I loaded with modprobe ppp_generic.o (I
> think that is the module I loaded, but I'm not 100% certain now..
> maybe it was ppp_deflate):
> ppp_deflate 4504 0 (unused)
> zlib_deflate 21368 0 [ppp_deflate]
> ppp_generic 24444 0 [ppp_deflate]
> slhc 6740 0 [ppp_generic]
> Am I missing a module that is required for ppp to work?
Yes, there should be a ppp_async, unless that's compiled directly into
the kernel. I believe there is a very high probability that it's absence
is causing the problem.
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads:
http://ckite.no-ip.net/
/* 97.3% of all statistics are made up. */