[Voyage-linux] eth0 not working with ALIX3D2

Rainer Stratmann (spam-protected)
Thu Feb 11 05:32:43 HKT 2010


Hello,
how to set up a static IP and if there is a DHCP router overwrite the IP.
Is that possible?
best regards, Rainer

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






More information about the Voyage-linux mailing list