Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpcd eth0 -kernel recompile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Emerged
n00b
n00b


Joined: 14 Oct 2003
Posts: 34
Location: Laval/Montreal

PostPosted: Sun Nov 16, 2003 11:21 pm    Post subject: dhcpcd eth0 -kernel recompile Reply with quote

I recently recompiled my kernel to setup my bootsplash. Now I am a newbie, so i just followed the instructions as is and everthing kinda worked out right. However, once I rebooted, I was not able to logon to the internet untill i did dhcpcd eth0. So I think that when i compiled my kernel i should have configured something (like a module) for my eth0. Now everthing else works fine (well i did have to setup gdm again) and i never configured any sound module so I can't tell if that got lost.
What do i do so I don't have to dhcpcd everytime i reboot (plz don;t say, well just don't reboot)

Thanks
_________________
I am a SIGNATURE VIRUS, help me spread
Back to top
View user's profile Send private message
eelcogelton
n00b
n00b


Joined: 27 Aug 2002
Posts: 24
Location: Holland

PostPosted: Mon Nov 17, 2003 9:49 am    Post subject: Reply with quote

can't think of anything that could have to do with the kernel recompilation ... what does
Code:
rc-update add net.eth0 default
tell you ? Was this rc-script already in runlevel default ?
Back to top
View user's profile Send private message
Emerged
n00b
n00b


Joined: 14 Oct 2003
Posts: 34
Location: Laval/Montreal

PostPosted: Wed Nov 19, 2003 3:30 am    Post subject: Reply with quote

I just tried that, but it said
"net.eth0 already installed in runlevel default; skipping"

:roll:
_________________
I am a SIGNATURE VIRUS, help me spread
Back to top
View user's profile Send private message
StinkingMonkey
Apprentice
Apprentice


Joined: 24 May 2003
Posts: 183
Location: UK

PostPosted: Wed Nov 19, 2003 6:40 am    Post subject: Reply with quote

i', guessing you emerged dhcpcd lately, it has a bug in it, theres posts about it in network forums, i think it may be fixed as im emerging a newer dhcpcd now, so hopefully problem should be fixed, if not check the forums out there.
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Wed Nov 19, 2003 9:30 am    Post subject: Reply with quote

sounds like:
https://bugs.gentoo.org/show_bug.cgi?id=33272
HTH
Back to top
View user's profile Send private message
Emerged
n00b
n00b


Joined: 14 Oct 2003
Posts: 34
Location: Laval/Montreal

PostPosted: Wed Nov 19, 2003 6:19 pm    Post subject: Reply with quote

Thankx guys, I will give it a try as soon as I get home (at school now :roll: )
_________________
I am a SIGNATURE VIRUS, help me spread
Back to top
View user's profile Send private message
Emerged
n00b
n00b


Joined: 14 Oct 2003
Posts: 34
Location: Laval/Montreal

PostPosted: Fri Nov 21, 2003 6:30 pm    Post subject: Reply with quote

well I re-emerged dhcpcd and it still didn't work!

irf2003, i will try the net.eth0 patch as soon as I have a chance (studying for mid-trems, plus mad assignments due :? )

Thankx for you help guys, keep it coming :mrgreen:
_________________
I am a SIGNATURE VIRUS, help me spread
Back to top
View user's profile Send private message
Linuxser
n00b
n00b


Joined: 13 Apr 2003
Posts: 31
Location: La Plata/Argentina

PostPosted: Fri Nov 21, 2003 7:37 pm    Post subject: Reply with quote

Emerged wrote:
well I re-emerged dhcpcd and it still didn't work!

irf2003, i will try the net.eth0 patch as soon as I have a chance (studying for mid-trems, plus mad assignments due :? )

Thankx for you help guys, keep it coming :mrgreen:


Your /etc/conf.d/net is like that?

# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18
# 19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
#iface_eth0="192.168.168.42 broadcast 192.168.0.255 netmask
#255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
dhcpcd_eth0="-BHD"

# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"

# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"


# For setting the default gateway
#
#gateway="eth0/192.168.168.220"
_________________
"veritas liberabit vos"
Back to top
View user's profile Send private message
Emerged
n00b
n00b


Joined: 14 Oct 2003
Posts: 34
Location: Laval/Montreal

PostPosted: Fri Nov 21, 2003 7:58 pm    Post subject: Reply with quote

It worked!!! Gracias Linuxser!! :D

what does dhcpcd_eth0="-BHD" do??
_________________
I am a SIGNATURE VIRUS, help me spread
Back to top
View user's profile Send private message
Linuxser
n00b
n00b


Joined: 13 Apr 2003
Posts: 31
Location: La Plata/Argentina

PostPosted: Fri Nov 21, 2003 8:26 pm    Post subject: Reply with quote

Emerged wrote:
It worked!!! Gracias Linuxser!! :D

what does dhcpcd_eth0="-BHD" do??



-B Requests broadcast response from DHCP server.
-D Forces dhcpcd to set domainname of the host to the domainname option supplied by DHCP server.
-H Forces dhcpcd to set hostname of the host to the hostname option supplied by DHCP server. By default dhcpcd will NOT set host-name of the host to the hostname option received from DHCP server.

You welcome!!!
_________________
"veritas liberabit vos"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum