Subject: Re: [Fwd: Re: "X windows" configuration]
To: arnuld <arnuld3@gmail.com>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: netbsd-users
Date: 11/14/2006 14:47:00
On 11/14/06, arnuld <arnuld3@gmail.com> wrote:
> > > /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.
>
>
>
> sorry but i have reinstalled my whole system. now it is
> NetBSD/BLAG-LiInux dual-boot box so that i can keep on having a
> conversation with you folks to solve the trouble. :-)
>
> i just installed NetBSD & did the following in this order:
>
> 1.) "sshd=YES" in "/etc/rc.conf"
> 2.) "ifconfig -a" gave the following OUTPUT:
>
> vr0: flag=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> address: 00:13:d4:c4:ba:f3
> media: Ethernet autoselect(100baseTX full-duplex)
> state: active
>
> lo0: flag = 8009<UP,LOOPBACK,MULTICAST> mtu 33192
> inet 127.0.0.1 netmask 0xff000000
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
>
> 3.) "ifconfig var0" gave this:
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).
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
&c.
>
> ifconfig: SIOCGIFFLAGS
> var0: Device not configured
>
> 4.) "hostname" & "domainname" gave me blank lines.
>
>
> 5.) "netstat -r"
> ----------------- start ------------------------------
>
> Routing Tables
>
> Internet:
> Destination Gateway Flags Refs Use Mtu Interface
> loopback/8 localhost UGRS 0 0 33192 lo0
> localhost localhost UH 1 40 33192 lo0
>
> XNS:
> Destination Gateway Flags Refs Use Mtu Interface
>
> ISO:
> Destination Gateway Flags Refs Use Mtu Interface
>
> X.25:
> Destination Gateway Flags Refs Use Mtu Interface
>
> AppleTalk:
> Destination Gateway Flags Refs Use Mtu Interface
>
> Internet6:
>
> (NOTE: LH stands for "localhost")
>
> Destination Gateway Flags Refs Use Mtu Interface
> :: LH UGRS 0 0 - lo0 =>
> :: LH UGRS 0 0 - lo0
> localhost LH UH 12 0 33192 lo0
> ::127.0.0.0 LH UGRS 0 0 - lo0
> ::224.0.0.0 LH UGRS 0 0 - lo0
> ::255.0.0.0 LH UGRS 0 0 - lo0
> ::ffff:0.0.0.0 LH UGRS 0 0 - lo0
> 2002:: LH UGRS 0 0 - lo0
> 2002:7f00:: LH UGRS 0 0 - lo0
> 2002:e000:: LH UGRS 0 0 - lo0
> 2002:ff00:: LH UGRS 0 0 - lo0
> fe80:: LH UGRS 0 0 - lo0
> fe80::%lo0 fe80::1%lo0 U 0 0 - lo0
> fe80::1%lo0 link#2 UHL 0 0 - lo0
> fec0:: LH UGRS 0 0 - lo0
> ff01:: LH UC 0 0 - lo0
> ff02::%.lo LH UC 0 0 - lo0
> ----------------- end -------------------------------
>
>
> ------ contents of "/etc/hosts" (comments removed) --------
>
> ::1 localhost localhost.
> 127.0.0.1 localhost localhost.
>
>
> ------ contents of "/etc/rc.conf" (comments removed) --------
>
> if [ -r /etc/defaults/rc.conf];then
> . /etc/defaults/rc.conf
> fi
>
> rc_configured=YES
> sshd=YES
> wscons=YES
> ------------------------------------------------------------
>
>
> -- arnuld
> http://arnuld.blogspot.com/
>