Go to advanced search

by ddupuis
Tue Aug 28, 2012 6:25 pm
Forum: Networking and servers
Topic: If DHCP fails then set static IP
Replies: 16
Views: 17791

Re: If DHCP fails then set static IP

Everything works fine for me without commenting any line of /etc/network/interfaces. Here is a summary of what I tested: RPi connected to router -> DHCP address assigned: 1- SSH to DHCP address works fine 2- SSH to static IP doesn't work and RPi not connected to DHCP server -> static IP assigned: 1-...
by ddupuis
Tue Aug 21, 2012 5:04 pm
Forum: Networking and servers
Topic: If DHCP fails then set static IP
Replies: 16
Views: 17791

Re: If DHCP fails then set static IP

Thanks SirLagz! Your second solution works perfect! First one also I imagine, but the second one is really simple to implement. In case it may be useful to someone else, here is an example of my /etc/network/interfaces file: ---------- auto lo iface lo inet loopback iface eth0 inet dhcp auto eth0:1 ...
by ddupuis
Mon Aug 20, 2012 8:27 pm
Forum: Networking and servers
Topic: If DHCP fails then set static IP
Replies: 16
Views: 17791

If DHCP fails then set static IP

Hi, I use my RPi in 2 network configurations and access to it from my laptop via VNC: 1- Connected to a local network via a router (DHCP is fine) 2- Connected directly to the laptop using crossover cable (need to set a static IP) I would like to configure the networking onto raspbian to try first to...

Go to advanced search