summaryrefslogtreecommitdiffstats
path: root/perl-install/network/ethernet.pm
Commit message (Collapse)AuthorAgeFilesLines
* - merge network settings in a $net hash (it modifies $o fields too):Olivier Blin2005-06-031-16/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o $netc becomes $net->{network} and $net->{resolv} o $intf becomes $net->{ifcfg} - move zeroconf config stuff in write_zeroconf - read_tmdns_conf -> read_zeroconf - read_all_conf -> read_net_conf - configureNetwork2 -> configure_network - configure_network: write ifcfg files for ppp interfaces too - don't install wireless-tools in configure_network, this package is in basesystem - most functions don't need the file path as an argument in network::network - drop network::tools::remove_initscript - don't export too much from network::network - don't export from network::tools - remove adsl_unsupported_eci step in drakconnect - drop passwd2 field in network::adsl - drop $net->{isdn_internal} - network::netconnect : main -> safe_main - use network::netconnect::real_main during install - don't read network config in network::netconnect::real_main - install_steps::upNetwork : resolv.conf is already symlinked by network::network::configure_network when appropriate - try to fix install_any::generate_automatic_stage1_params to use a real interface configuration - put authentication stuff in $net->{auth} - drop network::ethernet::write_ether_conf - drop network::adsl::get_wizard - use 'static' instead of 'manual' as ADSL method - drop first_modem and its workarounds in network::modem - drop deprecated "multiple_internet_cnx" step in drakconnect - don't save /etc/sysconfig/drakconnect anymore - drop MDK::Common::Globals stuff - drop getIP in net_applet (Pixel) - drop $netc->{DHCP} - configure_network(): write resolv.conf even if a dhcp interface is configured
* fix USB devices detection for ndiswrapperOlivier Blin2005-05-021-2/+3
|
* fix typoOlivier Blin2005-04-191-1/+1
|
* fix Titi sux (we do want to use sysfs if ethtool fails)Olivier Blin2005-04-191-1/+1
|
* do not write zeroed MAC addresses in iftab, it confuses ifrenameOlivier Blin2005-04-191-0/+2
|
* remove other mac address occurrences in iftabOlivier Blin2005-03-181-0/+1
|
* write selected dhcp client in ifcfg filesOlivier Blin2005-03-091-1/+13
|
* (get_eth_cards) update commentsThierry Vignaud2005-03-091-5/+6
|
* (get_eth_cards) do not overwrite driver name with sysfs one when weThierry Vignaud2005-03-091-2/+8
| | | | | | already got it from ethtool, thus fixing bogus names registered though pci layer in kernel (#14163)
* add @network::ethernet::dhcp_clientsOlivier Blin2005-03-041-0/+2
|
* (get_eth_cards) workaround buggy kernel until provided patch got applied ↵Thierry Vignaud2005-03-011-0/+1
| | | | (#12609)
* do not rely on broken ethtool from hostap driversOlivier Blin2005-02-281-1/+2
|
* (configure_eth_aliases) simplifyThierry Vignaud2005-01-281-2/+2
|
* restore previous network::ethernet::get_eth_cards_names() behaviourPascal Rigaux2005-01-201-1/+1
| | | | | (i got hit by { map ... }; being a block and not a hash ref)
* move and rename network::ethernet::get_eth_categories() into ↵Pascal Rigaux2005-01-031-8/+0
| | | | | | | list_modules::ethernet_categories() (it's closer to the definition of the categories)
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-131-1/+1
|
* help perl_checkerPascal Rigaux2004-11-261-1/+1
|
* remove some unneeded ";", add some for normalization (as told by perl_checker)Pascal Rigaux2004-11-181-2/+2
|
* (mapIntfToDevice) do not try to match usb devices since ldetect doesn't returnThierry Vignaud2004-10-271-0/+1
| | | | | enough data (thus fixing 9box string)
* (get_eth_cards) workaround more buggy drivers that returns a bogus driver ↵Thierry Vignaud2004-10-121-0/+5
| | | | name for the GDRVINFO command of the ETHTOOL ioctl
* (get_eth_cards) fix another lying moduleThierry Vignaud2004-10-111-1/+5
|
* (configure_eth_aliases) don't write aliases for pcmcia cards butOlivier Blin2004-09-171-1/+7
| | | | | | | remove them, or else the pcmcia service won't be started correctly (the ethernet module being loaded, pcmcia_core would be loaded too, and the pcmcia service would think it is already started ...)
* (configure_eth_aliases) kill code that can't do anything goodOlivier Blin2004-09-171-1/+0
| | | | | (remove_alias isn't intended to be used with the module name)
* (get_eth_cards) document it somewhatThierry Vignaud2004-09-141-0/+13
|
* (get_eth_cards_names) let detect_devices->firewire_probe() set theThierry Vignaud2004-09-141-6/+1
| | | | | device description
* (get_eth_cards) workaround buggy eth1394 that returs a bogus driverThierry Vignaud2004-09-141-0/+1
| | | | | name for the GDRVINFO command of the ETHTOOL ioctl returns
* (get_eth_cards_names) set a sensible name for firewire networkThierry Vignaud2004-09-141-1/+6
| | | | | adapters in order to make GUIes look more user friendly
* (get_eth_cards_names) remove unused parameterOlivier Blin2004-09-141-1/+1
|
* (configureNetwork2) configure eth aliases, needs modules_confOlivier Blin2004-09-141-1/+1
|
* (configure_eth_aliases) errm, use modules_confOlivier Blin2004-09-141-1/+1
|
* do not configure eth aliases in various places, move aliasesOlivier Blin2004-09-141-10/+3
| | | | | configuration code from get_eth_cards_names to configure_eth_aliases
* remove update_eth_card_iftab(), add update_iftab()Olivier Blin2004-09-081-12/+10
|
* update mac address in network::ethernet::get_eth_cards to be sure iftab is ↵Olivier Blin2004-08-201-0/+20
| | | | always up-to-date
* use network::ethernet::get_eth_categories() when neededOlivier Blin2004-08-171-0/+1
|
* add network::ethernet::get_eth_categoriesOlivier Blin2004-08-171-0/+4
|
* drop network::ethernet::conf_network_card_backendOlivier Blin2004-08-171-37/+0
|
* (conf_network_card_backend) set NET_INTERFACE tooOlivier Blin2004-08-171-1/+1
|
* 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()