* [gentoo-user] new user and dhcpcd problem
@ 2011-08-11 19:55 Alexandre Riveira
2011-08-11 20:32 ` [gentoo-user] " Alexandre Riveira
2011-08-12 12:56 ` [gentoo-user] " Jeremy McSpadden
0 siblings, 2 replies; 14+ messages in thread
From: Alexandre Riveira @ 2011-08-11 19:55 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
Good afternoon am a New User gentoo and I appreciate everyone's help.
My problem is set up and dhcpcd with rc-update add dhcpcd default when I try
to wget is always HTTP request sent, Awaiting Response ... 200 and not out of
it OK if I put fixed IP it works normally. Interestingly, with dhcpcd ping
any external ip works normally. The IP number, gateway and dns are the
same used
with fixed IP and dhcpcd.
Tanks for all
Alexandre Riveira
brazil
[-- Attachment #2: Type: text/html, Size: 1878 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-user] Re: new user and dhcpcd problem
2011-08-11 19:55 [gentoo-user] new user and dhcpcd problem Alexandre Riveira
@ 2011-08-11 20:32 ` Alexandre Riveira
2011-08-11 21:56 ` Mick
2011-08-12 12:56 ` [gentoo-user] " Jeremy McSpadden
1 sibling, 1 reply; 14+ messages in thread
From: Alexandre Riveira @ 2011-08-11 20:32 UTC (permalink / raw
To: gentoo-user
I discovery values from routes:
dhcpcd
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.0.2 0.0.0.0 UG 0 0 0 eth0
127.0.0.0 - 255.0.0.0 ! 0 - 0 -
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Static Ip
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.0.2 0.0.0.0 UG 202 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
192.168.0.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0
Tanks
Alexandre Riveira
brazil
Em 11-08-2011 16:55, Alexandre Riveira escreveu:
> Good afternoon am a New User gentoo and I appreciate everyone's help.
>
> My problem is set up and dhcpcd with rc-update add dhcpcd default when
> I try to wget is always HTTP request sent, Awaiting Response ... 200
> and not out of it OK if I put fixed IP it works normally.
> Interestingly, with dhcpcd ping any external ip works normally. The IP
> number, gateway and dns are the same used with fixed IP and dhcpcd.
>
>
> Tanks for all
>
>
> Alexandre Riveira
> brazil
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: new user and dhcpcd problem
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 12:52 ` Alexandre Riveira
0 siblings, 2 replies; 14+ messages in thread
From: Mick @ 2011-08-11 21:56 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1280 bytes --]
Hi Alexandre and welcome to Gentoo! :)
On Thursday 11 Aug 2011 21:32:58 Alexandre Riveira wrote:
> I discovery values from routes:
>
> dhcpcd
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 0.0.0.0 192.168.0.2 0.0.0.0 UG 0 0 0
> eth0 127.0.0.0 - 255.0.0.0 ! 0 -
The "!" shows that the local route is not accepted on eth0 and indeed it
should not be bound to the eth0 interface, but to lo.
When you run ifconfig what does it show? When you run 'ip route show' what do
you get?
How have you configured your /etc/conf.d/net?
> 0 - 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0
> 0 eth0
>
>
> Static Ip
>
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 0.0.0.0 192.168.0.2 0.0.0.0 UG 202 0 0
> eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0
> 0 lo 192.168.0.0 0.0.0.0 255.255.255.0 U 202 0
> 0 eth0
The local and eth0 interfaces seem to be reversed. How have you defined how
your local and eth0 interfaces are routed?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: new user and dhcpcd problem
2011-08-11 21:56 ` Mick
@ 2011-08-12 12:48 ` Alexandre Riveira
2011-08-12 13:27 ` Alexandre Riveira
2011-08-12 12:52 ` Alexandre Riveira
1 sibling, 1 reply; 14+ messages in thread
From: Alexandre Riveira @ 2011-08-12 12:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1374 bytes --]
Hello Michael, tanks for your help !
I discov
2011/8/11 Mick <michaelkintzios@gmail.com>
> Hi Alexandre and welcome to Gentoo! :)
>
> On Thursday 11 Aug 2011 21:32:58 Alexandre Riveira wrote:
> > I discovery values from routes:
> >
> > dhcpcd
> >
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use
> > Iface
> > 0.0.0.0 192.168.0.2 0.0.0.0 UG 0 0 0
> > eth0 127.0.0.0 - 255.0.0.0 ! 0 -
>
> The "!" shows that the local route is not accepted on eth0 and indeed it
> should not be bound to the eth0 interface, but to lo.
>
> When you run ifconfig what does it show? When you run 'ip route show' what
> do
> you get?
>
> How have you configured your /etc/conf.d/net?
>
> > 0 - 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0
> > 0 eth0
> >
> >
> > Static Ip
> >
> > Destination Gateway Genmask Flags Metric Ref Use
> > Iface
> > 0.0.0.0 192.168.0.2 0.0.0.0 UG 202 0 0
> > eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0
> > 0 lo 192.168.0.0 0.0.0.0 255.255.255.0 U 202 0
> > 0 eth0
>
> The local and eth0 interfaces seem to be reversed. How have you defined
> how
> your local and eth0 interfaces are routed?
>
> --
> Regards,
> Mick
>
[-- Attachment #2: Type: text/html, Size: 1922 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: new user and dhcpcd problem
2011-08-11 21:56 ` Mick
2011-08-12 12:48 ` Alexandre Riveira
@ 2011-08-12 12:52 ` Alexandre Riveira
2011-08-12 13:35 ` Mick
1 sibling, 1 reply; 14+ messages in thread
From: Alexandre Riveira @ 2011-08-12 12:52 UTC (permalink / raw
To: gentoo-user
[-- 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 --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] new user and dhcpcd problem
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-12 12:56 ` Jeremy McSpadden
2011-08-12 13:21 ` Alexandre Riveira
1 sibling, 1 reply; 14+ messages in thread
From: Jeremy McSpadden @ 2011-08-12 12:56 UTC (permalink / raw
To: gentoo-user
what is in /etc/resolv.conf ? Your saying you can route by IP, but not DNS ?
On Aug 11, 2011, at 2:55 PM, Alexandre Riveira wrote:
> Good afternoon am a New User gentoo and I appreciate everyone's help.
>
> My problem is set up and dhcpcd with rc-update add dhcpcd default when I try to wget is always HTTP request sent, Awaiting Response ... 200 and not out of it OK if I put fixed IP it works normally. Interestingly, with dhcpcd ping any external ip works normally. The IP number, gateway and dns are the same used with fixed IP and dhcpcd.
>
>
> Tanks for all
>
>
> Alexandre Riveira
> brazil
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] new user and dhcpcd problem
2011-08-12 12:56 ` [gentoo-user] " Jeremy McSpadden
@ 2011-08-12 13:21 ` Alexandre Riveira
2011-08-12 13:43 ` Alexandre Riveira
0 siblings, 1 reply; 14+ messages in thread
From: Alexandre Riveira @ 2011-08-12 13:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 933 bytes --]
Hello Jeremy.
In /etc/resolv.conf content is nameserver 192.168.0.2 where this is a
default gateway.
In dhcp resolv name for ip, this problems is stoped in HTTP request sent,
awaiting response... 200 OK
Regards
Alexandre Riveira
2011/8/12 Jeremy McSpadden <deface@uberpenguin.net>
> what is in /etc/resolv.conf ? Your saying you can route by IP, but not DNS
> ?
>
>
> On Aug 11, 2011, at 2:55 PM, Alexandre Riveira wrote:
>
> > Good afternoon am a New User gentoo and I appreciate everyone's help.
> >
> > My problem is set up and dhcpcd with rc-update add dhcpcd default when I
> try to wget is always HTTP request sent, Awaiting Response ... 200 and not
> out of it OK if I put fixed IP it works normally. Interestingly, with dhcpcd
> ping any external ip works normally. The IP number, gateway and dns are the
> same used with fixed IP and dhcpcd.
> >
> >
> > Tanks for all
> >
> >
> > Alexandre Riveira
> > brazil
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 1350 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: new user and dhcpcd problem
2011-08-12 12:48 ` Alexandre Riveira
@ 2011-08-12 13:27 ` Alexandre Riveira
2011-08-12 14:21 ` Mick
0 siblings, 1 reply; 14+ messages in thread
From: Alexandre Riveira @ 2011-08-12 13:27 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1754 bytes --]
I have found that dhcpcd works with older hardware, I got livecd and tested on
multiple machines, the machines that have older hardware works on machines
with no new hardware.
My test was simply load the livecd and make dhcpcd eth0
Tanks
Alexandre Riveira
2011/8/12 Alexandre Riveira <alexandre@objectdata.com.br>
>
> Hello Michael, tanks for your help !
> I discov
>
>
>
> 2011/8/11 Mick <michaelkintzios@gmail.com>
>
>> Hi Alexandre and welcome to Gentoo! :)
>>
>> On Thursday 11 Aug 2011 21:32:58 Alexandre Riveira wrote:
>> > I discovery values from routes:
>> >
>> > dhcpcd
>> >
>> > Kernel IP routing table
>> > Destination Gateway Genmask Flags Metric Ref Use
>> > Iface
>> > 0.0.0.0 192.168.0.2 0.0.0.0 UG 0 0 0
>> > eth0 127.0.0.0 - 255.0.0.0 ! 0 -
>>
>> The "!" shows that the local route is not accepted on eth0 and indeed it
>> should not be bound to the eth0 interface, but to lo.
>>
>> When you run ifconfig what does it show? When you run 'ip route show'
>> what do
>> you get?
>>
>> How have you configured your /etc/conf.d/net?
>>
>> > 0 - 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0
>> > 0 eth0
>> >
>> >
>> > Static Ip
>> >
>> > Destination Gateway Genmask Flags Metric Ref Use
>> > Iface
>> > 0.0.0.0 192.168.0.2 0.0.0.0 UG 202 0 0
>> > eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0
>> > 0 lo 192.168.0.0 0.0.0.0 255.255.255.0 U 202 0
>> > 0 eth0
>>
>> The local and eth0 interfaces seem to be reversed. How have you defined
>> how
>> your local and eth0 interfaces are routed?
>>
>> --
>> Regards,
>> Mick
>>
>
>
[-- Attachment #2: Type: text/html, Size: 3355 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: new user and dhcpcd problem
2011-08-12 12:52 ` Alexandre Riveira
@ 2011-08-12 13:35 ` Mick
2011-08-12 14:10 ` Alexandre Riveira
0 siblings, 1 reply; 14+ messages in thread
From: Mick @ 2011-08-12 13:35 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2201 bytes --]
On Friday 12 Aug 2011 13:52:35 Alexandre Riveira wrote:
> > 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
Look, this is wrong ...
Your Broadcast should be: 192.168.0.255
Otherwise you're broadcasting packets beyond your LAN.
> 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)
This looks OK, except that the local receive and transmit counters show zero
...
>
> 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
This is OK
> > How have you configured your /etc/conf.d/net?
>
> config_eth0=( "dhcp" )
Aha! This is no longer correct if you are running the latest stable
baselayout2 and openrc. Instead it should be:
config_eth0="dhcp"
no brackets!
Read more here: http://www.gentoo.org/doc/en/openrc-migration.xml
> > 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
This is correct.
Change the dhcp entry in your /etc/conf.d/net and run:
/etc/init.d/net.eth0 restart
HTH.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] new user and dhcpcd problem
2011-08-12 13:21 ` Alexandre Riveira
@ 2011-08-12 13:43 ` Alexandre Riveira
0 siblings, 0 replies; 14+ messages in thread
From: Alexandre Riveira @ 2011-08-12 13:43 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1042 bytes --]
2011/8/12 Alexandre Riveira <alexandre@objectdata.com.br>
> Hello Jeremy.
> In /etc/resolv.conf content is nameserver 192.168.0.2 where this is a
> default gateway.
>
> In dhcp resolv name for ip, this problems is stoped in HTTP request sent,
> awaiting response... 200 OK
>
> Regards
>
> Alexandre Riveira
>
>
> 2011/8/12 Jeremy McSpadden <deface@uberpenguin.net>
>
>> what is in /etc/resolv.conf ? Your saying you can route by IP, but not DNS
>> ?
>>
>>
>> On Aug 11, 2011, at 2:55 PM, Alexandre Riveira wrote:
>>
>> > Good afternoon am a New User gentoo and I appreciate everyone's help.
>> >
>> > My problem is set up and dhcpcd with rc-update add dhcpcd default when I
>> try to wget is always HTTP request sent, Awaiting Response ... 200 and not
>> out of it OK if I put fixed IP it works normally. Interestingly, with dhcpcd
>> ping any external ip works normally. The IP number, gateway and dns are the
>> same used with fixed IP and dhcpcd.
>> >
>> >
>> > Tanks for all
>> >
>> >
>> > Alexandre Riveira
>> > brazil
>>
>>
>>
>>
>>
>
[-- Attachment #2: Type: text/html, Size: 1775 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: new user and dhcpcd problem
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
0 siblings, 2 replies; 14+ messages in thread
From: Alexandre Riveira @ 2011-08-12 14:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 4039 bytes --]
Tanks Mick !
I ajusted /etc/conf.d/net
resuts:
localhost home # 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:166 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:20671 (20.1 KiB) TX bytes:12593 (12.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 home # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.0.2 0.0.0.0 UG 2 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 eth0
localhost home # if route show
> ^C
localhost home # 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
But still not working :(
I change for
emerge networkmanager
rc-update del net.eth0 default
rc-update add NetworkManager default
Work fine !!!!!! :)
Do not understand why
Regards
Alexandre Riveira
Tanks
Alexandre Riveira
2011/8/12 Mick <michaelkintzios@gmail.com>
> On Friday 12 Aug 2011 13:52:35 Alexandre Riveira wrote:
> > > 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
>
> Look, this is wrong ...
>
> Your Broadcast should be: 192.168.0.255
>
> Otherwise you're broadcasting packets beyond your LAN.
>
>
> > 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)
>
> This looks OK, except that the local receive and transmit counters show
> zero
> ...
>
>
> >
> > 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
>
> This is OK
>
>
> > > How have you configured your /etc/conf.d/net?
> >
> > config_eth0=( "dhcp" )
>
> Aha! This is no longer correct if you are running the latest stable
> baselayout2 and openrc. Instead it should be:
>
> config_eth0="dhcp"
>
> no brackets!
>
> Read more here: http://www.gentoo.org/doc/en/openrc-migration.xml
>
>
> > > 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
>
> This is correct.
>
> Change the dhcp entry in your /etc/conf.d/net and run:
>
> /etc/init.d/net.eth0 restart
>
>
> HTH.
> --
> Regards,
> Mick
>
[-- Attachment #2: Type: text/html, Size: 5641 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: new user and dhcpcd problem
2011-08-12 14:10 ` Alexandre Riveira
@ 2011-08-12 14:15 ` Bill Longman
2011-08-12 14:29 ` Mick
1 sibling, 0 replies; 14+ messages in thread
From: Bill Longman @ 2011-08-12 14:15 UTC (permalink / raw
To: gentoo-user
On 08/12/2011 07:10 AM, Alexandre Riveira wrote:
> Tanks Mick !
>
> I ajusted /etc/conf.d/net
>
> resuts:
>
> localhost home # 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
Your broadcast is still incorrect. it should be 192.168.0.255.
If you are getting IP from DHCP, then your DHCP server is wrong.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: new user and dhcpcd problem
2011-08-12 13:27 ` Alexandre Riveira
@ 2011-08-12 14:21 ` Mick
0 siblings, 0 replies; 14+ messages in thread
From: Mick @ 2011-08-12 14:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 569 bytes --]
On Friday 12 Aug 2011 14:27:51 Alexandre Riveira wrote:
> I have found that dhcpcd works with older hardware, I got livecd and tested
> on multiple machines, the machines that have older hardware works on
> machines with no new hardware.
> My test was simply load the livecd and make dhcpcd eth0
What you describe now is not a dhcpcd problem, but probably a network card
driver problem.
what do you get if you run:
dhcpcd -k eth0
then run:
dhcpcd -d eth0 up
PS. But first fix your /etc/cond.d/net syntax as I suggested.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: new user and dhcpcd problem
2011-08-12 14:10 ` Alexandre Riveira
2011-08-12 14:15 ` Bill Longman
@ 2011-08-12 14:29 ` Mick
1 sibling, 0 replies; 14+ messages in thread
From: Mick @ 2011-08-12 14:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2497 bytes --]
On Friday 12 Aug 2011 15:10:24 Alexandre Riveira wrote:
> Tanks Mick !
>
> I ajusted /etc/conf.d/net
>
> resuts:
>
> localhost home # ifconfig
> eth0 Link encap:Ethernet HWaddr 00:25:22:b2:64:44
> inet addr:192.168.0.159 Bcast:255.255.255.255
This is wrong as I have explained previously. Are you specifying this
manually? What is the complete content of your /etc/conf.d/net?
> Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1
> RX packets:166 errors:0 dropped:0 overruns:0 frame:0
> TX packets:96 errors:0 dropped:0 overruns:0 carrier:1
> collisions:0 txqueuelen:1000
> RX bytes:20671 (20.1 KiB) TX bytes:12593 (12.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)
The lo RX & TX counters are still zero - this shows that your local interface
is not routed correctly.
> localhost home # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 0.0.0.0 192.168.0.2 0.0.0.0 UG 2 0 0
> eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0
> 0 lo 192.168.0.0 0.0.0.0 255.255.255.0 U 2 0
Yep! The local interface is still incorrect. Somehow you have configured it
as a default gateway ... in your LAN subnet ... o_O
> localhost home # 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
The ip route show results are not consistent with your route -n result
preceding them.
> But still not working :(
Of course it won't. You have not configured your network correctly.
> I change for
>
> emerge networkmanager
> rc-update del net.eth0 default
> rc-update add NetworkManager default
>
> Work fine !!!!!! :)
> Do not understand why
Because you must have entries in your /etc/conf.d/net, or added routes
manually on the CLI which are incorrect.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2011-08-12 14:30 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox