* [gentoo-user] Network is not starting
@ 2006-07-23 6:13 Adrian Vraciu
2006-07-23 6:55 ` Rumen Yotov
0 siblings, 1 reply; 21+ messages in thread
From: Adrian Vraciu @ 2006-07-23 6:13 UTC (permalink / raw
To: gentoo-user
I had the bad surprise the see the next error when my system boots, and is
about starting the netowrk services:
Starting eth0
No usable addresses families found
socket: no such file or directory
*eth0 does not exist
the same thing is happening for eth1. for eth0 i use dhcp and for eth1 i use
static addresses.
Could someone give me an advice?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 6:13 [gentoo-user] Network is not starting Adrian Vraciu
@ 2006-07-23 6:55 ` Rumen Yotov
2006-07-23 7:02 ` Adrian Vraciu
0 siblings, 1 reply; 21+ messages in thread
From: Rumen Yotov @ 2006-07-23 6:55 UTC (permalink / raw
To: gentoo-user
On Sun, 23 Jul 2006 09:13:47 +0300
Adrian Vraciu <adrian790@catv.embit.ro> wrote:
> I had the bad surprise the see the next error when my system boots,
> and is about starting the netowrk services:
>
> Starting eth0
> No usable addresses families found
> socket: no such file or directory
> *eth0 does not exist
>
> the same thing is happening for eth1. for eth0 i use dhcp and for
> eth1 i use static addresses.
>
> Could someone give me an advice?
Hi,
First run "etc-update" or "dispatch-conf" to see if there're any conf
files to update.
Next check /etc/conf.d/net file which may have been overwritten by some
update. Edit it and make the necessary configurations again.
Check ethX existance manually - #ifconfig.
HTH.Rumen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 6:55 ` Rumen Yotov
@ 2006-07-23 7:02 ` Adrian Vraciu
2006-07-23 12:01 ` Hans-Werner Hilse
2006-07-24 5:52 ` Richard Fish
0 siblings, 2 replies; 21+ messages in thread
From: Adrian Vraciu @ 2006-07-23 7:02 UTC (permalink / raw
To: gentoo-user
On Sunday 23 July 2006 09:55, Rumen Yotov wrote:
> Hi,
> First run "etc-update" or "dispatch-conf" to see if there're any conf
> files to update.
> Next check /etc/conf.d/net file which may have been overwritten by some
> update. Edit it and make the necessary configurations again.
> Check ethX existance manually - #ifconfig.
> HTH.Rumen
i've been running etc-update and dispatch-conf and there is no file for
update. /etc/conf.d/net shows the next lines:
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=( "dhcp" )
#dhcp_eth0="nodns nontp nonis"
config_eth1=( "10.0.0.2 netmask 255.255.255.0 brd 10.0.0.255" )
and for ifconfig:
# ifconfig -a
No usable address families found.
socket: No such file or directory
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 7:02 ` Adrian Vraciu
@ 2006-07-23 12:01 ` Hans-Werner Hilse
2006-07-23 14:13 ` Adrian Vraciu
` (2 more replies)
2006-07-24 5:52 ` Richard Fish
1 sibling, 3 replies; 21+ messages in thread
From: Hans-Werner Hilse @ 2006-07-23 12:01 UTC (permalink / raw
To: gentoo-user
Hi,
On Sun, 23 Jul 2006 10:02:49 +0300
Adrian Vraciu <adrian790@catv.embit.ro> wrote:
> # ifconfig -a
> No usable address families found.
> socket: No such file or directory
You seem to have no IP protocol support compiled into your kernel. Or
is there a module reg. IP support that you need to modprobe first?
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 12:01 ` Hans-Werner Hilse
@ 2006-07-23 14:13 ` Adrian Vraciu
2006-07-23 14:16 ` Adrian Vraciu
2006-07-23 14:18 ` Adrian Vraciu
2 siblings, 0 replies; 21+ messages in thread
From: Adrian Vraciu @ 2006-07-23 14:13 UTC (permalink / raw
To: gentoo-user
On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote:
> Hi,
>
> On Sun, 23 Jul 2006 10:02:49 +0300
>
> Adrian Vraciu <adrian790@catv.embit.ro> wrote:
> > # ifconfig -a
> > No usable address families found.
> > socket: No such file or directory
>
> You seem to have no IP protocol support compiled into your kernel. Or
> is there a module reg. IP support that you need to modprobe first?
>
> -hwh
but i have compiled tcp/ip in kernel. and i said that, when i run dhcpcd eth0
i have internet connection. but i can't run the init script for network.
# /etc/init.d/net.eth0 start
* Starting eth0
No usable address families found.
socket: No such file or directory
No usable address families found.
socket: No such file or directory
* Bringing up eth0
* dhcp
No usable address families found.
socket: No such file or directory
--
Best Regards,
Adrian Vraciu
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 12:01 ` Hans-Werner Hilse
2006-07-23 14:13 ` Adrian Vraciu
@ 2006-07-23 14:16 ` Adrian Vraciu
2006-07-23 14:18 ` Adrian Vraciu
2 siblings, 0 replies; 21+ messages in thread
From: Adrian Vraciu @ 2006-07-23 14:16 UTC (permalink / raw
To: gentoo-user
On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote:
> Hi,
>
> On Sun, 23 Jul 2006 10:02:49 +0300
>
> Adrian Vraciu <adrian790@catv.embit.ro> wrote:
> > # ifconfig -a
> > No usable address families found.
> > socket: No such file or directory
>
> You seem to have no IP protocol support compiled into your kernel. Or
> is there a module reg. IP support that you need to modprobe first?
>
> -hwh
and there is no need for modprobe because most of the drivers are built-in.
the kernel worked till yesterday very fine. actually, i have three different
kernel and i have the same problem.
--
Best Regards,
Adrian Vraciu
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 12:01 ` Hans-Werner Hilse
2006-07-23 14:13 ` Adrian Vraciu
2006-07-23 14:16 ` Adrian Vraciu
@ 2006-07-23 14:18 ` Adrian Vraciu
2006-07-23 16:42 ` Rumen Yotov
2 siblings, 1 reply; 21+ messages in thread
From: Adrian Vraciu @ 2006-07-23 14:18 UTC (permalink / raw
To: gentoo-user
On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote:
> Hi,
>
> On Sun, 23 Jul 2006 10:02:49 +0300
>
> Adrian Vraciu <adrian790@catv.embit.ro> wrote:
> > # ifconfig -a
> > No usable address families found.
> > socket: No such file or directory
>
> You seem to have no IP protocol support compiled into your kernel. Or
> is there a module reg. IP support that you need to modprobe first?
>
> -hwh
could be something related to sysctl?
--
Best Regards,
Adrian Vraciu
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* RE: [gentoo-user] Network is not starting
@ 2006-07-23 14:41 Zinn, Stefan
2006-07-23 14:56 ` Adrian Vraciu
0 siblings, 1 reply; 21+ messages in thread
From: Zinn, Stefan @ 2006-07-23 14:41 UTC (permalink / raw
To: gentoo-user
Can you find any hints in the messages about this issue?
-----Original Message-----
From: Adrian Vraciu [mailto:adrian790@catv.embit.ro]
Sent: Sunday, July 23, 2006 4:16 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Network is not starting
On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote:
> Hi,
>
> On Sun, 23 Jul 2006 10:02:49 +0300
>
> Adrian Vraciu <adrian790@catv.embit.ro> wrote:
> > # ifconfig -a
> > No usable address families found.
> > socket: No such file or directory
>
> You seem to have no IP protocol support compiled into your kernel. Or
> is there a module reg. IP support that you need to modprobe first?
>
> -hwh
and there is no need for modprobe because most of the drivers are
built-in.
the kernel worked till yesterday very fine. actually, i have three
different kernel and i have the same problem.
--
Best Regards,
Adrian Vraciu
--
gentoo-user@gentoo.org mailing list
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 14:41 Zinn, Stefan
@ 2006-07-23 14:56 ` Adrian Vraciu
2006-07-23 16:19 ` Randy Barlow
0 siblings, 1 reply; 21+ messages in thread
From: Adrian Vraciu @ 2006-07-23 14:56 UTC (permalink / raw
To: gentoo-user
On Sunday 23 July 2006 17:41, Zinn, Stefan wrote:
did you saw some interesting hints? i can't find one, right now i'm very
frustrated about this issue.
> Can you find any hints in the messages about this issue?
>
> -----Original Message-----
> From: Adrian Vraciu [mailto:adrian790@catv.embit.ro]
> Sent: Sunday, July 23, 2006 4:16 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Network is not starting
>
> On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote:
> > Hi,
> >
> > On Sun, 23 Jul 2006 10:02:49 +0300
> >
> > Adrian Vraciu <adrian790@catv.embit.ro> wrote:
> > > # ifconfig -a
> > > No usable address families found.
> > > socket: No such file or directory
> >
> > You seem to have no IP protocol support compiled into your kernel. Or
> > is there a module reg. IP support that you need to modprobe first?
> >
> > -hwh
>
> and there is no need for modprobe because most of the drivers are
> built-in.
> the kernel worked till yesterday very fine. actually, i have three
> different kernel and i have the same problem.
> --
> Best Regards,
> Adrian Vraciu
> --
> gentoo-user@gentoo.org mailing list
--
Best Regards,
Adrian Vraciu
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 14:56 ` Adrian Vraciu
@ 2006-07-23 16:19 ` Randy Barlow
2006-07-23 16:28 ` Adrian Vraciu
0 siblings, 1 reply; 21+ messages in thread
From: Randy Barlow @ 2006-07-23 16:19 UTC (permalink / raw
To: gentoo-user
Adrian Vraciu wrote:
> On Sunday 23 July 2006 17:41, Zinn, Stefan wrote:
> did you saw some interesting hints? i can't find one, right now i'm very
> frustrated about this issue.
I think he meant to check /var/log/messages - anything interesting in there?
R
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 16:19 ` Randy Barlow
@ 2006-07-23 16:28 ` Adrian Vraciu
2006-07-24 3:38 ` Nick Rout
0 siblings, 1 reply; 21+ messages in thread
From: Adrian Vraciu @ 2006-07-23 16:28 UTC (permalink / raw
To: gentoo-user
On Sunday 23 July 2006 19:19, Randy Barlow wrote:
nothing interesting there :(
> Adrian Vraciu wrote:
> > On Sunday 23 July 2006 17:41, Zinn, Stefan wrote:
> > did you saw some interesting hints? i can't find one, right now i'm very
> > frustrated about this issue.
>
> I think he meant to check /var/log/messages - anything interesting in
> there?
>
> R
--
Best Regards,
Adrian Vraciu
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 14:18 ` Adrian Vraciu
@ 2006-07-23 16:42 ` Rumen Yotov
2006-07-23 17:38 ` Adrian Vraciu
0 siblings, 1 reply; 21+ messages in thread
From: Rumen Yotov @ 2006-07-23 16:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 867 bytes --]
Adrian Vraciu wrote:
> On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote:
>> Hi,
>>
>> On Sun, 23 Jul 2006 10:02:49 +0300
>>
>> Adrian Vraciu <adrian790@catv.embit.ro> wrote:
>>> # ifconfig -a
>>> No usable address families found.
>>> socket: No such file or directory
>> You seem to have no IP protocol support compiled into your kernel. Or
>> is there a module reg. IP support that you need to modprobe first?
>>
>> -hwh
> could be something related to sysctl?
Hi,
Check the links in /etc/runlevels/{boot,default,nonetwork,single}
In all of them you have a link to a file under /etc/init.d/* according
to runlevel configuration. Some or all of the links might point to a
nonexistent files (e.g. /tmp/stage1/etc/init.d/consolefont).
There's also a Bug about this in Bugzilla, fix the links manually or
find a script (Bug-?) which will do this for you.
HTH.Rumen
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3493 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 16:42 ` Rumen Yotov
@ 2006-07-23 17:38 ` Adrian Vraciu
0 siblings, 0 replies; 21+ messages in thread
From: Adrian Vraciu @ 2006-07-23 17:38 UTC (permalink / raw
To: gentoo-user
On Sunday 23 July 2006 19:42, Rumen Yotov wrote:
the init scripts are ok. but there is no eth0 and eth1, although wehn i run
dhcpcd eth0 i can make my internet connection to work fine.ifconfig says
clearly that i don't have any eth0 and eth1. where the hell are eth0 and
eth1? and how can i remake them?
> Adrian Vraciu wrote:
> > On Sunday 23 July 2006 15:01, Hans-Werner Hilse wrote:
> >> Hi,
> >>
> >> On Sun, 23 Jul 2006 10:02:49 +0300
> >>
> >> Adrian Vraciu <adrian790@catv.embit.ro> wrote:
> >>> # ifconfig -a
> >>> No usable address families found.
> >>> socket: No such file or directory
> >>
> >> You seem to have no IP protocol support compiled into your kernel. Or
> >> is there a module reg. IP support that you need to modprobe first?
> >>
> >> -hwh
> >
> > could be something related to sysctl?
>
> Hi,
> Check the links in /etc/runlevels/{boot,default,nonetwork,single}
> In all of them you have a link to a file under /etc/init.d/* according
> to runlevel configuration. Some or all of the links might point to a
> nonexistent files (e.g. /tmp/stage1/etc/init.d/consolefont).
> There's also a Bug about this in Bugzilla, fix the links manually or
> find a script (Bug-?) which will do this for you.
> HTH.Rumen
--
Best Regards,
Adrian Vraciu
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 16:28 ` Adrian Vraciu
@ 2006-07-24 3:38 ` Nick Rout
2006-07-24 5:13 ` Adrian Vraciu
0 siblings, 1 reply; 21+ messages in thread
From: Nick Rout @ 2006-07-24 3:38 UTC (permalink / raw
To: gentoo-user
what does
ls -l /etc/init.d/net*
tell you?
On Sun, 23 Jul 2006 19:28:37 +0300
Adrian Vraciu wrote:
> On Sunday 23 July 2006 19:19, Randy Barlow wrote:
> nothing interesting there :(
> > Adrian Vraciu wrote:
> > > On Sunday 23 July 2006 17:41, Zinn, Stefan wrote:
> > > did you saw some interesting hints? i can't find one, right now i'm very
> > > frustrated about this issue.
> >
> > I think he meant to check /var/log/messages - anything interesting in
> > there?
> >
> > R
>
> --
> Best Regards,
> Adrian Vraciu
> --
> gentoo-user@gentoo.org mailing list
--
Nick Rout <nick@rout.co.nz>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-24 3:38 ` Nick Rout
@ 2006-07-24 5:13 ` Adrian Vraciu
0 siblings, 0 replies; 21+ messages in thread
From: Adrian Vraciu @ 2006-07-24 5:13 UTC (permalink / raw
To: gentoo-user
On Monday 24 July 2006 06:38, Nick Rout wrote:
$ ls -l /etc/init.d/net*
lrwxrwxrwx 1 root root 6 Jul 23 20:27 /etc/init.d/net.eth0 -> net.lo
lrwxrwxrwx 1 root root 18 Jul 23
17:47 /etc/init.d/net.eth1 -> /etc/init.d/net.lo
-rwxr-xr-x 1 root root 24324 Jul 23 20:27 /etc/init.d/net.lo
-rwxr-xr-x 1 root root 3046 Jul 23 20:27 /etc/init.d/netmount
> what does
>
> ls -l /etc/init.d/net*
>
> tell you?
>
>
> On Sun, 23 Jul 2006 19:28:37 +0300
>
> Adrian Vraciu wrote:
> > On Sunday 23 July 2006 19:19, Randy Barlow wrote:
> > nothing interesting there :(
> >
> > > Adrian Vraciu wrote:
> > > > On Sunday 23 July 2006 17:41, Zinn, Stefan wrote:
> > > > did you saw some interesting hints? i can't find one, right now i'm
> > > > very frustrated about this issue.
> > >
> > > I think he meant to check /var/log/messages - anything interesting in
> > > there?
> > >
> > > R
> >
> > --
> > Best Regards,
> > Adrian Vraciu
> > --
> > gentoo-user@gentoo.org mailing list
>
> --
> Nick Rout <nick@rout.co.nz>
--
Best Regards,
Adrian Vraciu
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-23 7:02 ` Adrian Vraciu
2006-07-23 12:01 ` Hans-Werner Hilse
@ 2006-07-24 5:52 ` Richard Fish
2006-07-24 11:34 ` adrian790
1 sibling, 1 reply; 21+ messages in thread
From: Richard Fish @ 2006-07-24 5:52 UTC (permalink / raw
To: gentoo-user
On 7/23/06, Adrian Vraciu <adrian790@catv.embit.ro> 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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-24 5:52 ` Richard Fish
@ 2006-07-24 11:34 ` adrian790
2006-07-24 16:39 ` Richard Fish
0 siblings, 1 reply; 21+ messages in thread
From: adrian790 @ 2006-07-24 11:34 UTC (permalink / raw
To: gentoo-user
Quoting Richard Fish <bigfish@asmallpond.org>:
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 <adrian790@catv.embit.ro> 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
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-24 11:34 ` adrian790
@ 2006-07-24 16:39 ` Richard Fish
2006-07-24 17:10 ` Adrian Vraciu
0 siblings, 1 reply; 21+ messages in thread
From: Richard Fish @ 2006-07-24 16:39 UTC (permalink / raw
To: gentoo-user
On 7/24/06, adrian790@catv.embit.ro <adrian790@catv.embit.ro> wrote:
> Quoting Richard Fish <bigfish@asmallpond.org>:
> varky adrian # cat /proc/net/protocols
Well everything in kernel-land looks ok to me. Can you send the output of:
strace -f ifconfig -a
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-24 16:39 ` Richard Fish
@ 2006-07-24 17:10 ` Adrian Vraciu
2006-07-25 8:37 ` Richard Fish
0 siblings, 1 reply; 21+ messages in thread
From: Adrian Vraciu @ 2006-07-24 17:10 UTC (permalink / raw
To: gentoo-user
On Monday 24 July 2006 19:39, Richard Fish wrote:
# strace -f ifconfig -a
execve("/sbin/ifconfig", ["ifconfig", "-a"], [/* 61 vars */]) = 0
uname({sys="Linux", node="varky", ...}) = 0
brk(0) = 0x8057000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=90931, ...}) = 0
mmap2(NULL, 90931, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f8f000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\200"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1209816, ...}) = 0
mmap2(0x49cc3000, 1146076, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x49cc3000
madvise(0x49cc3000, 1146076, MADV_SEQUENTIAL|0x1) = 0
mmap2(0x49dd5000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x112) = 0x49dd5000
mmap2(0x49dd9000, 7388, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0x49dd9000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f8e000
mprotect(0x49dd5000, 4096, PROT_READ) = 0
mprotect(0x494a2000, 4096, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f8ea90, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
munmap(0xb7f8f000, 90931) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "\366\370\264\224", 4) = 4
close(3) = 0
brk(0) = 0x8057000
brk(0x8078000) = 0x8078000
uname({sys="Linux", node="varky", ...}) = 0
access("/proc/net", R_OK) = 0
access("/proc/net/unix", R_OK) = 0
socket(PF_FILE, SOCK_DGRAM, 0) = 3
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
access("/proc/net/if_inet6", R_OK) = -1 ENOENT (No such file or
directory)
access("/proc/net/ax25", R_OK) = -1 ENOENT (No such file or
directory)
access("/proc/net/rose", R_OK) = -1 ENOENT (No such file or
directory)
access("/proc/net/ipx", R_OK) = -1 ENOENT (No such file or
directory)
access("/proc/net/appletalk", R_OK) = -1 ENOENT (No such file or
directory)
access("/proc/sys/net/econet", R_OK) = -1 ENOENT (No such file or
directory)
access("/proc/sys/net/ash", R_OK) = -1 ENOENT (No such file or
directory)
access("/proc/net/x25", R_OK) = -1 ENOENT (No such file or
directory)
write(2, "No usable address families found"..., 34No usable address families
found.
) = 34
write(2, "socket: No such file or director"..., 34socket: No such file or
directory
) = 34
exit_group(1) = ?
Process 11166 detached
> Well everything in kernel-land looks ok to me. Can you send the output of:
>
> strace -f ifconfig -a
>
> -Richard
--
Best Regards,
Adrian Vraciu
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-24 17:10 ` Adrian Vraciu
@ 2006-07-25 8:37 ` Richard Fish
2006-07-25 17:29 ` Adrian Vraciu
0 siblings, 1 reply; 21+ messages in thread
From: Richard Fish @ 2006-07-25 8:37 UTC (permalink / raw
To: gentoo-user
On 7/24/06, Adrian Vraciu <adrian790@catv.embit.ro> wrote:
> On Monday 24 July 2006 19:39, Richard Fish wrote:
> # strace -f ifconfig -a
Ok, thanks.
I've looked through the sources for ifconfig (net-tools-1.60), and
based on the strace output you provided, I don't see how it can be
getting to the "No usable address families found" message. That the
socket() calls work should be sufficient to bypass this branch in the
code. Unless the ifconfig binary is corrupted....
I suggest posting the outputs of:
1. emerge -pv net-tools
2. emerge --info
3. cat /var/db/pkg/sys-apps/net-tools-*/CFLAGS
I also would try rebuilding net-tools: "emerge --oneshot net-tools".
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Network is not starting
2006-07-25 8:37 ` Richard Fish
@ 2006-07-25 17:29 ` Adrian Vraciu
0 siblings, 0 replies; 21+ messages in thread
From: Adrian Vraciu @ 2006-07-25 17:29 UTC (permalink / raw
To: gentoo-user
On Tuesday 25 July 2006 11:37, Richard Fish wrote:
man, you are awesome!!!! thank you very much. i've re-emerged net-tools and
all is perfect now!!!!thank you again!!!
> Ok, thanks.
>
> I've looked through the sources for ifconfig (net-tools-1.60), and
> based on the strace output you provided, I don't see how it can be
> getting to the "No usable address families found" message. That the
> socket() calls work should be sufficient to bypass this branch in the
> code. Unless the ifconfig binary is corrupted....
>
> I suggest posting the outputs of:
>
> 1. emerge -pv net-tools
> 2. emerge --info
> 3. cat /var/db/pkg/sys-apps/net-tools-*/CFLAGS
>
> I also would try rebuilding net-tools: "emerge --oneshot net-tools".
>
> -Richard
--
Best Regards,
Adrian Vraciu
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2006-07-25 17:35 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-23 6:13 [gentoo-user] Network is not starting Adrian Vraciu
2006-07-23 6:55 ` Rumen Yotov
2006-07-23 7:02 ` Adrian Vraciu
2006-07-23 12:01 ` Hans-Werner Hilse
2006-07-23 14:13 ` Adrian Vraciu
2006-07-23 14:16 ` Adrian Vraciu
2006-07-23 14:18 ` Adrian Vraciu
2006-07-23 16:42 ` Rumen Yotov
2006-07-23 17:38 ` Adrian Vraciu
2006-07-24 5:52 ` Richard Fish
2006-07-24 11:34 ` adrian790
2006-07-24 16:39 ` Richard Fish
2006-07-24 17:10 ` Adrian Vraciu
2006-07-25 8:37 ` Richard Fish
2006-07-25 17:29 ` Adrian Vraciu
-- strict thread matches above, loose matches on Subject: below --
2006-07-23 14:41 Zinn, Stefan
2006-07-23 14:56 ` Adrian Vraciu
2006-07-23 16:19 ` Randy Barlow
2006-07-23 16:28 ` Adrian Vraciu
2006-07-24 3:38 ` Nick Rout
2006-07-24 5:13 ` Adrian Vraciu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox