How to count the lines of code in a project?

2003-12-23 Thread Zhang Weiwu
Hello. How to count the number of lines in all *.c file in a directory? I can think of this on csh: grep -c `find . -name *.c` | sed s/.*:/e=e+/ /tmp/countlines.py And edit the py file, and e=0 as first line, print e as the last line, and execute the python script. wooo pretty cool for a

Re: Looking for laptop suggestions

2003-12-23 Thread Nelis Lamprecht
On Mon, 2003-12-22 at 20:54, Bill Moran wrote: We're looking to get a laptop for the business. Of course, we need to make sure it works with FreeBSD, but money is tight, so we're trying to find the best deal we can that we know will work. Does anyone have any suggestions on lower-cost

use vi style in all line-edit environment

2003-12-23 Thread Zhang Weiwu
I have been using vi all the time, even in csh I set bindkey -v to use vi style command-line edit. But when the context is switched to python, mysql, or scilab I have to warn myself not to type in vi style. Very often in mysql I mistyped something and try to type a x to correct it, or I press

Re: How to count the lines of code in a project?

2003-12-23 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote: Hello. How to count the number of lines in all *.c file in a directory? I can think of this on csh: grep -c `find . -name *.c` | sed s/.*:/e=e+/ /tmp/countlines.py And edit the py file, and e=0 as first line, print e as the last line, and execute the python script.

Must root be on slice 'a'?

2003-12-23 Thread Leif Neland
http://geodsoft.com/howto/dualboot/freebsd.htm writes this:To install a new FreeBSD system, you must create a new '/' file system at a minimum. If you do this in a slice with an existing '/' partition the previous system will become inaccessible. You can normally tell that there is a previous

Re: TTF fonts in XFree86

2003-12-23 Thread Gautam Gopalakrishnan
On Wed, Dec 24, 2003 at 09:07:18AM +0300, flux wrote: Hi everyone, I want to use TrueType font collection from MS Windows. I mounted my FAT32 partition on my FreeBSD box and copied all *.TTF files from C:\WINDOWS\Fonts to /usr/X11R6/lib/X11/fonts/TTF/ directory. Then I added the following

doubts

2003-12-23 Thread manish gautam
Hello sir ! I have some very silly problems using freebsd 4.7. 1. How to enable telnet service in freebsd 4.7 ? 2. How to use ethereal to capture network packet on freebsd 4.7 ? please reply me soon. Thanking you manish gautam B.E computers pune (India) Yahoo! India Mobile:

/usr/home directory

2003-12-23 Thread flux
Maybe kinda strange question, but... Why users' home directory located in /usr by default, not in root directory unlike Linux? Any ideas? -- Best regards, flux mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list

Re: How to count the lines of code in a project?

2003-12-23 Thread Jan Grant
On Tue, 23 Dec 2003, Zhang Weiwu wrote: Hello. How to count the number of lines in all *.c file in a directory? I can think of this on csh: grep -c `find . -name *.c` | sed s/.*:/e=e+/ /tmp/countlines.py And edit the py file, and e=0 as first line, print e as the last line, and

Re: use vi style in all line-edit environment

2003-12-23 Thread Jan Grant
On Tue, 23 Dec 2003, Zhang Weiwu wrote: I have been using vi all the time, even in csh I set bindkey -v to use vi style command-line edit. But when the context is switched to python, mysql, or scilab I have to warn myself not to type in vi style. Very often in mysql I mistyped something and

Re: Mouse, ACPI, Award Bios and PR 55473

2003-12-23 Thread Ion-Mihai Tetcu
On Mon, 22 Dec 2003 20:49:31 -0500 Brian Black [EMAIL PROTECTED] wrote: Hi, I have had to deal with this bug sine the new 5.x series. I have not been able to get a good working copp running. I was wondering if anyone has a solution for this or if someone is working on the issue. I

Re: /usr/home directory

2003-12-23 Thread Jan Grant
On Wed, 24 Dec 2003, flux wrote: Maybe kinda strange question, but... Why users' home directory located in /usr by default, not in root directory unlike Linux? Any ideas? Hysterical raisins. Amongst other things, /home was often given to the automounter so people's home directories could

doubts

2003-12-23 Thread manish gautam
Hello sir ! I have some very silly problems using freebsd 4.7. 1. How to enable telnet service in freebsd 4.7 ? 2. How to use ethereal to capture network packet on freebsd 4.7 ? please reply me soon. Thanking you manish gautam B.E computers pune (India) Yahoo! India Mobile:

Re: 5.2-rc1 Install and USB mouse problems

2003-12-23 Thread Lars Köller
In reply to Doug White who wrote: Hmm, I don't really understand that, cause the downloaded image burn to a cdrw don't boot. If I use the same cd and rerecord it with mkisofs -b /cdrom/floppies/boot.flp /cdrom Ah, so the controller isn't picking up non-emulated cds. If its a separate

Re: Routing to External IPs from Internal IPs

2003-12-23 Thread Matthew Seaman
On Mon, Dec 22, 2003 at 06:07:24PM -0800, Jason C. Wells wrote: I would like to be able to set the DNS settings for my internal network to 209.20.215.30 and 209.20.215.31. The internal network is addressed as 192.168.1/24. How can I route from the internal addresses, through the internal

enabling telnet service and capturing packets with ethereal ( was Re: doubts )

2003-12-23 Thread Nelis Lamprecht
for a better response from the mail list in future I suggest you use a subject that is more descriptive of your message. On Tue, 2003-12-23 at 12:01, manish gautam wrote: Hello sir ! I have some very silly problems using freebsd 4.7. 1. How to enable telnet service in freebsd 4.7 ? read

Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-23 Thread Matthew Seaman
On Tue, Dec 23, 2003 at 01:32:07AM -0500, Peter Leftwich wrote: What should a user do if their, uhm, /usr/libexec/ld-elf.so.1 file is missing on 4.7-RELEASE? Can said user `touch /usr/libexec/ld-elf.so.1` as a decent fix? Or mount their drive from another OS and copy over a friend's or a

Re: TTF fonts in XFree86

2003-12-23 Thread Malcolm Kay
On Wed, 24 Dec 2003 16:37, flux wrote: Hi everyone, You seem to be a day ahead of the rest of us! I want to use TrueType font collection from MS Windows. I mounted my FAT32 partition on my FreeBSD box and copied all *.TTF files from C:\WINDOWS\Fonts to /usr/X11R6/lib/X11/fonts/TTF/

Re: Mouse, ACPI, Award Bios and PR 55473

2003-12-23 Thread Dan Strick
On Tue, 23 Dec 2003, Ion-Mihai Tetcu [EMAIL PROTECTED] wrote: On Mon, 22 Dec 2003 20:49:31 -0500 Brian Black [EMAIL PROTECTED] wrote: Hi, I have had to deal with this bug sine the new 5.x series. I have not been able to get a good working copp running. I was wondering if anyone

Re: Mouse, ACPI, Award Bios and PR 55473

2003-12-23 Thread Ion-Mihai Tetcu
On Tue, 23 Dec 2003 02:51:22 -0800 (PST) Dan Strick [EMAIL PROTECTED] wrote: On Tue, 23 Dec 2003, Ion-Mihai Tetcu [EMAIL PROTECTED] wrote: On Mon, 22 Dec 2003 20:49:31 -0500 Brian Black [EMAIL PROTECTED] wrote: Hi, I have had to deal with this bug sine the new 5.x series. I

Re: doubts

2003-12-23 Thread Dirk-Willem van Gulik
On Tue, 23 Dec 2003, manish gautam wrote: 1. How to enable telnet service in freebsd 4.7 ? You may want to look at 'ssh' - it is used in the same way as telnet; i.e. 'ssh hostname' and is more secure. For telnet; edit /etc/inetd.conf - and uncomment the line with telnet (remvoe the #) and

Re: /usr/home directory

2003-12-23 Thread Markus Kovero
Because theyre supposed to be there? root partition should be small, easy to reinstall and backup its really only for kernel, init and configs. If you havent noticed /usr is always the biggest one and therefore home should be there, usr comes imo from users and isnt users/home quite logic place?

Re: codeweavers crossover office

2003-12-23 Thread dick hoogendijk
On Mon, 22 Dec 2003 06:48:22 -0500 Dan Pelleg [EMAIL PROTECTED] wrote: dick hoogendijk [EMAIL PROTECTED] writes: Does anybody run Codeweavers crossover Office on FreeBSD? I know it rusnb very well on linux and would like to run it on fbsd too(if at all possible). If it is possible, can

gdm crashes on 5.1

2003-12-23 Thread Jakob Breivik Grimstveit
System: FreeBSD bgjgrimstveit.starshipping.com 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Thu Dec 18 10:59:46 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/bgjgrimstveit i386 Installed gnome2, XFree86-4 using ports. Copied /usr/X11R6/etc/rc.d/gdm.sh.sample - /usr/X11R6/etc/rc.d/gdm.sh

RE: replacing named 8 with 9

2003-12-23 Thread Sunil Sunder Raj
Hi, 1) Install Bind 9 2) Make secret keys using rndcontrol a) grep -i irq /var/run/dmesg.boot choose IRQ's that have a lot of interrupts. b) Run # rndcontrol -s IRQ for each choosen interrupt. c) add it to rc.conf to enable after reboot rand_irqs=3

Re: gdm crashes on 5.1

2003-12-23 Thread Jakob Breivik Grimstveit
On Tue, 2003-12-23 at 14:08, Jakob Breivik Grimstveit wrote: When booting system, it crashes after blinking several times just before showing login screen (gray gui is being shown a little second). Ah, and gdm config is here: url: http://www.starshipping.com/~jakobbg/gdm.conf -- Jakob

Re: TTF fonts in XFree86

2003-12-23 Thread peter lageotakes
I believe its the xset command. You have to have x search its database for the new fonts. http://www.icewalkers.com/Linux/Howto/Font-HOWTO/xfonts.html xset fp rehash The above should do the trick for you. Pete --- flux [EMAIL PROTECTED] wrote: Hi everyone, I want to use TrueType font

Re: TTF fonts in XFree86

2003-12-23 Thread peter lageotakes
--- peter lageotakes [EMAIL PROTECTED] wrote: I believe its the xset command. You have to have x search its database for the new fonts. http://www.icewalkers.com/Linux/Howto/Font-HOWTO/xfonts.html xset fp rehash The above should do the trick for you. Pete Sorry, forgot to mention

Re: kern.maxfiles limit exceeded: what to investigate?

2003-12-23 Thread Lowell Gilbert
paul beard [EMAIL PROTECTED] writes: Since UID 80 would be the httpd process, I suppose looking into process-specific resource issues is next. I am running Apache 1.3.29. Not necessarily. TCP port 80 is held by httpd, but it isn't necessarily user ID 80. Look at the passwd file to figure out

RE: ipfw2

2003-12-23 Thread Lee Dilkie
From man ipfw --- src and dst: {addr | { addr or ... }} [[not] ports] addr: [not] {any | me | addr-list | addr-set} addr-set: addr[/masklen]{list} list: {num | num-num}[,list] --- I think that it's right: ipfw 1000 add permit all from 192.168.1.1/24{3,5,9} to any but I see follwing:

ACARD ATP 867 (AEC-6885) card

2003-12-23 Thread Egorov Roman
I have ACARD ATP 867 (AEC-6885) card. How i can install freebsd ? Installer can not see hdd ? What to do ? Egorov Roman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL

Re: Must root be on slice 'a'?

2003-12-23 Thread Harald Schmalzbauer
On Monday 22 December 2003 17:27, Leif Neland wrote: http://geodsoft.com/howto/dualboot/freebsd.htm writes this:To install a new FreeBSD system, you must create a new '/' file system at a minimum. If you do this in a slice with an existing '/' partition the previous system will become

Re: kazaa client

2003-12-23 Thread Scott I. Remick
On Tue, 23 Dec 2003 04:08:55 +0200, Anton Alin-Adrian wrote: Thanks. Seems I am going to develop a GTK UI for fasttrack ;P Hmm maybe as an easier start, someone can add giFToxic to the FreeBSD ports collection? http://giftoxic.sourceforge.net/ Porting is currently outside my own abilities.

Re: Must root be on slice 'a'?

2003-12-23 Thread Leif Neland
On Tue, 23 Dec 2003, Harald Schmalzbauer wrote: On Monday 22 December 2003 17:27, Leif Neland wrote: Does this imply that I must rename my slices, that I can't boot from /dev/ad1s3e ? Right. Root always must be label a. You don't have to change slices. But you can compile something

IPFW Rule set question...

2003-12-23 Thread Drew Robertson
Hi everyone, Thanks to those who take the time to read and reply to these emails. I have a strange issue regarding my firewall (IPFW)... I have enabled SSH, TELNET and FTP on my freeBSD 4.8 box at home... it is dual homed, 2 NICs one for the internal LAN one running my cable modem.

Apacer USB Flash drive

2003-12-23 Thread Olga Zenkova
Hi! Can't mount Apacer USB Flash drive in FreeBSD 4.8. When I do: mount -t msdos /dev/da0s1 /mnt I get: msdos: /dev/da0s1: Input/output error Can I fix this bug somehow? Thanks, Olga __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing.

Re: Looking for laptop suggestions

2003-12-23 Thread Bill Moran
Nelis Lamprecht wrote: On Mon, 2003-12-22 at 20:54, Bill Moran wrote: We're looking to get a laptop for the business. Of course, we need to make sure it works with FreeBSD, but money is tight, so we're trying to find the best deal we can that we know will work. Does anyone have any suggestions

Re: Apacer USB Flash drive

2003-12-23 Thread Gautam Gopalakrishnan
On Tue, Dec 23, 2003 at 06:19:50AM -0800, Olga Zenkova wrote: Hi! Can't mount Apacer USB Flash drive in FreeBSD 4.8. When I do: mount -t msdos /dev/da0s1 /mnt I get: msdos: /dev/da0s1: Input/output error My guess is that you have not formatted it first? (newfs_msdos /dev/da0s1)

Re: Mouse, ACPI, Award Bios and PR 55473

2003-12-23 Thread Robert Watson
On Tue, 23 Dec 2003, Ion-Mihai Tetcu wrote: Are you sure you mean 5.1RC1 (and not 5.2-RC1)? This bug (PR 55473) was definitely present in 5.1-release and I have seen reports that it was still present in 5.1-current within the last few months. Sory, it is 5.1RC2. If you're really sure

Re: /usr/home directory

2003-12-23 Thread Eric Rivas
On Wed, 24 Dec 2003 12:37:41 +0300 flux [EMAIL PROTECTED] wrote: Maybe kinda strange question, but... Why users' home directory located in /usr by default, not in root directory unlike Linux? Any ideas? It used to be in /, but then most people had a hard time partitioning when deciding how

fbsd4.9 sendmail

2003-12-23 Thread Feroz F. Basir
Hi, Anybody ever setup smart host using sendmail before? This is on fbsd4.9. I edit sendmail.cf file and edit line: DSmail.domain.com Restart sendmail and nothing happen. I keep getting (host map: lookup (domain.com): deferred) error. Do I need to do anything? I try on other unix system and I

Straightening out perl

2003-12-23 Thread Scott I. Remick
Maybe this belongs in the -ports list... I dunno. Anyways, saw a few messages recently that prompted me to check my perl situation: su-2.05b# pkg_info | grep perl- perl-5.6.1_15 Practical Extraction and Report Language perl-5.8.2_2Practical Extraction and Report Language And

Re: ipfw2

2003-12-23 Thread Matthew Seaman
On Tue, Dec 23, 2003 at 08:51:57AM -0500, Lee Dilkie wrote: I think that it's right: ipfw 1000 add permit all from 192.168.1.1/24{3,5,9} to any but I see follwing: ipfw: bad width ``243'' 192.168.1.1/24{3,5,9} translates to 192.168.1.1/243, 192.168.1.1/245 or 192.168.1.1/249. Uh,

Re: fbsd4.9 sendmail

2003-12-23 Thread Matthew Seaman
On Tue, Dec 23, 2003 at 03:27:00PM +, Feroz F. Basir wrote: Hi, Anybody ever setup smart host using sendmail before? This is on fbsd4.9. I edit sendmail.cf file and edit line: DSmail.domain.com It's better to edit the `hostname`.mc file and then process that into a sendmail.cf

Re: Straightening out perl

2003-12-23 Thread Matthew Seaman
On Tue, Dec 23, 2003 at 10:35:09AM -0500, Scott I. Remick wrote: One option would be to do a pkg_delete -f on 5.6 then use portdb -F to fix the dependencies. Not sure if that's enough or if I need to rebuild. And if I need to rebuild the dependencies, how could I easily handle the list in

Re: fbsd4.9 sendmail

2003-12-23 Thread Feroz F. Basir
Hi, My mail server is within my LAN and we dont have/use DNS server. Why sendmail want to resolve domain.com? I thought using smart host will tranfer all mails to our mail.domain.com machine. I just use /etc/hosts file to resolve mail.domain.com to ip. Do I need to setup DNS server under fbsd4.9

grep, netstat, and bridging

2003-12-23 Thread Dave McCammon
I this a feature, bug, or just some logical thing that grep does( or perhaps netstat)? Scenario: IP addresses comp1=xx.xx.xx.1 comp2=xx.xx.xx.6 comp3=xx.xx.xx.12 comp1 and comp3 run FBSD 4.9 stable comp2 runs FBSD 5.1-RELEASE comp1 is a bridging firewall using ipfw A: comp2# netstat -n |grep

Re: fbsd4.9 sendmail

2003-12-23 Thread Olaf Hoyer
On Tue, 23 Dec 2003, Feroz F. Basir wrote: Hi, My mail server is within my LAN and we dont have/use DNS server. Why sendmail want to resolve domain.com? I thought using smart host will tranfer all mails to our mail.domain.com machine. I just use /etc/hosts file to resolve mail.domain.com

NAT Redirect Ext address to multiple Int IPs on single machine

2003-12-23 Thread Jack L. Stone
On my own servers which are all FBSD machines, I use the classic method of redirecting an IP address from a Gateway machine to a main host and its vhosts located on an Internal Machine like so: redirect_address 192.168.0.5 123.xxx.xxx.101 -- main host ...then Apache sends any requests to a vhost

Re: FreeBSD 5.1 PowerPak Installation problem

2003-12-23 Thread Admin
Hi Ion-Mihai, Thank you very much for the support you have provided. Wish you a merry xmas and a very happy new year. I will be in touch in the new year. Best Regards Gurdial Chandra Sycos AES - Original Message - From: Ion-Mihai Tetcu [EMAIL PROTECTED] To: Admin [EMAIL PROTECTED]

Re: fbsd4.9 sendmail

2003-12-23 Thread Chuck Swiger
Feroz F. Basir wrote: My mail server is within my LAN and we dont have/use DNS server. Why sendmail want to resolve domain.com? Sendmail is trying to perform an MX lookup of domain.com, and then will fall back to using an A record (or the /etc/hosts file) if that fails. Do I need to setup DNS

Re: gdm crashes on 5.1

2003-12-23 Thread Joe Marcus Clarke
On Tue, 2003-12-23 at 08:12, Jakob Breivik Grimstveit wrote: On Tue, 2003-12-23 at 14:08, Jakob Breivik Grimstveit wrote: When booting system, it crashes after blinking several times just before showing login screen (gray gui is being shown a little second). Ah, and gdm config is here:

Question about static libraries and compression

2003-12-23 Thread Daniela
I have a problem with linking: When I invoke make, I always give it the -DNOSTATIC option on the commandline to save space. However, this doesn't work. My system still builds static libraries. Or are the binaries linked dynamically, and the static libs are there for nothing? I guess it's safe

Re: fbsd4.9 sendmail

2003-12-23 Thread Feroz F. Basir
HI again, Thank everybody for giving me some feedback. I got it to work at last. I created /etc/mail/service.switch and put hosts files. Edit my sendmail.cf again and uncomment line to use service.switch file. wow lots of email being sent at once. # service switch file (name hardwired on

Re: kazaa client

2003-12-23 Thread Jim Ramsay
Scott I. Remick wrote: On Tue, 23 Dec 2003 04:08:55 +0200, Anton Alin-Adrian wrote: Thanks. Seems I am going to develop a GTK UI for fasttrack ;P Hmm maybe as an easier start, someone can add giFToxic to the FreeBSD ports collection? http://giftoxic.sourceforge.net/ Porting is currently

Re: Must root be on slice 'a'?

2003-12-23 Thread Garance A Drosihn
At 5:27 PM +0100 12/22/03, Leif Neland wrote: Does this imply that I must rename my slices, that I can't boot from /dev/ad1s3e ? It is possible to boot from other slices than 'a', but you want to do automatic boot-ups (ie, without needing to type commands into the boot loader), you will find it

Re: Must root be on slice 'a'?

2003-12-23 Thread Jerry McAllister
At 5:27 PM +0100 12/22/03, Leif Neland wrote: Does this imply that I must rename my slices, that I can't boot from /dev/ad1s3e ? It is possible to boot from other slices than 'a', but you want to do automatic boot-ups (ie, without needing to type commands into the boot loader), you

Re: Question about static libraries and compression

2003-12-23 Thread Daniela
On Tuesday 23 December 2003 17:44, User wrote: Hi, To be honest, I don't really know about the static libraries question. But other then that, when you install FreeBSD, and choose for the smallest configuration possible during the installation, are you taking up more then 700 MB of space

Soundcard query

2003-12-23 Thread Mike Woods
Does anyone know of any soundcards with multiple line level inputs (and i dont mean on a breakout box) and support under freebsd ? Mike Woods IT Technician ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: December, 2003 Answerman column.

2003-12-23 Thread Lowell Gilbert
Gary Kline [EMAIL PROTECTED] writes: This month's Answerman column lives at http://www.thought.org/dec03.html There are several new topics and our standard year-end archive. A few nice discussions for newbies, but the advice on C programming is rather weak...

error in port

2003-12-23 Thread Dino Vliet
I'm getting an error when doing a make install clean in the gnucash 1.8.5 port under freebsd 4.9. The make prcess stops with the following command: .. ./src/gdevl256.c:307: warning: implicit declaration of function 'gl_line' gmake: ** [obj/gdvel256.o] Error 1 *** Error code 2 Stop in

Re: kazaa client

2003-12-23 Thread Robert Huff
Jim Ramsay writes: Porting is currently outside my own abilities. I'd love to do this, but I don't know enough about how to create a port. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html Robert Huff

Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-23 Thread Peter Leftwich
Matthew Seaman [EMAIL PROTECTED] kindly transmitted: On Tue, Dec 23, 2003 at 01:32:07AM -0500, Peter Leftwich wrote: What should a user do if their, uhm, /usr/libexec/ld-elf.so.1 file is missing on 4.7-RELEASE? Can said user `touch /usr/libexec/ld-elf.so.1` as a decent fix? Or mount their

what is diff between pkg_delete make deinstall

2003-12-23 Thread fbsd_user
I see that pkg_delete will delete an port as well as an package. Does pkg_delete do the same thing as the make deinstall command? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Re: Dual-boot does not work with GRUB

2003-12-23 Thread Jaroslaw Nozderko
Hi Jud, Tillman, Bill, On Mon, 22 Dec 2003 18:58:16 -0600, Tillman Hodgson [EMAIL PROTECTED] wrote: On Tue, Dec 23, 2003 at 01:52:46AM +0100, Jaroslaw Nozderko wrote: I've got the following error: Filesystem type unknown, partition type 0xa5 Error 17: Cannot mount selected

NAT Address Redirects

2003-12-23 Thread Jack L. Stone
On my own servers which are all FBSD machines, I use the classic method of redirecting an IP address from a Gateway machine to a main host and its vhosts located on an Internal Machine like so: redirect_address 192.168.0.5 123.xxx.xxx.101 -- main host ...then Apache sends any requests to a vhost

Re: what is diff between pkg_delete make deinstall

2003-12-23 Thread Matthew Seaman
On Tue, Dec 23, 2003 at 02:04:06PM -0500, fbsd_user wrote: I see that pkg_delete will delete an port as well as an package. Ports and pkgs are different sides of the same coin. Does pkg_delete do the same thing as the make deinstall command? Almost exactly the same. The difference is that

NATd newbi Problem.

2003-12-23 Thread Marwan Sultan
Hello everyone, Its my first time to setup NAT and I wish someone to fix my bugs here. I have a DSL Router Modem connected to Internet and FreeBSD box as follow DSL-Router -- rl0FreeBSDrl1 HUB - 98,XP clients DSL Router = 192.168.0.1 rl0= 192.168.0.2 rl1= 192.168.0.3

Re: gdm crashes on 5.1

2003-12-23 Thread Jakob Breivik Grimstveit
On Tue, 2003-12-23 at 18:09, Joe Marcus Clarke wrote: Did you read the Known Issues section at http://www.freebsd.org/gnome as well as the pkg-message from gdm? Evidently not :-). Thank you for pointing it out for me, it will now probably work without any further problems. -- Jakob Breivik

Re: grep, netstat, and bridging

2003-12-23 Thread Chris Pressey
On Tue, 23 Dec 2003 08:19:53 -0800 (PST) Dave McCammon [EMAIL PROTECTED] wrote: I this a feature, bug, or just some logical thing that grep does( or perhaps netstat)? Scenario: IP addresses comp1=xx.xx.xx.1 comp2=xx.xx.xx.6 comp3=xx.xx.xx.12 comp1 and comp3 run FBSD 4.9 stable

Re: Straightening out perl

2003-12-23 Thread parv
in message [EMAIL PROTECTED], wrote Scott I. Remick thusly... Maybe this belongs in the -ports list... I dunno. Anyways, saw a few messages recently that prompted me to check my perl situation: su-2.05b# pkg_info | grep perl- perl-5.6.1_15 Practical Extraction and Report Language

A Challenge... NAT for PPP dial in user

2003-12-23 Thread Drew Robertson
Hey all, I've been playing around with this for a while. I have a FreeBSD 4.8 box set as a gateway on my home LAN. I have 1 pc downstairs, and a few dial up users... FreeBSD box has 2 network cards, 1 for internal, 1 for external internet using cable 1 56k modem. Very simple problem... when

Stuff

2003-12-23 Thread Paul Murphy
Terrilynn could you please make sure your mum gets the attachment on this message. Thanx -- Cogeco ergo sum pgp0.pgp Description: PGP signature

Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-23 Thread Ulf Zimmermann
ld-elf.so.1 should also be on the first CD. Its just inside the split tar.gz files which make up the base of FreeBSD. Check out the bin/ directory on the cd, all the bin.[a-z][a-z] files are a split of a large tar.gz, and that includes the ld-elf.so.1 On Tue, Dec 23, 2003 at 11:13:14AM -0800,

dynamic link problem

2003-12-23 Thread Jesse Guardiani
Howdy list, I've got an old copy of Wordperfect (now deleted from ports) that I use at work. When I run the program, I get this output: % xwp /usr/local/lib/corel/wpbin/xwp: can't load library 'libXt.so.6' Exit 16 Obviously a dynamic link problem, so I run ldd on it: % ldd -a

rc initialization anomaly (some sections are being loaded twice)

2003-12-23 Thread Ihsan Junaidi
I upgraded a test system running 5.1 to 5.2 RC1 and with it, i came upon a few difficulties. firstly, the default login and su PAM configs are (mis)configured so that they totally ignored the password. so each user is able to login freely without being prompted for a password. but the one i'm

Re: floppy mount support

2003-12-23 Thread samy lancher
Hey, Try mount_msdos /dev/fd0 yourfolder Srinivasa Kanduru [EMAIL PROTECTED] wrote: Hi, I happenned to install 5.1 FreeBSD. I couldn't mount floppy disk. I noticed that /dev/fd0 did not exist. I tried doing a mknod using character device 9, 0 for fd0 but it doesn't work. The floppy devnode is

Re: rc initialization anomaly (some sections are being loaded twice)

2003-12-23 Thread Lowell Gilbert
Ihsan Junaidi [EMAIL PROTECTED] writes: I upgraded a test system running 5.1 to 5.2 RC1 and with it, i came upon a few difficulties. firstly, the default login and su PAM configs are (mis)configured so that they totally ignored the password. so each user is able to login freely without being

Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-23 Thread Peter Leftwich
Ulf Zimmermann [EMAIL PROTECTED] wrote: ld-elf.so.1 should also be on the first CD. Its just inside the split tar.gz files which make up the base of FreeBSD. Check out the bin/ directory on the cd, all the bin.[a-z][a-z] files are a split of a large tar.gz, and that includes the ld-elf.so.1

compiling a kernel on a different machine

2003-12-23 Thread Rowdy
Greetings, My attempts to compile a (5.1-RELEASE) kernel on a very old PC take around 5 hours (of compile time), while a much faster machine sits by idle. It would be great to be able to compile the kernel on the faster machine and transfer it to the older machine. Would I be correct in

Re: compiling a kernel on a different machine

2003-12-23 Thread Drew Tomlinson
Rowdy told a big fish story including the following on 12/23/2003 1:31 PM: Greetings, My attempts to compile a (5.1-RELEASE) kernel on a very old PC take around 5 hours (of compile time), while a much faster machine sits by idle. It would be great to be able to compile the kernel on the

Re: compiling a kernel on a different machine

2003-12-23 Thread Daniela
On Tuesday 23 December 2003 21:31, Rowdy wrote: Greetings, My attempts to compile a (5.1-RELEASE) kernel on a very old PC take around 5 hours (of compile time), while a much faster machine sits by idle. It would be great to be able to compile the kernel on the faster machine and transfer it

Re: 5.2-rc1 Install and USB mouse problems

2003-12-23 Thread Lars Köller
Hello! In reply to Lars =?iso-8859-1?Q?K=F6ller?= who wrote: Not sure here; the USB mouse on my home system (VIA KT400 chipset) works as expected. perhaps there are two mouseds running? No, nothing in that area. At the moment I think it has to do with the usb code in the 5.2 kernel. The

DVD Burning

2003-12-23 Thread Eric van Gyzen
I have: - FreeBSD 5.1-RELEASE - HP DVD Writer 300i (ATAPI, using ATAPICAM) - Imation DVD-R media I'm trying: # growisofs -speed=1 -Z /dev/cd0=/tmp/foo.iso :-[ Unit won't start: 40901 ] :-( /dev/cd0: unsupported MMC profile 10 # dvd+rw-mediainfo /dev/cd0 INQUIRY:

SpamAssassin

2003-12-23 Thread Doug Reynolds
Just wanted to thank all the people who replied about setting up Spamassassin w/ Freebsd. I've got it working, and have cut my spam by much over half. I got it working with procmail. Thanks to all, and Merry Christmas, and Happy new Year. --- doug reynolds | the maverick | [EMAIL PROTECTED]

Re: DVD Burning

2003-12-23 Thread Mark Woodson
On Tuesday 23 December 2003 03:10 pm, Eric van Gyzen wrote: I have: - FreeBSD 5.1-RELEASE - HP DVD Writer 300i (ATAPI, using ATAPICAM) - Imation DVD-R media I'm trying: # growisofs -speed=1 -Z /dev/cd0=/tmp/foo.iso :-[ Unit won't start: 40901 ] :-( /dev/cd0: unsupported MMC

Re: www.knoppix.net and maybe one day FreeBSDCDR?

2003-12-23 Thread Daniela
On Monday 22 December 2003 00:36, Daniela wrote: On Thursday 18 December 2003 03:33, Peter Leftwich wrote: Hi again, Could someone explain how to create a similar bootable CD-R of FreeBSD that, at boot-time, would mount root to a ramdisk and run Gnome or KDE automatically? Everything

shutdown and reboot

2003-12-23 Thread pics
Hi, I've had experience with RH Linux but am not very familiar with FreeBsd. For some reason, I cannot get the machine to reboot or to shutdown. I looked at the man pages for the shutdown command, and, for rebooting, typed #shutdown -r now. but I still have the same problem as I did with the

Question on PS/2 Wheelmouse through KVM

2003-12-23 Thread Scott W
Hey all. Strange but not totally surprising behavior, anyone have any ideas? System: IBM Netfinity 4500R 1G RAM 2x 667MHz PIII CPUs Logitech Trackman Wheel PS/2 Mouse and KB through Belkin 8 port rackmount KVM Running recent 5.X current SMP kernel When I was running the mouse via USB/not

Re: compiling a kernel on a different machine

2003-12-23 Thread Sean Ellis
On Tue, Dec 23, 2003 at 02:31:38PM -0800, Drew Tomlinson wrote: Rowdy told a big fish story including the following on 12/23/2003 1:31 PM: My attempts to compile a (5.1-RELEASE) kernel on a very old PC take around 5 hours (of compile time), while a much faster machine sits by idle. It

Re: compiling a kernel on a different machine

2003-12-23 Thread Sean Ellis
On Tue, Dec 23, 2003 at 06:04:09PM -0800, Sean Ellis wrote: On Tue, Dec 23, 2003 at 02:31:38PM -0800, Drew Tomlinson wrote: OK, hang on. Here it is in an older handbook I have. Appearing as: 19.4.15.5. Can I use one machine as a master to upgrade lots of machines (NFS)?, a question at the

minor `cp -R` question

2003-12-23 Thread Tom McLaughlin
Hi, I have a quick question about the cp command and recursively copying a directory. If I type: $ cp -R /foo/file/ ~/ I get in my home directory a file called file. If I type: $ cp -R /foo/file ~/ I get in my home directory a directory called foo and a file called file. Can someone explain

group members can't modify files even though 775 set

2003-12-23 Thread Seamus Abshere
Dear freebsd-questions, I want all members of the webmasters group to be able to modify my web documents directory /www. Here's my user, a webmaster: $id sabshere uid=1000(sabshere) gid=0(wheel) groups=0(wheel), 1002(webmasters) and, just in case, here's root: $id root uid=0(root) gid=0(wheel)

Re: compiling a kernel on a different machine

2003-12-23 Thread Jesse Guardiani
Sean Ellis wrote: On Tue, Dec 23, 2003 at 06:04:09PM -0800, Sean Ellis wrote: On Tue, Dec 23, 2003 at 02:31:38PM -0800, Drew Tomlinson wrote: OK, hang on. Here it is in an older handbook I have. Appearing as: 19.4.15.5. Can I use one machine as a master to upgrade lots of machines (NFS)?,

DAT drives

2003-12-23 Thread Wayne E. Bouchard
Okay, probably a dumb question but I can't readily find an answer in the archives.. I just picked up a (used) surestore C1533A (thats an HP device) and am having some problems getting it work quite right. I've got the dip switches set correctly (I was able to find at least 3 corroborating pages

Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-23 Thread Peter Leftwich
On Tue, 23 Dec 2003, Ulf Zimmermann wrote: ld-elf.so.1 should also be on the first CD. Its just inside the split tar.gz files which make up the base of FreeBSD. Check out the bin/ directory on the cd, all the bin.[a-z][a-z] files are a split of a large tar.gz, and that includes the

Running dual CPUs

2003-12-23 Thread Gerard Samuel
I acquired a pair of Slot 1 CPUs that is supposedly a matched pair. I've heard, that they must be of the same stepping, and Im not sure of what Im looking for. CPU specs are at - http://processorfinder.intel.com/scripts/ details.asp?sSpec=SL3XLProcFam=25PkgType=ALLSysBusSpd=ALLCorSpd=5775 Just

compile error in cinepaint

2003-12-23 Thread epilogue
hello all, i am eager to give the recently added cinepaint port a try but ran into a little problem making. # uname -a FreeBSD 4.9-RELEASE-p1 /usr/ports/graphics/cinepaint# make install === Building for cinepaint-0.18 [SNIP] Making all in guash gmake[2]: Entering directory