Re: ppp connected, but no IP, DNS, GW

From: OtisUsenet (otis_usenet_at_yahoo.com)
Date: 04/11/04


Date: 11 Apr 2004 06:43:28 -0700

Hello,

Thank you for the detailed instructions, here is some more
information.

Clifford Kite <kite@see.signature.id> wrote in message news:<d8f95c.g76.ln@corncob.localhost.tld>...
> OtisUsenet <otis_usenet@yahoo.com> 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
--> Sending: ATM3
ATM3
OK
--> 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.

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

Here are some of the relevant configs from my ifcfg-HTppp file:

BOOTPROTO=dhcp <==== is this wrong? what should I set it to?
ONBOOT=no
CCP=off
PC=off
AC=off
BSDCOMP=off
VJ=off
VJCCOMP=off
LINESPEED=57600
MODEMPORT=/dev/modem
DEMAND=no
DEFROUTE=yes <==== is this wrong? that should set the
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.

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 it looks like the modem connected, and then something blew up and
killed pppd.
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
Apr 11 14:37:49 localhost kernel: EIP: 0060:[<c012b535>]
Tainted: PF
Apr 11 14:37:49 localhost kernel: EFLAGS: 00010282
Apr 11 14:37:50 localhost kernel:
Apr 11 14:37:50 localhost kernel: EIP is at use_init_fs_context
[kernel] 0x15 (2.4.20-8)
Apr 11 14:37:50 localhost kernel: eax: 00210093 ebx: c012b150 ecx:
d5320110 edx: d5320050
Apr 11 14:37:50 localhost kernel: esi: d5320000 edi: 00000000 ebp:
00000000 esp: d5321f7c
Apr 11 14:37:50 localhost kernel: ds: 0068 es: 0068 ss: 0068
Apr 11 14:37:50 localhost kernel: Process pppd (pid: 6171,
stackpage=d5321000)
Apr 11 14:37:50 localhost kernel: Stack: d5320000 c012b150 d5320000
00000000 c012b150 d5320000 00000000 00000000
Apr 11 14:37:50 localhost kernel: c012b055 00000001 00000001
00000000 c012b150 d6059ee4 c012b1a7 c030c2c0
Apr 11 14:37:50 localhost kernel: d5321fc8 c030c3c0 c012b150
c030c2c0 c025dca2 c025dca5 c02691c4 d6059ee4
Apr 11 14:37:50 localhost kernel: Call Trace: [<c012b150>]
exec_modprobe [kernel] 0x0 (0xd5321f80))
Apr 11 14:37:50 localhost kernel: [<c012b150>] exec_modprobe [kernel]
0x0 (0xd5321f8c))
Apr 11 14:37:50 localhost kernel: [<c012b055>] exec_usermodehelper
[kernel] 0x25 (0xd5321f9c))
Apr 11 14:37:50 localhost kernel: [<c012b150>] exec_modprobe [kernel]
0x0 (0xd5321fac))
Apr 11 14:37:50 localhost kernel: [<c012b1a7>] exec_modprobe [kernel]
0x57 (0xd5321fb4))
Apr 11 14:37:50 localhost kernel: [<c012b150>] exec_modprobe [kernel]
0x0 (0xd5321fc4))
Apr 11 14:37:50 localhost kernel: [<c012b150>] exec_modprobe [kernel]
0x0 (0xd5321fe8))
Apr 11 14:37:50 localhost kernel: [<c010742d>] kernel_thread_helper
[kernel] 0x5 (0xd5321ff0))
Apr 11 14:37:50 localhost kernel:
Apr 11 14:37:50 localhost kernel:
Apr 11 14:37:50 localhost kernel: Code: ff 00 ba 00 e0 ff ff 21 e2 8b
b2 48 06 00 00 89 82 48 06 00
Apr 11 14:37:51 localhost pppd[6155]: Exit.

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.

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?

Any help would be very much appreciated.

Thank you.



Relevant Pages

  • ... no drivers for IEEE1394 product 0x/0x/0x in kernel 2.6.12-rc1-bk6
    ... Apr 4 10:04:29 localhost kernel: Freeing unused kernel memory: 248k ... Apr 4 10:58:40 localhost fsck: Filesystem seems mounted read-only. ... Memory & AGP Controller ...
    (Linux-Kernel)
  • Re: Black Screen After YUM Update Revisited:
    ... Mar 2 21:42:26 localhost irqbalance: irqbalance startup succeeded ... Mar 2 21:41:56 localhost rc.sysinit: Mounting USB filesystem: succeeded ... Mar 2 21:42:25 localhost kernel: BIOS-provided physical RAM map: ... Mar 2 21:42:28 localhost kernel: SELinux: Registering netfilter hooks ...
    (Fedora)
  • Re: DVD drive not recognized
    ... Jan 5 04:06:22 localhost syslogd 1.4.1: restart. ... Jan 5 07:39:09 localhost kernel: keyboard.c: can't emulate rawmode for keycode 272 ...
    (linux.redhat.install)
  • test3 responsible for atomic blast!
    ... Aug 10 14:06:12 localhost syslog: klogd shutdown succeeded ... Aug 10 14:07:06 localhost syslog: syslogd startup succeeded ... Aug 10 14:07:06 localhost kernel: Video mode to be used for restore is ... Aug 10 14:07:07 localhost kernel: PCI: PCI BIOS revision 2.10 entry at ...
    (Linux-Kernel)
  • modem, pppd, kernel EIP NULL ptr deref , RH9
    ... I am trying to get the modem to work. ... It is a Wintel modem (Agere), ... Jan 25 22:19:49 localhost wvdial: Initializing modem. ... Jan 25 22:20:15 localhost kernel: Unable to handle kernel NULL ...
    (comp.os.linux.networking)