LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   910607 - how to bring up ethernet at startup? (https://www.linuxquestions.org/questions/linux-newbie-8/910607-how-to-bring-up-ethernet-at-startup-4175424372/)

hamidi2 08-28-2012 05:58 AM

910607 - how to bring up ethernet at startup?
 
hi
whenever i bring up system i've to login as root and enter the following commands:
ifconfig eth1 up
dhclient
so that Windows client can see it. is there a way that this work be done automatically?

seeberg 08-28-2012 07:51 AM

On debian the file /etc/network/interfaces shuld have an entry like this:
auto eth0
Iface eth0 dhcp

But it might be different in other distributions

hamidi2 08-28-2012 09:03 AM

yeah, that's the answer :)
thx


All times are GMT -5. The time now is 08:53 AM.