How about I start commiting my changes in the config.xml files? What I did was
only add a section for Mandriva and this should in no way disturb other
distros... Apart from that, I would have to rebuild the modified packages. This
would make like 90% of my changes.
Cheers,
Fernando
Bernard Li a écrit :
BTW, if you are confident that you can get Mandriva 2006 supported for 5.0,
then I recommend that you slowly check your code into trunk. In this case if
the code you check in does not work on other distroes, we can at least find
that out sooner rather than later.
Thanks!
Bernard
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Fernando Laudares Camargos
Sent: Thursday, January 26, 2006 10:20
To: Oscar-devel List
Subject: [Oscar-devel] ip is not recognize by 'interface2ip'
(Network.pm)
Hi,
I'm having a problem to have my address ip recognized in step 3:
--------------------------------
--> Getting internal IP address
Cannot update hosts without a valid ip.
at ./install_server line 179
main::update_hosts('undef') called at
./install_server line 139
--> Got: [IP ]
--> Got: [broadcast ]
--> Got: [netmask ]
--> Adding hosts to /etc/hosts
--> Step 3: Failed to properly install OSCAR server; please
check the logs
----------------------------------
The function used to get it is interface2ip from the module
Network.pm.
What is curious is that if I import this function in a test
script like the following, it works without problem:
----------------------------------
#!/usr/bin/perl
use strict;
use lib "$ENV{OSCAR_HOME}/lib";
use OSCAR::Network;
my $INTERFACE="eth0";
print ("Getting internal IP address\n");
my ($ip,$bcast,$netmask) = interface2ip($INTERFACE);
print ("Got: [IP $ip]\n");
print ("Got: [broadcast $bcast]\n");
print ("Got: [netmask $netmask]\n");
----------------------------------
and return:
----------------------------------
Getting internal IP address
Got: [IP 10.0.1.1]
Got: [broadcast 10.255.255.255]
Got: [netmask 255.0.0.0]
----------------------------------
In your oppinion, what could be causing the problem? It used
to works before, is for sure something from my system configuration...
Thanks,
--
Fernando Laudares Camargos
Révolution Linux
http://www.revolutionlinux.com
---------------------------------------
* Tout opinion et prise de position exprimée dans ce message
est celle de son auteur et pas nécessairement celle de
Révolution Linux.
** Any views and opinion presented in this e-mail are solely
those of the author and do not necessarily represent those of
Révolution Linux.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep
through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel
--
Fernando Laudares Camargos
Révolution Linux
http://www.revolutionlinux.com
---------------------------------------
* Tout opinion et prise de position exprimée dans ce message est celle de son
auteur et pas nécessairement celle de Révolution Linux.
** Any views and opinion presented in this e-mail are solely those of the
author and do not necessarily represent those of Révolution Linux.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel