From owner-freebsd-questions@FreeBSD.ORG Wed Aug 4 15:15:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AF2216A4CE for ; Wed, 4 Aug 2004 15:15:17 +0000 (GMT) Received: from web41007.mail.yahoo.com (web41007.mail.yahoo.com [66.218.93.6]) by mx1.FreeBSD.org (Postfix) with SMTP id B5ABF43D48 for ; Wed, 4 Aug 2004 15:15:16 +0000 (GMT) (envelope-from asdzxc111@yahoo.com) Message-ID: <20040804151516.41150.qmail@web41007.mail.yahoo.com> Received: from [141.76.1.122] by web41007.mail.yahoo.com via HTTP; Wed, 04 Aug 2004 08:15:16 PDT Date: Wed, 4 Aug 2004 08:15:16 -0700 (PDT) From: DK To: Giorgos Keramidas In-Reply-To: <20040802093414.GA39066@orion.daedalusnetworks.priv> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1392659796-1091632516=:39064" cc: freebsd-questions@freebsd.org Subject: Re: firewalls, connecting, config & apachetoolbox (was: Re: BigApache [..]) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2004 15:15:17 -0000 --0-1392659796-1091632516=:39064 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline Hi Giorgos et al, thanks for your patience. I have enclosed the output of dsmeg, ps, XF86Config if it helps in understanding why my system runs slower than W2000 & why I cannot connect to the net via my broadband connection. --- Giorgos Keramidas wrote: > Bearing this in mind you might, of course, find it a bit more reassuring to > run a firewall like IPFW. But this doesn't *require* a kernel recompile. > You can simply load the ipfw.ko module with kldload(8) and immediatelly > start setting up the rules of your firewall ruleset. As root, you can load > the ipfw module by: # kldload ipfw Thanks for that. I have ipfw loaded okay(I hope). After reading 14.8.3 from the handbook regarding IPFW, I was a little worried. "14.8.3 Enabling IPFW on FreeBSD As the main part of the IPFW system lives in the kernel, you will need to add one or more options to your kernel configuration file, depending on what facilities you want, and RECOMPILE your kernel." > The default set of firewall packet inspection rules that ipfw loads will > block *EVERYTHING* so you might want to do a bit of research on the > available rulesets by reading about rc.firewall, rc.conf and/or browse the > contents of the /etc/defaults/rc.conf file: If I understand it correctly after reading the handbook, if I add 'firewall_type=open' in my '/etc/rc.conf' file, will it make all incoming/outgoing ports open so I can connect to the net with sysinstall to download packages ??? > The "bad intepreter" error means that the `install.sh' script (most likely) > starts with a line like this: > Edit `install.sh' and replace `/bin/bash' with `/usr/local/bin/bash' if you > have bash installed. Legend. Got this script working now :)) ...Except...All modules seem to install okay Except for "mod_perl". I get the error: ----------------------- [-] 16) -Mod Perl 1.29 Choice [?] 16 LWP::UserAgent not installed! HTML::HeadParser not installed! Type "perl -MCPAN -e shell" to start the perl CPAN shell, then "install LWP::UserAgent" to install the LWP::UserAgent module! Substitute LWP::UserAgent for any perl module. ------------------------------ I don't understand what I am supposed to "substitute" (above) ??? Other problems(Doh!): 1) For automount, I edited /etc/fstab. It was easier & more logical than the editing amd(/etc/amd.conf & /etc/amd.map) Problem: There has to be a CD in the CD drive & a floppy in the floppy drive otherwise the drives don't automount & the bootup faulters !! - This is annoying. Is there a way around this so I can automount at bootup without a disk being in the drive ??? 2) I ran xf86config & generated a new config file. It broke X & I was not able to log in. Thankfully I saved a working one to floppy. Any suggestions as to what I can change in my XF86Config file(attached) so that all the hardware is being utilised & that the screen is being used fully instead of only 80% ??? ------------------------- My Monitor Specs(If this helps): viewsonic pf775 1600x1200 @ 77Hz 1280x1024 @ 90Hz 1024x768 @ 118Hz 800x600 @ 149Hz Frequency f h: 30~97kHz; f v: 50~180Hz --------------------------- 3) I tried to intstall the login client for my broadband connection so I can use sysinstall to download & install packages. The program fails on make & make install! Screen Output ------------------- 127# make install Makefile error: there is no COMMENT variable defined for this port. Please, rectify this. *** Error code 1 Stop in /usr/ports/distfiles/login. ------------------- Makefile ----------------------------- PORTNAME= login PORTVERSION= 2.0 CATEGORIES= net MASTER_SITES= http:// DISTNAME= login EXTRACT_SUFX= -2.0-unix-src.tar.gz GNU_CONFIGURE= yes USE_GMAKE= yes post-extract: $(CP) $(FILESDIR)/login.sh $(WRKSRC) .include ----------------------- Any suggestions as to what "COMMENT variable" it wants defined ??? 4) I am taking your advice & am trying to connect to the net with sysinstall so I can download packages/ports & hopefully find an easier way to install apps. However when I go through the steps to install a package & select a freebsd ftp site, at the end, a prompt comes up saying something like "cannot resolve ftp... name server, network needs to be configured..) ... or something like that Q: Do I need to get my broadband login client working to connect to the net OR can I login to my ISP from a terminal within BSD ??? Q: Do I need to login to my broadband ISP via my login client to enable "sysinstall" to be able to download packages etc ... ??? Q: Like tracert on W2000, is their a command I can use in BSD to see when I am connected to the net ??? Kind Regards, DK __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail --0-1392659796-1091632516=:39064 Content-Type: text/plain; name="XF86Config.new" Content-Description: XF86Config.new Content-Disposition: inline; filename="XF86Config.new" Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "speedo" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" EndSection Section "Monitor" Identifier "Monitor0" VendorName "VSC" ModelName "PF775" HorizSync 30-107 VertRefresh 50.0-100.0 Option "DPMS" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "SWcursor" # [] #Option "HWcursor" # [] #Option "NoAccel" # [] #Option "ShowCache" # [] #Option "ShadowFB" # [] #Option "UseFBDev" # [] #Option "Rotate" # [] #Option "VideoKey" # #Option "FlatPanel" # [] #Option "FPDither" # [] #Option "CrtcNumber" # Identifier "Card0" Driver "nv" VendorName "nVidia Corporation" BoardName "NV4 [RIVA TNT]" BusID "PCI:0:20:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 16 Modes "1024x768" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" EndSubSection EndSection --0-1392659796-1091632516=:39064 Content-Type: text/plain; name="dmesg.txt" Content-Description: dmesg.txt Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004 root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (179.63-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 134217728 (131072K bytes) avail memory = 125165568 (122232K bytes) Preloaded elf kernel "kernel" at 0xc0551000. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 rl0: port 0x6000-0x60ff mem 0xe2000000-0xe20000ff irq 11 at device 17.0 on pci0 rl0: Ethernet address: 00:e0:29:65:bb:23 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc0: port 0x6100-0x61ff mem 0xe2001000-0xe2001fff irq 9 at device 19.0 on pci0 aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs pci0: at 20.0 irq 9 orm0: