List Info

Thread: Unstable PPPoE




Unstable PPPoE
user name
2007-07-27 01:03:26
Hello ladies and gentlemen!

I'm having a frustrating problem. My internet is highly
unstable when
using bit torrent. I don't think there's anything special
about my
configuration: my gateway is a craptop with inbuilt Intel
ethernet and
a url0 USB ethernet for the modem. The connection is
bridged, using pf
(obviously) for routing / firewall and kernel PPPoE for
dialing via my
bridged netcomm nb5+.

Basically, when I try to use bit torrent the connection dies
after
about 20mins. The kernel PPPoE daemon doesn't bring it back
up. In
fact, even doing
#sh /etc/netstart
doesn't bring it back up. The only way to bring it back up
is via a
reboot :( Very frustrating. It also takes about 10-15mins
to
reconnect; surely that's a bit too long, even for PPPoE? I
know this
isn't a problem with my ISP as I've always been able to
download bt
stably when I was using the modem in router mode. I thought
it might
have been an MTU problem, but I'm using the mss fix in
/etc/pf.conf,
so I don't think it's that. I played around with a few
values just to
be sure, but I'm open to suggestions.
I'll post my dmesg, /etc/pf.conf and /etc/hostname.pppoe. If
there's
anything else I should send, please let me know!

/etc/pf.conf:

# Timothy's PF.conf, running on failtop

# My fun as ports!
#
# Bit torrent
shitbox_bt	= "6881"
craptop_bt	= "6882"
failtop_bt	= "{ 6883, 6884, 6885, 6886 }"
# SSH
shitbox_ssh	= "22"
craptop_ssh	= "24"
failtop_ssh	= "25"
# VoIP
johnbox_voip	= "{ 3478, 5060, 8000, 8001 }"

# Macro fun!!!
#tcp_services 	= "{ www, ssh, domain, auth }"
udp_services 	= "{ domain, ntp, 3478, 5060, 8000, 8001
}" #look at
adding NTP for clients
allow_out	= "{ 1863, 6969, www, ftp-data, ftp, ssh,
domain, pop3,
smtp, auth, http, https, 446, 8080 }"
icmp_types	= "{ echoreq, unreach }"
bt_pass		= "{ 6881,6880,6882,6883, 6884, 6885, 6886
}"

# Fun fun interfaces
ext_if		= "pppoe0"
int_if		= "fxp0"
local		= $int_if:network
outside		= $ext_if:network
#ftpProxy	= "127.0.0.1"

# IP Map (lots of fun)
shitbox_ip	= "192.168.1.10"
craptop_ip	= "192.168.1.3"
failtop_ip	= "192.168.1.55"
johnbox_ip	= "192.168.1.8"
martians 	= "{ 127.0.0.0/8, 192.168.0.0/16,
172.16.0.0/12, 
              10.0.0.0/8, 169.254.0.0/16, 192.0.2.0/24, 
              0.0.0.0/8, 240.0.0.0/4 }"

# Normalisation fun!
scrub in #all
scrub out on pppoe0 max-mss 1440

# Fun fun rules!
#
# NAT section
nat on $ext_if from $local to any -> ($ext_if)
nat-anchor "ftp-proxy/*"
rdr-anchor "ftp-proxy/*"
rdr on $int_if proto tcp from any to any port 21 ->
127.0.0.1 port 8021

# Services
#
#Squid
rdr on $ext_if proto tcp from $ext_if:network to any port
www ->
$failtop_ip port 3128
# Outside users!
# Redirect Bit Torrent
rdr on $ext_if proto {udp,tcp} from any to $ext_if port
$shitbox_bt ->
$shitbox_ip
rdr on $ext_if proto tcp from any to $ext_if port
$craptop_bt -> $craptop_ip
rdr on $ext_if proto {udp,tcp} from any to $ext_if port
$failtop_bt ->
$failtop_ip
# Redirect SSH
rdr on $ext_if proto tcp from any to $ext_if port
$shitbox_ssh -> $shitbox_ip
rdr on $ext_if proto tcp from any to $ext_if port
$craptop_ssh -> $craptop_ip
rdr on $ext_if proto tcp from any to $ext_if port
$failtop_ssh -> $failtop_ip
# Redirect VoIP
rdr on $ext_if proto {tcp, udp} from any to $ext_if port
$johnbox_voip
-> $johnbox_ip
# Local users!
# Redirect SSH
rdr on $int_if proto tcp from $local to $ext_if port
$shitbox_ssh ->
$shitbox_ip
rdr on $int_if proto tcp from $local to $ext_if port
$craptop_ssh ->
$craptop_ip
rdr on $int_if proto tcp from $local to $ext_if port
$failtop_ssh ->
$failtop_ip


# Fun fun filtering section
antispoof for $ext_if
antispoof for $int_if
block drop in quick on $ext_if from $martians to any
block drop out quick on $ext_if from any to $martians

block return
pass from { lo0, $local } to any keep state
# Fun FTP allow fun
anchor "ftp-proxy/*"
pass out proto tcp from 127.0.0.1 to any port 21

# Fun services for everyone to be passed out
# Allow outgoing dns, needed by pfctl to resolve names.
pass out proto tcp to any port $allow_out
pass proto udp to any port domain
# Allow BitTorrent
pass inet proto { tcp, udp } to $shitbox_ip port $bt_pass
flags S/SA
keep state (max-src-conn 500)
pass inet proto { tcp, udp } to $failtop_ip port $bt_pass
flags S/SA
keep state (max-src-conn 500)

#pass proto tcp from $local to any port $allow_out
pass quick inet proto { tcp, udp } to any port $udp_services
keep state

# Let ICMP traffic from local as well as outside
pass inet proto icmp all icmp-type $icmp_types keep state
# Traceroute
pass out on $ext_if inet proto udp from any to any port
33433 >< 33626
keep state

# Pass our BT and SSH fun fun packets
pass proto tcp from any to $shitbox_ip port $shitbox_bt
pass proto tcp from any to $shitbox_ip port $shitbox_ssh
pass proto tcp from any to $craptop_ip port $craptop_bt
pass proto tcp from any to $craptop_ip port $craptop_ssh
pass proto tcp from any to $failtop_ip port $failtop_bt
pass proto tcp from any to $failtop_ip port $failtop_ssh



/etc/hostname.pppoe:

inet 0.0.0.0 255.255.255.255 NONE pppoedev url0 authproto
auto
authname 'user' authkey 'pass' up
dest 0.0.0.1
!/sbin/route/ add default -ifp pppoe0 0.0.0.1

echo "up" > /etc/hostname.url0

dmesg:

at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Acer Labs M1644
PCI" rev 0x01
ppb0 at pci0 dev 1 function 0 "Acer Labs M5247
AGP/PCI-PC" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Trident CyberBlade
XP/Ai1" rev 0x82
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci0 at pci0 dev 2 function 0 "Acer Labs M5237
USB" rev 0x03: irq 11,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pciide0 at pci0 dev 4 function 0 "Acer Labs M5229 UDMA
IDE" rev 0xc3:
DMA, channel 0 wired to compatibility, channel 1 wired to
compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK4018GAS>
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, UJDA720
DVD/CDRW, 1.00> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
autri0 at pci0 dev 6 function 0 "Acer Labs M5451
Audio" rev 0x01: irq 11
ac97: codec id 0x414b4d02 (Asahi Kasei AK4543)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, AKM
3D
audio0 at autri0
midi0 at autri0: <4DWAVE MIDI UART>
pcib0 at pci0 dev 7 function 0 "Acer Labs M1533
ISA" rev 0x00
alipm0 at pci0 dev 8 function 0 "Acer Labs M7101
Power" rev 0x00: 74KHz clock
iic0 at alipm0
admtemp0 at iic0 addr 0x4c: adm1032
fxp0 at pci0 dev 10 function 0 "Intel 8255x" rev
0x0d, i82550: irq 11,
address 00:00:39:8c:91:ed
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
"TI TSB43AB22 FireWire" rev 0x00 at pci0 dev 12
function 0 not configured
cbb0 at pci0 dev 17 function 0 "Toshiba ToPIC100
CardBus" rev 0x32: irq 11
cbb1 at pci0 dev 17 function 1 "Toshiba ToPIC100
CardBus" rev 0x32: irq 11
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: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using
exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: 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
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0,
lattimer 0x0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0,
lattimer 0x0
pcmcia1 at cardslot1
biomask ef6d netmask ef6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
url0 at uhub0 port 2
url0: REALTEK USB 10/100 LAN, rev 1.10/1.00, addr 2
url0: address 00:e0:4c:03:22:ee
urlphy0 at url0 phy 0: RTL internal phy
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
url0: usb error on tx: TIMEOUT
pppoe0: LCP keepalive timeout
syncing disks... done
rebooting...
OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
    deraadti386.openbsd.org:/usr/src/sys/arch/i386/compile/GENER
IC
cpu0: Intel Pentium III ("GenuineIntel" 686-class)
814 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT
,PSE36,MMX,FXSR,SSE
real mem  = 251162624 (245276K)
avail mem = 221499392 (216308K)
using 3096 buffers containing 12681216 bytes (12384K) of
memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 02/25/02, BIOS32 rev.
0 
0xfaf93, SMBIOS rev. 2.3  0xec000 (46 entries)
bios0: TOSHIBA DynaBook T4/410PME
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
apm0: flags 20102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1  0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 
0xf0200/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Acer Labs
M1533 ISA" rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xe0000/0x10000!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Acer Labs M1644
PCI" rev 0x01
ppb0 at pci0 dev 1 function 0 "Acer Labs M5247
AGP/PCI-PC" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Trident CyberBlade
XP/Ai1" rev 0x82
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci0 at pci0 dev 2 function 0 "Acer Labs M5237
USB" rev 0x03: irq 11,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pciide0 at pci0 dev 4 function 0 "Acer Labs M5229 UDMA
IDE" rev 0xc3:
DMA, channel 0 wired to compatibility, channel 1 wired to
compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK4018GAS>
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, UJDA720
DVD/CDRW, 1.00> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
autri0 at pci0 dev 6 function 0 "Acer Labs M5451
Audio" rev 0x01: irq 11
ac97: codec id 0x414b4d02 (Asahi Kasei AK4543)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, AKM
3D
audio0 at autri0
midi0 at autri0: <4DWAVE MIDI UART>
pcib0 at pci0 dev 7 function 0 "Acer Labs M1533
ISA" rev 0x00
alipm0 at pci0 dev 8 function 0 "Acer Labs M7101
Power" rev 0x00: 74KHz clock
iic0 at alipm0
admtemp0 at iic0 addr 0x4c: adm1032
fxp0 at pci0 dev 10 function 0 "Intel 8255x" rev
0x0d, i82550: irq 11,
address 00:00:39:8c:91:ed
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
"TI TSB43AB22 FireWire" rev 0x00 at pci0 dev 12
function 0 not configured
cbb0 at pci0 dev 17 function 0 "Toshiba ToPIC100
CardBus" rev 0x32: irq 11
cbb1 at pci0 dev 17 function 1 "Toshiba ToPIC100
CardBus" rev 0x32: irq 11
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: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using
exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: 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
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0,
lattimer 0x0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0,
lattimer 0x0
pcmcia1 at cardslot1
biomask ef6d netmask ef6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
url0 at uhub0 port 2
url0: REALTEK USB 10/100 LAN, rev 1.10/1.00, addr 2
url0: address 00:e0:4c:03:22:ee
urlphy0 at url0 phy 0: RTL internal phy
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
pppoe0: LCP keepalive timeout
syncing disks... done
rebooting...
OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
    deraadti386.openbsd.org:/usr/src/sys/arch/i386/compile/GENER
IC
cpu0: Intel Pentium III ("GenuineIntel" 686-class)
738 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT
,PSE36,MMX,FXSR,SSE
real mem  = 251162624 (245276K)
avail mem = 221499392 (216308K)
using 3096 buffers containing 12681216 bytes (12384K) of
memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 02/25/02, BIOS32 rev.
0 
0xfaf93, SMBIOS rev. 2.3  0xec000 (46 entries)
bios0: TOSHIBA DynaBook T4/410PME
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, estimated 2:03 hours
apm0: flags 20102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1  0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 
0xf0200/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Acer Labs
M1533 ISA" rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xe0000/0x10000!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Acer Labs M1644
PCI" rev 0x01
ppb0 at pci0 dev 1 function 0 "Acer Labs M5247
AGP/PCI-PC" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Trident CyberBlade
XP/Ai1" rev 0x82
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci0 at pci0 dev 2 function 0 "Acer Labs M5237
USB" rev 0x03: irq 11,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pciide0 at pci0 dev 4 function 0 "Acer Labs M5229 UDMA
IDE" rev 0xc3:
DMA, channel 0 wired to compatibility, channel 1 wired to
compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK4018GAS>
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, UJDA720
DVD/CDRW, 1.00> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
autri0 at pci0 dev 6 function 0 "Acer Labs M5451
Audio" rev 0x01: irq 11
ac97: codec id 0x414b4d02 (Asahi Kasei AK4543)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, AKM
3D
audio0 at autri0
midi0 at autri0: <4DWAVE MIDI UART>
pcib0 at pci0 dev 7 function 0 "Acer Labs M1533
ISA" rev 0x00
alipm0 at pci0 dev 8 function 0 "Acer Labs M7101
Power" rev 0x00: 74KHz clock
iic0 at alipm0
admtemp0 at iic0 addr 0x4c: adm1032
fxp0 at pci0 dev 10 function 0 "Intel 8255x" rev
0x0d, i82550: irq 11,
address 00:00:39:8c:91:ed
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
"TI TSB43AB22 FireWire" rev 0x00 at pci0 dev 12
function 0 not configured
cbb0 at pci0 dev 17 function 0 "Toshiba ToPIC100
CardBus" rev 0x32: irq 11
cbb1 at pci0 dev 17 function 1 "Toshiba ToPIC100
CardBus" rev 0x32: irq 11
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: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using
exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: 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
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0,
lattimer 0x0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0,
lattimer 0x0
pcmcia1 at cardslot1
biomask ef6d netmask ef6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
url0 at uhub0 port 2
url0: REALTEK USB 10/100 LAN, rev 1.10/1.00, addr 2
url0: address 00:e0:4c:03:22:ee
urlphy0 at url0 phy 0: RTL internal phy
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
pppoe0: received unexpected PADO
url0: usb error on tx: TIMEOUT
url0: usb error on tx: TIMEOUT
pppoe0: LCP keepalive timeout
syncing disks... done
rebooting...
OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
    deraadti386.openbsd.org:/usr/src/sys/arch/i386/compile/GENER
IC
cpu0: Intel Pentium III ("GenuineIntel" 686-class)
1 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT
,PSE36,MMX,FXSR,SSE
real mem  = 251162624 (245276K)
avail mem = 221499392 (216308K)
using 3096 buffers containing 12681216 bytes (12384K) of
memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 02/25/02, BIOS32 rev.
0 
0xfaf93, SMBIOS rev. 2.3  0xec000 (46 entries)
bios0: TOSHIBA DynaBook T4/410PME
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, estimated 2:12 hours
apm0: flags 20102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1  0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 
0xf0200/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Acer Labs
M1533 ISA" rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xe0000/0x10000!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Acer Labs M1644
PCI" rev 0x01
ppb0 at pci0 dev 1 function 0 "Acer Labs M5247
AGP/PCI-PC" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Trident CyberBlade
XP/Ai1" rev 0x82
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci0 at pci0 dev 2 function 0 "Acer Labs M5237
USB" rev 0x03: irq 11,
version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pciide0 at pci0 dev 4 function 0 "Acer Labs M5229 UDMA
IDE" rev 0xc3:
DMA, channel 0 wired to compatibility, channel 1 wired to
compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK4018GAS>
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, UJDA720
DVD/CDRW, 1.00> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
autri0 at pci0 dev 6 function 0 "Acer Labs M5451
Audio" rev 0x01: irq 11
ac97: codec id 0x414b4d02 (Asahi Kasei AK4543)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, AKM
3D
audio0 at autri0
midi0 at autri0: <4DWAVE MIDI UART>
pcib0 at pci0 dev 7 function 0 "Acer Labs M1533
ISA" rev 0x00
alipm0 at pci0 dev 8 function 0 "Acer Labs M7101
Power" rev 0x00: 74KHz clock
iic0 at alipm0
admtemp0 at iic0 addr 0x4c: adm1032
fxp0 at pci0 dev 10 function 0 "Intel 8255x" rev
0x0d, i82550: irq 11,
address 00:00:39:8c:91:ed
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
"TI TSB43AB22 FireWire" rev 0x00 at pci0 dev 12
function 0 not configured
cbb0 at pci0 dev 17 function 0 "Toshiba ToPIC100
CardBus" rev 0x32: irq 11
cbb1 at pci0 dev 17 function 1 "Toshiba ToPIC100
CardBus" rev 0x32: irq 11
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: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using
exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: 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
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0,
lattimer 0x0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0 cacheline 0x0,
lattimer 0x0
pcmcia1 at cardslot1
biomask ef6d netmask ef6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
url0 at uhub0 port 2
url0: REALTEK USB 10/100 LAN, rev 1.10/1.00, addr 2
url0: address 00:e0:4c:03:22:ee
urlphy0 at url0 phy 0: RTL internal phy
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
pppoe0: received unexpected PADO





Please feel free to give suggetions to my pf.conf etc!


Re: Unstable PPPoE
user name
2007-07-27 09:42:19
On 7/27/07, Timothy Wilson <timothy.wilson87gmail.com> wrote:
> I'm having a frustrating problem. My internet is highly
unstable when
> using bit torrent. I don't think there's anything
special about my
> configuration: my gateway is a craptop with inbuilt
Intel ethernet and
> a url0 USB ethernet for the modem. The connection is
bridged, using pf
> (obviously) for routing / firewall and kernel PPPoE for
dialing via my
> bridged netcomm nb5+.
>
> Basically, when I try to use bit torrent the connection
dies after
> about 20mins. The kernel PPPoE daemon doesn't bring it
back up. In
> fact, even doing
> #sh /etc/netstart
> doesn't bring it back up. The only way to bring it back
up is via a
> reboot :( Very frustrating. It also takes about
10-15mins to
> reconnect; surely that's a bit too long, even for
PPPoE? I know this
> isn't a problem with my ISP as I've always been able to
download bt
> stably when I was using the modem in router mode. I
thought it might
> have been an MTU problem, but I'm using the mss fix in
/etc/pf.conf,
> so I don't think it's that. I played around with a few
values just to
> be sure, but I'm open to suggestions.

> dmesg:

> pppoe0: received unexpected PADO
> pppoe0: received unexpected PADO
> pppoe0: received unexpected PADO
> pppoe0: received unexpected PADO
> pppoe0: received unexpected PADO
> pppoe0: received unexpected PADO
> pppoe0: received unexpected PADO
> pppoe0: received unexpected PADO
> url0: usb error on tx: TIMEOUT
> pppoe0: LCP keepalive timeout

Based on your dmesg, it appears this might be related to
url0whether
it's the hardware, driver or something associated, I don't
know.  You
might want to try another Ethernet connection.  FWIW, I've
never been
a fan of "USB Ethernet."


Re: Unstable PPPoE
user name
2007-07-27 19:37:56
> it's the hardware, driver or something associated, I
don't know.  You
> might want to try another Ethernet connection.  FWIW,
I've never been
> a fan of "USB Ethernet."

url works surprisingly well, but I didn't like aue much. All
luck of
the draw with cheap ebay vendors though 


Re: Unstable PPPoE
user name
2007-07-28 05:26:31
Timothy Wilson wrote:
>
> /etc/hostname.pppoe:
>
> inet 0.0.0.0 255.255.255.255 NONE pppoedev url0
authproto auto
> authname 'user' authkey 'pass' up
> dest 0.0.0.1
> !/sbin/route/ add default -ifp pppoe0 0.0.0.1
>
> echo "up" > /etc/hostname.url0
>
> Please feel free to give suggetions to my pf.conf etc!
>   


Hi Timothy,

I'm recently setting up my box to do pppoe as well, and I
found your 
hostname.pppoe not working at all, unless I changed
authproto to pap.
auto isn't even supposed to work.

Here's what man ifconfig says:
     authproto proto
             Set the PPP authentication protocol on the
specified interface
             acting as a client.  The protocol name can be
either `chap',
             `pap', or `none'.  In the latter case,
authentication will be
             turned off.


I'm wondering why your box goes online at all?
Regards,
Dorian


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )