OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Brian Somers (brianAwfulhak.org)
Date: Mon Jun 04 2001 - 16:58:25 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    You may need to use the -n and/or -i switches to pppoe... something
    like:

      set device "!/usr/sbin/pppoe -n myisp -i ed0"

    If this doesn't help, try monitoring the traffic:

      tcpdump -i ed0 -t not ip

    (replace ed0 with whatever your interface is and myisp with whatever
    your ISP says the service tag should be).

    > Hi!
    >
    > Having read all FAQ, browsed through mailing list archives and all, I'm
    > still being a greenhorn.
    >
    > I'd like to setup a PPPoE session over ADSL for internet access and I
    > don't get anywhere. All F.A.Q.s reference pre-2.9 PPPoE solutions and
    > their specific problems.
    >
    >
    > My setup is a OpenBSD 2.9 (FTP install from the 'net), configured with
    > two ethernet cards.
    >
    > intranet LAN: Intel Etherexpress fxp0, /etc/hostname.fxp0 contains
    > -------------
    > inet 192.168.123.1 0xffffff00 NONE
    > -------------
    >
    > internet side: 3Com Etherlink III ep0, /etc/hostname.ep0 contains
    > -------------
    > up
    > -------------
    >
    > /etc/ppp/ppp.conf contains:
    > -------------
    > default:
    > set log Phase Chat LCP IPCP CCP tun command
    > set redial 15 0
    > set reconnect 15 2
    >
    > pppoe:
    > set device !/usr/sbin/pppoe
    > disable acfcomp protocomp
    > deny acfcomp
    > set mtu 1488
    > set speed sync
    > enable lqr
    > set lqrperiod 5
    > set cd 5
    > set dial
    > set login
    > set timeout 0
    > set authname xxxxxxx
    > set authkey yyyyyyy
    > add default HISADDR
    > enable dns
    > enable mssfixup
    > -------------
    >
    >
    >
    > I get about this far: /var/log/daemon contains:
    > -------------
    > Jun 4 11:47:25 lupin ppp[5657]: tun0: Warning: Carrier settings
    > ignored
    > Jun 4 11:47:25 lupin ppp[5657]: tun0: Phase: deflink: Connected!
    > Jun 4 11:47:25 lupin ppp[5657]: tun0: Phase: deflink: opening -> dial
    > Jun 4 11:47:25 lupin ppp[5657]: tun0: Phase: deflink: dial -> carrier
    > Jun 4 11:47:25 lupin ppp[5657]: tun0: Phase: deflink: carrier -> login
    >
    > Jun 4 11:47:25 lupin ppp[5657]: tun0: Phase: deflink: login -> lcp
    > Jun 4 11:47:25 lupin ppp[5657]: tun0: LCP: FSM: Using "deflink" as a
    > transport
    > Jun 4 11:47:25 lupin ppp[5657]: tun0: LCP: deflink: State change
    > Initial --> Closed
    > Jun 4 11:47:25 lupin ppp[5657]: tun0: LCP: deflink: State change
    > Closed --> Stopped
    > Jun 4 11:47:26 lupin ppp[5657]: tun0: LCP: deflink: LayerStart
    > Jun 4 11:47:26 lupin ppp[5657]: tun0: LCP: deflink: SendConfigReq(1)
    > state = Stopped
    > Jun 4 11:47:26 lupin ppp[5657]: tun0: LCP: MRU[4] 1500
    > Jun 4 11:47:26 lupin ppp[5657]: tun0: LCP: MAGICNUM[6] 0x498f53d1
    > Jun 4 11:47:26 lupin ppp[5657]: tun0: LCP: QUALPROTO[8] proto c025,
    > interval 5000ms
    > Jun 4 11:47:26 lupin ppp[5657]: tun0: LCP: deflink: State change
    > Stopped --> Req-Sent
    > Jun 4 11:47:29 lupin ppp[5657]: tun0: LCP: deflink: SendConfigReq(1)
    > state = Req-Sent
    > Jun 4 11:47:29 lupin ppp[5657]: tun0: LCP: MRU[4] 1500
    > Jun 4 11:47:29 lupin ppp[5657]: tun0: LCP: MAGICNUM[6] 0x498f53d1
    > Jun 4 11:47:29 lupin ppp[5657]: tun0: LCP: QUALPROTO[8] proto c025,
    > interval 5000ms
    > Jun 4 11:47:32 lupin ppp[5657]: tun0: LCP: deflink: SendConfigReq(1)
    > state = Req-Sent
    > Jun 4 11:47:32 lupin ppp[5657]: tun0: LCP: MRU[4] 1500
    > Jun 4 11:47:32 lupin ppp[5657]: tun0: LCP: MAGICNUM[6] 0x498f53d1
    > Jun 4 11:47:32 lupin ppp[5657]: tun0: LCP: QUALPROTO[8] proto c025,
    > interval 5000ms
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: LCP: deflink: SendConfigReq(1)
    > state = Req-Sent
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: LCP: MRU[4] 1500
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: LCP: MAGICNUM[6] 0x498f53d1
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: LCP: QUALPROTO[8] proto c025,
    > interval 5000ms
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: Phase: deflink: read (0):
    > Connection reset by peer
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: LCP: deflink: State change
    > Req-Sent --> Starting
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: LCP: deflink: LayerFinish
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: LCP: deflink: State change
    > Starting --> Initial
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: Phase: deflink: Disconnected!
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: Phase: deflink: lcp -> logout
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: Phase: deflink: Disconnected!
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: Phase: deflink: logout -> hangup
    >
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: Phase: deflink: Connect time: 10
    > secs: 0 octets in, 104 octets out
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: Phase: deflink: : 0 packets in,
    > 8 packets out
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: Phase: total 10 bytes/sec, peak
    > 10 bytes/sec on Mon Jun 4 11:47:29 2001
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: Phase: deflink: HUPing 24538
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: Phase: deflink: hangup ->
    > opening
    > Jun 4 11:47:35 lupin ppp[5657]: tun0: Phase: deflink: Enter pause (15)
    > for redialing.
    > -------------
    >
    >
    > It seems I'm only sending data and nothing comes back. What do I have
    > to check if my receive path is OK?
    >
    > ADSL modem is Siemens XpressLink, provided by local telco (have no
    > other choice).
    >
    >
    > Best regards,
    > Gregec
    > ________________________________________________________________________
    > | Logina Lagersoft d.o.o., Slovenija | We can make your warehouse dance! |
    > | tel: +386-1-5838017, fax: -5154015 | Logistics & Automation & Comm's |

    -- 
    Brian <brianAwfulhak.org>                        <brian[uk.]FreeBSD.org>
          <http://www.Awfulhak.org>                   <brian[uk.]OpenBSD.org>
    Don't _EVER_ lose your sense of humour !