More information ...
I did a "find / ..." of the entire system to check what
program/script call /etc/rc.newwanip and found only /usr/local/sbin/check_reload_status.
The original logger message in /etc/rc.newwanip claims that
it was spawned by DHClient (green line in system log
output below), but this does not seem to be the case -- at least not
directly.
The /sbin/dhclient-script does however create the exit hook
file /tmp/rc.newwanip, which I assume triggers check_load_status to call
/etc/rc.newwanip?! If this is the case, then the problem possibly
lies in /etc/rc. The last few line read:
# Remove stale files that have already been processed
by boot up
# scripts
rm -f /tmp/filter_dirty
rm -f /tmp/rc.newwanip
rm -f /tmp/rc.linkup
/usr/bin/nice -n20 /usr/local/sbin/check_reload_status 2>/dev/null
# scripts
rm -f /tmp/filter_dirty
rm -f /tmp/rc.newwanip
rm -f /tmp/rc.linkup
/usr/bin/nice -n20 /usr/local/sbin/check_reload_status 2>/dev/null
echo "Bootup complete"
/usr/local/bin/beep.sh start 2>&1
>/dev/null
exit 0
I think that by the time the boot up process reaches the
end of /etc/rc, the kernel has already run /sbin/dhclient, which in turn will
have created a new /tmp/rc.newwanip file. The /etc/rc script then
however deletes it before starting check_reload_status. As a result
/etc/rc.newwanip is never called!
I'm only guessing here since check_reload_status is a
binary, so I don't know how it is working ...
--Günter.
From: Günter Müller [mailto:[EMAIL PROTECTED]
Sent: Sunday, 6 August 2006 23:47
To: support@pfsense.com
Subject: RE: [pfSense Support] BigPond WAN - bpalogin not starting (Ticket 1047)
Hi,
(This post relates to problem ticket #1047. I'm
unable to add remarks to ticket #1047 -- requires login?!)
I'm still having
trouble with the BigPond WAN interface. At boot time the /etc/rc.newwanip script
is never called at all! Hence BPAlogin is not started automatically.
To get the WAN link up I need to connect via the brower and click on "Save" on
the WAN interface page.
Added log_error("Information: ...") debug line to /etc/rc.newwanip to verify this. Below is the copy of the System logs in reverse order. My debug line highlighted in "Maroon" and added <comments> for clarity. It is also strange that the current wan ip ($curwanip) is reported as 0.0.0.0?!
Aug 6 23:10:32 bpalogin[1140]: Logged on as gmuller2 - successful at Sun Aug 6 23:10:32 2006
Aug 6 23:10:27 bpalogin[1140]: Listening on port 5050
Aug 6 23:10:27 bpalogin[1140]: Auth host = dce-server.wa.bigpond.net.au:5050
Aug 6 23:10:25 php: : FTP proxy disabled for interface LAN - ignoring.
Aug 6 23:10:23 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Aug 6 23:10:23 dhcpd: All rights reserved.
Aug 6 23:10:23 dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Aug 6 23:10:23 dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Aug 6 23:10:22 php: : Creating rrd graph index
Aug 6 23:10:22 php: : Creating rrd update script
Aug 6 23:10:22 bpalogin[1140]: BPALogin v2.0.2 - portable BigPond Broadband login client
Aug 6 23:10:22 dnsmasq[1124]: using nameserver 61.9.242.33#53
Aug 6 23:10:22 dnsmasq[1124]: using nameserver 61.9.207.1#53
Aug 6 23:10:22 dnsmasq[1124]: using nameserver 61.9.211.33#53
Aug 6 23:10:22 dnsmasq[1124]: reading /etc/resolv.conf
Aug 6 23:10:22 dnsmasq[1124]: reading /var/dhcpd/var/db/dhcpd.leases
Aug 6 23:10:22 dnsmasq[1124]: read /etc/hosts - 26 addresses
Aug 6 23:10:22 dnsmasq[1124]: started, version 2.22 cachesize 150
Aug 6 23:10:22 php: : Informational: DHClient spawned /etc/rc.newwanip and the new ip is wan - 0.0.0.0.
Aug 6 23:10:21 dnsmasq[659]: exiting on receipt of SIGTERM
Aug 6 23:10:21 dnsmasq[659]: using nameserver 61.9.242.33#53
Aug 6 23:10:21 dnsmasq[659]: using nameserver 61.9.207.1#53
Aug 6 23:10:21 dnsmasq[659]: using nameserver 61.9.211.33#53
Aug 6 23:10:21 dnsmasq[659]: reading /etc/resolv.conf
Aug 6 23:10:21 dnsmasq[659]: reading /var/dhcpd/var/db/dhcpd.leases
Aug 6 23:10:19 php: : Informational: Calling interfaces_wan_bigpond_configure with curwanip - 0.0.0.0.
Aug 6 23:10:18 dhclient[976]: bound to 147.10.231.192 -- renewal in 9547 seconds.
Aug 6 23:10:18 dhclient: /sbin/route add default 147.10.228.1
Aug 6 23:10:18 dhclient: New Routers (xe1): 147.10.228.1
Aug 6 23:10:18 dhclient: New Broadcast Address (xe1): 255.255.255.255
Aug 6 23:10:18 dhclient: New Subnet Mask (xe1): 255.255.252.0
Aug 6 23:10:18 dhclient: New IP Address (xe1): 147.10.231.192
Aug 6 23:10:17 dhclient[976]: DHCPACK from 10.106.200.1
Aug 6 23:10:17 php: : Informational: /etc/rc.newwanip has set curwanip to 0.0.0.0.
Aug 6 23:10:17 php: : Informational: /etc/rc.newwanip has set interface to wan.
Aug 6 23:10:17 php: : Informational: /etc/rc.newwanip called with arg: xe1.
Aug 6 23:10:14 dhclient[976]: DHCPREQUEST on xe1 to 255.255.255.255 port 67
Aug 6 23:10:10 dhclient[218]: exiting.
Aug 6 23:10:10 dhclient[218]: exiting.
Aug 6 23:10:10 dhclient[218]: connection closed
Aug 6 23:10:10 dhclient[218]: connection closed
Added log_error("Information: ...") debug line to /etc/rc.newwanip to verify this. Below is the copy of the System logs in reverse order. My debug line highlighted in "Maroon" and added <comments> for clarity. It is also strange that the current wan ip ($curwanip) is reported as 0.0.0.0?!
Aug 6 23:10:32 bpalogin[1140]: Logged on as gmuller2 - successful at Sun Aug 6 23:10:32 2006
Aug 6 23:10:27 bpalogin[1140]: Listening on port 5050
Aug 6 23:10:27 bpalogin[1140]: Auth host = dce-server.wa.bigpond.net.au:5050
Aug 6 23:10:25 php: : FTP proxy disabled for interface LAN - ignoring.
Aug 6 23:10:23 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Aug 6 23:10:23 dhcpd: All rights reserved.
Aug 6 23:10:23 dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Aug 6 23:10:23 dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Aug 6 23:10:22 php: : Creating rrd graph index
Aug 6 23:10:22 php: : Creating rrd update script
Aug 6 23:10:22 bpalogin[1140]: BPALogin v2.0.2 - portable BigPond Broadband login client
Aug 6 23:10:22 dnsmasq[1124]: using nameserver 61.9.242.33#53
Aug 6 23:10:22 dnsmasq[1124]: using nameserver 61.9.207.1#53
Aug 6 23:10:22 dnsmasq[1124]: using nameserver 61.9.211.33#53
Aug 6 23:10:22 dnsmasq[1124]: reading /etc/resolv.conf
Aug 6 23:10:22 dnsmasq[1124]: reading /var/dhcpd/var/db/dhcpd.leases
Aug 6 23:10:22 dnsmasq[1124]: read /etc/hosts - 26 addresses
Aug 6 23:10:22 dnsmasq[1124]: started, version 2.22 cachesize 150
Aug 6 23:10:22 php: : Informational: DHClient spawned /etc/rc.newwanip and the new ip is wan - 0.0.0.0.
Aug 6 23:10:21 dnsmasq[659]: exiting on receipt of SIGTERM
Aug 6 23:10:21 dnsmasq[659]: using nameserver 61.9.242.33#53
Aug 6 23:10:21 dnsmasq[659]: using nameserver 61.9.207.1#53
Aug 6 23:10:21 dnsmasq[659]: using nameserver 61.9.211.33#53
Aug 6 23:10:21 dnsmasq[659]: reading /etc/resolv.conf
Aug 6 23:10:21 dnsmasq[659]: reading /var/dhcpd/var/db/dhcpd.leases
Aug 6 23:10:19 php: : Informational: Calling interfaces_wan_bigpond_configure with curwanip - 0.0.0.0.
Aug 6 23:10:18 dhclient[976]: bound to 147.10.231.192 -- renewal in 9547 seconds.
Aug 6 23:10:18 dhclient: /sbin/route add default 147.10.228.1
Aug 6 23:10:18 dhclient: New Routers (xe1): 147.10.228.1
Aug 6 23:10:18 dhclient: New Broadcast Address (xe1): 255.255.255.255
Aug 6 23:10:18 dhclient: New Subnet Mask (xe1): 255.255.252.0
Aug 6 23:10:18 dhclient: New IP Address (xe1): 147.10.231.192
Aug 6 23:10:17 dhclient[976]: DHCPACK from 10.106.200.1
Aug 6 23:10:17 php: : Informational: /etc/rc.newwanip has set curwanip to 0.0.0.0.
Aug 6 23:10:17 php: : Informational: /etc/rc.newwanip has set interface to wan.
Aug 6 23:10:17 php: : Informational: /etc/rc.newwanip called with arg: xe1.
Aug 6 23:10:14 dhclient[976]: DHCPREQUEST on xe1 to 255.255.255.255 port 67
Aug 6 23:10:10 dhclient[218]: exiting.
Aug 6 23:10:10 dhclient[218]: exiting.
Aug 6 23:10:10 dhclient[218]: connection closed
Aug 6 23:10:10 dhclient[218]: connection closed
<Connect via brower and
clicked "Save" on Interfaces:WAN page>
<Started shell (option 8)
and confirmed that bpalogin was not running>
Aug 6 23:08:16 login:
login on ttyv0 as root <Boot-up complete -- console
menu displayed>
Aug 6 23:08:14 php: : Resyncing configuration for all packages.
Aug 6 23:08:12 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Aug 6 23:08:12 dhcpd: All rights reserved.
Aug 6 23:08:12 dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Aug 6 23:08:12 dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Aug 6 23:08:12 php: : Creating rrd graph index
Aug 6 23:08:12 php: : Creating rrd update script
Aug 6 23:08:12 pftpx[735]: listening on 127.0.0.1 port 8021
Aug 6 23:08:12 pftpx[735]: listening on 127.0.0.1 port 8021
Aug 6 23:08:11 msntp[693]: msntp: using NTP server pool.ntp.org (69.26.178.19)
Aug 6 23:08:11 msntp[693]: msntp: different parameters for restart
Aug 6 23:08:11 msntp[693]: d=18000 c=5 x=18000 op=1 l=/var/run/msntp.pid f=/var/db/msntp.state pool.ntp.org
Aug 6 23:08:11 msntp[693]: msntp options: a=2 p=0 v=1 e=0.100 E=5.000 P=2147483647.000
Aug 6 23:08:11 dhcpd: lease 192.168.192.2: no subnet.
Aug 6 23:08:11 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Aug 6 23:08:11 dhcpd: All rights reserved.
Aug 6 23:08:11 dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Aug 6 23:08:11 dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Aug 6 23:08:10 dnsmasq[659]: using nameserver 61.9.242.33#53
Aug 6 23:08:10 dnsmasq[659]: using nameserver 61.9.207.1#53
Aug 6 23:08:10 dnsmasq[659]: using nameserver 61.9.211.33#53
Aug 6 23:08:10 dnsmasq[659]: reading /etc/resolv.conf
Aug 6 23:08:10 dnsmasq[659]: reading /var/dhcpd/var/db/dhcpd.leases
Aug 6 23:08:10 dnsmasq[659]: read /etc/hosts - 26 addresses
Aug 6 23:08:10 dnsmasq[659]: started, version 2.22 cachesize 150
Aug 6 23:08:04 php: : FTP proxy disabled for interface LAN - ignoring.
Aug 6 23:08:04 kernel: pflog0: promiscuous mode enabled
Aug 6 23:08:03 dhclient[217]: bound to 147.10.231.192 -- renewal in 9615 seconds.
Aug 6 23:08:03 dhclient: /sbin/route add default 147.10.228.1
Aug 6 23:08:02 dhclient: New Routers (xe1): 147.10.228.1
Aug 6 23:08:02 dhclient: New Broadcast Address (xe1): 255.255.255.255
Aug 6 23:08:02 dhclient: New Subnet Mask (xe1): 255.255.252.0
Aug 6 23:08:02 dhclient: New IP Address (xe1): 147.10.231.192
Aug 6 23:08:01 dhclient[217]: DHCPACK from 10.106.200.1
Aug 6 23:07:59 sshlockout[229]: sshlockout starting up
Aug 6 23:07:59 sshlockout[229]: sshlockout starting up
Aug 6 23:07:59 dhclient[217]: DHCPREQUEST on xe1 to 255.255.255.255 port 67
Aug 6 23:07:59 sshd[228]: Server listening on 0.0.0.0 port 22.
Aug 6 23:07:59 sshd[228]: Server listening on :: port 22.
Aug 6 23:07:56 kernel: Trying to mount root from ufs:/dev/ad0s2a
Aug 6 23:07:56 kernel: GEOM_LABEL: Label for provider ad0s1 is ntfs/Windows XP.
Aug 6 23:07:56 kernel: acd0: CDROM <TOSHIBA CD-ROM XM-1802D/1d21> at ata1-master PIO4
Aug 6 23:07:56 kernel: ad0: 11513MB <TOSHIBA MK1214GAP N0.15 G> at ata0-master UDMA33
Aug 6 23:07:56 kernel: xe1: if_start running deferred for Giant
Aug 6 23:07:56 kernel: xe1: Ethernet address: 00:10:a4:a9:73:fd
Aug 6 23:07:56 kernel: xe1: version 0x45/0x04, 100Mbps capable
Aug 6 23:07:56 kernel: xe1: [GIANT-LOCKED]
Aug 6 23:07:56 kernel: xe1: <Xircom CreditCard Ethernet 10/100> at port 0x110-0x11f iomem 0x88002000-0x88002fff irq 11 function 0 config 1 on pccard1
Aug 6 23:07:56 kernel: xe0: if_start running deferred for Giant
Aug 6 23:07:56 kernel: xe0: Ethernet address: 00:80:c7:2b:4f:99
Aug 6 23:07:56 kernel: xe0: version 0x45/0x04, 100Mbps capable
Aug 6 23:07:56 kernel: xe0: [GIANT-LOCKED]
Aug 6 23:07:56 kernel: xe0: <Xircom CreditCard Ethernet 10/100> at port 0x100-0x10f iomem 0x88000000-0x88000fff irq 11 function 0 config 1 on pccard0
Aug 6 23:07:56 kernel: Fast IPsec: Initialized Security Association Processing.
Aug 6 23:07:56 kernel: Timecounters tick every 1.000 msec
Aug 6 23:07:56 kernel: Timecounter "TSC" frequency 299942420 Hz quality 800
Aug 6 23:07:56 kernel: ums0: 3 buttons and Z dir.
Aug 6 23:07:56 kernel: ums0: Cypress Cypress PS/2 Keyboard - PS/2 Mouse, rev 1.10/1.01, addr 2, iclass 3/1
Aug 6 23:07:56 kernel: kbd2 at ukbd0
Aug 6 23:07:56 kernel: ukbd0: Cypress Cypress PS/2 Keyboard - PS/2 Mouse, rev 1.10/1.01, addr 2, iclass 3/1
Aug 6 23:07:56 kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Aug 6 23:07:56 kernel: sio1: port may not be enabled
Aug 6 23:07:56 kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
Aug 6 23:07:56 kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Aug 6 23:07:56 kernel: sc0: <System console> at flags 0x100 on isa0
Aug 6 23:07:56 kernel: orm0: <ISA Option ROMs> at iomem 0xc0000-0xcbfff,0xe8000-0xebfff on isa0
Aug 6 23:07:56 kernel: pmtimer0 on isa0
Aug 6 23:07:56 kernel: ppi0: <Parallel I/O> on ppbus0
Aug 6 23:07:56 kernel: lpt0: Interrupt-driven port
Aug 6 23:07:56 kernel: lpt0: <Printer> on ppbus0
Aug 6 23:07:56 kernel: ppbus0: <Parallel port bus> on ppc0
Aug 6 23:07:56 kernel: ppc0: FIFO with 16/16/8 bytes threshold
Aug 6 23:07:56 kernel: ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
Aug 6 23:07:56 kernel: ppc0: <ECP parallel printer port> port 0x378-0x37a,0x778-0x77a irq 7 drq 3 on acpi0
Aug 6 23:07:56 kernel: sio0: type 16550A
Aug 6 23:07:56 kernel: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Aug 6 23:07:56 kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Aug 6 23:07:56 kernel: fdc0: [FAST]
Aug 6 23:07:56 kernel: fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
Aug 6 23:07:56 kernel: psm0: model GlidePoint, device ID 0
Aug 6 23:07:56 kernel: psm0: [GIANT-LOCKED]
Aug 6 23:07:56 kernel: psm0: <PS/2 Mouse> flags 0x1000 irq 12 on atkbdc0
Aug 6 23:07:56 kernel: atkbd0: [GIANT-LOCKED]
Aug 6 23:07:56 kernel: kbd0 at atkbd0
Aug 6 23:07:56 kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Aug 6 23:07:56 kernel: atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
Aug 6 23:07:56 kernel: speaker0: <PC speaker> port 0x61 on acpi0
Aug 6 23:07:56 kernel: acpi_tz0: <Thermal Zone> on acpi0
Aug 6 23:07:56 kernel: acpi_acad0: <AC Adapter> on acpi0
<System booted>
Aug 6 23:08:14 php: : Resyncing configuration for all packages.
Aug 6 23:08:12 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Aug 6 23:08:12 dhcpd: All rights reserved.
Aug 6 23:08:12 dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Aug 6 23:08:12 dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Aug 6 23:08:12 php: : Creating rrd graph index
Aug 6 23:08:12 php: : Creating rrd update script
Aug 6 23:08:12 pftpx[735]: listening on 127.0.0.1 port 8021
Aug 6 23:08:12 pftpx[735]: listening on 127.0.0.1 port 8021
Aug 6 23:08:11 msntp[693]: msntp: using NTP server pool.ntp.org (69.26.178.19)
Aug 6 23:08:11 msntp[693]: msntp: different parameters for restart
Aug 6 23:08:11 msntp[693]: d=18000 c=5 x=18000 op=1 l=/var/run/msntp.pid f=/var/db/msntp.state pool.ntp.org
Aug 6 23:08:11 msntp[693]: msntp options: a=2 p=0 v=1 e=0.100 E=5.000 P=2147483647.000
Aug 6 23:08:11 dhcpd: lease 192.168.192.2: no subnet.
Aug 6 23:08:11 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Aug 6 23:08:11 dhcpd: All rights reserved.
Aug 6 23:08:11 dhcpd: Copyright 2004-2005 Internet Systems Consortium.
Aug 6 23:08:11 dhcpd: Internet Systems Consortium DHCP Server V3.0.3
Aug 6 23:08:10 dnsmasq[659]: using nameserver 61.9.242.33#53
Aug 6 23:08:10 dnsmasq[659]: using nameserver 61.9.207.1#53
Aug 6 23:08:10 dnsmasq[659]: using nameserver 61.9.211.33#53
Aug 6 23:08:10 dnsmasq[659]: reading /etc/resolv.conf
Aug 6 23:08:10 dnsmasq[659]: reading /var/dhcpd/var/db/dhcpd.leases
Aug 6 23:08:10 dnsmasq[659]: read /etc/hosts - 26 addresses
Aug 6 23:08:10 dnsmasq[659]: started, version 2.22 cachesize 150
Aug 6 23:08:04 php: : FTP proxy disabled for interface LAN - ignoring.
Aug 6 23:08:04 kernel: pflog0: promiscuous mode enabled
Aug 6 23:08:03 dhclient[217]: bound to 147.10.231.192 -- renewal in 9615 seconds.
Aug 6 23:08:03 dhclient: /sbin/route add default 147.10.228.1
Aug 6 23:08:02 dhclient: New Routers (xe1): 147.10.228.1
Aug 6 23:08:02 dhclient: New Broadcast Address (xe1): 255.255.255.255
Aug 6 23:08:02 dhclient: New Subnet Mask (xe1): 255.255.252.0
Aug 6 23:08:02 dhclient: New IP Address (xe1): 147.10.231.192
Aug 6 23:08:01 dhclient[217]: DHCPACK from 10.106.200.1
Aug 6 23:07:59 sshlockout[229]: sshlockout starting up
Aug 6 23:07:59 sshlockout[229]: sshlockout starting up
Aug 6 23:07:59 dhclient[217]: DHCPREQUEST on xe1 to 255.255.255.255 port 67
Aug 6 23:07:59 sshd[228]: Server listening on 0.0.0.0 port 22.
Aug 6 23:07:59 sshd[228]: Server listening on :: port 22.
Aug 6 23:07:56 kernel: Trying to mount root from ufs:/dev/ad0s2a
Aug 6 23:07:56 kernel: GEOM_LABEL: Label for provider ad0s1 is ntfs/Windows XP.
Aug 6 23:07:56 kernel: acd0: CDROM <TOSHIBA CD-ROM XM-1802D/1d21> at ata1-master PIO4
Aug 6 23:07:56 kernel: ad0: 11513MB <TOSHIBA MK1214GAP N0.15 G> at ata0-master UDMA33
Aug 6 23:07:56 kernel: xe1: if_start running deferred for Giant
Aug 6 23:07:56 kernel: xe1: Ethernet address: 00:10:a4:a9:73:fd
Aug 6 23:07:56 kernel: xe1: version 0x45/0x04, 100Mbps capable
Aug 6 23:07:56 kernel: xe1: [GIANT-LOCKED]
Aug 6 23:07:56 kernel: xe1: <Xircom CreditCard Ethernet 10/100> at port 0x110-0x11f iomem 0x88002000-0x88002fff irq 11 function 0 config 1 on pccard1
Aug 6 23:07:56 kernel: xe0: if_start running deferred for Giant
Aug 6 23:07:56 kernel: xe0: Ethernet address: 00:80:c7:2b:4f:99
Aug 6 23:07:56 kernel: xe0: version 0x45/0x04, 100Mbps capable
Aug 6 23:07:56 kernel: xe0: [GIANT-LOCKED]
Aug 6 23:07:56 kernel: xe0: <Xircom CreditCard Ethernet 10/100> at port 0x100-0x10f iomem 0x88000000-0x88000fff irq 11 function 0 config 1 on pccard0
Aug 6 23:07:56 kernel: Fast IPsec: Initialized Security Association Processing.
Aug 6 23:07:56 kernel: Timecounters tick every 1.000 msec
Aug 6 23:07:56 kernel: Timecounter "TSC" frequency 299942420 Hz quality 800
Aug 6 23:07:56 kernel: ums0: 3 buttons and Z dir.
Aug 6 23:07:56 kernel: ums0: Cypress Cypress PS/2 Keyboard - PS/2 Mouse, rev 1.10/1.01, addr 2, iclass 3/1
Aug 6 23:07:56 kernel: kbd2 at ukbd0
Aug 6 23:07:56 kernel: ukbd0: Cypress Cypress PS/2 Keyboard - PS/2 Mouse, rev 1.10/1.01, addr 2, iclass 3/1
Aug 6 23:07:56 kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Aug 6 23:07:56 kernel: sio1: port may not be enabled
Aug 6 23:07:56 kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
Aug 6 23:07:56 kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Aug 6 23:07:56 kernel: sc0: <System console> at flags 0x100 on isa0
Aug 6 23:07:56 kernel: orm0: <ISA Option ROMs> at iomem 0xc0000-0xcbfff,0xe8000-0xebfff on isa0
Aug 6 23:07:56 kernel: pmtimer0 on isa0
Aug 6 23:07:56 kernel: ppi0: <Parallel I/O> on ppbus0
Aug 6 23:07:56 kernel: lpt0: Interrupt-driven port
Aug 6 23:07:56 kernel: lpt0: <Printer> on ppbus0
Aug 6 23:07:56 kernel: ppbus0: <Parallel port bus> on ppc0
Aug 6 23:07:56 kernel: ppc0: FIFO with 16/16/8 bytes threshold
Aug 6 23:07:56 kernel: ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
Aug 6 23:07:56 kernel: ppc0: <ECP parallel printer port> port 0x378-0x37a,0x778-0x77a irq 7 drq 3 on acpi0
Aug 6 23:07:56 kernel: sio0: type 16550A
Aug 6 23:07:56 kernel: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Aug 6 23:07:56 kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Aug 6 23:07:56 kernel: fdc0: [FAST]
Aug 6 23:07:56 kernel: fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
Aug 6 23:07:56 kernel: psm0: model GlidePoint, device ID 0
Aug 6 23:07:56 kernel: psm0: [GIANT-LOCKED]
Aug 6 23:07:56 kernel: psm0: <PS/2 Mouse> flags 0x1000 irq 12 on atkbdc0
Aug 6 23:07:56 kernel: atkbd0: [GIANT-LOCKED]
Aug 6 23:07:56 kernel: kbd0 at atkbd0
Aug 6 23:07:56 kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Aug 6 23:07:56 kernel: atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
Aug 6 23:07:56 kernel: speaker0: <PC speaker> port 0x61 on acpi0
Aug 6 23:07:56 kernel: acpi_tz0: <Thermal Zone> on acpi0
Aug 6 23:07:56 kernel: acpi_acad0: <AC Adapter> on acpi0
<System booted>
--Günter.
-----Original Message-----
From: Bill Marquette [mailto:[EMAIL PROTECTED]]
Sent: Friday, 21 July 2006 10:51
To: support@pfsense.com
Subject: Re: [pfSense Support] BigPond WAN - bpalogin not starting
Fixed, thanks for the tip! I've requested an MFC on this, so it should show up in RELENG_1 shortly.
--Bill
On 7/20/06, Günter Müller <[EMAIL PROTECTED]> wrote:
>
>
> Reply to myself ...
>
> After further digging around and getting a better understanding of the
> code I now realise that interfaces.inc is not the right file to patch
> as suggested in my previous post below.
>
> This problem is related to Bug Ticket #702, which is flagged as fixed,
> but appears to be still broken or again.
>
> I have followed the instructions in Forum Topic 181 and FAQ 1089
> http://forum.pfsense.org/index.php?topic=181.0
> http://faq.pfsense.org/index.php?sid=10900&lang=en&action="">
> 10&id=100&artlang=en
>
> Still no luck! I had a look at /etc/inc/interfaces.inc and can
> confirm that the code to create the bpalogin.conf file and start
> bpalogin is there in the function interfaces_wan_bigpond_configure. I
> found that this function should be called from /etc/rc.newwanip.
> After studing the syslog messages closely, I found that $interface is
> not set correctly in rc.newwanip. An examination of the code has revealed the following bug:
> Lines 40-48:
> if($argument <> "") {
> $curwanip = find_interface_ip($$argument);
> $interface =
> convert_real_interface_to_friendly_interface_name($$argument);
> if($curwanip == "")
>
> $curwanip = get_current_wan_address();
>
> } else {
>
> $curwanip = get_current_wan_address();
> $interface = "wan";
> }
>
> Note the $$argument on lines 41 & 42! Changing these to $argument has
> fixed the problem!! BPAlogin starts up correctly now.
>
> Regards,
>
> Günter.
>
> ________________________________
> From: Günter Müller [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 20 July 2006 15:27
> To: support@pfsense.com
> Subject: [pfSense Support] BigPond WAN - bpalogin not starting
>
>
>
> Hi,
>
> I'm a newbie to pfSense (using 1.0rc1) and am trying to get a BigPond
> Cable WAN connection working. If have selected BigPond for the WAN
> connection and entered the username, password, etc. correctly. I
> successfully get a Bigpond DHCP address, but bpalogin does not fire up!
>
> I have checked in /var/etc, /etc and /usr/local/etc, but have not
> found an bpalogin.conf file that should have been created by the webConfigurator.
>
> Hence I have manually created the file in /var/etc (and
> /usr/local/etc) and started bpalogin from the shell prompt, which
> worked and I now can get out to the 'Net.
>
> A search on of the mail-archives for "BigPond" pointed me to the file
> /etc/inc/interfaces.inc. I managed to debug the file and found that
> the code for Bigpond was incomplete. I added a couple of lines and it
> is working for me now.
>
> Below is a diff of interfaces.inc and interfaces.inc.bak:
> 808,809d807
> < $curwanip = get_current_wan_address();
> <
> interfaces_wan_bigpond_configure($curwanip);
>
> I hope this fix can make its way into future releases of pfsense and
> be of help to other BigPond users with the same problem.
>
> Regards,
>
> Günter Müller
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]