Do linux have a device file for ETHERNET CARD.


 
Thread Tools Search this Thread
Operating Systems Linux Do linux have a device file for ETHERNET CARD.
# 1  
Old 04-04-2009
Do linux have a device file for ETHERNET CARD.

Sir,

Do linux have device file for ethernet card. Can I use open , read , write , system calls to read data transferred through LAN. Is there any methods to read network datas (with out header and tailor information).
Hope anyone can help me out. Thanking you....

Jayanth.S
# 2  
Old 04-05-2009
Are you talking about a filesystem method like NFS or

OFS ?! Welcome to OFS [OFS Wiki]
# 3  
Old 04-05-2009
If you mean something like /dev/hda for harddisks, then no. Network access is done (at a low level) by methods for socket manipulation. There are higher level abstractions for easier access in some libraries.

Could you give an explanation and/or example by what you mean when you say
Quote:
Originally Posted by iamjayanth
[...]any methods to read network datas (with out header and tailor information)
# 4  
Old 04-06-2009
Hi all,

My requirement is to read network traffic int userlevel . I am using C programming in Centos 5 with 2.6.18 kernel.

For example can i read the file contents which I copied using SCP . That I want the data part of the network traffic leaving out headers and tailors..Pludi, you said there are some higher level abstractions for easier access in some libraries... What do you mean by that..Where can I look for the same...Please help me out..
# 5  
Old 04-06-2009
I have absolutely no idea what you want to do. Could you give us a good example? Do you want to transfer files, maybe via a secure connection? Or do you want to trace packets in user space, because this isn't possible with high-level abstractions. And what do you mean by header and trailer information?
# 6  
Old 04-06-2009
i'm confused as well...maybe he is talking about socket programming...?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies

2. Solaris

Problem with my Ethernet Card

Hi Gurus of Solaris. I have a problem yesterday when I was installing solaris in a x86 equipement I attached some log that I capture when I try to resolve the problem Any guru that can help please. Any command or procedure that I can run, please advice me Regards Andres (10 Replies)
Discussion started by: andresguillen
10 Replies

3. Solaris

Gigaswift ethernet card on reboot

I do have a server (SUNV240) with Solaris 9, it has a PCI gigaswift ethernet card for fiber with SC connector, everytime I reboot the server the card won't link up unless I unplug it and plug it back again, for remote operations this is a hassle since sometimes reboots are needed and this card... (3 Replies)
Discussion started by: xe2bss
3 Replies

4. AIX

Utilization of Ethernet Card

Hi, is it possible to find out network utilization of etherenet card in %? Regards, Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies

5. IP Networking

ethernet card

What command do I use to show mw the ethernet card, I have tried ipconfig -a (1 Reply)
Discussion started by: dhlopomo
1 Replies

6. SCO

Issue with a ethernet card

Installed a replacement 3com pci card on an ibm PC 300 GL, running OpenServer 6.0 , brought up system, and recieved this message: Fsstat:/dev/boot mounted Mounted /stand filesystem System auditing is not enabled. Dlpid:Unable to open network adapter driver (/dev/mdi/r8e0) Dlpid:No such... (0 Replies)
Discussion started by: tazmss1
0 Replies

7. AIX

Add PCI ethernet card?

Hi everyone, I recently inherited an IBM RS/6000 43P 150, and it appears that the on board ethernet is dead. Can I put in a PCI ethernet card and use that as the default ethernet connection (as opposed to the one on the motherboard)? If so, what type of card can I use and how does one configure... (2 Replies)
Discussion started by: Jwoollard
2 Replies

8. UNIX for Dummies Questions & Answers

Ethernet card problem...

I am an extreme novice trying to learn Linux. I have redhat 9 installed in a computer I built specifically to install and learn linux. I have an asus a7v8x-x motherboard with the realtek 10/100 mbps ethernet card. I also installed a Jaht adapter jn-1110r32c ethernet card. I cannot get the... (2 Replies)
Discussion started by: Tony Empire
2 Replies

9. IP Networking

RedHat and Ethernet card no like each other

I have searched this forum for solution and have drawn a blank... so I come to you for help :) I an a Win XP user that has no problem getting on internet when I am on that OS (currently on it right now ;)). I installed red hat 9 and when I use that OS, I cannot get a connection. I ran the... (10 Replies)
Discussion started by: Minnesota Red
10 Replies

10. Filesystems, Disks and Memory

ethernet card for Solaris

Hi, How can i check the speed of the Ethernet card that my Sun server has and also how can i change it to full Duplex if it is set to half duplex? What is the file that takes care of this? (3 Replies)
Discussion started by: i2admin
3 Replies
Login or Register to Ask a Question