This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install smbclient cifs-utils | |
sudo mkdir /share/ | |
sudo mount -t cifs -o username=john,password=pass123 //somehostname/public/ /share | |
# or | |
smbclient //somehostname/public -U john | |
get testfile.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net share |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mount -t vboxsf shareNameHere /mnt/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global core.autocrlf true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netstat -p TCP -nofat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g++ -o WebSocketServer WebSocketServer.cpp -lPocoFoundation -lPocoNet -lPocoUtil -I/usr/include/Poco |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set-environment -g CHERE_INVOKING 1 | |
set -g display-panes-time 5000 | |
set-window-option -g mode-keys vi | |
bind-key -T copy-mode-vi 'v' send -X begin-selection | |
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel | |
set -g status-bg black | |
set -g status-fg white |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@sysbox0:~# hostapd /etc/hostapd/hostapd.conf | |
Configuration file: /etc/hostapd/hostapd.conf | |
Failed to create interface mon.wlan0: -95 (Operation not supported) | |
wlan0: Could not connect to kernel driver | |
Using interface wlan0 with hwaddr 5e:f9:79:c5:d0:ee and ssid "clinica" | |
random: Only 16/20 bytes of strong random data available from /dev/random | |
random: Not enough entropy pool available for secure operations | |
WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects | |
Failed to set beacon parameters | |
wlan0: Could not connect to kernel driver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ethtool -i wlan0 | grep driver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -q https://git.io/voEUQ -O /tmp/raspap && bash /tmp/raspap |