mDNS + CastV2 - Google Chromecast

Google has moved to a mDNS instead of SSDP. I managed to wireshark the communication and broadcast a message from my machine. But after that the chrome extension talks to chromecast on 8009 port using chrome.cast.channel.open(). It tries cast:// and casts://.
Anybody have any idea is there any documentation or anybody has been able to hack the protocol?

Related

VNC Server for Android

A good application for Android remote control from PC?
I've tried "Droid VNC Server (Beta) and "Remote Control Add-on"
both of them works but have a problem viewing the screen.. phone capture commands but can't see android desktop on my pc..
I rooted both applications with Superuser without success..
Any Help?
I'm on Nova HD Plus Rom
I tried lots of apps. But nothing works as good as teamviewer.
Install pc version and the android app.
Set unattended axx on your pc.
Whitelist your android ID.
This hs never failed me. Mouse keyboard dual monitor setup... It just works
Hmmmm read again lol and think you want it the other way around...
Sorry haven't tried that
Sent from my LG-P990 using Tapatalk
You can try our new VMLite VNC Server app:
https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en
so far, it works on many different models of android devices, rooting is not required.
huisinro said:
You can try our new VMLite VNC Server app:
https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en
so far, it works on many different models of android devices, rooting is not required.
Click to expand...
Click to collapse
Can it be ROM related ? on my phone the server can't use wifi connection, and sets the IP of the server on my 3G provider one which not very useful, and generally doesn't work for me.
I'd like to have my phone screen on my tablet or my computer
There might be a bug for our app to report the wifi ip address, we are fixing this. For the time being, you can do one of these:
(1) find the wifi ip address from settings, and you can connect to this ip address instead of the one reported by vmlite vnc server app
(2) use USB connection, from VMLite Android App Controller, click USB Connect button
(3) reverse connection, run tight vnc viewer in listening mode, then start vnc server in reverse mode, so the server will connect to the client
Striatum_bdr said:
Can it be ROM related ? on my phone the server can't use wifi connection, and sets the IP of the server on my 3G provider one which not very useful, and generally doesn't work for me.
I'd like to have my phone screen on my tablet or my computer
Click to expand...
Click to collapse
huisinro said:
There might be a bug for our app to report the wifi ip address, we are fixing this. For the time being, you can do one of these:
(1) find the wifi ip address from settings, and you can connect to this ip address instead of the one reported by vmlite vnc server app
(2) use USB connection, from VMLite Android App Controller, click USB Connect button
(3) reverse connection, run tight vnc viewer in listening mode, then start vnc server in reverse mode, so the server will connect to the client
Click to expand...
Click to collapse
First solution worked great thks !

Remote Access to many RPis. How !?

Hi everybody,
Let's say I have 20 RPis each located in different cities. I want to be able to monitor them, transfer files to/from them, control them, etc. remotely and securely from my office.
I searched for possible solutions in the past few days, and found the following solutions:
1. Port Forwarding
2. VPN
3. Using some 3rd party websites like RealVNC, Remote3.it, TeamViewer, etc.
As I've understood, the port forwarding is the least secure solution in this list. Also, 3rd party websites have limits on the number of Pis you can access in free versions. Besides, they are not open source, so you cannot design your desired monitoring system/interface based on them. Hence, the VPN seems a better solution all in all.
As for the VPN, I searched the net a lot, but in most of the relevant tutorials, the RPi is the server, and the PC is the client. There's no problem in being so, until you have only 1 RPi to remotely access to.
Now here are my questions:
1. If I want to remotely access to 20 RPis in different locations and monitor them from 1 PC, what configuration shall I use !? 20 VPN servers + 1 client !? How is this possible !? Or shall I change the configuration to 1 server + 20 clients !? If so, how shall I do that !?
2. Are there any other methods for remote access to RPis securely from the office!? (else than those 3 ones listed above)?
Thanks.
RealVNC works pretty good, im using it on a couple of my Pi's running Raspbian Jessie to monitor cameras.
I'd prefer port forwarding with password-login disabled and only use key-based login. Then config all the Pi's in your ssh config file to login via ssh [email protected], ssh [email protected] and so on.
If port forwarding is a problem I fancy the solution of using autossh to connect all your Pi's to a central server. You can then use this central server as a reverse SSH proxy to connect to each Pi using ports local to the central server. This works even if you have no access to port forwarding and even if the IPs to the Pi's are changed.
Well look here! There's an existing thread covering this
https://forum.xda-developers.com/showthread.php?t=2195040
What about Teamviewer on RPI?
pages.teamviewer.com/published/raspberrypi

simulate internet connection on raspberry to chromecast

Dear community,
I have just setup a raspberry PI as a WIFI Router and connected the chromecast to the cretaed network. Unfortunately i had to realize that it will work
only with an active internet connection. I'm running a Plex server on the raspberry and my intention is to use the PI in combination with the Chromecast while traveling. Especially when there is no intenet available. Given the fact that the chromecast firmware is on the most current level a root is not going to work. I have found a very interesting article explaining the basics of the rCast mod and wondering whether it would be possible to simulate a working internet connection on the raspberry.
– CAST_SHELL AND NET_MGR MAKES HTTP REQUESTS TO GOOGLE SERVERS. I HAVE PATCHED THOSE BINARIES SO THEY MAKE REQUESTS TO THE LOCAL WEB SERVER INSTEAD.
– THE DEVICE MAKE A DNS LOOKUP SENT TO SERVER 8.8.8.8. I HAVE WORKED AROUND THAT BY CREATING AN ALIAS FOR 8.8.8.8 ON THE LOCAL HOST AND RUN A DNS SERVER.
– THE DEVICE WILL NOT FINISH BOOTING UNTIL IT HAS RECEIVED AN UPDATED TIME FROM POOL.NTP.ORG. THIS IS FIXED BY ADDING POOL.NTP.ORG AS 127.0.0.1 IN THE HOSTS FILE, AND LOCALLY RUNNING A SNTP SERVER.
THOSE WORKAROUNDS WILL LET THE DEVICE START UP NORMALLY EVEN WHEN NETWORK IS MISSING.
Does anyone have already experience in this kind of work or could help me to figure if this could work.
Many Thanks
HubbyHub

Cannot run Android Netflix apk sideloaded Chromecast - cursor controls don't work

I am trying to run the Android version of Netflix on my Chromecast rather than the one on Android TV. This is because Chromecast version detects the use of proxies and VPN's to stop accessing content outside your country. But the Android version (I am using Netflix 7.83.0 build 25 35223 beta) on my Pixel phone does not. Neither does the version on my Samsung UHD player or Chrome.
I can sideload the apk okay and when I start it up I get the profile selection screen but no icon has focus. If I press Enter assuming one profile has focus, I can startup NF and I get a display but the screen is locked - nothing happens no matter what I press.
I am assuming that the Chromecast is running Android 10 so it should run the apk. I ran File Commander okay to download the apk from my Google DRive.
Any ideas?
Yeah, the phone version needs a touchscreen. Use the one it came with.
"detects the use of proxies and VPN's" -- so implement the VPN at your router.
Or ditch crapflix.
96carboard said:
Yeah, the phone version needs a touchscreen. Use the one it came with.
"detects the use of proxies and VPN's" -- so implement the VPN at your router.
Or ditch crapflix.
Click to expand...
Click to collapse
I can implement the VPN in the router but NF detects the VPN is running. If I use a proxy on the router and block all access to Google DNS I can access out of region NF on all devices apart from the Amazon Firestick since the apk seems to detect that direct calls to Google DNS are being blocked. The same detection occurs on the Chromecast TV. But the Android apk is fine which is why I thought I could try running the Android APK rather than the Chromecast TV version.
So instead of blocking google DNS IP addresses, redirect them to something appropriate that can handle the lookups the way you want them.
how does netflix know if the vpn is running? Did google sdk provide apps the ability to see what interface or other apps are running? That doesn't seem right.
Are you certain it's not just because you're using VPN that has a known network that's blacklisted? A cheap vps is cheaper than a VPN subscription and you can set up an openvpn server in like 20 min.
Try plugging in a keyboard or mouse. some of the keys are mapped to 'normal' buttons.
zackoch said:
how does netflix know if the vpn is running?
Click to expand...
Click to collapse
No idea nor care, I was just replying to him because he said something about DNS.
I cancelled Crapflix years ago when they became hostile. I'm not interested in PAYING them for the honor of FIGHTING them to get access to their content.

Question Use device name/hostname to access the phone when connected to it using hotspot

I have a Sony camera that can FTP photos to my phone while I am shooting. Works perfectly using the IP of the phone in the FTP client when connecting the camera to it using hotspot. AWESOME!
However, the IP of the phone changes every time I enable hotspot. As far as I have been able to find out this is by design. This is an issue, since I need to go into the menu of my camera and change the IP. Not so awesome. No keyboard on camera.
I had the brilliant idea of trying to use the DNS name of the phone instead of IP. Works fine when both devices are on the same wifi, eg at home, but when the phone is the hotspot I find that there is no DNS name for the phone.
Any tips? Is there something I have not thought of?
Noone has any experience with this, please?
Interesting workflow you've got here. I use WebDav via FX File Explorer on a static IP address (within my network) to have a single shortcut on my computers to jump right into the phone without a cable. I know this is different, but I'm just sharing because I know exactly what you're going for. Unfortunately, the WAN IP on a mobile device will always be different when it's enabled.
The only thing I can think of that would manage this would be a dynamic DNS client directly on your phone. I imagine this is possible through a paid service - I run dynamic DNS on my Synology NAS out of my house since I do not have a static WAN IP. Synology provides this for free once you buy their hardware. I believe Asus provides this as well for their routers. There's gotta be a solution for Android, I've just not looked into it and I've gotta run out shortly or I would. You've got me curious so I am going to read into this later. Hope this helps a bit, I will post back.
Edit: a quick google seems to boast a lot of options for this! It should absolutely solve your problem.
Woops. looks like my reply from my phone a few days ago never saved.
I really like that the photos are available on my phone for sharing instantly when I am shooting. There is a Sony app that can perform the same, but it does not do RAW, and it compresses the JPG down to 2 MB. By using FTP I have the option of getting the full size JPG as well as the RAW straight to my phone for editing or sharing instantly.
I am considering FTPing to my home server where I run a FTP server, but then I need to find a way to make the files available on my phone again. Using OneDrive syncing the FTP destination folder or similar should do the trick. However, it requires double the data since I am uploading the photo to the server and then downloading it to my phone using OneDrive.
Is there a "local" DNS app that I can run on my phone, eg one that announces to the local network created by the hotspot? I have used no-ip and dyndns. but that is for announcing a DNS name for my public IP.
I was hoping there was a %gateway% or other variable I could use to resolve to the phone in hotspot mode.

Categories

Resources