Re: how do I

2006-02-20 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wayne wrote:
 How Do I get the terminal on the screen. I am having problems with the GUI 
 part of Either the KDE or the Gnome it was installed.
 Wayne

If you mean switch from X to the console, press Ctrl-Alt-F[1-5].
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD+Xbk6CkrZkzMC68RAl87AJ0QGdwmI8mX5sKnLmMwTzoihlFLJACeJhwC
uRIKabXRCfwdJBen1YPij28=
=xdf3
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: WinSCP mega-slowness

2006-02-20 Thread Andrew Pantyukhin
On 2/20/06, Xn Nooby [EMAIL PROTECTED] wrote:
 For about a year I have noticed that whenever my Windows boxes talk to my
 Unix boxes, they communicate at about 1/10 normal speed. I copy lots (300GB)
 of large files back and forth between machines as I try different OS's, and
 I always see this.

 Specifically, if I copy from FreeBSD to FreeBSD, files transfer at 11 megs
 per second.  Between FreeBSD and Linux, at about 8 megs per second.  Between
 FreeBSD and Windows, about 1 megabyte per second.  This is on identical
 hardware.  I've told other people about this, and they usually say I must be
 doing something wrong, but recently a friend of mine upgraded a Windows box
 to SP2, and now they are getting this same slowness.  When I copy from
 Windows to WIndows (XP or W2k), I get 11 megs per second.

 My machines are two P4's with gigabit NICs, and I'm using WinSCP and
 (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD.  It's always a
 shock when I have to copy my data to WIndows, and it takes 30 hours instead
 of 3.

 Does anyone else ever see this slowness when copying files between FreeBSD
 and Windows?

 Is Windows maybe capping the transfer speed when it talks to Unix?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


It is very certainly a known issue. Not that its specifics and
origins are clearly known, but most of us stumble upon it
sooner or later. You can usually achieve wire speed only
between two OSes of a kind. TCP/IP optimizations are
very important here: if they differ, performance plummets.
Depends on a multitude of things from quality of NICs to
weather in your area. I've never been able to get more
than 70Mbit/s between FreeBSD and Windows XP. I
always get 90-100Mbit/s between two BSDs or two Win's.

As for your case, 1MB/s is a serious limit. What can you
tell us about CPU load? Interrupts? Can you try this:
http://www.psc.edu/networking/projects/hpn-ssh/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do I

2006-02-20 Thread Andrew Pantyukhin
On 2/20/06, Wayne [EMAIL PROTECTED] wrote:
 How Do I get the terminal on the screen. I am having problems with the GUI 
 part of Either the KDE or the Gnome it was installed.
 Wayne
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: Resolution Problem

2006-02-20 Thread Andrew Pantyukhin
On 2/20/06, Kyle Addis [EMAIL PROTECTED] wrote:
 Dear FreeBSD,
 I installed freebsd with kde as my environment, but when I start
 kde, through the kdm command, my resolution is stuck at 640x320
 or something like that, when I go into the desktop configure menu,
 in kde.  My laptop can do up to 1600x1400. Is there anything I can
 do to make my resolution go higher.

Dear Userland :-)
I don't use KDE, but resolutions can be changed by editing
/etc/X11/xorg.conf. Please, read its manpage or find a good
guide. I have this in my screen section:

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth24
Modes1280x1024
EndSubSection
EndSection

If anything goes wrong (or have already) you can look at
error messages in /var/log/Xorg.0.log
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CUPS Login

2006-02-20 Thread Chris Maness
I installed the port cups.  I did the http://localhost:631 thing.  That 
brought up the cups main page, but when I try to loging in as root,  the 
thing just hangs forever.  Any suggestions?


Thanks
Chris Maness

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


Re: 6.0 stable: linuxpluginwrapper port build failure

2006-02-20 Thread Andrew Pantyukhin
On 2/20/06, Chandan Haldar [EMAIL PROTECTED] wrote:
 Trying to build port linuxpluginwrapper on FreeBSD 6.0-Stable
 (final goal is to get linux flash player work with firefox 1.0.7
 on FreeBSD 6.0-Stable) fails at fetch of atk-1.2.0-2.i386.rpm.
 Fetching manually results in checksum mismatch error.  Any known
 workaround?  Transcript of session below.

# mv /usr/ports/distfiles /usr/
# rm -rf /usr/ports
# mkdir /usr/ports
# man portsnap...  wow
# portsnap fetch
# portsnap extract
# mv /usr/distfiles /usr/ports/
# echo '0 7 * * * root portsnap cron  portsnap update'  /etc/crontab
# cd /usr/ports/sysutils/portupgrade/
# make install clean
# rehash
# portupgrade -ak...  tea-time
# cd /usr/ports/www/linuxpluginwrapper/
# make install clean
# cp /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 /etc/
# cd /usr/ports/www/linux-flashplugin6/
# make install clean
# firefox 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SATA RAID0

2006-02-20 Thread Andrew Pantyukhin
On 2/18/06, ph rhole oper [EMAIL PROTECTED] wrote:
 What should i use to setup a RAID-0 array using 2 SATA drives and a VIA
 software-raid controller (pseudo)? vinum ? ccd? or atacontrol?
 PS: suppose the metadata format of my raid controller is recognized by
 the ata driver

 --
 http://www.fastmail.fm - And now for something completely different…

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


gstripe(8) - works like a charm. We have two 10K rpm
SCSI disks in gstripe. I tell you, it's charged. Like wow.
$0 for RAID and about 5 minutes of configuration.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBsd Help

2006-02-20 Thread Giorgos Keramidas
On 2006-02-19 21:23, Kris Wieschhaus [EMAIL PROTECTED] wrote:

 I am a college student at HLG college. I am a Computer
 Information Systems major and I have chosen to present FreeBSD
 to my class as a final project. I downloaded version 6.0 from
 the freeBSD Site. I made a bootable CD-ROM from the ISO image
 disc one. The installation seemed to have went ok, but when I
 go to put a password in for the root user nothing happens. When
 I type letters the insertion point (cursor) just stays in the
 same place as if no letters are being typed. When I turn it on
 now it seems to boot up fine. After I type in my login name and
 password I am unsure of how to install or run an application,
 which I am required to do for the project. I have tried finding
 a basic tutorial on the internet, but have been unable to do
 so. Please Help!!!

You should start with the Handbook and the rest of the online
documentation:

http://www.FreeBSD.org/docs.html

If you haven't found these already, then do yourself a favor and,
at the very least, skim through the contents of these help
documents.  Then, you will know what is documented, where it is
documented, and how to find more.

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


sangoma s518 adsl card sppp driver problem.

2006-02-20 Thread Omer Faruk Sen
Hi, 

I have a problem with s518 sangoma adsl card. I have FreeBSD-5.4 Release 
installed and installed wanpipe driver and software. Card has been detected 
perfectly that I can see on dmesg output. I have created a conf file using 
wancfg command and after running wanrouter start I get following error: 


wanpipe: S518-PCI ADSL card found, cpu(s) 1, bus #0, slot #19, irq #10
WANPIPE: Allocating maximum 1 devices:
WANPIPE: wanpipe1-wanpipe1.
WANPIPE(tm) L.I.P Network Layer Beta5-2.8.2 (c) 1995-2004 Sangoma 
Technologies I

nc.
WanpipeLIP: Protocols: FR PPP CHDLC
Registering Wanpipe Lip protocol 


Processing WAN device wanpipe1...
wanpipe1: Locating: ADSL card, CPU , PciSlot=19, PciBus=0
wanpipe1: Found: ADSL card, CPU A, PciSlot=19, PciBus=0
wanpipe1: Starting hardware setup...
wanpipe1: ADSL PCI memory at 0xe800
wanpipe1: IRQ 10 allocated to the ADSL card
wanpipe1: Set interrupt handler...
wanpipe1: Starting ADSL device.
wanpipe1: Initializing S518 ADSL card...
wanpipe1: Initializing LAN Interface
wanpipe1: Enabling ADSL (ATM OAM) Watchdog
wanpipe1: ADSL HW Addr: 00:77:77:77:7a:db
wanpipe1: Creating new WAN interface waad0...
wanpipe1: Please verify that SPPP is enabled in your kernel!
wanpipe1: Failed to create new interface (-22)!
wanpipe1: Device already configured! 



# wanrouter debug
Wanpipe environment/utilites/modules/operation OK 

I have compiled sppp in to the kernel but no luck again. I take wanpipe1: 
Please verify that SPPP is enabled in your kernel! message. Has anyone has a 
solution for that? 




---
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
*** 


AcikAcademy published a Turkish TCP/IP Book
Acik Akademi'nin yeni kitabini duydunuz mu?
http://www.acikakademi.com/catalog/tcpip/ 



Life is trouble.. Only Death is not!
 -Alexis Zorba
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Download

2006-02-20 Thread Peter N. M. Hansteen
Luis Thillet [EMAIL PROTECTED] writes:

 I have been trying (FOR A LONGTIME) to download a FreeBSD Unix OS (i.e. 5.4, 
 6.0-RELEASE iso.i386).  But it has never worked.  I was wondering if your 
 company/team/crew have disabled it.

Neither the operating system itself nor its download sites have been
disabled for any noticeable length of time, if ever. The files needed to
install FreeBSD have to the best of my knowledge been available
continuously from the moment the respective versions were released.

The description is a little short on details, so any suggestions from
here are pure guesswork. Off the top of my head,

- did the download complete?

  The size of a typical release ISO CD image file is likely to be in 
  the 550 to 650 megabytes range, and could take considerable time
  if you are on a skinny line or downloading from somewhere distant
  network-wise. The Handbook lists a number of mirror sites which
  could be closer to your location than the primary site at
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

- if the download did complete, what did you download and what did you
  do with it?

  Assuming you downloaded an ISO image, you would need to burn the
  file as an image, not a file, to a suitable CD medium.

  If you opted for the floppy images, you would need to follow the
  procedure outlined in the install docs to create a usable set.
  Installing by letting the installer fetch packages as needed could be
  time consuming as well, depending on your line speed and network
  conditions between your location and the chosen installation source.

I suppose the most sensible thing to do is first to try to locate a user
group or other friendly FreeBSD people in your area.  People on this
list should be able to provide pointers.  I suppose even people not in
your area should be able to burn you an install CD and mail it to you if
that is what you need to get started.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales
20:11:56 delilah spamd[26905]: 146.151.48.74: disconnected after 36099 seconds.

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


Re: Multiple MSDOSFS partitions on iomega 250GB external disk

2006-02-20 Thread Chandan Haldar

Answering myself.  Iomega support confirmed that partitioning the 250GB
external HDD was possible.  I partitioned and formatted the disk into
two approx 125GB FAT32 partitions using Win2K disk manager.  Both the
partitions show up, mount, and work fine under FreeBSD (and also under
Win2K).

Chandan


Chandan Haldar wrote:

I have browsed the threads on using 128GB disks with MSDOSFS  
(msdosfsmount()disk too big.  Sorry etc...).  It seems to me from the 
mails in the archive that there are basically two ways to cope with this 
problem:



1. Rebuild kernel with MSDOSFS_LARGE enabled and pay the price in terms 
of extra 32 bytes per file memory usage.



2. Partition the disk into multiple 128GB partitions.


I'm using a iomega 250GB firewire/usb external disk that I need to 
access from Windoz as well as from FreeBSD.  I'm inclined to go the 
second way and chop it up into multiple pieces.  At the iomega website, 
they are washing their hands off the problem with something like this: 
iomega does not recommend partitioning the disk into multiple 
partitions... etc.



Can anyone on this list confirm actually making two or more FAT32 
partitions on a iomega 250 GB desktop external firewire/usb harddrive 
and successfully using all partitions on both Windows and FreeBSD?  Any 
issues and experiences to share?



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


IPC Queues

2006-02-20 Thread Jason Resch

Hello everyone,

My company is implementing an application which we plan will use shared 
memory and IPC mechanisms to coordinate work.  We would prefer to use 
POSIX message queues due to their better support for priorities, but 
from the research I have done thus far it appears none of the BSDs 
support POSIX queues.  My question is, does there exist some kernel 
patch or port that implements POSIX queues for FreeBSD?


I would also be grateful for any insight others could provide regarding 
alternatives.  For instance, how well socket performance stacks up 
against shared memory, particularly in a multi-threaded enviornment.  
Thank you in advance for any assitance you can provide.


Regards,

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


Re: WinSCP mega-slowness

2006-02-20 Thread Xn Nooby
Well, it's good to know I'm not the only one seing this. Right now both
machines are running FreeBSD, since I gave up on waiting for Windows to copy
the files.  The CPU load on Window when sending  1 meg per second is usually
about 30%, while the Unix box is only at 1-2%.  When I have 2 Unix boxes
sending/receiving, I think the load is like 4-5% on both.  I'm building a
bunch of packages right now, so I can't get the exact number.  I could try
the openssh patch later in the week, that would be great if there was a
unix-side fix for this. Of course as I run FreeBSD more, and Windows less,
the problem will go away, too.

thanks!



On 2/20/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On 2/20/06, Xn Nooby [EMAIL PROTECTED] wrote:
  For about a year I have noticed that whenever my Windows boxes talk to
 my
  Unix boxes, they communicate at about 1/10 normal speed. I copy lots
 (300GB)
  of large files back and forth between machines as I try different OS's,
 and
  I always see this.
 
  Specifically, if I copy from FreeBSD to FreeBSD, files transfer at 11
 megs
  per second.  Between FreeBSD and Linux, at about 8 megs per
 second.  Between
  FreeBSD and Windows, about 1 megabyte per second.  This is on identical
  hardware.  I've told other people about this, and they usually say I
 must be
  doing something wrong, but recently a friend of mine upgraded a Windows
 box
  to SP2, and now they are getting this same slowness.  When I copy from
  Windows to WIndows (XP or W2k), I get 11 megs per second.
 
  My machines are two P4's with gigabit NICs, and I'm using WinSCP and
  (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD.  It's always
 a
  shock when I have to copy my data to WIndows, and it takes 30 hours
 instead
  of 3.
 
  Does anyone else ever see this slowness when copying files between
 FreeBSD
  and Windows?
 
  Is Windows maybe capping the transfer speed when it talks to Unix?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

 It is very certainly a known issue. Not that its specifics and
 origins are clearly known, but most of us stumble upon it
 sooner or later. You can usually achieve wire speed only
 between two OSes of a kind. TCP/IP optimizations are
 very important here: if they differ, performance plummets.
 Depends on a multitude of things from quality of NICs to
 weather in your area. I've never been able to get more
 than 70Mbit/s between FreeBSD and Windows XP. I
 always get 90-100Mbit/s between two BSDs or two Win's.

 As for your case, 1MB/s is a serious limit. What can you
 tell us about CPU load? Interrupts? Can you try this:
 http://www.psc.edu/networking/projects/hpn-ssh/

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


PPPoE Max Tunnels

2006-02-20 Thread John Oxley
I hope this is the right place to post.

I'm having a problem with my PPPoE server in that it refuses to create
more than 30 tunnels.

net 10.42.73.38 -- xxx.xx.xxx.xx netmask 0x 
Opened by PID 2534
tun31: flags=8010POINTOPOINT,MULTICAST mtu 1500
tun32: flags=8010POINTOPOINT,MULTICAST mtu 1500

Are there any limits by default in the kernel that say you can only
create 32 tunnels, or could it be in the ppp.conf or pppoe setup
somewhere.

TIA,

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


Re: WinSCP mega-slowness

2006-02-20 Thread bsd
 Well, it's good to know I'm not the only one seing this. Right now both
 machines are running FreeBSD, since I gave up on waiting for Windows to
 copy
 the files.  The CPU load on Window when sending  1 meg per second is
 usually
 about 30%, while the Unix box is only at 1-2%.  When I have 2 Unix boxes
 sending/receiving, I think the load is like 4-5% on both.  I'm building a
 bunch of packages right now, so I can't get the exact number.  I could try
 the openssh patch later in the week, that would be great if there was a
 unix-side fix for this. Of course as I run FreeBSD more, and Windows less,
 the problem will go away, too.

 thanks!



 On 2/20/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On 2/20/06, Xn Nooby [EMAIL PROTECTED] wrote:
  For about a year I have noticed that whenever my Windows boxes talk to
 my
  Unix boxes, they communicate at about 1/10 normal speed. I copy lots
 (300GB)
  of large files back and forth between machines as I try different
 OS's,
 and
  I always see this.
 
  Specifically, if I copy from FreeBSD to FreeBSD, files transfer at 11
 megs
  per second.  Between FreeBSD and Linux, at about 8 megs per
 second.  Between
  FreeBSD and Windows, about 1 megabyte per second.  This is on
 identical
  hardware.  I've told other people about this, and they usually say I
 must be
  doing something wrong, but recently a friend of mine upgraded a
 Windows
 box
  to SP2, and now they are getting this same slowness.  When I copy from
  Windows to WIndows (XP or W2k), I get 11 megs per second.
 
  My machines are two P4's with gigabit NICs, and I'm using WinSCP and
  (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD.  It's
 always
 a
  shock when I have to copy my data to WIndows, and it takes 30 hours
 instead
  of 3.
 
  Does anyone else ever see this slowness when copying files between
 FreeBSD
  and Windows?
 
  Is Windows maybe capping the transfer speed when it talks to Unix?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

 It is very certainly a known issue. Not that its specifics and
 origins are clearly known, but most of us stumble upon it
 sooner or later. You can usually achieve wire speed only
 between two OSes of a kind. TCP/IP optimizations are
 very important here: if they differ, performance plummets.
 Depends on a multitude of things from quality of NICs to
 weather in your area. I've never been able to get more
 than 70Mbit/s between FreeBSD and Windows XP. I
 always get 90-100Mbit/s between two BSDs or two Win's.

 As for your case, 1MB/s is a serious limit. What can you
 tell us about CPU load? Interrupts? Can you try this:
 http://www.psc.edu/networking/projects/hpn-ssh/


If you have both the XP and FreeBSD machines on the same internal network,
why not enable file sharing on the XP box and use Samba Client on the
freeBSD box. I have found SMB to be a lot faster as it is running as a
service on XP.


Rob

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


Re: IPC Queues

2006-02-20 Thread Joerg Pernfuss
On Mon, 20 Feb 2006 03:12:39 -0600
Jason Resch [EMAIL PROTECTED] wrote:

 Hello everyone,
 
 My company is implementing an application which we plan will use
 shared memory and IPC mechanisms to coordinate work.  We would prefer
 to use POSIX message queues due to their better support for
 priorities, but from the research I have done thus far it appears
 none of the BSDs support POSIX queues.  My question is, does there
 exist some kernel patch or port that implements POSIX queues for
 FreeBSD?

FreeBSD-Current has POSIX message queues since last november thanks
to David Xu.

In regard to stability and/or performance I can't say anything
though as I don't run current.

-- 
| /\   ASCII ribbon   |  GnuPG Key ID | e86d b753 3deb e749 6c3a |
| \ / campaign against |0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
|  XHTML in email  |  Now featuring a brand new GPG-Key!  |
| / \ and news |  Please update your keyring. |


signature.asc
Description: PGP signature


Re: 6.0 stable: linuxpluginwrapper port build failure

2006-02-20 Thread Chandan Haldar
Thanks a lot for the direction.  All goes well until portupgrade asks me 
to run 'pkgdb -F',
which asks me to resolve stale dependencies.  I have a large number of 
ports installed and
the dependencies seem somewhat intractable for manual resolution.  Is 
this the only way
to resolve the stale dependencies or am I as usual missing something :-( 
?  From the pkgdb
manpage I could not understand the implication of the score and how that 
helps me

select a new dependency...

Chandan


Andrew Pantyukhin wrote:


On 2/20/06, Chandan Haldar [EMAIL PROTECTED] wrote:
 


Trying to build port linuxpluginwrapper on FreeBSD 6.0-Stable
(final goal is to get linux flash player work with firefox 1.0.7
on FreeBSD 6.0-Stable) fails at fetch of atk-1.2.0-2.i386.rpm.
Fetching manually results in checksum mismatch error.  Any known
workaround?  Transcript of session below.
   



# mv /usr/ports/distfiles /usr/
# rm -rf /usr/ports
# mkdir /usr/ports
# man portsnap...  wow
# portsnap fetch
# portsnap extract
# mv /usr/distfiles /usr/ports/
# echo '0 7 * * * root portsnap cron  portsnap update'  /etc/crontab
# cd /usr/ports/sysutils/portupgrade/
# make install clean
# rehash
# portupgrade -ak...  tea-time
# cd /usr/ports/www/linuxpluginwrapper/
# make install clean
# cp /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 /etc/
# cd /usr/ports/www/linux-flashplugin6/
# make install clean
# firefox 
 



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


Re: Bandwidth Problems with Freebsd 5.x

2006-02-20 Thread Olivier BONHOMME
ptitoliv a écrit :

Are the debian  freebsd on the same segment ?
if so, are they using the same router/gateway ?
  

There is a CISCO router between the two boxes.

did you customize/set up things, like ipfw or set specific things via
sysctl ?
  

I tried to customiser window scaling and tcp sendspace and recvspace

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


linux compatibility on 64 bit FreeBSD 5.4 and 6.0

2006-02-20 Thread Philip Sydney Lavers
Gentlemen,

I have spent several days reading all the documentation I can find but no 
reference to my problem.

linux compatibility:
# kldload linux# 
   OR
linux_enable=YES

both work on my FreeBSD 5.4 32 bit athlon.

On my opteron and athlon64 machines with FreeBSD 5.4 or 6.0 (both 64 bit 
versions) the linux_enable=YES in rc.conf has no effect, whilst 
# kldload linux

gives 
kldload: can't load linuxkldload: can't load linux: File exists

kldstat confirms that no linux.ko is present

I would be grateful for any advice as I have a 64 bit linux binary that i need 
to run

Thanking you,

Philip Lavers

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


fxp0 not working after update freebsd 4.10 - 4.11 STABLE]

2006-02-20 Thread Akoola

Hello,

I have done an update of my freebsd 4.10 to 4.11.

after the update finished compiling kernel and mergemaster.

I have my nic fxp0 always show the link status to 'no carrier'

I trie to force media and media opt on ifconfig to value has mentioned
on man fxp.

I have trie to recompile all the src and it's not working.

when I trie to force media with ifconfig
the first time i ifconfig fxp0 media 10baseT/UTP, the status changer to
active.

but when i trie to ping my gateway; nothing done.

The driver has correctly loaded in dmesg I don't see any mistake.

all of my service working on localhost and inet adresse of fxp0.

but impossible to contact any server name or ip adresse with ping.

I have ask to freenode irc channel after ask question@
but nobody can help me.
I have ask to unplug and plug in the cable.
no result.


Thanks you.


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


Re: WinSCP mega-slowness

2006-02-20 Thread Daniel A.
Hi,
I have the same issue here.
When I use SFTP (WinSCP) to transfer from my Windows XP SP2 box to my
local server, I can only utilize about 1/10'th of the bandwith
(100mbit).
On the other hand, when I use FTP or SMB to transfer files, I can
utilize the maximum bandwith.

On both boxes, the symptoms are the same:
- Lots of available CPU time
- No significant disk I/O
- Quite a lot of available RAM.
On 2/20/06, Xn Nooby [EMAIL PROTECTED] wrote:
 For about a year I have noticed that whenever my Windows boxes talk to my
 Unix boxes, they communicate at about 1/10 normal speed. I copy lots (300GB)
 of large files back and forth between machines as I try different OS's, and
 I always see this.

 Specifically, if I copy from FreeBSD to FreeBSD, files transfer at 11 megs
 per second.  Between FreeBSD and Linux, at about 8 megs per second.  Between
 FreeBSD and Windows, about 1 megabyte per second.  This is on identical
 hardware.  I've told other people about this, and they usually say I must be
 doing something wrong, but recently a friend of mine upgraded a Windows box
 to SP2, and now they are getting this same slowness.  When I copy from
 Windows to WIndows (XP or W2k), I get 11 megs per second.

 My machines are two P4's with gigabit NICs, and I'm using WinSCP and
 (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD.  It's always a
 shock when I have to copy my data to WIndows, and it takes 30 hours instead
 of 3.

 Does anyone else ever see this slowness when copying files between FreeBSD
 and Windows?

 Is Windows maybe capping the transfer speed when it talks to Unix?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: 6.0 stable: linuxpluginwrapper port build failure

2006-02-20 Thread Andrew Pantyukhin
On 2/20/06, Chandan Haldar [EMAIL PROTECTED] wrote:
 Thanks a lot for the direction.  All goes well until portupgrade asks me
 to run 'pkgdb -F',
 which asks me to resolve stale dependencies.  I have a large number of
 ports installed and
 the dependencies seem somewhat intractable for manual resolution.  Is
 this the only way
 to resolve the stale dependencies or am I as usual missing something :-(
 ?  From the pkgdb
 manpage I could not understand the implication of the score and how that
 helps me
 select a new dependency...


If you have some spare time, consider reinstalling all
the ports.

# pkg_delete -a
# cd /usr/ports/sysutils/portupgrade
# make install clean
# portinstall firefox mplayer whatever
(You only need to portinstall the leaf ports, everything
else will be installed by dependencies, naturally)

pkgdb -F is not a complicated process, but you'll
have to learn things like 'fam and gamin do the
same thing' or 'I don't have something, but I have
something-core'. Pkgdb tries to guess, but it does
a poor job at that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Daemon.gif for my private Website

2006-02-20 Thread Hubertus Kohl
 
Can I put the little Daemon on my privat Website?
Is there somewhere a Banner or something that I can use for my private site?
Who can tell me this with a little Background of the rights ?
Sorry for my bad english - but I think you understand what I mean.


Mit freundlichen Grüßen,

Hubertus Kohl
Vertrieb
BWG Informationssysteme GmbH
Nobelstr. 22, 76275 Ettlingen
 
Tel.:  +49 7243 7744-19
Fax:   +49 7243 7744-7719
Email:[EMAIL PROTECTED]
Internet: http://www.bwg.de/
 
www.schnelleralsdieposterlaubt.de
 
Kostenlos - aber nicht umsonst: unsere nächsten Veranstaltungen für Sie:
 
Bitte beachten Sie unsere nächsten Termine:
17.01.2006  -  know-how: IT-Security in Ettlingen 
16.02.2006  -  BWG IT-Kinoerlebnis 2006 - Server  Storage in Ettlingen
28.02.2006  -  know-how: IT-Security in Ettlingen

21.03.2006  -  know-how: IT-Security in Stuttgart

Weitere Informationen auf www.bwg.de im Bereich News/Events!


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


Re: fxp0 not working after update freebsd 4.10 - 4.11 STABLE]

2006-02-20 Thread Jerry McAllister
 
 Hello,
 
 I have done an update of my freebsd 4.10 to 4.11.

Before worrying about this, I would suggest you forget 4.11 and
upgrade to FreeBSD 6.0 or soon to 6.1.   I don't think any of
the 4.xxx or earlier versions area any longer supported.

I have not had any trouble with fxp[n] NICs on it.

jerry
`
 
 after the update finished compiling kernel and mergemaster.
 
 I have my nic fxp0 always show the link status to 'no carrier'
 
 I trie to force media and media opt on ifconfig to value has mentioned
 on man fxp.
 
 I have trie to recompile all the src and it's not working.
 
 when I trie to force media with ifconfig
 the first time i ifconfig fxp0 media 10baseT/UTP, the status changer to
 active.
 
 but when i trie to ping my gateway; nothing done.
 
 The driver has correctly loaded in dmesg I don't see any mistake.
 
 all of my service working on localhost and inet adresse of fxp0.
 
 but impossible to contact any server name or ip adresse with ping.
 
 I have ask to freenode irc channel after ask question@
 but nobody can help me.
 I have ask to unplug and plug in the cable.
 no result.
 
 
 Thanks you.
 
 
 Ha. Hakim
 [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: FreeBsd Help

2006-02-20 Thread Jerry McAllister
 
 
I am a college student at HLG college. I am a Computer Information
Systems major and I have chosen to present FreeBSD to my class as a
final project. I downloaded version 6.0 from the freeBSD Site. I made
a bootable CD-ROM from the ISO image disc one. The installation seemed
to have went ok, but when I go to put a password in for the root user
nothing happens. When I type letters the insertion point (cursor) just
stays in the same place as if no letters are being typed. When I turn
it on now it seems to boot up fine. After I type in my login name and
password I am unsure of how to install or run an application, which I
am required to do for the project. I have tried finding a basic
tutorial on the internet, but have been unable to do so. Please
Help!!!
  _
 

That is the normal behavior with passwords.
That is a security feature to make it less likely that someone
will be able to pick up or guess your password from the screen.

The entire handbook for FreeBSD is online at the www.freebsd.org weg site.
The web site also has FAQs and links to many other sites with such 
things as tutorials and people's personal experiences and solutions.
In addition, if you use Google to search for any FreeBSD topic you will 
find links to many handbook items, FAQs, questions postings tutorials 
and online publication articles on almost every subject and question 
you can think of, including what makes FreeBSD is so wonderful.

For example, try thinking of a topic such as password or root password 
and Google it +FreeBSD and you should find interesting things.
   eg Google password+freebsdor configure+freebsd or whatever

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


Re: Download

2006-02-20 Thread Jerry McAllister
 
 Dear Developers:
 
 
 I have been trying (FOR A LONGTIME) to download a FreeBSD Unix OS (i.e. 5.4, 
 6.0-RELEASE iso.i386).  But it has never worked.  I was wondering if your 
 company/team/crew have disabled it.
 If no then how can I go about doing that.

It is not disabled.
But your site or ISP may have set things up so that you have to 
use passive ftp or some port of your ports may be blocked by the ISP
or a local firewall.   Those are the likely problems.

Try switching to passive ftp first, or if that is they way you
are already running, try switching to active ftp.   The FreeBSD site
will do both.

If that doesn't help, start checking ports and your ISP's policies.

Good luck,

jerry

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


Re: Daemon.gif for my private Website

2006-02-20 Thread Chuck Swiger
Hubertus Kohl wrote:
 Can I put the little Daemon on my privat Website?
 Is there somewhere a Banner or something that I can use for my private site?
 Who can tell me this with a little Background of the rights ?
 Sorry for my bad english - but I think you understand what I mean.

Your english is OK, the information you've asked about is here:

http://www.freebsd.org/copyright/daemon.html

Or contact [EMAIL PROTECTED] directly...

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


Re: WinSCP mega-slowness

2006-02-20 Thread Xn Nooby
I can try that.  I'm not sure how to use Samba3, though.  I was trying to
help a friend use Samba, but I was use to Sama2, and Samba3 apparently
recquires a smb.conf file.  You use to be able to just do everything from
the command line, like (I think):

   smbclient //server/share /mnt/pnt -o
username=username,password=password

Apparently that doesnt work anymore, and I havent had time to figure out the
new way.  I think smbclient isn't even part of Samab3 (it could find it
after installing it).



On 2/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

  Well, it's good to know I'm not the only one seing this. Right now both
  machines are running FreeBSD, since I gave up on waiting for Windows to
  copy
  the files.  The CPU load on Window when sending  1 meg per second is
  usually
  about 30%, while the Unix box is only at 1-2%.  When I have 2 Unix boxes
  sending/receiving, I think the load is like 4-5% on both.  I'm building
 a
  bunch of packages right now, so I can't get the exact number.  I could
 try
  the openssh patch later in the week, that would be great if there was a
  unix-side fix for this. Of course as I run FreeBSD more, and Windows
 less,
  the problem will go away, too.
 
  thanks!
 
 
 
  On 2/20/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote:
 
  On 2/20/06, Xn Nooby [EMAIL PROTECTED] wrote:
   For about a year I have noticed that whenever my Windows boxes talk
 to
  my
   Unix boxes, they communicate at about 1/10 normal speed. I copy lots
  (300GB)
   of large files back and forth between machines as I try different
  OS's,
  and
   I always see this.
  
   Specifically, if I copy from FreeBSD to FreeBSD, files transfer at 11
  megs
   per second.  Between FreeBSD and Linux, at about 8 megs per
  second.  Between
   FreeBSD and Windows, about 1 megabyte per second.  This is on
  identical
   hardware.  I've told other people about this, and they usually say I
  must be
   doing something wrong, but recently a friend of mine upgraded a
  Windows
  box
   to SP2, and now they are getting this same slowness.  When I copy
 from
   Windows to WIndows (XP or W2k), I get 11 megs per second.
  
   My machines are two P4's with gigabit NICs, and I'm using WinSCP and
   (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD.  It's
  always
  a
   shock when I have to copy my data to WIndows, and it takes 30 hours
  instead
   of 3.
  
   Does anyone else ever see this slowness when copying files between
  FreeBSD
   and Windows?
  
   Is Windows maybe capping the transfer speed when it talks to Unix?
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
  
 
  It is very certainly a known issue. Not that its specifics and
  origins are clearly known, but most of us stumble upon it
  sooner or later. You can usually achieve wire speed only
  between two OSes of a kind. TCP/IP optimizations are
  very important here: if they differ, performance plummets.
  Depends on a multitude of things from quality of NICs to
  weather in your area. I've never been able to get more
  than 70Mbit/s between FreeBSD and Windows XP. I
  always get 90-100Mbit/s between two BSDs or two Win's.
 
  As for your case, 1MB/s is a serious limit. What can you
  tell us about CPU load? Interrupts? Can you try this:
  http://www.psc.edu/networking/projects/hpn-ssh/
 

 If you have both the XP and FreeBSD machines on the same internal network,
 why not enable file sharing on the XP box and use Samba Client on the
 freeBSD box. I have found SMB to be a lot faster as it is running as a
 service on XP.


 Rob


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


ftp problem

2006-02-20 Thread Sean

I have my bsd system setup to allow ftp.

However when I try to ftp a directory and the contents from another 
system it basically uses the directory as a file name and all contents 
in that directory are ignored.


I am guessing that I am doing something wrong when I type to get the 
directory and files, and not a system setup.


Any advice?

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


Re: Daemon.gif for my private Website

2006-02-20 Thread Simon Olofsson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

you might want to look at this two websites:
http://www.freebsd.org/art.html
and
http://www.freebsd.org/copyright/daemon.html

on 02/20/06 14:24 Hubertus Kohl said the following:
 Can I put the little Daemon on my privat Website?
 Is there somewhere a Banner or something that I can use for my private site?
 Who can tell me this with a little Background of the rights ?

- --
Mit freundlichem Gruß,
With best regards,

Simon Olofsson
http://www.olofsson.de

GPG-Key: 0x3D001BE0
http://www..olofsson.de/simon/keys/simon_olofsson.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD+dSFRM/k9z0AG+ARAlq0AJ0VJzJgmVVHKhVPwN+arpItuu6A7gCgwQh2
CcVgjLgAsyKhZZ8z1ZlLtws=
=YoX6
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Download

2006-02-20 Thread Chuck Swiger
Lorin Lund wrote:
 Luis Thillet wrote:
[ ... ]
 Many weeks ago I succeeded in downloading 6.0. But if you don't have
 broadband it's nearly hopeless. When I first learned of FreeBSD - years
 ago - I tried downloading the ISO disks by modem. I would start a
 download at bedtime but it never worked for me. I had to do it with just
 the boot floppies and let the rest of the distribution packages download
 as they installed. I had a lot of restarts to get the whole thing.

If you are downloading big files via modem, try a Windows download manager
like GetRight, http://www.getright.com/.

-- 
-Chuck

PS: A long time ago, the trial version used to display banner ads, but when
Gator tried to push the author into bundling more intrusive spyware with the
GetRight installer, he refused and switched to the trial version being
completely ad-free instead.  There are people on the right side of that line,
and those on the wrong side:

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


Re: ftp problem

2006-02-20 Thread Igor Robul
On Mon, Feb 20, 2006 at 09:37:41AM -0500, Sean wrote:
 I have my bsd system setup to allow ftp.
 
 However when I try to ftp a directory and the contents from another 
 system it basically uses the directory as a file name and all contents 
 in that directory are ignored.
Do you use Internet Explorer as FTP client?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with createing a tap interface.

2006-02-20 Thread Nikos Vassiliadis
On Sunday 19 February 2006 09:17, Vulpes Velox wrote:
 #ifconfig tap create
 ifconfig: SIOCIFCREATE: Invalid argument

 The if_tap module is loaded, but I can't seem to get around this. Any
 suggestions?

Yes, try to open the tap device and it will be created automagically...

[EMAIL PROTECTED]:0:/usr/ports/mail/imp# ifconfig tap0
ifconfig: interface tap0 does not exist
[EMAIL PROTECTED]:0:/usr/ports/mail/imp#  /dev/tap0
[EMAIL PROTECTED]:0:/usr/ports/mail/imp# ifconfig tap0 
tap0: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:bd:dc:d6:84:00
[EMAIL PROTECTED]:0:/usr/ports/mail/imp# 



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


Re: ftp problem

2006-02-20 Thread Chuck Swiger
Sean wrote:
 I have my bsd system setup to allow ftp.
 
 However when I try to ftp a directory and the contents from another
 system it basically uses the directory as a file name and all contents
 in that directory are ignored.
 
 I am guessing that I am doing something wrong when I type to get the
 directory and files, and not a system setup.
 
 Any advice?

FTP isn't really designed for recursive retrieval of a hierarchy of files,
although you can use an FTP mirror script from ports if need be.

rsync is a much better solution to the problem.

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


Re: Download

2006-02-20 Thread Xn Nooby
Maybe try this download manager:

http://www.freedownloadmanager.org




On 2/20/06, Jerry McAllister [EMAIL PROTECTED] wrote:

 
  Dear Developers:
 
 
  I have been trying (FOR A LONGTIME) to download a FreeBSD Unix OS (i.e.
 5.4,
  6.0-RELEASE iso.i386).  But it has never worked.  I was wondering if
 your
  company/team/crew have disabled it.
  If no then how can I go about doing that.

 It is not disabled.
 But your site or ISP may have set things up so that you have to
 use passive ftp or some port of your ports may be blocked by the ISP
 or a local firewall.   Those are the likely problems.

 Try switching to passive ftp first, or if that is they way you
 are already running, try switching to active ftp.   The FreeBSD site
 will do both.

 If that doesn't help, start checking ports and your ISP's policies.

 Good luck,

 jerry

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

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


Re: Download

2006-02-20 Thread Alex Zbyslaw

Luis Thillet wrote:


Dear Developers:


I have been trying (FOR A LONGTIME) to download a FreeBSD Unix OS 
(i.e. 5.4, 6.0-RELEASE iso.i386).  But it has never worked.  I was 
wondering if your company/team/crew have disabled it.

If no then how can I go about doing that.


You can buy a CD from somewhere like http://www.freebsdmall.com/cgi-bin/fm

--Alex

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


Re: Log analysis server suggestions?

2006-02-20 Thread Ashley Moran
On Thursday 16 February 2006 15:07, Nathan Vidican wrote:
I would advise against trying to log everything into SQL records, aside
 from the performance hit on translating log/write outputs to SQL
 inserts/queries then having the SQL server write to disk anyway, it just
 complicates things uneccessarily.

You are probably right.  I was thinking that it would be easier to search 
through in a database, but then, most of the issues we are interested in (eg 
disk failure) we want to know about *now*, rather than the sort of thing that 
are revealed by historical analysis.

 My advice would be to take a step back and look at what's important to you.
 I find it's best to
 work with a mixture of things and hack your own scripts to fill in the
 gaps.

Having looked at some logs, most of the stuff we are interested in probably is 
specific to our setup.  Log formats are so loose I doubt any off-the-shelf 
log analysis tool would be much good unless it was 10x more complex than most 
of the software we want to log anyway.

It's surprised me how much time and effort it takes to turn logs into useful 
data.  And I wonder how Windows admins get by at all?

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


Re: Path And 'cron'

2006-02-20 Thread Tim Daneliuk

Randy Pratt wrote:


On Sun, 19 Feb 2006 15:25:49 -0600
Tim Daneliuk [EMAIL PROTECTED] wrote:



Where is the default path for cron jobs established? (And can it
be changed...)




Take a look at:

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

and see if that answers your question.

Best regards,

Randy
--



Well ... it answered my question partially.  But as I looked back over
it, I realized my central questions are still unanswered:

  If I do not have a PATH= statement in a particular user's crontab,
  what is used for a default PATH?

  Is the path in /etc/crontab inherited somehow?

  Given that the default shell is /bin/sh, are the settings
  in /etc/profile observed?  If no PATH is established there either,
  what will cron use?

I am trying to determine the best place to establish correct global
PATH settings for all cron users so I don't have to edit each users'
crontab file when file locations are updated or changed.

TIA,

--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: Ruby crashes with portupgrade

2006-02-20 Thread Kövesdán Gábor

Andrew Pantyukhin wrote:


On 2/19/06, Kövesdán Gábor [EMAIL PROTECTED] wrote:
 


Hello,

Ruby always crashes and makes a coredump when I try to use portupgrade:

[EMAIL PROTECTED] portupgrade -ai
---  Session started at: Sun, 19 Feb 2006 15:32:51 +0100
[Updating the pkgdb format:dbm_hash in /var/db/pkg ... - 313 packages
found (-5 +4) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG]
Segmentation fault
ruby 1.8.4 (2005-12-24) [amd64-freebsd5]

Abort trap (core dumped)

I tried to reinstall both of them but no use. Have somebody experiencd
and fixed such issue?
   




1. Try removing /var/db/pkg/pkgdb.db
 


Thanks, it helped.


2. Try rebuilding ruby WITHOUT_PTHREADS
 


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


(no subject)

2006-02-20 Thread beni . brinckman
Hi all,

When attaching (hotplugging) my mp3 player (its a BeQube) to my fbsd
6.1-PreRelease, the whole pc freezes and a reset/reboot is all that is left.

In /var/log/messages this is what I get :

Feb 16 20:41:25 www kernel: umass1: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev
1.10/1.00, addr 2
Feb 16 20:41:26 www kernel: da5 at umass-sim1 bus 1 target 0 lun 0
Feb 16 20:41:26 www kernel: da5: USB 2.0 (FS) FLASH DISK 1.00 Removable
Direct Access SCSI-0 device
Feb 16 20:41:26 www kernel: da5: 1.000MB/s transfers
Feb 16 20:41:26 www kernel: da5: 245MB (503521 512 byte sectors: 64H 32S/T
245C)
Feb 16 20:41:27 www kernel: umass1: BBB reset failed, STALLED
Feb 16 20:41:27 www kernel: umass1: BBB bulk-in clear stall failed, STALLED
Feb 16 20:41:27 www kernel: umass1: BBB bulk-out clear stall failed, STALLED
Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): Synchronize cache failed,
status == 0x4, scsi status == 0x0
Feb 16 20:41:27 www kernel: umass1: at uhub2 port 1 (addr 2) disconnected
Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): lost device
Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): removing device entry
Feb 16 20:41:27 www kernel: umass1: detached

What goes wrong and more importend, how do I get my mp3 player attached
without freezing the whole pc ?

Thanks for any hints.

Beni.

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


Re: Log analysis server suggestions? [long]

2006-02-20 Thread Ashley Moran
On Thursday 16 February 2006 15:30, Chuck Swiger wrote:
 I'm not sure who the original poster was, but whoever is interested in this
 topic might benefit by reading a thread from the firewall-wizards mailing
 list:

snip

Cheers that was very useful- I've put it into our company Wiki so it can be 
ignored by everyone :)

I like the 3-stage processing:
 Simply design your analysis as an always 3-stage process consisting of:
 - weeding out and counting instances of uninteresting events
 - selecting, parsing sub-fields of, and processing interesting events
 - retaining events that fell through the first two steps as unusual

That solves the problem of missing logs that you didn't anticipate, although 
it adds a lot to the initial server configuration.

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


Re: CUPS Login

2006-02-20 Thread Eric Schuele

Chris Maness wrote:
I installed the port cups.  I did the http://localhost:631 thing.  That 
brought up the cups main page, but when I try to loging in as root,  the 
thing just hangs forever.  Any suggestions?


Is cupsd in fact running?



Thanks
Chris Maness

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





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


CUPS Problems

2006-02-20 Thread Chris Maness
It looks like cups accepts my root account and password, but it is just 
hanging when it authenticates.  There is nothing suspicious in the log.  
This is a fresh install of CUPS with FreeBSD 6.0  I had also had synced 
my ports tree a couple of weeks ago, so the CUPS port should be the 
latest.  Also, after it hangs, if I try a killall -9 cupsd, I get:


killall: warning: kill -KILL 20896: No such process

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


Re: BBB reset failed (Was: no subject)

2006-02-20 Thread Andrew Pantyukhin
On 2/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi all,

 When attaching (hotplugging) my mp3 player (its a BeQube) to my fbsd
 6.1-PreRelease, the whole pc freezes and a reset/reboot is all that is left.

 In /var/log/messages this is what I get :

 Feb 16 20:41:25 www kernel: umass1: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev
 1.10/1.00, addr 2
 Feb 16 20:41:26 www kernel: da5 at umass-sim1 bus 1 target 0 lun 0
 Feb 16 20:41:26 www kernel: da5: USB 2.0 (FS) FLASH DISK 1.00 Removable
 Direct Access SCSI-0 device
 Feb 16 20:41:26 www kernel: da5: 1.000MB/s transfers
 Feb 16 20:41:26 www kernel: da5: 245MB (503521 512 byte sectors: 64H 32S/T
 245C)
 Feb 16 20:41:27 www kernel: umass1: BBB reset failed, STALLED
 Feb 16 20:41:27 www kernel: umass1: BBB bulk-in clear stall failed, STALLED
 Feb 16 20:41:27 www kernel: umass1: BBB bulk-out clear stall failed, STALLED
 Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): Synchronize cache failed,
 status == 0x4, scsi status == 0x0
 Feb 16 20:41:27 www kernel: umass1: at uhub2 port 1 (addr 2) disconnected
 Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): lost device
 Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): removing device entry
 Feb 16 20:41:27 www kernel: umass1: detached

 What goes wrong and more importend, how do I get my mp3 player attached
 without freezing the whole pc ?

 Thanks for any hints.

 Beni.

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


Please, do not post with empty subject line.

Google on this: BBB reset failed, see the solutions,
try them, report here in case of trouble.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6.1 and opensound

2006-02-20 Thread Tim T Bos
What are the right dev permissions for a soundcard (M audio delta 1010le ) 10 
in 10 out running the OpenSoundSystem

/dev/dsp* 
/dev/audio* 
/dev/mixer* 
/dev/dspW* 
/dev/midi*

It works under root but thats really no option. I need to get the users (me 
myself and i) to acces the sound card and i think /dev/dsp1 tm 10 are the audio 
outputs and /dev/dspW1 tm 10  are the audio inputs.
I'm (as a user) a member of wheel and the permission currently say CRW.it 
is owned by the user (me) and the group is wheel.
I also have to mention i run FBSD 6.1 but the current available Opensound 
driver is for 6.0.

I did a chmod 666 to all audio devs and then the system hangs. 

Is there work going on on the audio subsystem?

Or i'm a doing sometheing stuppid?

My soundcard needs a pro licence from oss but that will cost me $60 for driver 
and pro option.:(

Please i'm desperado.. any pointers are welcome.

Peace T.

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


Re: CUPS Login

2006-02-20 Thread Chris Maness

Eric Schuele wrote:

Chris Maness wrote:
I installed the port cups.  I did the http://localhost:631 thing.  
That brought up the cups main page, but when I try to loging in as 
root,  the thing just hangs forever.  Any suggestions?


Is cupsd in fact running?



Thanks
Chris Maness

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






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


Append: CUPS Problems

2006-02-20 Thread Chris Maness

There are some errors in the CUPS log:

W [20/Feb/2006:09:44:19 -0800] Unknown username lp
I [20/Feb/2006:09:44:19 -0800] Loaded configuration file 
/usr/local/etc/cups/cupsd.conf

I [20/Feb/2006:09:44:19 -0800] Configured for up to 100 clients.
I [20/Feb/2006:09:44:19 -0800] Allowing up to 100 client connections per 
host.

I [20/Feb/2006:09:44:19 -0800] Full reload is required.
E [20/Feb/2006:09:44:19 -0800] LoadDevices: Unable to open backend 
directory /usr/lib/cups/backend: No such file or directory
I [20/Feb/2006:09:44:19 -0800] LoadPPDs: Read 
/usr/local/etc/cups/ppds.dat, 16 PPDs...

I [20/Feb/2006:09:44:19 -0800] LoadPPDs: No new or changed PPDs...
I [20/Feb/2006:09:44:19 -0800] Full reload complete.
---BeginMessage---
It looks like cups accepts my root account and password, but it is just 
hanging when it authenticates.  There is nothing suspicious in the log.  
This is a fresh install of CUPS with FreeBSD 6.0  I had also had synced 
my ports tree a couple of weeks ago, so the CUPS port should be the 
latest.  Also, after it hangs, if I try a killall -9 cupsd, I get:


killall: warning: kill -KILL 20896: No such process

Did it crash?

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

RE: equivalent to linux cp -al

2006-02-20 Thread Ben House
What about cpio?  cpio -dplm should do what you need it to.

This operates in pass-through to give you a recreation of the directories
rather than an archive.  Input is from standard i/p.

HTH.

BH

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chuck Swiger
Sent: Sunday, February 19, 2006 10:14 AM
To: Matias Surdi
Cc: freebsd-questions@freebsd.org
Subject: Re: equivalent to linux cp -al


Matias Surdi wrote:
 I've a script on a linux box wich makes backups, it uses the cp -al
 command to make hard links and preserve atributes.

 Is there an equivalent on FreeBSD?

cp -p comes reasonably close, but will duplicate files rather than
creating
hard links.  If you need to preserve hard links, consider using tar or maybe
rsync to do the copying instead.

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

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


Re: apsfilter question/problem

2006-02-20 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Feb 18 Eric Schuele spake forth boldly:


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. 


I don't have a fix to your apsfilter issue, but if you you are interested in 
another possible printing solution... try:


http://www.lanside.net/article.php?story=20031007161002250

It works well for me.  And is simple to setup.


Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
 thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org  downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
the apsfilter setup script found it  didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
 reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
Denny White


--
Regards,
Eric


Thanks. Got it installed but couldn't get it to work. Ran into
some real problems with what it did regarding my old Star 2410
dot-matrix printer. I shouldn't have fooled with that to begin
with. I had tried to set the old Star up with CUPS, but there
was no mention of a driver for it, or even the brand of printer.
I know some of the Epson drivers may work with it, but in the
meantime, I kept getting something sent to that printer, even
after I'd removed it from printcap  even rebooted. I fooled around
with the files I could find in /var/spool  downward, moved some
into a backup directory until I could get the old printer to
behave,  then started putting the files back. Afterward, cups
could no longer communicate with anything. I tried doing a
deinstall  reinstall, but the problem persisted. So, it's all
gone now, uninstalled. Will try again later with the other
solution I received in another post. Thanks for trying to help.
I think I've been eaten up by the dumbass in this issue. :)
I know others have trouble too, sometimes, setting up printing,
but I almost screwed my system up, just to print to a damned
winblows puter! :)

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD+bUAy0Ty5RZE55oRAtVDAJ9w+r5DA5t2usGFMl7gWyazuLMJmQCfQhQa
5BO7cQZd4FHMUpV6eHyBycI=
=ql/x
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to remove Boot Menu

2006-02-20 Thread Wayne

Hi All,

I have a new server loaded with 6.0-Release.  During the 
installation, I told it to use the boot manager -- boot0 if I have 
my terminology straight.


So on every start, I get the:
F1 FreeBSD
Default: F1
menu.

How can I get rid of this, and just boot straight into BSD?   Some 
online docs suggested:fdisk -b /boot/mbr /dev/ad4would work, 
but I've still got the menu.


Usually I'll poke around more before asking, but I really don't want 
to trash something, loose the partition table and have to start from 
scratch.  Suggestions?


  -Thanks,   Wayne

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


Re: hostname

2006-02-20 Thread eoghan

On 20 Feb 2006, at 00:26, Garrett Cooper wrote:


Thanks
I have changed it to home.nathaniel
im getting this on boot:
Feb 19 23:19:37 home sm-mta[405]: NOQUEUE: SYSERR(root):  
opendaemonsocket: daemon Daemon0: cannot bind: Can't assign  
requested address
Feb 19 23:19:37 home sm-mta[405]: daemon Daemon0: problem creating  
SMTP socket
Feb 19 23:19:37 home sm-mta[405]: NOQUEUE: SYSERR(root):  
opendaemonsocket: daemon Daemon0: server SMTP socket wedged: exiting


Try something similar to nathan.localdomain if you don't have  
either an NIS or DNS domain, since localdomain's kind of like a  
special keyword AFAIK for non-domain affiliated machines.

-Garrett


Thanks. I set sendmail_enable=NONE in my rc.conf and I no longer  
get the messages. Curious as I dont use sendmail and it only started  
to happen last night...

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


Re: Multiple DNS

2006-02-20 Thread bsd


Le 19 févr. 06 à 08:46, Robert Slade a écrit :


Hi,

I am looking for some advice. I have a network which is based on a
number of servers running FreeBsd 6.0 serving Win XP work stations.  
(yes

I know but..) The network is large enough to use DHCP and DNS for the
internal network, I have setup a DHCP server with a Dynamic DNS  
(Bind 9)

on one of the servers. That server is handling the LDAP side of the
domain.



Is your DNS server busy resolving internal requests or external ones ?

There appears to be a fair bit of DNS Traffic which leads to a  
secondary
DNS being required to take some of the load as DNS lookup are slow.  
The

question I have is should I just setup a cashing DNS on another server
using the primary as a forwarder or even several servers eg the mail
server and the secondary LDAP server, or should I setup a proper
secondary DNS using my ISP as a forwarder with dynamic updates from  
the

primary.



You should not forward anything to your ISP. This is probably the  
main reason for your DNS beeing slow.


You should make shure you have well defined your network in your conf  
(so that you don't resolve queries for outside users...)-
I would not advise you to forward any queries to your ISP as this  
will disable the capacity for your own server to build It's own  
resolver database and forward all the queries to the ISP (resulting  
in slow answers)!



Normaly you should configure the master and the slave to be  
authoritative for your internal domains.
And configure the master and the slave to resolve ALL the Internet  
domains for your internal network and none for outside domains.



DNS is very tightly related to network... And we don't have any clue  
for the topology of your Net.



SHORT ANSWER : DON'T FORWARD -- BUILD YOUR OWN DATABASE!!



Sorry if this is a bit vague, but I have no experience in this area.

Rob


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



«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Re: WinSCP mega-slowness

2006-02-20 Thread Martin Hepworth
Hate to do a me too, but I gotta agree.

I did the same file transfer using cygwin's scp and winscp and cygwin was
about 10x faster.


On 2/20/06, Xn Nooby [EMAIL PROTECTED] wrote:

 For about a year I have noticed that whenever my Windows boxes talk to my
 Unix boxes, they communicate at about 1/10 normal speed. I copy lots
 (300GB)
 of large files back and forth between machines as I try different OS's,
 and
 I always see this.

 Specifically, if I copy from FreeBSD to FreeBSD, files transfer at 11 megs
 per second.  Between FreeBSD and Linux, at about 8 megs per
 second.  Between
 FreeBSD and Windows, about 1 megabyte per second.  This is on identical
 hardware.  I've told other people about this, and they usually say I must
 be
 doing something wrong, but recently a friend of mine upgraded a Windows
 box
 to SP2, and now they are getting this same slowness.  When I copy from
 Windows to WIndows (XP or W2k), I get 11 megs per second.

 My machines are two P4's with gigabit NICs, and I'm using WinSCP and
 (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD.  It's always a
 shock when I have to copy my data to WIndows, and it takes 30 hours
 instead
 of 3.

 Does anyone else ever see this slowness when copying files between FreeBSD
 and Windows?

 Is Windows maybe capping the transfer speed when it talks to Unix?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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


Re: How to remove Boot Menu

2006-02-20 Thread [EMAIL PROTECTED]
On 2/20/06, Wayne [EMAIL PROTECTED] wrote:
 Hi All,

 I have a new server loaded with 6.0-Release.  During the
 installation, I told it to use the boot manager -- boot0 if I have
 my terminology straight.

 So on every start, I get the:
 F1 FreeBSD
 Default: F1
 menu.

 How can I get rid of this, and just boot straight into BSD?   Some
 online docs suggested:fdisk -b /boot/mbr /dev/ad4would work,
 but I've still got the menu.

bsdlabel -B /dev/ad4

might want to man bsdlabel before you assume
I haven't missed something.

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


Re: 6.0 stable: linuxpluginwrapper port build failure

2006-02-20 Thread Chris Whitehouse

Andrew Pantyukhin wrote:

On 2/20/06, Chandan Haldar [EMAIL PROTECTED] wrote:


Thanks a lot for the direction.  All goes well until portupgrade asks me
to run 'pkgdb -F',
which asks me to resolve stale dependencies.  I have a large number of
ports installed and
the dependencies seem somewhat intractable for manual resolution.  Is
this the only way
to resolve the stale dependencies or am I as usual missing something :-(
?  From the pkgdb
manpage I could not understand the implication of the score and how that
helps me
select a new dependency...




If you have some spare time, consider reinstalling all
the ports.


You might try sysutils/portmanager first. It upgrades lowest 
dependencies first then works it's way up the dependency tree so stale 
dependencies are not usually a problem. It works very well.


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


RE: freebsd-questions Digest, Vol 124, Issue 26

2006-02-20 Thread Don O'Neil
Chuck,
  Thanks for the response, this helps me a lot... My answers are inline:

Date: Sun, 19 Feb 2006 09:47:08 -0500
From: Chuck Swiger [EMAIL PROTECTED]
Subject: Re: 3Ware Escalade Issues
To: Don O'Neil [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1

Don O'Neil wrote:
 There appears to be a bad sector on one of the drives according to
smartctl,
 but nothing serious. 

What that may mean is that there have been many bad sectors, which have
been
corrected using the spares, until no more spare sectors are left for
replacements.

That drive may well fail catastrophically, soon.

I figured as much, which is why I'm going to re-build the whole array with a
new drive, etc... Fortunatly I got all my data off ok without any issues.

 However, every time the system tried to write to that sector in the
array,
 the system would freeze, and then reboot, and of course it would say the
 file system isn't clean, etc...
 
 Since the file system is 1 TB in size, it would take 8+ hours to FSCK it.
 The array is only striped, and not mirrored or built with redunancy. I'm
 basically using the card/driver to make one large volume for a web
server.

OK.  Well, if this data is important to you, you should give consideration
to
using a RAID-1, RAID-10, or RAID-5 configuration to gain redundancy.

Yes, and when I re-build it with will be RAID-5 rather than just RAID-0

 I have a few questions:
 
 1) Is this a known bug? I'm running FreeBSD 4.11 (for software
compatibility
. issues at the moment, I will upgrade at some point in the future)

Normally, the OS will only kill the affected processes using that sector,
but
without knowing where it is, perhaps it's affecting some important file
like the
kernel itself, /bin/sh...?

Actually the only thing that was on the array was a DB, so I think the
failure may have been causing MySQL to go nuts, and cascading up. 

 2) How can I trap the errors and eliminate the re-boot issue?

Shut down the system.  Replace the failing hard drive.  Use dd to make an
exact
copy onto the new drive on some other system. and put the new drive back
into
the array.  Note that the replacement drive must be an exact match for this
to
work, otherwise you will have to backup your data and rebuild the array.

Speaking of which, do you have known-good backups available?

Of course I have backups!! Never work without them. I'm going to re-build
with RAID-5 this time.

 3) Is there some way I can do a faster FSCK, or perhaps 'fool' the system
 into thinking the file system is clean?

If you update to 5.x or later, you can use background FSCK rather than
having to
wait for the FSCK to complete the way it does under 4.x.

I wasn't aware 5.x could do this. My next question is how are my existing
apps going to be affected by upgrading to 5.x? I have some builds of
packages that were done by a company that is no longer in operation. I
haven't fully figured out how they built the software yet so I can't
re-build under 5.X yet. If I try to put the elf binaries and the other
builds from 4.X on 5.X are they going to run ok or do I just need to give it
a try? Would you suggest going all the way to 6.x or sticking with the 5.x
chain?

 4) Any suggestions on how to fix this?

Also, if you update to 5.x, you can run the smartmon tools, which will let
you
do a drive self-test using SMART, this will give much better information
about
what is going on with the drive, and also give an estimate of its remaining
lifespan.

Yes, this would help a lot!!!

How old are the drives, if you know?

They're less than 2 years old, and still under warranty. This is the second
drive to fail and it's driving me nuts.

They're Maxtor DiamondMax Plus 9 6Y250P0 250 GB PATA drives... Never had a
problem with that particular drive until this batch. 

Can anyone suggest some good 250GB PATA drives for me to use? I might as
well swap them all out since I'm starting over. The 6000 series Escalade
card I'm using doesn't support anything more than 250 GB.

Thanks all again!!!
Don

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


serious 3ware 9500 problem on 5-stable and 6-stable

2006-02-20 Thread bogo logo
hi list,

i have a 3ware 9500-8 with 4x 400gb drives in a raid5 configuration running
FreeBSD 5.4-stable (as of last week) on amd64.  during a recent update, we
try to mount the 1.1TB partition, and we can see the first few directory
listings and so on, but when we try to `cd direectory` on a dir, the
computer just reboots.  is this a known problem?  and everytime i run fsck
on the raid5, it says that it cannot read superblock info and that some
negatve sectors could not be read..

THE FOLLOWING DISK SECTORS COULD NOT BE READ: -2003455344, -2003455343,
-2003455342, -2003455341, -2003455340, -2003455339, -2003455338,
-2003455337, -2003455336, -2003455335, -2003455334, -2003455333,
-2003455332, -2003455331, -2003455330, -2003455329,

..

anyone ran into thsi before? any hel pwoudl be appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: WinSCP mega-slowness

2006-02-20 Thread fbsd_user
There is a patch to OpenSSH to fix the buffer size problem caused be
the different operating systems OpenSSH runs on.  When the host and
remote are different operating systems the send/receive buffer sizes
do not match and this causes drastic slow down. Like in using Winscp
client connecting to a FreeBSD box or Linux box.

ports/security/hpn-ssh/

contains the patch code to fix this problem in sshd/ssh.

Check out the patches home page at
http://www.psc.edu/networking/projects/hpn-ssh/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Martin
Hepworth
Sent: Monday, February 20, 2006 2:16 PM
Cc: freebsd-questions@freebsd.org
Subject: Re: WinSCP mega-slowness


Hate to do a me too, but I gotta agree.

I did the same file transfer using cygwin's scp and winscp and cygwin
was
about 10x faster.


On 2/20/06, Xn Nooby [EMAIL PROTECTED] wrote:

 For about a year I have noticed that whenever my Windows boxes talk
to my
 Unix boxes, they communicate at about 1/10 normal speed. I copy lots
 (300GB)
 of large files back and forth between machines as I try different
OS's,
 and
 I always see this.

 Specifically, if I copy from FreeBSD to FreeBSD, files transfer at
11 megs
 per second.  Between FreeBSD and Linux, at about 8 megs per
 second.  Between
 FreeBSD and Windows, about 1 megabyte per second.  This is on
identical
 hardware.  I've told other people about this, and they usually say I
must
 be
 doing something wrong, but recently a friend of mine upgraded a
Windows
 box
 to SP2, and now they are getting this same slowness.  When I copy
from
 Windows to WIndows (XP or W2k), I get 11 megs per second.

 My machines are two P4's with gigabit NICs, and I'm using WinSCP and
 (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD.  It's
always a
 shock when I have to copy my data to WIndows, and it takes 30 hours
 instead
 of 3.

 Does anyone else ever see this slowness when copying files between
FreeBSD
 and Windows?

 Is Windows maybe capping the transfer speed when it talks to Unix?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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

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


Re: Every 12-hrs -- ad0: TIMEOUT - WRITE DMA

2006-02-20 Thread V.I.Victor
On Sun, 19 Feb 2006, Mike Tancsa wrote:

 On Sun, 19 Feb 2006 22:21:04 +, in sentex.lists.freebsd.questions
 you wrote:

 On Thu, 16 Feb 2006, Mike Tancsa wrote:

 For the last 4-days, our (otherwise OK) 5.4-RELEASE machine has been
 reporting:

 Feb 12 12:08:05 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) 
 LBA=2701279
 Feb 13 00:08:51 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) 
 LBA=2701279
 Feb 13 12:09:38 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) 
 LBA=2963331
 Feb 14 00:10:24 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) 
 LBA=2705947

 So -- can anyone help track this down?


 It sounds like a hardware issue. Install
 /usr/ports/sysutils/smartmontools and ask the drive to see whats up.

 I installed 'smartmontools' but haven't used as yet. I've been waiting to
 see what happens -- the problem simply stopped. There've been no ad0:
 TIMEOUT messages for 3-days.

 The errors get logged in the drive so you dont have to wait for more
 errors to happen. Start it running now so you can see if any of the
 bad counters are changing as well as to ask the drive what it was.
 My guess is you have some bad sectors the drive remapped.

OK. No problems found... And -- still -- no more ad0: TIMEOUTs

But, I'm not really surprised. As mentioned in the original post, a
2-gig file had been created that presumably moved-past any bad
sector patches; approx. midway during the TIMEOUT report period.

Plus -- since the drive is (was) storing email, writing logs, etc.
24-hrs a day, it seems improbable that bad-sectors would only show-up
every 12-hrs.

Although I'm uncomfortable with magic-fixes, I wonder if there's
more than a coincidental connection between setting the date and the
reports starting and stopping.





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


attaching an mp3 player / BBB reset failed

2006-02-20 Thread beni . brinckman
On Monday 20 February 2006 18:43, Andrew Pantyukhin wrote:
 On 2/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Hi all,
 
  When attaching (hotplugging) my mp3 player (its a BeQube) to my fbsd
  6.1-PreRelease, the whole pc freezes and a reset/reboot is all that is
  left.
 
  In /var/log/messages this is what I get :
 
  Feb 16 20:41:25 www kernel: umass1: vendor 0x10d6 USB 2.0(FS) FLASH DISK,
  rev 1.10/1.00, addr 2
  Feb 16 20:41:26 www kernel: da5 at umass-sim1 bus 1 target 0 lun 0
  Feb 16 20:41:26 www kernel: da5: USB 2.0 (FS) FLASH DISK 1.00 Removable
  Direct Access SCSI-0 device
  Feb 16 20:41:26 www kernel: da5: 1.000MB/s transfers
  Feb 16 20:41:26 www kernel: da5: 245MB (503521 512 byte sectors: 64H
  32S/T 245C)
  Feb 16 20:41:27 www kernel: umass1: BBB reset failed, STALLED
  Feb 16 20:41:27 www kernel: umass1: BBB bulk-in clear stall failed,
  STALLED Feb 16 20:41:27 www kernel: umass1: BBB bulk-out clear stall
  failed, STALLED Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0):
  Synchronize cache failed, status == 0x4, scsi status == 0x0
  Feb 16 20:41:27 www kernel: umass1: at uhub2 port 1 (addr 2) disconnected
  Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): lost device
  Feb 16 20:41:27 www kernel: (da5:umass-sim1:1:0:0): removing device entry
  Feb 16 20:41:27 www kernel: umass1: detached
 
  What goes wrong and more importend, how do I get my mp3 player attached
  without freezing the whole pc ?
 
  Thanks for any hints.
 
  Beni.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 Please, do not post with empty subject line.

 Google on this: BBB reset failed, see the solutions,
 try them, report here in case of trouble.

Of course that is what I did...

The solution most found is to modify /usr/src/sys/cam/scsi/scsi_da.c with adding
something like this :

{T_DIRECT, SIP_MEDIA_REMOVABLE, GENERIC, USB DISK DEVICE,
*}, /*quirks*/ DA_Q_NO_SYNC_CACHE
},
{
/*
 * Time DPA20B 1GB MP3 Player
 * PR: usb/81846
 */
{T_DIRECT, SIP_MEDIA_REMOVABLE, USB2.0*, (FS) FLASH DISK*,
*}, /*quirks*/ DA_Q_NO_SYNC_CACHE
},

The only thing is, that code is allready in my 6.1-PRERELEASE code, so no need
to add it again. I was hoping a Generic usb device should do the trick.

Another solution was to add device udbp# USB Double 
Bulk Pipe devices to
the kernel. Which is by default commented out in the Generic kernel. I
decommented and rebuild my kernel. Still no luck...

But I admit that I didn't check and test all 2.430 results that Google found. I
hoped to get a better answer here.

Beni.

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


Re: Bluetooth - obexapp - get/put files with spaces in names

2006-02-20 Thread dgmm
On Sunday 19 February 2006 13:58, Michal F. Hanula wrote:
 On Sun, Feb 19, 2006 at 01:25:28AM +, dgmm wrote:
  After some fiddling and hair pulling I eventually got my bluetooth
  adapter to see the mobile phone.
 
  I'd like to pull some files from it but either I'm not seeing the obvious
  or it just ain't obvious.
 
  Does anyone know how to change to a directory which has spaces in the
  name or get a file which has spaces in the name?

 $ obexapp -a siemens -c -C ftrn -f
 obex ls
 Access    Owner    Group    Size       Modified         Name
 RWD  W    n/a      n/a      n/a        01-Jan-04 00:00  Data/
 RWD  W    n/a      n/a      n/a        15-Jan-04 00:00  MMCard/
 Success, response: OK, Success (0x20)
 obex cd Data
 Success, response: OK, Success (0x20)
 obex ls
 Access    Owner    Group    Size       Modified         Name
  WD  W    n/a      n/a      n/a        01-Apr-04 03:00  System/
 RWD  W    n/a      n/a      n/a        01-Apr-04 03:00  Misc/
 RWD  W    n/a      n/a      n/a        01-Apr-04 03:00  Animations/
 RWD  W    n/a      n/a      n/a        01-Apr-04 03:00  Pictures/
 RWD  W    n/a      n/a      n/a        01-Apr-04 03:00  Sounds/
 RWD  W    n/a      n/a      n/a        01-Apr-04 03:00  Themes/
 RWD  W    n/a      n/a      n/a        01-Apr-04 03:00  Videos/
 RWD  W    n/a      n/a      n/a        01-Apr-04 03:00  Java/
 RWD  W    n/a      n/a      n/a        01-Apr-04 03:07  Skins/
 RWD  W    n/a      n/a      n/a        01-Apr-04 05:00  Voice memo/
 RWD  W    n/a      n/a      n/a        21-Oct-05 21:11  Sms
 archive/ RWD  W    n/a      n/a      n/a        19-Feb-06 14:55  Video
 clips/ Success, response: OK, Success (0x20)
 obex cd
 cd: remote directory Video clips
 Success, response: OK, Success (0x20)
 obex

 Not really intuitive.

Thanks.  That worked :-)

I'm sure I tried that, butI tried a lot of things and sometimes things are 
a little obscure..

Thanks again.

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

Quick question on newfs

2006-02-20 Thread mal content
I was setting up encrypted swap with GELI and accidentally
blew away my /tmp partition with:

# dd if=/dev/random of=/dev/ad0s1e bs=1m

Understandably, it will no longer allow me to mount /tmp,
so how do I use newfs to recreate the partition? I want to
be absolutely sure before entering any disk modifying
commands (just like I was absolutely sure last time...).

I'm guessing it's as simple as:

# newfs /dev/ad0s1e

cheers,
a1

(ps: please CC as I'm not on the list)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Edgeport USB-serial device

2006-02-20 Thread pbdlists
Hello,

Anybody ever tried to run one of the following usb-serial devices on a
FreeBSD 5/6 box? Does it work out of the box, not work at all, work with
some driver code adjustments?

There is something about ETHERPORT4 in /usr/src/sys/dev/usb/usb_quirks.c
and /usr/src/sys/dev/usb/usbdevs, but I'm not sure it's the same
Edgeport I'm looking at; the code says vendor INSIDEOUT, while I'm
looking at a product by Digi.

Edgeport/412 USB to 4 port USB and 12 port DB-9
Edgeport/416 USB to 4 port USB and 16 port DB-9
Edgeport/8 USB to 8 port RS-232 DB-9
see http://www.digi.com/products/usb/edgeport.jsp

Thanks,

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


Re: Edgeport USB-serial device

2006-02-20 Thread Brian McCann
Tried and failed.  It detected the device, but didn't know what to do
with it.  I was trying the Edgeport/4 and Edgeport/8s.

On 2/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hello,

 Anybody ever tried to run one of the following usb-serial devices on a
 FreeBSD 5/6 box? Does it work out of the box, not work at all, work with
 some driver code adjustments?

 There is something about ETHERPORT4 in /usr/src/sys/dev/usb/usb_quirks.c
 and /usr/src/sys/dev/usb/usbdevs, but I'm not sure it's the same
 Edgeport I'm looking at; the code says vendor INSIDEOUT, while I'm
 looking at a product by Digi.

 Edgeport/412 USB to 4 port USB and 12 port DB-9
 Edgeport/416 USB to 4 port USB and 16 port DB-9
 Edgeport/8 USB to 8 port RS-232 DB-9
 see http://www.digi.com/products/usb/edgeport.jsp

 Thanks,

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



--
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann
Systems  Network Administrator, K12USA

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Quick question on newfs

2006-02-20 Thread Glenn Dawson

At 02:43 PM 2/20/2006, mal content wrote:

I was setting up encrypted swap with GELI and accidentally
blew away my /tmp partition with:

# dd if=/dev/random of=/dev/ad0s1e bs=1m

Understandably, it will no longer allow me to mount /tmp,
so how do I use newfs to recreate the partition? I want to
be absolutely sure before entering any disk modifying
commands (just like I was absolutely sure last time...).

I'm guessing it's as simple as:

# newfs /dev/ad0s1e


That will do it.

-Glenn



cheers,
a1

(ps: please CC as I'm not on the list)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: Quick question on newfs

2006-02-20 Thread Jerry McAllister
 
 I was setting up encrypted swap with GELI and accidentally
 blew away my /tmp partition with:
 
 # dd if=/dev/random of=/dev/ad0s1e bs=1m
 
 Understandably, it will no longer allow me to mount /tmp,
 so how do I use newfs to recreate the partition? I want to
 be absolutely sure before entering any disk modifying
 commands (just like I was absolutely sure last time...).
 
 I'm guessing it's as simple as:
 
 # newfs /dev/ad0s1e

Yup.   For /tmp, I would just take the defaults.  They
are quite reasonable there.In fact, unless you have an
unusually large partition or one with an unusually large number
of files (thus a need for extra inodes), generally the defaults
work well with most partitions.

jerry

 
 cheers,
 a1
 
 (ps: please CC as I'm not on the list)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 

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


Re: Quick question on newfs

2006-02-20 Thread mal content
Thanks a lot for the confirmation, it worked nicely.

# newfs /dev/ad0s1e
# mount /tmp
# chmod 1777 /tmp

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


Re: kdm and fluxbox

2006-02-20 Thread RYAN vAN GINNEKEN

- Original Message -
From: Norberto Meijome [EMAIL PROTECTED]
To: RYAN M. vAN GINNEKEN [EMAIL PROTECTED]
Cc: Norberto Meijome [EMAIL PROTECTED],
freebsd-questions@freebsd.org
Sent: Sun Feb 19 19:12:03 2006
Subject: Re: kdm and fluxbox

RYAN M. vAN GINNEKEN wrote:
 Thanks to all and i will take your advice Norberto as i do not really
like kde that much anyway.  If i wanted window i would just install
windowsxp or maybe vista would be more like Kde any how i digress.  

 I am tiring to set up wdm and added this line to my /etc/ttys  

 ttyv8   /usr/X11R6/bin/wdm -nodaemon  xterm   on  secure

 followed the instructions below found on the fulxbox site but it does
not quite work

 http://fluxbox-wiki.org/index.php/Howto_add_fluxbox_to_wdm

 I get the wdm ok beasty is there, very cool backgound i might add,
seen it used in a theme somewhere. No matter what i pick for a windows
manager i get the stock Freebsd one wmaker i think? u know the one with
the terminal and green menu bars very vanilla.
green menu bars  = twm
wmaker = much better, check it out @ http://www.windowmaker.org
   An exception to this kde still works and failsafe gives me control
of the terminal window bottom right.

 Also i removed a bunch of managers out of the wdm-config file as i was
not using them like this.  

 DisplayManager*wdmWm:   wmaker:enlightenment:gnome:kde:fluxbox

 I still get failsafe and wmaker where do us suppose these come from.
Kde still works but not enlightenment gnome or flux box 

   

After editing the wdm-config, you need to restart wdm.
Ctrl-Alt-Backspace will kill the X server and re-read all the configs.

I did that

can you please post your wdm-config and a list of your package installed
? (or make them available online)

I have tried to attached them but my mail server is giving me grief with
attachment right now.

the relevant section in my config:
---
! It will run .xsession
!DisplayManager*wdmWm:   None
---
which means it will read .xsession in my home.
my .xsession is :

$ cat ~/.xsession
## RUNNING bbkeys from Blackbox because it feels more powerful
## to avoid conflicts with fluxbox's key mgr, I emptied .fluxbox/keys
bbkeys 
xscreensaver -no-splash 
fbpager -w 
#wmwifi 
sleep 1  gkrellm -w 
#fbdesk 
torsmo 
tilda 
skype 
gaim 
fluxbox
---

though I realise that I should be simply running startfluxbox and adding
all the other cmds to ~/.fluxbox/startup

I do not have an .xsession file in my home dir in fact i do not seem to
have an .xsession or an xsession file anywhere on my system just
Xsession see below

[EMAIL PROTECTED] find / -name xsession
[EMAIL PROTECTED] find / -name .xsession
[EMAIL PROTECTED] find / -name .Xsession
[EMAIL PROTECTED] find / -name Xsession
/usr/local/share/config/kdm/Xsession
/usr/X11R6/etc/gdm/Xsession
/usr/X11R6/lib/X11/xdm/Xsession
/usr/X11R6/lib/X11/wdm/Xsession


the contents of the wdm one is also attached

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

-- 
Computer King/CaNMail

http://www.computerking.ca http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

Maybe Computer Science should be in the College of Theology. -- R. S.
Barton 

ImageMagick-6.2.5.5 Image processing tools
ORBit-0.5.17_2  High-performance CORBA ORB with support for the C language
ORBit2-2.12.5_1 High-performance CORBA ORB with support for the C language
OpenEXR-1.2.2_1 A high dynamic-range (HDR) image file format
aalib-1.4.r5_1  An ascii art library
akode-2.0,1 Default KDE audio backend
akode-plugins-mpc-2.0,1 Musepack decoder plugin for akode
akode-plugins-mpeg-2.0,1 MPEG audio decoder plugin for akode
akode-plugins-oss-2.0,1 OSS output plugin for akode
akode-plugins-resampler-2.0,1 Resampler plugin for akode
akode-plugins-xiph-2.0,1 FLAC/Speex/Vorbis decoder plugin for akode
amspsfnt-1.0_3  AMSFonts PostScript Fonts (Adobe Type 1 format)
apache-ant-1.6.5_1  Java- and XML-based build tool, conceptually similar to mak
apr-db4-1.2.2_2 The Apache Group's Portability Library
arts-1.5.1,1Audio system for the KDE integrated X11 desktop
artswrapper-1.2.2   Setuid wrapper for arts
aspell-0.60.4_2 Spelling checker with better suggestion logic than ispell
at-spi-1.6.6_1  An Assistive Technology Service Provider Interface
atk-1.10.3  A GNOME accessibility toolkit (ATK)
autoconf-2.13.000227_5 Automatically configure source code on many Un*x 
platforms 
autoconf-2.59_2 Automatically configure source code on many Un*x platforms 
automake-1.4.6_2GNU Standards-compliant Makefile generator (1.4)
automake-1.9.6  GNU Standards-compliant Makefile generator (1.9)
bash-3.0.16_1   The GNU Project's Bourne Again SHell
bison-2.1_1

torrents.freebsd.org

2006-02-20 Thread Bob Johnson
torrents.freebsd.org (216.136.204.113:8080) does not seem to be
accepting any connections.  Neither ctorrent nor rtorrent will connect
to it, nor will a manual telnet connection.

torrents.freebsd.org:8080 is the tracker specified in the torrent
files downloaded from
ftp.freebsd.org/pub/FreeBSD/torrents/6.0-RELEASE.

Am I doing something wrong or is it down?

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


tar segmentation fault

2006-02-20 Thread Ben Paley
Hello,

I want to backup certain parts of my system regularly, so I made a directory 
which reflects the filesystem:

backup/
etc/ - link to /etc
usr/
home/
me/
somefile - link to some specific file in my 
home directory
public_html/
various_links_to/ -
directories_which/ -
really_exist_in_my/ -
public_html/ -

Basically it's a collection of symlinks to stuff I want backed up. Then I run

tar -cLvy -f /usr/home/me/backup/backup.tar.bz2 /usr/home/me/backup/source/

When source/usr/home/me/public_html is empty then it runs fine. But when I put 
any links in, tar dies with a segmentation fault.

Has anyone got any ideas why?

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


Shared object libm.so.4 not found

2006-02-20 Thread FlashWebHost . com
Hi,

I am getting follwing error when running perl script or even just calling perl.

freebsd# perl -v
/libexec/ld-elf.so.1: Shared object libm.so.4 not found
freebsd#

I am using

freebsd# uname -a
FreeBSD freebsd.netfreehost.com 5.2-RELEASE FreeBSD 5.2-RELEASE #0:
Sat Sep 17 20:14:10 BST 2005
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/FLASHWEBHOST 
i386
freebsd#

How do i fix the error ?

Regards,

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


Re: Path And 'cron'

2006-02-20 Thread Randy Pratt
On Mon, 20 Feb 2006 10:21:22 -0600
Tim Daneliuk [EMAIL PROTECTED] wrote:

 Randy Pratt wrote:
 
  On Sun, 19 Feb 2006 15:25:49 -0600
  Tim Daneliuk [EMAIL PROTECTED] wrote:
  
  
 Where is the default path for cron jobs established? (And can it
 be changed...)
 
  
  
  Take a look at:
  
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-cron.html
  
  and see if that answers your question.
  
  Best regards,
  
  Randy
  --
  
 
 Well ... it answered my question partially.  But as I looked back over
 it, I realized my central questions are still unanswered:
 
If I do not have a PATH= statement in a particular user's crontab,
what is used for a default PATH?

From man 5 crontab :

 Several environment variables are set up automatically by the cron
 (8) daemon.  SHELL is set to /bin/sh, PATH is set to /usr/bin:/bin,
 and LOGNAME and HOME are set from the /etc/passwd line of the
 crontab's owner.  HOME, PATH and SHELL may be overridden by
 settings in the crontab; LOGNAME may not.

Is the path in /etc/crontab inherited somehow?
 
Given that the default shell is /bin/sh, are the settings
in /etc/profile observed?  If no PATH is established there either,
what will cron use?
 
 I am trying to determine the best place to establish correct global
 PATH settings for all cron users so I don't have to edit each users'
 crontab file when file locations are updated or changed.

It seems that the PATH is being set in the source code, in particular
/usr/src/usr.sbin/cron/cron/pathnames.h :

 #ifndef _PATH_DEFPATH
 # define _PATH_DEFPATH /usr/bin:/bin
 #endif

I suppose its possible to change the source and rebuild but there may
be subtle interactions that aren't readily apparent that would need to
be considered.  There may even be a knob to tweak somewhere for this.

Sorry I can't give you a definitive answer on this.  Perhaps someone
with more direct experience can give you proper guidance here.  

Best regards,

Randy


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


network monitoring system with downtime reporting

2006-02-20 Thread Mark Jayson Alvarez
Hi,
  I'm looking for a network monitoring system with
downtime reporting. Currently, we are using nagios for
services monitoring and mrtg for traffic monitoring.
Do you know any tool which can report the downtimes of
a particular customer's internet link? We need it
because from time to time, customers are asking for
rebates because they say that their link went down a
couple of times, and mrtg cannot show this
accurately..

Thanks. 
-jay

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Every 12-hrs -- ad0: TIMEOUT - WRITE DMA

2006-02-20 Thread Jerry Bell
I had a drive dying and it showed up just like this - it turned out to 
be the daily scripts that scan for file changes, etc, and my backup 
script were tickling a back sector of the disk.  Have you run the 
smartctl -t long /dev/ad0 command to have it perform a full self test?  
You normally have to let that run for a while, then take another look at 
the smart error log to see if anything showed up.  Mine ended up having 
an error that the drive could not self correct. 

As to why you're able to write a 2 gig file without a problem - if you 
have some binary or config file or man file, etc sitting on those bad 
spots, you wouldn't be writing to those blocks.  Anytime a security 
script iterates through them, they would be tickling that block, causing 
an error.


Another possibility is that you have a bad ide cable.

Hopefully that is of some use.

Jerry
http://www.networkstrike.com

V.I.Victor wrote:

On Sun, 19 Feb 2006, Mike Tancsa wrote:

  

On Sun, 19 Feb 2006 22:21:04 +, in sentex.lists.freebsd.questions
you wrote:



On Thu, 16 Feb 2006, Mike Tancsa wrote:

  

For the last 4-days, our (otherwise OK) 5.4-RELEASE machine has been
reporting:

Feb 12 12:08:05 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2701279
Feb 13 00:08:51 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2701279
Feb 13 12:09:38 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2963331
Feb 14 00:10:24 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2705947

So -- can anyone help track this down?
  

It sounds like a hardware issue. Install
/usr/ports/sysutils/smartmontools and ask the drive to see whats up.


I installed 'smartmontools' but haven't used as yet. I've been waiting to
see what happens -- the problem simply stopped. There've been no ad0:
TIMEOUT messages for 3-days.
  

The errors get logged in the drive so you dont have to wait for more
errors to happen. Start it running now so you can see if any of the
bad counters are changing as well as to ask the drive what it was.
My guess is you have some bad sectors the drive remapped.



OK. No problems found... And -- still -- no more ad0: TIMEOUTs

But, I'm not really surprised. As mentioned in the original post, a
2-gig file had been created that presumably moved-past any bad
sector patches; approx. midway during the TIMEOUT report period.

Plus -- since the drive is (was) storing email, writing logs, etc.
24-hrs a day, it seems improbable that bad-sectors would only show-up
every 12-hrs.

Although I'm uncomfortable with magic-fixes, I wonder if there's
more than a coincidental connection between setting the date and the
reports starting and stopping.





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

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


Re: network monitoring system with downtime reporting

2006-02-20 Thread Jeremy Kister

On 2/20/2006 8:47 PM, Mark Jayson Alvarez wrote:

  I'm looking for a network monitoring system with
downtime reporting. Currently, we are using nagios for
services monitoring and mrtg for traffic monitoring.



try Argus.  the dev code is always good.

http://argus.tcp4me.com

--

Jeremy Kister
http://jeremy.kister.net./

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


Re: getline function

2006-02-20 Thread Michael P. Soulier
On 18/02/06 Tom Grove said:

 That works and I had looked into that earlier...it seems like it does a 
 lot more than just one function from the man page.  I guess I can use 
 that for now but I wonder why getline() is broken in gcc on FreeBSD?

getline() is from glibc. FreeBSD uses it's own libc. 

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgp6gImbNdA1r.pgp
Description: PGP signature


Re: Path And 'cron'

2006-02-20 Thread Tim Daneliuk

Randy Pratt wrote:

SNIP


  If I do not have a PATH= statement in a particular user's crontab,
  what is used for a default PATH?




From man 5 crontab :


 Several environment variables are set up automatically by the cron
 (8) daemon.  SHELL is set to /bin/sh, PATH is set to /usr/bin:/bin,
 and LOGNAME and HOME are set from the /etc/passwd line of the
 crontab's owner.  HOME, PATH and SHELL may be overridden by
 settings in the crontab; LOGNAME may not.




I wonder if I can use the PATH=$PATH:/my/new/stuff formulation in
a crontab file to preserve this default.  I'll have to look into that.


  Is the path in /etc/crontab inherited somehow?

  Given that the default shell is /bin/sh, are the settings
  in /etc/profile observed?  If no PATH is established there either,
  what will cron use?

I am trying to determine the best place to establish correct global
PATH settings for all cron users so I don't have to edit each users'
crontab file when file locations are updated or changed.



It seems that the PATH is being set in the source code, in particular
/usr/src/usr.sbin/cron/cron/pathnames.h :

 #ifndef _PATH_DEFPATH
 # define _PATH_DEFPATH /usr/bin:/bin
 #endif

I suppose its possible to change the source and rebuild but there may
be subtle interactions that aren't readily apparent that would need to
be considered.  There may even be a knob to tweak somewhere for this.


That's what I was hoping for - tweaking the source is not a very
clean way to solve my problem.

In case you're interested (or anyone else listening), it seems that
'chown' likes to live in /usr/sbin - i.e., A place not in the default
path.  As it happens, a root cron task is trying to run a script
that uses 'chown' and is thus failing.  I can change the PATH just
for root's crontab and solve the problem.  I was just curious if there
was a way to more broadly modify the defaults used by cron.

Thanks again, for your time in this matter ...


--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: WinSCP mega-slowness

2006-02-20 Thread Xn Nooby
would doing a 'make install clean' inside /usr/ports/security/hpn-ssh  fix
the default scp program?



On 2/20/06, fbsd_user [EMAIL PROTECTED] wrote:

 There is a patch to OpenSSH to fix the buffer size problem caused be
 the different operating systems OpenSSH runs on.  When the host and
 remote are different operating systems the send/receive buffer sizes
 do not match and this causes drastic slow down. Like in using Winscp
 client connecting to a FreeBSD box or Linux box.

 ports/security/hpn-ssh/

 contains the patch code to fix this problem in sshd/ssh.

 Check out the patches home page at
 http://www.psc.edu/networking/projects/hpn-ssh/


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Martin
 Hepworth
 Sent: Monday, February 20, 2006 2:16 PM
 Cc: freebsd-questions@freebsd.org
 Subject: Re: WinSCP mega-slowness


 Hate to do a me too, but I gotta agree.

 I did the same file transfer using cygwin's scp and winscp and cygwin
 was
 about 10x faster.


 On 2/20/06, Xn Nooby [EMAIL PROTECTED] wrote:
 
  For about a year I have noticed that whenever my Windows boxes talk
 to my
  Unix boxes, they communicate at about 1/10 normal speed. I copy lots
  (300GB)
  of large files back and forth between machines as I try different
 OS's,
  and
  I always see this.
 
  Specifically, if I copy from FreeBSD to FreeBSD, files transfer at
 11 megs
  per second.  Between FreeBSD and Linux, at about 8 megs per
  second.  Between
  FreeBSD and Windows, about 1 megabyte per second.  This is on
 identical
  hardware.  I've told other people about this, and they usually say I
 must
  be
  doing something wrong, but recently a friend of mine upgraded a
 Windows
  box
  to SP2, and now they are getting this same slowness.  When I copy
 from
  Windows to WIndows (XP or W2k), I get 11 megs per second.
 
  My machines are two P4's with gigabit NICs, and I'm using WinSCP and
  (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD.  It's
 always a
  shock when I have to copy my data to WIndows, and it takes 30 hours
  instead
  of 3.
 
  Does anyone else ever see this slowness when copying files between
 FreeBSD
  and Windows?
 
  Is Windows maybe capping the transfer speed when it talks to Unix?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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

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


6.0-release remote x application failure to open display

2006-02-20 Thread Ben Kaduk
Hi all,

I think this is probably a simple question, but I do not recall having
any difficulties on 5.2.1 or 5.3-beta3, which are the other versions
that I had run on this box.

I recently have performed a clean install of 6.0-release on this
machine, on a new hard drive, and then copied over the data and some
configuration files (ssh keys, etc.) from the old hard drive (it is a
slow machine, so I didn't want to build current).  Having done so, I
then tried to login remotely to this machine and run xmms (it is
mostly used as my music server), which failed with this error:
** CRITICAL **: Unable to open display
I have tried with passing the -X flag, and with passing the -Y flag to
ssh, but there is no change in behaviour.
Is there something that I have forgotten to enable, or is this unexpected?

Some information about the computer:
[EMAIL PROTECTED] uname -a
FreeBSD pleonasm.mooo.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Feb
20 01:22:19 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/PLEONASM  i386

dmesg is attached (if it makes it through the list).

Thanks,

Ben Kaduk


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

How to add 'polling' in rc.conf to the ifconfig line?

2006-02-20 Thread Rob

Hi,

With 5.X, polling was enabled by setting the
sysctl variable. However, with 6-Stable this
seems to be depreciated; instead polling should
be added per interface in the ifconfig line.

I used to have this in /etc/rc.conf:

ifconfig_sk0=inet 147.46.41.211 netmask
255.255.255.0
ifconfig_sk0_alias0=ether 00:50:bf:33:01:01

(Note that I need the alias0 line, to enforce a
particular hardware address for the interface)

How do I add polling here?
When I add 'polling' at the end of either line,
then the configuration is not done properly or
even not done at all.

Thanks,
Rob.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: WinSCP mega-slowness

2006-02-20 Thread Andrew Pantyukhin
On 2/21/06, Xn Nooby [EMAIL PROTECTED] wrote:
 would doing a 'make install clean' inside /usr/ports/security/hpn-ssh  fix
 the default scp program?

You should install hpn-ssh on both hosts. There's a
windows binary available on the website.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fastboot: hangs afer console line Rebooting

2006-02-20 Thread Rob

Hi,

I have bought a 'naked' motherboard (no case) and
assembled it to a computer myself (adding CPU, RAM
etc. myself). It's an ASUS P4S8X-MX with SIS chips.

It works all fine, except for the fastboot command.
Bootup from cold machine and shutdown all works
perfectly (shutdown -p now switches off the power).

However, when I do a 'fastboot', the console displays
the machine's down procedure, and then says:

 Rebooting

but nothing happens anymore after this.
I have to power off/on the machine, in order to
boot again.

Any idea why this is happening?
Are specific settings on the motherboard or in
the BIOS relevant to such a reboot?

Thanks,
Rob.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sos: boot fail

2006-02-20 Thread Pirat SRIYOTHA

Mike Tancsa wrote:


On Fri, 17 Feb 2006 10:11:15 +0700, in sentex.lists.freebsd.questions
you wrote:
 


i can not boot into single user mode or safe mode.

please help me.  and cc to me too.
   



Try and boot to your previous kernel.  If that is broken for some
reason as well, boot with something like Fresbie and install a generic
kernel on your disk and boot with it. 



i use this way but have to pay for lossing /etc/rc.con file, old one.
furthermore, my mouse does not move and get this message during boot

unable to open /dev/psm0: No such file or directory.


anyway, thanks so much indeed for your helps and hints.


To boot an older kernel, in the
boot menu, escape to the loader prompt
type unload
load /boot/kernel.old/kernel
load /boot/kernel.old/acpi.ko
boot

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)



 



with best regards,
psr

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


perl script to capture header...??

2006-02-20 Thread Gary Kline

People,

I think perl is the best way to capture 

NN THE FOR BAR

and

THE FOO BAR  NN+1

and create the header in HTML

CENTERTHE FOO BARBR
A NAME=#NN NN /ABR
/CENTER

such that each of ch1 thru ch5 have the title and below the
page number within A ... /A tags.  I want to label every
page number tagged so that people looking in the
table-of-contents anf the index can eailt jump to any page.

So I'll want to fgets() every line, capture the number and title
(which are saved in $1 and $2,$3,$4), right?

This book was scanned last summer; ready all but these final
tweaks.   Thanks for any specifics.

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: tar segmentation fault

2006-02-20 Thread Ben Paley
Sorry. left off some information that might come in handy!

me$ uname -srm
FreeBSD 6.0-STABLE i386
me$ pkg_info | grep tar
gtar-1.15.1_1   GNU version of the traditional tar archiver
startup-notification-0.8_1 Library that supports startup notification spec 
from freede
me$

Thanks,
Ben

 tar -cLvy -f /usr/home/me/backup/backup.tar.bz2 /usr/home/me/backup/source/

 When source/usr/home/me/public_html is empty then it runs fine. But when I
 put any links in, tar dies with a segmentation fault.

 Has anyone got any ideas why?

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