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

    Nokia IP330 with ZNYX Networks ZX412 NIC addon - RESOLVED!

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    14 Posts 3 Posters 5.3k 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.
    • dotdashD
      dotdash
      last edited by

      You don't need to spoof the MAC, it appears to be showing the hardware addresses correctly. IIRC, pfSense will auto-spoof anyway, but you are showing ZYNX registered macs. I would try hard setting the media and mediaopts to the correct connection speed. I would test from the shell, then edit the xml once I found out what worked. There are several threads about how to set the speed/duplex if you search a bit.

      1 Reply Last reply Reply Quote 0
      • M
        madjeff
        last edited by

        @dotdash:

        You don't need to spoof the MAC, it appears to be showing the hardware addresses correctly. IIRC, pfSense will auto-spoof anyway, but you are showing ZYNX registered macs. I would try hard setting the media and mediaopts to the correct connection speed. I would test from the shell, then edit the xml once I found out what worked. There are several threads about how to set the speed/duplex if you search a bit.

        Bingo! I just did a test from the shell:

        ifconfig dc0 media 10baseT/UTP mediaopt full-duplex

        And the link came up! I'll test what settings the interface can handle and get it setup. Thanks for the guidance.  :D

        1 Reply Last reply Reply Quote 0
        • dotdashD
          dotdash
          last edited by

          Yeah, dc cards are old and many implementations were buggy. The BUGS section on the manpage is substantial. They are not an optimal nic to use, but it should be able to handle WAN speed connections.

          1 Reply Last reply Reply Quote 0
          • M
            madjeff
            last edited by

            Everything is working great on this now, I got both interfaces up and running.

            For those like me looking for a solution, just connect to the device with SSH and add the following to your conf/config.xml file with vi. Just scroll down to the dc0 and dc1 entries and add the following:

            <media>100baseTX</media>
                                    <mediaopt>full-duplex</mediaopt>

            Save and reboot, and it should now work.

            Mods, this should probably get moved or cross-posted to the hardware forum, my bad for posting here. :)

            1 Reply Last reply Reply Quote 0
            • M
              madjeff
              last edited by

              @dotdash:

              Yeah, dc cards are old and many implementations were buggy. The BUGS section on the manpage is substantial. They are not an optimal nic to use, but it should be able to handle WAN speed connections.

              Yeah, I'm just using the interface for a T1 point to point to our colo site backend. I'll be doing some testing today to see how it handles things.

              1 Reply Last reply Reply Quote 0
              • M
                madjeff
                last edited by

                Another question for the gurus out there. I had saved the config.xml file with the changes and it was working great. Yesterday I shut down the box and moved it to it's new home in the rack, hooked up the network and booted up. Once it came back up, the DC0 interface no longer was working. When I examined the config.xml, the changes I had made were no longer there.

                Does the config.xml get overwritten on each boot? What am I missing? I made the changes and everything is working again, but I don't want to have to redo this every boot.

                1 Reply Last reply Reply Quote 0
                • dotdashD
                  dotdash
                  last edited by

                  The supported procedure for adding additional items to the config (such as setting speed duplex), is to backup the config, edit it with an xml editor, then restore the config.

                  1 Reply Last reply Reply Quote 0
                  • M
                    madjeff
                    last edited by

                    @dotdash:

                    The supported procedure for adding additional items to the config (such as setting speed duplex), is to backup the config, edit it with an xml editor, then restore the config.

                    So I take it that does some extra steps that directly editing the xml file does not.

                    I'll try it and see what happens, thanks for the tip! =)

                    1 Reply Last reply Reply Quote 0
                    • M
                      madjeff
                      last edited by

                      Well that was ugly. I backed up the interfaces via the backup/restore, made the media and mediaopt changes to the one interface, then uploaded file via restore config. I used win32pad (excellent win txt editor) to edit the config.xml. the only changes I made to the xml was the media and mediaopt entries:

                      	 <opt2><if>dc0</if>
                      		<descr>COLO</descr>
                      		 <bridge><enable><ipaddr>XXX.XXX.XXX.XXX</ipaddr>
                      		 <spoofmac><mtu><media>100baseTX</media>
                      		<mediaopt>full-duplex</mediaopt>	
                      		<subnet>29</subnet>
                      		<gateway>XXX.XXX.XXX.XXX</gateway></mtu></spoofmac></enable></bridge></opt2>
                      

                      After the restore I lost all connectivity to the box. I finally took a laptop in and connected via console and there were a ton of errors about the interfaces. I ended up having to do a reset to defaults as I could not get the interfaces reconfigured via console.

                      I'm going to try it again and see what happens, but has anyone else seen this kind of behavior? I KNOW the config.xml entries were fine, I triple-checked them. But for whatever reason the restore hosed the entire interface config.

                      1 Reply Last reply Reply Quote 0
                      • dotdashD
                        dotdash
                        last edited by

                        @madjeff:

                        	 <opt2><if>dc0</if>
                        		<descr>COLO</descr>
                        		 <bridge><enable><ipaddr>XXX.XXX.XXX.XXX</ipaddr>
                        		 <spoofmac><mtu><media>100baseTX</media>
                        		<mediaopt>full-duplex</mediaopt>
                        		<subnet>29</subnet>
                        		<gateway>XXX.XXX.XXX.XXX</gateway></mtu></spoofmac></enable></bridge></opt2>
                        

                        That should be:
                        <media>100baseTX</media>
                        <mediaopt>full-duplex</mediaopt>

                        1 Reply Last reply Reply Quote 0
                        • M
                          madjeff
                          last edited by

                          @dotdash:

                          That should be:
                          <media>100baseTX</media>
                          <mediaopt>full-duplex</mediaopt>

                          Holy crap…  ::) I am an idiot. You know how sometimes you stare at something for so long you see what you want to see and not what's really there?  ::)

                          To make matters worse, I had finger surgery last week and am wearing this big bandage on my right index fingertip. And of course I'm right handed, so it's creating fatfinger havoc to everything I type.

                          Thanks for the 2nd pair of eyes.  ;D

                          1 Reply Last reply Reply Quote 0
                          • GruensFroeschliG
                            GruensFroeschli
                            last edited by

                            Hehe. The same happend to me a few weeks ago.

                            Lesson learned: always leave SSH open so you can log in and revert to the config.xml.backup just in case you wrote something wrong….

                            We do what we must, because we can.

                            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                            1 Reply Last reply Reply Quote 0
                            • M
                              madjeff
                              last edited by

                              @GruensFroeschli:

                              Hehe. The same happend to me a few weeks ago.

                              Lesson learned: always leave SSH open so you can log in and revert to the config.xml.backup just in case you wrote something wrong….

                              Happens to the best of us I guess…  ;)

                              All is working well now and I'm a happy camper so far. I'm using 4 of the 5 interfaces on this IP330 on a 22/2 connection and while the CPU utilization is averaging 80%, I'm not noticing any performance problems. Maybe a slightly slower web interface while looking at the graphs, but not unbearably so. It should do the job for our needs.

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