public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexandre Riveira <alexandre@objectdata.com.br>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: new user and dhcpcd problem
Date: Fri, 12 Aug 2011 09:52:35 -0300	[thread overview]
Message-ID: <CAL5QHYH0du0gO4mAHYObq11Wzoc2uFpQ67-SPuHgeYZrspc-VQ@mail.gmail.com> (raw)
In-Reply-To: <201108112257.04465.michaelkintzios@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

>
> When you run ifconfig what does it show?  When you run 'ip route show' what
> do
> you get?
>
localhost ~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:25:22:b2:64:44
          inet addr:192.168.0.159  Bcast:255.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
          RX packets:669 errors:0 dropped:3 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:94216 (92.0 KiB)  TX bytes:5395 (5.2 KiB)
          Interrupt:44

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

localhost ~ # ip route show
default via 192.168.0.2 dev eth0  metric 2
127.0.0.0/8 via 127.0.0.1 dev lo
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.159  metric
2



>
> How have you configured your /etc/conf.d/net?
>
config_eth0=( "dhcp" )


> The local and eth0 interfaces seem to be reversed.  How have you defined
> how
> your local and eth0 interfaces are routed?
>
I create link

ln -s /etc/init.d/net.lo /etc/init.d/net.eth0
rc-update add net.eth0 boot

Regards


Alexandre Riveira

[-- Attachment #2: Type: text/html, Size: 2221 bytes --]

  parent reply	other threads:[~2011-08-12 12:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-11 19:55 [gentoo-user] new user and dhcpcd problem Alexandre Riveira
2011-08-11 20:32 ` [gentoo-user] " Alexandre Riveira
2011-08-11 21:56   ` Mick
2011-08-12 12:48     ` Alexandre Riveira
2011-08-12 13:27       ` Alexandre Riveira
2011-08-12 14:21         ` Mick
2011-08-12 12:52     ` Alexandre Riveira [this message]
2011-08-12 13:35       ` Mick
2011-08-12 14:10         ` Alexandre Riveira
2011-08-12 14:15           ` Bill Longman
2011-08-12 14:29           ` Mick
2011-08-12 12:56 ` [gentoo-user] " Jeremy McSpadden
2011-08-12 13:21   ` Alexandre Riveira
2011-08-12 13:43     ` Alexandre Riveira

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=CAL5QHYH0du0gO4mAHYObq11Wzoc2uFpQ67-SPuHgeYZrspc-VQ@mail.gmail.com \
    --to=alexandre@objectdata.com.br \
    --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