Subject: Re: Ethernet Configuration (was: "X configuration problem")
To: Chavdar Ivanov <ci4ic4@gmail.com>
From: arnuld <arnuld3@gmail.com>
List: netbsd-users
Date: 11/14/2006 23:12:47
> Did you get the ping to the default gateway going?
yes, of course. (oops! i forgot to mention earlier)
> > i guess i need to have "/etc/ifconfig.vr0".
>
> Yes, just put, e.g.,
> inet 192.168.0.10 netmask 255.255.255.0
now you got typo ;-) correct is .1 not .10 ;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).
/etc/myname netbsd
/etc/hosts 192.168.0.1 netbsd
/etc/mygate 192.168.0.1
/etc/resolve.conf nameserver 218.248.255.145
nameserver 61.1.96.69
> There are other ways of doing it, as you may have seen from the other
> participants, but this is easy enough and should work.
it does not. "ping 192.168.0.1" is successful but everything else
fails. i tried :
ping www.google.com & ping 218.248.255.145
i also tried: traceroute -n 218.248.255.145 & i got something like this:
traceroute to 218.248.255.145 (218.248.255.145), 64 hops max, 40 Bytes packet
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
(it did not stop so did "Ctrl-c" here :-(
BTW i want to mention 2 things:
1.) On Linux i also use "192.168.0.2" as my computer's IP address. we
did not use that here.
2.) when i boot up then "sendmail" takes a loooong time to complete
its boot up operations. in the end i also get a message like:
"unqualifed my (netbsd) hostname: sleeping for retry" & then i have to
hit Ctrl-c to get login prompt.
> > 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.
hey thanks for telling that.
-- arnuld
http://arnuld.blogspot.com/