Difference between revisions of "User talk:Jonas Oestman/Howto/RawLenny"

From BubbaWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
This is my try to make a usable NAS and streaming server out of the Raw Lenny image that Excito supply.  
This is my try to make a usable NAS and streaming server out of the Raw Lenny image that Excito supply.  


1. Connect to 192.168.0.50 with ssh -l root and password excito.  
'''1.''' Connect to 192.168.0.50 with ssh -l root and password excito.  


2. Add virtual eth0 interface, to be safe.  
'''2.''' Add virtual eth0 interface, to be safe.  
<blockquote>[http://www.debian-administration.org/articles/68 http://www.debian-administration.org/articles/68] </blockquote>  
<blockquote>[http://www.debian-administration.org/articles/68 http://www.debian-administration.org/articles/68] </blockquote>  


3. Connect to the new ip of bubba-raw.  
'''3.''' Connect to the new ip of bubba-raw.  


4. <code>bubba-raw:~# </code>'''<code>date</code> '''  
'''4.''' <code>bubba-raw:~# </code>'''<code>date</code> '''  


will give  
will give  
Line 30: Line 30:
<br> There you go, step 2 allowed you to change IP without dropping the connection and if any error occured you could fix them.  
<br> There you go, step 2 allowed you to change IP without dropping the connection and if any error occured you could fix them.  


5. Change passwd (to be more secure)  
'''5.''' Change passwd (to be more secure)  


6. apt-get
'''6.''' apt-get


change to <blockquote>deb http://archive.debian.org/debian-archive/debian lenny main</blockquote> in  /etc/apt/sources.list
change to <blockquote>deb http://archive.debian.org/debian-archive/debian lenny main</blockquote>  
in  /etc/apt/sources.list
and add
<blockquote>deb http://archive.debian.org/debian-archive/debian-backports lenny-backports main</blockquote>


and run: apt-get install debian-archive-keyring  
and run: apt-get install debian-archive-keyring  
Line 54: Line 57:


http://wiki.debian.org/HowTo/openswan
http://wiki.debian.org/HowTo/openswan
== Transmission BitTorrent Client ==
http://archive.debian.net/lenny-backports/transmission-daemon
apt-get install -t lenny-backports <paketnamn>
backports only have 1.77
but in 2.30 transmission get UDP tracker support (essential)
https://trac.transmissionbt.com/query?group=status&component=libtransmission&milestone=2.30
== NTP ==
Network Time Protocol is essential piece of software to have
http://archive.debian.net/lenny/ntp
== CUPS ==
http://archive.debian.net/lenny-backports/hpijs-ppds
apt-get install -t lenny-backports <paketnamn>
== netcat hddtemp ==
apt-get install hddtemp
netcat localhost 7634
== reboot magic ==
echo 19088743 >> /sys/devices/platform/buttons/bubbabuttons0/magic
http://forum.excito.net/viewtopic.php?f=3&t=952&hilit=reboot+magic

Latest revision as of 12:18, 8 January 2014

This is my try to make a usable NAS and streaming server out of the Raw Lenny image that Excito supply.

1. Connect to 192.168.0.50 with ssh -l root and password excito.

2. Add virtual eth0 interface, to be safe.

http://www.debian-administration.org/articles/68

3. Connect to the new ip of bubba-raw.

4. bubba-raw:~# date

will give

Sun Apr 12 12:00:00 UTC 1970

this is totaly wrong and unhealty.

type this to correct the anomaly:

bubba-raw:~# date --set="2011-03-31 22:55"

and that will give:

Thu Mar 31 22:55:00 UTC 2011

next time, this funny will apear 

Last login: Mon Apr 13 04:34:14 1970 from 10.0.1.7
bubba-raw:~#


There you go, step 2 allowed you to change IP without dropping the connection and if any error occured you could fix them.

5. Change passwd (to be more secure)

6. apt-get

change to

deb http://archive.debian.org/debian-archive/debian lenny main

in /etc/apt/sources.list and add

deb http://archive.debian.org/debian-archive/debian-backports lenny-backports main

and run: apt-get install debian-archive-keyring

Avahi

nano /etc/network/interfaces

pre-up ifconfig eth0 allmulti

var/log/syslog

complaining about modules.deb run depmod to clear things up http://linux.die.net/man/8/depmod mkdir /lib/modules/2.6.16.16 then depmod

IPsec VPN

http://wiki.debian.org/HowTo/openswan

Transmission BitTorrent Client

http://archive.debian.net/lenny-backports/transmission-daemon apt-get install -t lenny-backports <paketnamn>

backports only have 1.77 but in 2.30 transmission get UDP tracker support (essential) https://trac.transmissionbt.com/query?group=status&component=libtransmission&milestone=2.30

NTP

Network Time Protocol is essential piece of software to have

http://archive.debian.net/lenny/ntp

CUPS

http://archive.debian.net/lenny-backports/hpijs-ppds

apt-get install -t lenny-backports <paketnamn>

netcat hddtemp

apt-get install hddtemp

netcat localhost 7634

reboot magic

echo 19088743 >> /sys/devices/platform/buttons/bubbabuttons0/magic

http://forum.excito.net/viewtopic.php?f=3&t=952&hilit=reboot+magic