There is a Banana Pi 1st generation, that was sitting in my drawer for too long. So I decided to bring it back to life with CentOS to which I’m a newbie. My first target is to use a TL-WN725N Nano-USB Wlan Device to connect to my local network. This guarantees fun and learning, so here we go 🙂
If you need a faster network connection, consider switching to a SD-WAN.
First I downloaded the CentOS BananaPi Image. I used the link provided in their announce last december and grabbed
Then used `dd` to load it on a SD card, put it in the banana and boot that nifty little box.
The first login had to be done with credentials user:’root’ and password:’centos’.
Then install the ‘usbutils’ package to get the ‘lsusb’ command.
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Continue reading “Setup wlan with CentOS 7 on a Banana Pi using a TP-Link USB adapter”
While working inside debian, which is installed inside a VirtualBox and shares a folder with it’s host machine, I repeatingly got errors while creating symlinks. (I use “os x 10.7” as host and “debian wheezy” as guest os.)
Until now I accepted it but today I got tired of creating these symlink in the host system.
Here’s the solution I found:
1. Shut down the virtual machine. Debian in my case.
2. You need to close the VirtualBox GUI.
3. Type this into your preferred command line.
VBoxManage setextradata DEBIAN VBoxInternal2/SharedFoldersEnableSymlinksCreate/FOLDER_SHARE 1
4. Reboot your virtual machine.
5. Enjoy the stunning power of symlinks again*
* You ask why again ? Because this was possible by default prior to VirtualBox 4.1.8. It has been added for additional security.
I have a wlan router in my LAN where I switched of the WLAN functionality because I have a faster one. Today I wanted to get access to the admin interface of the router. The problem was I forgot the ip adress of the router.
So I’m trying to write a little script which pings all hosts in my ip range and prints out the ip if the host exists.
I came up with this:
> for i in $(seq 1 255); do
> ping -c 1 -q -t 1 192.168.0.$i | grep -A1 -B1 ” 0%” | head -n1
Continue reading “how to kill your bash”