Is this possible? I've no LAN cable, no USB to TLL cable and want to connect my raspberry pi 3 with my WLAN.
I've found this: How to set wifi to Android Things without an ethernet cable or adb but I can't boot the img file (https://developer.android.com/things/preview/download.html) and edit it. If I boot it on windows 10, it tells me errorenous image. If I boot it with a third party app like OSFMount I can boot it, but the content looks like opening the sd card after flashing the image, like following:
So no /data/misc/wifi/wpa_supplicant.conf file that I could edit... Am I mounting it wrong?
Any ideas on how to get this working without buying something? All I need to do is setting up the WLAN on the sd card directly somehow...
I could not find a way to successfully AND correctly mount all partitions on windows. A virtual machine with ubuntu helped mounting everything, but I could only mount it successfully with read permissions.
Final solution: I bought a UST to TTL cable, connected via putty to my raspberry pi and set up wifi via the console...
It's somehow sad, that there is no setup file on the boot partition (like the cmdline.txt and confix.txt file) that could simply be added, this would make things a lot easier...
Related
For a digital design course, we have to use a microcontroller as the CPU of the system. The chip we plan to use is STM32L0C8T6. We want to integrate the SSH function into a keyboard. The way we plan to do it is to connect the STM32 with a Raspberry pi zero or 2 through UART or SPI. The Pi will connect to the WIFI and connect to other hosts through SSH. An LCD display is also connected to the STM32 which will work like the monitor, displaying all things you will see when ssh, like whatever is shown in the terminal when ssh.
My question is how to build the connection between the terminal and STM32. One possible way is to dump everything in the terminal into a file and send the file back to STM32 for display. I think this will be really slow. Are there any better ideas?
The question sounds wired, and I know we could connect LCD directly to the Pi, but this is the project requirement to have to follow. The LCD has to connect to the microcontroller.
Thank you so much!!!!
I have one device that is bluetooth PAN capable and had success with a different raspberry pi. I think I messed up the configuration files on this new one but didn't change them before I enabled some process that I beleive created the pan0 network interface (seen in ifconfig). This is the guide I used "prog.world/raspberry-pi-pan" and I think I put in the wrong Address in /etc/systemd/network/pan0.network. I later tried to alter that interface with "ifconfig pan0 <actual IP 192.168 address that I assume is correct>. I tried to connect again and still am not recieving any info but I get confirmation that the connection is up and running on both sides. Could there be a way to restart or edit something to fix this? Look at the guide I mentioned above. Not sure how this all works after I make the config network files but it might have happened when I did the "sudo systemctl enable" command for systemd-networkd, bt-agent, and bt-network. Maybe there is another file I need to change the IP on?
Let me explain my problem: I have a raspberry Pi with Kodi installed and I use it with a IPTV service. This service only allow me to use it in one device at a time and sometimes I want to use it on my phone.
I'd like to be able to turn off my raspberry remotely so I can watch it in my phone whenever I want. I tried to create a web server that would allow me to run a script that would turn off the device but I can't access it because the raspberry IP takes me to some kodi stuff.
So to sum up, I'd like to go to my raspberry IP with Kodi installed, press a button and turn off the device. The web stuff I can take care of.
Any thoughts?
The only safe way to do this is to have a VPN tunnel that lets you access your internal network. This is much safer than opening up a port to Kodi on your router. It would just attract every bot and hacker out there.
Once you have a working VPN tunnel between your home network and your smartphone, just use a Remote Control App to shut Kodi down cleanly.
You can use a Kodi remote app for your mobile device. E.g. Kore (official remote app for Android) does have a shutdown button.
I think the best and easy way is to install dataplicity in your Raspberry Pi and access via dataplicity web or the app (Android or iOS) to the Terminal and use the command: sudo shutdown -h now or sudo poweroff
I have a nodejs server in my raspberry and I want people to be able to connecto to it just connecting to the raspi.
The ideal scenario is where in my phone I see the raspi SSID, I connect to it. Then I open chrome enter the ip:port of the raspi itself and it works. Nothing fancier.
What I don't know how to search for in the internet is how to set my pi in a way that it opens itself to the world and appears in the SSID list in my phone. I don't need internet sharing nor anything. Just accessing the nodejs server in the pi.
This can be easily achieved depending on the OS you are using in your pi. Use basically need to use hostapd and a DHCP Server.
You can use a script like create_ap.
I run the command wifi-menu in my archARM system ,and it already found the Wi-Fi hotspot,
but the the connection failed.
here has a photo: http://i.imgur.com/yIQpQaL.jpg?1
note: I use the EDUP EP-N8508GS USB wireless adapter.
So now,what should I do?
I've seen this problem on an x86 Arch system, this is what fixed it: Look in /etc/netctl/ and find the config for your wireless connection. Add the line WPA_DRIVER='wext'. If you already have a WPA_DRIVER line, change it and make sure it is using the wext driver. If /etc/netctl/ doesn't exist it is because you haven't updated Arch in a while, and the files you are looking for are located in /etc/network.d