From: "Richard Fish" <[EMAIL PROTECTED]>
To: gentoo-user@lists.gentoo.org
Date: Wed, 12 Apr 2006 02:01:57 +0800 (CST)
Subject: Re: [gentoo-user] error after update



>
> On 4/11/06, wcw84 <[EMAIL PROTECTED]> wrote:
> > Then I updated in my second gentoo to gcc 4.0.2 and glibc2.4,and "emerge -e
> > system && emerge -e world" and "etc-update" and update all the file.And when
> > i reboot,error
> > occured:"udev-event[1731]:find_free_number:%e is deprecated
> > will be removed and is unlikely to work correctly.Don't use it."
>
> This is expected with the ~x86 udev, as the CD-ROM rules still use %e
> to figure out the device name. Hopefully it goes away in a future
> udev release, and we will all learn how to update our own rules that
> use %e....
>
> > and
> > "network unreachable".
> >
> > After i logined,i typed:"ifconfig",it showed:
> > eth0 Link encap:Ethernet HWaddr 00:E0:4C:8C:B8:C9
> > inet addr:0.0.0.255 Bcast:255.255.255.255 Mask:0.0.0.0
>
> Ok so the driver is loaded and working. Looks like something is wrong
> with your configuration though.
>
> What does "grep -v '^#' /etc/conf.d/net" show?
>
> > And the system don't have any sound now ,i can't find the file "dsp" in the
> > /dev.
>
> Do you have alsasound set to start in the default runlevel (check
> "rc-update -s")? Do you use the in-kernel modules or the external
> alsa-driver package? If external, have you tried rebuildling it?
> What does "lsmod | grep snd" report?
>
> BTW, /dev/dsp is the legacy oss device, and will only appear if you
> have the snd_pcm_oss module loaded. The standard alsa interfaces show
> up under /dev/snd/, with information at /proc/asound/.
>
> -Richard
>
> --
> gentoo-user@gentoo.org mailing list
>
>
I so appreciated the help from Richard!Thank you for telling me to add the alsasound to
starting in default level.Now i have sound!
But i still don't know how to deal with my network problem.
This is my /etc/con.d/net:

# 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=( "222.20.45.71 netmask 255.255.255.0 broadcast 222.20.45 255" )
routes_eth0=( "default gw 222.20.45.254" )

#config_eth0=( "192.168.1.31 netmask 255.255.255.0 broadcast 192.168.1.255" )
#routes_eth0=( "default gw 192.168.1.1" )

This file is just as it is before i update,and it can work before updating.
Now when i start my system,it says:

Start eth0
Bringing up eth0
222.20.45.71
Add routes
default gw 222.20.45 254
SIOCADDRT: Netwoik is unreachable
Mounting network filesystems
Starting local

Can anybody tell me how to do that?
Thanks advanced!






中 国 每 年 用 掉 多 少 双 一 次 性 筷 子 ?
450亿双。这会耗费170万立方米的木材,需要砍伐大约2500万棵大树! <网易邮箱公益宣传>

Reply via email to