Re: Moving to new disk - just new install + moving user data?

2007-01-27 Thread Jay Chandler

Oliver Iberien wrote:
In the FAQ, under 9.2, How to I move my system over to my huge new disk?, it 
says: The best way is to reinstall the OS on the new disk, then move the 
user data over. By user data, does that mean /usr as a whole?


It sounds like this would mean (for me, running 6.0/KDE at the moment), 
putting a (minimal?) install of 6.2 on the new drive, getting the peripherals 
and drivers sorted out, then using dump to move the contents of the old /usr 
to the new /usr. 

That can't really be it -- can it? And how does KDE fit into this -- can I 
just activate kdm after having transferred /usr over?


Thanks,

Oliver 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
Well, if you're going to be migrating things, why not do this in two 
parts, and make sure your source and target systems are at the same OS 
revision level?


That'll catch out some problems you might not realize are there.

--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: The file system is full of it 


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


I am unable to connect to my ftp server from anything other than the local host

2007-01-27 Thread Guillermo Gonzalez

When I try to ftp localhost I get this:

[EMAIL PROTECTED] ~]$ ftp localhost
Trying ::1...
Connected to localhost.
220- Welcome message goes here  :D
220 tester FTP server (Version 6.00LS) ready.
331 Guest login ok, send your email address as password.
230- READ OR DIE!!1
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.

However, when I attempt to ftp to the box's ip I get:

[EMAIL PROTECTED] ~]$ ftp 192.168.1.108
Connected to 192.168.1.108.
421 Service not available, remote server has closed connection.

I'm running bsd 6.1.
I keep reading online that when that happens, it is due to a problem with
some config file.
I don't think there is a problem with it but I've listed it just in case.

pam file in /etc/pam.d/ftp

# auth
authrequiredpam_nologin.so  no_warn
authsufficient  pam_opie.so no_warn
no_fake_prompts
authrequisite   pam_opieaccess.so   no_warn allow_local
#auth   sufficient  pam_krb5.so no_warn
#auth   sufficient  pam_ssh.so  no_warn
try_first_pass
authrequiredpam_unix.so no_warn
try_first_pass

# account
#accountrequiredpam_krb5.so
account requiredpam_unix.so

# session
session requiredpam_permit.so

The program is the regular ftpd that comes with bsd.  I'm using inetd it
with a line
in inetd.conf:
ftpstream  tcp nowait  root/usr/local/libexec/ftpd ftpd -l -l

I also have a line in my passwd file for ftp as anonymous:
ftp:*:14:5:Anonymous FTP Admin:/home/ftp:/nonexistent
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.2 STABLE?

2007-01-27 Thread Marco Beishuizen
On stardate Fri, 26 Jan 2007, the wise Andreas Widerøe Andersen entered:

 I just finished making and installing world and a new kernel yesterday. I
 had cvsup'ed the latest src/ports with releng 6_2.
 
 I thought 6.2 STABLE was out, but a uname-a shows 6.2 RELEASE on my system.
 
 Am I missing something? :-)
 
 Best regards,
 Andreas

Hi Andreas,

Put releng_6 in your supfile instead of releng_6_2 and you'll get 
6.2-STABLE.

Marco

-- 
Christ died for our sins, so let's not disappoint Him.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

RE : Re: ISL intervlan routing

2007-01-27 Thread Fab
OK, but my switch doesn't support 802.1Q.
   
  I must change my switch if i want to make a intervlan routing ???
  Patch kernel for ISL support doesn't exist???


-
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT] Does ~ always point to $HOME?

2007-01-27 Thread Matthew Seaman
Bill Campbell wrote:
 On Fri, Jan 26, 2007, James Long wrote:
 Message: 24
 Date: Fri, 26 Jan 2007 09:22:44 -0800
 From: Bill Campbell [EMAIL PROTECTED]
 Subject: Re: [OT] Does ~ always point to $HOME?
 To: freebsd-questions@freebsd.org, Bill Campbell
 [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii

 My point isn't whether the FreeBSD /bin/sh expands it, but that not all
 systems are FreeBSD, and that one can have problems on other *NIX systems.

 Knowing where there may be differences, and avoiding the assumptions that a
 program behaves the same on all systems, can help writing code that's
 portable without surprises.
 This begs the rookie question:

 What is the portable way to determine an aribtrary user's home directory
 then, if ~username is not portable across shells?

 Does one just have to grep and awk /etc/passwd?  Is the format of
 /etc/passwd portable, such that one standard grep/awk sequence will 
 portably return the home directory for user username?
 
 Probably the most portable way to do this would be to use awk.  A
 simple script, homedir, might look like this:
 
 #!/bin/sh
 # getting the backwhacks correct is sometimes ``interesting''
 homedir=`awk -F: /^$1:/{print \\$6} /etc/passwd`
 
 [ -z $homedir ]  {
   echo 'empty home for ' $1 21
   exit 1
 }
 echo $homedir
 exit 0

That does assume that all the user information is stored within the
local /etc/passwd -- if you're using NIS or LDAP or anything
like that, then you need a method that calls getpwnam(3) for you. 

TIMTOWTDI:

pw user show -n $username | cut -d: -f 9   (But pw(8) is FreeBSD specific)

perl -le print +(getpwnam($username))[7];

su  $username -c 'echo $HOME'  (But only if the script is running with
root privileges)


Of course, none of these methods are guaranteed to work in all
circumstances.  In which case, you might as well choose to program
in a language or for an interpreter that is readily available on the
systems you are writing the code for and that provides the functionality
you need.  On FreeBSD that probably comes down to using ~username with
/bin/sh (with liberal comments warning of uportable assumptions, of
course) -- which should work unmodified with any of the *BSDs or MacOS X.
If you program the rest of the script carefully it should also work with
bash under Linux (and others) or even (I think) ksh on Solaris.

Portability is hard.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: thwarting repeated login attempts

2007-01-27 Thread Peter N. M. Hansteen
Peter Matulis [EMAIL PROTECTED] writes:

 You can run OpenBSD's pf in combination with authpf.  This mechanism 
 will alter firewall rules based on successful SSH logins.

authpf is great, but even overload rules can go a long way towards
eliminating the original poster's problem, see eg the suggestions in
my tutorial at http://home.nuug.no/~peter/pf/en/bruteforce.html
(http://home.nuug.no/~peter/pf/ for the full manuscript in a variety
of formats).

-- 
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
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sorta OT - Backup solutions Mac to FreeBSD

2007-01-27 Thread Martin Hepworth

Amanda works well on MacOSX and FreeBSD.

virtual tapes, encrypted backup and (just as important) easy to restore!

--
Martin

On 1/26/07, Gable Barber [EMAIL PROTECTED] wrote:


Hello all,
I have been poking around the 'Net a bit looking for an easy to use
backup solution for our Mac's (1 mini, 1 powerbook, more in the
future).

Basically there is a server, offsite (FBSD 6.2) with 2 RAID 5 arrays.
I would like to be able to set the 2 (for now) clients to
automatically, incrementally backup certain directories, nightly.
Something encrypted would be nice aswell.

This one looks interesting to me:

http://sourceforge.net/projects/areca/

If anyone has used an open source solution for this , I would
genuinely appreciate hearing about it.

Thanks in advance -

Gable Barber
___
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]


upgrading xfce4 fails

2007-01-27 Thread Markus Hoenicka
Hi all,

I'm having a hard time upgrading xfce4 on a FreeBSD 6.1 box. I've
tried portupgrade first, but as it bumped into a boatload of errors I
eventually had to resort to upgrade individual packages. This left me
with a mix of packages of xfce versions 4.2 and 4.4, and a build
failure in xfce4-mcs-manager which I'm unable to resolve:

/usr/local/lib/libxfcegui4.so: undefined reference to 
`xfce_desktop_entry_has_translated_entry'

All relevant xfce4 libraries which are listed as a dependency of this
package updated ok:

[EMAIL PROTECTED]:/var/db/pkg# ls libxf*
libxfce4gui-4.4.0:
libxfce4mcs-4.4.0:
libxfce4util-4.4.0:

The other xfce4 packages look like this (some not upgraded due to their
dependency on xfce4-mcs-manager):

[EMAIL PROTECTED]:/var/db/pkg# ls xfce4*
xfce4-appfinder-4.2.3:
xfce4-artwork-0.0.4_5:
xfce4-battery-plugin-0.2.0_8:
xfce4-calendar-4.2.3_1:
xfce4-clipman-plugin-0.4.1_3:
xfce4-cpugraph-plugin-0.2.2_4:
xfce4-desktop-4.2.3_1:
xfce4-fm-4.2.3_1:
xfce4-genmon-plugin-1.1_2:
xfce4-icon-theme-4.4.0:
xfce4-iconbox-4.2.3_1:
xfce4-mcs-manager-4.2.3:
xfce4-mcs-plugins-4.2.3_1:
xfce4-mixer-4.2.3_1:
xfce4-netload-plugin-0.3.2_1:
xfce4-notes-plugin-0.9.7_7:
xfce4-panel-4.2.3_1:
xfce4-print-4.2.3_1:
xfce4-session-4.2.3_1:
xfce4-systemload-plugin-0.3.4_5:
xfce4-systray-4.2.3_1:
xfce4-toys-4.2.3_1:
xfce4-trigger-launcher-4.2.3_1:
xfce4-utils-4.2.3_1:
xfce4-wm-4.2.3.2_1:
xfce4-wm-themes-4.4.0:
xfce4-xkb-plugin-0.3.3:

All non-xfce4 packages which the xfce4 packages depend upon appear to
have upgraded ok (or so portupgrade says).

Is there anything I can do except waiting for prebuilt packages?

regards,
Markus

-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with mhoenicka)
http://www.mhoenicka.de

___
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 enable linux flash player in firefox

2007-01-27 Thread Tijl Coosemans
On Thursday 25 January 2007 20:41, Erik Norgaard wrote:
 I see the new flash9 for linux has been included in ports, so I
 installed it - but how do I enable the plugin in Firefox? Does it
 work or does it crash?

You should check out the freebsd-ports mailing list archives. This has
been discussed maybe a week ago.

Basically, it works with linux-firefox and you can get sound if you
follow the intructions at

http://labs.adobe.com/wiki/index.php/Flash_Player:Additional_Interface_Support_for_Linux

You need to compile a file on a linux box and install the resulting
libflashsupport.so in /compat/linux/usr/lib

Flash9 is very unstable though, so you'll probably want to stay with
flash7 for now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spam and Viruses, Vandalism-l, the Mailing List from Hell.

2007-01-27 Thread Martin McCormick
Paul Schmehl writes:
 Uvscan is McAfee's antivirus product. Did you install it? There's a conf
 file in the files directory of that port. It defines AVSCANNER as /usr/
 local/bin/uvscan. That would require that you have McAfee Antivirus for
 FreeBSD installed. If this machine handles lots of mail, I wouldn't 
 suggest
 you use that. Uvscan launches a shell for each time it's called, and it
 will suck a lot of cpu and memory (based on our extensive comparison
 testing.)

Thank you very much.  I was a little fuzzy about how the
mcAfee product with its data base got there or what it looked
like, etc.

It is probably not worth the extra load to have
antivirus-milter on there although I see now that had mcAfee
been there, it would have probably done its job.

I am the only major inbound Email account on that system,
but it is a rather busy workhorse for our group and is already
busy enough that one notices slowdowns at times and, when we
check, it is all legitimate.  In this business, paranoia is a virtue.

Again, thanks for your help.

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


6.2 -- Linksys wusb11 wireless supported?

2007-01-27 Thread Bill
Hello Family,

I have FreeBSD-6.2 installed and I'm having no luck finding any support
docs nor any posts of successful usage with the (usb)Linksys WUSB11
wireless adapter.  Does anyone have this wireless device working?  If
so, is there any docs on it?

Thanks for any help in the area.


 

TV dinner still cooling? 
Check out Tonight's Picks on Yahoo! TV.
http://tv.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: how to enable linux flash player in firefox

2007-01-27 Thread Tsu-Fan Cheng

MM... we should write up a step-by-step How-to about this subject and have
it post on somewhere (or have it associated with firefox pkg-message), more
and more website pages depend on flash to function correctly, this is a
serious issue...

TFC

On 1/27/07, Andreas Davour [EMAIL PROTECTED] wrote:


On Sat, 27 Jan 2007, Tijl Coosemans wrote:

 Flash9 is very unstable though, so you'll probably want to stay with
 flash7 for now.

Since I have had serious problems getting even Flash7 to work, following
instructions found here at the list, could you please summarize the
steps for getting the older Flash version running? I'm begining to
suspect something more is needed than the information I've found. Do
e.g. I have to run firefox under Linux emulation?

/andreas

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
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]


customize floppies

2007-01-27 Thread Oliver Koch
Hello,

is it possible to customize the kernel in the images of the kernel
floppies (kern1.flp, kern2.flp, kern3.flp) for FreeBSD 6.2? I need a
custom kernel with a special kernel option for my bge network interface
(BGE_FAKE_AUTONEG) to get network access on my Intel Blade.

Thanks in advance!

Kind regards,

Oliver

-- 
Oliver Koch  Phone:  +49-(0)5323-72-2626
Computer Center  Fax:+49-(0)5323-72-3536
Clausthal University of Technology   E-Mail: [EMAIL PROTECTED]
Erzstraße 51 Web:  http://www.rz.tu-clausthal.de
38678 Clausthal-Zellerfeld, Germany



signature.asc
Description: OpenPGP digital signature


network problem

2007-01-27 Thread Tsu-Fan Cheng

hi people,
  I am using bt to download files and i know this is bad for netowrk...
anyhow..
sometimes my firefox returns the site not found on some popular sites,
such as yahoo and google, and it looks like firefox didnt try hard enough
before it gave it up. i have to ask it to reload to get it to hook up to
the website. my question is, is this solely due to that i am bting, or there
is something else i can do to make this better?? thanks !!

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


Re: FreeBSD 6.1 6.2 hanging and/or spontaneous rebooting

2007-01-27 Thread Joe Vender
On Saturday 27 January 2007 00:41, Ian Smith wrote:
 In freebsd-questions Digest, Vol 162, Issue 17
 As Message: 14
 On Fri, 26 Jan 2007 14:15:10 -0600 Joe Vender [EMAIL PROTECTED]
 wrote:

 Joe, I'm going to hack your message pretty mercilessly ..

   I need Help with a FBSD spontaneous rebooting and freezing issue.
  
   Here's a quick description of my computer system:
  
   I have a Compaq Presario 5184 desktop about 7 or 8 years old
   AMD K6-2 processor @ 380MHz
   320Mb RAM, 8Mb dedicated to video via BIOS
   Quantum Bigfoot TS-6.4A Hard Drive (~6Gb capacity)
   SiS 530 integrated graphics
   Zoom 56k DUALMODE external modem connected to the serial port
   CTX VL700 monitor (30-70/50-120 refresh rates)

 [..]

   worked fine under FBSD until I dial up the internet and start browsing,
   emailing or whatever. Then, when the computer is busy transferring
   packets, it suddenly reboots without warning. Sometimes, Konqueror will
   freeze, the mouse pointer will freeze for a few seconds before the
   reboot. It doesn't take very long on the internet before the
   lockup/reboot happens, only minutes. It happens over and over and over.
   I can't stay on the internet long enough to even use it.

 Nothing at all reported in /var/log/messages?

Not that I can recall. As I stated earlier, I had to remove FBSD and install 
Linux to be able to use this mailing list, but I did look through the logs 
after the spontaneous reboots and found nothing that indicated what was 
wrong.

   Remember, the spontaneous reboots and hangs only happen when I dial up
   the internet and start browsing or sending email or such, basically
   start sending/receiving packets. It doesn't happen when no packets are
   moving over the modem, only when its busy. It isn't the modem failing
   either, obviously, since the modem works flawlessly under Linux and
   windows.

 Ok.  You mean it sometimes 'hangs' and sometimes just reboots?

When I was using FBSD 6.1, it was always a spontaneous reboot, but the system 
would usually freeze for a couple of seconds before the reboot occurred. I 
found a notice in the errata on the FBSD website that sounded like it 
addressed what could be causing this problem: FreeBSD-EN-06:02.net, and I 
applied the patch to 6.1 and rebuilt the kernel. I thought that this had 
fixed the problem because I didn't get a spontaneous reboot after being on 
the net for a short time. But, I was wrong because It did spontaneous reboot, 
just not immediately after starting to use the net. So, that's when I moved 
on to FBSD 6.2. After setting it up to dial up using KPPP, I was on the net 
for maybe a half hour when it suddenly froze up. The computer was locked up. 
I had to hard reboot using the power button. After that, I put linux back on 
the system to seek help, since I didn't know what the problem was and I 
coundn't use FBSD to seek help.


   One more thing that may or may not be important. I remember seeing a
   message at boot up about IRQ 3 not in the list of probed ports or
   something to that effect. But, KPPP recognized my external modem without
   a problem. Its on /dev/ttyS0 in KPPP. My computer came with an internal
   winmodem piece of @#!$, but I removed that when I plugged in the Zoom
   external. The internal modem is no longer present. The external is
   plugged in to the serial port. Could this be an IRQ conflict or
   something like that? I'm assuming that the message was about the absent
   internal modem. Interrupts in KInfoCenter reports that serial is
   using interrupt 4. Please help. I don't mind going through the reinstall
   if I can get FreeBSD working.

 Ah, so you're using KPPP rather than FreeBSD's user PPP?  Have you tried
 using 'regular' user PPP? 

No. I'm new to FreeBSD, and KPPP was quicker and easier for me to get up and 
going, plus I like to have the icon docked into the system tray when I'm 
online.

 I don't know anything about KPPP, but would 
 expect with KDE's linux leanings that it would be using pppd instead.
 Where and how have you configured ppp?

I configured KPPP with the info needed to dial up.

 In ancient PC tradition, IRQ 4 is used for the first serial port, IRQ 3
 for the second.  Eg from /var/run/dmesg.boot here (also an older box):

  sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
  sio0: type 16550A

 I have sio1 disabled in /boot/loader.conf, just to quell such messages,
 but it seems yours is using the correct IRQ (4) for your ext. modem.

My computer originally came with an internal modem which was on COM1 under 
windows. COM2 would have been the serial nipple on the back of the computer. 
I removed the internal modem, and when I attached the external modem, I 
assume the serial controller on the motherboard reassigned the external 
nipple to COM1 and disabled COM2. The internal slot is empty, which I guess 
is why FBSD throws the error message about it being disabled.


   One last question. How do I get FBSD to completely power off my computer
  

Which version of Opera to use?

2007-01-27 Thread Gerard Seibert
I have been thinking of trying Opera in KDE to see if it works better
than Firefox. I have been having nothing but problems with Firefox and
Flash.

Would I be better off trying Opera or Linux-Opera? Both are offered in
the ports.

-- 
Gerard

Thought for the Day:

I think the most frightening thing about heredity and environment is
that our parents provide both.
___
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 enable linux flash player in firefox

2007-01-27 Thread Tore Lund
Andreas Davour wrote:
 On Sat, 27 Jan 2007, Tijl Coosemans wrote:
 
 Flash9 is very unstable though, so you'll probably want to stay with 
 flash7 for now.
 
 Since I have had serious problems getting even Flash7 to work, following 
 instructions found here at the list, could you please summarize the 
 steps for getting the older Flash version running? I'm begining to 
 suspect something more is needed than the information I've found. Do 
 e.g. I have to run firefox under Linux emulation?

I think it is not a matter of detailing steps.  I have used the steps
in question many times over in order to get linux-flashplugin7 working
with native Firefox, with no luck whatsoever.

However, after installing 6.2-RELEASE, I have added some packages with
portinstall -PP, and for some reason, linux-flashplugin7 now works on my
system.  I suspect this happened because my PKG_SITES is set to
ftp:.../i386/packages-6-stable/.  Most likely, some library was updated,
and this did the trick.  Wish I knew precisely which update that was.
-- 
Tore


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


commented LINT?

2007-01-27 Thread Dan Mahoney, System Admin

Hey all,

Back in 4.x, LINT was a fully-commented entity.  Now it appears to be 
built-on-the-fly, which is great for being sure every-option is in in a 
programmatic manner, but bad as far as being able to look at LINT for 
syntax or notes as to which options need to be added together (or are 
mutually exclusive).


Is there any way to get the restored version?

-Dan

--

I hate Windows

-Tigerwolf, Anthrocon 2004

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

___
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 enable linux flash player in firefox

2007-01-27 Thread Tijl Coosemans
On Saturday 27 January 2007 13:20, Andreas Davour wrote:
 On Sat, 27 Jan 2007, Tijl Coosemans wrote:
  Flash9 is very unstable though, so you'll probably want to stay
  with flash7 for now.
 
 Since I have had serious problems getting even Flash7 to work,
 following instructions found here at the list, could you please
 summarize the steps for getting the older Flash version running? I'm
 begining to suspect something more is needed than the information
 I've found. Do e.g. I have to run firefox under Linux emulation?

When I need to access a flash site (and only then, the rest are ads
anyway), I simply use linux-firefox (or linux-opera) with
linux-flashplugin7. That works by simply installing those ports. No
extra configuration is necessary.

If you want to use flash with native freebsd browsers, you need to use
linuxpluginwrapper (only for FreeBSD 5.x and 6.x). The details are
explained at

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html
http://freebsd.kde.org/howtos/konqueror-flash.php

If that doesn't work, please specify which FreeBSD version you're
using and which browser.
___
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 upgrade an exist freebsd to freebsd6.2 ?

2007-01-27 Thread Eric

Dak Ghatikachalam wrote:



On 1/26/07, *Eric* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Dak Ghatikachalam wrote:


 On 1/26/07, *Eric* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

 Halid Faith wrote:
  I have a machine 6.0-RELEASE. How do I upgrade it to
Freebsd6.2
 without any problem?
  Could you advise a useful site about that ?
  After upgrade, May a problem like cannot login the system
be ?
 
 
 people seem to like my instruction set:

 http://mikestammer.com/dokuwiki/bsd:updateos


 no issues reported yet! =)



 I could not access ?


   Permission Denied

 Sorry, you don't have enough rights to continue. Perhaps you
forgot to
 login?





sorry about that, give it a whirl now


Hi

I browsed the page understood most part  , I happened  to read 
theupgrade chapter  in release notes, but I remember someone on this 
list also mentioned to read from handbook, could not find that


BTW: Does this upgrade procedure apply and can it be used   to go from 
6.1 to 6.2 freeBSD  too ?


Thanks
DAk
yes, it will work from any version of 6 and up. It should work fine in 7 
unless the technique changes for some reason.


Hope it helps you! =)

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


WJ Henze NEW PROMO VIDEO/SLIDESHOW / BEST GIGS FROM 2005-2006

2007-01-27 Thread [EMAIL PROTECTED]

 if this mail does not display correctly...
  please visit: [1]http://www.fmam.net/27_01_2007/27_01_2007.html

  WJ HENZE
 (federation of drums/zenit/mona/skip/h9/ GERMANY)

 Watch WJH's latest promo video/slideshow of some of his remarkable
gigs in the last 2 years...

[2][wjhyoutube.jpg] 

[3][wjhslides.jpg] 
   [wjhenze.jpg] 

   W. Jorg Henze is internationally recognized as a DJ, producer and
   record label founder. He founded the labels Federation of Drums, Danza
   Electronica, Dawn, Delirium Red, Mona, H9, Skip, to name a few.
   Frankfurt-born Henze is always at the leading edge, as demonstrated
   not only by his performances as a DJ, but also by his many successful
   productions for world-renowned artists. He can already look back on a
   string of releases, produced together with gleaming techno artists
   from the likes of Oliver Lieb, Toni Rios, Frank Lorber, John Selway,
   Pascal FEOS, Marco Zaffarano, Thomas Heckmann, and too many more to
   mention. He has also done remixes for LSG, Robert Armani, Josh Wink,
   Amphetamine and labels including Primevil, Terminal M, Black Nation,
   Traction, Invasion, Pocket, Highland Beats, Endangered Species,
   Frisbee, Bound, Kneedeep, Ascend, Corachi, P.V., Speaker Attack,
   Deafult, Danza and his own Federation Of Drums. Of Henze's nearly 15
   aliases, his most notable alias, Gecko, delivered an outstanding
   energetic masterpiece of progressive tunes. Just Close Your Eyes was
   a wildy successful track, attaining play from many of the top DJs, as
   well as being licensed for nearly a dozen compilation CD's. With the
   release of more than fifty hit records a year, Joerg Henze ranks with
   the most productive artists in the electronic music scene. Raveline
   magazine describes Henze's style as, Music you listen to when you're
   on your way to the club. Henze left Neuton in 1997, and sold
   Delerium two years later. Since then he has devoted himself
   completely to music, as he says, Because music is and always will be
   my life.

  website
 [4]http://www.wjhenze.com
  myspace
 [5]http://www.myspace.com/wjhenze

   WJ HENZE (DJ SET 11/2006) NEW! - minimaltech/techhouse/techno
 [6]download here 


   FERO
   FM/AM
   [7]www.fmam.net
   [EMAIL PROTECTED]

   ...If someone believes that electronic music, after its blast, is now
   passing thru a crisis, perhaps he doesn't know how to differentiate
   the chaff from the wheat or cant find the golden needle in the huge
   hayloft of outputs made in domestic studios...

   SKYPE fmamskype
   ICQ 103 968 102
   AIM feroglobal
   MSN [EMAIL PROTECTED]

   e-mail disclaimer: This e-mail and any files and attachments
   transmitted with it are confidential. They are intended solely for the
   use of the intended recipient. E-mails are not binding for the
   purposes of making an artist booking and do not form a contractual
   obligation of any type. This message is sent in compliance of the new
   anti spamming bill, where as by providing method of contact and
   removal this message cannot be considered as spam.
___

[9]Change email address / Leave mailing list
   Hosting by [10]YourMailingListProvider

References

   1. http://www.fmam.net/27_01_2007/27_01_2007.html
   2. http://www.youtube.com/watch?v=oYAd2QBPOpQ
   3. http://www.youtube.com/watch?v=oYAd2QBPOpQ
   4. http://www.wjhenze.com/
   5. http://www.myspace.com/wjhenze
   6. http://www.fmam.net/audio/wjh_november_set.mp3
   7. http://www.fmam.net/
   8. mailto:[EMAIL PROTECTED]
   9. http://ymlp.com/[EMAIL PROTECTED]
  10. http://www.ymlp.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


My machine gave a panic

2007-01-27 Thread Halid Faith
I upgraded it to freebsd6.2. I got a panic again.
Debug info as below;
What do I have to change  ?
Thanks

# kgdb kernel.debug /var/crash/vmcore.0
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
Undefined symbol ps_pglobal_lookup]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd.

Unread portion of the kernel message buffer:
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x104
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc065bdcd
stack pointer   = 0x28:0xe95f5aec
frame pointer   = 0x28:0xe95f5af8
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 27775 (tcpserver)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 4d18h33m6s
Dumping 2037 MB (7 chunks)
  chunk 0: 1MB (142 pages) ... ok
  chunk 1: 2022MB (517451 pages) 2006 1990 1974 1958 1942 1926 1910 1894
1878 1862 1846 1830 1814 1798 1782 1766 1750 1734 1718 1702 1686 1670 1654
1638 1622 1606 1590 1574 1558 1542 1526 1510 1494 1478 1462 1446 1430 1414
1398 1382 1366 1350 1334 1318 1302 1286 1270 1254 1238 1222 1206 1190 1174
1158 1142 1126 1110 1094 1078 1062 1046 1030 1014 998 982 966 950 934 918
902 886 870 854 838 822 806 790 774 758 742 726 710 694 678 662 646 630 614
598 582 566 550 534 518 502 486 470 454 438 422 406 390 374 358 342 326 310
294 278 262 246 230 214 198 182 166 150 134 118 102 86 70 54 38 22 6 ... ok
  chunk 2: 15MB (3620 pages) ... ok
  chunk 3: 1MB (168 pages) ... ok
  chunk 4: 1MB (116 pages)

#0  doadump () at pcpu.h:165
165 __asm __volatile(movl %%fs:0,%0 : =r (td));
(kgdb) stack trace
Undefined command: stack.  Try help.
(kgdb) Stack backtrace
Undefined command: Stack.  Try help.
(kgdb) Stack backtrace:
Undefined command: Stack.  Try help.
(kgdb) list *0xc065bdcd
0xc065bdcd is in _mtx_lock_sleep (../../../kern/kern_mutex.c:548).
543  * If the current owner of the lock is executing on
another
544  * CPU, spin instead of blocking.
545  */
546 owner = (struct thread *)(v  MTX_FLAGMASK);
547 #ifdef ADAPTIVE_GIANT
548 if (TD_IS_RUNNING(owner)) {
549 #else
550 if (m != Giant  TD_IS_RUNNING(owner)) {
551 #endif
552 turnstile_release(m-mtx_object);
(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc0664ba6 in boot (howto=260) at ../../../kern/kern_shutdown.c:409
#2  0xc0664ecd in panic (fmt=0xc08d7d4d %s) at
../../../kern/kern_shutdown.c:565
#3  0xc0883cf0 in trap_fatal (frame=0xe95f5aac, eva=260) at
../../../i386/i386/trap.c:837
#4  0xc08834a6 in trap (frame=
  {tf_fs = -957939704, tf_es = -874971096, tf_ds = -379650008, tf_edi
= -873199744, tf_esi = 4, tf_ebp = -379626760, tf_isp = -379626792, tf_ebx
= -957927100, tf_edx = 6, tf_ecx = 0, tf_eax = 1, tf_trapno = 12, tf_err =
0, tf_eip = -1067074099, tf_cs = 32, tf_eflags = 65538, tf_esp = -379626352,
tf_ss = -957927244}) at ../../../i386/i386/trap.c:270
#5  0xc08700ca in calltrap () at ../../../i386/i386/exception.s:139
#6  0xc065bdcd in _mtx_lock_sleep (m=0xc6e73144, tid=3421767552, opts=0,
file=0x0, line=0) at ../../../kern/kern_mutex.c:546
#7  0xc070ef47 in ip_ctloutput (so=0xcbd9d590, sopt=0xe95f5c90) at
../../../netinet/ip_output.c:1198
#8  0xc071f747 in tcp_ctloutput (so=0xcbd9d590, sopt=0xe95f5c90) at
../../../netinet/tcp_usrreq.c:1038
#9  0xc06a0b3c in sosetopt (so=0xcbd9d590, sopt=0xe95f5c90) at
../../../kern/uipc_socket.c:1563
#10 0xc06a5ed9 in kern_setsockopt (td=0xcbf40780, s=0, level=1, name=1,
val=0x0, valseg=UIO_USERSPACE, valsize=6)
at ../../../kern/uipc_syscalls.c:1351
#11 0xc06a5dfa in setsockopt (td=0xcbf40780, uap=0x1) at
../../../kern/uipc_syscalls.c:1307
#12 0xc0884037 in syscall (frame=
  {tf_fs = -1078001605, tf_es = 59, tf_ds = -1078001605, tf_edi
= -1077940896, tf_esi = 3, tf_ebp = -1077941128, tf_isp = -379626140, tf_ebx
= 0, tf_edx = 0, tf_ecx = 0, tf_eax = 105, tf_trapno = 12, tf_err = 2,
tf_eip = 2081375367, tf_cs = 51, tf_eflags = 642, tf_esp = -1077941172,
tf_ss = 59}) at ../../../i386/i386/trap.c:983
#13 0xc087011f in Xint0x80_syscall () at ../../../i386/i386/exception.s:200
#14 0x0033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) info registers
eax0x0  0
ecx0x0  0
edx0x0  0
ebx0xc63b9c80   -969171840
esp

Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-01-27 Thread Zbigniew Szalbot
Hello,

 BTW: Does this upgrade procedure apply and can it be used   to go from
 6.1 to 6.2 freeBSD  too ?


 Thanks
 DAk

 yes, it will work from any version of 6 and up. It should work fine in 7
 unless the technique changes for some reason.

I upgraded from 6.1 to 6.2 last week following Eric's points which I like
for being clear and precise. The only issue you need to be cautious about
is when using mergmaster to merge changes for files you may have modified
in /etc/

I messed it up and as a result had to recrate /etc from a back up that I
accidentally (mind you!) made before upgrading.

Good luck!

-- 
Zbigniew Szalbot

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


Re: Which version of Opera to use?

2007-01-27 Thread Marco Beishuizen
On stardate Sat, 27 Jan 2007, the wise Gerard Seibert entered:

 I have been thinking of trying Opera in KDE to see if it works better
 than Firefox. I have been having nothing but problems with Firefox and
 Flash.
 
 Would I be better off trying Opera or Linux-Opera? Both are offered in
 the ports.

I'm using the native FreeBSD version with flash and that works great, so I 
can only recommend it. Also in my case FF constantly crashed when opening a 
site whith flash. Until recently only the linux-opera had flash support, 
but now they both have.

Marco
-- 
I might have gone to West Point, but I was too proud to speak to a
congressman.
-- Will Rogers
___
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 enable linux flash player in firefox

2007-01-27 Thread Erik Norgaard

Tijl Coosemans wrote:

On Thursday 25 January 2007 20:41, Erik Norgaard wrote:

I see the new flash9 for linux has been included in ports, so I
installed it - but how do I enable the plugin in Firefox? Does it
work or does it crash?


Basically, it works with linux-firefox and you can get sound if you
follow the intructions at

http://labs.adobe.com/wiki/index.php/Flash_Player:Additional_Interface_Support_for_Linux


Does this mean that I cannot use linux-flash with native Firefox? Can
flash be launched as a standalone application? If the answer is yes, no,
then I will file a bug report to have linux-firefox added to the
run-dependency list.

Cheers, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


My machine gave a panic

2007-01-27 Thread Halid Faith
I upgraded it to freebsd6.2. I got a panic again.
Debug info as below;
What do I have to change  ?
Thanks

# kgdb kernel.debug /var/crash/vmcore.0
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
Undefined symbol ps_pglobal_lookup]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd.

Unread portion of the kernel message buffer:
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x104
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc065bdcd
stack pointer   = 0x28:0xe95f5aec
frame pointer   = 0x28:0xe95f5af8
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 27775 (tcpserver)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 4d18h33m6s
Dumping 2037 MB (7 chunks)
  chunk 0: 1MB (142 pages) ... ok
  chunk 1: 2022MB (517451 pages) 2006 1990 1974 1958 1942 1926 1910 1894
1878 1862 1846 1830 1814 1798 1782 1766 1750 1734 1718 1702 1686 1670 1654
1638 1622 1606 1590 1574 1558 1542 1526 1510 1494 1478 1462 1446 1430 1414
1398 1382 1366 1350 1334 1318 1302 1286 1270 1254 1238 1222 1206 1190 1174
1158 1142 1126 1110 1094 1078 1062 1046 1030 1014 998 982 966 950 934 918
902 886 870 854 838 822 806 790 774 758 742 726 710 694 678 662 646 630 614
598 582 566 550 534 518 502 486 470 454 438 422 406 390 374 358 342 326 310
294 278 262 246 230 214 198 182 166 150 134 118 102 86 70 54 38 22 6 ... ok
  chunk 2: 15MB (3620 pages) ... ok
  chunk 3: 1MB (168 pages) ... ok
  chunk 4: 1MB (116 pages)

#0  doadump () at pcpu.h:165
165 __asm __volatile(movl %%fs:0,%0 : =r (td));
(kgdb) stack trace
Undefined command: stack.  Try help.
(kgdb) Stack backtrace
Undefined command: Stack.  Try help.
(kgdb) Stack backtrace:
Undefined command: Stack.  Try help.
(kgdb) list *0xc065bdcd
0xc065bdcd is in _mtx_lock_sleep (../../../kern/kern_mutex.c:548).
543  * If the current owner of the lock is executing on
another
544  * CPU, spin instead of blocking.
545  */
546 owner = (struct thread *)(v  MTX_FLAGMASK);
547 #ifdef ADAPTIVE_GIANT
548 if (TD_IS_RUNNING(owner)) {
549 #else
550 if (m != Giant  TD_IS_RUNNING(owner)) {
551 #endif
552 turnstile_release(m-mtx_object);
(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc0664ba6 in boot (howto=260) at ../../../kern/kern_shutdown.c:409
#2  0xc0664ecd in panic (fmt=0xc08d7d4d %s) at
../../../kern/kern_shutdown.c:565
#3  0xc0883cf0 in trap_fatal (frame=0xe95f5aac, eva=260) at
../../../i386/i386/trap.c:837
#4  0xc08834a6 in trap (frame=
  {tf_fs = -957939704, tf_es = -874971096, tf_ds = -379650008, tf_edi
= -873199744, tf_esi = 4, tf_ebp = -379626760, tf_isp = -379626792, tf_ebx
= -957927100, tf_edx = 6, tf_ecx = 0, tf_eax = 1, tf_trapno = 12, tf_err =
0, tf_eip = -1067074099, tf_cs = 32, tf_eflags = 65538, tf_esp = -379626352,
tf_ss = -957927244}) at ../../../i386/i386/trap.c:270
#5  0xc08700ca in calltrap () at ../../../i386/i386/exception.s:139
#6  0xc065bdcd in _mtx_lock_sleep (m=0xc6e73144, tid=3421767552, opts=0,
file=0x0, line=0) at ../../../kern/kern_mutex.c:546
#7  0xc070ef47 in ip_ctloutput (so=0xcbd9d590, sopt=0xe95f5c90) at
../../../netinet/ip_output.c:1198
#8  0xc071f747 in tcp_ctloutput (so=0xcbd9d590, sopt=0xe95f5c90) at
../../../netinet/tcp_usrreq.c:1038
#9  0xc06a0b3c in sosetopt (so=0xcbd9d590, sopt=0xe95f5c90) at
../../../kern/uipc_socket.c:1563
#10 0xc06a5ed9 in kern_setsockopt (td=0xcbf40780, s=0, level=1, name=1,
val=0x0, valseg=UIO_USERSPACE, valsize=6)
at ../../../kern/uipc_syscalls.c:1351
#11 0xc06a5dfa in setsockopt (td=0xcbf40780, uap=0x1) at
../../../kern/uipc_syscalls.c:1307
#12 0xc0884037 in syscall (frame=
  {tf_fs = -1078001605, tf_es = 59, tf_ds = -1078001605, tf_edi
= -1077940896, tf_esi = 3, tf_ebp = -1077941128, tf_isp = -379626140, tf_ebx
= 0, tf_edx = 0, tf_ecx = 0, tf_eax = 105, tf_trapno = 12, tf_err = 2,
tf_eip = 2081375367, tf_cs = 51, tf_eflags = 642, tf_esp = -1077941172,
tf_ss = 59}) at ../../../i386/i386/trap.c:983
#13 0xc087011f in Xint0x80_syscall () at ../../../i386/i386/exception.s:200
#14 0x0033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) info registers
eax0x0  0
ecx0x0  0
edx0x0  0
ebx0xc63b9c80   -969171840
esp

Re: Can not compile kernel.

2007-01-27 Thread applecom

Grant Wagner [EMAIL PROTECTED] wrote:

Now I have a custom kernel which is failing to build. I've attached the  
config file for it, and it fails trying to build with references about  
ieee80211. The odd thing is I have no wireless in my box and have  
commented out all the wireless references. What else is dependant on  
them and should be commented out as well? The last bit of output is  
below.



 if_ural.o(.text+0xe5): In function `ural_next_scan':
 : undefined reference to `ieee80211_next_scan'
 *** Error code 1
Stop in /usr/obj/usr/src/sys/STRIPPED.
 *** Error code 1
Stop in /usr/src.
 *** Error code 1


Remove 'device ural' from your kernel config. file. Ural is a driver for  
wireless adapters and depends on 'device wlan' which is commented in your  
conf. file.

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


Re: upgrading xfce4 fails

2007-01-27 Thread Warren Block

On Sat, 27 Jan 2007, Markus Hoenicka wrote:


I'm having a hard time upgrading xfce4 on a FreeBSD 6.1 box. I've
tried portupgrade first, but as it bumped into a boatload of errors I
eventually had to resort to upgrade individual packages. This left me
with a mix of packages of xfce versions 4.2 and 4.4, and a build
failure in xfce4-mcs-manager which I'm unable to resolve:

/usr/local/lib/libxfcegui4.so: undefined reference to 
`xfce_desktop_entry_has_translated_entry'


Saw that, or something like it.


All non-xfce4 packages which the xfce4 packages depend upon appear to
have upgraded ok (or so portupgrade says).

Is there anything I can do except waiting for prebuilt packages?


pkg_delete or make deinstall everything xfce\* and libxfce\*, then just 
install /usr/ports/x11-wm/xfce4.  From what I've seen so far, xfce4.4 is 
definitely worth it.


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


Who wants e little nice pc to fix the wlan-driver and the sound-driver?

2007-01-27 Thread G Hasse
Dear Sirs,

I have found a little nice pc that I want to use FreeBSD
on. It is just 99$ and works nice but...

http://www.ewayco.com/

The Wlan is a VIA Networking VNT6655AM
and as sound there is a Realtek RTL ALC202.

I can't get those chips working. I anyone would 
like to fix drivers I can donnate a PC.

-- 
Göran Hasse


Göran Hasseemail: [EMAIL PROTECTED] Tel: 08-6949270
Raditex AB http://www.raditex.seFax: 070-??
Planiavägen 15, 1tr Mob: 070-5530148
131 34  NACKA, SWEDEN OrgNr: 556240-0589
VAT: SE556240058901
--

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


Re: [OT] Does ~ always point to $HOME?

2007-01-27 Thread Bill Campbell
On Sat, Jan 27, 2007, Matthew Seaman wrote:
Bill Campbell wrote:
...
 Probably the most portable way to do this would be to use awk.  A
 simple script, homedir, might look like this:
 
 #!/bin/sh
 # getting the backwhacks correct is sometimes ``interesting''
 homedir=`awk -F: /^$1:/{print \\$6} /etc/passwd`
 
 [ -z $homedir ]  {
  echo 'empty home for ' $1 21
  exit 1
 }
 echo $homedir
 exit 0

That does assume that all the user information is stored within the
local /etc/passwd -- if you're using NIS or LDAP or anything
like that, then you need a method that calls getpwnam(3) for you. 

A one-liner that should take care of these is:

python -c import os.path; print os.path.expanduser('~$username')

(This doesn't work with python-1.5.1 on an ancient Linux system
as os.path didn't appear until later).


Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders, give
orders, cooperate, act alone, solve equations, analyze a new problem, pitch
manure, program a computer, cook a tasty meal, fight efficiently, die
gallantly.  Specialization is for insects.'' Robert Heinlein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Local mirror

2007-01-27 Thread DeuZa

Hi the list,

For 3 box I want make a little mirror :

I have activate anonymous account behind a NAT, in private adress so ..
No problem about secu

All the 2 hours i have a little script for synchronisate this directory :

ROOT=/var/ftp/pub/FreeBSD
$ROOT/tools (for installation)
$ROOT/ports/distfiles/ (53Go All the last ports sources ?)
$ROOT/ports/i386/packages-6.2-release/ (15Go All the last package for
6.2-RELEASE ?)
$ROOT/ports/i386/packages-6-stable/ (20Go All the last packages for
6-STABLE)
$ROOT/releases/i386/6.2-RELEASE (282Mo For make installation about this
server)
$ROOT/releases/i386/ISO-IMAGES/6.2 (1,4Go To have some my hands :)

My questions is for mirror-master :)
What's your politic about distfiles/ packages*/ directory ?
How many time about retention

We're ok if my 3 boxes are in /etc/make.conf :

MASTER_SITE_BACKUP?=
ftp://localserver/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=${MASTER_SITE_BACKUP}

I using portinstall/portupgrade
In the /usr/local/etc/pkgtools.conf I have add :


 USE_PKGS = [
   '*',
 ]



All is fine ?

Thanks for your help

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


Pentium 3 Clock Frequency Control

2007-01-27 Thread FK
Hi all,

Is it posible to control Pentium 3 clock frequency on FreeBSD?

The purpose is to reduce the power consumption and lengthen battery
life.

In addition, how can we know what speed of cpu clock frequecy a cpu 
supports and what speed a cpu take at any given time? I suppose
that a command which returns each information exist.

Well, a couple years ago I patched to, if I remember correctly,
 5.4 kernel and it made this need possible at least on Pentium M. 
I tried to find the web page but I failed.

I am using FreeBSD6.0-RELEASE now.

Thank you.

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


Issues with mpt driver

2007-01-27 Thread Thaddeus Quintin

Hey everyone.

I'm trying to get an install done of FreeBSD 6.2 on a Dell PowerEdge
SC1435 w/ a Dell SAS 5 adapter (Made by LSI).  The mpt driver detects
this correctly, but as soon as I do something that involves a stream
of disk activity (like update the ports tree), it goes into a frenzy,
reporting a constant stream of-

Attempting to abort req [REQ INFO]
abort of req [REQ INFO] completed

into the syslog.

This is an AMD Opteron system and I've tried it with AMD64 and i386
and both have the same result.


Are there any immediate, obvious solutions for such a thing? Even a
complicated solution would be ok at this point!

What  other information might I need to provide to help you out?

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


Re: upgrading xfce4 fails

2007-01-27 Thread John Nielsen
On Saturday 27 January 2007 11:21, Warren Block wrote:
 On Sat, 27 Jan 2007, Markus Hoenicka wrote:
  I'm having a hard time upgrading xfce4 on a FreeBSD 6.1 box. I've
  tried portupgrade first, but as it bumped into a boatload of errors I
  eventually had to resort to upgrade individual packages. This left me
  with a mix of packages of xfce versions 4.2 and 4.4, and a build
  failure in xfce4-mcs-manager which I'm unable to resolve:
 
  /usr/local/lib/libxfcegui4.so: undefined reference to
  `xfce_desktop_entry_has_translated_entry'

 Saw that, or something like it.

  All non-xfce4 packages which the xfce4 packages depend upon appear to
  have upgraded ok (or so portupgrade says).
 
  Is there anything I can do except waiting for prebuilt packages?

 pkg_delete or make deinstall everything xfce\* and libxfce\*, then just
 install /usr/ports/x11-wm/xfce4.  From what I've seen so far, xfce4.4 is
 definitely worth it.

I've updated 3 machines so far using portupgrade and haven't had any undue 
trouble. It went something like this:

#portsnap fetch update  pkgdb -F  pkg_version -v -l ''
(my usual upgrade starter)
pkgdb tells me a bunch of xfce4 ports are now obsolete. I tell it to try to 
delete them. It fails. I interrupt it (^C) and manually uninstall the 
meta-port:
# pkg_deinstall x11-wm/xfce4
Then 
# pkgdb -F
again, again telling it to delete the obsolete ports. This time it succeeds. 
Now the money shot:
# portupgrade -rR xfce\*  portupgrade -N x11-wm/xfce4
Updates everything and re-installs the meta-port, which has a couple new 
dependencies. Note that lots of the ports being updated have OPTIONS 
screens, so either keep an eye on it or run through them in advance (see 
the archives for scripted ways of doing this).

I second Warren's endorsement of the upgrade. :)

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


Re: commented LINT?

2007-01-27 Thread Cezar Fistik
Hello System,

Saturday, January 27, 2007, 5:25:04 PM, you wrote:

 Hey all,

 Back in 4.x, LINT was a fully-commented entity.  Now it appears to be
 built-on-the-fly, which is great for being sure every-option is in in a
 programmatic manner, but bad as far as being able to look at LINT for
 syntax or notes as to which options need to be added together (or are
 mutually exclusive).

 Is there any way to get the restored version?

This is probably what you want:

/usr/src/sys/conf/NOTES

-- 
Best regards,
Cezarmailto:[EMAIL PROTECTED]

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


ipfw pipe show output - clarification needed please

2007-01-27 Thread Arone Silimantia
I set up a dummynet pipe with this sequence of commands:

sysctl -w net.inet.ip.fw.one_pass=0
ipfw pipe 1 config bw 16Mbit/s
ipfw add 1 pipe 1 all from any to any

So far so good.  Works great.  However, when I look at the pipe itself, with 
this command:

ipfw pipe show 1

I see this:

# ipfw pipe show 1
1:  16.000 Mbit/s0 ms   50 sl. 1 queues (1 buckets) droptail
mask: 0x00 0x/0x - 0x/0x
BKT Prot ___Source IP/port Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
  0 tcp  1.2.3.4/221.2.3.4/4333  2970975653 2649647615805  2 2992 
10414733

I would like to clarify a few things...

First, the ipfw pipe creation command I ran is not (as far as I can tell) TCP 
specific, and further, my ipfw rule says any to any - but when I look at the 
pipe, it has a protocol specified (TCP) and further, has a port number (22).  I 
want to throttle ALL IP traffic, not just TCP, and certainly not just port 22.

What am I doing wrong ?

Second, there are seven headings (from BKT at the left to Drp on the right) but 
underneath those seven headings are _9_ values.  What I really want to know is 
how many packets I am droppinig ... but I can't tell which of the fields are 
the dropped - I assume it is the final number .. if so, what is that measured 
in ?  Packets ?

Finally, why am I dropping any packets ?  My total traffic is 5-7 Mbits/s on 
average ... I don't see why I would be dropping any packets at all ... are they 
being dropped because the system can't keep up, or are they being dropped 
because I am hitting the throttle limit and it drops everything above that ?

Many thanks.
 
-
Now that's room service! Choose from over 150,000 hotels 
in 45,000 destinations on Yahoo! Travel to find your fit.
 
-
Sucker-punch spam with award-winning protection.
 Try the free Yahoo! Mail Beta.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Pentium 3 Clock Frequency Control

2007-01-27 Thread applecom

FK [EMAIL PROTECTED] wrote:


Is it posible to control Pentium 3 clock frequency on FreeBSD?
The purpose is to reduce the power consumption and lengthen battery
life.
In addition, how can we know what speed of cpu clock frequecy a cpu
supports and what speed a cpu take at any given time? I suppose
that a command which returns each information exist.
Well, a couple years ago I patched to, if I remember correctly,
 5.4 kernel and it made this need possible at least on Pentium M.
I tried to find the web page but I failed.
I am using FreeBSD6.0-RELEASE now.


Look at
http://lists.freebsd.org/pipermail/freebsd-acpi/2005-March/001346.html
Hope it helps.
___
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 enable linux flash player [9] in firefox

2007-01-27 Thread Oliver Iberien
On Thursday 25 January 2007 23:33, [EMAIL PROTECTED] 
wrote:
 Message: 2
 Date: Thu, 25 Jan 2007 20:41:37 +0100
 From: Erik Norgaard [EMAIL PROTECTED]
 Subject: how to enable linux flash player in firefox
 To: FreeBSD Questions [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1

 Hi there:

 I see the new flash9 for linux has been included in ports, so I
 installed it - but how do I enable the plugin in Firefox? Does it work
 or does it crash?

 Thanks, Erik
 --
 Ph: +34.666334818                      web: http://www.locolomo.org

I've tried installing this, too. The included readme addresses linux, and 
there is no indication of what is supposed to be done with libmap.conf, which 
leaves me in the dark. Has anyone figured this out?

Thanks,

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


Re: I am unable to connect to my ftp server from anything other than the local host

2007-01-27 Thread Bill Moran
Guillermo Gonzalez [EMAIL PROTECTED] wrote:

 When I try to ftp localhost I get this:
 
 [EMAIL PROTECTED] ~]$ ftp localhost
 Trying ::1...
 Connected to localhost.
 220- Welcome message goes here  :D
 220 tester FTP server (Version 6.00LS) ready.
 331 Guest login ok, send your email address as password.
 230- READ OR DIE!!1
 230 Guest login ok, access restrictions apply.
 Remote system type is UNIX.
 Using binary mode to transfer files.
 
 However, when I attempt to ftp to the box's ip I get:
 
 [EMAIL PROTECTED] ~]$ ftp 192.168.1.108
 Connected to 192.168.1.108.
 421 Service not available, remote server has closed connection.

First, check to see that ftpd is listening on that address:
sockstat -4
If you don't see the program listening, you'll have to tweak your
ftpd config.

If the program is listening, check your settings for any packet filters.
Are you running pf or ipfw?

I don't know where you got the idea that you should worry about pam, but
the fact that you can log in shows that your auth configuration is
correct.

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


Re: Which version of Opera to use?

2007-01-27 Thread ajm
On Sat, Jan 27, 2007 at 04:09:28PM +0100, Marco Beishuizen wrote:
 On stardate Sat, 27 Jan 2007, the wise Gerard Seibert entered:
 
  I have been thinking of trying Opera in KDE to see if it works better
  than Firefox. I have been having nothing but problems with Firefox and
  Flash.
  
  Would I be better off trying Opera or Linux-Opera? Both are offered in
  the ports.
 
 I'm using the native FreeBSD version with flash and that works great, so I 
 can only recommend it. Also in my case FF constantly crashed when opening a 
 site whith flash. Until recently only the linux-opera had flash support, 
 but now they both have.
 
 Marco
 -- 
 I might have gone to West Point, but I was too proud to speak to a
 congressman.
   -- Will Rogers
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I have use both and if you need flash very often, I'd suggest 
linux-opera.  It tends to handle flash video (google video) better.  I 
currently have native opera.  It just takes a few second longer to see 
the flash video.  It does not bother me...but it may bother others.  Try
 both ( one at a time ) and see the difference for yourself.
note:  I don't use KDE...don't know if that might make a difference in 
resource loads.
-- 
Alexander
FreeBSD 6.0-RELEASE i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sshd never restarts

2007-01-27 Thread Noah

Hi there,

FreeBSD 4.9
openssh-3.6.1_6


so I have a script /usr/local/etc/rc.d/sshd.sh  that I use to restart sshd

but sshd most of the time never comes back.

there is nothing relevant that makes it to /var/log/messages

if I start sshd manually with /usr/local/etc/rc.d/sshd.sh there are no 
error messages. My /etc/ssh/sshd_config configuration is fine and has no 
errors.


how can I assure that sshd restarts each time?  when I am remote to the 
machine.  I am locked out of it.


--- snip ---

# cat /usr/local/etc/rc.d/sshd.sh
#!/bin/sh
#
# $FreeBSD: ports/security/openssh/files/sshd.in,v 1.1 2006/06/09 
21:54:03 pav Exp $

#
# PROVIDE: sshd
# REQUIRE: NETWORKING SERVERS USR
# BEFORE: LOGIN
#
# Add the following lines to /etc/rc.conf to enable sshd
#
# sshd_enable (bool):   Set to NO by default
#   Set it to YES to enable sshd

. /usr/local/etc/rc.subr

name=sshd
rcvar=${name}_enable

load_rc_config ${name}

: ${sshd_enable=NO}
: ${sshd_pidfile=/var/run/sshd.pid}

command=/usr/local/sbin/${name}

run_rc_command $1

# grep ssh /etc/rc.conf
sshd_enable=YES


 snip ---


___
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 upgrade an exist freebsd to freebsd6.2 ?

2007-01-27 Thread Oliver Iberien
On Saturday 27 January 2007 11:37, [EMAIL PROTECTED] 
wrote:
 Message: 16
 Date: Sat, 27 Jan 2007 15:59:18 +0100 (CET)
 From: Zbigniew Szalbot [EMAIL PROTECTED]
 Subject: Re: How to upgrade an exist freebsd to freebsd6.2 ?
 To: freebsd-questions@freebsd.org
 Message-ID:
 [EMAIL PROTECTED]
 Content-Type: text/plain;charset=utf-8

 Hello,

  BTW: Does this upgrade procedure apply and can it be used   to go from
  6.1 to 6.2 freeBSD  too ?
 
 
  Thanks
  DAk
 
  yes, it will work from any version of 6 and up. It should work fine in 7
  unless the technique changes for some reason.

 I upgraded from 6.1 to 6.2 last week following Eric's points which I like
 for being clear and precise. The only issue you need to be cautious about
 is when using mergmaster to merge changes for files you may have modified
 in /etc/

 I messed it up and as a result had to recrate /etc from a back up that I
 accidentally (mind you!) made before upgrading.

 Good luck!

 --
 Zbigniew Szalbot

Would you be able to say what you *should* have told mergemaster? Were there 
any other tricky mergemaster bits that you did correctly but are worth 
pointing out? 

Thanks,

Oliver


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


Re Firefox addons and our native port ...

2007-01-27 Thread Gary Kline

I was up until the wee hours playing with the foxytunes
addon and finally learned that it doesn't work with FreeBSD.
(I'm still upgrading/building the latest Java for the
linux-firefox.)  Long-question-short, does anybody know which
firefox extensions do/do not work natively?  I thought I'd ask 
here first.  Anybody?

thanks much,

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]


FW: nfe

2007-01-27 Thread stan

I've got a motherboard with an onboard Gigabit LAN contoler that is the 
Marvell 88E1116 chipset.

Poking around a bit on Google, it appears that support for this should have
recently been addedd to the NFE dirver in 6.2 CURRENT. But I just cvsuped,
and built everything, and mine is still not detected on bootup. Also a grep
-i for NFE on the GENERIC kernel does not seem to return anythign.

Do I have to do something special to enable this?

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Rejected posting to [EMAIL PROTECTED]

2007-01-27 Thread L-Soft list server at LISTS.WAYNE.EDU (1.8d)
ATTACHMENT  VIOLATION Attachments  are not  allowed on  the Medphys  List. Your
posting to the MEDPHYS list has been rejected because it contains an attachment
of type 'MULTIPART/MIXED'. The MEDPHYS list  has been configured to reject such
attachments; please  contact the list owner  at [EMAIL PROTECTED]
for more information.

 Rejected message (68 lines) --
Received: from mirapointmr4.wayne.edu (IDENT:[EMAIL PROTECTED] [141.217.1.114])
by lists.wayne.edu (8.12.10+Sun/8.12.10) with ESMTP id l0RKmjOo008636
for [EMAIL PROTECTED]; Sat, 27 Jan 2007 15:49:06 -0500 (EST)
Received: from freebsd.org (adsl-59840f2b.monradsl.monornet.hu [89.132.15.43])
by mirapointmr4.wayne.edu (MOS 3.7.5-GA)
with ESMTP id DEK15779;
Sat, 27 Jan 2007 15:48:43 -0500 (EST)
Message-Id: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Returned mail: Data format error
Date: Sat, 27 Jan 2007 21:48:54 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.
Content-Type: multipart/mixed; boundary=MIRAPOINT_PART1_45bbbaad
X-Mirapoint-Virus: VIRUSDELETED;
host=mirapointmr4.wayne.edu;
attachment=[2.2];
virus=W32/MyDoom-O
X-Junkmail-Status: score=45/60, host=mirapointmr4.wayne.edu
X-Junkmail-SD-Raw: score=suspect(10),
refid=str=0001.0A090209.45BBBAAD.0072,ss=2,fgs=0,
ip=89.132.15.43,
so=2006-03-30 10:46:40,
dmn=5.2.125/2006-10-10

This is a multi-part message in MIME format.

--MIRAPOINT_PART1_45bbbaad
Content-Type: text/plain

WARNING!!! (from mirapointmr4.wayne.edu)

The following message attachments were flagged by the antivirus scanner:

Attachment [2.2] MESSAGE.SCR, virus infected: W32/MyDoom-O.  Action taken: 
deleted

--MIRAPOINT_PART1_45bbbaad
Content-Type: multipart/mixed;
boundary==_NextPart_000_0014_E1338993.709AA1D7

--=_NextPart_000_0014_E1338993.709AA1D7
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit

The original message was received at Sat, 27 Jan 2007 21:48:54 +0100 from 
111.201.71.133

- The following addresses had permanent fatal errors -
[EMAIL PROTECTED]




--=_NextPart_000_0014_E1338993.709AA1D7
Content-Type: text/plain

VIRUS WARNING Message (from mirapointmr4.wayne.edu)

The virus W32/MyDoom-O was detected in email attachment [2.2] MESSAGE.SCR.  The 
infected attachment has been deleted.

--=_NextPart_000_0014_E1338993.709AA1D7--

--MIRAPOINT_PART1_45bbbaad--

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


Does PQ_CACHESIZE / cache colouring/coloring make a difference?

2007-01-27 Thread Juha Saarinen

Haven't been able to find much information around on the PQ_CACHESIZE
option and cache colouring, unfortunately, and was wondering if it's
worth setting it or not in the kernel config. Can anyone point me to
some further reading on this?

The processor in question is an Intel D840 dual core with two 1MB L2 caches.

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


cannot launch vsftpd at system startup

2007-01-27 Thread Peter Matulis
Hi gang,

I have read quite a few articles on how to start vsftpd at system bootup 
but nothing seems to work on my new and updated 6.2 STABLE machine.

I have copied /usr/ports/ftp/vsftpd/files/vsftpd.sh.in 
to /usr/local/etc/rc.d/vsftpd.sh and it is executable.

In /etc/rc.conf I am placing:

vsftpd_enable=YES

and in vsftpd.conf:

listen=YES
background=YES

I can't see the error when my machine boots but when I attempt to run 
the rc.d script manually I get:

.: Can't open %%RC_SUBR%%: No such file or directory

I can start the daemon at the command line:

/usr/local/libexec/vsftpd 

I installed the port sysutils/rc_subr thinking it may help but it does 
not.  I also reinstalled vsftpd with the make option RC_NG but it 
doesn't seem to do anything (isn't it supposed to install the rc.d 
script?).

Any comments?

Peter
___
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 enable linux flash player in firefox

2007-01-27 Thread Tsu-Fan Cheng

my psersonal flash experience with
opera by going to youtube is linux-opera works but not native
opera+linuxplugin.

TFC


On 1/27/07, Andreas Davour [EMAIL PROTECTED] wrote:


On Sat, 27 Jan 2007, Tijl Coosemans wrote:

 On Saturday 27 January 2007 13:20, Andreas Davour wrote:
 On Sat, 27 Jan 2007, Tijl Coosemans wrote:
 Flash9 is very unstable though, so you'll probably want to stay
 with flash7 for now.

 Since I have had serious problems getting even Flash7 to work,
 following instructions found here at the list, could you please
 summarize the steps for getting the older Flash version running? I'm
 begining to suspect something more is needed than the information
 I've found. Do e.g. I have to run firefox under Linux emulation?

 When I need to access a flash site (and only then, the rest are ads
 anyway), I simply use linux-firefox (or linux-opera) with
 linux-flashplugin7. That works by simply installing those ports. No
 extra configuration is necessary.

I'm tempted to install linux-firefox or linux-opera myself, since you
have no problems with them

 If you want to use flash with native freebsd browsers, you need to use
 linuxpluginwrapper (only for FreeBSD 5.x and 6.x). The details are
 explained at


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html
 http://freebsd.kde.org/howtos/konqueror-flash.php

 If that doesn't work, please specify which FreeBSD version you're
 using and which browser.

I followed those instructions and with firefox-2.0.0.1_1,1 it gives this
result:
/libexec/ld-elf.so.1: /usr/local/lib/pluginwrapper/flash7.so: Undefined
symbol _dlsym

Since I'm now using 6.2-PRERELEASE I guess it could be fixed in the
final RELEASE, but it would be nice to know if someone can recognize
_dlsym and say it is so.

/andreas


--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
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 enable linux flash player [9] in firefox

2007-01-27 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Oliver Iberien wrote:
 On Thursday 25 January 2007 23:33, [EMAIL PROTECTED] 
 wrote:
 Message: 2
 Date: Thu, 25 Jan 2007 20:41:37 +0100
 From: Erik Norgaard [EMAIL PROTECTED]
 Subject: how to enable linux flash player in firefox
 To: FreeBSD Questions [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1

 Hi there:

 I see the new flash9 for linux has been included in ports, so I
 installed it - but how do I enable the plugin in Firefox? Does it work
 or does it crash?

 Thanks, Erik
 --
 Ph: +34.666334818  web: http://www.locolomo.org
 
 I've tried installing this, too. The included readme addresses linux, and 
 there is no indication of what is supposed to be done with libmap.conf, which 
 leaves me in the dark. Has anyone figured this out?
 
 Thanks,
 
 Oliver

I grabbed the symbols table for the flash player, but unfortunately I'm
clueless as to determining what the hell the original
linuxplugin-wrapper dev had in mind, so I can't really move on further
than that. I can provide my info though so someone who does have an idea
can proceed on, if necessary.

If you use any sound requiring flash modules, Flash player will make
Firefox ( / Seamonkey?) segfault and core dump; this is true for
linux-firefox with (at least) only the default config. This is because
(like some have mentioned before in previous threads) flash uses ALSA,
which is linux's answer to getting rid of OSS. See:
http://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture.

With that aside, Flash 9 is incredibly unstable with linux emulation.
Flash 9 under Linux worked fine on Gentoo when I ran the beta
version--other than flash animations just being a bit slow.

rant
It's a pain in the ass that Adobe / Macromedia had to invent a
technology that so many web developers sought, just because of its
ease of developing; if only the developers sought to learn CSS and a
bit of proper javascripting, then stuff would be easier for viewing on
all platforms.

(a few choice four-/five-letter words combined with other words and
grumbling)
/rant
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFu8PVEnKyINQw/HARAphwAJ99FBr2TfzwGTZZgFeopW8Iu/0n4wCfa6vC
usK1FfxupSz5+HBTHMwdnm4=
=4+kP
-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: [OT] Does ~ always point to $HOME?

2007-01-27 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bill Campbell wrote:
 On Sat, Jan 27, 2007, Matthew Seaman wrote:
 Bill Campbell wrote:
 ...
 Probably the most portable way to do this would be to use awk.  A
 simple script, homedir, might look like this:

 #!/bin/sh
 # getting the backwhacks correct is sometimes ``interesting''
 homedir=`awk -F: /^$1:/{print \\$6} /etc/passwd`

 [ -z $homedir ]  {
 echo 'empty home for ' $1 21
 exit 1
 }
 echo $homedir
 exit 0
 That does assume that all the user information is stored within the
 local /etc/passwd -- if you're using NIS or LDAP or anything
 like that, then you need a method that calls getpwnam(3) for you. 
 
 A one-liner that should take care of these is:
 
 python -c import os.path; print os.path.expanduser('~$username')
 
 (This doesn't work with python-1.5.1 on an ancient Linux system
 as os.path didn't appear until later).
 
 
 Bill

Not all systems contain python though (and many don't), so $HOME is
still a better bet.

Thanks though for the idea,
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFu8SGEnKyINQw/HARAvGpAJ4hbwv6YiF0rootWd/QTlQ1ZvweWgCgqwZ9
JCm3yiKBP2cX9dXwvIiYOz4=
=Cpfv
-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: [OT] Does ~ always point to $HOME?

2007-01-27 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matthew Seaman wrote:
 Bill Campbell wrote:
 On Fri, Jan 26, 2007, James Long wrote:
 Message: 24
 Date: Fri, 26 Jan 2007 09:22:44 -0800
 From: Bill Campbell [EMAIL PROTECTED]
 Subject: Re: [OT] Does ~ always point to $HOME?
 To: freebsd-questions@freebsd.org, Bill Campbell
[EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii

 My point isn't whether the FreeBSD /bin/sh expands it, but that not all
 systems are FreeBSD, and that one can have problems on other *NIX systems.

 Knowing where there may be differences, and avoiding the assumptions that a
 program behaves the same on all systems, can help writing code that's
 portable without surprises.
 This begs the rookie question:

 What is the portable way to determine an aribtrary user's home directory
 then, if ~username is not portable across shells?

 Does one just have to grep and awk /etc/passwd?  Is the format of
 /etc/passwd portable, such that one standard grep/awk sequence will 
 portably return the home directory for user username?
 Probably the most portable way to do this would be to use awk.  A
 simple script, homedir, might look like this:

 #!/bin/sh
 # getting the backwhacks correct is sometimes ``interesting''
 homedir=`awk -F: /^$1:/{print \\$6} /etc/passwd`

 [ -z $homedir ]  {
  echo 'empty home for ' $1 21
  exit 1
 }
 echo $homedir
 exit 0
 
 That does assume that all the user information is stored within the
 local /etc/passwd -- if you're using NIS or LDAP or anything
 like that, then you need a method that calls getpwnam(3) for you. 
 
 TIMTOWTDI:
 
 pw user show -n $username | cut -d: -f 9   (But pw(8) is FreeBSD specific)
 
 perl -le print +(getpwnam($username))[7];
 
 su  $username -c 'echo $HOME'  (But only if the script is running with
 root privileges)
 
 
 Of course, none of these methods are guaranteed to work in all
 circumstances.  In which case, you might as well choose to program
 in a language or for an interpreter that is readily available on the
 systems you are writing the code for and that provides the functionality
 you need.  On FreeBSD that probably comes down to using ~username with
 /bin/sh (with liberal comments warning of uportable assumptions, of
 course) -- which should work unmodified with any of the *BSDs or MacOS X.
 If you program the rest of the script carefully it should also work with
 bash under Linux (and others) or even (I think) ksh on Solaris.
 
 Portability is hard.
 
   Cheers,
 
   Matthew

Yes, but I don't know of any engineering firms right off hand that run
the BSDs. Quite a few engineering groups run solaris or linux, just
because the machines are donated or the number of support folks who are
familiar with the operating platform and can maintain the systems is higher.
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFu8V9EnKyINQw/HARAtDZAKCtj1ZXIb3llJF9uyUwoVKtlINwcACfQguh
TyuMDnbUd/Jiw3nHVvyO2bQ=
=v2tL
-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: cannot launch vsftpd at system startup

2007-01-27 Thread Derek Ragona
add set -x to the startup script and debug where that error message is 
coming from.


-Derek


At 02:55 PM 1/27/2007, Peter Matulis wrote:

Hi gang,

I have read quite a few articles on how to start vsftpd at system bootup
but nothing seems to work on my new and updated 6.2 STABLE machine.

I have copied /usr/ports/ftp/vsftpd/files/vsftpd.sh.in
to /usr/local/etc/rc.d/vsftpd.sh and it is executable.

In /etc/rc.conf I am placing:

vsftpd_enable=YES

and in vsftpd.conf:

listen=YES
background=YES

I can't see the error when my machine boots but when I attempt to run
the rc.d script manually I get:

.: Can't open %%RC_SUBR%%: No such file or directory

I can start the daemon at the command line:

/usr/local/libexec/vsftpd 

I installed the port sysutils/rc_subr thinking it may help but it does
not.  I also reinstalled vsftpd with the make option RC_NG but it
doesn't seem to do anything (isn't it supposed to install the rc.d
script?).

Any comments?

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
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 enable linux flash player [9] in firefox

2007-01-27 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Garrett Cooper wrote:
 Oliver Iberien wrote:
 On Thursday 25 January 2007 23:33, [EMAIL PROTECTED] 
 wrote:
 Message: 2
 Date: Thu, 25 Jan 2007 20:41:37 +0100
 From: Erik Norgaard [EMAIL PROTECTED]
 Subject: how to enable linux flash player in firefox
 To: FreeBSD Questions [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1

 Hi there:

 I see the new flash9 for linux has been included in ports, so I
 installed it - but how do I enable the plugin in Firefox? Does it work
 or does it crash?

 Thanks, Erik
 --
 Ph: +34.666334818  web: http://www.locolomo.org
 I've tried installing this, too. The included readme addresses linux, and 
 there is no indication of what is supposed to be done with libmap.conf, 
 which 
 leaves me in the dark. Has anyone figured this out?
 
 Thanks,
 
 Oliver
 
 I grabbed the symbols table for the flash player, but unfortunately I'm
 clueless as to determining what the hell the original
 linuxplugin-wrapper dev had in mind, so I can't really move on further
 than that. I can provide my info though so someone who does have an idea
 can proceed on, if necessary.
 
 If you use any sound requiring flash modules, Flash player will make
 Firefox ( / Seamonkey?) segfault and core dump; this is true for
 linux-firefox with (at least) only the default config. This is because
 (like some have mentioned before in previous threads) flash uses ALSA,
 which is linux's answer to getting rid of OSS. See:
 http://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture.
 
 With that aside, Flash 9 is incredibly unstable with linux emulation.
 Flash 9 under Linux worked fine on Gentoo when I ran the beta
 version--other than flash animations just being a bit slow.
 
 rant
 It's a pain in the ass that Adobe / Macromedia had to invent a
 technology that so many web developers sought, just because of its
 ease of developing; if only the developers sought to learn CSS and a
 bit of proper javascripting, then stuff would be easier for viewing on
 all platforms.
 
 (a few choice four-/five-letter words combined with other words and
 grumbling)
 /rant

Here's the link to 2 of the text files that contain the libraries /
function calls I found in the global symbols table for
libflashplayer.so: http://students.washington.edu/youshi10/posted/flash9/.
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFu8Z4EnKyINQw/HARAgHfAJ4n9K3INpkIEW1NMlLqUnvROl9P5QCdFJTQ
Ursg1bPrkWMEvDTCu16uoiU=
=WGcH
-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]


Mobile IPv6 and FreeBSD

2007-01-27 Thread Kandirakis, Ioannis FORNATL, GR
Hello.
 
I am trying to implement a mobile ipv6 testbed.
May I use any release of freeBSD or I need a specific one?
My email addrs are [EMAIL PROTECTED] and [EMAIL PROTECTED] 
I am looking forward for your answer.
 
Ioannis Kandirakis
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading xfce4 fails

2007-01-27 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Warren Block wrote:
 On Sat, 27 Jan 2007, Markus Hoenicka wrote:
 
 I'm having a hard time upgrading xfce4 on a FreeBSD 6.1 box. I've
 tried portupgrade first, but as it bumped into a boatload of errors I
 eventually had to resort to upgrade individual packages. This left me
 with a mix of packages of xfce versions 4.2 and 4.4, and a build
 failure in xfce4-mcs-manager which I'm unable to resolve:

 /usr/local/lib/libxfcegui4.so: undefined reference to
 `xfce_desktop_entry_has_translated_entry'
 
 Saw that, or something like it.
 
 All non-xfce4 packages which the xfce4 packages depend upon appear to
 have upgraded ok (or so portupgrade says).

 Is there anything I can do except waiting for prebuilt packages?
 
 pkg_delete or make deinstall everything xfce\* and libxfce\*, then just
 install /usr/ports/x11-wm/xfce4.  From what I've seen so far, xfce4.4 is
 definitely worth it.
 
 -Warren Block * Rapid City, South Dakota USA

Yes, I agree Warren. I ran the beta1 and beta2 for a while when I used
Linux, and it was _much_ better than 4.2.

Things to note as well:
- -xfce4-iconbox no longer exists in 4.4; functionality was integrated
into the taskbar, which is much better in this version.
- -xfce4-systray no longer exists as well in 4.4; this was integrated into
the taskbar as well I believe..

Cheers,
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFu8xOEnKyINQw/HARAv5ZAKCmg0z6kFS+AU5X71iEVIXglIfXCQCeMBnI
kardMVyZ7JTAYDk8D7u5Vx8=
=pcCP
-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]


brand new server timing out for sshd connections

2007-01-27 Thread Jonathan Horne
i have a brand new server i just configured, and most of the time the
inbound connection to sshd times out.  (connection refused).  a few times
tho, it works fine, but after a short while, it will kick me back off.

system is based on nvidia chipsets, with the nve0 nic driver.  we switched
in a re0 to see if that helped, but its getting the same behavior.

server is connected to a small linksys 8 port switch that is fairly new.

i would uname, but at this moment im unable to get into it, it keeps
refusing me.  other things seem to work fine, but smtp seems to be
affected by this same problem as well.

hmm, dns is on an active directory DNS server, could this be the crappy
version of the AAA records?  im pretty much otherwise at a loss why this
system isnt behaving nicely.

thanks,
jonathan horne

___
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 upgrade an exist freebsd to freebsd6.2 ?

2007-01-27 Thread Zbigniew Szalbot
Hello,

Oliver Iberien wrote:
 Would you be able to say what you *should* have told mergemaster? Were
 there any other tricky mergemaster bits that you did correctly but are
 worth pointing out?

I failed with mergemaster -cv

I have not repeated this step so I am not sure what exectly I did that
went wrong. I can only repeat what I wrote to the list:

It was my first encounter with mergemaster and I was a bit unsure what to
do with files in /etc. For some that I know I have not customized, I
pressed i for install, for some I pressed m, then enter, then q and i to
install the merged files (although - shame on me I was not aware what is
acutally being merged - it was a bit too technical and I was a bit too
scared :). With some files I pressed d.

Anyway, when I rebooted the machine, I found a lot of warnings like this:

Loading configuration files
source_rc_confs: not found
Entropy harvesting:/etc/rc: Warning: $harvest_interrupt is not set
properly - see rc.conf(5)
/etc/rc: Warning: harvest_ethernet is not set properly - see rc.conf(5)

I had never used mergemaster before and I really need to be sure how to
merge changes as I think the problem occured during the step I described.
Sorry I can't be of more help here. I do not have a test machine to play
around and see what I did wrong.

-- 
Zbigniew Szalbot

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


What is my TFTP Server Soing

2007-01-27 Thread Joshua Lewis

Hello list,

I am trying to figure out what my device is doing when connecting to  
my TFTP server. Is there a way to watch on my server what the TFTP  
server is doing?




Sincerely,
Joshua Lewis
[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: What is my TFTP Server Soing

2007-01-27 Thread applecom

Joshua Lewis [EMAIL PROTECTED] wrote:

I am trying to figure out what my device is doing when connecting to my  
TFTP server. Is there a way to watch on my server what the TFTP server  
is doing?


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


Re: What is my TFTP Server Soing

2007-01-27 Thread stan
On Sat, Jan 27, 2007 at 05:38:58PM -0500, Joshua Lewis wrote:
 Hello list,
 
 I am trying to figure out what my device is doing when connecting to  
 my TFTP server. Is there a way to watch on my server what the TFTP  
 server is doing?
 
 
Try tcpdump. or wireshark.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
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 upgrade an exist freebsd to freebsd6.2 ?

2007-01-27 Thread Eric

Zbigniew Szalbot wrote:

Hello,

Oliver Iberien wrote:
  

Would you be able to say what you *should* have told mergemaster? Were
there any other tricky mergemaster bits that you did correctly but are
worth pointing out?

in a nutshell take everything it offers you unless you KNOW you have 
changed it. this would include things like the group file and the 
master.passwd file. in almost every case you will NOT want to install 
those but rather want to merge them or add the new entries on your own.


Just make sure you backup before you start and you should be fine =)

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


Re: What is my TFTP Server Soing

2007-01-27 Thread Joe Holden

Joshua Lewis wrote:

Hello list,

I am trying to figure out what my device is doing when connecting to 
my TFTP server. Is there a way to watch on my server what the TFTP 
server is doing?




Sincerely,
Joshua Lewis
[EMAIL PROTECTED]



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


By default, tftpd will log to /var/log/xferlog, tail -f /var/log/xferlog 
should suffice.


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


Re: cannot launch vsftpd at system startup

2007-01-27 Thread Peter Matulis
Le Samedi 27 Janvier 2007 16:36, Derek Ragona a écrit :
 add set -x to the startup script and debug where that error message
 is coming from.

  -Derek

 At 02:55 PM 1/27/2007, Peter Matulis wrote:
 Hi gang,
 
 I have read quite a few articles on how to start vsftpd at system
  bootup but nothing seems to work on my new and updated 6.2 STABLE
  machine.
 
 I have copied /usr/ports/ftp/vsftpd/files/vsftpd.sh.in
 to /usr/local/etc/rc.d/vsftpd.sh and it is executable.
 
 In /etc/rc.conf I am placing:
 
 vsftpd_enable=YES
 
 and in vsftpd.conf:
 
 listen=YES
 background=YES
 
 I can't see the error when my machine boots but when I attempt to
  run the rc.d script manually I get:
 
 .: Can't open %%RC_SUBR%%: No such file or directory
 
 I can start the daemon at the command line:
 
 /usr/local/libexec/vsftpd 
 
 I installed the port sysutils/rc_subr thinking it may help but it
  does not.  I also reinstalled vsftpd with the make option RC_NG but
  it doesn't seem to do anything (isn't it supposed to install the
  rc.d script?).

The shell tries to parse this line:

. %%RC_SUBR%%

I have no idea what it is trying to source.

Here is the entire script:


#!/bin/sh
#
# $FreeBSD: ports/ftp/vsftpd/files/vsftpd.sh.in,v 1.7 2006/02/20 
20:47:01 dougb Exp $
#

# PROVIDE: vsftpd
# REQUIRE: DAEMON

# Add the following line to /etc/rc.conf to enable `vsftpd':
#
# vsftpd_enable=YES
# vsftpd_flags=/some/path/conf.file # Not required
#

. %%RC_SUBR%%

name=vsftpd
rcvar=`set_rcvar`

load_rc_config $name
: ${vsftpd_enable:=NO}
: ${vsftpd_flags:=}

command=%%PREFIX%%/libexec/$name
required_files=%%PREFIX%%/etc/$name.conf
start_precmd=vsftpd_check

vsftpd_check()
{
if grep -q ^ftp[   ] /etc/inetd.conf ${required_files}
then
err 1 ftp is already activated in /etc/inetd.conf
fi
if ! egrep -q -i -E ^listen.*=.*YES$ ${required_files}
then
err 1 vsftpd script need listen=YES on config file
fi
if ! egrep -q -i -E ^background.*=.*YES$ ${required_files}
then
err 1 vsftpd script need background=YES on config 
file
fi
}

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


Re: upgrading xfce4 fails

2007-01-27 Thread Markus Hoenicka
John Nielsen writes:
  I second Warren's endorsement of the upgrade. :)
  

Now that I managed to get it up and running, I fully agree with both
of you :-)

BTW turns out I had an old version of libxfcegui4.so in /usr/X11R6/lib
which screwed up the build. After removing this library with its
associated .a and .la files, and rebuilding some ports that use this
library, the update finally worked ok. Even transparency and drop
shadows seem to work ok with the i810 driver.

There's one thing broken though: After the upgrade, panel plugins fail
to display correct values. The battery monitor claims the battery of
my laptop is at 0%. The network monitor plugin also sees the traffic
at 0 kbyte/s no matter what I do. The volume plugin displays a value
according to where I click in the plugin, but this does not translate
to a higher or lower volume. Inversely, if I set the volume using
xfce4-mixer, the value is not correctly displayed by the plugin. Did
you notice similar problems? Did I miss to upgrade a package that all
plugins rely on?

regards,
Markus

-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with mhoenicka)
http://www.mhoenicka.de

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


Re: RE : Re: ISL intervlan routing

2007-01-27 Thread Mike Tancsa
On Sat, 27 Jan 2007 11:25:19 +0100 (CET), in
sentex.lists.freebsd.questions you wrote:

OK, but my switch doesn't support 802.1Q.

Are you sure ? All the cisco devices I have used support 802.1q. e.g.
on an old Catalyst 2924,

interface FastEthernet0/1
 description Trunk port to FreeBSD em0
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1-990,1002-1005
 switchport mode trunk
 spanning-tree portfast


On the freebsd box,

ifconfig vlan445 create
ifconfig vlan445 192.168.1.1/24 vlan 445 vlandev em0 

---Mike

   
  I must change my switch if i want to make a intervlan routing ???
  Patch kernel for ISL support doesn't exist???

   
-
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
 Profitez des connaissances, des opinions et des expériences des internautes 
 sur Yahoo! Questions/Réponses.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot launch vsftpd at system startup

2007-01-27 Thread Derek Ragona

change the line:
. %%RC_SUBR%%

to:
. /etc/rc.subr

-Derek




At 05:05 PM 1/27/2007, Peter Matulis wrote:

Le Samedi 27 Janvier 2007 16:36, Derek Ragona a écrit :
 add set -x to the startup script and debug where that error message
 is coming from.

  -Derek

 At 02:55 PM 1/27/2007, Peter Matulis wrote:
 Hi gang,
 
 I have read quite a few articles on how to start vsftpd at system
  bootup but nothing seems to work on my new and updated 6.2 STABLE
  machine.
 
 I have copied /usr/ports/ftp/vsftpd/files/vsftpd.sh.in
 to /usr/local/etc/rc.d/vsftpd.sh and it is executable.
 
 In /etc/rc.conf I am placing:
 
 vsftpd_enable=YES
 
 and in vsftpd.conf:
 
 listen=YES
 background=YES
 
 I can't see the error when my machine boots but when I attempt to
  run the rc.d script manually I get:
 
 .: Can't open %%RC_SUBR%%: No such file or directory
 
 I can start the daemon at the command line:
 
 /usr/local/libexec/vsftpd 
 
 I installed the port sysutils/rc_subr thinking it may help but it
  does not.  I also reinstalled vsftpd with the make option RC_NG but
  it doesn't seem to do anything (isn't it supposed to install the
  rc.d script?).

The shell tries to parse this line:

. %%RC_SUBR%%

I have no idea what it is trying to source.

Here is the entire script:


#!/bin/sh
#
# $FreeBSD: ports/ftp/vsftpd/files/vsftpd.sh.in,v 1.7 2006/02/20
20:47:01 dougb Exp $
#

# PROVIDE: vsftpd
# REQUIRE: DAEMON

# Add the following line to /etc/rc.conf to enable `vsftpd':
#
# vsftpd_enable=YES
# vsftpd_flags=/some/path/conf.file # Not required
#

. %%RC_SUBR%%

name=vsftpd
rcvar=`set_rcvar`

load_rc_config $name
: ${vsftpd_enable:=NO}
: ${vsftpd_flags:=}

command=%%PREFIX%%/libexec/$name
required_files=%%PREFIX%%/etc/$name.conf
start_precmd=vsftpd_check

vsftpd_check()
{
if grep -q ^ftp[   ] /etc/inetd.conf ${required_files}
then
err 1 ftp is already activated in /etc/inetd.conf
fi
if ! egrep -q -i -E ^listen.*=.*YES$ ${required_files}
then
err 1 vsftpd script need listen=YES on config file
fi
if ! egrep -q -i -E ^background.*=.*YES$ ${required_files}
then
err 1 vsftpd script need background=YES on config
file
fi
}

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: upgrading xfce4 fails

2007-01-27 Thread Markus Hoenicka
Markus Hoenicka writes:
  There's one thing broken though: After the upgrade, panel plugins fail
  to display correct values. The battery monitor claims the battery of
  my laptop is at 0%. The network monitor plugin also sees the traffic
  at 0 kbyte/s no matter what I do. The volume plugin displays a value
  according to where I click in the plugin, but this does not translate
  to a higher or lower volume. Inversely, if I set the volume using
  xfce4-mixer, the value is not correctly displayed by the plugin. Did
  you notice similar problems? Did I miss to upgrade a package that all
  plugins rely on?
  

Oops... The network monitor and the volume control plugins just
required the network interfaces and device settings, respectively, and
now work ok. Still, the battery monitor does not. Any clues?

regards,
Markus

-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with mhoenicka)
http://www.mhoenicka.de

___
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 enable linux flash player in firefox

2007-01-27 Thread Tijl Coosemans
On Saturday 27 January 2007 21:17, Andreas Davour wrote:
 On Sat, 27 Jan 2007, Tijl Coosemans wrote:
  If you want to use flash with native freebsd browsers, you need to use
  linuxpluginwrapper (only for FreeBSD 5.x and 6.x). The details are
  explained at
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html
  http://freebsd.kde.org/howtos/konqueror-flash.php
 
  If that doesn't work, please specify which FreeBSD version you're
  using and which browser.
 
 I followed those instructions and with firefox-2.0.0.1_1,1 it gives this 
 result:
 /libexec/ld-elf.so.1: /usr/local/lib/pluginwrapper/flash7.so: Undefined 
 symbol _dlsym
 
 Since I'm now using 6.2-PRERELEASE I guess it could be fixed in the 
 final RELEASE, but it would be nice to know if someone can recognize 
 _dlsym and say it is so.

You need to apply the rtld patch mentioned in the first link above.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: brand new server timing out for sshd connections

2007-01-27 Thread Bill Moran
Jonathan Horne [EMAIL PROTECTED] wrote:

 i have a brand new server i just configured, and most of the time the
 inbound connection to sshd times out.  (connection refused).  a few times
 tho, it works fine, but after a short while, it will kick me back off.
 
 system is based on nvidia chipsets, with the nve0 nic driver.  we switched
 in a re0 to see if that helped, but its getting the same behavior.
 
 server is connected to a small linksys 8 port switch that is fairly new.
 
 i would uname, but at this moment im unable to get into it, it keeps
 refusing me.  other things seem to work fine, but smtp seems to be
 affected by this same problem as well.
 
 hmm, dns is on an active directory DNS server, could this be the crappy
 version of the AAA records?  im pretty much otherwise at a loss why this
 system isnt behaving nicely.

The symptoms sound a lot like DNS issues.  Try using the host command to
do a few forward and reverse lookups on machines that you're trying to
connect from.  If they take a long time, that's likely the problem.

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


Re: Can not compile kernel.

2007-01-27 Thread Grant Wagner


[EMAIL PROTECTED] wrote: Grant Wagner  wrote:

 Now I have a custom kernel which is failing to build. I've attached the  
 config file for it, and it fails trying to build with references about  
 ieee80211. The odd thing is I have no wireless in my box and have  
 commented out all the wireless references. What else is dependant on  
 them and should be commented out as well? The last bit of output is  
 below.

  if_ural.o(.text+0xe5): In function `ural_next_scan':
  : undefined reference to `ieee80211_next_scan'
  *** Error code 1
 Stop in /usr/obj/usr/src/sys/STRIPPED.
  *** Error code 1
 Stop in /usr/src.
  *** Error code 1

Remove 'device ural' from your kernel config. file. Ural is a driver for  
wireless adapters and depends on 'device wlan' which is commented in your  
conf. file.

Thanks applecom, I noticed that too. My kernel have been compiled and now is 
installed and runs nicely
 
 Now, on to another problem. I am having difficulty installing cups and getting 
printing working on my Samsung ML-1710. I've installed cups from port, and the 
splix driver from http://splix.ap2c.org/. My printer shows up as /dev/ulpt0 and 
running echo stuff  /dev/ulpt0 causes my printer to warm up, so I know at 
least I can write to the port and communication is working partially. In the 
cups menu, I added the printer, and attempted to print a test page. I get an 
error message saying my quota is full. Wierd as I don't have quota support on 
this machine.
 
 Any ideas?
 Grant

 
-
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.
___
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 enable linux flash player in firefox

2007-01-27 Thread Tijl Coosemans
On Saturday 27 January 2007 15:44, Erik Norgaard wrote:
 Tijl Coosemans wrote:
  On Thursday 25 January 2007 20:41, Erik Norgaard wrote:
   I see the new flash9 for linux has been included in ports, so I
   installed it - but how do I enable the plugin in Firefox? Does it
   work or does it crash?
  
  Basically, it works with linux-firefox and you can get sound if you
  follow the intructions at
  
  http://labs.adobe.com/wiki/index.php/Flash_Player:Additional_Interface_Support_for_Linux
 
 Does this mean that I cannot use linux-flash with native Firefox? Can
 flash be launched as a standalone application? If the answer is yes, no,
 then I will file a bug report to have linux-firefox added to the
 run-dependency list.

linuxpluginwrapper doesn't support flash9 yet, so no, you can't use it
with any native browser.

There is a standalone flash player I believe, but not in the plugin
package.

I wouldn't add a run dependency on linux-firefox though. The plugin
can be used with other browsers as well. A pkg-message would be nice
though. And it needs a run dependency on linux-gtk2.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: brand new server timing out for sshd connections

2007-01-27 Thread Rob W.
- Original Message - 
From: Jonathan Horne [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Saturday, January 27, 2007 4:13 PM
Subject: brand new server timing out for sshd connections



i have a brand new server i just configured, and most of the time the
inbound connection to sshd times out.  (connection refused).  a few times
tho, it works fine, but after a short while, it will kick me back off.

system is based on nvidia chipsets, with the nve0 nic driver.  we switched
in a re0 to see if that helped, but its getting the same behavior.

server is connected to a small linksys 8 port switch that is fairly new.

i would uname, but at this moment im unable to get into it, it keeps
refusing me.  other things seem to work fine, but smtp seems to be
affected by this same problem as well.

hmm, dns is on an active directory DNS server, could this be the crappy
version of the AAA records?  im pretty much otherwise at a loss why this
system isnt behaving nicely.

thanks,
jonathan horne


The problem is, is that you have conflicting ip address on your network. 
Another server / computer on your network probally has the same IP address 
as the one you just setup.


Make shure you check the ip's on your network or assign your server a new ip 
and then see if it still does it. 


___
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 enable linux flash player in firefox

2007-01-27 Thread Oliver Iberien
On Saturday 27 January 2007 16:06, [EMAIL PROTECTED] 
wrote:
 Subject: Re: how to enable linux flash player in firefox
 To: freebsd-questions@freebsd.org
 Cc: Andreas Davour [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain;  charset=iso-8859-1

 On Saturday 27 January 2007 21:17, Andreas Davour wrote:
  On Sat, 27 Jan 2007, Tijl Coosemans wrote:
   If you want to use flash with native freebsd browsers, you need to use
   linuxpluginwrapper (only for FreeBSD 5.x and 6.x). The details are
   explained at
  
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-brows
  ers.html http://freebsd.kde.org/howtos/konqueror-flash.php
  
   If that doesn't work, please specify which FreeBSD version you're
   using and which browser.
 
  I followed those instructions and with firefox-2.0.0.1_1,1 it gives this
  result:
  /libexec/ld-elf.so.1: /usr/local/lib/pluginwrapper/flash7.so: Undefined
  symbol _dlsym
 
  Since I'm now using 6.2-PRERELEASE I guess it could be fixed in the
  final RELEASE, but it would be nice to know if someone can recognize
  _dlsym and say it is so.

 You need to apply the rtld patch mentioned in the first link above.

This is what I used (from an archived posting to this list):

$ cd /usr/src
$ fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff
$ patch  rtld_dlsym_hack.diff
$ cd libexec/rtld-elf
$ sudo make rtld
$ sudo make install

I also had to make symlinks from libflashplayer.so and flashplayer.xpt to 
the /npapi and /browser-plugins folders and update /etc/libmap.conf 
(change flash6 to flash7 wherever it appears, basically) to get this to 
work. But it does, in native Firefox, at least. Never seen or heard of it 
working in Konqueror.

Oliver


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


Re: Best Blog Ap in the Ports?

2007-01-27 Thread RJ

 Drupal (http://drupal.org/), it's a more than just a blog ap.
- Original Message - 
From: bobmc [EMAIL PROTECTED]
To: FreeBSD Questions [EMAIL PROTECTED]
Sent: Friday, January 26, 2007 11:49 PM
Subject: Re: Best Blog Ap in the Ports?


 Tuareg wrote:
  On 1/26/07, eoghan [EMAIL PROTECTED] wrote:
 
  On 26 Jan 2007, at 17:41, [EMAIL PROTECTED] wrote:
 
   What is the best blog ap in the ports tree?  I was thinking of
   starting a
   blog on my server for my Chemistry Students.
 Since blogs and wikis are typically written in high-level such as PHP
 and Perl, a port to a specific UNIX type OS should not be necessary.  Do
 you know about LAMP?  Linux, Apache, MySQL, and ( Perl | PHP).  Scratch
 out Linux and you will find that AMP runs anywhere. Call it BSD-AMP if
 you like. I expect it will support your blogs and wikis very well.

 There is a certain amount of hype about LAMP probably started by some
 Linux advocate not realizing that the valuable abstraction is being
 obscured.  -BobMc-

 ___
 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.2 -- Linksys wusb11 wireless supported?

2007-01-27 Thread Jan Henrik Sylvester
The only usb wlan driver in FreeBSD is ural (Ralink RT2500USB). Also, 
ndis (Windows driver wrapper) does not work for usb devices. Thus, you 
are out of luck.


http://en.wikipedia.org/wiki/Comparison_of_Open_Source_Wireless_Drivers

(Some people seem to be working on porting rum and zyd from OpenBSD to 
FreeBSD, but that won't help you, either.)

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


Isakmpd VPN to OpenBSD docs

2007-01-27 Thread stan
I've ste up some VPN's between OpneBSD machines using isakmpd, ipsectl, and
gif. Now I'd like to use FreeBSD for one end of some of these. I see that
there is an isakmpd port, and a port called ipsec-tools.

Can anyon pont me to some documetation on how to make this work cross
platform?

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
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 enable linux flash player [9] in firefox

2007-01-27 Thread Jamie Jones
 I've tried installing this, too. The included readme addresses linux, and 
 there is no indication of what is supposed to be done with libmap.conf, which 
 leaves me in the dark. Has anyone figured this out?

linux-flashplugin9 is useful for people who use the linux-firefox.

The libmap.conf / linuxpluginwrapper code only currently works with 
linux-flashplugin7,
so you'll need to keep using that one instead if you use the native FreeBSD 
firefox.

When/if flashplayer9 is working with FreeBSD firefo, then the flashplayer7 port 
will
be removed.

Hope this clarifies things,

cheers,
Jamie

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


Re: brand new server timing out for sshd connections

2007-01-27 Thread Jonathan Horne
On Saturday 27 January 2007 18:10, Rob W. wrote:
 - Original Message -
 From: Jonathan Horne [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Saturday, January 27, 2007 4:13 PM
 Subject: brand new server timing out for sshd connections

 i have a brand new server i just configured, and most of the time the
  inbound connection to sshd times out.  (connection refused).  a few times
  tho, it works fine, but after a short while, it will kick me back off.
 
  system is based on nvidia chipsets, with the nve0 nic driver.  we
  switched in a re0 to see if that helped, but its getting the same
  behavior.
 
  server is connected to a small linksys 8 port switch that is fairly new.
 
  i would uname, but at this moment im unable to get into it, it keeps
  refusing me.  other things seem to work fine, but smtp seems to be
  affected by this same problem as well.
 
  hmm, dns is on an active directory DNS server, could this be the crappy
  version of the AAA records?  im pretty much otherwise at a loss why this
  system isnt behaving nicely.
 
  thanks,
  jonathan horne

 The problem is, is that you have conflicting ip address on your network.
 Another server / computer on your network probally has the same IP address
 as the one you just setup.

 Make shure you check the ip's on your network or assign your server a new
 ip and then see if it still does it.

ah, this sounds suspiciously like it might be the solution to my problem.  
especially, since the server works for a few minutes after a reboot, and then 
stops.

as soon as i return to that site, ill check that out.  

btw, is there a way i can try to send my tcp packets to a specific mac 
address?  i know the mac of my target server, if i could get it to talk back 
to me, i could 

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


Re: cannot launch vsftpd at system startup

2007-01-27 Thread Peter Matulis
Le Samedi 27 Janvier 2007 18:34, Derek Ragona a écrit :
 change the line:
 . %%RC_SUBR%%

 to:
 . /etc/rc.subr

  -Derek

 At 05:05 PM 1/27/2007, Peter Matulis wrote:
 Le Samedi 27 Janvier 2007 16:36, Derek Ragona a écrit :
   add set -x to the startup script and debug where that error
   message is coming from.
  
-Derek
  
   At 02:55 PM 1/27/2007, Peter Matulis wrote:
   Hi gang,
   
   I have read quite a few articles on how to start vsftpd at
system bootup but nothing seems to work on my new and updated
6.2 STABLE machine.
   
   I have copied /usr/ports/ftp/vsftpd/files/vsftpd.sh.in
   to /usr/local/etc/rc.d/vsftpd.sh and it is executable.
   
   In /etc/rc.conf I am placing:
   
   vsftpd_enable=YES
   
   and in vsftpd.conf:
   
   listen=YES
   background=YES
   
   I can't see the error when my machine boots but when I attempt
to run the rc.d script manually I get:
   
   .: Can't open %%RC_SUBR%%: No such file or directory
   
   I can start the daemon at the command line:
   
   /usr/local/libexec/vsftpd 
   
   I installed the port sysutils/rc_subr thinking it may help but
it does not.  I also reinstalled vsftpd with the make option
RC_NG but it doesn't seem to do anything (isn't it supposed to
install the rc.d script?).
 
 The shell tries to parse this line:
 
 . %%RC_SUBR%%
 
 I have no idea what it is trying to source.
 
 Here is the entire script:
 
 
 #!/bin/sh
 #
 # $FreeBSD: ports/ftp/vsftpd/files/vsftpd.sh.in,v 1.7 2006/02/20
 20:47:01 dougb Exp $
 #
 
 # PROVIDE: vsftpd
 # REQUIRE: DAEMON
 
 # Add the following line to /etc/rc.conf to enable `vsftpd':
 #
 # vsftpd_enable=YES
 # vsftpd_flags=/some/path/conf.file # Not required
 #
 
 . %%RC_SUBR%%
 
 name=vsftpd
 rcvar=`set_rcvar`
 
 load_rc_config $name
 
 : ${vsftpd_enable:=NO}
 : ${vsftpd_flags:=}
 
 command=%%PREFIX%%/libexec/$name
 required_files=%%PREFIX%%/etc/$name.conf
 start_precmd=vsftpd_check
 
 vsftpd_check()
 {
  if grep -q ^ftp[   ] /etc/inetd.conf
  ${required_files} then
  err 1 ftp is already activated in /etc/inetd.conf
  fi
  if ! egrep -q -i -E ^listen.*=.*YES$ ${required_files}
  then
  err 1 vsftpd script need listen=YES on config
  file fi
  if ! egrep -q -i -E ^background.*=.*YES$
  ${required_files} then
  err 1 vsftpd script need background=YES on
  config file
  fi
 }
 
 run_rc_command $1

It seems the funny %% variables cannot be understood.  I had to hard 
code the paths:

#. %%RC_SUBR%%
. /etc/rc.subr

name=vsftpd
rcvar=`set_rcvar`

load_rc_config $name
: ${vsftpd_enable:=NO}
: ${vsftpd_flags:=}

#command=%%PREFIX%%/libexec/$name
command=/usr/local/libexec/$name
#required_files=%%PREFIX%%/etc/$name.conf
required_files=/usr/local/etc/$name.conf

Then it worked.  I'm ok with this but it leaves me wondering why I have 
to do this.  Thanks for your time.

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


Re: Best Blog Ap in the Ports?

2007-01-27 Thread bobmc

 - Original Message - 
 From: bobmc [EMAIL PROTECTED]
 To: FreeBSD Questions [EMAIL PROTECTED]
 Sent: Friday, January 26, 2007 11:49 PM
 Subject: Re: Best Blog Ap in the Ports?

 Tuareg wrote:
   
 On 1/26/07, eoghan [EMAIL PROTECTED] wrote:
   
 On 26 Jan 2007, at 17:41, [EMAIL PROTECTED] wrote:

 
 What is the best blog ap in the ports tree?  I was thinking of
 starting a
 blog on my server for my Chemistry Students.
   
 Since blogs and wikis are typically written in high-level such as PHP
 and Perl, a port to a specific UNIX type OS should not be necessary.  Do
 you know about LAMP?  Linux, Apache, MySQL, and ( Perl | PHP).  Scratch
 out Linux and you will find that AMP runs anywhere. Call it BSD-AMP if
 you like. I expect it will support your blogs and wikis very well.

 There is a certain amount of hype about LAMP probably started by some
 Linux advocate not realizing that the valuable abstraction is being
 obscured.  -BobMc-

 Ryan Wrote:-  Drupal (http://drupal.org/), it's a more than just a blog ap.
Drupal is fine software but it is complex and overkill for a blog  -BobMc-

___
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 enable linux flash player in firefox

2007-01-27 Thread Oliver Iberien
On Saturday 27 January 2007 16:06, [EMAIL PROTECTED] 
wrote:
 Subject: Re: how to enable linux flash player in firefox
 To: freebsd-questions@freebsd.org
 Cc: Andreas Davour [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain;  charset=iso-8859-1

 On Saturday 27 January 2007 21:17, Andreas Davour wrote:
  On Sat, 27 Jan 2007, Tijl Coosemans wrote:
   If you want to use flash with native freebsd browsers, you need to use
   linuxpluginwrapper (only for FreeBSD 5.x and 6.x). The details are
   explained at
  
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-brows
  ers.html http://freebsd.kde.org/howtos/konqueror-flash.php
  
   If that doesn't work, please specify which FreeBSD version you're
   using and which browser.
 
  I followed those instructions and with firefox-2.0.0.1_1,1 it gives this
  result:
  /libexec/ld-elf.so.1: /usr/local/lib/pluginwrapper/flash7.so: Undefined
  symbol _dlsym
 
  Since I'm now using 6.2-PRERELEASE I guess it could be fixed in the
  final RELEASE, but it would be nice to know if someone can recognize
  _dlsym and say it is so.

 You need to apply the rtld patch mentioned in the first link above.

It's:

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


Re: cannot launch vsftpd at system startup

2007-01-27 Thread Derek Ragona
Mine are hard coded, which is from my installing them.  Perhaps the port is 
broken.


-Derek


At 06:59 PM 1/27/2007, Peter Matulis wrote:

Le Samedi 27 Janvier 2007 18:34, Derek Ragona a écrit :
 change the line:
 . %%RC_SUBR%%

 to:
 . /etc/rc.subr

  -Derek

 At 05:05 PM 1/27/2007, Peter Matulis wrote:
 Le Samedi 27 Janvier 2007 16:36, Derek Ragona a écrit :
   add set -x to the startup script and debug where that error
   message is coming from.
  
-Derek
  
   At 02:55 PM 1/27/2007, Peter Matulis wrote:
   Hi gang,
   
   I have read quite a few articles on how to start vsftpd at
system bootup but nothing seems to work on my new and updated
6.2 STABLE machine.
   
   I have copied /usr/ports/ftp/vsftpd/files/vsftpd.sh.in
   to /usr/local/etc/rc.d/vsftpd.sh and it is executable.
   
   In /etc/rc.conf I am placing:
   
   vsftpd_enable=YES
   
   and in vsftpd.conf:
   
   listen=YES
   background=YES
   
   I can't see the error when my machine boots but when I attempt
to run the rc.d script manually I get:
   
   .: Can't open %%RC_SUBR%%: No such file or directory
   
   I can start the daemon at the command line:
   
   /usr/local/libexec/vsftpd 
   
   I installed the port sysutils/rc_subr thinking it may help but
it does not.  I also reinstalled vsftpd with the make option
RC_NG but it doesn't seem to do anything (isn't it supposed to
install the rc.d script?).
 
 The shell tries to parse this line:
 
 . %%RC_SUBR%%
 
 I have no idea what it is trying to source.
 
 Here is the entire script:
 
 
 #!/bin/sh
 #
 # $FreeBSD: ports/ftp/vsftpd/files/vsftpd.sh.in,v 1.7 2006/02/20
 20:47:01 dougb Exp $
 #
 
 # PROVIDE: vsftpd
 # REQUIRE: DAEMON
 
 # Add the following line to /etc/rc.conf to enable `vsftpd':
 #
 # vsftpd_enable=YES
 # vsftpd_flags=/some/path/conf.file # Not required
 #
 
 . %%RC_SUBR%%
 
 name=vsftpd
 rcvar=`set_rcvar`
 
 load_rc_config $name
 
 : ${vsftpd_enable:=NO}
 : ${vsftpd_flags:=}
 
 command=%%PREFIX%%/libexec/$name
 required_files=%%PREFIX%%/etc/$name.conf
 start_precmd=vsftpd_check
 
 vsftpd_check()
 {
  if grep -q ^ftp[   ] /etc/inetd.conf
  ${required_files} then
  err 1 ftp is already activated in /etc/inetd.conf
  fi
  if ! egrep -q -i -E ^listen.*=.*YES$ ${required_files}
  then
  err 1 vsftpd script need listen=YES on config
  file fi
  if ! egrep -q -i -E ^background.*=.*YES$
  ${required_files} then
  err 1 vsftpd script need background=YES on
  config file
  fi
 }
 
 run_rc_command $1

It seems the funny %% variables cannot be understood.  I had to hard
code the paths:

#. %%RC_SUBR%%
. /etc/rc.subr

name=vsftpd
rcvar=`set_rcvar`

load_rc_config $name
: ${vsftpd_enable:=NO}
: ${vsftpd_flags:=}

#command=%%PREFIX%%/libexec/$name
command=/usr/local/libexec/$name
#required_files=%%PREFIX%%/etc/$name.conf
required_files=/usr/local/etc/$name.conf

Then it worked.  I'm ok with this but it leaves me wondering why I have
to do this.  Thanks for your time.

Peter

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: print quotas in CUPS (was: Re: Can not compile kernel.)

2007-01-27 Thread Giorgos Keramidas
On 2007-01-27 15:39, Grant Wagner [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote: Grant Wagner  wrote:
 Remove 'device ural' from your kernel config. file. Ural is a driver
 for  wireless adapters and depends on 'device wlan' which is
 commented in your  conf. file.

 Thanks applecom, I noticed that too. My kernel have been compiled and
 now is installed and runs nicely

 Now, on to another problem.

Please wrap your messages to a more reasonable line length, like 70-75
characters per line, so your messages can easily be read even by people
who are using text-based mailers.

Please also note that it is, in general, a good idea to start a *new*
thread by posting a *new* message -- a new, proper subject line -- to
freebsd-questions@freebsd.org (instead of replying to an existing
'thread of messages' with an entirely different, new question).  This
way, people reading through the messages of the list and skimming
through the subject lines for interesting material will find your posts
much much easier to locate and read in the intended order.

 I am having difficulty installing cups and getting printing working on
 my Samsung ML-1710.  I've installed cups from port, and the splix
 driver from http://splix.ap2c.org/.  My printer shows up as /dev/ulpt0
 and running

echo stuff  /dev/ulpt0

 causes my printer to warm up, so I know at least I can write to the
 port and communication is working partially.  In the cups menu, I added
 the printer, and attempted to print a test page. I get an error
 message saying my quota is full.  Wierd as I don't have quota support
 on this machine.

 Any ideas?  Grant

I can't find any mention of quota in the web interface of CUPS running
on my laptop here.  There is a possibility that quota is enabled for
some printer, by setting options in the printers.conf file though.

Can you show us the contents of the file:

/usr/local/etc/cups/printers.conf

from your system?

If it contains the options which enable quotas for a certain printer,
you should see something like `PageLimit', then this is the `quota' that
you see mentioned above.

For example, my `printers.conf' file contains:

DefaultPrinter HP4345
  Info HP Laserjet 4345
  Location Patras office
  DeviceURIlpd://hp4345/
  StateIdle
  StateTime1164289059
  AcceptingYes
  Shared   Yes
  JobSheetsnone none
  QuotaPeriod  0
  PageLimit0
  KLimit   0
  OpPolicy default
  ErrorPolicy  stop-printer
/Printer

Note how the `PageLimit' option above is set to zero (so I don't have
printing quotas enabled for this printer).

- Giorgos

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


Re: upgrading xfce4 fails

2007-01-27 Thread Giorgos Keramidas
On 2007-01-27 09:21, Warren Block [EMAIL PROTECTED] wrote:
 pkg_delete or make deinstall everything xfce\* and libxfce\*, then
 just install /usr/ports/x11-wm/xfce4.

This is what I did on my laptop too.

 From what I've seen so far, xfce4.4 is definitely worth it.

Totally worth it :)

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


Re: brand new server timing out for sshd connections

2007-01-27 Thread Pieter de Goeje
On Sunday 28 January 2007 01:47, Jonathan Horne wrote:
 btw, is there a way i can try to send my tcp packets to a specific mac
 address?  i know the mac of my target server, if i could get it to talk
 back to me, i could
Yes, arp -s hostname mac address. You should probably do this on both 
hosts.

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


Re: upgrading xfce4 fails

2007-01-27 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Markus Hoenicka wrote:
 Now that I managed to get it up and running, I fully agree with both
 of you :-)

As expected :).

 There's one thing broken though: After the upgrade, panel plugins fail
 to display correct values. The battery monitor claims the battery of
 my laptop is at 0%. The network monitor plugin also sees the traffic
 at 0 kbyte/s no matter what I do. The volume plugin displays a value
 according to where I click in the plugin, but this does not translate
 to a higher or lower volume. Inversely, if I set the volume using
 xfce4-mixer, the value is not correctly displayed by the plugin. Did
 you notice similar problems? Did I miss to upgrade a package that all
 plugins rely on?

I don't use the network monitor or the battery monitor, but I do use the
mixer plugin. Do you have the mcs-manager properly compiled and the
right version in use? Plus, do you have the right source selected
(volume, master, pcm, etc)?

Cheers,
- -Garrett

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFu/4JEnKyINQw/HARAmPPAJwMExFYj573dwkrAtP2MmcWr5Eb1wCgpZWX
ayrMn3I2HaN4sbnq0I2kQ+4=
=AXcJ
-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: brand new server timing out for sshd connections

2007-01-27 Thread applecom

Jonathan Horne [EMAIL PROTECTED] wrote:


btw, is there a way i can try to send my tcp packets to a specific mac
address?  i know the mac of my target server, if i could get it to talk  
back

to me, i could


net/arping can help you in this
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


trouble using raidtest on gstripe array

2007-01-27 Thread Peter Matulis
On 6.2 STABLE GENERIC, I have set up RAID0 using gstripe on two SATA 
drives and installed benchmarks/raidtest for testing.

The array is known as /dev/stripe/data.

These were my steps:

# export mediasize=`diskinfo /dev/stripe/data | awk '{print $3}'`
# export sectorsize=`diskinfo /dev/stripe/data | awk '{print $2}'`
# raidtest genfile -s $mediasize -S $sectorsize -n 5
# ls
-rw-r--r--  1 root  super   781K Jan 27 08:42 raidtest.data
# raidtest test -d /dev/stripe/data -n 10 raidtest.data

raidtest: Cannot open 'raidtest.data' device: Operation not permitted

# ktrace raidtest test -d /dev/stripe/data -n 10 raidtest.data
# kdump

  1222 raidtest CALL  open(0xbfbfed3f,0,0x8049e6c)
  1222 raidtest NAMI  raidtest.data
  1222 raidtest RET   open 3
  1222 raidtest CALL  fstat(0x3,0xbfbfeb30)
  1222 raidtest RET   fstat 0
  1222 raidtest CALL  open(0xbfbfed28,0x10002,0x8049e6c)
  1222 raidtest NAMI  /dev/stripe/data
  1222 raidtest RET   open -1 errno 1 Operation not permitted
  1222 raidtest CALL  write(0x2,0xbfbde3d0,0xa)
  1222 raidtest GIO   fd 2 wrote 10 bytes
   raidtest: 
  1222 raidtest RET   write 10/0xa
  1222 raidtest CALL  write(0x2,0xbfbde3f0,0x22)
  1222 raidtest GIO   fd 2 wrote 34 bytes
   Cannot open 'raidtest.data' device
  1222 raidtest RET   write 34/0x22
  1222 raidtest CALL  write(0x2,0x2813ed98,0x2)
  1222 raidtest GIO   fd 2 wrote 2 bytes
   : 
  1222 raidtest RET   write 2
  1222 raidtest CALL  write(0x2,0xbfbde3d0,0x18)
  1222 raidtest GIO   fd 2 wrote 24 bytes
   Operation not permitted
   
  1222 raidtest RET   write 24/0x18
  1222 raidtest CALL  exit(0x1)

---

Looks like the gstripe label (/dev/stripe/data) is not available 
somehow.  Is there any known workaround?

---

Port info:

This utility can be used to test performance of storage devices.
First, one need to generate file with I/O operations:

# set mediasize=`diskinfo /dev/device | awk '{print $3}'`
# set sectorsize=`diskinfo /dev/device | awk '{print $2}'`
# raidtest genfile -s $mediasize -S $sectorsize -n 5

It will generate test which contains 5 I/O requests with random
size and random offset. Size is a multiple of sectorsize, but less than 
or
equal to 128kB (maxium size of I/O request). I/O request type (READ or 
WRITE)
is random as well.
All test data are stored in 'raidtest.data' file in current working 
directory.

To run test, one should type:

# raidtest test -d /dev/device -n 10

This command will read test data from 'raidtest.data' file, run 10 
processes
which will be used to send requests to the given device in parallel.
When test is finished you will see statistics:

Bytes per second: x
Requests per second: y

If you compare performance of two storage devices, use the same data 
file!

usage: raidtest genfile [-frw] -s mediasize [-S sectorsize] -n 
nrequests [file]
   raidtest test [-Rrw] -d device [-n processes] [file]

where:
-d device   path to tested device
-f  if raidtest.data file or specified file already 
exists,
remove it and create new one
-n nrequestsnumber of requests to generate
-n processesnumber of processes to run
-r  generate/run only READ requests
-R  generate random data for write requests
-s  size of destination device
-S  sector size of destination device
-w  generate/run only WRITE requests
filepath to the data file instead of 
default 'raidtest.data'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.2.1 won't run with ATI RADEON

2007-01-27 Thread BrendaBPowers
Hello:

I am new to Unix and purchased a copy of FreeBSD 5.2.1 from Fry's to begin 
learning. FreeBSD is used at my work and I wish to learn the OS myself. Hoping 
that an integrated package would be easier to install and have all the packages 
I needed, I bought this version.

My system is thus:
   - Compaq Presario with Pentium D
   - 512 MB ram
   - 200GB drive
   - ATI RADEON XPRESS 200 graphics card
   - NEC 1740CX multisync monitor

After installation the 'startx' command will not start the GUI KDE. I get an 
error message ' no screens found'.

I have tried all the combinations of horizontal-vertical sync that are within 
the range of my monitor but all fail. I have tried every one of the different 
resolutions that are within the horizontal-vertical sync range of my monitor 
but all fail. Here are additional problems:
   - The XFree86 installer has no entry for the ATI RADEON device
   - The XFree86 installer has no entry for the NEC 1740CX monitor

Since I am completely new to Unix I do not know how to send you the log file. 
I am using a different system to install Unix than my Internet connected 
system.

I am sure others have seen problems with the graphics portion of 
installation. This must be a common problem. I had exactly the same problem 
installing 
Suse Linux before trying to use FreeBSD. I found that with Suse, if I installed 
at the lowest resolution the OS would resolve the problem during the first boot 
and reset the resolution to the max. size. FreeBSD does not do this.

Can anyone help?

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


any good articles on freebsd jails?

2007-01-27 Thread Jonathan Horne
anyone know of any recent articles with good documentation on how to do 
freebsd jails?  i would like to learn as much about them as possible, as i 
want to do away with some linux vmware-servers (that are running freebsd 
guests), and replace them with jails on a similar system.

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


Re: any good articles on freebsd jails?

2007-01-27 Thread Joe Holden

Jonathan Horne wrote:
anyone know of any recent articles with good documentation on how to do 
freebsd jails?  i would like to learn as much about them as possible, as i 
want to do away with some linux vmware-servers (that are running freebsd 
guests), and replace them with jails on a similar system.


thanks,
jonathan
___


Jails have alot of restrictions compared to full VM's, however as a 
start, i'd suggest reading man jail(if you haven't already)


--
Joe Holden
Telephone: +44 (0) 207 100 9593
Email: [EMAIL PROTECTED]
Website: http://www.joeholden.co.uk
IRC: [EMAIL PROTECTED]/#FreeBSD
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best Blog Ap in the Ports?

2007-01-27 Thread RJ
Bob,
  If you don't need all that Druapl has to offer, just set the default
front page to the blog that is included. I know it's a CMS with many
features that you may not require at this time but, as time goes on,  Drupal
has the ability to do almost anything you will need.


- Original Message - 
From: bobmc [EMAIL PROTECTED]
To: FreeBSD Questions [EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 8:03 PM
Subject: Re: Best Blog Ap in the Ports?


 
  - Original Message - 
  From: bobmc [EMAIL PROTECTED]
  To: FreeBSD Questions [EMAIL PROTECTED]
  Sent: Friday, January 26, 2007 11:49 PM
  Subject: Re: Best Blog Ap in the Ports?
 
  Tuareg wrote:
 
  On 1/26/07, eoghan [EMAIL PROTECTED] wrote:
 
  On 26 Jan 2007, at 17:41, [EMAIL PROTECTED] wrote:
 
 
  What is the best blog ap in the ports tree?  I was thinking of
  starting a
  blog on my server for my Chemistry Students.
 
  Since blogs and wikis are typically written in high-level such as PHP
  and Perl, a port to a specific UNIX type OS should not be necessary.
Do
  you know about LAMP?  Linux, Apache, MySQL, and ( Perl | PHP).  Scratch
  out Linux and you will find that AMP runs anywhere. Call it BSD-AMP if
  you like. I expect it will support your blogs and wikis very well.
 
  There is a certain amount of hype about LAMP probably started by some
  Linux advocate not realizing that the valuable abstraction is being
  obscured.  -BobMc-

  Ryan Wrote:-  Drupal (http://drupal.org/), it's a more than just a
blog ap.
 Drupal is fine software but it is complex and overkill for a blog  -BobMc-

 ___
 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 enable linux flash player [9] in firefox

2007-01-27 Thread Gary Kline
On Sat, Jan 27, 2007 at 01:27:49PM -0800, Garrett Cooper wrote:
 
 It's a pain in the ass that Adobe / Macromedia had to invent a
 technology that so many web developers sought, just because of its
 ease of developing; if only the developers sought to learn CSS and a
 bit of proper javascripting, then stuff would be easier for viewing on
 all platforms.
 

I've nevr understood the need for something as absurd as 
flash and shockwave;  a graphic/animated app that was developed
for proprietary computers.  But I have wanted to know if the
same thing could be done with Java.  Isn't most of  the sweat 
in creating the animation?  The big question is, how much
effort would it take to creat a javascript out of 
whatever-flash-requires?

-- 
  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: Best Blog Ap in the Ports?

2007-01-27 Thread Joe Holden
- Original Message - 
From: bobmc [EMAIL PROTECTED]

To: FreeBSD Questions [EMAIL PROTECTED]
Sent: Friday, January 26, 2007 11:49 PM
Subject: Re: Best Blog Ap in the Ports?


Tuareg wrote:
On 1/26/07, eoghan [EMAIL PROTECTED] wrote:


On 26 Jan 2007, at 17:41, [EMAIL PROTECTED] wrote:



What is the best blog ap in the ports tree?  I was thinking of
starting a
blog on my server for my Chemistry Students.



Another vote for wordpress here, as can be seen on my website, fairly 
lightweight and can do almost anything you need with the wealth of 
plugins etc.

--
Joe Holden
Telephone: +44 (0) 207 100 9593
Email: [EMAIL PROTECTED]
Website: http://www.joeholden.co.uk
IRC: [EMAIL PROTECTED]/#FreeBSD
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot launch vsftpd at system startup

2007-01-27 Thread DAve

Peter Matulis wrote:

Le Samedi 27 Janvier 2007 18:34, Derek Ragona a écrit :

change the line:
. %%RC_SUBR%%

to:
. /etc/rc.subr

 -Derek

At 05:05 PM 1/27/2007, Peter Matulis wrote:

Le Samedi 27 Janvier 2007 16:36, Derek Ragona a écrit :

add set -x to the startup script and debug where that error
message is coming from.

 -Derek

At 02:55 PM 1/27/2007, Peter Matulis wrote:

Hi gang,

I have read quite a few articles on how to start vsftpd at
system bootup but nothing seems to work on my new and updated
6.2 STABLE machine.

I have copied /usr/ports/ftp/vsftpd/files/vsftpd.sh.in
to /usr/local/etc/rc.d/vsftpd.sh and it is executable.

In /etc/rc.conf I am placing:

vsftpd_enable=YES

and in vsftpd.conf:

listen=YES
background=YES

I can't see the error when my machine boots but when I attempt
to run the rc.d script manually I get:

.: Can't open %%RC_SUBR%%: No such file or directory

I can start the daemon at the command line:

/usr/local/libexec/vsftpd 

I installed the port sysutils/rc_subr thinking it may help but
it does not.  I also reinstalled vsftpd with the make option
RC_NG but it doesn't seem to do anything (isn't it supposed to
install the rc.d script?).

The shell tries to parse this line:

. %%RC_SUBR%%

I have no idea what it is trying to source.

Here is the entire script:


#!/bin/sh
#
# $FreeBSD: ports/ftp/vsftpd/files/vsftpd.sh.in,v 1.7 2006/02/20
20:47:01 dougb Exp $
#

# PROVIDE: vsftpd
# REQUIRE: DAEMON

# Add the following line to /etc/rc.conf to enable `vsftpd':
#
# vsftpd_enable=YES
# vsftpd_flags=/some/path/conf.file # Not required
#

. %%RC_SUBR%%

name=vsftpd
rcvar=`set_rcvar`

load_rc_config $name

: ${vsftpd_enable:=NO}
: ${vsftpd_flags:=}

command=%%PREFIX%%/libexec/$name
required_files=%%PREFIX%%/etc/$name.conf
start_precmd=vsftpd_check

vsftpd_check()
{
if grep -q ^ftp[   ] /etc/inetd.conf
${required_files} then
err 1 ftp is already activated in /etc/inetd.conf
fi
if ! egrep -q -i -E ^listen.*=.*YES$ ${required_files}
then
err 1 vsftpd script need listen=YES on config
file fi
if ! egrep -q -i -E ^background.*=.*YES$
${required_files} then
err 1 vsftpd script need background=YES on
config file
fi
}

run_rc_command $1


It seems the funny %% variables cannot be understood.  I had to hard 
code the paths:


#. %%RC_SUBR%%
. /etc/rc.subr

name=vsftpd
rcvar=`set_rcvar`

load_rc_config $name
: ${vsftpd_enable:=NO}
: ${vsftpd_flags:=}

#command=%%PREFIX%%/libexec/$name
command=/usr/local/libexec/$name
#required_files=%%PREFIX%%/etc/$name.conf
required_files=/usr/local/etc/$name.conf

Then it worked.  I'm ok with this but it leaves me wondering why I have 
to do this.  Thanks for your time.


You should not have had to copy that file from the ports dir. The 
%%RC_SUBR%% is normally replaced with the appropriate path during 'make 
install'. I've seen this happen when a port fails to finish the install 
due to errors. Unfortunately most how-to web pages say to run


make;make install;make clean

This doesn't allow you any time to see if any errors occurred or to see 
any messages the port maintainer presents to you after install.


Are you certain your port installed without errors? I would try running 
'make deinstall;make clean;make install' and then see if the port 
properly installs the startup script with the vars expanded for you, or 
if an error pops up.


DAve

--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
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 enable linux flash player [9] in firefox

2007-01-27 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gary Kline wrote:
 On Sat, Jan 27, 2007 at 01:27:49PM -0800, Garrett Cooper wrote:
 It's a pain in the ass that Adobe / Macromedia had to invent a
 technology that so many web developers sought, just because of its
 ease of developing; if only the developers sought to learn CSS and a
 bit of proper javascripting, then stuff would be easier for viewing on
 all platforms.

 
   I've nevr understood the need for something as absurd as 
   flash and shockwave;  a graphic/animated app that was developed
   for proprietary computers.  But I have wanted to know if the
   same thing could be done with Java.  Isn't most of  the sweat 
   in creating the animation?  The big question is, how much
   effort would it take to creat a javascript out of 
   whatever-flash-requires?

Java? Not that bad, but the VM isn't as lightweight as the flash runtime
engine (believe it or not). Not only that, it takes better developers
than the ones that do flash (no, you can't point, click and drop little
animations where you like or out of the box effects).

About the only thing that flash can do that javascript and the rest
can't do (easily) is video and audio, but then again that can be hacked
using the right tools and setup in Java (maybe with a bit of native, or
C/C++ code) to do what you need to do at lower levels.

As for Javascript, it can do the majority of the junk that flash is used
for nowadays, with a little proper HTML coding. Flash is just a fad that
developers use to deploy quick projects (similar to VB was back in the
day for Windows users).

That's a good thought though.. I like that idea..

- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFvCvqEnKyINQw/HARAsSPAJ9avHfXpA52mfIyS5Cpgyqy7LD37ACfSTro
/fjbOgw1vzBTO3rZljAORwM=
=hF7h
-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]


The FreeBSD Diary: 2007-01-07 - 2007-01-27

2007-01-27 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

23-Jan : Bacula - Transport Layer Security (TLS)
 Encrypt your data during transportation 
 http://freebsddiary.org/bacula-tls.php?2

12-Jan : Cacti remote injection exploit
 How Cacti told me it was being exploited 
 http://freebsddiary.org/cacti-exploit.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: FreeBSD 5.2.1 won't run with ATI RADEON

2007-01-27 Thread bobmc
[EMAIL PROTECTED] wrote:
 Hello:

 I am new to Unix and purchased a copy of FreeBSD 5.2.1 from Fry's to begin 
 learning. FreeBSD is used at my work and I wish to learn the OS myself. 
Perhaps this is a political situation where person(s) at work who
already have BSD skills do not have the time to help or the organization
structure makes that unfeasible.  Anyway,  your initiative is commendable.
 After installation the 'startx' command will not start the GUI KDE. I get an 
 error message ' no screens found'.
   
Assuming you have created an account for yourself,  create a .xinitrc
file in your directory with:-

X 
exec startkde

.. but the X server must be configured first from the root account.
 I have tried all the combinations of horizontal-vertical sync that are within 
 the range of my monitor but all fail. 
What do you mean by fail? It could be distorted display or none at all. 
Try  as root:-

X -configure#creates a file prints on the console
cd # root directory
X -config xorg.conf.new

If you can't move an X on the screeen with a mouse. Hit
ctrl-alt-backspace and try a change in xorg.conf.new

- in section Screen enter -   DefaultDepth 24
- in subsection Display under Depth 24
  enter Modes 1280x1024

If ok, cp xorg.conf.new /etc/X11/xorg.conf

 Since I am completely new to Unix I do not know how to send you the log file. 

   
That's ok, because X creates a big file

 I found that with Suse, if I installed 
 at the lowest resolution the OS would resolve the problem during the first 
 boot 
 and reset the resolution to the max. size. FreeBSD does not do this.

 Can anyone help?
 Brenda Powers   
   
Results depend upon the combination of your video card and monitor.
Recent Linux distributions feature a lot of scripts and daemon programs
to figure out all these combinations.  BSD stays relatively baggage-free
by asking you to do a few manual procedures which are usually
straight-forward.   -BobMc-

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


Re: Blocking traffic by Mac address using IPFW

2007-01-27 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 25 Jan 2007 08:22:17 -0600
Kevin Kinsey [EMAIL PROTECTED] wrote:

 Tek Bahadur Limbu wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  
  Dear All,
  
  I need some help regarding using IPFW to block specific MAC
  addresses. How do I block incoming traffic by a MAC address instead
  of an IP address.
  
  Can this be done using IPFW? Since I am quite new to FreeBSD, can
  somebody shed some light on this issue?
 
 Yes, it appears that ipfw(8) can do this --- check the manpage (quite
 a ways down, in the RULE OPTIONS section [ about byte 45000] for full 
 details; note also that there may be other issues involved.  Here is
 a short thread on the subject from a couple of years ago:
 
 http://lists.freebsd.org/pipermail/freebsd-ipfw/2004-September/001375.html
 
 Disclaimer: IANAE, and don't play one on television ;-)
 
 HTH,
 
 Kevin Kinsey
 -- 
 Heisenberg may have been here.
 

Dear Kevin,

Thanks. I am looking at the links you provided.

- -- 


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFFvDTfVrOl+eVhOvYRAr8+AJ9cRvI687IxBsQwMsoW+gDRBvxUcwCfV8ed
RjZgBkI1c0m8SlB6cE3jJho=
=PIHo
-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: upgrading xfce4 fails

2007-01-27 Thread John Nielsen
On Saturday 27 January 2007 18:48, Markus Hoenicka wrote:
 Markus Hoenicka writes:
   There's one thing broken though: After the upgrade, panel plugins fail
   to display correct values. The battery monitor claims the battery of
   my laptop is at 0%. The network monitor plugin also sees the traffic
   at 0 kbyte/s no matter what I do. The volume plugin displays a value
   according to where I click in the plugin, but this does not translate
   to a higher or lower volume. Inversely, if I set the volume using
   xfce4-mixer, the value is not correctly displayed by the plugin. Did
   you notice similar problems? Did I miss to upgrade a package that all
   plugins rely on?

 Oops... The network monitor and the volume control plugins just
 required the network interfaces and device settings, respectively, and
 now work ok. Still, the battery monitor does not. Any clues?

There's a PR open for this with a working patch:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/108322

Download it and apply it in the ports/sysutils/xfce4-battery-plugin 
directory then rebuild the port. It fixed the problem for me. I'm sure it 
will be committed shortly.

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


  1   2   >