Modify

Opened 9 years ago

Closed 9 years ago

Last modified 21 months ago

#2387 closed defect (fixed)

compex np28g - eth0 not connected

Reported by: xkennyx at seznam.cz Owned by: juhosg
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version:
Keywords: compex adm5120 network np28g switch Cc:

Description

Helo, there is problem (rev 8770) on compex np28g router (adm5120). The wan port (eth0,port0)
is not connected to hw port (no packet flow). Other ports eth1-3 are ok.

admswconfig show the eth0 is connected to port0 and cpu.

if you need, i'm ready for testing :)

Attachments (1)

np28g_wan_port_fix.patch (512 bytes) - added by juhosg 9 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by xkennyx at seznam.cz

Sorry, component is kernel

detailed info:

iptables -F
iptables -P OUTPUT ACCEPT
iptables -P INPUT ACCEPT


cat /etc/config/network
# Copyright (C) 2006 OpenWrt.org

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


(I switched wire ofcourse :))
arping -i eth0 192.168.168.2    no response !!!! problem here !!!!
arping -i eth1 192.168.168.2    ok
arping -i eth2 192.168.168.2    ok
arping -i eth3 192.168.168.2    ok


root@OpenWrt:/# admswconfig
ethX    port0   port1   port2   port3   CPU
0       1                               1
1               1                       1
2                       1               1
3                               1       1


root@OpenWrt:/# ip link
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:41:44:4d:51:20 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:41:44:4d:51:21 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:41:44:4d:51:22 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:41:44:4d:51:23 brd ff:ff:ff:ff:ff:ff
6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:41:44:4d:51:24 brd ff:ff:ff:ff:ff:ff
7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:41:44:4d:51:25 brd ff:ff:ff:ff:ff:ff
8: wifi0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 199
    link/ieee802.11 00:80:48:35:d6:bb brd ff:ff:ff:ff:ff:ff

root@OpenWrt:/# ip addr
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:41:44:4d:51:20 brd ff:ff:ff:ff:ff:ff
    inet 192.168.168.10/24 brd 192.168.168.255 scope global eth0
3: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:41:44:4d:51:21 brd ff:ff:ff:ff:ff:ff
    inet 192.168.168.11/24 brd 192.168.168.255 scope global eth1
4: eth2: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:41:44:4d:51:22 brd ff:ff:ff:ff:ff:ff
    inet 192.168.168.12/24 brd 192.168.168.255 scope global eth2
5: eth3: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:41:44:4d:51:23 brd ff:ff:ff:ff:ff:ff
    inet 192.168.168.13/24 brd 192.168.168.255 scope global eth3
6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:41:44:4d:51:24 brd ff:ff:ff:ff:ff:ff
7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:41:44:4d:51:25 brd ff:ff:ff:ff:ff:ff
8: wifi0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 199
    link/ieee802.11 00:80:48:35:d6:bb brd ff:ff:ff:ff:ff:ff

comment:2 Changed 9 years ago by juhosg

  • Component changed from packages to kernel
  • Owner changed from developers to juhosg
  • Status changed from new to assigned

Changed 9 years ago by juhosg

comment:3 Changed 9 years ago by juhosg

Can you try the attached patch?

comment:4 Changed 9 years ago by anonymous

I applied the patch and it is working now :) thanks :)

comment:5 Changed 9 years ago by juhosg

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in [8977], thanks.

comment:6 Changed 21 months ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.