View previous topic :: View next topic |
Author |
Message |
Emerged n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_professor_x.gif)
Joined: 14 Oct 2003 Posts: 34 Location: Laval/Montreal
|
Posted: Sun Nov 16, 2003 11:21 pm Post subject: dhcpcd eth0 -kernel recompile |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
eelcogelton n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/15854663503fa7a6e749376.jpg)
Joined: 27 Aug 2002 Posts: 24 Location: Holland
|
Posted: Mon Nov 17, 2003 9:49 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Emerged n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_professor_x.gif)
Joined: 14 Oct 2003 Posts: 34 Location: Laval/Montreal
|
Posted: Wed Nov 19, 2003 3:30 am Post subject: |
|
|
I just tried that, but it said
"net.eth0 already installed in runlevel default; skipping"
![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ I am a SIGNATURE VIRUS, help me spread |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
StinkingMonkey Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_Dr_Evil.gif)
Joined: 24 May 2003 Posts: 183 Location: UK
|
Posted: Wed Nov 19, 2003 6:40 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
irf2003 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 10 Sep 2003 Posts: 1078
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Emerged n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_professor_x.gif)
Joined: 14 Oct 2003 Posts: 34 Location: Laval/Montreal
|
Posted: Wed Nov 19, 2003 6:19 pm Post subject: |
|
|
Thankx guys, I will give it a try as soon as I get home (at school now ) _________________ I am a SIGNATURE VIRUS, help me spread |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Emerged n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_professor_x.gif)
Joined: 14 Oct 2003 Posts: 34 Location: Laval/Montreal
|
Posted: Fri Nov 21, 2003 6:30 pm Post subject: |
|
|
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 ![Mr. Green :mrgreen:](images/smiles/icon_mrgreen.gif) _________________ I am a SIGNATURE VIRUS, help me spread |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Linuxser n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/21458458713fbe810b9e71f.gif)
Joined: 13 Apr 2003 Posts: 31 Location: La Plata/Argentina
|
Posted: Fri Nov 21, 2003 7:37 pm Post subject: |
|
|
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 ![Mr. Green :mrgreen:](images/smiles/icon_mrgreen.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
Emerged n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Marvel/movie_x-men_professor_x.gif)
Joined: 14 Oct 2003 Posts: 34 Location: Laval/Montreal
|
Posted: Fri Nov 21, 2003 7:58 pm Post subject: |
|
|
It worked!!! Gracias Linuxser!!
what does dhcpcd_eth0="-BHD" do?? _________________ I am a SIGNATURE VIRUS, help me spread |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Linuxser n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/21458458713fbe810b9e71f.gif)
Joined: 13 Apr 2003 Posts: 31 Location: La Plata/Argentina
|
Posted: Fri Nov 21, 2003 8:26 pm Post subject: |
|
|
Emerged wrote: | It worked!!! Gracias Linuxser!!
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 |
|
![](templates/gentoo/images/spacer.gif) |
|