Create a new Hotspot with just Terminal and NetworkManager/nmcli
996
The description in the question on SO that I linked in my comment above actually worked on my RasPi 2 with Raspbian Jessie. I simply followed steps 0-4 there (changing step 3 as needed for the RasPi 2 hardware according to the official documentation) and then set up the access point with network manager.
I took all the settings for the latter from the access point I created with ubuntu on my notebook. In particular,
802-11-wireless-security.proto: rsn
802-11-wireless-security.pairwise: ccmp
802-11-wireless-security.group: ccmp
seem to be somehow important for WPA.
However, the downside might be that you probably have to do all the compiling again every time a new kernel version is released.
Related videos on Youtube
Author by
user3829658
Updated on September 18, 2022Comments
-
user3829658 almost 2 years
how could i open a dialog box in fxml controller as it requires
stage
Dialogs.create() .owner(---what should i write here---) .title("Information Dialog") .masthead("Look, an Information Dialog") .message("I have a great message for you!") .showInformation();
I have added following jar
controlsfx-8.0.6_20.jar controlsfx-samples-8.0.6_20.jar fxsampler-1.0.6_20.jar
Please help me.
-
mstr over 8 yearsI think I have a very similar problem on my RasPi 2 with the same WiFi Dongle. Maybe NetworkManager has the same problem with this chipset as hostapd (see e.g. daveconroy.com/… or raspberrypi.org/forums/viewtopic.php?t=103825&p=717560 ), but I can't find a solution for NetworkManager.
-
malachi54 over 8 yearswell until now i did not find any solution with networkmanager/nmcli. then i thought i should just go with hostapd for my wlan1 interface and let it be in the
/etc/network/interfaces
file. wlan0 is managed by network manager. i followed this howto:http://jankarres.de/2015/06/raspberry-pi-wlan-access-point-einrichten/
it is in german. but i think it is very clear. -
mstr over 8 yearsSure that's a possible workaround, but I'd really like to use NetworkManager, it's just so much easier... And I don't understand why it works with Ubuntu 15.04 on my notebook, but not with the newer Raspbian Jessie. Maybe I'll try to install some different OS on the RasPi, if I have time.
-
malachi54 over 8 yearswell with hostapd it is not that hard. if you want i can send you some config files of mine. and a little script to "toggle" the service. but i understand you. i wanted the solution with network manager so it is just one package i need to run the system. but it is ok now with hostapd+networkmanager.
-
mstr over 8 yearsThank you, but I'm quite sure I could do it with hostapd if I wanted too (the tutorial you linked above looks good, and I am german). I just found stackoverflow.com/questions/32703715/… and I will try that now :-)
-
-
malachi54 over 8 yearsi won't try this solution (since really no time and the project is actually finished). but if you say it worked for you i guess i should accept this answer for now