Quoting Richard Fish <[EMAIL PROTECTED]>:
varky adrian # cat /proc/net/protocols
protocol size sockets memory press maxhdr slab module cl co di ac io in
de sh ss gs se re sp bi br ha uh gp em
PACKET 340 -1 -1 NI 0 no kernel n n n n n n
n n n n n n n n n n n n n
UNIX 344 -1 -1 NI 0 yes kernel n n n n n n
n n n n n n n n n n n n n
RAW 436 -1 -1 NI 0 yes kernel y y y n y y
n n y y y y n y y y y n n
UDP 444 -1 -1 NI 0 yes kernel y y y n y n
y n y y y y y n y y y y n
TCP 1020 40 20 no 208 yes kernel y y y y y y
y y y y y y n n y y y y y
NETLINK 344 -1 -1 NI 0 no kernel n n n n n n
n n n n n n n n n n n n n
________________________________________________________________________
varky adrian # cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
eth0: 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
eth1:308895246 431390 0 0 0 0 0 0 85199938
310923 0 0 0 0 0 0
lo: 552 9 0 0 0 0 0 0 552
9 0 0 0 0 0 0
tunl0: 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
gre0: 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0
_______________________________________________________________________
varky adrian # ls -lA /proc/net
total 0
-r--r--r-- 1 root root 0 Jul 24 11:35 arp
-r--r----- 1 root root 0 Jul 24 11:35 arp_tables_matches
-r--r----- 1 root root 0 Jul 24 11:35 arp_tables_names
-r--r----- 1 root root 0 Jul 24 11:35 arp_tables_targets
-r--r--r-- 1 root root 0 Jul 24 11:35 dev
-r--r--r-- 1 root root 0 Jul 24 11:35 dev_mcast
-r--r--r-- 1 root root 0 Jul 24 11:35 igmp
-r--r----- 1 root root 0 Jul 24 11:35 ip_conntrack
-r--r----- 1 root root 0 Jul 24 11:35 ip_conntrack_expect
-r--r--r-- 1 root root 0 Jul 24 11:35 ip_mr_cache
-r--r--r-- 1 root root 0 Jul 24 11:35 ip_mr_vif
-r--r--r-- 1 root root 0 Jul 24 11:35 ip_queue
-r--r----- 1 root root 0 Jul 24 11:35 ip_tables_matches
-r--r----- 1 root root 0 Jul 24 11:35 ip_tables_names
-r--r----- 1 root root 0 Jul 24 11:35 ip_tables_targets
dr-xr-xr-x 2 root root 0 Jul 24 11:35 ipt_CLUSTERIP
dr-xr-xr-x 2 root root 0 Jul 24 11:35 ipt_hashlimit
dr-xr-xr-x 2 root root 0 Jul 24 11:35 ipt_recent
-r--r--r-- 1 root root 0 Jul 24 11:35 mcfilter
dr-xr-xr-x 2 root root 0 Jul 24 11:35 netfilter
-r--r--r-- 1 root root 0 Jul 24 11:35 netlink
-r--r--r-- 1 root root 0 Jul 24 11:35 netstat
-r--r--r-- 1 root root 0 Jul 24 11:35 packet
-r--r--r-- 1 root root 0 Jul 24 11:35 pnp
-r--r--r-- 1 root root 0 Jul 24 11:35 protocols
-r--r--r-- 1 root root 0 Jul 24 11:35 psched
-r--r--r-- 1 root root 0 Jul 24 11:35 raw
-r--r--r-- 1 root root 0 Jul 24 11:35 route
-r--r--r-- 1 root root 0 Jul 24 11:35 rt_acct
-r--r--r-- 1 root root 0 Jul 24 11:35 rt_cache
-r--r--r-- 1 root root 0 Jul 24 11:35 snmp
-r--r--r-- 1 root root 0 Jul 24 11:35 sockstat
-r--r--r-- 1 root root 0 Jul 24 11:35 softnet_stat
dr-xr-xr-x 2 root root 0 Jul 24 11:35 stat
-r--r--r-- 1 root root 0 Jul 24 11:35 tcp
-r--r--r-- 1 root root 0 Jul 24 11:35 udp
-r--r--r-- 1 root root 0 Jul 24 11:35 unix
> On 7/23/06, Adrian Vraciu <[EMAIL PROTECTED]> wrote:
> > # ifconfig -a
> > No usable address families found.
> > socket: No such file or directory
>
> Hmm, not good.
>
> What is the output of:
>
> 1. cat /proc/net/protocols
> 2. cat /proc/net/dev
> 3. ls -lA /proc/net
>
> -Richard
> --
> [email protected] mailing list
>
>
--
[email protected] mailing list