Yes ! But there 2 NIC and I want the IP address of the thin clients network. And I also need the device name this IP address is attached to.
2009/5/18 hex <[email protected]>: > you need the ip address of the server the scripts run on? > > On Fri, 15 May 2009 13:10:26 +0200 > Philippe ENTZMANN <[email protected]> wrote: > >> Hello, >> >> I am writing scripts to automate some tasks in my Ubuntu LTSP server. >> To be clean, I need to guess the IP address of the server (the one >> used by clients) and also the network device (/dev/eth0 for example) >> used for the client network and the network device used for the >> Internet access. >> >> I can parse some conf file but is there a better approach to get those >> informations ? >> >> PS : Scripts will run on server side >> >> ------------------------------------------------------------------------------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables >> unlimited royalty-free distribution of the report engine >> for externally facing server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _____________________________________________________________________ >> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: >> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss >> For additional LTSP help, try #ltsp channel on irc.freenode.net > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel on irc.freenode.net > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
