Stephen C. ha scritto:
Just a guess, but do you use a German DSL connection? If so, I'd say that >> somehow the dsl modem is setting the hostname. Disconnecting the dsl modem >> from the LAN would tell you if the modem was the culprit.
No, I have an Italian ADSL connection. I connect through a wi-fi router (Zyxel 660HW).
The connection must be related to my problem somehow, because indeed if
I disable the AirPort card and then set the iBook to sleep and wake it
up again, the hostname does NOT change.
Instead, it is changed even if I simply disable AirPort and enable it
again. So it seems the change happens whenever the connection to the
router goes up.
Unfortunately, I can't find anything at all in the router configuration which might be related to this problem. DHCP is disabled, the only
active LAN<->WAN rules in the firewall are the ones I did set myself,
any "do-it-automatically" stuff is disabled... I really don't know where else can I look.
What's more, even supposing that my iBook is being assigned this name
from the outside (router or WAN), there *should* be a way to disable
this behaviour in MacOS itself.
I've correctly set up my chosen hostname in Sharing preferences, and it
is correctly applied upon system boot. But when I put the iBook to sleep
and then wake it up again the hostname is changed to
"dslcore.surfplus.de", which I absolutely have no idea where it comes
from. I noticed this thanks to my custom Terminal prompt, which shows
the current hostname (and entering "hostname" returns "dslcore.surfplus.de"); I couldn't find this name elsewhere in my system.
The Mac is using a particular numeric IP address. When it starts to use
that address it looks it up and find the name assigned to that address.
It then adopts that name as its own.
To get rid of that address, use a different numeric IP address for your Macintosh.
Thanks, the trick works, although I can't see how on earth can the name "dslcore.surfplus.de" be assigned to the private IP 192.168.1.1 my
machine had (now I'm using .4)... 8-/
Simon Slavin ha scritto:
The Mac is using a particular numeric IP address. When it starts to
use that address it looks it up and find the name assigned to that
address. It then adopts that name as its own.
To get rid of that address, use a different numeric IP address for your Macintosh.
Thanks, the trick works, although I can't see how on earth can the name "dslcore.surfplus.de" be assigned to the private IP 192.168.1.1 my
machine had (now I'm using .4).
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 773 |
Nodes: | 20 (0 / 20) |
Uptime: | 71:33:22 |
Calls: | 11,530 |
Calls today: | 2 |
Files: | 5,294 |
D/L today: |
23 files (20,460K bytes) |
Messages: | 542,744 |