question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to find LAN IP on Standalone RPi

See original GitHub issue

I get the Error Unable to find LAN IP (when running it as stand-alone) I’m using Raspbian Stretch Lite on a Raspberry Pi 1st generation. Yes, I set Interface (or for v0.4.2 Interface_IP) correctly to 192.168.1.1

Is this a bug in ps4-exploit-host or did I make a mistake setting up the Raspberry Pi? This issue is a copy of this comment on the Standalone RPi installer script.


Full output when starting ps4-exploit-host:

pi@raspberrypi:~ $ sudo /opt/ps4-exploit-host/ps4-exploit-host
##########################################################
#  Exploit Host                               by Al Azif #
##########################################################
ERROR: Unable to check Github repo to check for updates
ERROR: Unable to find LAN IP
Press any key to exit...

The output of ifconfig on the Raspberry Pi: https://pastebin.com/8XscGzRX

The log of journalctl ps4-exploit-host.service : https://pastebin.com/ryiHquex It seems like the bug is in File "start.py", line 252, in get_lan [line 11 in provided log]

The output of head ./settings.json : https://pastebin.com/C6ZwdBhq

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Al-Azifcommented, May 13, 2018

Yeah, 10.255.255.255 is a dummy address I use to open up a socket to read the socket’s IP. It shouldn’t connect, but it shouldn’t cause a fatal error and it hasn’t… until now.

You could change lan_ip = get_lan() to lan_ip = '192.168.1.1' in the default_settings() function to try and work around the issue until I get a chance to look at it.

0reactions
Al-Azifcommented, May 28, 2018

Pull request merged, will be included in 0.4.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not able to find ip address of pi - Raspberry Pi Forums
After powering up the Pi, I am not able to find the ip address of pi. I am using shared network for internet....
Read more >
Raspberry Pi not showing up on network? Try these solutions
If Raspberry Pi is not showing up on the network, try to connect it directly to the switch and make sure that SSH...
Read more >
How to Connect to a Raspberry Pi Directly with an Ethernet ...
First, we need to find out the IP address of the ethernet adapter on the computer you ... How to Set Up a...
Read more >
Unable to get Raspberry Pi IP
I've headlessly installed my RPi but I'm unable to find the IP address of it and SSH to it. I connected the RPi...
Read more >
Raspberry PI - Connect to Windows via Ethernet/LAN and router.
INFO:I will show you haw to successffully establish SSH, Remote Desktop and share internet with your Raspberry PI. I'm using the Windows 10, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found