You are not logged in.
I want to be able to connect to the wifi on each login or better yet on each reboot/boot. I am using netctl up untill now which needs me to be rooted.
But I am sure there must be a way to do it without root. I am guessing adding a user to some group to allow hardware acces would do it?
Last edited by bibek22 (2015-09-16 07:46:34)
Offline
Generally, modifying network interfaces requires root permissions. Have you tried configuring sudo to use netctl? Another option is to use a GUI to manage your WiFi connections.
Offline
Well, yeah. sudo netctl works. But I want to automate the process. I want it to do so on each login session. I am not sure how I should go about doing it. I guess, I could do it using cron. But I am not famililar with cron so much. I added the follwing line to the autostart file in openbox configuration which gets executed each time I startx:
sudo netctl start <profile>
I was hoping I'd be prompted to enter root password. But that doesn't happen and connection isn't established.
I've seen distros allowing even guest users to connect to and switch BSS. I don't know how to do that. any suggestions?
Offline
Just set it up to work when you boot. The wiki page has the details.
Offline
As Jason wrote above. Look at the wiki. You can enable netctl / auto service
Offline
Or use NetworkManager, which works as a normal user trough the magic™ of polkit.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Systemd is very much new to me. Also It wasn't quite easy thing to grasp. I've been through that wikipage before but it was kinda overwhelming. Now that I've learnt more about systemd/ctl, it isn't so any more.
Thanks everyone!
Last edited by bibek22 (2015-09-16 05:00:19)
Offline