Code Monkey home page Code Monkey logo

Comments (9)

gcgarner avatar gcgarner commented on August 23, 2024

Hi Paul, thanks again for your contributions.

I just tested changing the name. I had burned a new sd card for my 3B last week and changed the name back then.
I ran the install from the menu and docker install without any issues.

I know i used raspi-config to do the change. how did you change the name?

from iotstack.

Paulf007 avatar Paulf007 commented on August 23, 2024

I also used raspi-config. I will need to run a new image again to replicate and will post the results.

from iotstack.

gcgarner avatar gcgarner commented on August 23, 2024

Hi Paul, have you managed to replicate this?
Today i burned new Lite image, changed the name and installed docker without issues.

from iotstack.

lnlp avatar lnlp commented on August 23, 2024

@Paulf007 you said you changed host name via raspi-config so the following should not be an issue in that case: my experience is that changing host name with the hostname command on Raspbian does not work correctly, but changing it with raspi-config does. Not sure if required but I always reboot after changing the host name.

from iotstack.

Paraphraser avatar Paraphraser commented on August 23, 2024

I’ve done several “from scratch” builds. I wanted to be able to run the RPi4 from a USB-3 SSD and was trying to figure out an optimal path so that I could document it and never have to think about it again. Each time I renamed the Pi using raspi-config, followed by a reboot. The “sudo reboot” immediately after the name change would always complain about not being able to find something to do with the default name but that was the only hassle. After that everything Including installing IOTStack just worked.

from iotstack.

gcgarner avatar gcgarner commented on August 23, 2024

I did a build of a zero w yesterday, I changes the name and on the sudo reboot (all of this was done over ssh because i was to lazy to go find my mini hdmi cable) it also gave an error regarding not being able to resolve the name. However when it rebooted it had the new name and it went on with out a problem. Do you think its a problem? Do you not think its the ssh channel that gets a name conflict?

from iotstack.

Paraphraser avatar Paraphraser commented on August 23, 2024

My instinct is that it’s probably nothing other than what it seems - logged in under one hostname, the rug pulled from under it by the rename, grizzle at the logout forced by the shutdown. My only lingering doubt is why the PiHole URL without the /admin suffix doesn’t work and is also grizzling about names. I don’t see why they should be related - none of the Docker stuff is being installed until long after the rename (in my case, anyway). That really only leaves two possibilities: a hard-coded reference somewhere to the default name (which seems unlikely), or something wrong with the supplied PiHole install script.

Sorry that this case is now getting tangled up with #60. I was trying to reassure Paulf007 that renaming via raspi-config did work, at least for me.

from iotstack.

gcgarner avatar gcgarner commented on August 23, 2024

@Paraphraser i just did a stupid test on pihole now, i changed its port 80## to port 80. now when i navigate to my IP is shows the correct page asking to redirect to the admin page. This is on my Pi running from my project

image

i was looking through some issues on piholes github page and I saw some references to reverse proxies not redirecting when you change the port away from 80.

from iotstack.

gcgarner avatar gcgarner commented on August 23, 2024

this doesnt seem to be an issue and pihole conversation merged with #72

from iotstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.