LFS section 9.3

kitepilot at kitepilot.com kitepilot at kitepilot.com
Mon Sep 8 14:48:02 MST 2014


Assuming Debian, no GUI and a single interface:
as root:
ifdown eth0
ifup eth0 

Both are shell scripts.
ET 


Michael Havens writes: 

> I restarted it again and it ip addr show said it didn't have an ip address.
> I then restarted it again and it gave me the desired IP. How strange! How
> do I I refresh the ip address so I do not need to reboot the computer if
> this happens again? I would think it might be 'ip addr renew' or something
> like that but the man page for 'ip' doesn't indicate that. 
> 
> :-)~MIKE~(-: 
> 
> 
> On Mon, Sep 8, 2014 at 1:22 PM, <kitepilot at kitepilot.com> wrote: 
> 
>> Mike, 169.254.0.0/16 is telling you:
>> I can't get any other IP addrss.
>> 169.254.0.0/16 is a special network, look at it at the WEB.
>> Check your link and your DHCO server.
>> ET 
>>
>> Michael Havens writes: 
>>
>>> I am all done with the linux from scratch base install but before I go on
>>> to beyond linux from scratch the recomendation is to install  some
>>> programs
>>> first. (lynx, gpm, sudo, openssl, openssh, wget, and parted)
>>> I installed lynx with no problems. Then, after unpacking gpm, and after I
>>> cd into the gpm directory, the terminal froze. I couldn't <enter> nor
>>> <^C>.
>>> I shut the terminal down and then started another one and now I can't ssh
>>> into the lfs box. I then just restarted the lfs box and then ran 'ip addr
>>> show' and it says the ip address isn't what it was. It was 192.168.0.14
>>> but
>>> now it is 169.254.11.37/16 .
>>> Two questions,
>>> Why did it change from one private address to another and in another
>>> subnet?
>>> I'm thinking I'm going to need to start over from the beginning; is that
>>> so?
>>> Well, I guess three questions:
>>> How could I ssh into this network or else reassign the ip to something in
>>> the 192.168.x.y range
>>> :-)~MIKE~(-: 
>>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss 
>>


More information about the PLUG-discuss mailing list