Hmmmmmm. nice idea,
I need to rename ifconfig, send the full argument list of my script to ifconfig, and if ifconfig is successful the save the IP address, mask, broadcast to a config file. and use this when system comes up/ Kapil ----- Original Message ----- From: "Sandip Bhattacharya" <[EMAIL PROTECTED]> To: "The Linux-Delhi mailing list" <[EMAIL PROTECTED]> Sent: Saturday, February 28, 2004 1:22 PM Subject: Re: [ilugd] File from storing interface IP adrress > Kapil Sethi wrote: > > > because the embedded system on which we are working and (further developing) > > is based on RH 7.2 but does not have any directory structure as > > /etc/sysconfig. and I have to store the IP address into flash, so that when > > the system comes up it takes up that IP address. > > > > And I modify code of ifconfig so that whenever it is setting an ip address > > it puts that ip address to the file I specify. > > > > :-/ I think you are trying it ulta :). Why dont you save the IP adress > in any file at first (like /etc/ip-eth0), and after bootup read this > file and set up the interface accordingly? > > - Sandip > > -- > Sandip Bhattacharya > sandip (at) puroga.com > Puroga Technologies Pvt. Ltd. > Work: http://www.puroga.com Home: http://www.sandipb.net > > GPG: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3 > > > _______________________________________________ > ilugd mailinglist -- [EMAIL PROTECTED] > http://frodo.hserus.net/mailman/listinfo/ilugd > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/ _______________________________________________ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
