Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Cant solve my dhcp problem whatever I do.

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
30 posts
  • Previous
  • 1
  • 2
Author
Message
DaveArb
Guru
Guru
Posts: 510
Joined: Thu Apr 29, 2004 2:46 pm
Location: Texas, USA

  • Quote

Post by DaveArb » Thu Sep 23, 2004 6:22 pm

fishtail wrote:Shit.

Code: Select all

# rc-update add net.eth1 default
* /sbin/rc-update: /etc/init.d/net.eth1 not found; aborting

Code: Select all

# ln /etc/init.d/net.eth0 /etc/init.d/net.eth1
# rc-update add net.eth1 default
Dave
Top
cooljoe2003
n00b
n00b
User avatar
Posts: 46
Joined: Fri Apr 02, 2004 6:13 pm
Location: Jamestown, NC
Contact:
Contact cooljoe2003
Website

  • Quote

Post by cooljoe2003 » Thu Sep 23, 2004 6:58 pm

let us know how it goes
Top
Rodent
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Sat Sep 06, 2003 8:46 am
Location: Noblesville, Indiana

  • Quote

Post by Rodent » Thu Sep 23, 2004 8:44 pm

I had this problem too.

Excutive Summary: I think it is caused by the kernel firewire ethernet driver being assigned eth0, and thus your nic gets eth1. I think two ways to fix this are disable firewire (IE1394) network stuff in the kernel or change boot scripts to use eth1. Heres the quick and dirty on the boot script, well its not so dirty.

Stop eth0 script from loading

Code: Select all

# rc-update del net.eth0
Copy script for new name

Code: Select all

# cp /etc/init.d/net.eth0 /etc/init.d/net.eth1
Edit/add the config
# nano /etc/conf.d/net
Change iface_eth0="dhcp" to iface_eth1="dhcp"
Add new script to boot

Code: Select all

# rc-update add net.eth1 default
Well at least it worked for me.
Top
gnuageux
Veteran
Veteran
User avatar
Posts: 1201
Joined: Sat Apr 17, 2004 2:05 pm

  • Quote

Post by gnuageux » Fri Sep 24, 2004 6:03 am

What cooljoe2003 said is exactly what I went through. Thats the solution that I used in the end as well.
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Top
DaveArb
Guru
Guru
Posts: 510
Joined: Thu Apr 29, 2004 2:46 pm
Location: Texas, USA

  • Quote

Post by DaveArb » Fri Sep 24, 2004 1:34 pm

Rodent wrote:<snip>Heres the quick and dirty on the boot script, well its not so dirty.

Stop eth0 script from loading

Code: Select all

# rc-update del net.eth0
Copy script for new name

Code: Select all

# cp /etc/init.d/net.eth0 /etc/init.d/net.eth1
<snip>
Rodent, it's better to link net.eth1 to net.eth0 than to copy it. If it is linked, and net.eth0 is updated for any reason later on, net.eth1 will automatically be updated also. With copy it will not update, and could be cause of a hard to find problem.

Dave
Top
Post Reply

30 posts
  • Previous
  • 1
  • 2

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic