but it's the only one with anything like that name. So, how does my computer suddenly think its own name is redundant to its own name on the network?! That would only make sense if another computer had the same name. The answer that "well the name was already on the network" doesn't make sense when the only thing on the network named my computer was my computer. I already mostly understood what happened, I just can't figure out why it happened, and I need to know why so it doesn't keep happening. I appreciate the follow-up, but I don't know if what I've said or shown is being understood I didn't name the Mac, it was unique on the network, and then suddenly, long after MAMP had been hosting local sites, I unlock the screen one day and get that error pop-up and suddenly my computer name and command prompt is changed, and /etc/hosts shows those weird modifications from MAMP. They seem to be related, but I can't figure out if MAMP did all this or something else is going on. can you explain?), the Terminal zshell command prompt being changed to "-Pro-2", and MAMP adding /etc/hosts entries for "-Pro-2" and "-pro-2". So, what would cause all three of these weird things to happen? The "hostname" in the screenshot being changed to "-Pro-2" (whatever it means by 'hostname'. Anything else there is irrelevant to this thread and exactly as expected (and isn't modified by MAMP). I already showed that in the original post. Depending on whether you are running Bash or Zsh as the command line shell, show us your. > Show us the contents of your /etc/hosts file. It was originally purchased with Catalina (10.14 I think). > For starters, what version of macOS are you using? I haven't used the MAMP aliases for a while. #alias pecl='/Applications/MAMP/bin/php/php5.6.40/bin/pecl'Īlias php5=/Applications/MAMP/bin/php/php5.6.40/bin/phpĪlias camp='/Applications/MAMP/bin/php/composer'Īlias tamp='tail -f /Applications/MAMP/logs/apache_error.log /Applications/MAMP/logs/php_error.log'Įxport PATH="/usr/local/opt/ /bin:$PATH"Įxport PATH="/usr/local/opt/ /sbin:$PATH" #alias pear='/Applications/MAMP/bin/php/php5.6.40/bin/pear' #alias php='/Applications/MAMP/bin/php/php5.6.40/bin/php -c "/Library/Application Support/appsolute/MAMP PRO/conf/php5.6.40.ini"' # MAMP Pro recommended aliases for PHP 5.6 I just want things to be restored, and not weird, and hopefully not adding Pro-# incrementing names (hostnames?!) ad infinitum. I'm pretty sure MAMP Pro did something to the 'hostname', but I don't know why it added Pro-2 or changed it, and I don't know what happened to the original one. What's more bizarre is that now that MAMP Pro is closed, the Pro-2 entries are gone but my Terminal prompt is the same.Ĭan someone explain why the Terminal prompt change happened, and why it matches the hosts file change?! I'm not seeing documentation from MAMP Pro or Apple about this. Note that `my-own-site.local` is intentional because it's a site I have configured in MAMP Pro. I don't know how all of these things are tied together. ::1 my-macbook-pro-2.local # MAMP PRO - Do NOT remove this entry! ::1 My-MacBook-Pro-2.my.isp.net # MAMP PRO - Do NOT remove this entry!ġ27.0.0.1 my-macbook-pro-2.local # MAMP PRO - Do NOT remove this entry! ::1 my-own-site.local # MAMP PRO - Do NOT remove this entry!ġ27.0.0.1 My-MacBook-Pro-2.my.isp.net # MAMP PRO - Do NOT remove this entry! I then noticed in my `/etc/hosts` file that MAMP added entries, apparently tied to the internet connection issue and the command prompt name!ġ27.0.0.1 my-own-site.local # MAMP PRO - Do NOT remove this entry! I figured, OK weird, I'm not sure how that's related, but OK. I then noticed that my Terminal CLI prompt name changed from ` ~ %` to ` ~ %`. This pop-up appeared when I'd logged into the Mac (while away for an hour), which I thought had something to do with the T3 errors I was getting from my modem (not a modem problem, but an ISP problem as we discovered), but it might not be related at all: popping up giant ads all over the place, making me suspect that it's not legit, but here goes. I'm not sure where to post this, as MAMP's support forum is.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |