[Setup-tool-hackers] Network devices detection at network.pl
- From: Carlos Perelló Marín <carlos gnome-db org>
- To: Setup Tool Hackers <setup-tool-hackers helixcode com>
- Subject: [Setup-tool-hackers] Network devices detection at network.pl
- Date: 10 Jun 2001 00:26:23 +0200
Hello ;-)
I have review the functions you are using to get the actual devices in a
system and I think that you are using a wrong solution...
As I have see, you are using xst_network_interfaces_get to get the
system devices, this function use a platform specific function that see
the platform configuration files to get the devices. Ok, What about the
devices that you don't have configured? You only could modify the
configuration, but not add a new one.
Then, If I install a new network card, I must to configure it with my
platform specific tools and then continue with XST?
I think that is not a correct way to do it.
For example, with Linux, you could use /proc/net/dev, it gives you all
the devices that has a device driver loaded into the kernel and although
you don't have it configured (with an IP, etc..) it will be there.
Then, We will not configure (only) the network devices that don't have a
driver loaded.
If I'm right I could do a patch.
Thanks ;-)
--
Carlos Perelló Marín
mailto:carlos@gnome-db.org
mailto:carlos@hispalinux.es
http://www.gnome-db.org
http://www.Hispalinux.es
Valencia - Spain
_______________________________________________
setup-tool-hackers maillist - setup-tool-hackers@ximian.com
http://lists.ximian.com/mailman/listinfo/setup-tool-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]