Child pages
  • 802.1X secured wifi installation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
....
# Settings
cfg_mysql_user="freerad" # MySQL username
cfg_mysql_user_db="radius" # MySQL database name where to update passwords
cfg_mysql_log_db="shwl_add_shwl_del_pmu" # MySQL database name where to log events
cfg_mysql_user_table="radcheck" # Table in MySQL database where to update passwords
cfg_mysql_log_table="event_log" # Table in MySQL database where to log events
cfg_verbose=0 # Print verbose messages on stdout
....

 

Managing users

Adding users

Code Block
mysql -uroot
	use radius;
	INSERT INTO radcheck VALUES ('','username','NT-Password',':=','');
exit
adduser username # When prompted for "Current password:", ignore and press enter

Changing password

It is sufficient to use standard utilities such as 'passwd', the password will be updated in the MySQL database as well. Tested with 'passwd' and User Accounts applet in GNOME. In case prompted with "Current password:" (exactly as written here) it is sufficient to ignore and press enter.

Deleting users

Code Block
mysql -uroot
	use radius;
	@@@@@@@
exit
deluser username


WiFi router (NAS) configuration

...