#17328: Installed 14.07 RC2 m xw in a New Nanostation loco M5 and hangs after 
one
ping
--------------------------+-----------------------------------
  Reporter:  anonymous    |      Owner:  developers
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  Barrier Breaker 14.07
 Component:  base system  |    Version:  Barrier Breaker 14.07
Resolution:               |   Keywords:  m xw
--------------------------+-----------------------------------

Comment (by openwrt@…):

 Hi,

 I have installed the [[http://downloads.openwrt.org/snapshots/trunk/ar71xx
 /openwrt-ar71xx-generic-ubnt-nano-m-xw-squashfs-factory.bin|nano-xw
 firmware]] from trunk (01-Sep-2014 11:50). The result is quite successful.

 I can ping link local IPv6 address of the device:

 {{{
 me@pc:~$ ping6 ff02::1%eth0
 PING ff02::1%eth0(ff02::1) 56 data bytes
 64 bytes from fe80::fab1:56ff:fecf:dd4c: icmp_seq=1 ttl=64 time=0.035 ms
 64 bytes from fe80::618:d6ff:fe59:f598: icmp_seq=1 ttl=64 time=0.684 ms
 (DUP!)
 }}}

 (the first one is my PC, the second is the NSLM5-XW). There's no way to
 ping it using 192.168.1.1

 Then I can telnet it, using the local IPv6 address:

 {{{
 me@pc:~$ telnet fe80::618:d6ff:fe59:f598%eth0
 Trying fe80::618:d6ff:fe59:f598%eth0...
 Connected to fe80::618:d6ff:fe59:f598%eth0.
 Escape character is '^]'.
  === IMPORTANT ============================
   Use 'passwd' to set your login password
   this will disable telnet and enable SSH
  ------------------------------------------


 BusyBox v1.22.1 (2014-09-01 11:27:11 UTC) built-in shell (ash)
 Enter 'help' for a list of built-in commands.

   _______                     ________        __
  |       |.-----.-----.-----.|  |  |  |.----.|  |_
  |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
  |_______||   __|_____|__|__||________||__|  |____|
           |__| W I R E L E S S   F R E E D O M
  -----------------------------------------------------
  CHAOS CALMER (Bleeding Edge, r42345)
  -----------------------------------------------------
   * 1 1/2 oz Gin            Shake with a glassful
   * 1/4 oz Triple Sec       of broken ice and pour
   * 3/4 oz Lime Juice       unstrained into a goblet.
   * 1 1/2 oz Orange Juice
   * 1 tsp. Grenadine Syrup
  -----------------------------------------------------
 root@OpenWrt:/#
 }}}

 The network configuration in /etc/config/network is wrong. It seems to be
 for a non-Looco NanoStation M5 XW, which has two Ethernet ports:

 {{{
 root@OpenWrt:/# cat /etc/config/network

 config interface 'loopback'
         option ifname 'lo'
         option proto 'static'
         option ipaddr '127.0.0.1'
         option netmask '255.0.0.0'

 config globals 'globals'
         option ula_prefix 'fdf2:26c9:8284::/48'

 config interface 'lan'
         option ifname 'eth0.1'
         option force_link '1'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.1.1'
         option netmask '255.255.255.0'
         option ip6assign '60'

 config interface 'wan'
         option ifname 'eth0.2'
         option proto 'dhcp'

 config interface 'wan6'
         option ifname '@wan'
         option proto 'dhcpv6'

 config switch
         option name 'switch0'
         option reset '1'
         option enable_vlan '1'

 config switch_vlan
         option device 'switch0'
         option vlan '1'
         option ports '0t 5'

 config switch_vlan
         option device 'switch0'
         option vlan '2'
         option ports '0t 1'
 }}}

 In fact, there is no switch in the NSLM5-XW:
 {{{
 root@OpenWrt:/# swconfig list
 }}}

 which makes sense, since there is only one Ethernet port. Now, I change
 the network configuration and remove all reference to the switch:

 {{{
 root@OpenWrt:/# cat /etc/config/network

 config interface 'loopback'
         option ifname 'lo'
         option proto 'static'
         option ipaddr '127.0.0.1'
         option netmask '255.0.0.0'

 config globals 'globals'
         option ula_prefix 'fdf2:26c9:8284::/48'

 config interface 'lan'
         option ifname 'eth0'
         option force_link '1'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.1.1'
         option netmask '255.255.255.0'
         option ip6assign '60'
 }}}

 and after rebooting the network (/etc/init.d/network restart), ping to
 192.168.1.1 works and I can telnet it using the IPv4 address.

 Hi,

 I have installed the [[http://downloads.openwrt.org/snapshots/trunk/ar71xx
 /openwrt-ar71xx-generic-ubnt-nano-m-xw-squashfs-factory.bin|nano-xw
 firmware]] from trunk (01-Sep-2014 11:50). The result is quite successful.

 I can ping link local IPv6 address of the device:

 {{{
 me@pc:~$ ping6 ff02::1%eth0
 PING ff02::1%eth0(ff02::1) 56 data bytes
 64 bytes from fe80::fab1:56ff:fecf:dd4c: icmp_seq=1 ttl=64 time=0.035 ms
 64 bytes from fe80::618:d6ff:fe59:f598: icmp_seq=1 ttl=64 time=0.684 ms
 (DUP!)
 }}}

 (the first one is my PC, the second is the NSLM5-XW). There's no way to
 ping it using 192.168.1.1

 Then I can telnet it, using the local IPv6 address:

 {{{
 me@pc:~$ telnet fe80::618:d6ff:fe59:f598%eth0
 Trying fe80::618:d6ff:fe59:f598%eth0...
 Connected to fe80::618:d6ff:fe59:f598%eth0.
 Escape character is '^]'.
  === IMPORTANT ============================
   Use 'passwd' to set your login password
   this will disable telnet and enable SSH
  ------------------------------------------


 BusyBox v1.22.1 (2014-09-01 11:27:11 UTC) built-in shell (ash)
 Enter 'help' for a list of built-in commands.

   _______                     ________        __
  |       |.-----.-----.-----.|  |  |  |.----.|  |_
  |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
  |_______||   __|_____|__|__||________||__|  |____|
           |__| W I R E L E S S   F R E E D O M
  -----------------------------------------------------
  CHAOS CALMER (Bleeding Edge, r42345)
  -----------------------------------------------------
   * 1 1/2 oz Gin            Shake with a glassful
   * 1/4 oz Triple Sec       of broken ice and pour
   * 3/4 oz Lime Juice       unstrained into a goblet.
   * 1 1/2 oz Orange Juice
   * 1 tsp. Grenadine Syrup
  -----------------------------------------------------
 root@OpenWrt:/#
 }}}

 The network configuration in /etc/config/network is wrong. It seems to be
 for a non-Looco NanoStation M5 XW, which has two Ethernet ports:

 {{{
 root@OpenWrt:/# cat /etc/config/network

 config interface 'loopback'
         option ifname 'lo'
         option proto 'static'
         option ipaddr '127.0.0.1'
         option netmask '255.0.0.0'

 config globals 'globals'
         option ula_prefix 'fdf2:26c9:8284::/48'

 config interface 'lan'
         option ifname 'eth0.1'
         option force_link '1'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.1.1'
         option netmask '255.255.255.0'
         option ip6assign '60'

 config interface 'wan'
         option ifname 'eth0.2'
         option proto 'dhcp'

 config interface 'wan6'
         option ifname '@wan'
         option proto 'dhcpv6'

 config switch
         option name 'switch0'
         option reset '1'
         option enable_vlan '1'

 config switch_vlan
         option device 'switch0'
         option vlan '1'
         option ports '0t 5'

 config switch_vlan
         option device 'switch0'
         option vlan '2'
         option ports '0t 1'
 }}}

 In fact, there is no switch in the NSLM5-XW:
 {{{
 root@OpenWrt:/# swconfig list
 }}}

 which makes sense, since there is only one Ethernet port. Now, I change
 the network configuration and remove all reference to the switch:

 {{{
 root@OpenWrt:/# cat /etc/config/network

 config interface 'loopback'
         option ifname 'lo'
         option proto 'static'
         option ipaddr '127.0.0.1'
         option netmask '255.0.0.0'

 config globals 'globals'
         option ula_prefix 'fdf2:26c9:8284::/48'

 config interface 'lan'
         option ifname 'eth0'
         option force_link '1'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.1.1'
         option netmask '255.255.255.0'
         option ip6assign '60'
 }}}

 and after rebooting the network (/etc/init.d/network restart), ping to
 192.168.1.1 works and I can telnet it using the IPv4 address.

 Regards

--
Ticket URL: <https://dev.openwrt.org/ticket/17328#comment:17>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to