|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| == Gamer PC ==
| | 1. Telnet into the box and change to the /mnt/syb8634/etc directory. |
|
| |
|
| Built a small Gamer PC with the kids, so I guess the main goal was small, quiet. I am also pretty "burnt out" on the last PC we had with all the heating problems. Anyway, this is what I learnt:
| | 2. Jailbreak the ftpuser and move him into the mounting directory: |
| | ../bin/pure-pw usermod ftpuser -D /opt/sybhttpd/localhost.drives/ -f pureftpd.passwd |
| | 3. Re-write the PureFTPd user database: |
| | ../bin/pure-pw mkdb pureftpd.pdb -f pureftpd.passwd |
| | 4. That's it, you can confirm your changes if you want |
| | ../bin/pure-pw show ftpuser -f pureftpd.passwd |
|
| |
|
| | ==Newer versions== |
| | A recent upgrade reveals that this method no longer works, as the ftp user file is now created dynamically on startup. |
|
| |
|
| <img>http://www.mustardseed.co.jp/img/products/jmax/4997401145279_02l.jpg</img>
| | To fix this, telnet into the box and copy to the /mnt/syb8634/etc/ftpserver.sh file to a download directory and edit the following section as below |
|
| |
|
| | start() { |
| | echo -n "Starting FTP Server..." |
| | /mnt/syb8634/bin/nmt_services.cgi cmd=ftp_passwd opt=ftpuser > /dev/null 2> /dev/null |
| | /mnt/syb8634/bin/telnetd telnetd -l /bin/sh -p 23 & |
| | /mnt/syb8634/bin/pure-ftpd -j -H -lpuredb:/etc/pureftpd.pdb -U 133:022 -c 10 -k 100 -I 1440 -w & |
| | /mnt/syb8634/bin/pure-pw usermod ftpuser -D /opt/sybhttpd/localhost.drives/ -f /etc/pureftpd.passwd |
| | /mnt/syb8634/bin/pure-pw mkdb /etc/pureftpd.pdb -f /etc/pureftpd.passwd |
| | } |
|
| |
|
| === Hardware === | | ==Adding users== |
| | Someone in the NMT forums asked me if there was a way to add additional users. I don't know why you would want multiple users, but here is your solution: |
|
| |
|
| * ASUS F1A75-I Deluxe, Mini-ITX motherboard.
| | Add the following line to your start() script near the usermod line: |
| * AMD A8-3870k CPU (4-core 3GHz CPU, with '''integrated''' Radeon HD6550D)
| | (echo NEWUSER PASSWORD; echo NEWUSER PASSWORD) | pure-pw useradd NEWUSER -D /opt/sybhttpd/localhost.drives -u nmt -f /etc/pureftpd.passwd |
| * Corsair memory (2x 4GB sticks at 1866, total 8GB)
| |
| * JMAX JX-FX500B Mustardseed Mini-ITX case (400W SFX PSU, 12v1 17A, 12v2 16A)
| |
| * SSD for Windows 7x64
| |
| * 1TB Samsung Green HDD for Games
| |
| * Radeon HD 6670 PCIx '''discrete''' video card (Dual Graphics / CrossFireX - more on that below)
| |
|
| |
|
| === A8-HD6550D ===
| | Obviously, you want to replace NEWUSER PASSWORD in both cases with the password for the user you are creating and NEWUSER in the last instance with the username you desire for your new user. You can do this as many times, to add as many users as you like. |
| | |
| The initial build was easy, and setup straight forward. You could actually stop here, and just use the Integrated A8-HD6550D graphics for some gaming.
| |
| | |
| Minecraft-1.2.3: Runs beautifully, all defaults
| |
| Modern Warfare 3: Runs beautifully, all defaults
| |
| Skyrim: Playable, game picked "High Quality", I would probably lower it if I were to play
| |
| NeedForSpeed-TheRun: game looks very nice, but seem to run at half game speed. Audio cuts out at times. Playable, but not ideal.
| |
| | |
| | |
| Did a whole heap of research here to see if I had enough power to run a Radeon HD6670 card, at first on its own, then in CrossFireX (takes more power). Some WWW pages said (33A, 500W!) and others 293W (At least 6A on 12v). So quite conflicting. Luckily the JMAX case had 2 rails for 12V, one goes into the motherboard, and the 2nd to the discrete HD6670 card. Still, why not try:
| |
| | |
| | |
| === Radeon HD6670 ===
| |
| | |
| I could not get "Dual Graphics" to work initially (CrossFireX) so I just tested the HD6670 card on its own. With monitor attached to the HD6670 (discrete) card, I tried out the games again.
| |
| | |
| NFS-TheRun: Considerably better, it now became apparent that it was running at half speed before, as it is very fast, very smooth to play. No audio drop-outs.
| |
| | |
| You can hear the fan on the HD6670 when gaming, but it is not bad. When not gaming, the PC is silent.
| |
| | |
| Attempting Dual Graphics.
| |
| | |
| | |
| === A8-HD6550D Dual Graphics ===
| |
| | |
| So there were some fiddling needed here. If I put the monitor on the discrete HD6670 card, I got no signal, or, depending on BIOS setting, I only get the HD6670 card and no integrated HD6550D card.
| |
| | |
| Main GFX-
| |
| BIOS Setting Monitor-Attached Outcome
| |
| ---------------------------------------------
| |
| PCIx HD6670 Only sees HD6670
| |
| PCIx HD6550D No signal
| |
| iGXP HD6670 No signal (Should be this one)
| |
| iGXP HD6550D Success
| |
| | |
| But, '''this was a lie'''. More on that in a bit. Finally the [AMD Catalyst Software Suite] (V12.1) added the "AMD Dual Graphics" options to the "Performance Tab". It was odd that the monitor is connected to the A8-HD6550D output, but it did at least work. I fired up NFS again
| |
| | |
| NFS-TheRun: Running full speed, but with pretty bad slow downs when more cars are around. Some audio drop-outs.
| |
| | |
| Since I was mainly using the integrated HD6550D, with extra boost from the HD6670 card, it sort of makes sense. It did a little better than just the HD6550D, but not as good as the discrete HD6670 can do on its own.
| |
| | |
| The AMD Catalyst Software Suite program lets you create profiles for games, where you can disable AMD Dual Graphics for a specific game. But the problem here is, when I do that for NFS, it will only use the integrated HD6550D card, which does not quite cut it. We want to use the HD6670 card as minimum after all, so...
| |
| | |
| | |
| === HD6670 Dual Graphics ===
| |
| | |
| In trying to solve this, I noticed the driver version for integrated HD6550D (in Device Manager) was a lower version than the discrete HD6670 card I just added. So you really have to uninstall the old card's drivers after all. I clicked Uninstall on the HD6550D, (with 'delete files', or they just got picked again). '''Then''' I installed the [AMD Catalyst Software Suite] drivers again. Now device manager confirmed both cards with identical driver version.
| |
| | |
| Set BIOS to iGXP (otherwise the integrated card gets disabled). Attach monitor to discrete HD6670 card. Making sure to unplug the integrated video connectors. Boot.
| |
| | |
| There is no BIOS prompt (that goes to the integrated feed) so you are booting 'blind'. But once it boots to the Windows login screen, the discrete HD6670 video pops up. Bonus, the AMD Dual Graphics option is now available. Hurrah!
| |
| | |
| NFS-TheRun: Runs beautifully again, no slow downs or audio drop-outs.
| |
| | |
| It is '''at least''' as good as just using the discrete HD6670 card. Probably faster, but I would need to run actual benchmarking to confirm that.
| |
| | |
| Now if I were to disable AMD Dual Graphics for a game, it would then use just the discrete HD6670 card, which is what we want. I have not found any reason to do so. (Since NFS runs better than ever). Skyrim changed to "Ultra High" settings and it '''flies'''. Mass Effect 3 = gorgeous.
| |
| | |
| PSU is still holding on, the system is at 23C when idle, and 45C when gaming.
| |
| | |
| This combination is then called a '''Radeon HD6690D2'''
| |
| | |
| | |
| <img link="http://lundman.net/gallery3/index.php/2011/P1130426" size=320>http://lundman.net/gallery3/var/resizes/2011.August/P1130426.JPG</img>
| |
| <img link="http://lundman.net/gallery3/index.php/2011/screen1" size=320>http://lundman.net/gallery3/var/resizes/2011.August/screen1.png</img>
| |
1. Telnet into the box and change to the /mnt/syb8634/etc directory.
2. Jailbreak the ftpuser and move him into the mounting directory:
../bin/pure-pw usermod ftpuser -D /opt/sybhttpd/localhost.drives/ -f pureftpd.passwd
3. Re-write the PureFTPd user database:
../bin/pure-pw mkdb pureftpd.pdb -f pureftpd.passwd
4. That's it, you can confirm your changes if you want
../bin/pure-pw show ftpuser -f pureftpd.passwd
Newer versions
A recent upgrade reveals that this method no longer works, as the ftp user file is now created dynamically on startup.
To fix this, telnet into the box and copy to the /mnt/syb8634/etc/ftpserver.sh file to a download directory and edit the following section as below
start() {
echo -n "Starting FTP Server..."
/mnt/syb8634/bin/nmt_services.cgi cmd=ftp_passwd opt=ftpuser > /dev/null 2> /dev/null
/mnt/syb8634/bin/telnetd telnetd -l /bin/sh -p 23 &
/mnt/syb8634/bin/pure-ftpd -j -H -lpuredb:/etc/pureftpd.pdb -U 133:022 -c 10 -k 100 -I 1440 -w &
/mnt/syb8634/bin/pure-pw usermod ftpuser -D /opt/sybhttpd/localhost.drives/ -f /etc/pureftpd.passwd
/mnt/syb8634/bin/pure-pw mkdb /etc/pureftpd.pdb -f /etc/pureftpd.passwd
}
Adding users
Someone in the NMT forums asked me if there was a way to add additional users. I don't know why you would want multiple users, but here is your solution:
Add the following line to your start() script near the usermod line:
(echo NEWUSER PASSWORD; echo NEWUSER PASSWORD) | pure-pw useradd NEWUSER -D /opt/sybhttpd/localhost.drives -u nmt -f /etc/pureftpd.passwd
Obviously, you want to replace NEWUSER PASSWORD in both cases with the password for the user you are creating and NEWUSER in the last instance with the username you desire for your new user. You can do this as many times, to add as many users as you like.