did you configure manually your ip for testing before starting net.eth0 ???
in this case, try

ifconfig eth0 down

and /etc/init.d/net.eth0

if work fine, just add it to default profile

rc-update add net.eth0 default

just an explanation:

ifconfig do up on network card, so net.eth0 try up too and fail cause
already up
they don't try down before up ... so

if you configure manually by typing command
ifconfig eth0 MYIP netmask MYNETMASK brd MYBRD
route add default gw MYGW

so .. eth0 is up and net.eth0 couldn't do up again
so ifconfig eth0 down shutdown the network card, and so all work fine after
:)

have fun

2006/12/30, Chuanwen Wu <[EMAIL PROTECTED]>:

2006/12/30, Dan <[EMAIL PROTECTED]>:
> On Fri, 29 Dec 2006 09:27:46 +0800
> "Chuanwen Wu" <[EMAIL PROTECTED]> wrote:
>
> > 2006/12/28, Oliver Schmidt <[EMAIL PROTECTED]>:
> > > Hello Chuanwen
>
> > But everytime I do
> > #/etc/init.d/net.eth0 start   or
> > #/etc/init.d/sshd start
> > the error is still all the same : MYIP already taken on eth0.
> > How can I fix the problem,now?
>
> assuming you were just doing that or have by now, mind
> sending /etc/conf.d/net ?
I have sent my /etc/conf.d/net in my first email.Just as below:

# cat /etc/conf.d/net
config_eth0=( "202.114.26.194 netmask 255.255.255.0 brd 202.114.26.255" )
routes_eth0=( "default gw 202.114.26.193" )

After
#ifconfig eth0 MYIP
#route add default gw MYGW

I can connect the internet now,just like ping www.google.com.
But as I said ,every time I do
#/etc/init.d/net.eth0 start
the error appear: MYIP already taken on eth0.

And I also can't start sshd and ftp because they need to start net.eth0...
> --
> gentoo-user@gentoo.org mailing list
>
>


--
wcw
--
gentoo-user@gentoo.org mailing list


Reply via email to