Re: a stupid idea, a stupid test
I am afraid that this would not help...my system does not run a web server and has
no need of a web server
What I need is a static IP...
neither my system nor the other one have DNS names...or any other way of
the idea was to use the network as a "virtual ethernet" where the 1 machine with a
static IP would be the "hub"...treating TCP/IP that is already running on the real
ethernet and layering my own network on top of it (a private one)
it woul dbe almost rivial to make a simple script to edit a web pge on an ISP
by putting my current IP in....
this however means real acess
as I said...I believe this is known as tunneling..and that there are better was of
doing it than netct and pppd
(of course I will take a look at those better ways but..I was hopeing to hack this
together quick and make it work just for fun)
> I am new to LINUX, but maybe the following will help you.
> Go to
> and see issue 18. Then take a look at "Putting Links to Your
> Dynamic IP." The man wrote the script to do it so that his sister
> could access his machine via the Web. Could you adapt it to your
> I use my near-term goals at becoming the ISP's customer from
> hell to have fun while on the way to accomplishing my goal of
> becoming a good ISP techie (as you can see from the sig below). ;-)
> Art Lemasters, too cheap to get the kid a real e-mail address :-)
> > Ok...I got a bright idea earlier....
> > I have a linux machine at work (where we don't really have linux
> > machines...its one of the
> > 3 that I know of in existance on our entire network (of at least 10 000
> > users) )
> > Anyway...mine is on DHCP like most of the network and a new one which
> > was setup
> > is also on DHCP (mostly because im a tech and he is at the helpdesk and
> > neither of us
> > can justify why we need network engineering to give us static IPs)
> > One of the Linux machines I know of has a static IP (this guy is some
> > important doctor
> > and I am sure I coul dget him to let me use his linux machine or one of
> > his slowaris runnin sun stations
> > if I asked )
> > Here was my idea:
> > I want my machine and my friend at the helpdesks computer to be able to
> > communicate
> > (maybe even share soem NFS mounts ;) )
> > The problem is we are on DHCP...dynamic adressing which seems to change
> > at least every few days
> > My idea was ...can I setup a "virtual network" layered on top of our
> > ethernet / TCP/IP network?
> > My idea was to use netcat and pppd to make a ppp connection through a
> > tcp/ip socket...
> > then assign my own Private IP adresses (10.*) to the ends of the ppp
> > connection
> > then I could have the machine with the static IP as a central hub for
> > the other 2 systems to connect too
> > thus the other two machines could have "Static IPs" for talking to
> > eachother
> > ok...I know there must be a better way to do this...I think its called
> > tunneling??
> > and I believe there is some kernel level support fo rit...
> > I wanted to find a way to do it my way...
> > the idea was this:
> > use netcat on both systems to open the equivalent of a "pipe" and then
> > attach pppd to it
> > I tried this on the local machine...maybe someone can say why this setup
> > didn't work
> > first I made 4 named fifos's
> > in1 out1 in2 out2
> > then
> > cat in1 | nc -l -p 1555 | cat out1
> > cat in2 | nc 127.0.0.1 1555 | cat out2
> > ...both connected....and netstat showed a conenction between the two
> > then I tried this...
> > I cated a file into in1
> > then I did "cat out2" on another VT
> > nothing came out... I would have thought the end result would have
> > been...
> > data in -> in1 -> nc -> tcpIP -> nc -> out2 -> data out
> > any ideas why did didn't work
> > (suffice it to say "pppd <out1 >in1" and the same for in2 and out2 ...
> > they didn't connect....
> > any ideas? (and yes I know this is a stupid way to do it but....
> > I would think it should work! )
> > -Steve
> > --
> > To UNSUBSCRIBE, email to firstname.lastname@example.org
> > with a subject of "unsubscribe". Trouble? Contact email@example.com
> @--`--,-- Leave my nickname (Libby) anywhere
> in the "To:" header line of your reply
> (the way your e-mailer likes to do it)
> with the e-mail address: <firstname.lastname@example.org>
> to be sure it will come to
> my own personal e-mail box. --'--,--@
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org