Keep loosing WAN IP Address - dhclient does not seem to do update
-
Ups, sorry bout that. I watched it for about 10 mins ;) Just starting up again.
Thanks alot.
-
Please run the command again. All known issues hopefully are solved.
-
NOTE: you WILL need to reboot afterwards.
Please run again, I just fixed a few more bugs.
-
Yea… my sense box seems pretty happy again.. thank you sir...
-
Good. Others please test. A new snapshot will be uploaded in a couple hours.
-
running great now for around 1 day!
Thanks a lot for the great work!
-
running great now for around 1 day!
Thanks a lot for the great work!
Awesome! Anyone else?
-
Works great ! I think you hit the spot ! ;D
-
Works great ! I think you hit the spot ! ;D
Great! That's 3-4 people that is now fixed. FreeBSD REALLY needs to take a look at their dhclient. It's obvious that it's subpar to ISC's.
Anyone else?
Merry Xmas and happy holidays!
-
Just updated to the latest cvs… No issue for 2 days. I think the right spot was hit ;)
Happy holidays and again - big thanks for the great work!
-
I'm new here; so it could be me; but I'm also experiencing the issue. I have to ifconfig up / down every couple hours. I don't see any logs that are showing me errors - any tips on where to look? I installed from the 12-23 build with squid and snort. I also ran the fetch command from above.
I'm all for suggesting it's user error; any tips are welcome. I had a build from early December running and it was up for a couple weeks without issue.
edit with a tiny bit more info - I've looked at the system.log; and it seems to be corrupted near the end.I'm on my second old clunker hard drive; maybe this one's been around the block too many times as well. There's some weird duplication at the end of the log before it turns into an ASCII mess:
Dec 27 02:44:31 chunder snort[775]: Var 'SMTP_SERVERS' defined, value len = 28 chars
Dec 27 02:44:31 chunder snort[775]: Var 'SMTP_SERVERS' defined, value len = 28 chars
Dec 27 02:44:31 chunder snort[775]: , value = [24.89.123.123,192.168.1.1,]
…skipping...
Dec 27 21:53:26 chunder dhclient: execve (/sb, ...): No such file or directory
Dec 27 21:53:26 chunder dhclient: execve (/sb, ...): No such file or directory
Dec 27 21:53:26 chunder dhclient: Listening on BPF/ed0/00:50:8d:f1:3a:9d
Dec 27 21:53:26 chunder dhclient: Sending on BPF/ed0/00:50:8d:f1:3a:9d
Dec 27 21:53:26 chunder dhclient: Can't bind to dhcp address: Address already in use
Dec 27 21:53:26 chunder dhclient: Can't bind to dhcp address: Address already in use
Dec 27 21:53:26 chunder dhclient: Please make sure there is no other dhcp server
Dec 27 21:53:26 chunder dhclient: Please make sure there is no other dhcp server
Dec 27 21:53:26 chunder dhclient: running and that there's no entry for dhcp or
Dec 27 21:53:26 chunder dhclient: running and that there's no entry for dhcp or
Dec 27 21:53:26 chunder dhclient: bootp in /etc/inetd.conf. Also make sure you
Dec 27 21:53:26 chunder dhclient: bootp in /etc/inetd.conf. Also make sure you
Dec 27 21:53:26 chunder dhclient: are not running HP JetAdmin software, which
Dec 27 21:53:26 chunder dhclient: are not running HP JetAdmin software, which
Dec 27 21:53:26 chunder dhclient: includes a bootp server.
Dec 27 21:53:26 chunder dhclient: includes a bootp server.Does that suggest anything? I'm not aware of any bootp servers running anywhere. Hm.
-
Any chance that you are using dhcp on more than 1 interface? The current dhclient-switch doesn't handle multiple dhcp interfaces correctly atm. We need to improve this a bit to handle these kind of situations.
-
Any chance that you are using dhcp on more than 1 interface? The current dhclient-switch doesn't handle multiple dhcp interfaces correctly atm. We need to improve this a bit to handle these kind of situations.
Bad news. Looks like we are going to have to revert back to the previous code. This newer code breaks our multi-wan dhcp.
-
Just to follow up on my previous information; I see this in the system.log:
Dec 28 08:39:40 chunder dhclient: execve (/usr/local/sbin/dhclient-script, …): No such file or directory Dec 28 08:39:40 chunder dhclient: execve (/usr/local/sbin/dhclient-script, ...): No such file or directory Dec 28 08:39:40 chunder dhclient: /y: not found Dec 28 08:39:40 chunder dhclient: /y: not found
dhclient-script is in /sbin ?
I'm still using the install from 12-23 and I used the fetch from another thread. Maybe I just made a mess…. Maybe I'll copy that over and see what happens; or maybe I'll get a chance to take a better look at it and see what put it there.
-
Investigating this error is riding a dead horse. We have to go back to the previous dhclient due to multi interface dhclient issues with the isc client that can't be worked around. The next snapshot will be back at the "old" openbsd dhclient.
-
Hi !
Does the following code work to workaround temporarily this problem ?
/etc/rc.newwanip
if($curwanip == "0.0.0.0") {
log_error("Failed to update WAN IP, restarting dhclient.");
exec("dhclient fxp0");Thanks in advance.
-
I don't want to stress anybody but I didn't received any answer and this topic seems to be stopped.
This issue is being solved ?
I'm having this problem too.Thanks in advance.
-
I don't want to stress anybody but I didn't received any answer and this topic seems to be stopped.
This issue is being solved ?
I'm having this problem too.Thanks in advance.
No, work has halted. Sorry.
-
I have commited some work around code to this bug. Please test a snapshot in about an hour from now and see if it works around the issue.
-
Hi again.
I did the update but I lost my connection at this moment again where it didn't happened with an old pfsense with the same hardware:
php: : Hotplug event detected for vr0 but ignoring since interface is not set for DHCP
Jan 30 10:28:24 php: : Hotplug event detected for vr0 but ignoring since interface is not set for DHCP
Jan 30 10:28:23 check_reload_status: rc.linkup starting
Jan 30 10:28:23 mpd: [pt1] LCP: no reply to 1 echo request(s)
Jan 30 10:28:22 kernel: vr0: link state changed to UP
Jan 30 10:28:19 kernel: vr0: link state changed to DOWN
Jan 30 10:28:19 mpd: [pt0] LCP: no reply to 1 echo request(s)
Jan 30 10:28:08 php: : DEVD Ethernet attached event for fxp0
Jan 30 10:28:08 kernel: vr0: link state changed to UP
Jan 30 10:28:08 check_reload_status: rc.linkup starting
Jan 30 10:28:04 kernel: fxp0: link state changed to UP
Jan 30 10:28:03 php: : Hotplug event detected for vr0 but ignoring since interface is not set for DHCP
Jan 30 10:28:03 php: : Hotplug event detected for vr0 but ignoring since interface is not set for DHCP
Jan 30 10:28:03 php: : DEVD Ethernet detached event for fxp0
Jan 30 10:28:03 check_reload_status: rc.linkup starting
Jan 30 10:28:00 kernel: vr0: link state changed to DOWN
Jan 30 10:27:59 kernel: vr0: link state changed to UP
Jan 30 10:27:58 kernel: fxp0: link state changed to DOWN
Jan 30 10:27:58 php: : Hotplug event detected for vr0 but ignoring since interface is not set for DHCP
Jan 30 10:27:58 check_reload_status: rc.linkup starting
Jan 30 10:27:53 kernel: vr0: link state changed to DOWN
Jan 30 10:21:44 mpd: [pt1] IFACE: Up event
Jan 30 10:21:44 mpd: [pt1] exec: /usr/local/sbin/vpn-linkup ng2 inet 172.16.99.1 172.16.99.97 USERXXX
Jan 30 10:21:44 mpd: [pt1] exec: command returned 256
Jan 30 10:21:44 mpd: [pt1] exec: /sbin/route add 172.16.99.1 -iface lo0
Jan 30 10:21:44 mpd: [pt1] no interface to proxy arp on for 172.16.99.97
Jan 30 10:21:44 mpd: [pt1] exec: /sbin/ifconfig ng2 172.16.99.1 172.16.99.97 netmask 0xffffffff -link0
Jan 30 10:21:44 mpd: [pt1] setting interface ng2 MTU to 1396 bytes
Jan 30 10:21:44 mpd: [pt1] IFACE: Up event
Jan 30 10:21:44 mpd: 172.16.99.1 -> 172.16.99.97
Jan 30 10:21:44 mpd: [pt1] IPCP: LayerUp
Jan 30 10:21:44 mpd: [pt1] IPCP: state change Ack-Sent –> Opened
Jan 30 10:21:44 mpd: IPADDR 172.16.99.1
Jan 30 10:21:44 mpd: [pt1] IPCP: rec'd Configure Ack #13 link 0 (Ack-Sent)
Jan 30 10:21:44 mpd: [pt1] IPCP: state change Req-Sent –> Ack-Sent
Jan 30 10:21:44 mpd: IPADDR 172.16.99.97
Jan 30 10:21:44 mpd: [pt1] IPCP: SendConfigAck #7
Jan 30 10:21:44 mpd: 172.16.99.97 is OK
Jan 30 10:21:44 mpd: IPADDR 172.16.99.97
Jan 30 10:21:44 mpd: [pt1] IPCP: rec'd Configure Request #7 link 0 (Req-Sent)
Jan 30 10:21:44 mpd: [pt1] setting interface ng2 MTU to 1396 bytes
Jan 30 10:21:44 mpd: Decompress using: MPPE, 128 bit, stateless
Jan 30 10:21:44 mpd: Compress using: MPPE, 128 bit, stateless
Jan 30 10:21:44 mpd: [pt1] CCP: LayerUp
Jan 30 10:21:44 mpd: [pt1] CCP: state change Ack-Rcvd –> Opened
Jan 30 10:21:44 mpd: 0x01000040: MPPE, 128 bit, stateless
Jan 30 10:21:44 mpd: MPPC
Jan 30 10:21:44 mpd: [pt1] CCP: SendConfigAck #6
Jan 30 10:21:44 mpd: [pt1] CCP: Checking whether 128 bits are acceptable -> yes
Jan 30 10:21:44 mpd: 0x01000040: MPPE, 128 bit, statelessThanks.