Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Force media type across reboot

    Scheduled Pinned Locked Moved Hardware
    5 Posts 3 Posters 5.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Doum88
      last edited by

      For my T1 vpn setup i need to force my wan interface to 10baseT Full-Duplex to match my ISP hardware.

      I can force whit the command "# ifconfig rl0 media 10baseT/UTP mediaopt full-duplex"

      But i need to re-enter the command if pfsense reboot

      What i find so far, is i need to edit /conf/config.xml but i not sure about the typo

      <wan><if>rl0</if>
                              <mtu>576</mtu>
                              <blockpriv><media><mediaopt><bandwidth>100</bandwidth>
                              <bandwidthtype>Mb</bandwidthtype>
                              <spoofmac><disableftpproxy><ipaddr>xxx.xxx.xxx.xxx</ipaddr>
                              <subnet>29</subnet>
                              <gateway>xxx.xxx.xxx.xxx</gateway>
                              <use_rrd_gateway></use_rrd_gateway></disableftpproxy></spoofmac></mediaopt></media></blockpriv></wan>

      Thanks

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        FAQ.

        http://faq.pfsense.com/index.php?action=artikel&cat=10&id=38&artlang=en&highlight=hidden

        1 Reply Last reply Reply Quote 0
        • D
          Doum88
          last edited by

          i haven't seen this faq sorry …

          <wan><if>rl0</if>
                                  <mtu>576</mtu>
                                  <blockpriv><media>10baseT/UTP <media><mediaopt>full-duplex <mediaopt><bandwidth>10</bandwidth>
                                  <bandwidthtype>Mb</bandwidthtype>
                                  <spoofmac><disableftpproxy><ipaddr>xxx.xxx.xxx.xxx</ipaddr>
                                  <subnet>29</subnet>
                                  <gateway>xxx.xxx.xxx.xxx</gateway>
                                  <use_rrd_gateway></use_rrd_gateway></disableftpproxy></spoofmac></mediaopt></mediaopt></media></media></blockpriv></wan>

          I don't whant to break distant box so can u confirm this config is OK ?

          Thanks

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by

            @Doum88:

            <media>10baseT/UTP <media><mediaopt>full-duplex <mediaopt></mediaopt></mediaopt></media></media>

            It should look like:

            <media>10baseT/UTP<**/media>
                                    <mediaopt>full-duplex<
            /**mediaopt></mediaopt></media>

            1 Reply Last reply Reply Quote 0
            • D
              Doum88
              last edited by

              Thanks for ur help !

              Work great  :D

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.