From yesterday I am using Solaris 10 on my laptop. I’ve removed Windows and FreeBSD. Works like a charm (except sound), includes StarOffice, I’ve installed Firefox, Thunderbird and OpenOffice. No problems so far. CDE with DarkGold color theme is my favourite for almost eight years, since I’ve installed Solaris 1.0beta on a SUN Workstation.
uname -a output:
SunOS laptop 5.10 Generic_118844-20 i86pc i386 i86pc
Posted by admin at 8:26 pm on December 3rd, 2005.
Categories: Personal, Solaris.
Learned the hard way: NEVER COMPILE ip_conntrack
into the Linux kernel… 🙂
Posted by admin at 8:34 pm on November 18th, 2005.
Categories: Linux.
It seems that PowerDNS‘s pdns_recursor crashes on FreeBSD under load.
I’ve replaced it by a bind recursor. Excerpt from named.conf:
options {
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
listen-on port XXXX { 127.0.0.1; };
};
zone "." {
type hint;
file "named.root";
};
Posted by admin at 5:23 pm on November 12th, 2005.
Categories: DNS, FreeBSD, Work.
I have installed FreeBSD 6.0 on some old computer, seems to work very fast! I have rebuild world and kernel.
dmesg:
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #0: Sun Nov 6 00:13:58 EET 2005
root@XXXX:/usr/obj/usr/src/sys/XXXX
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (350.80-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x652 Stepping = 2
Features=0x183f9ff
real memory = 201261056 (191 MB)
avail memory = 191619072 (182 MB)
ACPI disabled by blacklist. Contact your BIOS vendor.
npx0: [FAST]
npx0:
Posted by admin at 5:31 pm on November 9th, 2005.
Categories: FreeBSD.
It seems that pdns_recursor from 2.9.19 dies under light load on FreeBSD.
Posted by admin at 2:55 pm on November 9th, 2005.
Categories: DNS, FreeBSD.
The fourth opensource PDC (Primary Domain Controller) using samba, with a openldap backend for storing users, groups and computers. It can replace a Microsoft Windows Domain Controller.
Provides central authentication services, file and printer sharing for Windows and Unix clients. Local logon credentials are taken from LDAP, too.
Tested on fedora core 4 and slackware 10.2.
Posted by admin at 4:45 pm on October 29th, 2005.
Categories: Linux, Work.
Just got two Asus WL-500g!
dmesg:
CPU revision is: 00024000
Enabling BCM4710A0 cache workarounds.
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 4kB, 2-way, linesize 16 bytes.
Linux version 2.4.30 (wbx@ux-2y01) (gcc version 3.4.4) #1 Wed Sep 14 17:49:26 CEST 2005
Setting the PFC value as 0x15
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM4710 rev 0 at 125 MHz
Using 62.400 MHz high precision timer.
!unable to setup serial console!
Calibrating delay loop... 82.94 BogoMIPS
Memory: 14296k/16384k available (1390k kernel code, 2088k reserved, 100k data, 80k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch ([email protected])
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Software Watchdog Timer: 0.05, timer margin: 60 sec
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Physically mapped flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1fc00000
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "pmon"
0x00040000-0x003f0000 : "linux"
0x000ba4b0-0x001c0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x001c0000-0x003f0000 : "OpenWrt"
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 320 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 80k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
diag boardtype: 0000041a
jffs2.bbc: SIZE compression mode activated.
PCI: Setting latency timer of device 00:02.0 to 64
eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.23.0
PCI: Setting latency timer of device 00:08.0 to 64
eth1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.23.0
PCI: Setting latency timer of device 01:02.0 to 64
PCI: Enabling device 01:02.0 (0004 -> 0006)
eth2: Broadcom BCM4320 802.11 Wireless Controller 3.90.37.0
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
device eth0 entered promiscuous mode
eth0 – LAN
eth1 – WAN
eth2 – WLAN
Posted by admin at 8:43 pm on October 24th, 2005.
Categories: Linux, Linux embedded, Work.
New production DNS server is up since Saturday night.
It runs PowerDNS with a MySQL 4.1 backend on FreeBSD 5.4. Complete with web (SSL) administration and statistics.
So far:
Uptime: 18 hours Queries/second, 1, 5, 10 minute averages: 6.4, 5.12, 5.15. Max queries/second: 40.1
Cache hitrate, 1, 5, 10 minute averages: 24%, 22%, 20%
Backend query cache hitrate, 1, 5, 10 minute averages: 63%, 62%, 62%
Backend query load, 1, 5, 10 minute averages: 10, 8.2, 8.59. Max queries/second: 26.7
Total queries: 313999. Question/answer latency: 0.678ms
Posted by admin at 11:44 am on October 24th, 2005.
Categories: DNS, FreeBSD, Linux, Work.
WRT54gG v5 does not work with custom firmares! 🙁
I think this is a bad move from Linksys/Cisco as most of the pieces sold were used with custom firware.
Need to use other wireless routers, such as Asus, Netgear.
Some alternatives in my wiki.
Posted by admin at 3:10 am on October 23rd, 2005.
Categories: Linux, Linux embedded, Work.
No luck in IPSEC between a FreeBSD 5.4 (racoon) and a D-Link DI-804HV 🙁
Tried manual and IKE, SAs up but no traffic through the gif device. Perhaps D-Link could add more troubleshooting functions into their firmware (e.g. show routing table, SAs, disable NAT, routes through PPTP or L2TP tunnels).
Posted by admin at 2:53 am on October 14th, 2005.
Categories: FreeBSD, VPN, Work.