Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
playground:a2s [2017/11/07 12:54] – Another complex example added tmomaswiki:a2s [2019/10/02 11:53] – reordered + sections for 4pin + 10pin added tmomas
Line 3: Line 3:
 [[https://www.dokuwiki.org/plugin:a2s]] [[https://www.dokuwiki.org/plugin:a2s]]
  
-Seems to be much easier to use than [[ditaa]], and by far not as picky.+Seems to be much easier to use than [[wiki:ditaa]], and by far not as picky.
  
 ===== Easy example: Serial pinout ===== ===== Easy example: Serial pinout =====
 +==== 4-pin ====
 +
 +<WRAP group>
 +<WRAP half column>
 +{{https://wiki.openwrt.org/_media/media/asmax/ar_1004g_console.jpg}}
 +</WRAP>
 +
 +<WRAP half column>
 +
 +<a2s>
 +#----------------#
 +|#-# .-. .-. .-. |
 +|#-# '-' '-' '-' |
 +#----------------#
 + VCC GND  Tx  Rx
 +</a2s>
 +\\
 +<a2s>
 +#----------------#
 +|#-# .-. .-. .-. |
 +|#-# '-' '-' '-' |
 +#----------------#
 + VCC  RX GND  Tx
 +</a2s>
 +\\
 +<a2s>
 +#---#
 +|#-#|
 +|#-#| Vcc
 +|   |
 +|.-.|
 +|'-'| GND
 +|   |
 +|.-.|
 +|'-'| Tx
 +|   |
 +|.-.|
 +|'-'| Rx
 +#---#
 +</a2s>
 +</WRAP>
 +</WRAP>
 +
 +==== 10-pin ====
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-{{https://wiki.openwrt.org/_media/media/arcadyan/danube_serial.png}}+{{:media:arcadyan:danube_serial.png?nolink&300|}}
 </WRAP> </WRAP>
  
Line 36: Line 80:
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-{{https://wiki.openwrt.org/_media/media/asmax/ar_1004g_console.jpg}}+{{media:mikrotik:mikrotik_hap-ac2_pins.jpg?600x300}}
 </WRAP> </WRAP>
  
 <WRAP half column> <WRAP half column>
- 
 <a2s> <a2s>
-#----------------# +DI  RX  CS  DO 
-|#-.-. .-. .-. +.-.-. .-. .-. #-# 
-|#-# '-' '-' '-' +'-' '-' '-' '-' #-
-#----------------# + 
- VCC GND  Tx  Rx+.-. .-. .-. .-. .-
 +'-' '-' '-' '-' '-' 
 +GND     TX  VCC GND 
 +        (WP)
 </a2s> </a2s>
-\\+ 
 <a2s> <a2s>
-#---# +      #----# 
-|#-#+DI  --#    #-- GND 
-|#-#| Vcc +CLK --#    #-
-|   | +    --#    #-DO 
-|.-.| +VCC --#   o#-- CS 
-|'-'GND +      #----#
-|   | +
-|.-.| +
-|'-'| Tx +
-  +
-|.-.| +
-|'-'| Rx +
-#---#+
 </a2s> </a2s>
 </WRAP> </WRAP>
 </WRAP> </WRAP>
  
-===== Complex example =====+ 
 +===== Complex examples =====
 {{https://wiki.openwrt.org/_media/media/tplink/tl-wdr7500/archerc7v2-switch-diagram.png?400}} {{https://wiki.openwrt.org/_media/media/tplink/tl-wdr7500/archerc7v2-switch-diagram.png?400}}
  
Line 146: Line 187:
 </WRAP> </WRAP>
 </WRAP> </WRAP>
-===== More complex examples ===== 
  
 +===== One more =====
 {{https://wiki.openwrt.org/_media/media/linksys/wrt160nl/openwrt_160nl_v2.png?400}} {{https://wiki.openwrt.org/_media/media/linksys/wrt160nl/openwrt_160nl_v2.png?400}}
 +
 +
 +<a2s>
 +#-----------------------------------------------------------------------------------------#
 +|                                                                                         |
 +|       #-------------------------------------------------------------#                   |
 +|                                                               #---+--#                |
 +|           #-------------------------------------------#    #--+ Eth1 +------------#   |
 +|                                                        |  #------#            |   |
 +|                       Built in switch                  |               CPU    |   |
 +|                                                        |                      |   |
 +|            #---#  #---#  #---#  #---#  #---#  #---# |    |  #------#  #-------# |   |
 +|           #--+ 0 +--+ 1 +--+ 2 +--+ 3 +--+ 4 +--+ 5 +-#    #--+ Eth0 +--+ Wifi0 +-#   |
 +|              #-+-#  #-+-#  #-+-#  #-+-#  #-+-#  #---#         #---+--#  #---+---#     |
 +|                |      |      |      |      |                      |                 |
 +|                |      |      |      |      #----------------------#                 |
 +|  #----+-----#  #-+-#  #-+-#  #-+-#  #-+-#                                #----+----#    |
 +#--+ Internet +--+ 4 +--+ 3 +--+ 2 +--+ 1 +--------------------------------+ Antenna +----#
 +   #----------#  #---#  #---#  #---#  #---#                                #---------#
 +</a2s>
 +===== Another one =====
 {{https://wiki.openwrt.org/_media/media/netgear/wndr3700/wndr3700-c.png?400}} {{https://wiki.openwrt.org/_media/media/netgear/wndr3700/wndr3700-c.png?400}}
 +
 +===== Even more =====
 +{{https://wiki.openwrt.org/_media/media/linksys/wrt1900ac/wrt1900ac_port_layout.png?400}}
 +
 +===== More complex examples =====
 {{https://wiki.openwrt.org/_media/media/buffalo/wzr-hp-ag300h.png?400}} {{https://wiki.openwrt.org/_media/media/buffalo/wzr-hp-ag300h.png?400}}
 {{https://wiki.openwrt.org/_media/media/buffalo/wzr-hp-g300nh.png?400}} {{https://wiki.openwrt.org/_media/media/buffalo/wzr-hp-g300nh.png?400}}
 +
 {{https://wiki.openwrt.org/_media/media/comtrend/wap5813n_switch_conf.png?400}} {{https://wiki.openwrt.org/_media/media/comtrend/wap5813n_switch_conf.png?400}}
 {{https://wiki.openwrt.org/_media/media/netgear/dgnd3700/dgnd3700v1_switch_conf.png?400}} {{https://wiki.openwrt.org/_media/media/netgear/dgnd3700/dgnd3700v1_switch_conf.png?400}}
-{{https://wiki.openwrt.org/_media/media/dlink/dir-825/dir-825_hardware_diagram2.gif?400}}+
 {{https://wiki.openwrt.org/_media/media/linksys/wrt54/wrt54_internal_architecture.png?400}} {{https://wiki.openwrt.org/_media/media/linksys/wrt54/wrt54_internal_architecture.png?400}}
 {{https://wiki.openwrt.org/_media/media/linksys/wrt54/wrt54g-v2.v3_wrt54gs-v1.v2_internal-arch.png?400}} {{https://wiki.openwrt.org/_media/media/linksys/wrt54/wrt54g-v2.v3_wrt54gs-v1.v2_internal-arch.png?400}}
-{{https://wiki.openwrt.org/_media/media/linksys/wrt1900ac/wrt1900ac_port_layout.png?400}} 
  
 +{{https://wiki.openwrt.org/_media/media/dlink/dir-825/dir-825_hardware_diagram2.gif?400}}
 +
 +===== Another example =====
 +Original see [[inbox:howto:vpn.server.openvpn.tun.vpnrerouter#diagram|vpnrerouter]]
 +
 +<a2s>
 +                        internal ip address space 'A/24'                          internal ip address space 'B/24'                                 
 +                                      +                                                                                                     
 +                                      |                                                                                                     
 +                                      |                                                                                                     
 +                    #-----------------+-------------------#                    #------------------+-----------------#                                
 +                    |                                                        |                                    |                                
 +                    |      VPN address space 'vpnA/24'    |                    |     VPN address space 'vpnB/24'    |                                
 +                    |                            ^        |                    |                                  |                                
 +                    |                            |        |                    |                                  |                                
 +                    |                            |        |                    |                                  |                                
 +                    |  'publicA/32' or 'fqdnA'          |                    |  'publicB/32' or 'fqdnB'  |        |                                
 +                    |                            v        |                    |                                  |                                
 +                    |                       VPN port A    |                    |                      VPN port B    |                                
 +                    |                                                        |                                    |                                
 +                    #-----------------+-------------------#                    #-------------------+----------------#                                
 +                                      |                                                            |                                        
 +                                      |                                                            |                                        
 +                                      |                                                            |                                        
 +                                      |                                                            |                                        
 +                                      |                                                            |                                        
 +                                      |                                                            |                                        
 +                                      |                                                            |                                        
 +                                      |                                                            |                                        
 +                                      |                                                            |                                        
 +                                      +-------------------------- Internet ------------------------+
 +                                                                                                                                              
 +                                                                                                                                              
 +             +-------------------------------------------------------o------------------------------------------------------------+             
 +                                                                                                                              |             
 +                                                                   o------------------------------------+                                   
 +                                                                                                      |                                   
 +                                      #----------------------------+---------------------------#        |                                   
 +                                      |                                                        |        |                                   
 +                                      |             'publicC/32' o'fqdnC'    {VPN REROUTER}    |        |                                   
 +                                      |                                                        |        |                                   
 +                                      |                                                        |        |                                   
 +                                      |         VPN client to vpnA      VPN client to vpnB            |                                   
 +                                      |                                                        |        |                                   
 +                                      |                VPN address space 'vpnC/24'                    |                                   
 +                                      |                            |                                  |                                   
 +                                      |                            +-- VPN port C              |        |                                   
 +                                      |                                                        |        |                                   
 +                                      #--------------------------------------------------------#        |                                   
 +                                                                                                        |                                   
 +                                                                                                        |                                   
 +                                                                  +-------------------------------------+                                   
 +                                                                  |                                                                         
 +                                                                  |                                                                         
 +                                                                  |                                                                         
 +                                                                  |                                                                         
 +                                                                  |                                                                         
 +                                                                  |                                                                         
 +                                                                  |                                                                         
 +                                                                  |                                                                         
 +#------------+-----------------------------#      #-----------------+----------------------#           #--------------------------+------------#
 +|  VPN client to vpnC                      |      | VPN client to vpnC                               | VPN client to vpnC                    |
 +|                                          |      |                                        |                                                 |
 +|  Internal ip address space 'Client1/24'  |      | Internal ip address space 'Client2/24' |           | Internal ip address space 'Client3/24'|
 +|                                          |      |                                        |                                                 |
 +#------------------------------------------#      #----------------------------------------#           #---------------------------------------#
 +
 +</a2s>
  • Last modified: 2019/10/03 07:59
  • by tmomas