Re: switching from gnu make to bsd make

2011-02-10 Thread Polytropon
On Thu, 10 Feb 2011 09:32:06 +0200, Vikash Badal wrote: > Can someone please advise me as to how I switch the following lines of gnu > make to bsd make > > > $(OBJDIR)/%.o:${SRCDIR}/%.c > ${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@ It sems to work with BSD make, I've tried it.

RE: switching from gnu make to bsd make

2011-02-10 Thread Vikash Badal
> -Original Message- > From: Polytropon [mailto:free...@edvax.de] > Sent: 10 February 2011 10:11 AM > To: Vikash Badal > Cc: freebsd-questions@freebsd.org > Subject: Re: switching from gnu make to bsd make > > Of course, in my testing case OBJDIR and SRCDIR are > empty, and I didn't define

Re: Bad hard driver [SOLVED]

2011-02-10 Thread Daniel Zhelev
On Wed, Feb 9, 2011 at 10:44 PM, Michael Powell wrote: > Chuck Swiger wrote: > > > On Feb 9, 2011, at 11:15 AM, Daniel Zhelev wrote: > >> The following warning/error was logged by the smartd daemon: > >> > >> Device: /dev/ad7, 3 Offline uncorrectable sectors > > > > It means that the drive has det

Re: switching from gnu make to bsd make

2011-02-10 Thread J65nko
On Thu, Feb 10, 2011 at 8:32 AM, Vikash Badal wrote: > Can someone please advise me as to how I switch the following lines of gnu > make to bsd make > > > $(OBJDIR)/%.o:${SRCDIR}/%.c >        ${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@ > I use BSD make for XML and XSLT transformations, so I

Re: Bad hard driver [SOLVED]

2011-02-10 Thread Bruce Cran
On Thu, 10 Feb 2011 11:59:37 +0200 Daniel Zhelev wrote: > The last worrying thing is the > > 200 Multi_Zone_Error_Rate 0x0008 200 189 000Old_age > Offline >- 3 > > Which according to the Internet is some mysterious value that none > knows what it stands for, so is 3 of th

Portupgrade and "Updating the portsdb"

2011-02-10 Thread c0re
Hello all! I've got set of servers that uses NFS mounted /usr/ports. When I use "portupgrade samba" on 1st server it says [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid argument] [Updating the portsdb in /usr/ports ... - 22601 port entries found error] Remove and try again. [U

Re: VESA and SDL in tty terminal

2011-02-10 Thread Anonymous
David Demelier writes: > Hello, > > The SDL's pkg-message says we can use video driver in tty terminal. > > To do this you have to load the vesa kernel module or enable it in your > kernel, and set environment variable "SDL_VIDEODRIVER=vgl". > > I tried it with mplayer : > > $ SDL_VIDEODRIVER=v

Re: Portupgrade and "Updating the portsdb"

2011-02-10 Thread Daniel Bye
On Thu, Feb 10, 2011 at 04:33:17PM +0300, c0re wrote: > Hello all! > > I've got set of servers that uses NFS mounted /usr/ports. When I use > "portupgrade samba" on 1st server it says > [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid > argument] [Updating the portsdb in /usr/por

Re: Portupgrade and "Updating the portsdb"

2011-02-10 Thread Eduardo
Try to move these files out of the way (all INDEX files and pkgdb.db) /usr/ports/INDEX-* /var/db/pkg/pkgdb.db and run (it will take a while) portsdb -Uu as another option you can remove the files above and reinstall ruby and ruby-bdb on those servers. Are you running on version 7 or 8 ? are y

Re: Run your own portsnap mirror?

2011-02-10 Thread Lowell Gilbert
patrick writes: > Is there any official way to run a private portsnap mirror? ie. Have > one, external server fetch from the official portsnap sources, and > then internal servers pulling from the private mirror? It runs over pipelined HTTP, so all you need to do is set up a caching HTTP proxy,

Re: Bad hard driver [SOLVED]

2011-02-10 Thread Michael Powell
Daniel Zhelev wrote: [snip] > > The last worrying thing is the > > 200 Multi_Zone_Error_Rate 0x0008 200 189 000Old_age Offline >- 3 > > Which according to the Internet is some mysterious value that none knows > what it stands for, so is 3 of that mystery good? > Each

Re: Run your own portsnap mirror?

2011-02-10 Thread Rob Farmer
On Wed, Feb 9, 2011 at 2:56 PM, patrick wrote: > Is there any official way to run a private portsnap mirror? ie. Have > one, external server fetch from the official portsnap sources, and > then internal servers pulling from the private mirror? > ___ > fr

Re: Run your own portsnap mirror?

2011-02-10 Thread RW
On Thu, 10 Feb 2011 14:52:01 -0500 Lowell Gilbert wrote: > patrick writes: > > > Is there any official way to run a private portsnap mirror? ie. Have > > one, external server fetch from the official portsnap sources, and > > then internal servers pulling from the private mirror? > > It runs ov

Re: Run your own portsnap mirror?

2011-02-10 Thread Jason Helfman
On Thu, Feb 10, 2011 at 10:13:38PM +, RW thus spake: On Thu, 10 Feb 2011 14:52:01 -0500 Lowell Gilbert wrote: patrick writes: > Is there any official way to run a private portsnap mirror? ie. Have > one, external server fetch from the official portsnap sources, and > then internal server

how to add a few hundred ip on one interface?

2011-02-10 Thread Vladislav V. Prodan
only a shell script at startup? or there are other standard tools? Is there a limit on the number of IP on one interface? ## make aliases IP for i in 134 135 136 137 138 139 140 141 142 143 144 145 146 147 do ifconfig re0 xxx.xxx.yyy.$i/23 alias done for j in 134 135 136 137 138 139 140 141 142 1

Re: how to add a few hundred ip on one interface?

2011-02-10 Thread patrick
The standard way is to configure this in your /etc/rc.conf[.local]: ifconfig_re0="inet xxx.xxx.yyy.134 netmask 0xffnn" ifconfig_re0_alias0="inet xxx.xxx.yyy.135 netmask 0x" ifconfig_re0_alias1="inet xxx.xxx.yyy.136 netmask 0x" ... etc. You could make a script to generate the c

Re: switching from gnu make to bsd make

2011-02-10 Thread Robert Bonomi
> From: Vikash Badal > Date: Thu, 10 Feb 2011 11:30:02 +0200 > Subject: RE: switching from gnu make to bsd make > > > -Original Message- > > From: Polytropon [mailto:free...@edvax.de] Sent: 10 February 2011 10:11 > > AM To: Vikash Badal Cc: freebsd-questions@freebsd.org Subject: Re: > >

Re: how to add a few hundred ip on one interface?

2011-02-10 Thread Vladislav V. Prodan
11.02.2011 1:52, patrick wrote: > See http://www.freebsd.org/doc/en/books/faq/networking.html#ETHERNET-ALIASES > for more info. Note that aliases should have a netmask of 0x > (255.255.255.255). Much difference in the appointment of netmask /23 or /32 are not seen. # ifconfig re0 re0: fla

Recording from sound card

2011-02-10 Thread Robert Ames
I'm having problems trying to record from a sound card under 8.1-RELEASE. The last time I tried this was many releases ago, possibly 4.x-RELEASE. Back then I would do something like "cat /dev/dsp > file" but now when I try it I just end up with a 0 byte file. I'm using a different sound card th

[RELEASE] host-setup(1): a dialog(1)-based utility for configuring FreeBSD

2011-02-10 Thread Devin Teske
Hi All, I'd like to announce the release of a new script. A script that I've developed for our field engineers that I'd like to share with the rest of the world. http://druidbsd.sourceforge.net/download/host-setup.txt host-setup(1) is a dialog(1)-based utility (written in sh(1)) designed to make

Re: how to add a few hundred ip on one interface?

2011-02-10 Thread Matthew Seaman
On 10/02/2011 23:52, patrick wrote: > The standard way is to configure this in your /etc/rc.conf[.local]: > > ifconfig_re0="inet xxx.xxx.yyy.134 netmask 0xffnn" > ifconfig_re0_alias0="inet xxx.xxx.yyy.135 netmask 0x" > ifconfig_re0_alias1="inet xxx.xxx.yyy.136 netmask 0x" > ...