Headless install dietpi on raspberry pi model 2b

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
youngkeinstein

Headless install dietpi on raspberry pi model 2b

Post by youngkeinstein »

Hi,
I'm new to raspberry pi and I am currently working on a project which requires using raspberry pi as a server. All I have is an Ethernet cable, my laptop and a power source. I have search thoroughly online and found a way to do a headless install. My problem currently is: I can't get the IP of my pi so I can't SSH into it. I have tried connecting my pi to my laptop via Ethernet and used arp -a to list all ip's but the pi doesn't seem to have one. I need help on how to a headless install and if possible with some explanations because I'm very new to this thing. Thank you.
Last edited by k-plan on Sat May 06, 2017 5:48 pm, edited 2 times in total.
Reason: It's a question, not a "Community Tutorial", so moved this topic to "Troubleshooting"
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Headless install dietpi on raspberry pi model 2b

Post by Fourdee »

I can't get the IP of my pi so I can't SSH into it.
Hi,

More info on setting up a automated installation:
http://dietpi.com/phpbb/viewtopic.php?f=8&t=273

In the automation file, after image write and before 1st boot, /boot/dietpi.txt, you can setup for static IP.
https://github.com/Fourdee/DietPi/blob/ ... txt#L9-L24

Or, you could browse to your routers web interface, and view connected DHCP clients ;)
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.
youngkeinstein

Re: Headless install dietpi on raspberry pi model 2b

Post by youngkeinstein »

Hello, I did automated install. But didn't set static IP. Do I have to do the install again? Because I don't have a router or a wifi dongle.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Headless install dietpi on raspberry pi model 2b

Post by Fourdee »

youngkeinstein wrote:Hello, I did automated install. But didn't set static IP. Do I have to do the install again? Because I don't have a router or a wifi dongle.
If you want to set a static IP, without SSH or physical keyboard + monitor, then yep :)
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.
Post Reply