Try using the 'debug' flag. And set myauthproto to whatever your ISP says.

On 28/05/05, Uwe Dippel <[EMAIL PROTECTED]> wrote:
> My /etc/hostname.pppoe0 doesn't want to start.
> I have tried different myauthproto (pap, chap, none). With none, it goes
> in fast circles:
> 
> May 28 18:11:36 server /bsd: pppoe0: phase establish
> May 28 18:11:36 server /bsd: pppoe0: phase network
> May 28 18:11:36 server /bsd: pppoe0: phase terminate
> May 28 18:11:46 server /bsd: pppoe0: phase dead
> May 28 18:11:46 server /bsd: pppoe0: phase establish
> May 28 18:11:47 server /bsd: pppoe0: phase network
> May 28 18:11:47 server /bsd: pppoe0: phase terminate
> May 28 18:11:57 server /bsd: pppoe0: phase dead
> May 28 18:11:57 server /bsd: pppoe0: phase establish
> May 28 18:11:57 server /bsd: pppoe0: phase network
> May 28 18:11:57 server /bsd: pppoe0: phase terminate
> May 28 18:12:07 server /bsd: pppoe0: phase dead
> 
> With pap, chap it does around 30 seconds, with hefty and - compared to
> 'good' connections - very regular blinking of the modem LEDs:
> 
> May 28 17:37:30 server /bsd: pppoe0: phase establish
> May 28 17:37:58 server /bsd: pppoe0: phase dead
> May 28 17:39:14 server /bsd: pppoe0: phase establish
> May 28 17:39:34 server /bsd: pppoe0: phase dead
> May 28 17:40:48 server /bsd: pppoe0: phase establish
> May 28 17:41:16 server /bsd: pppoe0: phase dead
> May 28 17:46:50 server /bsd: pppoe0: phase establish
> May 28 17:47:18 server /bsd: pppoe0: phase dead
> 
> There is no mygate
> 
> The hostname.pppoe0:
> pppoedev ep1
> !/sbin/ifconfig ep1 up
> !/usr/sbin/spppcontrol \$if myauthproto=none [EMAIL PROTECTED]
> myauthkey=mypass
> !/sbin/ifconfig \$if inet 0.0.0.0 0.0.0.1 netmask 0xffffffff
> !/sbin/route add default 0.0.0.1
> up
> 
> And here the ifconfig -a:
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
>         inet 127.0.0.1 netmask 0xff000000
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         address: 00:02:44:90:97:27
>         media: Ethernet autoselect (10baseT)
>         status: active
>         inet 192.168.116.201 netmask 0xffffff00 broadcast 192.168.116.255
>         inet6 fe80::202:44ff:fe90:9727%rl0 prefixlen 64 scopeid 0x1
> rl1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>         address: 00:02:44:90:97:2d
>         media: Ethernet autoselect
>         status: no carrier
> ep1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         address: 00:10:4b:0a:c9:06
>         media: Ethernet 10baseT
>         inet6 fe80::210:4bff:fe0a:c906%ep1 prefixlen 64 scopeid 0x3
> pflog0: flags=0<> mtu 33224
> pfsync0: flags=0<> mtu 2020
> enc0: flags=0<> mtu 1536
> pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
>         dev: ep1 state: session
>         sid: 0x12aa PADI retries: 3 PADR retries: 0 time: 0:0:2
>         inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
>         inet6 fe80::202:44ff:fe90:9727%pppoe0 ->  prefixlen 64 scopeid 0x8
> 
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags    Refs      Use    Mtu  Interface
> default            0.0.0.1            UGS         0        0      -   pppoe0
> 0.0.0.1            default            UH          0       16      -   pppoe0
> loopback           localhost          UGRS        0        0  33224   lo0
> localhost          localhost          UH          0        4  33224   lo0
> 192.168.116/24     link#1             UC          0        0      -   rl0
> dellnb             00:04:76:48:14:2e  UHLc        0     1021      -   rl0
> 192.168.116.255    link#1             UHLc        0        5      -   rl0
> BASE-ADDRESS.MCAST localhost          URS         0        0  33224   lo0
> 
> I read all the threads in here; but don't find any with the identical
> trouble.
> I have tried for a few hours; to no avail. Do I make a mistake here ?
> The same modem connects properly on 3.5 with userland pppoe.
> 
> Thanks for any hint,
> 
> Uwe
> 
> OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
>     [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 232 MHz
> cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
> cpu0: F00F bug workaround installed
> real mem  = 66691072 (65128K)
> avail mem = 53440512 (52188K)
> using 839 buffers containing 3436544 bytes (3356K) of memory
> mainbus0 (root)
> bios0 at mainbus0: AT/286+(00) BIOS, date 07/07/97, BIOS32 rev. 0 @ 0xfd920
> pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
> pcibios0: PCI BIOS has 6 Interrupt Routing table entries
> pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371SB ISA" rev 0x00)
> pcibios0: PCI bus #0 is the last bus
> bios0: ROM list: 0xc0000/0x8000 0xea000/0x2000
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82437VX" rev 0x02
> pcib0 at pci0 dev 7 function 0 "Intel 82371SB ISA" rev 0x01
> pciide0 at pci0 dev 7 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 
> wired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLlct20 10>
> wd0: 8-sector PIO, LBA, 9787MB, 20044080 sectors
> wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
> pciide0: channel 1 ignored (disabled)
> vga1 at pci0 dev 8 function 0 "S3 Trio32/64" rev 0x54
> wsdisplay0 at vga1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> rl0 at pci0 dev 17 function 0 "Realtek 8139" rev 0x10: irq 10 address 
> 00:02:44:90:97:27
> rlphy0 at rl0 phy 0: RTL internal phy
> rl1 at pci0 dev 19 function 0 "Realtek 8139" rev 0x10: irq 9 address 
> 00:02:44:90:97:2d
> rlphy1 at rl1 phy 0: RTL internal phy
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using 
> wsdisplay0ep0: irq 10 already in use
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> sysbeep0 at pcppi0
> npx0 at isa0 port 0xf0/16: using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> isapnp0 at isa0 port 0x279: read port 0x203
> ep1 at isapnp0 "3Com 3C509B EtherLink III, TCM5095, PNP80F7, " port 0x210/16 
> irq 5: address 00:10:4b:0a:c9:06, utp (default utp)
> biomask f9c5 netmask ffe5 ttymask ffe7
> pctr: 586-class performance counters and user-level cycle counter enabled
> dkcsum: wd0 matched BIOS disk 80
> root on wd0a
> rootdev=0x0 rrootdev=0x300 rawdev=0x302
> 
> 


-- 
Adam Gleave
[ OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005 ]

Reply via email to