I installed radiusdesk on a VPS today and flashed 2 WR841N-v9 routers today. When I pull up the config utility, the address of the VPS comes up. I have everything configured as the set up instructions say and my routers never fetch their config from the server. How can I fix this? What could be going wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So I am configuring this at work and I think its an issue with our network. I will try again from home tonight where I have better control of the settings.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So I have made some progress, but things are not running as planned.
In order to be able to edit any "Node Settings" I had to manually make an entry in the MySQL database. After doing that, the routers seemed to get their settings from the server and now I have a wifi network running. I have done this with both router and things are happy with just one routher hooker up.
However, when I power on the 2nd one, it never joins the mesh.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Skeylab,
does your VPS respond to ping ?
My routers never fetched their config from the server until I allowed ping responses
I dont think it is mentioned anywhere in the documentation made by Dirk. I took me few days to figure it out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes. Its a newly spun up Ubuntu VPS at digital ocean. The routers fetch the config once at boot, MeshDesk reports they are active, then in 5 mins they go red and never ping again. I assumed they pinged periodically.
More importantly, the router not connected to the internet (lets call it "B"), never connects to the one that is connected to the net ("A").
I had issues saving various settings in MeshDesk until i manually duplicated some rows in the database and changed the mesh IDs. I feel like the config script is missing values or stuff is not populated properly when a new mesh is configured.
I'm hoping to use this system to redo the wifi at my friend's hostel in Croatia, collecting Facebook likes or simply email addresses of the guests to provide wifi access. (Before I go any farther, this will do this, correct?) Is it always this complicated to configure? I will not be on site (I'm in Chicago) and want things to be 100% plug and play. Is it because i used the cheapest router available for the project? I'm willing to try a different router if thats why.
Last edit: Skeyelab 2015-11-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you use a two radio AP ?
I had the same problem and found that when I switch to one radio (2,4Ghz) solution nodes where up and the mesh worked correctly.
As soon as I changed to a two radio solution one ping and then red...
The fix for me was removing all the values (leaving an empty field) from HT Capabilities field for the 5GHz Radio,
The field is found under the 'Advanced' tab when editing a node in your mesh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can still try to remove all HT cap. settings ans see if it helps.
Otherwise I am surprised you had to mess with the DB. I installed RD a couple times now and never had to mess with it. The only problem I had during the install of RD was that cron and/or anacron somehow didn't install during my minimal network installation but sudo apt-get install cron anacron fixed that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think its becoming clear that the commercial product Open Mesh is the way to go. I hoped to save money, but the time in configuring and the need to host my own server is not worth it. Am I missing something?
I hope this project matures, as I really think there is something here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is starting to seem promising. Can hardware be mixed? I've got 2 of the routers mentioned above and an tp-link 3600
Its also going to come down to user experience and how slick the logon process is. so far the built in captive portal looks rather 'dated'. Ultimately want people to check in via facebook, email or bypass code.
However, Ill deal with that once I get things meshing well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sure you can mix diffrerent vendors and also select which radios on those dual radio nodes you want to use for the mesh.
These days its also fairly easy to locate Atheros based hardware on Alibaba from China where the guys at the factory are helpfull in getting their hardware up and running with the latest OpenWrt.
This in turn opens a whole new hardware world of options.
You are welcome to give suggestions how we can make the captive portal more modern, however, it does already support all those options and these options are configured under the Dynamic Login Pages.
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Router B still doesnt seems to get its settings from Router A (gateway).
I hooked each one up to my internet and booted each up. They each fetched the Meerkat settings frommy server and work when plugged to the internet. Then, I turn Router B off, disconnect it from the internet, put it in another room, and boot it up. I see its SSID come online, but cannot connect to it and it never seems to ping my server. It should at this point right?
Should I be using the WAN or LAN port to connect to my cable modem at Router A?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed radiusdesk on a VPS today and flashed 2 WR841N-v9 routers today. When I pull up the config utility, the address of the VPS comes up. I have everything configured as the set up instructions say and my routers never fetch their config from the server. How can I fix this? What could be going wrong?
So I am configuring this at work and I think its an issue with our network. I will try again from home tonight where I have better control of the settings.
So I have made some progress, but things are not running as planned.
In order to be able to edit any "Node Settings" I had to manually make an entry in the MySQL database. After doing that, the routers seemed to get their settings from the server and now I have a wifi network running. I have done this with both router and things are happy with just one routher hooker up.
However, when I power on the 2nd one, it never joins the mesh.
Hello,
I recently bought a WR841N to experiment with, and I must say I am experiencing the same issue with the node settings being "greyed out" as it were.
I compared my JSON output with yours as well, and it is almost exactly the same.
So I am, too, wondering what is going on here.
Hi Skeylab,
does your VPS respond to ping ?
My routers never fetched their config from the server until I allowed ping responses
I dont think it is mentioned anywhere in the documentation made by Dirk. I took me few days to figure it out.
Yes. Its a newly spun up Ubuntu VPS at digital ocean. The routers fetch the config once at boot, MeshDesk reports they are active, then in 5 mins they go red and never ping again. I assumed they pinged periodically.
More importantly, the router not connected to the internet (lets call it "B"), never connects to the one that is connected to the net ("A").
I had issues saving various settings in MeshDesk until i manually duplicated some rows in the database and changed the mesh IDs. I feel like the config script is missing values or stuff is not populated properly when a new mesh is configured.
I'm hoping to use this system to redo the wifi at my friend's hostel in Croatia, collecting Facebook likes or simply email addresses of the guests to provide wifi access. (Before I go any farther, this will do this, correct?) Is it always this complicated to configure? I will not be on site (I'm in Chicago) and want things to be 100% plug and play. Is it because i used the cheapest router available for the project? I'm willing to try a different router if thats why.
Last edit: Skeyelab 2015-11-12
Do you use a two radio AP ?
I had the same problem and found that when I switch to one radio (2,4Ghz) solution nodes where up and the mesh worked correctly.
As soon as I changed to a two radio solution one ping and then red...
The fix for me was removing all the values (leaving an empty field) from HT Capabilities field for the 5GHz Radio,
The field is found under the 'Advanced' tab when editing a node in your mesh
No, this is just the WR841N.
Here is a screenshot of my settings:
http://cloud.skeyelab.com/image/0Z0x1F0H0Z43
Hi,
Sorry for comming so late to this discussion.
I see you use the latest SVN
I suspect the problems you experience is due to recent enhancements that might have not been propagated to the DB.
Can you perhaps to the following test. To simulate the node fetching its settings use this as reference:
http://rd01.wificity.asia/cake2/rd_cake/nodes/get_config_for_node.json?mac=00-C0-CA-8B-42-A0&gateway=true
Replace the hostmane with your server's IP or hostname and the MAC with the mac of the 841.
Inspect the JSON output and see that it is without errors.
Let us know how it went.
I'll also upload the Chaos Calmer images during the week-end there has been quite a lot of enhancements recenlty.
Kind regards
You can still try to remove all HT cap. settings ans see if it helps.
Otherwise I am surprised you had to mess with the DB. I installed RD a couple times now and never had to mess with it. The only problem I had during the install of RD was that cron and/or anacron somehow didn't install during my minimal network installation but sudo apt-get install cron anacron fixed that.
@dirk, I am not sure what to look for, but here is what is returned:
{
"config_settings": {
"wireless": [{
"wifi-device": "radio0",
"options": {
"channel": 8,
"disabled": 0,
"hwmode": "11g",
"country": "US",
"distance": 300,
"htmode": "HT20",
"txpower": 21,
"beacon_int": 100,
"noscan": 0,
"diversity": 1,
"ldpc": 1
},
"lists": [{
"name": "ht_capab",
"value": "SHORT-GI-40"
}, {
"name": "ht_capab",
"value": "RX-STBC1"
}, {
"name": "ht_capab",
"value": "TX-STBC"
}, {
"name": "ht_capab",
"value": "DSSS_CCK-40"
}]
}, {
"wifi-iface": "zero",
"options": {
"device": "radio0",
"ifname": "mesh0",
"network": "mesh",
"mode": "adhoc",
"ssid": "02_CA_FE_CA_00_02",
"bssid": "02:CA:FE:CA:00:02"
}
}, {
"wifi-iface": "one",
"options": {
"device": "radio0",
"ifname": "one0",
"mode": "ap",
"encryption": "psk-mixed",
"network": "one",
"ssid": "meshdesk_config",
"key": "radiusdesk",
"hidden": "1"
}
}, {
"wifi-iface": "two",
"options": {
"device": "radio0",
"ifname": "two0",
"mode": "ap",
"network": "ex_three",
"encryption": "none",
"ssid": "Cheetah guest",
"key": "",
"hidden": false,
"isolate": true,
"auth_server": "",
"auth_secret": ""
}
}, {
"wifi-iface": "three",
"options": {
"device": "radio0",
"ifname": "three0",
"mode": "ap",
"network": "lan",
"encryption": "psk2",
"ssid": "Cheetah wireless",
"key": "cheetahwireless",
"hidden": false,
"isolate": false,
"auth_server": "",
"auth_secret": ""
}
}],
"network": [{
"interface": "loopback",
"options": {
"ifname": "lo",
"proto": "static",
"ipaddr": "127.0.0.1",
"netmask": "255.0.0.0"
}
}, {
"interface": "lan",
"options": {
"ifname": "eth0 eth1 bat0.100 bat0.2",
"type": "bridge",
"proto": "dhcp"
}
}, {
"interface": "b",
"options": {
"ifname": "bat0"
}
}, {
"interface": "mesh",
"options": {
"mtu": "1560",
"proto": "batadv",
"mesh": "bat0"
}
}, {
"interface": "one",
"options": {
"ifname": "bat0.1",
"proto": "static",
"ipaddr": "10.5.5.6",
"netmask": "255.255.255.0",
"type": "bridge"
}
}, {
"interface": "bat_vlan_one",
"options": {
"ifname": "bat0.1",
"proto": "batadv_vlan",
"ap_isolation": "0"
}
}, {
"interface": "ex_three",
"options": {
"ifname": "bat0.3",
"type": "bridge"
}
}, {
"interface": "bat_vlan_three",
"options": {
"ifname": "bat0.3",
"proto": "batadv_vlan",
"ap_isolation": "0"
}
}],
"system": {
"password_hash": "$1$gx1BDX3p$8lVzFTYWy8ghcjuwQvMxY.",
"heartbeat_interval": "60",
"heartbeat_dead_after": "300",
"timezone": "CST6CDT,M3.2.0,M11.1.0",
"gw_dhcp_timeout": "120",
"gw_use_previous": true,
"gw_auto_reboot": true,
"gw_auto_reboot_time": "600",
"hostname": "Tp2"
},
"gateways": [
},
"success": true,
"timestamp": 1
}
Are the "chaos calmer" images new firmware? or virtualbox images? I am not using a virtual box server
I think its becoming clear that the commercial product Open Mesh is the way to go. I hoped to save money, but the time in configuring and the need to host my own server is not worth it. Am I missing something?
I hope this project matures, as I really think there is something here.
Hi,
You can get the CC images here:
https://sourceforge.net/projects/radiusdesk/files/MESHdesk/Firmware/CC/TP-Link/
If you still want to give it another try.
Yes OpenMesh is probably a better option if you want to have a shrinked wrapped solution with commercial support.
Thanks, we are constantly improving the software so maybe you can revisit it later.
Kind regards
I prefer an open source system and hope these work. I think I left one of my routers in my office and cannot test until tomorrow.
This is starting to seem promising. Can hardware be mixed? I've got 2 of the routers mentioned above and an tp-link 3600
Its also going to come down to user experience and how slick the logon process is. so far the built in captive portal looks rather 'dated'. Ultimately want people to check in via facebook, email or bypass code.
However, Ill deal with that once I get things meshing well.
Sure you can mix diffrerent vendors and also select which radios on those dual radio nodes you want to use for the mesh.
These days its also fairly easy to locate Atheros based hardware on Alibaba from China where the guys at the factory are helpfull in getting their hardware up and running with the latest OpenWrt.
This in turn opens a whole new hardware world of options.
You are welcome to give suggestions how we can make the captive portal more modern, however, it does already support all those options and these options are configured under the Dynamic Login Pages.
Regards
Router B still doesnt seems to get its settings from Router A (gateway).
I hooked each one up to my internet and booted each up. They each fetched the Meerkat settings frommy server and work when plugged to the internet. Then, I turn Router B off, disconnect it from the internet, put it in another room, and boot it up. I see its SSID come online, but cannot connect to it and it never seems to ping my server. It should at this point right?
Should I be using the WAN or LAN port to connect to my cable modem at Router A?