Subject: please help me about netbsd (part II)
To: None <pts@bom.gov.au>
From: <bpirom@hotmail.com>
List: netbsd-help
Date: 08/28/2001 17:34:43
My last email as below the line.Thank you for your suggestion but my bsd
box still don't work.
Here some additive details:
*************
I would like to tell about my configuration after installation NetBSD
1.5.1.
1. I created file /etc/ifconfig.ep0 that contain line
inet 192.168.1.1 netmask 0xffffff00
2. Edit /etc/rc.conf add following line
auto_ifconfig=YES
after this step I run /etc/rc.d/network restart
it show like this
....
....
/etc/rc.d/network: WARNING :$hostname not set
=> How to solve this warning.?
....
....
3. I add sysctl -w net.inet.ip.forwarding=1
in /etc/rc.local and reboot (shutdown -r now) the box.
4. after step 3 I test the box by call "tcpdump -nv -i ep0" command
it show "tcpdump: listening on ep0"
and ping 192.168.1.1 from windows98
no any response from netbsd box I press Ctrl-c
it show
"0 packets recieved by filter"
"0 packets dropped by kernel"
4. My 3C509 network card use IRQ 3 when I test
with "vmstat -i" it show
interrupt total rate
....
....
irq3 1 0
....
....
althought I ping from win98 to it again the number from this command not
change.
5. I test with "netstat -in" it show like this
Name Mtu Network Address Ipkts
Ierrs Opkts Oerrs Colls
ep0 1500 <Link> 00:60:8c:18:a1:30 0 0
11 0 0
ep0 1500 192.168.1 192.168.1.1 0 0
11 0 0
ep0 1500 fe80::/64 fe80::260:8cff:fe 0 0
11 0 0
lo 33228 ......
lo ......
lo......
lo.....
ppp0....
ppp1.....
.......
......
6. I test with "ping 192.168.1.1 - from win98 the result is
Request time out.
and if I ping from bsd box to win98 machine it show
ping: sendto: Host is down
I think this detail will tell you to focus the problem on my box .I want to
know some thing too such as
how to make NUMLOCK on automatically when boot the system. How to install
package from i386pkg1 disc
(such as bash-2.04.tgz). Thank you very much for your suggestion. Please
help me again.
Thank you.
pirom
*************
-----------------------------------------------------------------------------
> > my netBSD box can not ping from and to anothers.
> > Here is the result from "ifconfig -a" on NetBSD box.
> > ep0: flags=8863<UP,BRARDCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
> > mtu 1500
> > address: 00:06:8c:18:a1:30
> > media: Ethernet 10baseT
> > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
> >
> > I use 3C509 network card(for Netbsd 1.5.1 box) link to other
>pc(windows98)
> > by cross UTP (no hub).
> > Netbsd ip is 192.168.1.1 and other one set 192.168.1.20 the same netmask
>is
> > 255.255.255.0
> > but it can not ping or traceroute between ones. It can ping itself
>success.I
> > test this case by install
> > linux it can telnet,ftp and every thing work properly.But don't work
>when I
> > change to NetBSD I found
> > problem as above.Help me please.
> >
> > thank you.
> > pirom
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp
>
>--
>
>____________________________________________
>
>Paul (pts@bom.gov.au)
>National Climate Centre
>Australian Bureau Of Meteorology
>____________________________________________
>
>
>
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp