Alexander Senier
|
No network statistics available
|
Alexander Senier
11/30/2007 7:01 AM
post3148
|
No network statistics available
Hi,
I managed to setup networking with a self build core networking. Both Intel e1000 cards in my machine are recognized and
it's possible to set up IP addresses and ping other machines.
The following problems arose:
* no information can be set/read via sysctl:
# sysctl -w net.inet.ip.forwarding=1
sysctl: top level name 'net' in 'net.inet.ip.forwarding' is invalid
# sysctl -a
#
* netstat and sockstat return with errors:
# netstat
netstat: sysctlnametomib: net.inet.tcp.pcblist: Invalid argument
# sockstat
sockstat: sysctlnametomib: net.inet.tcp.pcblist: Invalid argument
* ifconfig spits out various errors/warnings:
# ifconfig -a
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33212
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0
ifconfig: SIOCGIFADDRPREF: Invalid argument
inet 127.0.0.1 netmask 0xff000000
en0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0
address: 00:04:23:c3:91:0a
ifconfig: SIOCGIFADDRPREF: Operation not supported
inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
en1: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0
address: 00:19:d1:29:f6:9c
ifconfig: SIOCGIFADDRPREF: Operation not supported
inet 192.168.2.100 netmask 0xffffff00 broadcast 192.168.2.255
Am I missing something important? The following tasks are running:
# pidin
pid tid name prio STATE Blocked
1 1 proc/boot/procnto 0f READY
1 2 proc/boot/procnto 255r RECEIVE 1
1 3 proc/boot/procnto 255r RECEIVE 1
1 4 proc/boot/procnto 10r RUNNING
1 5 proc/boot/procnto 255r RECEIVE 1
1 6 proc/boot/procnto 10r RECEIVE 1
1 7 proc/boot/procnto 10r RECEIVE 1
1 8 proc/boot/procnto 10r RECEIVE 1
1 9 proc/boot/procnto 10r RECEIVE 1
1 10 proc/boot/procnto 10r RECEIVE 1
1 11 proc/boot/procnto 10r RECEIVE 1
2 1 /boot/devc-ser8250 10r RECEIVE 1
3 1 proc/boot/pci-bios 10r RECEIVE 1
4 1 roc/boot/devb-eide 10r SIGWAITINFO
4 2 roc/boot/devb-eide 21r RECEIVE 1
4 3 roc/boot/devb-eide 10r RECEIVE 7
4 4 roc/boot/devb-eide 10r RECEIVE 4
4 5 roc/boot/devb-eide 10r RECEIVE 4
4 6 roc/boot/devb-eide 10r RECEIVE 4
4 7 roc/boot/devb-eide 10r RECEIVE 4
4 8 roc/boot/devb-eide 10r RECEIVE 4
16389 1 proc/boot/io-net 10r SIGWAITINFO
16389 2 proc/boot/io-net 21r RECEIVE 5
16389 3 proc/boot/io-net 10r RECEIVE 1
16389 4 proc/boot/io-net 10r RECEIVE 1
16389 5 proc/boot/io-net 10r RECEIVE 1
16389 6 proc/boot/io-net 21r RECEIVE 9
16389 7 proc/boot/io-net 20r RECEIVE 13
28678 1 proc/boot/pipe 10r SIGWAITINFO
28678 2 proc/boot/pipe 10r RECEIVE 1
28678 3 proc/boot/pipe 10r RECEIVE 1
28679 1 proc/boot/mqueue 10r RECEIVE 1
28680 1 proc/boot/devc-pty 10r RECEIVE 1
28681 1 proc/boot/esh 10r REPLY 1
204810 1...
View Full Message
|
|
|
Sean Boudreau(deleted)
|
Re: No network statistics available
|
Sean Boudreau(deleted)
11/30/2007 9:44 AM
post3157
|
Re: No network statistics available
On Fri, Nov 30, 2007 at 07:01:22AM -0500, Alexander Senier wrote:
> Hi,
>
> I managed to setup networking with a self build core networking. Both
> Intel e1000 cards in my machine are recognized and it's possible to set
> up IP addresses and ping other machines.
>
> The following problems arose:
>
> * no information can be set/read via sysctl:
>
> # sysctl -w net.inet.ip.forwarding=1
> sysctl: top level name 'net' in 'net.inet.ip.forwarding' is invalid
>
> # sysctl -a
> #
>
> * netstat and sockstat return with errors:
>
> # netstat
> netstat: sysctlnametomib: net.inet.tcp.pcblist: Invalid argument
> # sockstat
> sockstat: sysctlnametomib: net.inet.tcp.pcblist: Invalid argument
>
> * ifconfig spits out various errors/warnings:
>
> # ifconfig -a
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33212
> capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
> enabled=0
> ifconfig: SIOCGIFADDRPREF: Invalid argument
> inet 127.0.0.1 netmask 0xff000000
> en0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
> capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
> enabled=0
> address: 00:04:23:c3:91:0a
> ifconfig: SIOCGIFADDRPREF: Operation not supported
> inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
> en1: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
> capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
> enabled=0
> address: 00:19:d1:29:f6:9c
> ifconfig: SIOCGIFADDRPREF: Operation not supported
> inet 192.168.2.100 netmask 0xffffff00 broadcast 192.168.2.255
>
> Am I missing something important? The following tasks are running:
>
> # pidin
> pid tid name prio STATE Blocked
<snip>
> 16389 1 proc/boot/io-net 10r SIGWAITINFO
You need to run the new utilities against the new stack: io-pkt-*.
-seanb
|
|
|
Robert Craig
|
RE: No network statistics available
|
Robert Craig
11/30/2007 12:04 PM
post3173
|
RE: No network statistics available
You can also take a look here for more information on how to use the new
stack:
http://community.qnx.com/sf/wiki/do/viewPage/projects.networking/wiki/Source
_Guide
(note the comments about setting the LD_LIBRARY_PATH and PATH vars at the
bottom)
Robert.
-----Original Message-----
From: Sean Boudreau [mailto:seanb@qnx.com]
Sent: Friday, November 30, 2007 9:45 AM
To: general-networking
Subject: Re: No network statistics available
On Fri, Nov 30, 2007 at 07:01:22AM -0500, Alexander Senier wrote:
> Hi,
>
> I managed to setup networking with a self build core networking. Both
> Intel e1000 cards in my machine are recognized and it's possible to set
> up IP addresses and ping other machines.
>
> The following problems arose:
>
> * no information can be set/read via sysctl:
>
> # sysctl -w net.inet.ip.forwarding=1
> sysctl: top level name 'net' in 'net.inet.ip.forwarding' is invalid
>
> # sysctl -a
> #
>
> * netstat and sockstat return with errors:
>
> # netstat
> netstat: sysctlnametomib: net.inet.tcp.pcblist: Invalid argument
> # sockstat
> sockstat: sysctlnametomib: net.inet.tcp.pcblist: Invalid argument
>
> * ifconfig spits out various errors/warnings:
>
> # ifconfig -a
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33212
> capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
> enabled=0
> ifconfig: SIOCGIFADDRPREF: Invalid argument
> inet 127.0.0.1 netmask 0xff000000
> en0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
> capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
> enabled=0
> address: 00:04:23:c3:91:0a
> ifconfig: SIOCGIFADDRPREF: Operation not supported
> inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
> en1: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
> capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
> enabled=0
> address: 00:19:d1:29:f6:9c
> ifconfig: SIOCGIFADDRPREF: Operation not supported
> inet 192.168.2.100 netmask 0xffffff00 broadcast 192.168.2.255
>
> Am I missing something important? The following tasks are running:
>
> # pidin
> pid tid name prio STATE Blocked
<snip>
> 16389 1 proc/boot/io-net 10r SIGWAITINFO
You need to run the new utilities against the new stack: io-pkt-*.
-seanb
_______________________________________________
General
http://community.qnx.com/sf/go/post3157
|
|
|
|