From: "Strong Cypher" <cypherstrong@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] network configuration problem
Date: Mon, 1 Jan 2007 12:03:51 +0100 [thread overview]
Message-ID: <5251dbe30701010303q57e2b323q7576c7d0a4286380@mail.gmail.com> (raw)
In-Reply-To: <7797aa370612291654kb285a1dy8af14d40aad46674@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1814 bytes --]
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
>
>
[-- Attachment #2: Type: text/html, Size: 2713 bytes --]
next prev parent reply other threads:[~2007-01-01 11:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-27 11:02 [gentoo-user] network configuration problem Chuanwen Wu
2006-12-27 11:12 ` Oliver Schmidt
2006-12-27 11:47 ` Mick
2006-12-27 14:18 ` Chuanwen Wu
2006-12-27 14:12 ` Chuanwen Wu
2006-12-27 16:55 ` Dan
[not found] ` <34680.192.168.0.254.1167229864.squirrel@www.kernelpanic.ch>
[not found] ` <7797aa370612271758q4609ff46m1cbebeb17960ec69@mail.gmail.com>
[not found] ` <35826.192.168.0.254.1167295225.squirrel@www.kernelpanic.ch>
2006-12-29 1:27 ` Chuanwen Wu
2006-12-29 23:13 ` Dan
2006-12-30 0:54 ` Chuanwen Wu
2007-01-01 11:03 ` Strong Cypher [this message]
2007-01-02 7:33 ` Chuanwen Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5251dbe30701010303q57e2b323q7576c7d0a4286380@mail.gmail.com \
--to=cypherstrong@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox