Subject: Re: problems of netstat
To: Boo Geum Jung <bgjung@etri.re.kr>
From: Anton Gunnarsson <antgun@packetfront.com>
List: port-sandpoint
Date: 09/19/2001 16:20:25
On Wed, Sep 19, 2001 at 11:10:03PM +0900, Boo Geum Jung wrote:
> I have some problems about netstat.
> 
> <one machine>
> netstat -rn : normal user
> netstat: /dev/mem: Permission denied 
> 

ls -al /usr/bin/netstat 
-r-xr-sr-x  1 root  kmem  114720 Aug  2 10:01 /usr/bin/netstat

ls -al /dev/mem 
crw-r-----  1 root  kmem  2, 0 Sep 10 14:29 /dev/mem

If it doesn't look like that, make it look like that...

> netstat -rn : super user
> Routing tables
> <= nothing prinited
> 
> <the other machine>
> netstat -rn 
> netstat: kvm_read: Bad address
> 
> netstat: kvm_read: Bad address
> 
> ...... <= continue printing
> 
> They have no other network problems, ftp, telent, ping, etc.
> 
> I attched 2 PCI Lan cards each.
> That makes problems?
> 

Is /netbsd on your filsystem the kernel that you actually booted?
Else you'll probably run into problems...

/Anton