On 12/20/11 17:41, Jannik Pruitt wrote:
> Hi everyone.
> i am brand new purchased my open bsd 5.0 on 11 Nov 2011.

we like to hear that. :)
You put me in a good mood, so I'm giving you something other than just a
pointer at faq6 :)

> I booted the CD on another computer installed every thing on a 32GB CF card.
> Placed in my old thin client and it booked.
> 
> But the network card does not work.
> It did work on the other computer after the install.
> 
> Is there a way to make the setup come up again?

Sure.  this is really easy, much easier than most other OSs...
Your target computer has a NIC in it that is of a different type than
your install computer.  (just did battle with a degenerate form of this
problem on a Fedora machine today.  holy shit.  At least they pay me for
that).

So, let's say your install computer had an Intel gigabit card, which
uses the "em" driver...so it probably configured the network adapter as
"em0".  The configuration for this card was stored in "/etc/hostname.em0"

Your thin client machine has some different card...for sake of
discussion, let's say it's an Intel 100mbps card, which uses a driver
called "fxp".  It does NOT have an "em" card in it, so the "em0"
configuration information was ignored...so you came up with no network.

The easy fix is to copy the hostname.xxxx file to the appropriate name
for your target machine.  You could rename it, but I prefer copying --
that way, if you have to move the flash card back to the source machine,
the network will Just Come Up

if you do an "ifconfig", you will get a list of all interfaces.  First
will probably be "lo0", second will be the one you are after...  SO,
assuming your original machine had em0, and your target machine has
fxp0, you would do this:

# cp /etc/hostname.em0 /etc/hostname.fxp0

That's almost certainly wrong for your case.  You will have only one
hostname.* file currently, so the source is easy. just need to figure
out what kind of NIC you have now.  (there are cases where you might
actually have to alter what is in that file between card types, but I'm
going to guess that won't be your problem)

Nick.

Reply via email to