I decided I needed fixed IP numbers for my laptop Alpinobombus and my desktop Pyrobombus. The reason is that I sometimes make SSH connections from one to the other. And since the IP numbers may change using DHCP, this was complicated. I had to run `ifconfig` on the target to determine its IP number before launching `ssh` or `scp`.
I had to do some experimenting and googling to get it right. The Airport Extreme base station uses 10.0.1.1 for itself and starts assigning from there. I had to pick 10.0.1.201 and 10.0.1.202 – using 10.0.1.2 and 10.0.1.3 seemed to confuse the Airport Extreme base station.
Now I can add the appropriate entries to `/etc/hosts` – and that was the point of the entire exercise. 😄
I also force my computers to connect with my own network now. For a while they tried to connect to the first OpenWlan available, and as soon as possible Adium would start loging in to the various chat networks, probably sending my passwords in the clear. That shouldn’t happen anymore, now.
#Network #Life
(Please contact me if you want to remove your comment.)
⁂
Hmmm, looked at mDNS (or the equivalent apple thingy, ZeroConf)? With good support in linux and OS X, it’s pretty good.
– AadityaSood 2007-08-28 08:46 UTC
---
No. I didn’t even know such a thing existed. ZeroConf sounds promising... 😄
– Alex Schroeder 2007-08-28 09:44 UTC
---
Yep. ZeroConf would be the way to go, methinks.
– GreyWulf 2007-08-28 09:51 UTC
---
It looks like most Apple products should already come with Bonjour aka. ZeroConf support. So two questions remain to be solved:
1. If I have it, will using a hostname such as `alpinobombus.local` automatically trigger it?
2. If I have it, do command-line tools like `ssh` and `scp` support it?
I’ll have to check when I come home.
– Alex Schroeder 2007-08-28 10:39 UTC
---
AFAIK, it does. I use it all the time on my home network, and works from linux command line 😄
– AadityaSood 2007-08-28 15:27 UTC
---
Gah, I didn’t know that. All this fixed IP stuff for nothing.
I’m not used to this. It seems to work out of the box!
Thanks for reminding me about the foo.local stuff.
– Alex Schroeder 2007-08-28 17:13 UTC