LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 12-25-2013, 07:22 AM   #1
zg13454
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Rep: Reputation: Disabled
enable ethernet protocol in linux


Hi
I am a beginner in linux and network.
please help me,
How enable ethernet protocol in linux? is it enabled by default?
could you please explain to me about linux and network protocol?

I would appreciate if anyone can help
 
Old 12-25-2013, 07:29 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,564
Blog Entries: 1

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
Hi and welcome to LQ.

Your question is very vague. I'm not sure if that' what you mean but support for network cards is enabled by default. Unless you've got a very esoteric card, a relevant (for your ethernet card) module will usually load at the boot time.

Here's a link about Linux networking:
http://www.linuxhomenetworking.com/w...e#.UrrcyvHIBQI
If you google linux networking you'll get tonnes of information.

Hope this helps. If not, please ask more specific questions.
 
1 members found this post helpful.
Old 12-25-2013, 11:43 PM   #3
zg13454
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hi
thanks for your response

so, all linux os support ethernet protocol?
 
Old 12-25-2013, 11:45 PM   #4
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
The answer to your question is Yes, but I don't think you understand your own question.

Do you know what Ethernet actually is?
 
Old 12-26-2013, 12:03 AM   #5
zg13454
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
thanks
yes I know a little
I know this protocol is a data link layer protocol and i know format of it's frame too .
and some other things
what is necessary to know about it?
as I understand all linux os can create a ethernet frame and other relative work, is it right ?

thanks in advance

Last edited by zg13454; 12-26-2013 at 12:17 AM.
 
Old 12-26-2013, 12:44 AM   #6
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
If Linux is compiled to support an Ethernet device of some sort than yes that code will exist.

You do need to understand that Ethernet is not the only way of talking to the world and some devices are not designed to talk to anything so it is possible to have a Linux kernel containing no Ethernet code at all.

Your normal desktop/server distribution will naturally have Ethernet support as in those cases it is normally expected that an Ethernet card would be present.
 
Old 12-26-2013, 06:59 AM   #7
zg13454
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
thanks a lot
I understand exactly
which library is responsible for ethernet protocol in linux os?
 
Old 12-26-2013, 09:45 PM   #8
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,722

Rep: Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458
Ethernet support is in the kernel. Many drivers for network cards/wireless devices are included in the kernel, but some drivers, such as Broadcom, to pick one, need to be installed separately.

http://www.linuxfoundation.org/colla...rking/ethernet
 
Old 12-29-2013, 07:47 AM   #9
zg13454
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hi
Thanks a lot
And, is there Ethernet driver in the first kernel (0.01) too?
 
Old 12-30-2013, 05:11 AM   #10
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
In v0.1 there is only very basic support for the keyboard / screen and filesystem, Ethernet is nowhere to be seen.

Please don't ask when it did make an entry as probably no one can remember, if you really want to find out you can go through all the old versions.

All pre 1.0 is under here :- ftp://ftp.kernel.org/pub/linux/kernel/Historic/

And 1.x is here :- ftp://ftp.kernel.org/pub/linux/kernel/v1.0/
 
Old 12-31-2013, 07:37 AM   #11
zg13454
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks again
I see these source , But I can't understand any information from these links.
How I can find the capabilities of each version? (e.g which version supports some protocols and devices ?)
please guide me,
 
  


Reply


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
How to configure and enable kgdboe ( over ethernet ) in linux kernel version 2.6.34 RajuLinux Linux - Newbie 2 01-19-2012 12:31 AM
New SAN protocol - * over Ethernet - spin off from ATA over Ethernet prakrithi Programming 15 09-07-2011 07:50 AM
How do I enable Simple Network Management Protocol on my host? devil100 *BSD 1 05-20-2010 04:59 PM
Enable Network Time Protocol tractng Red Hat 1 04-03-2008 03:54 PM


All times are GMT -5. The time now is 07:23 AM.

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