On 10/15/2009 10:38 PM, prabin gautam wrote:
> Debian Linux Networking and Network Tutorial On How To Set up A Linux
> Network <http://aboutdebian.com/network.htm>
>
> I think above link will be helpful
>
> On Thu, Oct 15, 2009 at 5:19 PM, openrijal <rijal.it
> <http://rijal.it>@gmail.com <http://gmail.com>> wrote:
>
>
>     Hello.
>
>     I am using Debian Lenny.
>
>     Whenever I start my PC, I have to manually run "ifup eth0" to activate
>     my ethernet card.
>
>     What problem is that....what shall I do to solve this issue.
>
>     Please Help.
>
>     Regards.
>
>
>
>
> -- 
>
> ---------------------------------------------
> Prabin Gautam
> M.Sc. Computing
> The University of Northampton
> Northamptonshire, UK
>
> --~--~---------~--~----~------------~-------~--~----~
> FOSS Nepal mailing list: [email protected]
> http://groups.google.com/group/foss-nepal
> To unsubscribe, e-mail: [email protected]
>
> Mailing List Guidelines:
> http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
> Community website: http://www.fossnepal.org/
> -~----------~----~----~----~------~----~------~--~---
>
Dear OpenRijal,
           You can edit
/etc/sysconfig/networking/devices/ifcfg-<device_node> (replace
<device_node> with actual name of device, e.g. eth0), and put these
things inside the file:

1. ONBOOT=yes

2. BOOTPROTO=dhcp (or static if you prefer to statically assign ip)

Save the file, and restart the networking service:

$/etc/init.d/networking restart

Alternatively, you can also run the "ifup eth0" command everytime the
computer boots by placing the line inside a file "/etc/rc.d/rc.local".
But I'll recommend you to use the first alternatively. Also check if
networking service is set to run every time the computer boots.

I hope this helps you.

Thank You.

-- 
Abhishek Singh
FOSS Nepal Community
http://wiki.fossnepal.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to