Re: Intel G965 chipset? (solved)

2007-07-24 Thread Bruce Caruthers

And finally, now that it seems everything is working:

* Antony Mawer's backport diff (see freebsd-questions,
  19Mar2007, "Re: Can't see ATA drives with new install")
  worked well.  I now have all the packages from disc 2
  copied locally without any problems or errors.

Also:
* added
hint.acpi.0.disabled="1"
  to /boot/device.hints to make the default boot have
  ACPI disabled

Thanks to all, and hopefully this helps someone else
avoid all the headaches!


On Mon Jul 23, 2007, Bruce Caruthers wrote:
>
> Here's a followup, so anyone checking the archives
> will know what to do...  (and if it helps the group
> overall, even better)
>
> Much thanks to those who tried to help.  As I was
> running a Pentium on an Intel board, it never
> occurred to me to even look at the amd64 variant,
> until I realized the one guy with the same mobo who
> had posted with related problems (although able to
> install) mentioned he was using amd64, whereupon I
> checked my cpu and the FreeBSD/amd64 pages and
> discovered that it applied to my hardware.
> Downloaded amd64 and installed over ftp, and voila,
> my system runs!  Hooray!
>
>
> === System:
> Intel DG965WH mobo (G965 Express chipset, ICH8R)
> Pentium 4 (631) CPU
> 2 RAID-1 pairs of Hitachi 320GB SATA300 (ar0, ar1)
> Phillips DVR-109 DVD drive
>
>
> === Successful Install:
> * 6.2-RELEASE-amd64: booted from downloaded CD,
>   installed via ftp (would not let me even select
>   CD as media, which presumably would have failed
>   anyway, given the Marvell problem)
> * Will now apply Antony's pata patch, and see if
>   that new kernel makes everything work right.  If
>   nothing else, the system seems to be up and
>   running (only need CD for installs, all else is
>   headless use)
>
>
> === Failed Attempts:
> * 6.2-RELEASE-i386 failed to even begin the install,
>   despite trying all "beastie menu" boot options
>
> * 6.2-STABLE-i386-200706 failed to even begin the
>   install, despite trying all "beastie menu" boot
>   options
>
> * 7.0-CURRENT-i386-200706 appeared to install, but
>   never could complete booting (froze at different
>   dmesg output spots, depending on beastie boot
>   choice, but still never made it to a login)
>
> * 6.2-RELEASE-i386 via 7.0-CURRENT-i386 as installer,
>   (reconfigured in options settings to install 6.2
>   over ftp) -- in the hopes that being able to bypass
>   the CD/DVD drive would let me get up and running --
>   alas, still no joy, although got about as far as
>   7.0-CURRENT (i.e. appeared to install, but couldn't
>   actually use the system)
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problem while access the kernel file

2007-07-24 Thread Prakash Poudyal

Any way thanks
YOU know I do have a problem as I forget to install all the src
contect in the server so I go through the sysinstall and made it. I
have slove the problem

Any way thank Kitsana

Sincerely
Praksh Poudyal

On 7/24/07, CyberLeo Kitsana <[EMAIL PROTECTED]> wrote:

Prakash Poudyal wrote:
> Hello All,
>
> I do have problem when I tried to access the file kernel file GENEREIC
> I did as follows but following error cames so could please any body
> answer me waht is exactly the problem
>
>
> ns2# /cdrom/5.5-RELEASE/src/install.sh all
>
> Extracting sources into /usr/src...
>  Extracting source component: base
> cat: sbase.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: bin
> cat: sbin.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: contrib
> cat: scontrib.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: crypto
> cat: scrypto.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: etc
> cat: setc.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: games
> cat: sgames.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: gnu
> cat: sgnu.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: include
> cat: sinclude.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: krb5
> cat: skrb5.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: lib
> cat: slib.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: libexec
> cat: slibexec.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: release
> cat: srelease.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: rescue
> cat: srescue.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: sbin
> cat: ssbin.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: secure
> cat: ssecure.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: share
> cat: sshare.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: sys
> cat: ssys.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: tools
> cat: stools.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: ubin
> cat: subin.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
>  Extracting source component: usbin
> cat: susbin.??: No such file or directory
> tar: Error opening archive: Empty input file: Inappropriate file type or
> format
> Done extracting sources.

Perhaps your current working directory must be the same as the install
script's path?

cd /cdrom/5.5-RELEASE/src/ && ./install.sh all

--
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<[EMAIL PROTECTED]>

Furry Peace! - http://.fur.com/peace/


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


Problem in routing or NATing in the freebsd

2007-07-24 Thread Prakash Poudyal

Hello All,

Here I am trying to do NAT , I made everything like configureing the
NAT and compiling kernel. I could access the gateway as well from the
client computer but could not access the Internet from the client
computer. When I triend to access the interent from client computer
such error will so in my sever computer

dc1 : failed to force tx and rx to idle state

where dc1 Network interface consit of IP address of 192.168.0.1 in server.

Thank you

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


Re: quickie: howto? window manager & xterms, but no kde/gnome/xfce

2007-07-24 Thread George
On Mon, Jul 23, 2007 at 09:36:53AM -0700, Steve Franks wrote:
> I'm not totally opposed to what comes up in X if you start with no
> .xinitrc, but it's a tad ugly.  I'd ideally like to have a nifty window
> manager, like one of those new 3d ones, but I find no point in running
> kde/gnome/xfce - I launch everything (firefox, etc.) from a prompt
> anyway.  So howto?  I presume I just have to put some things instead of
> "exec xfce-session" in my .xinitrc?  

Not sure about nifty, but I think you're looking for something along the
lines of fluxbox.  It will provide virtual desktops, a way to launch
programs from a prompt, and a desktop menu in case you need it.  What
more does anyone need, right?

$ echo "exec /usr/X11R6/bin/startfluxbox start" >> ~/.xinitrc   

Be sure to install the devel version.

> Is there a guide to this somewhere?  Do most window managers configure
> pretty easily without a desktop?  Is this a common demand?  

Your request isn't unusual but it's been perennially discussed for
longer than people care to remember.   Google is your friend, but
http://en.wikipedia.org/wiki/X_window_manager should get you started.
Configuration is typically done with ... wait for it ... a text editor.
;-)

> ([HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
> NT\CurrentVersion\Winlogon]-> change
> "Shell"="c:\\windows\\system32\\cmd.exe" from shell=explorer) 
> 
> My friend got the idea for XP.  As far as we know it's a completely
> unknown XP hack.  Please credit "Scott Plumlee" if you share/post it.

LOL.  No offense to your friend, but that setting is well known and
applies to XP, 2000 and, IIRC, the entire Win9x line; there's also a
HKCU setting, and a group policy option that mostly works.   Google for
something like "replacement shell", "litestep" or visit shellfront.org
to see what's available either free or commercially.  There's no reason
to default to something as braindead as cmd.exe as your shell.  

We're getting way off-topic here, but I'll add a note of caution:
replacing explorer.exe with something better as a shell is fairly
trivial and while it does work well 99.8% of the time, chances are you
will spend endless hours getting things "just right".  If pursuing an
uphill-bothways goal of getting sane or Unixy behaviour from Windows is
your goal, I'd instead suggest installing Cygwin, and then hiding from
view the desktop features like icons, the taskbar, etc.  Cygwin will
provide rxvt, bash (or csh, zsh, etc.), vim, screen, ssh, and just about
anything else you'd want. 


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


looking for a good mailing list manager

2007-07-24 Thread Steven
Hi I am looking for a good Open source mailing list manager.

 

It should be web based, preferable be able to handle multiple domains but
not essential, nice interface for user and administrator and at least fairly
good statistics/reports.

 

I have looked at phplist.com but not completely happy with it.

 

Any help would be appreciated.

 

Thanks

Steven

 

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


powerd on dual core

2007-07-24 Thread Gabriel Linder

Hi,

I use a T2300 Core Duo laptop with SMP kernel and powerd enabled on 
FreeBSD 6.2.


When I try to check my CPU settings with "sysctl dev.cpu" I get a value 
only for dev.cpu.0.freq (no dev.cpu.1.freq, but there are some fields 
for dev.cpu.1), so I wonder if powerd manage only one core or if the two 
cores are running at the same speed ?

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


Re: looking for a good mailing list manager

2007-07-24 Thread Heiko Wundram (Beenic)
Am Dienstag 24 Juli 2007 10:04:47 schrieb Steven:
> Hi I am looking for a good Open source mailing list manager.

Mailman? I can only recommend that.

http://www.gnu.org/software/mailman/mailman.html

-- 
Heiko Wundram
Product & Application Development
-
Office Germany - EXPO PARK HANNOVER
 
Beenic Networks GmbH
Mailänder Straße 2
30539 Hannover
 
Fon+49 511 / 590 935 - 15
Fax+49 511 / 590 935 - 29
Mail   [EMAIL PROTECTED]


Beenic Networks GmbH
-
Sitz der Gesellschaft: Hannover
Geschäftsführer: Jorge Delgado
Registernummer: HRB 61869
Registergericht: Amtsgericht Hannover
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mode 11g, but 6Mbps

2007-07-24 Thread Pietro Cerutti
Hi List,
I have an Intel PRO/Wireless 3945ABG adapter using the wpi0 driver
connecting to an access point using the 802.11g mode.
# ifconfig wpi0 mode 11g
# ifconfig wpi0
...
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g (OFDM/6Mbps)
...

Can anyone explain why I see OFDM/6Mbps instead of OFDM/54Mbps (or at
least 19Mbps if you mean the actual throughput?)

Tnx

-- 
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp



signature.asc
Description: OpenPGP digital signature


Re: mode 11g, but 6Mbps

2007-07-24 Thread Federico Lorenzi

On 7/24/07, Pietro Cerutti <[EMAIL PROTECTED]> wrote:

Hi List,
I have an Intel PRO/Wireless 3945ABG adapter using the wpi0 driver
connecting to an access point using the 802.11g mode.
# ifconfig wpi0 mode 11g
# ifconfig wpi0
...
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g (OFDM/6Mbps)
...

Can anyone explain why I see OFDM/6Mbps instead of OFDM/54Mbps (or at
least 19Mbps if you mean the actual throughput?)

It could depend on a few things, first off remember that it's a highly
experimental driver at
this stage, and don't mean to be stating the obvious, but are you
actually close enough to
the AP to get 54mbps? Windows says 54 / 11 no matter what speed it is
running at.

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


Re: mode 11g, but 6Mbps

2007-07-24 Thread Pietro Cerutti
Federico Lorenzi wrote:
> On 7/24/07, Pietro Cerutti <[EMAIL PROTECTED]> wrote:
>> Hi List,
>> I have an Intel PRO/Wireless 3945ABG adapter using the wpi0 driver
>> connecting to an access point using the 802.11g mode.
>> # ifconfig wpi0 mode 11g
>> # ifconfig wpi0
>> ...
>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g (OFDM/6Mbps)
>> ...
>>
>> Can anyone explain why I see OFDM/6Mbps instead of OFDM/54Mbps (or at
>> least 19Mbps if you mean the actual throughput?)
> It could depend on a few things, first off remember that it's a highly
> experimental driver at
> this stage, and don't mean to be stating the obvious, but are you
> actually close enough to
> the AP to get 54mbps? Windows says 54 / 11 no matter what speed it is
> running at.

Hi Federico,

Actually I'm 4 meters away from the AP.
I know that wpi is still in pre-alpha state ;-)

Tnx

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


-- 
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp



signature.asc
Description: OpenPGP digital signature


Re: mode 11g, but 6Mbps

2007-07-24 Thread Federico Lorenzi

On 7/24/07, Pietro Cerutti <[EMAIL PROTECTED]> wrote:

Federico Lorenzi wrote:
> On 7/24/07, Pietro Cerutti <[EMAIL PROTECTED]> wrote:
>> Hi List,
>> I have an Intel PRO/Wireless 3945ABG adapter using the wpi0 driver
>> connecting to an access point using the 802.11g mode.
>> # ifconfig wpi0 mode 11g
>> # ifconfig wpi0
>> ...
>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g (OFDM/6Mbps)
>> ...
>>
>> Can anyone explain why I see OFDM/6Mbps instead of OFDM/54Mbps (or at
>> least 19Mbps if you mean the actual throughput?)
> It could depend on a few things, first off remember that it's a highly
> experimental driver at
> this stage, and don't mean to be stating the obvious, but are you
> actually close enough to
> the AP to get 54mbps? Windows says 54 / 11 no matter what speed it is
> running at.

Hi Federico,

Actually I'm 4 meters away from the AP.
I know that wpi is still in pre-alpha state ;-)


That may be your problem :) Try move further away, i know that
being to close to the AP can cause issues too, with any card,
although 4m sounds fine. It could also be that the WPI drivers
are just limited as they dont work at faster speeds yet. What
version of FreeBSD are you running, and what WPI drivers?

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


Re: USB Keyboard / Dell Optiplex 745 / FreeBSD 6.2

2007-07-24 Thread Nico -telmich- Schottelius
Reid Linnemann [Fri, Jul 20, 2007 at 10:32:48AM -0500]:
> I've never know what causes this, but in single user mode some USB 
> keyboards on some systems refuse to work. I myself work on an Optiplex 
> GX270 that exhibits the same behavior. You can get around it easily enough 
> though; at the loader, set hint.atkbd0.disabled=1 and then boot, the 
> problem should go away.

Does not work here, I gave up with this dell beast and I am using
another old pc for testing.

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


Re: looking for a good mailing list manager

2007-07-24 Thread Gerard
On July 24, 2007 at 04:04AM Steven wrote:


> Hi I am looking for a good Open source mailing list manager.

You could try 'Dada Mail'.

http://mojo.skazat.com/

It is not in the ports system; however, it works just fine under
FreeBSD-5x and 6x.


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


Re: connecting user root with ssh

2007-07-24 Thread Norberto Meijome
On Wed, 30 May 2007 02:06:38 -0700
[EMAIL PROTECTED] wrote:

> * If "root" cannot log in remotely, a cracker has to guess three

guess or brute force - so  quite long random passwords (or ssh keys) are
extremely recommendable.

>   things to obtain root access, instead of just one:
> 
>   + A valid username which is in the "wheel" group;
>   + That user's password;
>   + The root password.

that is assuming, of course, that the user your just logged in with belongs to
wheel.

_
{Beto|Norberto|Numard} Meijome

"The only good bureaucrat is one with a pistol at his head.
Put it in his hand and it's goodbye to the Bill of Rights."
   H.L. Mencken

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Stranges messages in terminal

2007-07-24 Thread Norberto Meijome
On Wed, 30 May 2007 16:27:12 -0400
Robert Huff <[EMAIL PROTECTED]> wrote:

> 
> Hugo Silva writes:
> 
> >  That always happens on my 6.2 laptop whenever I switch to a console 
> >  (ALT+FX) and back to X. It isn't a problem, afaik.
> 
>   Speaking of which:
>   Ctl-Alt-Fn used to allow me to switch consoles; with Xorg 7.2,
> no more.
>   Would some kind sole point me to the documentation on how to
> enable this again?

Robert,
search the archives for postings related to a certain version of xkb (possibly)
affecting  this behaviour if you have alternative keyboard mappings - I started
one of the threads and pointed back to it in another 

B
_
{Beto|Norberto|Numard} Meijome

"Produce great people, the rest will follow."
  Elbert Hubbard

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: looking for a good mailing list manager

2007-07-24 Thread Hakan K

Try "Petidomo Mailing List Manager"

http://petidomo.sourceforge.net/
http://sourceforge.net/projects/petidomo/



Thanks
Troy
http://primoris.com

On 7/24/07, Steven <[EMAIL PROTECTED]> wrote:


Hi I am looking for a good Open source mailing list manager.



It should be web based, preferable be able to handle multiple domains but
not essential, nice interface for user and administrator and at least
fairly
good statistics/reports.



I have looked at phplist.com but not completely happy with it.



Any help would be appreciated.



Thanks

Steven



___
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: looking for a good mailing list manager

2007-07-24 Thread Eric

Steven wrote:

Hi I am looking for a good Open source mailing list manager.

 


It should be web based, preferable be able to handle multiple domains but
not essential, nice interface for user and administrator and at least fairly
good statistics/reports.

 


I have looked at phplist.com but not completely happy with it.

 


Any help would be appreciated.



i went with mailman. it integrated with postfix easily and works well. 
the front end is all web based and its been proven to work on lists far 
bigger than 99% of people will ever administer.



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


Line-in on sblive (uadio) on RELENG_6 ?

2007-07-24 Thread Robin P. Blanchard
Since migrating a local NPR station from RELENG_5 with a pci ES1370 card to
RELENG_6 with an USB SBLive, listeners are complaining of very low levels.
The feed (from the radio station) is straight into the line-in on the sblive
(but notice that mixer reports the only recording device as mic). On the
previous server, line-in was an option. Despite the recording device being
currently set to 'mic' (and the cabling plugged into line-in), sound is
indeed being captured and recorded. Adjusting the mixer levels seems to have
no impact on volume whatsoever. Should I just go ahead and try using the
mic-in ? Or am I missing something simple here ?

TIA,
Robin


# mixer 
Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to  99:99
Mixer speaker  is currently set to  99:99
Mixer line is currently set to  99:99
Recording source: mic

# sysctl -a |egrep 'pcm|audio'

hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 1
dev.uaudio.0.%desc: Creative Technology SB Live! 24-bit External, rev
1.10/1.00, addr 2
dev.uaudio.0.%driver: uaudio
dev.uaudio.0.%location: port=1 interface=0
dev.uaudio.0.%pnpinfo: vendor=0x041e product=0x3040 devclass=0x00
devsubclass=0x00 release=0x0100 sernum="" intclass=0x01 intsubclass=0x01
dev.uaudio.0.%parent: uhub2
dev.pcm.0.%desc: USB Audio
dev.pcm.0.%driver: pcm
dev.pcm.0.%parent: uaudio0

# cat /dev/sndstat 
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at ? kld snd_uaudio (1p/1r/1v channels duplex default)
mode 1:(output) 2ch, 16/16bit, pcm, 44100Hz
mode 2:(output) 2ch, 24/24bit, pcm, 44100Hz
mode 3:(output) 4ch, 16/16bit, pcm, 44100Hz
mode 4:(output) 4ch, 24/24bit, pcm, 44100Hz
mode 5:(output) 6ch, 16/16bit, pcm, 44100Hz
mode 6:(output) 6ch, 24/24bit, pcm, 44100Hz
mode 7:(output) 2ch, 16/16bit, pcm, 48000Hz
mode 8:(output) 2ch, 24/24bit, pcm, 48000Hz
mode 9:(output) 4ch, 16/16bit, pcm, 48000Hz
mode 10:(output) 4ch, 24/24bit, pcm, 48000Hz
mode 11:(output) 6ch, 16/16bit, pcm, 48000Hz
mode 12:(output) 6ch, 24/24bit, pcm, 48000Hz
mode 13:(output) 2ch, 16/16bit, pcm, 96000Hz
mode 14:(output) 2ch, 24/24bit, pcm, 96000Hz
mode 1:(input) 2ch, 16/16bit, pcm, 44100Hz
mode 2:(input) 2ch, 24/24bit, pcm, 44100Hz
mode 3:(input) 2ch, 16/16bit, pcm, 48000Hz
mode 4:(input) 2ch, 24/24bit, pcm, 48000Hz
mode 5:(input) 2ch, 16/16bit, pcm, 96000Hz
mode 6:(input) 2ch, 24/24bit, pcm, 96000Hz
[pcm0:play:0:dsp0.0]: spd 48000, fmt 0x1010, flags 0x00101000,
0x0040
interrupts 0, underruns 0, ready 0
{userland} -> feeder_vchan_s16(0x1010) -> feeder_volume_s16 ->
{hardware}
[pcm0:record:0:dsp0.1]: spd 44100, fmt 0x1010, flags 0x1030,
0x, pid 11322
interrupts 50496534, overruns 0, hfree 16384, sfree 131072
{hardware} -> feeder_root(0x1010) -> {userland}
pcm0:play:0:dsp0.0[pcm0:virtual:0:dsp0.2]: spd 0, fmt
0x/0x0008, flags 0x1000, 0x
interrupts 0, underruns 0, ready 0
{userland} -> feeder_root(0x) -> {hardware}

File Versions:
$FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.3 2005/01/06 01:43:17 imp
Exp $
$FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.17.2.5 2007/02/04 06:17:14 ariff
Exp $
$FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.93.2.5 2007/06/04 09:06:05 ariff
Exp $
$FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.20.2.2 2005/12/30 19:55:54
netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.43.2.5 2007/05/13 20:53:39 ariff
Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_volume.c,v 1.2.2.1 2005/12/30 19:55:54
netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.11.2.2 2006/01/29 02:27:28
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.14.2.2 2006/01/29 02:27:28
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.33.2.3 2006/03/07 15:51:19 jhb
Exp $
$FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.14.2.1 2005/12/30 19:55:54
netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.80.2.7 2007/07/08 14:01:11 ariff
Exp $
$FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.99.2.5 2007/05/13 20:53:39
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.25.2.3 2007/04/26 08:21:43 ariff
Exp $
$FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.3.2.4 2007/07/04 04:04:42
ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.53.2.5 2007/05/13 20:53:39 ariff
Exp $
[EMAIL PROTECTED] [~]# 

---
Robin P. Blanchard
Systems Integration Specialist
The University of Georgia
Center for Continuing Education
Conference Center & Hotel
fon: 706.542.2404 < > fax: 706.542.1587
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dump -L

2007-07-24 Thread Victor Sudakov
Colleagues,

I always use "dump -L" to dump a live filesystem.
However, when I restore the dump, I sometimes get messages like 
"foo.txt (inode 12345) not found on tape" or
"expected next file 12345, got 23456" 

I thought this should _never_ happen when dumping a snapshot.

What is it?

Thanks in advance for any input.
I am ready to provide additional info if required to understand the
problem.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[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: dump -L

2007-07-24 Thread cpghost
On Tue, Jul 24, 2007 at 06:54:01PM +0700, Victor Sudakov wrote:
> Colleagues,
> 
> I always use "dump -L" to dump a live filesystem.
> However, when I restore the dump, I sometimes get messages like 
> "foo.txt (inode 12345) not found on tape" or
> "expected next file 12345, got 23456" 

I'm seeing this too. It's always exactly one inode per file system.

> I thought this should _never_ happen when dumping a snapshot.
> 
> What is it?

I don't know. Perhaps it is the inode of the snapshot file
itself?

> Thanks in advance for any input.
> I am ready to provide additional info if required to understand the
> problem.
> 
> -- 
> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
> sip:[EMAIL PROTECTED]

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Install pdo mysql

2007-07-24 Thread Efren Bravo
Hi,

I've FreeBSD 6.1-RELEASE-p16 #3 and the
php5-extensions 1.1 doesn't have anything related
to pdo mysql.

Can somebody tell me how do I install pdo mysql?


Thanks in advance...


   

Sé un Mejor Amante del Cine 
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
http://advision.webevents.yahoo.com/reto/entretenimiento.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mode 11g, but 6Mbps

2007-07-24 Thread Tom Evans
On Tue, 2007-07-24 at 11:42 +0200, Pietro Cerutti wrote:
> Federico Lorenzi wrote:
> > On 7/24/07, Pietro Cerutti <[EMAIL PROTECTED]> wrote:
> >> Hi List,
> >> I have an Intel PRO/Wireless 3945ABG adapter using the wpi0 driver
> >> connecting to an access point using the 802.11g mode.
> >> # ifconfig wpi0 mode 11g
> >> # ifconfig wpi0
> >> ...
> >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g (OFDM/6Mbps)
> >> ...
> >>
> >> Can anyone explain why I see OFDM/6Mbps instead of OFDM/54Mbps (or at
> >> least 19Mbps if you mean the actual throughput?)
> > It could depend on a few things, first off remember that it's a highly
> > experimental driver at
> > this stage, and don't mean to be stating the obvious, but are you
> > actually close enough to
> > the AP to get 54mbps? Windows says 54 / 11 no matter what speed it is
> > running at.
> 
> Hi Federico,
> 
> Actually I'm 4 meters away from the AP.
> I know that wpi is still in pre-alpha state ;-)
> 
> Tnx
> 

Heh, at least you have some connectivity - mine is still using none!

[EMAIL PROTECTED]:0:0: class=0x028000 card=0x135c103c chip=0x42228086 rev=0x02
hdr=0x00
vendor = 'Intel Corporation'
device = '3945ABG Intel 3945ABG Wireless LAN controller'
class  = network

Driver either fails to initialise, or panic's my -CURRENT laptop :)

I'd think its highly likely that performance issues are due to
pre-release quality of the driver.


signature.asc
Description: This is a digitally signed message part


WPI Driver Support (WAS: Re: mode 11g, but 6Mbps)

2007-07-24 Thread Federico Lorenzi

On 7/24/07, Tom Evans <[EMAIL PROTECTED]> wrote:

On Tue, 2007-07-24 at 11:42 +0200, Pietro Cerutti wrote:
> Federico Lorenzi wrote:
> > On 7/24/07, Pietro Cerutti <[EMAIL PROTECTED]> wrote:
> >> Hi List,
> >> I have an Intel PRO/Wireless 3945ABG adapter using the wpi0 driver
> >> connecting to an access point using the 802.11g mode.
> >> # ifconfig wpi0 mode 11g
> >> # ifconfig wpi0
> >> ...
> >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g (OFDM/6Mbps)
> >> ...
> >>
> >> Can anyone explain why I see OFDM/6Mbps instead of OFDM/54Mbps (or at
> >> least 19Mbps if you mean the actual throughput?)
> > It could depend on a few things, first off remember that it's a highly
> > experimental driver at
> > this stage, and don't mean to be stating the obvious, but are you
> > actually close enough to
> > the AP to get 54mbps? Windows says 54 / 11 no matter what speed it is
> > running at.
>
> Hi Federico,
>
> Actually I'm 4 meters away from the AP.
> I know that wpi is still in pre-alpha state ;-)
>
> Tnx
>

Heh, at least you have some connectivity - mine is still using none!

[EMAIL PROTECTED]:0:0: class=0x028000 card=0x135c103c chip=0x42228086 rev=0x02
hdr=0x00
vendor = 'Intel Corporation'
device = '3945ABG Intel 3945ABG Wireless LAN controller'
class  = network

Driver either fails to initialise, or panic's my -CURRENT laptop :)

I'd think its highly likely that performance issues are due to
pre-release quality of the driver.

I have the same problem too, which forces me to use a 2 year old atheros
pcmcia card. I take it you are trying the perforce version right? I don't
suppose you could give me what error message you get so we could
'compare'. Mine is something about not being able to allocate memory.

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


Re: quickie: howto? window manager & xterms, but no

2007-07-24 Thread Graham Bentley
You can make Twm look quite nice with a bit of effort as
well as adding virtual desktops.
http://www.lontronics.nl/index.php?m=0011

I have just setup a FreeBSD lightweight desktop with the 
latest X and Fluxbox which I would recommend. 
Apart from that have mostly console apps, quick!

mc (*The* filemanager)
mutt (read / write mail)
fetchmail (fetch incoming mail)
mp3blaster (player / organiser)
streamripper (nice mp3 ripper)
cd-console (plays music cd's)
rexima (console mixer)
chexedit (Hex Editor)
aee (Editor)
Links (links -driver x)
calcurse (Calendar / ToDo)
teapot (Spreadsheet)
conky (system monitor)
fbpager (a pager for fluxbox)

Any ohter suggestions for console apps ? CD Burning with 
curses interface ?

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


Re: looking for a good mailing list manager

2007-07-24 Thread Simon Gao

Steven wrote:

Hi I am looking for a good Open source mailing list manager.

 


It should be web based, preferable be able to handle multiple domains but
not essential, nice interface for user and administrator and at least fairly
good statistics/reports.

 


I have looked at phplist.com but not completely happy with it.

 


Any help would be appreciated.

  

Check out Sympa at www.sympa.org.

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


Re: dump -L

2007-07-24 Thread Victor Sudakov
cpghost wrote:
> > 
> > I always use "dump -L" to dump a live filesystem.
> > However, when I restore the dump, I sometimes get messages like 
> > "foo.txt (inode 12345) not found on tape" or
> > "expected next file 12345, got 23456" 
> 
> I'm seeing this too. It's always exactly one inode per file system.

You are probably talking about "expected next file 12345, got 23456".
It seems harmless.

But I am more worried about "foo.txt (inode 12345) not found on tape".
Indeed, some files fail to get into the dump.

> 
> > I thought this should _never_ happen when dumping a snapshot.
> > 
> > What is it?
> 
> I don't know. Perhaps it is the inode of the snapshot file
> itself?

"find -inum" does not support this assumtion.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[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: Install pdo mysql

2007-07-24 Thread Gerard
On July 24, 2007 at 09:46AM Efren Bravo wrote:


> I've FreeBSD 6.1-RELEASE-p16 #3 and the
> php5-extensions 1.1 doesn't have anything related
> to pdo mysql.
> 
> Can somebody tell me how do I install pdo mysql?

Perhaps you are looking for: php5-pdo_mysql-5.2.3, located in:
/usr/ports/databases/php5-pdo_mysql

HTH


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


Re: WPI Driver Support (WAS: Re: mode 11g, but 6Mbps)

2007-07-24 Thread Vince
Federico Lorenzi wrote:
> On 7/24/07, Tom Evans <[EMAIL PROTECTED]> wrote:
>> On Tue, 2007-07-24 at 11:42 +0200, Pietro Cerutti wrote:
>> > Federico Lorenzi wrote:
>> > > On 7/24/07, Pietro Cerutti <[EMAIL PROTECTED]> wrote:
>> > >> Hi List,
>> > >> I have an Intel PRO/Wireless 3945ABG adapter using the wpi0 driver
>> > >> connecting to an access point using the 802.11g mode.
>> > >> # ifconfig wpi0 mode 11g
>> > >> # ifconfig wpi0
>> > >> ...
>> > >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
>> (OFDM/6Mbps)
>> > >> ...
>> > >>
>> > >> Can anyone explain why I see OFDM/6Mbps instead of OFDM/54Mbps
>> (or at
>> > >> least 19Mbps if you mean the actual throughput?)
>> > > It could depend on a few things, first off remember that it's a
>> highly
>> > > experimental driver at
>> > > this stage, and don't mean to be stating the obvious, but are you
>> > > actually close enough to
>> > > the AP to get 54mbps? Windows says 54 / 11 no matter what speed it is
>> > > running at.
>> >
>> > Hi Federico,
>> >
>> > Actually I'm 4 meters away from the AP.
>> > I know that wpi is still in pre-alpha state ;-)
>> >
>> > Tnx
>> >
>>
>> Heh, at least you have some connectivity - mine is still using none!
>>
>> [EMAIL PROTECTED]:0:0: class=0x028000 card=0x135c103c chip=0x42228086 
>> rev=0x02
>> hdr=0x00
>> vendor = 'Intel Corporation'
>> device = '3945ABG Intel 3945ABG Wireless LAN controller'
>> class  = network
>>
>> Driver either fails to initialise, or panic's my -CURRENT laptop :)
>>
>> I'd think its highly likely that performance issues are due to
>> pre-release quality of the driver.
> I have the same problem too, which forces me to use a 2 year old atheros
> pcmcia card. I take it you are trying the perforce version right? I don't
> suppose you could give me what error message you get so we could
> 'compare'. Mine is something about not being able to allocate memory.
> 

Heh for me I can now load the driver, and even associate with a non
encrypted access point, but i cant pass traffic and it soom panics the
machine (keep meaning to give Benjamin Close some debug output to see if
he can help but I havent time at the moment.) I'm using the version from
the latest tarball
(http://people.freebsd.org/~benjsc/downloads/wpi/20070615-wpi-freebsd-7.0-current.tgz)
It seems to actually be the latest version (I think the date he put on
its wrong ;)


Vince


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


Safely power down an individual disk drive (non-SCSI)?

2007-07-24 Thread Modulok

OBJECTIVE: Safely power down an individual disk drive (SATA, PATA, not
SCSI). Is this possible? Whether for physical replacement or for
saving power, it would be nice:

1. Issue a command to safely power down an individual disk drive.
2. Physically remove the disk and replace it with a new one (or not).
3. Issue a command to power up the disk.

I could get really carried away: Need to update system memory? Issue a
command to migrate all pages to a specified memory module and power
down the one to be replaced, plug in the new module in and issue the
command to bring it online...rinse and repeat. Fans, memory modules,
disk drives, processors (in a multi-processor system of course).
Granted, this would likely require some fundamental hardware changes
and cost developers a few migraines...I can dream.

Anyway, powering down a disk drive?
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: WPI Driver Support (WAS: Re: mode 11g, but 6Mbps)

2007-07-24 Thread Tom Evans
On Tue, 2007-07-24 at 16:58 +0200, Federico Lorenzi wrote:
> On 7/24/07, Tom Evans <[EMAIL PROTECTED]> wrote:
> > On Tue, 2007-07-24 at 11:42 +0200, Pietro Cerutti wrote:
> > > Federico Lorenzi wrote:
> > > > On 7/24/07, Pietro Cerutti <[EMAIL PROTECTED]> wrote:
> > > >> Hi List,
> > > >> I have an Intel PRO/Wireless 3945ABG adapter using the wpi0 driver
> > > >> connecting to an access point using the 802.11g mode.
> > > >> # ifconfig wpi0 mode 11g
> > > >> # ifconfig wpi0
> > > >> ...
> > > >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g (OFDM/6Mbps)
> > > >> ...
> > > >>
> > > >> Can anyone explain why I see OFDM/6Mbps instead of OFDM/54Mbps (or at
> > > >> least 19Mbps if you mean the actual throughput?)
> > > > It could depend on a few things, first off remember that it's a highly
> > > > experimental driver at
> > > > this stage, and don't mean to be stating the obvious, but are you
> > > > actually close enough to
> > > > the AP to get 54mbps? Windows says 54 / 11 no matter what speed it is
> > > > running at.
> > >
> > > Hi Federico,
> > >
> > > Actually I'm 4 meters away from the AP.
> > > I know that wpi is still in pre-alpha state ;-)
> > >
> > > Tnx
> > >
> >
> > Heh, at least you have some connectivity - mine is still using none!
> >
> > [EMAIL PROTECTED]:0:0: class=0x028000 card=0x135c103c chip=0x42228086 
> > rev=0x02
> > hdr=0x00
> > vendor = 'Intel Corporation'
> > device = '3945ABG Intel 3945ABG Wireless LAN controller'
> > class  = network
> >
> > Driver either fails to initialise, or panic's my -CURRENT laptop :)
> >
> > I'd think its highly likely that performance issues are due to
> > pre-release quality of the driver.
> I have the same problem too, which forces me to use a 2 year old atheros
> pcmcia card. I take it you are trying the perforce version right? I don't
> suppose you could give me what error message you get so we could
> 'compare'. Mine is something about not being able to allocate memory.
> 
> Cheers

Yes, I knocked up a quick ruby script to scarily rip the files out of
perforce web interface. Mine also fails with a similar message; I forget
the exact details, and 5 time out of 10 it also panic's my laptop, so I
won't try it again till after work ;)

Tom


signature.asc
Description: This is a digitally signed message part


ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Terry Todd
I have installed Xming successfully on a Windows XP system. 
It works OK to a FC6 system and an older UNIXware system. 
 
However when trying to connect to a FreeBSD 6.2 system with PuTTY
ssh it doesn't work.  PuTTY has Enable X11 forwarding checked.
 
Here's what I get: 
 
$ 
$ xhost 
Xlib: connection to "localhost:10.0" refused by server 
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted 
xhost: unable to open display "localhost:10.0" 
$ 
 
What can be wrong? 
 
I have ssh configured as follows: 
# grep X11 /etc/ssh/* 
/etc/ssh/ssh_config:ForwardX11 yes 
/etc/ssh/ssh_config:ForwardX11Trusted yes 
/etc/ssh/sshd_config:X11Forwarding yes 
/etc/ssh/sshd_config:X11DisplayOffset 10 
/etc/ssh/sshd_config:X11UseLocalhost yes 
 
Here is the Xming log file: 
Welcome to the Xming X Server 
Vendor: Colin Harrison 
Release: 6.9.0.24 
FreeType2: 2.3.0 
Contact: http://sourceforge.net/forum/?group_id=156984 
 
C:\Program Files\Xming\Xming.exe :0 -ac -clipboard -multiwindow  
 
XdmcpRegisterConnection: newAddress x.x.x.x 
winPrefsLoadPreferences: C:\Program Files\Xming\Xmingrc 
LoadPreferences: Done parsing the configuration file... 
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel 
winAllocateFBShadowGDI - Creating DIB with width: 1600 height: 1200 depth: 32 
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 
glWinInitVisuals:1511: glWinInitVisuals 
init_visuals:1055: init_visuals 
null screen fn ReparentWindow 
null screen fn RestackWindow 
InitQueue - Calling pthread_mutex_init 
InitQueue - pthread_mutex_init returned 
InitQueue - Calling pthread_cond_init 
InitQueue - pthread_cond_init returned 
winInitMultiWindowWM - Hello 
winInitMultiWindowWM - Calling pthread_mutex_lock () 
winMultiWindowXMsgProc - Hello 
winMultiWindowXMsgProc - Calling pthread_mutex_lock () 
glWinScreenProbe:1390: glWinScreenProbe 
fixup_visuals:1303: fixup_visuals 
init_screen_visuals:1336: init_screen_visuals 
(--) 5 mouse buttons found 
(--) Setting autorepeat to delay=500, rate=31 
(--) winConfigKeyboard - Layout: "0409" (0409)  
(--) Using preset keyboard for "English (USA)" (409), type "4" 
Could not init font path element C:\Program Files\Xming/fonts/misc/, removing 
from list! 
Could not init font path element C:\Program Files\Xming/fonts/TTF/, removing 
from list! 
Could not init font path element C:\Program Files\Xming/fonts/Type1/, removing 
from list! 
Could not init font path element C:\Program Files\Xming/fonts/75dpi/, removing 
from list! 
Could not init font path element C:\Program Files\Xming/fonts/100dpi/, removing 
from list! 
Could not init font path element C:\Program Files\Xming\fonts\dejavu, removing 
from list! 
Could not init font path element C:\Program Files\Xming\fonts\cyrillic, 
removing from list! 
Could not init font path element C:\WINDOWS\Fonts, removing from list! 
winInitMultiWindowWM - pthread_mutex_lock () returned. 
winInitMultiWindowWM - pthread_mutex_unlock () returned. 
winMultiWindowXMsgProc - pthread_mutex_lock () returned. 
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 
winMultiWindowXMsgProc - pthread_mutex_unlock () returned. 
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 
winProcEstablishConnection - Hello 
winInitClipboard () 
winProcEstablishConnection - winInitClipboard returned. 
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the 
display. 
winClipboardProc - Hello 
DetectUnicodeSupport - Windows XP 
winClipboardProc - DISPLAY=127.0.0.1:0.0 
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the 
display. 
winClipboardProc - XOpenDisplay () returned and successfully opened the 
display. 
 
 
Here is the PuTTY event log: 
2007-07-24 09:53:57 Looking up host "x.x.x.x" 
2007-07-24 09:53:57 Connecting to x.x.x.x port 22 
2007-07-24 09:53:57 Server version: SSH-2.0-OpenSSH_4.5p1 FreeBSD-20061110 
2007-07-24 09:53:57 We claim version: SSH-2.0-PuTTY_Snapshot_2005_05_03:r5737 
2007-07-24 09:53:57 Using SSH protocol version 2 
2007-07-24 09:53:57 Doing Diffie-Hellman group exchange 
2007-07-24 09:53:57 Doing Diffie-Hellman key exchange 
2007-07-24 09:53:57 Host key fingerprint is: 
2007-07-24 09:53:57 ssh-dss 1024 
06:2a:c4:9c:e7:6a:f8:0d:5a:17:e9:b0:e3:79:1c:a5 
2007-07-24 09:53:57 Initialised AES-256 SDCTR client->server encryption 
2007-07-24 09:53:57 Initialised HMAC-SHA1 client->server MAC algorithm 
2007-07-24 09:53:57 Initialised AES-256 SDCTR server->client encryption 
2007-07-24 09:53:57 Initialised HMAC-SHA1 server->client MAC algorithm 
2007-07-24 09:54:06 Access granted 
2007-07-24 09:54:06 Opened channel for session 
2007-07-24 09:54:06 Requesting X11 forwarding 
2007-07-24 09:54:06 X11 forwarding enabled 
2007-07-24 09:54:06 Allocated pty (ospeed 38400bps, ispeed 38400bps) 
2007-07-24 09:54:06 Started a shell/command 
2007-07-24 09:54:17 Received X11 connect request from 127.0.0.1:53737 
2007-07-24 09:54:17 Opening X11 forward connection succeeded 
2007-07-24 09:

Re: named and nfs mounts at boot time

2007-07-24 Thread Christopher Sean Hilton
On Mon, 2007-07-16 at 09:12 -0500, Reid Linnemann wrote:
> Written by Tim Daneliuk on 07/13/07 17:29>>
> > 
> > 'Just wondering if there is a way to get the warnings during boot to
> > be quiet without resorting to using IP addresses in the fstab nfs
> > mount entries...
> > 
> > 

> If the filesystems are not needed until the system is up multiuser, you 
> could specify the 'late' option on them in fstab, forcing them to be 
> delayed until /etc/rc.d/mountlate is run after /etc/rc.d/DAEMON has 
> completed. This will ensure that named is running prior to the mount, 
> since DAEMON requires SERVERS, which starts named.

It seems like a lot of work but the automounting daemon amd solves these
and other issues with an nfs server being unavailable when an nfs client
boots up.

-- Chris

-- 
   __o  "All I was doing was trying to get home from work."
 _`\<,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hilton
 pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14


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


Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Michael S. Eubanks
On Tue, 2007-07-24 at 10:59 -0500, Terry Todd wrote:
> I have installed Xming successfully on a Windows XP system. 
> It works OK to a FC6 system and an older UNIXware system. 
>  
> However when trying to connect to a FreeBSD 6.2 system with PuTTY
> ssh it doesn't work.  PuTTY has Enable X11 forwarding checked.
>  
> Here's what I get: 
>  
> $ 
> $ xhost 
> Xlib: connection to "localhost:10.0" refused by server 
> Xlib: PuTTY X11 proxy: wrong authentication protocol attempted 
> xhost: unable to open display "localhost:10.0" 
> $ 
>  
> What can be wrong? 
>  
> I have ssh configured as follows: 
> # grep X11 /etc/ssh/* 
> /etc/ssh/ssh_config:ForwardX11 yes 
> /etc/ssh/ssh_config:ForwardX11Trusted yes 
> /etc/ssh/sshd_config:X11Forwarding yes 
> /etc/ssh/sshd_config:X11DisplayOffset 10 
> /etc/ssh/sshd_config:X11UseLocalhost yes 
>  

Start by changing the following line from

X11DisplayOffset 10

to

X11DisplayOffset 1

According to the sshd_conf man page, looks like the number should be set
to the display that you want to forward (the first available display).


> Here is the Xming log file: 
> Welcome to the Xming X Server 
> Vendor: Colin Harrison 
> Release: 6.9.0.24 
> FreeType2: 2.3.0 
> Contact: http://sourceforge.net/forum/?group_id=156984 
> 
> C:\Program Files\Xming\Xming.exe :0 -ac -clipboard -multiwindow  
>  
> XdmcpRegisterConnection: newAddress x.x.x.x 
> winPrefsLoadPreferences: C:\Program Files\Xming\Xmingrc 
> LoadPreferences: Done parsing the configuration file... 
> winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per 
> pixel 
> winAllocateFBShadowGDI - Creating DIB with width: 1600 height: 1200 depth: 32 
> winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 
> 32 
> glWinInitVisuals:1511: glWinInitVisuals 
> init_visuals:1055: init_visuals 
> null screen fn ReparentWindow 
> null screen fn RestackWindow 
> InitQueue - Calling pthread_mutex_init 
> InitQueue - pthread_mutex_init returned 
> InitQueue - Calling pthread_cond_init 
> InitQueue - pthread_cond_init returned 
> winInitMultiWindowWM - Hello 
> winInitMultiWindowWM - Calling pthread_mutex_lock () 
> winMultiWindowXMsgProc - Hello 
> winMultiWindowXMsgProc - Calling pthread_mutex_lock () 
> glWinScreenProbe:1390: glWinScreenProbe 
> fixup_visuals:1303: fixup_visuals 
> init_screen_visuals:1336: init_screen_visuals 
> (--) 5 mouse buttons found 
> (--) Setting autorepeat to delay=500, rate=31 
> (--) winConfigKeyboard - Layout: "0409" (0409)  
> (--) Using preset keyboard for "English (USA)" (409), type "4" 
> Could not init font path element C:\Program Files\Xming/fonts/misc/, removing 
> from list! 
> Could not init font path element C:\Program Files\Xming/fonts/TTF/, removing 
> from list! 
> Could not init font path element C:\Program Files\Xming/fonts/Type1/, 
> removing from list! 
> Could not init font path element C:\Program Files\Xming/fonts/75dpi/, 
> removing from list! 
> Could not init font path element C:\Program Files\Xming/fonts/100dpi/, 
> removing from list! 
> Could not init font path element C:\Program Files\Xming\fonts\dejavu, 
> removing from list! 
> Could not init font path element C:\Program Files\Xming\fonts\cyrillic, 
> removing from list! 
> Could not init font path element C:\WINDOWS\Fonts, removing from list! 
> winInitMultiWindowWM - pthread_mutex_lock () returned. 
> winInitMultiWindowWM - pthread_mutex_unlock () returned. 
> winMultiWindowXMsgProc - pthread_mutex_lock () returned. 
> winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 
> winMultiWindowXMsgProc - pthread_mutex_unlock () returned. 
> winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 
> winProcEstablishConnection - Hello 
> winInitClipboard () 
> winProcEstablishConnection - winInitClipboard returned. 
> winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the 
> display. 
> winClipboardProc - Hello 
> DetectUnicodeSupport - Windows XP 
> winClipboardProc - DISPLAY=127.0.0.1:0.0 
> winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the 
> display. 
> winClipboardProc - XOpenDisplay () returned and successfully opened the 
> display. 
>  
> 
> Here is the PuTTY event log: 
> 2007-07-24 09:53:57 Looking up host "x.x.x.x" 
> 2007-07-24 09:53:57 Connecting to x.x.x.x port 22 
> 2007-07-24 09:53:57 Server version: SSH-2.0-OpenSSH_4.5p1 FreeBSD-20061110 
> 2007-07-24 09:53:57 We claim version: SSH-2.0-PuTTY_Snapshot_2005_05_03:r5737 
> 2007-07-24 09:53:57 Using SSH protocol version 2 
> 2007-07-24 09:53:57 Doing Diffie-Hellman group exchange 
> 2007-07-24 09:53:57 Doing Diffie-Hellman key exchange 
> 2007-07-24 09:53:57 Host key fingerprint is: 
> 2007-07-24 09:53:57 ssh-dss 1024 
> 06:2a:c4:9c:e7:6a:f8:0d:5a:17:e9:b0:e3:79:1c:a5 
> 2007-07-24 09:53:57 Initialised AES-256 SDCTR client->server encryption 
> 2007-07-24 09:53:57 Initialised HMAC-SHA1 client->server MAC algorithm 
> 2007-07-24 09:53:57 Initialised AES-256 SDCTR server->client encryption 
>

Re: Xorg upgrade (wrong library) issue [more info]

2007-07-24 Thread Tuc at T-B-O-H.NET
Hi,

And yes, I did do according to the instructions :

Script started on Mon Jul 23 00:05:00 2007
himinbjorg# setenv XORG_UPGRADE yes
himinbjorg# portupgrade -Rfi libXft
--->  Session started at: Mon, 23 Jul 2007 00:05:34 -0400
--->  Reinstallation of x11/xproto started at: Mon, 23 Jul 2007 00:05:38 -0400
--->  Reinstalling 'xproto-7.0.10' (x11/xproto)
OK? [yes] 
--->  Build of x11/xproto started at: Mon, 23 Jul 2007 00:05:42 -0400


So not sure why I'm running into this and the rest of the world
didn't. If the path to the old one is before the new one, no one should
have gotten it to work... Or did I do something wrong or have a 
"special situation"?

Thanks, Tuc


> 
> > 
> > Tuc at T-B-O-H.NET wrote:
> > > 
> > > himinbjorg# ldd work/bdftopcf-1.0.1/bdftopcf
> > > work/bdftopcf-1.0.1/bdftopcf:
> > >   libXfont.so.1 => /usr/X11R6/lib/libXfont.so.1 (0x2808)
> > >   libc.so.5 => /lib/libc.so.5 (0x280e6000)
> > > 
> > >   WHY when the cc step is stating -L/usr/local/lib is it bring the
> > > Xfont from /usr/X11R6/lib?
> > > 
> > 
> > Because /usr/X11R6 is a symlink to /usr/local,
> >
> drwxr-xr-x  16 root  wheel  512 Jul 22 22:02 /usr/X11R6
> 
>   Not yet... I haven't finished the upgrade. I'm still mid upgrade.
> I won't go any further until I find out whats happening. So thats not
> the case.
> >
> > and both appear in the
> > library path hints, so the first one listed gets used when resolving the
> > library paths at runtime.
> >
>   So how did everyone else in the world get away without running 
> into this? I see that it initially was put into /usr/X11R6 as part of
> xorg-libraries-6.9.0 . The additional Xfont came about because :
> 
> 1) portupgrade was upgrading xorg-fonts-encodings-6.9.0_1 to 
>   encodings-1.0.2,1
> 2) portupgrade then realized it needed mkfontscale so started to work
>   on that
> 3) mkfontscale needed libfontenc
> 
> 4) With those 2 resolved, it then went for bdftopcf
> 
> 5) bdftopcf needed libXfont
> 
>   So at this point it was installing libXfont when it already had
> the one from xorg-libraries-6.9.0 there, hence the problem apparently
> started.
>  
> > (Hint: 'strings /var/run/ld-elf.so.hints' and 'ldconfig -r')
> > 
>   Ok, so what do I do now? I'm mid build, I don't have X installed
> or running, and I have atleast 1894 font files that are incorrect at the
> current moment I still don't get why I ran into this and others didn't.
> Did I miss a step that would have removed the xorg-libraries?
> 
>   Thanks, Tuc
> 

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


Re: dump -L

2007-07-24 Thread Lowell Gilbert
Victor Sudakov <[EMAIL PROTECTED]> writes:

> cpghost wrote:
>> > 
>> > I always use "dump -L" to dump a live filesystem.
>> > However, when I restore the dump, I sometimes get messages like 
>> > "foo.txt (inode 12345) not found on tape" or
>> > "expected next file 12345, got 23456" 
>> 
>> I'm seeing this too. It's always exactly one inode per file system.
>
> You are probably talking about "expected next file 12345, got 23456".
> It seems harmless.
>
> But I am more worried about "foo.txt (inode 12345) not found on tape".
> Indeed, some files fail to get into the dump.

Are the files active at the time of the dump?

>> 
>> > I thought this should _never_ happen when dumping a snapshot.
>> > 
>> > What is it?
>> 
>> I don't know. Perhaps it is the inode of the snapshot file
>> itself?
>
> "find -inum" does not support this assumtion.

Do you mean that you can't find the file at all in the snapshot?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: WPI Driver Support (WAS: Re: mode 11g, but 6Mbps)

2007-07-24 Thread Tom Evans
Here is the current output of loading the very latest wpi code from p4
(loaded with sysctl debug.bootverbose=1) :

pci8: driver added
found-> vendor=0x8086, dev=0x4222, revid=0x02
bus=8, slot=0, func=0
class=02-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=16
powerspec 2  supports D0 D3  current D0
MSI supports 1 message, 64 bit
pci8:0:0: reprobing on driver added
wpi0:  mem 0xe800-0xe8000fff irq 16
at device 0.0 on pci8
wpi0: Driver Revision 20070715-nwifi
wpi0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xe800
Resetting the card - clearing any uploaded firmware
wpi0: Hardware Revision (0x1)
Size: 44 - alignement 4096
Memory, allocated &  Aligned!
Size: 245760 - alignement 4096
Memory, allocated &  Aligned!
Size: 16384 - alignement 16384
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 0
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 1
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 2
Memory, allocated &  Aligned!
Size: 93184 - alignement 16384
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 0
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 1
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 2
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 3
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 4
Memory, allocated &  Aligned!
Size: 16384 - alignement 16384
Memory, allocated &  Aligned!
Size: 93184 - alignement 16384
Memory, allocated &  Aligned!
Size: 16384 - alignement 16384
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 0
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 1
Memory, allocated &  Aligned!
Size: 93184 - alignement 16384
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 0
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 1
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 2
bus_dmamem_alloc failed to align memory properly.
Memory Unaligned, trying again: 3
wpi0: could not allocate shared page DMA memory
wpi0: could not allocate tx command DMA memory
wpi0: could not allocate Tx ring 2
device_attach: wpi0 attach returned 6
pci24: driver added
pci32: driver added


On the plus side, it didn't panic..

If anyone wants my script for fetching from perforce, I've attached it.
It requires rubygems, and hpricot from rubygems, but apart from that its
all in base ruby iirc.




signature.asc
Description: This is a digitally signed message part


OT: what brand of TFT monitor?

2007-07-24 Thread Gabor Kovesdan

Hi,

it's a bit off here, but I'm sure you can tell me some tips, what brand 
of TFT monitor to buy? Finally I decided to change this old enormous 
CRT. Or if you tell which brands to avoid, that's fine fo rme, too. I'm 
thinking of a 17" or 19" size, or maybe 21".


TIA,

--
Gabor Kovesdan
FreeBSD Volunteer

EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED]
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org

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


Root access loggin

2007-07-24 Thread Ian Lord
Hi,

 

A Zend technician asked me to have a root access on one of my box to
troubleshoot something wrong in Zend Platform installation that doesn't work
on Freebsd.

 

He will need root access naturally to install and debug remotely.

 

Is there a way to log all the commands he will type and send them in a
logfile ?

 

Or is there a better solution than granting him root access from ssh ?

 

Thanks

 

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


Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Terry Todd

On Tue, Jul 24, 2007 at 09:48:05AM -0700, Michael S. Eubanks wrote:
...
> Start by changing the following line from
>
> X11DisplayOffset 10
>
> to
>  
> X11DisplayOffset 1
...

OK, I tried that.  No difference.

Here's what heppened on the FreeBSD 6.2 system:
$
$ echo $DISPLAY
localhost:1.0
$
$ xhost
Xlib: connection to "localhost:1.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
xhost:  unable to open display "localhost:1.0"
$
$ xhost +
Xlib: connection to "localhost:1.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
xhost:  unable to open display "localhost:1.0"
$ xterm
Xlib: connection to "localhost:1.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
xterm Xt error: Can't open display: localhost:1.0
$



Here's what happens on the FC6 system:
$ echo $DISPLAY
localhost:13.0
$
$ xhost
access control disabled, clients can connect from any host
INET:terry-pc.egizone.com
LOCAL:
$

Terry Todd


On Tue, Jul 24, 2007 at 09:48:05AM -0700, Michael S. Eubanks wrote:
> On Tue, 2007-07-24 at 10:59 -0500, Terry Todd wrote:
> > I have installed Xming successfully on a Windows XP system. 
> > It works OK to a FC6 system and an older UNIXware system. 
> >  
> > However when trying to connect to a FreeBSD 6.2 system with PuTTY
> > ssh it doesn't work.  PuTTY has Enable X11 forwarding checked.
> >  
> > Here's what I get: 
> >  
> > $ 
> > $ xhost 
> > Xlib: connection to "localhost:10.0" refused by server 
> > Xlib: PuTTY X11 proxy: wrong authentication protocol attempted 
> > xhost: unable to open display "localhost:10.0" 
> > $ 
> >  
> > What can be wrong? 
> >  
> > I have ssh configured as follows: 
> > # grep X11 /etc/ssh/* 
> > /etc/ssh/ssh_config:ForwardX11 yes 
> > /etc/ssh/ssh_config:ForwardX11Trusted yes 
> > /etc/ssh/sshd_config:X11Forwarding yes 
> > /etc/ssh/sshd_config:X11DisplayOffset 10 
> > /etc/ssh/sshd_config:X11UseLocalhost yes 
> >  
> 
> Start by changing the following line from
> 
> X11DisplayOffset 10
> 
> to
> 
> X11DisplayOffset 1
> 
> According to the sshd_conf man page, looks like the number should be set
> to the display that you want to forward (the first available display).
> 
> 
> > Here is the Xming log file: 
> > Welcome to the Xming X Server 
> > Vendor: Colin Harrison 
> > Release: 6.9.0.24 
> > FreeType2: 2.3.0 
> > Contact: http://sourceforge.net/forum/?group_id=156984 
> > 
> > C:\Program Files\Xming\Xming.exe :0 -ac -clipboard -multiwindow  
> >  
> > XdmcpRegisterConnection: newAddress x.x.x.x 
> > winPrefsLoadPreferences: C:\Program Files\Xming\Xmingrc 
> > LoadPreferences: Done parsing the configuration file... 
> > winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per 
> > pixel 
> > winAllocateFBShadowGDI - Creating DIB with width: 1600 height: 1200 depth: 
> > 32 
> > winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 
> > 32 
> > glWinInitVisuals:1511: glWinInitVisuals 
> > init_visuals:1055: init_visuals 
> > null screen fn ReparentWindow 
> > null screen fn RestackWindow 
> > InitQueue - Calling pthread_mutex_init 
> > InitQueue - pthread_mutex_init returned 
> > InitQueue - Calling pthread_cond_init 
> > InitQueue - pthread_cond_init returned 
> > winInitMultiWindowWM - Hello 
> > winInitMultiWindowWM - Calling pthread_mutex_lock () 
> > winMultiWindowXMsgProc - Hello 
> > winMultiWindowXMsgProc - Calling pthread_mutex_lock () 
> > glWinScreenProbe:1390: glWinScreenProbe 
> > fixup_visuals:1303: fixup_visuals 
> > init_screen_visuals:1336: init_screen_visuals 
> > (--) 5 mouse buttons found 
> > (--) Setting autorepeat to delay=500, rate=31 
> > (--) winConfigKeyboard - Layout: "0409" (0409)  
> > (--) Using preset keyboard for "English (USA)" (409), type "4" 
> > Could not init font path element C:\Program Files\Xming/fonts/misc/, 
> > removing from list! 
> > Could not init font path element C:\Program Files\Xming/fonts/TTF/, 
> > removing from list! 
> > Could not init font path element C:\Program Files\Xming/fonts/Type1/, 
> > removing from list! 
> > Could not init font path element C:\Program Files\Xming/fonts/75dpi/, 
> > removing from list! 
> > Could not init font path element C:\Program Files\Xming/fonts/100dpi/, 
> > removing from list! 
> > Could not init font path element C:\Program Files\Xming\fonts\dejavu, 
> > removing from list! 
> > Could not init font path element C:\Program Files\Xming\fonts\cyrillic, 
> > removing from list! 
> > Could not init font path element C:\WINDOWS\Fonts, removing from list! 
> > winInitMultiWindowWM - pthread_mutex_lock () returned. 
> > winInitMultiWindowWM - pthread_mutex_unlock () returned. 
> > winMultiWindowXMsgProc - pthread_mutex_lock () returned. 
> > winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 
> > winMultiWindowXMsgProc - pthread_mutex_unlock () returned. 
> > winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 
> > winProcEstablishConnection - Hello 
> > winInitC

Re: Root access loggin

2007-07-24 Thread Tom Grove

Ian Lord wrote:

Hi,

 


A Zend technician asked me to have a root access on one of my box to
troubleshoot something wrong in Zend Platform installation that doesn't work
on Freebsd.

 


He will need root access naturally to install and debug remotely.

 


Is there a way to log all the commands he will type and send them in a
logfile ?

 


Or is there a better solution than granting him root access from ssh ?

 


Thanks

 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  
You could use sudo.  Setup an account for him and give him sudo rights 
so that each time he would need root access to something he could use 
the command:


$>sudo 

You could even go so far as to limit what he can use sudo on.

$>man sudo

Giving him full root access is probably not a good idea.

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


Re: Root access loggin

2007-07-24 Thread John Fitzgerald

You can patch bash to log commands to syslog/remote/etc:

http://64.233.169.104/search?q=cache:y0SGTs8EoTYJ:www.linux.it/~carlo/somehacks/bup/bash-2.05b-syslog_udp01.patch+bash+perassi&hl=en&gl=us&strip=1

I set this up on a few machines and it's not too hard. You can also
run a cron job to see when/who is logged in (w + netstat, for
instance) and then send an email/text message, so he can't login and
get rid of the logger without you knowing it. Or for the more
elaborate setup:

http://www.honeynet.org/tools/sebek


On 7/24/07, Ian Lord <[EMAIL PROTECTED]> wrote:

Hi,



A Zend technician asked me to have a root access on one of my box to
troubleshoot something wrong in Zend Platform installation that doesn't work
on Freebsd.



He will need root access naturally to install and debug remotely.



Is there a way to log all the commands he will type and send them in a
logfile ?



Or is there a better solution than granting him root access from ssh ?



Thanks



___
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: OT: what brand of TFT monitor?

2007-07-24 Thread Hakan K

I think you better check some reviews.. nextag, amazon, etc
btw I do use one big CRT too :)



Troy
http://dominor.com

On 7/24/07, Gabor Kovesdan <[EMAIL PROTECTED]> wrote:


Hi,

it's a bit off here, but I'm sure you can tell me some tips, what brand
of TFT monitor to buy? Finally I decided to change this old enormous
CRT. Or if you tell which brands to avoid, that's fine fo rme, too. I'm
thinking of a 17" or 19" size, or maybe 21".

TIA,

--
Gabor Kovesdan
FreeBSD Volunteer

EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED]
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org

___
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: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Michael S. Eubanks
On Tue, 2007-07-24 at 12:23 -0500, Terry Todd wrote:
> On Tue, Jul 24, 2007 at 09:48:05AM -0700, Michael S. Eubanks wrote:
> ...
> > Start by changing the following line from
> >
> > X11DisplayOffset 10
> >
> > to
> >  
> > X11DisplayOffset 1
> ...
> 
> OK, I tried that.  No difference.
> 
> Here's what heppened on the FreeBSD 6.2 system:
> $
> $ echo $DISPLAY
> localhost:1.0
> $
> $ xhost
> Xlib: connection to "localhost:1.0" refused by server
> Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
> xhost:  unable to open display "localhost:1.0"
> $
> $ xhost +
> Xlib: connection to "localhost:1.0" refused by server
> Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
> xhost:  unable to open display "localhost:1.0"
> $ xterm
> Xlib: connection to "localhost:1.0" refused by server
> Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
> xterm Xt error: Can't open display: localhost:1.0
> $

Question.  How many X servers do you have running?  Are you logged into
a window manager when you are attempting to connect?


> 
> 
> 
> Here's what happens on the FC6 system:
> $ echo $DISPLAY
> localhost:13.0
> $
> $ xhost
> access control disabled, clients can connect from any host
> INET:terry-pc.egizone.com
> LOCAL:
> $
> 
> Terry Todd
> 
> 
> On Tue, Jul 24, 2007 at 09:48:05AM -0700, Michael S. Eubanks wrote:
> > On Tue, 2007-07-24 at 10:59 -0500, Terry Todd wrote:
> > > I have installed Xming successfully on a Windows XP system. 
> > > It works OK to a FC6 system and an older UNIXware system. 
> > >  
> > > However when trying to connect to a FreeBSD 6.2 system with PuTTY
> > > ssh it doesn't work.  PuTTY has Enable X11 forwarding checked.
> > >  
> > > Here's what I get: 
> > >  
> > > $ 
> > > $ xhost 
> > > Xlib: connection to "localhost:10.0" refused by server 
> > > Xlib: PuTTY X11 proxy: wrong authentication protocol attempted 
> > > xhost: unable to open display "localhost:10.0" 
> > > $ 
> > >  
> > > What can be wrong? 
> > >  
> > > I have ssh configured as follows: 
> > > # grep X11 /etc/ssh/* 
> > > /etc/ssh/ssh_config:ForwardX11 yes 
> > > /etc/ssh/ssh_config:ForwardX11Trusted yes 
> > > /etc/ssh/sshd_config:X11Forwarding yes 
> > > /etc/ssh/sshd_config:X11DisplayOffset 10 
> > > /etc/ssh/sshd_config:X11UseLocalhost yes 
> > >  
> > 
> > Start by changing the following line from
> > 
> > X11DisplayOffset 10
> > 
> > to
> > 
> > X11DisplayOffset 1
> > 
> > According to the sshd_conf man page, looks like the number should be set
> > to the display that you want to forward (the first available display).
> > 
> > 
> > > Here is the Xming log file: 
> > > Welcome to the Xming X Server 
> > > Vendor: Colin Harrison 
> > > Release: 6.9.0.24 
> > > FreeType2: 2.3.0 
> > > Contact: http://sourceforge.net/forum/?group_id=156984 
> > > 
> > > C:\Program Files\Xming\Xming.exe :0 -ac -clipboard -multiwindow  
> > >  
> > > XdmcpRegisterConnection: newAddress x.x.x.x 
> > > winPrefsLoadPreferences: C:\Program Files\Xming\Xmingrc 
> > > LoadPreferences: Done parsing the configuration file... 
> > > winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per 
> > > pixel 
> > > winAllocateFBShadowGDI - Creating DIB with width: 1600 height: 1200 
> > > depth: 32 
> > > winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 
> > > bpp 32 
> > > glWinInitVisuals:1511: glWinInitVisuals 
> > > init_visuals:1055: init_visuals 
> > > null screen fn ReparentWindow 
> > > null screen fn RestackWindow 
> > > InitQueue - Calling pthread_mutex_init 
> > > InitQueue - pthread_mutex_init returned 
> > > InitQueue - Calling pthread_cond_init 
> > > InitQueue - pthread_cond_init returned 
> > > winInitMultiWindowWM - Hello 
> > > winInitMultiWindowWM - Calling pthread_mutex_lock () 
> > > winMultiWindowXMsgProc - Hello 
> > > winMultiWindowXMsgProc - Calling pthread_mutex_lock () 
> > > glWinScreenProbe:1390: glWinScreenProbe 
> > > fixup_visuals:1303: fixup_visuals 
> > > init_screen_visuals:1336: init_screen_visuals 
> > > (--) 5 mouse buttons found 
> > > (--) Setting autorepeat to delay=500, rate=31 
> > > (--) winConfigKeyboard - Layout: "0409" (0409)  
> > > (--) Using preset keyboard for "English (USA)" (409), type "4" 
> > > Could not init font path element C:\Program Files\Xming/fonts/misc/, 
> > > removing from list! 
> > > Could not init font path element C:\Program Files\Xming/fonts/TTF/, 
> > > removing from list! 
> > > Could not init font path element C:\Program Files\Xming/fonts/Type1/, 
> > > removing from list! 
> > > Could not init font path element C:\Program Files\Xming/fonts/75dpi/, 
> > > removing from list! 
> > > Could not init font path element C:\Program Files\Xming/fonts/100dpi/, 
> > > removing from list! 
> > > Could not init font path element C:\Program Files\Xming\fonts\dejavu, 
> > > removing from list! 
> > > Could not init font path element C:\Program Files\Xming\fonts\cyrillic, 
> > > removing from list! 
> > > Could not init

Problem booting from memory-stick with ASUS A7V-133

2007-07-24 Thread ilsa . gold
Hi all,

hope this is the right list.

I have a problem with booting from a 128MB USB-memory-stick with the ASUS 
A7V-133 motherboard. I downloaded the boot-floppy-image"boot.flp" (version 6.2) 
from the FreeBSD-FTP-server and "dd"-ed it to a memory stick. Booting from this 
stick works fine with every other computer I have (a notebook and a newer 
workstation also with an ASUS-board). But trying to boot from the stick with 
the A7V gives me the following output:

<- 8< --->
Not ufs
Not ufs
No /boot/loader
FreeBSD/i386 boot
Default: 0:fd(0,a)/boot/kernel/kernel
boot:
Not ufs
No /boot/kernel/kernel
<- 8< --->

So it seems to me that the BIOS reads the first sector of the memory-stick (the 
MBR) executes the code but then the bootloader seems to have problems with the 
drive geometry or something like this. So does anybody on this list have had 
similar problems or can give me a hint what to do to solve this problem?

BTW: I know that the used floppy-image is just for installation and I'm not 
able to boot a fully running system from it. But it seems to me the 
best/fastest way to test whether booting from the stick works or not.


Thanks a lot in advance
  Stefan
_
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=0066

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


Re: Problem booting from memory-stick with ASUS A7V-133

2007-07-24 Thread Steve Bertrand
[EMAIL PROTECTED] wrote:
> Hi all,
> 
> hope this is the right list.
> 
> I have a problem with booting from a 128MB USB-memory-stick with the ASUS 
> A7V-133 motherboard. I downloaded the boot-floppy-image"boot.flp" (version 
> 6.2) from the FreeBSD-FTP-server and "dd"-ed it to a memory stick. Booting 
> from this stick works fine with every other computer I have (a notebook and a 
> newer workstation also with an ASUS-board). But trying to boot from the stick 
> with the A7V gives me the following output:
> 
> <- 8< --->
> Not ufs
> Not ufs
> No /boot/loader
> FreeBSD/i386 boot
> Default: 0:fd(0,a)/boot/kernel/kernel
> boot:
> Not ufs
> No /boot/kernel/kernel
> <- 8< --->
> 

What happens if you enter:

0:da(0,a)/boot/kernel/kernel

...at the boot: prompt (as opposed to fd(0,a)?

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


Re: OT: what brand of TFT monitor?

2007-07-24 Thread Derek Ragona

At 11:57 AM 7/24/2007, Gabor Kovesdan wrote:

Hi,

it's a bit off here, but I'm sure you can tell me some tips, what brand of 
TFT monitor to buy? Finally I decided to change this old enormous CRT. Or 
if you tell which brands to avoid, that's fine fo rme, too. I'm thinking 
of a 17" or 19" size, or maybe 21".


TIA,

--
Gabor Kovesdan
FreeBSD Volunteer


Have some idea whether you want analog, dvi or one that does both.  I'd 
look at larger sizes as you will likely have it a while.  Look where the 
prices jump significantly, usually at over the 19", 20" or 21" size.  If 
you can, look at them before you buy for the image quality and viewing angle.


Compare warranties too, but ultimately look at the prices.  I prefer 
samsung as they make all their own components, other makers put together 
units using other manufacturer's components and quality can vary.


-Derek

--
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: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Terry Todd
On Tue, Jul 24, 2007 at 10:54:22AM -0700, Michael S. Eubanks wrote:
...
> Question.  How many X servers do you have running?  Are you logged into
> a window manager when you are attempting to connect?
> 

Only one instance of Xming is running on the Windows XP system.
I am using PuTTY to connect to the FreeBSD system and the other
systems.  The other systems all work.  FreeBSD X11 forwarding does
not work.  It is an off the shelf standard install of 6.2.

Manually setting the DISPLAY variable on the FreeBSD system to
[IP address of Widows XP system]:0.0 will allow it to work but
that's not what I want to do here.  I want it to automatically
forward the X11 session through ssh like it does when connecting
to the FC6 system.

Terry Todd


On Tue, Jul 24, 2007 at 10:54:22AM -0700, Michael S. Eubanks wrote:
> On Tue, 2007-07-24 at 12:23 -0500, Terry Todd wrote:
> > On Tue, Jul 24, 2007 at 09:48:05AM -0700, Michael S. Eubanks wrote:
> > ...
> > > Start by changing the following line from
> > >
> > > X11DisplayOffset 10
> > >
> > > to
> > >  
> > > X11DisplayOffset 1
> > ...
> > 
> > OK, I tried that.  No difference.
> > 
> > Here's what heppened on the FreeBSD 6.2 system:
> > $
> > $ echo $DISPLAY
> > localhost:1.0
> > $
> > $ xhost
> > Xlib: connection to "localhost:1.0" refused by server
> > Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
> > xhost:  unable to open display "localhost:1.0"
> > $
> > $ xhost +
> > Xlib: connection to "localhost:1.0" refused by server
> > Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
> > xhost:  unable to open display "localhost:1.0"
> > $ xterm
> > Xlib: connection to "localhost:1.0" refused by server
> > Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
> > xterm Xt error: Can't open display: localhost:1.0
> > $
> 
> Question.  How many X servers do you have running?  Are you logged into
> a window manager when you are attempting to connect?
> 
> 
> > 
> > 
> > 
> > Here's what happens on the FC6 system:
> > $ echo $DISPLAY
> > localhost:13.0
> > $
> > $ xhost
> > access control disabled, clients can connect from any host
> > INET:terry-pc.egizone.com
> > LOCAL:
> > $
> > 
> > Terry Todd
> > 
> > 
> > On Tue, Jul 24, 2007 at 09:48:05AM -0700, Michael S. Eubanks wrote:
> > > On Tue, 2007-07-24 at 10:59 -0500, Terry Todd wrote:
> > > > I have installed Xming successfully on a Windows XP system. 
> > > > It works OK to a FC6 system and an older UNIXware system. 
> > > >  
> > > > However when trying to connect to a FreeBSD 6.2 system with PuTTY
> > > > ssh it doesn't work.  PuTTY has Enable X11 forwarding checked.
> > > >  
> > > > Here's what I get: 
> > > >  
> > > > $ 
> > > > $ xhost 
> > > > Xlib: connection to "localhost:10.0" refused by server 
> > > > Xlib: PuTTY X11 proxy: wrong authentication protocol attempted 
> > > > xhost: unable to open display "localhost:10.0" 
> > > > $ 
> > > >  
> > > > What can be wrong? 
> > > >  
> > > > I have ssh configured as follows: 
> > > > # grep X11 /etc/ssh/* 
> > > > /etc/ssh/ssh_config:ForwardX11 yes 
> > > > /etc/ssh/ssh_config:ForwardX11Trusted yes 
> > > > /etc/ssh/sshd_config:X11Forwarding yes 
> > > > /etc/ssh/sshd_config:X11DisplayOffset 10 
> > > > /etc/ssh/sshd_config:X11UseLocalhost yes 
> > > >  
> > > 
> > > Start by changing the following line from
> > > 
> > > X11DisplayOffset 10
> > > 
> > > to
> > > 
> > > X11DisplayOffset 1
> > > 
> > > According to the sshd_conf man page, looks like the number should be set
> > > to the display that you want to forward (the first available display).
> > > 
> > > 
> > > > Here is the Xming log file: 
> > > > Welcome to the Xming X Server 
> > > > Vendor: Colin Harrison 
> > > > Release: 6.9.0.24 
> > > > FreeType2: 2.3.0 
> > > > Contact: http://sourceforge.net/forum/?group_id=156984 
> > > > 
> > > > C:\Program Files\Xming\Xming.exe :0 -ac -clipboard -multiwindow  
> > > >  
> > > > XdmcpRegisterConnection: newAddress x.x.x.x 
> > > > winPrefsLoadPreferences: C:\Program Files\Xming\Xmingrc 
> > > > LoadPreferences: Done parsing the configuration file... 
> > > > winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits 
> > > > per pixel 
> > > > winAllocateFBShadowGDI - Creating DIB with width: 1600 height: 1200 
> > > > depth: 32 
> > > > winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 
> > > > bpp 32 
> > > > glWinInitVisuals:1511: glWinInitVisuals 
> > > > init_visuals:1055: init_visuals 
> > > > null screen fn ReparentWindow 
> > > > null screen fn RestackWindow 
> > > > InitQueue - Calling pthread_mutex_init 
> > > > InitQueue - pthread_mutex_init returned 
> > > > InitQueue - Calling pthread_cond_init 
> > > > InitQueue - pthread_cond_init returned 
> > > > winInitMultiWindowWM - Hello 
> > > > winInitMultiWindowWM - Calling pthread_mutex_lock () 
> > > > winMultiWindowXMsgProc - Hello 
> > > > winMultiWindowXMsgProc - Calling pthread_mutex_lock () 
> > > > glWinScreenProbe:1390: glWinScreenProb

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Lowell Gilbert

I would guess that it's an xauth(1) problem.
Make sure that XAuthLocation is set ,in sshd_config(5), to the right
path for the xauth executable (probably /usr/local/bin/xauth, if
you've done the update to X.Org 7.2.

That's just a shot in the dark, though; the most certain way of
finding the problem is to increase the verbosity of sshd's logging,
and see what it thinks is wrong.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Root access loggin

2007-07-24 Thread Lowell Gilbert
Tom Grove <[EMAIL PROTECTED]> writes:

> You could even go so far as to limit what he can use sudo on.
>
> $>man sudo
>
> Giving him full root access is probably not a good idea.

In practice, this approach *is* effectively giving him full root
access.  Once you have to give the tech the ability to edit root-owned
files, you have to trust his honesty.  There are some important
advantages to doing it through sudo, though: one is that it makes it
easy for the user to keep track of just the root-privileged commands,
and another is that it's easier for the user to avoid shooting himself
in the foot.

To watch everything done by the remote-connected tech, the most
complete approach is probably watch(8), which is a much simpler way of
getting everything typed on a particular tty.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Terry Todd

Lowell,

The default sshd_config file does not have XAuthLocation defined.

I have not done any updates to X.org so the default location for
xauth is /usr/X11R6/bin/xauth.

So, I added the line:
XAuthLocation /usr/X11R6/bin/xauth
to /etc/ssh/sshd_config
restarted sshd
Tested it out and same problem.

BTW - the sshd_config file on FC6 does not have this line either
and it works.

I increased sshd logging to -d3.  No more messages came up in the
log file than before.

Terry Todd


On Tue, Jul 24, 2007 at 02:30:59PM -0400, Lowell Gilbert wrote:
> 
> I would guess that it's an xauth(1) problem.
> Make sure that XAuthLocation is set ,in sshd_config(5), to the right
> path for the xauth executable (probably /usr/local/bin/xauth, if
> you've done the update to X.Org 7.2.
> 
> That's just a shot in the dark, though; the most certain way of
> finding the problem is to increase the verbosity of sshd's logging,
> and see what it thinks is wrong.
> ___
> 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: connecting user root with ssh

2007-07-24 Thread Pollywog
On Tuesday 24 July 2007 11:33:26 Norberto Meijome wrote:
> On Wed, 30 May 2007 02:06:38 -0700
>
> [EMAIL PROTECTED] wrote:
> > * If "root" cannot log in remotely, a cracker has to guess three
>
> guess or brute force - so  quite long random passwords (or ssh keys) are
> extremely recommendable.
>
> >   things to obtain root access, instead of just one:
> >
> >   + A valid username which is in the "wheel" group;
> >   + That user's password;
> >   + The root password.
>
> that is assuming, of course, that the user your just logged in with belongs
> to wheel.

If one must allow root logins via ssh, I recommend in sshd_config:

PermitRootLogin without-password

This will force the use of a passphrase and disallow root login with just a 
password.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Root access loggin

2007-07-24 Thread Tom Grove

Lowell Gilbert wrote:

Tom Grove <[EMAIL PROTECTED]> writes:

  

You could even go so far as to limit what he can use sudo on.

$>man sudo

Giving him full root access is probably not a good idea.



In practice, this approach *is* effectively giving him full root
access.  Once you have to give the tech the ability to edit root-owned
files, you have to trust his honesty.  
Once any kind of local access is given to a user trust becomes an issue; 
regardless of root access or not.  By only allowing a certain set of 
commands there would still need to be a great deal of cracking to gain 
more access.  If one just gives out root access no more would need to be 
done.  This is where sudo is unlike root access.

There are some important
advantages to doing it through sudo, though: one is that it makes it
easy for the user to keep track of just the root-privileged commands,
and another is that it's easier for the user to avoid shooting himself
in the foot.
  
Other advantages to sudo are not having to give out the root password.  
A possible solution may be using sudo and watch together.

To watch everything done by the remote-connected tech, the most
complete approach is probably watch(8), which is a much simpler way of
getting everything typed on a particular tty.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  
While I agree that any kind of raised privilege may not be the best 
idea, if it is necessary, sudo adds a layer of protection you do not get 
with straight root.


-Tom

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


Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Pollywog
On Tuesday 24 July 2007 15:59:22 Terry Todd wrote:
> I have installed Xming successfully on a Windows XP system.
> It works OK to a FC6 system and an older UNIXware system.
>
> However when trying to connect to a FreeBSD 6.2 system with PuTTY
> ssh it doesn't work.  PuTTY has Enable X11 forwarding checked.

When I saw this post, I thought it was mine, because I am having the same 
problem, but only in FreeBSD and not Linux and my configurations on both are 
very much the same (for sshd).

I am also unable to use port forwarding in vnc (fbsd 6.2) but I am not certain 
whether this is related to the X11 Forwarding issue or if it is something 
unrelated.  SSH complains that it cannot use the designated port (I have 
tried different ports.

BTW I can do SSH port forwarding from my fbsd computer (client) to Linux 
(server) but cannot do this from Linux to fbsd.

I changed 
X11DisplayOffset 10
to
X11DisplayOffset 1

as mentioned in another post in this thread but that did not help.

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


Re: Root access loggin

2007-07-24 Thread John Fitzgerald

I may be misunderstanding this, but wouldn't allowing only certain
commands with sudo assume that the user actually knows what commands
are needed by the user? In this situation it seems like the whole
reason to grant access to the server was because the user _doesn't_
know what needs to be done.


On 7/24/07, Tom Grove <[EMAIL PROTECTED]> wrote:

Lowell Gilbert wrote:
> Tom Grove <[EMAIL PROTECTED]> writes:
>
>
>> You could even go so far as to limit what he can use sudo on.
>>
>> $>man sudo
>>
>> Giving him full root access is probably not a good idea.
>>
>
> In practice, this approach *is* effectively giving him full root
> access.  Once you have to give the tech the ability to edit root-owned
> files, you have to trust his honesty.
Once any kind of local access is given to a user trust becomes an issue;
regardless of root access or not.  By only allowing a certain set of
commands there would still need to be a great deal of cracking to gain
more access.  If one just gives out root access no more would need to be
done.  This is where sudo is unlike root access.
> There are some important
> advantages to doing it through sudo, though: one is that it makes it
> easy for the user to keep track of just the root-privileged commands,
> and another is that it's easier for the user to avoid shooting himself
> in the foot.
>
Other advantages to sudo are not having to give out the root password.
A possible solution may be using sudo and watch together.
> To watch everything done by the remote-connected tech, the most
> complete approach is probably watch(8), which is a much simpler way of
> getting everything typed on a particular tty.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
While I agree that any kind of raised privilege may not be the best
idea, if it is necessary, sudo adds a layer of protection you do not get
with straight root.

-Tom

___
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: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Pollywog
On Tuesday 24 July 2007 18:30:59 Lowell Gilbert wrote:
> I would guess that it's an xauth(1) problem.
> Make sure that XAuthLocation is set ,in sshd_config(5), to the right
> path for the xauth executable (probably /usr/local/bin/xauth, if
> you've done the update to X.Org 7.2.
>
> That's just a shot in the dark, though; the most certain way of
> finding the problem is to increase the verbosity of sshd's logging,
> and see what it thinks is wrong.

Indeed, setting XAuthLocation is what allowed me to connect FROM fbsd to Linux 
but I still can't connect from Linux to my FreeBSD computer.

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


Re: connecting user root with ssh

2007-07-24 Thread Hakan K

How can I change the ssh port?



Thanks
Troy
http://dominor.com

On 7/24/07, Pollywog <[EMAIL PROTECTED]> wrote:


On Tuesday 24 July 2007 11:33:26 Norberto Meijome wrote:
> On Wed, 30 May 2007 02:06:38 -0700
>
> [EMAIL PROTECTED] wrote:
> > * If "root" cannot log in remotely, a cracker has to guess three
>
> guess or brute force - so  quite long random passwords (or ssh keys) are
> extremely recommendable.
>
> >   things to obtain root access, instead of just one:
> >
> >   + A valid username which is in the "wheel" group;
> >   + That user's password;
> >   + The root password.
>
> that is assuming, of course, that the user your just logged in with
belongs
> to wheel.

If one must allow root logins via ssh, I recommend in sshd_config:

PermitRootLogin without-password

This will force the use of a passphrase and disallow root login with just
a
password.
___
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: connecting user root with ssh

2007-07-24 Thread John Fitzgerald

In /etc/ssh/sshd_config uncomment Port 22 and change it.

On 7/24/07, Hakan K <[EMAIL PROTECTED]> wrote:

How can I change the ssh port?



Thanks
Troy
http://dominor.com

On 7/24/07, Pollywog <[EMAIL PROTECTED]> wrote:
>
> On Tuesday 24 July 2007 11:33:26 Norberto Meijome wrote:
> > On Wed, 30 May 2007 02:06:38 -0700
> >
> > [EMAIL PROTECTED] wrote:
> > > * If "root" cannot log in remotely, a cracker has to guess three
> >
> > guess or brute force - so  quite long random passwords (or ssh keys) are
> > extremely recommendable.
> >
> > >   things to obtain root access, instead of just one:
> > >
> > >   + A valid username which is in the "wheel" group;
> > >   + That user's password;
> > >   + The root password.
> >
> > that is assuming, of course, that the user your just logged in with
> belongs
> > to wheel.
>
> If one must allow root logins via ssh, I recommend in sshd_config:
>
> PermitRootLogin without-password
>
> This will force the use of a passphrase and disallow root login with just
> a
> password.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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


RE: Root access loggin

2007-07-24 Thread Ian Lord


-Original Message-
From: John Fitzgerald [mailto:[EMAIL PROTECTED] 
Sent: 24 juillet 2007 15:42
To: Tom Grove
Cc: freebsd-questions@freebsd.org; Ian Lord
Subject: Re: Root access loggin

I may be misunderstanding this, but wouldn't allowing only certain
commands with sudo assume that the user actually knows what commands
are needed by the user? In this situation it seems like the whole
reason to grant access to the server was because the user _doesn't_
know what needs to be done.
~~

Exactly, I don't know what needs to be done, and they don't neither. That's
why they need to browse around trying to figure out why their installer
doesn't work.

Sudo wouldn't be any help here cause I would need to pre approve commands
and I don't know which one will be needed.

Basically, I don't there there is a better solution then giving away the
root password, but at least, I would like a log of what has been done.

Naturally, I understand any log could be overwritten/modified since the
person is root, but since I don't think Zend would make fun in hacking my
server, the point in having the log is to undo anything I wouldn't approve
..


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


RE: Root access loggin

2007-07-24 Thread Paul Schmehl
--On Tuesday, July 24, 2007 16:01:33 -0400 Ian Lord <[EMAIL PROTECTED]> 
wrote:





-Original Message-
From: John Fitzgerald [mailto:[EMAIL PROTECTED]
Sent: 24 juillet 2007 15:42
To: Tom Grove
Cc: freebsd-questions@freebsd.org; Ian Lord
Subject: Re: Root access loggin

I may be misunderstanding this, but wouldn't allowing only certain
commands with sudo assume that the user actually knows what commands
are needed by the user? In this situation it seems like the whole
reason to grant access to the server was because the user _doesn't_
know what needs to be done.
~~

Exactly, I don't know what needs to be done, and they don't neither.
That's why they need to browse around trying to figure out why their
installer doesn't work.

Sudo wouldn't be any help here cause I would need to pre approve commands
and I don't know which one will be needed.

You seem to have a mistaken understanding of sudo.  You can grant them 
access to everything that root has simply by adding their account to the 
wheel group and using visudo to grant wheel access to everything that root 
has access to.  You can do this with or without a requirement to type your 
password when you use sudo.


This will allow them to do everything they want while logging every command 
they type.  And that seems to be exactly what you want.  So, rather than 
giving them the root password, create an account for them, add it to the 
wheel group and use visudo to edit /usr/local/etc/sudoers to grant wheel 
access to everything.  (DO NOT edit the file with vi!)


To add the wheel group to a user:
pw usermod username -G wheel

Granting access to wheel should be self-explanatory:

# Uncomment to allow people in group wheel to run all commands
%wheel  ALL=(ALL)   ALL
# %wheelALL=(ALL)   NOPASSWD: ALL

That way everything they do is logged, and you don't have to compromise 
your root password.


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Problem booting from memory-stick with ASUS A7V-133

2007-07-24 Thread ilsa . gold
Hi Steve,

> > I have a problem with booting from a 128MB USB-memory-stick with the ASUS 
> > A7V-133 motherboard. I downloaded the boot-floppy-image"boot.flp" (version 
> > 6.2) from the FreeBSD-FTP-server and "dd"-ed it to a memory stick. Booting 
> > from this stick works fine with every other computer I have (a notebook and 
> > a newer workstation also with an ASUS-board). But trying to boot from the 
> > stick with the A7V gives me the following output:
> > 
> > <- 8< --->
> > Not ufs
> > Not ufs
> > No /boot/loader
> > FreeBSD/i386 boot
> > Default: 0:fd(0,a)/boot/kernel/kernel
> > boot:
> > Not ufs
> > No /boot/kernel/kernel
> > <- 8< --->
> > 
> 
> What happens if you enter:
> 
> 0:da(0,a)/boot/kernel/kernel
> 
> ...at the boot: prompt (as opposed to fd(0,a)?

first of all: Thanks a lot for you very quick response.

Entering this at the prompt gives me the following output (includes the entered 
data):

<- 8< --->
boot: 0:da(0,a)/boot/kernel/kernelerror 1 lba 0
No /boot/kernel/kernel
<- 8< --->

Any other things I should try?

Best regards,
  Stefan
_
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=0066

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


Root access loggin

2007-07-24 Thread Sven Braun
I don't know, but why don't you work with screen?
You will be able to see live what he's doing.
-- 
Sven Braun
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Josh Paetzel
On Tuesday 24 July 2007, Pollywog wrote:
> On Tuesday 24 July 2007 15:59:22 Terry Todd wrote:
> > I have installed Xming successfully on a Windows XP system.
> > It works OK to a FC6 system and an older UNIXware system.
> >
> > However when trying to connect to a FreeBSD 6.2 system with PuTTY
> > ssh it doesn't work.  PuTTY has Enable X11 forwarding checked.
>
> When I saw this post, I thought it was mine, because I am having
> the same problem, but only in FreeBSD and not Linux and my
> configurations on both are very much the same (for sshd).
>
> I am also unable to use port forwarding in vnc (fbsd 6.2) but I am
> not certain whether this is related to the X11 Forwarding issue or
> if it is something unrelated.  SSH complains that it cannot use the
> designated port (I have tried different ports.
>
> BTW I can do SSH port forwarding from my fbsd computer (client) to
> Linux (server) but cannot do this from Linux to fbsd.
>
> I changed
> X11DisplayOffset 10
> to
> X11DisplayOffset 1
>
> as mentioned in another post in this thread but that did not help.
>

Is tcp listening still off by default on FreeBSD?  Last time I tried 
to do anything with remote X (which was ages ago) I had to find the 
goo that was disabling it, I think it was tcp nolisten or something 
in the startx script.

Mind you we are talking FBSD 4.x here, but the errors seem very 
familiar.

-- 
Thanks,

Josh Paetzel


pgpisQvtvRXq2.pgp
Description: PGP signature


Re: Root access loggin

2007-07-24 Thread Vince Hoffman-Kazlauskas

\   \   Paul Schmehl wrote:
--On Tuesday, July 24, 2007 16:01:33 -0400 Ian Lord 
<[EMAIL PROTECTED]> wrote:





-Original Message-
From: John Fitzgerald [mailto:[EMAIL PROTECTED]
Sent: 24 juillet 2007 15:42
To: Tom Grove
Cc: freebsd-questions@freebsd.org; Ian Lord
Subject: Re: Root access loggin

I may be misunderstanding this, but wouldn't allowing only certain
commands with sudo assume that the user actually knows what commands
are needed by the user? In this situation it seems like the whole
reason to grant access to the server was because the user _doesn't_
know what needs to be done.
~~

Exactly, I don't know what needs to be done, and they don't neither.
That's why they need to browse around trying to figure out why their
installer doesn't work.

Sudo wouldn't be any help here cause I would need to pre approve 
commands

and I don't know which one will be needed.

You seem to have a mistaken understanding of sudo.  You can grant them 
access to everything that root has simply by adding their account to 
the wheel group and using visudo to grant wheel access to everything 
that root has access to.  You can do this with or without a 
requirement to type your password when you use sudo.


This will allow them to do everything they want while logging every 
command they type.  And that seems to be exactly what you want.  So, 
rather than giving them the root password, create an account for them, 
add it to the wheel group and use visudo to edit 
/usr/local/etc/sudoers to grant wheel access to everything.  (DO NOT 
edit the file with vi!)


To add the wheel group to a user:
pw usermod username -G wheel

Granting access to wheel should be self-explanatory:

# Uncomment to allow people in group wheel to run all commands
%wheel  ALL=(ALL)   ALL
# %wheelALL=(ALL)   NOPASSWD: ALL

That way everything they do is logged, and you don't have to 
compromise your root password.


The problem here is that the first command I type in this situation if i 
need to run multiple commands as root it sudo su -
after that nothing is logged.  I agree with Lowell that watch(8) is 
probably the way to go.


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


FC-IP support in ISP driver

2007-07-24 Thread Kevin Bralten
I have to deploy a FreeBSD box into an environment using IP over Fibre 
Channel. The machine is configured with a QLogic QLA2200F adapter.


Does FreeBSD 6 or -CURRENT include FC-IP support for the ISP driver (or 
any other driver for that matter?)

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


Re: Root access loggin

2007-07-24 Thread Chad Perrin

I accidentally sent my response directly to the OP, rather than to the
list.  If he feels it's worthwhile to do so, I guess he can post it to
the list.  In short, I just pointed out that setting up a logging server
that collects log events "invisibly" might be a good idea in a
circumstance like this.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Marvin Minsky: "It's just incredible that a trillion-synapse computer could
actually spend Saturday afternoon watching a football game."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox 3.0

2007-07-24 Thread Jona Joachim
On Mon, 23 Jul 2007 19:41:08 -0400
"Tsu-Fan Cheng" <[EMAIL PROTECTED]> wrote:

> sorry, i didnt notice that its the "devel" version. I just saw it in
> the freebsd.org/ports page. anyhow, I initial attempt was to find a
> alternative browser to firefox. On windows, there are avant, k-meleon
> and such, they are pretty good and fast compared to ff/IE. I wonder
> if there is any such client on fbsd. thanks!!

dillo

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


Re: firefox 3.0

2007-07-24 Thread Tsu-Fan Cheng

yeah... i tried that. but that experience was far from satisfactory

TFC

On 7/24/07, Jona Joachim <[EMAIL PROTECTED]> wrote:


On Mon, 23 Jul 2007 19:41:08 -0400
"Tsu-Fan Cheng" <[EMAIL PROTECTED]> wrote:

> sorry, i didnt notice that its the "devel" version. I just saw it in
> the freebsd.org/ports page. anyhow, I initial attempt was to find a
> alternative browser to firefox. On windows, there are avant, k-meleon
> and such, they are pretty good and fast compared to ff/IE. I wonder
> if there is any such client on fbsd. thanks!!

dillo



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


Re: firefox 3.0

2007-07-24 Thread Nikola Lecic
On Tue, 24 Jul 2007 18:12:09 -0400
"Tsu-Fan Cheng" <[EMAIL PROTECTED]> wrote:

> yeah... i tried that. but that experience was far from satisfactory

www/kazehakase, it's a stripped down and feature-innovative version of
firefox.

Nikola Lečić

P.S. Please write your answers _under_, not above the text you are
answering to, at least on these lists.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Root access loggin

2007-07-24 Thread Paul Schmehl
--On Tuesday, July 24, 2007 23:00:47 +0100 Vince Hoffman-Kazlauskas 
<[EMAIL PROTECTED]> wrote:



\   \   Paul Schmehl wrote:

--On Tuesday, July 24, 2007 16:01:33 -0400 Ian Lord
<[EMAIL PROTECTED]> wrote:




-Original Message-
From: John Fitzgerald [mailto:[EMAIL PROTECTED]
Sent: 24 juillet 2007 15:42
To: Tom Grove
Cc: freebsd-questions@freebsd.org; Ian Lord
Subject: Re: Root access loggin

I may be misunderstanding this, but wouldn't allowing only certain
commands with sudo assume that the user actually knows what commands
are needed by the user? In this situation it seems like the whole
reason to grant access to the server was because the user _doesn't_
know what needs to be done.
~~

Exactly, I don't know what needs to be done, and they don't neither.
That's why they need to browse around trying to figure out why their
installer doesn't work.

Sudo wouldn't be any help here cause I would need to pre approve
commands
and I don't know which one will be needed.


You seem to have a mistaken understanding of sudo.  You can grant them
access to everything that root has simply by adding their account to
the wheel group and using visudo to grant wheel access to everything
that root has access to.  You can do this with or without a
requirement to type your password when you use sudo.

This will allow them to do everything they want while logging every
command they type.  And that seems to be exactly what you want.  So,
rather than giving them the root password, create an account for them,
add it to the wheel group and use visudo to edit
/usr/local/etc/sudoers to grant wheel access to everything.  (DO NOT
edit the file with vi!)

To add the wheel group to a user:
pw usermod username -G wheel

Granting access to wheel should be self-explanatory:

# Uncomment to allow people in group wheel to run all commands
%wheel  ALL=(ALL)   ALL
# %wheelALL=(ALL)   NOPASSWD: ALL

That way everything they do is logged, and you don't have to
compromise your root password.


The problem here is that the first command I type in this situation if i
need to run multiple commands as root it sudo su -
after that nothing is logged.  I agree with Lowell that watch(8) is
probably the way to go.

Well sure, but then you have a log entry where the vendor's tech clearly 
tried to circumvent your restrictions.  That's cause for immediate 
revocation of access and escalation of the issue to the vendor.  (Not that 
you shouldn't use watch!)


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Waiting for BIND security announcement

2007-07-24 Thread Jeffrey Goldberg
[I'm cc'ing this to [EMAIL PROTECTED], but they are probably  
already aware of things.  I don't require a response from them, but  
if they do, a posting to the questions are announcement lists would  
be great.  I don't need a personal response.]


As I'm sure many people know there is a newly discovered BIND  
vulnerability allowing cache injection (pharming).  See


  http://www.isc.org/index.pl?/sw/bind/bind-security.php

for details.

The version of bind on 6.2, 9.3.3, looks like it is vulnerable (along  
with many other versions).  It's not particularly an issue for me  
since my name servers aren't publicly queryable, but I am curios  
about how things like security problems in

src/contrib get handled in FreeBSD.

Cheers,

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/



Re: Waiting for BIND security announcement

2007-07-24 Thread Simon L. Nielsen
[freebsd-security@ CC'ed to avoid answering the same there again
shorly :) - if following up, please drop either freebsd-questions or
freebsd-securiy to avoid "spamming" both lists]

On 2007.07.24 18:15:43 -0500, Jeffrey Goldberg wrote:

> As I'm sure many people know there is a newly discovered BIND vulnerability 
> allowing cache injection (pharming).  See
> 
>   http://www.isc.org/index.pl?/sw/bind/bind-security.php
> 
> for details.
> 
> The version of bind on 6.2, 9.3.3, looks like it is vulnerable (along with 
> many other versions).  It's not particularly an issue for me since my name 
> servers aren't publicly queryable, but I am curios about how things like 
> security problems in
> src/contrib get handled in FreeBSD.

Yes, the FreeBSD Security Team and the FreeBSD BIND maintainer are
aware of the issue and are working on fixing it in FreeBSD as soon as
possible.

More details about the issue can be found at:
http://www.isc.org/sw/bind/bind-security.php .

Our general security handling policies can be found at:
http://security.FreeBSD.org/ .

-- 
Simon L. Nielsen
FreeBSD Deputy Security Officer


pgpfLpC7zupwl.pgp
Description: PGP signature


Re: Waiting for BIND security announcement

2007-07-24 Thread Doug Barton
Simon L. Nielsen wrote:
> [freebsd-security@ CC'ed to avoid answering the same there again
> shorly :) - if following up, please drop either freebsd-questions or
> freebsd-securiy to avoid "spamming" both lists]
> 
> On 2007.07.24 18:15:43 -0500, Jeffrey Goldberg wrote:
> 
>> As I'm sure many people know there is a newly discovered BIND vulnerability 
>> allowing cache injection (pharming).  See

I think it's worth pointing out that cache injection and pharming are
not the same thing, although cache injection can be used as part of a
pharming attack.

I also think it's worth noting that this isn't an "all your queries
are belong to us" type of attack. The attack involves _predicting_
query id numbers which at _best_ will be successful only once in 16
tries. Then you have to actually time it right so that you can use
your guess.

Still, it is worth upgrading to avoid this issue.

>>   http://www.isc.org/index.pl?/sw/bind/bind-security.php
>>
>> for details.
>>
>> The version of bind on 6.2, 9.3.3,

RELENG_6 was updated shortly after the release of 9.3.4. I'll be
updating RELENG_[56] with the new 9.3.4-P1 version after I'm done
regression testing it, which should be some time tonight. Same for
updating HEAD with 9.4.1-P1.

The ports for bind9 and bind94 are already updated, so those with
urgent needs can use that route to upgrade immediately.


hope this helps,

Doug

-- 

This .signature sanitized for your protection

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


FastCGI PHP does not start on server reboot (via rc script).

2007-07-24 Thread Maxim Khitrov

Hello,

I have this problem that I can't figure out. One of my web servers is
using a combination of lighttpd and FastCGI php to run a few sites. On
lighttpd website there is an rc script to help FreeBSD users start
FastCGI php processes automatically. I've pasted that script below.

I should say that if I run it manually as root, everything works
beautifully. As you can see, the script creates a unix socket at
/var/run/fastcgi/php.sock, and lighttpd is then able to execute php
scripts. The problem is that every time the server is rebooted, the
script does not start back up. I have to start it manually. I can't
find any log entries that would indicate a problem, so I'm not even
sure where to start looking. Below is the script that I'm trying to
run, file permissions for relevant files, and contents of my rc.conf.

Would greatly appreciate it if someone could at least tell me where to
start looking for a solution to this problem.

Thanks,
Maxim Khitrov

/etc/rc.conf:
fcgiphp_enable="YES"

/var/run/fastcgi:
-rw-r--r--  1 www  www  -5B Jul 24 17:06 php.pid
srwxr-xr-x  1 www  www  -0B Jul 24 17:06 php.sock=

/usr/local/etc/rc.d:
-r-xr-xr-x  1 root  wheel  -  1.6K May 23 17:28 fastcgi-php*

/usr/local/etc/rc.d/fastcgi-php:
#!/bin/sh
#  FreeBSD rc.d script for fastcgi+php
#  in rc.conf
# fcgiphp_enable (bool):Set it to "YES" to enable fastcgi+php
#   Default is "NO".
# other options see below
#

. /etc/rc.subr

name="fcgiphp"
rcvar=`set_rcvar`

load_rc_config $name

: ${fcgiphp_enable="NO"}
: ${fcgiphp_bin_path="/usr/local/bin/php-cgi"}
: ${fcgiphp_user="www"}
: ${fcgiphp_group="www"}
: ${fcgiphp_children="2"}
: ${fcgiphp_port="8002"}
: ${fcgiphp_socket="/var/run/fastcgi/php.sock"}
: ${fcgiphp_env="SHELL PATH USER"}
: ${fcgiphp_max_requests="100"}
: ${fcgiphp_addr="localhost"}


pidfile=/var/run/fastcgi/php.pid
procname="${fcgiphp_bin_path}"
command_args="/usr/local/bin/spawn-fcgi 2> /dev/null -f
${fcgiphp_bin_path} -u ${fcgiphp_user} -g ${fcgiphp_group} -C
${fcgiphp_children} -P ${pidfile}"
start_precmd=start_precmd
stop_postcmd=stop_postcmd

start_precmd()
{
PHP_FCGI_MAX_REQUESTS="${fcgiphp_max_requests}"
FCGI_WEB_SERVER_ADDRS=$fcgiphp_addr
export PHP_FCGI_MAX_REQUESTS
export FCGI_WEB_SERVER_ADDRS
allowed_env="${fcgiphp_env} PHP_FCGI_MAX_REQUESTS FCGI_WEB_SERVER_ADDRS"
# copy the allowed environment variables
E=""
for i in $allowed_env; do
eval "x=\$$i"
E="$E $i=$x"
done
command="env - $E"

if [ -n "${fcgiphp_socket}" ]; then
command_args="${command_args} -s ${fcgiphp_socket}"
elif [ -n "${fcgiphp_port}" ]; then
command_args="${command_args} -p ${fcgiphp_port}"
else
echo "socket or port must be specified!"
exit
fi
}

stop_postcmd()
{
rm -f ${pidfile}
#   eval "ipcs | awk '{ if (\$5 == \"${fcgiphp_user}\") print \"ipcrm -s
\"\$2}' | /bin/sh"
}

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: dump -L

2007-07-24 Thread Victor Sudakov
Lowell Gilbert wrote:
> >> > 
> >> > I always use "dump -L" to dump a live filesystem.
> >> > However, when I restore the dump, I sometimes get messages like 
> >> > "foo.txt (inode 12345) not found on tape" or
> >> > "expected next file 12345, got 23456" 
> >> 
> >> I'm seeing this too. It's always exactly one inode per file system.
> >
> > You are probably talking about "expected next file 12345, got 23456".
> > It seems harmless.
> >
> > But I am more worried about "foo.txt (inode 12345) not found on tape".
> > Indeed, some files fail to get into the dump.
> 
> Are the files active at the time of the dump?

Yes, they are.
These are files edited by Samba users, mrtg files etc.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


bootable rescue cd?

2007-07-24 Thread Bruce Caruthers

Hi, all.

Given my "special-case" system (DG965WH), I am
trying to make a custom boot CD based off the
original 6.2-RELEASE/amd64 install disc in case I
ever need to login to fix it (such as when I had to
do a partial reinstall when I made a typo in one of
the loader files).

I have replaced /boot/kernel with one with Antony's
marvell patch built into it, and have added the
hint.acpi.0.disabled="1" to /boot/device.hints, so
it should all boot, which gives me a safe reinstall
option.

But...
How do I make it simply boot to a login or command
line?  I can't seem to find where it jumps to
sysinstall so I can disable that.

Apologies if i missed something obvious.  I tried
following the boot procedure through the *.4th
files, but the last time I programmed in Forth was
in one of the original MUDs (i.e. ages ago) and I
wasn't an expert in it even then.

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


Re: dump -L

2007-07-24 Thread Victor Sudakov
Lowell Gilbert wrote:
> >> > What is it?
> >> 
> >> I don't know. Perhaps it is the inode of the snapshot file
> >> itself?
> >
> > "find -inum" does not support this assumtion.
> 
> Do you mean that you can't find the file at all in the snapshot?

Here is an example for you:


$ restore -rNf test.dmp
./var/db/entropy/saved-entropy.1: (inode 1887715) not found on tape
expected next file 259101, got 11
$ restore -tvf test.dmp | grep 259101
Level 0 dump of / on test.sibptus.tomsk.ru:/dev/ad0s1a
Label: none
leaf259101  ./usr/share/tmac/m.tmac
$ restore -tvf test.dmp | grep " 11"
Level 0 dump of / on test.sibptus.tomsk.ru:/dev/ad0s1a
Label: none
dir1130496  ./media
$

This means that 

1. "/var/db/entropy/saved-entropy.1" was not dumped for some reason, though
   "-L" was given during the dump.
2. File with inode number 11 is not in the dump.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[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: bootable rescue cd?

2007-07-24 Thread Modulok

On 7/24/07, Bruce Caruthers <[EMAIL PROTECTED]> wrote:


Hi, all.

Given my "special-case" system (DG965WH), I am
trying to make a custom boot CD based off the
original 6.2-RELEASE/amd64 install disc in case I
ever need to login to fix it (such as when I had to
do a partial reinstall when I made a typo in one of
the loader files).

I have replaced /boot/kernel with one with Antony's
marvell patch built into it, and have added the
hint.acpi.0.disabled="1" to /boot/device.hints, so
it should all boot, which gives me a safe reinstall
option.

But...
How do I make it simply boot to a login or command
line?  I can't seem to find where it jumps to
sysinstall so I can disable that.

Apologies if i missed something obvious.  I tried
following the boot procedure through the *.4th
files, but the last time I programmed in Forth was
in one of the original MUDs (i.e. ages ago) and I
wasn't an expert in it even then.

Thanks!
   -bkc


You might look into FreeSBIE (available in the ports collection under
./ports/sysutils/freesbie). To quote the package description file:

"...The FreeSBIE port is a collection of scripts which help a user to
create CDs/DVDs containing a complete operating system based on
FreeBSD. It is used as "live-cd" and boots straight from CD...Creation
of the CDs/DVDs is completely dialog based as well as building and
installing of packages..."

If memory serves me correctly, it supports the ability to specify a
custom kernel to use and packages you wish to have installed in the
ISO file it constructs from your existing installed system. It's worth
looking at, even if just to see what makes it tick under the hood.

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


fsck to fix HD problem

2007-07-24 Thread Zbigniew Szalbot

Hello,

I got a Charlie report:
+WARNING: / was not properly dismounted 
+WARNING: /var was not properly dismounted 
+/var: mount pending error: blocks 8200 files 43 
+/usr: mount pending error: blocks 4552 files 6

so I decided to use fsck to check my HD. I ran it
in the foreground mode with the -y flag. It gives me the below
information. My question is - should I worry (it is more a home machine
than a real server) and if yes, how can I fix the problem?

** Phase 4 - Check Reference Counts
UNREF FILE I=133267  OWNER=root MODE=140666
SIZE=0 MTIME=Jul 24 07:54 2007
CLEAR? no

UNREF FILE I=235892  OWNER=mysql MODE=100600
SIZE=0 MTIME=Jul 24 16:43 2007
CLEAR? no

UNREF FILE I=235894  OWNER=mysql MODE=100600
SIZE=0 MTIME=Jul 24 16:43 2007
CLEAR? no

UNREF FILE I=235929  OWNER=mysql MODE=100600
SIZE=0 MTIME=Jul 24 16:43 2007
CLEAR? no

UNREF FILE I=235932  OWNER=mysql MODE=100600
SIZE=0 MTIME=Jul 24 16:43 2007
CLEAR? no

UNREF FILE I=235933  OWNER=mysql MODE=100600
SIZE=0 MTIME=Jul 24 16:43 2007
CLEAR? no

** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? no

SUMMARY INFORMATION BAD
SALVAGE? no

BLK(S) MISSING IN BIT MAPS
SALVAGE? no

53119 files, 473457 used, 617845 free (10557 frags, 75911 blocks, 1.0%
fragmentation)

Thank you in advance!

-- 
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: fsck to fix HD problem

2007-07-24 Thread [EMAIL PROTECTED]

On 25/07/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:


Hello,

I got a Charlie report:
+WARNING: / was not properly dismounted
+WARNING: /var was not properly dismounted
+/var: mount pending error: blocks 8200 files 43
+/usr: mount pending error: blocks 4552 files 6

so I decided to use fsck to check my HD. I ran it
in the foreground mode with the -y flag. It gives me the below
information. My question is - should I worry (it is more a home machine
than a real server) and if yes, how can I fix the problem?

. . .

To do anything more than merely report problems
you should drop into single-user mode, unmount
everything except root (hopefully.  If it gets angry,
reboot into single-user mode.) and run fsck (as is
or with the -y flag if you feel daring.) on the filesystems
in question.

As an aside, you might want to figure out why your
machine fell over, so as to possibly avoid this in
the future (such as it is).

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


Re: fsck to fix HD problem

2007-07-24 Thread Zbigniew Szalbot

Hello,

>> so I decided to use fsck to check my HD. I ran it
>> in the foreground mode with the -y flag. It gives me the below
>> information. My question is - should I worry (it is more a home machine
>> than a real server) and if yes, how can I fix the problem?
> . . .
> 
> To do anything more than merely report problems
> you should drop into single-user mode, unmount
> everything except root (hopefully.  If it gets angry,
> reboot into single-user mode.) and run fsck (as is
> or with the -y flag if you feel daring.) on the filesystems
> in question.

Is the single-user mode necessary. As it is a family machine I know when I
am the only one using it.

> 
> As an aside, you might want to figure out why your
> machine fell over, so as to possibly avoid this in
> the future (such as it is).

Lack of UPS and sudden power outage.

Thank you!
-- 
Zbigniew Szalbot

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


panic : swap_pager

2007-07-24 Thread Zhang hw

Sometimes when I shutdown my system, it would tell me :
"...
All buffers synced
Swap_pager: I/O error - pagein failed, blkno 744, size 4096, error 5
panic: swap_pager_force_pagein: read from swap failed
Uptime:...
Cannot dump. No dump device defined.
Automatic reboot in 15 seconds -> press a key on the console to abort"
If press a key, the system will show:
"->Press a key on the console to reboot
->or switch off the system now"
uname -a: 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-P6 #3
Sometimes the blkno mybe with a different number after it.
Who can tell me how could deal with it?
Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fsck to fix HD problem

2007-07-24 Thread [EMAIL PROTECTED]

On 25/07/07, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:


Hello,

>> so I decided to use fsck to check my HD. I ran it
>> in the foreground mode with the -y flag. It gives me the below
>> information. My question is - should I worry (it is more a home machine
>> than a real server) and if yes, how can I fix the problem?
> . . .
>
> To do anything more than merely report problems
> you should drop into single-user mode, unmount
> everything except root (hopefully.  If it gets angry,
> reboot into single-user mode.) and run fsck (as is
> or with the -y flag if you feel daring.) on the filesystems
> in question.

Is the single-user mode necessary. As it is a family machine I know when I
am the only one using it.



Well, fsck-ing /var on a fully multiuser system is
hairy, at best, since /var is almost always being
written to by something or other.  Single user
mode is the simplest way of dealing with this, since
none of the logging, mail, or one of any of a 10^4
daemons will be trying to write to it, while you're
trying to fix it.

With mysql, I would assume* many of the same
problems with /usr (or /usr/local, if that is its own
filesystem).


*given that I know meow-all about mysql: where
it may wish to write, or what horrible perversions
it commits while running.

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


spumux segmentation fault

2007-07-24 Thread Andriy Babiy
Hi everybody!

Here is one more problem to solve.
Even if I don't put any options for spumux on command line, a segmentation 
fault is thrown.

$ spumux
DVDAuthor::spumux, version 0.6.14.
Build options: gnugetopt magick iconv freetype fribidi
Send bugs to <[EMAIL PROTECTED]>

Segmentation fault (core dumped)

$ uname -a
FreeBSD xxx.yyy.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 11 06:07:39 
PDT 2007 root@:/usr/obj/usr/src/sys/AMD64  amd64

What can I do to fix the problem?
Thank you in advance!

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