Using wireless
Tom
tom at tomt.me
Sat Apr 2 21:46:01 CEST 2016
First, great tool! This thing is awesome and I'm not sure you thought
about this use case but I use it on my laptops. I think its a perfect
for this solution. If my laptop is home, chances are its safe. If I'm at
a coffee shop and somebody jacks my laptop they will not likely get my
data if the screen is locked.
While Mandos is awesome at things on an ethernet cable I've switched to
laptops and had given up on it when I unplugged the ethernet cable. That
was until poking around I found an edited:
root at Laptop:~# cat /etc/mandos/network-hooks.d/wireless.conf
# Extra options for wpa_supplicant, if any
#WPAS_OPTIONS=""
# wlan0
ADDRESS_0=##:##:##:##:##:##
MODULE_0=brcmsmac
wpa_interface_0(){
# Use this format to set simple things:
wpa_cli_set ssid notpublicwifi
wpa_cli_set psk "superseceretpassword"
# Use this format to do more complex things with wpa_cli:
#"$wpa_cli" -p "$CTRLDIR" -i "$INTERFACE" bssid "$NETWORK"
00:11:22:33:44:55
#"$wpa_cli" -g "$CTRL" ping
}
DELAY_0=10
IPADDRS_0=dhcp
I'm running Ubuntu 14.04.4 LTS
mandos-keygen -v
/usr/sbin/mandos-keygen 1.6.0
I'm really out of my element on this one, I've tried to do some reading
but I'm not really sure where to begin. Normally I would look for error
logs but the only error I get I don't think is related:
p11-kit: couldn't list directory: /usr/share/p11-kit/modules: Permission
denied
Now, I'm checking mandos-monitor to see if I am asking for a key and
simply being denied. That doesn't seem to be the case this time.
I didn't see a request from the DHCP server from this machine in my
router's log file. At first I thought it was a module problem
I ran modinfo brcmsmac and added everything it listed as a dependency to
/etc/initramfs-tools/modules. Specifically I appended:
cordic
cfg80211
brcmutil
mac80211
bcma
brcmsmac
Still not requesting a DHCP address. I'm not sure if its a setting
somewhere that I've missed. initramfs is alien to me to start with, and
adding wireless on top of that is making it worse. I've attempted to
google getting my wireless chip working in initramfs but it seems to be
a very limited usecase and I haven't found anything that could help me
solve this. I just found that file and decided to try and run with it
thinking it would be pretty self explanatory. I've been at this for
quite a few days off and on at this point and I don't seem to be making
any headway.
Any help would be appreciated!
Thanks,
Tom
More information about the Mandos-Dev
mailing list