[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt: Uses bogus ftp password on ftp:// urls



And thus spake Rob Browning, on Tue, Jun 30, 1998 at 11:27:12AM -0500:
> 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.

Yes, there is a simpler approach: the 'dummy' network device.

Try modprobe dummy; ifconfig dummy0 myhostname.localhost

-- 
Elie Rosenblum <erosenbl at nyx.net>That is not dead which can eternal lie,
     <fnord at cosanostra.net>   And with strange aeons even death may die.
Developer / Mercenary / System Administrator             - _The Necromicon_


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: