Difficulty Obtaining IP

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
mattr
Posts: 1
Joined: Thu Feb 01, 2018 6:16 pm

Difficulty Obtaining IP

Post by mattr »

Hi,

I am trying to install DietPi on an Orange Pi Zero.

The problem is that my Orange Pi does not have HDMI, and obtaining its IP (so I may connect via programs like Putty) is proving to be nearly impossible. I know that the standard procedure is to access my router's interface and pull the IP from there, but my school's networks do not allow me to do that. Furthermore, our IT Department has never performed anything like this, so they have basically told me to wait until one of their IoT specialists returns from his vacation.

This is what I have done so far:

1. Flashed the DietPi image on my microSD card.
2. Tried to scan the network using nmap in hopes of finding a non-Windows system (unsuccessfully).
3. Tried to force a connection by connecting my OrangePi to my PC via an Eternet cable (while my PC was connected via WiFi -- a friend said this was possible but I have yet to find any relevant information).

Do you guys know of a method? Presently, I cannot even connect to my Orange Pi to ensure that DietPi installed successfully.

Much thanks in advance!
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Difficulty Obtaining IP

Post by Fourdee »

Following never fails for me (minus incorrect name resolution for some devices):
https://www.advanced-ip-scanner.com/
Untitled.png
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Difficulty Obtaining IP

Post by Fourdee »

Another option is to use DietPi-Automation, setting a STATIC IP before 1st run:
http://dietpi.com/phpbb/viewtopic.php?f=8&t=273#p1140

Ones you'll need to change, after image write and before 1st boot:
https://github.com/Fourdee/DietPi/blob/ ... xt#L25-L30

Code: Select all

AUTO_SETUP_NET_USESTATIC=1
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
schmeckles22
Posts: 5
Joined: Wed Jan 31, 2018 4:22 pm

Re: Difficulty Obtaining IP

Post by schmeckles22 »

I sometimes use the Application called Fing on Android
User avatar
WarHawk
Posts: 610
Joined: Thu Jul 20, 2017 8:55 am

Re: Difficulty Obtaining IP

Post by WarHawk »

There is an option in dietpi.txt to tell the install to be headless (by turning off the option for HDMI out)

Code: Select all

#------------------------------------------------------------------------------------------------------
# D I E T - P I
# DietPi-Config settings.
#------------------------------------------------------------------------------------------------------
#RPi Hdmi output (if 0, sets tvservice -o and framebuffer 16x 16y 8z on boot, headless)
CONFIG_HDMI_OUTPUT=1
Change to 0

I too had a bear of a time getting mine to boot correctly till I modified that option

Once I changed to 0...it seemed to install fine...
Post Reply