Commit Graph

10962 Commits

Author SHA1 Message Date
snj
6f0923dea4 Thankfully, apropos returns all results by default these days. Remove
outdated sentence referring to the original (well, old new) limit of 10.
2014-11-04 08:05:21 +00:00
christos
859e855ece fix pasto; thanks John-Mark Gurney... 2014-10-27 21:46:45 +00:00
martin
ad279af689 On architectures that have no BIOS (and so do not set a BIOS geometry)
we need to initialize the globals bsec, bcyl and bhead before using
them.
2014-10-21 18:19:17 +00:00
snj
f0a7346d21 src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
2014-10-18 08:33:23 +00:00
snj
eebaae53ca Make the option to abort pkgsrc fetching/extraction actually work.
Previously, if the network was not set up and you couldn't fetch
pkgsrc, you'd get stuck here, unable to make it back to the parent
menu.
2014-10-15 21:38:39 +00:00
christos
e47dca206e Don't use asctime(localtime(time_t *)) because this is really ctime(time_t *)
and not checking the result of localtime can lead to tears.
Add a safectime() that always returns a good string, and add some debugging
so that we can see if there is indeed something wrong in the new libc time
code.
2014-10-14 16:35:20 +00:00
christos
a310a83020 Give an example how to use dhcpcd instead of rtsol 2014-10-12 19:53:34 +00:00
gson
fbdc6f8ee9 When checking if the user chose to use the existing bootblocks, use
the appropriate variable, boottype.bp_consdev, not the uninitialized
bp.bp_consdev.  Also remove bp and bootxx since their only use was in
the incorrect check.  This should fix the problem of sysinst segfaulting
when you choose "Use existing bootblocks" on amd64.
2014-10-11 13:34:01 +00:00
christos
092796a0e8 add defines 2014-10-07 22:20:02 +00:00
christos
30173ba7ad set some variables we need 2014-10-07 22:14:05 +00:00
christos
34564de1c5 mention the default for core too. 2014-10-06 13:14:36 +00:00
wiz
04f076606c usage police
XXX: is the program usage correct? (/dev/ksyms)
2014-10-05 23:08:01 +00:00
christos
f7bf36a390 add -w 2014-10-05 22:58:43 +00:00
roy
0c7cf1ae4c Change the IPv6 DNS selection to use DNS selection and add the
Google Public V4 DNS servers to the list.
The other field can take an IPv4 or IPv6 name server of choice.
Fixes PR install/49231.
2014-09-22 19:01:02 +00:00
roy
8e47ac0efa Remove the ping6 ff02::2 test, it looks pretty pointless.
dhcpcd will ensure the IPv6 network is up before forking.
ping the IPv4 default route before the nameserver as the nameserver
could be over the default route anyway.

Fixes the core issue with PR install/49231.
2014-09-22 18:47:41 +00:00
wiz
6880513a4a Add missing .El. From Henning Petersen in PR 49227. 2014-09-20 11:16:05 +00:00
wiz
be551d1b14 Mark up author with .An. 2014-09-19 16:06:16 +00:00
wiz
f5011e838f New sentence, new line. 2014-09-19 16:05:55 +00:00
wiz
5d2c9e2250 Fix section name. 2014-09-19 16:04:29 +00:00
wiz
2a65137f55 Sort sections. From Henning Petersen in PR 49222. 2014-09-19 16:02:58 +00:00
martin
ceb7a1b9a3 For the benefit of gcc 4.5, rename a local "nl" variable to "nline",
so it doesn't collide with the global curses nl() function.
2014-09-13 17:22:22 +00:00
roy
1c37fe7141 Fix a bogus gcc warning: dhcp_config may be used uninitialized 2014-09-13 09:46:12 +00:00
roy
9cc5846ff7 Show the IP6 address instead of yes 2014-09-13 09:38:43 +00:00
roy
2787059b04 Strip newline from the gateway correctly. 2014-09-13 09:30:30 +00:00
roy
eda033034a Change the display order so it's protocol agnostic at the top,
then IPv4 then IPv6.
2014-09-13 01:11:58 +00:00
roy
13c4979619 Only prompt for one nameserver, let the user decide if it's a
pre-determined google server other another one.
2014-09-13 00:38:36 +00:00
roy
63fc81c2f0 rtsol is no longer used. 2014-09-12 21:12:42 +00:00
roy
61e374731e Don't prompt for hostname or domain if obtained from DHCP. 2014-09-12 21:02:06 +00:00
roy
14d86bcffe dhcpcd will already have configured the system at this point, so
don't bother writing it manually.
2014-09-12 20:48:55 +00:00
roy
ec4a0efb33 Use the 20-resolv.conf hook from dhcpcd rather than the minimal one.
Extract configured information from resolv.conf and hostname instead
of scraping the last dhcpcd script run.
This will allow the use of DHCPv6 and IPv6RA DNS details in the future.
2014-09-12 20:42:13 +00:00
roy
4fabb2a304 The dhcpcd utilties in pkgsrc require dhcpcd to be running in master mode.
So set dhcpcd to start like so, but restrict it to the configured interface
still instead of ifconfig_foo=dhcp.
2014-09-12 20:20:25 +00:00
wiz
d762b67d80 Use Nx. 2014-09-11 21:04:34 +00:00
roy
c6314d6139 Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
2014-09-11 13:10:03 +00:00
wiz
c48417e269 Fix pasto. 2014-09-10 21:13:50 +00:00
riastradh
3393ff7dbb Sternly advise against `pcictl read/write'. Use .Cm, not .Nm, while here. 2014-09-10 21:09:32 +00:00
msaitoh
abce3ee962 Update CPUID signature values from the latest Intel SDM.
- Core M-5xxx
- Core i7 extreme
- Future Core (0x4e)
- Future Xeon (0x56)
2014-09-09 15:14:39 +00:00
martin
3c93e210ff Make msdosfs time conversion use the y/m/d/h/m/s conversion functions
from clock_subr.c and compile that into the userland (and tools)
makefs as well.
2014-09-01 09:09:47 +00:00
manu
5b31193998 read and write commands for pcictl, from riastradh@ and wiz@
http://mail-index.netbsd.org/tech-kern/2014/08/26/msg017572.html
2014-09-01 07:11:19 +00:00
wiz
12e2372174 Sort options. 2014-08-31 09:59:08 +00:00
mrg
8865fe7c92 add -N option to print the driver name as returned by pci_drvname(3). 2014-08-31 09:16:54 +00:00
wiz
23f0d17f09 Use more appropriate macro for command line command argument. 2014-08-26 16:21:15 +00:00
martin
551f6cb995 Make sure to not dereference a NULL pointer. 2014-08-19 13:44:31 +00:00
martin
7a7d59f635 Cosmetic changes trying to appease coverity scan. 2014-08-19 13:41:08 +00:00
martin
722a22e445 Check return values from stat before comparing contents of the result
structures. Pointed out by coverity scan.
2014-08-19 13:36:04 +00:00
martin
3221cb6f7f if chdir() fails, try chdir / 2014-08-19 13:30:32 +00:00
martin
ffc1983074 Make an invariant more clear to avoid fals positives from coverity scan 2014-08-19 13:26:27 +00:00
martin
fe0740f823 Check return value from getenv() before using the value. Pointed out by
coverity scan.
2014-08-19 13:04:45 +00:00
martin
14d42b6c1e Make sure the interface name is 0 terminated, pointed out by coverity scan. 2014-08-19 13:01:48 +00:00
martin
36f4a5867f Remove (accidently) duplicated code - pointed out by coverity scan. 2014-08-19 06:49:21 +00:00
martin
eee31b641f Remove duplicate fclose(), pointed out by coverity scan. 2014-08-19 06:47:15 +00:00