Re: apt: Uses bogus ftp password on ftp:// urls
Florian Hinzmann <f.hinzmann@public.uni-hamburg.de> writes:
> The problem with my hostname is: I don't have one. ;)
> I only get dynamic ip numbers when dialing up.
> IMHO there is a big lack of support for dynamic ip
> in many programs. I try to figure out how to set
> up my Linux box with dynamic ip correctly, but there
> seems to be no official, no right way to do it.
Same here. If you have a network card installed and "ifconfiged"
(even if you don't use it for anything), it makes life a little
easier. I ended up installing bind in a forwarding config (since via
caching and other tricks it also makes name lookups more reasonable
across the board), and then listed my localmachine in /etc/hosts as:
192.168.1.1 myhostname.localhost myhostname
where the 192 address is bound to my network card with ifconfig. I
chose "localhost" as my domain just because the default bind
configuration actually sets that up as a domain, and I was too lazy to
do anything else (and yes, I know it's ugly, but it seems to work).
This setup allows me to *completely* ignore my dynamic address. So
far this hasn't presented any new problems, and it solved a *bunch* of
other ones.
There may be a simpler approach that doesn't require a network card,
but at $20 for a cheap card and $40 for one of the fastest 10/100's,
it wouldn't be worth worrying about for me.
> 'echo some.domain >/proc/sys/kernel/domainname'.
Hmm, I have no domain name according to this, not even on the machines
I have on campus that have "real" connections.
What does "hostname --fqdn" tell you?
--
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: