Printing with HP Deskjet 3820

2004-01-28 Thread paul
I'm trying to configure my Deskjet 3820 using CUPS but have a feeling 
I'm doing something wrong I installed cups went to 
http://localhost:631/admin and added a printer I'm not exactly sure if I 
did it right I got the directions from the freebsddiary but I entered 
/dev/lpt0 for location heres my dmesg output:
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
I did the ipp://localhost/ipp/ like in the freebsd diary and tryed 
printing a test page nothing happens though this is all I have done so 
far and would appreciate help
regards -Paul

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


Re: Printing with HP Deskjet 3820

2004-01-28 Thread paul
sd wrote:

On Wednesday 28 January 2004 06:21 pm, paul wrote:
 

I'm trying to configure my Deskjet 3820 using CUPS but have a
feeling I'm doing something wrong I installed cups went to
http://localhost:631/admin and added a printer I'm not exactly sure
if I did it right I got the directions from the freebsddiary but I
entered /dev/lpt0 for location heres my dmesg output:
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
   

---

Is your printer connected using USB? If so, check your /dev directory. 
I think the device is /dev/ulpt0 for a USB-connected printer.

Steve

 

Yes it is connected using USB I don't see a /dev/ulpt0 entry however

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


5.2 kernel compilation error

2004-01-30 Thread paul
after i fresh 5.2 install i cvsup using the tag releng_5_2 do a make 
world i then tryed doing a custom kernel and recieve the following error 
i also tryed make buildkernel make kernel and recieve the same error

sh ../../../conf/newvers.sh GENERIC
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I../../.. 
-I../../../contrib/dev/acpica -I../../../contrib/ipfilter 
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd 
-I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common 
-finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Werror  vers.c
vers.c:30:18: unknown escape sequence '\.'
*** Error code 1

any help would be appreciated
regards -Paul
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


most used programs

2004-01-31 Thread paul
Was wondering what everyones most used programs are or programs you just 
can't live without ( just looking for some new toys to play with)
Best regards
-Paul

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


5.2.1 problems

2004-02-07 Thread paul
when I try to install 5.2.1 from ISO while booting i recieve this 
message ata0-master: TIMEOUT - SETFEATURES SET TRANSFER MODE retrying 
(0 retries left)

I recieve this message twice then my whole system freezes and I can't do 
nothing I also tryed installing 5.2 which installs fine then cvsuping to 
5.2.1 and recieve the same problem. Anyone help me out?
-Paul

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


HP Deskjet 3820

2004-02-08 Thread paul
Hey everyone I'm wondering if anyone else out there has a hp deskjet 3820, I can't 
seem to get the dpi right. I'm printing using cups I downloaded a ppd file for my 
printer from linuxprinting.org and selected it from the cups admin but it doesn't 
print I used the hp ppd that comes with cups and it prints but the dpi is so low 
everything looks like poop especially pictures. If anyone else out there has one of 
these printers or can lend some advice it would be greatly appreciated 
Best Regards 
Paul
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: do we have to wait for PHP 4.3 port?

2002-12-31 Thread paul
Jonathan Chen wrote:

On Mon, Dec 30, 2002 at 10:19:20PM -0600, Dan Nelson wrote:


In the last episode (Dec 30), Brian said:


hmm code freeze applies to ports as well, that is surprising.


Ports and packages get put on -RELEASE cds just like kernel and
userland; they get the same code-freeze treatment.



Yeah, but they don't usually go on a 1+ month code-freeze when a
4.x-RELEASE comes out.


5.0 is a more complex beast than the 4.x releases were, which 
might explain why it has taken as long as it has and why the 
freeze is as long as it is.

I find it's never a good idea to complain about how long it takes 
someone to do the job right the first time.
--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Life, loathe it or ignore it, you can't like it.
		-- Marvin, Hitchhiker's Guide to the Galaxy


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Shell guru needed.

2003-01-02 Thread paul
mike wrote:
 Hey guys. heres the skinny. I have a huge library and i want to
 organize it. I want find to go through recursively, and move
 any pdf files it finds to a certain directory. I need an
 example piece of script on how i would confront this. It will
 save me hours if not days so thanks in advance.


you don't say if you need to preserve any of the path information 
when you move the file. The other poster's suggestion might work: 
my take on it would be to use a for loop:

for i in `find /some/dir -name *.pdf`;
	do mv $i /some/other/dir;
done
--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

There's no real need to do housework -- after four years it
doesn't get
any worse.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: portupgrade problem (was Re: orphaned port?)

2003-08-25 Thread paul
Joshua Oreman wrote:
This is a VFAQ lately. You need FBSD 4.7 or better.
No, you just need to install sysutils/pkg_install. I would suspect 
it's a POLA violation to require an upgrade to get around a new 
version of a utility program.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Do not read this fortune under penalty of law.
Violators will be prosecuted.
(Penal Code sec. 2.3.2 (II.a.))
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nachi Worm apparently causes Live Lock on 4.7 server

2003-08-29 Thread paul
James C. Durham wrote:

It turned out that we had several Windows boxes in the building that had been 
infected with the Nachi worm. This causes some kind of DOS or ping probe out 
onto the internet and the local LAN.

Removing the inside interface's ethernet cable caused the ping times on the 
outside interface to go back to the normal .4 milliseconds to the router.

Apparently, the blast of packets coming from the infected boxes managed to 
cause a live lock condition in the server. I assume it was interrupt bound 
servicing the inside interface. The packets were ICMP requests to various 
addresses.
I could be way off here, but is there any way to isolate machines 
that send a sudden blast of packets, either by destination address 
(make a firewall rule that drops those packets) or working out 
their MAC addresses and dropping their connectivity? Or scan for 
open ports and block unsecured systems from connecting?
My questions is.. what, if any, is a technique for preventing this condition? 
I know, fix the windows boxes, but  I can't continually check the status of 
the virus software and patch level of the Windows boxes. There are 250 plus 
of them and one of me. Users won't install upgrades even when warned this 
worm thing was coming. But, i'd like to prevent loss of service when one of 
Bill's boxes goes nuts!
Where I work, at the University of Washington, the network staff 
were dropping as many as 200 machines *per day* off the network. 
If a machine was found to have an open RPC port (we run an open 
network), that was enough to get your network access cut off.

I realize these are political solutions more than technical ones, 
but they may be of some use.
--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202

Satellite Safety Tip #14:
If you see a bright streak in the sky coming at you, duck.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nachi Worm apparently causes Live Lock on 4.7 server

2003-08-29 Thread paul
Matthew Emmerton wrote:

They were doing the same thing at the IBM location where I work.  It's
brutal if you are in the middle of something, but it's the only way to keep
the latest breed of MS virii/worms/whatever from spreading.
agreed, but if a small subset of hosts can degrade the network -- 
the OP said three could saturate T1 -- I think it's a fair 
position to take.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Benson, you are so free of the ravages of intelligence
-- Time Bandits
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MPD automation trouble

2003-06-16 Thread Paul
Hello, All.

I use MPD under FreeBSD 4.7.
Now i needed to automate management of the MPD and i find out strange behavior of MPD 
(3.13):
One my program (myserver) transmits some set of commands for MPD via stdout, which is 
redirected
to MPD's stdin by shell:
command line: # myserver | mpd
One or two commands from this set are executed by mpd immediately, but other commands 
from
set hang somewhere until myserver sends to MPD another command's set, after that 
previouse
commands are successfully executed by MPD and new commands hang somewhere again.
When i use command like # myserver | cat, full set of commands is printed to console.
I want to understand why this happens and where commands hang.
Help me to solve the this problem, please.

Paul

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


pptpclient don't work with MPD

2003-06-16 Thread Paul
Hello, All.

I use MPD as VPN-server under FreeBSD 4.7.
When VPN client runs under windows(2000, XP) all right,
when VPN client is MPD and runs under FreeBSD all right too,
when VPN client is pptpclient from ports collection and runs under FreeBSD,
connection between MPD-server and pptpclient successfully stands up, but DON'T WORK.
i.e. when i try to ping another end of VPN-connection i get next logs:

VPN-server machine, mpd.log:
Jun  9 14:07:35 vpnserver mpd: [pptp] rec'd unexpected protocol 0x8e3b on link -1, 
rejecting
Jun  9 14:07:36 vpnserver mpd: [pptp] rec'd unexpected protocol 0x0047 on link -1, 
rejecting
Jun  9 14:07:37 vpnserver mpd: [pptp] rec'd unexpected protocol 0x006d on link -1, 
rejecting

VPN-client machine, ppp.log
Jun  9 14:03:05 vpnclient ppp[90176]: tun0: LCP: deflink: RecvProtocolRej(17) 
state = Opened
Jun  9 14:03:05 vpnclient ppp[90176]: tun0: LCP: deflink: -- Protocol 0x8e3b 
(unrecognised protocol) was rejected!
Jun  9 14:03:06 vpnclient ppp[90176]: tun0: LCP: deflink: RecvProtocolRej(18) 
state = Opened
Jun  9 14:03:06 vpnclient ppp[90176]: tun0: LCP: deflink: -- Protocol 0x0047 (DCA 
Remote Lan) was rejected!
Jun  9 14:03:07 vpnclient ppp[90176]: tun0: LCP: deflink: RecvProtocolRej(19) 
state = Opened
Jun  9 14:03:07 vpnclient ppp[90176]: tun0: LCP: deflink: -- Protocol 0x006d 
(unrecognised protocol) was rejected!

When i use PoPToP as VPN-server and MPD as VPN-client i get analogious results...

If somebody could connect MPD and pptpclient help me please.

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


Kernel building

2003-06-22 Thread Paul
I'm trying to build a custom kernel that I can eventually include a device 
for a (built in the mother board) sound controller. 

I tried several time and added back some devices which I think I don't need 
just to see if the kernel will make, however, it doesn't.  

I followed the directions in the handbook 
# /usr/sbin/config MYKERNEL
# cd ../../compile/MYKERNEL
# make depend
# make  (fails here with Error code 1)

I'm running FreeBSD 4.8-RELEASE 

I'm attaching MYKERNEL with hopes someone can help.

Thanks
Paul Calabrese #
# MYKERNEL - kernel configuration file for FreeBSD/i386 with sound added
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/MYKERNEL 1.246.2.51.2.2 2003/03/25 23:35:15 jhb Exp $

machine i386
cpu I686_CPU
ident   MYKERNEL
maxusers0

makeoptions DEBUG=-g#Build kernel with gdb(1) debug symbols

#optionsMATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
#optionsNFS_ROOT#NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
#optionsSCSI_DELAY=15000#Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug 
# output.  Adds ~215k to driver.

# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor Kernel
#optionsAPIC_IO # Symmetric (APIC) I/O

# To support HyperThreading, HTT is needed in addition to SMP and APIC_IO
#optionsHTT # HyperThreading Technology

device  isa
device  eisa
device  pci

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
#device fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device fdc0

# ATA and ATAPI devices
device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   #Static device numbering

# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940

Re: Slightly OT: How to remove an odd file...

2002-10-13 Thread paul

Brian McCann wrote:
 No go...here's the listing for the file...here's what happens...
 
 -rwsr-sr-x1 root root64924 Sep  2 15:24
 
 rm
 rm: remove write-protected file `   '? y
 rm: cannot unlink `   ': Operation not permitted
 
 Any other ideas?
 

I assume you did this as root/sudo? Strange that it's setuid . . . .

-- 
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

With a rubber duck, one's never alone.
-- The Hitchhiker's Guide to the Galaxy


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: installing python2 on linux_base-7.1

2002-10-22 Thread paul
Fernan Aguero wrote:


Can I safely ignore these and force python2 to install?



any reason why you can't just use the ports version?




--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

The fact that boys are allowed to exist at all is evidence of a
remarkable Christian forbearance among men.
		-- Ambrose Bierce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: healthd question: how do I correct the problems healthd complainsabout?

2002-11-11 Thread paul
Michael E Mercer wrote:

Hello peoples,

I just recently installed healthd and it is printing these messages...

healthd: A value of 2.06 for CPU #0 Core Voltage with a range of (1.95 = n =
2.05)
healthd: A value of 31.00 for Chip Set Temperature with a range of (0.00 = n =
30.00)
healthd: A value of -5.76 for -5 Volt with a range of (-5.50 = n = -4.50)
healthd: A value of -13.89 for -12 Volt with a range of (-13.20 = n = -10.80)
healthd: A value of 0.00 for CPU #0 Cooling Fan with a range of (3000.00 = n =
.00)
healthd: A value of 1.00 for CPU #1 Temperature with a range of (10.00 = n =
30.00)


as with any other serious health question, why not get a second 
opinion? what does lmmon or mbmon have to say about this?


--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

The opposite of a profound truth may well be another profound truth.
		-- Bohr


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


ipf, ipnat and Bittorrent

2005-02-16 Thread Paul
I am trying to forward bittorrent ports on FreeBSD 5.3 with ipf and ipnat.
But the bittorrent indicator stays yellow which means it isn't set up
correctly.  Also, I don't get as many connections to peers as I should and
download speeds are very poor.  My ipnat.rules and ipf.rules files are shown
below:

 

ipnat.rules:

 

#Rules for ipnat

 

#This line says to map outbound traffic to your public IP address

map tun0 192.168.0.0/24 - 0/32 portmap tcp/udp auto

 

#bittorrent

rdr tun0 0/32 port 6881 - 192.168.0.3 port 6881 tcp/udp

rdr tun0 0/32 port 6882 - 192.168.0.3 port 6882 tcp/udp

rdr tun0 0/32 port 6883 - 192.168.0.3 port 6883 tcp/udp

rdr tun0 0/32 port 6884 - 192.168.0.3 port 6884 tcp/udp

rdr tun0 0/32 port 6885 - 192.168.0.3 port 6885 tcp/udp

rdr tun0 0/32 port 6886 - 192.168.0.3 port 6886 tcp/udp

rdr tun0 0/32 port 6887 - 192.168.0.3 port 6887 tcp/udp

rdr tun0 0/32 port 6888 - 192.168.0.3 port 6888 tcp/udp

rdr tun0 0/32 port 6889 - 192.168.0.3 port 6889 tcp/udp

rdr tun0 0/32 port 6890 - 192.168.0.3 port 6890 tcp/udp

 

 

 

 

 

ipf.rules:

 

#

#

# IP packet filtering rules (firewall)

#

 

# If you change this file, run

#ipf -Fa -f /etc/ipf.rules

# to update kernel tables

 

# All rules are quick so go strictly top to bottom

 

#  Don't bug loopback

#

pass out quick on lo0

pass in quick on lo0

 

#  Don't bother the inside interface either

#

pass out quick on sis0

pass in quick on sis0

 

#

#

#  First, we deal with bogus packets.

#

 

#  Block any inherently bad packets coming in from the outside world.

#  These include ICMP redirect packets and IP fragments so short the

#  filtering rules won't be able to examine the whole UDP/TCP header.

#

block in log quick on tun0 proto icmp from any to any icmp-type redir

block in log quick on tun0 proto tcp/udp all with short

 

#  Block any IP spoofing atempts.  (Packets from non-routable

#  addresses shouldn't be coming in from the outside).

#

block in quick on tun0 from 192.168.0.0/16 to any

block in quick on tun0 from 127.0.0.0/8to any

block in quick on tun0 from 172.16.0.0/12  to any

block in quick on tun0 from 10.0.0.0/8 to any

block in quick on tun0 from 0.0.0.0/8  to any

block in quick on tun0 from 169.254.0.0/16 to any

block in quick on tun0 from 192.0.2.0/24   to any

block in quick on tun0 from 204.152.64.0/23 to any

block in quick on tun0 from 224.0.0.0/3to any

block in quick on tun0 from 255.255.255.255/32 to any

 

#  Kill all source-routed packets

#

block in quick on tun0 all with opt lsrr

block in quick on tun0 all with opt ssrr

 

#  Don't allow non-routable packets to leave our network

#

block out quick on tun0 from any to 192.168.0.0/16

block out quick on tun0 from any to 127.0.0.0/8

block out quick on tun0 from any to 172.16.0.0/12

block out quick on tun0 from any to 10.0.0.0/8

block out quick on tun0 from any to 0.0.0.0/8

block out quick on tun0 from any to 169.254.0.0/16

block out quick on tun0 from any to 192.0.2.0/24

block out quick on tun0 from any to 204.152.64.0/23

block out quick on tun0 from any to 224.0.0.0/3

block out quick on tun0 from any to 255.255.255.255/32

 

#

#

 

 

#

#

#  Now the normal filtering rules

#

 

#  ICMP: allow incoming ping and traceroute only

#

pass in quick on tun0 proto icmp from any to any icmp-type echorep

pass in quick on tun0 proto icmp from any to any icmp-type echo

pass in quick on tun0 proto icmp from any to any icmp-type timex

pass in quick on tun0 proto icmp from any to any icmp-type unreach

block in log quick on tun0 proto icmp from any to any

 

#  TCP: Allow various incoming services. Only match

#  SYN packets, and allow the state table to handle the rest of the

#  connection.

#

pass in quick on tun0 proto tcp from any to any port = ssh flags S keep
frags keep state

pass in quick on tun0 proto tcp from any to any port = http flags S keep
frags keep state

pass in quick on tun0 proto tcp from any to any port = 443 flags S keep
frags keep state

pass in quick on tun0 proto tcp from any to any port = ftp keep state

pass in quick on tun0 proto tcp from any to any port = 3306 flags S keep
frags keep state

pass in quick on tun0 proto tcp from any to any port 6880  6891 flags S
keep state

pass in quick on tun0 proto udp from any to any port 6880  6891 keep state

 

#  Of course we need to allow packets coming in as replies to our

#  connections so we keep state. Strictly speaking, with packets

#  coming from our network we don't have to only match SYN,

#  and it's rather unlikely that there will be any fragments. But

#  what the hell.

#

pass out quick on tun0 proto tcp  from any to any flags S keep frags keep
state


shell_exec sudo problem

2005-02-19 Thread Paul
For some reason I can't get sudo to work from an online php script using
shell_exec.

 

I have put this in the sudoers file: 

www ALL=(ALL) ALL

(full access is temporary until I get it working)

 

When I run:

echo shell_exec(sudo echo hello);

 

in a php script in a web page running on apache2, it does nothing - I don't
get any feedback.

 

 

echo shell_exec(whoami); confirms that www is the correct user.

 

 

Any ideas?

 

Paul

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


RE: shell_exec sudo problem

2005-02-19 Thread Paul
Found the problem in the log file - the sudo command wasn't being found.

Thanks!



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bas Essers
Sent: 19 February 2005 20:43
To: freebsd-questions@freebsd.org
Subject: Re: shell_exec sudo problem

you should take a look at apache error log to see what sudo says.
i''ve never used sudo but when i make a shell script SUID 0, bash tells me
it is too dangerous to run a script in SUID 0. and that's probably
true because a lot can be modified in a script thru the environment.


On Sat, 19 Feb 2005 18:50:45 -, Paul [EMAIL PROTECTED]
wrote:
 For some reason I can't get sudo to work from an online php script using
 shell_exec.
 
 I have put this in the sudoers file:
 
 www ALL=(ALL) ALL
 
 (full access is temporary until I get it working)
 
 When I run:
 
 echo shell_exec(sudo echo hello);
 
 in a php script in a web page running on apache2, it does nothing - I
don't
 get any feedback.
 
 echo shell_exec(whoami); confirms that www is the correct user.
 
 Any ideas?
 
 Paul
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
 


-- 
Met vriendelijke groet,
Bas Essers
___
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]


default ACL's permission problems

2005-03-18 Thread paul
hello,

This applies to FreeBSD 5.3 Release:

I've followed the examples on setting up default acl's located at this website:

'Working With ACLs in FreeBSD 5.x'
http://ezine.daemonnews.org/200310/acl.html

I'm having problems with this:

% umask 027
% mkdir dir

setfacl -m u::rwx,m::rwx,g::rx,o::rx dir
setfacl -dm u::rwx,m::rwx,g::rx,o::rx dir

setfacl -dm u:gregory:rwx,m::rwx dir

% touch dir/file.txt
% getfacl dir/file.txt 

#file:dir/file.txt
#owner:1009
#group:0
user::rw-
user:gregory:rwx# effective: r--
group::r-x  # effective: r--
mask::r--
other::---

when i attempt to write to file.txt as user gregory, I get permission
denied - I can see that this is what I should expect because the mask
is r--, but why? I've set rwx above? I saw a similar post on this
list, and it is mentions that the file will be masked with umask. am I
suppose to change my umask ? if so, why? why can't I set acl's to
simply apply the default acl which I've set on the dir to any
dirs/files created in that directory regardless of umask?

Any help would be appreciated,

Regards,

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


Questions regarding RAID support

2006-04-04 Thread paul
Hey everyone, I'm currently working on setting up a server with RAID1. The 
servers motherboard has an on board Intel MatrixRAID controller. FreeBSD6.0 
currently has partial support for this controller, given my circumstances I 
can wait awhile before the server goes live and was curious if anyone had any 
ideas as to the ETA for full support for this controller?

Thanks in advance 


Paul


pgprT20i9jWvU.pgp
Description: PGP signature


question about putty

2006-05-09 Thread paul
i have a question about  putty after i log in to my  putty.exe  and i want to 
go  add oper but  after when i  login with my password  and login name what do 
i need to  type after please emailed me back thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


LiveCD FreeBSD

2006-02-01 Thread Paul

Dear FreeBSD

Up untill Dec 01 '05  I was a die hard MicroShaft user, too many lockups 
and garbage caused me to search for a new OS. That is when I came up 
with PCLOS. Then I got a web server and it runs FreeBSD. I would like to 
use FreeBSD on my local computer so I can learn it more.


Is there a LiveCD for FreeBSD I looked at the web site for Freebsd but 
was unable to be for sure what is there.


I perfer a LiveCD so I can first run it on my computer before I totally 
convert. Also when and if I convert will I lose all my desktop files?


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


inspiron 8000 pcmcia problem

2004-01-05 Thread paul
I've already posted this question to -mobile just trying to get as much traffic as 
possible ok I got a rather frustrating problem if anyone can help me it would be 
greatly appreciated I've tryed 3 pcmcia cards on my i8k all 3 of them give me device 
timeouts (netgear fa410tx, smc 8040, and a linksys card) all of which are on the 
hardware compat list except the smc card which i read somewhere is supported so i gave 
it a try. Anyway I added pccard_enable=YES pccardd_ifconfig=DHCP tryed 
ifconfig_ed1=DHCP for fun and i tryed changing the irq port with the -i flag for 
pccardd_flags and editing pccard.conf. Nothing seems to work I have miibus compiled in 
the kernel all the proper drivers all 3 of the cards are recognized at boot however i 
recieve the infamous ed1: device timeout message. The cards work on linux and windows 
maybe I'm missing something I have never dealt with pcmcia cards until now. I googled 
for 2 days and asked on numerous irc channels. Am I missing something? It seems to be 
a rather common problem with all the results from my google searchs. I've also 
disabled everything in my bios still nothing I've tryed using 4.9, 5.2rc2 and -current 
with  the same results. Someone please help me! I keep hearing its an irq conflict my 
card gets set to irq 10 its seems even when i try to change it..btw all tryed 
device.hints and kernel.conf. 
Thanks -Paul
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: inspiron 8000 pcmcia problem

2004-01-06 Thread paul

- Original Message - 
From: michael Alexander [EMAIL PROTECTED]
To: 'paul' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 9:38 AM
Subject: RE: inspiron 8000 pcmcia problem




  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of paul
  Sent: Monday, January 05, 2004 5:16 PM
  To: [EMAIL PROTECTED]
  Subject: inspiron 8000 pcmcia problem
 
 
  I've already posted this question to -mobile just trying to
  get as much traffic as possible ok I got a rather frustrating
  problem if anyone can help me it would be greatly appreciated
  I've tryed 3 pcmcia cards on my i8k all 3 of them give me
  device timeouts (netgear fa410tx, smc 8040, and a linksys
  card) all of which are on the hardware compat list except the
  smc card which i read somewhere is supported so i gave it a
  try. Anyway I added pccard_enable=YES
  pccardd_ifconfig=DHCP tryed ifconfig_ed1=DHCP for fun and
  i tryed changing the irq port with the -i flag for
  pccardd_flags and editing pccard.conf. Nothing seems to work
  I have miibus compiled in the kernel all the proper drivers
  all 3 of the cards are recognized at boot however i recieve
  the infamous ed1: device timeout message. The cards work on
  linux and windows maybe I'm missing something I have never
  dealt with pcmcia cards until now. I googled for 2 days and
  asked on numerous irc channels. Am I missing something? It
  seems to be a rather common problem with all the results from
  my google searchs. I've also disabled everything in my bios
  still nothing I've tryed using 4.9, 5.2rc2 and -current with
  the same results. Someone please help me! I keep hearing its
  an irq conflict my card gets set to irq 10 its seems even
  when i try to change it..btw all tryed device.hints and kernel.conf.
  Thanks -Paul

 In your bios, is there an option for the pcmcia type??  Such as Auto,
 cardbus, and something else that I can't remember right now... I don't
know
 if the Dell's have that option, I haven't checked mine, but I know our
 toshiba's had it.  I haven't tried freebsd on a notebook, but when using
 Novell Netware's Zenworks Imaging, which uses linux base for the clients
 before imaging, I always had to set that option in bios to be cardbus
(auto
 would not work) for the cards we had (3com/megahertz FE575) in order for
it
 to be detected.

 -Mike

Nope there is no option in the bios for pcmcia, also i read somewhere to set
the pcic0 irq option in the kernel to the same irq as your network card?. I
tryed that didn't work also
Paul


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


-stable

2004-12-18 Thread Paul
hi,
i currently installed 4.10-release and cvsup to get -stable but it gave me
4.11-prelease is there a current tag
that allow me to get 4.10-stable?
regards,
paul


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


IPFW won't go away!

2005-09-26 Thread Paul
Hi,

 

I run ipf and ipnat.  Recently I recompiled the kernel and since then ipfw
loads at boot and blocks all my traffic.

 

How do I disable it permanently or uninstall it?

 

I have checked and double checked that it is not in my /etc/rc.conf and
kernel config file.  So I don't know why it is loading:

...

sc0: System console at flags 0x100 on isa0

sc0: VGA 16 virtual consoles, flags=0x300

vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0

sio1: configured irq 3 not in bitmap of probed irqs 0

sio1: port may not be enabled

ugen0: ALCATEL Speed Touch USB, rev 1.10/0.00, addr 2

Timecounter TSC frequency 851935333 Hz quality 800

Timecounters tick every 10.000 msec

ipfw2 initialized, divert disabled, rule-based forwarding disabled, default
to deny, logging disabled

ad0: 9590MB HITACHI DK23BA-10/00E2A0D2 [19485/16/63] at ata0-master UDMA33

..

 

 

Also, the reason I recompiled was to enable apm for my laptop.  How can I
tell if this is working - I want to be able to turn the screen off and for
it to speedstep its cpu clock.

 

I'm a noob to *nix machines so try not to assume too much knowledge in
responses.

 

Thanks

 

Paul.

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


Re: IPFW won't go away!

2005-09-26 Thread Paul
Hi,

 

Thanks for your responses so far. 

 

I have tried explicitly tried to disable it using: ipfw_enable=NO and
firewall_enable=NO in /etc/rc.conf

 

My kernel configuration file doesn't contain any IPFIREWALL options.  I did
try adding options IPFIREWALL_DEFAULT_TO_ACCEPT and recompiling/installing
but that didn't work.

 

Despite all of this it still loads up and by blocks everything! - this means
I have to type ipfw disable firewall at every boot.  I would prefer if it
wasn't there taking up cpu cycles.

 

HELP!

 

Paul

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


RE: IPFW won't go away!

2005-09-26 Thread Paul
 in order to use these NICs!
device  miibus  # MII bus support
device  bfe # Broadcom BCM440x 10/100 Ethernet
device  bge # Broadcom BCM570xx Gigabit Ethernet
device  dc  # DEC/Intel 21143 and various workalikes
device  fxp # Intel EtherExpress PRO/100B (82557, 82558)
device  lge # Level 1 LXT1001 gigabit ethernet
device  nge # NatSemi DP83820 gigabit ethernet
device  pcn # AMD Am79C97x PCI 10/100 (precedence over
'lnc')
device  re  # RealTek 8139C+/8169/8169S/8110S
device  rl  # RealTek 8129/8139
device  sf  # Adaptec AIC-6915 (``Starfire'')
device  sis # Silicon Integrated Systems SiS 900/SiS
7016
device  sk  # SysKonnect SK-984x  SK-982x gigabit
Ethernet
device  ste # Sundance ST201 (D-Link DFE-550TX)
device  ti  # Alteon Networks Tigon I/II gigabit
Ethernet
device  tl  # Texas Instruments ThunderLAN
device  tx  # SMC EtherPower II (83c170 ``EPIC'')
device  vge # VIA VT612x gigabit ethernet
device  vr  # VIA Rhine, Rhine II
device  wb  # Winbond W89C840F
device  xl  # 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.  pccard NICs included.
device  cs  # Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
device  ed  # NE[12]000, SMC Ultra, 3c503, DS8390 cards
device  ex  # Intel EtherExpress Pro/10 and Pro/10+
device  ep  # Etherlink III based cards
device  fe  # Fujitsu MB8696x based cards
device  ie  # EtherExpress 8/16, 3C507, StarLAN 10 etc.
device  lnc # NE2100, NE32-VL Lance Ethernet cards
device  sn  # SMC's 9000 series of Ethernet chips
device  xe  # Xircom pccard Ethernet

# ISA devices that use the old ISA shims
#device le

# Wireless NIC cards
device  wlan# 802.11 support
device  an  # Aironet 4500/4800 802.11 wireless NICs.
device  awi # BayStack 660 and others
device  wi  # WaveLAN/Intersil/Symbol 802.11 wireless
NICs.
#device wl  # Older non 802.11 Wavelan wireless NIC.

# Pseudo devices.
device  loop# Network loopback
device  mem # Memory and kernel memory devices
device  io  # I/O device
device  random  # Entropy device
device  ether   # Ethernet support
device  sl  # Kernel SLIP
device  ppp # Kernel PPP
device  tun # Packet tunnel.
device  pty # Pseudo-ttys (telnet etc)
device  md  # Memory disks
device  gif # IPv6 and IPv4 tunneling
device  faith   # IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device  bpf # Berkeley packet filter

# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# Human Interface Devices
device  ukbd# Keyboard
device  ulpt# Printer
#device umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
#device urio# Diamond Rio 500 MP3 player
#device uscanner# Scanners








 my rc.conf: 
#Network stuff
hostname=nick.codepad.net
ifconfig_xl0=inet 192.168.0.71 netmask 255.255.255.0
gateway_enable=YES
named_enable=YES
#defaultrouter=192.168.0.101
ipnat_enable=YES
ipnat_rules=/etc/ipnat.rules
ipnat_program=/sbin/ipnat -CF -f
ipfilter_enable=YES
ipfilter_rules=/etc/ipf.rules
dhcpd_enable=YES
ipfw_enable=NO
firewall_enable=NO

#power management
apm_enable=YES

#System daemons
sshd_enable=YES
usbd_enable=YES

#Other deamons
pureftpd_enable=YES
apache2_enable=YES
apache2ssl_enable=YES
mysql_enable=YES

#Random stuff
local_startup=/usr/local/etc/rc.d
# -- sysinstall generated deltas -- # Tue Sep 20 22:08:35 2005
keymap=uk.iso







-Original Message-
From: Bob Middaugh [mailto:[EMAIL PROTECTED] 
Sent: 26 September 2005 15:29
To: 'Paul'
Cc: freebsd-questions@freebsd.org
Subject: RE: IPFW won't go away!

Hi Paul,
How about posting your rc.conf and kernel config file

RE: IPFW won't go away! - Solved!

2005-09-26 Thread Paul

Thanks Tofik and Dave.  It was in /boot/loader.conf


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tofik Suleymanov
Sent: 26 September 2005 17:45
To: Paul
Cc: freebsd-questions@freebsd.org
Subject: Re: IPFW won't go away!

Paul wrote:

Had a look in /etc/defaults/rc.conf and it was defaulted to NO.
  

Could you please post your  /boot/loader.conf  ?
___
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]


FreeBSD vs YouTube

2010-07-14 Thread paul
Hy
I'm pretty new to this mailing list, and FreeBSD, in the last 2 weeks i was 
trying to use FreeBSD as alternative to Windows, but i can't make the flash 
videos work on most of the popular flash video sites. I've tried to pkg_add, 
compile from source, swfdec-plugin, gnash on FreeBSD 7.3 and 8.1 ... but 
nothing worked, i can use mplayer to play movies so this shouldn't be a 
problem, when i use swfdec, there are some unhandled event (usually unhandled 
event 19) and sometimes can't write to a $HOME/.config/filename file, and with 
gnash i see an error occurred, please try again later message on the site. I've 
tried googling but most of the articles i found seemed outdated. So finally i 
came here with the question: Is it possible to watch youtube on a FreeBSD 
system ? And if it is, someone would be so kind to guide me to a FAQ / Article 
/ wiki / or tell me how to do it ?

paul

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


Playing AAC+ streams with XMMS

2010-08-04 Thread paul
Hy
I've been trying to play AAC+ streams with XMMS, but it keeps pre-buffering 
over and over again. faad2 is installed. Anyone knows a way to solve this?
paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: misc/149335: shell script runs on Linux but not on freebsd

2010-08-07 Thread Paul
Thanks Oliver 
I can just get the i386 vmware version and should install and run.  Last 
question is there a x86_64 bit Linux module? Is one I'm development?

Sent from my iPod

On Aug 7, 2010, at 4:42 PM, Oliver Fromme o...@lurza.secnetix.de wrote:

 Sorry for the late reply, I don't have much time currently.
 
 Maybe someone else from the -questions list can jump in,
 because I don't have much experience with vmware (I prefer
 qemu or virtual box).
 
 Paul Lambert eb30...@gmail.com wrote:
 Thanks for the reply.  I am attaching the bash output from the shell
 script.  This script implements RPMs so I am sure that I need the linux
 module.  I had previously found a guide on how to install RPMs on FreeBSD.
 I have  a printer that has an RPM that allows it to work on Linus.  So I
 would think that I will need the Linux module in the future.
 
 I previously had made the stat change to the shell script and that part
 works.  But, the bash shell is reporting an 'od error.
 
 Finally, how much performance do you lose with the linux module emulator?
 
 Not much, probably none at all.  Some people even say that
 Linux binaries run faster on FreeBSD than they run on Linux,
 because they benefit from the better network code and VM
 system.
 
 Anyway, the linuxulator isn't really an emulator, it's
 rather an ABI-level compatibility layer, very similar to
 the i386 (32bit) compatibility layer on FreeBSD/amd64 (64bit).
 
 Do you believe I only need the emulator to get VMware installed or will it
 make other linux calls that are not part of FreeBSD?
 
 I'm afraid you won't be able to install vmware this way.
 I suggest you look at the emulator/vmware* ports in the
 ports collection.
 
 BRSINC-VM02# bash -vx VMware-Player-3.1.0-261024.x86_64.bundle
 [...]
   # XXX: put extraction in its own function
   MAGIC_NUMBER=`od -An -t u4 -N 4 -aj 
   $MAGIC_OFFSET $file | tr -d ' '`
 
 There's a bogus line break which is causing this particular
 parsing error.  Either join the lines, or put a backslash
 at the end of the first line (behind -aj).
 
 But I'm afraid this is the smallest of the problems.
 I suspect you won't be able to get this script to run
 correctly on FreeBSD, because it seems to do too many
 linux-specific things.
 
 Best regards
   Oliver
 
 -- 
 Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
 Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
 secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
 chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
 
 FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd
 
 And believe me, as a C++ programmer, I don't hesitate to question
 the decisions of language designers.  After a decent amount of C++
 exposure, Python's flaws seem ridiculously small. -- Ville Vainio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Freebsd machine as a wireless access point ?

2004-04-23 Thread Paul Tan
Try this URL:

http://www.samag.com/documents/s=7121/sam0205a/sam0205a.htm

:D

cheers,

Paul Tan
[EMAIL PROTECTED]
As we enjoy great advantages from inventions of others, we should
be glad of an opportunity to serve others by any invention of ours;
and this we should do freely and generously. - Benjamin Franklin
Darryl Hoar wrote:
I have a spare PC with Freebsd installed on it.  Can I configure
this machine to be a wireless access point ?
just curious.

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


Re: Removing wierd file

2004-04-23 Thread Paul English


On Tue, 20 Apr 2004, Warren Block wrote:

 On Tue, 20 Apr 2004, Paul English wrote:

  On Tue, 20 Apr 2004, Warren Block wrote:
  
   Does ls -lo show anything unusual?
 
  Nothing that makes any sense to me, but that is not a flag I usually use:
 
  ls -lo
  total 0
  -rwxrws--T  1 1708453043  4187987649  sappnd,uappnd 0 Oct  9  2001 10009_dir

 So 'chflags nosappnd,nouappnd thatweirdname' should clear them, if
 they are the problem.  Haven't seen them on anything, but I haven't
 looked, either.

It worked! Once I did chflags as above, the file responded to rm quite
nicely.

Thanks!

Paul

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


Filesystem/disk performance problems

2004-05-11 Thread Paul English

I have a filesystem which is showing some very odd problems on FreeBSD
4.4. The system has one 60GB IDE drive for the os and some user partitions and
one 800GB array of 120GB disks attached to a 3ware IDE-RAID controller.
The latter is all one big partition.

For most files and directories, copying/transferring them around is not a
problem. But for a couple of very specific directories, copying them seems
next to impossible. When I attempt to copy these, after a few minutes of
*extremely* slow copying (1k/min), the system load shoots up and the
system becomes virtually unusable.

In particular, working with one directory which is 11GB. Some
subdirectories, even large ones copy fine from /usr1 (a partition on the
60GB disk) to /raid (the partition for the entire raid array).

I can even make a tar of one of the non-working directories to /usr1, copy
the tar file to /raid (with no problems), then when I try to untar it on
/raid I get the same problem - very very slow (1k/min) and then the
system load shoots up to 10+ and the system becomes unusable.  In this
case the data is going from /raid - /raid instead of from /usr1 - /raid,
but it does not seem to help.

I've also tried using some other utilities than simply cp in an attempt
to fool the system - I've tried scp, and tar cf - . | (cd /raid;tar xf
-) as well.

There are no messages in dmesg or /var/log/messages that look at all
related, and there are no messages that are accruing (for example while
attempting a copy).

Paul

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


Re: Filesystem/disk performance problems

2004-05-12 Thread Paul English


On Wed, 12 May 2004, Harald Schmalzbauer wrote:

 Am Dienstag, 11. Mai 2004 23:42 schrieb Paul English:
  I have a filesystem which is showing some very odd problems on FreeBSD
  4.4. The system has one 60GB IDE drive for the os and some user partitions
  and one 800GB array of 120GB disks attached to a 3ware IDE-RAID controller.
  The latter is all one big partition.
 
  For most files and directories, copying/transferring them around is not a
  problem. But for a couple of very specific directories, copying them seems
  next to impossible. When I attempt to copy these, after a few minutes of
  *extremely* slow copying (1k/min), the system load shoots up and the
  system becomes virtually unusable.

 Maybe you want to read the following and try the patch:
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=32920+0+archive/2004/freebsd-stable/20040509.freebsd-stable

 I'm not sure wether it patches cleanly against 4.4 but I'm sure you'll get
 assistance by the discussing people.


Thanks Harry - that certainly sounds applicable. I'm working on a
system-wide upgrade to 4.9 right now so getting it to work with 4.4 may be
a non-issue. It looks like I should plan on patching 4.9 though!

I'm glad to see that 3ware finally has mention of a new beta driver for
4.8. Maybe they hired a FreeBSD person at last!

Paul

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


Re: Help: Tip on Buying External modem

2004-05-09 Thread Paul Tan
Mark Jayson Alvarez wrote:
Sir, 
I've post something about my internal modem and
unfortunately you've replied that there could be no
possible solution in using a winmodem except if you
are expert in either linux or freebsd. 
My question is, if ever I will buy an external
modem and to be sure that I will not waste my money
for the second time(buying a winmodem), wich of the
two should I pick, the USB one, or the one that is
connected to serial port(com port)?

Get the COM port one. For me I prefer something with a Conexant chipset. 
Has worked well for me throughout the years. Some USB ones are Winmodems.

--

cheers,

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


RE: Setting up a NAT without a firewall

2004-05-04 Thread Paul Hoffman
Off-list, someone pointed out to me that ipnat is *much* easier to 
deal with than IPFIREWALL and all its baggage. No kernel rebuilding, 
no juggling with the firewall. Nice. For those of you in the same 
situation as me, definitely look into ipnat.

My system gets its external address from my ISP's DHCP server on 
interface em0. The machines in my house are connected to a switch 
that is attached to itnerface rl0.

Relevant stuff in /etc/rc.conf:

ifconfig_em0=DHCP
ifconfig_rl0=inet 10.20.30.1 netmask 255.255.255.0
gateway_enable=YES
ipfilter_enable=YES
ipnat_enable=YES
ipnat_rules=/etc/ipnat.conf
Contents of /etc/ipnat.conf:

map em0 10.20.30.0/24 - 0/32

Two notes not covered in the ipnat man pages:

- The man page doesn't say which interface name you use in the map 
statement; it's the external interface.

- If you get your external IP address from DHCP, you can use 0/32 
as the target. This is very handy.

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


Not needing the console for a system reload

2004-05-08 Thread Paul Hoffman
Greetings again. Sometimes I want to do a shutdown now; use 
/bin/sh; exit to reload the upper layers of the system without 
doing a full reboot. If I'm not at the console, I can't do this, so I 
have to do the reboot, which takes much longer because of all the 
kernel loading and hardware probing.

Is there a way to give a shutdown now; use /bin/sh; exit command 
from the command line if I'm logged in remotely? Or do I really need 
to use reboot and go through the whole hardware reinitialization?

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


Re: Not needing the console for a system reload

2004-05-08 Thread Paul Hoffman
At 7:07 PM +0200 5/8/04, Ph. Schulz wrote:
Is there a way to give a shutdown now; use /bin/sh; exit 
command from the command line if I'm logged in remotely? Or do I 
really need to use reboot and go through the whole hardware 
reinitialization?

 I don't think this is possible. The reason is (if I understand 
things correctly) that if you're in single user mode, the network 
isn't started, so there's no way of accessing the machine through 
ssh, rlogin or something similar.
Exactly right. That's why I want a script that starts the process 
while I'm logged in over the network, but finishes the process even 
after I'm kicked off.

 I think you're best off if you hook up a serial console to your 
machine and remotely access that console. There are commercial 
solutions for this but any low-end PC will do.
That is massive overkill for something that should be much simpler 
and hopefully not involve new hard ware.

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


[OT]Re: Manually starting RCng scripts disabled in rc.conf

2004-05-17 Thread Paul Murphy
On Mon, 17 May 2004 12:30:32 -0600
Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote:

 
 On May 17, 2004, at 11:53 AM, Freddie Cash wrote:
 
  RCng scripts require an entry in /etc/rc.conf along the lines of
  appname_enable=YES otherwise the script will fail to do
  anything.
 
 
 As an aside, you may want to use /etc/rc.conf.local instead.
 
 on a related note:
 
 One problem is that it appears that /usr/local/etc/rc.d is NOT a 
 full-citizen in the rcNG system.  You must have a .sh on the end,
 which is not true of things in /etc/rc.d  . I do not know if this
 means that /usr/local/etc/rc.d scripts run inside the main process as
 a .sh script does from /etc/rc.d or if it runs as a sub-process.  In
 /etc/rc.d, ones without .sh run as sub-processes of the main startup
 script, while ones ending with .sh run in the main process...
 
 Chad
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

 Slightly off topic, but is there any documentation for RCng? The
'examples' in [/usr/local]/etc/rc.d are not very self-explanatory.

-- 
Cogeco ergo sum




pgpsQJuZnZpDC.pgp
Description: PGP signature


port installation problems progress

2004-05-20 Thread paul beard
I had been having some problems installing ports: they manifested as 
configure misreading the system type and setting up libtool so it 
wouldn't build shared libs.

After some correspondence with a FreeBSD team member and a port 
maintainer, I decided to start afresh with a kernel and world 
reinstall. This led me to the solution. The email excerpted below 
mentioned almost the same error I was seeing:

http://www.atm.tut.fi/list-archive/freebsd-stable/msg04153.html
For the last week or so, I've been having trouble building kernels 
against a
RELENG_4 source tree.  A 'make buildkernel' from /usr/src fails as 
follows:

perl5 /usr/src/sys/kern/vnode_if.pl -h /usr/src/sys/kern/vnode_if.src
syntax error at /usr/src/sys/kern/vnode_if.pl line 135, near {}
Execution of /usr/src/sys/kern/vnode_if.pl aborted due to compilation
errors.
I took the advice suggested below.
http://www.atm.tut.fi/list-archive/freebsd-stable/msg04174.html
I believe I have these resolved.
If anybody's interested, it took a reboot, buildworld followed by an 
install
from /usr/src/gnu/usr.bin/perl, then buildkernel went fine.  At Mike
Tansca's suggestion, I'd tried a buildworld (against a fresh source 
tree),
and I was getting cc errors - the reboot appears to have fixed those.  
My
build machine is now happily running a new kernel/world.

Some packages are building OK but I still see issues on some ports.
Any ideas how this might have gotten into this state and how I can 
resolve it completely?
--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com

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


lingering problems with ports collection

2004-05-25 Thread paul beard
I have been having (and reporting) some problems with my ports  
collection and I can't seem to get them resolved. For some reason, the  
system is rejecting the ports collection like a mismatched organ.

http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/ 
040320.html
http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/ 
thread.html#38348

The upshot is that I can't reliably build ports due to some problems  
with shared libs not getting built.

Configure doesn't see this as a freeBSD system, but as some hybrid  
GNU/FreeBSD beast and sometimes sets the host type as  
unknown-kfreebsd-GNU. Then I find that while a port is recorded as  
installed, ports that depend on its shlibs fail. I can test this by  
making a package when I make the port, but the port is installed before  
packaging, so the end result is that I may have a package recorded as  
installed but I know i can't rely on it. (that seems backwards to me:  
what if I only want to build packages w/o installing them? can i do  
that?

To resolve this, I have:
built a new kernel and world from fresh sources (in the process finding  
another problem to do with /usr/src/gnu/usr.bin/perl needing to  
rebuilt).

tossed my whole ports directory and moved aside the pkg database,  
pulling a fresh tree from CVS.

Still I see these problems. Also, dependencies don't get built  
automatically: if I build sysutils/portupgrade, I don't get prompted to  
build security/openssl or even lang/ruby: pkgdb will tell me, but not  
the ports tools themselves.

What sometimes helps is to change the USE_LIBTOOL directive from 13 and  
15: libtool 1.3 seems to be part of my problem. But that's not always  
working.

To be clear, I can build and install just from the source directory  
(/usr/ports/{PORTNAME}/work/portname). But that doesn't get it  
registered and if I got back up to the port's directory, the make  
commands will kick back errors I didn't see in the source directory.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 2 ISP on one FreeBSD router

2004-05-25 Thread Paul Chvostek
On Tue, May 25, 2004 at 12:44:04PM -0400, Chuck Swiger wrote:
 
 Piotr Gnyp wrote:
 My question is:
 Is there a way to configure FreeBSD, so the NATed workstations will use
 two ISP at once and in case of one ISP failure the whole traffic will be
 put on one connection?
 
 Sure, that's a standard multihoming scenario.
 Get an AS number (www.arin.net) and set up BGP peering with your ISPs.

That's a good answer, but not for this particular question.

Piotr, if your FreeBSD router has an Ethernet interface bound to the IP
assigned by each ISP, then the easiest way to transfer your NAT from one
ISP to the other is probably simply to kill the existing natd and re-run
it with a different -n option.  This *will* have the effect of taking
down your NAT for the transition period -- this is unavoidable.

You could achieve the transition with a simple shell script that would
ping the active connection, and if it fails, `killall natd`, wait for
the process to die, and re-launch with the different command line opts.

The exact mechanics are left as an exercise for the reader.  Or the
consultant he hires.  ;)

p

-- 
  Paul Chvostek [EMAIL PROTECTED]
  Operations / Abuse / Whatever
  it.canada, hosting and development   http://www.it.ca/

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


Installation problems

2004-05-27 Thread Paul Brownsea
I thought I'd give FreeBSD a go after enjoying using Linux, so I downloaded 
and burnt the FreeBSD 4.9 ISO images and I can't seem to install. I get 
past the bit with configuring the kernel but get stuck just afterwards, the 
last two messages are as follows:

ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. 

And then it just hangs.

-- 
Plaese porrf raed.
-- Prof. Michael O'Longhlin, S.U.N.Y. Purchase

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


Re: Installation problems

2004-05-28 Thread Paul Brownsea
OK, I was going to try turning off DMA, but it won't. There isn't an actual 
setting in the CMOS setup for it. After consulting the manual it tells me 
to disable PCI IDE busmaster, so I did. But DMA is still enabled so it 
still does the same. Should I just give up or is there anything else to do?

On Thursday 27 May 2004 18:59, Scott Kupferschmidt wrote:
 Hello,

 The problem is your motherboard has a junk ide controller that FreeBSD
 does not support DMA on properly.  If you disable DMA in the BIOS,
 FreeBSD will boot and install properly.

 Sincerely,

 Scott Kupferschmidt
 ISPrime, Inc.
 866.502.4678 ext. 3
 AIM: Scott ISPrime - ICQ: 174337249

 On Thu, 27 May 2004, Paul Brownsea wrote:
  I thought I'd give FreeBSD a go after enjoying using Linux, so I
  downloaded and burnt the FreeBSD 4.9 ISO images and I can't seem to
  install. I get past the bit with configuring the kernel but get stuck
  just afterwards, the last two messages are as follows:
 
  ad0: READ command timeout tag=0 serv=0 - resetting
  ata0: resetting devices ..
 
  And then it just hangs.
 
  --
  Plaese porrf raed.
  -- Prof. Michael O'Longhlin, S.U.N.Y. Purchase
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

-- 
Real World, The n.:
1. In programming, those institutions at which programming may
be used in the same sentence as FORTRAN, COBOL, RPG, IBM, etc.  2. To
programmers, the location of non-programmers and activities not related
to programming.  3. A universe in which the standard dress is shirt and
tie and in which a person's working hours are defined as 9 to 5.  4.
The location of the status quo.  5. Anywhere outside a university.
Poor fellow, he's left MIT and gone into the real world.  Used
pejoratively by those not in residence there.  In conversation, talking
of someone who has entered the real world is not unlike talking about a
deceased person.

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


script entry to finding the version after a cvsup

2004-06-01 Thread Paul Hamilton
Hi,

I have written a basic script to cvsup, buildworld and install the new
kernel-world etc.  I have introduced some basic logging, so I can track the
time taken.  Now I would like to track the version it was before the upgrade
(ie. uname -r ), and what it is after the upgrade.  Now, I can't use
uname -r, because the server has to be restarted so it can pick up the new
kernel etc.

So my question is,  where can I find a entry in the downloaded kernel/world
source files that says that it is FreeBSD 4.9 p9 etc.  I can't use
stable-supfile, because it only records the 'branch' that is being upgraded,
not the full version.

Any clues?

Cheers,

Paul Hamilton

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


RE: script entry to finding the version after a cvsup

2004-06-02 Thread Paul Hamilton
Hi Kent,

Thanks for that tip off. After lots of digging around in google, I found
this site:

http://simon.nitro.dk/freebsd-tips.php

that mentions how to use script: newvers.sh

grep -E 'BRANCH|REVISION' /usr/src/sys/conf/newvers.sh

Cool.

Cheers,

paul

-Original Message-
From: Kent Stewart [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 2 June 2004 1:09 AM
To: [EMAIL PROTECTED]
Cc: Paul Hamilton
Subject: Re: script entry to finding the version after a cvsup


On Tuesday 01 June 2004 06:55 am, Paul Hamilton wrote:
 Hi,

 I have written a basic script to cvsup, buildworld and install the
 new kernel-world etc.  I have introduced some basic logging, so I can
 track the time taken.  Now I would like to track the version it was
 before the upgrade (ie. uname -r ), and what it is after the upgrade.
  Now, I can't use uname -r, because the server has to be restarted so
 it can pick up the new kernel etc.

 So my question is,  where can I find a entry in the downloaded
 kernel/world source files that says that it is FreeBSD 4.9 p9 etc.  I
 can't use stable-supfile, because it only records the 'branch' that
 is being upgraded, not the full version.

 Any clues?

Look at
/usr/src/sys/conf/newvers.sh

Kent

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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


one for the archives

2004-06-06 Thread paul beard
I had posted a couple of questions about my system suddenly refusing to 
build shared libraries and making my ports tool-based builds fail. The 
symptoms were that the host type was being misread as kfreebsd/gnu 
suggesting I had some Debian/FreeBSD frankenhost, and shared libraries 
would fail to build on most ports.

With some research from Pav Lucistnik [EMAIL PROTECTED], a rogue file 
-- /usr/include/features.h -- was discovered and removed. It's dated 
Nov 21, 2001, and is claimed by no package so I have no idea how it got 
there. But as far as I can tell, that was the culprit.

I will add this info to the PR as well.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com

Re: Some Simple Questions

2004-06-14 Thread Paul A. Hoadley
On Sun, Jun 13, 2004 at 09:28:16PM -0700, Spuds wrote:

 1) Is FreeBSD truly free, as in I don't have to pay for it and can
 download it at no charge or is FreeBSD just a name?

Yes, it is truly free.  You can download it at no charge.

 3) Is FreeBSD compatible with Linux software? I believe I read that
 somewhere.

Yes, you can run Linux binaries.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html

 4) Can FreeBSD run on a laptop that is hardware compatible, as I
 know some OS's cannot run on laptops but can on desktops?

FreeBSD runs on laptops.

I skipped the SCO question.  I've lost interest.  Greg Lehey has a
comprehensive page on the issue:

http://www.lemis.com/grog/sco.html


-- 
Paul.

mailto:[EMAIL PROTECTED]


pgpxSKq9kmaD9.pgp
Description: PGP signature


ram disk

2004-06-19 Thread Paul Diaguila
Greetings
Trying to create a ram disk with this command and seeing the error below.
#mount -t -o -s1048576,noasync  /dev/sd0s1b  /var/spool/file
 mount: exec mount_mfs not found in /sbin, /usr/sbin: No such file or 
directory

I'm googling and looking through archives, but nothing so far.  Any help 
would be greatly appreciated.

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


memory

2004-06-19 Thread Paul Diaguila
Greetings
I've added a gig of memory to a 5.1 system.  When booting, it shows 1024 
meg.  Looking in the dmesg log, it says:
real memory  = 268414976 (255 MB)
avail memory = 251363328 (239 MB)

I would expect to see real memeory at 1024 also  What don't I 
understand

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


maxfiles/maxfilesperproc and piperd

2004-06-24 Thread Paul Diaguila
Have an appliction (MIMEDefang) that is giving me quite a few piperd 
when looked at with top. Added:
kern.maxfiles=65536 #system-wide limit
kern.maxfilesperproc=32768 #per-process limit
to the sysctl.conf file, and at the same time, put the directory 
containing the filese MIMEDefang writes and reads from on a ram disk. 
Still seeing lots of these:
24849 defang -8 0 26976K 26212K piperd 0:02 0.00% 0.00% perl
24850 defang -8 0 27144K 26380K piperd 0:02 0.00% 0.00% perl
Also seeing quite a bit of the incoming email with that's rejected with 
a service unavailable error, which is likely related.

Any ideas of what I should be looking for would be much appreciated..
thanks
Paul
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: command-line calculator?

2004-06-25 Thread Paul Bissex
On Fri, 25 Jun 2004 08:41:02 -0700, CD Baby [EMAIL PROTECTED] wrote:
 
 What simple built-in command-line tools are available if I want to
 just do some simple math on the command line?

Here are two possibilities:

:~ man -k calculator
bc(1)- An arbitrary precision calculator language
dc(1)- an arbitrary precision calculator
  
  
  
  
~ bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
17 * 36
612
  
  
  
  
~ dc
17 36 * p
612


-- 
paul bissex, e-scribe.com -- database-driven web development
413.585.8095
69.55.225.29
01061-0847
72°39'71W 42°19'42N
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: status of porting pf and spamd from OpenBSD to FreeBSD

2004-06-29 Thread Paul Bissex
 On Mon, Jun 28, 2004 at 01:36:55AM -0500, Jay Moore wrote:
  I heard some time ago that work was going on to port pf (and spamd, I think)
  from OpenBSD to FreeBSD. I also recently saw an announcement on the FreeBSD
  home page that Daniel Hartmeier had joined the FreeBSD team as a committer -
  a further indication that this work is underway.
 
  I'm just curious to know the status of this effort, and any specifics on how
  or when this will be done.


On my server running FreeBSD 4.8 (and cvsup), whereis spamd yields:

  /usr/ports/mail/spamd

and as mentioned earlier, pf in in ports as well:

  /usr/ports/security/pf


-- 
paul bissex, e-scribe.com -- database-driven web development
413.585.8095
69.55.225.29
01061-0847
72°39'71W 42°19'42N
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VIA KM266

2004-07-01 Thread Paul Murphy
On Thu, 01 Jul 2004 06:22:00 -0400
Darkbackwardz co. ltd. [EMAIL PROTECTED] wrote:

 I have just installed FreeBSD version 4.10 along with KDE and the 
 X-Window system on my x86 PC, unfortunately, when I type startx at
 the command line I get this error message:
 
 XFree86 Version 4.3.0
 Release Date: 27 February 2003
 X Protocol version II Revision 0 Release 6.6
 Build Operating System: FreeBSD 4.10 i386 [ELF]
 Build Date: 29 April 2004
 
 Before reporting problems check http://www.XFree86.Org to make sure
 you have the latest version
 
 Module loader present
 Markers: (--)probed, (**) from config file, (= =) default setting, (+
 +) from command line, (!!) notice, (II) informational, (WW) warning,
 (EE) error, (NI) not implemented, (??) unknown.
 
 
 (= =) Log file: /var/log/XFree86.0.log, Time: Wed June 30 23:43:12
 2004(= =) Using config file: /etc/X11/XF86Config
 
 (WW) SAVAGE: chipset ProSavage DDR in device section VIA
 ProSavage8 isn't valid for this driver
 
 (EE) No devices detected
 
 Fatal server error:
 no screens found
 
 
 When reporting a problem related to server crash, please send the full
 server output, not just the last messages. This can be found in the
 lof file /var/log/XFree86.0.log. Please report problems to
 [EMAIL PROTECTED]
 
 X connection to :0.0 broken (explicit kill or server shutdown)
 X auth: creating new authority file /root/.Xauthority
 xauth: (argv) :1: bad display name :0 in remove command
 xauth: (argv) :1: bad display name :0 in remove command
 #
 
 
 
 I'm quite sure that I've chosen the wrong video driver during setup,
 my computer runs on a VIA KM266 chipset with an integrated S3
 ProSavage8 DDR video card (Seen here: 
 http://www.via.com.tw/en/ProSavage%20Chipsets/km266.jsp )
  Which BSD driver would best suit this card? So far I've tried
  selecting 
 the ProSavageK category and the driver labled savage, as well as the
 generic-vga category and vga driver in the XFree86 setup.
If my card isn't supported by BSD, which one of the drivers on 
 http://www.viaarena.com/?PageID=296 would I use and how would I
 install it from a floppy disc? I've already installed the
 compatibility packages for Linux binaries, but I don't know which
 version would be best accepted.
 
 
 Any help would be appreciated!
-Melinda Coates
 
 
 
 

 I have a similar setup and this is the Device section I use:

Section Device
Option  NoUseBIOS
Identifier  ProSavageDDR
Driver  savage
VendorName  S3 Inc.
BoardName   [ProSavageDDR K4M266]
BusID   PCI:1:0:0
EndSection
 


-- 
Cogeco ergo sum




pgpaTSMa4fBId.pgp
Description: PGP signature


[no subject]

2003-09-12 Thread Paul Cocker
PLEASE NOTE:
~~~
This e-mail message is confidential and privileged. It is intended solely for the use 
of the individual or entity to whom it is addressed. If you are not the intended 
recipient, please accept our apologies; do not disclose, copy or distribute 
information in this e-mail or take any action on reliance of its content. To do so is 
strictly prohibited and may be unlawful. Please inform us that the message has been 
sent to you in error before deleting it. Thank you for your co-operation.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


whereis fails

2003-09-12 Thread Paul Cocker
Trying to use the whereis command, e.g. whereis XFree86-4 only to get the error:

Warning: Couldn't stat file /usr/local/man!
Warning: Couldn't stat file /usr/X11R6/man!
XFree86-4:

Neither of these directories exist (local, X11R6).  When I installed FreeBSD 
4.7-RELEASE I installed bin, crypto, man and ports.

Paul
PLEASE NOTE:
~~~
This e-mail message is confidential and privileged. It is intended solely for the use 
of the individual or entity to whom it is addressed. If you are not the intended 
recipient, please accept our apologies; do not disclose, copy or distribute 
information in this e-mail or take any action on reliance of its content. To do so is 
strictly prohibited and may be unlawful. Please inform us that the message has been 
sent to you in error before deleting it. Thank you for your co-operation.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE:

2003-09-12 Thread Paul Cocker
Oops :)

-Original Message-
From: Guy Van Sanden [mailto:[EMAIL PROTECTED]
Sent: 12 September 2003 10:30
To: Paul Cocker
Cc: [EMAIL PROTECTED]
Subject: Re:


We'll try to keep it a secret :-)

On Fri, 2003-09-12 at 11:00, Paul Cocker wrote:
 PLEASE NOTE:
 ~~~
 This e-mail message is confidential and privileged. It is intended solely for the 
 use of the individual or entity to whom it is addressed. If you are not the intended 
 recipient, please accept our apologies; do not disclose, copy or distribute 
 information in this e-mail or take any action on reliance of its content. To do so 
 is strictly prohibited and may be unlawful. Please inform us that the message has 
 been sent to you in error before deleting it. Thank you for your co-operation.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

PLEASE NOTE:
~~~
This e-mail message is confidential and privileged. It is intended solely for the use 
of the individual or entity to whom it is addressed. If you are not the intended 
recipient, please accept our apologies; do not disclose, copy or distribute 
information in this e-mail or take any action on reliance of its content. To do so is 
strictly prohibited and may be unlawful. Please inform us that the message has been 
sent to you in error before deleting it. Thank you for your co-operation.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


permission denied in root!

2003-09-13 Thread Paul Orsi
Please help.
Two problems:
1. I'm trying to compile NEWKERN. #config NEWKERN
#CD ../ ../compile/NEWKERN
Permission Denied
2. could not change permissions for etc/fstab also.Can no longer write to file.

All this while in root
I'm using FreeBSD 5.1 powerpack 10 cd set. I had no such problems with FreeBSD 5.0 
unstable.
How do I get administrator privileges back while in root?
Thanks,
Paul
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fw: permission denied in root!

2003-09-13 Thread Paul Orsi
I may try:
chattr -V  -i NEWKERN
chmod u+x NEWKERN
let me know if you have any ideas.,thanks




- Original Message - 
From: Paul Orsi 
To: [EMAIL PROTECTED] 
Cc: [EMAIL PROTECTED] 
Sent: Saturday, September 13, 2003 3:27 AM
Subject: permission denied in root!


Please help.
Two problems:
1. I'm trying to compile NEWKERN. #config NEWKERN
#CD ../ ../compile/NEWKERN
Permission Denied
2. could not change permissions for etc/fstab also.Can no longer write to file.

All this while in root
I'm using FreeBSD 5.1 powerpack 10 cd set. I had no such problems with FreeBSD 5.0 
unstable.
How do I get administrator privileges back while in root?
Thanks,
Paul
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Office 2000 Pro

2003-09-14 Thread paul beard
Martin Rubenstein wrote:
My question for you is simply;  Will FreeBSD support windows Office 2000 
Pro?My wife _must_ use MS Office for work at home in order to be 
compatible with her work in the office.  Powerpoint, Word, Access, Excel 
 Outlook.
The question might be better phrased as will MSFT support 
FreeBSD and I think we know the answer.

Why not buy a bargain-basement commodity PC for Office and network 
it through the freebsd system (some protection from the worms is 
always good)?



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Serenity through viciousness.

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


Re: Ogg encoding

2003-09-15 Thread Paul A. Hoadley
On Sun, Sep 14, 2003 at 10:41:52PM -0400, Todd Stephens wrote:

 I found a port for mp32ogg to convert mp3 to ogg format, but is
 there a program to convert wav to ogg format?  I like the ogg
 format, but it seems to me that there will be some data loss going
 from wav to mp3 and then to ogg.

As someone else suggested, you want /usr/ports/audio/vorbis-tools.  I
wrote a brief how-to for ripping from audio CD to Ogg Vorbis:

http://logicsquad.net/freebsd/audio-rip-how-to.html

It includes automatic download of the track list, transforming the XML
received and adding the appropriate metadata to each track.  It could
be automated further---suggestions welcome.


-- 
Paul.

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


open-ssh manual recompiled patched using cvsup

2003-09-17 Thread Paul JURCO
Hi,
I'm trying to recompile openssh with latest patch on FreeBSD 5.0-RELEASE-p7
i386.
I've cvsuped to the new version.
So, cd /usr/src/secure/lib/libssh  make depend  make all install
(succesfully done)
After:
# cd /usr/src/secure/usr.sbin/sshd
# make depend  make all install
I got this error:
In file included from /usr/src/crypto/openssh/sshd.c:83:
/usr/src/crypto/openssh/auth.h:43:18: krb5.h: No such file or directory
In file included from /usr/src/crypto/openssh/auth-rhosts.c:25:
/usr/src/crypto/openssh/auth.h:43:18: krb5.h: No such file or directory
In file included from /usr/src/crypto/openssh/auth-passwd.c:45:
/usr/src/crypto/openssh/auth.h:43:18: krb5.h: No such file or directory
In file included from /usr/src/crypto/openssh/auth-rsa.c:33:
/usr/src/crypto/openssh/auth.h:43:18: krb5.h: No such file or directory
In file included from /usr/src/crypto/openssh/auth-rh-rsa.c:25:
/usr/src/crypto/openssh/auth.h:43:18: krb5.h: No such file or directory
/usr/src/crypto/openssh/servconf.c:21:18: krb5.h: No such file or directory
In file included from /usr/src/crypto/openssh/serverloop.c:51:
/usr/src/crypto/openssh/auth.h:43:18: krb5.h: No such file or directory
In file included from /usr/src/crypto/openssh/auth.c:45:
/usr/src/crypto/openssh/auth.h:43:18: krb5.h: No such file or directory
etc., etc.
/usr/src/crypto/openssh/auth.h:43:18: krb5.h: No such file or directory
/usr/src/crypto/openssh/auth-krb5.c:44:18: krb5.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/secure/usr.sbin/sshd.

What should I do?

Thank you,
Paul JURCO


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


Re: What's the difference between FreeBSD and OpenBSD?

2003-09-17 Thread paul beard
Lucas Holt wrote:

Darwin (Apple's distro)  isn't done yet for x86 platforms.  Mac OS X 
runs the darwin system.

Actually, it is running on x86 hardware and has for some time.

http://developer.apple.com/darwin/projects/darwin/

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Real programmers don't write in FORTRAN.  FORTRAN is for pipe stress
freaks and crystallography weenies.  FORTRAN is for wimp engineers who
wear white socks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


openssh upgrade help

2003-09-18 Thread Paul JURCO
Hi,
I have FreeBSD 5.0-RELEASE-p7 and i'm trying to patch openssh.
I used cvsup to get latest sources for RELENG_5_0.
#cd /usr/src/secure/lib/libssh
#make depend  make all install
Warning: Object directory not changed from original
/usr/src/secure/lib/libssh
make: don't know how to make
/usr/src/crypto/openssh/openbsd-compat/basename.h. Stop
#make depend
#make all
Warning: Object directory not changed from original
/usr/src/secure/lib/libssh
make: don't know how to make
/usr/src/crypto/openssh/openbsd-compat/basename.h. Stop

How can I upgrade openssh in this conditions?

Thank you,
Paul JURCO


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


Re: Unrecognized Broadcom 570x Chip on Dell1750

2003-09-19 Thread william paul
Of all the gin joints in all the towns in all the world, Olaf Hoyer
had to walk into mine and say:
 
 HI!
 
 Got @work a new Dell 1750 machine, serverworks Chipset w/Xeon CPU, also
 dual gigE Broadcom chipsets.
 FreeBSD 4.8-R failed to recognize the chip, but Knoppix 3.2 (Linux
 Distro, based on debian iirc, recognized the broadcom chips, iirc as
 5704 ones)

Yeah yeah yeah. Try a FreeBSD 4.9 snapshot. Support for the 5704 was
added after FreeBSD 4.8-RELEASE came out. 4.9 should also support
the 5705 chips.

-Bill
 
-- 
=
-Bill Paul(510) 749-2329 | Senior Engineer, Master of Unix-Fu
 [EMAIL PROTECTED] | Wind River Systems
=
  If stupidity were a handicap, you'd have the best parking spot.
=
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can FreeBSD run dos

2003-09-28 Thread Paul Everlund
On Sat, 27 Sep 2003, Jud wrote:

 On Sat, 27 Sep 2003 09:51:50 -0500, fred [EMAIL PROTECTED] wrote:

  I am new to different OS's .
  Can this Os run Wordperfect 5.1 for dos???

 It might be possible with Wine, but you would need a FAT partition, so
 that would definitely be the long way round - you might as well install
 Win9x in the FAT partition and run WordPerfect on DOS directly.  FreeBSD
 has several good free word processing programs of its own that you may
 want to look at - see URL: http://www.freebsd.org/ports/editors.html.

 Jud

There's also doscmd(1), but I doubt that it will be able to run
WordPerfect.

I recommend Jud's suggestion, to look at the FreeBSD ports.

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


Re: how to get system information

2003-09-28 Thread paul beard
Per olof Ljungmark wrote:
I am wondering how to find out system hardware information from a
running system, I know for instance pciconf(8) but what are the
corresponding ones for memory, cpu etc?


more /var/run/dmesg.boot  to get the info at boot time.
vmstat 5 5 will give you 5 items 5 sconds apart to show you procs, 
memory,
page, disks, faults and cpu info.

Thanks, that was a good start. Now, if I wanted to see more detailed 
info on the processor than the dmesg.boot output:

Origin = GenuineIntel  Id = 0x673  Stepping = 3

Like cache size etc.?
You could try seeing what values are available through SNMP, if 
you're interested in dynamic values like memory usage, CPU usage, 
disk usage, etc. Manufacturing details on the CPU won't change 
between reboots, but there should be other ways to find that out.

dmesg.boot gives me all this data, some of which might be useful 
for what you're after.

CPU: Pentium II/Pentium II Xeon/Celeron (233.29-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x634  Stepping = 4
Features=0x80f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
A university is what a college becomes when the faculty loses interest
in students.
-- John Ciardi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to get system information

2003-09-28 Thread paul beard
Per olof Ljungmark wrote:
I am wondering how to find out system hardware information from a
running system, I know for instance pciconf(8) but what are the
corresponding ones for memory, cpu etc?


more /var/run/dmesg.boot  to get the info at boot time.
vmstat 5 5 will give you 5 items 5 sconds apart to show you procs, 
memory,
page, disks, faults and cpu info.

Thanks, that was a good start. Now, if I wanted to see more detailed 
info on the processor than the dmesg.boot output:

Origin = GenuineIntel  Id = 0x673  Stepping = 3

Like cache size etc.?
You could try seeing what values are available through SNMP, if 
you're interested in dynamic values like memory usage, CPU usage, 
disk usage, etc. Manufacturing details on the CPU won't change 
between reboots, but there should be other ways to find that out.

dmesg.boot gives me all this data, some of which might be useful 
for what you're after.

CPU: Pentium II/Pentium II Xeon/Celeron (233.29-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x634  Stepping = 4
Features=0x80f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
A university is what a college becomes when the faculty loses interest
in students.
-- John Ciardi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports : Mozilla / Mozilla-devel

2003-10-01 Thread Paul Murphy
On Tue, 30 Sep 2003 11:23:36 -0500
Dan Nelson [EMAIL PROTECTED] wrote:

 In the last episode (Sep 30), Mike Hogsett said:
  I have been pulling my hair out over this.  I installed a package
  several days ago that required gettext.  The gettext in ports has
  been updated so I had to deinstall the existing on and install the
  version from ports.
  
  After that mozilla and mozilla-devel (and some other stuff) wont run
  becuase libintl.so.4 no longer exists. (gettext from ports installs
  libintl.so.5 now).
  
  I pkg_delete'd mozilla and mozilla-devel and rebuilt (have tried
  both) but even after they build and install they are still asking
  for libintl.so.4!!
 
 They may be linking against a shared library that requires
 libintl.so.4.
 
  I rm -rf'd /usr/ports and cvsup'd back hoping to clear any cruft
  that may have remained and rebuilt mozilla-devel, still no dice!
  
  Anyone have a suggestion how I can get either of these ports to work
  again?
 
 At this point, you'll probably have to rebuild all the ports that
 depended on the old gettext.  The portupgrade tools minimize this risk
 by preserving old shlibs in /usr/local/lib/compat/pkg, so you can
 upgrade dependant ports at your leisure.
 

 Before upgrading just about _everything_ (which you will do if you
upgrade dependencies in gettext) try upgrading your GNOME-ish ports, I
found these were the holdouts when doing as you originally did.

-- 
Cogeco ergo sum


pgp0.pgp
Description: PGP signature


Re: Mail-list PGP Keys

2003-10-01 Thread Paul Murphy
On Wed, 1 Oct 2003 11:27:29 -0700
Kris Kennaway [EMAIL PROTECTED] wrote:

 On Wed, Oct 01, 2003 at 01:15:03PM -0500, Eric F Crist wrote:
 
  How do I submit my keys?
  
  TIA
 
 1) Don't middle-post
 
 2) Read the URL provided.
 
Just a little pet peeve.
  
   AFAIK, most people use http://pgp.mit.edu to submit their keys.
 
 Kris

 FWIW, have you checked _your_ pgp key lately, I always get:

BAD signature from Kris Kennaway [EMAIL PROTECTED]
aka Kris Kennaway [EMAIL PROTECTED]
aka Kris Kennaway [EMAIL PROTECTED]



-- 
Cogeco ergo sum


pgp0.pgp
Description: PGP signature


Archives

2003-10-02 Thread Paul Burton
I am new to this list and in an attempt to avoid asking the same question over 
and over I was wondeing if there is an archive of messages that the public 
has access to?

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


Re: FreeBSD on a Mac G3?

2003-10-10 Thread Paul Beard
 
On Friday, October 10, 2003, at 09:09AM, Mykroft Holmes IV [EMAIL PROTECTED] wrote:

While there is a Ports system for Darwin/OS X, called GNUDarwin, avoid 
it, as it is notorious for breaking the basic OS install without asking.

or you can use the DarwinPorts collection, which has Apple support behind it (longtime 
FreeBSD users will recognize Jordan Hubbard is: he's on the DarwinPorts team). 

Fink is a better alternative, it's pretty much a port of the Debian 
package management system, with somewhat improved source handling. As it 
dumps all downloaded software in /sw, it doesn't break the base install. 
Very nifty. Works very well.

I used Fink for quite a while but it seemed to lose focus on reliability. I moved to 
darwinports (which offers source code ports and packages) and it seems to work just 
fine. 

--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

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


Re:

2003-10-15 Thread paul beard
[mail not sent directly: msn.com isn't accepting mail right now]

lawrencejr johnson wrote:
Hello,

I'm would like to install BSD on my old G3 Powerbook Laptop. Whare can I 
find out How to do this, if it is possible ?
You can't. But you can install Darwin, the non-graphical UNIX core 
of Mac OS X, and do a lot of the same things.

http://www.opendarwin.org/en/news.php#29

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Innovation is hard to schedule.
-- Dan Fylstra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Weirdness with permissions after mounting USB flash drive

2003-10-20 Thread Paul Murphy
usbd.conf snippet:

device Flash Drive
devname umass0
vendor 0x0ea0
product 0x2168
release 0x0200
attach /sbin/mount -t msdos /dev/da0s1 /flash_drive

permissions of '/flash_drive' before mounting:

drwxrwxrwx2 root  wheel  512 Oct 20 22:27 flash_drive


permissions of '/flash_drive' after mounting:

d-1 root  wheel22016 Dec 31  1979 flash_drive

(notice the date too!)


 I _can_ read/write to it as root, but I would really like to use it as
a non-root user. Any thoughts as to why this is happening?


[earth] /: usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev
1.00 port 1 powered
 port 2 addr 2: power 200 mA, config 1, Flash Disk  (0x2168), USB   
 (0x0ea0), rev 2.00

[earth] /: uname -a
FreeBSD earth.upton.net 4.9-RC FreeBSD 4.9-RC #0: Fri Oct 17 17:05:59
EDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/EARTH_ACPI  i386

/var/log/messages snippet:

Oct 20 22:41:55 earth /kernel: umass0: USB  Flash Disk  , rev
2.00/2.00, addr 2 
Oct 20 22:41:55 earth /kernel: da0 at umass-sim0 bus 0
target 0 lun 0 
Oct 20 22:41:55 earth /kernel: da0: OTi Flash Disk 2.00 Removable
Direct Access SCSI-2 device 
Oct 20 22:41:55 earth /kernel: da0: 650KB/s transfers 
Oct 20 22:41:55 earth /kernel: da0: 125MB (256000 512 byte sectors: 64H
32S/T 125C)


-- 
Cogeco ergo sum


pgp0.pgp
Description: PGP signature


Re: Weirdness with permissions after mounting USB flash drive

2003-10-21 Thread Paul Murphy
On Tue, 21 Oct 2003 09:15:58 +0200
Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:

 * Paul Murphy:
 
   I _can_ read/write to  it as root, but I would really  like to use
   it
  as a non-root user. Any thoughts as to why this is happening?
 
 See FreeBSD  FAQ[1].  Also, in /etc/fstab  you may adjust the  mode,
 see below -m700 for msdos filesystem:
 
 /dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0
 

usbd.conf:
device Flash Drive
devname umass0
vendor 0x0ea0
product 0x2168
release 0x0200
attach /sbin/mount /flash_drive


fstab:
/dev/da0s1  /flash_drivemsdos   rw,-m775,noauto 0   0


mounted permisions:
d-1 root  wheel22016 Dec 31  1979 flash_drive


cd to /flash_drive as non-root user:
flash_drive: Permission denied.

FWIW:
vfs.usermount: 1

(Mounting is no problem, usbd does that for me. It's _how_ it's mounted
that is the problem)


 As a side note, the device has a little slider that is supposed to lock
the drive from being written to. Does FreeBSD honour this? Is this a 
software or hardware lock?
 I'm pretty sure in the above case it is in the unlock position.

-- 
Cogeco ergo sum


pgp0.pgp
Description: PGP signature


Re: Weirdness with permissions after mounting USB flash drive

2003-10-21 Thread Paul Murphy
On Tue, 21 Oct 2003 14:26:17 +0200
Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:

 * Paul Murphy:
 
  Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
 
   * Paul Murphy:
  
 I _can_ read/write to it as root,  but I would really like to
 use
it as a non-root user. Any thoughts as to why this is happening?
  
   [...] in  /etc/fstab you may  adjust the  mode, see below  -m700
   for msdos filesystem:
  
   /dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0
 
  fstab: /dev/da0s1 /flash_drive msdos rw,-m775,noauto 0 0
 
 
  mounted  permisions:  d-  1  root  wheel  22016  Dec  31 
  1979 flash_drive
 
 FWIW you could check if your  specific FreeBSD supports the -m switch
 by looking at the mount_msdosfs man page.
 

 Seems to, at least the man page says so.

 Also tried 'chmod 755 /flash_drive' after the fact, but it is silently
ignored.

 I'm stumped!

-- 
Cogeco ergo sum


pgp0.pgp
Description: PGP signature


Re: Trying to see website from the Internet

2003-10-21 Thread Paul Murphy
On Tue, 21 Oct 2003 15:28:51 -0700 (PDT)
Micke P [EMAIL PROTECTED] wrote:

 
 --- [EMAIL PROTECTED] wrote:
   I opened the port on my (hardware) router box, not
  the
   FreeBSD firewall. Internet - ISP - Modem -
  Router
   - FreeBSD box. Hopefully that's all I need to do
  to
   forward the port 8080 packets. Do I need to
  configure
   the FreeBSD firewall settings as well to reflect
  the
   port?
  
  no, if you can get to the website from inside your
  hardware firewall (a
  machine other then your freeBSD box) then the
  problem ly's with either
  your hardware firewall, or your ISP.  What Brand
  firewall do you have? 
  Remeber that just opening port 8080 will not work,
  you have to go into the
  Port Forwarding section of your firewall and
  forward the 8080 port to
  your inside box
 
 While it's not called Port Forwarding on the router
 setup, I'm certain that is what I've set up. 
 
 Do you know what an ISP, earthlink, in this case,
 might do to keep you from serving pages? I'm using
 another port from 80, because I just get the ISP modem
 status page when using the dynamic IP with the normal
 80 port.
 
 I'm afraid I'm just frustratedly baffled.
 

 Are you sure Earthlink is not blocking all the obvious HTTP
server ports? Try using some arbitrary port 32000

-- 
Cogeco ergo sum


pgp0.pgp
Description: PGP signature


Re: Freebsd 4.8 Command to finish typing

2003-10-23 Thread Paul Murphy
On Thu, 23 Oct 2003 08:54:58 -0400
Robert Huff [EMAIL PROTECTED] wrote:

 
 Ruben de Groot writes:
 
How do you have Freebsd 4.8 finish typing a line? On older
version I just type Ma and escape to finish typing Make.
   
   That depends on your shell. You're probably used to a
   bourne-shell variant like ksh, where ESC is used for word
   completion. In csh, use the TAB key.
 
   And note this is not line completion but file name completion
 - it will fill in as much as uniquely possible of the path starting
 with what you have already typed. 
 
 
   Robert Huff

 If the command is in your history, arrow-up does line completion
(csh).

-- 
Cogeco ergo sum


pgp0.pgp
Description: PGP signature


Screen eating all CPU

2003-10-29 Thread Johan Paul
Hi all!

I was just wondering what could be wrong with my screen. Just like many
other I would like to have it for IRC over SSH.

I installed screen on my 4.8 normally using pkg_add -r screen. I update
the ports tree with cvsup on regular basis and the version that got
installed was screen-3.9.13.

As soon as I start screen for a normal user the load starts to rise.
Slowly, but it will reach 1.00. I have run screen under Linux for serveral
years without problems - what could have I missed?



Best regards,

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


Re: Screen eating all CPU

2003-10-29 Thread Johan Paul
 I installed screen on my 4.8 normally using pkg_add -r screen. I update
 the ports tree with cvsup on regular basis and the version that got
 installed was screen-3.9.13.
 Its a known bug. Install screen from the compiled ports and it will all
 be fine

Great, thanks - it worked! Now it doesn't eat all my CPU which is nice.

But I have another problem related to screen. That is when I start screen
my terminal emulation gets messed up. For example if a hit backspace or
delete I get a ~ and the bell and my left- and right arrows doesn't work.
This hasn't either happend to me under Linux. What could cause this and
where can I controll the terminal emulation...? This happens to me with
both tcsh and bash - if it has anything to do with the problem...

Thanks again!


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


Re: Should I upgrade to 4.9?

2003-10-29 Thread paul beard
Dragoncrest wrote:
The mail server is my only mission critical machine right now, 
so that's why I'm asking this.  It's the only box I can't afford to have 
go down.  
I think you answer your own question. As a practical matter, I 
think 4.9 is a maintenance release on the 4.x branch, so if it 
ain't broke, don't fix it.



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Reader, suppose you were an idiot.  And suppose you were a member of
Congress.  But I repeat myself.
-- Mark Twain
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: Re: kernel make error.

2003-10-30 Thread Paul Beard
Reply-to: risto phario [EMAIL PROTECTED]
 

From: risto phario [EMAIL PROTECTED]
TO: paul beard [EMAIL PROTECTED]
CC: 
Date: Thu Oct 30, 2003 11:38:05 AM PST
Subject: Re: kernel make error.

Ok, I have attached the error msg. Thanks.

Risto


- Original Message -
From: paul beard [EMAIL PROTECTED]
Date: Wed, 29 Oct 2003 21:21:26 -0800
To: risto phario [EMAIL PROTECTED]
Subject: Re: kernel make error.

 risto phario wrote:
  Hi, I was hoping you could help me out a bit. I am new to
  FreeBSD and was trying to compile a custom kernel. I ran config
  on it and everything went good. I did make depend, and
  everything went good. Then I did make and it gave me an error.
  I am new to FreeBSD so I have no idea what to do. I have
  attched a copy of my custom kernel MYKERNEL. Any help with
  this problem would be great!!! Thank you.
 
 Sending the error message would be a big help.
 
 
 
 -- 
 Paul Beard
 http://paulbeard.no-ip.org/movabletype/
 whois -h whois.networksolutions.com ha=pb202
 
 Kansas state law requires pedestrians crossing the highways at
 night to
 wear tail lights.
 

-- 
___
Get your free email from http://mymail.bsdmail.com

Powered by Outblaze


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


Re: Weirdness with permissions after mounting USB flash drive

2003-11-01 Thread Paul Murphy
On Sat, 1 Nov 2003 12:06:19 +0100
Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:

 * Paul Murphy:
 
   I'm stumped!
 
 Once fstab  is properly configured,  of course the mount  command
 should be  invoked without  options  and  with only  one  argument,
 the  target directory:
 
 mount /mns/usbkey
 
 Did you do that?

 Yes. BTW, just upgraded to 4.9-STABLE from 4.9-RC? and now that
'mount_msdos' accepts '-M' everything works fine.

 Still stumped, but happy!

-- 
Cogeco ergo sum


pgp0.pgp
Description: PGP signature


Install from hard disk.

2003-11-01 Thread Paul Halliday

I have two drives in my pc164. What do i need to put on the second drive
in order to use it as the installation media? I have tried dd'ing the
floppy images to the second hard drive but this doesnt work. Any pointers?


Thanks.

Paul Halliday.
http://dp.penix.org
---

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


Mozilla 1.5 errors?

2003-11-01 Thread paul beard
What's wrong here? I've updated ports today, if that's useful to 
know.

===  Building for mozilla-1.5_1,2
/usr/local/bin/gmake -C config export
gmake[1]: Entering directory 
`/opt/ports/www/mozilla/work/mozilla/config'
gmake[2]: Entering directory 
`/opt/ports/www/mozilla/work/mozilla/config/mkdepend'
cppsetup.c
cc -o host_cppsetup.o -c -O -pipe  -DXP_UNIX -O3 
-DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.o\ 
-DPREINCDIR=\include\   -I../../dist/include/mkdepend 
-I../../dist/include 
-I/opt/ports/www/mozilla/work/mozilla/dist/include/nspr 
-I/usr/local/include -I/usr/local/include 
-I/opt/ports/www/mozilla/work/mozilla/dist/include/nspr  cppsetup.c
In file included from cppsetup.c:28:
def.h:29: X11/Xos.h: No such file or directory
def.h:30: X11/Xfuncproto.h: No such file or directory
gmake[2]: *** [host_cppsetup.o] Error 1
gmake[2]: Leaving directory 
`/opt/ports/www/mozilla/work/mozilla/config/mkdepend'
gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory 
`/opt/ports/www/mozilla/work/mozilla/config'
gmake: *** [default] Error 2
*** Error code 2

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Remember, even if you win the rat race -- you're still a rat.

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


Mozilla 1.5 errors [resolved?]

2003-11-02 Thread paul beard
I reported some problems with building Mozilla [1.5] from ports, 
specifically this one:

In file included from cppsetup.c:28:
def.h:29: X11/Xos.h: No such file or directory
def.h:30: X11/Xfuncproto.h: No such file or directory
gmake[2]: *** [host_cppsetup.o] Error 1
gmake[2]: Leaving directory 
`/opt/ports/www/mozilla/work/mozilla/config/mkdepend'
gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory 
`/opt/ports/www/mozilla/work/mozilla/config'
gmake: *** [default] Error 2
*** Error code 2

I ended up tracking down what port owned Xos.h 
[XFree86-4-libraries] and rebuilding/installing it. At that point, 
Mozilla would build and install just fine.

However, it wouldn't run: it need libintl.so.4 and I have 
libintl.so.5 installed. The simple workaround was to symlink the 
needed file from the one I had and that seems to be working. 
libintl.so.* is installed by gettext. I have no idea what the Real 
Solution for this is, but I leave these workaround steps in the 
archive in case anyone finds them useful .



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Greener's Law:
Never argue with a man who buys ink by the barrel.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mozilla 1.5 errors [resolved?]

2003-11-02 Thread paul beard
Kris Kennaway wrote:
On Sun, Nov 02, 2003 at 02:02:31PM -0800, paul beard wrote:


I ended up tracking down what port owned Xos.h 
[XFree86-4-libraries] and rebuilding/installing it. At that point, 
Mozilla would build and install just fine.

However, it wouldn't run: it need libintl.so.4 and I have 
libintl.so.5 installed.


As you've discovered, your installed packages are inconsistent.  At
some point you updated the gettext port without rebuilding everything
that depends on it, so packages that were linked against the old
library (libintl.so.4) can no longer function because you removed it.
The fix is to rebuild everything that depends on gettext by doing e.g.
portupgrade -r gettext.
Roger that. Thanks for the solution.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Alden's Laws:
(1) Giving away baby clothes and furniture is the major cause
of pregnancy.
(2) Always be backlit.
(3) Sit down whenever possible.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mozilla 1.5 errors?

2003-11-03 Thread paul beard
Lowell Gilbert wrote:
paul beard [EMAIL PROTECTED] writes:


What's wrong here? I've updated ports today, if that's useful to know.


Just built fine for me.  -STABLE.

Anything funny in your make.conf?
My problem was that some ports were out of sync.



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
A bachelor is a selfish, undeserving guy who has cheated some 
woman out
of a divorce.
		-- Don Quinn

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


Re: Recommendations for wireless networking and FreeBSD

2003-11-03 Thread paul beard
Toni Schmidbauer wrote:
On Mon, Nov 03, 2003 at 10:14:19AM -0800, John DeStefano wrote:


I've just moved into an apartment in which drilling and
running wires is taboo.  Has anyone delved successfully into
the realms of wireless networking their FreeBSD groups?  My
main server is running 4.8-STABLE, and I have a client
machine running 5.1-RELEASE (which has been suspect to a lack
of driver support for its onboard NIC in FBSD anyway), but I
am not married to any of these releases and would
up/downgrade if a solution was available. I'd also prefer a
Wireless-G access point and adapter solution if possible, as
opposed to the much slower B solutions available.


man 4 wi. there you can find a list of support cards.
man 4 an has the straight dope on the aironet driver: I have been 
using it for awhile with FreeBSD 4.4 - 4.8.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
A formal parsing algorithm should not always be used.
-- D. Gries
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


multimedia/avifile won't compile, stopping builds of x11/gnome2

2003-11-04 Thread Paul Seniura
I'm seeing the exact same compiler problem that bento has been showing
for multimedia/avifile.  This is bento's log for this app:
http://bento.freebsd.org/errorlogs/i386-5-latest/avifile-0.7.34.20030319,2.log
This is stopping portupgrade --new --recursive --upward-recursive x11/gnome2 from 
finishing.
I have been staying current via CTM due to firewall issues here
(political... don't ask ;) .
I've read thru the long discussion about breaking gnome2 up into
more managable separate collections of apps, but for now the gnome2
collection is the only thing portupgrade knows how to keep track of,
so it is broken as far as it is concerned.
Also, apparently no one else has seen this compile problem with avifile
as I've searched thru every mail-list here to no avail.
Please help me with this -- should I file a bug? or is there a workaround?
If I file a bug, I will recommend upgrading avifile to the latest version as shown on 
their project site at Sourceforge,
but gnome2 is broken until this is fixed.  Thank you very much.

-- 
__
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers

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


Re: Web Editing?

2004-01-19 Thread Paul A. Hoadley
On Mon, Jan 19, 2004 at 09:54:35AM -0600, Kirk Strauser wrote:
 At 2004-01-19T14:25:28Z, Eric F Crist [EMAIL PROTECTED] writes:
 
  What do people here use to edit HTML documents?
 
 Emacs.

Are you using PSGML's xml-mode?  I find it's not indenting my XHTML
documents too well (for example, it seems to assume something like
'div' is an inline rather than a block level element, and then won't
indent the closing tag properly if I move it onto a new line), though
I haven't tried to debug it too extensively.


-- 
Paul.

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


Re: Web Editing?

2004-01-19 Thread Paul A. Hoadley
On Tue, Jan 20, 2004 at 10:35:14AM +1100, [EMAIL PROTECTED] wrote:

 i seriouslly cant understand how people can develop via a terminal
 especially for speed and efficiency when edit, moving , selecting
 etc. .

I don't really find anything speedy or efficient about the 'click,
drag, select, menu, select, dialog-box, click-button, are-you-sure,
confirm' paradigm myself.  I guess everyone's mileage varies.


-- 
Paul.

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


Re: a technical how to

2004-01-26 Thread Paul Everlund
On Tuesday 09 December 2003 02:51, homeyra g wrote:

So, I hope this is the right address for this type of
question. If not would you please forward this and/or
let me know the correct address.
Thanks,

Here is the question: How to truncate a file from the
begining to a certain point in the file?
There's two commands that might be helpful:
  truncate(1)
  dd(1)
Read about them in the man pages.

Hope I was of some help!

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


Total amount of memory in my system?

2004-01-26 Thread Paul Hoffman
Greetings again. I'm running 4.8 on a remote server. I want to know 
how much RAM is in the server. 'dmesg -a' doesn't tell me because the 
boot information has scrolled off the top of the stack. Short of 
rebooting the system, how can I find out how much RAM is built in?

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


Re: Total amount of memory in my system?

2004-01-27 Thread Paul Hoffman
At 10:17 PM -0800 1/26/04, James Long wrote:
less /var/run/dmesg.boot
Bingo. Thanks! I knew that they would keep that around somewhere...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CTM is down, I know, but are Mail Archives also down?

2004-01-28 Thread Paul Seniura

I was out-of-pocket yesterday, so I may have missed a lot.

Today I have been noticing no CTM deltas have arrived on the FTP sites
(including vmunix) since late Monday 26 Jan. 2004.
And then I tried to catch-up by browsing the Mail Archives today, to
find it hasn't been updated since then, too, except for some old
junky msgs.
The ctm-announce archive does show a msg about the CTM site being
down, before the archives themselves stopped updating.
My e-mail subscriptions are coming thru okay, tho, except for CTMs.

Did the sites get hit by the winter storm in NE US?

Is there an ETA as to when things will work again?

Could someone whip-up a webpage/link on the main site to post the
status if it'll be long, please?

Thank you, and sorry if this is the 10^Nth msg you received.

I've sent this msg to
[EMAIL PROTECTED]
and
[EMAIL PROTECTED]
Not sure who-else I should ask.


  --  Paul Seniura
  System Specialist
  State of Okla. D.O.T.

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


  1   2   3   4   5   6   7   8   9   10   >