I have ubuntu 14 LTS server

I have ubuntu 14 LTS server.
I get my IP from dhcp.
As soon as my dhcp lease expires the internet dies.
Why?
Shouldn't dhclient or dhcpcd renew the IP?
Network interface is set to auto and dhcp.

When I come back, ifconfig shows proper IP, gateway etc for my interface but there is no net.

I have no idea how to fix that.

>Linux breaks on something trivial again
Colour me surprised

install gentoo

Motherfucker. All students will not be able to finish their projects if I don't fix that.

who are these semen angels

Set up the DHCP host on your router to reserve the address.
Tell your linux box to use a static IP.
Certainly hope your project isn't for an IT course, 'cause you just failed.

>Set up the DHCP host on your router to reserve the address.
Thay's what I have

>Tell your linux box to use a static IP.
Not working,
they told me I will get banned if I use static. Already tried tgat and they kicked me. I need dhcp client.

Open up tcp 68 and fuck off.

Make it static

can't
will result in a ban

Funny, when connection dropps ping and dhclient hang in an infinite loop with no rror messages. You need to restart networking.

What is the syslog show when it's connects to net?

nothing really
It asks dhcp for IP and receives it.
After that nothing.
When the connection drops interface is still configured and it claims that network is still up. Except that it isn't.

Used
sudo tail -n 10000 /var/log/syslog | grep "dhc" | less

>implying stable network connection matters to REAL COMPUTER GEEKS
you don't need that
t. linuxfag

Yeah, but what when your connection drops once and for good?

virgin marry and baby jesus

I want to FUCK that jesus, OwO

Probably the router or the dns settings.

I changed the cable, plugged in into different wall ethernet socket, run constant ping every 60 seconds in screen and turned off apache.
Will check in 9 hours if it's dead.

werks on mymashine

You don't need it. Connection is for stealing your privacy. Linux respects your privacy

The Lord rebukes you, Satan.