Open Lynn-hh opened 1 month ago
Hello @Lynn-hh , Thank you for reaching out on the Turtlebot 4 github. APologies for the late reply on this.
After SSH'ing into the Turtlebot. are you able to make the necessary changes in the Turtlebot Setup Utility to connect to wi-fi (https://turtlebot.github.io/turtlebot4-user-manual/setup/basic.html#connect-the-raspberry-pi-to-your-network)? To do so:
turtlebot4-setup
If the above process fails would it be possible to verify the following:
journalctl -b > turtlebot4_log.txt
With regards to the date and time being out of sync, once the Turtlebot connects to a network it should sync. If it does not try the instructions found here to force a sync - https://ubuntu.com/server/docs/use-timedatectl-and-timesyncd
Let me know how these recommendations work for you. Looking forward to hearing from you soon. Best Regards, Saif
Thank you so much, I will try what you suggest
smatarCPR @.***>于2024年10月16日 周三14:24写道:
Hello @Lynn-hh https://github.com/Lynn-hh , Thank you for reaching out on the Turtlebot 4 github. APologies for the late reply on this.
After SSH'ing into the Turtlebot. are you able to make the necessary changes in the Turtlebot Setup Utility to connect to wi-fi ( https://turtlebot.github.io/turtlebot4-user-manual/setup/basic.html#connect-the-raspberry-pi-to-your-network)? To do so:
- Run the command turtlebot4-setup
- Scroll to Wi-Fi Settings and enter the W-fi settings sub menu.
- Change Wi-Fi Mode from [Access Point] to [Client]
- Enter the details of the network, SSID is the network name, the option below that should be password.
- Select the bandwidth of the wi-fi network: 5.0 GHz or 2.4 GHz.
- Scroll down and select the Save option, you should be brought back to the main menu. Scroll down and select the Apply Settings.
- Exit the setup utility, the Raspberry Pi should reboot with the new network settings applied.
If the above process fails would it be possible to verify the following:
- Please provide the turtlebot logs using journalctl -b > turtlebot4_log.txt
- Verify that the network you are connecting to does not have additional security settings such as MAC address white listing or security beyond a password.
With regards to the date and time being out of sync, once the Turtlebot connects to a network it should sync. If it does not try the instructions found here to force a sync - https://ubuntu.com/server/docs/use-timedatectl-and-timesyncd
Let me know how these recommendations work for you. Looking forward to hearing from you soon. Best Regards, Saif
— Reply to this email directly, view it on GitHub https://github.com/turtlebot/turtlebot4/issues/480#issuecomment-2417756159, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLNXUM2K7CSE65LMEB63423Z324QTAVCNFSM6AAAAABPMNDH3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXG42TMMJVHE . You are receiving this because you were mentioned.Message ID: @.***>
Robot Model
Turtlebot4 Lite
ROS distro
Humble
Networking Configuration
I do not know
OS
Ubuntu 22.04
Built from source or installed?
Installed
Package version
22.04
Type of issue
Networking
Expected behaviour
After the boot, the wifi can be retrieved and successfully connected to the wifi
Actual behaviour
Now I can only use the internet cable to ssh the turtlebot4. Then I check with it, the first problem is the time error. It's still in 2023, but now is 2024. When I use the "iwconfig" command to see the current status of the wireless card, it is not AP mode, it shows "managed". Maybe the current wireless NIC is in Managed mode Then I disconnected the wifi connection, modified hostapd and started it. At this time, the wifi could be retrieved, but my computer could not connect to it.
Error messages
No response
To Reproduce
iwconfig wlan0 the current wireless NIC is in Managed mode sudo nmcli device disconnect wlan0 sudo nano /etc/hostapd/hostapd.conf sudo systemctl restart hostapd
Other notes
No response