View previous topic :: View next topic |
Author |
Message |
Edico n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Sep 2007 Posts: 14
|
Posted: Thu Oct 02, 2008 10:23 am Post subject: net.eth0 doesn't see the dhcpcd client |
|
|
I removed dhcpcd and reinstalled again. (I had problem with detecting the DNS. I removed even what was stored int /etc about dhcpcd and I removed what was storred in /var/lib/ about dhcpcd)
I reinstalled again dhcpcd and now I have that problem when I boot my gentoo:
Code: | No DHCP client installed
ERROR: cannot start netmount as net.eth0 could not start |
If I try Code: | #/etc/init.d/net.eth0 start |
I receive that message Code: | # /etc/init.d/net.eth0 restart
* Starting eth0
* Loading networking modules for eth0
* modules: apipa arping ccwgroup iptunnel macchanger macnet rename ifconfig ip6to4 pppd system
* ifconfig provides interface
* pppd provides ppp
* Configuring eth0 for MAC address ... ... [ ok ]
* Bringing up eth0
* dhcp
* No DHCP client installed [ !! ]
|
If I try manualy to start dhcpcd
it works.
But after reboot I have the same above error.
Last edited by Edico on Sun Oct 05, 2008 5:09 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Oct 02, 2008 11:18 am Post subject: |
|
|
Hi, can you post this :
Code: |
# emerge --info
# rc-update show
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Edico n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Sep 2007 Posts: 14
|
Posted: Thu Oct 02, 2008 3:16 pm Post subject: |
|
|
Yes:
Code: | # emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 AMD Sempron(TM) 2800+
Timestamp of tree: Thu, 02 Oct 2008 14:46:01 +0000
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r2
sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org/ ftp://ftp.roedu.net/pub/mirrors/gentoo.org/ ftp://ftp.romnet.org/gentoo/ http://ftp.romnet.org/gentoo/ http://mirrors.evolva.ro/gentoo/ ftp://mirrors.evolva.ro/gentoo/ http://mirrors.xservers.ro/gentoo/ "
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl alsa avahi berkdb bzip2 cdr cli cracklib crypt css cups dbus dri dvd dvdr ffmpeg firefox flac fortran gdbm gnome gpm gtk hal iconv ipv6 isdnlog jpeg lame mad matroska matrox midi mime mng modplug mp3 mpeg mplayer mudflap musepack ncurses nls nptl nptlonly nsplugin ogg openmp pam pcre pdf perl png pppd python raw readline recode reflection sdl session spl ssl svg svga sysfs tcpd tetex theora threads tiff tk truetype unicode usb v4l v4l2 vcd vorbis wavpack win32codecs wmf x86 xorg xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
# rc-update show
alsasound | boot
avahi-daemon |
avahi-dnsconfd | default
bittorrent-tracker |
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
consolekit |
crypto-loop |
cupsd |
dbus | default
device-mapper |
dmcrypt |
dmeventd |
gkrellmd |
gpm |
hald | default
hostname | boot
keymaps | boot
local | default nonetwork
localmount | boot
modules | boot
net.eth0 | default
net.lo | boot
netmount | default
nscd |
numlock |
pydoc-2.4 |
pydoc-2.5 |
rmnologin | boot
rsyncd |
sshd |
syslog-ng | default
twistd |
udev-postmount |
urandom | boot
vixie-cron | default
xdm | default
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Edico n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Sep 2007 Posts: 14
|
Posted: Sun Oct 05, 2008 2:07 pm Post subject: |
|
|
Now I can't make it to work neither with dhcpcd-3.2.3
I have the same problem:
Code: | No DHCP client installed
ERROR: cannot start netmount as net.eth0 could not start
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon Oct 06, 2008 11:25 am Post subject: |
|
|
Can you post your /etc/conf.d/net ?
I have the latest dhcpcd program and I don't have this problem right now. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Edico n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Sep 2007 Posts: 14
|
Posted: Tue Oct 07, 2008 10:34 am Post subject: |
|
|
My /etc/conf.d/net
Code: | # This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis" |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Oct 07, 2008 2:14 pm Post subject: |
|
|
Can you comment the file /etc/conf.d/net and retry.
I know for a fact that you are not alone on this one. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Edico n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Sep 2007 Posts: 14
|
Posted: Tue Oct 07, 2008 4:26 pm Post subject: |
|
|
I commented all lines:
Code: | # This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
# config_eth0=( "dhcp" )
# dhcp_eth0="nodns nontp nonis"
|
The same problem:
Code: | * Starting eth0
* Configuration not set for eth0 - assuming DHCP
* No DHCP client installed [ !! ]
* ERROR: cannot start netmount as net.eth0 could not start
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
d2_racing Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1190120345458c61e31ec3c.jpg)
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Oct 08, 2008 11:18 am Post subject: |
|
|
Damn, I have no idea.
Can you post your /etc/resolv.conf ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Edico n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Sep 2007 Posts: 14
|
Posted: Wed Oct 08, 2008 12:04 pm Post subject: |
|
|
/etc/resolv.conf
Code: | # Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
search city.provider.ro
nameserver IP
nameserver IP
# /etc/resolv.conf.tail can replace this line |
(city = my city, provider = my provider, IP = IP addresses) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|