hi darren
I was wondering if you could help me
yeah when I accidently deleted the karma code I was in a panicking and instead of refresh the factory settings I went to google and I pasted in what I thought was a karma code before hitting update. Now when I hit factory settings it seems to go back to the one I pasted.
After days of fustrating I discovered the site called digninja and I pasted in a sample karma
==============================================================================
# config file to use with the Karma’d version of hostapd
# created by Robin Wood – robin@digininja.org – http://www.digininja.org
interface=wlan0
driver=nl80211
ssid=FreeInternet
channel=1
# Both open and shared auth
auth_algs=3
# no SSID cloaking
ignore_broadcast_ssid=0
# -1 = log all messages
logger_syslog=-1
logger_stdout=-1
# 2 = informational messages
logger_syslog_level=2
logger_stdout_level=2
# Dump file for state information (on SIGUSR1)
# example: kill -USR1
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
# 0 = accept unless in deny list
macaddr_acl=0
# only used if you want to do filter by MAC address
accept_mac_file=/etc/hostapd/hostapd.accept
deny_mac_file=/etc/hostapd/hostapd.deny
# Finally, enable Karma
enable_karma=1
===============================================================================
hoping that this would fix the problem I then hit update followed by grep -v -e random /tmp/karma.log to see what the problem might entail and to my suprise
I found this error log
============================================================================
Executing: grep -v -e random /tmp/karma.log
Configuration file: /etc/hostapd/karma.conf
Line 1: invalid line ‘ config file to use with the Karma’d version of hostapd
‘
Line 3: invalid line ‘
‘
Line 5: invalid/unknown driver ‘nl80211
‘
Line 8: invalid line ‘
‘
Line 9: invalid line ‘both open and shared auth
‘
Line 11: invalid line ‘
‘
Line 12: invalid line ‘ no SSID cloaking
‘
Line 14: invalid line ‘
‘
Line 15: unknown configuration item ‘ -1 ‘
Line 18: invalid line ‘
‘
Line 19: unknown configuration item ’2 ‘
Line 22: invalid line ‘
‘
Line 23: invalid line ‘ Dump file for state information (on SIGUSR1)
‘
Line 27: Invalid group ’0
Line 28: invalid line ‘
Line 29: unknown configuration item ‘ 0 ‘
Line 31: invalid line ‘
‘
MAC list file ‘/etc/hostapd/hostapd.accept
‘ not found.
Line 33: Failed to read accept_mac_file ‘/etc/hostapd/hostapd.accept
‘
MAC list file ‘/etc/hostapd/hostapd.deny
‘ not found.
Line 34: Failed to read deny_mac_file ‘/etc/hostapd/hostapd.deny
‘
Line 35: invalid line ‘
‘
KARMA: Enabled
20 errors found in configuration file ‘/etc/hostapd/karma.conf
—————————————————————————
seeing these errors I know understand why my karma is disable. My only chance is to replace the files using the files from the site digninja
but I don’t know how
I also read in hak5.org/forums about a guy who had problems with Karma but was able to replace his entire files using something called WINSCP but unfortunetaly he did not leave details how he did it.
sorry for going on a bit but I am still learning how linux works. is there a chance you can point where I am going wrong
cheers
abbie
ps any help will do