LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-14-2009, 02:32 PM   #1
awp2513
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
Adding Ethernet to kernel without Network support configured


Hi,

I'm new to this forum (and Linux in general), so please let me know if I'm leaving information out.

I'm trying to add Ethernet support into a system running Mandrake 9.2, kernel 2.4.22. Network Device Support is not configured, and the Packet socket and Packet filtering options aren't either.

I have setup eth0

1.) verified that modules.conf aliases the device

/etc/modules.conf

alias eth0 8139too

2.) added ifcfg-eth0 to /etc/sysconfig/network-scripts

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

3.) Installed dhclient

urpmi dhcp-client

I can ping localhost, but I am unable to obtain an ip address. When I try to bring eth0 up ('ifup eth0'), I get an error message indicating I need to configure Packet socket and Packet filtering in the config file. From my reading, dhcpcd requires these as well.

I want to avoid rebuilding the kernel, as there are V&V consequences for doing so.

I would like to understand what Packet Socket and Packet Filtering really provide (I'm not a networking guy), and if there is a way around rebuilding the kernel. If so,
what is it, if not, why not?

if I need to post additional information about the system, please let me know.

Thank you in advance.
 
Old 10-16-2009, 09:25 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,376

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
I think you're banging your head against a brick wall. If you leave the kernel networking code out of the kernel, you can't expect it to party. The kernel help lists dependencies, and things select & deselect each other in the Makefile. If you leave something essential out, it isn't built, and it's dependencies may not be either. Mandrake-9.2 and kernel 2.4.22 is quite old. You would probably need gcc-2.95-3, although gcc-3.3x might do it. If you have a cd/dvd you can probably grab the stock kernel from that.

Put at it's simplest, networks talk in packets. a socket is a way of communicating with a process. Filtering in this case is code for the kernel to make decisions about packets. I'm no programming guy.
 
  


Reply

Tags
ethernet, filtering, kernel, mandrake, packet, socket



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adding reiser 4 support in KERNEL khaleel5000 Linux - Kernel 4 10-09-2007 06:18 AM
adding reiser 4 support in kernel 2.6.7 khaleel5000 Linux - Kernel 2 07-26-2006 06:11 AM
adding ip aliasing support in 2.2.20 kernel - woody Jeozp Debian 2 03-22-2006 10:09 AM
adding K7 support to kernel wjacobusse Fedora 1 03-07-2005 03:37 PM
Adding SMP support to kernel Shentar Linux - Newbie 1 02-16-2005 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration