Network outages: the biggest cause
19 09 2008the biggest cause of network outages is not hardware or software failures, it’s folks making configuration changes.
--Jeff Doyle
Indeed Sir!
Trackbacks : No Trackbacks »
the biggest cause of network outages is not hardware or software failures, it’s folks making configuration changes.
02:00.0 Ethernet controller: Unknown device 1969:2048 (rev a0)/etc/apt/sources.list yang anda pakai, Pastikan mengarah pada mirror Debian yang lengkap, kalau tidak yakin dengan mirror yang saat ini anda pakai, gunakan :http://kambing.vlsm.org/debian etch main non-free contribaptitude update untuk memperbarui catatan daftar paket mirror di sistem sesuai kondisi terkini.
cn-anjas:~# aptitude search etchnhalf
p linux-headers-2.6-486-etchnhalf - Header files for Linux 2.6-etchnhalf on x8
p linux-headers-2.6-686-bigmem-et - Header files for Linux 2.6-etchnhalf on PP
p linux-headers-2.6-686-etchnhalf - Header files for Linux 2.6-etchnhalf on PP
p linux-headers-2.6-amd64-etchnha - Header files for Linux 2.6-etchnhalf on AM
v linux-headers-2.6-etchnhalf -
p linux-headers-2.6.24-etchnhalf. - Header files for Linux 2.6.24 on x86
p linux-headers-2.6.24-etchnhalf. - Header files for Linux 2.6.24 on PPro/Cele
p linux-headers-2.6.24-etchnhalf. - Header files for Linux 2.6.24 on PPro/Cele
p linux-headers-2.6.24-etchnhalf. - All header files for Linux 2.6.24
p linux-headers-2.6.24-etchnhalf. - All header files for Linux 2.6.24
p linux-headers-2.6.24-etchnhalf. - Header files for Linux 2.6.24 on AMD64
p linux-headers-2.6.24-etchnhalf. - Common header files for Linux 2.6.24
p linux-image-2.6-486-etchnhalf - Linux 2.6-etchnhalf image on x86
...
(disingkat)
cn-anjas:~# aptitude install linux-image-2.6.24-etchnhalf.1-686 \
linux-headers-2.6.24-etchnhalf.1-686 build-essentials kernel-package \
debhelper module-assistantcn-anjas:~# dpkg -i atl2-source-etchnhalf_2.0.3-3~etchnhalf.1_all.deb/usr/src/etchnhalf/
cn-anjas:~# cd /usr/src/etchnhalf/
cn-anjas:/usr/src/etchnhalf# ls
atl2.tar.bz2
cn-anjas:/usr/src/etchnhalf# tar xf atl2.tar.bz2
cn-anjas:/usr/src/etchnhalf# ls
cn-anjas:/usr/src/etchnhalf# ls
atl2.tar.bz2 modules
cn-anjas:/usr/src/etchnhalf# cd modules/atl2
cn-anjas:/usr/src/etchnhalf/modules/atl2# env KSRC=/usr/src/linux-headers-2.6.24-etchnhalf.1-686 debian/rules binary-modules
for templ in ; do \
cp $templ `echo $templ | sed -e 's/KVERS/2.6.24-etchnhalf.1-686/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/#&KVERS;#/2.6.24-etchnhalf.1-686/g ;s/&KVERS;/2.6.24-etchnhalf.1-686/g ; s/KVERS/2.6.24-etchnhalf.1-686/g ; s/#&KDREV;#//g ; s/&KDREV;//g ; s/KDREV//g ' < $templ > ${templ%.modules.in}; \
done
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs lib/modules/2.6.24-etchnhalf.1-686/misc
# build module
/usr/bin/make -C /usr/src/etchnhalf/modules/atl2 KSRC=/usr/src/linux-headers-2.6.24-etchnhalf.1-686
make[1]: Entering directory `/usr/src/etchnhalf/modules/atl2'
/usr/bin/make -C /usr/src/linux-headers-2.6.24-etchnhalf.1-686 SUBDIRS=/usr/src/etchnhalf/modules/atl2 modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-etchnhalf.1-686'
CC [M] /usr/src/etchnhalf/modules/atl2/atl2_main.o
CC [M] /usr/src/etchnhalf/modules/atl2/atl2_hw.o
CC [M] /usr/src/etchnhalf/modules/atl2/atl2_ethtool.o
CC [M] /usr/src/etchnhalf/modules/atl2/atl2_param.o
LD [M] /usr/src/etchnhalf/modules/atl2/atl2.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/src/etchnhalf/modules/atl2/atl2.mod.o
LD [M] /usr/src/etchnhalf/modules/atl2/atl2.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-etchnhalf.1-686'
make[1]: Leaving directory `/usr/src/etchnhalf/modules/atl2'
# install module
dh_install atl2.ko lib/modules/2.6.24-etchnhalf.1-686/misc
dh_installdocs
dh_installchangelogs
dh_installmodules
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol -- -v2.0.3-3~etchnhalf.1
dh_md5sums
dh_builddeb --destdir=/usr/src/linux-headers-2.6.24-etchnhalf.1-686/..
dpkg-deb: building package `atl2-modules-2.6.24-etchnhalf.1-686' in `/usr/src/linux-headers-2.6.24-etchnhalf.1-686/../atl2-modules-2.6.24-etchnhalf.1-686_2.0.3-3~etchnhalf.1_i386.deb'.
/usr/src. Cek direktori tersebut, bila sudah ada paket atl2-modules-2.6.24-etchnhalf.1-686_2.0.3-3~etchnhalf.1_i386.deb, berarti kompilasi & build menjadi paket debian sudah sukses. Kalau belum, cek output kompilasi, periksa errornya dimana.
cn-anjas:/usr/src# dpkg -i atl2-modules-2.6.24-etchnhalf.1-686_2.0.3-3~etchnhalf.1_i386.deb
cn-anjas:/usr/src# ip link ls
1: lo: mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
3: eth1: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:1b:11:74:75:37 brd ff:ff:ff:ff:ff:ff
4: vlan15@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
5: vlan6@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
6: vlan7@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
7: vlan8@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
8: vlan9@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
9: vlan10@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
10: vlan11@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
cn-anjas:/usr/src# modprobe atl2cn-anjas:/usr/src# ip link ls
1: lo: mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
3: eth1: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:1b:11:74:75:37 brd ff:ff:ff:ff:ff:ff
4: vlan15@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
5: vlan6@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
6: vlan7@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
7: vlan8@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
8: vlan9@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
9: vlan10@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
10: vlan11@eth0: mtu 1500 qdisc noqueue
link/ether 00:1c:f0:bd:6e:06 brd ff:ff:ff:ff:ff:ff
11: eth2: mtu 1500 qdisc noop qlen 1000
link/ether 00:1e:8c:cc:09:9f brd ff:ff:ff:ff:ff:ff
userid dan passwd sesuai account freenet6, kemudian parameter server diset menjadi ipv6.freenet6.net /etc/init.d/tspc restart)