<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[DHCP problems with 3G modem in combination with PPP]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am trying to get a 3G modem working with pfsense. What I want is that pfsense secure internet provides in the field over a 3G modem from XS4ALL.<br />
The systemlogs gave the following over this device:</p>
<pre><code>"kernel: ucom0: &lt;huawei 0="" 2="" technology="" huawei="" mobile,="" class="" 0,="" rev="" 2.00="" 0.00,="" addr=""&gt; on uhub4".&lt;/huawei&gt;
</code></pre>
<p dir="auto">There are no PPP errors, so the modem is talking with pfsense. But when I run the ifconfig command, I see that tun0 got a IP in the 10.0.0.0 range. So he got no IP from XS4ALL, because when I connect the modem with a Windows PC he obtains a 83.<em>.</em>.* IP (I am forgotten the right IP). Here you got my ppp.conf:</p>
<pre><code>#####################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.10.20.1 2009/04/15 03:14:26 kensmith Exp $
#################################################################

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that "device" references the correct serial port
 # for your modem. (cuad0 = COM1, cuad1 = COM2)
 #
 set device /dev/cuad1

 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 180                        # 3 minute idle timer (the default)
 enable dns                             # request DNS info (for resolv.conf)
# enable dhcp

papchap:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #

 set phone *99#
 set authname internet
 set authkey 1234

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 set dns 208.67.220.220 208.67.222.222  # openDNS
 add default HISADDR                    # Add a (sticky) default route

</code></pre>
<p dir="auto">I think that forcing the modem to obtain a IP by DHCP is the solution. But I can't get it configured in pfsense.<br />
When someone need more info I will post it on the forum.<br />
If someone could help it would be great!</p>
<p dir="auto">Kind regards,</p>
<p dir="auto">Jozef00</p>
]]></description><link>https://forum.netgate.com/topic/23040/dhcp-problems-with-3g-modem-in-combination-with-ppp</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 22:57:15 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/23040.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Apr 2010 09:55:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DHCP problems with 3G modem in combination with PPP on Mon, 26 Apr 2010 07:17:08 GMT]]></title><description><![CDATA[<p dir="auto">Thanks guys, I will try the 2.0 beta.</p>
<p dir="auto">Kind regards,</p>
<p dir="auto">Jozef00</p>
]]></description><link>https://forum.netgate.com/post/230481</link><guid isPermaLink="true">https://forum.netgate.com/post/230481</guid><dc:creator><![CDATA[jozef00]]></dc:creator><pubDate>Mon, 26 Apr 2010 07:17:08 GMT</pubDate></item><item><title><![CDATA[Reply to DHCP problems with 3G modem in combination with PPP on Sun, 25 Apr 2010 19:47:21 GMT]]></title><description><![CDATA[<p dir="auto">You're not going to get that functioning on 1.2.3 without a lot of manual hacking. Use 2.0.</p>
]]></description><link>https://forum.netgate.com/post/230454</link><guid isPermaLink="true">https://forum.netgate.com/post/230454</guid><dc:creator><![CDATA[cmb]]></dc:creator><pubDate>Sun, 25 Apr 2010 19:47:21 GMT</pubDate></item><item><title><![CDATA[Reply to DHCP problems with 3G modem in combination with PPP on Sun, 25 Apr 2010 19:32:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi jimp,</p>
<p dir="auto">Thanks for your reply!<br />
I am trying v1.2.3 and that is because it is the latest stable version. Or do you think that the current 2.0 beta is stable enough to use in a production environment?</p>
<p dir="auto">Kind regards,</p>
<p dir="auto">Jozef00</p>
]]></description><link>https://forum.netgate.com/post/230451</link><guid isPermaLink="true">https://forum.netgate.com/post/230451</guid><dc:creator><![CDATA[jozef00]]></dc:creator><pubDate>Sun, 25 Apr 2010 19:32:00 GMT</pubDate></item><item><title><![CDATA[Reply to DHCP problems with 3G modem in combination with PPP on Fri, 23 Apr 2010 18:24:19 GMT]]></title><description><![CDATA[<p dir="auto">Are you trying this on pfSense 1.2.3 or 2.0?</p>
<p dir="auto">There is built-in support for 3G modems in pfSense 2.0</p>
]]></description><link>https://forum.netgate.com/post/230317</link><guid isPermaLink="true">https://forum.netgate.com/post/230317</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Fri, 23 Apr 2010 18:24:19 GMT</pubDate></item></channel></rss>