OLPC Sound modem: Difference between revisions
From HacDC Wiki
Haxwithaxe (talk | contribs) |
Haxwithaxe (talk | contribs) |
||
Line 12: | Line 12: | ||
# [[OLPCUpdate|Upgrade]] to the latest official build | # [[OLPCUpdate|Upgrade]] to the latest official build | ||
# <pre># yum install soundmodem libax25 libax25-devel ax25-apps ax25-tools</pre> | # <pre># yum install soundmodem libax25 libax25-devel ax25-apps ax25-tools</pre> | ||
# <pre># wget haxwithaxe.net/files/kernel-2.6.31.6-2.rpm</pre><pre># wget haxwithaxe.net/files/initrd-2.6.31.6</pre><pre># mv initrd-2.6.31.6 /boot/</pre><pre># rpm -i kernel-2.6.31.6-2.rpm</pre>At this point you can skip to insmoding the modules we just installed with the kernel as i have yet to figure out how to get the new kernel to be used on boot. | |||
# <pre># cd /boot/</pre><pre># rm vmlinuz</pre><pre># ln -s vmlinuz-<your build version> vmlinuz</pre><pre># ln -s System.map-<your build version> System.map</pre><pre># rm initrd.img</pre><pre># ln -s initrd-<your build version> initrd.img</pre> | # <pre># cd /boot/</pre><pre># rm vmlinuz</pre><pre># ln -s vmlinuz-<your build version> vmlinuz</pre><pre># ln -s System.map-<your build version> System.map</pre><pre># rm initrd.img</pre><pre># ln -s initrd-<your build version> initrd.img</pre> | ||
# reboot | # reboot |
Revision as of 15:01, 9 April 2011
The Easy Way
- Get DebXO running on a XO with the Terminal Activity
- Update it as per the DebXO wiki
# apt-get install soundmodem ax25-apps ax25-tools
# mkdir /etc/ax25/
- Fake /dev/dsp
# modprobe snd-pcm-oss
# soundmodemconfig
- configure the settings to your requirements then quit soundmodemconfig
- insert earplugs :P
# soundmodem /etc/ax25/soundmodem.conf
The Right Way
- Upgrade to the latest official build
# yum install soundmodem libax25 libax25-devel ax25-apps ax25-tools
# wget haxwithaxe.net/files/kernel-2.6.31.6-2.rpm
# wget haxwithaxe.net/files/initrd-2.6.31.6
# mv initrd-2.6.31.6 /boot/
# rpm -i kernel-2.6.31.6-2.rpm
At this point you can skip to insmoding the modules we just installed with the kernel as i have yet to figure out how to get the new kernel to be used on boot.# cd /boot/
# rm vmlinuz
# ln -s vmlinuz-<your build version> vmlinuz
# ln -s System.map-<your build version> System.map
# rm initrd.img
# ln -s initrd-<your build version> initrd.img
- reboot
# insmod /lib/modules/<your build version>/kernel/net/ax25/ax25.ko
# insmod /lib/modules/<your build version>/kernel/drivers/net/hamradio/<protocol>.ko
# modprobe snd-pcm-oss
# mkdir /etc/ax25/
# soundmodemconfig
- insert earplugs
# soundmodem /etc/ax25/soundmodem.conf