barth95
Posts: 1
Joined: Mon Jun 15, 2020 1:38 pm

Using the Raspi as a router

Mon Jun 15, 2020 1:45 pm

Hi everyone,

I am trying to set up my raspberry pi to act as a router.
The set up is the following:
- The Raspi receives its connection to the internet through Ethernet, with a static IP address setting. The subnet mask for this connection is 255.255.255.252 (not that it should matter too much, but just in case)
- I have set up my Raspi to act as a wireless acce point by following this guide: [urlhttps://www.raspberrypi.org/documentation/confi ... -routed.md][/url]
- I have 4-5 devices that connect to the Wifi network generated by the Raspberry Pi.

Once set up, the WiFI access point works for maybe a minute or two. Then, devices connected lose access to the internet, and if they disconnect from the wifi, they cannot reconnect.

I would like to know if anyone has either a solution for this issue, or a method for me to understand what is going on. For example, are there system logs I can look at to understand what is going on?
Thanks everyone for the help :D

epoch1970
Posts: 5132
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Using the Raspi as a router

Tue Jun 16, 2020 8:33 am

Look into /var/log/syslog. If something is happening you’ll see it there.

(If you’re trying to replace an ISP box with that Pi, esp. one operating as a modem/bridge, you might need to spoof the MAC address of the Ethernet interface of the Pi and copy the MAC address used by the box)
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Return to “Troubleshooting”