Содержание

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 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 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

VLAN_MX="vlan_mx=0x41,0x42,0x44,0x48,0x50,0x60"

to

VLAN_MX="vlan_mx=0x5F,0,0,0,0,0"

Additonaly you have to edit the ETHx_PORTS= lines so that ports 0…4 are connected together:

ETH0_PORTS="01234"                                                              
ETH1_PORTS=                                                                     
ETH2_PORTS=                                                              
ETH3_PORTS=                                                              
ETH4_PORTS=                                        


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

VLAN_MX="vlan_mx=0x41,0x42,0x44,0x48,0x50,0x60"

to

VLAN_MX="vlan_mx=0x41,0x5E,0,0,0,0"

Additonaly you have to edit the ETHx_PORTS= lines so that ports 1…4 are connected together:

ETH0_PORTS="0"                                                              
ETH1_PORTS="1234"                                                              
ETH2_PORTS=                                                              
ETH3_PORTS=                                                              
ETH4_PORTS=                                        


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, 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:

Example for timezone Europe/Berlin:

echo "CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00" > /etc/TZ

Don't forget 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

/var/lib/dokuwiki/data/pages/midge/faq.txt · Последние изменения: 2014/02/17 23:05 (внешнее изменение)
 
За исключением случаев, когда указано иное, содержимое этой вики предоставляется на условиях следующей лицензии: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Run by Debian Driven by DokuWiki