From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H1L1U-0006lQ-Lx for garchives@archives.gentoo.org; Mon, 01 Jan 2007 11:08:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l01B60kK018230; Mon, 1 Jan 2007 11:06:00 GMT Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l01B3q1X012160 for ; Mon, 1 Jan 2007 11:03:52 GMT Received: by wx-out-0506.google.com with SMTP id i30so8009293wxd for ; Mon, 01 Jan 2007 03:03:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=i7d1bkdT8XXbt2kbU2xRXBhTrEskXE/iKcK4ryAEeYSB+rHyNqNnsgqHxTjcawr8SWm2llrvMttlm/AFjc8na7wduXmtrFX5mER04DdxYw4ZD+5a/sIsK1EFpym4rC0TDdpWQIQ1Y7kxr7GqKNK7P+E4zqoM62zYYtvgzj9vRsg= Received: by 10.90.113.18 with SMTP id l18mr13777901agc.1167649431611; Mon, 01 Jan 2007 03:03:51 -0800 (PST) Received: by 10.90.69.14 with HTTP; Mon, 1 Jan 2007 03:03:51 -0800 (PST) Message-ID: <5251dbe30701010303q57e2b323q7576c7d0a4286380@mail.gmail.com> Date: Mon, 1 Jan 2007 12:03:51 +0100 From: "Strong Cypher" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] network configuration problem In-Reply-To: <7797aa370612291654kb285a1dy8af14d40aad46674@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_166146_33156890.1167649431582" References: <7797aa370612270302q7436ebeem3faf7b642c37a92@mail.gmail.com> <60068.192.168.0.254.1167217927.squirrel@www.kernelpanic.ch> <7797aa370612270612v752d2c41t45b7931591efe6d5@mail.gmail.com> <34680.192.168.0.254.1167229864.squirrel@www.kernelpanic.ch> <7797aa370612271758q4609ff46m1cbebeb17960ec69@mail.gmail.com> <35826.192.168.0.254.1167295225.squirrel@www.kernelpanic.ch> <7797aa370612281727i3a8b3644n71182dd104d8846@mail.gmail.com> <20061229171309.0e09ae39@pascal.spore.ath.cx> <7797aa370612291654kb285a1dy8af14d40aad46674@mail.gmail.com> X-Archives-Salt: 7836da93-1430-494a-af13-94b90a1e83cb X-Archives-Hash: 8f90473c3df0e04ff27ef05a243a0736 ------=_Part_166146_33156890.1167649431582 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 : > > 2006/12/30, Dan : > > On Fri, 29 Dec 2006 09:27:46 +0800 > > "Chuanwen Wu" wrote: > > > > > 2006/12/28, Oliver Schmidt : > > > > 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 > > ------=_Part_166146_33156890.1167649431582 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 <wcw8410@gmail.com>:
2006/12/30, Dan <dan@spore.ath.cx>:
> On Fri, 29 Dec 2006 09:27:46 +0800
> "Chuanwen Wu" <wcw8410@gmail.com> wrote:
>
> > 2006/12/28, Oliver Schmidt <oli@kernelpanic.ch>:
> > > 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


------=_Part_166146_33156890.1167649431582-- -- gentoo-user@gentoo.org mailing list