Getting a new system to see an old disk

2003-12-18 Thread Paul Hoffman
94 # (Cyl. 112*- 144*) g: 75684008 23276324.2BSD 2048 1638489 # (Cyl. 144*- 4855*) What do I need to do to make the partitions of this new drive mountable? --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/m

portupgrade for binaries fails miserably, but not completely

2009-11-27 Thread Paul Hoffman
to the next package. It only got about 10% of the ports. Am I missing something obvious here? --Paul Hoffman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: portupgrade for binaries fails miserably, but not completely

2009-11-29 Thread Paul Hoffman
-a', having it stop regularly to prompt me for configuration settings. We'll see what happens when I go to 8. --Paul Hoffman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Why do I need a bunch of mappings for ld-elf.so in FreeBSD 8?

2009-12-07 Thread Paul Hoffman
Greetings. I upgraded a 7.2 system to 8.0 using 'freebsd-update install'. At some time during the process, I could no longer log in remotely because bash could not start due to /libexec/ld-elf.so not finding the right libraries. I added a bunch of lines to /etc/libmap.conf so that I could contin

Re: Why do I need a bunch of mappings for ld-elf.so in FreeBSD 8?

2009-12-08 Thread Paul Hoffman
At 11:05 AM +0100 12/8/09, Ruben de Groot wrote: >On Mon, Dec 07, 2009 at 05:35:47PM -0800, Paul Hoffman typed: > > Greetings. I upgraded a 7.2 system to 8.0 using 'freebsd-update install'. > > At some time during the process, I could no longer log ... >...snip... &

Suppressing "Limiting icmp unreach response" log messages

2008-03-27 Thread Paul Hoffman
How can I eliminate the "Limiting icmp unreach response" messages from getting to /var/log/messages or to the console? I have a spate of them that is causing log rollovers. I think I know the source of the problem, but need to get rid of the messages first. _

Finding exactly which commands, and in which order, rc is running at startup

2013-08-22 Thread Paul Hoffman
rand if I could say "tell me what you would do next time (dry run)", but "what did you do last time" is OK too. --Paul Hoffman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questi

Re: Finding exactly which commands, and in which order, rc is running at startup

2013-08-24 Thread Paul Hoffman
Thanks for all the suggestions. Of them, this was the one that helped me with my issue: On Aug 23, 2013, at 1:41 AM, Doug Hardie wrote: > You can add: > > rc_debug="YES" > > to /etc/rc.conf and that might give you what you need. According to the man > page it will "produces copious output t

Getting USB2 on FreeBSD 5.3?

2005-01-07 Thread Paul Hoffman
running on the add-in card and stomping on ehci0? I guess a related question is how can I tell what device umass0 thinks it is plugged into? --Paul Hoffman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: Getting USB2 on FreeBSD 5.3?

2005-01-08 Thread Paul Hoffman
At 9:00 PM -0500 1/7/05, John Wilson wrote: On Fri, 07 Jan 2005 16:32:31 -0800 Paul Hoffman <[EMAIL PROTECTED]> wrote: [...] da0: Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers [...] For what it's worth, I too am using ehci with a USB2 HD based MP3 player, and it is bei

How do I add a third ATA controller to 4.8?

2004-01-11 Thread Paul Hoffman
unction) ioconf.c:48: initializer element is not constant ioconf.c:48: (near initialization for `ata2_resources[1].u.longval') *** Error code 1 So, what am I supposed to add to the kernel to add this third controller? --Paul Hoffman ___ [EMAIL PRO

Re: How do I add a third ATA controller to 4.8?

2004-01-11 Thread Paul Hoffman
ted in the Dell's BIOS (I set it to "automatic" and on reboot the BIOS recognized its size correctly). --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: How do I add a third ATA controller to 4.8?

2004-01-12 Thread Paul Hoffman
cond IDE controller and later experiment with adding a third controller on the PCI bus. --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Total amount of memory in my system?

2004-01-26 Thread Paul Hoffman
Greetings again. I'm running 4.8 on a remote server. I want to know how much RAM is in the server. 'dmesg -a' doesn't tell me because the boot information has scrolled off the top of the stack. Short of rebooting the system, how can I find out how much RAM is built

Re: Total amount of memory in my system?

2004-01-27 Thread Paul Hoffman
At 10:17 PM -0800 1/26/04, James Long wrote: less /var/run/dmesg.boot Bingo. Thanks! I knew that they would keep that around somewhere... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send a

Disk no longer valid

2004-02-05 Thread Paul Hoffman
. dmesg still says: . . . da1s4: rejecting partition in BSD label: it isn't entirely within the slice da1s4: start 63, end 71132959, size 71132897 da1s4d: start 0, end 71132959, size 71132960 . . . but now I can access the disk fine. Can I fix the drive without losing the information on it? If so,

Migrating users and passwords from one system to another

2004-02-13 Thread Paul Hoffman
4.9 system, and want to have all the users set up on the new machine before I start rsyncing everything over so that the users and groups come out right. --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freeb

RE: Setting up a NAT without a firewall

2004-05-04 Thread Paul Hoffman
al interface. - If you get your external IP address from DHCP, you can use "0/32" as the target. This is very handy. --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Not needing the console for a system reload

2004-05-08 Thread Paul Hoffman
ardware probing. Is there a way to give a "shutdown now; ; exit" command from the command line if I'm logged in remotely? Or do I really need to use "reboot" and go through the whole hardware reinitialization? --Paul Hoffman __

Re: Not needing the console for a system reload

2004-05-08 Thread Paul Hoffman
kill for something that should be much simpler and hopefully not involve new hard ware. --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

FTP not using the users database?

2005-06-14 Thread Paul Hoffman
Hi again. I want to set up an FTP server that does *not* pay attention to the FreeBSD login user database. That is, I want the server to look in some database (probably text file) that I create that has usernames and passwords. I'm not worried about file permissions, assuming that the FTP serve

Installing over NetBSD

2003-01-19 Thread Paul Hoffman
Greetings. I have a box with NetBSD 1.6 on it that I want to turn into a FreeBSD box, while retaining the information in the user directories. Is this possible with the FreeBSD 4.7 install CD-ROM? That is, can I say during setup "don't reformat or re-partition, but just use the / and /usr that

A vi for /bin?

2003-01-25 Thread Paul Hoffman
dread the day that I can only mount / and not /usr and need to edit fstab or rc.conf, and have to use ed. (Just in case the answer is "no, you really can't do that", I have put a plain-text copy of the ed man page in /bin, but still...) --Paul Hoffman To Unsubscribe: send mail

RE: A vi for /bin?

2003-01-25 Thread Paul Hoffman
At 1:36 AM + 1/26/03, Petersen wrote: Paul Hoffman wrote: I'm kinda surprised this isn't in the FAQ (or at least not in a place that I could find it). It is really impossible to build a vi with no external dependencies that can be installed in /bin? What made you th

Re: A vi for /bin?

2003-01-25 Thread Paul Hoffman
Nice! e3 built from the ports collection linked statically automatically. e3 didn't work correctly on my console (it didn't recognize the Alt key), but e3vi worked fine and felt just like vi. Thanks! I now feel better about emergencies. --Paul Hoffman To Unsubscribe: send mail to [

Re: Which files and directories to backup?

2003-01-27 Thread Paul Hoffman
At 8:16 PM -0500 1/26/03, Francisco Reyes wrote: On Sun, 26 Jan 2003, Mike Meyer wrote: It's a bad idea to exclude fstab. Why? At one point I had it included and it actually clobered a working one and just caused much more headaches. You should still back it up; you just need to be more car

Re: Which files and directories to backup?

2003-01-27 Thread Paul Hoffman
At 4:18 PM -0500 1/27/03, Francisco Reyes wrote: On Mon, 27 Jan 2003, Paul Hoffman wrote: before I do a major upgrade. I then shove the backup offsite via ftp. I have not been sending the files out, but working on that. First will encryp the files with gpg (GNU privacy) and then will use scp

Safe to change the position of "local" in the path?

2003-02-04 Thread Paul Hoffman
earch path? --Paul Hoffman To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message

dhcpd subnets?

2003-02-07 Thread Paul Hoffman
ubnet a.b.c.158: bad subnet number/mask combination. subnet a.b.c.158 netmask 255.255.255.224 ^ Configuration file errors encountered -- exiting This is a valid subnet, and it works just fine for everything else. What is dhcpd wanting? --Paul Hoffman To Unsub

Re: dhcpd subnets?

2003-02-09 Thread Paul Hoffman
At 5:50 PM -0600 2/8/03, Daniel Schrock wrote: a.b.c.158 is the last usable address, not the network address. try a.b.c.128 instead, which is the network address for you /27. Er, right. I figured that out by playing with the subnet calculator at . To Unsubscribe: send

How important is CPU speed for a bridging NAT box?

2003-02-09 Thread Paul Hoffman
Greetings again. I'm about to set up a box that is dedicated as a bridging NAT and firewall. I was going to use an old P133 box I had laying around. Will this be fast enough for typical Internet access at 384Kbps if the box isn't doing anything else, or do I need a faster machin

USB hard drives?

2003-02-12 Thread Paul Hoffman
e for umass are in the kernel. However, I cannot write a disk label on the drive: # disklabel -w da0 auto disklabel: /dev/da0c: Device not configured How do I move forwards? --Paul Hoffman To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message

Compiling OpenSCEP under FreeBSD 4.7?

2003-03-02 Thread Paul Hoffman
Does anyone have experience with compiling OpenSCEP under 4.7? It compiles under NetBSD, but hangs under FreeBSD. I'd rather run it on a FreeBSD box. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message

Using different auth method for telnet?

2003-03-09 Thread Paul Hoffman
Hi again. On a test machine, I have changed the line in inetd.conf to something like: telnet stream tcp nowait root/usr/libexec/telnetd telnetd -a none -p /path/to/my-auth-program and I have hup'd inetd. However, when I try to telnet to this machine, I still go through the standard

Getting a specific value from netstat

2006-09-17 Thread Paul Hoffman
Greetings again. If I do a 'netstat -I em0 -b', I get: NameMtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll em01500 00:0e:0c:67:c8:04 93555198 0 2179562966 114493253 0 723565977 0 em01500 fe80:1::20e:c fe80:1::20e:cff:f

Re: Getting a specific value from netstat

2006-09-18 Thread Paul Hoffman
At 9:42 AM -0500 9/18/06, Dan Nelson wrote: In the last episode (Sep 17), Paul Hoffman said: > Greetings again. If I do a 'netstat -I em0 -b', I get: NameMtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll em01500 00:0e:0c:67:c

Making a mounted ISO image of a CD-ROM writable

2007-07-12 Thread Paul Hoffman
0 /dev/md0 /mnt However, when I try to create files on /mnt, I get: -su: boot.config: Read-only file system How do I make it so that I can write into /mnt so that I can then later save those back to the ISO image? --Paul Hoffman ___ freebsd-questions@f

Re: Making a mounted ISO image of a CD-ROM writable

2007-07-12 Thread Paul Hoffman
At 10:53 PM +0200 7/12/07, Roland Smith wrote: On Thu, Jul 12, 2007 at 12:38:10PM -0700, Paul Hoffman wrote: Greetings again. I want to make an ISO image of the FreeBSD distribution with a boot.config file that contains "/boot/loader -h". I have the ISO image as a file on my hard

Can't do an "make installworld"

2007-07-17 Thread Paul Hoffman
to do an 'make installworld'? What am I missing here? --Paul Hoffman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Can't do an "make installworld"

2007-07-17 Thread Paul Hoffman
At 5:38 PM -0500 7/17/07, Shaun Meyer wrote: On Tue, July 17, 2007 4:14 pm, Paul Hoffman wrote: Any help would be appreciated here. I'm on a clean 6.1-RELEASE sysem. I created /home/pxe. I cd'd to /usr/src. I gave 'make installworld DESTDIR=/home/pxe'. It ends with: . .

Re: Can't do an "make installworld"

2007-07-18 Thread Paul Hoffman
At 4:12 PM +1200 7/18/07, Jonathan Chen wrote: On Tue, Jul 17, 2007 at 03:49:02PM -0700, Paul Hoffman wrote: At 5:38 PM -0500 7/17/07, Shaun Meyer wrote: >On Tue, July 17, 2007 4:14 pm, Paul Hoffman wrote: >> Any help would be appreciated here. I'm on a clean 6.1-RELEASE sysem.

Creating an ext2 file system on FreeBSD?

2007-08-03 Thread Paul Hoffman
Hi again. Is there a FreeBSD equivalent of Linux's 'mke2fs'? I want to create a disk image that is in ext2 format. On Linux, I would do: dd if=/dev/zero of=some.img bs=1M count=1 seek=1024 /sbin/mke2fs -F -j some.img Can I do something similar on FreeBSD?

Monitoring CPU usage on multi-core system

2007-08-26 Thread Paul Hoffman
Hi again. On a dual-core system, how do I tell how much of each of the CPU cores are in use? Is the CPU usage in 'top' for the two CPUs at once? Is there something in ports (that works without X...) that will give good info? ___ freebsd-questions@free

What does an * in master.passwd (not passwd) mean?

2005-09-16 Thread Paul Hoffman
sbin/nologin . . . The man page for master.passwd and passwd say what an "*" in the second field means in passwd, but not in master.passwd. Any clues would be appreciated (and I will put in a documentation pr when I have an answer).

RE: What does an * in master.passwd (not passwd) mean?

2005-09-16 Thread Paul Hoffman
At 3:27 PM -0700 9/16/05, Chris St Denis wrote: It means an account that can not be logged in to. The in the hash algorithm used in master.password nothing encrypts to * so no possible password will ever match the encrypted value * thus locking out the account from login. Arrrgh. Whomever deci

Short HOWTO on reading a core to determine why my server is rebooting?

2007-06-04 Thread Paul Hoffman
, nothing in 'dmesg -a' in coming up that says anything interesting, and there's plenty of room on the drives. --Paul Hoffman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubs

Fast partial reboot?

2005-06-06 Thread Paul Hoffman
Greetings again. Under 5.x, is there a way to quickly reboot FreeBSD if I'm not sitting at the console? I want the equivalent of, if I were sitting at the console, 'shutdown now' followed by specifying '/bin/sh' followed by 'exit'. ___ freebsd-questio

Re: Fast partial reboot?

2005-06-06 Thread Paul Hoffman
At 10:02 AM -0500 6/6/05, Tim Erlin wrote: Sounds like you're looking for 'shutdown -r now' Nope. 'shutdown -r now' does a full reboot of the PC, which means re-loading the kernel and all the devices. That's quite a bit slower than 'shutdown now' and exiting the single-user shell. __

Laptop with PCcard ethernet: how to set up?

2003-03-29 Thread Paul Hoffman
I have a laptop with an Ethernet PCcard which comes up as "ep0". I want to use DHCP on it. My rc.conf has: pccard_enable="YES" pccard_ifconfig="YES" ifconfig_ep0="DHCP" The card comes up fine, but it doesn't get ifconfig'd. Do I need to add something else to rc.conf?

Re: Laptop with PCcard ethernet: how to set up?

2003-03-30 Thread Paul Hoffman
At 8:14 AM -0500 3/30/03, Dan Pelleg wrote: > I have a laptop with an Ethernet PCcard which comes up as "ep0". I want to use DHCP on it. My rc.conf has: pccard_enable="YES" pccard_ifconfig="YES" ifconfig_ep0="DHCP" The card comes up fine, but it doesn't get ifconfig'd. Do I need to add some

Best X configurator for laptops?

2003-03-30 Thread Paul Hoffman
Hi again. I have a Dell Inspiron 3500 laptop, now running 4.7. xf86cfg and xf86config both give (different) unusable results for my system. Which of the other X configurators in the ports collection seem to do a good job on laptops, if any? --Paul Hoffman

Re: Best X configurator for laptops?

2003-03-30 Thread Paul Hoffman
At 8:29 AM -0800 3/30/03, Nathan Kinkade wrote: On Sun, Mar 30, 2003 at 07:59:59AM -0800, Paul Hoffman wrote: Hi again. I have a Dell Inspiron 3500 laptop, now running 4.7. xf86cfg and xf86config both give (different) unusable results for my system. Which of the other X configurators in the

Smarter 'make buildkernel'?

2003-03-30 Thread Paul Hoffman
Hi again. Is there a way to get 'make buildkernel' in /usr/src to not rebuild things that it already compiled? I'm playing around on a not-very-fast laptop, and the rebuilds take forever. --Paul Hoffman ___ [EMAIL PROTECTED] ma

Re: Best X configurator for laptops?

2003-03-30 Thread Paul Hoffman
At 9:43 AM +0930 3/31/03, Greg 'groggy' Lehey wrote: > Thus, my quest for a better configuration... You're jumping to conclusions that it's the configurator. Turns out I wasn't. None of the configuration programs got me anywhere close. They either got the monitor wrong, the card wrong, the scre

Updating /usr/src after updating 4.7->4.8

2003-04-05 Thread Paul Hoffman
the proper way to bring /usr/src up to date so that I can make kernel mods? --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Updating /usr/src after updating 4.7->4.8

2003-04-05 Thread Paul Hoffman
At 9:56 PM -0500 4/5/03, taxman wrote: On Saturday 05 April 2003 09:26 pm, Paul Hoffman wrote: Greetings again. On a test machine, I upgraded from fairly vanilla 4.7 to 4.8 using CD-ROM and /stand/sysintall. At the beginning of the upgrade, it told me that it would not upgrade /usr/src. After

SSH login banner: IP address instead of DNS name

2003-06-30 Thread Paul Hoffman
Hi again. When I SSH into my 4.8 box, the first line of the banner is: Last login: Mon Jun 30 19:31:44 2003 from 15-characters-of-a-host-name That DNS name is truncated to 15 characters. I would much prefer an IP address. What do I need to change to get this? --Paul Hoffman

Re: SSH login banner: IP address instead of DNS name

2003-07-01 Thread Paul Hoffman
ted to 15 characters. I would much prefer an > IP address. What do I need to change to get this? > --Paul Hoffman Run sshd with the -u 15 option. You can do so by adding this line to /etc/rc.conf: sshd_flags="-u 15" Perfect, that's

Laptops as routers

2004-10-30 Thread Paul Hoffman
sure 64 MB and a 1gig hard drive would suffice. Are there any brands/models I should lean towards? Ones I should avoid? --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, s

Admin-visible differences between 4.10 and 5.3

2004-10-31 Thread Paul Hoffman
4 but want to start using 5 on new systems when 5.3 comes out, what do I need to know? --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Admin-visible differences between 4.10 and 5.3

2004-10-31 Thread Paul Hoffman
At 8:02 PM + 10/31/04, David Jenkins wrote: On Sun, 31 Oct 2004 10:49:07 -0700, Paul Hoffman <[EMAIL PROTECTED]> wrote: Greetings again. At one point, I think I heard that there was going to be a big change in the bootup (rc.foo) stuff in FreeBSD 5, but I don't see anything ab

Knoppix-like FreeBSD-on-a-CD?

2004-11-10 Thread Paul Hoffman
Sorry if I'm missing something obvious, but is there a FreeBSD-on-a-CD project similar to Knoppix for Linux? --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any ma

Want to use two PCCards on a laptop

2004-11-15 Thread Paul Hoffman
-build? Something in one of the config files that I haven't figured out? Something that is fixed in 5.3? Or... ? --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any ma

Re: Want to use two PCCards on a laptop

2004-11-15 Thread Paul Hoffman
At 12:03 PM +1030 11/16/04, Greg 'groggy' Lehey wrote: On Monday, 15 November 2004 at 17:02:40 -0800, Paul Hoffman wrote: Greetings again. I want to use a laptop as a router under 4.10. I have two PCcards that it recognizes, but when starting up, after connecting to the first card,

Re: Want to use two PCCards on a laptop

2004-11-15 Thread Paul Hoffman
At 12:28 PM +1030 11/16/04, Greg 'groggy' Lehey wrote: On Monday, 15 November 2004 at 17:45:42 -0800, Paul Hoffman wrote: At 12:03 PM +1030 11/16/04, Greg 'groggy' Lehey wrote: On Monday, 15 November 2004 at 17:02:40 -0800, Paul Hoffman wrote: Greetings again. I want to use

newsyslog not reading /ect/rc.conf arguments?

2010-05-05 Thread Paul Hoffman
Greetings again. Running FreeBSD 8.0, I have added the following to /etc/rc.conf: newsyslog_flags="-a /usr/old-log/" I have stopped and started newsyslog. However, the rotated logs are still being written into /var/log. No errors appear in /var/log/messages or in dmesg. Any clue

Re: newsyslog not reading /ect/rc.conf arguments?

2010-05-05 Thread Paul Hoffman
re, and you should be all set. Thanks, I see that now. This seems like a broken model: intial boot and later restarts uses arguments from /etc/rc.conf, but the periodic call does not. I don't think we want people modifying /etc/crontab, do we? Shouldn't /etc/crontab be

Python 3 from ports: alternate install?

2009-02-15 Thread Paul Hoffman
Greetings. I want to have both python 2.x and 3.0 on a FreeBSD 7.0 box. 2. I already installed 2.5.1 from ports; 'which python' reports /usr/local/bin/python, and one would hope. I would like to install python 3 as /usr/local/bin/python3 or somesuch; is that possible from ports? If not, I can p