「debian」カテゴリーアーカイブ

Debian version

root@debian:~# cat /etc/issue
Debian GNU/Linux 7 \n \l

However, the above command may not show the current Debian update point releases. Thus you may get more accurate info with the following command:

root@debian:~# cat /etc/debian_version
7.7

compile kernel for core2 duo

Incomplete. Forget it.

Recent debian Kernels are SMP compatible.

You can check the SMP compatibility by “uname -a”. The output would contain word “SMP”.

1. download kernel sourece:

root@mamiko-PC:/usr/src# ls
linux-patch-3.2-rt.patch.bz2  linux-source-3.2.tar.bz2

2. unzip:

root@mamiko-PC:/usr/src# tar xjf linux-source-3.2.tar.bz2 root@mamiko-PC:/usr/src# bunzip2 linux-patch-3.2-rt.patch.bz2

root@mamiko-PC:/usr/src# ls -l
合計 76144
-rw-r–r–  1 root root   707720  6月 17 07:36 linux-patch-3.2-rt.patch
drwxr-xr-x 22 root root     4096  7月 20 14:43 linux-source-3.2
-rw-r–r–  1 root root 77251230  6月 17 07:37 linux-source-3.2.tar.bz2

3. patch:

root@mamiko-PC:/usr/src# cd linux-source-3.2

root@mamiko-PC:/usr/src/linux-source-3.2# patch -p1 <../linux-patch-3.2-rt.patch

4. install qt4-dev-tools package

5.

 

Wired lan setup

Static IP address

There are various reasons why you may wish to assign static IP addresses on your network. For instance, one may gain a certain degree of predictability with unchanging addresses, or you may not have a DHCP server available.

A static address can be configured with most networking tools standard in Arch Linux, for example see netctl, systemd-networkd, dhcpcd.

The following describes how to configure a static IP address manually. You need:

If you are running a private network, it is safe to use IP addresses in 192.168.*.* for your IP addresses, with a subnet mask of 255.255.255.0 and a broadcast address of 192.168.*.255. The gateway is usually 192.168.*.1 or 192.168.*.254.

iface eth0 inet static
address 192.168.1.16
netmask 255.255.255.0
gateway 192.168.1.1

————-

Above is not for debian.

Important!

Everything is in file:  /etc/network/interfaces

Never put more than one gateway!!