Hey all,
I'm having trouble getting the net working on the box I just installed NetBSD on. I can't ping anything, even my router. Output from dmesg doesn't even mention a network card. The network card works fine under all the Linux distributions I've tried it with, but not OpenBSD or NetBSD.
I believe that support for it is compiled into the kernel.
Any ideas?
Thanks a lot,
Sharif
What does ifconfig give you
What does ifconfig give you ?
Any card there ?
What does ifconfig say ?
What does ifconfig say ?
Nothing.
Just an options summary. It's like there was no network card there, except it's recognised by other operating systems.
Is it visible thorugh `ip
Is it visible thorugh `ip link`? ifconfig is a pile of legacy crap.
A pile of ...
And you're a pile of crap advice.
ifconfig *IS* inferior,
ifconfig *IS* inferior, there is no way around that. If you google for ifconfig sucks or so, there's some reasons as to why that is.
Inferior
ifconfig is inferior to what? To some tool that's not even in base? What makes you think the problem is with ifconfig? If ifconfig doesn't know about the interface, your tool won't either. Again, crap advice.
Sucks
Oh, they said it on the INTERNET!? Well, then it must be true. Good heavens.
is inferior, because?
ifconfig is inferior, because?
Support
You have to write "ifconfig -a" on NetBSD.
Your card should attach to the re(4) driver, though if you're not seeing anything in the dmesg then something is wrong. Remember that BSD does not use the ethN naming convention, they name their network interfaces after the driver they use; re0 in your case.
Also make sure you're using a GENERIC or GENERIC.MP kernel, just to weed out the possibility that you've screwed something up.
Not supported
Looks like the card is not supported: http://netbsd.gw.com/cgi-bin/man-cgi?rtk+4+NetBSD-current
Okay, thank you - I guess
Okay, thank you - I guess it's back to Linux I go until I can afford a new card.
Sharif
Isn't it? What about this?
Isn't it? What about this? http://netbsd.gw.com/cgi-bin/man-cgi?re+4+NetBSD-current
RealTek RTL8169 - yes connect!
Output from dmesg doesn't even mention a network card. The network card works fine under all the Linux.