goofather
06-10-2013, 11:56 PM
Reposted from another site where I did this to document my process.......
Alright, I erased my OpenWRT setup just to see the setup process.....also changed my subnet to 192.168.1.x for simplicity when telling people what I did.
Once I had the router reflashed:
I took a laptop and set the IP to 192.168.1.200 Gateway: blank DNS: blank on a wired connection. Using an ethernet cable I plugged one end to my laptop the other to port one on the router.
Opened a browser on the laptop and went to 192.168.1.1 and logged into the OpenWRT interface.
Hit the network tab and went to "Edit" on LAN. There I set like so:
IP: 192.168.1.254 (nothing else on my network uses that IP)
Netmask: 255.255.255.0
Gateway: 192.168.1.1 (my main home router for this test)
Custom DNS: 192.168.1.1 (my home router)
Checked the box "Disable DHCP" since I have another router that has dhcp server running
Hit Save & Apply
Once I rebooted the router I then went to 192.168.1.254 in a browser (Since I changed the IP)
Logged in and went to Network tab-> wifi hit the enable button to enable wifi radio and hit the "Scan" button next to my wifi interface listed.
It found my main router so I joined it.
On the laptop I changed the gateway to 192.168.1.254 and dns to 192.168.1.1 to confirm I had internet. To do this I opened a website, h77p://www.google.com and I opened a command prompt and typed "ping google.com". Both tests succeeded.
For good measure I went to network tab->firewall and set Input, Output and Forward to "accept" under the general settings section. Hit Save & apply.
I then went to System Tab->Administration to enabled SSH server. I just hit add and set as such:
Interface: LAN
Port: 22
Checked Allow SSH password authentication
Checked Allow the root user to login with password
Hit Save & Apply
Rebooted router.
From here I was able to copy the xx-client nfusion test over to my router. Edit the servers.ini, the normal setup procedure for xx-client with winscp. To make a winscp connection, set file protocol to SCP, put in router IP, username, password and hit login. I then simply dragged, xx-client-atheros (if you have a broadcom drag xx-client-broadcom), servers.ini, caid.ini and xx-client.ini to /root. I then double clicked on servers.ini and edited that for my P$ info then saved. Did the same for xx-client.ini, making sure receiver_protocol=5. Then went to my nfusion receiver and set IP to 192.168.1.253 (nothing else using that IP on my network) and gateway to 192.168.1.254 (the router I copied xx-client to).
Went back to my laptop and I used putty to connect to 192.168.1.254. When I logged in I typed:
cd /root
chmod +x xx-client-atheros
./xx-client-atheros
Rebooted receiver (turned off/on from the rocker in the back) and I got a picture. Only works with xx-client 2.5+
winscp:
http://winscp.net/eng/download.php
putty:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Of course, if you already have a working router on your network (that you will be installing xx-client on) these instructions are moot and not needed. All you have to do is copy the xx-client files to the router and do the steps to make it executable and run it.
The only prerequisite for the nfusion protocol in xx-client is that you have a working router that can access the Internet. It can be wired or wirelessly bridged. Just as long as that router functions on your network. By working, I mean you can plug/connect a laptop or computer to the router and get internet through it and ping the router's IP address. You just have to create a functioning network router, like everyone else does. Nothing fancy or nonstandard.
Maybe this short primer will be useful for some to understand the networking aspect of it:
http://www.wikihow.com/Connect-One-Router-to-Another-to-Expand-a-Network
Alright, I erased my OpenWRT setup just to see the setup process.....also changed my subnet to 192.168.1.x for simplicity when telling people what I did.
Once I had the router reflashed:
I took a laptop and set the IP to 192.168.1.200 Gateway: blank DNS: blank on a wired connection. Using an ethernet cable I plugged one end to my laptop the other to port one on the router.
Opened a browser on the laptop and went to 192.168.1.1 and logged into the OpenWRT interface.
Hit the network tab and went to "Edit" on LAN. There I set like so:
IP: 192.168.1.254 (nothing else on my network uses that IP)
Netmask: 255.255.255.0
Gateway: 192.168.1.1 (my main home router for this test)
Custom DNS: 192.168.1.1 (my home router)
Checked the box "Disable DHCP" since I have another router that has dhcp server running
Hit Save & Apply
Once I rebooted the router I then went to 192.168.1.254 in a browser (Since I changed the IP)
Logged in and went to Network tab-> wifi hit the enable button to enable wifi radio and hit the "Scan" button next to my wifi interface listed.
It found my main router so I joined it.
On the laptop I changed the gateway to 192.168.1.254 and dns to 192.168.1.1 to confirm I had internet. To do this I opened a website, h77p://www.google.com and I opened a command prompt and typed "ping google.com". Both tests succeeded.
For good measure I went to network tab->firewall and set Input, Output and Forward to "accept" under the general settings section. Hit Save & apply.
I then went to System Tab->Administration to enabled SSH server. I just hit add and set as such:
Interface: LAN
Port: 22
Checked Allow SSH password authentication
Checked Allow the root user to login with password
Hit Save & Apply
Rebooted router.
From here I was able to copy the xx-client nfusion test over to my router. Edit the servers.ini, the normal setup procedure for xx-client with winscp. To make a winscp connection, set file protocol to SCP, put in router IP, username, password and hit login. I then simply dragged, xx-client-atheros (if you have a broadcom drag xx-client-broadcom), servers.ini, caid.ini and xx-client.ini to /root. I then double clicked on servers.ini and edited that for my P$ info then saved. Did the same for xx-client.ini, making sure receiver_protocol=5. Then went to my nfusion receiver and set IP to 192.168.1.253 (nothing else using that IP on my network) and gateway to 192.168.1.254 (the router I copied xx-client to).
Went back to my laptop and I used putty to connect to 192.168.1.254. When I logged in I typed:
cd /root
chmod +x xx-client-atheros
./xx-client-atheros
Rebooted receiver (turned off/on from the rocker in the back) and I got a picture. Only works with xx-client 2.5+
winscp:
http://winscp.net/eng/download.php
putty:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Of course, if you already have a working router on your network (that you will be installing xx-client on) these instructions are moot and not needed. All you have to do is copy the xx-client files to the router and do the steps to make it executable and run it.
The only prerequisite for the nfusion protocol in xx-client is that you have a working router that can access the Internet. It can be wired or wirelessly bridged. Just as long as that router functions on your network. By working, I mean you can plug/connect a laptop or computer to the router and get internet through it and ping the router's IP address. You just have to create a functioning network router, like everyone else does. Nothing fancy or nonstandard.
Maybe this short primer will be useful for some to understand the networking aspect of it:
http://www.wikihow.com/Connect-One-Router-to-Another-to-Expand-a-Network