FXP.One:Clients: Difference between revisions

From Lundman Wiki
mNo edit summary
mNo edit summary
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.
====External Links====


Minecraft-1.2.3: Runs beautifully, all defaults
[http://thietkeweb.ctit.vn/ thiet ke web]
Modern Warfare 3: Runs beautifully, all defaults
[http://thietkeweb.ctit.vn/thiet-ke-web-mien-phi.html thiet ke web mien phi]
Skyrim: Playable, game picked "High Quality", I would probably lower it if I were to play
[http://thietkeweb.ctit.vn/thiet-ke-web-gia-re.html thiet ke web gia re]
NeedForSpeed-TheRun: game looks very nice, but seem to run at half game speed. Audio cuts out at times. Playable, but not ideal.
[http://thietkeweb.ctit.vn/thiet-ke-web-chuyen-nghiep.html thiet ke web chuyen nghiep]
 
[http://thietkeweb.ctit.vn/thiet-ke-web-ban-hang.html thiet ke web ban hang]
 
[http://thietkeweb.ctit.vn/thiet-ke-web-du-lich.html  thiet ke web du lich]
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:
[http://www.thokim.com/phong-thuy-mien-phi/ phong thuy mien phi]
 
[http://doanhnghiep.santhuongmai.com/ thông tin doanh nghiệp]
 
[http://doanhnghiep.santhuongmai.com/ thong tin doanh nghiep]
=== Radeon HD6670 ===
[http://doanhnghiep.santhuongmai.com/doanh-nhan-viet-nam/ doanh nhan viet nam]
 
[http://doanhnghiep.santhuongmai.com/doanh-nhan-viet-nam/ doanh nhân Việt Nam]
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.
[http://doanhnghiep.santhuongmai.com/bi-quyet-kinh-doanh-thanh-cong/ bi quyet kinh doanh thanh cong]
 
[http://doanhnghiep.santhuongmai.com/bi-quyet-kinh-doanh-thanh-cong/ bí quyết kinh doanh thành công]
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.  
[http://doanhnghiep.santhuongmai.com/y-tuong-kinh-doanh/ y tuong kinh doanh]
 
[http://doanhnghiep.santhuongmai.com/y-tuong-kinh-doanh/ ý tưởng kinh doanh]
You can hear the fan on the HD6670 when gaming, but it is not bad. When not gaming, the PC is silent.
[http://doanhnghiep.santhuongmai.com/ty-gia-vang.html ty gia vang]
 
[http://doanhnghiep.santhuongmai.com/ty-gia-vang.html tỷ giá vàng]
Attempting Dual Graphics.
[http://doanhnghiep.santhuongmai.com/ty-gia-ngoai-te.html ty gia ngoai te]
 
[http://doanhnghiep.santhuongmai.com/ty-gia-ngoai-te.html tỷ giá ngoại tệ]
 
[http://tincongnghe.ctit.vn/ tin cong nghe]
=== A8-HD6550D Dual Graphics ===
[http://tincongnghe.ctit.vn/ tin công nghệ]
 
[http://www.linhkiendienthoai.cellphone.vn/ linh kien dien thoai di dong]
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.  
[http://www.linhkiendienthoai.cellphone.vn/ dien thoai di dong]
 
[http://www.thokim.com/thiet-ke-san-vuon/ thiet ke san vuon]
Main GFX-
[http://www.thokim.com/thi-cong-xay-dung/ thi cong xay dung]
BIOS Setting    Monitor-Attached    Outcome
[http://www.thokim.com/thi-cong-noi-that/ thi cong noi that]
---------------------------------------------
[http://www.thokim.com/thiet-ke-kien-truc/ thiet ke kien truc]
PCIx            HD6670              Only sees HD6670
[http://www.thokim.com/thiet-ke-noi-that/ thiet ke noi that]
PCIx            HD6550D              No signal
[http://www.linhkiensamsung.com/san-pham/linh-kien-samsung/man-hinh-samsung/ man hinh samsung]
iGXP            HD6670              No signal (Should be this one)
[http://www.linhkiensamsung.com/san-pham/linh-kien-samsung/cam-ung-samsung/ cam ung samsung]
iGXP            HD6550D              Success
[http://www.linhkienlg.com/san-pham/linh-kien-lg/man-hinh-lg/ man hinh lg]
 
[http://www.linhkienlg.com/san-pham/linh-kien-lg/cam-ung-lg/ cam ung lg]
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
[http://www.linhkieniphone.com.vn/san-pham/giai-ma/iphone/sim-ghep-r-sim-ultra-s-sim-ghep-unlock-iphone-4s-phien-ban-hoan-thien.html sim ghep cho iphone 4s]
 
[http://tincongnghe.ctit.vn/dien-thoai-di-dong/ điện thoại di động]
NFS-TheRun: Running full speed, but with pretty bad slow downs when more cars are around. Some audio drop-outs.
[http://tincongnghe.ctit.vn/thiet-bi-so/ thiet bi so]
 
[http://tincongnghe.ctit.vn/may-vi-tinh/thu-thuat/ thủ thuật máy tính]
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.
[http://tincongnghe.ctit.vn/kien-thuc-cong-nghe/ kiến thức công nghệ]
 
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>

Revision as of 06:50, 5 April 2012

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.

External Links

thiet ke web thiet ke web mien phi thiet ke web gia re thiet ke web chuyen nghiep thiet ke web ban hang thiet ke web du lich phong thuy mien phi thông tin doanh nghiệp thong tin doanh nghiep doanh nhan viet nam doanh nhân Việt Nam bi quyet kinh doanh thanh cong bí quyết kinh doanh thành công y tuong kinh doanh ý tưởng kinh doanh ty gia vang tỷ giá vàng ty gia ngoai te tỷ giá ngoại tệ tin cong nghe tin công nghệ linh kien dien thoai di dong dien thoai di dong thiet ke san vuon thi cong xay dung thi cong noi that thiet ke kien truc thiet ke noi that man hinh samsung cam ung samsung man hinh lg cam ung lg sim ghep cho iphone 4s điện thoại di động thiet bi so thủ thuật máy tính kiến thức công nghệ