[[gentoo-on-n8x0:|back]]
====== Wireless setup ======
===== WiFi =====
:!: This thing assumes you're running diablo kernel
emerge sys-kernel/diablo-sources
eselect kernel set linux-2.6.21-diablo
cd /usr/src/linux && make nokia_2420_defconfig && make modules && make modules_install
Install **sys-apps/n8x0-env** with **USE='nokia-osso-linux wifi'** from n8x0 overlay.
Configure wifi connection. This is out of scope of this document, please refer to [[http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4#doc_chap2|Wireless Networking]] chapter from Gentoo Handbook.
Symlink net init script:
cd /etc/init.d/ && ln -s net.lo net.wlan0
Add net startup script to boot sequence
rc-update add net.wlan0 default
Start **/etc/init.d/net.wlan0** and your tablet should connect to wifi AP. :!: Don't do this in chroot.
/etc/init.d/net.wlan0 start
You may also want to add **sshd** to boot services in order to access tablet from other devices
rc-update add sshd default
===== Bluetooth =====
Install **sys-apps/n8x0-env** with **USE='bluetooth'** from n8x0 overlay.
Add bluetooth to startup scripts
rc-update add bluetooth default
Start bluetooth service :!: Don't do this in chroot.
/etc/init.d/bluetooth start
Configure whatever bluetooth devices you need (see [[http://www.gentoo.org/doc/en/bluetooth-guide.xml#doc_chap4|Gentoo Linux Bluetooth Guide]] for details).