User Tools

Site Tools


midge:faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

midge:faq [2018/04/09 15:36] (current)
Line 1: Line 1:
 +===== FAQ =====
  
 +==== Install ====
 +**Q:** //How can i upload midge to the router via Web Interface ?// \\
 +**A:** Currently there is no way to upload midge over the Web Interface, only via [[console cable]]
 +\\ \\
 +**Q:** //Is it possible to load it into sdram? \\
 +I have stripped off the CSYS header and loaded it, but it fails on mounting root fs //\\
 +**A:** No. midge uses jffs2 for the root partition: jffs2 - partitions can be used on MTD (flash) devices only\\
 +and squashfs for the initial read-only partition (hardcoded root=/​dev/​mtdblock2)\\
 +You can load midge to SDRAM but it will use an initial root fs from flash\\
 +Also you can use [[http://​midge.vlad.org.ua/​firmware/​rd/​|RAMDISK]] firmwares for testing and debugging.\\
 +\\
 +**Q:** //When I change the file /​etc/​interfaces (other ip-address etc),
 +the changes are gone by the next boot. //\\
 +**A:** You should run [[flash_save|flash save]] for saving /etc to flash. Also look at /​etc/​midge.save
 +
 +
 +==== Configuration ====
 +**Q:** //How can i use all ethernet ports like a switch with one network interface?//​ \\
 +**A:** Edit ''/​etc/​midge.conf''​ and change <​code>​VLAN_MX="​vlan_mx=0x41,​0x42,​0x44,​0x48,​0x50,​0x60"</​code>​
 + ​to ​
 +<​code>​VLAN_MX="​vlan_mx=0x5F,​0,​0,​0,​0,​0"</​code>​
 +Additonaly you have to edit the ETHx_PORTS= lines so that ports 0...4 are connected together:
 +<​code>​
 +ETH0_PORTS="​01234" ​                                                             ​
 +ETH1_PORTS= ​                                                                    
 +ETH2_PORTS= ​                                                             ​
 +ETH3_PORTS= ​                                                             ​
 +ETH4_PORTS= ​                                       ​
 +</​code>​\\
 +**Edit by MRX**: you also have to disable eth 1,2,3,4 in /​etc/​network/​interfaces
 +(Correct me if i'm wrong)
 +
 +**Q:** //And how can i get standart Edimax layout (1 port-WAN, 2-5 port-LAN) ?// \\
 +**A:** Edit ''/​etc/​midge.conf''​ and change <​code>​VLAN_MX="​vlan_mx=0x41,​0x42,​0x44,​0x48,​0x50,​0x60"</​code>​
 +to
 +<​code>​VLAN_MX="​vlan_mx=0x41,​0x5E,​0,​0,​0,​0"</​code>​
 +Additonaly you have to edit the ETHx_PORTS= lines so that ports 1...4 are connected together:
 +<​code>​
 +ETH0_PORTS="​0" ​                                                             ​
 +ETH1_PORTS="​1234" ​                                                             ​
 +ETH2_PORTS= ​                                                             ​
 +ETH3_PORTS= ​                                                             ​
 +ETH4_PORTS= ​                                       ​
 +</​code>​\\
 +For every ethx interface you can list the ports that should be linked to that interface. See http://​www.linux-mips.org/​wiki/​ADM5120_switch and /​etc/​init.d/​S10switch for more information. Don't forget [[flash_save|flash save]], otherwise your changes will not survive next reboot.\\
 +\\
 +\\
 +**Q:** //How can i change timezone?// \\
 +**A:** Edit ''/​etc/​TZ''​\\
 +For detail information about ''/​etc/​TZ''​ go to:
 +  * http://​www.opengroup.org/​onlinepubs/​009695399/​basedefs/​xbd_chap08.html
 +  * http://​leaf.sourceforge.net/​doc/​buci-tz.html
 +  * http://​www.uclibc.org/​lists/​uclibc/​2002-August/​004010.html
 +Example for timezone Europe/​Berlin:​
 +<​code>​echo "​CET-1CEST-2,​M3.5.0/​02:​00:​00,​M10.5.0/​03:​00:​00"​ > /​etc/​TZ</​code>​
 +Don't forget [[flash_save|flash save]], otherwise your changes will not survive next reboot.
 +
 +
 +==== Packages ====
 +
 +==== Misc ====
 +**Q:** //Can i use DynDNS service?// \\
 +**A:** http://​www.nslu2-linux.org/​wiki/​HowTo/​DynDNSupdate\\
midge/faq.txt · Last modified: 2018/04/09 15:36 (external edit)