In our cellar (where the "fusebox lives") there is no wifi. I was a bit sad to find out that the web-gui (luci) is very "basic". Now I'm trying to set the fluksometer up with wired-ethernet-only" on the cli. If I do find out how to do this I will report back.
ps: maybe the little swich on the side could be used to switch between wifi for internet accces-wired-ethernet for configuration and wired-ethernet-for-everything?
Hi amwasser,
I've created a patch against the default configuration files on the Fluksometer. Running the following batch of commands should give you a Fluksometer with the ethernet port configured to connect to a wired LAN in DHCP mode and the wifi interface disabled:
or bundled into a single command:
Pushing the reset button on the Fluksometer will load the new network configuration settings. The device will now try to obtain its IP configuration via DHCP on the ethernet port. To ssh into the Fluksometer or connect to the web interface, you'll have to find the IP address assigned to the Fluksometer by your local DHCP server.
Should you want to revert the changes, just run the patch command with the -R switch:
We've tried to keep the web interface as simple as possible on purpose. We are using this device as a wifi client, so setting it up should be as straightforward as configuring wifi on a PC. We could indeed use the switch on the side to toggle between both modes. I'm just wondering how much confusion this would cause when the switch is (accidentally) put in the wrong position.
HTH,
Bart.
Hello icarus75
the patch works beautyfully. thank you very much!
as the fluksometer did not have internet acces at the time I was doing this change I had to scp the patch over form my computer.
I also found that for my network configurations the following steps are nessecary
1) set mtu to 1492
2) disable explicit congestion notification (ecn) by changing /etc/sysctl.conf to contain:
net.ipv4.tcp_ecn=0
perhaps an automated check during boot could be done
eg is there a dhcp on the LAN...
if so perhaps use that...
if not use wifi?
and yes the selector is a nice idea if it had correct naming like "use wifi, lan, ..."
now I was more thinking on "router"
I'm trying both the full steps, as the steps outlined in one line... but I always get theses errors :
patch: hunk #1 FAILED at 12
patch: 1 out of 1 hunk FAILED
patching file network
patch: hunk #1 FAILED at 7
patch: 1 out of 1 hunk FAILED
patching file wireless
patch: hunk #1 FAILED at 5
patch: 1 out of 1 hunk FAILED
It downloads however, like it should... and I tried to disable wifi by not typing any info into the wifi-field, which also seemed to work (once).
Because I was a bit worried about an empty SSID, might send unencrypted - I tried this script but witht he above errors.
I have tried to reset it back to 192.168.255.1 - but then the script also fails... (my network lies in the 172.16.x.x range)
Any clues ?
I couldn't reset - so I copied /rom/etc/config/firewall /rom/etc/config/network /rom/etc/config/wireless to /etc/config
reboot command
and then I retried the script from above, now it processes just fine, and it works.
so it looks you better do not enter the gui, and change stuff (because afterwards the script generated some errors - and rendered the device in-usable (it didn't upload graph data nomore))...
Hi Michel,
Thanks for the workaround. I think changing and committing settings via the GUI causes tabs to be replaced by spaces in the /etc/config files (or the other way round). The patch will then not apply cleanly anymore.
Cheers,
Bart.
Hello,
I want to use my flukso on lan (cable) to.
So i have patched the flukso using the script.
But i get the list of errors (same as some post above).
So i tried the solution with making a copy of the 3 files and reboot afterwards. Than i ran the patch again but the tmp patch file was gone.
So i have reconected the flukso to wifi to get internet access to download the file.
After that i got one error and rebooter the device. But since then i am nog able to reconect to the flukso using my laptop and the ip 192.168.255.1 to connect with ssh. Also the flukso doesn't work on my network (connected to my router - not in dhcp list).
I tried the reset button, but this doesn't solve my problem.
So i can't reach the flukso anymore.
Also i don't understand how i can run the patch without having wifi conection on the flukso. The ssh commands needs to download the patch file.
Is there anyone that can help me to get my flukso up and running on LAN, and can help me to ran the patch without internet access on the flukso.
Thanks very much.