thank you, that worked fine. Suresh Balasubramanian <suresh.balasubra at gmail.com> wrote: hi,
open /etc/network/interfaces in vi or any editor of ur choice... u should be logged in as root...and enter the following... auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.2 netmask 255.255.255.0 gateway 192.168.1.1 ....save execute /etc/init.d/networking restart it is assumed that ur network card is up and running... else find the module required by the card and add it into /etc/modules.conf to find the module required by the card... discover --module ethernet if discover is not installed apt-get install discover hope this helps Bye On 11/22/05, justin joseph wrote: > how to assign an ip to my ethernet card. > > i gave the below command: > > ifconfig eth0 192.168.1.2 > > this assings the address, but after i reboot the system the settings are > gone . > > Also i need to set the route i understand the command 'route add default gw > 192.168.1.1' will do that. > > But how to permanently assign the above settings. distro is Debian > GNU/Linux woody. > > justin > > ________________________________ > Yahoo! FareChase - Search multiple travel sites in one click. > > > _______________________________________________ > Mailinglist mailing list > Mailinglist at ilug-cochin.org > http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org > > > -- Regards, SURESH BALASUBRAMANIAN _______________________________________________ Mailinglist mailing list Mailinglist at ilug-cochin.org http://ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://ilug-cochin.org/pipermail/mailinglist_ilug-cochin.org/attachments/20051124/afd58bd2/attachment.htm
