Skip navigation.

2501

Stand Alone Complex

Posts tagged with "zenwalk"

Zenwalk Tune-up....

,

Simple steps to make Zenwalk works like magic...

1. Upon initial installation, go to Netpkg and select the
snapshot repository. Then update all the packages as
necessary. If you want to upgrade your kernel, make sure
to type lilo -v when is completed as root.
2. Set up your Firestarter firewall.
3. Go to your command line and install:
-netpkg jre
4. Also, I would install Google Chrome right away...
-http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-13.0/network/google-chrome/4.0.249.11/

5. I like gslapt and add the following repository:
-http://darkstar.ist.utl.pt/slackware/addon/slacky/slackware-13.0/

6. For some reason, gxine is the only dvd player that works in my system.
Install gxine using netpkg.

7. Codecs: Use gslapt to install libdvdcss.

8. For security, I like mcrypt and ccrypt.

9. Install also src2pkg and sbopkg to built your own .tgz packages.
-http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/src2pkg/
-http://www.sbopkg.org/downloads.php

10...This is all...for now. Enjoy Zenwalk!

ok back to Zenwalk!

,

Ok...I am back to Zenwalk! I went back to my roots and I like it. My brain is working again. Love Zen!!!

-2501

ps: killer combo: Zenwalk + Google Chrome

Zenwalk is back!

,

I installed Zenwalk 6.2 back on my Dell laptop and I am glad to be back to Zen. For some reason, videos were running a little bit slow but that does not happen on Zenwalk. I must say that Mandriva is an excellent distro but for older software, Zenwalk has a better performance. ...and since I have been using Slackware for so many years, it is not that hard for me to configure it.

Zenwalk 6.2 is fast and has all the tools that I need. Plus, it was easy to configure and I get to use all my Slack tools and scripts.

Also, i just installed Slackware on my server box and it is up and running again.

yes!!!!

-2501

Zenwalk :: Netfilter.policy (original)

, ,

# Generated by iptables-save v1.4.2 on Sat Jun 13 18:44:06 2009
*mangle
P:REROUTING ACCEPT [68210:38681888]
:INPUT ACCEPT [68207:38680708]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [38534:2238010]
P:OSTROUTING ACCEPT [38547:2241634]
COMMIT
# Completed on Sat Jun 13 18:44:06 2009
# Generated by iptables-save v1.4.2 on Sat Jun 13 18:44:06 2009
*nat
P:REROUTING ACCEPT [11:2490]
P:OSTROUTING ACCEPT [199:12447]
:OUTPUT ACCEPT [199:12447]
COMMIT
# Completed on Sat Jun 13 18:44:06 2009
# Generated by iptables-save v1.4.2 on Sat Jun 13 18:44:06 2009
*filter
:INPUT ACCEPT [68207:38680708]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [38534:2238010]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -j DROP
-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -j ACCEPT
COMMIT
# Completed on Sat Jun 13 18:44:06 2009

Basic Firewall for Arch Linux

, ,

Here it is a basic IPTABLES configuration for Slackware and Zenwalk distros:
from: http://zonemikel.com/wordpress/

# eth conf
# http access/port 80
iptables -A INPUT -i eth+ -p tcp -m tcp --dport 80 -j ACCEPT
# ssh access/port 22
iptables -A INPUT -i eth+ -p tcp -m tcp --dport 22 -j ACCEPT
# no access to other ports
iptables -A INPUT -j DROP

# wifi conf
iptables -N NETTWO # create table
iptables -A NETTWO -p tcp -m tcp --dport 80 -j ACCEPT # is it port 80 ?
iptables -A NETTWO -j LOG --log-prefix '[NETTWO DROP] : ' #if no log/drop
iptables -A NETTWO -j DROP
#first line of my input table, if eth1 jmp nettwo
iptables -i eth1 -j NETTWO

# create two chains, one for fw other is trusted (for clean script?)
iptables -N FIREWALL
iptables -N TRUSTED
# allow established and related incoming connections only
iptables -A FIREWALL -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
# Allow self communication
iptables -A FIREWALL -i lo -j ACCEPT
iptables -A FIREWALL -o lo -j ACCEPT
# send all package to the trusted chain
iptables -A FIREWALL -j TRUSTED
# drop all other packets
iptables -A FIREWALL -j DROP

# enable port forwarding
iptables -A FORWARD -j ACCEPT
# hide computers behind the firewall
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward


Then, Manual script to start/stop firewall. It should be located at /etc/rc.d/
# case statement to call the correct function, exept status which is in the case
case $1 in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
status)
iptables -L
iptables -t nat -L
RETVAL=0
;;
lockdown)
stop
lockdown
;;
*)
echo "Usage: Firewall (start|stop|restart|status)"
esac

exit

# stop the firewall (everything is open !)
stop() {
echo "Remvoing all Iptables rules: "
echo "Everything on the network will be open !!!"

# set the default policy
iptables -P INPUT ACCEPT# accept all incoming packets
iptables -P FORWARD ACCEPT# forward all packets to other puters (flood)
iptables -P OUTPUT ACCEPT# accept all outgoing packets and send them

# set default policy for the NAT table
iptables -t nat -P PREROUTING ACCEPT
iptables -t nat -P POSTROUTING ACCEPT
iptables -t nat -P OUTPUT ACCEPT

# delete all old rules
iptables -F # flush
iptables -t nat -F# flust nat table

# delete all chains
iptables -X
iptables -t nat -X

# setup port forwarding
echo "Enabling forwarding from eth0 to everyone"
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
echo "All tables flushed, all connections accepted/forwarded"
RETVAL=0
}
-2501

Zenwalk Linux 6.0 rocks!!!

I installed the Zenwalk Linux 6.0 and I must say that this is the fastest distro ever released. After testing
Fedora and Ubuntu for a weekend on my Dell Inspiron 600M, I could tell difference. Zenwalk just smoked the
competition. Again, it can run circles around them.

Now, I did not like the addition of Totem instead of MPlayer since Opera works beatifully with MPlayer. I had to
configure the browser at least to satisfy my new demands. It was not that hard but I think that MPlayer is a better
option.

It was taking before about 40 seconds for Zenwalk to reboot...now it takes about 25-30 seconds. Incredible improvement!

I don't how in this version JP/Hyperion was able to squeeze everything in less than 700MB. I really think that Zenwalk should be kept under 700MB. I don't have really a complaint but I have heard that other users are having a little bit of problems when it is installed on old laptops and desktops.

In addition, I just had to install: (netpkg + app)

-opera browser(+ twippera, unicrypt, web node info, touchthesky), mcrypt, jre (java), nano, Numpy (python lib), lighttpd (server).

I decided to remove:

-GIMP, Iceweasel, Icedoce, Pidgin
note: I am thinking to remove Office as well since I use Google documents and Abiword.

Something that I would like to see implemented is SELinux for more security. I am paranoid about security. But I have to admit that I have not had any security incident while using Zenwalk or any other Linux distro.

Last comment...Zenwalk is so stable that I get bored sometimes because there is nothing to fix. I could not say this for Ubuntu or Fedora since I have had bad experiences in the past while updating the kernel.

Zenwalk is simple, super-fast and light. I also love Fedora and Slackware. Actually I have a server running Slackware and is wonderful. But, I think that Zenwalk offers the very best and it is tuned to offer the fastest and most responsive Linux today.

Keep Zenwalking...

-2501




Slackbuild

, ,

Step 1 - Download

Download the SlackBuild archive of the application you wish to build and extract it in your build environment. For example, after extracting the chemtool.tar.gz archive, you should have the following directory tree:

./chemtool
|-- README
|-- chemtool.info
|-- chemtool.SlackBuild
|-- chemtool.desktop
|-- chemtool.png
|-- slack-desc

Anonymous ftp access is available via ftp://ftp.slackbuilds.org if that's more convenient for you.

Next, download the source of the application from the address listed in the chemtool.info file and place it in the chemtool directory listed above. There is also a direct link to the source tarball on each application's page within our repository.
Step 2 - Edit SlackBuild script if necessary

If the version of chemtool is newer than what is specified in the SlackBuild script, you will need to change the script accordingly. Using your preferred editor, open the chemtool.SlackBuild script and find the line which starts with "VERSION"

VERSION=1.6.7

Change this line to reflect the current version of the chemtool source.
If a newer version of some application does not compile correctly with a simple change of the "VERSION" string, let us know by following the instructions on reporting SlackBuild Bugs.
Step 3 - Execute the SlackBuild Script (as root)

If necessary, make the script executable with chmod and then run the script:

chmod +x chemtool.SlackBuild
./chemtool.SlackBuild
Step 4 - Install the Package

Assuming everything happened according to plan (the compile finished without errors), the finished package should be in the directory declared as "OUTPUT" in the SlackBuild script (this defaults to the /tmp directory). Use installpkg to install it; you'll probably want to move it to some other location for safekeeping after it's installed.

Zenwalk Linux, Python and Random Numbers

, ,

Currently I am using Zenwalk Linux and Python to find some order in the chaos world of random numbers. I think it was the only topic besides Abstract Algebra that got my attention while getting my Computational Math degree. I am using a library called Numpy which manipulates multi-dimensional arrays and matrices...pretty cool. I am doing a lot of reading because I need to refresh my memory but so far it is coming along pretty well. I like how Zenwalk handles Python and Geany helps me to edit and compile my scripts just beatiful.

I really wonder how to find "order" because like Einstein said : God does not play dice. If this is true then there has to be a way to predict behavior to some extent. "Energy without control is nothing", same principle applies with random numbers. The beauty of random numbers is to generate them and then predict what is next. Is this possible? I don't know but if I can get close somehow it would be a major achievement for me. Like Borges said : "El numero es finito pero monstruoso." (The number is consider a finite number but it is gigantic.)

zenwak etc/fstab

,

aufs / aufs defaults 0 0 # AutoUpdate
devpts /dev/pts devpts gid=5,mode=620 0 0 # AutoUpdate
proc /proc proc defaults 0 0 # AutoUpdate
sysfs /sys sysfs defaults 0 0 # AutoUpdate
/dev/sr0 /mnt/sr0 iso9660 noauto,users,exec 0 0 # AutoUpdate
/dev/ram0 /mnt/ram0 ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
/dev/sda1 /mnt/sda1 ext3 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
/dev/sdb1 /mnt/sdb1 vfat auto,noatime,users,suid,dev,exec,quiet,umask=0,check=s,shortname=mixed 0 0 # AutoUpdate

Current network setup

, ,

This is my current network setup:

- Dell Inspiron 600m with Zenwalk Linux (favorite)
- Homebrew Slackware box server with Intel P4 processor. (never goes to sleep!)
- 2 Apple G5 iMac (for the kids)

My Slackware server is always running 24/7. I cleaned it up last week after running for 2 years
with no crashes reported.

My laptop runs Zenwalk beatifully. I do a lot of Fortran + Computational Biology reserch.
I use Opera browser to surf the net and my wife uses Firefox. Yesterday she told me that now she likes Opera because it is faster than Firefox.
It is my favorite one.

And for the kids...nothing better than a Mac!!!

-2501
December 2009
S M T W T F S
November 2009January 2010
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31