Re: for awk experts only.

2008-11-30 Thread Giorgos Keramidas
On Sun, 30 Nov 2008 09:15:15 -0800, Gary Kline [EMAIL PROTECTED] wrote: On Sun, Nov 30, 2008 at 11:47:29AM +0200, Giorgos Keramidas wrote: Don't do this with a long stream of if/else/.../else blocks. AWK is a pattern based rule-language. You can apply different blocks of code to lines

Re: Regular Expression Help

2008-11-30 Thread Giorgos Keramidas
On Sun, 30 Nov 2008 09:14:53 -0800, Drew Tomlinson [EMAIL PROTECTED] wrote: I'm attempting to take an ldiff file and flip first/last name order. However I can not figure out how to match hyphenated last names. In vim, my current search/replace string is: %s/cn=\(\w\+\-*\) \(\w\+\),/cn=\2

Re: bootselector - lame question

2008-11-28 Thread Giorgos Keramidas
On Fri, 28 Nov 2008 11:19:13 +0100 (CET), Wojciech Puchar [EMAIL PROTECTED] wrote: sorry but while i use FreeBSD for a long time i need dual boot for the first time. i already have installed DOS in dospartition 1 (/dev/ad0s1) and FreeBSD on dospartition 2 slice a (/dev/ad0s2a) i can boot

Re: offline upgrade

2008-11-27 Thread Giorgos Keramidas
On Tue, 25 Nov 2008 14:03:33 -0800 (PST), gahn [EMAIL PROTECTED] wrote: Hi, All: I have two boxes running 6.3. For certain reasons that I can't upgrade them online with freebsd-update utility; the ftp sessions are blocked. Are there any other way to upgrade the system offline, both kernel

Re: FreeBSD-STABLE: How do I change my Local IP Address statically?

2008-11-24 Thread Giorgos Keramidas
On Mon, 24 Nov 2008 00:16:35 -0800, Mike Price [EMAIL PROTECTED] wrote: My IP Address on my FreeBSD Server 4.11-STABLE keeps changing. What I need to do is find the file or command to change it statically. Network configuration is saved in `/etc/rc.conf' in FreeBSD. Before you make any changes

Re: Segmentation fault (core dumped)

2008-11-22 Thread Giorgos Keramidas
On Sat, 22 Nov 2008 21:53:02 +0200, tethys ocean [EMAIL PROTECTED] wrote: I have no idea since any other people doing something but i dont know exactly according to their claim he doing some stuff with python for web and i suppose he want to restart apache Maybe it's a good idea to avoid

Re: ascii text format

2008-11-21 Thread Giorgos Keramidas
On Fri, 21 Nov 2008 10:49:16 +, pwn [EMAIL PROTECTED] wrote: algouth this is not a freebsd specific text, i need to format some texts under freebsd for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tabulation

Re: ascii text format

2008-11-21 Thread Giorgos Keramidas
On Fri, 21 Nov 2008 15:53:09 +, pwn [EMAIL PROTECTED] wrote: yes, i want that the text appears displayed such as manpages like, how can i accomplish this task? The manpages are written in groff. More specifically, they are written in a format that may be formatted by the `mdoc' macros of

Re: Wifi Card for laptop

2008-11-20 Thread Giorgos Keramidas
On Tue, 18 Nov 2008 15:55:35 +0100, Albert Shih [EMAIL PROTECTED] wrote: Hi all I would like to buy a PCMCIA card for my new laptop (because FreeBSD do not recognise my internal wifi AND RJ45 ethernet cardsh** windows say it's Broadcom netXtreme 57xx gigabit ). Hi Albert, If you can

Re: Apology

2008-11-20 Thread Giorgos Keramidas
On Tue, 18 Nov 2008 18:10:13 -0500, Gary Hartl [EMAIL PROTECTED] wrote: Sorry group I just realized I've been sending HTML emails to the group. Plain text now set. Stupid Outlook. It's not a *huge* deal, but _thanks_ for fixing that :D ___

Re: FreeBSD and hardware??

2008-11-20 Thread Giorgos Keramidas
On Tue, 18 Nov 2008 15:40:09 +0100, Manfred Usselmann [EMAIL PROTECTED] wrote: Just a small example, how limited Windows really is: Even today it is not possible to configure the standard interface of Windows XP (Luna) in any other color than blue, olive green and silver. LOL. Not to mention

Re: Free usenet nntp servers

2008-11-20 Thread Giorgos Keramidas
On Thu, 20 Nov 2008 10:33:48 +0800, Fbsd1 [EMAIL PROTECTED] wrote: In the past (alt.binaries.warez) contained monthly posts of a list of Free usenet nntp servers. I dont have access to a nntp server so I can't search foe the list. Does any one here know of a Free usenet nntp server I can

Re: Wifi Card for laptop

2008-11-20 Thread Giorgos Keramidas
On Fri, 21 Nov 2008 01:43:29 +0100, Albert Shih [EMAIL PROTECTED] wrote: First thanks you for you help In fact I make the wifi run by using wpi driver. That's nice, yes. The wpi(4) driver seems to support the chipset of your wlan adapter :) Running wihtout problem:

Re: Official FreeBSD Forums

2008-11-17 Thread Giorgos Keramidas
On Mon, 17 Nov 2008 07:29:42 +, Matthew Seaman [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: * Having five gazillion posts that say me too, is not exactly a productive answer to a problem. Alas, this is often what you get when you gather hundreds of _very_ inexperienced

Re: Official FreeBSD Forums

2008-11-17 Thread Giorgos Keramidas
On Mon, 17 Nov 2008 10:27:08 +0100 (CET), Wojciech Puchar [EMAIL PROTECTED] wrote: _large_ number of inexperienced people may result in a significantly lower signal/noise ratio. I can definitely agree to that. with 100:1 signal/noise ratio experienced people will start to leave the

Re: Official FreeBSD Forums

2008-11-17 Thread Giorgos Keramidas
On Mon, 17 Nov 2008 11:01:03 +0100 (CET), Wojciech Puchar [EMAIL PROTECTED] wrote: those who are not just less experienced but so brainless that they can't even sent a subscribing mail to mailing list they will not become experienced unix users ever. We can help as much as we can, by

Re: Official FreeBSD Forums

2008-11-16 Thread Giorgos Keramidas
On Sun, 16 Nov 2008 19:58:39 +0100 (CET), Wojciech Puchar [EMAIL PROTECTED] wrote: The FreeBSD project is finally, after much work, pleased to announce the availability of an official FreeBSD web based discussion forum. It is our hope that this forum will serve as a public support channel for

Re: how to create tbz package in freebsd

2008-11-10 Thread Giorgos Keramidas
On Mon, 10 Nov 2008 01:19:32 -0800 (PST), w_anup [EMAIL PROTECTED] wrote: hello All, i am newbie to freebsd , i want to create customize tbz package for free bsd , can anybody provide the procedure to create packages in free bsd, or any tutor will be helpful. The ``FreeBSD Ports'' framework

Re: scripting text replacement

2008-11-08 Thread Giorgos Keramidas
On Sat, 8 Nov 2008 19:43:52 +0100, bsd [EMAIL PROTECTED] wrote: Sorry for this cross posting, but I can not find a good bash mailing list… I am certain FreeBSD gurus will provide me with a fast and reliable answer to this little question. Here is the deal: - I have a file

Re: spell check - how to?

2008-11-06 Thread Giorgos Keramidas
On Thu, 06 Nov 2008 23:42:52 -0500, Eitan Adler [EMAIL PROTECTED] wrote: [cc to -questions as it might be a general question] Hi Eitan :-) I'm looking to do a full spell check/fix on the handbook. I found make spellcheck-txt which apparently removed certain items that would not go well

Re: irc usenet clients for xfce

2008-11-05 Thread Giorgos Keramidas
On Wed, 5 Nov 2008 22:38:03 +0800, [EMAIL PROTECTED] wrote: What irc, pop mail, and usenet clients from gmone or kde or x would you recommend to use on xfce? My setup is a bit `unusual' for those who like holistic approaches to the desktop, like GNOME and KDE, but I use GNU Emacs for email,

Re: Problems with FreeBSD

2008-11-04 Thread Giorgos Keramidas
On Tue, 4 Nov 2008 11:10:25 -0200, J MPZ [EMAIL PROTECTED] wrote: Hi Paul, When my connections freeze, I open the tcpdump in other terminal. If I type something, type Enter, on the terminal frozen, the tcpdump show packets, like that: 11:18:45.526256 IP (tos 0x0, ttl 51, id 651, offset 0,

Re: help with MY Book external drive

2008-11-04 Thread Giorgos Keramidas
On Tue, 4 Nov 2008 11:13:21 + (GMT), AN [EMAIL PROTECTED] wrote: I just purchased a WD MY Book external USB disk, I reformatted in UFS and created a filesystem with sysinstall. I was able to put data on it successfully, however overnite I had a power failure. Now I am unable to mount the

Re: source for dict?

2008-11-03 Thread Giorgos Keramidas
On Mon, 3 Nov 2008 17:39:26 -0800, Gary Kline [EMAIL PROTECTED] wrote: Is the source file/database for dict in ports? I *thought* I had it at one time. tia, Maybe. There are a few '*dict*' matches, but without more context it is a bit hard to really know which dict program you are looking

Re: Status line for text mode console

2008-10-30 Thread Giorgos Keramidas
On Thu, 30 Oct 2008 09:30:15 +0100, Polytropon [EMAIL PROTECTED] wrote: On Wed, 29 Oct 2008 23:10:02 -0700, Jeremy Chadwick [EMAIL PROTECTED] wrote: Sounds like something screen(1) offers. See sysutils/screen. Much too complicated. :-) I'm using screen on a daily basis to manage multiple SSH

Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system

2008-10-14 Thread Giorgos Keramidas
On Tue, 14 Oct 2008 15:35:31 +0300, Manolis Kiagias [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: Adding a few options in `loader.conf' should preload IPFW and DIVERT in the running kernel: ipfw_load=YES ipdivert_load=YES Then the rest of the `rc.conf' options described

Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system

2008-10-14 Thread Giorgos Keramidas
On Tue, 14 Oct 2008 14:40:01 +0300, Manolis Kiagias [EMAIL PROTECTED] wrote: Inspired by this discussion (and just replying to a random post) I tried for the first time to get a test machine as a gateway. I tried the handbook's instructions, here:

Re: bash script on FreeBSD

2008-10-08 Thread Giorgos Keramidas
On Wed, 08 Oct 2008 12:11:40 +0700, Kalpin Erlangga Silaen [EMAIL PROTECTED] wrote: Dear all, I am going to extract field username and UID from /etc/passwd and passed into some scripts. Let say I got line admin 100 admin2 200 admin3 300 admin4 400 and then I want to echoing into

Re: pf vs. RST attack question

2008-10-06 Thread Giorgos Keramidas
On Mon, 6 Oct 2008 02:07:04 -0700, Jeremy Chadwick [EMAIL PROTECTED] wrote: This is incredibly draconian. :-) I was trying my best to remain realistic. It's no such thing. This is the recommended standard practice when designing firewalls: always start from the premise that all traffic

Re: pf vs. RST attack question

2008-10-06 Thread Giorgos Keramidas
On Mon, 6 Oct 2008 04:51:01 -0700, Jeremy Chadwick [EMAIL PROTECTED] wrote: I run my laptop with a `pf.conf' that (putting most of the comments and other disabled rules for one-off tests aside) looks pretty much like: set block-policy drop set require-order yes set

Re: stupid xfce clock question

2008-10-06 Thread Giorgos Keramidas
On Mon, 06 Oct 2008 04:39:20 -0400, Aryeh M. Friedman [EMAIL PROTECTED] wrote: I work remotely with a company that is across the international date line from me and I can do the math in my head but want to know if it is possible to add a clock to my xfce panel that shows the time their (and

Re: pf vs. RST attack question

2008-10-06 Thread Giorgos Keramidas
On Mon, 6 Oct 2008 00:26:11 -0700, Jeremy Chadwick [EMAIL PROTECTED] wrote: On Mon, Oct 06, 2008 at 08:19:09AM +0100, Matthew Seaman wrote: block drop all looks fairly magical to me. Stick that at the top of your ruleset as your default policy, add more specific rules beneath it to allow the

Re: stupid xfce clock question

2008-10-06 Thread Giorgos Keramidas
On Mon, 06 Oct 2008 09:28:12 -0400, Aryeh M. Friedman [EMAIL PROTECTED] wrote: If you are using XFCE4 then you are reaping all the benefits of the freely available work of others. This style of subject is offensive to their efforts to provide a light-weight, beautiful, functional and fast

Re: pf vs. RST attack question

2008-10-06 Thread Giorgos Keramidas
On Mon, 6 Oct 2008 14:44:54 +0100, James Seward [EMAIL PROTECTED] wrote: On Mon, Oct 6, 2008 at 12:51 PM, Jeremy Chadwick [EMAIL PROTECTED] wrote: I've never gotten a definite answer as to what happens if you use flags S/SA on a rule that is for UDP, since UDP is a non-negotiated protocol.

Re: Segmentation fault when free

2008-09-21 Thread Giorgos Keramidas
On Sun, 21 Sep 2008 05:57:06 -0700 (PDT), Nash Nipples [EMAIL PROTECTED] wrote: thanks for making it even more clear to me. actually what i meant was this: void function(void){ char *p; p = malloc(1); } int main(void){ while (1){ function(); /* in the end of this function

Re: Segmentation fault when free

2008-09-21 Thread Giorgos Keramidas
On Mon, 22 Sep 2008 02:31:57 +0100, RW [EMAIL PROTECTED] wrote: Nash Nipples [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: char * function(void) { char buffer[100]; return buffer; } that is an easier approach because you get warned on passing

Re: Segmentation fault when free

2008-09-20 Thread Giorgos Keramidas
On Fri, 19 Sep 2008 20:03:03 -0700 (PDT), Unga [EMAIL PROTECTED] wrote: Hi thank you very much for your reply and the test case. That is, in a trivial case like this, free() works well. Hopefully free() works well in all cases too. But my main program is 1900 lines, f1() and f2() are in a

Re: Segmentation fault when free

2008-09-20 Thread Giorgos Keramidas
On Sat, 20 Sep 2008 00:31:41 -0700 (PDT), Unga [EMAIL PROTECTED] wrote: --- On Sat, 9/20/08, Giorgos Keramidas [EMAIL PROTECTED] wrote: You are probably calling free() multiple times for the same buffer. Try tracing the malloc and free calls, using the information from this message: http

Re: Segmentation fault when free [SOLVED]

2008-09-20 Thread Giorgos Keramidas
On Sat, 20 Sep 2008 07:04:03 -0700 (PDT), Unga [EMAIL PROTECTED] wrote: On Sat, 9/20/08, Giorgos Keramidas [EMAIL PROTECTED] wrote: : free(0xbfbfc9c9) 1. This clearly shows my program is trying to free a memory that has not been allocated. How it could have happened? Aha. This looks

Re: rsync colon in filename to MSWin fails

2008-09-19 Thread Giorgos Keramidas
On Fri, 19 Sep 2008 13:37:50 +0100, Anton Shterenlikht [EMAIL PROTECTED] wrote: I cannot trasfer a file with a colon via rsync to a Win box. I've rsync-3.0.4 on the FBSD (sending side) and rsync-2.6.9 under cygwin on Win (receiving side). I'm not sure what the error message means: % rsync

Re: How to split a C string by a string?

2008-09-17 Thread Giorgos Keramidas
On Wed, 17 Sep 2008 00:45:46 -0700 (PDT), Unga [EMAIL PROTECTED] wrote: Hi all I'm writing an C application on FreeBSD 7+. I need to split a string by another string (ie. the delimiter is xxx) similar to strtok split a string by a single char. Is there a standard function or is there a

Re: How to split a C string by a string?

2008-09-17 Thread Giorgos Keramidas
On Wed, 17 Sep 2008 06:32:56 -0700 (PDT), Unga [EMAIL PROTECTED] wrote: --- On Wed, 9/17/08, Giorgos Keramidas [EMAIL PROTECTED] wrote: From: Giorgos Keramidas [EMAIL PROTECTED] Subject: Re: How to split a C string by a string? To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date

Re: Disappearing Hard Drive?

2008-09-12 Thread Giorgos Keramidas
On Fri, 12 Sep 2008 17:40:20 -0700 (PDT), Richard Mahlerwein [EMAIL PROTECTED] wrote: I have a puzzling problem.  I'm sure I just missed something simple, but I can't figure out what. I added a drive to my system as Master on controller 2.   After turning back on, I found I couldn't see that

Re: Copying a FreeBSD install to a smaller disk

2008-09-11 Thread Giorgos Keramidas
On Thu, 11 Sep 2008 17:19:55 -0700, Chris Weiss [EMAIL PROTECTED] wrote: How would I go about copying an existing FreeBSD installation to a smaller disk? I've got a 3rd FreeBSD install I can boot from and store temporary files on, all the disks are in the same hardware, so there's no

Re: Copying a FreeBSD install to a smaller disk

2008-09-11 Thread Giorgos Keramidas
On Fri, 12 Sep 2008 04:55:36 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: [8] The final step was to chroot [...] [9] Finally, I checked the new `/etc/fstab' [...] Heh! Adding `one last final step' didn't really work very well in this case. I should have read the long message another time

Re: Postfix issue

2008-09-08 Thread Giorgos Keramidas
On Mon, 8 Sep 2008 02:47:47 -0700, David Southwell [EMAIL PROTECTED] wrote: Hi Could anyone tell me what entry I should make in postfix configuration files to bounce mails directed to [EMAIL PROTECTED] that emanate from a source outside my local network. Sorry to ask the question here but

Re: Postfix issue

2008-09-08 Thread Giorgos Keramidas
On Mon, 8 Sep 2008 04:33:14 -0700, David Southwell [EMAIL PROTECTED] wrote: On Monday 08 September 2008 03:57:11 you wrote: On Mon, 8 Sep 2008 02:47:47 -0700, David Southwell [EMAIL PROTECTED] wrote: Could anyone tell me what entry I should make in postfix configuration files to bounce mails

Re: Postfix issue

2008-09-08 Thread Giorgos Keramidas
On Mon, 8 Sep 2008 05:21:03 -0700, David Southwell [EMAIL PROTECTED] wrote: If the same protocol was applied to physical mail then we would not have been allowed to send letters unless we had a big building to send it from and all letters would have had to have had a big building sending

Re: how can i use ISO-8859-1??

2008-09-08 Thread Giorgos Keramidas
On Mon, 8 Sep 2008 21:35:07 -0700, Gary Kline [EMAIL PROTECTED] wrote: Guys, This is one of the I've-been-meaning-to-ask questions; but other things keep happening that took precedence. Now it's time to ask what are the voodoo commands to set up in my ~/.zshrc or other initiation files

Re: core manpages

2008-09-06 Thread Giorgos Keramidas
On Sat, 6 Sep 2008 12:38:57 -0400, Michael P. Soulier [EMAIL PROTECTED] wrote: Hello, I'm testing an upgrade of 5.5 - 6.3, so I installed 5.5 from an iso, and installed the minimal system. This minimal system is apparently without manpages for the basic commands, or perhaps the default

Re: changes to -CURRENT tty

2008-09-06 Thread Giorgos Keramidas
On Sat, 6 Sep 2008 16:05:15 -0400, Robert Huff [EMAIL PROTECTED] wrote: (Yes, I'm on current@ ... in digest mode. Besides others may be interested.) The 20080820 entry in /usr/src/UPDATING concerns a substantial change to the tty subsystem. Assuming I'm not trying anything fancy, and that

Re: How to delete non-ASCII chars in file

2008-09-05 Thread Giorgos Keramidas
On Fri, 5 Sep 2008 10:14:08 -0400, Mark B. [EMAIL PROTECTED] wrote: I have a text file that includes some non-ASCII characters For example, opening the file in vi shows lines like this: 'easth_0.541716776378' 0 \xe2\x80\x98dire' 2 Is there a command-line tool I can use to

Re: How to delete non-ASCII chars in file

2008-09-05 Thread Giorgos Keramidas
On Fri, 5 Sep 2008 12:27:12 -0400, Mark B. [EMAIL PROTECTED] wrote: On Fri, Sep 5, 2008 at 10:58 AM, Giorgos Keramidas [EMAIL PROTECTED] wrote: $ echo '^Fhello^F' | sed -e 's/[^[:print:]]*//' | hd 68 65 6c 6c 6f 06 0a |hello..| 0007 $ In case you

Re: cd and rm a directory with '^M'

2008-09-03 Thread Giorgos Keramidas
On Wed, 03 Sep 2008 18:51:11 -0700, Noah [EMAIL PROTECTED] wrote: Hi there, I had rsync create a directory with a '^M' in it. how do I rm -rf the directory? These are a few options: (1) In most shells, you can type a ^M character as part of a filename by prefixing the ^M character with

Re: dump/restore don't work, handbook lies

2008-09-01 Thread Giorgos Keramidas
On Mon, 1 Sep 2008 02:40:10 +0200 (CEST), Wojciech Puchar [EMAIL PROTECTED] wrote: Did you really run dump on a 'live' filesystem? The filesystem may be changing under the feet of dump, while it copies data. That is bound to cause trouble later on. but shouldn't make NO files restored,

Re: dump/restore don't work, handbook lies

2008-08-31 Thread Giorgos Keramidas
On Sun, 31 Aug 2008 17:03:53 -0600, Lloyd M Caldwell [EMAIL PROTECTED] wrote: Hello, this all on a 7.0 freebsd system. Dump/Restore do NOT work as indicated in the handbook (or man pages). It would be better to remove information from the handbook rather then have information that doesn't

Re: I can't make world without the games group?

2008-08-27 Thread Giorgos Keramidas
On Tue, 26 Aug 2008 13:20:31 -0400, Jerry McAllister [EMAIL PROTECTED] wrote: Making it easy to disable stuff in `src.conf' is sort of a middle-path approach. I can live with that for now. If someone else comes along and moves fortune(1) and the other src/games/ stuff in a port, I won't

Re: I can't make world without the games group?

2008-08-26 Thread Giorgos Keramidas
On Fri, 1 Aug 2008 17:31:22 +0200, Redd Vinylene [EMAIL PROTECTED] wrote: Why can't I make world without the games group? I run a serious server, not a kindergarten ;) I don't want the games group there, I just don't need it! Have you tried building with an src.conf file that includes:

Re: I can't make world without the games group?

2008-08-26 Thread Giorgos Keramidas
# Removing [EMAIL PROTECTED] from the recipient list. This isn't # really a thread about marketing or promoting FreeBSD, so it's a bit # off-topic for that list. On Tue, 26 Aug 2008 11:01:03 +0200, Redd Vinylene [EMAIL PROTECTED] wrote: On Sat, Aug 23, 2008 at 10:14 AM, Giorgos Keramidas wrote

Re: I can't make world without the games group?

2008-08-26 Thread Giorgos Keramidas
On Tue, 26 Aug 2008 16:26:36 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: # Removing [EMAIL PROTECTED] from the recipient list. This isn't # really a thread about marketing or promoting FreeBSD, so it's a bit # off-topic for that list. On Tue, 26 Aug 2008 11:01:03 +0200, Redd Vinylene

Re: I can't make world without the games group?

2008-08-26 Thread Giorgos Keramidas
On Tue, 26 Aug 2008 18:04:26 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: % -- % Making hierarchy % -- % cd /home/build/src; make -f Makefile.inc1 hierarchy % cd /home

Re: I can't make world without the games group?

2008-08-26 Thread Giorgos Keramidas
On Tue, 26 Aug 2008 17:29:48 +0200, Redd Vinylene [EMAIL PROTECTED] wrote: Ok, this may be a bug in the makefiles then. My apologies if you have already written all that. I caught the email thread some time after it started, and I replied while being offline on a trip. Welcome back, I hope

Re: I can't make world without the games group?

2008-08-26 Thread Giorgos Keramidas
On Tue, 26 Aug 2008 18:30:02 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: On Tue, 26 Aug 2008 18:04:26 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: % -- % Making hierarchy

Re: Format USB stick in FreeBSD

2008-08-20 Thread Giorgos Keramidas
On Wed, 20 Aug 2008 08:49:53 -0700 (PDT), Andrei Iarus [EMAIL PROTECTED] wrote: Hello, How can I format a USB stick in FreeBSD? The same way you can format any other disk. I usually format my USB sticks by creating a single da0s1 slice and then one (or more) BSD labels in that slice, by

Re: Shell scripts: variable assignment within read loops

2008-08-18 Thread Giorgos Keramidas
On Mon, 18 Aug 2008 14:33:05 +0200, Polytropon [EMAIL PROTECTED] wrote: As I thought while reading your message, awk seems to be a good solution. Just a note: On Mon, 18 Aug 2008 06:29:03 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: Would you be ok with an awk(1) script instead

Re: Sendmail email delays

2008-08-18 Thread Giorgos Keramidas
On Sun, 17 Aug 2008 04:36:11 -0600, Tom Stuart [EMAIL PROTECTED] wrote: I made the changes to rc.conf as suggested. Also below are the new diffs. firewall-1# diff freebsd.mc firewall-1.xxx.com.mc 77c77 dnl define(`SMART_HOST', `your.isp.mail.server') --- define(`SMART_HOST',

Re: Sendmail email delays

2008-08-17 Thread Giorgos Keramidas
On Sat, 16 Aug 2008 16:27:50 -0600, Tom Stuart [EMAIL PROTECTED] wrote: Here are my diffs for the files as requested. I'm thinking the actual issue may lay in my submit.mc configuration. Right now I have just the base file as I've tried editing it to no success so I changed it back to normal.

Re: Shell scripts: variable assignment within read loops

2008-08-17 Thread Giorgos Keramidas
On Sun, 17 Aug 2008 18:33:28 -0700, David Wolfskill [EMAIL PROTECTED] wrote: I am writing a (Bourne) shell script that is intended (among other things) to obtain information from a command, such as: netstat -nibd -f inet by reading and parsing the output. However, the obvious (to me)

Re: Sendmail email delays

2008-08-16 Thread Giorgos Keramidas
On Fri, 15 Aug 2008 18:49:39 -0600, Tom Stuart [EMAIL PROTECTED] wrote: I have tried doing the forwarding via /etc/mail/aliases and it worked identically as it was with the /root/.forward. The mail does go through but gets delayed 5+ minutes, however when I send mail interactively using mailx

Re: error allocating memory with realloc(). how can i increase max_allowed in the system?

2008-08-12 Thread Giorgos Keramidas
On Tue, 12 Aug 2008 17:02:43 +0200, Jordi Moles Blanco [EMAIL PROTECTED] wrote: Hi, i'm running a FreeBSD 7.0 amd64 machine and struggling with some C code i'm writing. I've had some trouble with this home-made script as it keeps crashing while launching a realloc() call. I narrowed down

Re: error allocating memory with realloc(). how can i increase max_allowed in the system? [solved]

2008-08-12 Thread Giorgos Keramidas
On Tue, 12 Aug 2008 18:22:21 +0200, Jordi Moles Blanco [EMAIL PROTECTED] wrote: Hello, thank you very much for your time and help, i had completely misunderstood how realloc() works. You are welcome, of course :-) ___ freebsd-questions@freebsd.org

Re: A few questions from a current linux user

2008-08-11 Thread Giorgos Keramidas
On Mon, 11 Aug 2008 04:15:07 -0700, Krishna Mohan Gundu [EMAIL PROTECTED] wrote: 2) Is it possible to compile multiple versions of gcc? If so what is the best way to do it? Yes, of course. The base system of FreeBSD includes _one_ version of gcc, installed as `/usr/bin/gcc', but this does

Re: Kernel compile R7.0 i386 GENERIC, fails

2008-08-11 Thread Giorgos Keramidas
On Mon, 11 Aug 2008 18:32:02 +0200 (MEST), Peter B [EMAIL PROTECTED] wrote: Extracted sources: sbase, srelease, ssys You also need scontrib (ACPI sources are there) component and maybe some others for successful build. btw, this is not a very usual (and a simple) way to make kernel. I

Re: Free wireless network (access point, router, transparent HTTP proxy setup)

2008-08-09 Thread Giorgos Keramidas
On Sat, 09 Aug 2008 13:54:04 +0200, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: Hello, fellow FreeBSD-ers! I'd like to a good neighbor and share my DSL line and set up an unencrypted free wireless access point. I often find myself wanting more free access points around the city, so I

Re: A few questions from a current linux user

2008-08-08 Thread Giorgos Keramidas
On Fri, 8 Aug 2008 07:01:14 +0200, Polytropon [EMAIL PROTECTED] wrote: On Thu, 7 Aug 2008 23:20:08 -0400, Krishna Mohan Gundu [EMAIL PROTECTED] wrote: 5) Does FreeBSD have support for PCMCIA-USB cards? Don't know. Yes. ___

Re: A few questions from a current linux user

2008-08-08 Thread Giorgos Keramidas
On Thu, 7 Aug 2008 23:20:08 -0400, Krishna Mohan Gundu [EMAIL PROTECTED] wrote: Hi, I am currently using Fedora Core 4 linux distribution for my everyday needs like programming, checking emails etc on my two year old HP laptop. I feel that time has come for me to move away from Fedora. I

Re: memory allocation with malloc

2008-08-05 Thread Giorgos Keramidas
On Tue, 5 Aug 2008 11:46:06 +0530, Shyamal Shukla [EMAIL PROTECTED] wrote: Hi All, I am trying to validate my understanding of how malloc works by means of the below C program which tries to corrupt essential information maintained by malloc for free() operation. The program allocates 4, 12

Re: memory allocation with malloc

2008-08-05 Thread Giorgos Keramidas
On Tue, 05 Aug 2008 09:58:40 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: On Tue, 5 Aug 2008 11:46:06 +0530, Shyamal Shukla [EMAIL PROTECTED] wrote: However, this does not happen. Can someone please correct my understanding and provide me with a reference to the working of malloc

Re: gemeral questions (noobish)

2008-08-04 Thread Giorgos Keramidas
On Sat, 2 Aug 2008 23:49:23 +0200, mcassar [EMAIL PROTECTED] wrote: thanks alot for that. i mean, apart from your general overview of freebsd (system, project and community), which gives me an idea how things are done, what's happeniing and where things are, you really put me at ease with

Re: gemeral questions (noobish)

2008-08-02 Thread Giorgos Keramidas
On Sat, 2 Aug 2008 18:32:53 +0200, mcassar [EMAIL PROTECTED] wrote: damn, thanks - I had mistaken stable to be what is release; i had come across the difference at some point but didn't realise when i tried cvsup (which i also mistook to be more recent than csup). First of all, a hearty

Re: setting the other end's TCP segment size

2008-07-31 Thread Giorgos Keramidas
On Thu, 31 Jul 2008 01:43:11 -0700, [EMAIL PROTECTED] wrote: You can edit `/etc/hostname.foo0' in the Sun too, and add something like: 192.168.1.10/24 mtu 640 [getting OT for FreeBSD] Are you sure that works as far back as SunOS 4.1.1? Ah! That will not work, you are right. When I

Re: own OS-Name

2008-07-31 Thread Giorgos Keramidas
On Thu, 31 Jul 2008 14:48:14 +0200, Markus Mueller [EMAIL PROTECTED] wrote: Bill Moran schrieb: In response to Markus Mueller [EMAIL PROTECTED]: I will create my own *BSD OS based on FreeBSD. How can I change the Name of this OS ? I mean, that in Logfiles, for example, of servers, which I

Re: setting the other end's TCP segment size

2008-07-30 Thread Giorgos Keramidas
On Wed, 30 Jul 2008 00:09:45 -0700, [EMAIL PROTECTED] wrote: Is there a simple way for a FreeBSD system to cause its peer to use a transmit segment size of, say, 640 bytes -- so that the peer will never try to send a packet larger than that? I'm trying to get around a network packet-size

Re: setting the other end's TCP segment size

2008-07-30 Thread Giorgos Keramidas
On Wed, 30 Jul 2008 16:20:06 -0500, Derek Ragona [EMAIL PROTECTED] wrote: At 11:04 PM 7/29/2008, [EMAIL PROTECTED] wrote: [TCP] splits traffic to 'segments' using its own logic ... Is there a simple way for a FreeBSD system to cause its peer to use a transmit segment size of, say, 640 bytes

Re: sendmail base configuration

2008-07-30 Thread Giorgos Keramidas
On Wed, 30 Jul 2008 12:08:11 -0700, Tim Traver [EMAIL PROTECTED] wrote: Hi all, I know this isn't exactly the right place for a sendmail question, but it has to do with the system configuration, and I'm trying to find some help to create a relatively simple solution (I think)... ok, here is

Re: sendmail base configuration

2008-07-30 Thread Giorgos Keramidas
On Wed, 30 Jul 2008 16:41:24 -0700, Tim Traver [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: Set the `SMART_HOST' option in your `custom-sendmail.mc' file. That should do it. I tried that, and regenerated the cf files using make all, and it still wants to use the MX record of the based

Re: own OS-Name

2008-07-30 Thread Giorgos Keramidas
On Thu, 31 Jul 2008 04:37:34 +0200, Markus Mueller [EMAIL PROTECTED] wrote: I will create my own *BSD OS based on FreeBSD. How can I change the Name of this OS ? I mean, that in Logfiles, for example, of servers, which I connect by sufing in the web and in application which locate the OS

Re: Two minor IPFW-related questions

2008-07-29 Thread Giorgos Keramidas
On Mon, 28 Jul 2008 20:48:09 -0700, Ronald F. Guilmette [EMAIL PROTECTED] wrote: On Mon, 28 Jul 2008 18:15:32 -0700, Ronald F. Guilmette [EMAIL PROTECTED] wrote: deny any to any in frag Is that actually a Good Thing To Do? Are there really no legitimate packate fragments out there

Re: setting the other end's TCP segment size

2008-07-29 Thread Giorgos Keramidas
On Wed, 30 Jul 2008 07:36:34 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: On Tue, 29 Jul 2008 21:04:53 -0700, [EMAIL PROTECTED] wrote: [TCP] splits traffic to 'segments' using its own logic ... Is there a simple way for a FreeBSD system to cause its peer to use a transmit segment size

Re: setting the other end's TCP segment size

2008-07-29 Thread Giorgos Keramidas
On Tue, 29 Jul 2008 21:04:53 -0700, [EMAIL PROTECTED] wrote: [TCP] splits traffic to 'segments' using its own logic ... Is there a simple way for a FreeBSD system to cause its peer to use a transmit segment size of, say, 640 bytes -- so that the peer will never try to send a packet larger

Re: Two minor IPFW-related questions

2008-07-28 Thread Giorgos Keramidas
On Mon, 28 Jul 2008 18:15:32 -0700, Ronald F. Guilmette [EMAIL PROTECTED] wrote: Just a couple of questions about IPFW-related things: 1) Somewhere the other day I read a recommendation... which looked rather official to me that the time... that all fragments should be firwalled out, e.g.

Re: malloc options

2008-07-27 Thread Giorgos Keramidas
losing money because of it. On Sun, 27 Jul 2008 05:03:58 +0300, Giorgos Keramidas [EMAIL PROTECTED] said: G While that's understandable, the current malloc() has undergone G quite extensive testing by Jason Evans and a lot of people who use G it in FreeBSD 7.X or later. Its ability to expose

Re: malloc options

2008-07-26 Thread Giorgos Keramidas
On Sat, 26 Jul 2008 17:36:35 -0700, Doug Hardie [EMAIL PROTECTED] wrote: On Jul 26, 2008, at 17:10, Kris Kennaway wrote: Firstly, if you did not recompile the program under 7.0 then it is not using the new malloc at all. It was recompiled. All there is on the system is new stuff. It was

Re: freebsd wireless question

2008-07-22 Thread Giorgos Keramidas
On Tue, 22 Jul 2008 17:49:01 -0700 (PDT), gahn [EMAIL PROTECTED] wrote: hello: i installed cisco aironet 802.11a/b/g wirless adapter on 6.3 and have some issues. basically it works like charm with wpa2/dhcp, but it doesn't work with wpa2/static ip address. here is my working configuration

Re: Very Beginning CVSup Questions

2008-07-21 Thread Giorgos Keramidas
On Mon, 21 Jul 2008 20:08:37 -0400, J.C. [EMAIL PROTECTED] wrote: I'm a beginner with FreeBSD and somewhat intermediate with Unix-like operating systems in general, so please bear the nature of my questions. I have some questions about CVSup that seem unclear from the handbook. Right now I'm

Re: DNS troubles

2008-07-21 Thread Giorgos Keramidas
On Mon, 21 Jul 2008 21:30:56 -0400, Jim [EMAIL PROTECTED] wrote: I'm trying to get a machine working, but it can't seem to handle DNS requests. I've just done a 7.0 install (from CD, usually I use net, but it wasn't connecting to anything, now I know why). I have a machine with two built in

Re: How to divide up?

2008-07-19 Thread Giorgos Keramidas
On Sat, 19 Jul 2008 17:23:48 -0700, Gary Kline [EMAIL PROTECTED] wrote: Guys, Is there an easyy way of splitting yp these tags into one-per-line? I'm not obcessive [[?, :)]], but for what I've got in mind, the tags and stuff would look better to my eyes? the outcome of this will go ino

Re: How to divide up?

2008-07-19 Thread Giorgos Keramidas
On Sun, 20 Jul 2008 03:44:07 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: Now, if you want to merely hack something quick and dirty, a short Perl script can probably do regexp substitution similar to # # WARNING: THIS HAS NOT BEEN TESTED :P # my $foo

Re: Wireless client won't associate to router with SSID not broadcast

2008-07-17 Thread Giorgos Keramidas
On Thu, 17 Jul 2008 06:28:42 -0400, Steven Friedrich [EMAIL PROTECTED] wrote: On Wednesday 16 July 2008 09:13:00 pm Giorgos Keramidas wrote: Note: The man page for wpa_supplicant.conf incorrectly states ap_scan values other than 1 are for other operating systems. Read /usr/share/examples

Re: Wireless client won't associate to router with SSID not broadcast

2008-07-17 Thread Giorgos Keramidas
On Thu, 17 Jul 2008 16:44:41 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: On Thu, 17 Jul 2008 06:28:42 -0400, Steven Friedrich [EMAIL PROTECTED] wrote: On Wednesday 16 July 2008 09:13:00 pm Giorgos Keramidas wrote: Note: The man page for wpa_supplicant.conf incorrectly states ap_scan

<    1   2   3   4   5   6   7   8   9   10   >