Search found 15 matches

Author Message
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Mon Nov 16, 2009 4:43   Subject: scripted ssh commands from web interface
bump
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Wed Nov 11, 2009 8:07   Subject: scripted ssh commands from web interface
bump. Any fresh ideas? This seems like a bug. A dev maybe could comment?
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Tue Nov 10, 2009 19:25   Subject: scripted ssh commands from web interface
I suppose. What makes me feel it's a bug is that the same commands/scripts work from the command line.
Like creating /tmp/standby in vi and then setting chmod 700 /tmp/standby and running /tmp/standb ...
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Tue Nov 10, 2009 19:15   Subject: scripted ssh commands from web interface
Very true, suspend isn't a windows command.

I put a suspend.bat file in my windows/system32 directory which has the line

rundll32 powrprof.dll,SetSuspendState

Anyway thanks for all the help! Maybe ...
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Tue Nov 10, 2009 18:43   Subject: scripted ssh commands from web interface
That does not seem to pass my password to the PC. Authentication fails.

It is not a linux PC, just windows. Running WinSSHD.

I also tried echo 'DROPBEAR_PASSWORD='mypass' ssh .... but receive the e ...
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Tue Nov 10, 2009 17:53   Subject: scripted ssh commands from web interface
Same result.

I have also tried creating a script like this and running it:
(
sleep 5
echo "suspend"
) | DROPBEAR_PASSWORD="mypass" ssh -y user@192.168.1.x

And get the error " ...
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Tue Nov 10, 2009 17:36   Subject: scripted ssh commands from web interface
I don't see the problem either. I think Webif just will not do this, What you said works perfectly from the command line. Running /tmp/standby from the command line works. But from webif it does not. ...
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Tue Nov 10, 2009 5:57   Subject: scripted ssh commands from web interface
like #!/bin/sh ? Tried it.

By the way, thanks so much for the input on this. I really do appreciate it.
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Mon Nov 09, 2009 20:07   Subject: scripted ssh commands from web interface
I've done that, same problem. Sorry if I did not make that clear. In fact, clicking "Save custom script" saves the script to /tmp/custom.sh with custom.sh having the proper permissions to be ...
  Topic: old httpd 100% bug back again?
bbalaban

Replies: 85
Views: 80882

PostForum: Broadcom SoC based Hardware   Posted: Mon Nov 09, 2009 20:04   Subject: old httpd 100% bug back again?
I believe you should try VINT
I'll try the VINT build if it happens again. Since this morning (changed HTTPS port to 443) all seems fine, no CPU race.
I'll wait another day and then configure the rout ...
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Mon Nov 09, 2009 2:52   Subject: scripted ssh commands from web interface
this seems like such an easy problem... is there any solution to this?
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Sun Nov 08, 2009 10:47   Subject: scripted ssh commands from web interface
bump
  Topic: old httpd 100% bug back again?
bbalaban

Replies: 85
Views: 80882

PostForum: Broadcom SoC based Hardware   Posted: Sun Nov 08, 2009 7:38   Subject: my experience with this problem
I have a WNDR3300 with a BCM4704@264Mhz. I had this very same problem over a broad range of firmwares, though I am now using newd eko 13000.

Sometimes it would be up for a few days, sometimes hours, ...
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Sat Nov 07, 2009 20:34   Subject: scripted ssh commands from web interface
forgot to add (if it matters), this is dd-wrt v24sp2 SVN13000 std-nokaid running on a wndr3300 router.
  Topic: scripted ssh commands from web interface
bbalaban

Replies: 22
Views: 15647

PostForum: Broadcom SoC based Hardware   Posted: Sat Nov 07, 2009 20:32   Subject: scripted ssh commands from web interface
Hey and thanks for any help in advance.

What I want to do is have my router suspend my PC remotely. The following command works from the command line just fine:

DROPBEAR_PASSWORD="mypass" ...
All times are GMT
Navigation
Jump to: