title: Ethernet + Serial port in Linux
body: <p>I want to implement a driver in Linux, that has a Ethernet stack but the data going out on hardware will be a serial port. Basically, I want to register my serial port as a Ethernet driver. Does anyone have any idea if this is possible?
  I want to be able to push IPv6 and/or UDP packets out of the serial port and in a similar way receive the packets via a serial port and pass it up the Ethernet stack.</p>
  
  <p>I do not want to use the solution of serial-to-ethernet convertors(external hardware that convert a serial port to a ethernet port) but have that in my PC itself.</p>
  
  <p>I tried PPP over the serial port and it works well. I am also told that I can do FTP, HTTP etc using the PPP. Reference to this - <a href="http://www.faqs.org/docs/Linux-HOWTO/Serial-Laplink-HOWTO.html" rel="nofollow">http://www.faqs.org/docs/Linux-HOWTO/Serial-Laplink-HOWTO.html</a></p>
  
  <p>I have tried to hack the code from a RealTek Ethernet driver with a serial driver but not able to gain much success. Rather I do not know the stack of either to actually do anything meaningful. Any advice, guidance or tutorials would be helpful.</p>
  
  <p>Thanks
  Aditya</p>