Subject: Re: Ethernet Configuration (was: "X configuration problem")
To: arnuld <arnuld3@gmail.com>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: netbsd-users
Date: 11/14/2006 16:20:29
On 11/14/06, arnuld <arnuld3@gmail.com> wrote:
> > On 14/11/06, Chavdar Ivanov <ci4ic4@gmail.com> wrote:
>
> > Your interface is vr0, not var0 ( I noticed this before - there is no
> > var0 interface in the kernel at all - ('grep var
> > /usr/src/sys/arch/i386/conf/ALL' returns nothing significant).
>
> really very sorry for that typo & sorry for making you look into the kernel.
For nothing...
>
> > So follow the above advice with respect to vr0 - first, say,
> >
> > ifconfig vr0 192.168.0.10 up
> > and the ping 192.168.0.1
>
> yes, i did & i got these 2 *extra* lines for "ifconfig vr0":
>
> inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
> inet6 fe80::213:d4ff:fec4:baf3%vr0 prefixlen 64 scopeid 0x1
>
> now what next?
Did you get the ping to the default gateway going?
>
> i guess i need to have "/etc/ifconfig.vr0".
Yes, just put, e.g.,
inet 192.168.0.10 netmask 255.255.255.0
in it. Then put your desired hostname into /etc/myname, 192.168.0.1
into /etc/mygate, add '192.168.0.10 YourHostName' to /etc/hosts, get
/etc/resolv.conf from the Linux partition - as I suggested earlier, it
should be enough, then reboot (you don't really have to, but it's nice
to test).
There are other ways of doing it, as you may have seen from the other
participants, but this is easy enough and should work.
> i tried the "netbsd-guide"
> but for me "hostname" & "domainname" are an exercise in confusion.
Don't bother about domain name - that is in this case about NIS setup.
>
> thanks for your time
You are welcome.
>
> -- arnuld
> http://arnuld.blogspot.com/
>
Chavdar