I know this is probably an easy one for someone here but it is driving me nuts. I know this sounds like a newbie question but I jsut can't remember everything about networking setups.
I decided to scale down an RFS to as small a footprint as I could get it. I decided on using the ramdisk.gz in PSP_01_20_00_014//bin as a starting point. Everything worked as expected except for one odd problem. Once the system is booted, 'lo' does not have an IP of 127.0.0.1 as expected.
What I see is
root@<IP>:/# ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.xxx.xx.xxx Bcast:192.xxx.xx.xxx Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31456 errors:0 dropped:0 overruns:0 frame:0
TX packets:8505 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10980326 (10.4 MiB) TX bytes:1309110 (1.2 MiB)
Interrupt:13
lo Link encap:Local Loopback
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
What I expect to see is :
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
If I do an 'ifconfig lo 127.0.0.1' it will assign the IP to 'lo' as expected. But instead of just stuffing 'ifconfig' into an init, I'd like to find what got clobbered and rectify it there. I have searched all the usual culprits.. /etc/network/interfaces, and all the inits comparing them to an RFS where the lo IP is assigned automatically.
'hosts' does have the line ... '127.0.0.1 localhost.localdomain localhost'
and /etc/network/interfaces does have the lines
auto lo
iface lo inet loopback
What am I overlooking ? How is the 'lo' interface assigned an IP automatically ?
Glen