Nokia IP330 with ZNYX Networks ZX412 NIC addon - RESOLVED!
-
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
-
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.
-
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. :)
-
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.
-
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.
-
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.
-
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! =)
-
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.
-
<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> -
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
-
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….
-
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.