Re: Alcatel Speedtouch PC ADSL Modem

2005-08-14 Thread Abu Khaled
On 8/14/05, Bsderss [EMAIL PROTECTED] wrote:
 
 
 --- Vladimir Botka [EMAIL PROTECTED] wrote:
 
  Hi,
  I am running Speedtouch 510i, which is defacto
  router with some small unix
  system inside. You can login with telnet and
  configure it from command
  line or use the web interface or load the
  configuration file. I dont
  think that USB and pppoa is here the best choice.
  You just connect the
  Speedtouch to the ADSL and use the Speedtouch
  ethernet to connect it to
  your LAN. Cheers, Vladimir.
 
 Hi, thanks for the suggestion. Is this a normal DSL
 Modem with an ethernet at its back connect to your
 desktop or an router? How much did you pay for it? If
 it is cheap enuf, I think it is worth to get it as a
 standalone DSL  modem.
 
 The reason I want to install freebsd in one of these
 DSL modem is because here in Australia ISPs do not
 lease out their DSL modem to end user. User will end
 up purchase expensive crapy DSL Modem (eg. Netgear)
 from computer shop.
 
 As I have a freebsd gateway used to dail-up pppoe thru
 an external DSL modem when I was in another country, I
 want to reconfigure this freebsd router to make it
 able to handle DSL modem communication. But I need to
 purchase a DSL modem card for it. If an external DSL
 modem like Speedtouch is cheap enuf and provide stable
 system enviornment in the DSL Bridge mode, I would
 like to purchase one as an external DSL modem.
 
 On the other hand, if you know how to configure
 freebsd with a DSL Modem card in freebsd, please let
 me know how to do that. And if you also know where to
 purchase a barebone DSL Modem (without a system) for
 development  purpose (eg. Speedtouch), please also let
 me know.
 
 Thanks
 Sam
 
  On Sat, 13 Aug 2005, Bsderss wrote:
 
   Hi,
  
   I want to purchase a USB Alcatel Speedtouch PC
  ADSL
   Modem and connection freebsd to it. There is a pkg
  in
   the Ports
   /usr/ports/net/pppoa written for the Alcatel
   Speedtouch. I wonder how to use this pkg with the
   Alcatel Speedtouch PC ADSL Modem. Correct me if I
  m
   wrong, this modem does not have a system running
   itside, it is just an external device have a USB
  port
   connect to the FreeBSD system. As I browsed thru
  the
   Speedtouch website, I don't know which modem does
  not
   have a system and allow me to do this setup.
  
   Can anyone please help?
  
   Thanks
   Sam
  
  
   

Did you try to check the FreeBSD handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoa.html

-- 
Regards.
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: monitor bandwith realtime per IP

2005-08-12 Thread Abu Khaled
On 8/11/05, vladone [EMAIL PROTECTED] wrote:
 Hi!
 Know somebody an aplication who can monitor bandwith (real time) per IP?
 Something like bwm-ng but per IP?
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I use these 2 programs for the console
net-mgmt/iftop
net/traffic

-- 
Regards.
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble with PHP4-extensions

2005-07-23 Thread Abu Khaled
On 7/23/05, Jack Raats [EMAIL PROTECTED] wrote:
 I had installed Apache, PHP4.40 and imap on a FreeBSD 5.4-STABLE server. It 
 worked OK. I had to recompile IMAP and after this apache refuses to start. I 
 have to recompile the php4-imap part of php.
 
 How to do this?
 Deinstall php4 completely and then reinstall it
 or
 Can i use the extensions to recompile only a part?
 
 Met vriendelijke groeten
 Jack Raats

Why don't you use sysutils/portmanager or sysutils/portupgrade in the
ports directory. These utilities do a good job at solving such
problems and you might have other php4-extensions that need updating.

-- 
Regards.
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw loads with forwarding disabled

2005-07-21 Thread Abu Khaled
On 7/22/05, Jon Falconer [EMAIL PROTECTED] wrote:
 I'm running FreeBSD 5.4-RELEASE. When I load ipfw.ko I get:
 
 ipfw2 initialized, divert disabled, rule-based forwarding disabled,
 default to deny, logging disabled
 
 I want to use the forward action in the rule set, logging would be nice
 too. When I try to add a rule which uses the forward action, I get:
 
 Line 2: getsockopt(IP_FW_ADD): Invalid argument
 
 and line 2 looks similar to:
 
 add 1200 forward ##.##.##.1 src-ip ##.##.##.0/23 in recv dc1
 
 At this point I'm guessing that rule-based forwarding disabled has
 something to do with it no liking my rule. I tried adding options
 IPFIREWALL_FORWARD to the kernel config and rebuilt the kernel. But I
 still get the same message as above when loading ipfw (kernel module).
 I've perused all the relevant sections of the handbook that I could find
 without finding any more clues. What does it take to change the default
 feature set of the ipfw kernel module? Or do I have to compile it into the
 kernel to alter this?
 
 Thanks for your suggestions,
 
 Jon
 

What value does sysctl net.inet.ip.forwarding has?
#sysctl net.inet.ip.forwarding

-- 
Regards.
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Device access - /dev/ipnat

2005-06-30 Thread Abu Khaled
On 6/29/05, Odhiambo Washington [EMAIL PROTECTED] wrote:
 Hello FreeBSD lovers,
 
 In the current FreeBSD ports, squid-2.5STABLE10 has a patch that allows
 it to run without dying even though it does not have access to
 /dev/ipnat.
 
 This access is important where squid is running in a transparent proxy
 setup.
 
 I am running several FreeBSD 5.x boxes with squid in transparent proxy
 mode, so this problem is a big one for me.
 
 The patch seems to be a workaround, but I'd really like to give squid
 access to this device anyway.
 
 My thinking was that I can solve the problem of access to /dev/ipnat
 using /etc/devfs.conf. However, my reading of the comments in this file
 does not give me any clear method of achieving what I want.
 
 Am I right in my thinking that /dev/ipnat device is created on the fly
 in FreeBSD 5.x? As such I cannot change the permissions on it, yes?
 
 How do I solve my problem, if anyone can advise me? It will server as
 my first lesson with devices in 5.x.
 
 
 Thanks in advance.
 
 
 -Wash
 

execute the following to enable squid to access /dev/ipnat
# chgrp squid /dev/ipnat
# chmod g+rw /dev/ipnat

Add them to /etc/rc.local to execute them on boot/restart
chgrp squid /dev/ipnat
chmod g+rw /dev/ipnat

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: netgraph startup

2005-06-23 Thread Abu Khaled
On 6/23/05, Reid Linnemann [EMAIL PROTECTED] wrote:
 
 I'm using netgraph to bridge a few interfaces on a -CURRENT system.
 I've used the example bridge script
 /usr/share/examples/netgraph/ether.bridge, and it works perfectly after
 setting the interface vars.
 
 However, there are no rc.d hooks (that I am aware of) that will kick off
 netgraph scripts on system boot, forcing me to manually run the netgraph
 script at each reboot. I'm sure I could hack the script to give it
 rcorder keywords and handlers for rcng arguments, but that seems to be
 an overworked solution. I'm curious, how have other netgraph users have
 solved this problem?

Why don't you start your script from /etc/rc.local. I use rc.local to
start many scripts for custom commands/daemons I need to be ready once
the system (re)starts.

# ee /etc/rc.local
path to script/foo.sh

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvs

2005-06-21 Thread Abu Khaled
On 6/20/05, Alex Zbyslaw [EMAIL PROTECTED] wrote:
 Alistair Sutton wrote:
 
 On 20/06/05, Muhammad Kashif Yaqoob [EMAIL PROTECTED] wrote:
 snip
 
 
parsing supfile /usr/share/examples/cvsup/ports-supfile
 
connecting to cvsup.uk.freebsd.org
 
cannot connect to cvsup.uk.freebsd.org: connection refused
 
will retry at 23:15:30
 
 
 
 I don't think that particular server is functioning anymore. It used
 to take you to a web page when viewed in a browser but it now directs
 you straight to a plig.org mirror.
 
 I suggest you read the handbook and find a different mirror. I used to
 use the cvsup.ie.freebsd.org one which was quite reliable.
 
 # cvsup -g Supfile-ports
 Connected to cvsup.uk.FreeBSD.org
 Updating collection ports-all/cvs
  Edit ports/archivers/p5-Compress-Zlib/Makefile
  Edit ports/archivers/p5-Compress-Zlib/distinfo
 [...]
 
 
 Sometimes I find the server unavailable, but rarely.
 
 Muhammad, please try the server again, and also try another one
 somewhere else.  If you still have problems then it may be that there is
 a firewall of some kind between you the the cvsup server.
 

I use the uk cvsup server and it works fine. The message you recieve
means that there is a firewall blocking your connection.
Check your firewall and enable outgoing traffic to port 5999.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache Logging output changed?

2005-06-21 Thread Abu Khaled
On 6/21/05, Noah [EMAIL PROTECTED] wrote:
 apache+mod_ssl-1.3.33+2.8.22
 FreeBSD-4.11R3
 
 This is really important for us to fix so I am asking again.
 
 so I upgraded apache 1.3.33 from /usr/ports some about a month ago  and around
 that time I stopped seeing POST log messages for my perl scripts ending up in
 my server's access logs.  any clues why this is no longer being logged.  is
 there some log granualrity configuration that is no longer default?
 
 these POST messages stopped being logged around the time I upgraded.
 
 --- snip ---
 
 647.818.543.973 - - [14/Apr/2005:12:10:00 -0700] POST /Fakename.pl HTTP/1.1
 405 323 http://www.fakedomainname.com/html/order.test.html; Mozilla/5.0
 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 
 Firefox/1.0
 678.9188.843.973 - - [14/Apr/2005:14:02:10 -0700] POST /Fakename.pl HTTP/1.1
 200 1974 http://www.fakedomainname.com.com/html/order.test.html; Mozilla/5.0
 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 
 Firefox/1.0
 
 --- snip ---
 
 
 clues please?
 

What did you configure for the directive LogFormat/CustomLog?

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Complete Port Removal Question

2005-06-17 Thread Abu Khaled
On 6/16/05, John Brooks [EMAIL PROTECTED] wrote:
 pkg_info -r pkgnameshows dependencies
 
 pkg_delete -r pkgname removes pkg and dependencies
 
 --
 John Brooks
 [EMAIL PROTECTED]
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of M. Goodell
  Sent: Thursday, June 16, 2005 10:24 AM
  To: FreeBSD Questions
  Subject: Complete Port Removal Question
 
 
 
  How can I remove a port and all of it's dependencies from a
  system? For example, I installed sqWebmail and tried it out then
  decided it's not what we were looking for. Now, I would like to
  not only remove sqWebmail but all of the stuff it installed along with it.
 
  sqwebmail also installed things like:
 
  - courier-authlib-base-0.56
  - ispell-3.2.06_13
 
  and others as well
 
  Is there a safe / quick way to remove the dependencies for a port
  and not break the rest of the system by removing stuff other
  things depend on? For example, I don't want to remove Perl
  obviously which is a dependency of sqwebmail.
 

I guess pkg_delete -r portname is not what he asked for since it
well deinstall all those depending on the given package/port. He wants
to einstall all those required by the given package/port.

for example gmake-3.80_2
# pkg_info -r gmake-3.80_2
Information for gmake-3.80_2:

Depends on:
Dependency: libiconv-1.9.2_1
Dependency: gettext-0.14.4_1

# pkg_delete -r gmake-3.80_2
This well only remove gmake-3.80_2 but not what gmake depends on to
run (libiconv and gettext) and to build (libtool)

There are alos build dependenies that would not be removed since they
are only required to build the package/port but not to run it (libtool
for example is required to build gmake but not to run it).

I use portupgrade and its tools to install/remove packages/ports.
for example if I want to remove gmake and all it's 'RUN' dependencies
(libiconv and gettext)

# pkg_deinstall -iR gmake
This well prompt for each step to remove gmake and ports needed to run
it but libtool well not get removed or asked for to be removed since
it is not required to run gmake.

There are many tools in /usr/ports/sysutils that well help you remove
packages/ports not required to run allready installed ports/packages.

pkg_cutleaves
pkg_rmleaves
portmanager
portupgrade

My favorite all is portupgrade since it has many utilities for example
pkg_deinstall

Try to install portupgrade then

# pkg_deinstall -iR sqwebmail

the -i option request confirmation for each package removal
The -R option Deinstall all those required by the given packages as well.
Aftrer removing sqwebmail it well ask you to remove
- courier-authlib-base-0.56
- ispell-3.2.06_13

as well perl and/or other dependencies so don't forget to answer with
no for packages you need.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Driver D-Link DGE-550SX

2005-06-16 Thread Abu Khaled
On 6/16/05, Marcin Lara [EMAIL PROTECTED] wrote:
 Hi,
 
 What driver i should use with D-Link DGE-550SX network ethernet adapter in
 FreeBSD ?
 

If it has the same chipset as D-Link DGE-500SX, then you can use the lge driver.

http://www.freebsd.org/cgi/man.cgi?query=lgesektion=4manpath=FreeBSD+5.4-RELEASE

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sudden need for a wireless card for 5.3

2005-06-15 Thread Abu Khaled
On 6/15/05, Andrew L. Gould [EMAIL PROTECTED] wrote:
 On Tuesday 14 June 2005 03:58 pm, Mike Meyer wrote:
  I suddenly find myself in need of a wireless card for a 5.3 desktop
  box.
 
  Anyone want to recommend something?
 
Thanks,
mike
 
 How about a Cisco Aironet 350 PCI card.  It's an older, proven model
 (802.11b) with good power output.  It uses the an driver.  It works
 great with FreeBSD and Linux (but is hosed in the latest release of
 NetBSD).
 
 The card costs about $200 retail; but I just got one on eBay for much
 less.
 
 Best of luck,
 
 Andrew Gould
 

How about wireless to ethernet bridges. Has anyone used them.
You can find many by searching goolge for wireless ethernet bridge.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Squid transparent proxy masquerading as Client IPs

2005-06-08 Thread Abu Khaled
Some ISPs use Linux with tproxy kernel patch to masquerade the
requests from clients and make them appear as if they came from the
client with no proxy connection. After digging around the squid-cache
archives and mailing lists, Henrik Nordstrom suggested using
tcp_outgoing_address and nat to achieve the same on FreeBSD and Squid
in transparent (intercepting mode).

The Idea is to assign for each Client a private IP on the Squid Server
(as aliases worked fine). In squid.conf we add

header_access Via deny all
header_access X-Forwarded-For deny all
# this removes both headers

# and for each client we need
acl clientxxx src real ip 
tcp_outgoing_address private ip clientxxx

Squid binds requests from clientxxx's real ip to the private ip
then we nat those to the real ip making the request appear as if it
came directly from the client not the proxy.

To make things easy I used two scripts.
 
1. I added the add-alias.sh script to /etc/rc.local to create the
aliases on startup

#  add-alias.sh  start
IP=110
MAXIP=150
PRIV=10.10.10
ALIASIF=Ethernet Interface
# I used lo0 to do the aliases on
# Also I tested a virtual interface (netgraph)
# Just to make sure no conflicts with transparent proxy rules (loops)
while [ $IP -le $MAXIP ]
do
if !( ifconfig $ALIASIF inet $PRIV.$IP netmask 0x alias ) then
echo Error Creating Alias $PRIV.$IP on $ALIASIF
exit
fi
IP=$(( $IP + 1 ))
done
#  add-alias.sh  end

2. The squid-ipnat.sh script deletes the old ipnat.conf file and
creates a new one with rules for the external interface. It also
creates 2 files with ACLs for squid I used it once to create the
ipnat.conf file and keep it just in case I need to change the IPs
(real/private). And the 2 files with ACLs for squid were used to copy
and paste the ACLs to squid.conf. Oh ya backup you configuration files
just in case.

#  squid-ipnat.sh  start
IP=110
MAXIP=150
PRIV=10.10.10
REAL=xxx.xxx.xxx
EXTIF=External Interface
# I used the external interface for nat 
cd path to ipnat
rm ipnat.conf  # carefull deletes old ipnat.conf file
rm squid_acl.conf
rm squid_tcp.conf
while [ $IP -le $MAXIP ]
do
 echo bimap $EXTIF from $PRIV.$IP/32 to 0.0.0.0/0 port = 80 -
$REAL.$IP/32  ipnat.conf
 echo acl Client$IP src $REAL.$IP  squid_acl.conf
 echo tcp_outgoing_address $PRIV.$IP Client$IP  squid_tcp.conf
# Client$IP is the name for the ACL expands from Client110 to Client150
# squid_acl.conf and squid_tcp.conf end in path to ipnat copy and
paste to squid.conf both
IP=$(( $IP + 1 ))
done
#  squid-ipnat.sh  end

As you can see, I used IPNAT's bimap and tested the configuration for
40+ clients.
My network is small and I wonder if someone can use this to test a
larger network. Also test PF or IPFW/DIVERT/NAT and see what performs
better or just for fun.

One last note the tcp_outgoing_address does not follow the
X-Forwarded-For patch and it caused me to lose my head since I had
Dansguardian in front of Squid. The Delay pools followed-X fine and
that caused me to think there was a problem with my configuration.
After Disabling Dansguardian the configuration worked as expected. So
do not wonder if it does not work if you use another proxy before
squid.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to build packages quickly?

2005-05-28 Thread Abu Khaled
On 5/28/05, Luciano Musacchio [EMAIL PROTECTED] wrote:
 hi,
 for those who know gentoo, theres a program (quickpkg) that makes a binary
 package (from already installed ones) without the need to recompile the port,
 its possible to do that in fbsd?
 
 thanks
 --

pkg_create -b pkg-name might be what you need.
man pkg_create for more info

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to setting the router

2005-05-23 Thread Abu Khaled
On 5/23/05, Yumuura Kirika [EMAIL PROTECTED] wrote:
 hii, my name is edward.
 i would ask about how to setting / configuration for
 router. i really want to know. could you tell me.
 thanks...
 
 
 NOIR
 so wa inishie yori no sadame no na
 shi o tsukasadori futari no otome
 kuroki ote wa midorigo no
 yasurakanaru o mamoritamou

Hello Edward.
Chech the FreeBSD Handbook.
Chapter 25 Advanced Networking - 25.2 Gateways and Routes.
If you still need help or examples just reply to the post again. I am
sure that you well get the help you need. Just start by reading the
Section I mentioned in the handbook then post your question(s). It is
also adviesed to post your network topology or what you are planning
to do.
Good Luck

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no freebsd boot loader when re-installed another winXP

2005-05-22 Thread Abu Khaled
On 5/22/05, Edwin D. Vinas [EMAIL PROTECTED] wrote:
 hello everyone!
  i have a running dual-boot (FreeBSD and WinXP) before but when I got
 hijacked by a SpyWare, i decided to re-install or repair my WinXP. what
 WinXP installer did is it didnt format the current Windows but rather it
 added a new bootable WinXP. so now, when the machine boots, it doesnt load
 the FreeBSD boot loader but instead two WinXP Professional is being shown.
 How do I recover the FreeBSD boot loader? I can't see any F1, F2 or F3 which
 allows me to choose which OS to boot. It seems the newly installed WinXP has
 removed the FreeBSD boot manager? Pls help me :-(
  thank you in advance!
 -edwin

Check the FreeBSD website under
FAQ - Chapter 9 Disks, Filesystems, and Boot Loaders -
How can I use the Windows NT loader to boot FreeBSD?

This helped me once to restore FreeBSD 4.7 after reinstalling W2K.
Good Luck

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


moving from ipfw/dummynet to pf/altq

2005-05-21 Thread Abu Khaled
I need help moving from ipfw and dummynet to pf and altq. So far I
have converted most ipfw rules to pf.
Can someone tell me if there is something for altq like this for dummynet
# ipfw add 1 pipe 1 config bw 64Kbit/s queue 10Kbytes mask src-ip 0x
# ipfw add 2 pipe 2 confg bw 128Kbit/s queue 20Kbytes mask dst-ip 0x
Or is there a better way to do it.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache2 headers cache

2005-05-19 Thread Abu Khaled
On 5/19/05, Timothy Smith [EMAIL PROTECTED] wrote:
 hi there i have a situation where my isp's tranparent proxy is caching
 an old file from my webserver (it's a zip file) and they have suggested
 turning off caching HTTP headers on my webserver, i can't find any docs
 on this has any one had experience with this?

Well I don't use apache but I use squid and many websites cause
problems because they don't have properly configured headers for
cache-control

Check Apache docs for mod_expire , mod_headers and Google for
Cache-Control header. Something like Cache-Control: no-cache. Sorry
can't help you further I never used apache before.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail NOINET6=true

2005-05-15 Thread Abu Khaled
On 14 May 2005 09:33:26 -0400, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Abu Khaled [EMAIL PROTECTED] writes:
 
  sendmail[1579]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line
  279: Unknown address family inet6 in Family=option
 
 Comment out that line and the message will go away.  Comment it out in
 the .mc file as well, and it won't come back next time you update.
 

Thanks Lowell for your help :)

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail NOINET6=true

2005-05-13 Thread Abu Khaled
This message appears after building amd installing world and kernel
using the NOINET6=true in /etc/make.conf.

sendmail[1579]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line
279: Unknown address family inet6 in Family=option

No one uses the Server for sending mail, so I don't know if it is a
problem or not. Local e-mails from daily/security arrive just fine but
contain the same error message in them.
I really don't need IPV6 for my server so I added the NOINET6=true
option to /etc/make.conf after building/installing world/kernel.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail NOINET6=true

2005-05-13 Thread Abu Khaled
On 5/14/05, Abu Khaled [EMAIL PROTECTED] wrote:
 This message appears after building amd installing world and kernel
 using the NOINET6=true in /etc/make.conf.
 
 sendmail[1579]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line
 279: Unknown address family inet6 in Family=option
 
 No one uses the Server for sending mail, so I don't know if it is a
 problem or not. Local e-mails from daily/security arrive just fine but
 contain the same error message in them.
 I really don't need IPV6 for my server so I added the NOINET6=true
 option to /etc/make.conf after building/installing world/kernel.

Ooops I forgot
#uname -v
FreeBSD 5.4-STABLE #0: Thu May 12 08:32:29 IDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SNET5

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports Collection - INDEX Error (FreeBSD 5.4)

2005-05-12 Thread Abu Khaled
On 5/13/05, Benjamin Keating [EMAIL PROTECTED] wrote:
 Thanks! I completely forgot about `make fetchindex`. Would this
 command replace `portsdb -Uu`?

I use a SH script to do something similar.

script start
#!/bin/sh
cvsup supfile   # update src/ports
portsdb Fu   # fetch the index and update ports database
#portupgrade avrR  # oops better to read /usr/ports/UPDATING before this
script end

I used this script in the past to update the ports and have
portupgrade do the rest. As you can see, I commented the third line
out after running into trouble for not reading /usr/ports/UPDATING.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: build world failure help needed

2005-05-09 Thread Abu Khaled
On 5/9/05, J.D. Bronson [EMAIL PROTECTED] wrote:
 At 10:56 AM 05/09/2005, Kent Stewart wrote:
 On Monday 09 May 2005 05:56 am, J.D. Bronson wrote:
   I am trying to build world on 5.4-RC4 and need some assistance
   troubleshooting the build...
  
   it builds fine until:
  
   === bin/ls
   /usr/bin/gcc -O2 -pipe -DCOLORLS -Wsystem-headers -Werror -Wall
   -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
   -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
   -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter
   -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c
   /usr/src/bin/ls/cmp.c
   /usr/bin/gcc -O2 -pipe -DCOLORLS -Wsystem-headers -Werror -Wall
   -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
   -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
   -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter
   -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c
   /usr/src/bin/ls/ls.c
   /usr/src/bin/ls/ls.c: In function `main':
   /usr/src/bin/ls/ls.c:330: warning: passing arg 1 of `tgetstr'
   discards qualifiers from pointer target type
   /usr/src/bin/ls/ls.c:331: warning: passing arg 1 of `tgetstr'
   discards qualifiers from pointer target type
   /usr/src/bin/ls/ls.c:332: warning: passing arg 1 of `tgetstr'
   discards qualifiers from pointer target type
   /usr/src/bin/ls/ls.c:333: warning: passing arg 1 of `tgetstr'
   discards qualifiers from pointer target type
   /usr/src/bin/ls/ls.c:338: warning: passing arg 1 of `tgetstr'
   discards qualifiers from pointer target type
   /usr/src/bin/ls/ls.c:340: warning: passing arg 1 of `tgetstr'
   discards qualifiers from pointer target type
   *** Error code 1
  
 
 You aren't seeing the error. This usually means you are running -jx of
 some size for x. You have run with no -j to see the error. If you time
 the build, you will probably see a smaller build time on non-smp
 systems when you don't provide a -j.
 
 Kent
 
 that was with NO '-j' flag
 
 if I go into /usr/src/bin/ls and try to make it manually it bombs as well:
 
 # make
 Warning: Object directory not changed from original /usr/src/bin/ls
 /usr/bin/gcc -O2 -pipe -DCOLORLS -Wsystem-headers -Werror -Wall
 -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
 -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter
 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c cmp.c
 /usr/bin/gcc -O2 -pipe -DCOLORLS -Wsystem-headers -Werror -Wall
 -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
 -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter
 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c ls.c
 ls.c: In function `main':
 ls.c:330: warning: passing arg 1 of `tgetstr' discards qualifiers
 from pointer target type
 ls.c:331: warning: passing arg 1 of `tgetstr' discards qualifiers
 from pointer target type
 ls.c:332: warning: passing arg 1 of `tgetstr' discards qualifiers
 from pointer target type
 ls.c:333: warning: passing arg 1 of `tgetstr' discards qualifiers
 from pointer target type
 ls.c:338: warning: passing arg 1 of `tgetstr' discards qualifiers
 from pointer target type
 ls.c:340: warning: passing arg 1 of `tgetstr' discards qualifiers
 from pointer target type
 *** Error code 1
 
 Stop in /usr/src/bin/ls.
 
 so I looked at this closly. if I remove the  -DCOLORLS   from the
 make file...it will build.
 
 In addition, if we copy these files in /usr/src/bin/ls to /tmp, it
 will build fine...so then I looked at all the CFLAGS and tested with
 and without each one...
 
 -Wwrite-strings = causes the build to fail.
 
 I dont know what any of this means...so hopefully someone can tell me
 more based on this finding.
 
 
 --
 J.D. Bronson
 Off The Hook Phone Repair, Inc.
 For Fast Repairs: CALL US - IF YOU CAN
 Office: 414.978.8282 // Pager: 414.314.8282
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Are you using GCC from ports. I am not sure about this but i tried to
buildworld once using GCC from the ports and got into trouble. Can you
post what you have in /etc/make.conf so others can look into this.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: heavy load proxy+nat server with ipfw ?

2005-05-09 Thread Abu Khaled
On 5/10/05, Ed Stover [EMAIL PROTECTED] wrote:
 S t i n g r a y wrote:
  i want to replace my microsoft based firewall with a
  freebsd based firewall + proxy + NAt server based on
  ipfw , with internet users approx upto 800-1000
  simaltanious . i already have the internet link +
  hardware to support it ,
  do you guys think ipfw + squid with freebsd will be
  able to handle such loads ?
 
 
  thanks
 
 
  *º¤., ¸¸,.¤º*¨¨¨*¤ Stingray *º¤., ¸¸,.¤º*¨¨*¤
 
 
 Yes very much so. At a local college they have over 700 PCs surfing the
 net constintly through a P3 700Mhz 512MB Ram and 10Gb HDD. The machine
 is running FreeBSD 4.5, squid, squidGuard, ipfw, natd. Transparent
 content filtering and nat. Simple sweet and fast...

I use FreeBSD 5 STABLE as a Router with IPFW, DUMMYNET, Squid,
DansGuardian and Bind as a forwarding DNS cache for 100 users. All
this is running on an old PIII 500Mhz with 128MB ram and 20GB HDD. 100
users may not be much but I guess with more RAM The FreeBSD box well
handle more clients.
I only use the BOX to test FreeBSD 5 performance for future plans and
so far it rocks except for a few problems (sure thats what STABLE is
for).

Ed, can you please tell me more about Transparent content filtering.
Sounds intresting

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Working X - Anyone?

2005-05-02 Thread Abu Khaled
On 5/2/05, Subhro [EMAIL PROTECTED] wrote:
 Hello Folks,
 
 I had been trying to get Xorg 6.8.2  working on a 5.4-STABLE
 installation. I had compiled Xoeg from an updated ports tree. But while
 running Xorg -configure it complains that the module pcidata is
 missing. I have uninstalled and reinstalled Xorg but without any
 success. Anyone can guide me where I am going wrong? Has anyone got Xorg
 6.8.2  working from ports? I have preciously posted but didnt get any
 replies :-(.
 
 Regards
 S.

I tested Xorg port a few weeks ago and it worked fine except a few
problems I had because of a high security level (modules refused to
load). It might be useful to post the error message you get when
starting X so others can try to figure out the problem/solution.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: test test test

2005-04-28 Thread Abu Khaled
On 4/28/05, Carpenter, Rohan S [EMAIL PROTECTED] wrote:
 test test test test --- test tets test test
 

freebsd-test freebsd-test freebsd-test freebsd-test --- freebsd-test
freebsd-test freebsd-test freebsd-test

[EMAIL PROTECTED] Where to send your test messages instead of
one of the actual lists

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: scaning the local network with arping/sh script

2005-04-26 Thread Abu Khaled
I want to thank you all for replying to my post. I'm building the
world at the moment and can't wait to start testing what you guys
suggested.

I knew you guys won't let me down.As always I ended up having my
problems solved as well as adding more to my knowledge. It's a
wonderful feeling.

Thanks again.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: scaning the local network with arping/sh script

2005-04-24 Thread Abu Khaled
On 4/24/05, Alex Soares de Moura [EMAIL PROTECTED] wrote:
 Abu Khaled wrote:
 
 Greetings...
 
 I don't know much about scripting but i tried to write one to scan my
 local network using the net/arping port.
 here is the script:
 sciprt start
 #!/bin/sh
 IP=1
 while [ $IP -le 20 ]
 do
 echo -e .\c
if ( arping -c 1 -q -i rl1 10.0.0.$IP ) then
   echo -e \n10.0.0.$IP Online
fi
 IP=$(( $IP +1 ))
 done
 echo -e \n
 script end
 
 The script runs and reports OK but it is very slow and takes a lot of
 time to scan a large network. Does anyone have an idea on how to
 improve it or provide an alternate way to do it?
 
 PS: I used the arpscan port in the past but it is reported as broken:
 Unfetchable.
   I'm running FreeBSD 5.4 Stable.
 
 
 Have you tried the ettercap tool? It's in the ports:
 /usr/ports/net-mgmt/ettercap
 
 Best regards,
 
 Alex
 
 

Thanks Alex. Ettercap is a nice tool but I don't run X on my Gateway/Servers.
I was looking for a port/package that runs from console. Seems that I
forgot to mention that in my post.

Thank again and sorry for the incomplete information.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


scaning the local network with arping/sh script

2005-04-23 Thread Abu Khaled
Greetings...

I don't know much about scripting but i tried to write one to scan my
local network using the net/arping port.
here is the script:
sciprt start
#!/bin/sh
IP=1
while [ $IP -le 20 ]
do
echo -e .\c
   if ( arping -c 1 -q -i rl1 10.0.0.$IP ) then
  echo -e \n10.0.0.$IP Online
   fi
IP=$(( $IP +1 ))
done
echo -e \n
script end

The script runs and reports OK but it is very slow and takes a lot of
time to scan a large network. Does anyone have an idea on how to
improve it or provide an alternate way to do it?

PS: I used the arpscan port in the past but it is reported as broken:
Unfetchable.
  I'm running FreeBSD 5.4 Stable.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Default root password for FreeBSD 4.2-RC2

2005-04-14 Thread Abu Khaled
On 4/15/05, MZaini [EMAIL PROTECTED] wrote:
 Hi,
 
 May I know the default root password for FreeBSD 5.4-RC2? My system
 was previously running FreeBSD 5.3-SECURITY. Then I set the option in
 sysinstall to 5.4-RC2 and upgrade the base distribution. After that I
 accidentally rebooted the server. Now I could no longer access the
 server.
 
 Thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Hello...
The answer to you question is on the FreeBSD website. Just read the
FAQ - System Administrations.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Default root password for FreeBSD 4.2-RC2

2005-04-14 Thread Abu Khaled
On 4/15/05, MZaini [EMAIL PROTECTED] wrote:
 Hi,
 
 Section 10.12 in System Administration only addresses the issue when
 the person is on site which is not in my case. Since the default
 installation would come with its own /etc/passwd, /etc/group,
 /etc/master.passwd, /etc/pwd.db, /etc/spwd.db then I should have been
 able to login using the root account that came with the default. True
 or not?
 
 On 4/15/05, Abu Khaled [EMAIL PROTECTED] wrote:
  On 4/15/05, MZaini [EMAIL PROTECTED] wrote:
   Hi,
  
   May I know the default root password for FreeBSD 5.4-RC2? My system
   was previously running FreeBSD 5.3-SECURITY. Then I set the option in
   sysinstall to 5.4-RC2 and upgrade the base distribution. After that I
   accidentally rebooted the server. Now I could no longer access the
   server.
  
   Thanks
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
  Hello...
  The answer to you question is on the FreeBSD website. Just read the
  FAQ - System Administrations.
 
  --
  Kind regards
  Abu Khaled
 
 

AFAIK there is no default root password.
I checked the default files and didn't find any. It's blank.
-
# $FreeBSD: /repoman/r/ncvs/src/etc/master.passwd,v 1.39 2004/08/01
21:33:47 markm Exp $
#
root::0:0::0:0:Charlie :/root:/bin/csh
..
-

hmmm. Does hitting Enter without entering a password work ?!
Sorry I really don't know.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ls colorized in freebsd csh??

2005-04-09 Thread Abu Khaled
On Apr 9, 2005 11:17 PM, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Sat, Apr 09, 2005 at 05:15:30PM -0300, [EMAIL PROTECTED] wrote:
  How do I use a ls colorized in FreeBSD 5.2.1???
 
 ls -G, as described in the manpage.
 
  In Linux I have a ls colorized how to do in FreeBSD csh???
 
 Your '?' key seems to be stuck; might want to look into that.
 
 Kris
 
 
 

You can also add setenv CLICOLOR to .cshrc in your home directory.
# cd ~
# ee .cshrc
this well open the file for editing. add
setenv CLICOLOR 1

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Packages Corrupted

2005-03-30 Thread Abu Khaled
On Thu, 31 Mar 2005 06:55:22 +0200, KP [EMAIL PROTECTED] wrote:
 - Original Message -
 From: Michael C. Shultz [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Thursday, March 31, 2005 6:42 AM
 Subject: Re: Packages Corrupted
 
  On Wednesday 30 March 2005 08:27 pm, KP wrote:
   I installed apache, php and mysql with pkg_add, unfortunately I
   messed up the directory /var/db during moving and linking. Now when I
   pkg_delete or pkg_add any php related packages, always got the error
   message: the package info for package 'pkg' is corrupt, tried
   pkgdb -F and it didn't work. This is a new server running 5.3
   release, just installed serveral packages, but with the error
   message, I feel the system totally corrupted. Is it possible to fix
   this? Many thanks in advance!
   Kevin
 
  If /var/db is messed up there is no way to know which installed
  package is associated with which port.  If you don't see any package
  names listed under /var/db/pkg they are as good as not being installed
  as far as the ports system is concerned. You should never fool with
  anything under /var/db/pkg, always leave that to the ports system to
  handle. What is the status of  /var/db/pkg now? Are there any package
  names listed in it?
 
  -Mike
 
 Thanks for your reply, Mike.
 /var/db/pkg looks good
 # ls
 apache-1.3.33   mysql-client-4.0.21 php4-pcre-4.3.9
 pkgdb.db
 bison-1.75_2perl-5.8.5  php4-posix-4.3.9
 portupgrade-20041226_1
 cvsup-without-gui-16.1h php4-bz2-4.3.9  php4-session-4.3.9
 ruby-1.8.2_3
 expat-1.95.8php4-ctype-4.3.9php4-tokenizer-4.3.9
 ruby18-bdb1-0.2.2
 gettext-0.13.1_1php4-extensions-1.0 php4-xml-4.3.9
 unixbench-4.1.0
 libiconv-1.9.2_1php4-mysql-4.3.9php4-zlib-4.3.9
 m4-1.4.1php4-overload-4.3.9 pkg
 
 But If I try to delete a package, it will go to the error message in the
 end.
 
 # pkg_delete php4-xml-4.3.9
 pkg_delete: package 'php4-xml-4.3.9' is required by these other packages and
 may not be deinstalled: php4-extensions-1.0
 
 # pkg_delete php4-extensions-1.0
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 pkg_delete: the package info for package 'pkg' is corrupt
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Is pkg in /var/db/pkg/ a file or directory how did it end up there.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Packages Corrupted

2005-03-30 Thread Abu Khaled
On Thu, 31 Mar 2005 07:18:54 +0200, KP [EMAIL PROTECTED] wrote:
 
 - Original Message -
 From: Abu Khaled [EMAIL PROTECTED]
 To: KP [EMAIL PROTECTED]
 Cc: Michael C. Shultz [EMAIL PROTECTED];
 freebsd-questions@freebsd.org
 Sent: Thursday, March 31, 2005 6:58 AM
 Subject: Re: Packages Corrupted
 
  On Thu, 31 Mar 2005 06:55:22 +0200, KP [EMAIL PROTECTED] wrote:
   - Original Message -
   From: Michael C. Shultz [EMAIL PROTECTED]
   To: freebsd-questions@freebsd.org
   Sent: Thursday, March 31, 2005 6:42 AM
   Subject: Re: Packages Corrupted
  
On Wednesday 30 March 2005 08:27 pm, KP wrote:
 I installed apache, php and mysql with pkg_add, unfortunately I
 messed up the directory /var/db during moving and linking. Now when
 I
 pkg_delete or pkg_add any php related packages, always got the error
 message: the package info for package 'pkg' is corrupt, tried
 pkgdb -F and it didn't work. This is a new server running 5.3
 release, just installed serveral packages, but with the error
 message, I feel the system totally corrupted. Is it possible to fix
 this? Many thanks in advance!
 Kevin
   
If /var/db is messed up there is no way to know which installed
package is associated with which port.  If you don't see any package
names listed under /var/db/pkg they are as good as not being installed
as far as the ports system is concerned. You should never fool with
anything under /var/db/pkg, always leave that to the ports system to
handle. What is the status of  /var/db/pkg now? Are there any package
names listed in it?
   
-Mike
  
   Thanks for your reply, Mike.
   /var/db/pkg looks good
   # ls
   apache-1.3.33   mysql-client-4.0.21 php4-pcre-4.3.9
   pkgdb.db
   bison-1.75_2perl-5.8.5  php4-posix-4.3.9
   portupgrade-20041226_1
   cvsup-without-gui-16.1h php4-bz2-4.3.9  php4-session-4.3.9
   ruby-1.8.2_3
   expat-1.95.8php4-ctype-4.3.9php4-tokenizer-4.3.9
   ruby18-bdb1-0.2.2
   gettext-0.13.1_1php4-extensions-1.0 php4-xml-4.3.9
   unixbench-4.1.0
   libiconv-1.9.2_1php4-mysql-4.3.9php4-zlib-4.3.9
   m4-1.4.1php4-overload-4.3.9 pkg
  
   But If I try to delete a package, it will go to the error message in the
   end.
  
   # pkg_delete php4-xml-4.3.9
   pkg_delete: package 'php4-xml-4.3.9' is required by these other packages
 and
   may not be deinstalled: php4-extensions-1.0
  
   # pkg_delete php4-extensions-1.0
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
   pkg_delete: the package info for package 'pkg' is corrupt
  
  
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
 [EMAIL PROTECTED]
  
 
  Is pkg in /var/db/pkg/ a file or directory how did it end up there.
 
  --
  Kind regards
  Abu Khaled
 
  On Thu, 31 Mar 2005 06:55:22 +0200, KP [EMAIL PROTECTED] wrote:
   - Original Message -
   From: Michael C. Shultz [EMAIL PROTECTED]
   To: freebsd-questions@freebsd.org
   Sent: Thursday, March 31, 2005 6:42 AM
   Subject: Re: Packages Corrupted
  
On Wednesday 30 March 2005 08:27 pm, KP wrote:
 I installed apache, php and mysql with pkg_add, unfortunately I
 messed up the directory /var/db during moving and linking. Now when
 I
 pkg_delete or pkg_add any php related packages, always got the error
 message: the package info for package 'pkg' is corrupt, tried
 pkgdb -F and it didn't work. This is a new server running 5.3
 release, just installed serveral packages, but with the error
 message, I feel the system totally corrupted. Is it possible to fix
 this? Many thanks in advance!
 Kevin
   
If /var/db is messed up there is no way to know which installed
package is associated with which port.  If you don't see any package
names listed under /var/db/pkg they are as good as not being installed
as far as the ports system is concerned. You should never fool with
anything under /var/db/pkg, always leave that to the ports system to
handle. What is the status of  /var/db/pkg

Re: help setting up dhcp client

2005-03-30 Thread Abu Khaled
On Wed, 30 Mar 2005 18:57:00 -0500, Antoine Solomon
[EMAIL PROTECTED] wrote:
 hello all,
 
 My cable provider just changed my ip address and for some reason my
 dhcp client is unable to pick that ip address up or netmask up.   I
 tried using ifconfig inet my ipaddress netmask 255.255.255.0 but
 no luck.I also tried oneof my windows systems and it seemed to
 pick it up fine.   Can anyone help?
 
 --
 Antoine W. Solomon Jr.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Try this

# dhclient interfacename

you can also add it to /etc/rc.conf
ifconfig_interfacename=DHCP

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Restart Networks

2005-03-30 Thread Abu Khaled
On Wed, 30 Mar 2005 19:27:06 -0500, Grant Peel [EMAIL PROTECTED] wrote:
 Hello all,
 
 On linux variants, you can run a command like:
 /etc/init.d/network restart
 that will restart network serverices ie, reinitialize ifconfig setup, reload
 IPs for a local NIC.
 
 Does anyone know if there is a similar command or command set in FreeBSD?
 
 -GRant
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Well I don't remember the last time I needed to do that but try
# /etc/netstart

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help setting up dhcp client

2005-03-30 Thread Abu Khaled
On Wed, 30 Mar 2005 19:48:50 -0500, Antoine Solomon
[EMAIL PROTECTED] wrote:
 I had it just like th is
 ifconfig_dc0=DHCP
 
 
 On Thu, 31 Mar 2005 02:21:52 +0200, Abu Khaled [EMAIL PROTECTED] wrote:
  On Wed, 30 Mar 2005 18:57:00 -0500, Antoine Solomon
  [EMAIL PROTECTED] wrote:
   hello all,
  
   My cable provider just changed my ip address and for some reason my
   dhcp client is unable to pick that ip address up or netmask up.   I
   tried using ifconfig inet my ipaddress netmask 255.255.255.0 but
   no luck.I also tried oneof my windows systems and it seemed to
   pick it up fine.   Can anyone help?
  
   --
   Antoine W. Solomon Jr.
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
  Try this
 
  # dhclient interfacename
 
  you can also add it to /etc/rc.conf
  ifconfig_interfacename=DHCP
 
  --
  Kind regards
  Abu Khaled
 
 
 --
 Antoine W. Solomon Jr.
 

Try this
# dhclient -r dc0
# dhclient -v dc0
and check the results
also check the file /var/db/dhclient.leases

PS: Do you have a firewall configured?

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem using MAKE

2005-03-29 Thread Abu Khaled
On Mon, 28 Mar 2005 20:21:07 -0500 (EST), Michael A. Alestock
[EMAIL PROTECTED] wrote:
 I'm trying to update my source tree.  When I 'CD' to /usr/src and execute
 the command, make update  I get this error
 
 make: don't know how to make update.  Stop
 
 Am I missing something?  Did I forget to install a port to aid in the MAKE
 process??
 
 Thanks for the help in advance.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Well I am not sure about the make: don't know how to make update message.

I use cvsup to update src/ports/doc.
You need to add options to /etc/make.conf to use make update
Here is my cvsup related options in /etc/make.conf
-
SUP_UPDATE=yes
SUP=/usr/local/bin/cvsup # - default installation for cvsup
SUPFLAGS=-g -L 2 # options for cvsup
SUPHOST=cvsup.uk.freebsd.org  # the server to use
SUPFILE=path+filename to your src_all sup file
PORTSSUPFILE=path+filename to ports_all sup file
DOCSUPFILE=path+filename to doc_all sup file
-

Try man make.conf for more details. Good luck

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a question about the pkg_add and make install clean

2005-03-28 Thread Abu Khaled
On Tue, 29 Mar 2005 01:12:10 +, well sun [EMAIL PROTECTED] wrote:
 
I had install the freebsd5.3 with custom setup and only install
the source code and base, not install xorg and perl. Then I use cvsup
to upgrade stable source code and current ports. After doing these, I
want to install the kde3 and gnome2. But I found when I use the
pkg_add command, freebsd will go to the directory under 5.3-release,
it is older than the installation using make install clean command.
For example, when I use pkg_add xorg, it will install 6.7 version.
When I use make install clean, it will install 6.8.2 version. How
can I make them to install same versions?  Another question is, when I
install the xorg-clients, it give me a error message that libc.so.6
not found, and many reference to *GL.so not found, how can I fix it? I
had get the latest X11R7-src{1,2,3}.tar.bz2.
  

My guess would be that you did not build/install world/kernel. So the
package system still defaults to your 5.3 release branch. The
sources/ports you updated must be for the development brach
FreeBSD-5.X, also known as FreeBSD 5-STABLE RELENG 5

Check your CVSUP configuration (supfile).
if default tag=RELENG_5 then you are tracking 5.4 STABLE and you need
to buildworld/kernel and install (check the handbook).

If you don't whant to buildworld/kernel then change tag=RELENG_5 to
tag=RELENG_5_3, cvsup again and your sources/ports well be the same
as PACKAGES (the older ones)

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a question about the pkg_add and make install clean

2005-03-28 Thread Abu Khaled
On Mon, 28 Mar 2005 20:38:56 -0600, Chris [EMAIL PROTECTED] wrote:
 Abu Khaled wrote:
  On Tue, 29 Mar 2005 01:12:10 +, well sun [EMAIL PROTECTED] wrote:
 
I had install the freebsd5.3 with custom setup and only install
the source code and base, not install xorg and perl. Then I use cvsup
to upgrade stable source code and current ports. After doing these, I
want to install the kde3 and gnome2. But I found when I use the
pkg_add command, freebsd will go to the directory under 5.3-release,
it is older than the installation using make install clean command.
For example, when I use pkg_add xorg, it will install 6.7 version.
When I use make install clean, it will install 6.8.2 version. How
can I make them to install same versions?  Another question is, when I
install the xorg-clients, it give me a error message that libc.so.6
not found, and many reference to *GL.so not found, how can I fix it? I
had get the latest X11R7-src{1,2,3}.tar.bz2.
 
 
 
  My guess would be that you did not build/install world/kernel. So the
  package system still defaults to your 5.3 release branch. The
  sources/ports you updated must be for the development brach
  FreeBSD-5.X, also known as FreeBSD 5-STABLE RELENG 5
 
  Check your CVSUP configuration (supfile).
  if default tag=RELENG_5 then you are tracking 5.4 STABLE and you need
  to buildworld/kernel and install (check the handbook).
 
  If you don't whant to buildworld/kernel then change tag=RELENG_5 to
  tag=RELENG_5_3, cvsup again and your sources/ports well be the same
  as PACKAGES (the older ones)
 
 
 This is flat out wrong. The cvsup of the src tree and the ports tree are
 seperate. You would use 2 seperate cvs files.
 
 Now, you could combine them I suppose (I dont know out right - I have
 not done this. If you cvsup the ports tree (and it sounds like you may
 have, by doing so, you have pulled in a newer tree of the ports. Thus,
 a make install would get you the newest installs (pending on when you
 cvsuped the ports tree) of those programs.
 
 Using pkg_add is simply going out to the FBSD site and installing the
 binary (pre compiled) versions that were released when the OS was released.
 
 The proper tag for getting the latest ports tree under 5.3-RELEASE would
 be this in the ports-supfile:
 
 *default release=cvs tag=.
 
 Remeber, as long as you keep your ports tree up to date, the packages
 will always be outdated.
 
 You can find all this out by simply reading the handbook online.
 
 Please try to know what your talking about before confusing a newbie.
 
 --
 Best regards,
 Chris
 
 Virtue is its own punishment.
 

You are right I also noticed that the second part of my reply was
wrong just after I clicked SEND :(

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a question about the pkg_add and make install clean

2005-03-28 Thread Abu Khaled
On Tue, 29 Mar 2005 03:27:22 +, well sun [EMAIL PROTECTED] wrote:
 
  
 
 thanks your answers. I use the ports-supfile and stable-supfile under
 /usr/share/examples/cvsup to do upgrade. 
 
 I think I understand what the difference between the pkg_add and make
 install. 
 
 That is if I want to install the latest version, I should use the make
 install or get the xxx.tbz from the freebsd-current directory. Is it
 correct? 
 
 Could I make the default directory from 5.3-release to 6.0-current by change
 one configuration file? If I want to override the default fetching site of
 pkg_add command by some faster sites, how can I do? 

you need to set PACKAGESITE environment variable

example for i386 and 5.X STABLE
# setenv PACKAGESITE
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ALL

If it fails I use this one
# setenv PACKAGESITE
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest

 
 From: Chris [EMAIL PROTECTED] 
 Reply-To: [EMAIL PROTECTED] 
 To: Abu Khaled [EMAIL PROTECTED] 
 CC: well sun [EMAIL PROTECTED], freebsd-questions@freebsd.org 
 Subject: Re: a question about the pkg_add and make install clean 
 Date: Mon, 28 Mar 2005 20:38:56 -0600 
  
 Abu Khaled wrote: 
 On Tue, 29 Mar 2005 01:12:10 +, well sun [EMAIL PROTECTED] 
 wrote: 
  
I had install the freebsd5.3 with custom setup and only 
 install 
the source code and base, not install xorg and perl. Then I use 
 cvsup 
to upgrade stable source code and current ports. After doing 
 these, I 
want to install the kde3 and gnome2. But I found when I use the 
pkg_add command, freebsd will go to the directory under 
 5.3-release, 
it is older than the installation using make install clean 
 command. 
For example, when I use pkg_add xorg, it will install 6.7 
 version. 
When I use make install clean, it will install 6.8.2 version. 
 How 
can I make them to install same versions?  Another question is, 
 when I 
install the xorg-clients, it give me a error message that 
 libc.so.6 
not found, and many reference to *GL.so not found, how can I 
 fix it? I 
had get the latest X11R7-src{1,2,3}.tar.bz2. 
  
  
  
 My guess would be that you did not build/install world/kernel. So 
 the 
 package system still defaults to your 5.3 release branch. The 
 sources/ports you updated must be for the development brach 
 FreeBSD-5.X, also known as FreeBSD 5-STABLE RELENG 5 
  
 Check your CVSUP configuration (supfile). 
 if default tag=RELENG_5 then you are tracking 5.4 STABLE and you 
 need 
 to buildworld/kernel and install (check the handbook). 
  
 If you don't whant to buildworld/kernel then change tag=RELENG_5 
 to 
 tag=RELENG_5_3, cvsup again and your sources/ports well be the 
 same 
 as PACKAGES (the older ones) 
  
  
 This is flat out wrong. The cvsup of the src tree and the ports tree 
 are seperate. You would use 2 seperate cvs files. 
  
 Now, you could combine them I suppose (I dont know out right - I 
 have not done this. If you cvsup the ports tree (and it sounds like 
 you may have, by doing so, you have pulled in a newer tree of the 
 ports. Thus, a make install would get you the newest installs 
 (pending on when you cvsuped the ports tree) of those programs. 
  
 Using pkg_add is simply going out to the FBSD site and installing 
 the binary (pre compiled) versions that were released when the OS 
 was released. 
  
 The proper tag for getting the latest ports tree under 5.3-RELEASE 
 would be this in the ports-supfile: 
  
 *default release=cvs tag=. 
  
 Remeber, as long as you keep your ports tree up to date, the 
 packages will always be outdated. 
  
 You can find all this out by simply reading the handbook online. 
  
 Please try to know what your talking about before confusing a 
 newbie. 
  
 -- 
 Best regards, 
 Chris 
  
 Virtue is its own punishment. 
 
 
 
  Find files on your PC instantly with the new MSN Toolbar Suite beta  FREE!


-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a question about the pkg_add and make install clean

2005-03-28 Thread Abu Khaled
you need to set PACKAGESITE environment variable

example for i386 and 5.X STABLE
# setenv PACKAGESITE
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ALL/

PS: don't forget the trailing / like i did

If it fails I use this one
# setenv PACKAGESITE
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest/

PS: don't forget the trailing / like i did

Oh man i better double check my replies !!!

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Installation

2005-03-27 Thread Abu Khaled
On Sun, 27 Mar 2005 16:33:35 -0800, Joe Parker [EMAIL PROTECTED] wrote:
 
 
 I have version 4.6 and 4.8 of FreeBSD and I am having trouble getting pass a 
 certain point. This is the procedure I have followed form The FreeBSD 
 Handbook, 3rd Edition, Volume I: User Guide Edited by Murray Stokely and 
 Chern Lee.
 
 I boot for the CD and start form Start kernel configuration in full-screen 
 visual mode.
 
 Then Press X
 
 Then delete:
 
 Advansys SCSI narrow controller
 
 Adaptec 154 X SCSI controller
 
 Adaptec 152 X SCSI and computable sound card
 
 Buslogic SCSI controller
 
 Then press Q
 
 Save these parameters before exiting YES
 
 While loading the sysinstall it freezes up when it reaches sio0: type 8250.
 
 The book shows type 16550A

sio0 is the serial interface. If you don't need it try to disable it
bios to see if it's the reason for this problem.

 
 The computer I am trying to install FreeBSD on is an AMD 700 Mhz maching with 
 512 K of memory. Nothing else on the hard drive. It will be a stand a lone 
 computer once I get FreeBSD installed.
 
 Any help you can give me will be greatly appreciated.
 
 Best Regards,  Joe
 
 
 Joe Parker
 [EMAIL PROTECTED]
 Why Wait? Move to EarthLink.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade (vs. Portmanager) question

2005-03-27 Thread Abu Khaled
On Sun, 27 Mar 2005 19:08:56 -0800, Jay O'Brien [EMAIL PROTECTED] wrote:
 Alec Berryman wrote:
 
  Jay O'Brien on 2005-03-27 18:20:00 -0800:
 
 
 Now, pkg_info says I have 10 packages installed; added were ezm3,
 gettext, gmake, libiconv, libtool, portupgrade,ruby and ruby18. If
 these all required to make portupgrade or perl work, where is that
 reference?
 
 
  They are required to build and run portupgrade.  If you do a 'make search
  name=portupgrade' from /usr/ports, it will list all the dependencies.
 
 
 PS.. I tried to install portmanager again, and this time it got the
 files immediately and installed fine. It took about a minute, not two
 hours. It reports that all my ports are up to date. Whew.
 
 
  That's because portupgrade did all the work :)  If you had run
  portmanager before running portupgrade, you would have seen something
  similar - portmanager taking two hours and portupgrade taking almost
  no time at all.
 
 Alec,
 
 Thanks, I searched the FreeBSD Handbook for dependency and didn't find any
 reference to make search. I guess it is one of those things that once you
 know about it you don't have to look for it any more. Unfortunately a lot
 of the documentation I can review is written for those folks who already
 know the answers.
 
 Thanks for the heads up on 'make search', even if I can't find a complete
 description of the command. I find that it is referenced in the manual,
 however.
 
 I see that several of the packages that were installed aren't listed in the
 dependencies for portupgrade. Only the two ruby programs are listed.

ezm3, gettext, gmake, libiconv, libtool are the build dependencies for
cvsup-without-gui.

# cd /usr/ports
# make search name=cvsup-without-gui

If you updated your soirces/ports cvsup then portupgrade did what
you asked it to do. It Updated all outdated packages/ports and there
dependencies.

 
 Jay
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade (vs. Portmanager) question

2005-03-27 Thread Abu Khaled
On Sun, 27 Mar 2005 20:27:17 -0800, Jay O'Brien [EMAIL PROTECTED] wrote:
 Abu Khaled wrote:
 
  ezm3, gettext, gmake, libiconv, libtool are the build dependencies for
  cvsup-without-gui.
 
  # cd /usr/ports
  # make search name=cvsup-without-gui
 
 
 Abu, I don't get that result. I only show ezm3-1.2.
 
 # cd /usr/ports
 # make search name=cvsup-without-gui
 Port:   cvsup-without-gui-16.1h_2
 Path:   /usr/ports/net/cvsup-without-gui
 Info:   General network file distribution system optimized for CVS (non-GUI 
 version)
 Maint:  [EMAIL PROTECTED]
 B-deps: ezm3-1.2
 R-deps:
 WWW:http://www.cvsup.org/
 #
 
  If you updated your soirces/ports cvsup then portupgrade did what
  you asked it to do. It Updated all outdated packages/ports and there
  dependencies.
 
 I'm convinced that you are right. However, why don't I show the other
 dependencies?

# cd /usr/ports
# make search name=ezm3

That's the best thing about portupgrade/portmanager. We don't have to
worry (too much) about dependencies.

 
 Jay
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade (vs. Portmanager) question

2005-03-27 Thread Abu Khaled
On Sun, 27 Mar 2005 21:51:28 -0800, Michael C. Shultz
[EMAIL PROTECTED] wrote:
 On Sunday 27 March 2005 09:41 pm, Jay O'Brien wrote:
  stheg olloydson wrote:
   Hello,
  
   They are recursive dependencies. Check each ports requirements.
   cvsup-without-gui depends on ezm3. ezm3 depends on gmake,
   gettext and libiconv. libiconv depends on libtool...and the foot
   bone's connected to the toe bone :).
  
   hth,
  
   stheg
 
  stheg,
 
  Thank you. Great learning experience. Especially 'make search'. That
  is very useful. But how does it work (/usr/ports/Makefile doesn't
  have a SEARCH statement) and is it documented somewhere, like in a
  MAN page?
 
  The handbook, ¶4.3, mentions 'make search' but doesn't explain how it
  works.
 
  Jay
 
 It would be nice if the ports make options were better documented, but
 you can read through /usr/ports/Mk/bsd.port.mk and find information
 on the various options.
 
 here is an example:
 
 # all-depends-list
 # - Show all directories which are dependencies
 # for this port.
 
 then
 
 cd /usr/ports/lang/ezm3/
 make all-depends-list
 
 result:
 
 /usr/ports/converters/libiconv
 /usr/ports/devel/gettext
 /usr/ports/devel/gmake
 /usr/ports/devel/libtool15
 
 -Mike
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Thank you Michael for the very usefull information.
Ahh, can't say how much I've learned after joining the lists.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: .cshrc

2005-03-25 Thread Abu Khaled
On Sat, 26 Mar 2005 01:47:13 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 Is .profile read by every shell ?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

AFAIK only sh reads .profile

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot boot 5.3 after power failure - major bug?

2005-03-22 Thread Abu Khaled
On Tue, 22 Mar 2005 19:32:41 -0800 (PST), stheg olloydson
[EMAIL PROTECTED] wrote:
 Hello,
 
 While testing 5.3, I deliberately cut power to the box and
 powered up. Much to my surprise, I receive the following error:
 
 error 16 lba
 invalid format

error 16 lba = 0x10  Uncorrectable CRC/ECC error

 
 FreeBSD/i386 boot
 Default: 0:ad(0,a)/kernel
 boot:
 No /kernel
 

Yup you did it the booting process can't find the kernel to boot.

 FreeBSD/i386 boot
 Default: 0:ad(0,a)/kernel
 boot:
 
 The disk is/was formatted as UFS2 (dangerously dedicated) with
 softupdates. If I enter a command, nothing happens:
 
 FreeBSD/i386 boot
 Default: 0:ad(0,a)/kernel
 boot:fsck -y
 

You can enter commands relevant to the booting process it is not a
shell or something like that.

 FreeBSD/i386 boot
 Default: 0:ad(0,a)fsck
 boot:
 
 If I enter a question mark, I get a listing of the root
 filesystem's contents. (If the disk format were truly unknown,
 how is this possible?)

A question mark ? Give a short listing of the files in the root
directory of the default boot device, as a hint about available boot
files.

 This problem appears to be identical to the one posted by cell
 on 3/14/05, so this would seem to be a repeatable problem.
 Because this is a test box, I could just flatten it and
 reinstall, I would rather do a graceful recovery. Any
 suggestions on how to accomplish this would be appreciated.
 Note: Any suggestions involving using Release Disc 2 are
 problematic. For some reason, the iso will not burn; the process
 hangs immediately. I downloaded it from four different sites,
 including ftp.freebsd.org with identical results. (The other
 three disc images burn correctly.)
 
 Thanks for your time,
 
 stheg
 

Well you can try to boot manually it may work. type the following at
the boot prompt

0:ad(0,a)/boot/loader
OR
0:ad(0,a)/boot/kernel

If it works the you might have a chance to fix the problem. Somehow I
seem to have forgoten what to do next. I'll check the handbook !!!

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot boot 5.3 after power failure - major bug?

2005-03-22 Thread Abu Khaled
 Well you can try to boot manually it may work. type the following at
 the boot prompt
 
 0:ad(0,a)/boot/loader
 OR
 0:ad(0,a)/boot/kernel

Ooops I guess the last one is 0:ad(0,a)/boot/kernel
Sorry

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot boot 5.3 after power failure - major bug?

2005-03-22 Thread Abu Khaled
On Wed, 23 Mar 2005 06:23:32 +0200, Abu Khaled [EMAIL PROTECTED] wrote:
  Well you can try to boot manually it may work. type the following at
  the boot prompt
 
  0:ad(0,a)/boot/loader
  OR
  0:ad(0,a)/boot/kernel
 
 Ooops I guess the last one is 0:ad(0,a)/boot/kernel
 Sorry
 

Oh man I hat keyboard shortcuts. just pasted the wrong one again.

0:ad(0,a)/boot/kernel/kernel   Yup this is the one... I hope

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where is zlib-1.2.2 zlib.so?

2005-03-21 Thread Abu Khaled
On Mon, 21 Mar 2005 20:21:17 GMT, Mark [EMAIL PROTECTED] wrote:
 
 Ok, I downloaded and installed zlib-1.2.2 (FreeBSD 4.10R):
 
 -
 asarian-host: {root} % make install
 cp zlib.h zconf.h /usr/local/include
 chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
 cp libz.a /usr/local/lib
 cd /usr/local/lib; chmod 755 libz.a
 cd /usr/local/lib; if test -f libz.so.1.2.2; then  rm -f libz.so libz.so.1;
 ln -s libz.so.1.2.2 libz.so;  ln -s libz.so.1.2.2 libz.so.1;  
   ^  ^
command to make symbolic link

(ldconfig ||
 true)  /dev/null 21;  fi
 cp zlib.3 /usr/local/share/man/man3
 chmod 644 /usr/local/share/man/man3/zlib.3
 
 asarian-host: {root} % find /usr/ -name libz.* | xargs ls -la
 -r--r--r--  1 root  wheel  61898 Mar  7  2004 /usr/lib/libz.a
 lrwxr-xr-x  1 root  wheel  9 Mar  7  2004 /usr/lib/libz.so - libz.so.2   
   ^
here it is !!!
   symbolic link to libz.so.2

 -r--r--r--  1 root  wheel  52108 Mar  7  2004 /usr/lib/libz.so.2
 -rwxr-xr-x  1 root  wheel  74486 Mar 21 21:01 /usr/local/lib/libz.a
 -
 
 So, where is the new shared library, libz.so? I only see libz.a installed.
 
 Thanks,
 
 - Mark
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Well is it there or not?

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what is the difference between WCPU and CPU

2005-03-20 Thread Abu Khaled
On Sun, 20 Mar 2005 10:10:57 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Sun, 20 Mar 2005 01:57:32 +0200, Abu Khaled [EMAIL PROTECTED] wrote:
  On Sat, 19 Mar 2005 22:04:10 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
   I was looking at top and wondering the difference between WCPU and CPU
 
  Have you tried man top
 
  WCPU, when displayed, is the weighted cpu percentage (this is the
  same value that ps(1) displays as CPU), CPU is the raw percentage and
  is the field that is sorted to determine the order of the processes.
 
 I read the top man but it does not explain what weighted cpu is and raw cpu 
 is.
 

hmmm...

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=57634

I am not sure if this information helps or not. I was a little bit
confused after reading it.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what is the difference between WCPU and CPU

2005-03-19 Thread Abu Khaled
On Sat, 19 Mar 2005 22:04:10 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 I was looking at top and wondering the difference between WCPU and CPU

Have you tried man top

WCPU, when displayed, is the weighted cpu percentage (this is the
same value that ps(1) displays as CPU), CPU is the raw percentage and
is the field that is sorted to determine the order of the processes.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ethernet issue: works one way but not another

2005-03-18 Thread Abu Khaled
On Thu, 17 Mar 2005 22:43:15 -0500, John A. [EMAIL PROTECTED] wrote:
 No problem with the english, if you didn't mention it, I wouldn't have known.
 
 I can ping FBSD from M$, can't ping anything from FBSD.
 
 M$ box works when plugged into hub and directly into radio.
 
 All systems are on same subnet.

If the other machines you are trying to ping have M$ firewall enabled,
then you need to enable incoming echo request in the M$ firewall ICMP
page.

 
 FBSD box worked when plugged into a 100mb hub, but doesn't work when
 plugged into 10mb hub or directly into radio.  Both hubs are 3Com and
 are working with other systems plugged into them.
 

Try to check the output of ifconfig on the FreeBSD box when you
connect it to the 100m hub / 10m hub / radio.
Also try route get M$ BOX IP on the FreeBSD box and check the
output. Does it provide the correct interface/gateway?

 FBSD has no firwall configured.  All I did was perform a standard
 installation loading all binaries and sources from ftp.
 
 I just tested another FBSD 5.3 box that I have and it does the same
 thing, works fine at 100mb, but appears to get lost at 10mb.
 
 Hope this answers some of your questions.
 
 John A.

Am I the only one interested in this topic? Where is the rest of our
lovely community?
Come on guys let's scratch those gray cells and help John out.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ethernet issue: works one way but not another

2005-03-17 Thread abu khaled
On Thu, 17 Mar 2005 11:21:44 -0500, John A. [EMAIL PROTECTED] wrote:
 The system uses a standard installation.  I have only configured the
 ethernet card with the proper ip address for the wireless side of the
 network.  The windoze box is running M$ firewall, but it works fine
 and allows me to ping my gateway and the FBSD box.  What concerns me
 at this point is the fact that tcpdump takes so long to respond.  If I
 let it run, it will display a packet about one every 2 min.  They seem
 to be in time order with timestamps only ms apart.
 
 Let me know if any other information will help.
 
 John A.

First, you have to excuse my English it is my third language and I do
not have that much experience.

This seems like a puzzle to me and I cannot figure out the topology of
your network.

* Can you ping the M$ box from FreeBSD? You need to enable incoming
echo request in M$ firewall.
* Are both systems on the same subnet?
* Have you tried to plug the radio directly into FreeBSD box and test
the connection like you did for M$ box?
* Does your FreeBSD box have a firewall configured?

You mentioned that the connection works if you plug the radio directly
to M$ box. Does it also work when you plug both to the hub? If not
then it might be a crossover cable problem.

As you can see, many pices in this puzzle need sorting out.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ethernet issue: works one way but not another

2005-03-16 Thread abu khaled
On Wed, 16 Mar 2005 21:06:32 -0500, John Allesee [EMAIL PROTECTED] wrote:
 This one has got me stumped.  Been working on it for 3 days now with
 no resolution.  Please help.
 
 I have a 686 system that I just installed 5.3 on through ftp.  So I
 know that my network setup works.  I have 2 networks that I am trying
 to access through.  One network is connected to a 100mb 3com hub using
 private ips into a firewall.  This one works with no problems.
 
 The problem comes when I connect the system to the other network. This
 network is connected through a Breezecom wireless radio at 10mb.  I
 can see that the network is up, ip address is assigned, routes are set
 correctly.  Pings time out.  No traffic appears to cross from radio.
 Plug windoze box to radio, works fine.  Plug radio into 10mb hub and
 plug FBSD server and windoze box to hub, same results on both.  I can
 ping FBSD from windoze.  FBSD still sees nothing.  If I run tcpdump,
 wait 10 sec, hit ctl-C, nothing happens for 2.5 min.  1 packet is
 displayed and exit reports 1 packet captured, 6775 packets received by
 filter, 6094 packets dropped by kernel.
 
 I have tried 3 different network cards, each has the same results.
 Card 1: 3Com 3C905B, card 2: SMC 9432TX, card 3: Generic 10mb card by
 Realtec
 
 I know that the obvious answer is to connect the server through my
 firewalled connection, but I have a need to access another part of my
 company network from my desk and the wireless net is the easiest way
 to do this.
 
 Any and all help is greatly appreciated.
 
 TIA,
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Well I am sure some one well help you if you provide more information
about your network configuration/firewall rules,etc...

Do you have a firewall configured on the freebsd box/M$windoze?

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting rid of message: unknown: PNP0700 can't assign resources (port)

2005-03-15 Thread abu khaled
 unknown: PNP0303 can't assign resources (port)
   * Standard 101/102-Key or Microsoft Natural PS/2 Keyboard *

 unknown: PNP0c02 can't assign resources (memory)
   * Motherboard resources * ? NO IDEA !!!

 unknown: CRX0001 can't assign resources (memory)
   * Cyrix MediaGX *

 unknown: PNP0600 can't assign resources (port)
   * Primary IDE Channel *

 unknown: PNP0600 can't assign resources (port)
   * Primary IDE Channel *

 unknown: PNP0501 can't assign resources (port)
   * Communications Port *

 unknown: PNP0700 can't assign resources (port)
   * Standard floppy disk controller *

 unknown: PNP0401 can't assign resources (port)
   * ECP Printer Port *

 unknown: PNP0501 can't assign resources (port)
   * Communications Port *

 unknown: CRX0002 can't assign resources (port)
   * Cyrix XpressAUDIO(TM) 16-bit Sound *

Google is your friend here I just did a search for CRX0001 and got
many hits. I don't that hardware in my system.

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP address management tool

2005-03-14 Thread abu khaled
On Mon, 14 Mar 2005 10:39:36 +0100, Gunnar Flygt [EMAIL PROTECTED] wrote:
 Is there anyone out there, knowing of a good tool for managing IP
 addresses? I want a tool where it is easy to get a picture of how a
 class B network is divided in to subnets of different sizes, where the
 dhcp ranges are and what statically addresses there are.
 
 Has anyone produced such a tool? database - php -web server based.
 
 --
 Gunnar Flygt
 SR Datadrift
 Sveriges Radio
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

ipplan-4.0.4 in the ports...AFAIK It is for FreeBSD 5 STABLE

-- 
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting rid of message: unknown: PNP0700 can't assign resources (port)

2005-03-12 Thread abu khaled
On Sat, 12 Mar 2005 04:55:32 -0500, Fafa Diliha Romanova
[EMAIL PROTECTED] wrote:
 haye!
 
 i'm just kinda tired of seeing this in my dmesg.
 can i make my kernel ignore it?
 
 thanks!
 
 -- fafa
 --
 ___
 Sign-up for Ads Free at Mail.com
 http://promo.mail.com/adsfreejump.htm
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

The following is an excerpt from a post to the freebsd-current mailing list.

  The ``can't assign resources'' messages indicate that the devices
are legacy ISA devices for which a non-PnP-aware driver is compiled
into the kernel. These include devices such as keyboard controllers,
the programmable interrupt controller chip, and several other bits of
standard infrastructure. The resources cannot be assigned because
there is already a driver using those addresses.
   
--Garrett Wollman [EMAIL PROTECTED], 24 April 2001   

PNP0700 is the Standard floppy disk controller
AFAIK if the Floppy Disk is working then these messages do not mean
that there is a problem.

* I do not know how to disable the message. I have them to.

unknown: PNP0303 can't assign resources (port)
   *Standard 101/102-Key or Microsoft Natural PS/2 Keyboard*

unknown: PNP0c02 can't assign resources (memory)
   *Motherboard resources*

unknown: PNP0c02 can't assign resources (port)
   *Motherboard resources*

unknown: PNP0700 can't assign resources (port)
   *Standard floppy disk controller*

Everyhing is working just fine!!!

--
Kind regards
Abu Khaled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting current ports and packages.

2005-03-07 Thread abu khaled
On Mon, 7 Mar 2005 19:12:39 -0800, Ron Gilbert [EMAIL PROTECTED] wrote:
 
 I posted the following message on [EMAIL PROTECTED], but
 didn't get a response, so maybe someone here can help:
 
 I am trying to figure out why I am not getting the lasted packages.  I
 am trying to get ImageMagick 6.2.0.5, which according to freshports is
 the latest, but when I do pkg_add -r ImageMagick, I get 6.0.6.2.
 

I searched the ports section on freebsd site and found out the following:

ImageMagick 6.2.0.5 is for freebsd 5  4 Stable.
ImageMagick 6.0.6.2 is for FreeBSD 5.x Release. an older version is
for FreeBSD-4.x Release

So which version of FreeBSD are you running?
#uname -a

The packaging system automaticaly fetches the version suited for your
version of FreeBSD.

 I have run cvsups, which I believe gets me the latest ports, is there
 an equivalent for packages?  I was under the impression that they
 always got the latest?
 

Yes but only what is suitable for your current FreeBSD system is
always installed when you install a port or add package.

 As far as ports, do I just need to run cvsups to keep it up-to-date?
 
 All this is a little confusing: ports, packages, cvsups, portupgrade,
 etc... :-)
 

Ports need to be built and installed first.
Packages are precompiled versions  (Binaries) of the Ports.
cvsup updates your source/ports/docs. you still need to install the
updated versions by your self or you can use portupgrade/portmanager
which one you prefer to do this for you.

I hope this information helps to understand how things work under FreeBSD.

 Can someone point me to some clear docs on all this?  I have spent
 hours looks at the freebsd docs, but it's just not clicking for me.
 
 I just want to make sure I am running the most recent version of mysql,
 php4, apache, etc, but am really unclear how to get and upgrade ports
 and packages.

I usually run cvsup daily to update my sources and ports. I don't like
to use pre-compiled packages since I use a custom built kernel and the
default options used to compile the packages are not allways suitable
for my work (I use FreeBSD as a Router , DNS Server BIND , Caching
Proxy SQUID). Thats why I use the ports to configure the build
options to my needs.

Example:
cvsup cvsup.conf# to update my sources and ports.
portupgrade -an   # first i use -an just to check out changes.
cd /usr/ports/www/squid # ohh a new version of squid is there!!!
make config# to checkout configuration options for Squid.
vi Makefile # usally I check the makefile for other options.

Finally instead of building/compiling/installing etc...
portupgrade -v squid  # i use -v because i love to see things as they happen.

Or you can use portupgrade -av to update all ports for which a new
version exists.

People how don't need to compile/install ports just use pkg_add.
It all depends on what you have and what you need.

 
 Ron
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Check the ports page on FreeBSD site http://www.freebsd.org/ports/index.html
Search for ImageMagick. then select the right Release/Stable 4.x or
5.x to see which version of the port exists for differrent versions of
FreeBSD.

-- 
Kind Regards
Abu Khaled.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting iomega zip drive

2005-03-06 Thread abu khaled
On Sun, 06 Mar 2005 22:51:49 -0500, Mike Jeays [EMAIL PROTECTED] wrote:
 On Sun, 2005-03-06 at 17:16, E. J. Cerejo wrote:
   --- Mike Jeays [EMAIL PROTECTED] escreveu:
   On Mon, 2005-02-21 at 19:34, E. J. Cerejo wrote:
I use to be able to mount my paralell zip drive
   with
the following command under Fbsd 4.x:
   
mount -t msdos /dev/da0s4 /zip
   
now I'm running 5.3 I can't, what changed?
   
I noticed that there is only da0 in my /dev
   directory,

if da0 is the only entry in /dev then you might have missed something
in the kernel configuration.

AFAIK device vpo is reguired for Iomega Parallel Zip Drive.
and device umass is required for Iomega USB Zip Drive.

Note that device vpo is disabled by default in the GENERIC
configuration file. I wonder why?!

PS: Secure Kernel Levels might also prevent mounting devices. (not
very sure about this)!

I have this in my kernel:
   
# SCSI peripherals
devicescbus   # SCSI bus (required for SCSI)
#device   ch  # SCSI media changers
deviceda  # Direct Access (disks)
#device   sa  # Sequential Access (tape etc)
deviceatapicam# emulate ATAPI devices as
   SCSI
ditto via CAM
devicecd  # CD
devicepass# Passthrough device (direct SCSI
access)
#device   ses # SCSI Environmental Services (and
SAF-TE)
   
do I need anything else?
   
__
Converse com seus amigos em tempo real com o
   Yahoo! Messenger
http://br.download.yahoo.com/messenger/
___
freebsd-questions@freebsd.org mailing list
   
  
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
   [EMAIL PROTECTED]
  
   Try running cdrecord -scanbus, and see if the
   device number is
   different.  This sounds somewhat similar to a
   problem I was having with
   a flash drive and DVD-burner.
 
   scsibus0:
  0,0,0 0) *
  0,1,0 1) *
  0,2,0 2) *
  0,3,0 3) *
  0,4,0 4) *
  0,5,0 5) *
  0,6,0 6) 'IOMEGA  ' 'ZIP 100 '
  'K.05' Removable Disk
  0,7,0 7) *
  scsibus2:
  2,0,0   200) 'JLMS' 'DVD-ROM LTD-166S'
  'DS0E' Removable CD-ROM
  2,1,0   201) 'LITE-ON ' 'LTR-40125S  '
  'ZS0K' Removable CD-ROM
  2,2,0   202) *
  2,3,0   203) *
  2,4,0   204) *
  2,5,0   205) *
  2,6,0   206) *
  2,7,0   207) *
 
  Aparently it's there on device 0.  Any ideas?
 
 
 
 
 
  ___
  Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. 
  http://br.acesso.yahoo.com/ - Internet rápida e grátis
 
 Not many.  I would try to muddle my way through, with attempts like:
 
 mount -t msdos /dev/da0 /zip
 mount -t msdos /dev/da0sx /zip, for x=1 to 4 (the 4 you have already
 tried)
 
 Then in desperation:
 mount -t msdos /dev/da6 /zip
 mount -t msdos /dev/da6sx /zip for x=1 to 4
 
 mount -t msdos /dev/afd0 /zip
 
 Maybe someone else will have a better understanding of the device number
 mappings.  I clearly don't.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cpu overhead

2005-03-04 Thread abu khaled
On Fri, 4 Mar 2005 13:36:51 +0900, Bhaban Singh [EMAIL PROTECTED] wrote:
 Could anybody tell me is there any cpu monitoring tools for FreeBSD.
 pleas send me any idea.

for the console i use  top  i don't use X but there are many ports
that provide CPU/MEMORY/ monitoring. Search in the ports !

 
 thanks
 bhaban
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: where is autoconf

2005-03-02 Thread abu khaled
---for example if you want to install autoconf version 2.59

cd /usr/ports/devel/autoconf259
make clean
make install

---the port well then be downladed and compiled/installed

---to uninstall
cd /usr/ports/devel/autoconf259
make deinstall

---you can also install a pre-compiled version using pkg_add

pkg_add -r autoconf259

---to uninstall
pkg_delete autoconf259

personally i like to use the ports since they compile on my custom built kernel

Good Luck :)

On Wed, 02 Mar 2005 21:53:09 -0500, Stefan Seefeld [EMAIL PROTECTED] wrote:
 hi there,
 
 I'm quite new to freebsd, so please forgive my
 ignorance.
 
 I'v just installed freebsd on a free partition,
 and I try to get familiar with the system.
 
 Ultimately I'd like to try to port applications
 I develop on linux to freebsd.
 
 The first issue I run into is that I'm unable to
 find an 'autoconf' executable. I'v found different
 versions as ports and packages, but they all only
 seem to contain autoconfversion, where version
 is one of [213, 253, 259].
 
 What am I doing wrong ?
 
 Thanks,
 Stefan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Updating the ports index is slow, but system load is nil

2005-03-01 Thread abu khaled
try to fetch the ports index before running portupgrade.

cd /usr/ports
make fetchindex
portupgrade ?port?

On Wed, 2 Mar 2005 01:51:45 +, Richard Bradley [EMAIL PROTECTED] wrote:
 Hi,
 
 Sometimes (not always) when I do a 'portupgrade', it takes _ages_ to update
 the ports index, without actually placing any noticeable load on the system.
 
 In ports/UPDATING, it says (of make index) This may take an undesirably long
 time.. That would be fine, *if it were doing any work*.
 
 I try to speed it up by reniceing all the processes I can pin down as
 belonging to the portupgrade (is there a recursive renice for child
 processes?), but it makes no difference.
 
 Here's a grab of top, after I've been staring at
 Updating the ports index ... Generating INDEX.tmp - please wait..
 for about 10 minutes
 
 PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
 65942 rich 1010 37396K 27732K select   0:01  4.18%  2.39% kdeinit
 62156 rich  960 52072K 40144K select   0:04  1.69%  1.56% kontact
   557 root  960   102M 48316K select  15:39  0.88%  0.88% Xorg
 67154 root   8   -5  7304K  7180K wait 0:00  2.96%  0.54% make
 67520 root   8   -5   928K   800K wait 0:00  3.00%  0.15% make
 
 notice that
 a) there's almost no load on the system
 b) I managed to catch some of the make's and renice them
 c) It didn't help
 These two makes soon disappeared from the top of the list, leaving only
 background processes.
 
 It doesn't have any open network connections, so I'm not waiting for a remote
 machine; it doesn't have any system load so I'm not waiting for processing;
 the hard disk is (largely) idle, so I'm not waiting for i/o, but I am still
 waiting!
 
 How can I make it stop messing around and get on with it?
 
 Thanks,
 
 Rich
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tab completion

2005-03-01 Thread abu khaled
I'm not sure if this helps but you can at least try.

login as non-root (user)
run this command: chsh -s /bin/tcsh
you well be prompted for you non-root password
logout and login again as non-root and see if it works

you can su to root and use use the same command to change the root
shell.(sh is recommended for root)

I hope it works!!!

On Tue, 01 Mar 2005 20:24:13 -0800, Ben Munat [EMAIL PROTECTED] wrote:
 I used vipw to set my regular user's shell to tcsh. /etc/passwd shows it 
 correct now but I
 still appear to be getting sh as my shell. If I run tcsh, I then get the tab 
 completion.
 But how do I get the terminal to put me in tcsh automatically?
 
 Ben
 
 
 Jonathan Chen wrote:
  On Tue, Mar 01, 2005 at 09:28:02AM -0800, Ben Munat wrote:
 
 None of those commands worked... However, I've also found that echo $SHELL
 in my regular user's terminal says /bin/sh, while as root it says /bin/csh.
 
 
  If you're using /bin/sh, then of course none of the given commands
  will work as they are for tcsh.
 
 
 Both root and the non-root user's shells are listed in /etc/passwd as
 /bin/tcsh, so where else would the shell get set? Can I just set all
 terminals and all users (i.e. me) to have the same shell with the same
 capabilities?
 
 
  I suspect that /etc/passwd has gotten out of sync with master.passwd.
  Don't edit /etc/passwd. Use vipw(1) and make your changes within
  there.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPFW2 verrevpath versrcreach antispoof

2005-02-27 Thread abu khaled
Greetings...

I recently build world and kernel with ipfw support. Can someone
provide examples on how to use these options (verrevpath, versrcreach
and antispoof). What can they be used for and can't! and how to use
them (proper syntax).

Execuse my poor english! I am knew to FreeBSD and UNIX / LINUX.
however thanks to searching the mailling lists I managed to setup a
FreeBSD box. I use it as a router with squid as a transparent proxy
and Bind forwarding DNS.

FreeBSD *.*5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Sat Feb
26 07:19:15 IST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/XNET530
 i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFW2 verrevpath versrcreach antispoof

2005-02-27 Thread abu khaled
I hope I am sending this post to the right mailing list !!!

On Mon, 28 Feb 2005 07:06:58 +0200, abu khaled [EMAIL PROTECTED] wrote:
 Greetings...
 
 I recently build world and kernel with ipfw support. Can someone
 provide examples on how to use these options (verrevpath, versrcreach
 and antispoof). What can they be used for and can't! and how to use
 them (proper syntax).
 
 Execuse my poor english! I am knew to FreeBSD and UNIX / LINUX.
 however thanks to searching the mailling lists I managed to setup a
 FreeBSD box. I use it as a router with squid as a transparent proxy
 and Bind forwarding DNS.
 
 FreeBSD *.*5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Sat Feb
 26 07:19:15 IST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/XNET530
 i386

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]