# Connecting to internet via PdaNet proxy

**URL:** <https://dietpi.com/forum/t/connecting-to-internet-via-pdanet-proxy/23928>\
**Category:** Troubleshooting\
**Tags:** proxy, wifi, raspberry-pi-4\
**Created:** [5 August 2025 23:41 UTC](https://dietpi.com/forum/t/connecting-to-internet-via-pdanet-proxy/23928 "2025-08-05T23:41:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThatGuyPyric](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/278dde/32.png) [@ThatGuyPyric](https://dietpi.com/forum/u/ThatGuyPyric)\
**Post date:** [5 August 2025 23:41 UTC](https://dietpi.com/forum/t/connecting-to-internet-via-pdanet-proxy/23928/1 "2025-08-05T23:41:00Z")

</div>

Unable to use format given…

Only way I can access the internet is through PdaNet. I have tried setting up the proxy before installing it onto my raspberry pi 4b, unfortunately I have no way of monitoring what is happening and was hoping I’d be able to SSH. I can’t do anything, any help would be greatly appreciated

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [6 August 2025 07:52 UTC](https://dietpi.com/forum/t/connecting-to-internet-via-pdanet-proxy/23928/2 "2025-08-06T07:52:33Z")

</div>

what is the problem using SSH or connect via monitor/keyboard?

---

<div class="post-metadata">

**Author:** ![ThatGuyPyric](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/278dde/32.png) [@ThatGuyPyric](https://dietpi.com/forum/u/ThatGuyPyric)\
**Post date:** [7 August 2025 11:57 UTC](https://dietpi.com/forum/t/connecting-to-internet-via-pdanet-proxy/23928/3 "2025-08-07T11:57:14Z")

</div>

No compatible wired connection, so can’t connect SSH over LAN. Need to setup proxy settings before 1st boot to make sure it connects properly to the hotspot. Laptop only has hdmi out, so nothing to use as a monitor. For the moment, I switched back to raspbian bookworm and I was able to do what I needed there

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [7 August 2025 12:39 UTC](https://dietpi.com/forum/t/connecting-to-internet-via-pdanet-proxy/23928/4 "2025-08-07T12:39:07Z")

</div>

@MichaIng do you know if it is possible to setup/configure proxy connection before first initial boot?

---

<div class="post-metadata">

**Author:** ![ThatGuyPyric](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/278dde/32.png) [@ThatGuyPyric](https://dietpi.com/forum/u/ThatGuyPyric)\
**Post date:** [12 August 2025 20:17 UTC](https://dietpi.com/forum/t/connecting-to-internet-via-pdanet-proxy/23928/5 "2025-08-12T20:17:28Z")

</div>

Oh well, guess it’s not important enough. So this OS is not for me. Sorry

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [6 September 2025 18:10 UTC](https://dietpi.com/forum/t/connecting-to-internet-via-pdanet-proxy/23928/6 "2025-09-06T18:10:15Z")

</div>

There are proxy settings in `dietpi.txt`, but those are not applied automatically on first boot. One needs to use `dietpi-config` to apply them, and it basically loads the relevant global variables into interactive bash sessions.

Generally, whatever works on Raspberry Pi OS, works on DietPi the same way … unless it is done via NetworkManager. You can use a script named `Automation_Custom_PreScript.sh` in the FAT partition, which will be executed automatically on earlier boot stage, prior to network bringup. If any other files are needed, you can put them there as well. The FAT filesystem is mounted to `/boot/firmware`, hence this is the path to find them.

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [4 March 2026 06:11 UTC](https://dietpi.com/forum/t/connecting-to-internet-via-pdanet-proxy/23928/7 "2026-03-04T06:11:08Z")

</div>

Closed on 4 March 2026 06:11 UTC

This topic was automatically closed 178 days after the last reply. New replies are no longer allowed.
