Notes to install Gentoo Linux

  |   Source

Intel integrated video card

Enable KMS (Kernel Mode Setting) for Intel (Device Drivers => Graphic => Intel) is critical:

sudo genkernel --menuconfig all


Let grub2 create the cfg for me automatically,

grub2-mkconfig -o /boot/grub/grub.cfg


#net.lo should exist! if NOT, `emerge --ask --oneshot net-misc/netifrc`
# @see
ln -s /etc/init.d/net.lo /etc/init.d/net.eth0
echo 'config_eth0="dhcp"' >> /etc/conf.d/net
/etc/init.d/net.eth0 start
rc-update add net.eth0 default
Wireless (wifi)
#net.lo should exist! if NOT, `emerge --ask --oneshot net-misc/netifrc`
# @see
# I need setup /etc/wpa_supplicant/wpa_supplicant.conf at first
ln -s /etc/init.d/net.lo /etc/init.d/net.ra0
echo 'config_ra0="dhcp"' >> /etc/conf.d/net
/etc/init.d/net.ra0 start
rc-update add net.ra0 default

Content of /etc/wpa_supplicant/wpa_supplicant.conf:

#let wpa_supplicant take care of scanning and AP selection

#simple case: WPA-PSK, PPSK as an simple passphrase
  # the higher priority the sooner we matched

For kernel 3.17.*+, by default wpa_supplicant use nl80211 driver instead of wext.

We need for it use wext instead. To double check wext does work,

sudo wpa_supplicant -dd -B -i ra0 -Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf

But OpenRC script does not have -Dwext,

# as root
cd /lib;grep -rsn --exclude-dir=/home "Starting wpa_supplicant on" *
# netifrc/net/ ebegin "Starting wpa_supplicant on ${IF
# VAR}"

Modify /lib/netifrc/net/ to for it use wext,

opts="-Dwext ${opts} -c ${cfgfile}"

Clock Synchronization

htpdate is great because it only use HTTP protocol, don't forget add server in its config file.


Nothing to tell. There may be some issue, but I forgot.

Comments powered by Disqus