Ask HN: Why 'MacBook-Pro' in my terminal changed to 'Huawei'?
Hello. Recently I bought a new MacBook Pro 16 in Russia. This morning my terminal changed the prefix in front of each command:
"user@MacBook-Pro" to "user@HUAWEI_Mate_20-1a2d"
Does it mean that my MacBook is fake? Did the following: - Compared serial on macbook and "system information" on "checkcoverage.apple.com" - Good - Compared exact hardware config matching official resources - Compared that manufacturing date of my battery is less than manufacturing date of macbook (via coconutbattery)
Does anyone know any way to validate the mac or the cause of this weird change?
7 comments
[ 3.2 ms ] story [ 23.8 ms ] threadThanks! Probably, Should learn more about operating systems
What version of Mac OS are you running?
What shell are you using? Bash or ZSH?
What terminal application are you using? Iterm2? The stock terminal app?
It happened because of WiFi I was connected, still not sure how it exactly works. Thanks for reply
There's not really a market of fake MacBooks that someone can buy (outside of China and from a legit store, none the less), and think they're an Apple product. It's very hard to make a fake one to a quality that will convince anybody with any familiarity with the platform and leave enough room for profit (from materials to unibody construction, precision etc).
The @MacBook-Pro part is the name of the machine. Perhaps the name changed? Maybe you've set it to change through DHCP, whenever a new connection tries to assign one?
Low price for this macbook + "@Huawei*" really scared me, hehe