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

Re: mozilla broken in sarge?



On Sunday 04 January 2004 03:54, Naomi Ridge wrote:
>  --- Martin Büchler <lousyphreak@gmx.at> wrote: > On
> Saturday 03 January 2004 22:59, Naomi Ridge
>
> > You should set the loopback ip (i.e dont let it
> > unconfigured but add "address
> > 127.0.0.1" to /etc/network/interfaces for the lo
> > device, maybe even netmask)
> > to get loopback running.
> >
> > I may be wrong but i had problems with this before
> > (not mozilla related), and
> > with the ip set everything works fine.
>
> I'm certainly not an expert, but I didn't think that
> the loopback device in ifup had any options, so
> setting the ip and netmask in /etc/network/interfaces
> should make no difference.
>
> Anyway, having tried this, I now notice that the IP
> and netmask are correct until dhclient is started
>
> (apologies for the long paste):
> > cat /etc/network/interfaces
>
> # /etc/network/interfaces -- configuration file for
> ifup(8), ifdown(8)
>
> # The loopback interface
> auto lo
> iface lo inet loopback
> address 127.0.0.1
> netmask 255.255.255.0
>
> > ifconfig
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:192 errors:0 dropped:0 overruns:0
> frame:0
>           TX packets:192 errors:0 dropped:0 overruns:0
> carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:12488 (12.1 KiB)  TX bytes:12488
> (12.1 KiB)
>
> > dhclient
>
> Internet Software Consortium DHCP Client V3.0.1rc11
> Copyright 1995-2002 Internet Software Consortium.
> All rights reserved.
> For info, please visit
> http://www.isc.org/products/DHCP
>
> Listening on LPF/eth0/00:02:2d:52:cb:e8
> Sending on   LPF/eth0/00:02:2d:52:cb:e8
> Listening on LPF/lo/
> Sending on   LPF/lo/
> Sending on   Socket/fallback
> DHCPREQUEST on eth0 to 255.255.255.255 port 67
> DHCPACK from 192.168.2.1
> bound to 192.168.2.2 -- renewal in 105907 seconds.
> ophiuchus:/home/naomi# ifconfig
> eth0      Link encap:Ethernet  HWaddr
> 00:02:2D:52:CB:E8
>           inet addr:192.168.2.2  Bcast:192.168.2.255
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500
> Metric:1
>           RX packets:1 errors:0 dropped:0 overruns:0
> frame:0
>           TX packets:1 errors:0 dropped:0 overruns:0
> carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:336 (336.0 b)  TX bytes:396 (396.0
> b)
>           Interrupt:10 Base address:0x100
>
> lo        Link encap:Local Loopback
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:193 errors:0 dropped:0 overruns:0
> frame:0
>           TX packets:193 errors:0 dropped:0 overruns:0
> carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:12816 (12.5 KiB)  TX bytes:12816
> (12.5 KiB)
>
>
> naomi.
Sorry I don't have any experiences with dhclient (besides trying it once and 
it was not working, so i switched to dhcpcd which works fine for me), but its 
interesting that dhclient also sets th lo adapter. Maybe someone else knows 
more than me ;)

Martin



Reply to: