User:Marck

From TuxFamilyFAQ
Jump to navigationJump to search

Carnet de notes Minix3-current

Marc alias marck chez tuxfamily point org

# configuration

## clavier (12.2011)

loadkeys /usr/lib/keymaps/french.map

## timezone (12.2011)

echo TZ=Europe/Paris > /etc/rc.timezone

## hostname (12.2011)

Le hostname /etc/hostname.file est fixé sur l'IP par la commande hostaddr -h du fichier /usr/etc/rc.

Désactivation

#    if [ "$net" ]
#    then
#       # Get the nodename from the DNS and set it.
#       trap  2
#       intr -t 20 hostaddr -h
#       trap 2
#    fi


# ctwm

à venir


# ethernet

## liste des cartes supportées (12.2011)

$ netconf -c
The following cards are supported by Minix:

 0.   No Ethernet card (no networking)
 1.   3Com 501 or 3Com 509 based card
 2.   Realtek 8029 based card (also emulated by Qemu)
 3.   NE2000, 3com 503 or WD based card (also emulated by Bochs)
 4.   Attansic/Atheros L2 FastEthernet
 5.   DEC Tulip 21140A in VirtualPC
 6.   Intel PRO/1000 Gigabit
 7.   Intel PRO/100
 8.   AMD LANCE (also emulated by VMWare and VirtualBox)
 9.   Realtek 8139 based card
10.   Realtek 8169 based card
11.   Different Ethernet card (no networking)


# evilwm

## compilation evilwm 1.1.0 (12.2011)

Makefile.diff

10c10
< prefix = /usr
---
> prefix = /usr/pkg
13c13
< mandir = $(datarootdir)/man
---
> mandir = $(prefix)/man
30,31c30,31
< OPT_CPPFLAGS += -DRANDR
< OPT_LDLIBS   += -lXrandr
---
> #OPT_CPPFLAGS += -DRANDR
> #OPT_LDLIBS   += -lXrandr
60a61,64
> 
> # Minix3
> OPT_CPPFLAGS += -I/usr/pkg/X11R6/include
> LDFLAGS += -R/usr/pkg/X11R6/lib -L/usr/pkg/X11R6/lib


# sic

## compilation sic 1.1 (12.2011)

diff sic.c

< static char *port = "ircd";
---
> static char *port = "6667";

config.mk.diff

7,8c7,8
< PREFIX = /usr/local
< MANPREFIX = ${PREFIX}/share/man
---
> PREFIX = /usr/pkg
> MANPREFIX = ${PREFIX}/man
20c20
< CC = cc
---
> CC = gcc