summaryrefslogtreecommitdiffstats
path: root/perl-install/network/ethernet.pm
Commit message (Collapse)AuthorAgeFilesLines
* kill set_cnx_script usage, replace cnx_scripts with ifup/ifdownOlivier Blin2004-08-041-8/+0
|
* - %modules::conf is no more a global, so many functions need passing ↵Pascal Rigaux2004-07-211-13/+14
| | | | | | | | | | | | | | | $modules_conf - $modules_conf is a class choosing modules.conf or modprobe.conf (esp. useful after install) (but not working yet!) - modules::load() doesn't use $modules_conf, use modules::load_and_configure() - modules::load() doesn't allow options, use either modules::load_raw() or modules::load_and_configure() - some functions used to want an array ref for modules options and some a string, now every functions use a string - many functions (like modules::get_alias()) are now methods on $modules_conf - some functions in mouse.pm needed a $in where a $do_pkgs is enough - some perl_checker compliance - small fixes
* - rename add_alias() into set_alias()Pascal Rigaux2004-07-081-2/+2
| | | | | - create set_sound_slot() and use it
* modules::mergein_conf() doesn't need to be given /etc/modules.confPascal Rigaux2004-07-071-1/+1
| | | | | => prepare for reading either modprobe.conf or modules.conf based on the running kernel version
* (get_eth_cards) fallback on sysfs in order to get driver and cardThierry Vignaud2004-05-281-0/+11
| | | | | | description when ethtool is not supported (eg: ipw2100 driver for intel centrino)
* (mapIntfToDevice) only try to lookup pci or usb device by bus locationThierry Vignaud2004-05-251-1/+2
| | | | | | if its location is defined (some driver are returning bogus data on ETHTOOL_GDRVINFO command)
* (get_eth_cards) brown paper bug: fix card name lookup when driver doesThierry Vignaud2004-05-251-1/+1
| | | | | | not support GDRVINFO command from ETHTOOL ioctl and there's only one card managed by this driver
* use @cards instead of $#cards as told by master pipiDamien Chaumette2004-05-041-1/+1
|
* perl_checker fixesDamien Chaumette2004-05-041-3/+3
|
* (get_eth_cards) if SIOCETHTOOL ioctl is not supported by driver, tryThierry Vignaud2004-03-171-0/+4
| | | | | | to lookup card by driver in devices list (if there's only one physical card managed by this driver)
* (mapIntfToDevice) do not try to match a physical device when SIOCETHTOOL ↵Thierry Vignaud2004-03-151-2/+3
| | | | ioctl is not supported
* write ethX aliases and ifup/ifdown scripts when configuring a LAN connectionThierry Vignaud2004-02-231-1/+0
|
* (conf_network_card_backend) update its doc now that it has been splited inThierry Vignaud2004-02-231-5/+6
| | | | | get_eth_cards() and conf_network_card_backend()
* (mapIntfToDevice) match pci function too (not that important since weThierry Vignaud2004-02-101-2/+2
| | | | | | | | | do not know of any ethernet pci card that export two functions on the pci bug but anyway it's saner) note that we do not match for pci domain since ldetect does not report it
* (ether_conf) rename it as write_ether_conf()Thierry Vignaud2004-02-091-1/+1
|
* (mapIntfToDevice) fix pci/usb ethernet devices matchingThierry Vignaud2004-02-091-1/+1
|
* (get_eth_cards) try first to match a pcmcia device before trying toThierry Vignaud2004-02-051-4/+9
| | | | | match pci/usb ones when looking for real device's name (#7401)
* - add network::ethernet::get_eth_cards_namesDamien Chaumette2004-02-041-0/+10
| | | | | - kill duplicated code
* this module does not need anymore pseudo global variablesThierry Vignaud2004-02-021-2/+0
|
* (get_eth_cards) handle not loaded driversThierry Vignaud2004-02-021-1/+2
|
* (conf_network_card_backend) make type and interface arguments mandatoryThierry Vignaud2004-01-301-6/+6
|
* convert some write_cnx_script() callers into set_cnx_script() onesThierry Vignaud2004-01-291-1/+1
|
* (conf_network_card_backend) insert a bug noticeThierry Vignaud2004-01-291-0/+1
|
* (conf_network_card_backend) remove compat stuff since callers wereThierry Vignaud2004-01-291-2/+0
| | | | | cleaned up
* (mapIntfToDevice) actually use given interface rather than hardcoded "eth0"Thierry Vignaud2004-01-261-1/+1
|
* cleanupsThierry Vignaud2004-01-261-7/+4
|
* (get_eth_cards)Thierry Vignaud2004-01-261-15/+21
| | | | | | | | | - split it out of conf_network_card_backend() (which still call it for compatibility for now but sincefunctions whose behavior is totally altered by arguments are insane should just be splited, caller will be fixed then this compatibily call removed) - add a third string in returned tuples (physical net device description)
* (mapIntfToDevice) introduce it in order to map a network interface to aThierry Vignaud2004-01-261-1/+8
| | | | | pci/usb/... device
* get rid of pseudo global $prefix, just reuse global $::prefix :-)Thierry Vignaud2004-01-261-4/+4
|
* do not export dead functionsThierry Vignaud2004-01-161-1/+1
|
* write_conf() doesn't need $prefix anymorePascal Rigaux2004-01-051-1/+1
|
* (wip but requested for string freeze)Thierry Vignaud2003-12-291-107/+6
| | | | | | | - do not silently discard errors by ignoring exceptions - use new wizard layer - begin to renew wizard steps (mdk10.0 specs)
* (configureNetwork) fix zeroconf configuring: check that there noThierry Vignaud2003-12-041-1/+1
| | | | | dynamic interfaces instead of just checking the last interface
* (configureNetwork) configureNetworkNet() wrongly putThierry Vignaud2003-12-041-1/+1
| | | | | | | | | | | | WIRELESS_NWID=HASH(0x8e93758) in ifcfg-<intf> because we give it the last configured network card intead of the interfaces list however, for a few weeks, it now checks if some interfaces are dynamic before offering to configure zeroconf, hence there was a bug since we only checked if *last* interfaces wasn't static which would results in wrong configuration if some interface were dynamics but the last one was static
* (conf_network_card_backend) use getNetDriver() rather than relying onThierry Vignaud2003-11-071-1/+1
| | | | | | ethX alias for mapping the ethX interface to the driver that created it thus fixing quite old detection bugs
* (configure_eth_aliases) let the autoprobing load modules tooThierry Vignaud2003-11-061-1/+0
|
* let only remove aliases on bootstrapping (ie only in harddrakeThierry Vignaud2003-11-061-1/+0
| | | | | caller); it's safer
* (configure_eth_aliases) introduce it to autoconfigure all ethernetThierry Vignaud2003-11-061-0/+10
| | | | | aliases (MdkMove, harddrake service, drakconnect)
* (configureNetwork) alter remove_alias() callers for new APIThierry Vignaud2003-11-061-1/+1
|
* simplify pcmcia matchingThierry Vignaud2003-11-061-5/+2
|
* save a useless ifconfig forkThierry Vignaud2003-11-061-1/+0
|
* document dams logicThierry Vignaud2003-11-061-1/+1
|
* (conf_network_card_backend) fix unseen/unconfigured usb wirelessThierry Vignaud2003-11-061-2/+1
| | | | | | | | | devices due to francois trap for aliased interfaces (new detect_device::getNet() filter out aliases which were the reasons for the test) btw, if no alias was found, there's a bug somewhere
* network interface configuration step: using network interface fromThierry Vignaud2003-10-081-3/+4
| | | | | | interface/driver list is more robust that relying on possibly empty int variable (better #3276 fix)
* fix #3276: when steping back in drakconnect wizard, do not overwriteThierry Vignaud2003-10-061-3/+3
| | | | | first card parameters with last one's
* fix typo (thanks to perl_checker)Pascal Rigaux2003-07-301-1/+1
|
* cleanup (especially ensure $interface is not something like "eth0 (usingPascal Rigaux2003-07-301-12/+10
| | | | | module ...)" but only "eth0" (cf network/network.pm 1.130 nasty change)
* proxy configuration step: do not go back two steps back on "previous"Thierry Vignaud2003-07-171-1/+2
| | | | | click, but only one back
* - drop $::ExpertDamien Chaumette2003-06-121-4/+4
| | | | | - drop $netc->{ZEROCONF_HOSTNAME}, only need regexp
* - drop $::ExpertDamien Chaumette2003-06-121-23/+9
| | | | | - simplify code