Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ianbeyer
Visitor

Need to generate a key

SDK docs say to telnet to the device on port 8080 to get the console to generate a key - when I do this, I get no response from the unit other than character echo. The debug console on 8085 works fine, as does connecting via the browser to sideload the development app. How do I generate a key?

System says it's on V3.1 build 1011, hardware is 2050X.
0 Kudos
8 REPLIES 8
RokuJoel
Binge Watcher

Re: Need to generate a key

once you telnet in, type genkey

You should, after 30-60 seconds get a newly generated password and key which you should save somewhere in a file. Consider using another telnet client like putty if it isn't working correctly the way you are doing it now.

- Joel
0 Kudos
ianbeyer
Visitor

Re: Need to generate a key

Shouldn't I be getting some kind of response on the screen? The documentation seems to indicate that I should. How do I know if the key's been generated properly?

Tried this with both Windows telnet client and PuTTY.
0 Kudos
gonzotek
Visitor

Re: Need to generate a key

"ianbeyer" wrote:
Shouldn't I be getting some kind of response on the screen? The documentation seems to indicate that I should. How do I know if the key's been generated properly?

Tried this with both Windows telnet client and PuTTY.
You should see the device serial number and ethernet/wifi MAC addresses as soon as you connect to 8080. Are you even getting them? e.g.:
C0D02T00XXXX
ETHMAC 00:0d:4b:57:XX:XX
WIFIMAC 00:0d:4b:57:XX:XX
>
If you're not, I'm not sure what to suggest, other than trying to reboot the roku. Since you can connect to 8080 it doesn't sound like a network or telnet client issue.
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com
0 Kudos
ianbeyer
Visitor

Re: Need to generate a key

After reboot, I get the MAC addresses on the screen, but when I type genkey, It kicks me back to the prompt, with no indication that it's doing anything or has done anything.

Is there a firmware update for this thing? This one seems kinda buggy.

(and after doing it once, I can't connect again. It's back to its old tricks)
0 Kudos
ianbeyer
Visitor

Re: Need to generate a key

OK, interesting. PuTTY doesn't like it. Windows telnet was happy with it.
0 Kudos
gonzotek
Visitor

Re: Need to generate a key

"ianbeyer" wrote:
OK, interesting. PuTTY doesn't like it. Windows telnet was happy with it.
I've only ever used windows telnet (windows 7) to connect to my boxes, never had any issues. So you got genkey going? One thing that's important to note is that the device only supports one connection at a time (per port, 8080 and 8085 can both be connected at once). So if putty is hanging onto the connection, windows telnet would act like it's hung.
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com
0 Kudos
ianbeyer
Visitor

Re: Need to generate a key

Once the key is generated, shouldn't the packager link show up in the browser interface? I've rebooted the roku after running genkey, but still no packager.
0 Kudos
ianbeyer
Visitor

Re: Need to generate a key

It eventually showed up, had to generate the key a few times before it took.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.