Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Ethernet To Serial, Ethernet to serial
jfuerst
post Aug 22 2005, 06:08 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 22-August 05
Member No.: 5,422



I need the easiest way to "bridge" all ethernet traffic from my PC over a serial port to another PC.

Any suggestions on how to do that.

I had initially thought that I could just open(eth0... and read everything in and write it to the serial port.. will this work? Is there a better way to do this?

Is there a script that I can write that will do this?

Regards,

Jordan
Go to the top of the page
 
+Quote Post
michaelk
post Aug 22 2005, 07:56 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



It doesn't work that way but it is possible. You do not mention what linux distribution and/or windows that you are running on either PC.

You will need to create a ppp connection via a null modem serial cable. Then use iptables and ip_fowarding to bridge ethernet and ppp together. Some distributions have an internet connection wizard to ease "bridging" but I have never tried it with a ppp serial connection.

http://www.thelinuxreview.com/howto/ppp/in...rap=c1768%2ehtm
Go to the top of the page
 
+Quote Post
jfuerst
post Aug 23 2005, 09:49 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 22-August 05
Member No.: 5,422



I am using uClinux.

What I need to do is be able to sort through all ethernet traffic and foreward on (through a serial cable) to another of these devices where I can hand it back to the ethernet side.

Is there any way to override this PPP and take full control of it myself?

Jordan
Go to the top of the page
 
+Quote Post
michaelk
post Aug 23 2005, 06:10 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



Probably, but I am not technically knowledgeable enough to tell you how to go about it. Is the some reason you need complete control?
Go to the top of the page
 
+Quote Post
Tallies
post Sep 8 2005, 03:40 AM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 8-September 05
Member No.: 5,501



Dear Jordan,

I have a similar requirement, I need to transparently connect a Windows (UGH) box to a remote IP LAN. The only link between these sites is a 19200 RS232 leased line.

I figure that the way to go is to put down two Linux boxes, bridge the ethernet card with the serial port on each box. (I have the extra boxes lying around, therefore zero hardware cost)

It is imperative that the bridge must be transparent (the application s/w is full of $%#$).

If you find out any way to do this, give me a holler!

Tallies
<tallies at bigfoot dot com>
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th October 2017 - 02:10 AM