Re: Changing the NIC on installed system?

2009-11-18 Thread Denise H. G.
Roger Schreiter  writes:

> Hello,
>
> I did not yet understand very well, how the NIC drivers are
> selected. Is it done while installing OpenBSD or is it
> done at boot?
>
> In the latter case, I assume, I can replace a PCI network
> interface without changing any driver settings.

NIC drivers are all in a GENERIC kernel, I think. So, if you are running
a GENERIC, you don't have to change many driver settings.

>
> If the logical interface name will be different, I maybe
> will have to rename hostname.vge0 to hostname.XX0 or similar.

true.

>
> Or are there much more changes necessary, when replacing a
> MikroTik NIC by an Intel one? System in OpenBSD-4.5
>

If you write your interface name at somewhere else, you have to change
them accordingly, I guess.

>
> Regards,
> Roger.
>
>
>

regards.

-- 
tamgya |aT| GmAiL |DoT| cOm



Re: Changing the NIC on installed system?

2009-11-18 Thread Jason Dixon
On Wed, Nov 18, 2009 at 06:01:26PM +0100, Roger Schreiter wrote:
> Hello,
> 
> I did not yet understand very well, how the NIC drivers are
> selected. Is it done while installing OpenBSD or is it
> done at boot?
> 
> In the latter case, I assume, I can replace a PCI network
> interface without changing any driver settings.
> 
> If the logical interface name will be different, I maybe
> will have to rename hostname.vge0 to hostname.XX0 or similar.
> 
> Or are there much more changes necessary, when replacing a
> MikroTik NIC by an Intel one? System in OpenBSD-4.5

It identifies them at boot.  Just rename your hostname.XX file
accordingly and update any service configurations (e.g. pf, dhcpd) that
may rely on the interface name.

HTH.

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Changing the NIC on installed system?

2009-11-18 Thread Roger Schreiter
Hello,

I did not yet understand very well, how the NIC drivers are
selected. Is it done while installing OpenBSD or is it
done at boot?

In the latter case, I assume, I can replace a PCI network
interface without changing any driver settings.

If the logical interface name will be different, I maybe
will have to rename hostname.vge0 to hostname.XX0 or similar.

Or are there much more changes necessary, when replacing a
MikroTik NIC by an Intel one? System in OpenBSD-4.5


Regards,
Roger.