LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-19-2009, 12:13 AM   #1
jagadisha_bs
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
Not able to send/receive the data packets through my own Ethernet driver b/w 2 pc


hi,
I have written Ethernet driver code for RTL8139.I removed default RTL8139 driver code,inserted the my own driver code.after this I set the Ip address(10.0.6.130)and made device up. but route command was showing nothing,so I added default route 10.0.6.14 now I can able to ping 10.0.6.28(server ip).checked by writing socket programs. executed both server and client program in my computer(used 10.0.6.130),it is communicating.But if I run client program on different computer it is saying "NO route to host" in connecting time of client even though I have added the route(10.0.6.14) (both computer has same route).

I am unable to ping 10.0.6.130 from the pc where I am running client program.

Please anyone help me out...
Thanks in advance...
 
Old 02-19-2009, 12:20 AM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,101

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
hmm perhaps i'm not understanding correctly

you wrote your own driver for an ethernet card?
then you replaced the kernel module with this code?

can you ping from that machine to anything else on the network?
 
Old 02-20-2009, 06:52 AM   #3
jagadisha_bs
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
yes,I wrote own driver for an ethernet card(rtl8139).
Then I removed kernel module 8139too and inserted my driver.

yes I can ping from my machine to another machine on the network.

But I can not ping to my machine from another machine on the network.
 
Old 02-25-2009, 10:30 PM   #4
jagadisha_bs
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Please anyone help me.
Thanks in advance.
 
Old 02-25-2009, 10:32 PM   #5
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,101

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
perhaps your machine has a firewall that is preventing inbound traffic?
can you connect outbound using other protocols other then ICMP? such as http, ftp, etc?
 
Old 02-26-2009, 12:31 AM   #6
jagadisha_bs
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks Frieza.
I can't connect outbound using http ftp protocol.
And what to do for firewall to accept the inbound traffic.
 
  


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 send and receive data from a single socket in perl?? murahman Programming 0 07-28-2008 03:29 AM
Modem Data Send/Receive Problem mofargel Linux - Hardware 1 10-16-2007 08:42 PM
Ethernet card (Ether Express Pro) can send but NOT receive data Pipo Linux - Networking 2 09-28-2005 05:33 AM
can i send or receive data in compress form to internet alvi2 Linux - Networking 1 03-05-2005 07:48 AM
FC3 cannot receive any packets from internet, can only send ben_build#2.1.0 Fedora 1 01-15-2005 03:09 PM


All times are GMT -5. The time now is 09:49 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