View previous topic :: View next topic |
Author |
Message |
White Star n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jan 2004 Posts: 37
|
Posted: Wed Apr 28, 2004 7:00 am Post subject: ifconfig and DHCP. |
|
|
Okay. Long story short. I'd like to bring up this network card and have it use DHCP. The Gentoo scripts don't work, so I'd like to know how to go about using ifconfig or whatever else to bring it up and grab a DHCP service. Anyone know how to do that? _________________ I am a born hunter and you are my prey. Can the deer defeat the wolf? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TheCoop Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/50962178541c2cd784cf26.jpg)
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Wed Apr 28, 2004 7:07 am Post subject: |
|
|
why wont the gentoo scripts work? any error msgs?
to start dhcp manually, run 'dhcpcd eth0' _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
White Star n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jan 2004 Posts: 37
|
Posted: Wed Apr 28, 2004 7:33 am Post subject: |
|
|
Well, here's where the Gentoo scripts stand. In the Gentoo Handbook, it tells me to make a symlink to net.eth0 called net.eth1. Works for me. Run the script,
#/etc/init.d/net.eth1 start
* WARNING: "net.eth0" has already been started
Kay fine. Remove the link. So I thought, I'll just make a copy of net.eth0 and call it net.eth1. I changed both instances in the file where it said eth0 to eth1, and ran it.
* Could not get dependancy info for "net.eth1"!
* Could not get dependancy info for "net.eth1"!
* Bringing up eth1
* Failed to bring up eth1 [!!]
So that was the end of that one.
Also that dhcpcd eth1, that worked just fine. Thank you very very much for that. _________________ I am a born hunter and you are my prey. Can the deer defeat the wolf? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ynef n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1297260049408f8408a1a01.gif)
Joined: 14 Jan 2004 Posts: 69 Location: Lund, Sweden
|
Posted: Wed Apr 28, 2004 8:05 am Post subject: |
|
|
White Star wrote: | Well, here's where the Gentoo scripts stand. In the Gentoo Handbook, it tells me to make a symlink to net.eth0 called net.eth1. Works for me. Run the script,
#/etc/init.d/net.eth1 start
* WARNING: "net.eth0" has already been started
Kay fine. Remove the link. So I thought, I'll just make a copy of net.eth0 and call it net.eth1. I changed both instances in the file where it said eth0 to eth1, and ran it.
* Could not get dependancy info for "net.eth1"!
* Could not get dependancy info for "net.eth1"!
* Bringing up eth1
* Failed to bring up eth1 [!!]
So that was the end of that one.
Also that dhcpcd eth1, that worked just fine. Thank you very very much for that. |
Is your configuration for net.eth1 correct in /etc/conf.d/net ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
White Star n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jan 2004 Posts: 37
|
Posted: Wed Apr 28, 2004 8:25 am Post subject: |
|
|
First things first..
To UberLord:
I don't think I quite follow as to the differences between soft and hard link, however it was the link that I was told to do in the Gentoo Handbook, which if I remember correctly was ln -s. I do remember I checked it the other day when I was goin all out, trying to make sure I was doing things correctly.
To ynef:
I tried a couple of different configurations in /etc/conf.d/net. First I tried the manual setting:
iface_eth1="10.0.0.13 broadcast 10.0.0.255 netmask 255.255.255.0"
Then the dhcp setting:
iface_eth1="dhcp"
Neither setting liked me. Makes me feel abandoned and unloved. _________________ I am a born hunter and you are my prey. Can the deer defeat the wolf? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
White Star n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jan 2004 Posts: 37
|
Posted: Wed Apr 28, 2004 8:56 am Post subject: |
|
|
Neet. Does that tell me if it changed anything or not, like in a log file or something? _________________ I am a born hunter and you are my prey. Can the deer defeat the wolf? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Davitelj n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Jan 2004 Posts: 13 Location: Beograd
|
Posted: Wed Apr 28, 2004 4:38 pm Post subject: |
|
|
Is the eth1 interface even reckonized? check it in dmesg, _________________ Nemanja Jakovljevic
www.jakovljevic.net
+381(64)1782230 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|