Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: stephan on January 03, 2014, 12:09:35 AM

Title: Linux image with DHCP enabled
Post by: stephan on January 03, 2014, 12:09:35 AM
Hello,
I am not able the get access to the A20 because I don't have a HDMI display nor the USB-TTL-cable.
It would be no problem if I could access the board via SSH but unfortunatelly LAN autodetection is disabled.
I don't think disabling autodetection is a good idea.
I also tried to edit the interfaces file but I'm not able to mount it in Windows (tried different tools) nor mouting the SDcard via Vbox using USB-redirection.

Is there a way to get an image with enabled network device and DHCP enabled?

Thanks in advance.

Stephan
Title: Re: Linux image with DHCP enabled
Post by: JohnS on January 03, 2014, 12:21:12 AM
Usually it has a static IP address so just use it.  No need for DHCP.

USB-TTL are very very very cheap.  Buy a few.

A Linux LiveCD will mount and let you make changes.

Any or all of the above should help.

John
Title: Re: Linux image with DHCP enabled
Post by: rzr on January 03, 2014, 12:50:10 AM
I can make you a backup of mine I had to shrink olimex debian archive with that DHCP fix :

https://www.olimex.com/forum/index.php?topic=1652.0

Give me a ftp/scp address or pleasE register at : http://db.tt/gn5Qffd6#
Title: Re: Linux image with DHCP enabled
Post by: tlhingan on January 08, 2014, 05:26:28 PM
The Olimex people claim that having eth0 autodetected by default causes instability issues, but I've never had any issues with it.
You need a Linux machine to access the SD card, the LiveCD suggestion is a good one if you don't have a Linux computer with a card reader.
Title: Re: Linux image with DHCP enabled
Post by: pinnchus on January 09, 2014, 05:17:04 PM
Enabling the eth0 at boot, take too long if there is not any cable attached and DHCP avalaible. I guess this is the reason to disable auto eth0 in the default config.

Regards,
Title: Re: Linux image with DHCP enabled
Post by: stephan on January 09, 2014, 11:23:47 PM
I was able to change the eth0 setting within the image.
I set up a virtual linux machine and mounted the image.

Regards
Stephan