LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-19-2015, 05:04 PM   #1
nix84
Member
 
Registered: Apr 2014
Posts: 276

Rep: Reputation: Disabled
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?
 
Old 08-19-2015, 08:06 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Try putting "wicd-client" in your startup programs area in whatever desktop environment you are using.
 
Old 08-19-2015, 11:20 PM   #3
nix84
Member
 
Registered: Apr 2014
Posts: 276

Original Poster
Rep: Reputation: Disabled
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.

Last edited by nix84; 08-21-2015 at 01:12 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using system() for a sequence of shell commands !!! apanimesh061 Programming 6 09-21-2011 11:00 AM
[SOLVED] doing a sequence of commands in a bash script. xeon123 Linux - Newbie 2 12-02-2010 11:49 AM
Linux gurus - need an explanation for the following shell commands sequence neo77777 Linux - General 2 02-11-2008 02:47 AM
how to load sequence of commands automatically at startup? mac1234mac Linux - Software 3 05-06-2006 04:17 AM
wat are the sequence of commands to upgrade GCC 3.2.0 to 3.4.0 newbloggy Linux - Newbie 2 04-25-2006 05:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration