eth over usb

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

eth over usb

pat-9
Hi,

I'm installing gentoo on new laptop which doesn't have eth slot. I have
i-tec usb-eth adapter which works fine (tested on linux live
distribution).

For the first time: I've configured kernel, compiled, loaded kernel
module and created link to /etc/init.d/net.lo and somehow I've push it
all to work (ifconfig lists enp0s20f0u1 interface).

But after reboot plugging in the adapter doesn't create enp0s20f0u1
interface, so the ifconfig lists only 'lo'.

Please could somebody help?

Attached is kernel config, lshw and dmesg outputs.

Thanks

Pat

----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/

config.gz (35K) Download Attachment
dmesg.gz (17K) Download Attachment
lshw-output.gz (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: eth over usb

Neil Bothwick
On Thu, 05 Oct 2017 21:39:58 +0200, [hidden email] wrote:

> I'm installing gentoo on new laptop which doesn't have eth slot. I have
> i-tec usb-eth adapter which works fine (tested on linux live
> distribution).
>
> For the first time: I've configured kernel, compiled, loaded kernel
> module and created link to /etc/init.d/net.lo and somehow I've push it
> all to work (ifconfig lists enp0s20f0u1 interface).
>
> But after reboot plugging in the adapter doesn't create enp0s20f0u1
> interface, so the ifconfig lists only 'lo'.
Does ifconfig -a list it?

If not, does it show up if you "modprobe r8152"?


--
Neil Bothwick

Sometimes too much to drink is not enough.

attachment0 (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: eth over usb

Alan McKinnon-2
In reply to this post by pat-9
On 05/10/2017 21:39, [hidden email] wrote:

> Hi,
>
> I'm installing gentoo on new laptop which doesn't have eth slot. I have
> i-tec usb-eth adapter which works fine (tested on linux live distribution).
>
> For the first time: I've configured kernel, compiled, loaded kernel
> module and created link to /etc/init.d/net.lo and somehow I've push it
> all to work (ifconfig lists enp0s20f0u1 interface).
>
> But after reboot plugging in the adapter doesn't create enp0s20f0u1
> interface, so the ifconfig lists only 'lo'.
>
> Please could somebody help?
>
> Attached is kernel config, lshw and dmesg outputs.

Best way to get a handle on what you need for things like this is to
reboot into the live cd and plug in the adapter. Then examine dmesg,
lsmod and othr relevant sources of info to see what the live cd did.
Make notes, replicate that on your gentoo system.

Almost any other method really just comes down to firing in the dark and
hoping you might hit something.

--
Alan McKinnon
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: eth over usb

Ian Zimmerman-3
In reply to this post by pat-9
On 2017-10-05 21:39, [hidden email] wrote:

> I'm installing gentoo on new laptop which doesn't have eth slot. I
> have i-tec usb-eth adapter which works fine (tested on linux live
> distribution).

Can you get 100Mbit/s with it?

The laptop I use also has no ethernet.  I bought a USB dongle for that
but it turns out it can only do the original 10Mbit/s, half-duplex; much
slower than wifi and even somewhat slower than the WAN connection here.

--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.

Reply | Threaded
Open this post in threaded view
|

SOLVED Re: [gentoo-user] eth over usb

pat-9
In reply to this post by Alan McKinnon-2
On 2017-10-05 23:01, Alan McKinnon wrote:

> On 05/10/2017 21:39, [hidden email] wrote:
>> Hi,
>>
>> I'm installing gentoo on new laptop which doesn't have eth slot. I
>> have
>> i-tec usb-eth adapter which works fine (tested on linux live
>> distribution).
>>
>> For the first time: I've configured kernel, compiled, loaded kernel
>> module and created link to /etc/init.d/net.lo and somehow I've push it
>> all to work (ifconfig lists enp0s20f0u1 interface).
>>
>> But after reboot plugging in the adapter doesn't create enp0s20f0u1
>> interface, so the ifconfig lists only 'lo'.
>>
>> Please could somebody help?
>>
>> Attached is kernel config, lshw and dmesg outputs.
>
> Best way to get a handle on what you need for things like this is to
> reboot into the live cd and plug in the adapter. Then examine dmesg,
> lsmod and othr relevant sources of info to see what the live cd did.
> Make notes, replicate that on your gentoo system.
>
> Almost any other method really just comes down to firing in the dark
> and
> hoping you might hit something.

Thanks to all for suggestions.

The problem was that I've created net.enp0s20f0u1 and also net.eth0
links.

Thanks

Patrik

----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/


Reply | Threaded
Open this post in threaded view
|

Re: eth over usb

Neil Bothwick
In reply to this post by Ian Zimmerman-3
On Thu, 5 Oct 2017 15:15:11 -0700, Ian Zimmerman wrote:

> > I'm installing gentoo on new laptop which doesn't have eth slot. I
> > have i-tec usb-eth adapter which works fine (tested on linux live
> > distribution).  
>
> Can you get 100Mbit/s with it?
>
> The laptop I use also has no ethernet.  I bought a USB dongle for that
> but it turns out it can only do the original 10Mbit/s, half-duplex; much
> slower than wifi and even somewhat slower than the WAN connection here.

I have a gigabit USB 3.0 to ethernet adaptor here. It's branded Digitus
which probably means nothing, lsusb shows

ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet


--
Neil Bothwick

The present never ages. Each moment is like a snowflake, unique,
unspoiled, unrepeatable, and can be appreciated in its surprisingness.

attachment0 (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: eth over usb

pat-9
On 2017-10-06 00:44, Neil Bothwick wrote:

> On Thu, 5 Oct 2017 15:15:11 -0700, Ian Zimmerman wrote:
>
>> > I'm installing gentoo on new laptop which doesn't have eth slot. I
>> > have i-tec usb-eth adapter which works fine (tested on linux live
>> > distribution).
>>
>> Can you get 100Mbit/s with it?
>>
>> The laptop I use also has no ethernet.  I bought a USB dongle for that
>> but it turns out it can only do the original 10Mbit/s, half-duplex;
>> much
>> slower than wifi and even somewhat slower than the WAN connection
>> here.
>
> I have a gigabit USB 3.0 to ethernet adaptor here. It's branded Digitus
> which probably means nothing, lsusb shows
>
> ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet

The one I have is also USB3 and looks fast, but I didn't test it yet -
right now trying to setup gentoo :-)

Pat

----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/


Reply | Threaded
Open this post in threaded view
|

Re: eth over usb

mad.scientist.at.large
I'm blessed with city operated fiber to premise gigabit ethernet, when they do an install they check with a laptop with a gigabit usb3 adapter.  it actually got about 960Mb/s.

--
"Informed delivery" is just an excuse for the post office to compile data basses for sale to marketing firms and those even less reputable, it is a gross abuse of the postal systems special access to our lives.


6. Oct 2017 01:54 by [hidden email]:

On 2017-10-06 00:44, Neil Bothwick wrote:
On Thu, 5 Oct 2017 15:15:11 -0700, Ian Zimmerman wrote:
> I'm installing gentoo on new laptop which doesn't have eth slot. I
> have i-tec usb-eth adapter which works fine (tested on linux live
> distribution).

Can you get 100Mbit/s with it?

The laptop I use also has no ethernet. I bought a USB dongle for that
but it turns out it can only do the original 10Mbit/s, half-duplex; much
slower than wifi and even somewhat slower than the WAN connection here.

I have a gigabit USB 3.0 to ethernet adaptor here. It's branded Digitus
which probably means nothing, lsusb shows

ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet

The one I have is also USB3 and looks fast, but I didn't test it yet - right now trying to setup gentoo :-)

Pat

----------------------------------------
Freehosting PIPNI - http://www.pipni.cz