James Tappin wrote:
On Tue, 26 Nov 2002 12:01:08 +0000
Paulo Lopes <[EMAIL PROTECTED]> wrote:
PL> dhcpcd does not show up on my cd installation woody 3.0r0 updated
PL> with security.debian.org
PL> patches. (i don't use testing/unstable packages because last time
PL> i've done it, my the upgrade
PL> to lilo made my system not to boot again. :-)
Doing "dpkg -l dhcp\*" will give you a full list of available dhcp
packages, you need either dhcp-client or dhcp3-client (and -common
apt-get will add that for you).
James
Well i've messing arround with this configuration, and really can't
figure out what's wrong...
this is what i've configured and the result:
shell:# dpkg -l dhcp\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
un dhcp <none> (no description available)
un dhcp-beta <none> (no description available)
rc dhcp-client 2.0pl5-11 DHCP Client
un dhcp-client-be <none> (no description available)
un dhcp-dns <none> (no description available)
un dhcp-relay <none> (no description available)
un dhcp-relay-bet <none> (no description available)
ii dhcp3-client 3.0+3.0.1rc9-2 DHCP Client
ii dhcp3-common 3.0+3.0.1rc9-2 Common files used by all the dhcp3*
packages
un dhcp3-dev <none> (no description available)
un dhcp3-relay <none> (no description available)
un dhcp3-server <none> (no description available)
un dhcpcd <none> (no description available)
un dhcpd <none> (no description available)
un dhcpdump <none> (no description available)
un dhcping <none> (no description available)
shell:# ifconfig
irda0 Link encap:IrLAP HWaddr 65:e5:ce:b8
UP RUNNING NOARP MTU:2048 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:8
RX bytes:0 (0.0 b) TX bytes:171587 (167.5 KiB)
shell:# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian
installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet dhcp
shell:# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
shell:# cat /etc/hosts.allow
# /etc/hosts.allow: list of hosts that are allowed to access the system.
# See the manual pages hosts_access(5), hosts_options(5)
# and /usr/doc/netbase/portmapper.txt.gz
#
shell:# cat /etc/hosts.deny
# /etc/hosts.deny: list of hosts that are _not_ allowed to access the
system.
# See the manual pages hosts_access(5), hosts_options(5)
# and /usr/doc/netbase/portmapper.txt.gz
#
shell:# /etc/init.d/networking start
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces: Internet Software Consortium DHCP Client
V3.0.1rc9
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
irda0: unknown hardware address type 783
irda0: unknown hardware address type 783
Listening on LPF/eth0/00:90:f5:07:99:8d
Sending on LPF/eth0/00:90:f5:07:99:8d
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
----------------------
what have i done wrong? It works under windows :-P