Re: [ANet-devel] Coding: What You Can Do
Status: Abandoned
Brought to you by:
benad
From: Chirag K. <ch...@ya...> - 2001-03-06 09:15:49
|
hi benoit! afaik, the default ethernet interface on a linux machine is always "eth0". somebody, please correct me, if i'm wrong. the snippet which you'd sent a few days back should do very well for this. the snippet checks for command line args and if there are none, then prints all the interfaces with their IP addresses and if the interface is specified (for eg, "eth0"), then it will print the IP address of only eth0. i am not sure if i got you on the second task. you mean you need an editor to write to a device? i am not sure what do you mean by "text device"; if it's serial port, then i suppose minicom kind of tool should do fine. chyrag. --- Benoit Nadeau <be...@ma...> wrote: > While we haven't started the _real_ coding yet, here's a list of what > you > can start right now. > > 1. Find a way on Linux to get the IP address of your machine, i.e. > the IP > address of the default routing interface. If you just want to do some > copy-paste, make sure it comes from a project distributed under GPL. > > 2. Find some tools or methods to do non-blocking input and input to a > text > device in Linux. A bit like emacs or vi. That would really help. > > - Benad > > > > _______________________________________________ > ANet-devel mailing list > ANe...@li... > http://lists.sourceforge.net/lists/listinfo/anet-devel ===== Chirag Kantharia <ch...@ya...> __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ |