awjb's worldhttp://awbsworld.de
awbsworld.deTue, 27 Jan 2015 11:42:39 +0000en-UShourly1http://wordpress.org/?v=4.1.1awbsworld.dehttp://awbsworld.de/archives/163
http://awbsworld.de/archives/163#commentsTue, 27 Jan 2015 11:42:23 +0000http://awbsworld.de/?p=163http://awbsworld.de/archives/163/feed0WPA2-Enterprise home wifi via OpenWrthttp://awbsworld.de/archives/152
http://awbsworld.de/archives/152#commentsTue, 27 Jan 2015 11:26:06 +0000http://awbsworld.de/?p=152Continue reading WPA2-Enterprise home wifi via OpenWrt]]>For me as a IT professional providing wireless access even at home WPA2-Enterprise access is the way to go. However, WPA2-Enterprise enabled devices are usually quite expensive. A cheap but great solution is using a OpenWRT supported hardware. As of this writing, selection for the hardware fell on the TP-Link TL-WR841N router (Version 9.2) which was available at around 19€. Prerequisite of course is to have a radius server like freeradius available in your home network.

The version number of the router can be found on the bottom of the box. My router is a version 9.2 which corresponds to the v9 image provided by OpenWrt. Please check the hardware page to see which image is right for you version.

2. Step: Connect to the router
Add power and network cables to the router and connect the network cable to your computer. Power up the router with the on/off switch on the back and configure your computer to listen on a 192.168.0.x address eg. via ifconfig eth0 192.168.0.3 up. Next point your favorite web browser to http://192.168.0.1 and login (default admin:admin).

3. Step: Install OpenWrt
Select System Tools -> Firmware Upgrade in the menu and use Choose File to select the downloaded OpenWrt image. Before pressing Upgrade be sure you want to go ahead. This may void your warranty or brick your router. No responsibility taken… If you go ahead OpenWrt installation will take around 1 minute to complete. The router will restart on its own. If anything goes wrong read about debricking your router.

4. Step: Access the OpenWrt web frontend
Configure your computer to listen on a 192.168.1.x address eg. via ifconfig eth0 192.168.1.3 up and point your browser to http://192.168.1.1. You will be greeted by LuCI – the OpenWrt Lua Configuration Interface. Login via root without password and make sure to follow the announced link and set a password for the root user. While at it take a look at the ssh options and select what reflects your needs. Hit Save & Apply to save what you have configured.

5. Step: Dumb access point configuration
If your network provides dhcp, as mine does, there is no need for the access point to do this as well. Therefore some services can be disabled/removed. Switch to System -> Startup and disable odhcpd and dnsmasq. Next switch to Network -> Interfaces and select the LAN interface by hitting edit. Change the configuration of the device to your needs. For me this is DHCP client. Confirm what you are doing by hitting Switch protocol. If you want your access point to have a static ip teach your dhcp server the mac address for the LAN/br-lan interface as displayed. If you feel confident hit Save & Apply to save the settings.

Now got to System -> System and set the hostname and time options to your needs.

6. Step: Install WPA2-Enterprise supportNext go to System -> Software and select Update lists. This will refresh the package lists. Now Remove wpad-mini and other packages you dont’t want/need. Next install wpad via Available packages.

7. Step: Setup WPA2-Enterprise wifi
Browse to Network -> Wifi and hit Edit on radio0. Go to Advanced Settings and adjust the regulatory information as needed. Go back to General Setup and select the channel you want to use (or auto for automatic selection).

Next go to the interface configuration and select an ESSID for you network. Select Access Point as mode and go to the Wireless Security tab. Select WPA2-EAP as encryption an add your radius information as needed. Hit Save & Apply to save the settings. Now Enable the wireless network.

Enjoy your cheep and save WPA2 Enterprise WIFI!

]]>http://awbsworld.de/archives/152/feed0Howto Fedora 18 clamav and claws-mailhttp://awbsworld.de/archives/125
http://awbsworld.de/archives/125#commentsMon, 18 Mar 2013 20:43:23 +0000http://awbsworld.de/?p=125Continue reading Howto Fedora 18 clamav and claws-mail]]>The following steps will guide you through the setup to enable the claws-mails clamd plugin to scan your e-mails for virus etc. on a Fedora 18 setup. The prequisit is that you have claws-mail installed an configured for your email and that you can run commands as root via the sudo command.

If you want automatic updates via freshclam edit /etc/sysconfig/freshclam and remove the last four lines. This will try to update the virus database via cron every three hours.

Step 4: Configure claws-mail to utilize the clamd plugin

Now start up claws mail and load the clamd plugin via Configuration -> Plugins -> Load… -> clamd.so Next go to Configuration -> Plugins -> Clam AntiVirus and fill in the values as needed. If automatic configuration does not work disable the checkbox and enter the values you specified in scan.conf for TCPSocket and TCPAddr.

Now you can grep a test signature (like Eicar) and see how the clamd plugins reports (and acts) on the signature.

]]>http://awbsworld.de/archives/125/feed0Running 2013http://awbsworld.de/archives/118
http://awbsworld.de/archives/118#commentsSat, 16 Feb 2013 19:42:26 +0000http://awbsworld.de/?p=118Continue reading Running 2013]]>After a nice and successful year 2012 the running year 2013 is around the corner. Here are my plans so far:

]]>http://awbsworld.de/archives/118/feed0WindowMaker command generated proplist menushttp://awbsworld.de/archives/110
http://awbsworld.de/archives/110#commentsTue, 12 Feb 2013 20:01:25 +0000http://awbsworld.de/?p=110Continue reading WindowMaker command generated proplist menus]]>The next-style X11 window manager WindowMaker has been around forever. For a while now development has continued in the -crm branch mainly cleaning up code and integrating patches found in the packages of various linux distributions. Eventually this effort ended up in new official releases.

One of these additions down the road was the tool wmmenugen which can be used to parse xdg style desktop files into proplist files. The generated proplist files can in turn be read by WindowMaker e. g. as menus. However, up to now there was no direct way to dynamically use the proplists generated by wmmenugen as menus.

With thispatchseries the OPEN_PLMENU option has been added to WindowMaker to allow dynamically generated proplist menus. This allows for some nice dynamic menus like

]]>http://awbsworld.de/archives/97/feed0BIG 25 Berlin Half-Marathonhttp://awbsworld.de/archives/89
http://awbsworld.de/archives/89#commentsFri, 23 Mar 2012 10:38:08 +0000http://awbsworld.de/?p=89As announced earlier there are a couple of half-marathon events I want to take part in. Newest addition will be the BIG 25 Berlin Half-Marathon on May, 6th. While this event, ending in the well-known Berlin Olympic Stadium, traditionally has been a 25km event, this year a half-marathon distance is offered as well.
]]>http://awbsworld.de/archives/89/feed0wine-gecko coming to a fedora wine installation near you…http://awbsworld.de/archives/80
http://awbsworld.de/archives/80#commentsFri, 23 Mar 2012 10:29:50 +0000http://awbsworld.de/?p=80Continue reading wine-gecko coming to a fedora wine installation near you…]]>It is always a nice feeling when you can close a bug on your package which has been open for about two years. In this case I am talking about rhbz#573530 – titled “package gecko support”.

What does this mean? Wine implements its own version of the Internet Explorer. For this it uses a customized version of the Mozilla Gecko layout engine (see Wine Gecko). If wine creates a new wineprefix for a user or a version upgrade of wine wants a new version of wine gecko the user is asked to download a windows build of the gecko engine (~17M). On systems with 64bit & 32bit wine the download has to be done twice. This needs to be done per wineprefix, even if you need to start with a fresh prefix the files will have to be downloaded again.

What can be done about this? Wine has a search path for wine gecko which includes a central place on the system. This is done so distributions can bundle wine gecko. While wine gecko is licensed under OSS licenses we are talking about building a windows build of the gecko engine. For the past two years this was not possible in fedora due to the available mingw. With the inclusion of a new mingw stack for the upcoming fedora release 17 (see mingw-w64 cross compiler) wine gecko can be cross compiled on fedora out of the box.

Thus wine 1.5.0 will pull in one (or on 64bit installations two) new packages on upgrade – mingw{32,64}-wine-gecko – which contain a system managed version of the wine gecko engine. All users upgrading from an older wineprefix (before 1.5.0) or creating a new wineprefix will not have to download wine-gecko from an external source and will be automatically using the shipped version.

]]>http://awbsworld.de/archives/80/feed0Running 2012http://awbsworld.de/archives/74
http://awbsworld.de/archives/74#commentsTue, 10 Jan 2012 15:05:44 +0000http://awbsworld.de/?p=74After making it to only one half-marathon event in 2011, for 2012 two events have already been booked and preparations are underway.