Trying to setup a wifi hotspot (that doesn't require internet) on the RPi Zero W via SSH. I'm connected to the Pi via Wifi using the wpa_supplicant.conf to connect to an existing network. I'm unable to connect via OTG USB for some reason.
No matter what online tutorial or guide I follow it fails to work. When I reboot it won't create a network nor reconnect to the existing network.
Is this purely because I'm connected via wifi whilst editing wifi configs?
Has anyone tried this setup? Know any workarounds?
Related
I've turned on Internet Sharing on MacOS via WiFi.
How could I list all the connected IP addresses to the Internet Sharing?
(I need to connect to the RaspberryPi via SSH and I need to find out its IP address)
Thanks to Joachim's comment, I found a proper solution for my usecase.
I'm currently on MacOS Big Sur and the solution was a following command:
cat /private/var/db/dhcpd_leases
When I connect a raspberry, the raspberry IP address can be found at the top.
Here is an example of the file:
{
name=raspberrypi
ip_address=192.168.2.8
hw_address=1,e4:5f:1:68:25:58
identifier=1,e4:5f:1:68:25:58
lease=0x618d916c
}
which technology they use for the backend in windows for remote access without internet?
here is the link -
https://support.microsoft.com/en-us/windows/how-to-use-remote-desktop-5fe128d5-8fb1-7a23-3b8a-41e636865e8c#connect-using-remote-desktop-connection=windows-7
In fact when you are not connect to internet you can not Access to other devices by remote access tools.in this case you can access to devices which are in your Local network only.
another condition is your device does not connect to internet directly but nearest your local router which has NAT configuration connected to internet and you use this router IP as gateway.so you are connected to internet and can remote access to other devices in your VLAN.
This may be my misunderstanding but you require a network connection to connect to Microsoft remote desktop..
No network connection no remote desktop.
Remote desktop works bt connecting across the network/Internet to TCP PORT 3389.
Now you "could" connect via modem but it would be so SLOOOOOWWWWW as to be basically unusable.
It is discussed here https://superuser.com/questions/992183/connect-2-pcs-together-via-the-pstn-using-dial-up-modems
Good luck
Tom
I'm really looking for advice and a starting point more than anything. So I'll try my best to explain my end goals and the challenge. I want to set up a local WiFi connection (P2P) between a Rpi3 (or any embedded system really, running linux) and a laptop. The Pi should be the server and laptop the client. The raspberry PI is going to be reading samples over USB from an SDR. I want the laptop to be able to connect to the network the pi throws up, and be able open a browser and view the results. I'm guessing what i need to read up on is ports/sockets and web programming in general. The cheepy IoT sensors and light bulbs seem to be able to do this (opening network and forwarding data) relatively easily but i cannot find any information online to aid in my quest. All the Best and thanks in advance.
Since the embedded system will be running Linux, you can do something along the following lines:
setup the wifi as an Access Point (example). Also setup DHCP Server (example), so the wifi will assign an IP address to connecting laptop.
Install a webserver (e.g. Apache).
Create the webpage/ web application you need to "serve" the data. Install this into Apache.
Ask follow-up questions if you like.
is it also possible to run Cast apps on Chromecast without internet access in a local network only?
Maybe with an own webserver.
For a showcase event I can not ensure access to the internet.
The use case is for demonstration only.
Thanks you.
As of early February 2015 the Chromecast requires an internet connection to stream even local content (i.e. from your computer over your wifi).
The reason is that, to facilitate the media playback, special code (Javascript) is run directly from Google servers. Why can't Google just download this code directly to the Chromecast one time? I believe it has to do with security amongst other reasons (some nice and some not so nice)
The evidence? My internet goes down all the time, interrupting whatever I'm casting.
As Leon says, the 'cast needs Internet access part of the time. Booting (I didn't know that!), and to resolve the AppID to the receiver app URL. Once the 'cast has the URL to load and had resolved the hostname in the URL to an IP address, it no longer requires the Internet, IF everything is set up correctly and on the local subnet.
For example, I develop cast apps at home. Lets say I registered my app and the custom receiver associated with it is at https://10.0.0.5/basil_app1/reciever.html (or at a hostname that resolves in public DNS to the private IP 10.0.0.5, a hostname is what I actually use).
Then, if my app needs to load further media, it can reference it either by the already resolved hostname, or by IP, again served from the host at 10.0.0.5
It sounds a little like you're unclear on how to set up and interact with a private network and web server, which is not a Chromecast problem really.
For me, if I had to do a Chromecast demo at (for example) a customer site and was unsure of the network situation, I'd set up the Chromecast to use a private hotspot Wifi network provided by my cell phone, and have all the web resources needed served from my laptop, again configured on the private Wifi network. Again, not really a 'cast programming problem.
I have the following setup to cast from my PC to the chromecast using a mobile wireless connection.
ChromeCast -> Local Router -> PC with PDANet -> USB connect to Mobile Phone with FoxFi app installed.
Basically I have the PC and ChromeCast connected to a new wifi router ($25 belkin from Walmart). Initially, Chromecast yells at you because there isn't an internet connection. To kill the complaining from ChromeCast, simply install FoxFi on your mobile and PDANet on your PC. I've connected them via USB since the hotspot feature wont work with my carrier.
Once the connection has been established, you should see 2 connections on your PC and you can cast from PC to Chromecast. Watching netflix on it right now. Haven't tested from another device yet.
So....
Install:
-FoxFi on Samsung Galaxy S4
-PDANet on PC/Laptop
Connect:
- Samsung Galaxy S4 -> PC (via USB in my case)
- PC -> Local router
- Chromecast -> Local router
On your PC you should see 2 connections. The PDANet connection with internet access and the Local router with no internet access.
Also note that I initially installed the chromecast on my primary wifi that has internet access. No issues there, but just in case you try to get this method to work and it doesn't, maybe try setting it up on a router with inet access first, then switch to the non-inet router.
Chromecast requires an internet connection when it boots up and to load the receiver apps. Your media content can come from a local web server once the receiver app is loaded.
I currently have a laptop connected to a WPA2 Enterprise wireless network, and I'm trying to connect a new device. There's no wireless set-up guide for the type of device I'm trying to connect, so I would like to manually enter in all the necessary settings. I need to know:
EAP Method (PEAP vs. TTLS)
Phase 2 Authentication if applicable (PAP vs. MSCHAPv2)
CA Certificate if applicable
Connection type (DHCP vs. Static)
If connection type is Static, I would need to know:
IP Address
Subnet Mask
Router
DNS
My assumption is that because I already have access to a laptop connected to / set up for the same network, there must be some way to retrieve that information about the network from my laptop while connected. Is there a way to do this? I'm using windows 8.
You can access to the wireless network configuration of the connected machine. For that you can navegate throught the gui or you can type in run (windows key+R) "ncpa.cpl". This command open directly the appropiate window. Double click the wireless connection and click on details, and you can see if this machine is connected using dhcp or static ip, ip address, mask, ... and in wireless properties button, security tab you can see the other details (EAP method, etc)
http://www.howto-connect.com/how-to-find-wifi-password-in-windows-8/