Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Raspberry Pi B+ and H@H

 
post Jan 13 2015, 19:23
Post #1
Factofu



Regular Poster
*****
Group: Gold Star Club
Posts: 695
Joined: 23-August 10
Level 359 (Dovahkiin)


Hi all! I hope that this is the right place for this thread.

I was wondering if the Raspberry Pi B+ is able to run H@H and so I'm here asking if someone is using it. I know that it works on a SD card but a friend of mine said that it can be considered as a normal pc and it can run few tasks with no problem using an external hdd.

Raspberry can run few Linux distributon and there's Raspian that is build specifically for it and it's based on Debian.

So the question is... can I run H@H using an ext hdd on a Debian-like OS system?
Or specifically... can I run H@H on a Raspberry Pi correctly set?

Thanks
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2015, 22:47
Post #2
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


There are multiple people running H@H on the old RPI ([www.google.com] google), so I don't see why it wouldn't work on the new one
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2015, 23:16
Post #3
MrCrackR



Newcomer
*
Group: Recruits
Posts: 10
Joined: 28-June 10
Level 366 (Godslayer)


QUOTE(pigowallace @ Jan 13 2015, 18:23) *

[snip]
So the question is... can I run H@H using an ext hdd on a Debian-like OS system?
Or specifically... can I run H@H on a Raspberry Pi correctly set?

Thanks

Yes it works. I'm using it on Raspbian. Here are a few advises for you:
Don't run it on sdcard. After some time it get's corrupted and Java can't handle IO errors very well and the machine will freeze.
An ext hdd is very recommended.
Uninstall openjdk and install oraclejdk, which removes a bottleneck lowering your connection speed (almost doubled my speed).
If you want to use it as a pure H@H server you could also remove all gui apps with commands like:
(use at your own risk)
CODE
sudo aptitude purge gpicview xarchiver xpdf galculator scratch dillo midori netsurf-gtk
sudo aptitude purge omxplayer alsa-base alsa-utils penguinspuzzle python-pygame
sudo aptitude purge lxde-core lxde-common lxde-icon-theme lxinput lxmenu-data lxpolkit
sudo aptitude purge lxrandr lxsession lxsession-edit lxshortcut lxtask lxterminal
sudo aptitude purge lxappearance lightdm lightdm-gtk-greeter openbox ttf-dejavu-core fontconfig fontconfig-config
sudo aptitude purge fonts-freefont-ttf wpagui x11-common dbus-x11 desktop-base
sudo aptitude purge desktop-file-utils hicolor-icon-theme leafpad xdg-utils xauth
sudo aptitude purge gnome-themes-standard gtk2-engines raspberrypi-artwork wolfram-engine
sudo dpkg --configure -a

In the memory split options, assign 16MB to gpu. You can find the rest of the configuration here in the forum and in the wiki.
I am using the following script to start my server:
CODE

#!/bin/bash
sudo mount -t ntfs-3g -o uid=pi,gid=pi /dev/sda1 /home/pi/MyExtHDD
cd /home/pi/MyExtHDD/H@H/
screen -dmS HentaiAtHome java -jar HentaiAtHome.jar --disable_logging --disable_bwm --skip_free_space_check --use_more_memory

Of course you have to install ntfs-3g and screen first and adjust the path.

This post has been edited by MrCrackR: Jan 13 2015, 23:24
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2015, 23:26
Post #4
Factofu



Regular Poster
*****
Group: Gold Star Club
Posts: 695
Joined: 23-August 10
Level 359 (Dovahkiin)


Thank you very much!

Well I guess that a pure server is too risky for me since I'm not very handy with Linux.
Can I just run the client as I run on my windows pc with the .jar?

By the way thanks for the tips about the ext hdd.

JDK? Not the JRE?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2015, 23:30
Post #5
MrCrackR



Newcomer
*
Group: Recruits
Posts: 10
Joined: 28-June 10
Level 366 (Godslayer)


You can, but you are wasting a lot of cpu / memory.
I couldn't find the oracle jre as a hard-float version for arm.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2015, 23:33
Post #6
blue penguin



in umbra, igitur, pugnabimus
***********
Group: Gold Star Club
Posts: 10,046
Joined: 24-March 12
Level 500 (Godslayer)


It might be a good idea to get a externally powered HDD. The Pi does not have much current so powering a full HDD through USB may be a problem (i had such a problem years ago with model A).

QUOTE
Uninstall openjdk and install oraclejdk, which removes a bottleneck lowering your connection speed (almost doubled my speed).
Just use java 7, java 8 is still crap.

QUOTE
JDK? Not the JRE?
On a linux machine yes, definitely yes. (for philosophical reasons)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2015, 23:46
Post #7
Factofu



Regular Poster
*****
Group: Gold Star Club
Posts: 695
Joined: 23-August 10
Level 359 (Dovahkiin)


QUOTE(MrCrackR @ Jan 14 2015, 00:30) *

You can, but you are wasting a lot of cpu / memory.
I couldn't find the oracle jre as a hard-float version for arm.


Ok I'll follow the guide on the wiki then!

QUOTE(blue penguin @ Jan 14 2015, 00:33) *

It might be a good idea to get a externally powered HDD. The Pi does not have much current so powering a full HDD through USB may be a problem (i had such a problem years ago with model A).

Just use java 7, java 8 is still crap.

On a linux machine yes, definitely yes. (for philosophical reasons)


okok haha

Another question... the OS must be on the SD card, right? If I'm not wrong I cannot install it on the hdd.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 13 2015, 23:50
Post #8
MrCrackR



Newcomer
*
Group: Recruits
Posts: 10
Joined: 28-June 10
Level 366 (Godslayer)


QUOTE(pigowallace @ Jan 13 2015, 22:46) *

Ok I'll follow the guide on the wiki then!
okok haha

Another question... the OS must be on the SD card, right? If I'm not wrong I cannot install it on the hdd.

Yes. I think only Banana Pi allows installing OS on hdd (via sata port).
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 14 2015, 00:47
Post #9
Hobbitmon



Casual Toaster
****
Group: Catgirl Camarilla
Posts: 339
Joined: 22-February 09
Level 458 (Godslayer)


The *bootloader* needs to be on the sdcard, the actual os files can be on a different drive:

[jonathanmh.com] http://jonathanmh.com/boot-raspberry-pi-from-a-usb-stick/
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 14 2015, 00:55
Post #10
Factofu



Regular Poster
*****
Group: Gold Star Club
Posts: 695
Joined: 23-August 10
Level 359 (Dovahkiin)


QUOTE(Hobbitmon @ Jan 14 2015, 01:47) *

The *bootloader* needs to be on the sdcard, the actual os files can be on a different drive:

[jonathanmh.com] http://jonathanmh.com/boot-raspberry-pi-from-a-usb-stick/


Well... are there any problems if I run the OS from sd and H@H from hdd ?

A friend of mine (the same one as above) said that he uses an USB powered ext hdd with 2 USB ports and it works fine. He even said that he's using a powered HUB who powers the RPi and the devices.

Seems a good solution to me... since I cannot find an externally powered hdd smaller than 1 TB :S (it costs quite a lot)

EDIT: Sorry for the eng! If you have any advice about it, they are welcome! (IMG:[invalid] style_emoticons/default/biggrin.gif)

This post has been edited by pigowallace: Jan 14 2015, 00:56
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 14 2015, 02:40
Post #11
blue penguin



in umbra, igitur, pugnabimus
***********
Group: Gold Star Club
Posts: 10,046
Joined: 24-March 12
Level 500 (Godslayer)


There was a time when rawpower was Pi's problem. Not sure if it is a problem still, especially with model B, but I'd try to be safe and power things from other sources (other USB ports, other power adaptors).

e.g. I would not try to connect a USB only CD/DVD recorder to a Pi and burn a disk.

QUOTE
Well... are there any problems if I run the OS from sd and H@H from hdd ?
That looks like a very reasonable idea.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 14 2015, 02:43
Post #12
Factofu



Regular Poster
*****
Group: Gold Star Club
Posts: 695
Joined: 23-August 10
Level 359 (Dovahkiin)


QUOTE(blue penguin @ Jan 14 2015, 03:40) *

There was a time when rawpower was Pi's problem. Not sure if it is a problem still, especially with model B, but I'd try to be safe and power things from other sources (other USB ports, other power adaptors).

e.g. I would not try to connect a USB only CD/DVD recorder to a Pi and burn a disk.

That looks like a very reasonable idea.


Ok, thank you! I'll update you about how it'll go! (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 15th August 2025 - 19:17