apps/examples/bridge: Lots of fixes. I think it is working although I have still have host firewall issues in testing

This commit is contained in:
Gregory Nutt 2014-11-21 10:16:19 -06:00
parent 71d27ec3da
commit 690d9fc268
3 changed files with 18 additions and 10 deletions

View File

@ -1350,7 +1350,9 @@ Configurations
This delay will be especially long if the board is not connected to
a network because additional time will be required to fail with
timeout errors. This delay can be eliminated, however, if you enable an NSH initialization option as described above in a paragraph entitled, "Network Initialization Thread."
timeout errors. This delay can be eliminated, however, if you enable
an NSH initialization option as described above in a paragraph
entitled, "Network Initialization Thread."
STATUS:
2014-3-13: The basic NSH serial console is working. Network support

View File

@ -650,8 +650,10 @@ CONFIG_NET_ICMP=y
CONFIG_NET_ARP=y
CONFIG_NET_ARPTAB_SIZE=16
CONFIG_NET_ARP_MAXAGE=120
CONFIG_NET_ARP_IPIN=y
# CONFIG_NET_ARP_SEND is not set
# CONFIG_NET_ARP_IPIN is not set
CONFIG_NET_ARP_SEND=y
CONFIG_ARP_SEND_MAXTRIES=5
CONFIG_ARP_SEND_DELAYMSEC=20
#
# Network I/O Buffer Support
@ -805,7 +807,6 @@ CONFIG_EXAMPLES_BRIDGE=y
#
CONFIG_EXAMPLES_BRIDGE_NET1_IFNAME="eth0"
CONFIG_EXAMPLES_BRIDGE_NET1_RECVPORT=5471
CONFIG_EXAMPLES_BRIDGE_NET1_SNDPORT=5472
CONFIG_EXAMPLES_BRIDGE_NET1_IOBUFIZE=1024
# CONFIG_EXAMPLES_BRIDGE_NET1_DHCPC is not set
CONFIG_EXAMPLES_BRIDGE_NET1_NOMAC=y
@ -814,6 +815,7 @@ CONFIG_EXAMPLES_BRIDGE_NET1_IPADDR=0x0a000002
CONFIG_EXAMPLES_BRIDGE_NET1_DRIPADDR=0x0a000001
CONFIG_EXAMPLES_BRIDGE_NET1_NETMASK=0xffffff00
CONFIG_EXAMPLES_BRIDGE_NET1_IPHOST=0x0a000001
CONFIG_EXAMPLES_BRIDGE_NET1_HOSTPORT=5472
CONFIG_EXAMPLES_BRIDGE_NET1_STACKSIZE=2048
CONFIG_EXAMPLES_BRIDGE_NET1_PRIORITY=100
@ -822,7 +824,6 @@ CONFIG_EXAMPLES_BRIDGE_NET1_PRIORITY=100
#
CONFIG_EXAMPLES_BRIDGE_NET2_IFNAME="eth1"
CONFIG_EXAMPLES_BRIDGE_NET2_RECVPORT=5473
CONFIG_EXAMPLES_BRIDGE_NET2_SNDPORT=5474
CONFIG_EXAMPLES_BRIDGE_NET2_IOBUFIZE=1024
# CONFIG_EXAMPLES_BRIDGE_NET2_DHCPC is not set
CONFIG_EXAMPLES_BRIDGE_NET2_NOMAC=y
@ -831,6 +832,7 @@ CONFIG_EXAMPLES_BRIDGE_NET2_IPADDR=0x0a000003
CONFIG_EXAMPLES_BRIDGE_NET2_DRIPADDR=0x0a000001
CONFIG_EXAMPLES_BRIDGE_NET2_NETMASK=0xffffff00
CONFIG_EXAMPLES_BRIDGE_NET2_IPHOST=0x0a000001
CONFIG_EXAMPLES_BRIDGE_NET2_HOSTPORT=5474
CONFIG_EXAMPLES_BRIDGE_NET2_STACKSIZE=2048
CONFIG_EXAMPLES_BRIDGE_NET2_PRIORITY=100
# CONFIG_EXAMPLES_BUTTONS is not set

View File

@ -264,7 +264,7 @@ CONFIG_SAMA5_EMAC1_PHYSR_100FD=0x6
# CONFIG_SAMA5_EMACB_PREALLOCATE is not set
# CONFIG_SAMA5_EMACB_NBC is not set
CONFIG_SAMA5_EMAC0_ISETH0=y
# CONFIG_SAMA5_EMAC0_ISETH1 is not set
# CONFIG_SAMA5_EMAC1_ISETH0 is not set
#
# External Memory Configuration
@ -681,8 +681,10 @@ CONFIG_NET_ICMP=y
CONFIG_NET_ARP=y
CONFIG_NET_ARPTAB_SIZE=16
CONFIG_NET_ARP_MAXAGE=120
CONFIG_NET_ARP_IPIN=y
# CONFIG_NET_ARP_SEND is not set
# CONFIG_NET_ARP_IPIN is not set
CONFIG_NET_ARP_SEND=y
CONFIG_ARP_SEND_MAXTRIES=5
CONFIG_ARP_SEND_DELAYMSEC=20
#
# Network I/O Buffer Support
@ -836,7 +838,6 @@ CONFIG_EXAMPLES_BRIDGE=y
#
CONFIG_EXAMPLES_BRIDGE_NET1_IFNAME="eth0"
CONFIG_EXAMPLES_BRIDGE_NET1_RECVPORT=5471
CONFIG_EXAMPLES_BRIDGE_NET1_SNDPORT=5472
CONFIG_EXAMPLES_BRIDGE_NET1_IOBUFIZE=1024
# CONFIG_EXAMPLES_BRIDGE_NET1_DHCPC is not set
CONFIG_EXAMPLES_BRIDGE_NET1_NOMAC=y
@ -844,6 +845,8 @@ CONFIG_EXAMPLES_BRIDGE_NET1_MACADDR=0x00e0deadbeef
CONFIG_EXAMPLES_BRIDGE_NET1_IPADDR=0x0a000002
CONFIG_EXAMPLES_BRIDGE_NET1_DRIPADDR=0x0a000001
CONFIG_EXAMPLES_BRIDGE_NET1_NETMASK=0xffffff00
CONFIG_EXAMPLES_BRIDGE_NET1_IPHOST=0x0a000001
CONFIG_EXAMPLES_BRIDGE_NET1_HOSTPORT=5472
CONFIG_EXAMPLES_BRIDGE_NET1_STACKSIZE=2048
CONFIG_EXAMPLES_BRIDGE_NET1_PRIORITY=100
@ -852,7 +855,6 @@ CONFIG_EXAMPLES_BRIDGE_NET1_PRIORITY=100
#
CONFIG_EXAMPLES_BRIDGE_NET2_IFNAME="eth1"
CONFIG_EXAMPLES_BRIDGE_NET2_RECVPORT=5473
CONFIG_EXAMPLES_BRIDGE_NET2_SNDPORT=5474
CONFIG_EXAMPLES_BRIDGE_NET2_IOBUFIZE=1024
# CONFIG_EXAMPLES_BRIDGE_NET2_DHCPC is not set
CONFIG_EXAMPLES_BRIDGE_NET2_NOMAC=y
@ -860,6 +862,8 @@ CONFIG_EXAMPLES_BRIDGE_NET2_MACADDR=0x00e0f00dface
CONFIG_EXAMPLES_BRIDGE_NET2_IPADDR=0x0a000003
CONFIG_EXAMPLES_BRIDGE_NET2_DRIPADDR=0x0a000001
CONFIG_EXAMPLES_BRIDGE_NET2_NETMASK=0xffffff00
CONFIG_EXAMPLES_BRIDGE_NET2_IPHOST=0x0a000001
CONFIG_EXAMPLES_BRIDGE_NET2_HOSTPORT=5474
CONFIG_EXAMPLES_BRIDGE_NET2_STACKSIZE=2048
CONFIG_EXAMPLES_BRIDGE_NET2_PRIORITY=100
# CONFIG_EXAMPLES_BUTTONS is not set