Re: I need help on installation
now that I try to boot from a Free BSD CD (7.2 release) the Intel chip gives me an error message that the system boot failed and asks me to insert a system disk which I do not have - are you sure that you have burned the 1st CD as a bootable ISO image? - have you checked the boot sequence in your BIOS and labeled to try your CD drive before your HD? - what type of an Intel chip is it? Do I have to install a boot loader like GRUB2? - actually this shouldn't be necessary since the 1st FBSD CD is bootable Oliver ___ 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
how does the C pre-processor interface with make?
Hey folks, I was wondering how the C pre-processor interfaces with make. Let's suppose that I have a little C program, something along the lines of: #include stdio.h int main() { #ifdef FOO fprintf(stdout, Hi, my name is foo.\n); #endif #ifdef BAR fprintf(stdout, Hi, my name is bar.\n); #endif fprintf(stdout, I am always here.\n); return(1-1); } It is easy to control the pre-processor in the above code by defining the respective terms or leaving them out, however, I am trying to control the conditionals from out of a makefile. This is essentially the way in which the kernel sources are compiled. Any suggestions? Thanks Oliver ___ 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: Sorting a device list
you can try to delete the /dev/ad10 entry with sed and then just append it to the end manually using the printf(1) utility like so: # ls /dev/ad* | sed s/\/dev\/ad10// | grep /dev/ad printf /dev/ad10\n Does that help? Oliver On Sun, Nov 29, 2009 at 6:56 AM, Peter Steele pste...@maxiscale.com wrote: I had tried that. It doesn't work: # ls -d1 /dev/ad* | sort -n /dev/ad10 /dev/ad4 /dev/ad6 /dev/ad8 I want the ad10 to appear last... -Original Message- From: Giorgos Keramidas [mailto:keram...@ceid.upatras.gr] Sent: Saturday, November 28, 2009 4:31 PM To: Peter Steele Cc: freebsd-questions@freebsd.org Subject: Re: Sorting a device list On Sat, 28 Nov 2009 11:48:18 -0600, Peter Steele pste...@maxiscale.com wrote: Can anyone recommend a quick and dirty way to sort a device list? For example, if I do this: ls /dev/ad* | sort I get something like this: /dev/ad10 /dev/ad4 /dev/ad6 /dev/ad8 Just use `sort -n': ls -d1 /dev/ad* | sort -n It should work fine even when there are non-numeric prefix strings. ___ 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 ___ 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: How to 'cross compile' to produce Linux binaries
http://www.freebsd.org/doc/en/articles/linux-emulation/index.html cheers, Oliver On Mon, Nov 23, 2009 at 12:57 AM, Lorin Lund w...@infowest.com wrote: Could someone point me to what to read to learn about building Linux executables under FreeBSD? ___ 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 ___ 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: FreeBSD crossover cable network
Got it, forcing the nics to up did the job here. I was quite surprised why it complained at all, as this has never happened to me on my regular network. Both of my cards make use of the rl(4) driver. Thanks again. Oliver ps: may the force be with you On Thu, Sep 24, 2009 at 3:27 PM, Steve Bertrand st...@ibctech.ca wrote: Steve Bertrand wrote: Oliver Mahmoudi wrote: Hi everybody, I am trying to set up a crossover cable network between two computers running FreeBSD 7.0. The network cards are configured and they work, i.e. I pinged myself and it works. However, when booting up the systems I always get the error message that the link status of my network cards has changed to down. Running `ifconfig` tells me that no carrier has been detected even though the cable ends are plugged in. What type of cards are they? I've noticed in the past that sometimes I had to manually force the cards to 'UP' prior to assigning any addresses to them: ... in /etc/rc.conf ifconfig_em6=up ifconfig_em6=inet6 2607:f118:1:2::/64 eui64 Try the up statement, and see if it helps after the next reboot. Steve ___ 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
FreeBSD crossover cable network
Hi everybody, I am trying to set up a crossover cable network between two computers running FreeBSD 7.0. The network cards are configured and they work, i.e. I pinged myself and it works. However, when booting up the systems I always get the error message that the link status of my network cards has changed to down. Running `ifconfig` tells me that no carrier has been detected even though the cable ends are plugged in. Any pointers on how to solve this one are welcome. Thanks Oliver ___ 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