Raspberry Pi connection via LAN adapter?

de
9

I have a laptop without Lan connection and wolllte my raspberry pi connect via a LAN adapter, unfortunately, I can't get a connection and could already determine that the LAN adapter is guilty that the raspberry can't connect. My question is how can I fix this problem? Any settings that I can change or something like that?

Po

?

You do not have a LAN connection but still want to connect the PC via LAN with the Raspi?

Ch

Why do you even want to connect your Raspberry to your computer via Lan? Why not SSH?

de

I'm in a computer science education (information technology assistant) and there it was given to me so.

de

With a LAN adapter as a bridge. The leads from Lan to Usb type c

Ch

Ok, unfortunately I have no experience with LAn connection

Po

You then have to enter the Raspi in the config this port, as a gateway.

Po

With config I mean the corresponding file.

That should be

/ Etc / network / interfaces

de

Had no success. If I enter that, no authority "or with other inputs like sudo, he does not find it as if it did not exist

Po

You already have Rasbian, right?

That should be there.

If not, I can't help you much either. It's been a while since I did that.

All I know is that you have to do the following:

In Windows, share the Internet with the LAN adapter (in the adapter settings).

Enter the address of the Lan adapter gateway somewhere in Rasbian.