No ip to ssh into rpi3 (direct ethernet connection)

Ask questions about Arch Linux ARM. Please search before making a new topic.

Re: No ip to ssh into rpi3 (direct ethernet connection)

Postby justintan2002 » Thu Jan 30, 2020 6:58 am

The wifi via laptop doesn't work as I did not enable the IP forward configuration on my laptop. Instead, I configured the raspi to connect directly to the wifi which only works when the ethernet cable is not connected.
justintan2002
 
Posts: 5
Joined: Mon Jan 13, 2020 4:21 pm

Re: No ip to ssh into rpi3 (direct ethernet connection)

Postby summers » Thu Jan 30, 2020 12:32 pm

That isn't a surprise, you could probably enable forwarding on the laptop, in ubuntu. But as you have wifi, it isn't worth doing. As much as anything setting up forwarding is only the start of a network connection, the packets then need to be routable, which means either doing NAT on the laptop, or setting up routing tables.

Anyway for you set up, you know you want the WAN to go via the wifi. So whats probably best is in the ethernet configuration, don't set either a gateway or dns. This should mean that the wifi gateway and dns take priority.

So that should give you both connection to the laptop, and connection to the internet.

There is an interesting point here, it shows would have to understand your network connectivity, before deciding how to route packets. So see this as a learning experience :)
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm

Previous

Return to User Questions

Who is online

Users browsing this forum: No registered users and 6 guests