OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • IO error after restart with Realtek RTL8152 (RTL8153) USB ethernet adapter
« previous next »
  • Print
Pages: [1]

Author Topic: IO error after restart with Realtek RTL8152 (RTL8153) USB ethernet adapter  (Read 5710 times)

def

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
IO error after restart with Realtek RTL8152 (RTL8153) USB ethernet adapter
« on: April 11, 2018, 03:58:17 pm »
Hi guys

Have Realtek RTL8152 USB ethernet adapter, with opnSense (both 17 and 18)


the first boot works fine, FreeBSD understands, detects, and runs as a network adapter, gets the network and I can use it.

But as soon I reboot system, everything stops working, gives an error

loading Page1 with error


loading Page2 with error



In order to fix this, I need to pull out my adapter and at the time of loading the operating system insert it, and then I have a chance that he will get the address and determine correctly.

I'm trying to fix this problem for about 8+ days already
What I tried:

With Windows works ideally (it is expected):
The adapter on Windows XP works perfectly ~ 97Mbps
The adapter on Windows 7 works perfectly ~ 96Mbps

It works fine with Linux too:
Arch (manjaro kernel 4.14 and 3.x) ~ 95Mpbs
Ubuntu 14 (xfce) ~ 96 Mbps
Ipfire (linux kern) ~ 96 Mbps
Kali weekly (w12 2018y) ~ 95Mpbs

FreeBSD:
Opnsense - work only in first boot
pfsense - adapter not detected (with if_ure_load = "YES" and i copy all * .ko kernel modules, and still does not work)


The Network Adapter is working, completely new.
and its ability to work was tested on 2 laptops and 2 personal computers everywhere works fine.


smoking useless manuals, that I eventually got:

https://forums.freebsd.org/threads/rtl8153-ethernet-adapter-on-pfsense.57299/
_____
usbconfig -d X.Y set_config 1

I tried to put this line into autoload script /usr/local/etc/.... /configd script

0 result because adapter havn't x.y(if work fine = 2.2)
_____

usbconfig -d X.Y reset

I tried to put this line into autoload script /usr/local/etc/.... /configd script

same 0 result because adapter havn't x.y(if work fine = 2.2)
_____

usbconfig reset

I tried to put this line into autoload script

same 0 result because adapter havn't x.y(if work fine = 2.2)
_____

I tried to add hw.usb.quirk.0="0x1234 0x5678 0 0xffff UQ_CFG_INDEX_1" /boot/loader.conf (opnsense /usr/local/etc/rc.loader.d/* 10-modules file)

with my adapter look like
usb_quirk_load="YES"
hw.usb.quirk.0="0x0bda 0x8152 0 0xffff UQ_CFG_INDEX_1"

0 result does not work as before
_____

I tried to add in config.xml (/usr/local/ ....)

<earlyshellcmd> usbconfig -d 2.2 set_config 1 </ earlyshellcmd>
<earlyshellcmd> usbconfig -d 2.2 reset </ earlyshellcmd>
<earlyshellcmd> usbconfig reset </ earlyshellcmd>

0 result does not work as before
_____

I'm trying to restart the adapter on the command line in already loaded opnsense after the first reboot

usbconfig after first reboot (look at "loading Page1-2 with error")


usbconfig reset


0 result same error as during system boot
_____
I'm trying install os-autodelay plugin

0 result same error as during system boot
_____
I tried all that I found on request https://www.google.com/search?&q=realtek+rtl8153+freebsd

0 result


Guys help me please. all that I could find already tried.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • IO error after restart with Realtek RTL8152 (RTL8153) USB ethernet adapter
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2