Jump to content
  • 3

Поддержка USB-Ethernet адаптеров


vasek00

Question

В 10/30/2017 в 13:00, m__a__l сказал:

Я премного благодарен за ваши советы, как реализовать тот или иной функционала с помощью OPKG, вы даете полезны рекомендации по написанию скриптов, но я никак не могу понять, почему многие (не именно вы) так агрессивно переводят просьбу реализации пусть даже элементарного функционала в коробке, на то, что это можно сделать с помощью OPKG???

Наверное по тому, что данный форум превращается в нечто другое и уходит от того задуманного - чем должен был стать. Каждый вновь пришедший желает что-то добавить, что для него будет удобно и со своей калокольни. Данная система в отличие от других - закрыта от пользователя (это вопрос к разработчикам, чуть ее правда приоткрыли через OPKG), в тех же которые открыты кое-что может сделать сам пользователь доп.для своих нужд с описанием того как это сделать.

Я же написал что можно сделать не дожидаясь, если кто-то не хочет делать или учиться то приходиться ждать, хотя поставить OPKG наверное не сложнее чем работать на Windows, тем более если посмотреть то у многих оказывается подключенный внешний винт уже пол дела сделано. Повторюсь данная тема начата 04.2017года сейчас 10.2017год.

Мне вот например ну хотелось бы bonding иметь для 100Мбит на LAN портах поднять - но не судьба, ищем другой вариант - не выкидывать же оборудование то которое справляется с задачами да еще и с запасом или запустить старенький "ASIX AX88772 USB 2.0 Ethernet" который на 2.05 работал а сейчас ну не работает уже очень давно

Oct 30 15:23:16ndm kernel: usb 3-1: usbfs: USBDEVFS_CONTROL failed cmd ndm rqt 128 rq 6 len 2 ret -79
Oct 30 15:23:16ndm Usb::Device: system failed [0xcffd00a2], value too large to be stored in data type.
Oct 30 15:23:16ndm Usb::Device: failed to get a string descriptor header.
Oct 30 15:23:16ndm Usb::Device: unable to read available language IDs.
Oct 30 15:23:16ndm Network::Interface::Usb: "CdcEthernet0": system failed [0xcffd039c], /proc/bus/usb/003/002.
Oct 30 15:23:16ndm PingCheck::Profile: interface "CdcEthernet0" added to profile "default".

Ну не совпадает мое желание с желанием разработчиков, есть на вернее важнее задачи.

Опять же мое личное мнение.

Link to comment
Share on other sites

Recommended Posts

  • 0
9 часов назад, utya сказал:

Ребят, скиньте пожалуйста ссылку на устройство на али если есть такие. спс
Это норм ?

По ссылке написано что он на базе Asix AX88179, как видно ниже

kernel: ax88179_178a 2-1:1.0: eth0: register 'ax88179_178a' at usb-xhci-hcd-1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 9c:eb:e8:10:83:07

поддержка в прошивке есть. Только маленькая ремарка в настоящие время на данной базе заработал только в одном месте это у @Le ecureuil в остальных трех случаях пока некорректная работа.

Хотя на ExtII у меня заработал в обе стороны на 7628 пусть даже немного не так по upload, но заработал, в остальных же описанных случаях увы.

Link to comment
Share on other sites

  • 0
  • 0
50 минут назад, Le ecureuil сказал:

Лучше купите что-то на Realtek 8153, он куда лучше гигабитных ASIX.

Повторяю - ppe реализовано и работает. По крайней мере с моей версией AX88179 никаких проблем нет.

т.е. про asix лучше забыть во всех последующих ПО => имеем то что имеем.

И в чем может быть отличие вашего может быть от других ему подобных, без всяких HUB USB дополнительных, так же хотелось бы обратить внимание например на ExtII мой работает в обе стороны ppe sofware стоит и грузит под завязку проц, а на KII upload c ppe software вообще не идет так же и с ppe hardware, только с "no ppe software" на KII в обе стороны идет??

Edited by vasek00
Link to comment
Share on other sites

  • 0
14 минуты назад, vasek00 сказал:

т.е. про asix лучше забыть во всех последующих ПО => имеем то что имеем.

И в чем может быть отличие вашего может быть от других ему подобных, без всяких HUB USB дополнительных, так же хотелось бы обратить внимание например на ExtII мой работает в обе стороны ppe sofware стоит и грузит под завязку проц, а на KII upload c ppe software вообще не идет так же и с ppe hardware, только с "no ppe software" на KII в обе стороны идет??

А шут этих китайцев знает. Я пока во всех отладочных дампах не увидел ни бита разницы (кроме серийного номера), а работают они по-разному. Как такую ситуацию чинить, если и не воспроизводится, и нет объективных данных?

В теории можно попробовать поднять драйвер в ядре до более свежего, но там все сильно завязано на USB CDC-подсистему, в отличие от самобытного R8152, который вообще никак с USB-CDC и USB-NET не соприкасается. Его обновить было куда легче.

  • Upvote 1
Link to comment
Share on other sites

  • 0
49 минут назад, Le ecureuil сказал:

А шут этих китайцев знает. Я пока во всех отладочных дампах не увидел ни бита разницы (кроме серийного номера), а работают они по-разному. Как такую ситуацию чинить, если и не воспроизводится, и нет объективных данных?

В теории можно попробовать поднять драйвер в ядре до более свежего, но там все сильно завязано на USB CDC-подсистему, в отличие от самобытного R8152, который вообще никак с USB-CDC и USB-NET не соприкасается. Его обновить было куда легче.

Хорошо, а в чем тогда отличие EXTII (без SMP) от KII (vermagic=3.4.113 SMP mod_unload MIPS32_R2 32BIT) ?

Edited by vasek00
Link to comment
Share on other sites

  • 0
1 час назад, vasek00 сказал:

Хорошо, а в чем тогда отличие EXTII (без SMP) от KII (vermagic=3.4.113 SMP mod_unload MIPS32_R2 32BIT) ?

Разные USB-контроллеры как минимум, они имеют свою специфику.

Проверю на 6856 если руки дойдут.

  • Upvote 1
Link to comment
Share on other sites

  • 0

Для информации на KII - 211A905

/ # ethtool -k eth0
Features for eth0:
rx-checksumming: on
tx-checksumming: on
        tx-checksum-ipv4: on
        tx-checksum-ip-generic: off [fixed]
        tx-checksum-ipv6: on
        tx-checksum-fcoe-crc: off [fixed]
        tx-checksum-sctp: off [fixed]
scatter-gather: off
        tx-scatter-gather: off [fixed]
        tx-scatter-gather-fraglist: off [fixed]
tcp-segmentation-offload: off
        tx-tcp-segmentation: off [fixed]
        tx-tcp-ecn-segmentation: off [fixed]
        tx-tcp6-segmentation: off [fixed]
udp-fragmentation-offload: off [fixed]
generic-segmentation-offload: off [requested on]
generic-receive-offload: on
large-receive-offload: off [fixed]
rx-vlan-offload: off [fixed]
tx-vlan-offload: off [fixed]
ntuple-filters: off [fixed]
receive-hashing: off [fixed]
highdma: off [fixed]
rx-vlan-filter: off [fixed]
vlan-challenged: off [fixed]
tx-lockless: off [fixed]
netns-local: off [fixed]
tx-gso-robust: off [fixed]
tx-fcoe-segmentation: off [fixed]
fcoe-mtu: off [fixed]
tx-nocache-copy: off
loopback: off [fixed]
/ # ethtool -i eth0
driver: ax88179_178a
version: 
firmware-version: 
expansion-rom-version: 
bus-info: 2-2:1.0
supports-statistics: no
supports-test: no
supports-eeprom-access: yes
supports-register-dump: no
supports-priv-flags: no

Из чистого сравнения двух роутеров ExtII и KII

Скрытый текст

ExtII

/ # ethtool -k eth2
Features for eth2:
rx-checksumming: on
tx-checksumming: off
        tx-checksum-ipv4: off [fixed]
        tx-checksum-ip-generic: off [fixed]
        tx-checksum-ipv6: off [fixed]
        tx-checksum-fcoe-crc: off [fixed]
        tx-checksum-sctp: off [fixed]

scatter-gather: off
        tx-scatter-gather: off [fixed]
        tx-scatter-gather-fraglist: off [fixed]
tcp-segmentation-offload: off
...

udp-fragmentation-offload: off [fixed]
generic-segmentation-offload: off [requested on]
generic-receive-offload: on
large-receive-offload: off [fixed]
....

/ #
/ # ethtool -k eth0
Features for eth0:
rx-checksumming: on
tx-checksumming: on
        tx-checksum-ipv4: on
        tx-checksum-ip-generic: off [fixed]
        tx-checksum-ipv6: on
        tx-checksum-fcoe-crc: off [fixed]
        tx-checksum-sctp: off [fixed]

scatter-gather: off
        tx-scatter-gather: off [fixed]
        tx-scatter-gather-fraglist: off [fixed]
tcp-segmentation-offload: off
        tx-tcp-segmentation: off [fixed]
        tx-tcp-ecn-segmentation: off [fixed]
        tx-tcp6-segmentation: off [fixed]
udp-fragmentation-offload: off [fixed]
generic-segmentation-offload: off [requested on]
generic-receive-offload: on
large-receive-offload: off [fixed]
....

/ #

 

KII

/ # ethtool -k eth2
Features for eth2:
rx-checksumming: on
tx-checksumming: on
        tx-checksum-ipv4: on
        tx-checksum-ip-generic: off [fixed]
        tx-checksum-ipv6: off [fixed]
        tx-checksum-fcoe-crc: off [fixed]
        tx-checksum-sctp: off [fixed]
scatter-gather: on
        tx-scatter-gather: on
        tx-scatter-gather-fraglist: off [fixed]

tcp-segmentation-offload: on
        tx-tcp-segmentation: on
        tx-tcp-ecn-segmentation: off [fixed]
        tx-tcp6-segmentation: off [fixed]

udp-fragmentation-offload: off [fixed]
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off [fixed]

...
/ #

/ # ethtool -k eth0
Features for eth0:
rx-checksumming: on
tx-checksumming: on
        tx-checksum-ipv4: on
        tx-checksum-ip-generic: off [fixed]
        tx-checksum-ipv6: on
        tx-checksum-fcoe-crc: off [fixed]
        tx-checksum-sctp: off [fixed]
scatter-gather: off
        tx-scatter-gather: off [fixed]
        tx-scatter-gather-fraglist: off [fixed]

tcp-segmentation-offload: off
        tx-tcp-segmentation: off [fixed]
        tx-tcp-ecn-segmentation: off [fixed]
        tx-tcp6-segmentation: off [fixed]
udp-fragmentation-offload: off [fixed]
generic-segmentation-offload: off [requested on]
generic-receive-offload: on
large-receive-offload: off [fixed]

...

Проблема как раз в передачей на KII

 

Edited by vasek00
Link to comment
Share on other sites

  • 0
В 31.10.2017 в 20:35, Le ecureuil сказал:

Короче на днях куплю и проверю, ок.

Заодно добавил поддержку realtek 8152/8153 в UsbEthernet, с моим адаптером с алика все работает норм.

Такой realtek-based адаптер тоже взлетел, вместе с USB-хабом.

Скрытый текст

[I] Dec 30 10:48:41 ndm: kernel: usb 2-2: new high-speed USB device number 2 using xhci-hcd
[I] Dec 30 10:48:41 ndm: kernel: usb 2-2: New USB device found, idVendor=1a40, idProduct=0101
[I] Dec 30 10:48:41 ndm: kernel: usb 2-2: Product: USB 2.0 Hub
[I] Dec 30 10:48:41 ndm: kernel: hub 2-2:1.0: USB hub found
[I] Dec 30 10:48:41 ndm: kernel: hub 2-2:1.0: 4 ports detected
[I] Dec 30 10:48:42 ndm: kernel: usb 2-2.2: new high-speed USB device number 3 using xhci-hcd
[I] Dec 30 10:48:42 ndm: kernel: usb 2-2.2: New USB device found, idVendor=0bda, idProduct=8152
[I] Dec 30 10:48:42 ndm: kernel: usb 2-2.2: Product: USB 10/100 LAN
[I] Dec 30 10:48:42 ndm: kernel: usb 2-2.2: Manufacturer: Realtek
[I] Dec 30 10:48:42 ndm: kernel: usb 2-2.2: SerialNumber: 00E04C36AAAE
[I] Dec 30 10:48:42 ndm: kernel: usb 2-2.2: reset high-speed USB device number 3 using xhci-hcd
[W] Dec 30 10:48:42 ndm: kernel: xhci-hcd xhci-hcd: xHCI xhci_drop_endpoint called with disabled ep 8ba08880
[W] Dec 30 10:48:42 ndm: kernel: xhci-hcd xhci-hcd: xHCI xhci_drop_endpoint called with disabled ep 8ba088ac
[W] Dec 30 10:48:42 ndm: kernel: xhci-hcd xhci-hcd: xHCI xhci_drop_endpoint called with disabled ep 8ba088d8
[I] Dec 30 10:48:42 ndm: kernel: r8152 2-2.2:1.0: eth0: v1.08.2
[I] Dec 30 10:48:42 ndm: Network::Interface::Base: "RealtekEthernet0": interface is down.
[I] Dec 30 10:48:42 ndm: Network::Interface::Base: "RealtekEthernet0": interface is up.
[I] Dec 30 10:48:42 ndm: Network::Interface::Repository: "RealtekEthernet0" interface created.
[I] Dec 30 10:48:42 ndm: Network::Interface::Usb: "RealtekEthernet0": interface "RealtekEthernet0" is plugged (port 2).
[I] Dec 30 10:48:42 ndm: Network::Interface::Base: "RealtekEthernet0": description saved.
[I] Dec 30 10:48:44 coalagent: version 0.0.6f starting.
[I] Dec 30 10:48:44 ndm: kernel: ADDRCONF(NETDEV_CHANGE): rtl_br0: link becomes ready
[I] Dec 30 10:48:48 ndhcpc: RealtekEthernet0: NDM DHCP client (version 3.2.14) started.
[I] Dec 30 10:48:48 ndhcpc: RealtekEthernet0: created PID file "/var/run/ndhcpc-rtl_br0.pid".
[I] Dec 30 10:48:55 ndm: kernel: rtl_br0: no IPv6 routers present

 

 

Link to comment
Share on other sites

  • 0

Уважаемые, подскажите пожалуйста, подключил USB-Ethernet адаптер на Realtek 8152 в USB порт KN-1810,

судя по логу определился, но при подключении в него по ethernet ноутбука, тот адрес не получает, при выставлении статики сеть не видит.

Подскажите, что нужно ещё через CLI настроить, чтобы он стал работать как пятый порт LAN?

Скрытый текст
Июл 28 13:31:07
 
ndm
kernel: usb 1-2: new high-speed USB device number 6 using xhci-hcd
Июл 28 13:31:07
 
ndm
kernel: usb 1-2: New USB device found, idVendor=0bda, idProduct=8152
Июл 28 13:31:07
 
ndm
kernel: usb 1-2: Product: USB 10/100 LAN
Июл 28 13:31:07
 
ndm
kernel: usb 1-2: Manufacturer: Realtek
Июл 28 13:31:07
 
ndm
kernel: usb 1-2: SerialNumber: 00E04C363172
Июл 28 13:31:07
 
ndm
kernel: usb 1-2: reset high-speed USB device number 6 using xhci-hcd
Июл 28 13:31:07
 
ndm
kernel: xhci-hcd xhci-hcd: xHCI xhci_drop_endpoint called with disabled ep 8cbf3780
Июл 28 13:31:07
 
ndm
kernel: xhci-hcd xhci-hcd: xHCI xhci_drop_endpoint called with disabled ep 8cbf37ac
Июл 28 13:31:07
 
ndm
kernel: xhci-hcd xhci-hcd: xHCI xhci_drop_endpoint called with disabled ep 8cbf37d8
Июл 28 13:31:07
 
ndm
kernel: r8152 1-2:1.0: eth0: v1.08.2
Июл 28 13:31:07
 
ndm
Network::Interface::Usb: "RealtekEthernet0": interface "RealtekEthernet0" is plugged (port 2).
Июл 28 13:31:12
 
ndhcpc
RealtekEthernet0: NDM DHCP client (version 3.2.18) started.
Июл 28 13:31:12
 
ndhcpc
RealtekEthernet0: created PID file "/var/run/ndhcpc-rtl_br0.pid".
Июл 28 13:31:17
 
ndm
kernel: r8152 1-2:1.0: eth0: carrier on
Июл 28 13:34:03
 
ndm
kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 
Link to comment
Share on other sites

  • 0
44 минуты назад, Олег Осипов сказал:

Уважаемые, подскажите пожалуйста, подключил USB-Ethernet адаптер на Realtek 8152 в USB порт KN-1810,

судя по логу определился, но при подключении в него по ethernet ноутбука, тот адрес не получает, при выставлении статики сеть не видит.

Подскажите, что нужно ещё через CLI настроить, чтобы он стал работать как пятый порт LAN?

Для локальной сети его нужно включить в bridge (Home), так как по умолчанию данный интерфейс будет считаться WAN портом, например ниже

interface CdcEthernet0
   .....
    ip global 800
    up


interface Bridge0
    rename Home
    description "Home VLAN"
    inherit FastEthernet0/Vlan1
    include AccessPoint
    include AccessPoint_5G
    include CdcEthernet0
    security-level private
    ip address 192.168.1.200 255.255.255.0
    ip dhcp client dns-routes
    ip dhcp client name-servers
    igmp downstream
    up

По CLI смотрите

Цитата

3.25.38 interface include
Описание Указать Ethernet-интерфейс, который будет добавлен в программный мост в качестве порта.
Команда с префиксом
no удаляет интерфейс из моста.

   
   

Тип интерфейса Bridge

(confg-if)> include interface
(confg-if)> no include interface
 

 

Edited by vasek00
  • Thanks 3
Link to comment
Share on other sites

  • 0

Тестирование Asix подключенного к USB3 порту KN1010

Скрытый текст

Jul 26 13:41:51 ndm: kernel: ax88179_178a 2-1:1.0: eth0: register 'ax88179_178a' at usb-xhci-hcd-1, D-Link DUB-1312 USB 3.0 to Gigabit Ethernet Adapter, хх:хх:хх:хх:хх:60

Схема подключения
 

PS ----LAN --------------- KN1010

PS ----LAN-------Asix-USB3-KN1010

Первый вариант стандарт LAN 1GB тест iperf3 (где сервером был ПК, клиентом KN1010) в итоге ~ 600Мбит или с ключем -R на клиенте в итоге до ~700Мбит

Цитата

[  5]  22.01-23.00  sec  68.5 MBytes   578 Mbits/sec    0   93.3 KBytes      

[  5]  23.00-24.00  sec  72.1 MBytes   604 Mbits/sec    0   93.3 KBytes      

[  5]  24.00-25.00  sec  71.6 MBytes   598 Mbits/sec    0   93.3 KBytes      

[  5]  25.00-26.01  sec  71.8 MBytes   600 Mbits/sec    0   93.3 KBytes      

[  5]  26.01-27.01  sec  71.0 MBytes   595 Mbits/sec    0   93.3 KBytes      

[  5]  27.01-28.01  sec  71.5 MBytes   599 Mbits/sec    0   93.3 KBytes      

[  5]  28.01-29.01  sec  71.5 MBytes   602 Mbits/sec    0   93.3 KBytes      

[  5]  29.01-30.01  sec  71.5 MBytes   597 Mbits/sec    0   93.3 KBytes      

[  5]  30.01-31.01  sec  71.3 MBytes   599 Mbits/sec    0   93.3 KBytes      

[  5]  31.01-32.00  sec  71.0 MBytes   601 Mbits/sec    0   93.3 KBytes      

[  5]  32.00-33.00  sec  71.5 MBytes   600 Mbits/sec    0   93.3 KBytes      

[  5]  33.00-34.00  sec  71.7 MBytes   599 Mbits/sec    0   93.3 KBytes      

[  5]  34.00-35.00  sec  71.7 MBytes   603 Mbits/sec    0   93.3 KBytes      

[  5]  35.00-36.01  sec  72.2 MBytes   600 Mbits/sec    0   93.3 KBytes      

[  5]  36.01-37.00  sec  70.7 MBytes   599 Mbits/sec    0   93.3 KBytes      

Второй вариант Asix показал странности в работе, тест iperf3 (где сервером был ПК, клиентом KN1010) в итоге ~ 260Мбит или с ключем -R на клиенте в итоге до ~200Мбит

Цитата

[  5]  51.00-52.00  sec  30.2 MBytes   253 Mbits/sec    0   93.3 KBytes      

[  5]  52.00-53.00  sec  30.3 MBytes   254 Mbits/sec    0   93.3 KBytes      

[  5]  53.00-54.00  sec  30.0 MBytes   251 Mbits/sec    0   93.3 KBytes      

[  5]  54.00-55.01  sec  31.3 MBytes   260 Mbits/sec    0   93.3 KBytes       

[  5]  55.01-56.01  sec  30.6 MBytes   255 Mbits/sec    0   93.3 KBytes      

[  5]  56.01-57.00  sec  29.2 MBytes   248 Mbits/sec    0   93.3 KBytes      

[  5]  57.00-58.00  sec  30.3 MBytes   254 Mbits/sec    0   93.3 KBytes      

[  5]  58.00-59.01  sec  31.0 MBytes   257 Mbits/sec    0   93.3 KBytes      

[  5]  59.01-60.01  sec  30.4 MBytes   255 Mbits/sec    0   93.3 KBytes      

[  5]  60.01-61.02  sec  29.7 MBytes   248 Mbits/sec    0   93.3 KBytes      

[  5]  61.02-62.00  sec  30.2 MBytes   257 Mbits/sec    0   93.3 KBytes      

[  5]  62.00-63.00  sec  30.3 MBytes   255 Mbits/sec    0   93.3 KBytes      

[  5]  63.00-64.01  sec  30.8 MBytes   257 Mbits/sec    0   93.3 KBytes      

[  5]  64.01-65.00  sec  29.4 MBytes   248 Mbits/sec    0   93.3 KBytes      

[  5]  65.00-66.00  sec  30.2 MBytes   254 Mbits/sec    0   93.3 KBytes      

[  5]  66.00-67.00  sec  29.8 MBytes   250 Mbits/sec    0   93.3 KBytes      

[  5]  67.00-68.00  sec  29.9 MBytes   251 Mbits/sec    0   93.3 KBytes       

[  5]  68.00-69.01  sec  30.9 MBytes   256 Mbits/sec    0   93.3 KBytes      

[  5]  69.01-70.00  sec  29.8 MBytes   253 Mbits/sec    0   93.3 KBytes      

[  5]  70.00-71.02  sec  30.7 MBytes   253 Mbits/sec    0   93.3 KBytes      

Странности в том, что если мне не изменяет память на Extra II этот же адаптер давал значения чуть меньше этих диапазонов до ~200Мбит.

В интернете при тесте на ПК данного Asiх чипа ax88179_178a пишут значения по более : USB2 порт ~240Мбит, USB3 порт ~400Мбит

 

 

Edited by vasek00
Link to comment
Share on other sites

  • 0
В 20.12.2017 в 10:28, Le ecureuil сказал:

В теории можно попробовать поднять драйвер в ядре до более свежего, но там все сильно завязано на USB CDC-подсистему, в отличие от самобытного R8152, который вообще никак с USB-CDC и USB-NET не соприкасается. Его обновить было куда легче. 

Не найдется ли некоторого кол-во времени для свежего драйвера для Asix в прошивку.

Link to comment
Share on other sites

  • 0
4 часа назад, vasek00 сказал:

Не найдется ли некоторого кол-во времени для свежего драйвера для Asix в прошивку.

Пока, если честно, немного не до этого.

Link to comment
Share on other sites

  • 0

Le ecureuil

Запишите куда нибудь по данному направлению для проверки, на релизе 2.13А401

(iperf -c)ExtraII-USB-Ethernet-----1Gb-----LAN-KN1010(iperf -s)

Перекос в скорости опять появился только уже на ExtraII

Скрытый текст

ExtraII

iperf3 -c KN1010 -R -t 240

[  5]   4.00-5.01   sec  20.8 MBytes   173 Mbits/sec                  
[  5]   5.01-6.00   sec  20.0 MBytes   169 Mbits/sec                  
[  5]   6.00-7.01   sec  20.8 MBytes   172 Mbits/sec                  
[  5]   7.01-8.01   sec  20.8 MBytes   174 Mbits/sec                  
[  5]   8.01-9.00   sec  20.4 MBytes   173 Mbits/sec                  
[  5]   9.00-10.00  sec  20.5 MBytes   173 Mbits/sec                  
[  5]  10.00-11.00  sec  20.0 MBytes   168 Mbits/sec                  
[  5]  11.00-12.00  sec  20.6 MBytes   173 Mbits/sec                  
[  5]  12.00-13.00  sec  20.4 MBytes   171 Mbits/sec                  
[  5]  13.00-14.00  sec  20.6 MBytes   173 Mbits/sec                  
[  5]  14.00-15.00  sec  20.5 MBytes   172 Mbits/sec                  
[  5]  15.00-16.01  sec  20.4 MBytes   170 Mbits/sec                  
[  5]  16.01-17.00  sec  20.1 MBytes   169 Mbits/sec                  
[  5]  17.00-18.00  sec  20.0 MBytes   168 Mbits/sec                  
[  5]  18.00-19.00  sec  19.8 MBytes   165 Mbits/sec                  
[  5]  19.00-20.00  sec  20.5 MBytes   172 Mbits/sec                  
[  5]  20.00-21.00  sec  19.9 MBytes   167 Mbits/sec                  
[  5]  21.00-22.00  sec  20.4 MBytes   171 Mbits/sec                  

[  5]  29.01-30.00  sec  20.4 MBytes   172 Mbits/sec                  
[  5]  30.00-31.00  sec  19.6 MBytes   164 Mbits/sec                  
[  5]  31.00-32.01  sec  20.5 MBytes   172 Mbits/sec                  
[  5]  32.01-33.00  sec  20.2 MBytes   170 Mbits/sec                  
[  5]  33.00-34.00  sec  20.4 MBytes   171 Mbits/sec                  
[  5]  34.00-35.00  sec  20.4 MBytes   171 Mbits/sec                  
[  5]  35.00-36.01  sec  20.4 MBytes   171 Mbits/sec                  
[  5]  36.01-37.00  sec  20.2 MBytes   170 Mbits/sec                  
[  5]  37.00-38.00  sec  20.5 MBytes   172 Mbits/sec                  
[  5]  38.00-39.01  sec  20.1 MBytes   168 Mbits/sec                  
[  5]  39.01-40.01  sec  20.1 MBytes   169 Mbits/sec                  
[  5]  40.01-41.00  sec  19.9 MBytes   168 Mbits/sec                  
[  5]  41.00-42.00  sec  20.2 MBytes   170 Mbits/sec                  
[  5]  42.00-43.00  sec  20.4 MBytes   171 Mbits/sec                  
[  5]  43.00-44.00  sec  20.1 MBytes   169 Mbits/sec                  
[  5]  44.00-45.00  sec  20.5 MBytes   171 Mbits/sec                  
[  5]  45.00-46.00  sec  20.4 MBytes   171 Mbits/sec                  
[  5]  46.00-47.00  sec  20.0 MBytes   168 Mbits/sec                  
[  5]  47.00-48.00  sec  20.5 MBytes   171 Mbits/sec                  
[  5]  48.00-49.00  sec  19.5 MBytes   164 Mbits/sec                  

 

iperf3 -c KN1010 -t 240

[  5]   2.10-3.04   sec  8.75 MBytes  78.1 Mbits/sec    0    134 KBytes       
[  5]   3.04-4.09   sec  10.0 MBytes  80.1 Mbits/sec    0    134 KBytes       
[  5]   4.09-5.00   sec  8.75 MBytes  80.1 Mbits/sec    0    134 KBytes       
[  5]   5.00-6.06   sec  10.0 MBytes  79.5 Mbits/sec    0    134 KBytes       
[  5]   6.06-7.11   sec  10.0 MBytes  80.1 Mbits/sec    0    134 KBytes       
[  5]   7.11-8.03   sec  8.75 MBytes  79.4 Mbits/sec    0    134 KBytes       
[  5]   8.03-9.09   sec  10.0 MBytes  79.0 Mbits/sec    0    134 KBytes       
[  5]   9.09-10.02  sec  8.75 MBytes  79.5 Mbits/sec    0    134 KBytes       
[  5]  10.02-11.07  sec  10.0 MBytes  79.6 Mbits/sec    0    134 KBytes       
[  5]  11.07-12.13  sec  10.0 MBytes  79.1 Mbits/sec    0    134 KBytes       
[  5]  12.13-13.07  sec  8.75 MBytes  78.3 Mbits/sec    0    134 KBytes       
[  5]  13.07-14.11  sec  10.0 MBytes  80.0 Mbits/sec    0    136 KBytes       

[  5]  19.01-20.08  sec  10.0 MBytes  78.5 Mbits/sec    0    136 KBytes       
[  5]  20.08-21.03  sec  8.75 MBytes  77.2 Mbits/sec    0    136 KBytes       
[  5]  21.03-22.08  sec  10.0 MBytes  80.1 Mbits/sec    0    136 KBytes       
[  5]  22.08-23.03  sec  8.75 MBytes  77.4 Mbits/sec    0    136 KBytes       
[  5]  23.03-24.08  sec  10.0 MBytes  80.0 Mbits/sec    0    137 KBytes       
[  5]  24.08-25.13  sec  10.0 MBytes  79.9 Mbits/sec    0    139 KBytes       
[  5]  25.13-26.06  sec  8.75 MBytes  78.9 Mbits/sec    0    139 KBytes       
[  5]  26.06-27.10  sec  10.0 MBytes  80.2 Mbits/sec    0    139 KBytes       
[  5]  27.10-28.02  sec  8.75 MBytes  79.6 Mbits/sec    0    139 KBytes       
[  5]  28.02-29.07  sec  10.0 MBytes  79.9 Mbits/sec    0    139 KBytes       
[  5]  29.07-30.12  sec  10.0 MBytes  80.0 Mbits/sec    0    139 KBytes       
[  5]  30.12-31.06  sec  8.75 MBytes  78.3 Mbits/sec    0    139 KBytes       
[  5]  31.06-32.11  sec  10.0 MBytes  80.2 Mbits/sec    0    139 KBytes       
[  5]  32.11-33.05  sec  8.75 MBytes  77.9 Mbits/sec    0    139 KBytes       
[  5]  33.05-34.10  sec  10.0 MBytes  79.7 Mbits/sec    0    139 KBytes       
 

Так же не смог дотянуться до удаленного DLNA на NAS в сети 1Gb при схеме

NAS----KN1010--1Gb---Ethernet-USB-ExtraII----wi-fi----ТВ
PS------+

т.е. ТВ не видет DLNA ни на NAS ни на KN, свой видит от ExtraII, SMB шары работают любые, что на NAS, что на KN, что на ExtraII.

По DLNA думаю потому что интерфейс USB-Ethernet считается WAN порт (настройки WEB) хоть и находиться в Bridge0 но где-то висит запрет. По WEB настроек нет поэтому делал в ручную.

Цитата

interface CdcEthernet0
    description "Asix"
    usb device-id 2001 4a00
    ip address dhcp
    ip dhcp client dns-routes
    ip dhcp client name-servers
    ip global 700
    up

interface Bridge0
    rename Home
    description "Home VLAN"
    inherit FastEthernet0/Vlan1
    include AccessPoint
    include AccessPoint_5G
    include CdcEthernet0

Остальное работает т.е. интернет на клиентах есть.

 

Edited by vasek00
Link to comment
Share on other sites

  • 0

Не много не понял фишку при схеме

NAS---1GB----Asix_USB-ExtraII----5GHz----Клиент

Клиент не видит DLNA от NAS но видит на ExtraII, релиз 2.13A5ххх на последней так же. Подозрения проход на пакетов 239.x.x.x.

Помимо DLNA так же и SMB не видно NAS. При включении NAS на LAN порт все встает на места

interface CdcEthernet0
    rename Asix
    description "Asix USB-LAN"
    usb device-id 2001 4a00
    security-level private
    ip dhcp client dns-routes
    ip dhcp client name-servers
    ip dhcp client displace Home
    ip global 900
    up

interface Bridge0
    rename Home
    description "Home VLAN"
    inherit FastEthernet0/Vlan1
    include Asix
    include AccessPoint
    include AccessPoint_5G
...
    security-level private
...
    up

cdc_br0   Link encap:Ethernet  HWaddr хх:хх:хх:хх:хх:60  
          inet6 addr: хххх::хххх:хххх:хххх:хх60/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:689917 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1475113 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:460794836 (439.4 MiB)  TX bytes:1981366016 (1.8 GiB)

eth0      Link encap:Ethernet  HWaddr хх:хх:хх:хх:хх:60    
          inet6 addr: хххх::хххх:хххх:хххх:хх60/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

bridge name     bridge id               STP enabled     interfaces
br0             8000.хххххххххххх       no              eth2.1
                                                        cdc_br0
                                                        ra0
                                                        rai0

В остальном все работает. Возможная причина, система по WEB понимает данный интерфейс как WAN и ставит парамерт "global" и в резерв.

Edited by vasek00
Link to comment
Share on other sites

  • 0

Уважаемые, подскажите пожалуйста,

Долгое время был подключен USB-Ethernet адаптер на Realtek 8152 в USB порт KN-1810 и настроен как пятый порт LAN,

всё работало пока не обновил прошивку с 2.15 до 3.1, после перезагрузки адаптер остался в Bridge0 но перестал работать на кинетике, пишет  link: down , на винде работает нормально.

Как заставить его работать?

Скрытый текст

(config)> show interface bridge0

               id: Bridge0
            index: 0
             type: Bridge
      description: Home network
   interface-name: Home
             link: up
        connected: yes
            state: up
              mtu: 1500
         tx-queue: 0
          address: 192.168.1.1
             mask: 255.255.255.0
           uptime: 86436
           global: no
   security-level: private
              mac: 50:ff:20:04:c3:1f
        auth-type: none

           bridge:
            interface, link = yes, inherited = yes:
                       GigabitEthernet0/Vlan1

            interface, link = no: RealtekEthernet0

            interface, link = yes: WifiMaster0/AccessPoint0

            interface, link = yes: WifiMaster1/AccessPoint0

(config)> show interface RealtekEthernet0

               id: RealtekEthernet0
            index: 0
             type: RealtekEthernet
      description: USB_Ethernet
   interface-name: Realtek
             link: down
        connected: no
            state: up
              mtu: 1500
         tx-queue: 1000
            group: Home

           usedby: Bridge0

              mac: 4e:f9:61:a5:a9:bb
        auth-type: none
          plugged: no
 

 

Link to comment
Share on other sites

  • 0
10 минут назад, Олег Осипов сказал:

Уважаемые, подскажите пожалуйста,

Долгое время был подключен USB-Ethernet адаптер на Realtek 8152 в USB порт KN-1810 и настроен как пятый порт LAN,

всё работало пока не обновил прошивку с 2.15 до 3.1, после перезагрузки адаптер остался в Bridge0 но перестал работать на кинетике, пишет  link: down , на винде работает нормально.

Как заставить его работать?

  Скрыть содержимое

(config)> show interface bridge0

               id: Bridge0
            index: 0
             type: Bridge
      description: Home network
   interface-name: Home
             link: up
        connected: yes
            state: up
              mtu: 1500
         tx-queue: 0
          address: 192.168.1.1
             mask: 255.255.255.0
           uptime: 86436
           global: no
   security-level: private
              mac: 50:ff:20:04:c3:1f
        auth-type: none

           bridge:
            interface, link = yes, inherited = yes:
                       GigabitEthernet0/Vlan1

            interface, link = no: RealtekEthernet0

            interface, link = yes: WifiMaster0/AccessPoint0

            interface, link = yes: WifiMaster1/AccessPoint0

(config)> show interface RealtekEthernet0

               id: RealtekEthernet0
            index: 0
             type: RealtekEthernet
      description: USB_Ethernet
   interface-name: Realtek
             link: down
        connected: no
            state: up
              mtu: 1500
         tx-queue: 1000
            group: Home

           usedby: Bridge0

              mac: 4e:f9:61:a5:a9:bb
        auth-type: none
          plugged: no
 

 

В трешке их вроде в отдельный компонент выделили посмотрите в компонентах прошивки установлен ли у вас соответствующий пакет. 

Edited by r13
Link to comment
Share on other sites

  • 0

Установил компоненты, линк поднялся, но адаптер всё равно не работает:

(config)> show interface bridge0

 Usage template:
        interface [{name}]

(config)> show interface bridge0

               id: Bridge0
            index: 0
             type: Bridge
      description: Home network
   interface-name: Home
             link: up
        connected: yes
            state: up
              mtu: 1500
         tx-queue: 0
          address: 192.168.1.1
             mask: 255.255.255.0
           uptime: 3798
           global: no
   security-level: private
              mac: 50:ff:20:04:c3:
1f
        auth-type: none

           bridge:
            interface, link = yes,
 inherited = yes:
                       GigabitEthe
rnet0/Vlan1

            interface, link = yes:
 RealtekEthernet0

            interface, link = yes:
 WifiMaster0/AccessPoint0

            interface, link = yes:
 WifiMaster1/AccessPoint0

hernet0

               id: RealtekEthernet
0
            index: 0
             type: RealtekEthernet
      description: USB_Ethernet
   interface-name: Realtek
             link: up
        connected: yes
            state: up
              mtu: 1500
         tx-queue: 1000
            group: Home

           usedby: Bridge0

              mac: 00:e0:4c:36:31:
72
        auth-type: none
          plugged: yes
           vendor: 0bda
            model: 8152
     manufacturer: Realtek
          product: USB 10/100 LAN
           serial: 00E04C363172

Link to comment
Share on other sites

  • 0
2 часа назад, Олег Осипов сказал:

Установил компоненты, линк поднялся, но адаптер всё равно не работает:

Проверял недавно в августе 2019 Dlink на базе Asix все работало в дом.сети - Bridge0, релиз на роутере 301B300

Скрытый текст

interface AsixEthernet0
    description AsixUSB3
    usb device-id 2001 4a00
    security-level public
    ip dhcp client dns-routes
    ip dhcp client name-servers
    up
!
interface Bridge0
    rename Home
    description "Home Lan"
    inherit GigabitEthernet0/Vlan1
    include AccessPoint
    include AccessPoint_5G
    include AsixEthernet0
    mac access-list type permit
...



[I] Aug 13 10:46:24 ndm: Network::Interface::Bridge: "Bridge0": AsixEthernet0 included.
...
[I] Aug 13 10:46:33 ndm: Network::Interface::Usb: "AsixEthernet0": interface "AsixEthernet0" is plugged (port 2).
...
[I] Aug 13 10:46:39 ndm: Network::Interface::UsbEthernet: "AsixEthernet0": link up.


    <interface name="AsixEthernet0">
        <id>AsixEthernet0</id>
        <index>0</index>
        <type>AsixEthernet</type>
        <description>AsixUSB3</description>
        <interface-name>AsixEthernet0</interface-name>
        <link>up</link>
        <connected>yes</connected>
        <state>up</state>
        <mtu>1500</mtu>
        <tx-queue>1000</tx-queue>
        <group>Home</group>
        <usedby>Bridge0</usedby>
        <mac>хх:хх:хх:хх:хх:60</mac>
        <auth-type>none</auth-type>
        <plugged>yes</plugged>
        <vendor>2001</vendor>
        <model>4a00</model>
        <manufacturer>D-Link Elec. Corp.</manufacturer>
        <product>D-Link DUB-1312</product>
        <serial>000000000хххх6</serial>
        <ati>
            <manufacturer>D-Link</manufacturer>
        </ati>
    </interface>
    <interface name="Home">
        <id>Bridge0</id>
        <index>0</index>
        <type>Bridge</type>
        <description>Home Lan</description>
        <interface-name>Home</interface-name>
        <link>up</link>
        <connected>yes</connected>
        <state>up</state>
        <mtu>1500</mtu>
        <tx-queue>0</tx-queue>
        <address>192.168.1.100</address>
        <mask>255.255.255.0</mask>
        <uptime>402</uptime>
        <global>no</global>
        <security-level>private</security-level>
        <mac>50:хх:хх:хх:хх:94</mac>
        <auth-type>none</auth-type>
        <bridge>
            <interface link="no" inherited="yes">GigabitEthernet0/Vlan1</interface>
            <interface link="yes">WifiMaster0/AccessPoint0</interface>
            <interface link="yes">WifiMaster1/AccessPoint0</interface>
            <interface link="yes">AsixEthernet0</interface>
        </bridge>
    </interface>


Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
asx_br0: 1297178001 1112291    0    0    0     0          0         0 1390136820  542629    0    0    0     0       0          0
apcli0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
 ra4.1:       0       0    0    0    0     0          0         0   462844    3671    0    0    0     0       0          0
dummy0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
   ra8:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
   ra5:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
   br0: 1297284016 1113240    0    1    0     0          0         0 1382590826  542795    0    0    0     0       0          0
   ra2:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
....



/ # brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.хххххххххх94       yes             eth2.1
                                                        ra5
                                                        ra0
                                                        asx_br0
                                                        ra4.1

 

 

Edited by vasek00
Link to comment
Share on other sites

  • 0

При подключении ноутбука к порту Ethernet USB адаптера, ноутбук пишет - неопознанная сеть, IP адрес не получает, при установки статики пинг до кинетика не идёт.

В чём может быть ещё дело?

При подключении адаптера в кинетик  логе появляется следующие записи:

Скрытый текст
Сен 3 19:29:34
 
ndm
kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Сен 3 19:29:34
 
ndm
kernel: usb 1-2: Product: USB 10/100 LAN
Сен 3 19:29:34
 
ndm
kernel: usb 1-2: Manufacturer: Realtek
Сен 3 19:29:34
 
ndm
kernel: usb 1-2: SerialNumber: 00E04C363172
Сен 3 19:29:34
 
ndm
kernel: usb 1-2: reset high-speed USB device number 4 using xhci-mtk
Сен 3 19:29:34
 
ndm
kernel: r8152 1-2:1.0 eth0: v1.08.9
Сен 3 19:29:34
 
ndm
Network::Interface::Usb: "RealtekEthernet0": interface "Realtek" is plugged (port 2).
Сен 3 19:29:36
 
ndm
kernel: usb 1-2: USB disconnect, device number 4
Сен 3 19:29:36
 
ndm
Network::Interface::Usb: "RealtekEthernet0": interface "Realtek" is unplugged.
Сен 3 19:29:36
 
ndm
Network::Interface::Ip: "RealtekEthernet0": IP address cleared.
Сен 3 19:29:36
 
ndm
kernel: br0: port 2(rtl_br0) entered disabled state
Сен 3 19:29:36
 
ndm
kernel: usb 1-2: new high-speed USB device number 5 using xhci-mtk
Сен 3 19:29:37
 
ndm
kernel: usb 1-2: New USB device found, idVendor=0bda, idProduct=8152
Сен 3 19:29:37
 
ndm
kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Сен 3 19:29:37
 
ndm
kernel: usb 1-2: Product: USB 10/100 LAN
Сен 3 19:29:37
 
ndm
kernel: usb 1-2: Manufacturer: Realtek
Сен 3 19:29:37
 
ndm
kernel: usb 1-2: SerialNumber: 00E04C363172
Сен 3 19:29:37
 
ndm
kernel: usb 1-2: reset high-speed USB device number 5 using xhci-mtk
Сен 3 19:29:37
 
ndm
kernel: r8152 1-2:1.0 eth0: v1.08.9
Сен 3 19:29:37
 
ndm
Network::Interface::Usb: "RealtekEthernet0": interface "Realtek" is plugged (port 2).
Сен 3 19:29:39
 
ndm
kernel: device eth0 entered promiscuous mode
Сен 3 19:29:39
 
ndm
kernel: br0: port 2(rtl_br0) entered blocking state
Сен 3 19:29:39
 
ndm
kernel: br0: port 2(rtl_br0) entered forwarding state
Сен 3 19:29:39
 
ndm
Network::Interface::UsbEthernet: "RealtekEthernet0": link up.

 

Link to comment
Share on other sites

  • 0
3 часа назад, Олег Осипов сказал:

В чём может быть ещё дело?

В том, что не рассказали роутеру что с USB-LAN адаптером делать. Если его надо объединять с портами LAN в один домашний сегмент, то…

interface Bridge0 include RealtekEthernet0
system configuration save

 

  • Thanks 2
Link to comment
Share on other sites

  • 0
8 часов назад, Александр Рыжов сказал:

В том, что не рассказали роутеру что с USB-LAN адаптером делать. Если его надо объединять с портами LAN в один домашний сегмент, то…


interface Bridge0 include RealtekEthernet0
system configuration save

 

Адаптер в Bridge0 ещё с прошлой прошивки 2.15 где он успешно работал !

  • Thanks 1
Link to comment
Share on other sites

  • 0
13 часа назад, Александр Рыжов сказал:

В том, что не рассказали роутеру что с USB-LAN адаптером делать. Если его надо объединять с портами LAN в один домашний сегмент, то…

Он согласно show

 bridge:
            interface, link = yes, inherited = yes: GigabitEthernet0/Vlan1
            interface, link = yes: RealtekEthernet0
            interface, link = yes: WifiMaster0/AccessPoint0
            interface, link = yes: WifiMaster1/AccessPoint0 

Там

Сен 3 19:29:34 ndm kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Сен 3 19:29:34 ndm kernel: usb 1-2: Product: USB 10/100 LAN
Сен 3 19:29:34 ndm kernel: usb 1-2: Manufacturer: Realtek
Сен 3 19:29:34 ndm kernel: usb 1-2: SerialNumber: 00E04C363172
Сен 3 19:29:34 ndm kernel: usb 1-2: reset high-speed USB device number 4 using xhci-mtk
Сен 3 19:29:34 ndm kernel: r8152 1-2:1.0 eth0: v1.08.9
Сен 3 19:29:34 ndm Network::Interface::Usb: "RealtekEthernet0": interface "Realtek" is plugged (port 2).
Сен 3 19:29:36 ndm kernel: usb 1-2: USB disconnect, device number 4
Сен 3 19:29:36 ndm Network::Interface::Usb: "RealtekEthernet0": interface "Realtek" is unplugged.

а при попытке второй раз уже 

Сен 3 19:29:39 ndm kernel: br0: port 2(rtl_br0) entered blocking state

При например нормальном раскладе

[I] Aug 13 10:46:32 ndm: kernel: usb 1-2: New USB device found, idVendor=2001, idProduct=4a00
[I] Aug 13 10:46:32 ndm: kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[I] Aug 13 10:46:32 ndm: kernel: usb 1-2: Product: D-Link DUB-1312
[I] Aug 13 10:46:32 ndm: kernel: usb 1-2: Manufacturer: D-Link Elec. Corp.
[I] Aug 13 10:46:32 ndm: kernel: usb 1-2: SerialNumber: 0000000000....6
...
[I] Aug 13 10:46:32 ndm: kernel: ax88179_178a 1-2:1.0 eth0: register 'ax88179_178a' at usb-xhci-mtk-2, D-Link DUB-1312 USB 3.0 to Gigabit Ethernet Adapter, хх:хх:хх:хх:хх:60
...
[I] Aug 13 10:46:33 ndm: Network::Interface::Usb: "AsixEthernet0": interface "AsixEthernet0" is plugged (port 2).
...
[I] Aug 13 10:46:39 ndm: Network::Interface::UsbEthernet: "AsixEthernet0": link up.

 

Edited by vasek00
Link to comment
Share on other sites

  • 0
3 часа назад, Олег Осипов сказал:

Мой адаптер так и не заработал на 3.1 прошивке. У кого-нибуть с Realtekом работает?

Проверил с 8153, и правда, есть странности.

В порту USB3 он работает отлично - данные ходят, в порту USB2 он определяется и ведет себя точно также, но данные не ходят вообще.

ASIX AX88179 USB 3.0 Gigabit Ethernet и Davicom DM96xx USB 10/100 Ethernet вообще перестали определяться в порту USB3.

Возможно, есть тут общий корень проблемы.

  • Thanks 1
Link to comment
Share on other sites

  • 0

У меня и на USB3 не работает :

Скрытый текст
kernel: usb 1-1.4: new high-speed USB device number 4 using xhci-mtk
Сен 7 07:43:03
 
ndm
kernel: usb 1-1.4: New USB device found, idVendor=0bda, idProduct=8152
Сен 7 07:43:03
 
ndm
kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Сен 7 07:43:03
 
ndm
kernel: usb 1-1.4: Product: USB 10/100 LAN
Сен 7 07:43:03
 
ndm
kernel: usb 1-1.4: Manufacturer: Realtek
Сен 7 07:43:03
 
ndm
kernel: usb 1-1.4: SerialNumber: 00E04C363172
Сен 7 07:43:03
 
ndm
kernel: usb 1-1.4: reset high-speed USB device number 4 using xhci-mtk
Сен 7 07:43:03
 
ndm
kernel: usb 1-1.4: Device not responding to setup address.
Сен 7 07:43:03
 
ndm
kernel: usb 1-1.4: Device not responding to setup address.
Сен 7 07:43:04
 
ndm
kernel: usb 1-1.4: device not accepting address 4, error -71
Сен 7 07:43:04
 
ndm
kernel: usb 1-1.4: reset high-speed USB device number 4 using xhci-mtk
Сен 7 07:43:04
 
ndm
kernel: r8152 1-1.4:1.0 eth0: v1.08.9
Сен 7 07:43:04
 
ndm
Network::Interface::Usb: "RealtekEthernet0": interface "Realtek" is plugged (port 1).
Сен 7 07:43:06
 
ndm
kernel: device eth0 entered promiscuous mode
Сен 7 07:43:06
 
ndm
kernel: br0: port 4(rtl_br0) entered blocking state
Сен 7 07:43:06
 
ndm
kernel: br0: port 4(rtl_br0) entered forwarding state
Сен 7 07:43:10
 
ndm
Network::Interface::UsbEthernet: "RealtekEthernet0": link up.

 

Link to comment
Share on other sites

  • 0
14 часа назад, Le ecureuil сказал:

ASIX AX88179 USB 3.0 Gigabit Ethernet и Davicom DM96xx USB 10/100 Ethernet вообще перестали определяться в порту USB3.

Возможно, есть тут общий корень проблемы.

На KN1010 релиз 33А11 - D-Link DUB-1312 USB 3.0 to Gigabit Ethernet Adapter работает нормально, проверил только что подключив к нему ПК как на USB3 так и на USB2 порту (ниже основной тест на USB2 порту, на USB3 простая проверка)

Скрытый текст

На USB2

!
interface AsixEthernet0
    description AsixUSB3
    usb device-id 2001 4a00
    security-level public
    ip dhcp client dns-routes
    ip dhcp client name-servers
    up
!
interface Bridge0
    rename Home
    description "Home Lan"
    inherit GigabitEthernet0/Vlan1
    include AsixEthernet0
    include AccessPoint
    include AccessPoint_5G
    mac access-list type permit
...


[I] Sep  3 08:01:44 ndm: kernel: usb 1-2: New USB device found, idVendor=2001, idProduct=4a00
[I] Sep  3 08:01:44 ndm: kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[I] Sep  3 08:01:44 ndm: kernel: fastvpn: sizeof(bind) = 200
[I] Sep  3 08:01:44 ndm: kernel: usb 1-2: Product: D-Link DUB-1312
[I] Sep  3 08:01:44 ndm: kernel: usb 1-2: Manufacturer: D-Link Elec. Corp.
[I] Sep  3 08:01:44 ndm: kernel: usb 1-2: SerialNumber: 0000000000хххх6
[I] Sep  3 08:01:44 ndm: kernel: fastvpn: sizeof(hashent) = 56
[I] Sep  3 08:01:44 ndm: kernel: fastvpn: registered
[I] Sep  3 08:01:44 ndm: kernel: fastvpn: enabled
[I] Sep  3 08:01:44 ndm: kernel: fastvpn: Fast VPN init, v4.0-134
[I] Sep  3 08:01:44 ndm: kernel: fastvpn: PPPoE/IPoE LAN software acceleration is disabled
[I] Sep  3 08:01:44 ndm: kernel: usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[I] Sep  3 08:01:44 ndm: kernel: usb 2-1: New USB device found, idVendor=1f75, idProduct=0621
[I] Sep  3 08:01:44 ndm: kernel: usb 2-1: New USB device strings: Mfr=4, Product=5, SerialNumber=6
[I] Sep  3 08:01:44 ndm: kernel: usb 2-1: SerialNumber: 201хххх1
[I] Sep  3 08:01:44 ndm: Http::Nginx: loaded SSL certificate for "7f4ххххххххххххххххххх46.keenetic.io".
[I] Sep  3 08:01:44 ndm: kernel: usb-storage 2-1:1.0: USB Mass Storage device detected
[I] Sep  3 08:01:44 ndm: kernel: scsi host0: usb-storage 2-1:1.0
[I] Sep  3 08:01:44 ndm: Http::Nginx: loaded SSL certificate for "ххххххххх.keenetic.pro".
[I] Sep  3 08:01:44 ndm: kernel: ax88179_178a 1-2:1.0 eth0: register 'ax88179_178a' at usb-xhci-mtk-2, D-Link DUB-1312 USB 3.0 to Gigabit Ethernet Adapter, e4:хх:хх:хх:хх:60
...
[I] Sep  3 08:01:47 ndm: kernel: IPv6: ADDRCONF(NETDEV_CHANGE): asx_br0: link becomes ready
[I] Sep  3 08:01:47 ndm: kernel: br0: port 2(asx_br0) entered blocking state
[I] Sep  3 08:01:47 ndm: kernel: br0: port 2(asx_br0) entered listening state
...
[I] Sep  3 08:01:45 ndm: Network::Interface::Usb: "AsixEthernet0": interface "AsixEthernet0" is plugged (port 2).
...
[I] Sep  3 08:01:50 ndm: kernel: ax88179_178a 1-2:1.0 eth0: ax88179 - Link status is: 1
[I] Sep  3 08:01:50 ndm: kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
...
[I] Sep  3 08:01:51 ndm: kernel: br0: port 2(asx_br0) entered learning state
...
[I] Sep  3 08:01:52 ndm: kernel: br0: port 2(asx_br0) entered blocking state
[I] Sep  3 08:01:52 ndm: kernel: br0: port 2(asx_br0) entered listening state
...
[I] Sep  3 08:01:58 ndm: kernel: br0: port 2(asx_br0) entered forwarding state
[I] Sep  3 08:01:58 ndm: kernel: br0: topology change detected, propagating


    <file name="proc:net/dev">
        <![CDATA[
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
...
asx_br0:  149113    1051    0    0    0     0          0         0   642338    1048    0    0    0     0       0          0
...
br0:  140279     938    0    0    0     0          0         0   664061    1161    0    0    0     0       0          0
...


    <file name="sys:kernel/debug/usb/devices">
        <![CDATA[

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 4.09
S:  Manufacturer=Linux 4.9-ndm-2 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-mtk
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.10 Cls=ff(vend.) Sub=ff Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=2001 ProdID=4a00 Rev= 1.00
S:  Manufacturer=D-Link Elec. Corp.
S:  Product=D-Link DUB-1312
S:  SerialNumber=0000000000хххх6
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=248mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=ax88179_178a
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=128ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 4.09
S:  Manufacturer=Linux 4.9-ndm-2 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=xhci-mtk
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=5000 MxCh= 0
D:  Ver= 3.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=1f75 ProdID=0621 Rev= 0.36
S:  SerialNumber=20120731
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=800mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms


ASIX 8817X
Realtek RTL8150/51/52/53
Davicom DM9601/9620</details>
        <group>Opkg</group>
        <priority>low</priority>
        <depend>usbnet</depend>
        <size>77635</size>
        <order>10</order>
        <version>3.03.A.1.0-1</version>
        <hash>b23eb99c9977d18cd662763126b2536d</hash>
        <installed>3.03.A.1.0-1</installed>
        <queued>no</queued>

    <interface name="AsixEthernet0">
        <id>AsixEthernet0</id>
        <index>0</index>
        <type>AsixEthernet</type>
        <description>AsixUSB3</description>
        <interface-name>AsixEthernet0</interface-name>
        <link>up</link>
        <connected>yes</connected>
        <state>up</state>
        <mtu>1500</mtu>
        <tx-queue>1000</tx-queue>
        <group>Home</group>
        <usedby>Bridge0</usedby>
        <mac>e4:хх:хх:хх:хх:60</mac>
        <auth-type>none</auth-type>
        <plugged>yes</plugged>
        <vendor>2001</vendor>
        <model>4a00</model>
        <manufacturer>D-Link Elec. Corp.</manufacturer>
        <product>D-Link DUB-1312</product>
        <serial>0000000000ххх6</serial>
        <ati>
            <manufacturer>D-Link</manufacturer>
        </ati>
    </interface>
    <interface name="Home">
        <id>Bridge0</id>
        <index>0</index>
        <type>Bridge</type>
        <description>Home Lan</description>
        <interface-name>Home</interface-name>
        <link>up</link>
        <connected>yes</connected>
        <state>up</state>
        <mtu>1500</mtu>
        <tx-queue>0</tx-queue>
        <address>192.168.130.100</address>
        <mask>255.255.255.0</mask>
        <uptime>81</uptime>
        <global>no</global>
        <security-level>private</security-level>
        <mac>50:хх:хх:хх:хх:94</mac>
        <auth-type>none</auth-type>
        <bridge>
            <interface link="no" inherited="yes">GigabitEthernet0/Vlan1</interface>
            <interface link="yes">AsixEthernet0</interface>
            <interface link="yes">WifiMaster0/AccessPoint0</interface>
            <interface link="yes">WifiMaster1/AccessPoint0</interface>
        </bridge>
    </interface>

    <usb>
        <device>
            <name>AsixEthernet0</name>
            <DEVICE>/devices/platform/xhci-mtk/usb1/1-2/1-2:1.0</DEVICE>
            <DEVPATH>/devices/platform/xhci-mtk/usb1/1-2/1-2:1.0/net/eth0</DEVPATH>
            <alias/>
            <subsystem>network</subsystem>
            <port>2</port>
            <power-control>yes</power-control>
            <usb-version>2.10</usb-version>
        </device>
....
    </usb>
    <!-- show version -->
    <release>3.03.A.1.0-1</release>
    <sandbox>draft</sandbox>
    <title>3.3 Alpha 1.1</title>

/ # ifconfig
asx_br0   Link encap:Ethernet  HWaddr E4:хх:хх:хх:хх:60  
          inet6 addr: fe80::хххх:хххх:хххх:хххх/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6750 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6069 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:844956 (825.1 KiB)  TX bytes:2050096 (1.9 MiB)

eth0      Link encap:Ethernet  HWaddr E4:хх:хх:хх:хх:60  
          inet6 addr: fe80::хххх:хххх:хххх:хх60/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:7249 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7364 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:881801 (861.1 KiB)  TX bytes:3029157 (2.8 MiB)

br0       Link encap:Ethernet  HWaddr 50:хх:хх:хх:хх:94  
          inet addr:192.168.130.100  Bcast:192.168.130.255  Mask:255.255.255.0
          inet6 addr: fe80::хххх:хххх:хххх:хх94/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5952 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5770 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:764226 (746.3 KiB)  TX bytes:1985665 (1.8 MiB)


/ # brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.50хххххххх94       yes             eth2.1
                                                        asx_br0
                                                        ra5
                                                        ra0
                                                        ra4.1
/ # 

 

То же самое на USB3 порту

Скрытый текст

Sep  3 08:01:44 ndm: kernel: ax88179_178a 2-1:1.0 eth0: register 'ax88179_178a' at usb-xhci-mtk-1, D-Link DUB-1312 USB 3.0 to Gigabit Ethernet Adapter, e4:хх:хх:хх:хх:60
Sep  3 08:01:44 ndm: Network::Interface::Usb: "AsixEthernet0": interface "AsixEthernet0" is plugged (port 1).

 

asx_br0:   51498     339    0    0    0     0          0         0   104295     504    0    0    0     0       0          0

 

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=5000 MxCh= 0
😧 Ver= 3.00 Cls=ff(vend.) Sub=ff Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=2001 ProdID=4a00 Rev= 1.00
S:  Manufacturer=D-Link Elec. Corp.
S:  Product=D-Link DUB-1312
S:  SerialNumber=0000000000ххх6
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=496mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=ax88179_178a
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=128ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms

 

 

Без имени-5.jpg

Edited by vasek00
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...