F5F Stay Refreshed Power Users Networks Connect Ethernet gadget through Wi-Fi

Connect Ethernet gadget through Wi-Fi

Connect Ethernet gadget through Wi-Fi

D
dgau
Member
73
09-27-2023, 12:00 AM
#1
I'm just starting out with networking but I have a Windows notebook in my server room that acts as a home server, and a Raspberry Pi running Octopi is in the same room. The Pi used to connect to Wi-Fi, but now I thought I could link it via Ethernet cable to the notebook and then share the notebook's Wi-Fi with the main network. People suggested removing the Pi's credentials so it uses Ethernet directly. I tried setting the notebook's Wi-Fi adapter to share the internet connection with the Pi's Ethernet port, but I can't reach it on the main network or find it. Do I need to set up something on my router to make it accessible through the notebook again? It seems possible, right?
D
dgau
09-27-2023, 12:00 AM #1

I'm just starting out with networking but I have a Windows notebook in my server room that acts as a home server, and a Raspberry Pi running Octopi is in the same room. The Pi used to connect to Wi-Fi, but now I thought I could link it via Ethernet cable to the notebook and then share the notebook's Wi-Fi with the main network. People suggested removing the Pi's credentials so it uses Ethernet directly. I tried setting the notebook's Wi-Fi adapter to share the internet connection with the Pi's Ethernet port, but I can't reach it on the main network or find it. Do I need to set up something on my router to make it accessible through the notebook again? It seems possible, right?

M
Maliikki
Junior Member
9
09-27-2023, 01:06 AM
#2
You won't locate your RPI on the primary network since it only connects locally between your laptop and the RPI. It's not possible to link the RPI directly to your main network from the laptop. Instead, you can route ports to the IP assigned by Windows, which changes randomly each time an address is requested. To maintain consistency, set a static IP in the same subnet as the one Windows provides.
M
Maliikki
09-27-2023, 01:06 AM #2

You won't locate your RPI on the primary network since it only connects locally between your laptop and the RPI. It's not possible to link the RPI directly to your main network from the laptop. Instead, you can route ports to the IP assigned by Windows, which changes randomly each time an address is requested. To maintain consistency, set a static IP in the same subnet as the one Windows provides.

X
xutii
Junior Member
33
10-03-2023, 08:35 PM
#3
There’s essentially no option. Would you like me to try redirecting the Pi web interface instead?
X
xutii
10-03-2023, 08:35 PM #3

There’s essentially no option. Would you like me to try redirecting the Pi web interface instead?

P
penguin32888
Member
69
10-05-2023, 02:50 AM
#4
There should be a solution. Imagine your main network is 10.0.0.0/24, with the router at 10.0.0.1 and the laptop at 10.0.0.2. When you link your RPI to the laptop, the shared connection uses a different subnet (for instance 111.111.110.0/24). You assign 111.111.110.130 to your laptop and 111.111.110.220 to the RPI—this changes each time the RPI requests an IP after it expires. What you need to do is send your Pi web interface from your laptop to the RPI’s IP (say 111.111.110.220), BUT I’m unsure if Windows Consumer allows port forwarding or even supports it.
P
penguin32888
10-05-2023, 02:50 AM #4

There should be a solution. Imagine your main network is 10.0.0.0/24, with the router at 10.0.0.1 and the laptop at 10.0.0.2. When you link your RPI to the laptop, the shared connection uses a different subnet (for instance 111.111.110.0/24). You assign 111.111.110.130 to your laptop and 111.111.110.220 to the RPI—this changes each time the RPI requests an IP after it expires. What you need to do is send your Pi web interface from your laptop to the RPI’s IP (say 111.111.110.220), BUT I’m unsure if Windows Consumer allows port forwarding or even supports it.

I
iTzDMaR_
Junior Member
48
10-05-2023, 03:00 AM
#5
You're starting from a good place! To figure this out, you'll need to explore the Raspberry Pi network setup. First, identify your IP address using tools like `ifconfig` or `ip a`. Then, check the subnet mask and any assigned gateway. For finding IPs on the network, you can use ping or traceroute from your device to see which hosts are reachable.
I
iTzDMaR_
10-05-2023, 03:00 AM #5

You're starting from a good place! To figure this out, you'll need to explore the Raspberry Pi network setup. First, identify your IP address using tools like `ifconfig` or `ip a`. Then, check the subnet mask and any assigned gateway. For finding IPs on the network, you can use ping or traceroute from your device to see which hosts are reachable.

J
jcs1
Junior Member
9
10-05-2023, 04:23 AM
#6
Check this out. You could connect the RPi straight to a switch or router instead of using a switch/router on the network.
J
jcs1
10-05-2023, 04:23 AM #6

Check this out. You could connect the RPi straight to a switch or router instead of using a switch/router on the network.

M
MehSparky
Member
193
10-06-2023, 08:42 PM
#7
Thanks, looks promising. I’ll take a closer look. The issue is my location—my internet cable is in the living room, while my printer and server are in a small cupboard or similar storage area. That’s why I can’t connect directly. I’m okay with Wi-Fi, but I need to figure out how to redirect a port from the network to the Pi via a cable. The server seems to be processing images on the printer camera, so maybe I can cut that video feed too. Now I just need to understand how to set up networking without any prior experience.
M
MehSparky
10-06-2023, 08:42 PM #7

Thanks, looks promising. I’ll take a closer look. The issue is my location—my internet cable is in the living room, while my printer and server are in a small cupboard or similar storage area. That’s why I can’t connect directly. I’m okay with Wi-Fi, but I need to figure out how to redirect a port from the network to the Pi via a cable. The server seems to be processing images on the printer camera, so maybe I can cut that video feed too. Now I just need to understand how to set up networking without any prior experience.

X
220
10-07-2023, 09:00 PM
#8
To find the IP address of the Pi device, you can check its network settings or use command-line tools. On Windows, you might need to look into network configuration files or use a tool like PowerShell to retrieve the details. If you're using a Linux environment, you can run commands such as `ip addr` or `ifconfig` to see the assigned IP.
X
XxEmmyLouWhoxX
10-07-2023, 09:00 PM #8

To find the IP address of the Pi device, you can check its network settings or use command-line tools. On Windows, you might need to look into network configuration files or use a tool like PowerShell to retrieve the details. If you're using a Linux environment, you can run commands such as `ip addr` or `ifconfig` to see the assigned IP.

M
MSU_Dawg
Member
69
10-26-2023, 05:18 PM
#9
i located the pi's ip using a sniffer, but it looked unpredictable. since its origin isn't clear, i think setting a static ip might help maintain consistency. now, how do you connect the pi's web interfaces to your main network from your notebook? your pi is currently reachable at 169.254.32.52, and the server is set to 169.254.32.50 on wifi. the notebook appears to be at 192.168.92.10, and you're wondering if it's possible to forward a specific port like 192.168.92.10/99 to access the web interface.
M
MSU_Dawg
10-26-2023, 05:18 PM #9

i located the pi's ip using a sniffer, but it looked unpredictable. since its origin isn't clear, i think setting a static ip might help maintain consistency. now, how do you connect the pi's web interfaces to your main network from your notebook? your pi is currently reachable at 169.254.32.52, and the server is set to 169.254.32.50 on wifi. the notebook appears to be at 192.168.92.10, and you're wondering if it's possible to forward a specific port like 192.168.92.10/99 to access the web interface.