Subject: Re: "X windows" configuration
To: None <netbsd-users@netbsd.org>
From: Noud deBrouwer <noud4@home.nl>
List: netbsd-users
Date: 11/14/2006 06:49:36
arnuld wrote:
>> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>         inet 10.1.32.165 netmask 0xff000000 broadcast 10.255.255.255

> i get:
> 
> 1.)  "var0" is my interface

> 3.) "inet 192.168.0.1 netmask 0xff000000 broadcast 192.168.0.255"

> created with contents:
> 
> ifconfig 192.168.0.1 netmask 255.255.255.0

prompt# ifconfig var0 192.168.0.1 netmask 255.255.255.0 broadcast 
192.168.0.255 up

prompt# echo '192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255' 
  >/etc/ifconfig.var0

prompt# ifconfig `cat /etc/ifconfig.var0` up

"up" can be put in ifconfig:

prompt# cat /etc/ifconfig.var0
up
192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255
prompt# ifconfig `cat /etc/ifconfig.var0`

mind the "netmask" and "up"
var0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
"up" is visable--^^

> /etc/mygate      contents:   192.168.0.1
> /etc/myname    contents:   netbsd
> /etc/defaultdomain  contents:   unix
> /etc/resolv.conf      contents:
> nameserver  218.248.255.145
> nameserver  61.1.96.69
> search netbsd

i would leave these all empty the first time. after succesfull ping..use 
this. no mygate myname defaultdomain resolv.conf before a succesfull 
ping..but/and them are not used/needed for such a succesfull ping.

allso, exact output from
ifconfig var0
and
netstat -r
would be handy for us to help.

--Noud