[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pppoe: Missing something minor



Hi,

I've finally received ADSL instead of ISDN from my provider
last week. After I have changed my /etc/ppp/ppp.conf to:


    default:
     set log Phase Chat LCP IPCP CCP tun command Warning Error Alert
     
    tdsl:
     set device "!/usr/sbin/pppoe -i fxp0" 
     disable acfcomp protocomp vjcomp deflate pred1
     deny acfcomp
     set mru 1492
     set mtu 1490
     set crtscts off
     set speed sync
     accept lqr
     set dial
     set login
     set timeout 0
     set authname "xxxxxxxxxxxxxxxxxxxxxxxx#0001@t-online.de"
     set authkey xxxxxxx
     set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0
     add default HISADDR
     enable dns

and everything has worked instantly! However after that I've 
decided to install OpenBSD 2.9 from the recently received official 
CD and now I can't get my DSL-access working again. I'm probably 
missing something minor, could someone please help?

I have this line in /etc/group:

    network:*:69:root

and this in GENERIC.alex (my kernel):

    pseudo-device	tun	2 # network tunneling over tty

and I see these messages when booting:

    fxp0 at pci0 dev 10 function 0 "Intel 82557" rev 0x08: irq 9, address 00:02:b3:1a:eb:57
    inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
    ...
    tun0: not multicast capable, IPv6 not enabled
    tun0: not multicast capable, IPv6 not enabled
    
And here is what I get in /var/log/ppp.log when I run ppp as root:


    Jul  1 13:47:11 noname ppp[4056]: tun0: Phase: PPP Started (interactive mode). 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Command: /dev/tty: dial 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: bundle: Establish 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: closed -> opening 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: Connected! 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: opening -> dial 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Chat: deflink: Dial attempt 1 of 1 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: dial -> carrier 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: carrier -> login 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: login -> lcp 
    Jul  1 13:47:16 noname ppp[4056]: tun0: LCP: FSM: Using "deflink" as a transport 
    Jul  1 13:47:16 noname ppp[4056]: tun0: LCP: deflink: State change Initial --> Closed 
    Jul  1 13:47:16 noname ppp[4056]: tun0: LCP: deflink: State change Closed --> Stopped 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: read (2): Connection reset by peer 
    Jul  1 13:47:16 noname ppp[4056]: tun0: LCP: deflink: State change Stopped --> Closed 
    Jul  1 13:47:16 noname ppp[4056]: tun0: LCP: deflink: State change Closed --> Initial 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: Disconnected! 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: lcp -> logout 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: logout -> hangup 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: Disconnected! 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: Connect time: 0 secs: 38 octets in, 0 octets out 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: : 4 packets in, 0 packets out 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase:  total 38 bytes/sec, peak 0 bytes/sec on Sun Jul  1 13:47:16 2001 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: HUPing 21794 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: deflink: hangup -> closed 
    Jul  1 13:47:16 noname ppp[4056]: tun0: Phase: bundle: Dead 

I haven't modified any files in /etc except the /etc/ppp/ppp.conf
and I had answered "No" to the question "Configure Network?" during
the installation (b/c I have a dynamical IP and don't know my gateway).
Maybe I'm missing some files in /etc, like /etc/mygate? or resolv.conf?
(but even if resolv.conf is missing, ppp should at least connect, right?)

Regards
Alex