Hi,

I guess this are quite stupid questions, but I really need your help.

First, I have compiled kernel with PPP, network, TCP/IP support and 
I suppose that 'ping localhost' (hosts: 127.0.0.1 localhost) should work
even if I have not connected to an ISP.
But it only prints:

$ ping localhost
PING loopback (127.0.0.1): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote loopback 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote loopback 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote loopback 64 chars, ret=-1

Second problem is that pppd fails to estabslish connection:

Nov 20 21:09:35 ku kernel: PPP: version 2.3.3 (demand dialling)
    Nov 20 21:09:35 ku kernel: TCP compression code copyright 1989 Regents of the 
University of 
    California
    Nov 20 21:09:35 ku kernel: PPP line discipline registered.
    Nov 20 21:09:35 ku kernel: IP-Config: No network devices available.
    Nov 20 21:09:35 ku kernel: Partition check:
    Nov 20 21:09:35 ku kernel:  hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
    Nov 20 21:09:35 ku kernel: VFS: Mounted root (ext2 filesystem) readonly.
    Nov 20 21:09:35 ku kernel: Freeing unused kernel memory: 44k freed
    Nov 20 21:09:35 ku kernel: Adding Swap: 128484k swap-space (priority -1)
    Nov 20 21:09:36 ku lpd[242]: unable to get official name for local machine ku
    Nov 20 21:09:43 ku PAM_pwdb[298]: (login) session opened for user root by (uid=0)
    Nov 20 21:09:43 ku login[298]: ROOT LOGIN ON tty1
    Nov 20 21:09:47 ku ifup-ppp: pppd started for ppp0 on /dev/ttyS0 at 115200
    Nov 20 21:09:47 ku kernel: registered device ppp0
    Nov 20 21:09:47 ku pppd[347]: pppd 2.3.4 started by root, uid 0
    Nov 20 21:09:48 ku chat[349]: abort on (BUSY)
    Nov 20 21:09:48 ku chat[349]: abort on (ERROR)
    Nov 20 21:09:48 ku chat[349]: abort on (NO CARRIER)
    Nov 20 21:09:48 ku chat[349]: abort on (NO DIALTONE)
    Nov 20 21:09:48 ku chat[349]: abort on (Invalid Login)
    Nov 20 21:09:48 ku chat[349]: abort on (Login incorrect)
    Nov 20 21:09:48 ku chat[349]: send (ATZ^M)
    Nov 20 21:09:48 ku chat[349]: expect (OK)
    Nov 20 21:09:48 ku chat[349]: ATZ^M^M
    Nov 20 21:09:48 ku chat[349]: OK
    Nov 20 21:09:48 ku chat[349]:  -- got it 
    Nov 20 21:09:48 ku chat[349]: send (ATDT3014170951^M)
    Nov 20 21:09:49 ku chat[349]: expect (CONNECT)
    [skiped]
    Nov 20 21:10:33 ku chat[349]:  ^M
    Nov 20 21:10:33 ku chat[349]:     Entering PPP Session.^M
    Nov 20 21:10:33 ku chat[349]:     IP address is 207.172.205.215^M
    Nov 20 21:10:33 ku chat[349]:     MTU is 1006.^M
    Nov 20 21:10:38 ku chat[349]: alarm
    Nov 20 21:10:38 ku chat[349]: send (^M)
    Nov 20 21:10:38 ku chat[349]: send (^M)
    Nov 20 21:10:38 ku pppd[347]: Serial connection established.
    Nov 20 21:10:39 ku pppd[347]: Using interface ppp0
    Nov 20 21:10:39 ku pppd[347]: Connect: ppp0 <--> /dev/ttyS0
    Nov 20 21:10:43 ku pppd[347]: ioctl(SIOCADDRT) device route: Network is down(100)
    Nov 20 21:10:43 ku pppd[347]: Connection terminated.
    Nov 20 21:10:44 ku pppd[347]: Exit.


I think that problem is with the following:

    Nov 20 21:09:35 ku kernel: IP-Config: No network devices available.

I do not have such problem with 2.0.34 kernel (compiled not by me),
now I want it to work with 2.1.129.  What a kernel instalation option should I use ?
I tried lot of them in many combinatoins.  I do not use modules.
I realize that it might be not enough information, say me what I do provide else ?

TIA.

-- 
Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to