Re: sysvipc only for one jail

2013-08-12 Thread Maciej Suszko
David Demelier demelier.da...@gmail.com wrote:
 2013/8/11 Maciej Suszko mac...@suszko.eu:
  Maciej Suszko mac...@suszko.eu wrote:
  [...]
 
  You can specify different params for each jail using _parameters,
  for example:
 
  jail_jailname_params=allow.chflags=1 allow.sysvipc=1
 
  Sorry, my mistake - it should be jail_jailname_parameters= of
  course. --
  regards, Maciej Suszko.
 
 Thanks for your message,
 
 However, I could not find this setting in the manual of rc.conf(5)
 neither in /etc/rc.d/jail :(. It does not seems to be applied.

I suppose jail_(jname)_parameters rc.conf option is available in
at least 9-STABLE.
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: sysvipc only for one jail

2013-08-11 Thread Maciej Suszko
David Demelier demelier.da...@gmail.com wrote:
 Hi,
 
 I would like to enable sysvipc only for one jail (defined in
 /etc/rc.conf). It's possible with jail.conf but this is not supported
 with jails listed in /etc/rc.conf.
 
 Is it possible without using the global jail_sysvipc_allow ?

You can specify different params for each jail using _parameters, for
example:

jail_jailname_params=allow.chflags=1 allow.sysvipc=1

-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: sysvipc only for one jail

2013-08-11 Thread Maciej Suszko
Maciej Suszko mac...@suszko.eu wrote:
[...]
 
 You can specify different params for each jail using _parameters, for
 example:
 
 jail_jailname_params=allow.chflags=1 allow.sysvipc=1

Sorry, my mistake - it should be jail_jailname_parameters= of course.
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: vidcontrol - How do I make these persist?

2012-11-26 Thread Maciej Suszko
Modulok modu...@gmail.com wrote:
 List,
 
 If I edit things via vidcontrol, e.g: `vidcontrol grey black` where
 do I put this to make it persist across reboots on all terminals?

Search for vidcontrol(1) in rc.conf(5) manual.
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: X11 problem

2010-06-22 Thread Maciej Suszko
Gary Kline kl...@thought.org wrote:
 
 guys,
 what do i need to rebuild to fix this problem to get X working on my
 server::
 
 
 ethic# startx
 xauth:  creating new authority file /root/.serverauth.1054
 
 /libexec/ld-elf.so.1: Shared object libhal.so.1 not found, required
 by X giving up.
 xinit:  No such file or directory (errno 2):  unable to connect to X
 server
 xinit:  No such process (errno 3):  Server error.
 ethic# 

You can use ldd to find binaries/libraries linked against nonexistent
libs:

find /usr/local -type f | xargs ldd

then check the output for not found string, find the file origin with
pkg_info -W /path/to/file, finally rebuild the package.
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: Configuring IPFW IP range

2010-04-04 Thread Maciej Suszko
Carmel NY carmel...@hotmail.com wrote:
 This is my first attempt at configuring IPFW. I have it up and
 running; however, I am not quite sure how to accomplish configuring
 it to block an IP range.
 
 Assume an IP range: 219.128.0.0 to 219.137.255.255
 
 That is an actual range: CHINANET Guangdong province network
 
 I want to block the entire range. I am not sure how to do it in IPFW.
 I have read the 'man' pages; however, I am not getting the syntax
 correct since I cannot get the range added.

#v+
tlh...@arsenic:~ % ipcalc 219.128.0.0 - 219.137.255.255
deaggregate 219.128.0.0 - 219.137.255.255
219.128.0.0/13
219.136.0.0/15
#v-
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: 8.0RC custom kernel not installing?

2009-11-04 Thread Maciej Suszko
LoH lordofhyph...@gmail.com wrote:
 I compiled a custom kernel with ZFS enabled and installed it.
 Everything appeared to work fine, then I realized that I needed to
 make some more modifications (ALTQ, disabling ulpt). I made those
 configuration changes to the existing ZFS kernel config.
 
 After running
 make buildkernel kernconf=ZFS
 and
 make installkernel kernconf=ZFS

KERNCONF ?

 (ZFS is the name of the kernel config file)
 I rebooted the machine but didn't see any change in the system
 config. I've also made sure I did the build/install as root.
 
 I doubled-checked the config in the kernel directory, the config is 
 properly done.
 
 Any ideas?
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: Using mdconfig for swap space

2009-09-09 Thread Maciej Suszko
Peter Steele pste...@maxiscale.com wrote:
 Thanks for the responses. The reason I'm looking at doing this is
 that we have increased memory on our platform from 4GB to 8GB and
 therefore have to increase swap space from 8GB to 16GB. We have
 enough space in our /var partition that we could add a swap file
 there and not have to touch the existing partition layout. I like the
 simplicity of the swap file approach, but we have an application that
 is very sensitive to I/O performance and I'm a little wary what this
 could mean. QA I know would have a field day in trying to pound the
 system with all sorts of stress tests. I think a dedicated swap
 partition is probably a safer option.

Nowadays having swap twice as RAM is not necessary. If your system
wasn't swapping much in the past you can safely stay with 4G in my
opinion... extending it to 16G would be waste of space :)
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: /tmp/security on 7.1-Release

2009-05-13 Thread Maciej Suszko
Zbigniew Szalbot z.szal...@lcwords.com wrote:
 Hello,
 
 Ever since upgrading from 7.0-Release to 7.1-Release I get the
 following in the daily security reports:
 
 master.lc-words.com kernel log messages:
 +++ /tmp/security.yMzCQbS82009-05-13 03:01:25.0 +0200
 +re0: watchdog timeout
 +re0: link state changed to DOWN
 +re0: link state changed to UP
 
 It just happens around 3 a.m. each day and so I wonder if I should be
 concerned about it...?
 
 Thank you in advance for your suggestions!

I can bet it's NIC related problem, probably your re0 is sharing IRQ
with something and it's going up/down. The time you see (~3.oo AM) is
the moment periodic works, so it doesn't mean the problem happend then.

I've seen similar problems on cheap PC hardware with integrated NIC
and/or external PCI NIC (re/rl/em). Search for 're0: watchdog timeout'
on google.

The solution is to replace re with something else - em for example, but
there is no guarantee it's going to work - I had same problems on
crappy hardware with two identical interfaces plugged in (some model of
em - IRRC Intel PRO/1000 GT)
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: is there a laptop ?

2009-03-19 Thread Maciej Suszko
Chris Rees utis...@googlemail.com wrote:
 As far as the WLAN support goes, you can always replace the cards.
 Searching on eBay or old laptops is often a good bet. Ralink and
 Atheros are your best bets as aforementioned; Free drivers!

If you mean replacing mPCI cards - it's not always possible. HP has got
device whitelists implemented in their BIOS - you can replace WiFi cards
to those they're selling with their laptops. I visited some sites
describing BIOS modifications - yes, it's possible, but you there's
always big chance to got your computer bricked :|
As far as I know - some IBM models have such whitelists as well...

 Oh, I'll agree with everyone saying IBM laptops are the best; but they
 sold the Thinkpad line to Lenovo, who as I've mostly found have kept
 up the standards. They are excellent buys.
 
 Good luck...
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: Installing 7.1 amd64 on Dell powerEdge 2950

2009-03-17 Thread Maciej Suszko
Olivier Nicole o...@cs.ait.ac.th wrote:
 Hi,
 
  I've had(and have) several fairly new Dell PowerEdge2950 servers
  running FreeBSD 7.1/amd64 just fine.  Is this a brand new 2950
  (2950 III, or whatever), or an older one?  
 
 Depends how new is new, we bought it at the end of last year.
 
  I'd make sure that the BIOS, BMC, and PERC 
  (if you have one) firmwares are all up to date.  
 
 OK.
 
  Barring that, have you tried another installation CD?
 
 No, but that very installation CD worked well on other machines (Dell
 1950 and Dell 200).
 
 And both Dell 2950 are failing the same way.

I got 2 PE2950 running 7.0/amd64 bought last summer - all running
without problems. Maybe CD/DVD drives are failing? Have you tried
another media - DVD instead of CD for example?
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: Shared ftp access to a apache root

2009-03-17 Thread Maciej Suszko
DAve dave.l...@pixelhammer.com wrote:
 DAve wrote:
  Good afternoon all,
  
  I have a strange request and mind is just not up to the task today.
  We have a client who wants each web developer (there are four) to
  have a unique login to the same apache site root.
 
 That would be a unique FTP login, again, my mind is toast today.
 
 DAve
 
  
  I am not even certain that is possible. Anyone have any ideas? This
  is a dedicated server running FreeBSD 6.4 inside ESXi.
  
  DAve

If you'd like to use ftp/proftpd deamon - there is option to use
separate passwd-like file for this service (you can specify uid/gid,
home etc.)... so it's certainly doable :)
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: is there a laptop ?

2009-03-13 Thread Maciej Suszko
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:
 
  This machine uses wpi and bge. Both devices seem to work ok
  chucking files around a domestic network.
 
 at least for wired network i never had a problem with broadcom chips

Neither do I...

 
  w...@pci0:8:0:0:class=0x028000 card=0x135c103c
  chip=0x42228086 rev=0x02 hdr=0x00
 vendor = 'Intel Corporation'
 device = '10418086 Intel 3945ABG Wireless LAN controller'
 class  = network
  b...@pci0:2:14:0:   class=0x02 card=0x30aa103c
  chip=0x169c14e4 rev=0x03 hdr=0x00
 vendor = 'Broadcom Corporation'
 device = 'BCM5788 Broadcom NetLink (TM) Gigabit Ethernet'
 class  = network
 
  Chris
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: is there a laptop ?

2009-03-12 Thread Maciej Suszko
Saifi Khan saifi.k...@twincling.org wrote:
 Hi all:
 
 i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
 ndiswrapper, or broadcom or additional PCMCIA card at all.
 
 Is there a laptop model (available in market) that experienced
 members would like to recommend wherein 
  . the WiFi 802.11 a/g (PCI based)
  . Ethernet port 
  . and ACPI 
 work absolutely fine with FreeBSD 7.x ?

I use RELENG_7_1 and RELENG_7 on HP Compaq nx7300. I haven't tried the
suspend/resume, firewire port and I suppose the modem is not
going to work. Everything else is working fine for me.
-- 
regards, Maciej Suszko.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there a laptop ?

2009-03-12 Thread Maciej Suszko
Saifi Khan saifi.k...@twincling.org wrote:
 On Thu, 12 Mar 2009, Maciej Suszko wrote:
 
  Saifi Khan saifi.k...@twincling.org wrote:
   Hi all:
   
   i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
   ndiswrapper, or broadcom or additional PCMCIA card at all.
   
   Is there a laptop model (available in market) that experienced
   members would like to recommend wherein 
. the WiFi 802.11 a/g (PCI based)
. Ethernet port 
. and ACPI 
   work absolutely fine with FreeBSD 7.x ?
  
  I use RELENG_7_1 and RELENG_7 on HP Compaq nx7300. I haven't tried
  the suspend/resume, firewire port and I suppose the modem is not
  going to work. Everything else is working fine for me.
  -- 
  regards, Maciej Suszko.
  
 
 What is the wireless chipset of your machine ?

Here's what pciconf says:
w...@pci0:16:0:0:   class=0x028000 card=0x135c103c chip=0x42228086
rev=0x02 hdr=0x00 vendor = 'Intel Corporation'
device = '10418086 Intel 3945ABG Wireless LAN controller'
class  = network
-- 
regards, Maciej Suszko.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there a laptop ?

2009-03-12 Thread Maciej Suszko
Paul B. Mahol one...@gmail.com wrote:
 On 3/12/09, Maciej Suszko mac...@suszko.eu wrote:
  Paul B. Mahol one...@gmail.com wrote:
  On 3/13/09, Saifi Khan saifi.k...@twincling.org wrote:
   On Thu, 12 Mar 2009, Maciej Suszko wrote:
  
   Saifi Khan saifi.k...@twincling.org wrote:
Hi all:
   
i've looked at tuxmobil, bsdgroup.de etc and i don't want to
use ndiswrapper, or broadcom or additional PCMCIA card at all.
   
Is there a laptop model (available in market) that experienced
members would like to recommend wherein
 . the WiFi 802.11 a/g (PCI based)
 . Ethernet port
 . and ACPI
work absolutely fine with FreeBSD 7.x ?
  
   I use RELENG_7_1 and RELENG_7 on HP Compaq nx7300. I haven't
   tried the suspend/resume, firewire port and I suppose the modem
   is not going to work. Everything else is working fine for me.
   --
   regards, Maciej Suszko.
  
  
   What is the wireless chipset of your machine ?
 
  On mine nx7300 it is broadcom one and works fine via ndis.
  Suspend/resume works fine if second core is disabled and vesa is
  loaded in kernel
  (either via kldload or via custom kernel)
  Firewire and bluetooth are supported and should work without
  problems. Ethernet works via if_bfe; carbus, drm, sound works
  fine ... In short everything is supported on UP kernel except
  winmodem.
 
  There are some bugs in BIOS asl which I fixed adding:
 
  acpi_dsdt_load=YES
  acpi_dsdt_name=/boot/acpi.aml
 
  in /boot/loader.conf
 
  /boot/acpi.aml is modified version of ASL which address
  temperature is absurd, ignored
  type of messages.
 
 
  8.0 CURRENT i386.
 
  On 7.0, 7.1 and 7-STABLE there is still a little bit annoying
  message in dmesg on my nx7300, but i it's harmless as I suppose:
  acpi_tz0: _CRT value is absurd, ignored (256.0C)
 
 Not for me, it caused livelocks in syscons while using powerd (h)adp
 mode, making entire session useless and forcing me to reboot machine.

I didn't notice such behavior - the only I observed is that running
powerd in adaptive mode, the lowest frequency supported by CPU is ,,too
low'' - I set 500MHz as the lowest possible via sysctl... but I'll take
a closer look on that :)
-- 
regards, Maciej Suszko.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there a laptop ?

2009-03-12 Thread Maciej Suszko
Paul B. Mahol one...@gmail.com wrote:
 On 3/13/09, Saifi Khan saifi.k...@twincling.org wrote:
  On Thu, 12 Mar 2009, Maciej Suszko wrote:
 
  Saifi Khan saifi.k...@twincling.org wrote:
   Hi all:
  
   i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
   ndiswrapper, or broadcom or additional PCMCIA card at all.
  
   Is there a laptop model (available in market) that experienced
   members would like to recommend wherein
. the WiFi 802.11 a/g (PCI based)
. Ethernet port
. and ACPI
   work absolutely fine with FreeBSD 7.x ?
 
  I use RELENG_7_1 and RELENG_7 on HP Compaq nx7300. I haven't tried
  the suspend/resume, firewire port and I suppose the modem is not
  going to work. Everything else is working fine for me.
  --
  regards, Maciej Suszko.
 
 
  What is the wireless chipset of your machine ?
 
 On mine nx7300 it is broadcom one and works fine via ndis.
 Suspend/resume works fine if second core is disabled and vesa is
 loaded in kernel
 (either via kldload or via custom kernel)
 Firewire and bluetooth are supported and should work without problems.
 Ethernet works via if_bfe; carbus, drm, sound works fine ...
 In short everything is supported on UP kernel except winmodem.
 
 There are some bugs in BIOS asl which I fixed adding:
 
 acpi_dsdt_load=YES
 acpi_dsdt_name=/boot/acpi.aml
 
 in /boot/loader.conf
 
 /boot/acpi.aml is modified version of ASL which address temperature
 is absurd, ignored
 type of messages.
 
 
 8.0 CURRENT i386.

On 7.0, 7.1 and 7-STABLE there is still a little bit annoying message
in dmesg on my nx7300, but i it's harmless as I suppose:
acpi_tz0: _CRT value is absurd, ignored (256.0C)
-- 
regards, Maciej Suszko.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: flash9 checklist

2008-10-29 Thread Maciej Suszko
Gary Jennejohn [EMAIL PROTECTED] wrote:
 On Wed, 29 Oct 2008 11:50:27 -0400
 Mikhail Teterin [EMAIL PROTECTED] wrote:
 
  Sent by Vladimir Grebenschikov:
   I've seen temporary FF lockups with flashblock FF plugin enabled.
  Same here. Sometimes it works and some times any page containing
  flash will hang the entire browser. Doing a `killall
  npviewer.bin' (I use nspluginwrapper) will unfreeze the browser
  like nothing happened. You'll get the page -- but without the
  embedded flash, of course. I have only gotten Flash-9 to (mostly)
  work this morning -- thanks to nox' checklist, and have not yet
  been able to investigate, why it hangs on occasion...
  
 
 I don't have flashblock installed, but http://www.mtvmusic.com/ hangs
 firefox 100% of the time.  Strangely enough, under Linux it works just
 fine and I have pretty much the same version of flash and firefox
 installed on both systems.

I can't confirm that - I just disabled flashblock and currently
watching some videos from site you have problems with. Saying more -
I'm clicking on different flash-sites over 1 hour with flashblock
disabled and my FF (3.0.3,1) didn't hang.
I'm using yesterday's build of 7.0-PRERELEASE with latest available
linux-flashplugin9 port.

I also can't confirm that it's not going to crash ;-)
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature