You are not logged in.
I'm trying to connect to my university's network via nmcli. They give instructions on how to connect using the gui'ed version of Network Manager, however this is neither desired, nor at the time available to me. I've read through the wiki as well as man nmcli, however cannot figure this out. I can connect to my network at my appartment, so I know that the wireless works. That isn't the issue. The issue is just translating one to the other.
http://opensource.marshall.edu/muwirelesspeap.html
Last edited by nstgc (2015-02-24 17:55:10)
Offline
Could you at least tell us what you tried exactly? Having a copy of your configuration (do not post your real credentials) would also be great.
Offline
I'm sorry for the late reply. My laptop is turning out to be more trouble setting up than I had expected and I needed to step away from it.
What I've tried was reading the wiki, the man pages, as well as the entry in /etc/NetworkManager which has the information about my existing connection for my own wi-fi. From this I couldn't gleam any thing that could help me. My best guess would be nmcli dev wifi connect {SSID} password {my user password}, but I need to specify my user name as well.
Offline
Have you tried:
nmcli dev wifi connect <SSID> username <username> password <password>
Jin, Jîyan, Azadî
Offline
Have you tried:
nmcli dev wifi connect <SSID> username <username> password <password>
No I have not. Somehow I missed that when reading though the manual. Thank you. I'll try this sometime next week.
[edit] I will report back one way or another, marking this as solved if it works, however I spent over 25 hours last week trying to get the thing set up and simply can't spend any more time.
Last edited by nstgc (2015-02-02 02:16:12)
Offline
You need to create a configuration file for this to work OR to use the GUI.
For the GUI, the configuration is pretty straight forward.
For the CLI, have a look at sample eduroam configuration files: the configuration is nearly the same.
Offline
I've read through the wiki
https://wiki.archlinux.org/index.php/WPA2_Enterprise
NetworkManager can generate WPA2 Enterprise profiles with graphical front ends. nmcli and nmtui do not support this.
I'd suggest connman, the format is fairly straightforward unlike other clients.
(or you can generate the profile with the NM GUI on a different system, or install it temporarily)
Last edited by Alad (2015-02-03 15:17:57)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
I've read through the wiki
https://wiki.archlinux.org/index.php/WPA2_Enterprise
NetworkManager can generate WPA2 Enterprise profiles with graphical front ends. nmcli and nmtui do not support this.
I'd suggest connman, the format is fairly straightforward unlike other clients.
(or you can generate the profile with the NM GUI on a different system, or install it temporarily)
I swear I read the wiki. In any case, I'm probably going to almost completely deviate from the Arch way due to a lack of time needed to do things right the first time. Chances are I'll go with Antergos (still using Arch on my desktop). The only real difference, from my 2.5 months of using it, is that it doesn't start out fitting the user like a glove which is something you really only get by building your system up from next to nothing.
Offline
NetworkManager can generate WPA2 Enterprise profiles with graphical front ends. nmcli and nmtui do not support this.
For the records: they cannot create such a configuration from scratch however both can use an existing NM config file.
Offline
how to connect using the gui'ed version of Network Manager, however this is neither desired, nor at the time available to me.
Is there any reason why you are not using the GUI version?
Offline
If you can write lua/lgi, ruby or python code, then it is possible to create connections from the commandline. There are some examples in the git tree:
http://cgit.freedesktop.org/NetworkMana … e/examples
http://cgit.freedesktop.org/NetworkMana … nection.py
Edit: You can either create a connection editor or a script for your specific connection. Such a specific script only makes sense if you want to create the connection without root privileges which are required to create the settings file manually.
Last edited by progandy (2015-02-06 19:10:53)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
I ended up just using the GUI. I prefer being able to do things with command line. I'm sure one of these suggestions will work, but I don't have time to make them work.
On a side note, I didn't have to resort to something non-Arch for my laptop.
Offline