3 ms·
Cool work around. Just adding another cool way to get laptops IP without ifconfig. AVAHI. install avahi daemon (comes pre installed with most distros) and your
by sujay_m 10y ago
Cool work around. Just adding another cool way to get laptops IP without ifconfig.
AVAHI. install avahi daemon (comes pre installed with most distros) and your laptop can be referred with a domain name(generally LAPTOPNAME.local, "local" domain). By using this you won't have to worry about the changing IPs, you always refer to the laptop with that name. Very handy.
- tombh 10y agoExcellent suggestion, especially because it's cross-platform. Thanks, added and acknowledged on the post.
- sujay_m 10y agoCool, thanks. But there is no need for acknowledgements in open source community, don't you think.. Anyway, thanks for the post :)
- AnthonBerg 10y agoGreat stuff! For the record: Avahi is an implementation of Zeroconf. Bonjour is another implementation from Apple. Bonjour is built into macOS. Bonjour is available for Windows too, for example it can be downloaded somewhere on apple.com. (Personally I just install Cyberduck on all Windows machines I touch - it's an open-source SFTP/FTP/block-storage client and includes Bonjour for Windows.)