Home

Welcome! Log in or Join us

Detailed SEGbox configuration

published, Nov 29, 2010 5:45am
views (2202)

The SEGbox can connect to the internet using WiFi of cabled ethernet, depending on the preferred connection.

This guide will show how to setup the SEGbox OpenWRT configuration to have a rock steady WiFi connection, and is useful in the situation where:

  • the box has been converted to ethernet and you'd like to return to WiFi
  • some settings have changed and reference settings would be helpful
created on: 11/29/10
Some Preparation

To do this little job, the following will be needed:

  • A SEGbox
  • A computer with a proper browser.  (Step away from the IE6... perhaps even 7 and 8 too...)
  • A normal LAN cable

To start:

Turn the SEGbox on.  Wait a couple of minutes for it to boot, if the lights are on this is a good sign.

Plug the LAN cable into your computer, and into the LAN port of the SEGbox.  Usually this is marked with an L.  If you are unsure which one to use either take a trial and error approach with the following, or don't pick on that's on the end of the LAN port connector.

Your computer will get an IP address from the SEGbox, and this can be discovered with ifconfig for mac and linux or ipconfig for a windows computer.

Two common addresses we to get into the SEGbox are:

  • 192.168.100.1 for SEGboxes that are shipped for ethernet connections, the SEGbox
  • 192.168.110.1 for SEGboxes shipped with WiFi connections, e.g. SEGmeter complete
  • if you've made your own, this may vary... so:

Go to the above address:

http://192.168.110.1

A login screen will appear, and login with the credentials:

user:  root

pass:  energyaware

Setup the WAN - The internet side

The SEG box normally has a port marked W - this is the internet port for connecting to the internet using a cable.

The following screenshots show how to config this to be just right:

Navigate along the menus, and select:

Network -> Interfaces -> WAN 

created on: 11/29/10

This will pop this little screen that has all the goodies that need setting up:

created on: 11/29/10

There are a couple of things that need to be set here:

  • DHCP - so the device get's it's IP address from above
  • Bridge interface, this is important as it tells the internet packets to come into and out of the box wi the WiFi interface
  • Interface, we need to have wl0 selected.  This is the WiFi radio on the OpenWRT

When that's all done, press Save  (no need to apply yet.  this will be done at the end of the config and we will reboot it!)

Setup the LAN - the downstream internet from the SEGbox

Like a normal router, the SEGbox can behave just so.  Just that for Smart Energy Groups, we've blessed it with special magical powers.  To this end the LAN is where a normal computer can be connected into the device, which you will be doing now to perform this little job.

Navigate along the menus, and select:

Network -> Interfaces -> LAN 

created on: 11/29/10

 

Which will which wil bring up the following screen:

created on: 11/29/10

Make sure that the following are all set up as above.  The only trick that may happen, is for the Interface.  eth0.0 may not be in the select list.  If it's not, just select the "other" option and enter eth0.0

Here is also where it's possible to give the device an alternate IP address.

When done press save (note we will apply all the changes later through a reboot)

WiFi Setup

Last but not lest, the WiFi radio is setup so it can talk to the upstream Wireless internet connection (just like a computer, iPhone or other internet device)

Navigate to the appropriate screens:

Network -> WiFi -> WL0

created on: 11/29/10

which will bring up the following pretty page:

created on: 11/29/10

in these options, make sure the following is set:

  • ESSID - a fancy tag for what is your WiFi network, e.g. my_awesome_innertubing
  • Network, this needs to be et to WAN so the radio knows what part of the device to connect to.
  • Mode is client, as the SEGbox will be like a client to the host WiFi network
  • Encryption and Key...

These two are the difficult ones.  It's important to know:

  1. The password for the WiFi network with security (obviously)
  2. The encryption type.   SEGbox can't detect this, so it need to be known.  This can be found out by the WiFi tools that exist on Mac, Linux and Windows machine.  If in doubt, this is one part to troubleshoot by parameter banging to get win.

When all that is done,

  • Take a deep breath, press Save.
  • Then pull the power to the SEGbox and allow it to reboot.
  • After reboot, all should be fine and dandy.  Check this as follows:
  • Make sure the SEGbox is up and running (the green light is on)
  • Pull out the LAN cable from your computer (to reset your computer's IP address which may get scrambled in the reboot)
  • Plug in the LAN cable, and try and go to somewhere always up, like smartenergygroups.com ;)

If no internet win, then check the password and encryption types and try again!

Best of luck!

Sam.

@samotage

 

Add Your Comment!

Log in to leave a comment or Come and join us

Sam, Newbie on this site. Still investigating applicability for monitoring small, offgrid site with wind and solar, battery storage and a few key load circuits.  Require a dashboard to display energy flows and hopefully, battery voltage. 

Can you direct me to proper Forum that can help me understand how the dashboard can be set up?  I have seen that there are widgets for various paramters, and that the dashboard requires "premium" features. I have been unable to find any details on the dashboard setup or access to premium features, and am hoping you can help me find the secret handshake.  Many thanks.

 

» All comments
» Comments RSS

copyright © 2008 Smart Energy Groups pty ltd