Netgate SG-1000 microFirewall

Author Topic: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1  (Read 2069 times)

0 Members and 1 Guest are viewing this topic.

Offline MarvinFS

  • Newbie
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #15 on: January 10, 2018, 01:16:21 am »
Thanks for the answer ,

Will it survive the updates then? I mean how frequent PFsense updates modules in /boot? or it's more like image updates for the whole partition?
So for now we may use that solution, but if will need to put it manually to /boot on every update i'm not sure it's usable as those will be in remote offices with hardly proper IT personnel avail.

Offline stephenw10

  • Administrator
  • Hero Member
  • *****
  • Posts: 12002
  • Karma: +474/-15
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #16 on: January 10, 2018, 06:39:45 pm »
The imported kernel module will be specific to that version. It probably won't work in 11.2 for example. We won't have tested anything against it so there's no guarantees that any pfSense update won't break it.

Really you should wait for support to be included in the release. Certainly before deploying it in any critical application in my opinion.

Steve

Offline MarvinFS

  • Newbie
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #17 on: January 11, 2018, 07:49:18 am »
Managed to get it working somehow.
Anyhow, we have bought those appliances already for all the offices, sadly before checking if it's supported yet! :)
I failed to find a proper way to disable existing module, so i just rename it and load a module manually compiled from Intel sources.
After that don't forget to fix permissions chmod 555 /boot/kernel/if_ix.ko and u'r good to go. (reboot)

So yeah, it works just fine after that, but don't survive upgrades as far as i understand pfsense updates kernel also, along with modules apparently.

Instructions:

on 1st boot after install press any key on PFsense logo

boot in Single User mode
press enter for /bin/sh shell

#connect your USB stick (Fat32 formatted) with driver
#check what's it's name
ls /dev/da*
#mount usb
mount_msdosfs /dev/da0s1 /media
#unload existing if_ix module - check it's ID if necessary /sbin/kldstat )
/sbin/kldunload -i 2
#mount root as RW
mount -rw /
#rename existing if_ix.ko module
mv /boot/kernel/if_ix.ko /boot/kernel/if_ix.ko.blacklisted
#copy new module from USB
cp /media/if_ix.ko /boot/modules/
#fix permissions
chmod 555 /boot/modules/if_ix.ko
#make loader.conf.local
echo 'if_ix_load="YES"' >> /boot/loader.conf.local
#enjoy
reboot

In case somebody needs it - here's yandex.cloud direct link (compiled for FreeBSD 11.1 release) https://yadi.sk/d/F92wgHSy3RNDS9
« Last Edit: January 11, 2018, 08:19:34 am by MarvinFS »

Offline daddygrant

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #18 on: January 13, 2018, 01:12:36 pm »
You sir, have saved my bacon.  Your instructions and file has worked perfectly for me.

Cheers.

Managed to get it working somehow.
Anyhow, we have bought those appliances already for all the offices, sadly before checking if it's supported yet! :)
I failed to find a proper way to disable existing module, so i just rename it and load a module manually compiled from Intel sources.
After that don't forget to fix permissions chmod 555 /boot/kernel/if_ix.ko and u'r good to go. (reboot)

So yeah, it works just fine after that, but don't survive upgrades as far as i understand pfsense updates kernel also, along with modules apparently.

Instructions:

on 1st boot after install press any key on PFsense logo

boot in Single User mode
press enter for /bin/sh shell

#connect your USB stick (Fat32 formatted) with driver
#check what's it's name
ls /dev/da*
#mount usb
mount_msdosfs /dev/da0s1 /media
#unload existing if_ix module - check it's ID if necessary /sbin/kldstat )
/sbin/kldunload -i 2
#mount root as RW
mount -rw /
#rename existing if_ix.ko module
mv /boot/kernel/if_ix.ko /boot/kernel/if_ix.ko.blacklisted
#copy new module from USB
cp /media/if_ix.ko /boot/modules/
#fix permissions
chmod 555 /boot/modules/if_ix.ko
#make loader.conf.local
echo 'if_ix_load="YES"' >> /boot/loader.conf.local
#enjoy
reboot

In case somebody needs it - here's yandex.cloud direct link (compiled for FreeBSD 11.1 release) https://yadi.sk/d/F92wgHSy3RNDS9

Offline MarvinFS

  • Newbie
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #19 on: January 13, 2018, 01:27:46 pm »
You sir, have saved my bacon.  Your instructions and file has worked perfectly for me.

Cheers.
Glad it worked and happy to help! Guess we'd wait for official support now and upgrade afterwards...

Offline andrewjoy

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #20 on: January 16, 2018, 11:11:18 am »
Managed to get it working somehow.
Anyhow, we have bought those appliances already for all the offices, sadly before checking if it's supported yet! :)
I failed to find a proper way to disable existing module, so i just rename it and load a module manually compiled from Intel sources.
After that don't forget to fix permissions chmod 555 /boot/kernel/if_ix.ko and u'r good to go. (reboot)

So yeah, it works just fine after that, but don't survive upgrades as far as i understand pfsense updates kernel also, along with modules apparently.

Instructions:

on 1st boot after install press any key on PFsense logo

boot in Single User mode
press enter for /bin/sh shell

#connect your USB stick (Fat32 formatted) with driver
#check what's it's name
ls /dev/da*
#mount usb
mount_msdosfs /dev/da0s1 /media
#unload existing if_ix module - check it's ID if necessary /sbin/kldstat )
/sbin/kldunload -i 2
#mount root as RW
mount -rw /
#rename existing if_ix.ko module
mv /boot/kernel/if_ix.ko /boot/kernel/if_ix.ko.blacklisted
#copy new module from USB
cp /media/if_ix.ko /boot/modules/
#fix permissions
chmod 555 /boot/modules/if_ix.ko
#make loader.conf.local
echo 'if_ix_load="YES"' >> /boot/loader.conf.local
#enjoy
reboot

In case somebody needs it - here's yandex.cloud direct link (compiled for FreeBSD 11.1 release) https://yadi.sk/d/F92wgHSy3RNDS9


This is  very clear thanks !!!

Do we know when this is going to be in the live and stable builds ? Its working for now but don't want to put it into production until its part of the default kernel.

Hopefully its soon before the power supply in the old Dell R300 changes its mind about not being on fire :)




Offline Ofloo

  • Full Member
  • ***
  • Posts: 117
  • Karma: +3/-2
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #21 on: January 24, 2018, 10:28:03 am »
The drivers were not in 11.1 release which is what we build on so until they are included in our base we may not get them.

You can build the kernel module yourself as explained by EditioN above. To load it at boot time just create the file /boot/loader.conf.local and then put in that file:
Code: [Select]
if_ix_load="YES"
Steve

or just i beleve it was 
Code: [Select]
if_ix_updated_load=yes into /boot/loader.conf.local

Offline EditioN

  • Newbie
  • *
  • Posts: 23
  • Karma: +1/-0
    • View Profile
Re: Intel X553 NICs (on C3758 SoC) not detected by pfSense 2.4/2.4.1
« Reply #22 on: February 06, 2018, 04:31:02 am »
Hey guys,

The new XG-7100 model includes the Atom C3000.
I guess this is a good sign that the drivers will be built in soon?

I must say that I have to issues so far with the driver I compiled but official support would be quite good to have.