LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Need nmcli commands in the correct sequence (https://www.linuxquestions.org/questions/fedora-35/need-nmcli-commands-in-the-correct-sequence-4175551188/)

nix84 08-19-2015 05:04 PM

Need nmcli commands in the correct sequence
 
I could not access the nm-applet via the notification area (that would be nice to know why) so am trying to create a bash script to connect to wifi access point in Fedora 22.
I researched the internet and developed a lengthy list of nmcli commands but think I am either leaving out something or doing something in the wrong order.
Here is what I have "basically" done:
nmcli device yields:
DEVICE TYPE STATE CONNECTION
wlp0s29u1u3u2 wifi disconnected --
wlp2s0 wifi disconnected --
enp1s0 Ethernet unavailable --
lo loopback unmanaged --

To connect I've used:
nmcli con up id "my wifi"
I also tried the nmcli command also using the password.
I have validated that there is a profile for the access point and that the network manager sees the access point with a signal over 40.
Can someone help by identifying the correct nmcli commands and the order they should appear in?

frankbell 08-19-2015 08:06 PM

Try putting "wicd-client" in your startup programs area in whatever desktop environment you are using.

nix84 08-19-2015 11:20 PM

Thanks but difference between NM and wicd with changing out and adding and it appearing to be a personal preference from what I see on the web I will stay with NM for now. Or until latency problems occur with f22.

FWIW, nmcli con show -a has no output save the column headings.
nmcli con up id "my wifi" constantly fails given the passkey.
I don't recall the nmcli command but the one which shows the networks NM knows about works and sees "my wifi"

Aug20: Scan of web 4 means of connecting found most rely on:
nmcli dev [status | wifi] followed by
nmcli d connect <access point name>
Have had no luck with these.


All times are GMT -5. The time now is 10:44 PM.