Hi,<br><br>I just selected a IP that was outside the DHCP range of my router.<br><br>Best regards,<br>Jordi.<br><br><div class="gmail_quote">2010/2/10 Rainer Stratmann <span dir="ltr"><<a href="mailto:RainerStratmann@t-online.de">RainerStratmann@t-online.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
how to set up a static IP and if there is a DHCP router overwrite the IP.<br>
Is that possible?<br>
best regards, Rainer<br>
<br>
Am Wednesday 10 February 2010 22:20:07 schrieb Jordi Puigsegur:<br>
<div><div></div><div class="h5">> Hi all,<br>
><br>
> Finally I got it working with a static IP. Here is a recollection of it<br>
> just in case it might help someone (I know it's basic stuff...).<br>
><br>
> You assumed right: eth0 gets the IP from DHCP. I use a voyage linux 0.6.2<br>
> out of the box. And this is the output at boot time (through serial port):<br>
><br>
> Setting up networking....<br>
> Configuring network interfaces...[   18.658114] eth0: link up, 100Mbps,<br>
> full-du1<br>
> Operation failed.<br>
> Failed to bring up eth0.<br>
> done.<br>
> Starting portmap daemon....<br>
> INIT: Entering runlevel: 2<br>
><br>
> And this is the output of ifdown / ifup<br>
><br>
> voyage:~# ifdown eth0<br>
> ifdown: interface eth0 not configured<br>
> voyage:~# ifup eth0<br>
> [  121.910943] via-rhine: Reset not complete yet. Trying harder.<br>
> [  121.912129] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1<br>
> Operation failed.<br>
> Failed to bring up eth0.<br>
><br>
> Actually, at some point the voyage box appears at the router's DHCP and<br>
> then it disappears ... so I though it could have to do with DHCP<br>
> configuration and tried a static IP (editting /etc/network/interfaces):<br>
><br>
> #auto eth0<br>
> #iface eth0 inet dhcp<br>
><br>
> auto eth0<br>
> iface eth0 inet static<br>
>         address 192.168.1.25<br>
>         netmask 255.255.255.0<br>
>         broadcast 192.168.1.255<br>
>         gateway 192.168.1.1<br>
><br>
> Then it works, but DNS doesn't:<br>
><br>
> voyage:~# ping <a href="http://linux.voyage.hk" target="_blank">linux.voyage.hk</a><br>
> ping: unknown host<br>
><br>
> So I edit /etc/resolv.conf and add two nameserver entries, the sames that<br>
> would be used by DHCP. Now everything works.<br>
><br>
> Don't know if this is going to help someone or if there is a better way to<br>
> set things up. I was probably going to configure anyway a fixed IP so I<br>
> don't care about DHCP not working.<br>
><br>
> Thanks,<br>
> Jordi.<br>
><br>
> 2010/2/10 Kim-man 'Punky' TSE <<a href="mailto:punkytse@punknix.com">punkytse@punknix.com</a>><br>
><br>
> > Hi Jordi,<br>
> ><br>
> > I think many of the users didn't encounter the problem you have.  Try to<br>
> > do "ifdown eth0" and "ifup eth0" to see if it can be restart.  Of course,<br>
> > I assume eth0 get the IP from DHCP.<br>
> ><br>
> > Regards,<br>
> > Punky<br>
> ><br>
> > Jordi Puigsegur wrote:<br>
> >> Hi all,<br>
> >><br>
> >> I just tryied Voyage linux 0.6.2 on a PC Engines ALIX 3D2 board.<br>
> >> Everything works, except network. eth0 fails to start. Voyage 0.5.2<br>
> >> works ok, but I'd rather have the more up to date lenny packages!<br>
> >><br>
> >> Any idea where to look at or know issue ?<br>
> >><br>
> >> Thanks in advance,<br>
> >> Jordi.<br>
> >> ------------------------------------------------------------------------<br>
> >><br>
> >> _______________________________________________<br>
> >> Voyage-linux mailing list<br>
> >> <a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
> >> <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
> ><br>
> > --<br>
> > Regards,<br>
> > Punky<br>
> ><br>
> > Voyage Solutions (<a href="http://solution.voyage.hk" target="_blank">http://solution.voyage.hk</a>)<br>
> > * Embedded Solutions and Systems<br>
> >  - Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX<br>
> >  - Network Engineering, Development Platform and Consultation<br>
<br>
<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</div></div></blockquote></div><br>