Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <000b01c3ebf2$a6590250$0100a8c0@grotedoos>
Date: Thu, 5 Feb 2004 15:16:29 +0100
From: "Berend-Jan Wever" <SkyLined@...p.tudelft.nl>
To: <owl-users@...ts.openwall.com>
Subject: Re: dhcp client: working!

I fixed it:

problem 1 solution: "/etc/dhclient-script" script is not needed, I removed
it.
"/etc/sysconfig/network" script only needs "NETWORKING=yes".

problem 2 seems to be solved by my earlier script.

problem 3 seems to be solved by my earlier script.

problem 4 solution is a symlink in /etc/sysconfig/networking-scripts: "ln -s
ifcfg-eth0 eth0". Now /sbin/dhclient-script works, as does ifconfig.

It's up and running! Now for my next task: installing PPPOE so I can get my
gateway in contact with the internet...

Cheers,

SkyLined

----- Original Message ----- 
From: "Berend-Jan Wever" <SkyLined@...p.tudelft.nl>
To: <owl-users@...ts.openwall.com>
Sent: Thursday, February 05, 2004 1:57
Subject: Re: dhcp client


> Ok, I've build my dhclient. But I'm just running into more and more
> problems, I hope you can help me out, but this might be getting more of a
> dhcp problem then an owl problem now...
>
> problem 1: dhclient seems to require a "/etc/dhclient-script", which was
> missing (shouldn't a default version have been installed with the rpm ?).
> My solution: I found the attached file on the internet and used that.
> problem 2: dhclient seems to require a "/etc/dhclient.conf" file, which
was
> also missing.
> My solution: I've constructed something from man-pages and googling for
> information, also attached.
>
> The system I'm building is going to have to ethernet cards installed:
> - eth0: DHCP
> - eth1: 192.168.0.16 netmask 255.255.255.0
> So I edited /etc/sysconfig/network-scripts/ifcfg-eth0 and -eth1.
> -- /etc/sysconfig/network-scripts/ifcfg-eth0:
> DEVICE=eth0
> BOOTPROTO=dhcp
> ONBOOT=yes
> TYPE=Ethernet
> -- EOF
> problem 3: when "ifup" gets run to get eth0 up, it tries to use
"/sbin/pump"
> instead of "/sbin/dhclient" for DHCP. (This must be an old script or
> something !?)
> My solution: I edited ifup, added a small part for "BOOTPROTO=dhclient"
> which would do
> -- /etc/sysconfig/network-scripts/ifup:
>   -- *SNIP* -- 
>     echo -n "Requesting DHCP information for $DEVICE..."
>     if ifconfig $DEVICE up && /sbin/dhclient -q $DEVICE ; then
>         echo " done."
>     else
>         echo " failed."
>         ifconfig $DEVICE down
>         exit 1
>     fi
>   -- *SNIP* --
> problem 4: dhclient won't work. It gives "/sbin/dhclient-script:
> configuration for eth0 not found." error messages and it just seems to
keep
> on DHCPDISCOVERing forever without accepting a DHCPOFFER.
>
> -- *SNIP* --
> root@...ydoos:~# dhclient eth0
> Internet Software Consortium DHCP Client V3.0pl2
> Copyright 1995-2001 Internet Software Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/products/DHCP
>
> /sbin/dhclient-script: configuration for eth0 not found.
> Listening on LPF/eth0/52:54:05:f3:d6:98
> Sending on   LPF/eth0/52:54:05:f3:d6:98
> Sending on   Socket/fallback
> DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
> DHCPOFFER from 172.20.72.3
> DHCPREQUEST on eth0 to 255.255.255.255 port 67
> DHCPACK from 172.20.72.3
> /sbin/dhclient-script: configuration for eth0 not found.
> DHCPDECLINE on eth0 to 255.255.255.255 port 67
> DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
> DHCPOFFER from 172.20.72.3
> DHCPREQUEST on eth0 to 255.255.255.255 port 67
> DHCPACK from 172.20.72.3
> -- *SNIP* --
>
> Anyway, I hope somebody has the time and knowledge to help me out with all
> this, thanks in advance!
>
> Cheers,
>
> SkyLined
>


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.