Bug #2458
closed
Pfsense not registering DNS servers found by PPP
Added by royden yates over 12 years ago.
Updated over 12 years ago.
Description
2.1-DEVELOPMENT (i386) - built May 27 05:31:49 EDT 2012 on i386
If system general DNS settings are left empty no dns servers are picked up and used over PPP even though PPP log shows that dns entries are transmitted. All is well with manual entry of dns servers under System: General Setup.
Forum link: [[http://forum.pfsense.org/index.php/topic,49565.0.html]]
Files
- Status changed from New to Feedback
I committed a fixed ppp-linkup script. It looks like what used to be 2 different variables is now a single variable.
Works for my 3G modem, so I'd guess it works for PPPoE too. Might need MFC to RELENG_2_0
My modem is a Huawei LTE e398
The modified ppp-linkup script fails for me and results in the modem being unresponsive. Tried variously, with reboots no difference. Copying back the old script and manually entering dns info restores connection, after re-enabling interface.
Attached is the PPP log.
Shout for more if needed.
My comment may be invalid as I have a different response from snap 2.1-DEVELOPMENT (i386)
built on Mon May 28 10:16:21 EDT 2012 that includes the relevant commit than I did from testing only ppp-linkup. Still does not work however, and needs manual dns info.
Using snap built on Mon May 28 10:16:21 EDT 2012 I cannot reproduce the log from using the ppp-linkup (Revision 703173f2) copied over to snap built May 27 05:31:49 EDT 2012 on i386. For one, the PPP-log now contains no comms between the modem and the AP yet the system registers an IP and gateway and the interface is up but lacks dns entries (which can be manually entered with success). Both tests thus have same outcome but different logs.
Note: in snap Mon May 28 10:16:21 EDT 2012 if the interface is disconnected and then reconnected this results in a hung modem and needs a reboot. PPP log shows endless re-connection attempts:
"May 29 01:28:19 ppp: [wan_link0] Link: reconnection attempt 1 in 4 seconds
May 29 01:28:23 ppp: [wan_link0] Link: reconnection attempt 1
May 29 01:28:36 ppp: [wan_link0] CHAT: The modem is not responding to "AT" at ModemCmd: label.
May 29 01:28:36 ppp: [wan_link0] MODEM: chat script failed
May 29 01:28:36 ppp: [wan_link0] Link: DOWN event
May 29 01:28:36 ppp: [wan_link0] LCP: Down event"
This "hang" does not happen if ppp-linkup prior to Revision 703173f2 is copied to snap Mon May 28 10:16:21 EDT 2012. Interface can be taken down and then up.
Have attached /var/etc/mpd_wan.conf
2.1-BETA0 (i386)
built on Wed May 30 19:35:31 EDT 2012
FreeBSD 8.3-RELEASE-p2
The script IS NOT working for me also. (direct PPPoE connection without any modems between)
ThorstenK code, posted in forum, works flawlessly for me (I use IPv4 only)
- Status changed from Feedback to New
- Target version set to 2.1
- Status changed from New to Feedback
Ok, replaced cut with awk and now it does what I intended, fixed on PPPoE test and PPP 3G test. (v4 only)
Works for me too now, thanks a lot.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF