I have to type “ifup eth0” if I want to use Ethernet. Can I start Ethernet programmatically? Or add “ifup eth0” somewhere in config?
Which product you are using?
can you share content of /etc/network/interfaces?
I use mangoH Green.
My My /etc/network/interfaces:
/etc/network/interfaces – configuration file for ifup(8), ifdown(8)
The loopback interface
iface lo inet loopback
Wired or wireless interfaces
iface eth0 inet dhcp
iface wlan0 inet manual
pre-up /etc/init.d/tiwifi start
post-down /etc/init.d/tiwifi stop
I think Ethernet starts automatically because of auto eth0. Am I right?
Yes, also it works in my case, i.e. “ifconfig” show eth0 “up” since boot and it can get DHCP IP automatically from my network when I connect the LAN cable.