Difference between revisions of "Plug notes"

From Amahi Wiki
Jump to: navigation, search
(Redirected page to Amahi Plug Edition)
 
(97 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
#REDIRECT [[Amahi_Plug_Edition]]
 +
 +
 +
'''Note: Most of this information is duplicated elsewhere.  It needs to be verified and removed as necessary.'''
 +
 +
See [[Amahi_Plug_Edition | Amahi_Plug_Edition]] for installation and supported devices.
 +
 +
 +
 +
= Misc Notes =
 +
 +
* restarting rpm db in chrooted environment:
 +
{{Code|rm /var/lib/rpm/__db*
 +
rpm --rebuilddb -vv}}
 +
 +
<!--* May need to add the following line to /etc/resolv.conf if you have DNS issues:
 +
nameserver 8.8.8.8-->
 +
 +
<!--  OLD NOTES
 
* 2 stop bits to get the bootloader to recognize keyboard and stop autobooting
 
* 2 stop bits to get the bootloader to recognize keyboard and stop autobooting
 
* speed: 115200 /dev/ttyUSB1
 
* speed: 115200 /dev/ttyUSB1
Line 7: Line 26:
 
* build hdactl, hda-platform, install (with --nodeps)
 
* build hdactl, hda-platform, install (with --nodeps)
  
 +
RPMs not available from the mirrors:
 +
* hda-greyhole
 +
* cadaver
 +
* rubygem-gd2 - actually - is this one necessary?
 +
* ruby-RMagick
  
Missing deps in the installer:
 
* httpd, samba, cadaver, bind-utils
 
  
RPMs not available from the mirrors:
+
* ssh into the plug
* hda-greyhole
+
* yum -y install httpd
* rubygem-gd2
+
 
 +
* Install the hda-release
 +
** <small><code>rpm -Uvh <latest_rpm repo="amahi-f12" rpm="hda-release" arch="noarch" output="url" /></code></small>
 +
 
 +
* Install hdactl
 +
** <small><code>rpm -Uvh --nodeps <latest_rpm repo="amahi-f12" rpm="hdactl" arch="armv5tel" output="url" /></code></small>
 +
 
 +
* Now install <code>hda-platform</code>
 +
** <small><code>rpm -Uvh --nodeps <latest_rpm repo="amahi-f12" rpm="hda-platform" arch="noarch" output="url" /></code></small>
 +
 
 +
* Install dependencies:
 +
** <small><code>yum -y install rubygems ruby-libs ruby-mysql</code></small>
 +
 
 +
* Start the Amahi installer.
 +
** <small><code>service amahi-installer start</code></small>
 +
 
 +
* And last but not least, get the installer going by accessing it with a browser:
 +
      <code><nowiki>http://your_ip_address:2000</nowiki></code>
  
Other:
+
* input the install code and install!
* VPN does not work (turned off in servers):
+
* NOTE: it may be better to  
      Cannot allocate TUN/TAP dev dynamically
+
* report bugs!-->
* Greyhole not working - hda-greyhole needed
 
* crontab does not appear to be working
 
* had to add with noatime in / to prevent flash burnout
 
* should control monit - it keeps on pounding the flash with messages in /var/log/monit
 
* would like to add swap to flash based drives
 

Latest revision as of 11:27, 15 July 2011

Redirect to:

Note: Most of this information is duplicated elsewhere. It needs to be verified and removed as necessary.

See Amahi_Plug_Edition for installation and supported devices.


Misc Notes

  • restarting rpm db in chrooted environment:
bash code
​rm /var/lib/rpm/__db* rpm --rebuilddb -vv​