NOTE:
DO NOT FORGET TO TYPE "salvar" AFTER ANY CHANGE TO PERMANENTLY SAVE IT INSIDE THE FLASH MEMORY!
AGAIN, BE EXTRA CEREFULL WITH YOUR CHANGES!
=> HOW TO FIX MAC ADDRESS TO CERTAIN IP AND STATIC LEASE VIA DHCP (VIA SSH
TERMINAL)
With just one file it's possible to lease static ip based on mac addr and to tie-up this pair mac/ip. To do it, you have to
edit this file /etc/ethers like that:
#
John
00:12:34:51:fd:ea
192.168.2.100
#
Jhony
00:4f:23:fb:ce:3d
192.168.2.101
After that, save it. Now, type "salvar". To put it to work straightaway, type: "init.sh gw all"
With this file, the DHCP server will give IP ADDR based on MAC ADDR. Further more, the equipment will only
respond for that IP ADDR with that MAC ADDR.
=> HOW TO FIX MAC ADDRESS TO CERTAIN IP AND STATIC LEASE VIA DHCP (VIA WEB
INTERFACE)
It's simple, fast and easy to edit /etc/ethers file. To do it, just go to Management - Edit ethers file menu. Once you're
done, press "save" button, to apply your changes.
=> HOW TO USE CROND
This firmware version comes with the popular job scheduler CROND. The file responsible for that is located at:
/etc/crontabs/root. Use the following format:
minute hour day_of_month month day_of_week script_or_command
Ex: To schedule a ping command for every 5 minutes.
Edit the file and put the line as follow:
*/5 * * * * ping -c 5 192.168.2.40
Save the file. Now type: "salvar" and "init.sh gw all"
=> MESH SYSTEM WITH OLSRD SOFTWARE
Содержание BOSSW72
Страница 2: ......