Subject: Re: "X windows" configuration
To: None <email@example.com>
From: arnuld <firstname.lastname@example.org>
Date: 11/14/2006 11:43:33
> The NetBSD installation procedure is quite basic, as you might have
> noticed already. You should be able to do it manually. Login after
> the installation as root and run 'ifconfig -a'. On one of mine I am
> root@loan8> ifconfig -a
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> address: 08:00:09:dc:f8:9c
> media: Ethernet autoselect (100baseTX full-duplex)
> status: active
> inet 10.1.32.165 netmask 0xff000000 broadcast 10.255.255.255
> inet6 fe80::a00:9ff:fedc:f89c%fxp0 prefixlen 64 scopeid 0x1
> fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> address: 00:00:4c:01:07:00:0e:bf
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33192
> inet 127.0.0.1 netmask 0xff000000
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
1.) "var0" is my interface
2.) exactly same "media" & "status"
3.) "inet 192.168.0.1 netmask 0xff000000 broadcast 192.168.0.255"
> You are interested in the first group here - i.e. fxp0 (obviously it
> is configured on mine). Let's assume your interface is fxp0 as well.
> Create the file /etc/ifconfig.fxp0
> with the contents:
> inet xx.yy.zz.tt netmask 255.255.255.0
created with contents:
ifconfig 192.168.0.1 netmask 255.255.255.0
> ifconfig fxp0 xx.yy.zz.tt up
it is fine
> and then try to ping some other host on your network).
ping 192.168.0.1. (default gateway) ( i do not have any network. it is
my home computer)
it takes tooooooooo long to ping.
> If this is OK, then you should:
> A. Enter your host address and name in /etc/hosts
> B. Put your default gateway address in /etc/mygate
> C. Create /etc/resolv.conf to contain your DNS settings (you already
> have this in your Linux installation, it should do).
/etc/mygate contents: 192.168.0.1
/etc/myname contents: netbsd
/etc/defaultdomain contents: unix
> The reboot and try
> dig www.asd.com or whatever.
ping www.google.com gives "host name unresolvable" error
ping 192.168.0.1 again takes tooooooo long to ping
> Also have a good read through 'man afterboot'.
i read it & it was quite useful but it did not solve my trouble.
> > i even downloaded the "pkgsrc-2006Q3.tar.gz" on my hard-disk to burn
> > it on CD but Linux always says: "not an archive".
> That's weird, did you specify 'binary' mode when doing the transfer
> with ftp? It's just a standard compressed tar archive.
> > i downloaded & tried both "gz & bz2 files" 2 times from
> > http://www.netbsd.org/Documentation/software/packages.html. i dont
> > know what is the trouble. i have other archives & they are working
> > without any trouble.
now i have downloded "pkgsrc.tar.gz" from
archive is OK :-)