NAO robot running Gentoo based OS cannot connect to Wi-Fi automatically - linux

I am using NAO robot for my Masters Thesis. It is running OpenNAO OS Version 2.1.4.13. This OS is Gentoo based.
The problem I am facing is that it doesn't automatically connect to one specific Wi-Fi hotspot in my lab. I need to get this robot online on that specific network. The Wi-Fi is listed in Network Section on NAO's webpage. If I connect to the robot using a lan cable and then selects that specific wireless SSID listed on NAO's webpage, it'll connect fine. But it doesn't connect automatically after reboot. It used to connect to the same Wifi SSID without any hassle a few days ago.
Please tell me what should I do.

You can try to make the connection forced in your app : the "connection manager" service will help (http://doc.aldebaran.com/2-1/naoqi/connectionmanager/).

Related

Website timeout, but only on mobile devices - IIS

I am trying to test a website on mobile devices, but I keep getting timeouts on Android (using Chrome) and iOS tablets and smartphones (using Safari). My Windows tablet and a separate Windows PC (both using Chrome) work fine. Here is my network setup. It's a little convoluted, but blame COVID-19 and working remotely for that.
Web Application: DotNetNuke running on IIS using dedicated MSSQL database to store user account information and localization settings.
Web Server: Windows 10 running a local MSSQL web server database and IIS. Connected Wireless to my internal network. Using a VPN client to connect to the Rest API within my work network to access the core application server. The web server has a self-signed, untrusted certificate.
Windows PC: Windows 10 laptop connected via wire to the network. Certificate error is ignored by the user in Chrome and the webpage comes up.
Windows Tablet: HP tablet running Windows 10 connected wireless to my network. Certificate error is ignored by the user in Chrome and the webpage comes up.
Android Phone: Google Pixel 3 connected via WiFi to my network. Using Chrome, connection times out.
I've try a couple of Android devices and an iPhone, and neither connect. I'm not sure where to begin debugging this. I know it worked last week because I tested the configuration to prepare for testing this week. Any blaring issues to look at, other than perhaps a code change that broke the mobile rendering?
What is the way of your Windows Tablet connected the network? Is the wireless connected way the same to Android Phone? in other words, using WiFi too?
I doubt if your Wifi network works like before. Check your IP of the Android Phone, then Ping the IP on the webserver, and confirm whether the network with the target web server is unobstructed.
Alternatively, we Ping the gateway of the network on both an Android phone and the website.
About the Ping Tool in Android phone.
https://www.makeuseof.com/tag/android-networking-apps/
Feel free to let me know if there is anything I can help with.

How do devices like an Amazon Echo connect to networks

For example with an amazon echo, to connect it to a network, you load up the app on your phone and the echo is visible to your phone. Is this done through bluetooth or is the echo broadcasting a wireless network that the phone sees?
I am trying to make a device (based on a raspberry pi) that needs to be connected to a wireless but it is not connected to a mouse, keyboard, or monitor and I don't want to have to SSH into the pi to put in the network credentials. I am hoping to somehow connect a phone to it on first bootup and put in the network credentials so it can connect and do the rest of its job. Any advice or information would be helpful. I hope I have described what I am looking for correctly. Thank you.

How to p2p_connect to device with WiFi Direct without MAC Address? (Raspberry Pi and Android)

I have an Android tablet and A Raspberry Pi and I want to established a connection between them automatically when the tablet sends a request to the Pi.
I followed an Android application example here and start discovering any nearby devices. (https://www.youtube.com/watch?v=qnY97iBxp30)
At the same time i run sudo wpa_cli and p2p_find 20. The Android application detects the Pi, and I try to establish connection with the Pi which will display
<3>P2P-GO-NEG-REQUEST TABLET_MAC_ADDRESS dev_passwd_id=4
Normally I would just p2p_connect TABLET_MAC_ADDRESS pbc to successfully connect them together but I find it inefficient if I were to swap to another mobile device.
Are there any other ways to connect the tablet without writing the tablet mac address? For example connecting to that specific device ssid when they send a P2P-GO-NEG-REQUEST to the pi?
TL;DR Nope.
If we look at the OSI ISO 7 layer model for network communication we can see that the Media Access Control (MAC) address is vital for identifying which device is which within a wifi network.
You could try setting up a bluetooth connection or a token-ring, but I suspect that would be more effort than you are looking for.
With IPv6 your devices could use neighbour discovery to automate past the MAC entry to the Internet Protocol, and its possible to connect between devices using their link-local address (fe80::some:thing)
Wifi carries packets of data, that have addresses. By analogy, if I tell you which town I live in, but don't write my building address on the packet, you are going to have a hard time delivering it.

Enable both WiFi and Ethernet on Pi running Stretch

I'm working on a project where a Raspberry Pi 3 runs a python server which controls some arduino's that are connected to the same router via a switch. I'm using a websocket to display a GUI in my browser.I need to be able to use the gui over my primary network connection which has internet acces. The situation looks like this :
The problem is that I can't get both WiFi and Ethernet to work, just one at a time. This has mainly to do with running Stretch, but downgrading is not an option. On older Raspbian version's I could use the allow hotplug or auto setting in the interfaces file to make sure both interfaces are up. But I've heard you should not touch the interfaces file on Stretch. Can someone tell me how to do it ?:) Thanks a lot!

Connecting internet to Raspbery Pi board

I have successfully ported Linux kernel to Raspberry Pi board.
But now i need to have Internet connection into it.
And my internet connection is like, it needs a user name and password to login then only we can access Internet(wired internet through LAN or RJ 45 connector). And this interface for entering username and password comes in a browser.
But now in case of Raspberry pi , its just a kernel so , i do not have a browser in it.
So how to connect this internet connection in Board.
Thanks
The hardware solution is to use a home router that does the logging-in for you, and then acts as a gateway between your local LAN and the Internet. You would connect the Raspberry Pi to one of the router's LAN ports, and use either DHCP or static IPs on that local net.
A software solution might be using e.g. curl to implement some kind of login-script that fakes the accesses to the web page.
If you could connect it (temporarily) to an Internet connection that doesn't require a login/password, you could install a command line based browser. I would suggest looking into Lynx, if you choose to do it this way. http://en.wikipedia.org/wiki/Lynx_%28web_browser%29

Resources