On 5/17/07, Daniel Rozeboom <[EMAIL PROTECTED]> wrote:
>
>     I do have a dhcp configuration file as described.  Here's the output of
> running ifup with the detailed info:

<snip>

> FILES='/etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd
> /etc/sysconfig/network-devices/ifconfig.eth0/ipv4~'

OK, so it looks like it's processing things normally. I.e. it found
the dhcpcd conf file.

<snip>

> + ip link show eth0
> ++ ip link show eth0
> + link_status='4: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen
> 1000
>     link/ether 00:16:d4:10:b3:ca brd ff:ff:ff:ff:ff:ff'
> + '[' -n '4: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
>     link/ether 00:16:d4:10:b3:ca brd ff:ff:ff:ff:ff:ff' ']'
> + echo '4: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
>     link/ether 00:16:d4:10:b3:ca brd ff:ff:ff:ff:ff:ff'
> + grep -q UP
> + ip link set eth0 up

And it brings the interface up.

> IFCONFIG=/etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd
> + /etc/sysconfig/network-devices/services/dhcpcd eth0 up
> Starting dhcpcd on the eth0 interface...
> [ FAIL ]

So, here we need a little more info. Since a new shell script is
executed, the tracing (set -x) stops. All we see is that script
failed. Let's try to do everything manually and see what happens.

# ip link set eth0 up
# ip link show eth0 | grep UP
# ip link show eth0 | grep UP
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000

Is it UP for you? If not, then that's the issue. If it is up, let's
try to run the service script with tracing. I don't have a setup for
dhcpcd, so I don't have example output to show. Anyway,

# /etc/sysconfig/network-devices/services/dhcpcd eth0 up

Did it fail? Look at the end of /var/log/sys.log to see any messages.
Try to run dhcpcd manually.

# /sbin/dhcpcd eth0 -d

The -d will give a lot of output. Again, this output should show in syslog.

Good luck.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to