12-05-2011, 08:17 PM | #1 | |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
I can't get Launchpad's RCE to work
Didn't mean to hichjack the original post hence opening this new one.
Quote:
So I found This python implementation of UDP multicasting instead I then tested socket_multicast_sender.py Spoiler:
and socket_multicast_receiver.py
Spoiler:
which totally worked between my windows virtual machines.
At this point I must admit that my quest is now mostly Hackademic since once USB Network is installed, you can easily send commands to the shell with SSH and there is not much point to force doing it with UDP to Launchpad... except for the fun. Anyway, My UDP multicasts still don't get to launchpad and I remain puzzled. Has anybody succeeded doing this? What am I still missing? |
|
12-05-2011, 09:07 PM | #2 |
Zealot
Posts: 121
Karma: 82565
Join Date: Aug 2010
Location: Maryland, USA
Device: dxg, k3w,k4nt,kpw
|
I'm pretty sure that you didn't pick a right tool to send UDP
multicast packets. When it comes to sending to the Kindle, your host configuration probably has several active network interfaces. Is that right? If so, you have to explicitly _specify_the_network_interface_ which will be used for that. Otherwise, your packet will be sent over the default interface, which is, probably, not what you want. See if your python thing somehow allows to specify the network interface to be used when sending multicast packets. |
Advert | |
|
12-05-2011, 10:02 PM | #3 | |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Quote:
Thanks for the tip. |
|
12-06-2011, 01:50 PM | #4 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
@h1uke Thanks for helping.
For the record, just to report how got it to work... though I can't say it has been easy. 1- I never found a way to send the multicast from a specific host interface, I disabled the software interfaces of my virtual machines instead. Then the python multicast programs in my first post worked fine. 2- I had to punch a hole in the Kindle firewall to accept UDP on port 10000. 3- Since my Kindle connection is via the wifi interface only, and Launchpad will only join the multicast group after receiving the "start RCE" string on port 10000. The router will not establish a multicast group without yet. 4- I had to connect my host via wifi, and I had to start listening to that same multicast group from my host (using the multicast_receiver python program). 5- By IGMP magic, this caused the router to add the multicast group to its wifi interface, enabling routing. 6- Only then, upon receiving the multicasted "start RCE" would Launchpad accept to pass further text strings as shell commands. In conclusion: Definitely easier when the Kindle is connected to the host via USB networking (and no wifi routing is necessary). Fun learning, but unless I had an army of Kindles to command I would stick to SSH unicasts. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I wonder, Would it work? | crich70 | General Discussions | 11 | 04-13-2011 05:44 PM |
How does the 3G work? | fleaaaaaa | Amazon Kindle | 7 | 04-08-2011 05:10 AM |
Accessories SD Cards that work or don't work with the eDGe | devseev | enTourage Archive | 31 | 01-11-2011 04:30 PM |
I will never get any work done now. | sparrowgrass | Introduce Yourself | 13 | 07-17-2010 06:46 PM |
How does it work*? | Sultan Rahi | OpenInkpot | 3 | 12-29-2009 08:59 AM |