Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:research:sr:softwareradio_install [2007/04/03 14:33] brunner |
en:research:sr:softwareradio_install [2007/08/09 15:30] (current) brunner |
||
---|---|---|---|
Line 10: | Line 10: | ||
* /var 10Go | * /var 10Go | ||
* /tmp 1Go | * /tmp 1Go | ||
- | * /big unused space (env.: 40Go) | + | * /big unused space (about 40 Go) |
* swap 2.8Go (primary) | * swap 2.8Go (primary) | ||
Line 16: | Line 16: | ||
remove created user: | remove created user: | ||
<code>deluser //username//</code> | <code>deluser //username//</code> | ||
+ | |||
+ | In file ///etc/apt/sources.list// replace **stable** by **sarge**. | ||
===== Kernel compilation ===== | ===== Kernel compilation ===== | ||
Line 71: | Line 73: | ||
<code bash>echo "eepro100" >> /etc/modules</code> | <code bash>echo "eepro100" >> /etc/modules</code> | ||
then reboot on new kernel. | then reboot on new kernel. | ||
+ | |||
+ | |||
===== Compile RTLinux ===== | ===== Compile RTLinux ===== | ||
unzip rtlinux: | unzip rtlinux: | ||
<code bash> | <code bash> | ||
- | tar -xvf rtlinux-3.2-rc1.tar.bz2 | + | tar -xvjf rtlinux-3.2-pre3.tar.bz2 |
</code> | </code> | ||
prepare: | prepare: | ||
<code bash> | <code bash> | ||
- | cd /usr/srv/rtlinux-3.2-rc1 | + | cd /usr/src/rtlinux-3.2-pre3 |
ln -s /usr/src/linux linux | ln -s /usr/src/linux linux | ||
</code> | </code> | ||
Line 89: | Line 93: | ||
* posix-timers | * posix-timers | ||
* posix-priority | * posix-priority | ||
- | Compile: | + | Compile & install: |
<code> | <code> | ||
make dep | make dep | ||
make // without -j8 (don't work) | make // without -j8 (don't work) | ||
- | </code> | + | make install |
- | Install: | + | |
- | <code bash> | + | |
- | checkinstall | + | |
- | dpkg -i --force-overwrite rtlinux-3.2-pre3_pre3-1_i386.deb | + | |
- | // or | + | |
- | // make install | + | |
</code> | </code> | ||
Line 107: | Line 105: | ||
at end: | at end: | ||
<code bash> | <code bash> | ||
+ | rm /lib/modules/2.4.22-rtl3.2-pre3-bigphys/misc/rtl_debug.o | ||
ln -s /usr/src/rtlinux-3.2-pre3/debugger/rtl_debug.o /lib/modules/2.4.22-rtl3.2-pre3-bigphys/misc/ | ln -s /usr/src/rtlinux-3.2-pre3/debugger/rtl_debug.o /lib/modules/2.4.22-rtl3.2-pre3-bigphys/misc/ | ||
+ | |||
+ | rm /etc/init.d/rtlinux | ||
cp /usr/src/rtlinux-3.2-pre3/scripts/rtlinux /etc/init.d/ | cp /usr/src/rtlinux-3.2-pre3/scripts/rtlinux /etc/init.d/ | ||
ln -s /etc/init.d/rtlinux /etc/rc5.d/S90rtlinux | ln -s /etc/init.d/rtlinux /etc/rc5.d/S90rtlinux | ||
- | cp /usr/src/rtlinux-3.2-pre3/scripts/rtlinux /etc/init.d/ | ||
ln -s /etc/init.d/rtlinux /etc/rc4.d/S90rtlinux | ln -s /etc/init.d/rtlinux /etc/rc4.d/S90rtlinux | ||
- | cp /usr/src/rtlinux-3.2-pre3/scripts/rtlinux /etc/init.d/ | ||
ln -s /etc/init.d/rtlinux /etc/rc3.d/S90rtlinux | ln -s /etc/init.d/rtlinux /etc/rc3.d/S90rtlinux | ||
</code> | </code> | ||
Line 121: | Line 120: | ||
apt-get install libqt3-compat-headers libqt3-mt-dev | apt-get install libqt3-compat-headers libqt3-mt-dev | ||
</code> | </code> | ||
+ | |||
+ | ==== ICS ==== | ||
+ | * copy ICS to ///usr/ics// | ||
+ | do : | ||
+ | <code> | ||
+ | cd /usr/ics/ics554-src/ | ||
+ | sh install.sh | ||
+ | cd /usr/ics/ics564-src/ | ||
+ | sh install.sh | ||
+ | ln -s /usr/ics/ics554-src/drv/ics554.o /lib/modules/2.4.22-rtl3.2-pre3-bigphys/misc | ||
+ | </code> | ||
+ | |||
+ | copy files from //init.d// to ///etc/init.d// | ||
+ | |||
+ | |||
+ | |||
===== NFS ===== | ===== NFS ===== | ||
Line 148: | Line 163: | ||
install guessnet (apt-get install guessnet) | install guessnet (apt-get install guessnet) | ||
+ | |||
+ | ===== Edit bashrc ===== | ||
+ | <code bash> | ||
+ | vi ~/.bashrc | ||
+ | </code> | ||
+ | Add: | ||
+ | <code bash> | ||
+ | if [[ -f /etc/bash_completion ]]; then | ||
+ | . /etc/bash_completion | ||
+ | fi | ||
+ | </code> | ||
+ | |||
+ | ===== NIS ===== | ||
+ | <code bash> | ||
+ | sudo apt-get install nis | ||
+ | </code> | ||
+ | domain name: msr | ||
+ | |||
+ | on file /etc/yp.conf add: | ||
+ | <code> | ||
+ | ypserver 192.168.1.2 | ||
+ | </code> | ||
+ | |||
+ | on file /etc/passwd add: | ||
+ | <code> | ||
+ | +::0:0::: | ||
+ | </code> | ||
+ | |||
+ | on file /etc/shadow add: | ||
+ | <code> | ||
+ | +:::::::: | ||
+ | </code> | ||
+ | |||
+ | on file /etc/group add: | ||
+ | <code> | ||
+ | +::: | ||
+ | </code> | ||
+ | |||
+ | add the public IP (128.178.70.177) to the fileserver file /etc/ypserve.securenet. | ||
+ | |||
+ | ===== NTP ===== | ||
+ | <code bash> | ||
+ | sudo apt-get install ntpdate ntp-server | ||
+ | </code> | ||
+ | Edit file ///etc/default/ntpdate// | ||
+ | :change NTPSERVERS to cognac.epfl.ch => | ||
+ | <code> | ||
+ | NTPSERVERS="cognac.epfl.ch" | ||
+ | #NTPSERVERS="pool.ntp.org" | ||
+ | # | ||
+ | # additional options for ntpdate | ||
+ | #NTPOPTIONS="-v" | ||
+ | NTPOPTIONS="-u" | ||
+ | </code> | ||
+ | |||
+ | |||
+ | |||
+ | ===== Matlab ===== | ||
+ | Get a licenses on http://distrilog.epfl.ch | ||
+ | |||
+ | <code bash> | ||
+ | sudo mkdir /net | ||
+ | sudo mkdir /net/linuxline | ||
+ | sudo mkdir /net/linuxline/export | ||
+ | sudo mkdir /net/linuxline/export/mirror | ||
+ | sudo mount linuxline:/export/mirror /net/linuxline/export/mirror | ||
+ | sudo apt-get install alien | ||
+ | alien -dv /net/linuxline/export/mirror/LICENSES/MATLAB74/Matlab-full-7.4-1.i386.rpm | ||
+ | dpkg -i matlab-full_7.4-2_i386.deb | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ===== APT ===== | ||
+ | |||
+ | Create file ///etc/cron.daily/apt// contains : | ||
+ | <code bash> | ||
+ | #! /bin/sh | ||
+ | apt-get update; | ||
+ | apt-get -y upgrade; | ||
+ | </code> | ||
+ | |||
+ | ===== SSH ===== | ||
+ | edit file ///etc/ssh/sshd_config// | ||
+ | change //X11Forwarding no// by | ||
+ | <code> | ||
+ | X11Forwarding yes | ||
+ | </code> |