• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Changing NIC in OpenBSD?

kag

Golden Member
My current NIC is dying on me, each time I reboot, I have to play with the cable in order to get it to work correctly. If the machine stays up for 2 weeks, everything works for two weeks, but the minute I reboot I have to play with the cable to get the card working again.

So I'm just gonna change the NIC... if the card is supported in the hardware list, will it be mostly plug and play?
 
I am not very firmiliar with OpenBSD, but I am assuming the NICs support is compiled into a module, or into the kernel. If its in the kernel, recompiling a kernel with some form of auto-hardware detection should pick it up and work fine. If its a module, compiling the module for the proper device, and setting it to load should work fine as well.
 
Well I took the easy way out... I reinstalled OpenBSD... it's a test machine and I can get it back up withing 30 minutes... about the same as Googling for a howto.
 
OpenBSD has no module support that I know of and everything on their page listed as support should work with the GENERIC kernel, so putting in the new card and rebooting should be all you need to do. And if the card is a differnt type the interface name will change, so any scripts and settings will need updated.
 
Nothinman's post is almost all correct. OpenBSD _does_ support modules, they just aren't used. Putting a working/supported card in is all you have to do. And if it is a different chipset, mv /etc/hostname.if (where if is the type of card 😉).
 
Back
Top