x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

All must bow before my geekish might !

tsdave Page Icon Posted 2005-09-23 1:20 AM
#
Avatar image of tsdave
Factorite (Senior)

Posts:
93
Status:
I have been consumed lately. First i got my HPC. My girfriend liked it so much
he made me buy her a laptop (turion64). It came with wireless builtin. We
only have dialup (out in the sticks). I bought a pcmica card and a 802.11g
(linksys-wrt54g) to hook us all together. We played a few games of
warcraft 3 over the wireless, but something was missing ....

Yes, i needed to be able to dial the internet from my HPC or laptop. The laptop
was easy, windows can control other machines dialups thru the standard
interface. But how can my HPC control it ? And what if the router itself need
to connect ? And what if the computer is OFF ????

Yes i have solved them all ! First i messed with many firmwares for my WRT
router. I settled on freeman 1.04. Its not exactly legal, but it works well,
gives me a writable flash storage, lets me bump my xmit from 28 to 251
milliwatts, etc. I setup custom startup scripts on it to kill the standard
webserver and start my mini_httpd, with my own webpage and custom
cgi scripts.

What scripts you ask ?

Well I have a script that will wake up my main computer thru the miracle of
wake-on-lan ! Then thru the miracles of netcat, i can execute any windows
command from scripts on my router ! Dialup , hangup, notepad, SHUTDOWN,
its all there, i made scripts for the common ones. Then i made cgi and web
pages for them also.

WHAT DOES ALL THIS MEAN ?

My router is my own little linux buddy running 24/7, faithfully serving
my webpage to any 802.11 enabled cattle,swine,or poultry nearby.

I can turn on my HPC or laptop within quite a range of my house,
and set the browser to my routers internal webserver (my homepage now),
and click a link to turn-on my computer. click another to dial up the internet.
another to hang up. And finally another to shutdown my pc again.

better yet, my router runs all the time, consumes only 5.5 watts of power,
and can via a cron job start up my computer anytime it wants, send any
command to windows or the internet, then update my wepages to tell me
the results ! then hang everything up. <such fetching email and new

incase your wondering my little wrt54g has a 216Mhz mips processor
thats faster than my HPCs 168Mhz mips. It has 16MB of ram and 4MB
of flash RAM, not to mention the ethernet ports and 802.11.

I feel the need to install a device in the barn that will allow me to run
a webcam to keep an eye on the animals, AS WELL AS perhaps,
someday, feed them by clicking another link ........

Have i gone insane ???? I dont thinkso. My router knows me well,
my name is ROOT !


HA H A HA MUHAAAAAAA


...


 Top of the page
CardBoardCrusader
CardBoardCrusader Page Icon Posted 2005-09-23 1:31 AM
#
Status:
Bravo! Sounds like quite an accompshment, but you're using 802.11g on a Mobilepro? I thought you could only use 802.11b. Is it a Cardbus PCMCIA card?
 Top of the page
C:Amie Page Icon Posted 2005-09-23 7:06 AM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
18,007
Location:
United Kingdom
Status:
Excellent work. At 251 mw I should be able to get a connection from here in England

So how are you sending commands from the H/PC to the router, SSH, Telnet...?
 Top of the page
tsdave Page Icon Posted 2005-09-23 10:52 AM
#
Avatar image of tsdave
Factorite (Senior)

Posts:
93
Status:
The TX power is for the router only, although it can also work as a client.

From the HPC to the router my intend to use internet explorer. Although
i can just telnet in and run the scripts by the command line instead of cgi.

From the router to the PC, Im using netcat. When windows starts i have
netcat start a listening port and redirect commands into windows CMD.EXE.
Then on the router i have netcat connect for each command it just sends
a command line then returns. It was the only thing i could get to work.

netcat is not exactly secure, but its behind a firewall from the internet and
on a special port only accessable from my lan. plus i live at the end of
a 3,000 ft drive, only my neighbors might even have access.
 Top of the page
tsdave Page Icon Posted 2005-09-23 10:57 AM
#
Avatar image of tsdave
Factorite (Senior)

Posts:
93
Status:
My hpc card is only a .b netgear ma401. My router and laptop have .g
My router<->computer enjoy 100mbit cat5.
 Top of the page
sophisticatedleaf Page Icon Posted 2005-11-05 12:51 AM
#
Avatar image of sophisticatedleaf
H/PC Elder

Posts:
2,294
Location:
Sunny California
Status:
Ah, the beauty of Linux...scripts.

I have thought of a similar automation system before, but never clicking links to do jobs! Great ideas, all of them...

So I take it that this webpage on your router is the homepage on all your computers? You just go there, click the dial link, then go to www.hpcfactor.com?

Really cool stuff. *bows*
 Top of the page
Jump to forum:
Seconds to generate: 0.171 - Cached queries : 62 - Executed queries : 9