summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
Commit message (Collapse)AuthorAgeFilesLines
* Due to a bug in the ed driver, which leads to hangs when using it withimp2001-09-131-0/+11
| | | | | | | | | | dhclient and pccard_ether, introduce the concept of a "settle time" to pccard_ether with the new pccard_ether_delay variable. Defaults to 5 seconds, which is enough time for the ed driver to finish its autoconfiguration for newer Linksys based cards. This also can eliminate the ed0: timeout messages that happen at startup as well. MFC: after RE says OK.
* Avoid flushing IPv6 routes. `route flush' removes necessaryume2001-05-091-1/+1
| | | | routes for IPv6 as well as IPv4 routes.
* Enable static IPv6 address assignment on PCMCIA NIC.ume2001-04-261-10/+4
| | | | PR: conf/26633
* Add support for PC-card router configuration. (MFPAO)toshi2000-12-251-40/+124
| | | | | | | | | | | | | | o Add the removable_interfaces variable for list of removable network interfaces (PC-card ethernet, wireless network and USB ethernet etc). o ifconfig_<ifn>_alias0, static_routes_<ifn>, removable_route_flush, /etc/start_if.<ifn> and /etc/stop_if.<ifn> are support. o removable_route_flush variable is set to "NO" if you want to use the machine as gateway using two or more removable network cards. If static routing is needed use static_routes_<ifn> instead of static_routes or defaultrouter. o The optional static_routes_<ifn> variable is likely static_routes. o /etc/start_if.<ifn> and /etc/stop_if.<ifn> are shell script to be specified that are called when a card is inserted or removed.
* Apply a more consistent style to the echo statements in /etc/ scripts.dougb2000-12-171-1/+1
| | | | | | | | | | * Put quotes around each line * Single quotes for lines with no variable interpolation * Double quotes if there is * Capitalize each word that begins a line * Make echo -n 'Doing foo:' ... echo '.' more of a standard No functionality changes
* Fix a blatant bug when running '/etc/pccard_ether device stop'.joe2000-10-281-2/+2
| | | | | | | I wasn't dropping the interface correctly, but not noticing because the interface was going away when the card was ejected. Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
* Add an optional start/stop argument to pccard_ether, and migratejoe2000-10-161-55/+80
| | | | | | | | | the 'ifconfig ifN delete' into pccard_ether under the 'stop' function. In addition start dhclient with a pid file based on the interface name, e.g. /var/run/dhclient.ep0.pid, and kill the correct dhclient (or dhcpc) process when the card is removed.
* Avoid passing the optional ifconfig arguments to dhcpc as well as ifconfig.joe2000-10-161-1/+1
| | | | This bug has been here since revision 1.8.
* Make sure to accept RA. Some laptops run /etc/pccard_ether beforeume2000-09-071-0/+2
| | | | | | /etc/rc.network6. PR: bin/21062
* If ipv6_enable is set to yes, do IPv6 setup for PCCARD ethernetume2000-07-171-0/+14
| | | | card. This is still at staring point and end node case only.
* Add to defaults/rc.conf a new function source_rc_confs which rcsheldonh2000-04-271-0/+1
| | | | | | | | | | | | | | | | | scripts may use to source safely overrides in ${rc_conf_files} files. This protects users who insist on the bad practice of copying /etc/defaults/rc.conf to /etc/rc.conf from a recursive loop that exhausts available file descriptors. Several people have expressed interest in breaking this function out into its own shell script. Anyone who wants to embark on such an undertaking would do well to study the attributed PR. PR: 17595 Reported by: adrian Submitted by: Doug Barton <Doug@gorean.org>
* When running dhclient on a PC-Card insertion, specify the insertednsayer2000-02-111-4/+5
| | | | | | | | | | interface on the dhclient command line. Not doing so screws up vmware's network interface by attempting to configure it for DHCP (which will never work, of course). It also would impact any other interface that may be present that, again, would likely be manually configured for some other purpose. Approved by: jkh
* Apply a consistent style to most of the etc scripts. Particularly, usesheldonh1999-09-131-23/+32
| | | | | | | | | case instead of test where appropriate, since case allows case is a sh builtin and (as a side-effect) allows case-insensitivity. Changes discussed on freebsd-hackers. Submitted by: Doug Barton <Doug@gorean.org>
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Style clean-up:sheldonh1999-08-251-6/+6
| | | | | | | | | | | | | | | | * All variables are now embraced: ${foo} * All comparisons against some value now take the form: [ "${foo}" ? "value" ] where ? is a comparison operator * All empty string tests now take the form: [ -z "${foo}" ] * All non-empty string tests now take the form: [ -n "${foo}" ] Submitted by: jkh
* dhclient is now in /sbin.steve1999-02-221-3/+3
|
* Use /etc/defaults/rc.conf everywhere, falling back to /etc/rc.confjkh1999-02-101-3/+5
| | | | as necessary (for half-assed upgrades).
* Add Id keywordsbrian1998-09-021-0/+2
|
* Wrapper script for PC Card Ethernet Adapters only supports ISC DHCP;phk1998-08-141-0/+6
| | | | | | | | | I prefer wide-dhcp, and since both are packages, it should get equal billing. PR: 7568 Reviewed by: phk Submitted by: Drew Derbyshire <software@kew.com>
* Warn if ISC-DHCP not available.pst1997-12-171-0/+2
|
* Support ISC-DHCP if the package is available.pst1997-12-161-1/+7
|
* - In addtition to flushing the routes, also flush the arp cache when bringingnate1997-11-201-2/+3
| | | | | | up the new network link. Submitted by: Guido van Rooij <guido@gvr.org>
* - Setup a default route (if one is set) when the card is inserted. Thisnate1997-11-191-0/+15
| | | | | | needs to be re-thought, but should work better for 95% of the users. Stolen from: rc.network
* sysconfig -> rc.confjkh1997-06-301-3/+3
| | | | | PR: 3978 Submitted by: Janick.Taillandier@ratp.fr
* Fix reverse logic bug which caused the ethernet configuration to never work.nate1996-04-241-1/+1
|
* PC-CARD hooks. Someday it will actually enable working code. :)nate1996-03-121-0/+21
Reviewed by: phk Submitted by: Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp> & BSD Nomads I re-wrote alot of this, but the ideas are based on the code from the most recent pccard-snapshot.
OpenPOWER on IntegriCloud