Difference between revisions of "User talk:Jonas Oestman/Howto/RawLenny"
(the date fail) |
|||
Line 9: | Line 9: | ||
4. Connect to the new ip of bubba-raw. | 4. Connect to the new ip of bubba-raw. | ||
5. <code>bubba-raw:~# </code>'''<code>date</code> ''' | 5. <code>bubba-raw:~# </code>'''<code>date</code> ''' | ||
will give | will give | ||
<blockquote> | |||
''Sun Apr 12 12:00:00 UTC 1970'' | ''Sun Apr 12 12:00:00 UTC 1970'' | ||
</blockquote> | |||
this is totaly wrong and unhealty. | this is totaly wrong and unhealty. | ||
type this to correct the anomaly: | type this to correct the anomaly: | ||
<code>bubba-raw:~# </code>'''<code>date --date="2011-03-31 22:55"</code> ''' | <code>bubba-raw:~# </code>'''<code>date --date="2011-03-31 22:55"</code> ''' | ||
and that will give: | and that will give: | ||
<blockquote> | |||
''Thu Mar 31 22:55:00 UTC 2011'' | ''Thu Mar 31 22:55:00 UTC 2011'' | ||
</blockquote> | |||
''next time, this funny will apear '' | |||
<blockquote> | |||
''Last login: Mon Apr 13 04:34:14 1970 from 10.0.1.7<br>bubba-raw:~# <br>''<br> | |||
</blockquote> | |||
<br> There you go, step 3 allowed you to change IP without dropping the connection and if any error occured you could fix them. | <br> There you go, step 3 allowed you to change IP without dropping the connection and if any error occured you could fix them. | ||
Revision as of 21:11, 31 March 2011
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. Change passwd (to be more secure)
3. Add virtual eth0 interface, to be safe.
4. Connect to the new ip of bubba-raw.
5. 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 --date="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 3 allowed you to change IP without dropping the connection and if any error occured you could fix them.
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