I have installed kubunto on an old laptop - I have two wifi networks and neither are useable from network manager.
I have setup a wpa_supplicant config that works for the WPS network - except not automatically doing DHCP.
I have tried multiple ways of disabling network manager and auto running the wpa_supplicant and dhclient - but while they work from the command line, I cannot get them to autorun on startup.
I tried local.rc, a systemd start up service etc and other ways -- this was all from online instructions, I am not familiar enough with linux to know this myself.
What is the recommended way to go?
My original command line script was:-
#! /bin/sh
systemctl stop NetworkManager.service
wpa_supplicant -B -Dwext -iwlp2s0 -c/etc/wpa_supplicant.conf
dhclient wlp2s0
which worked online, but this has been hacked around quite a bit in trying to get it to auto run (I disabled network manager, etc) but this doesn't work, so I am thinking of reinstalling from scratch (to undo all my changes) and start again -- once I know what I should be doing!
I have setup a wpa_supplicant config that works for the WPS network - except not automatically doing DHCP.
I have tried multiple ways of disabling network manager and auto running the wpa_supplicant and dhclient - but while they work from the command line, I cannot get them to autorun on startup.
I tried local.rc, a systemd start up service etc and other ways -- this was all from online instructions, I am not familiar enough with linux to know this myself.
What is the recommended way to go?
My original command line script was:-
#! /bin/sh
systemctl stop NetworkManager.service
wpa_supplicant -B -Dwext -iwlp2s0 -c/etc/wpa_supplicant.conf
dhclient wlp2s0
which worked online, but this has been hacked around quite a bit in trying to get it to auto run (I disabled network manager, etc) but this doesn't work, so I am thinking of reinstalling from scratch (to undo all my changes) and start again -- once I know what I should be doing!
Comment