I installed Fedora Server on PI 3 and everything works. I want to connect to hidden wifi networks. I want when my Fedora boot, it connect to Hidden networks and I can control it by SSH over wifi. I can not find good solutions. The router of the wifi network uses DHCP to give IP to connected devices.
I want connect to hidden network by nmcli, but I do not know how. Search google can not help.
On Fri, 2019-05-24 at 08:34 +0000, Mostafa Faridi wrote:
I want connect to hidden network by nmcli, but I do not know how. Search google can not help.
Do you know the SSID?
This syntax could be of help (adapt it to your needs):
sudo nmcli con add con-name connectionName ifname wlan0 type wifi ssid yourSSID ipv4.method auto wifi-sec.key-mgmt wpa-psk wifi-sec.psk yourPassword
sudo nmcli con up connectionName
Sorry, I have not been following the thread but
sudo dnf install tlp sudo nano /etc/default/tlp
is a good package have.
On Fri, May 24, 2019 at 12:27 PM Mostafa Faridi mfaridi@fedoraproject.org wrote:
I have SSID and password too. _______________________________________________ arm mailing list -- arm@lists.fedoraproject.org To unsubscribe send an email to arm-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
when I run this command sudo nmcli con add con-name mfaridi ifname wlan0 type wifi ssid faridi ipv4.method auto wifi-sec.key-mgmt wpa-psk wifi-sec.psk 12223333333 and hit enter, I see this error bash: !@ : event not found I have !@ and other characters in my password. and it fails.
can I run this command by root and not sudo?
I have some unsuccessful config. can I delete all config from /etc/sysconfig/networks.script?
Thanks, I put password in '' and I do not see that error again. But when I type next command to connect hidden network I see nee error. https://www.dropbox.com/s/cmr9r0ato32r6co/20190524_160034_HDR.jpg?dl=0
On Fri, May 24, 2019, 1:35 PM Mostafa Faridi mfaridi@fedoraproject.org wrote:
Thanks, I put password in '' and I do not see that error again. But when I type next command to connect hidden network I see nee error.
Are you sure that the SSID is correct? Uppercase and lowercase letters?
I remove all cfg files from /etc/sysconfig/network-scripts And make new connection and I run this command sudo nmcli con up connectionName And it connect to wifi network. But after reboot, I have to connect to Fedora server by keyboard anf and run this command sudo nmcli con up connectionName
I want my fedora server connect to wifi network at boot timr and autostart.
On Fri, May 24, 2019, 6:33 PM Mostafa Faridi mfaridi@fedoraproject.org wrote:
I remove all cfg files from /etc/sysconfig/network-scripts
You could use nmcli con delete
But after reboot, I have to connect to Fedora server by keyboard anf and
run this command sudo nmcli con up connectionName
Try to set auto connection to yes.
sudo nmcli con mod connectionName connection.autoconnect yes
BTW we are going a bit off topic. These issues are not strictly related to the RPi or to the mailing list purposes. As said by pbrobinson use the man pages, or use a search engine: there are a lot of examples and documents about nmcli. Or go back to Ask Fedora ;-)
Ciao, A.
On Fri, May 24, 2019 at 5:57 PM Alessio alciregi@gmail.com wrote:
On Fri, May 24, 2019, 6:33 PM Mostafa Faridi mfaridi@fedoraproject.org wrote:
I remove all cfg files from /etc/sysconfig/network-scripts
You could use nmcli con delete
But after reboot, I have to connect to Fedora server by keyboard anf and run this command sudo nmcli con up connectionName
Try to set auto connection to yes.
sudo nmcli con mod connectionName connection.autoconnect yes
BTW we are going a bit off topic. These issues are not strictly related to the RPi or to the mailing list purposes.
You are correct that anything to do with nmcli or WiFi connections aren't RPi or even arm specific because we have identical built options and libraries/build options across all architectures. That being said having this sort of conversation on the list is just fine, it also helps others find answers to similar problems.
As said by pbrobinson use the man pages, or use a search engine: there are a lot of examples and documents about nmcli. Or go back to Ask Fedora ;-)
Correct, there's a lot of good documentation for nmcli and I suspect anything that isn't clear there the answer will be quickly found with a google search.
That being said to provide explicit links to the documentation:
https://developer.gnome.org/NetworkManager/stable/nmcli.html https://docs.fedoraproject.org/en-US/quick-docs/configuring-ip-networking-wi... https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/htm...
On Fri, May 24, 2019 at 9:34 AM Mostafa Faridi mfaridi@fedoraproject.org wrote:
I want connect to hidden network by nmcli, but I do not know how. Search google can not help.
"man nmcli" if you're doing it from a command prompt, or check out the NetworkManager online docs, or docs.fedoraproject.org and it;s all very well documented. I believe I mentioned that in another thread.
P
thanks. I see that links. but the new problem is happening. I have !@( in my password for connecting to a hidden network.
when I run this command sudo nmcli con add con-name mfaridi ifname wlan0 type wifi ssid faridi ipv4.method auto wifi-sec.key-mgmt wpa-psk wifi-sec.psk 12223333333 and hit enter, I see this error bash: !@ : event not found I have !@ and other characters in my password. and it fails. can I run this command by root and not sudo? I have some unsuccessful config. can I delete all config from /etc/sysconfig/networks.script?
For user have same problem , after long time by guide users in ask Fedora problem solved.
https://ask.fedoraproject.org/t/connect-to-hiddn-network-fedora-server-30-ra...