
GORAMO – Janusz Górecki
MultiLink Router and MikroRouter
www.goramo.com.pl
age 6 from 41
3 Working without the use of graphical user interface.
Do not be afraid to work without the use of graphical user interface. If tempts us to this thing to
work with the router, you can only encourage this. First, just in case, we should learn to connect to the
router via RS-232 cable (See: 2.4, 2.5), and then removing the graphical user interface and start
implementing changes / configuration commands to the file /etc/start.
If we determine the connection with RS-232 will be able to recover the web interface, if such a
need arise.
3.1
How to remove the graphical user interface?
To remove all the extra software that came with the router - apart from the "clean" operating
system - we need to delete the contents of /etc/config-files files and run command write-config.
Memory containing the configuration files will then be completely cleared. It will also erase all of the
additional router configuration. However, remember that when you restart you will not be able to get
the router via SSH console since the factory settings Ethernet ports will be removed.
To avoid this in /etc/start file should delete the three commands which runs graphical user interface
/etc/UI/scripts/initializeUI
/usr/local/WebGUI/start
/etc/UI/scripts/applyChanges
and add commands loading drivers for Ethernet cards, configures Ethernet port and a trigger SSH
server:
modprobe ixp4xx_eth
ifconfig eth0 192.168.0.222/24
/sbin/sshd
If we do not we will have to get to the device through the RS-232 console.
Similarly, if you do not write down passwords and pre-generated the network keys that identify router
(to connect via SSH). In the file /etc/config-files we have put entries
/etc/start
/etc/shadow
/etc/ssh\_host\_dsa\_key
/etc/ssh\_host\_dsa\_key.pub
/etc/ssh\_host\_rsa\_key
/etc/ssh\_host\_rsa\_key.pub
and execute the command:
write-config
When you restart your system after the graphical user interface on the router will not sign and we will
have access to the device through SSH console.
3.2
How to restore the graphical user interface on your router?
If the router has no graphical user interface, and we would like to use it, we could record it, after
fetching the complete GUI from http://goramo.com.pl/public/WebGUI/. Archives should be placed on
the router in the /tmp/ catalog, unpack and make the software installation using a script install_release
inside the archive:
tar xzf install_0_8_2en.tgz
./install_release
rm install_0_8_2en.tgz
After these commands, you can either save the changes to Flash memory, by the command
/etc/UI/scripts/saveChanges, or by a Web page - select the Write To Flash. Next, restart the router.
3.3
Saving changes to flash memory
The operating system is run from a virtual file system in RAM. Changes in the system files remain
in RAM until you reboot. To save changes permanently, you must save them in the flash memory area
called the configuration area.
Comentários a estes Manuais