LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,299

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 03:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration