Duplicating songs on a blank cd

2004-04-17 Thread Craiggeg
Greetings!

My name is Craig and I am having a problem with troubleshooting
with duplicating songs on a blank cd. Firstly, I'd like to tell you that a friend of 
mine has made a cd of himself singing
on the cd. He recorded himself singing and rapping on the cd. He has given me one copy 
of his cd, but I am trying to give it to another friend of mine whereas I would need 
to transfer the songs onto the cd my friend gave me onto a blank cd I am going to give 
to another friend. What I'm trying to do is have it so the person I will make the copy 
for will to it on a cd player or jukebox instead of on the conmputer.
I have tried almost everything to solve this problem and I still have not gotten it to 
work. I have noticed that when I try to transfer the songs onto a blank cd by using 
Real Player, I've tried listening to it on a cd player but it wouldn't work. However, 
I inserted it into the computer and the songs appeared and started to play. How can I 
get it to be able to play on the cd player is my general question. I've also noticed 
these songs are ".cda" type of music file.
If you could help me with this problem, I'd greatly appreciate your support. Thank you 
and have a blessed day!


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


Re: bsd 5 install

2004-04-17 Thread Giorgos Keramidas
On 2004-04-18 00:21, nestor <[EMAIL PROTECTED]> wrote:
> today ran thru install using entire 2nd HD for bsd 5.0 by foolowing FREE
> BSD UNLEASHED 2nd ed.  it seemed pretty straight forward.  but after
> install did not boot into bsd.  boot loader options were to come up
> after i initially said do nothing now when disk 2 was picked for
> install. but the later oppotunity never came up. xp is on disk 1 and bsd
> on 2nd.  expected equivalent of lilo or grub to load on mbr of 1st disk
> but no such luck.  what about a boot floppy option?  this would be less
> nerve racking. no error messages came up only congatulations.  i use dsl
> for internet connexn and not on any networks.  just tying to learn.  any
> ideas? thnx.  a boot floppy would sure help so as not to damage winxp.

You can always use your installation CDROM as a boot floopy and/or
resque disk for such 'problems'.  Just boot from the CDROM and interrupt
the boot process at the spinning '/' character stage by pressing SPACE.

You should see a prompt like this:

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

Instead of pressing RETURN to boot the default kernel, type this at the
'boot:' prompt:

1:ad(1,a)/boot/loader

This should bring up your /boot/loader from the second ATA disk.  The
rest of the booting process is relatively easy, so I think you'll manage
alright.  If not, keep notes and mail us again :-)

- Giorgos

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


RE: installed mysql/php/apache but there's no mysql.sock file

2004-04-17 Thread mark rowlands
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Shaun Friedle
> Sent: Saturday, April 17, 2004 8:18 PM
> To: chip
> Cc: [EMAIL PROTECTED]
> Subject: Re: installed mysql/php/apache but there's no mysql.sock file
> 
> On Sat, 2004-04-17 at 18:42, chip wrote: 
> > I then created a file in /tmp called mysql.sock but mysql 
> still gives 
> > the same error -[error 2002] cannot connect to local mysql server 
> > through /tmp/mysql.sock (2).
> > I read the section in the mysql manual about the socket but 
> don't see 
> > anything about creating this file.
> > How do I fix this?
> 

/usr/local/etc/rc.d/mysql-server.sh start

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


bsd 5 install

2004-04-17 Thread nestor
today ran thru install using entire 2nd HD for bsd 5.0 by foolowing FREE 
BSD UNLEASHED 2nd ed.  it seemed pretty straight forward.  but after 
install did not boot into bsd.  boot loader options were to come up 
after i initially said do nothing now when disk 2 was picked for 
install. but the later oppotunity never came up. xp is on disk 1 and bsd 
on 2nd.  expected equivalent of lilo or grub to load on mbr of 1st disk 
but no such luck.  what about a boot floppy option?  this would be less 
nerve racking. no error messages came up only congatulations.  i use dsl 
for internet connexn and not on any networks.  just tying to learn.  any 
ideas? thnx.  a boot floppy would sure help so as not to damage winxp.  
thanx
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FBSD 5.2-1 NIS/YP KDE

2004-04-17 Thread Joshua Lokken
* RA Cohen <[EMAIL PROTECTED]> [2004-04-16 08:28]:
> Hello All,
> 
> school environment). How can I make all of them default to KDE
> without manually going into each and every central home
> directory to set this? Do I need a Perl sctript to do this? How
> can I get a new user addition to default to KDE?

I believe you could include an .xsession or .xinitrc in the skel dir
you're using to populate new users' homes.  There is also an environment
variable that'll do it; WINDOW_MANAGER= or similar.

> 
> I hope I have been clear. I would think this scenario is
> becoming more common as people try to move away from MS-based
> networks, but I have found really scant info...There's a
> LinuxWorld November 2002 article on KDE central administration,
> but it doesn't address the additional problems NIS causes!

Don't know NIS.
 

-- 
Joshua

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


Installation on RAID 0 and uninstallation of Boot Mgr

2004-04-17 Thread Henrik Zagerholm
Hi all!
Having problem with installing 5.2.1 on a computer with 2 SATA 80G disk 
in RAID 0 (Striping)
There is a WinXP installed already which has 4 primary partitions of 5, 
10, 25 and 60G.
My BSD installation went like usuall. I chose to create a Slice on ar0 
in the unpartitioned 50G space. Then I chose to install Boot Manager.  
When commitin the changes a got error like "node for 'X' slices failed" 
,"mount /dev unavailable". I will give you the exact error messages if 
you need them! Then I had to reboot my machine and I got very suprised 
that  the boot manager was installed showing:
F1 ???
F2 ???
F3 ???
F4 ???

Which probaly means my 4 NTFS partitions. XP boots if I choose F1.  So 
my questions are:
1. How do I install BSD on my current RAID 0 system
2. How can I remove Bootmanager if I dont succeed with my BSD installation?

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


Re: bsdpan-DB_File - missing origin

2004-04-17 Thread Dan Nelson
In the last episode (Apr 17), Lee Dilkie said:
> >If you do 
> >perl -MCPAN -e shell
> >install DB_File
> >
> >then you get that port.
> 
> Okay, that is good to know. But I, personally, never did this so it
> must have been done by one of the ports I have installed. I just
> wonder which one, or rather, how one goes about discovering which
> one. Any ideas?

According to the pkg-plist for both the perl5 and perl58 ports, DB_File
is part of perl itself.  I don't think a port would try and install
something already on the system, and it shouldn't be using perl's
install method if it did.

Could it have been done by a non-port install maybe?

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


Re: Cups printing problem

2004-04-17 Thread Joe Altman
On Sat, Apr 17, 2004 at 04:30:20PM -0400, [EMAIL PROTECTED] wrote:
> I am trying to print from a FBSD client to an FBSD print server running
> the latest version of Cups.  I can print from the printserver, but not
> across the local network.  I receive this error from the Cups browser
> admin page:
> 
> Brother HL-1440 Foomatic/hl1250 (recommended)
> Description: net-printer
> Location:
> Printer State: processing, accepting jobs.
> "Unable to get printer status (client-error-forbidden)!"
> Device URI: http://10.0.0.175:631/ipp/
> 
> It seems like the server is refusing the connection, is that the problem
> or is it something else.  I tried putting an /etc/cups/cupsd.conf so that
> it will spool on the server, but it did not work.
> 
> Is there something I need to enable or turn on, on the server to make
> network printing work?  Any help is appreciated.
> 
> TIA,
> 
> Andy

I am guessing that you need to look into the cupsd.conf, which lives
in your /usr/local/etc/cups/ directory.

Make a backup of this file using cp; then open it in an editor. Look
for the section on Access permissions.

I think you will want to add this:

Allow from 10.0.0.175

Good luck, HTH,

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


dhclient and host resolution

2004-04-17 Thread Killermink !
Hello,

I am having some trouble with my dhclient setup, but think I am almost 
there, just need a little prod for the last bit!

To me it seems a pretty ambitious setup, but I think to a seasoned pro it 
should be pretty easy...

I have a Apple PowerBook running Panther and have set it to share my modem 
internet connection over the Ethernet port.  FreeBSD is connected to this 
and should get all config via DHCP.  When dhclient runs, it successfully 
gets an IP Address from the Powerbook, and I can ping between machines...  A 
quick look at the leases file also shows that it has the Powerbook as the 
Gateway and as the DNS server.   However, I can only get to the Internet 
from the BSD box using IP addresses, trying a url such as www.google.com 
always fails as it cant resolve the host, plus the response is immediate as 
if it hasn't tried or waited for a response.

It was quite an achievement for me just to get this far, as I can't get the 
ltmodem working (maybe that will be another mail) and have only used FreeBSD 
for like a week!  However, it means I cannot use the ports or packages 
collection as all the fetch commands use the url and not the IP (anyone know 
where I can just download a full package to install XFCE manually?)

I am not sure what further information to put here, except that I can boot 
into XP on the same computer and am able to resolve URL's without changing 
any settings on the PowerBook, and the status in XP shows the same settings 
as the leases file in FreeBSd, so I'm pretty sure this isn't a problem with 
the PowerBook...

I will endeavour to supply whatever info necc, as there really is no point 
in having FreeBSD if it can't get on the internet, but I'm hoping its gonna 
be a pretty simple thing...  please can you put full paths for any files I 
might need to change, as I am don't know the file systems of by heart yet.

Thanks!

_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger

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


base system vs. isc-dhcp : dhclient conflicts?

2004-04-17 Thread Rob
Hello,

I have isc-dhcp3 port installed on my 4.9-Stable PC.
I need that as I want to configure this machine as
both, a DHCP client and server.
I notice, that I have two versions of dhclient related
files (see below). Is this a problem and reason for
possible conflicts? What can I do to avoid multiple
versions of dhclient related files?
Is there a make.conf option that will prevent the build
of dhclient in the base system?
I don't know which dhclient to use, the one in /sbin
or the one in /usr/local/sbin. And which dhclient.conf
file to modify.
Thanks for help,
Rob.
--

/sbin/dhclient
/usr/local/sbin/dhclient
/sbin/dhclient-script
/usr/local/sbin/dhclient-script
/etc/dhclient.conf
/usr/local/etc/dhclient.conf
/usr/share/man/man5/dhclient.conf.5.gz
/usr/local/man/man5/dhclient.conf.5.gz
/usr/share/man/man5/dhclient.leases.5.gz
/usr/local/man/man5/dhclient.leases.5.gz
/usr/share/man/man8/dhclient-script.8.gz
/usr/local/man/man8/dhclient-script.8.gz
/usr/share/man/man8/dhclient.8.gz
/usr/local/man/man8/dhclient.8.gz


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


Re: KDE crashes for 1 user but not the others?

2004-04-17 Thread Malcolm Kay
On Saturday 17 April 2004 04:59, Mike wrote:
> Greeting:
>
> The system: FreeBSD 4.9-stable
>
> I have KDE 3.14 installed and all was working well for a number of
> weeks. Root and one other regular user account had been able to start
> and use KDE and Gnome.  And both GUI environments operated normally.
>
> A few days ago KDE under root account wouldn't start (startx).  Howevere
> KDE started under a regular user account works perfectly (and continues
> to do so).
>
> Furthermore, Gnome (2.4) under root starts (half-way?) up to the point
> of the banner and then hangs.
>

The root account resides on the root partition which is deliberately
kept lean and mean to improve the chances of recovery if anything breaks 
in the system. This means that the root account can easily run out of disk 
space when running greedy X software.

Monsters such as KDE and Gnome are not suitable for running 
from the root account. In my opinion it is not a good idea to run any
X-windows manager from the root account i.e. no startx or xdm logins
from root.

If you want the convenience of X from a privileged account then run
X and KDE or Gnome under a normal user with membership of the 'wheel' 
group and then 'su' to root.

(A possible alternative is to setup a second privileged account with
a home directory under /home and work from this. You probably already 
have such an account under the login name 'toor' but you will need to
move its home directory and give it a password.)

Malcolm 

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


Re: Configuring Compaq Wireless Optical Wheel Mouse

2004-04-17 Thread Markie
Try /dev/ums0 :)

- Original Message - 
From: "Gerard Seibert" <[EMAIL PROTECTED]>
To: "FreeBSD Questions" <[EMAIL PROTECTED]>
Sent: Sunday, April 18, 2004 12:28 AM
Subject: Configuring Compaq Wireless Optical Wheel Mouse


> I am trying to configure a COMPAQ Wirless Optical Mouse to work with KDE
on
> FreeBSD 5.2.1. so far I have not been very successful. This is a USB
mouse.
>
> I can get the mouse pointer to work in FreeBSD and KDE without any
problem.
> However, I can not get the wheel to work anywhere.
>
> This is the output of the 'dmesg.today' file:
>
> [EMAIL PROTECTED] /var/log $ cat dmesg.today
> Copyright (c) 1992-2004 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> The Regents of the University of California. All rights reserved.
> FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a0e000.# Identifier and
> driver
> Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0a0e0cc.
> Preloaded elf module "/boot/kernel/sn# Identifier and driver
> d_ess.ko" at 0xc0a0e178.
> Preloaded elf module "/boot/kernel/snd_sbc.ko" at 0xc0a0e224.
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Pentium II/Pentium II Xeon/Celeron (397.33-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x651  Stepping = 1
>
Features=0x183f9ff
> real memory  = 402653184 (384 MB)
> avail memory = 381427712 (363 MB)
> Pentium Pro MTRR support enabled
> npx0: [FAST]
> npx0:  on motherboard
> npx0: INT 16 interface
> pcibios: BIOS version 2.10
> Using $PIR table, 5 entries at 0xc00fa040
> pcib0:  at pcibus 0 on
motherboard
> pci0:  on pcib0
> pci_cfgintr: 0:4 INTA BIOS irq 11
> pci_cfgintr: 0:20 INTD BIOS irq 11
> agp0:  mem
0x4400-0x47ff at
> device 0.0 on pci0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> pci_cfgintr: 0:1 INTA routed to irq 4
> pcib1: slot 0 INTA is routed to irq 4
> pci1:  at device 0.0 (no driver attached)
> rl0:  port 0x2400-0x24ff mem
0x4110-0x411000ff
> irq 11 at device 4.0 on pci0
> rl0: Ethernet address: 00:50:ba:40:6d:e1
> miibus0:  on rl0
> rlphy0:  on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> isab0:  at device 20.0 on pci0
> isa0:  on isab0
> atapci0:  port 0x20a0-0x20af at device 20.1
on
> pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata0: [MPSAFE]
> ata1: at 0x170 irq 15 on atapci0
> ata1: [MPSAFE]
> uhci0:  port 0x2080-0x209f irq 11
at
> device 20.2 on pci0
> usb0:  on uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> ums0: MOUSE SYSTEM U+P RF Mouse Receiver, rev 1.10/0.00, addr 2, iclass
3/1
> ums0: 5 buttons and Z dir.
> piix0:  port 0xee80-0xee8f at device 20.3 on pci0
> Timecounter "PIIX" frequency 3579545 Hz quality 0
> orm0:  at iomem 0xc-0xc on isa0
> pmtimer0 on isa0
> atkbdc0:  at port 0x64,0x60 on isa0
> atkbd0:  flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> fdc0:  at port
> 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> ppc0:  at port 0x378-0x37f irq 7 on isa0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/15 bytes threshold
> ppbus0:  on ppc0
> plip0:  on ppbus0
> lpt0:  on ppbus0
> lpt0: Interrupt-driven port
> ppi0:  on ppbus0
> sc0:  at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> sio4:  at port 0x2f8-0x2ff irq 3 on isa0
> sio4: type 16550A
> unknown:  can't assign resources (port)
> unknown:  can't assign resources (port)
> sbc0:  at port
0x330-0x331,0x388-0x38b,0x220-0x22f
> irq 5 drq 3,1 on isa0
> pcm0:  on sbc0
> unknown:  can't assign resources (port)
> unknown:  can't assign resources (port)
> unknown:  can't assign resources (port)
> Timecounter "TSC" frequency 397331698 Hz quality 800
> Timecounters tick every 10.000 msec
> GEOM: create disk ad0 dp=0xc3b55260
> ad0: 7665MB  [15574/16/63] at ata0-master UDMA33
> acd0: DVDROM  at ata1-master WDMA2
> GEOM: create disk afd0 dp=0xc3b5446c
> afd0: REMOVABLE  at ata1-slave PIO0
> Mounting root from ufs:/dev/ad0s1a
>
> This is my 'rc.conf' file:
>
> blanktime="3600"
> #hostname="dhcppc3.cable.rcn.com"
> hostname=""
> ifconfig_rl0="DHCP"
> linux_enable="YES"
> lpd_enable="YES"
> named_enable="NO"
> saver="logo"
> sendmail_enable="NONE"
> sshd_enable="YES"
> usbd_enable="YES"
> ntpd_enable="YES"
> clear_tmp_enabled="YES"
> moused_flags="z 6 7"
> moused_port="/dev/usb0"
> moused_type="auto"
> moused_enable="YES"
>
> Finally, here the the mouse section from the 'XF86Conf

Re: sendmail/strace hanging

2004-04-17 Thread Cory Petkovsek
On Sat, Apr 10, 2004 at 08:29:38AM +0100, Matthew Seaman wrote:
> Hmmm... Very strange.  I wonder if it's sendmail causing the effect at
> all -- sounds like it might be something more systemic.  Do you have
> ACPI enabled?  Could it be that the system is throttling the CPU under
> load -- perhaps to keep the CPU cool?

Possibly, but I have not had any further problems once it started working
again.  I have it configured as I want it, so I won't worry about it until it
happens again.  I have noticed sendmail blocking as I send a message through
mutt.  I presume this is caused by dns lookups, but it is nearly always brief.

strace still blocks if I just say:
$ strace cat file

It blocks, but will jump start if I 'ctrl+z' and 'fg'.
ioctl(3, PIOCWAIT

Cory


-- 
Cory Petkovsek   Adapting Information
Adaptable IT ConsultingTechnology to Your
(858) 705-1655   Business
[EMAIL PROTECTED]  www.AdaptableIT.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Configuring Compaq Wireless Optical Wheel Mouse

2004-04-17 Thread Gerard Seibert
I am trying to configure a COMPAQ Wirless Optical Mouse to work with KDE on 
FreeBSD 5.2.1. so far I have not been very successful. This is a USB mouse.

I can get the mouse pointer to work in FreeBSD and KDE without any problem. 
However, I can not get the wheel to work anywhere.

This is the output of the 'dmesg.today' file:

[EMAIL PROTECTED] /var/log $ cat dmesg.today
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a0e000.# Identifier and 
driver
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0a0e0cc.
Preloaded elf module "/boot/kernel/sn# Identifier and driver
d_ess.ko" at 0xc0a0e178.
Preloaded elf module "/boot/kernel/snd_sbc.ko" at 0xc0a0e224.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (397.33-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x651  Stepping = 1
  
Features=0x183f9ff
real memory  = 402653184 (384 MB)
avail memory = 381427712 (363 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 5 entries at 0xc00fa040
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pci_cfgintr: 0:4 INTA BIOS irq 11
pci_cfgintr: 0:20 INTD BIOS irq 11
agp0:  mem 0x4400-0x47ff at 
device 0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci_cfgintr: 0:1 INTA routed to irq 4
pcib1: slot 0 INTA is routed to irq 4
pci1:  at device 0.0 (no driver attached)
rl0:  port 0x2400-0x24ff mem 0x4110-0x411000ff 
irq 11 at device 4.0 on pci0
rl0: Ethernet address: 00:50:ba:40:6d:e1
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0:  at device 20.0 on pci0
isa0:  on isab0
atapci0:  port 0x20a0-0x20af at device 20.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0:  port 0x2080-0x209f irq 11 at 
device 20.2 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: MOUSE SYSTEM U+P RF Mouse Receiver, rev 1.10/0.00, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
piix0:  port 0xee80-0xee8f at device 20.3 on pci0
Timecounter "PIIX" frequency 3579545 Hz quality 0
orm0:  at iomem 0xc-0xc on isa0
pmtimer0 on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0:  at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/15 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sio4:  at port 0x2f8-0x2ff irq 3 on isa0
sio4: type 16550A
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
sbc0:  at port 0x330-0x331,0x388-0x38b,0x220-0x22f 
irq 5 drq 3,1 on isa0
pcm0:  on sbc0
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
Timecounter "TSC" frequency 397331698 Hz quality 800
Timecounters tick every 10.000 msec
GEOM: create disk ad0 dp=0xc3b55260
ad0: 7665MB  [15574/16/63] at ata0-master UDMA33
acd0: DVDROM  at ata1-master WDMA2
GEOM: create disk afd0 dp=0xc3b5446c
afd0: REMOVABLE  at ata1-slave PIO0
Mounting root from ufs:/dev/ad0s1a

This is my 'rc.conf' file:

blanktime="3600"
#hostname="dhcppc3.cable.rcn.com"
hostname=""
ifconfig_rl0="DHCP"
linux_enable="YES"
lpd_enable="YES"
named_enable="NO"
saver="logo"
sendmail_enable="NONE"
sshd_enable="YES"
usbd_enable="YES"
ntpd_enable="YES"
clear_tmp_enabled="YES"
moused_flags="z 6 7"
moused_port="/dev/usb0"
moused_type="auto"
moused_enable="YES"

Finally, here the the mouse section from the 'XF86Config' file:

# Identifier and driver

Identifier  "Mouse1"
Driver  "mouse"
Option "Protoco" "Auto"
Option "Device"  "/dev/sysmouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"

I might add that I receive an error message upon boot up that the 'moused' was 
not supplied with the correct port. I have tried every port I can think of, 
and it sill gives me an error.

I would really appreciate any help someone might be able to afford me.

Buildworld takeing a long time in 5.2.1

2004-04-17 Thread David Dooley
Hi,

I have two dual processor systems with PIII 450 MHz processors both have
internal SCSI 9 GB disk on Adaptec 2940UW controlers. One is installed with
FreeBSD 4.9-STABLE and 1024 MB ram the other has installed FreeBSD 5.2-CURRENT
wit 512 MB ram, both boxes have 1GB of swap but neither has ever used anything
but the absolute minimum.

The 4.9 server has cvsup installed to sync the src, ports and dev
repositories, this is NFS mounted to the 5.2 server and extracted to a local
copy of the 5 src tree. The  4.9 box extracts the RELENG_4 src locally.

On a frequent basis I buildworld and kernels for all my servers, currently on
the 4.9 box I buildworld in approx 1:03 hours and build 3 kernels in 30 mins.
On the 5 box I buildworld and it takes 4.5 hours and takes 1 hour to build 1
kernel. 

This not a problem as it all happens automatically over night, but I am
just interested in why the disparity of the timeings

Thanks for any information.

David.


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


Re: question about SAMBA shared directory and file permissions

2004-04-17 Thread Eric Heintzberger
This is how I would do it, assuming I understand you correctly:

[wwwdev]
comment = Virtual Web Servers HTTP dirs
path = /usr/wwwdev
browseable = yes
# So that new files are created with 0664 mode --
force create mode = 0664
# So that new directories are created with 0775 mode --
force directory mode = 0775
force group = wwwdev
# Set this to yes (default) if you use the DOS archive bit for backups 
# Otherwise, set it to no to get rid of unintended executable bits 
# being set in non-executable files 
map archive = no
printable = no
public = no
valid users = @wwwdev
writable = yes

Also, reset all permissions and group ownerships in /usr/wwwdev to the
intended values. 

[EMAIL PROTECTED] wrote:
> Hi,
> 
> i have been having problems with a SAMBA shared directory and user 
> permissions. My smb.conf file is simple and allows for members of 
> 'wwwdev' access the directory, and they can when i test it, but we get 
> all kinds of problems with the permissions on various files and directories:
> 
> //
> [wwwdev]
>   comment = Virtual Web Servers HTTP dirs
>   path = /usr/wwwdev
>   create mode = 0765
>   valid users = @wwwdev
> //
> 
> 
> i assume this is a ownership issue on the unix file system side, 
> although i have opened up the permissions to 'pants down in public' 
> level 
> 
> drwxrwxrwx
> -rwxrwxrwx
> 
> ___
> [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: Buildworld takeing a long time in 5.2.1

2004-04-17 Thread Kris Kennaway
On Sat, Apr 17, 2004 at 10:50:58PM +0100, David Dooley wrote:
> Hi,
> 
> I have two dual processor systems with PIII 450 MHz processors both have
> internal SCSI 9 GB disk on Adaptec 2940UW controlers. One is installed with
> FreeBSD 4.9-STABLE and 1024 MB ram the other has installed FreeBSD 5.2-CURRENT
> wit 512 MB ram, both boxes have 1GB of swap but neither has ever used anything
> but the absolute minimum.
> 
> The 4.9 server has cvsup installed to sync the src, ports and dev
> repositories, this is NFS mounted to the 5.2 server and extracted to a local
> copy of the 5 src tree. The  4.9 box extracts the RELENG_4 src locally.
> 
> On a frequent basis I buildworld and kernels for all my servers, currently on
> the 4.9 box I buildworld in approx 1:03 hours and build 3 kernels in 30 mins.
> On the 5 box I buildworld and it takes 4.5 hours and takes 1 hour to build 1
> kernel. 
> 
> This not a problem as it all happens automatically over night, but I am
> just interested in why the disparity of the timeings

1) gcc 3.x

2) WITNESS

Kris


pgp0.pgp
Description: PGP signature


RE: bsdpan-DB_File - missing origin

2004-04-17 Thread Lee Dilkie
>If you do 
>
>perl -MCPAN -e shell
>install DB_File
>
>then you get that port.

Okay, that is good to know. But I, personally, never did this so it must have been 
done by one of the ports I have installed. I just wonder which one, or rather, how one 
goes about discovering which one. Any ideas?

>
>Note that the Berkeley-DB library (from the db41 port) and the Perl
>interface thereto (DB_File) are two different things.
>

I installed the db41 but after that was done, i went into the perl subdir, fixed up 
config.in and ran the perl installation. I had done that some time ago for graphdefang 
( it's not from ports but it needed DB_File). I would think they have the same api, 
but what do I know of perl ;)

>Kai
>
>PS: Is "thereto" correct in this context?  It seemed like a cool way
>to make the sentence shorter ;-)

looks correct to me, but I'm an engineer and my language skills (outside programming 
languages) aren't the greatest. ;)

thanks for the help. 

-lee

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


Re: bsdpan-DB_File - missing origin

2004-04-17 Thread Kai Grossjohann
"Lee Dilkie" <[EMAIL PROTECTED]> writes:

> I googled this problem and I understand that *something* has
> installed this module/package/??? from CPAN. How can I find out what
> port is using this? I have a DB_File already installed from the db41
> port, so why is another one needed?

If you do 

perl -MCPAN -e shell
install DB_File

then you get that port.

Note that the Berkeley-DB library (from the db41 port) and the Perl
interface thereto (DB_File) are two different things.

Kai

PS: Is "thereto" correct in this context?  It seemed like a cool way
to make the sentence shorter ;-)

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


Cups printing problem

2004-04-17 Thread andy
I am trying to print from a FBSD client to an FBSD print server running
the latest version of Cups.  I can print from the printserver, but not
across the local network.  I receive this error from the Cups browser
admin page:

Brother HL-1440 Foomatic/hl1250 (recommended)
Description: net-printer
Location:
Printer State: processing, accepting jobs.
"Unable to get printer status (client-error-forbidden)!"
Device URI: http://10.0.0.175:631/ipp/

It seems like the server is refusing the connection, is that the problem
or is it something else.  I tried putting an /etc/cups/cupsd.conf so that
it will spool on the server, but it did not work.

Is there something I need to enable or turn on, on the server to make
network printing work?  Any help is appreciated.

TIA,

Andy

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


Re: Beginning C++ in FreeBSD

2004-04-17 Thread Kai Grossjohann
Daniela <[EMAIL PROTECTED]> writes:

> Why would one need C++ if it's converted to C anyway?

Why would one need C if it's converted to machine language anyway?

Why would one need machine language if it's converted to micro-ops
anyway?

Do you see my point?

Kai

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


Re: Microsoft wireless mouse problem

2004-04-17 Thread Mark Ovens
10,000 Screaming Monkeys wrote:
> On 04/17, Mark Ovens rearranged the electrons to read:
>> 10,000 Screaming Monkeys wrote:
Plugging the mouse cord on the wireless receiver into the PS/2 mouse
port doesn't seem to have any effect on the matter -- the system detects
a mouse on the psm0 port, but it still doesn't respond to movement.
Ah, now that _does_ WFM, and that fact makes me suspect that the
problem lies with the USB driver rather than the mouse driver.
What are your mouse settings in rc.conf and XFree86config?
At the moment, all I have in /etc/rc.conf is:

usbd_enable="YES"
moused_type="auto"
Mine is:

moused_enable="yes"
moused_type="auto"
moused_port="/dev/psm0"
moused_flags=""
allscreens_flags="-m on"  # Enables the mouse on the console
That seems to detect the mouse properly and starts moused with the
correct port.
/etc/X11/XF86Config is:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
EndSection
Mine is:

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "sysmouse"
Option "Device" "/dev/sysmouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
and, at the end of the file:

InputDevice "Mouse1" "CorePointer"

The above make it work when plugged into the PS/2 port.

HTH

Regards,

Mark

I've also tried killing moused and pointing the Device to /dev/ums[01],
but that didn't seem to make a difference.
I really think it would be worth getting this problem solved as MS 
cordless mice are very popular. 
They're not only popular, they're almost the only thing you can buy
anymore. I wanted a corded keyboard and mouse for work, but the only
models manufacturers put out with cords anymore (for keyboards, anyhow),
if they sell one at all (Are you listening, Logitech? You bastards...)
feel like crap to type on. But this isn't the place for that rant.
Also, to address Lucas Holt's comment, the keyboard & mouse combo I'm
trying to get working at work is the infrared model. I have the
Bluetooth model keyboard/mouse at home, but it's not connected to a BSD
box. I'm still puzzled why the wireless keyboard would work fine, but
the wireless mouse, which uses the same receiver, doesn't.
-Jamie
___
[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]"


Milter-sender Error Message

2004-04-17 Thread Martin McCormick
It looks like milter-sender is working although I have not yet
seen it reject a message, but I am seeing an error message which isn't
listed in the documentation and I am curious as to what is wrong.

The message minus the time stamp is:

: Milter (milter-sender): local socket name /var/lib/milter-sender/socket unsafe

There is no /var/lib directory, but when I create one, nothing
changes so it is presently not there.

Thank you.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Information Technology Division Network Operations Group
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: CTM

2004-04-17 Thread Osmany Guirola Cruz
Ok in the man page I found these
Ctm_rmail -p /pieces -d /deltas -b /usr/ctm-src-cur ""$MAIL""
The question is that my mail account (where I receive deltas) it's a
Microsoft Exchage via IMAP
How can I use ctm_rmail with that account that's why I ask for a SCRIPT
that do these job directly from the ftp site



-Original Message-
From: Matthew Seaman [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 17, 2004 2:33 PM
To: Osmany Guirola Cruz
Cc: [EMAIL PROTECTED]
Subject: Re: CTM


On Sat, Apr 17, 2004 at 02:16:37PM -0400, Osmany Guirola Cruz wrote:
> 
>   all mail that I receive from the ctm list come whith the gz file in 
> the body of the message how can I "edit" these mail to obtain the gz 
> file.
>   Another question ;-) I need to know if exist a SCRIPT that can I use

> with cron that daily conect to the "CTM ftp site" and download the
> lastest files.

In answer to both questions: see the ctm_rmail(1) man page.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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


Simple Router on FreeBSD - Which should I use?

2004-04-17 Thread Danny
I would like to setup a simple router, for the following:

Enable a 192.168.1.0 255.255.255.0 network talk to a 10.10.0.0 255.255.0.0 
network, and obviously vise versa.

Now the 10.10.0.0 is tentative, so I am also wondering on a network with less 
then 240 network nodes, if a 255.255.0.0 subnet mask would cause any 
disadvantages, versus using a 255.255.255.0 subnet mask? 

Thank you & Cheers to FreeBSD!

-D

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


Re: Call For Assistance #4 - slapd won't die gracefully, multiple versions.

2004-04-17 Thread Jason Lixfeld
On Apr 17, 2004, at 10:23 AM, Kris Kennaway wrote:

On Sat, Apr 17, 2004 at 11:44:25AM +0100, Matthew Seaman wrote:

In the mean time, you need a work-around.  I'm not sure if you can run
FreeBSD 5.x in 32bit mode on an AMD64 box, but that might be a thing
to try.
You can...it runs just like a more expensive i386 box :-)
Ya, that's an option I'd rather like to avoid.  I asked before if I 
could just cross compile openldap as i386 but the answers I got were 
less than positive :/

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


Re: CTM

2004-04-17 Thread Matthew Seaman
On Sat, Apr 17, 2004 at 02:16:37PM -0400, Osmany Guirola Cruz wrote:
> 
>   all mail that I receive from the ctm list come whith the gz file in
> the body of the message how can I "edit" these mail to obtain the gz
> file. 
>   Another question ;-) I need to know if exist a SCRIPT that can I use
> with cron that daily conect to the "CTM ftp site" and download the
> lastest files.

In answer to both questions: see the ctm_rmail(1) man page.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Milter Logging

2004-04-17 Thread Matthew Seaman
On Sat, Apr 17, 2004 at 02:00:59PM -0400, Chuck Swiger wrote:
> Warren Block wrote:
> >What do people do for milter logging?  A MAILER-DAEMON message for every
> >virus caught by clamav-milter is a little annoying (both to the intended
> >recipient and to postmaster), but I'm hesitant to just discard them.

clamav-milter logs what it does to syslog very effectively.  The
warning messages to postmaster aren't really necessary but for a low
traffic site, they do give you some vicarious pleasure for a while.
 
> Well, the standards (RFC-822/2822) are clear, but with the dawn of viruses 
> that forge sender addresses, creating bounces for viruses doesn't really do 
> anybody much good, either.
> 
> Refusing to accept viral mail is the best option if you can; failing that, 
> I discard such messages.  Frankly, I gave up bouncing viral mail after I 
> got tired of answering complaints when someone got a bounce from a 
> forgery...

Yes -- rejecting the messages at the SMTP DATA stage is the way to go.
Not that the virus mailers take the slightest bit of notice: half the
time they've dropped the connection by the time the AV filter has done
its thing.  It's much more effective against spam e-mailers.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Microsoft wireless mouse problem

2004-04-17 Thread 10,000 Screaming Monkeys
On 04/17, Mark Ovens rearranged the electrons to read:
> Ah, now that _does_ WFM, and that fact makes me suspect that the
> problem lies with the USB driver rather than the mouse driver.
> 
> What are your mouse settings in rc.conf and XFree86config?

At the moment, all I have in /etc/rc.conf is:

usbd_enable="YES"
moused_type="auto"

That seems to detect the mouse properly and starts moused with the
correct port.

/etc/X11/XF86Config is:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/sysmouse"
EndSection

I've also tried killing moused and pointing the Device to /dev/ums[01],
but that didn't seem to make a difference.

> I really think it would be worth getting this problem solved as MS 
> cordless mice are very popular. 

They're not only popular, they're almost the only thing you can buy
anymore. I wanted a corded keyboard and mouse for work, but the only
models manufacturers put out with cords anymore (for keyboards, anyhow),
if they sell one at all (Are you listening, Logitech? You bastards...)
feel like crap to type on. But this isn't the place for that rant.

Also, to address Lucas Holt's comment, the keyboard & mouse combo I'm
trying to get working at work is the infrared model. I have the
Bluetooth model keyboard/mouse at home, but it's not connected to a BSD
box. I'm still puzzled why the wireless keyboard would work fine, but
the wireless mouse, which uses the same receiver, doesn't.

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


Re: ipmon fills up partition

2004-04-17 Thread Matthew Seaman
On Sat, Apr 17, 2004 at 06:31:24PM +0200, Melvyn Sopacua wrote:
> On Saturday 17 April 2004 18:00, Matthew Seaman wrote:
> 
> > > Adding /var/run/ipmon.pid at the end of newsyslog.conf line above stops
> > > the above symptom, but ipmon stopped logging after each rotation.
> >
> > This should be the correct thing to do: ipmon should interpret a HUP
> > signal to mean 'reopen log files' -- unless it's changed dramatically
> > between 4.x and 5.x[*], in which case you'll have to hunt down what
> > should be done instead by reading the documentation or the code or
> > something.
> 
> It does:
> ipmon.c:1452
>if (donehup) {
> donehup = 0;
> if (newlog) {
> fclose(log);
> log = newlog;
> newlog = NULL;
> }
> }
> 
> 
> And:
> static void handlehup(sig)
> int sig;
> {
> FILE*fp;
> 
> signal(SIGHUP, handlehup);
> if (logfile && (fp = fopen(logfile, "a")))
> newlog = fp;
> init_tabs();
> donehup = 1;
> }
> 
> The only codepath I can see, that could cause this behavior, would be if the 
> fopen fails, because newsyslog is holding a lock on the file at the time it 
> signals ipmon.

Yes.  It's not obvious what's wrong.  However, if donehup is non-zero,
and logfile is not NULL but newlog is still NULL, then the fopen() in
the signal handler must have failed -- and it should be quite simple
to track that in a debugger or instrument the code to show that is
what's happening.  If it had failed, then the logging data would still
go to the old log file, but that's not what was observed.

I kind of wonder why it opens the new logfile, reallocates and
populates a bunch of lookup tables in the signal handler, but then
waits until the next time round main event loop to actually close the
old logfile and switch to the newly opened logfile for writing the log
data to.  Why not leave the logfile open to the main loop as well? But
I'm no expert on these things.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: installed mysql/php/apache but there's no mysql.sock file

2004-04-17 Thread Shaun Friedle
On Sat, 2004-04-17 at 18:42, chip wrote: 
> I then created a file in /tmp called mysql.sock but 
> mysql still gives the same error -[error 2002] cannot connect to local 
> mysql server through /tmp/mysql.sock (2).
> I read the section in the mysql manual about the socket but don't see 
> anything about creating this file.
> How do I fix this?

I'm not an expert on mysql, but I believe you get that message if mysqld
isn't running (and because it isn't running, it hasn't created the
file). Have you checked if it is running (ps waux | grep mysqld)?

If it isn't, run it (should be in the bin directory of mysql).


-- 
Shaun Friedle

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


CTM

2004-04-17 Thread Osmany Guirola Cruz

  all mail that I receive from the ctm list come whith the gz file in
the body of the message how can I "edit" these mail to obtain the gz
file. 
  Another question ;-) I need to know if exist a SCRIPT that can I use
with cron that daily conect to the "CTM ftp site" and download the
lastest files.

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


Re: Beginning C++ in FreeBSD

2004-04-17 Thread Kai Grossjohann
Daniela <[EMAIL PROTECTED]> writes:

> On Friday 16 April 2004 20:31, Kai Grossjohann wrote:
>> Daniela <[EMAIL PROTECTED]> writes:
>> > What? C++ code is converted to C? Which compiler are you using, and
>> > why the hell would a compiler do this?
>>
>> In the old days, C++ was implemented by a program called cfront, I
>> believe, and it did convert C++ to C.
>>
>> If you can write a program that converts language X to C, then you get
>> to take advantage of all the nifty optimizing C compilers out there.
>> If you try to go the direct route to compiling into machine language,
>> then you need to do the optimization part yourself.  So converting
>> into C as an intermediary language is an option that requires less
>> work.
>
> There's no harm in doing the optimizing yourself. If you compile directly, 
> then you can optimize much more because you can take advantage of the 
> structure of the language. Two different languages always have different 
> strengths and weak points.

What I was trying to say is that using C as an intermediary language
reduces effort.  Of course it is /possible/ to do the optimizing
yourself, it is just more work.

I think that "reducing effort" is a pretty damn good reason for doing
something in a specific way.  I hope that answers your "why the hell"
question.

> BTW, when I need somthing optimized, I'll do it in assembly anyway.

*cough*

Kai

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


Re: portupgrade for KDE [ part of 5.2 portupgrade hairball ]

2004-04-17 Thread Kent Stewart
On Saturday 17 April 2004 09:33 am, Jay Moore wrote:
> On Saturday 17 April 2004 09:24 am, Kent Stewart wrote:
> > > What must I do to resolve the KDE install error(s)?
> >
> > You have to pkg_delete kdebase-3.1.4 before you can update kde to
> > 3.2.1. The Makefile for kdelibs has "CONFLICTS=  kdebase-3.1.*"
> > and it won't build until you have deleted kdebase.
>
> After pkg_delete (or make deinstall??) on kdebase-3.1.4, should I
> re-start my portupgrade on expat2, (# portupgrade -rf
> textproc/expat2), or is there a better/quicker way to reach the
> objective state?
>

You probably can but more likely there will be some more manual 
portupgrades that you have to run. A write up is on 

http://freebsd.kde.org/

They also explain why packages have not been built. I can hear one of 
them and will have ro rebuild the 2 kdeports on my topaz machine.

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]"


Re: Milter Logging

2004-04-17 Thread Chuck Swiger
Warren Block wrote:
What do people do for milter logging?  A MAILER-DAEMON message for every
virus caught by clamav-milter is a little annoying (both to the intended
recipient and to postmaster), but I'm hesitant to just discard them.
Well, the standards (RFC-822/2822) are clear, but with the dawn of viruses 
that forge sender addresses, creating bounces for viruses doesn't really do 
anybody much good, either.

Refusing to accept viral mail is the best option if you can; failing that, I 
discard such messages.  Frankly, I gave up bouncing viral mail after I got 
tired of answering complaints when someone got a bounce from a forgery...

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


Re: installed mysql/php/apache but there's no mysql.sock file

2004-04-17 Thread Kevin D. Kinsey, DaleCo, S.P.
Hi chip,

Please wrap your characters at 80 columns
of so for some of the people who use text
based email.  Thanks! 

Read on..

chip wrote:

Yesterday I installed, from pkg_add, mysql/php/apache and apache and php
work fine, mysql did not create the /tmp/mysql.sock file. I have searched
the drive looking for it in another location but it does not exist 
anywhere.


mysql.sock is a UNIX socket, created by the mysql process
itself.  If it does not exist, then it's likely that either the
mysql daemon is not running, or it is running without
adequate permissions to create the socket.
If the last is true, then it's possible that mysql is
configured to make the socket somewhere other than
/tmp, because the permissions for /tmp should be such
as to allow the creation of the socket 
I then created a file in /tmp called mysql.sock 
That won't work, I'm afraid ... a socket isn't exactly
a file...
but mysql still gives the same error -[error 2002]
cannot connect to local mysql server through /tmp/mysql.sock (2).


This is the same message you would receive if
mysqld were not running.  Have you tried this:
% ps -auxv | grep mysql
mysql645  0.0  0.1 31276  268  ??  S 9Apr04   0:10.55 
/usr/local/libex   5 127   3851 - 2624
root   63441  0.0  0.1   356  156  p2  D+   12:54PM   0:00.00 grep 
mysql 0   0  1 -   52

This shows that /usr/local/libexec/mysqld is running
as process 645.
I read the section in the mysql manual about the socket but
don't see anything about creating this file.


Because mysql does it ;-)

How do I fix this?
Thanks,
Chip


Check the mysqld is running, first.  You
may have to start it yourself (although
you shouldn't really, but that's another
issue).  Also check for error messages
in /var/log/messages, etc.
Do any messages appear during the
init phase of bootup re: mysql?
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Microsoft wireless mouse problem

2004-04-17 Thread Lucas Holt
another possible issue is that some microsoft wireless products use 
infrared and new high end products use bluetooth adapters.

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'I try to think but nothing happens'
-- Homer Jay Simpson
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


installed mysql/php/apache but there's no mysql.sock file

2004-04-17 Thread chip
Yesterday I installed, from pkg_add, mysql/php/apache and apache and php 
work fine, mysql did not create the /tmp/mysql.sock file. I have 
searched the drive looking for it in another location but it does not 
exist anywhere. I then created a file in /tmp called mysql.sock but 
mysql still gives the same error -[error 2002] cannot connect to local 
mysql server through /tmp/mysql.sock (2).
I read the section in the mysql manual about the socket but don't see 
anything about creating this file.
How do I fix this?
Thanks,
Chip

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


Re: mp3-player

2004-04-17 Thread Tim McMillen
On Wed, 2004-04-14 at 00:44, ilich wrote:
> Hi, all!!
> I'd like to make mp3 player for konsole and I don't know, what mp3 library 
> 
> (C or C++) should I use for this. Help me, please. Where Can I get more 
> 
> information about this?

look in /usr/ports/audio

several of those are console only players.  If you are not familiar with
ports, read man ports or the handbook.

Tim

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


Re: Microsoft wireless mouse problem

2004-04-17 Thread Mark Ovens
10,000 Screaming Monkeys wrote:

I tried sending this to freebsd-hardware, but nobody replied, so I
thought I would try here, as well.
On one of my machines, I'm running FreeBSD 5.2-CURRENT (last built on
Jan 15th, 2004).
I recently purchased a "Microsoft Wireless Optical Desktop," which is a
wireless setup with a PS/2 keyboard and a USB mouse (with a USB->PS/2
converter, if I need it).
They don't work with FreeBSD. I've got one and spent ages searching the 
mailing lists and Google and it would appear that no-one can make them work.

Apparently Logitech cordless mice work and, as you say below, the corded 
version of the MS mice do, but not the MS cordless ones :-(

FWIW, I _suspect_ that it may be to do with the fact that the 
Intellipoint s/w that drives these things under Windows can report the 
battery status, which must be transmitted from the mouse, and it could 
be these messages that is "confusing" the USB (or mouse) driver under 
FreeBSD - the fact that the corded versions work supports this theory.

[snip]

Plugging the mouse cord on the wireless receiver into the PS/2 mouse
port doesn't seem to have any effect on the matter -- the system detects
a mouse on the psm0 port, but it still doesn't respond to movement.
Ah, now that _does_ WFM, and that fact makes me suspect that the problem 
lies with the USB driver rather than the mouse driver.

What are your mouse settings in rc.conf and XFree86config?

I really think it would be worth getting this problem solved as MS 
cordless mice are very popular. Device drivers are beyond my 
capabilities but if there are any USB driver hackers in the UK (Nick 
Hibma?) who would be interested in getting them working then I am 
prepared to lend them my mouse for a couple of weeks.

Regards,

Mark

Has anybody else seen a similar problem? Any suggestions as to what to
do next? Nothing I've tried seems to be working and I could use all the
help I can get...
- Jamie
___
[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]"


bsdpan-DB_File - missing origin

2004-04-17 Thread Lee Dilkie
I keep getting this message when I do a portversion or portupgrade. (it also says it's 
"held", which it is in the pkgtools.conf file)

I tried to do a pkgdb -Ff but what am I supposed to do with this entry?

I googled this problem and I understand that *something* has installed this 
module/package/??? from CPAN. How can I find out what port is using this? I have a 
DB_File already installed from the db41 port, so why is another one needed?

Is there anything I can do so the port tools run without complains? Should I leave 
bsdpan-DB_File alone? Should I hunt it out and delete? 

TIA,

-lee

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


Re: ipmon fills up partition

2004-04-17 Thread Melvyn Sopacua
On Saturday 17 April 2004 18:00, Matthew Seaman wrote:

> > Adding /var/run/ipmon.pid at the end of newsyslog.conf line above stops
> > the above symptom, but ipmon stopped logging after each rotation.
>
> This should be the correct thing to do: ipmon should interpret a HUP
> signal to mean 'reopen log files' -- unless it's changed dramatically
> between 4.x and 5.x[*], in which case you'll have to hunt down what
> should be done instead by reading the documentation or the code or
> something.

It does:
ipmon.c:1452
   if (donehup) {
donehup = 0;
if (newlog) {
fclose(log);
log = newlog;
newlog = NULL;
}
}


And:
static void handlehup(sig)
int sig;
{
FILE*fp;

signal(SIGHUP, handlehup);
if (logfile && (fp = fopen(logfile, "a")))
newlog = fp;
init_tabs();
donehup = 1;
}

The only codepath I can see, that could cause this behavior, would be if the 
fopen fails, because newsyslog is holding a lock on the file at the time it 
signals ipmon.

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Sun Apr  4 
02:24:06 CEST 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Re: portupgrade for KDE [ part of 5.2 portupgrade hairball ]

2004-04-17 Thread Jay Moore
On Saturday 17 April 2004 09:24 am, Kent Stewart wrote:

> > What must I do to resolve the KDE install error(s)?
>
> You have to pkg_delete kdebase-3.1.4 before you can update kde to 3.2.1.
> The Makefile for kdelibs has "CONFLICTS=  kdebase-3.1.*" and it
> won't build until you have deleted kdebase.

After pkg_delete (or make deinstall??) on kdebase-3.1.4, should I re-start my 
portupgrade on expat2, (# portupgrade -rf textproc/expat2), or is there a 
better/quicker way to reach the objective state?

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


Re: ipmon fills up partition

2004-04-17 Thread Matthew Seaman
On Sat, Apr 17, 2004 at 10:16:26PM +0800, Canggung Mendonan wrote:

> I use ipfilter exclusively in all the FreeBSD systems I ever set up /
> administer since FreeBSD 4.x at least. In addition, in all my systems I
> have a habit of logging ipfilter to a different file, by using the
> following setting in /etc/rc.conf:-
> 
> ipmon_enable="YES"
> ipmon_flags="-D /var/log/ipflog"
> 
> and rotating it in newsyslog.conf:-
> 
> /var/log/ipflog   640  7 1000 * J
> 
> Reason for this is I also turn on /var/log/all.log (logging everything),
> so default ipmon settings tend to clutter the logs.
> 
> Anyway, since FreeBSD v5.x (been using it since a while before
> 5.0-RELEASE), in at least 3 of the machines I administer, rotation works
> fine, and ipmon resumes logging afterwards. However the partition where
> /var/log/ipflog resides gradually fills up, until 100% full.  Curiously,
> killing ipmon process releases back the space taken.

Yes.  This is one of those unixy things that makes a great deal of
sense only after you've stopped and thought about it for a while.
What's happening is this: ipmon has an open filehandle onto the
logfile it's writing.  Which means that even if you delete the file or
overwrite it in the filesystem, the kernel still sees that file as
active and doesn't free up the space it takes until the ipmon process
closes the file.

There's a conceptual difference between a file name -- which is just
an entry in a directory structure with a pointer to the file's
location -- and to the file itself.  A file can have many different
names in many directories so long as they are all on the same
filesystem -- this is the concept known as 'hard linking' as described
in ln(1).  A file is only deleted once all filesystem links to it have
been removed and all open file descriptors on it have been closed.
 
> Adding /var/run/ipmon.pid at the end of newsyslog.conf line above stops
> the above symptom, but ipmon stopped logging after each rotation.

This should be the correct thing to do: ipmon should interpret a HUP
signal to mean 'reopen log files' -- unless it's changed dramatically
between 4.x and 5.x[*], in which case you'll have to hunt down what
should be done instead by reading the documentation or the code or
something.

Have you tried recompiling without any extra optimization and without
and CPUTYPE flags?  Is your system up-to-date with the latest patches
for whatever code branch you're tracking, and does your kernel match
correctly with the system you're using (ie. they were both compiled
from the same sources and you followed the procedure in
/usr/src/UPDATING to do any upgrades)? Does the ipmon process actually
quit when sent a SIGHUP?  If the answer is yes to two or more of
those, then it's worth using send-pr(1) to report this as a bug.

Cheers,

Matthew

[*] It hasn't, at least in this respect, as can be seen using cvsweb.

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: FBSD 5.2-1 NIS/YP KDE

2004-04-17 Thread Martin Brecher
RA Cohen wrote:
[...]
I have been successful in all aspects but one:  client logins
default to the most basic window mgr (tvwm I think). There are
approx. 400 potentiaol users total over 65 workstations (a
school environment). How can I make all of them default to KDE
without manually going into each and every central home
directory to set this? Do I need a Perl sctript to do this? How
can I get a new user addition to default to KDE?
[...]

There are many ways to achieve this.

As you have all the home folders in a central location, it would be 
easiest to replace every user's .xsession/.xinitrc files with one 
calling startkde.

For new users to already have this custom file, place it in 
/usr/share/skel/ with a name of dot.xinitrc resp. dot.xsession.

But there are other solutions:

One thing to consider is using a graphical login managager like 
{k,g,x}dm, in case you don't already do so.

{k,g}dm allow the user to chooser their session. Adding new sessions to 
the list is pretty straightforward - just take a look at gdm.conf resp. 
kdm.conf files and the respective documentation.

If xdm is used you could modify its Xsession file: remove the part where 
~/.xsession is started and simply have it launch kde.

Yet another way would be to simply replace twm with a symlink pointing 
at the startkde script.



Finally, I suggest you check out cfengine  (also in 
the ports), which makes central administration of a network quite easy. 
Cfengine also has macros to easily modify every user's 
~/.{xsession,whatever} file.
Additionally, you might want to consider using CVS to keep track of your 
configuration files (or/and the configuration files of cfengine).

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


Milter Logging

2004-04-17 Thread Warren Block
What do people do for milter logging?  A MAILER-DAEMON message for every
virus caught by clamav-milter is a little annoying (both to the intended
recipient and to postmaster), but I'm hesitant to just discard them.

A daily summary like that produced by 460.status-mail-rejects would be
nice, particularly if it had both count by virus type and count by
source IP address.

It looks like it might be necessary to modify the clamav-milter code to
produce the IP information.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help

2004-04-17 Thread Thomas Bulka
On Fri, 16 Apr 2004 15:30:31 -0700 (PDT)
Leon Ellis <[EMAIL PROTECTED]> wrote:

> The hard drive is 6GB but I can't get it to recognize
> more than 473 MB.
> Any Ideas???

What can't see more than 473MB? The Windows-Installer or fdisk?
If you delete all partitions on the disk (with fdisk) you should
be fine. At least the fdisk that comes with the freebsd-install-tool
should get all of the 6GB so you might want this to delete the
partitions.


pgp0.pgp
Description: PGP signature


RE: Beginning C++ in FreeBSD

2004-04-17 Thread Dan MacMillan
From: Daniela
Sent: April 17, 2004 04:50
>
> OO languages can be optimized differently than non-OO languages, and
> when you translate one language into another, this advantage gets lost.

I challenge you to defend this claim with a specific example.

> I would rather say, assembly is fast and can be portable, if it's done
> properly.

How does one properly do an assembly language program for the x86
instruction set (for example) so that it will run on a StrongARM?

-Dan

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


Re: booting from external Hard drives

2004-04-17 Thread Olaf Hoyer
On Sat, 17 Apr 2004, Rob Justen wrote:

> Is it possible to boot Free BSD from a external hard drive

Well, depends on the type of external disk.

Of course, external SCSI enclosures are quite standard in Server
environment, and single disk cases are quite cheap on ebay...
So SCSI will work without problems.

Booting from other external disks depends on the technology:

When there are enclosures, that map themselves as SCSI, like some IDE
things, yes.
With Serial ATA, we also will see some external storages, once fitting
controllers are widespread.

But what you have in mind, is probably USB and firewire.
This depends on 2 things:
1) The BIOS of the PC has to know about these devices, and has to try to
bootstrap from them.
2) the OS has to know, that it is run from a different device like
traditional IDE/SCSI, because USB looks different.

As far as I know, FreeBSD is not capable of fully booting from external
USB storage, but I haven't followed the development in the last few
months there.

HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


GNOME 2.6 and R 1.8.1

2004-04-17 Thread Arend P. van der Veen
Hi,

I use R 1.8.1 (R PROJECT) on FreeBSD 4.9 P5 with GNOME 2.6.0.  When I 
install R it cannot find GNOME.  It does successfully find X11 and
tcltk.  It complains that it can not find:

gnome-config
gnomeConf.sh

When I run R from GNOME the graphic  windows do not have any title bars
and R terminal output gets corrupted.

When I run R from sawfish everything works great.

Does anybody know what gnome port includes gnome-config or gnomeConf.sh?

Has any body been able to successfully run R from gnome ?

Thanks in advance
Arend van der Veen


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


Re: Kernel question about sk(4)

2004-04-17 Thread Tim McMillen
On Fri, 2004-04-16 at 23:02, Mark wrote:
> I have a question about the sk(4) driver. I want to use the 3Com 3C940,
> onboard an ASUS K8V Deluxe motherboard, using FreeBSD 4.9R.
> 
> I asked this before; but this is not really a 3com question, but more a
> kernel question, I think. At the SYNOPSIS of sk(4), I read:
> 
>   device miibus
>   device sk
> 
> Does that mean I need to recompile the kernel? Because "device sk" is not
> part of my kernel config, it seems.

If sk is not in your current kernel config (GENERIC if you haven't
changed it)  then you either need to re-compile the kernel with the
device listed, or use the module.  Likely a module exists for sk on your
system at /boot/modules, and you could just load it with kldload.   

Tim

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


Re: FreeBSD Questions mailing list- external Hard drives

2004-04-17 Thread Rob
Rob Justen wrote:
Is it possible to boot Free BSD from a external hard drive
I have a PC without a harddisk that boot from another FreeBSD PC
over the network. Is that the kind of thing you after? Then
etherboot is a way to go. More info, search for 'diskless'.
Rob.

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


KDE 3.2/Xwindows dying strangely without warning

2004-04-17 Thread Dragoncrest
Ok, I can't contribute this to anything I've ever encountered or
something that I'm doing, but it seems that after about 7-10 days KDE
just dies on me.  No crash, no errors, no "I'm gonna shut down". 
Nothing.  I will be working along and then suddenly it's just not there.
  It just goes away without a single bit of warning.  So I login under
my user account at the console that's now staring at me and only the
basic processes that should be running just after startup are there, but
not a single Xwindows thing, or anything related to KDE.

Even the logs show nothing.  No core dumps, no memory errors, not even
an Xwindows shutting down message.  It's just like Xwindows and KDE were
never running in the first place.  I can then restart KDE and it goes
back to the same saved state from the last time kde was restarted as
though nothing had happened.  I'm seriously baffled.  This just started
about 2 weeks ago after my last reboot.  Anyone got any ideas?  None of
my other boxes do this, so I'm lacking other systems to use as examples.
 Any help is apreciated.

Here's the apps I have running at the time it goes away/dies.

BitTorrent
Mozilla (for work related webpages)
FireFox (for personal surfing)
XMMS (playing)
Knotes
Klipper
Krusader
Kedit
3 console windows
Gaim
Kmail

That's it.  Nothing that I can think of that might destabalize KDE like
this.  Thanks in advance for your help.

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


FreeBSD Questions mailing list- external Hard drives

2004-04-17 Thread Rob Justen
Is it possible to boot Free BSD from a external hard drive

 

Rob Justen

 

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


Re: CUPS

2004-04-17 Thread Rob
Robert Storey wrote:
On Thu, 15 Apr 2004 10:51:30 -0700
"Derrick Ryalls" <[EMAIL PROTECTED]> wrote:
First off, I discovered that installing CUPS doesn't create /var/log/cups - you
have to make that directory manually. OK, I did that, and now I have an
error_log file, which has a few interesting lines of output:
I [16/Apr/2004:15:55:35 +0800] Hint: Do you have ESP Ghostscript installed?
Do you have the port print/cups-pstoraster installed?
I think that's the port which installs ESP stuff for you.
Have a look at the 'distinfo' and 'pkg-plist' in the
directory of this port.
I hope that helps.

Rob.

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


Re: portupgrade for KDE [ part of 5.2 portupgrade hairball ]

2004-04-17 Thread Kent Stewart
On Saturday 17 April 2004 01:44 am, Jay Moore wrote:
> Entering the third week of my portupgrade... some progress has been
> made (I think), but several items remain. Last week I was on travel,
> but started the following before leaving:
>
> portupgrade -rf textproc/expat2
>
> This completed with the result shown below. As you can see, KDE stuff
> was involved in the majority of my issues. I read the 'UPDATING' file
> from my last CVSup, but it doesn't seem to address this.
>
> What must I do to resolve the KDE install error(s)?

You have to pkg_delete kdebase-3.1.4 before you can update kde to 3.2.1. 
The Makefile for kdelibs has "CONFLICTS=  kdebase-3.1.*" and it 
won't build until you have deleted kdebase.

Kent

>
> Thanks,
> Jay
>
> [Updating the pkgdb  in /var/db/pkg ... - 232
> packages found (-0 +1) . done]
> ** Listing the failed packages (*:skipped / !:failed)
> ! net/samba (samba-2.2.8a_2)(uninstall error)
> ! x11/kdelibs3 (kdelibs-3.1.4_1)(install error)
> * x11/kdebase3 (kdebase-3.1.4)
> * x11-wm/kdeartwork3 (kdeartwork-3.1.4_1)
> * games/kdegames3 (kdegames-3.1.4)
> * net/kdenetwork3 (kdenetwork-3.1.4)
> * devel/kdesdk3 (kdesdk-3.1.4)
> * misc/kdeutils3 (kdeutils-3.1.4)
> * deskutils/kdepim3 (kdepim-3.1.4)
> * devel/kdevelop (kdevelop-2.1.5)
> * x11-clocks/kdetoys3 (kdetoys-3.1.4)
> * editors/koffice-kde3 (koffice-1.2.1_1,1)
> * graphics/kdegraphics3 (kdegraphics-3.1.4)
> * www/quanta (quanta-3.1.4,2)
> * multimedia/kdemultimedia3 (kdemultimedia-3.1.4)
> * sysutils/kdeadmin3 (kdeadmin-3.1.4_1)
> * misc/kdeaddons3 (kdeaddons-3.1.4)
> ! editors/openoffice-1.1 (openoffice-1.1.0_1)   (unknown
> build error) --->  Packages processed: 113 done, 0 ignored, 15
> skipped and 3 failed ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
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]"


Re: Fwd: Call For Assistance #4 - slapd won't die gracefully, multiple versions.

2004-04-17 Thread Kris Kennaway
On Sat, Apr 17, 2004 at 11:44:25AM +0100, Matthew Seaman wrote:

> In the mean time, you need a work-around.  I'm not sure if you can run
> FreeBSD 5.x in 32bit mode on an AMD64 box, but that might be a thing
> to try.

You can...it runs just like a more expensive i386 box :-)

Kris


pgp0.pgp
Description: PGP signature


ipmon fills up partition

2004-04-17 Thread Canggung Mendonan
Dear list,

I use ipfilter exclusively in all the FreeBSD systems I ever set up /
administer since FreeBSD 4.x at least. In addition, in all my systems I
have a habit of logging ipfilter to a different file, by using the
following setting in /etc/rc.conf:-

ipmon_enable="YES"
ipmon_flags="-D /var/log/ipflog"

and rotating it in newsyslog.conf:-

/var/log/ipflog 640  7 1000 * J

Reason for this is I also turn on /var/log/all.log (logging everything),
so default ipmon settings tend to clutter the logs.

Anyway, since FreeBSD v5.x (been using it since a while before
5.0-RELEASE), in at least 3 of the machines I administer, rotation works
fine, and ipmon resumes logging afterwards. However the partition where
/var/log/ipflog resides gradually fills up, until 100% full.  Curiously,
killing ipmon process releases back the space taken.

Adding /var/run/ipmon.pid at the end of newsyslog.conf line above stops
the above symptom, but ipmon stopped logging after each rotation.

My last resort is to cook up own rotation, as some ppl have done here:-

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=br00p7%24b9o%241%40FreeBSD.csie.NCTU.edu.tw&rnum=5&prev=/groups%3Fq%3Dipmon%2Brotation%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26scoring%3Dd

But before that, any other ideas? Should I send-pr?

Thanks.

--mendonan
"Yang mimpikan secangkir kopi panas dengan selimut.."
 (Dreaming of a cup of hot coffee, and a blanket..")
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Help

2004-04-17 Thread Leon Ellis
I downloaded FreeBSD and was using it to learn Unix.
Now I need to use that computer for Windows. I need
help unistalling FreeBSD in particular the unix
partion. I have used Fdask and have visited several
webasite, but can't find what I need. 
The hard drive is 6GB but I can't get it to recognize
more than 473 MB.
Any Ideas???
Thank for your help.
Leon




__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bigsister

2004-04-17 Thread eric
I will answer this in spanish you guys! 
 
Omar: 
 
Es importante que tengas en tu maquina el codigo fuente de ese programa. 
 
Si ya tienes el codigo de bigsister en tu maquina y se trata de un archivo 
tar.gz o tar.bz 
 
entonces en el directorio donde lo tengas y con los privilegios del usuario 
root, teclea lo siguiente: 
 
tar -zxvf archivo_del_programa_bigsister.tar.gz 
 
o en su defecto 
 
tar -jxvf archivo_del_programa_bigsister.tar.bz 
 
 
despues te metes al directorio donde se descompacto todo y tecleas: 
 
./configure 
 
al terminar tecleas: 
 
make 
 
al terminar tecleas: 
 
make install 
 
y listo! ya tendras instalado el programa. 
 
saludos, desde Merida, Yucatan, Mexico. 
 
 
Mensaje citado por OMAR SAID ROSAS CORBALA <[EMAIL PROTECTED]>: 
 
> Hola mi nombre es Said soy de México, quisiera saber como puedo instalar  
> "big sister" en freebsd para poder monitorear mi red 
>  
> agradezco su respuesta bye 
>  
> _ 
> Tired of spam? Get advanced junk mail protection with MSN 8.  
> http://join.msn.com/?page=features/junkmail 
>  
> ___ 
> [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: Beginning C++ in FreeBSD

2004-04-17 Thread DoubleF
On Sat, Apr 17, 2004 at 10:50:29AM +,
 Daniela probably wrote:
> On Friday 16 April 2004 21:52, Lucas Holt wrote:
> > > Why would one need C++ if it's converted to C anyway?
> >
> > C++ is useful for programmers that believe in object oriented
> > methodologies.  Some things are easier to do in C++ as well.  It all
> > depends on the programmer.
> >
> > You seem to favor assembly languages.  I've found that many people into
> > assembly never seem to get OO and therefore languages like C++ and Java
> > make no sense to them.   Assembly *can be* fast but its not portable.
> > C was created to make unix portable.  C++ was created to add OO
> > features to C.  (as was objective c)
> 
> I do program in C++ quite often and it does make sense to me. I know seven 
> programming languages and which one I use depends on the program, as I find 
> them all easy. OO languages can be optimized differently than non-OO 
> languages, and when you translate one language into another, this advantage 
> gets lost.
> 
> I would rather say, assembly is fast and can be portable, if it's done 
> properly. Yes, it is an unforgiving language, but I think beginning 
> programmers need exactly that.
> 

I don't think that assembly is the best language to learn first. English
is:) (I mean, reading the draft standards is a good idea; though they
can't be regarded as manuals, they have valuable examples and notes).

Learning assembly has the added advantage of knowing (at least
basically) what happens when you do a dynamic_cast<>(), for instance.
Assembly doesn't have to be portable to be usable this educational way.
At least for me, this is necessary to be sure of what I'm doing in C++.

This doesn't mean that to understand a C++ program, I have to convert it
to assembly:). It just means that, when I face a problem, I can dig into
the details and find out what I've done wrong, etc. OO means a high
level of abstraction, and if part of the levels are floating in the air
with nothing to support them, you sooner or later will face problems ---
the problems of your misunderstanding how it works.

I don't mean you have to write every program in assembly, but if you
understand how it works --- it certainly helps. YMMV.

-- 
DoubleF
Legalize free-enterprise murder: why should governments have all the
fun?


pgp0.pgp
Description: PGP signature


Re: pppoe ..., newbie

2004-04-17 Thread Robert Storey
On Fri, 16 Apr 2004 22:43:17 -0400
"Rainer" <[EMAIL PROTECTED]> wrote:

> any pointers would be useful,

Dear Ranier,

I'll give you below my entire ppp.conf file. There are four things you'll need
to change:

ISP_NAME
MY_FREEBSD_USER_NAME
[EMAIL PROTECTED]
MY_PASSWORD

That ought to do it. Then to start a connection, open an Xterm and type:

   ppp -background ISP_NAME

Of course, for ISP_NAME substitute whatever name you used in the ppp.conf file.
Actually, you can use any name you like, it doesn't have to be your ISP's real
name, "aardvark" would be fine, you just have to be consistent. To shut down the
connection:

   killall ppp

So without further ado, the ppp.conf file:

#
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by [EMAIL PROTECTED]
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $
#

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that "device" references the correct serial port
 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
 #
# set device /dev/cuaa1


# set speed 115200
# set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
#   \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 600# 3 minute idle timer (the default)
 enable dns # request DNS info (for resolv.conf)

ISP_NAME:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #
 allow users MY_FREEBSD_USER_NAME

 set device PPPoE:rl0
 set authname [EMAIL PROTECTED]
 set authkey MY_PASSWORD

# set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 set ifaddr 0 0
 add default HISADDR# Add a (sticky) default route


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


Re: CUPS

2004-04-17 Thread Robert Storey
On Thu, 15 Apr 2004 10:51:30 -0700
"Derrick Ryalls" <[EMAIL PROTECTED]> wrote:

> http://www.freebsddiary.org/cups.php
> 
> I no longer use CUPS myself, but when I had it setup, I had to make sure the
> system lp* files where chmod'ed to -x so that the CUPS version would be used
> instead.  The above link suggests moving /usr/local/bin before /usr/bin in
> your path, but that just doesn't give me warm fuzzy feelings.

Thanks for this suggestion, and thanks to the others who wrote back.
Unfortunately, I still can't get any output from the printer, but a few
interesting things have turned up.

First off, I discovered that installing CUPS doesn't create /var/log/cups - you
have to make that directory manually. OK, I did that, and now I have an
error_log file, which has a few interesting lines of output:

I [16/Apr/2004:15:55:35 +0800] Adding start banner page "none" to job 5.
I [16/Apr/2004:15:55:35 +0800] Adding end banner page "none" to job 5.
I [16/Apr/2004:15:55:35 +0800] Job 5 queued on 'Epson' by ''.
E [16/Apr/2004:15:55:35 +0800] Unable to convert file 0 to printable format for 
job 5!
I [16/Apr/2004:15:55:35 +0800] Hint: Do you have ESP Ghostscript installed?
I [16/Apr/2004:15:55:35 +0800] Hint: Try setting the LogLevel to "debug".
I [16/Apr/2004:17:24:11 +0800] Listening to 0:631
I [16/Apr/2004:17:24:11 +0800] Loaded configuration file "/usr/local/etc/cups/cu
:

I'm interested in the line that says: "Hint: Do you have ESP Ghostscript
installed?" Well, I do have Ghostscript-gnu installed, which should be crucial
(it has all gimp-print, which has all the printer drivers). I also installed
cups-base and cups-lpr - I can't see anything else that needs to be installed.
Everything looks like it should work, and netstat seems to agree that port 631
is ready and waiting:

[EMAIL PROTECTED]:~> netstat -an | more
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0  0  *.631  *.*LISTEN
tcp4   0  0  127.0.0.1.25   *.*LISTEN
tcp4   0  0  *.22   *.*LISTEN
tcp6   0  0  *.22   *.*LISTEN

The one thing I see that has me confused - ifconfig now reports the existence of
a plip0 device - is that correct? Could that be causing a conflict? After all,
the printer is connected on my parallel port:

[EMAIL PROTECTED]:~> ifconfig
vr0: flags=8843 mtu 1500
inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::20c:6eff:fe0a:ca02%vr0 prefixlen 64 scopeid 0x1 
ether 00:0c:6e:0a:ca:02
media: Ethernet autoselect (none)
status: no carrier
plip0: flags=8810 mtu 1500
lo0: flags=8049 mtu 16384
inet 127.0.0.1 netmask 0xff00 
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
ppp0: flags=8010 mtu 1500

All comments are welcome.

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


Re: boot log

2004-04-17 Thread Matthew Seaman
On Sat, Apr 17, 2004 at 09:23:33AM +0930, Greg 'groggy' Lehey wrote:
> On Friday, 16 April 2004 at 17:37:10 -0400, Charles Swiger wrote:
> > On Apr 16, 2004, at 11:31 AM, RazorOnFreeBSD wrote:
> >> I just would like to know how can I read the exact text that is
> >> displaying very fast at the FreeBSD boot.
> >
> > Try:
> >
> > dmesg | less
> 
> Unfortunately, this shows only the kernel messages, not the subsequent
> messages from userland programs run during startup.  In particular,
> messages from fsck(8) are missing.  Unfortunately, since the demise of
> paper consoles, there's no way to save this information.  This is a
> general UNIX problem, not a FreeBSD problem.

Err -- are you sure about that?  I have this in /etc/syslog.conf:

# uncomment this to log all writes to /dev/console to /var/log/console.log
console.info/var/log/console.log

And consequently I have this in my /var/log/console.log:

Apr 15 22:07:14 happy-idiot-talk /kernel: dumpon: crash dumps to /dev/da0s1b (13, 
131073)
Apr 15 22:07:14 happy-idiot-talk /kernel: swapon: adding /dev/da0s1b as swap device
Apr 15 22:07:14 happy-idiot-talk /kernel: Automatic boot in progress...
Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1a: 
Apr 15 22:07:14 happy-idiot-talk /kernel: FILESYSTEM CLEAN; SKIPPING CHECKS
Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1a: 
Apr 15 22:07:14 happy-idiot-talk /kernel: clean, 38468 free 
Apr 15 22:07:14 happy-idiot-talk /kernel: (404 frags, 4758 blocks, 0.3% 
fragmentation)
Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1g: 
Apr 15 22:07:14 happy-idiot-talk /kernel: FILESYSTEM CLEAN; SKIPPING CHECKS
Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1g: 
Apr 15 22:07:14 happy-idiot-talk /kernel: clean, 15120392 free 
Apr 15 22:07:14 happy-idiot-talk /kernel: (10632 frags, 1888720 blocks, 0.0% 
fragmentation)
Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1f: 
Apr 15 22:07:14 happy-idiot-talk /kernel: FILESYSTEM CLEAN; SKIPPING CHECKS
Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1f: 
Apr 15 22:07:14 happy-idiot-talk /kernel: clean, 1700955 free 
Apr 15 22:07:14 happy-idiot-talk /kernel: (133747 frags, 195901 blocks, 2.2% 
fragmentation)
Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1e: 
Apr 15 22:07:14 happy-idiot-talk /kernel: FILESYSTEM CLEAN; SKIPPING CHECKS
Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1e: 
Apr 15 22:07:14 happy-idiot-talk /kernel: clean, 52326 free 
Apr 15 22:07:14 happy-idiot-talk /kernel: (870 frags, 6432 blocks, 0.7% 
fragmentation)

I also get a nice transcript of running mergemaster in single user
mode when I do routine updates, or indeed any console output at all.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Fwd: Call For Assistance #4 - slapd won't die gracefully, multiple versions.

2004-04-17 Thread Matthew Seaman
Jason,

On Sat, Apr 17, 2004 at 01:22:00AM -0400, Jason Lixfeld wrote:
> I've been having this issue with openldap for over a month now and they 
> folks at openldap seem to think this may be a FreeBSD issue.  Not sure 
> if it's a general FreeBSD issue or an AMD64 issue so it's going to 
> both.
> 
> Can anyone have a look at this and tell me what they think?

It looks to me as if you've discovered quite a tricky bug here.  It's
not clear from the symptoms you describe if the fault is in the
OpenLDAP code, the code of any of the dependencies it links against --
although I think your testing of BDB vs LDBM has eliminated those as
suspects -- or the underlying FreeBSD system libraries.  Neither is it
clear if the problem is a coding mistake in any of those projects, or
perhaps a bug in the compiler.

Now, I assume that egregious errors due to being on a 64bit rather
than a 32bit platform are not likely to happen in the OpenLDAP code,
since it runs on any number of 64bit platforms like solaris-sparc.
Subtle errors are a different matter.  AMD64 is now a tier-1 platform
on FreeBSD, which means it's been through a lot of testing to prove
it's stability and correct operation, but that status is new with 5.x,
so there are undoubtedly plenty of bugs still there to fix.  5.x is
also using gcc-3.3.x as the system compiler, again in a large part for
the ability to support the new tier-1 platforms.  In other words it's
pretty hard to even predict which of those areas is most likely to be
the cause of the problem.

As Kris said, running the program under a debugger -- in the hands of
an expert programmer -- will be the best route towards dignosing the
problem and finding a cure.  If you're not capable of doing that sort
of thing yourself, finding such a person will be your best route to a
proper fix.  If you need the LDAP server for business purposes, then
offering payment would not be out of order.

In the mean time, you need a work-around.  I'm not sure if you can run
FreeBSD 5.x in 32bit mode on an AMD64 box, but that might be a thing
to try.  Compiling the software with different versions of gcc (there
are several available in ports) and with different optimization levels
is worth a go.  Failing that, probably the best thing would be to find
a spare IA32 machine and use that for your server temporarily.  or
even (horrors!) try a different OS on your AMD64 box.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Identifying traffic logged by ipfw

2004-04-17 Thread Dancho Penev
On Fri, Apr 16, 2004 at 12:51:31PM -0500, Ben Beuchler wrote:
Date: Fri, 16 Apr 2004 12:51:31 -0500
From: Ben Beuchler <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Identifying traffic logged by ipfw
I'm working on a new bridging firewall using ipfw on FBSD 5.1.  The goal
is to default to closed with a few exceptions.  To test my ruleset, I end
with this rule:
add 420 allow log ip from any to any

The idea is that by watching the logs I could see what protocols I forgot
to create rules for.  This is what I'm getting in the logs:
Apr 16 16:43:40 bfw kernel: ipfw: 420 Accept MAC in via em2

I'm guessing this means it's matching non-ip traffic, but I couldn't find
any info to confirm this.  Is there any sort of trick I could use to log
the entire packet?  Since nothing about the source or destination was
logged, I don't have enough info to create a tcpdump filter.  Perhaps some
sort of divert rule?
I don't now about FreeBSD 5.1, but on -CURRENT I use follow patch
for /sys/netinet/ip_fw2.c :
--- ip_fw2.c.orig   Fri Dec 26 15:21:46 2003
+++ ip_fw2.cSun Jan 25 22:45:45 2004
@@ -577,6 +577,16 @@
if (hlen == 0) {/* non-ip */
snprintf(SNPARGS(proto, 0), "MAC");
+   if (eh != NULL)
+   snprintf(SNPARGS(proto, 3),
+   " %02x:%02x:%02x:%02x:%02x:%02x 
%02x:%02x:%02x:%02x:%02x:%02x 0x%04x",
+   eh->ether_dhost[0], eh->ether_dhost[1],
+   eh->ether_dhost[2], eh->ether_dhost[3],
+   eh->ether_dhost[4], eh->ether_dhost[5],
+   eh->ether_shost[0], eh->ether_shost[1],
+   eh->ether_shost[2], eh->ether_shost[3],
+   eh->ether_shost[4], eh->ether_shost[5],
+   ntohs(eh->ether_type));
} else {
struct ip *ip = mtod(m, struct ip *);
/* these three are all aliases to the same thing */
Thanks!

-Ben

--
Ben Beuchler   There is no spoon.
[EMAIL PROTECTED]-- The Matrix
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--
Dancho Penev
GnuGP public key: http://www.mnet.bg/~dpenev/gnupg.key
Key fingerprint: E88D 8B7B 3EF6 E9C8 C5D2  7554 2AA8 C347 71A1 4277


pgp0.pgp
Description: PGP signature


mp3-player

2004-04-17 Thread ilich
Hi, all!!
I'd like to make mp3 player for konsole and I don't know, what mp3 library 

(C or C++) should I use for this. Help me, please. Where Can I get more 

information about this?
Thanks all!!
IvaN from RUSSIA 
mailto: [EMAIL PROTECTED] 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mp3-player

2004-04-17 Thread ilich
Hello all.
Sorry, my English is bad.
I want take mp3-player on C++ or C.
What  mp3-library will I use ?
 mailto: [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Beginning C++ in FreeBSD

2004-04-17 Thread Daniela
On Friday 16 April 2004 21:52, Lucas Holt wrote:
> > Why would one need C++ if it's converted to C anyway?
>
> C++ is useful for programmers that believe in object oriented
> methodologies.  Some things are easier to do in C++ as well.  It all
> depends on the programmer.
>
> You seem to favor assembly languages.  I've found that many people into
> assembly never seem to get OO and therefore languages like C++ and Java
> make no sense to them.   Assembly *can be* fast but its not portable.
> C was created to make unix portable.  C++ was created to add OO
> features to C.  (as was objective c)

I do program in C++ quite often and it does make sense to me. I know seven 
programming languages and which one I use depends on the program, as I find 
them all easy. OO languages can be optimized differently than non-OO 
languages, and when you translate one language into another, this advantage 
gets lost.

I would rather say, assembly is fast and can be portable, if it's done 
properly. Yes, it is an unforgiving language, but I think beginning 
programmers need exactly that.

Daniela


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


Re: question about SAMBA shared directory and file permissions

2004-04-17 Thread Peter Risdon
Peter Risdon wrote:

create mode 0774  # Windows clients that seems to require the extra bit

And just to correct my own gibberish (maybe I need some coffee):

create mode = 0774  # Windows clients seem to require the extra bit

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


Re: question about SAMBA shared directory and file permissions

2004-04-17 Thread Peter Risdon
Peter Risdon wrote:

There's a useful guide to configuring samba at:

http://hr.oregon.edu/davidrl/samba/server.html


Whoops.

http://hr.uoregon.edu/davidrl/samba/server.html

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


Re: question about SAMBA shared directory and file permissions

2004-04-17 Thread Peter Risdon
Anthony carmody wrote:



Peter Risdon wrote:

[EMAIL PROTECTED] wrote:

Hi,

i have been having problems with a SAMBA shared directory and user 
permissions. My smb.conf file is simple and allows for members of 
'wwwdev' access the directory, and they can when i test it, but we 
get all kinds of problems with the permissions on various files and 
directories:




It would help if you said exactly what those problems are.


sure. i realised i didn't explain just after i sent the mail. doh!

ok: i want really open access 'a-la-windows' style to all files under 
a certain directory tree to users in a particular group. at the 
moment, i am having to chown all files over to whom ever is editing 
them at any given time.


I was thinking more of what happens to file permissions when a file is 
accessed by a samba user. Say they start at something like:

#ls -l

-rwxrw-r-x   1 pwr  wwwdev 637 Apr 17 09:01 testfile

So all members of the wwwdev group have write permission. After access 
by user pwr do they change? Maybe to:

-rwxrw-r-x   1 pwr  pwr 637 Apr 17 09:01 testfile




//
[wwwdev]
comment = Virtual Web Servers HTTP dirs
path = /usr/wwwdev
create mode = 0765
valid users = @wwwdev
//




You might also need to set the directory mode on the share.


cool, what would you suggest?


See below.




i assume this is a ownership issue on the unix file system side, 
although i have opened up the permissions to 'pants down in public' 
level 

drwxrwxrwx
-rwxrwxrwx




So, what is the problem? Do these permissions and/or the file 
ownerships get altered when accessed by a Windows client?


i would have assumed that because the two users were in the same group 
they could access the same files in turn without chown-ing.


There's a useful guide to configuring samba at:

http://hr.oregon.edu/davidrl/samba/server.html

And it deals with a similar configuration to the one you're seeking.

But working on a guess that your problem stems from the group flag of a 
file being changed to that of the user who accesses it, you might try 
adding:

create mode 0774  # Windows clients that seems to require the extra bit

directory mode = 0775 #so that new directories are created with the 
right permissions

force group = +wwwdev  # so that all file activity is carried out as 
this user

HTH.

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


portupgrade for KDE [ part of 5.2 portupgrade hairball ]

2004-04-17 Thread Jay Moore
Entering the third week of my portupgrade... some progress has been made (I 
think), but several items remain. Last week I was on travel, but started the 
following before leaving:

portupgrade -rf textproc/expat2

This completed with the result shown below. As you can see, KDE stuff was 
involved in the majority of my issues. I read the 'UPDATING' file from my 
last CVSup, but it doesn't seem to address this.

What must I do to resolve the KDE install error(s)?

Thanks,
Jay

[Updating the pkgdb  in /var/db/pkg ... - 232 packages 
found (-0 +1) . done]
** Listing the failed packages (*:skipped / !:failed)
! net/samba (samba-2.2.8a_2)(uninstall error)
! x11/kdelibs3 (kdelibs-3.1.4_1)(install error)
* x11/kdebase3 (kdebase-3.1.4)
* x11-wm/kdeartwork3 (kdeartwork-3.1.4_1)
* games/kdegames3 (kdegames-3.1.4)
* net/kdenetwork3 (kdenetwork-3.1.4)
* devel/kdesdk3 (kdesdk-3.1.4)
* misc/kdeutils3 (kdeutils-3.1.4)
* deskutils/kdepim3 (kdepim-3.1.4)
* devel/kdevelop (kdevelop-2.1.5)
* x11-clocks/kdetoys3 (kdetoys-3.1.4)
* editors/koffice-kde3 (koffice-1.2.1_1,1)
* graphics/kdegraphics3 (kdegraphics-3.1.4)
* www/quanta (quanta-3.1.4,2)
* multimedia/kdemultimedia3 (kdemultimedia-3.1.4)
* sysutils/kdeadmin3 (kdeadmin-3.1.4_1)
* misc/kdeaddons3 (kdeaddons-3.1.4)
! editors/openoffice-1.1 (openoffice-1.1.0_1)   (unknown build error)
--->  Packages processed: 113 done, 0 ignored, 15 skipped and 3 failed
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: question about SAMBA shared directory and file permissions

2004-04-17 Thread Anthony carmody


Peter Risdon wrote:
[EMAIL PROTECTED] wrote:

Hi,

i have been having problems with a SAMBA shared directory and user 
permissions. My smb.conf file is simple and allows for members of 
'wwwdev' access the directory, and they can when i test it, but we get 
all kinds of problems with the permissions on various files and 
directories:


It would help if you said exactly what those problems are.
sure. i realised i didn't explain just after i sent the mail. doh!

ok: i want really open access 'a-la-windows' style to all files under a 
certain directory tree to users in a particular group. at the moment, i 
am having to chown all files over to whom ever is editing them at any 
given time.

//
[wwwdev]
comment = Virtual Web Servers HTTP dirs
path = /usr/wwwdev
create mode = 0765
valid users = @wwwdev
//


You might also need to set the directory mode on the share.
cool, what would you suggest?



i assume this is a ownership issue on the unix file system side, 
although i have opened up the permissions to 'pants down in public' 
level 

drwxrwxrwx
-rwxrwxrwx


So, what is the problem? Do these permissions and/or the file ownerships 
get altered when accessed by a Windows client?
i would have assumed that because the two users were in the same group 
they could access the same files in turn without chown-ing.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: question about SAMBA shared directory and file permissions

2004-04-17 Thread Peter Risdon
[EMAIL PROTECTED] wrote:

Hi,

i have been having problems with a SAMBA shared directory and user 
permissions. My smb.conf file is simple and allows for members of 
'wwwdev' access the directory, and they can when i test it, but we get 
all kinds of problems with the permissions on various files and 
directories:


It would help if you said exactly what those problems are.

//
[wwwdev]
comment = Virtual Web Servers HTTP dirs
path = /usr/wwwdev
create mode = 0765
valid users = @wwwdev
//


You might also need to set the directory mode on the share.



i assume this is a ownership issue on the unix file system side, 
although i have opened up the permissions to 'pants down in public' 
level 

drwxrwxrwx
-rwxrwxrwx


So, what is the problem? Do these permissions and/or the file ownerships 
get altered when accessed by a Windows client?

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


Re: why freebsd doesn't support extended partion?

2004-04-17 Thread Hendrik Hasenbein
Chan Seng Loong wrote:
hi...

Can you guy implement extended partion support to
freebsd?
I have got extended partitions in my system (ad0s5, ad0s6). What support 
do you need in the system?

Hendrik

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


why freebsd doesn't support extended partion?

2004-04-17 Thread Chan Seng Loong
hi...

Can you guy implement extended partion support to
freebsd?


Thanks




__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


question about SAMBA shared directory and file permissions

2004-04-17 Thread [EMAIL PROTECTED]
Hi,

i have been having problems with a SAMBA shared directory and user 
permissions. My smb.conf file is simple and allows for members of 
'wwwdev' access the directory, and they can when i test it, but we get 
all kinds of problems with the permissions on various files and directories:

//
[wwwdev]
comment = Virtual Web Servers HTTP dirs
path = /usr/wwwdev
create mode = 0765
valid users = @wwwdev
//
i assume this is a ownership issue on the unix file system side, 
although i have opened up the permissions to 'pants down in public' 
level 

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