Download MultiLink Router and MicroRouter
Transcript
GORAMO – Janusz Górecki MultiLink Router and MikroRouter page 8 from 41 Compiling binutils and GCC. Directory with the tools to at least GCC compile time we need to add the path. Tools put in directory /usr/local/host-tools: export SYSROOT=/usr/local/xscale_be export TARGET=armeb-pc-linux-gnu export PREFIX=/usr/local/host-tools cd binutils-2.17 ./configure --with-sysroot="$SYSROOT" --target="$TARGET" --prefix="$PREFIX" --disable-nls -make make install cd .. cd gcc-4.1.2 export PATH=/usr/local/xscale_be/bin:$PATH patch -p1 < ../gcc-4.1.2-no-usr.patch patch -p1 < ../gcc-4.1.2-arm-be.patch ./configure --with-sysroot="$SYSROOT" --target="$TARGET" --enablelanguages="c,c++" --prefix="$PREFIX" --disable-nls make make install At this point we are in the directory: /usr/local/host-tools tools to compile in the directory: /usr/local/xscale_be tree with "includs" and router static libraries. For projects compiled externally adding the appropriate flags. For example, wanting to compile Lighttpd server run the compilation with the parameters indicating the use of compiler /usr/local/host-tools: tar xjf lighttpd-1.4.15.bz2 cd lighttpd-1.4.15 CFLAGS="-D PATH_MAX=8192 -I/usr/local/xscale_be/include" LDFLAGS="-L/usr/local/xscale_be/lib" CC="/usr/local/host-tools/bin/armeb-pc-linux-gnu-gcc" export CFLAGS LDFLAGS CC ./configure --host=armeb-pc-linux-gnu make make install 4 Graphical User Interface → GUI. 4.1 The functionality of the Web Interface Currently, the graphical user interface allows you to: • Configure your router to work with the link protocol HDLC Frame Relay or G.704 • Configure your router to work with a link Cisco HDLC protocol • Configurations Ethernet ports eth0 and eth1 to work with different MAC addresses in different modes • Allocation of network interfaces one or more IP addresses and subnets • Log PPPoE interface Eth • Setting the masquerading between gateway and networks indicated a network interface • Running DHCP server networks operating on the specified network interface • Setting port forwarding to the designated internal computer network • Setting the basic principles of firewall • Create a VPN encrypted connections • Introduction of scripts by the web page to implement a configuration that can not be implemented at the moment by the web page www.goramo.com.pl [email protected]