ROBIN -  Open Source Mesh Network Forum Index ROBIN - Open Source Mesh Network
users community forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

/etc/DFE offline test

 
Post new topic   Reply to topic    ROBIN - Open Source Mesh Network Forum Index -> OrangeMesh Dashboard
View previous topic :: View next topic  
Author Message
Ads






Posted: Sun Aug 20, 2017 8:54 am    Post subject: Ads

Back to top
ispyisail
Site Admin
Site Admin


Joined: 12 Sep 2008
Posts: 4604
Location: New Zealand

PostPosted: Mon Jan 19, 2009 9:50 am    Post subject: /etc/DFE offline test Reply with quote

I'm not sure if i'm testing orangemesh (no google) or DFE.

See my DFE config below, it works.

There are a few bugs and i have some questions about DFE

With DFE I assumed that the "ROBIN gateway node" was going to be a master server and the settings we going to be pushed out the all the other nodes? On my test network i only have 2 nodes which i edited both nodes DFE config files. This would be a problem on a big network.

Bug 1
I had my orangemesh network working then switched back to the open-mesh dashboard. One node get stuck on batman and the other on OSLR. I tryed everything but short of a reflash i gave up. I went back to orangemesh and both nodes went back to batman.

Bug 2
Orangemesh network is working fine then you unplug the DSL router plug. The network keeps working, you can transfer files between computers. But the orangemesh status stops working. I left it for 15 minutes and it wouldn't update. I plugged the DSL router back in and waited 5 minutes and it started working again.

Good work guys. so close now Smile



Only registered users can see links on this forum!
Register or Login on forum!



Code:

# /etc/DFE Dashboard Front End
# ROBIN - 2007 by Antonio Anselmi <a.anselmi-at-oltrelinux-dot-com>

# rename as /etc/DFE if you DO NOT want run the current settings as stored in /etc/config/general
# /etc/DFE (if present) is parsed by /etc/init.d/nodeclean and its values
# are exported to /etc/config/general.
# You have to know what are you doing

# DASHBOARD_IN_USE
# name of the used dashboard
# default: DASHBOARD_IN_USE=open-mesh
DASHBOARD_IN_USE=orangemesh

# DASHBOARD_URL 
# FQN or IP address of the server hosting the dashboard server
# default: DASHBOARD_URL=checkin.open-mesh.com
DASHBOARD_URL=192.168.0.7:443

# DASHBOARD_ON_LAN
# 1 = dashboard resides on the wired LAN segment
#     in this case DASHBOARD_URL must be the LAN IP address of the dashboard (!)
# 0 = dashboard is outside
# default: DASHBOARD_ON_LAN=0
DASHBOARD_ON_LAN=1

# FIRMWARES_URL
# FQN or IP address of the server hosting the version file and the
# related upgrade tarball
# default for test version: FIRMWARES_URL=www.open-mesh.com/firmware/mr3201a/test/
# default for beta version: FIRMWARES_URL=www.open-mesh.com/firmware/mr3201a/
# The final "/" is mandatory
FIRMWARES_URL=www.open-mesh.com/firmware/mr3201a/test/

# CUSTOM_SH_URL
# FQN or IP address of the server hosting the custom.sh script
# default: CUSTOM_SH_URL=www.open-mesh.com/firmware/mr3201a/
CUSTOM_SH_URL=www.open-mesh.com/firmware/mr3201a/

# have fun
Back to top
View user's profile Send private message
Antonio (isleman)
Site Admin
Site Admin


Joined: 10 Feb 2008
Posts: 2323
Location: Toscana, Italy

PostPosted: Mon Jan 19, 2009 12:56 pm    Post subject: Reply with quote

as I posted, something has to be finished up to avoid that replies could modify /etc/config/general overwriting /etc/DFE settings. For example you have to add this test at the beginning of /usr/sbin/update-general.conf:

Code:
[ -e /etc/DFE ] && exit


so the reply lines related to dashboard wont be processed.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ispyisail
Site Admin
Site Admin


Joined: 12 Sep 2008
Posts: 4604
Location: New Zealand

PostPosted: Mon Jan 19, 2009 6:53 pm    Post subject: Reply with quote

i'll wait then.

Thanks
Back to top
View user's profile Send private message
funchip
Moderator
Moderator


Joined: 12 Sep 2008
Posts: 267
Location: Sacramento, California, USA

PostPosted: Wed Jan 21, 2009 1:36 am    Post subject: Reply with quote

@ispyisail, while Antonio working on improving DFE, let me comment on your bug #2.

I assume you network configuration was something like
OrangeMesh Server --- router --- OM gateway ^^^ OM repeater ^^^ ...

When the DSL router was unplugged from DSL, was the server still able to see the gateway node (or vice versa)? I mainly try to make sure the router was still functioning properly.

Second, do you think you may want to leave DASHBOARD_ON_LAN=0 as default? Antonio mentioned in his posting that DASHBOARD_ON_LAN=1 is to be used with LAN block. In your config, seemed the LAN_BLOCK was not blocked because you needed to have the computers seeing each other.
Only registered users can see links on this forum!
Register or Login on forum!



I'm also wondering about the way node checkin to dashboard. If you look at the /etc/config/general, there are other parameters stilling pointing to open-mesh server while on the OrangeMesh dashboard. Some one may help to explain whether a node would stop checkin once it failed to contact open-mesh webserver.
Back to top
View user's profile Send private message
ispyisail
Site Admin
Site Admin


Joined: 12 Sep 2008
Posts: 4604
Location: New Zealand

PostPosted: Wed Jan 21, 2009 8:36 am    Post subject: Reply with quote

Network setup, ignore IP space


Only registered users can see links on this forum!
Register or Login on forum!



Quote:
When the DSL router was unplugged from DSL, was the server still able to see the gateway node (or vice versa)? I mainly try to make sure the router was still functioning properly.


No, well I don't think so.

My ROBIN mesh still works even when the orangemesh dashboard server is turned off. If i unplug the DSL router cable and the orangemesh server is running the ROBIN mesh still works e.g. (file transfer between PC) but i lose the connection to the "status" of the orangemesh server. I plug the ADSL cable back in wait 5 minutes and the orangemesh status start working again.

At night i just turn the orangemesh server off, mesh keeps working. Next day turn the orangemesh server back on to check things.





Only registered users can see links on this forum!
Register or Login on forum!




Quote:
Second, do you think you may want to leave DASHBOARD_ON_LAN=0 as default? Antonio mentioned in his posting that DASHBOARD_ON_LAN=1 is to be used with LAN block. In your config, seemed the LAN_BLOCK was not blocked because you needed to have the computers seeing each other.

i'll change it back and see what happens

Code:
config 'general' 'services'
   option 'name_srv' '18.26.4.9'
   option 'upstream' '0'
   option 'updt_srv' '192.168.0.7:443'
   option 'upgd_srv' 'www.open-mesh.com/firmware/mr3201a/'
   option 'beat_srv' 'www.open-mesh.com'
   option 'ntpd_srv' 'tick.greyware.com'
   option 'cstm_srv' 'www.open-mesh.com/firmware/mr3201a/'
   option 'upgt_srv' 'www.open-mesh.com/firmware/mr3201a/test/'
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ROBIN - Open Source Mesh Network Forum Index -> OrangeMesh Dashboard All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
c d
e



Powered by phpBB © 2001, 2005 phpBB Group

Abuse - Report Abuse - TOS & Privacy.
Powered by forumup.it free forum, create your free forum! Created by Hyarbor & Qooqoa
Confirmed

Page generation time: 0.556