hi guys,
some days ago I decided to write a little simulation in Perl. Well, … here is the result (huntersim-0.1). The package contains a README where everything should be explained.
Have FUN!
UPDATE:
Because people want to see pics:
hi guys,
some days ago I decided to write a little simulation in Perl. Well, … here is the result (huntersim-0.1). The package contains a README where everything should be explained.
Have FUN!
UPDATE:
Because people want to see pics:
Yiiiiiha … I love good news.
As published on the official Slackware website Slackware 13.0 will come with an officially supported 64bit version. From the announcement:
[tap tap tap]… Is this thing on?
![]()
Ready or not, Slackware has now gone 64-bit with an official x86_64 port being maintained in-sync with the regular x86 -current branch. DVDs will be available for purchase from the Slackware store when Slackware 13.0 is released. Many thanks go out to the Slackware team for their help with this branch and a special thank you to Eric Hameleers who did the real heavy lifting re-compiling everything for this architecture, testing, re-testing, and staying in-sync with -current.
We’ve been developing and testing Slackware64 for quite a while. Most of the team is already using Slackware64 on their personal machines, and things are working well enough that it is time to let the community check our work.
We’d like to thank the unofficial 64 bit projects for taking up the slack for us for so long so that we could take our time getting everything just right. Without those alternatives, we would have been pressured to get things out before they were really ready.
As always — have fun!
Pat and the Slackware crew
I’m looking forward to install it on my machine!
UPDATE:
##############
I now rewrote the script a little bit to use a private MAC-area because of problems when generating some MAC-addresses. Please use this version if you want to use it …
##############
hi guys,
yesterday I told you how to change your MAC address. Because I’m unbelievably lazy I decided to write a little helper-script to do this automatically. This script generates a random MAC address and brings the interface up with it.
here it is: change-mac
#!/usr/bin/perl use strict; # name: change-mac # author: ap0calypse (ap0calypse@agitatio.org) # purpose: helper script for bringing an interface down # and up again with a random MAC-address # date: 2009-04-15 # replace this with your wlan-interface my $interface = "wlan0"; my @val_mac = (0 .. 9, "A" .. "F"); my $rand_mac = "AC:DE:48:"; for (1 .. 6) { $rand_mac .= $val_mac[rand(@val_mac)]; if ( ($_ % 2 == 0) && $_ != 6) { $rand_mac .= ":"; } } system("ifconfig $interface down"); system("ifconfig $interface hw ether $rand_mac"); system("ifconfig $interface up");
I know that this is nothing secret or special for most of you, but I think there are people out there who don’t know how to do this. Long story cut short:
ifconfig $INTERFACE down ifconfig $INTERFACE hw ether $NEWMAC ifconfig $INTERFACE up
Adjust the values for interface and new-mac to fit your needs.
You may ask yourself, why you should ever need this. Well, if you are really asking yourself this question, you maybe really don’t need it ….
Personally I need it because there is an open WiFi-network in my hometown which gives everyone the opportunity to use it for 30 minutes every day. They assure this by saving the MAC …
Alright? Alright!
Well, I can proudly tell you guys that I don’t need any external module from a third party anymore. 2.6.29 has rt2860 in staging, which is, as far as I can see that, nearly identical to the official module from Ralink.
From the Kernel-git:
Staging: add rt2860 wireless driver
This is the Ralink RT2860 driver from the company that does horrible
things like reading a config file from /etc. However, the driver that
is currently under development from the wireless development community
is not working at all yet, so distros and users are using this version
instead (quite common hardware on a lot of netbook machines).So here is this driver, for now, until the wireless developers get a
“clean” version into the main tree, or until this version is cleaned up
sufficiently to move out of the staging tree.Ported to the Linux build system and cleaned up a bit already by me.
Cc: Linux wireless
Signed-off-by: Greg Kroah-Hartman
The bad news are that the eeepc-laptop module still doesn’t work properly. If I compile the module and the kernel tries to load it, my system hangs for about 30 seconds which is NOT bearable. So I still have to exclude this module as long as it doesn’t work.
I also activated fastboot (well, at least I think I did) by adding it to my lilo.conf (append=” fastboot”) and my small little eee now boots up from lilo to login in 10-13 seconds.
Everything seems fine so far. I’m also working on a small programming project I’m going to release soon
. Stay tuned!
Yesterday I got my new toy, an Eee-PC 901 with pre-installed Windows XP. I guess it’s no neccessary to say that Windows was removed immediately (including the annoying “designed for Windows XP” stickers all around). I started to install my distribution of choice (slackware 12.2) on it with an external DVD-drive.
This model off the eee has a 4GB SSD like my older 701 model plus an additional 8 GB Module. This gave me the great opportunity to have my home-directory separated now. (my older eee had an SD-Card to satisfy ma needs in this case)
I partitioned like this:
[14:47:12] root@blackbox ~ # fdisk -l /dev/sd? Disk /dev/sda: 4034 MB, 4034838528 bytes 128 heads, 63 sectors/track, 977 cylinders Units = cylinders of 8064 * 512 = 4128768 bytes Disk identifier: 0x57985ef0 Device Boot Start End Blocks Id System /dev/sda1 * 1 920 3709408+ 83 Linux /dev/sda2 921 977 229824 82 Linux swap Disk /dev/sdb: 8069 MB, 8069677056 bytes 255 heads, 63 sectors/track, 981 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x3094aa77 Device Boot Start End Blocks Id System /dev/sdb1 1 981 7879851 83 Linux
After a normal installation and the removal of some obsolete packages I compiled the recent kernel on it (2.6.28.7). After surfing through “make menuconfig” I discovered that the wireless chip of this model isn’t supported in the mainstream kernel. The wireless chipset of my older model was supported by the ath5k-module, but this chipset (rt2860) isn’t yet supported
. There were 2 options:
I decided to take option 1, because I hate to compile third-party modules. I read on some boards and mailinglists that kernel-support for rt2860 is currently a work in progress. I guess it won’t take a long time to get it into mainstream kernel. Here an output of lspci:
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02) 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02) 01:00.0 Network controller: RaLink RT2860 04:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)
After compiling and rebootiing my new gem I discovered that my eee suddenly freezed during the initialization of the eeepc_laptop module. At first I thought the kernel really freezed because it took up to 30 seconds until it continued to boot normally. “Maybe just an unlucky constellation …” I thought and rebooted to test if it happens again, …. and it did. So I decided to compile my kernel without eeepc_laptop until it is fixed. I also read on the kernel mailinglist that this is a known issue.
Well, here I was, surfing the web with my new eee, connected via my zd1211-usb-wlan-stick with my home-network. But there was something very, very annoying again. The fonts of my firefox-menu and everything seemed extremely big and bloated. From my past I knew that there was a DPI option in the firefox-menu but I couldn’t find it anymore … *sigh*
After some searching I found a solution. I rewrote my ~/.Xdefaults and added the following line:
Xft.dpi: 96After that, Firefox started to look normal again.
Finally, a little screenshot:
hi everyone,
some days ago, while browsing the web on my favorite websites, I felt that they all seemed to be slower. Firefox even started to need around 100 % of my CPU what NEVER happened before. It was interesting that pages like Google-search or simple text-pages weren’t affected. The problem obviously had to do something with the stuff surrounding the text ( pics, flash, whatever, … ). At first I was kind of helpless because I didn’t know what caused this mess, but then I remembered an update of my NVIDIA-driver. After a bit of searching I found the responsible option in /etc/X11/xorg.conf:
... Option "NoAccel" "false" ...
After restarting X, it worked again. Maybe this helps some people.
Some days ago i realized that my touchpad of the Eee-PC wasn’t working as expected anymore. The left button works but the right button does nothing. First I thought of a problem with the synaptics-modules but after trying different kernels and distros there as no doubt anymore … the button is somehow broken …
Well, you can imagine how annoying it is to work without the right mouse-button (pasting doesn’t work, fluxbox-menu doesn’t work, browsing with firefox becomes a pain,…).
I searched around to find a possible solution for this problem and discovered 2 very convenient tools: xbindkeys and xautomation.
After compiling and installing the packages, I created a config file called .xbindkeysrc in my home directory with the following content:
"xte 'mouseclick 3'" Menu "xte 'mouseclick 2'" Pause
xte is a tool from xautomation which simulates different X-Events like mouseclicks or keyboard events. After creating the config-file I had to add “xbindkeys &” to my .xinitrc so that the daemon runs whenever X starts.
Now, whenever I want a right-click (button 3), I press the “Menu”-button and if I want a middle-click (button 2) I press the “Pause”-button.
I’m just posting a small article to tell you that my EEE 701 now works like a charm. I was messing around with the kernel for a couple of days now to find out why my webcam didn’t work until yesterday, when I discovered that I disabled it in the BIOS-settings … Yeah, I know, … I’m an idiot … Oh rly? … Ya…. Rly!
Well, everything works now. I’m currently playing around with motion, a nice tool for capturing pictures from a webcam.
Have a nice day!