Forums

Skip to content

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

DHCP finds cable modem with 2.4 but not with 2.6

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
znmeb
n00b
n00b
Posts: 25
Joined: Mon Dec 29, 2003 2:36 am
Location: Beaverton, Oregon, USA
Contact:
Contact znmeb
Website

DHCP finds cable modem with 2.4 but not with 2.6

  • Quote

Post by znmeb » Sat Jan 01, 2005 10:57 pm

I have a system running Gentoo 2004.3 and synced daily. The current kernel is 2.4.25, and I'd like to move this system to 2.6. All of my other Gentoo boxes are on 2.6.

What's keeping me at 2.4 is the fact that this system is my "gateway". It connects to my cable modem and provides the router/NAT/firewall service for all of my other systems. I set it up a few months ago using the instructions in

http://www.gentoo.org/doc/en/home-router-howto.xml

and it works fine with a 2.4 kernel. Almost everything works fine on 2.6 except one thing -- when I boot up the system, the DHCP client can't seem to get an IP address from the cable modem on "eth0" -- it times out trying. I've checked all the config files I know about, and I'm pretty sure I have all the kernel modules that need to be there. In fact, I'm guessing I have more modules compiled than I really need.

This seems to be a configuration problem, but I'm totally out of ideas on what to try next. Any ideas?
--
M. Edward (Ed) Borasky
znmeb@borasky-research.net
http://www.borasky-research.net/
Top
killfire
l33t
l33t
User avatar
Posts: 618
Joined: Sat Oct 04, 2003 11:48 pm
Contact:
Contact killfire
Website

  • Quote

Post by killfire » Sun Jan 02, 2005 3:51 am

im not an expert but the configuration that you do have might be handy... one question though:
after you are booted up, does dhcpcd eth0 work, or does it time out again?

it may be a kernel problem... if that doesnt work at all..

killfire
my website, built in HAppS: http://dbpatterson.com
an art (oil painting) website I built a pure python backend for: http://www.lydiajohnston.com
Top
znmeb
n00b
n00b
Posts: 25
Joined: Mon Dec 29, 2003 2:36 am
Location: Beaverton, Oregon, USA
Contact:
Contact znmeb
Website

  • Quote

Post by znmeb » Sun Jan 02, 2005 6:42 am

killfire wrote:im not an expert but the configuration that you do have might be handy... one question though:
after you are booted up, does dhcpcd eth0 work, or does it time out again?

it may be a kernel problem... if that doesnt work at all..

killfire
Well ... since I posted, I managed to get it to come up with 2.6.10-r1. I'm not sure what made the difference; I worked through all the steps in the Gentoo 2.4 -- 2.6 migration guide, and I suspect the missing link was the fact that I didn't do a "--udev" on the "genkernel" until the last time.

Although it came up, it was still messed up somehow -- it didn't have full speed and I dropped back to 2.4 again. But it's better -- it does get an IP address now and talks to the Internet.
--
M. Edward (Ed) Borasky
znmeb@borasky-research.net
http://www.borasky-research.net/
Top
killfire
l33t
l33t
User avatar
Posts: 618
Joined: Sat Oct 04, 2003 11:48 pm
Contact:
Contact killfire
Website

  • Quote

Post by killfire » Sun Jan 02, 2005 5:12 pm

znmeb wrote:
killfire wrote:im not an expert but the configuration that you do have might be handy... one question though:
after you are booted up, does dhcpcd eth0 work, or does it time out again?

it may be a kernel problem... if that doesnt work at all..

killfire
Well ... since I posted, I managed to get it to come up with 2.6.10-r1. I'm not sure what made the difference; I worked through all the steps in the Gentoo 2.4 -- 2.6 migration guide, and I suspect the missing link was the fact that I didn't do a "--udev" on the "genkernel" until the last time.

Although it came up, it was still messed up somehow -- it didn't have full speed and I dropped back to 2.4 again. But it's better -- it does get an IP address now and talks to the Internet.
have you tried it with a slightly older kernel? or by configuring it yourself? it might help....

ive heard that the most recent kernels are relatively unstable (with 2.6 being a testing branch now)

killfire
my website, built in HAppS: http://dbpatterson.com
an art (oil painting) website I built a pure python backend for: http://www.lydiajohnston.com
Top
znmeb
n00b
n00b
Posts: 25
Joined: Mon Dec 29, 2003 2:36 am
Location: Beaverton, Oregon, USA
Contact:
Contact znmeb
Website

  • Quote

Post by znmeb » Sun Jan 02, 2005 8:41 pm

killfire wrote:
znmeb wrote:
killfire wrote:im not an expert but the configuration that you do have might be handy... one question though:
after you are booted up, does dhcpcd eth0 work, or does it time out again?

it may be a kernel problem... if that doesnt work at all..

killfire
Well ... since I posted, I managed to get it to come up with 2.6.10-r1. I'm not sure what made the difference; I worked through all the steps in the Gentoo 2.4 -- 2.6 migration guide, and I suspect the missing link was the fact that I didn't do a "--udev" on the "genkernel" until the last time.

Although it came up, it was still messed up somehow -- it didn't have full speed and I dropped back to 2.4 again. But it's better -- it does get an IP address now and talks to the Internet.
have you tried it with a slightly older kernel? or by configuring it yourself? it might help....

ive heard that the most recent kernels are relatively unstable (with 2.6 being a testing branch now)

killfire
Well ... Gentoo (and other distros, including RHEL 4) have enough confidence in the 2.6 kernel and the community behind it to recommend migration, at least for those with the necessary skill set. I've been a system programmer for large chunks of my career, so I think I have the skill set and the mind set required.

In any event, I can close out this "trouble ticket" -- following all the steps of the Gentoo migration guide has resulted in what appears to be a stable system with the latest ~x86 kernel, 2.6.10-r1. My main application on this machine -- indeed, on my whole "desktop farm" -- is audio, and the 2.6.10 kernel appears to be the first one with acceptably low latency "out of the box". I'm guessing that the missing step, conversion to "udev", was the source of the networking problem, although I don't understand the mechanisms involved enough to be sure of that.
--
M. Edward (Ed) Borasky
znmeb@borasky-research.net
http://www.borasky-research.net/
Top
Post Reply

5 posts • Page 1 of 1

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