Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can ASUS LAN RJ-45 RTL8153 work in gentoo ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ttre
n00b
n00b


Joined: 04 Aug 2016
Posts: 29

PostPosted: Sun Jan 29, 2017 7:05 pm    Post subject: Can ASUS LAN RJ-45 RTL8153 work in gentoo ? Reply with quote

I want to buy usb ethernet adapter : ASUS LAN RJ-45 RTL8153.

Do You think it can work in gentoo ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sun Jan 29, 2017 8:38 pm    Post subject: Reply with quote

ttre,

Looks promising

Code:
Realtek RTL8152/RTL8153 Based USB Ethernet Adapters found in drivers/net/usb/Kconfig

The configuration item CONFIG_USB_RTL8152:

    prompt: Realtek RTL8152/RTL8153 Based USB Ethernet Adapters
    type: tristate
    depends on: (none)
    defined in drivers/net/usb/Kconfig
    found in Linux kernels: 3.14–3.19, 4.0–4.9, 4.10-rc+HEAD
    modules built: r8152

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ttre
n00b
n00b


Joined: 04 Aug 2016
Posts: 29

PostPosted: Sun Jan 29, 2017 9:01 pm    Post subject: Reply with quote

NeddySeagoon wrote:
ttre,

Looks promising

Code:
Realtek RTL8152/RTL8153 Based USB Ethernet Adapters found in drivers/net/usb/Kconfig

The configuration item CONFIG_USB_RTL8152:

    prompt: Realtek RTL8152/RTL8153 Based USB Ethernet Adapters
    type: tristate
    depends on: (none)
    defined in drivers/net/usb/Kconfig
    found in Linux kernels: 3.14–3.19, 4.0–4.9, 4.10-rc+HEAD
    modules built: r8152


ok, how can I check if I have this driver in my kernel ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sun Jan 29, 2017 10:02 pm    Post subject: Reply with quote

ttre,

For your running kernel,
Code:
zgrep USB_RTL8152 /proc/config.gz
if /proc/config.gz exists
For any random kernel
Code:
grep USB_RTL8152 /usr/src/*/.config


It may also need firmware. Lots of USB devices do but not all.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ttre
n00b
n00b


Joined: 04 Aug 2016
Posts: 29

PostPosted: Mon Jan 30, 2017 2:30 pm    Post subject: Reply with quote

NeddySeagoon wrote:
ttre,

For your running kernel,
Code:
zgrep USB_RTL8152 /proc/config.gz
if /proc/config.gz exists
For any random kernel
Code:
grep USB_RTL8152 /usr/src/*/.config


It may also need firmware. Lots of USB devices do but not all.


After zgrep USB_RTL8152 /proc/config.gz I get CONFIG_USB_RTL8152 is not set.

Afer zgrep USB_RTL8153 /proc/config.gz I get nothing.


But there is driver for this.
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false
LINUX driver for kernel up to 4.8 2.08.0
Is it enough for use it ?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Mon Jan 30, 2017 2:41 pm    Post subject: Reply with quote

Code:
  │ Symbol: USB_RTL8152 [=n]                                                                                                                                                                                                             │ 
  │ Type  : tristate                                                                                                                                                                                                                     │ 
  │ Prompt: Realtek RTL8152/RTL8153 Based USB Ethernet Adapters                                                                                                                                                                          │ 
  │   Location:                                                                                                                                                                                                                          │ 
  │     -> Device Drivers                                                                                                                                                                                                                │ 
  │       -> Network device support (NETDEVICES [=y])                                                                                                                                                                                    │ 
  │ (1)     -> USB Network Adapters (USB_NET_DRIVERS [=n])                                                                                                                                                                               │ 
  │   Defined at drivers/net/usb/Kconfig:98                                                                                                                                                                                              │ 
  │   Depends on: NETDEVICES [=y] && USB_NET_DRIVERS [=n]                                                                                                                                                                                │ 
  │   Selects: MII [=n] 


http://cateee.net/lkddb/web-lkddb/USB_RTL8152.html

https://lwn.net/Articles/548633/

--

I had bandwith issues regarding usb with my belkin USB 2.0 => ethernet adapter in teh past.
I went for a plugin card at that time for my notebook.
that usb ethernet adapter hardly worked the other plugin card worked instantly.

go for something which is at least usb 3.0 in the specs
Back to top
View user's profile Send private message
ttre
n00b
n00b


Joined: 04 Aug 2016
Posts: 29

PostPosted: Mon Jan 30, 2017 4:11 pm    Post subject: Reply with quote

Roman_Gruber wrote:
[code]
I had bandwith issues regarding usb with my belkin USB 2.0 => ethernet adapter in teh past.
I went for a plugin card at that time for my notebook.
that usb ethernet adapter hardly worked the other plugin card worked instantly.

go for something which is at least usb 3.0 in the specs


I have only USB 2.0 in my notebook therefore if You are saying about problems with USB->ethernet adapter I think it is good idea to stay with wifi that works properly.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Mon Jan 30, 2017 5:33 pm    Post subject: Reply with quote

ttre,

USB 2 is 440 Mbit/sec. That's plenty for 100Mbit/sec Ethernet and not enough to keep 1000Mbits/sec busy.

That 440Mbit/sec is total traffic both ways for all devices on the same root hub.
You will probably have several root hubs.
Each USB 2 entry in lspci is a root hub. The trick is to spread the traffic around.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Mon Jan 30, 2017 10:26 pm    Post subject: Reply with quote

MY turion mt-32 notebook needed another lan adapter, because I ruined it instantly after purchase.

that belkin box did not even worked for many years.

the plugin card worked, was some extra plugin socket for that notebook.

IF it was chiset related, or something else i can not say.

fact is: turion mt-32, amd chipset, 10/100mibt lan usb2.0 adapter, and bandwith issues.

--

What you do is up to you. Just a warning that usb2.0 with lan 10/100mbit did not worked very well in my case.

When your wifi works, stay with wifi.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum