summaryrefslogtreecommitdiffstats
path: root/perl-install/network/tools.pm
Commit message (Collapse)AuthorAgeFilesLines
* revert titi fix, do not return random interface if internet connectionOlivier Blin2004-09-011-3/+1
| | | | | is not configured
* do not use find over grep, just findOlivier Blin2004-09-011-10/+3
|
* (get_internet_connection) if no default route exits, take first route in orderThierry Vignaud2004-09-011-1/+3
| | | | | to not have strange messages in net_appletb
* move start_interface and stop_interface from net_monitor to network::tools, ↵Olivier Blin2004-08-301-1/+16
| | | | use it in net_monitor and net_applet
* write metric in ifcfg files according to connection typeOlivier Blin2004-08-271-1/+11
|
* add missing spacesOlivier Blin2004-08-251-2/+2
|
* add get_interface_type to guess interface typeOlivier Blin2004-08-251-0/+7
|
* add new functions to make internet connection tests easierOlivier Blin2004-08-171-0/+76
|
* drop network::tools::reread_net_confOlivier Blin2004-08-171-6/+0
|
* kill set_cnx_script usage, replace cnx_scripts with ifup/ifdownOlivier Blin2004-08-041-2/+8
|
* many functions in fsedit don't modify anything, they are simply accessors.Pascal Rigaux2004-08-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | create fs::get and move them into it - device2part(), up_mount_point() moved from fs to fs::get - part2hd(), file2part(), has_mntpoint(), mntpoint2part(), empty_all_hds() moved from fsedit to fs::get - fsedit::get_root() -> fs::get::root() - fsedit::get_root_() -> fs::get::root_() - fsedit::get_really_all_fstab() -> fs::get::really_all_fstab() - fsedit::get_all_fstab_and_holes() -> fs::get::fstab_and_holes() - fsedit::get_all_fstab() -> fs::get::fstab() - fsedit::get_all_holes() -> fs::get::holes() - fsedit::all_free_space -> fs::get::free_space() - fsedit::get_really_all_fstab() -> fs::get::really_all_fstab() - fsedit::get_fstab_and_holes() -> fs::get::hds_fstab_and_holes() - fsedit::get_holes() -> fs::get::hds_holes() - fsedit::get_fstab() -> fs::get::hds_fstab() - fsedit::free_space() -> fs::get::hds_free_space() - fsedit::get_visible_fstab() unused, removed
* (remove_initscript) simplifyThierry Vignaud2004-07-291-6/+3
|
* remove unneeded quotesOlivier Blin2004-07-261-1/+1
|
* let perl-MDK-Common do the quotingOlivier Blin2004-07-261-2/+1
|
* - %modules::conf is no more a global, so many functions need passing ↵Pascal Rigaux2004-07-211-2/+2
| | | | | | | | | | | | | | | $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
* merge netconnect::load_conf in netconnect::read_conf (and replace all calls ↵Olivier Blin2004-07-201-2/+1
| | | | to lload_conf with read_conf, remove all previous calls to read_conf)
* don't probe again connection type here since nowOlivier Blin2004-07-201-1/+0
| | | | | network::netconnect::load_conf does it as intended initially
* make the tcp ping actually workOlivier Blin2004-07-191-1/+9
|
* use a tcp ping in check_link_beat if not rootOlivier Blin2004-07-161-1/+1
|
* properly handle ascii WEP keys (#9884)Olivier Blin2004-06-241-0/+17
|
* remove debug messageThierry Vignaud2004-06-011-1/+0
|
* (use_windows) space cleanupThierry Vignaud2004-06-011-1/+2
|
* - kill write_initscriptDamien Chaumette2004-05-271-50/+9
| | | | | - add remove_initscript
* try to fix #3793 or at least enhance firmware seeking on windows partitionDamien Chaumette2004-04-271-2/+3
| | | | | (based upon titi's patch)
* move reread_net_conf to tools.pmDamien Chaumette2004-04-201-0/+8
|
* (read_providers_backend) move it from network::tools to network::isdnThierry Vignaud2004-03-081-3/+1
|
* fix crash on canceling "already configured net device" configuration (#7679)Thierry Vignaud2004-02-141-2/+2
|
* (is_wireless_intf) kill it since it's no more usefull.Thierry Vignaud2004-02-021-6/+1
| | | | | | | rationale: rather than duplicating modules list in kernel/list_modules.pm and network/tools.pm (with usual sync bugs), it's quite much easier to maintain one single list of wireless modules in list_modules.pm
* remove pseudo global variables use from use_floppy()Thierry Vignaud2004-02-021-3/+1
|
* (set_cnx_script) split it out of write_cnx_script()Thierry Vignaud2004-01-291-11/+11
| | | | | | rationale:functions whose behavior is totally altered by arguments number are insane should just be splited and their callers be fixed
* get rid of global variables regarding connect/disconnect scriptsThierry Vignaud2004-01-261-1/+5
|
* get rid of pseudo global $prefix, just reuse global $::prefix :-)Thierry Vignaud2004-01-261-8/+8
|
* (copy_firmware) kill it (was merged into add intf wizardThierry Vignaud2004-01-221-22/+0
|
* prevent faillure when trying to dereference undef in testing modeThierry Vignaud2004-01-161-1/+1
|
* ask_info2 is deadThierry Vignaud2004-01-141-1/+1
|
* (wip but requested for string freeze)Thierry Vignaud2003-12-291-85/+6
| | | | | | | - do not silently discard errors by ignoring exceptions - use new wizard layer - begin to renew wizard steps (mdk10.0 specs)
* (is_dynamic_ip) handle habing ppp like interfaces in interfaces listThierry Vignaud2003-12-041-1/+1
|
* link beat detection: enable both net_monitor and drakconnect usage atThierry Vignaud2003-11-261-2/+2
| | | | | both time (not so usefull but cleaner)
* reintroduce detect_timezone (indeed that one was needed :-()Thierry Vignaud2003-11-241-0/+19
|
* (connected2) rename it as check_link_beat() to better reflect what he doesThierry Vignaud2003-11-231-3/+3
|
* (detect_timezone, disconnected, type2interface) kill dead codeThierry Vignaud2003-11-231-33/+1
|
* reuse bg_command:Thierry Vignaud2003-11-231-42/+25
| | | | | | | - major cleanups - get rid of "kid exited -1 at /usr/lib/libDrakX/network/tools.pm line 182." warnings
* (network::tools::is_dynamic_ip) consolidate test for any dynamic interfaceThierry Vignaud2003-11-121-1/+6
|
* (is_wireless_intf) fix #6312: list acx100_pci as a wireless networkThierry Vignaud2003-11-081-1/+1
| | | | | cards driver too (fix impossible to set wireless parameters for it)
* one more wireless moduleThierry Vignaud2003-11-061-1/+1
|
* list a few more modules as wireless ones (should really be splited outThierry Vignaud2003-11-061-1/+1
| | | | | from network/usb in list_modules.pm
* unexport not used elsewhere connected2 functionThierry Vignaud2003-11-041-1/+1
|
* fix anthill bug #50: ensure /etc/ppp/pap-secrets is not world readableThierry Vignaud2003-10-301-2/+4
| | | | | since it contains password/user mapping for dialup
* fix #6159: fix detection when a local name server is faking theThierry Vignaud2003-10-201-7/+7
| | | | | | connection because of its cache by checking at least a packet is ack-ed
* simplify "do not remove wireless parameters from ifcfg when not in wizard ↵Thierry Vignaud2003-10-081-6/+2
| | | | mode" fix