firefox: after update - version 23: can not swap tabs

2013-10-14 Thread O. Hartmann

After the last major update of www/firefox to version 23 firefox
rejects of moving/swapping the tabs. They are static now. I  do not
know whether this has to do with the great pixman update, because
coincidentally I made bot the pixman update and the update of firefox
towards revision 23 slipped in.

My ports system and the ports are kept up to day on a almost
every-two-day basis or at least weekly.

The underlying OS is now FreeBSD 11.0-CURRENT #1 r256384: Sat Oct 12
18:34:38 CEST 2013 amd64.

The question is: is this a kind of miscompilation or has there something
minor changed and I didn't noticed that? User error?

If some has a tip or hint, I'll appreciate it. Please CC me, I do not
subscribe this list.

Regards,
Oliver


signature.asc
Description: PGP signature


Re: firefox: after update - version 23: can not swap tabs

2013-10-14 Thread Matthias Apitz
El día Monday, October 14, 2013 a las 08:54:56AM +0200, O. Hartmann escribió:

 
 After the last major update of www/firefox to version 23 firefox
 rejects of moving/swapping the tabs. They are static now. I  do not
 know whether this has to do with the great pixman update, because
 coincidentally I made bot the pixman update and the update of firefox
 towards revision 23 slipped in.
 
 My ports system and the ports are kept up to day on a almost
 every-two-day basis or at least weekly.

Hello,

I have a 10-CURRENT r255948 from October 1st, with all ports from head
too, rev. r328930.

FF is version 24.0 in the r328930 ports and the tabs can be moved fine
with drag and drop.

HIH

matthias

-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
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: firefox: after update - version 23: can not swap tabs

2013-10-14 Thread O. Hartmann
On Mon, 14 Oct 2013 09:50:48 +0200
Matthias Apitz g...@unixarea.de wrote:

 El día Monday, October 14, 2013 a las 08:54:56AM +0200, O. Hartmann
 escribió:
 
  
  After the last major update of www/firefox to version 23 firefox
  rejects of moving/swapping the tabs. They are static now. I  do not
  know whether this has to do with the great pixman update, because
  coincidentally I made bot the pixman update and the update of
  firefox towards revision 23 slipped in.
  
  My ports system and the ports are kept up to day on a almost
  every-two-day basis or at least weekly.
 
 Hello,
 
 I have a 10-CURRENT r255948 from October 1st, with all ports from head
 too, rev. r328930.
 
 FF is version 24.0 in the r328930 ports and the tabs can be moved fine
 with drag and drop.
 
 HIH
 
   matthias
 

Sorry,

 FF is in my case 24, too:

pkg info firefox
firefox-24.0,1

Have you done updating the ports regarding

20130929 

in /usr/ports/UPDATING? I did on all boxes and on all boxes I did the
tab-stickyness is present.

My ports tree is Revision: 330274,

my OS is as reported above.





signature.asc
Description: PGP signature


Re: firefox: after update - version 23: can not swap tabs

2013-10-14 Thread Matthias Apitz
El día Monday, October 14, 2013 a las 10:23:49AM +0200, O. Hartmann escribió:

  I have a 10-CURRENT r255948 from October 1st, with all ports from head
  too, rev. r328930.
  
  FF is version 24.0 in the r328930 ports and the tabs can be moved fine
  with drag and drop.
  
  HIH
  
  matthias
  
 
 Sorry,
 
  FF is in my case 24, too:
 
 pkg info firefox
 firefox-24.0,1

root@aurora:~ # pkg_info | fgrep firefox
firefox-24.0,1  Web browser based on the browser portion of Mozilla

 Have you done updating the ports regarding
 
 20130929 

No, I did 'svn co ...' for /usr/ports on an empty machine and compiled
all my used ports based on rev r328930.

matthias
-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
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: firefox: after update - version 23: can not swap tabs

2013-10-14 Thread Warren Block

On Mon, 14 Oct 2013, O. Hartmann wrote:


FF is in my case 24, too:

pkg info firefox
firefox-24.0,1

Have you done updating the ports regarding

20130929

in /usr/ports/UPDATING? I did on all boxes and on all boxes I did the
tab-stickyness is present.


Firefox 24 allows tab moves for me on both 9-stable and 10-stable.

The pixman update missed some files for me, resolved by using pkg_libchk 
(from sysutils/bsdadminscripts) to find the ports that needed rebuilding 
and then rebuilding them.

___
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


can we port the cesa driver

2013-09-04 Thread Elluru, Krishna
HI Freebsd team,
can we port the cesa(4) driver for the Marvell crypto engine and security 
accelerator that has been added to FREEBSD 9.1 to FREEBSD 8.1 version? are 
there any issues or challenges w.r.t this? we are looking to port it to FREEBSD 
8.1 kernel version for crypto performance improvement.

Thanks
Krishna Mohan.
___
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


trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set

2013-08-13 Thread O. Hartmann

For the past I ran PostgreSQL 9.2 servers on FreeBSD 10.0-CURRENT
successfully. But by now, out of the blue, login as the database's
supervisor pgsql remotely isn't possible any more.

The appropriate lines in pg_hba.conf are:

local   all  pgsql md5
hostssl all  pgsql 0.0.0.0/0   md5

The funny thing is: when login locally without providing a password
(swap md5 to trust in the local line) and setting the password for
the role pgsql via

ALTER ROLE pgsql ENCRYPTED PASSWORD 'FooMe;

or doing the same via pgadmin3 from remotely by also swapping md5 to
trust in the line hostssl for global network, it seems I could
alter/change the password for the supervisor pgsql. But restoring the
password check by setting back md5 leaves me locked out!

By the way, this strange behaviour occurs on ALL(!) PostgreSQL 9.2
servers running on FreeBSD 10.0-CURRENT boxes.

Ports databases/postgresql-XXX as well as FreeBSD is as of the latest
sources and up to date.

What is going wrong?

Please CC me.

Regards,

Oliver


signature.asc
Description: PGP signature


Re: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set

2013-08-13 Thread Volodymyr Kostyrko

13.08.2013 17:30, O. Hartmann wrote:

For the past I ran PostgreSQL 9.2 servers on FreeBSD 10.0-CURRENT
successfully. But by now, out of the blue, login as the database's
supervisor pgsql remotely isn't possible any more.

The appropriate lines in pg_hba.conf are:

local   all  pgsql md5
hostssl all  pgsql 0.0.0.0/0   md5

The funny thing is: when login locally without providing a password
(swap md5 to trust in the local line) and setting the password for
the role pgsql via

ALTER ROLE pgsql ENCRYPTED PASSWORD 'FooMe;


I guess ENCRYPTED means you are substituting FooMe with md5 hashed 
password correctly salted with role name as postgresql requires?



or doing the same via pgadmin3 from remotely by also swapping md5 to
trust in the line hostssl for global network, it seems I could
alter/change the password for the supervisor pgsql. But restoring the
password check by setting back md5 leaves me locked out!

By the way, this strange behaviour occurs on ALL(!) PostgreSQL 9.2
servers running on FreeBSD 10.0-CURRENT boxes.

Ports databases/postgresql-XXX as well as FreeBSD is as of the latest
sources and up to date.

What is going wrong?



--
Sphinx of black quartz, judge my vow.
___
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: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set

2013-08-13 Thread Volodymyr Kostyrko

13.08.2013 17:30, O. Hartmann wrote:

For the past I ran PostgreSQL 9.2 servers on FreeBSD 10.0-CURRENT
successfully. But by now, out of the blue, login as the database's
supervisor pgsql remotely isn't possible any more.

The appropriate lines in pg_hba.conf are:

local   all  pgsql md5
hostssl all  pgsql 0.0.0.0/0   md5

The funny thing is: when login locally without providing a password
(swap md5 to trust in the local line) and setting the password for
the role pgsql via

ALTER ROLE pgsql ENCRYPTED PASSWORD 'FooMe;


I guess ENCRYPTED means you are substituting FooMe with md5 hashed
password correctly salted with role name as postgresql requires?


Silly me, that's wrong. ENCRYPTED only means that password will be 
stored encrypted on the disk. There's a side note about using ENCRYPTED 
password with postgres in the docs though:


Note that older clients might lack support for the MD5 authentication 
mechanism that is needed to work with passwords that are stored encrypted.


--
Sphinx of black quartz, judge my vow.
___
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: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set

2013-08-13 Thread O. Hartmann
On Tue, 13 Aug 2013 17:55:06 +0300
Volodymyr Kostyrko c.kw...@gmail.com wrote:

  13.08.2013 17:30, O. Hartmann wrote:
  For the past I ran PostgreSQL 9.2 servers on FreeBSD 10.0-CURRENT
  successfully. But by now, out of the blue, login as the database's
  supervisor pgsql remotely isn't possible any more.
 
  The appropriate lines in pg_hba.conf are:
 
  local   all  pgsql md5
  hostssl all  pgsql 0.0.0.0/0   md5
 
  The funny thing is: when login locally without providing a password
  (swap md5 to trust in the local line) and setting the password
  for the role pgsql via
 
  ALTER ROLE pgsql ENCRYPTED PASSWORD 'FooMe;
 
  I guess ENCRYPTED means you are substituting FooMe with md5 hashed
  password correctly salted with role name as postgresql requires?
 
 Silly me, that's wrong. ENCRYPTED only means that password will be 
 stored encrypted on the disk. There's a side note about using
 ENCRYPTED password with postgres in the docs though:
 
 Note that older clients might lack support for the MD5
 authentication mechanism that is needed to work with passwords that
 are stored encrypted.
 

Well, even if not ENCRYPTED it doesn't work anymore and prior to this
failure, the passwords were stored md5 hashed via pgadmin3 all the time
- and it worked.

I made now another test. On a FreeBSD 9.2 box which is also running
PostgreSQL 9.2 and to which I have access the way that is now rejected
by the others, I did a login as the supervisor (pgsql) successfully and
then set the password for that supervisor again with

alter role pgsql with encrypted password 'FooMe';

(FooMe was the passowrd used before on the same system, it worked
definitely) and - booom - I can not login anymore onto that machine!
Something is definitely wrong.

I have no idea what is wrong here.


signature.asc
Description: PGP signature


Re: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set

2013-08-13 Thread Terje Elde
On 13. aug. 2013, at 16:30, O. Hartmann ohart...@zedat.fu-berlin.de wrote:
 What is going wrong?

Are you unable to connect, or do you get an error message? If you do, what is 
it?

Terje
___
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: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set

2013-08-13 Thread O. Hartmann
On Tue, 13 Aug 2013 18:22:33 +0200
Terje Elde te...@elde.net wrote:

 On 13. aug. 2013, at 16:30, O. Hartmann
 ohart...@zedat.fu-berlin.de wrote:
  What is going wrong?
 
 Are you unable to connect, or do you get an error message? If you do,
 what is it?
 
 Terje

I always get this message:

psql postgres pgsql
Password for user pgsql: XX
psql: FATAL:  password authentication failed for user pgsql


signature.asc
Description: PGP signature


How can I remove one interface from lagg, without destroying all lagg?

2013-07-24 Thread Alex Liptsin
Hi.

I have lagg interface created on my server:

[root@h-qa-094 ~]$ ifconfig lagg0
lagg0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500

options=401bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO
ether 00:02:c9:19:82:80
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
media: Ethernet autoselect
status: active
laggproto failover lagghash l2,l3,l4
laggport: igb1 flags=0
laggport: mlxen1 flags=0
laggport: mlxen0 flags=5MASTER,ACTIVE

Now, I want to removr igb1 interface from that lag.
How can I do it?




Regards,
Alex Liptsin
Software Quality Assurance Engineer | Mellanox Technologies Ltd.
Office: +972 (74) 7236141
Mobile: +972(54) 7833986
Fax: +972(74) 7236161
Email: al...@mellanox.commailto:al...@mellanox.com
Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Israel

___
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: How can I remove one interface from lagg, without destroying all lagg?

2013-07-24 Thread Jason Hellenthal
Use -laggport portN

-- 
 Jason Hellenthal
 Inbox: jhellent...@dataix.net
 Voice: +1 (616) 953-0176
 JJH48-ARIN


On Jul 24, 2013, at 5:14, Alex Liptsin al...@mellanox.com wrote:

 Hi.
 
 I have lagg interface created on my server:
 
 [root@h-qa-094 ~]$ ifconfig lagg0
 lagg0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500

 options=401bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO
ether 00:02:c9:19:82:80
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
media: Ethernet autoselect
status: active
laggproto failover lagghash l2,l3,l4
laggport: igb1 flags=0
laggport: mlxen1 flags=0
laggport: mlxen0 flags=5MASTER,ACTIVE
 
 Now, I want to removr igb1 interface from that lag.
 How can I do it?
 
 
 
 
 Regards,
 Alex Liptsin
 Software Quality Assurance Engineer | Mellanox Technologies Ltd.
 Office: +972 (74) 7236141
 Mobile: +972(54) 7833986
 Fax: +972(74) 7236161
 Email: al...@mellanox.commailto:al...@mellanox.com
 Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Israel
 
 ___
 freebsd-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


smime.p7s
Description: S/MIME cryptographic signature


Re: How can I remove one interface from lagg, without destroying all lagg?

2013-07-24 Thread Maciej Milewski

On 24.07.2013 11:14, Alex Liptsin wrote:

Hi.

I have lagg interface created on my server:

[root@h-qa-094 ~]$ ifconfig lagg0
lagg0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
 
options=401bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO
 ether 00:02:c9:19:82:80
 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
 media: Ethernet autoselect
 status: active
 laggproto failover lagghash l2,l3,l4
 laggport: igb1 flags=0
 laggport: mlxen1 flags=0
 laggport: mlxen0 flags=5MASTER,ACTIVE

Now, I want to removr igb1 interface from that lag.
How can I do it?

man lagg:
Child interfaces can be added using the laggport
 child-iface option and removed using the -laggport child-iface option.

so
|ifconfig lagg0 -laggport /igb1/|

should be working.


Regards,
Alex Liptsin
Software Quality Assurance Engineer | Mellanox Technologies Ltd.
Office: +972 (74) 7236141
Mobile: +972(54) 7833986
Fax: +972(74) 7236161
Email: al...@mellanox.commailto:al...@mellanox.com
Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Israel

___
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



--
Pozdrawiam,
Maciej Milewski

___
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


How can I install dialog4ports in my qjail3 environment?

2013-06-15 Thread Masayoshi Fujimoto
Hi,
How can I install dialog4ports in my qjail3 environment?
I will be grateful for any help you can provide.


root # cd /usr/ports/sysutils/qjail
root # qjail create -n em0 webserver 192.168.0.50
root # pkg_info | grep qjail
qjail-3.0   Utility to quickly deploy and manage jails


webserver /usr/ports/ports-mgmt/dialog4ports make install clean
= dialog4ports-0.1.4.tar.gz doesn't seem to exist in /var/ports/distfiles/.
= Attempting to fetch http://m1cro.tk/dialog4ports/dialog4ports-0.1.4.tar.gz
dialog4ports-0.1.4.tar.gz 100% of    9 kB   61 kBps
=== Fetching all distfiles required by dialog4ports-0.1.4 for building
===  Extracting for dialog4ports-0.1.4
= SHA256 Checksum OK for dialog4ports-0.1.4.tar.gz.
===  Patching for dialog4ports-0.1.4
===  Configuring for dialog4ports-0.1.4
===  Building for dialog4ports-0.1.4
/dev/null, line 1: Need an operator
make: fatal errors encountered -- cannot continue
*** [do-build] Error code 1

Stop in /usr/ports/ports-mgmt/dialog4ports.

___
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: I'm having big problems with Broadcom NIC (gbe0) on HP ProLiant DL380p 128GB Ram, NIC model HP Ethernet 1Gb 4-port 331FLR, after installed it cannot use a ping command, sometime it can do that but

2013-06-11 Thread Jason Birch
On Tue, Jun 11, 2013 at 8:08 PM, Surat Sodchuen carbopol...@gmail.comwrote:

 thank for your kindness
 i tired that your suggestion but cannot resolve problem.
 for more information ...
 FreeBSD 9.1-Release on HP ProLiant DL380p Gen8 128GB of Ram
 every time when booting process it seem freezing about 15 seconds

 dmesg look like this
 .
 .
 .
 ACPI Warning: invalid length for Pm1aControlBlock: 32, using default 16
 (20110527/tbfadt-638)
 ACPI Warning: invalid length for Pm1aControlBlock: 32, using default 16
 (20110527/tbfadt-638)
 .
 .
 .
 pci0:3:0:0: failed to read VPD data.
 bge0: Broadcom unknown BCM5719, ASIC rev. 0x5719001 mem
 0xfabf-0xfabf,
 .
 .
 .
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 -

 when i use a ping command it seem freezing, then after press Enter it show
 -- bge0 watchdog timeout -- resetting
 i think what happen!!! i use FreeBSD on every 4 of DL380 Gen5, but they
 are OK.

 on screen now .. showing message
 bge0: 2 link states coalesced
 bge0: 2 link states coalesced
 bge0: 2 link states coalesced
 bge0: 2 link states coalesced
 bge0: 2 link states coalesced
 bge0: 2 link states coalesced
 bge0: 2 link states coalesced


Forwarding to mailing list to keep it in the loop.

It looks like others have run into this issue, and there is an associated
bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=171121

That link contains an explanation of why my suggestion did not help, and a
suggestion to check the firmware of the controllers.. It also looks like
there's a later version of the bge driver by Pyun YongHyeon that didn't
make it into 9.1-RELEASE that might resolve your issue, were you to compile
it yourself.

Regards,
JB
___
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


I'm having big problems with Broadcom NIC (gbe0) on HP ProLiant DL380p 128GB Ram, NIC model HP Ethernet 1Gb 4-port 331FLR, after installed it cannot use a ping command, sometime it can do that but sho

2013-06-06 Thread Surat Sodchuen
Surat Sodchuen
___
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: I'm having big problems with Broadcom NIC (gbe0) on HP ProLiant DL380p 128GB Ram, NIC model HP Ethernet 1Gb 4-port 331FLR, after installed it cannot use a ping command, sometime it can do that but

2013-06-06 Thread Jason Birch
Please include your question as email content, not subject.

http://serverfault.com/questions/361673/hp-nc107i-bcm5723-on-freebsd-9
Indicates
you may be able to set

hw.bge.allow_asf=0

in /boot/loader.conf. Try this, and if the problem persists, please reply
with more information (FreeBSD version, etc).
___
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


Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Tim Daneliuk

I am seeing login dictionary attacks on a FreeBSD mail server being
reported.  Is there a way to determine the IPs that are doing this
so they can be blocked at the firewall?   auth.log only
notes the attempted user name, not the IP of origin.
--
---
Tim Daneliuk
___
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: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Waitman Gobble
On Jun 4, 2013 9:00 AM, Tim Daneliuk tun...@tundraware.com wrote:

 I am seeing login dictionary attacks on a FreeBSD mail server being
 reported.  Is there a way to determine the IPs that are doing this
 so they can be blocked at the firewall?   auth.log only
 notes the attempted user name, not the IP of origin.
 --
 ---
 Tim Daneliuk
 ___
 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

On Jun 4, 2013 9:00 AM, Tim Daneliuk tun...@tundraware.com wrote:

 I am seeing login dictionary attacks on a FreeBSD mail server being
 reported.  Is there a way to determine the IPs that are doing this
 so they can be blocked at the firewall?   auth.log only
 notes the attempted user name, not the IP of origin.
 --
 ---
 Tim Daneliuk
 ___
 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

one idea is to run auth on a different service / machine on a non-standard
port, that at least cuts down the noise from non-targetted scans.

Waitman Gobble
San Jose California USA
___
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: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Mark Felder
On Tue, 04 Jun 2013 10:47:16 -0500, Tim Daneliuk tun...@tundraware.com  
wrote:



I am seeing login dictionary attacks on a FreeBSD mail server being
reported.  Is there a way to determine the IPs that are doing this
so they can be blocked at the firewall?   auth.log only
notes the attempted user name, not the IP of origin.


I don't use sendmail, but aren't the login attempts at least logged in  
maillog as well? If so, you could use fail2ban to ban them. We do this  
with postfix/exim/dovecot/etc.

___
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: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Doug Hardie

On 4 June 2013, at 08:47, Tim Daneliuk tun...@tundraware.com wrote:

 I am seeing login dictionary attacks on a FreeBSD mail server being
 reported.  Is there a way to determine the IPs that are doing this
 so they can be blocked at the firewall?   auth.log only
 notes the attempted user name, not the IP of origin.
 -- 
 

I wrote some code to find the appropriate maillog entries which do include the 
IP addresses.  It automagically adds the IP addresses to the pf blackhole table 
if certain criteria is met.  The criteria is changeable.  If you would like a 
copy, let me know.  
___
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: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Tim Daneliuk

On 06/04/2013 04:51 PM, Doug Hardie wrote:


On 4 June 2013, at 08:47, Tim Daneliuk tun...@tundraware.com wrote:


I am seeing login dictionary attacks on a FreeBSD mail server being
reported.  Is there a way to determine the IPs that are doing this
so they can be blocked at the firewall?   auth.log only
notes the attempted user name, not the IP of origin.
--



I wrote some code to find the appropriate maillog entries which do include the 
IP addresses.  It automagically adds the IP addresses to the pf blackhole table 
if certain criteria is met.  The criteria is changeable.  If you would like a 
copy, let me know.



Yes, I'd love a look at that, thanks.

--

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

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


Re: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Chris Hill

On Tue, 4 Jun 2013, Doug Hardie wrote:


On 4 June 2013, at 08:47, Tim Daneliuk tun...@tundraware.com wrote:


I am seeing login dictionary attacks on a FreeBSD mail server being
reported.  Is there a way to determine the IPs that are doing this
so they can be blocked at the firewall?   auth.log only
notes the attempted user name, not the IP of origin.
--



I wrote some code to find the appropriate maillog entries which do 
include the IP addresses.  It automagically adds the IP addresses to 
the pf blackhole table if certain criteria is met.  The criteria is 
changeable.  If you would like a copy, let me know.


That sounds incredibly useful. Can you post it somewhere?


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
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: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Warren Block

On Tue, 4 Jun 2013, Tim Daneliuk wrote:


On 06/04/2013 04:51 PM, Doug Hardie wrote:


On 4 June 2013, at 08:47, Tim Daneliuk tun...@tundraware.com wrote:


I am seeing login dictionary attacks on a FreeBSD mail server being
reported.  Is there a way to determine the IPs that are doing this
so they can be blocked at the firewall?   auth.log only
notes the attempted user name, not the IP of origin.
--



I wrote some code to find the appropriate maillog entries which do include 
the IP addresses.  It automagically adds the IP addresses to the pf 
blackhole table if certain criteria is met.  The criteria is changeable. 
If you would like a copy, let me know.




Yes, I'd love a look at that, thanks.


sshguard is supposed to be capable of analyzing log files beyond just 
ssh.

___
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


How can I unload/load modules that complied inside the kernel?

2013-05-29 Thread Alex Liptsin
Hello.

I am using FreeBSD9.1

[root@h-qa-033 ~]# uname -a
FreeBSD h-qa-033 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue May 28 11:26:45 IDT 
2013 root@h-qa-033:/usr/obj/lab/odeds/freebsd/9.1.0/sys/MYKERNEL  amd64

OFED and IB support are compiled in kernel.


1.  How can I unload/load modules that complied inside the kernel?


[root@h-qa-033 ~]# kldstat -v | grep mlx4 -B 5
Id Refs AddressSize Name
1   10 0x8020 13dcbf8  kernel (/boot/kernel/kernel)
Contains modules:
Id Name
420 mlxen
418 mlx4ib
419 mlx4

I want to unload/load mlx4ib.


2.  Is there any way to take it out of kernel and load manually?

Like if_lagg for example:

[root@h-qa-033 ~]# kldstat
Id Refs AddressSize Name
1   10 0x8020 13dcbf8  kernel
31 0x81812000 2197 if_mos.ko
41 0x81815000 690a if_lagg.ko

Thanks a lot.
Alex.

___
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: How can I unload/load modules that complied inside the kernel?

2013-05-29 Thread Olivier Nicole
 [root@h-qa-033 ~]# uname -a
 FreeBSD h-qa-033 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue May 28 11:26:45 IDT 
 2013 root@h-qa-033:/usr/obj/lab/odeds/freebsd/9.1.0/sys/MYKERNEL  amd64
 
 OFED and IB support are compiled in kernel.
 
 
 1.  How can I unload/load modules that complied inside the kernel?

kldload and kldunload should be what you are looking for.

Olivier 
___
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: How can I unload/load modules that complied inside the kernel?

2013-05-29 Thread Julian H. Stacey
Hi, Reference:
 From: Olivier Nicole olivier.nic...@cs.ait.ac.th 
 Date: Wed, 29 May 2013 17:54:59 +0700 (ICT) 

Olivier Nicole wrote:
  [root@h-qa-033 ~]# uname -a
  FreeBSD h-qa-033 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue May 28 11:26:45 
  IDT 2013 root@h-qa-033:/usr/obj/lab/odeds/freebsd/9.1.0/sys/MYKERNEL  
  amd64
  
  OFED and IB support are compiled in kernel.
  
  
  1.  How can I unload/load modules that complied inside the kernel?
 
 kldload and kldunload should be what you are looking for.

[Unless things have got more flexible] I dont believe you can
unload/load modules that complied inside the kernel.  I think you
need to compile a new kernel without the modules you want to toggle
on  off, Then you can use kldload and kldunload.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with  .
 Send plain text.  No quoted-printable, HTML, base64, multipart/alternative.
___
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: Can I avoid the display of pkg-messages in portmaster?

2013-05-12 Thread CyberLeo Kitsana
On 05/12/2013 12:37 AM, Leslie Jensen wrote:
 
 
 I do some work on remote machines and sometimes I have a need to execute
 additional commands after for example a portmaster -a command.
 
 Normally I use the  to separate commands but this does not work when
 portmaster displays pkg-messages.
 
 I cannot see in the portmaster manpage that there's a possibility to
 make the choice on displaying pkg-messages.
 
 Maybe a suggestion to further enhance portmaster in the future.
 
 To work around this I was thinking of maybe making a script that ran
 
 portmaster -a then a command to press space until one is sure that all
 messages has been displayed.
 
 On this I could need some help. My scripting skills are not that good.

To avoid interaction when scripting or logging portmaster, in addition
to the --no-confirm option, I usually set the following environment
variables prior to invocation:

BATCH=yes
PAGER=cat

The former should avoid any build-time port interaction (and mark the
port BROKEN if it must, so I can deal with it manually); the latter
causes portmaster to use 'cat' instead of 'more' to display the
pkg-messages afterwards.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://www.fur.com/peace/
___
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


Can I avoid the display of pkg-messages in portmaster?

2013-05-11 Thread Leslie Jensen



I do some work on remote machines and sometimes I have a need to execute 
additional commands after for example a portmaster -a command.


Normally I use the  to separate commands but this does not work when 
portmaster displays pkg-messages.


I cannot see in the portmaster manpage that there's a possibility to 
make the choice on displaying pkg-messages.


Maybe a suggestion to further enhance portmaster in the future.

To work around this I was thinking of maybe making a script that ran

portmaster -a then a command to press space until one is sure that all 
messages has been displayed.


On this I could need some help. My scripting skills are not that good.

Thanks

/Leslie

___
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


How can I commit to FreeBSD current (10.0)

2013-04-15 Thread Oded Shanoon
Hi,

I am working in a company called Mellanox.
We would like to commit a driver code into the FreeBSD kernel.
I have a few obvious questions regarding this issue:
What is the process?
Do I need a committer?
How can I get a committer to review and push my code?
When is the final date to commit code to FreeBSD 10.0?

I would appreciate any help or guidance...

Regards,

Oded Shanoon
Ofed-FreeBSD team
Mellanox Technologies, Raanana

___
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: How can I commit to FreeBSD current (10.0)

2013-04-15 Thread paranormal
https://wiki.freebsd.org/BecomingACommitter

On Mon, 2013-04-15 at 08:00 +, Oded Shanoon wrote:
 Hi,
 
 I am working in a company called Mellanox.
 We would like to commit a driver code into the FreeBSD kernel.
 I have a few obvious questions regarding this issue:
 What is the process?
 Do I need a committer?
 How can I get a committer to review and push my code?
 When is the final date to commit code to FreeBSD 10.0?
 
 I would appreciate any help or guidance...
 
 Regards,
 
 Oded Shanoon
 Ofed-FreeBSD team
 Mellanox Technologies, Raanana
 
 ___
 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



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


Re: How can I commit to FreeBSD current (10.0)

2013-04-15 Thread Tijl Coosemans
On 2013-04-15 10:00, Oded Shanoon wrote:
 Hi,
 
 I am working in a company called Mellanox.
 We would like to commit a driver code into the FreeBSD kernel.
 I have a few obvious questions regarding this issue:
 What is the process?
 Do I need a committer?
 How can I get a committer to review and push my code?
 When is the final date to commit code to FreeBSD 10.0?
 
 I would appreciate any help or guidance...
 
 Regards,
 
 Oded Shanoon
 Ofed-FreeBSD team
 Mellanox Technologies, Raanana

Get in touch with vendor-relati...@freebsd.org



signature.asc
Description: OpenPGP digital signature


can not use intel GPU, no /dev/dri/card0

2013-03-24 Thread uki
Hi,

I'm getting the folowing error when I try to start X using intel drivers:

[  8669.844] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[  8669.844] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  8669.844] drmOpenDevice: node name is /dev/dri/card0
[  8669.844] Failed to change owner or group for file /dev/dri! 2: No
such file or directory
[  8669.844] Failed to change owner or group for file /dev/dri/card0!
2: No such file or directory
[  8669.844] drmOpenDevice: open result is -1, (No such file or directory)
[  8669.844] Failed to change owner or group for file /dev/dri/card0!
2: No such file or directory
[  8669.844] drmOpenDevice: open result is -1, (No such file or directory)
[  8669.844] drmOpenDevice: Open failed

I assume I overlooked something while configuring the system (I dual
boot stable and release, this is on stable, release works fine).
Please help.

my make.conf has:
WITH_NEW_XORG=YES
WITH_KMS=YES

my kernconf:
device  agp
device  dpms
options X86BIOS

device  drm
device  i915drm
device  radeondrm



Cheers,
Łukasz Gruner
___
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: can not use intel GPU, no /dev/dri/card0

2013-03-24 Thread Erich Dollansky
Hi,

On Sun, 24 Mar 2013 14:14:28 +
uki uka...@gmail.com wrote:

 Hi,
 
 I'm getting the folowing error when I try to start X using intel
 drivers:
 
 [  8669.844] (II)
 Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so [  8669.844]
 (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
 [  8669.844] drmOpenDevice: node name is /dev/dri/card0 [  8669.844]
 Failed to change owner or group for file /dev/dri! 2: No such file or
 directory [  8669.844] Failed to change owner or group for
 file /dev/dri/card0! 2: No such file or directory
 [  8669.844] drmOpenDevice: open result is -1, (No such file or
 directory) [  8669.844] Failed to change owner or group for
 file /dev/dri/card0! 2: No such file or directory
 [  8669.844] drmOpenDevice: open result is -1, (No such file or
 directory) [  8669.844] drmOpenDevice: Open failed
 
 I assume I overlooked something while configuring the system (I dual
 boot stable and release, this is on stable, release works fine).
 Please help.
 
 my make.conf has:
 WITH_NEW_XORG=YES
 WITH_KMS=YES
 
 my kernconf:
 device  agp
 device  dpms
 options X86BIOS
 
 device  drm
 device  i915drm
 device  radeondrm
 
you should not need the last line. Delete it and see what happens.

Erich
___
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: can not use intel GPU, no /dev/dri/card0

2013-03-24 Thread uki
That was not it (tried), the reason was my kernconf was wrong (didn't
yet figure out the details), because the GENERIC works flawlessly.

Cheers,
Łukasz Gruner


2013/3/24 Erich Dollansky erichsfreebsdl...@alogt.com:
 Hi,

 On Sun, 24 Mar 2013 14:14:28 +
 uki uka...@gmail.com wrote:

 Hi,

 I'm getting the folowing error when I try to start X using intel
 drivers:

 [  8669.844] (II)
 Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so [  8669.844]
 (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
 [  8669.844] drmOpenDevice: node name is /dev/dri/card0 [  8669.844]
 Failed to change owner or group for file /dev/dri! 2: No such file or
 directory [  8669.844] Failed to change owner or group for
 file /dev/dri/card0! 2: No such file or directory
 [  8669.844] drmOpenDevice: open result is -1, (No such file or
 directory) [  8669.844] Failed to change owner or group for
 file /dev/dri/card0! 2: No such file or directory
 [  8669.844] drmOpenDevice: open result is -1, (No such file or
 directory) [  8669.844] drmOpenDevice: Open failed

 I assume I overlooked something while configuring the system (I dual
 boot stable and release, this is on stable, release works fine).
 Please help.

 my make.conf has:
 WITH_NEW_XORG=YES
 WITH_KMS=YES

 my kernconf:
 device  agp
 device  dpms
 options X86BIOS

 device  drm
 device  i915drm
 device  radeondrm

 you should not need the last line. Delete it and see what happens.

 Erich
___
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: can not use intel GPU, no /dev/dri/card0

2013-03-24 Thread Erich Dollansky
Hi,

On Sun, 24 Mar 2013 17:30:48 +
uki uka...@gmail.com wrote:

 That was not it (tried), the reason was my kernconf was wrong (didn't
 yet figure out the details), because the GENERIC works flawlessly.

I have an i7 and use no drm in the kernel. Just load the modules when
you need them.

Erich
 
 Cheers,
 Łukasz Gruner
 
 
 2013/3/24 Erich Dollansky erichsfreebsdl...@alogt.com:
  Hi,
 
  On Sun, 24 Mar 2013 14:14:28 +
  uki uka...@gmail.com wrote:
 
  Hi,
 
  I'm getting the folowing error when I try to start X using intel
  drivers:
 
  [  8669.844] (II)
  Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
  [  8669.844] (WW) VGA arbiter: cannot open kernel arbiter, no
  multi-card support [  8669.844] drmOpenDevice: node name
  is /dev/dri/card0 [  8669.844] Failed to change owner or group for
  file /dev/dri! 2: No such file or directory [  8669.844] Failed to
  change owner or group for file /dev/dri/card0! 2: No such file or
  directory [  8669.844] drmOpenDevice: open result is -1, (No such
  file or directory) [  8669.844] Failed to change owner or group for
  file /dev/dri/card0! 2: No such file or directory
  [  8669.844] drmOpenDevice: open result is -1, (No such file or
  directory) [  8669.844] drmOpenDevice: Open failed
 
  I assume I overlooked something while configuring the system (I
  dual boot stable and release, this is on stable, release works
  fine). Please help.
 
  my make.conf has:
  WITH_NEW_XORG=YES
  WITH_KMS=YES
 
  my kernconf:
  device  agp
  device  dpms
  options X86BIOS
 
  device  drm
  device  i915drm
  device  radeondrm
 
  you should not need the last line. Delete it and see what happens.
 
  Erich
 ___
 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
___
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: Can an ISO file be mounted from /etc/fstab at boot?

2013-03-18 Thread Ruben de Groot
On Fri, Mar 15, 2013 at 04:04:23PM -0400, Lowell Gilbert typed:
 Oscar Hodgson oscar.hodg...@gmail.com writes:
 
  I'm pretty sure the answer is no, just write a local rc script to do
  that, but thought I'd check.
 
  Can't see any hint of that capability in the handbook or fstab(5).
 
  Really just looking for a single point of management for file systems 
 
 I don't see a way offhand. You need to do the mdconfig before you can
 mount, and I don't think that can be done inside of fstab. 
 
 I think that adding such a capability to mount(8) as a program option
 would be a fairly minor hack.

If it was a standard (UFS) filesystem image (not ISO9600) it would be possible 
to mount from fstab with something like this:

/dev/md0 /data/mfs mfs rw,-PF/path/to/some.img,async 0 0

Ruben

___
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


Can an ISO file be mounted from /etc/fstab at boot?

2013-03-15 Thread Oscar Hodgson
I'm pretty sure the answer is no, just write a local rc script to do
that, but thought I'd check.

Can't see any hint of that capability in the handbook or fstab(5).

Really just looking for a single point of management for file systems 

Thanks in advance.

Oscar
___
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: Can an ISO file be mounted from /etc/fstab at boot?

2013-03-15 Thread Lowell Gilbert
Oscar Hodgson oscar.hodg...@gmail.com writes:

 I'm pretty sure the answer is no, just write a local rc script to do
 that, but thought I'd check.

 Can't see any hint of that capability in the handbook or fstab(5).

 Really just looking for a single point of management for file systems 

I don't see a way offhand. You need to do the mdconfig before you can
mount, and I don't think that can be done inside of fstab. 

I think that adding such a capability to mount(8) as a program option
would be a fairly minor hack.
___
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


Can anyone direct me to some information about what WITHOUT_PROFILE=YES actually means.

2013-02-04 Thread dweimer


I have ran into a recent issue, after a lot of trouble shooting I have 
narrowed it down to something in my /etc/src.conf


the full file just has:
WITHOUT_BIND=YES
WITHOUT_NTP=YES
WITHOUT_FLOPPY=YES
WITHOUT_FREEBSD_UPDATE=YES
WITHOUT_PROFILE=YES

Of course bind and ntp are added in by ports after the system is built, 
everything compiles, I have a very specific issue with one thing not 
working on an installed port, with no apparent error.  To make a long 
story short though one of my build attempts, I forgot to copy the 
/etc/src.conf file to the new system.  And well the problem was gone, 
when I discovered that's what I did differently, I commented out all 
lines on a different system rebuilt and installed, sure enough it 
worked.  Looking at the src.conf options that I was using, I can't see 
how any option other than the WITHOUT_PROFILE could possibly be causing 
the problem.  Though I am in the process of building systems with 
different options removed in an attempt to find out for sure.


The WITHOUT_PROFILE was added from a help document I read some time ago 
about upgrading from source, and hasn't caused any problems before now.  
I know it instructs the build process to avoid compiling profiled 
libraries.  But my searching hasn't been able to lead me to what the 
difference is between a profiled and non-profiled library is.


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
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: Can anyone direct me to some information about what WITHOUT_PROFILE=YES actually means.

2013-02-04 Thread Michael Powell
dweimer wrote:

 
 I have ran into a recent issue, after a lot of trouble shooting I have
 narrowed it down to something in my /etc/src.conf
 
 the full file just has:
 WITHOUT_BIND=YES
 WITHOUT_NTP=YES
 WITHOUT_FLOPPY=YES
 WITHOUT_FREEBSD_UPDATE=YES
 WITHOUT_PROFILE=YES
 
 Of course bind and ntp are added in by ports after the system is built,
 everything compiles, I have a very specific issue with one thing not
 working on an installed port, with no apparent error.  To make a long
 story short though one of my build attempts, I forgot to copy the
 /etc/src.conf file to the new system.  And well the problem was gone,
 when I discovered that's what I did differently, I commented out all
 lines on a different system rebuilt and installed, sure enough it
 worked.  Looking at the src.conf options that I was using, I can't see
 how any option other than the WITHOUT_PROFILE could possibly be causing
 the problem.  Though I am in the process of building systems with
 different options removed in an attempt to find out for sure.
 
 The WITHOUT_PROFILE was added from a help document I read some time ago
 about upgrading from source, and hasn't caused any problems before now.
 I know it instructs the build process to avoid compiling profiled
 libraries.  But my searching hasn't been able to lead me to what the
 difference is between a profiled and non-profiled library is.
 

I'm not a code hacker, so take with pinch of salt. In the man page for 
src.conf it declares that variable values would be ignored, and of course I 
missed that. While I have WITHOUT_PROFILE= true in my src.conf, the correct 
use is simply WITHOUT_PROFILE by itself. Since I have never experienced any 
form of difficulty perhaps the difference here is the quotation marks. Maybe 
something is malfunctioning from the .  See if removing these helps?

Also, from what I understand what's in src.conf should only apply to 
building the system, e.g code located under /usr/src. I've always taken this 
to mean it should not apply to building anything in ports. 

My limited understanding is that when you build profiled code you are 
inserting a little extra debug code which is utilized to measure the time 
spent within internal structures, such as functions and other sub-routines. 
Not that I even know how such info would get extracted at runtime, 
programmers use this to look for areas within their code that hog resources 
time-wise and zero in on those to concentrate on makeing more 
efficient/faster.

-Mike


___
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: Can anyone direct me to some information about what WITHOUT_PROFILE=YES actually means.

2013-02-04 Thread dweimer

On 02/04/2013 3:25 pm, Michael Powell wrote:

dweimer wrote:



I have ran into a recent issue, after a lot of trouble shooting I 
have

narrowed it down to something in my /etc/src.conf

the full file just has:
WITHOUT_BIND=YES
WITHOUT_NTP=YES
WITHOUT_FLOPPY=YES
WITHOUT_FREEBSD_UPDATE=YES
WITHOUT_PROFILE=YES

Of course bind and ntp are added in by ports after the system is 
built,

everything compiles, I have a very specific issue with one thing not
working on an installed port, with no apparent error.  To make a long
story short though one of my build attempts, I forgot to copy the
/etc/src.conf file to the new system.  And well the problem was gone,
when I discovered that's what I did differently, I commented out all
lines on a different system rebuilt and installed, sure enough it
worked.  Looking at the src.conf options that I was using, I can't 
see
how any option other than the WITHOUT_PROFILE could possibly be 
causing

the problem.  Though I am in the process of building systems with
different options removed in an attempt to find out for sure.

The WITHOUT_PROFILE was added from a help document I read some time 
ago
about upgrading from source, and hasn't caused any problems before 
now.

I know it instructs the build process to avoid compiling profiled
libraries.  But my searching hasn't been able to lead me to what the
difference is between a profiled and non-profiled library is.



I'm not a code hacker, so take with pinch of salt. In the man page for
src.conf it declares that variable values would be ignored, and of 
course I
missed that. While I have WITHOUT_PROFILE= true in my src.conf, the 
correct
use is simply WITHOUT_PROFILE by itself. Since I have never 
experienced any
form of difficulty perhaps the difference here is the quotation marks. 
Maybe

something is malfunctioning from the .  See if removing these helps?

Also, from what I understand what's in src.conf should only apply to
building the system, e.g code located under /usr/src. I've always 
taken this

to mean it should not apply to building anything in ports.

My limited understanding is that when you build profiled code you are
inserting a little extra debug code which is utilized to measure the 
time
spent within internal structures, such as functions and other 
sub-routines.

Not that I even know how such info would get extracted at runtime,
programmers use this to look for areas within their code that hog 
resources

time-wise and zero in on those to concentrate on makeing more
efficient/faster.

-Mike



if I remember right, from information about src.conf, I believe that

WITHOUT_PROFILE
WITHOUT_PROFILE=
WITHOUT_PROFILE=true
WITHOUT_PROFILE=YES
...

are all functionally equivalent as it does ignore the rest, though I 
could be wrong and this could be my problem.  I do know for sure that 
the WIHTOUT_BIND, WITHOUT_NTP, are working correctly as they are gone 
form the system, prior to me installing the versions from ports after 
the build/install world.


Yes this does apply only to system. With the above options buildworld / 
buildkernel / install kernel / install world/ mergemaster / reinstall 
all ports, I have my problem.  Remove all options, repeat no problem.  
Remove just WITHOUT_PROFILE repeat again, problem is back.  So I was 
wrong as to that line being the cause, at least by itself.


I did a lot of initial testing with port option changes, and changes to 
make.conf on my system, thought maybe it was clang, etc.  Didn't get 
anywhere, the system is running on a ZFS boot partition, and as a last 
effort I tried on UFS.  It worked, but I also realized I forgot the 
src.conf settings.  I copied my ZFS systems boot environment and rebuilt 
without src.conf, it now works as well.


Currently doing a fresh install on ZFS to build from ground up with the 
same process used originally, except without the src.conf and confirm I 
can repeat its success.  Then I can do some more testing with adding 
options back into the src.conf to try and narrow down which of those 
options is causing the problem.  If I can figure out which one, or 
combination of them is the cause, then I will hopefully have something 
that can lead to someone with more knowledge than I have being able to 
discover why its having the problem.


The port doesn't fail to compile it installs fine, and 99.5% of it runs 
perfect, just one little thing that I need to work hangs up for about 5 
minutes, before timing out, but doesn't log an error, even with insanely 
verbose debugging, it acts as if it completed but it didn't.


I posted another message about the specific problem several days ago, 
before I had it figured out to be caused somehow by something in the 
src.conf file.  I am trying to run Squid (version 3.2.6 is the current 
port) in reverse proxy, the problem is only when doing a post via HTTPS 
above a certain size, somewhere between 2k and 3.2k is where it begins.


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net

plink can not work with serial port

2012-12-29 Thread saeedeh motlagh
hello guys

i have a problem with putty and plink. i want to connect to a modem via
serial port by putty. when i run the below command, every thing is ok and
modem responds me.

putty -v -serial -sercfg 8,1,115200,n,R /dev/ttyu2

but when i run the below command modem doesn't respond to me.

plink -v -serial -sercfg 8,1,115200,n,R /dev/ttyu2

i check it by another com port instead of modem. i mean i connect two
freebsd boxes by com port and run above command but nothing happened either.

i have to work with plink beacuse i have no graphic and when i installed
putty without GTK, just plink is installed and there is no putty command.

please let me know what i'm doing wrong. any comments or hints are really
appreciated.
thanks
*Sa.M*
___
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[4]: can not build FreeRadius 2.2.0

2012-12-16 Thread Eugen Konkov
Здравствуйте, Fajar.

Вы писали 16 декабря 2012 г., 14:28:34:

FAN On Sun, Dec 16, 2012 at 3:21 AM, Eugen Konkov kes-...@yandex.ru wrote:

 AD Eugen Konkov wrote:
 Building freeradiusd on
 # uname -a
 FreeBSD aki 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Jun 13 13:46:00 EEST 
 2012 adm@aki:/usr/obj/usr/src/sys/AKI  i386
from /usr/ports/net/freeradius2   (2.2.0 version)
 cause error:
 /usr/bin/ld: attempted static link of dynamic object 
 `/usr/local/lib/libgdbm.so'

 AlanD
 AD   Don't do ./configure --disable-shared

 I do same as on FreeBSD 9:
 cd /usr/ports/net/freeradius2
 make install clean


FAN Are you interested in FIXING your problem, or are you interested in
FAN saying I'm not doing anything wrong, freebsd ports are perfect, so it
FAN must be that your software is broken?

FAN If it's the FIRST one, the configure FR manually (i.e. by NOT using
FAN freebsd ports), and follow Allan's advice:
FAN - if that works, file a bug report to freebsd (or whoever is managing
FAN FR ports) that they messed up the recipe
FAN - If DOESN'T work, paste your configure line as well the make output here.


FAN Now if it's the SECOND one, you better ask in freebsd's list. It's
FAN VERY unlikely that you'd get anymore help here, seeing that you
FAN snubbed the help you already got.

I do not expect you will help me. I just submit a problem report.
In any case thank you very much for your answers. and for the clue/advice.
I will try to build by hand and send PR to freebsd ports also.

-- 
С уважением,
 Eugen  mailto:kes-...@yandex.ru

___
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

Can I migrate from ataraid to graid ?

2012-11-21 Thread Jason Usher
We created a few 8.3-RELEASE systems with boot mirrors using onboard Intel 
ICH10R.  The system picks up the mirror with ataraid and I see it in dmesg 
like this:

ar0: 114312MB DDF RAID1 status: READY

But it seems that graid is a much better option, and ataraid has problems (I am 
seeing chatter on freebsd-fs and other places about problems).

Is it possible for us to migrate this boot mirror to graid ?  Can we just leave 
the mirror as-is (since it was bios formatted) and just start using graid ?

Has anyone done this switch on a live system, or is it impossible (and we need 
to reformat and start over) ?

Thanks.
___
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


9.1-RC2: clang can no longer build a kernel that boots

2012-10-28 Thread Mike Cui
I'm seeing that on 9.1-RC2 (i386), clang can no longer build a kernel
that boots. Any kernel I build would get stuck at Timecounters tick
every 1.000 msec. However, building the same kernel with gcc has no
problems. Also, if I build the kernel with clang from 9.0-RELEASE, it
also works fine. I tried this with both my custom kernel config as
well as GENERIC, and I'm seeing the same thing.

Anyone else seeing this?
___
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: 9.1-RC2: clang can no longer build a kernel that boots

2012-10-28 Thread Mike Cui
Let me clarify. If I build the 9.1-RC2 kernel using the clang binary
from 9.0-RELEASE, it boots fine.

On Sun, Oct 28, 2012 at 9:41 AM, Mike Cui cui...@gmail.com wrote:
 I'm seeing that on 9.1-RC2 (i386), clang can no longer build a kernel
 that boots. Any kernel I build would get stuck at Timecounters tick
 every 1.000 msec. However, building the same kernel with gcc has no
 problems. Also, if I build the kernel with clang from 9.0-RELEASE, it
 also works fine. I tried this with both my custom kernel config as
 well as GENERIC, and I'm seeing the same thing.

 Anyone else seeing this?
___
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: I Can Has Packages?

2012-08-20 Thread Polytropon
On Mon, 20 Aug 2012 06:38:33 +0100, Matthew Seaman wrote:
 I always keep saying the ideal
 situation would be that you could customise and compile just your own
 really mission critical software and freely mix that with installing
 pre-compiled packages of anything else from the public repositories.

To be honest, that's what I'm doing for many years now. I
tend to compile only those ports where it is either required
in order to obtain the software because no suitable package
does exist (e. g. OpenOffice), or because I intendedly want
to have access to compile-time options (e. g. mplayer), which
can also apply when specific optimization is needed in order
to get something into a usable state on older hardware. For
everything else, packages are fine. Mixing those forms (and
maybe assuming that ports can be either handled by the
native make method or one of the port management tools
such as portmaster) is possible. Of course you have to think
first, then do, but I assume it's not needed mentioning. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: I Can Has Packages?

2012-08-20 Thread Jamie Paul Griffin
== Polytropon wrote on Mon 20.Aug'12 at 14:22:45 +0200 ==

 On Mon, 20 Aug 2012 06:38:33 +0100, Matthew Seaman wrote:
  I always keep saying the ideal
  situation would be that you could customise and compile just your own
  really mission critical software and freely mix that with installing
  pre-compiled packages of anything else from the public repositories.
 
 To be honest, that's what I'm doing for many years now. I
 tend to compile only those ports where it is either required
 in order to obtain the software because no suitable package
 does exist (e. g. OpenOffice), or because I intendedly want
 to have access to compile-time options (e. g. mplayer), which
 can also apply when specific optimization is needed in order
 to get something into a usable state on older hardware. For
 everything else, packages are fine. Mixing those forms (and
 maybe assuming that ports can be either handled by the
 native make method or one of the port management tools
 such as portmaster) is possible. Of course you have to think
 first, then do, but I assume it's not needed mentioning. :-)

It's good people have the option to install packages if they so wish. 
Personally, I don't think i've ever used a precompiled package on FreeBSD; I 
much prefer to compile from source, especially when updating my system 
(different topic i know). 
___
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


I Can Has Packages?

2012-08-19 Thread vermaden
HI,

OpenBSD seems to have packages for everything, even
for LAME (audio/lame), why FreeBSD can not provide
package for LAME the same way as OpenBSD does?

Regards,
vermaden
-- 








































...
___
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: I Can Has Packages?

2012-08-19 Thread Polytropon
On Sun, 19 Aug 2012 20:33:49 +0200, vermaden wrote:
 HI,
 
 OpenBSD seems to have packages for everything, even
 for LAME (audio/lame), why FreeBSD can not provide
 package for LAME the same way as OpenBSD does?

j00 CAN haz pakagez. =^_^=

Packages for _everything_ is impossible because of the many
options that may or MAY NOT fit your needs, so things have
to be set at compile time. Just imagine how many different
packages you would have to host for OpenOffice!

In the past, pkg_add -r de-openoffice would have given
you a full-featured german version of OpenOffice, even
including a dictionary. Today, it's not that easy anymore.

There are also ports that draw a massive slew of dependencies.
Some of them are of minor importance, like documentation that
urges you to install LaTeX. If that's the default the package
has been created from, installing it will bring teTeX to your
system too, even if _you_ don't need it.

Also consider programs like mplayer that can have a lot of
codecs. Because it's illegal in the U.S. to listen to MP3,
those may not be included. :-)

Okay, you get the idea: There may apply shipping restrictions.
If I remember correctly, there has been such an issue for lame
in the past, but I thought that it would have been resolved.
When trying make package, it was not possible, and there
also was not package for use with pkg_add. You _had_ to compile
it yourself because the terms of use told so.

The ports collections has a specific field in Makefile that
gives you information about such issues:

RESTRICTED= patent issues, see http://www.mp3licensing.com/

So if OpenBSD serves a lame package (I mean a package containing
lame), you should ask them in how far they have an agreement that
allows them to do so, in comparison to what patent issues prohibit
doing the same on FreeBSD.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: I Can Has Packages?

2012-08-19 Thread vermaden
Hai ;)



Polytropon free...@edvax.de:
 On Sun, 19 Aug 2012 20:33:49 +0200, vermaden wrote:
  HI,
  
  OpenBSD seems to have packages for everything, even
  for LAME (audio/lame), why FreeBSD can not provide
  package for LAME the same way as OpenBSD does?
 
 j00 CAN haz pakagez. =^_^=
 
 Packages for _everything_ is impossible because of the many
 options that may or MAY NOT fit your needs, so things have
 to be set at compile time. Just imagine how many different
 packages you would have to host for OpenOffice!
 
 In the past, pkg_add -r de-openoffice would have given
 you a full-featured german version of OpenOffice, even
 including a dictionary. Today, it's not that easy anymore.

The OpenBSD team serves these 'complicated' packages
by using *flavours* and *subpackages*, packages or their
parts compiled with different options, its described in the
OpenBSD FAQ here: http://openbsd.org/faq/faq15.html

| 15.2.3 - Finding packages
| 
| (...)
| 
| You will notice that certain packages are available in a
| few different varieties, formally called flavors. Others
| are pieces of the same application which may be
| installed separately. They are called subpackages.
| This will be detailed further in Using flavors and
| subpackages but flavor basically means they are
| configured with different sets of options. Currently,
| many packages have flavors, for example: database
| support, support for systems without X, or network
| additions like SSL and IPv6. Every flavor of a package
| will have a different suffix in its package name. For
| detailed information about package names, please
| refer to packages-specs(7).


 
 There are also ports that draw a massive slew of dependencies.
 Some of them are of minor importance, like documentation that
 urges you to install LaTeX. If that's the default the package
 has been created from, installing it will bring teTeX to your
 system too, even if _you_ don't need it.
 
 Also consider programs like mplayer that can have a lot of
 codecs. Because it's illegal in the U.S. to listen to MP3,
 those may not be included. :-)
 
 Okay, you get the idea: There may apply shipping restrictions.
 If I remember correctly, there has been such an issue for lame
 in the past, but I thought that it would have been resolved.
 When trying make package, it was not possible, and there
 also was not package for use with pkg_add. You _had_ to compile
 it yourself because the terms of use told so.
 
 The ports collections has a specific field in Makefile that
 gives you information about such issues:
 
 RESTRICTED= patent issues, see http://www.mp3licensing.com/
 
 So if OpenBSD serves a lame package (I mean a package containing
 lame), you should ask them in how far they have an agreement that
 allows them to do so, in comparison to what patent issues prohibit
 doing the same on FreeBSD.

The OpenBSD port from here: http://openports.se/audio/lame

Has its description of LAME as a *educational* tool, maybe that is
the reason why they provide package for LAME:

| LAME is an educational tool to be used for learning about MP3
| encoding.  The goal of the LAME project is to improve the psycho
| acoustics, quality and speed of MP3 encoding.

My buddy has sent email to OpenBSD LAME port maintainer with
question why they can distribute that without concerns, I will let
You know if he gets the answer.

Regards,
vermaden



 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...









































...
___
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: I Can Has Packages?

2012-08-19 Thread vermaden
... I even got a screenshot of how these *flavours*
and *subpackages* work, here:

http://ompldr.org/vZjV2bQ




Polytropon free...@edvax.de pisze:
 On Sun, 19 Aug 2012 20:33:49 +0200, vermaden wrote:
  HI,
  
  OpenBSD seems to have packages for everything, even
  for LAME (audio/lame), why FreeBSD can not provide
  package for LAME the same way as OpenBSD does?
 
 j00 CAN haz pakagez. =^_^=
 
 Packages for _everything_ is impossible because of the many
 options that may or MAY NOT fit your needs, so things have
 to be set at compile time. Just imagine how many different
 packages you would have to host for OpenOffice!
 
 In the past, pkg_add -r de-openoffice would have given
 you a full-featured german version of OpenOffice, even
 including a dictionary. Today, it's not that easy anymore.
 
 There are also ports that draw a massive slew of dependencies.
 Some of them are of minor importance, like documentation that
 urges you to install LaTeX. If that's the default the package
 has been created from, installing it will bring teTeX to your
 system too, even if _you_ don't need it.
 
 Also consider programs like mplayer that can have a lot of
 codecs. Because it's illegal in the U.S. to listen to MP3,
 those may not be included. :-)
 
 Okay, you get the idea: There may apply shipping restrictions.
 If I remember correctly, there has been such an issue for lame
 in the past, but I thought that it would have been resolved.
 When trying make package, it was not possible, and there
 also was not package for use with pkg_add. You _had_ to compile
 it yourself because the terms of use told so.
 
 The ports collections has a specific field in Makefile that
 gives you information about such issues:
 
 RESTRICTED= patent issues, see http://www.mp3licensing.com/
 
 So if OpenBSD serves a lame package (I mean a package containing
 lame), you should ask them in how far they have an agreement that
 allows them to do so, in comparison to what patent issues prohibit
 doing the same on FreeBSD.
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 



-- 








































...
___
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: I Can Has Packages?

2012-08-19 Thread Polytropon
On Sun, 19 Aug 2012 22:54:52 +0200, vermaden wrote:
 Polytropon free...@edvax.de:
  On Sun, 19 Aug 2012 20:33:49 +0200, vermaden wrote:
   HI,
   
   OpenBSD seems to have packages for everything, even
   for LAME (audio/lame), why FreeBSD can not provide
   package for LAME the same way as OpenBSD does?
  
  j00 CAN haz pakagez. =^_^=
  
  Packages for _everything_ is impossible because of the many
  options that may or MAY NOT fit your needs, so things have
  to be set at compile time. Just imagine how many different
  packages you would have to host for OpenOffice!
  
  In the past, pkg_add -r de-openoffice would have given
  you a full-featured german version of OpenOffice, even
  including a dictionary. Today, it's not that easy anymore.
 
 The OpenBSD team serves these 'complicated' packages
 by using *flavours* and *subpackages*, packages or their
 parts compiled with different options, its described in the
 OpenBSD FAQ here: http://openbsd.org/faq/faq15.html
 
 | 15.2.3 - Finding packages
 | 
 | (...)
 | 
 | You will notice that certain packages are available in a
 | few different varieties, formally called flavors. Others
 | are pieces of the same application which may be
 | installed separately. They are called subpackages.
 | This will be detailed further in Using flavors and
 | subpackages but flavor basically means they are
 | configured with different sets of options. Currently,
 | many packages have flavors, for example: database
 | support, support for systems without X, or network
 | additions like SSL and IPv6. Every flavor of a package
 | will have a different suffix in its package name. For
 | detailed information about package names, please
 | refer to packages-specs(7).

Interesting. That should work for packages with not so
many options. Opera has, if I remember correctly, 4 options,
resulting in tons of different dependencies; mplayer has
more options than you can fit on one screen (while we
assume the screen has 24 or 25 lines). It's an easy task
to calculate for a package with n options, each can be
set or not set, how many packages would have to be built
and served. :-)

I just assume providing packages for every imaginable
combination requires lots of resources. As an example
take OpenOffice: Every language variant, then integration
with KDE, Gnome, or none of them, and printing support
(I think). That would be many hours of compiling, and
lots of storage space needed (note: current _and_ older
packages are needed, plus supported architectures).



  There are also ports that draw a massive slew of dependencies.
  Some of them are of minor importance, like documentation that
  urges you to install LaTeX. If that's the default the package
  has been created from, installing it will bring teTeX to your
  system too, even if _you_ don't need it.
  
  Also consider programs like mplayer that can have a lot of
  codecs. Because it's illegal in the U.S. to listen to MP3,
  those may not be included. :-)
  
  Okay, you get the idea: There may apply shipping restrictions.
  If I remember correctly, there has been such an issue for lame
  in the past, but I thought that it would have been resolved.
  When trying make package, it was not possible, and there
  also was not package for use with pkg_add. You _had_ to compile
  it yourself because the terms of use told so.
  
  The ports collections has a specific field in Makefile that
  gives you information about such issues:
  
  RESTRICTED= patent issues, see http://www.mp3licensing.com/
  
  So if OpenBSD serves a lame package (I mean a package containing
  lame), you should ask them in how far they have an agreement that
  allows them to do so, in comparison to what patent issues prohibit
  doing the same on FreeBSD.
 
 The OpenBSD port from here: http://openports.se/audio/lame
 
 Has its description of LAME as a *educational* tool, maybe that is
 the reason why they provide package for LAME:
 
 | LAME is an educational tool to be used for learning about MP3
 | encoding.  The goal of the LAME project is to improve the psycho
 | acoustics, quality and speed of MP3 encoding.
 
 My buddy has sent email to OpenBSD LAME port maintainer with
 question why they can distribute that without concerns, I will let
 You know if he gets the answer.

That's really a good reason to avoid the restriction. I think
some specific kind of agreement has to be made to have this
declaration take effect and allow packaging the software.

There are other ports that don't have equivalents on FreeBSD.
A good example is Java. While I think it's possible to
package the software (the make package command), the
current vendor or Java (no idea who is it today) forces
you do manually download the sources and put them into
/usr/ports/distfiles, requiring you to interactively
agree with their terms of use.



Now keep working harder and carry a towel. =^_^=




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa

Re: I Can Has Packages?

2012-08-19 Thread Gary Kline
On Sun, Aug 19, 2012 at 11:27:54PM +0200, Polytropon wrote:
 Date: Sun, 19 Aug 2012 23:27:54 +0200
 From: Polytropon free...@edvax.de
 Subject: Re: I Can Has Packages?
 To: vermaden verma...@interia.pl
 Cc: freebsd-questions@freebsd.org
 X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2)
 
 On Sun, 19 Aug 2012 22:54:52 +0200, vermaden wrote:
  Polytropon free...@edvax.de:
   On Sun, 19 Aug 2012 20:33:49 +0200, vermaden wrote:
HI,

OpenBSD seems to have packages for everything, even
for LAME (audio/lame), why FreeBSD can not provide
package for LAME the same way as OpenBSD does?
   
   j00 CAN haz pakagez. =^_^=
   
   Packages for _everything_ is impossible because of the many
   options that may or MAY NOT fit your needs, so things have
   to be set at compile time. Just imagine how many different
   packages you would have to host for OpenOffice!
   
   In the past, pkg_add -r de-openoffice would have given
   you a full-featured german version of OpenOffice, even
   including a dictionary. Today, it's not that easy anymore.
  
  The OpenBSD team serves these 'complicated' packages
  by using *flavours* and *subpackages*, packages or their
  parts compiled with different options, its described in the
  OpenBSD FAQ here: http://openbsd.org/faq/faq15.html
  
  | 15.2.3 - Finding packages
  | 
  | (...)
  | 
  | You will notice that certain packages are available in a
  | few different varieties, formally called flavors. Others
  | are pieces of the same application which may be
  | installed separately. They are called subpackages.
  | This will be detailed further in Using flavors and
  | subpackages but flavor basically means they are
  | configured with different sets of options. Currently,
  | many packages have flavors, for example: database
  | support, support for systems without X, or network
  | additions like SSL and IPv6. Every flavor of a package
  | will have a different suffix in its package name. For
  | detailed information about package names, please
  | refer to packages-specs(7).
 
 Interesting. That should work for packages with not so
 many options. Opera has, if I remember correctly, 4 options,
 resulting in tons of different dependencies; mplayer has
 more options than you can fit on one screen (while we
 assume the screen has 24 or 25 lines). It's an easy task
 to calculate for a package with n options, each can be
 set or not set, how many packages would have to be built
 and served. :-)
 
 I just assume providing packages for every imaginable
 combination requires lots of resources. As an example
 take OpenOffice: Every language variant, then integration
 with KDE, Gnome, or none of them, and printing support
 (I think). That would be many hours of compiling, and
 lots of storage space needed (note: current _and_ older
 packages are needed, plus supported architectures).
 
 
 
   There are also ports that draw a massive slew of dependencies.
   Some of them are of minor importance, like documentation that
   urges you to install LaTeX. If that's the default the package
   has been created from, installing it will bring teTeX to your
   system too, even if _you_ don't need it.
   
   Also consider programs like mplayer that can have a lot of
   codecs. Because it's illegal in the U.S. to listen to MP3,
   those may not be included. :-)
   
   Okay, you get the idea: There may apply shipping restrictions.
   If I remember correctly, there has been such an issue for lame
   in the past, but I thought that it would have been resolved.
   When trying make package, it was not possible, and there
   also was not package for use with pkg_add. You _had_ to compile
   it yourself because the terms of use told so.
   
   The ports collections has a specific field in Makefile that
   gives you information about such issues:
   
   RESTRICTED= patent issues, see http://www.mp3licensing.com/
   
   So if OpenBSD serves a lame package (I mean a package containing
   lame), you should ask them in how far they have an agreement that
   allows them to do so, in comparison to what patent issues prohibit
   doing the same on FreeBSD.
  
  The OpenBSD port from here: http://openports.se/audio/lame
  
  Has its description of LAME as a *educational* tool, maybe that is
  the reason why they provide package for LAME:
  
  | LAME is an educational tool to be used for learning about MP3
  | encoding.  The goal of the LAME project is to improve the psycho
  | acoustics, quality and speed of MP3 encoding.
  
  My buddy has sent email to OpenBSD LAME port maintainer with
  question why they can distribute that without concerns, I will let
  You know if he gets the answer.
 
 That's really a good reason to avoid the restriction. I think
 some specific kind of agreement has to be made to have this
 declaration take effect and allow packaging the software.
 
 There are other ports that don't have equivalents on FreeBSD.
 A good example is Java. While I think it's possible

Re: I Can Has Packages?

2012-08-19 Thread Randal L. Schwartz
 Polytropon == Polytropon  free...@edvax.de writes:


Polytropon I just assume providing packages for every imaginable
Polytropon combination requires lots of resources. As an example
Polytropon take OpenOffice: Every language variant, then integration
Polytropon with KDE, Gnome, or none of them, and printing support
Polytropon (I think). That would be many hours of compiling, and
Polytropon lots of storage space needed (note: current _and_ older
Polytropon packages are needed, plus supported architectures).

Indeed.

Which is why I gave up on packages long ago.

Learn. To. Compile.

Embrace your local cc. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: I Can Has Packages?

2012-08-19 Thread Matthew Seaman
On 20/08/2012 04:07, Randal L. Schwartz wrote:
 Polytropon == Polytropon  free...@edvax.de writes:
 
 
 Polytropon I just assume providing packages for every imaginable
 Polytropon combination requires lots of resources. As an example
 Polytropon take OpenOffice: Every language variant, then integration
 Polytropon with KDE, Gnome, or none of them, and printing support
 Polytropon (I think). That would be many hours of compiling, and
 Polytropon lots of storage space needed (note: current _and_ older
 Polytropon packages are needed, plus supported architectures).
 
 Indeed.
 
 Which is why I gave up on packages long ago.
 
 Learn. To. Compile.
 
 Embrace your local cc. :)
 

Well, I hope there is some sort of happy medium between the level of
package support in FreeBSD at the moment, and compiling everything from
source.  That's what the pkgng project hopes to achieve anyhow.

On the question of supporting flavours and sub-packages: yes, this will
be absolutely necessary.  Even so, it won't provide /all/ the
flexibility that compiling your own does, but it should target the most
commonly used combinations of options.  I always keep saying the ideal
situation would be that you could customise and compile just your own
really mission critical software and freely mix that with installing
pre-compiled packages of anything else from the public repositories.

Note that sub-packages is effectively a way of reducing the number of
options in many ports: a lot of the time options enable/disable
compiling additional bits of software or adding/removing various files
from the resulting packages, but those files could just as easily be
supplied as a sub-package.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


can a jail have link to outside of the jail?

2012-08-16 Thread Len Conrad

I have an ssh user who needs only to search some log files not in his jail. The 
jail required because I don't want the user seeing the rest the machine.  If 
the dirs were linked to his jail, would that work? 

What I'd really like is something like ftpchroot for but ssh.

suggestions?

Len


___
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: can a jail have link to outside of the jail?

2012-08-16 Thread Jeff Tipton

On 08/16/2012 21:51, Len Conrad wrote:

I have an ssh user who needs only to search some log files not in his jail. The 
jail required because I don't want the user seeing the rest the machine.  If 
the dirs were linked to his jail, would that work?

What I'd really like is something like ftpchroot for but ssh.

suggestions?

Len


___
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
It's not clear from what you are writing whether you mean JAIL(8) (a 
secure, virtual FreeBSD OS on top of host OS) or chrooted directories. 
Anyway, ssh can be set up very easily to have some chrooted sftp users. 
Read this:


https://calomel.org/sftp_chroot.html

You will probably have to think about where to place the log directory 
it if it's important to have no other logs in it.


-Jeff
___
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: can a jail have link to outside of the jail?

2012-08-16 Thread Devin Teske

On Aug 16, 2012, at 11:51 AM, Len Conrad wrote:

 
 I have an ssh user who needs only to search some log files not in his jail. 
 The jail required because I don't want the user seeing the rest the machine.  
 If the dirs were linked to his jail, would that work? 
 

To show a directory from a base-host to a member-jail, I'd recommend using a 
nullfs-mount.

Furthermore, you can automate the process in 2 different ways (scoped 
differently depending on how you use jails).

You can add jail_{name}_mount_enable=YES to rc.conf(5) which enables the 
automatic handling of /etc/fstab.{name} every time you perform a service jail 
start|stop|restart {name} (the mount will automatically be mounted and 
unmounted on-demand of bringing the jail up-and-down irrespective of the base 
host but respective to each jail). You'd load you /etc/fstab.{name} with your 
nullfs mounts.

The second way is of course is to put all your nullfs mounts into /etc/fstab 
(proper) but mark them as noauto (if desired) and optionally (if going the 
noauto approach) add jail_{name}_exec_prestart=mount dirname and likewise 
[optional] jail_{name}_exec_poststop=umount dirname

All depending on how you use jails.

If you'd of course rather prefer all the mounts come up at boot and go from 
permanent directories to permanent directories (which you know will never go 
away), _and_ you like the idea of not having mounts going up and down with your 
jails (perhaps you're fine-tuning your jail's startup), I'd say throw them into 
/etc/fstab full-auto and not associate them with the jails. But it's all up to 
you.

Hope that helps.


 What I'd really like is something like ftpchroot for but ssh.
 

Hmmm, does the above approach work better? just exposing one directory to his 
jail via nullfs?


 suggestions?
 

-- 
Cheers,
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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: can a jail have link to outside of the jail?

2012-08-16 Thread Christer Solskogen
On Thu, Aug 16, 2012 at 8:51 PM, Len Conrad lcon...@go2france.com wrote:

 I have an ssh user who needs only to search some log files not in his jail. 
 The jail required because I don't want the user seeing the rest the machine.  
 If the dirs were linked to his jail, would that work?


man mount_nullfs(8)

-- 
chs,
___
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: can a jail have link to outside of the jail?

2012-08-16 Thread Wojciech Puchar


I have an ssh user who needs only to search some log files not in his jail. The 
jail required because I don't want the user seeing the rest the machine.  If 
the dirs were linked to his jail, would that work?

man mount_nullfs
___
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: How can i decrease memory occupied by xorg ?

2012-07-05 Thread Wojciech Puchar

1083 root  1  210 99444K 11544K select  0   1:28  0.00% Xorg

doesn't take much, only 11.5MB is resident
___
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: How can i decrease memory occupied by xorg ?

2012-07-05 Thread Eitan Adler
On 4 July 2012 20:52, J B jb.1234a...@gmail.com wrote:
 It is in ports:
 http://www.freedesktop.org/wiki/Software/xrestop
 jb

[10001 eitan@radar ~ ]%whereis xrestop
xrestop: /usr/ports/x11/xrestop


-- 
Eitan Adler
___
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


How can i decrease memory occupied by xorg ?

2012-07-04 Thread sw2wolf
An old i386 box has only 512M RAM.

PID USERNAMETHR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
 ...
 1121 sw2wolf   8  200   299M   128M uwait   1   5:22  0.59% opera
 1083 root  1  210 99444K 11544K select  0   1:28  0.00% Xorg
 1096 sw2wolf   1  200 25136K  2412K select  0   0:00  0.00% xterm
 1101 sw2wolf   1  200 10948K  1576K pause   1   0:00  0.00% csh
 1081 root  1  200 19448K  1564K wait0   0:00  0.00% slim
 1124 sw2wolf   1  200 34376K  1496K select  1   0:00  0.00%
gam_server
 1086 sw2wolf   1  200 10992K  1136K select  1   0:00  0.00% dwm
 1100 sw2wolf   1  200 10060K  1080K select  0   0:01  0.00% tmux
  722 root  1  200  9612K   732K select  1   0:00  0.00% syslogd
 1098 sw2wolf   1  520 10060K   672K select  0   0:00  0.00% tmux
  965 root  1  200  9716K   660K select  0   0:05  0.00% moused
  ...

Of course, opera is a big customer of RAM which i cannot decrease its memory
usage. then can i descrease the xorg's resident memory ?

 Sincerely!

-
e^(π.i) + 1 = 0
--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/How-can-i-decrease-memory-occupied-by-xorg-tp5724311.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
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


How can i decrease memory occupied by xorg ?

2012-07-04 Thread J B
It is in ports:
http://www.freedesktop.org/wiki/Software/xrestop
jb
___
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


Kerberos. Can I get a ticket for several principals?

2012-07-02 Thread Ross
Hello. This is what I have:

ross@coffin /home/ross pts/2 sudo ktutil list
FILE:/etc/krb5.keytab:

Vno  Type Principal
  5  des-cbc-md5  nfs/coffin.local@LOCAL
  5  des-cbc-md4  nfs/coffin.local@LOCAL
  5  des-cbc-crc  nfs/coffin.local@LOCAL
  5  aes256-cts-hmac-sha1-96  nfs/coffin.local@LOCAL
  5  des3-cbc-sha1nfs/coffin.local@LOCAL
  5  arcfour-hmac-md5 nfs/coffin.local@LOCAL

krb4:/etc/srvtab:

Vno  Type Principal
  5  des-cbc-md5  nfs/coffin.local@LOCAL
  5  des-cbc-md4  nfs/coffin.local@LOCAL
  5  des-cbc-crc  nfs/coffin.local@LOCAL


ross@coffin /home/ross pts/2 kinit
ross@LOCAL's Password:


ross@coffin /home/ross pts/2 klist
Credentials cache: FILE:/tmp/krb5cc_1001
Principal: ross@LOCAL

  Issued   Expires  Principal
Jul  2 13:21:00  Jul  3 13:21:00  krbtgt/LOCAL@LOCAL


The question is: how do I get a ticket for both krbtgt and nfs/coffin.local?
___
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


How can i disable cups, docbook, gutenprint and other ports?

2012-06-22 Thread lokada...@gmx.de

Hi all,

How can i disable cups, docbook and other ports from compiling after 
port update?

I have no printer and no use of cups or docbook.

*Sorry for my english*
Greetings
___
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: How can i disable cups, docbook, gutenprint and other ports?

2012-06-22 Thread Polytropon
On Fri, 22 Jun 2012 20:56:59 +0200, lokada...@gmx.de wrote:
 Hi all,
 
 How can i disable cups, docbook and other ports from compiling after 
 port update?
 I have no printer and no use of cups or docbook.

If you don't mind the _time_ required for building those ports
(and taking into mind that the disk space occupied doesn't
even matter as disks are big and cheap today), you don't have
to _enable_ CUPS if you're actually _not_ using it. That would
be disabling them. :-)

Sadly, there's no really comfortable way of not _building_ them
as they are (almost hardcoded!) dependencies for other ports
you might be using. There are some config screens (see make
config and make config-recursive or portmaster's --force-config
option) where you _might_ have the chance to de-select some of
those ports so they won't build. But as I said, that depends on
the primary ports you're using and their dependencies.

You know, by accident, you could even install LaTeX (teTeX)
as a dependency! :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: what software can support that UPS ?

2012-05-15 Thread Wojciech Puchar
thanks for help. found it non-FreeBSD specific. just this model is not 
supported by available software.

Thanks again

On Mon, 14 May 2012, Robert Huff wrote:



Wojciech Puchar writes:


 /usr/ports/sysutils/apcupsd ?

 ? - so what to give as device? /dev/ugen1.3?
 set

 UPSCABLE usb
 UPSTYPE usb


My BackUPS RS 500 works fine using those and a empty DEVICE field.
It is possible this is a new/redesigned model that Apcupsd does
not handle correctly.  (APC is famous for not having a consistant
interface, even model lines.)  If so, you should post to the apcupsd
mailing list where these kind of things get prompt attention.


Robert Huff




___
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


what software can support that UPS ?

2012-05-14 Thread Wojciech Puchar

seems like it is very badly made USB interface, all class data is empty,



ugen1.3: ECO Pro Series UPS EVER at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0101
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0008
  idVendor = 0x0403
  idProduct = 0xe520
  bcdDevice = 0x0400
  iManufacturer = 0x0001  EVER
  iProduct = 0x0002  ECO Pro Series UPS
  iSerialNumber = 0x0003  ECOPRO00
  bNumConfigurations = 0x0001


FreeBSD gives only ugen interface.


what (if any) software support that?
___
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: what software can support that UPS ?

2012-05-14 Thread Julien Cigar

/usr/ports/sysutils/apcupsd ?

On 05/14/2012 14:06, Wojciech Puchar wrote:

seems like it is very badly made USB interface, all class data is empty,



ugen1.3: ECO Pro Series UPS EVER at usbus1, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON


  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0101
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0008
  idVendor = 0x0403
  idProduct = 0xe520
  bcdDevice = 0x0400
  iManufacturer = 0x0001 EVER
  iProduct = 0x0002 ECO Pro Series UPS
  iSerialNumber = 0x0003 ECOPRO00
  bNumConfigurations = 0x0001


FreeBSD gives only ugen interface.


what (if any) software support that?
___
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



--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

___
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: what software can support that UPS ?

2012-05-14 Thread Wojciech Puchar

/usr/ports/sysutils/apcupsd ?


? - so what to give as device? /dev/ugen1.3?
set

UPSCABLE usb
UPSTYPE usb
not set DEVICE as specified in comments for USB devices.

can't find UPS. tried setting DEVICE to /dev/ugen1.3 - no avail.



tried /usr/ports/sysutils/nut

selected EVER driver, and set up /dev/ugen1.3 as port - driver fails.


from what i found in linux groups it should work as USB HID device. but 
uhid doesn't attach.





On 05/14/2012 14:06, Wojciech Puchar wrote:

seems like it is very badly made USB interface, all class data is empty,



ugen1.3: ECO Pro Series UPS EVER at usbus1, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON


  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0101
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0008
  idVendor = 0x0403
  idProduct = 0xe520
  bcdDevice = 0x0400
  iManufacturer = 0x0001 EVER
  iProduct = 0x0002 ECO Pro Series UPS
  iSerialNumber = 0x0003 ECOPRO00
  bNumConfigurations = 0x0001


FreeBSD gives only ugen interface.


what (if any) software support that?
___
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



--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.



___
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: what software can support that UPS ?

2012-05-14 Thread Robert Huff

Wojciech Puchar writes:

   /usr/ports/sysutils/apcupsd ?
  
  ? - so what to give as device? /dev/ugen1.3?
  set
  
  UPSCABLE usb
  UPSTYPE usb

My BackUPS RS 500 works fine using those and a empty DEVICE field.
It is possible this is a new/redesigned model that Apcupsd does
not handle correctly.  (APC is famous for not having a consistant
interface, even model lines.)  If so, you should post to the apcupsd
mailing list where these kind of things get prompt attention.


Robert Huff


___
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: what software can support that UPS ?

2012-05-14 Thread Wojciech Puchar


 UPSCABLE usb
 UPSTYPE usb


My BackUPS RS 500 works fine using those and a empty DEVICE field.


how your UPS shows in dmesg?


It is possible this is a new/redesigned model that Apcupsd does
not handle correctly.  (APC is famous for not having a consistant
interface, even model lines.)  If so, you should post to the apcupsd
mailing list where these kind of things get prompt attention.


Robert Huff




___
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: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-19 Thread Xavier
On Wed, Apr 18, 2012 at 02:12:41PM +0200, Julian H. Stacey wrote:

Hi Julian,

 Hi,
 Reference:
  From:Xavier xavierfreebsdquesti...@gmail.com
  Date:Sat, 7 Apr 2012 22:25:28 +0200
  Message-id:CALe6D=vpy0rk1=-
9rvtv46xp8zd4xvzngb1cbwwacdazwtq...@mail.gmail.com

 Xavier wrote:
  On Sat, Apr 07, 2012 at 04:15:41PM -0400, ill...@gmail.com wrote:
 
  Hi,
 
   On 7 April 2012 13:53, Xavier xavierfreebsdquesti...@gmail.com
wrote:
Hi to all,
   
I have:
   
casa# disktype /dev/da1
   
--- /dev/da1
Character device, size 3.771 GiB (4048551936 bytes)
FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
BSD disklabel (at sector 1), 8 partitions
Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0)
 Type 0 (Unused)
DOS/MBR partition map
Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63)
 Type 0x83 (Linux)
 Ext3 file system
   UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4)
   Last mounted at /
   Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB)
Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from
7438095)
 Type 0x05 (Extended)
 Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from
7438095+63)
   Type 0x82 (Linux swap / Solaris)
   Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
 Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB)
   
I'm running from FreeBSD 9.0-RELEASE
   
I try:
   
casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
mount: /dev/da1a : Invalid argument
   
How can I mount it ?
  
   mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
   perhaps?  Note---^^
  
   If that still doesn't work, try adding -r in there (as ext2fs might
not
   support r/w in your configuration).
  
 
  casa# mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
  mount: /dev/da1s1 : No such file or directory
  casa#
  casa# mount -r -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
  mount: /dev/da1s1 : No such file or directory
  casa#
 
  You have more ideas ?

 With 9.0-RELEASE generic kernel:
 man mount
 ...
 man 2 nmount
 The type argument names the file system.  The types of file
 systems known to the system can be obtained with lsvfs(1).
 lsvfs
 FilesystemRefs Flags
  - ---
 devfs1 synthetic
 msdosfs  0
 nfs  0 network
 procfs   0 synthetic
 cd9660   0 read-only
 ufs  1
 cd /boot/kernel ; find . -name \*ext\* -print
 kldload /boot/kernel/ext2fs.ko ; lsvfs
 # Adds
 ext2fs   0
 man ext2fs
 To link into the kernel:
 options EXT2FS
 To load as a kernel loadable module:
 kldload ext2fs
 No mention of ext3 there, nor from find (above).

 .. so you May be out of luck ..

 Divide the problem. Reduce simulltaneous testing of backslash  ext3.
 Delete all backslash junk during test.  Try
 su ; mkdir /mnt/test ; mount -r -t ext2fs /dev/da1a /mnt/test

I try:

casa# kldstat | grep ext
101 0xc93b9000 1ext2fs.ko

casa% lsvfs | grep ext
ext2fs   0

casa# disktype /dev/da0

--- /dev/da0
Character device, size 14.92 GiB (16025387008 bytes)
DOS/MBR partition map
Partition 1: 13.93 GiB (14961082368 bytes, 29220864 sectors from 2048,
bootable)
  Type 0x83 (Linux)
Ext3 file system
UUID DF70360E-9DD3-436D-9627-A614FB0FD24E (DCE, v4)
Last mounted at /
Volume size 13.93 GiB (14961082368 bytes, 3652608 blocks
of 4 KiB)
Partition 2: 0.988 GiB (1061159936 bytes, 2072578
sectors from 29224958)
  Type 0x05 (Extended)
Partition 5: 1012 MiB (1061158912 bytes, 2072576
sectors from 29224958+2)
Type 0x82 (Linux swap / Solaris)


casa% ls /dev/da0*
/dev/da0/dev/da0s1  /dev/da0s2  /dev/da0s5

How can get the correct da0 node for your mount(8) command ?

Thanks, see you.
___
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: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-18 Thread Julian H. Stacey
Hi,
Reference:
 From: Xavier xavierfreebsdquesti...@gmail.com 
 Date: Sat, 7 Apr 2012 22:25:28 +0200 
 Message-id:   
 CALe6D=vpy0rk1=-9rvtv46xp8zd4xvzngb1cbwwacdazwtq...@mail.gmail.com 

Xavier wrote:
 On Sat, Apr 07, 2012 at 04:15:41PM -0400, ill...@gmail.com wrote:
 
 Hi,
 
  On 7 April 2012 13:53, Xavier xavierfreebsdquesti...@gmail.com wrote:
   Hi to all,
  
   I have:
  
   casa# disktype /dev/da1
  
   --- /dev/da1
   Character device, size 3.771 GiB (4048551936 bytes)
   FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
   BSD disklabel (at sector 1), 8 partitions
   Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0)
Type 0 (Unused)
   DOS/MBR partition map
   Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63)
Type 0x83 (Linux)
Ext3 file system
  UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4)
  Last mounted at /
  Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB)
   Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from 7438095)
Type 0x05 (Extended)
Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from 7438095+63)
  Type 0x82 (Linux swap / Solaris)
  Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB)
  
   I'm running from FreeBSD 9.0-RELEASE
  
   I try:
  
   casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
   mount: /dev/da1a : Invalid argument
  
   How can I mount it ?
 
  mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
  perhaps?  Note---^^
 
  If that still doesn't work, try adding -r in there (as ext2fs might not
  support r/w in your configuration).
 
 
 casa# mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
 mount: /dev/da1s1 : No such file or directory
 casa#
 casa# mount -r -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
 mount: /dev/da1s1 : No such file or directory
 casa#
 
 You have more ideas ?

With 9.0-RELEASE generic kernel:
man mount
...
man 2 nmount
The type argument names the file system.  The types of file
systems known to the system can be obtained with lsvfs(1).
lsvfs
FilesystemRefs Flags
 - ---
devfs1 synthetic
msdosfs  0 
nfs  0 network
procfs   0 synthetic
cd9660   0 read-only
ufs  1 
cd /boot/kernel ; find . -name \*ext\* -print
kldload /boot/kernel/ext2fs.ko ; lsvfs  
# Adds
ext2fs   0 
man ext2fs 
To link into the kernel:
options EXT2FS
To load as a kernel loadable module:
kldload ext2fs
No mention of ext3 there, nor from find (above).

.. so you May be out of luck ..

Divide the problem. Reduce simulltaneous testing of backslash  ext3.
Delete all backslash junk during test.  Try
su ; mkdir /mnt/test ; mount -r -t ext2fs /dev/da1a /mnt/test
If that likely too fails, then select a list:
freebsd...@freebsd.org
or
freebsd-curr...@freebsd.org 
+ cc code authors on freebsd
{ see names in base of man ext2fs`  look in sources or cvs maybe }
Ask them if anyone is known to be working on Ext3 on FreeBSD 
(or *OtherBSD, as that'd be a good start for a port)

If all that fails, insert stick in a Linux box (*),
copy data from the ext3 stick, reformat stick as Ext2,  write the data back.

Ext2 doesnt need the latest FreeBSD-9, at least FreeBSD-8.2
can also handle Ext2.

Linux boxes can be found in unexpected places, eg some
media devices are built on Linux, (Some some manufacturers are not
aware BSD offers more liberal licensing than FSF).  Whether
such devices can reformat to user selected format I haven't yet had
access to try so you might need a real Linux PC to re-format.

Examples of media boxes:
Iomega ScreenPlay TV Link, Director Edition
high definition multimedia player
http://go.iomega.com/section?p=4760secid=42740#tech_specsItem_tab
External USB Drive Format:
NTFS (default), FAT32, Mac OS Extended (HFS+)**, Ext2 or Ext3.
(No mention of UFS, so presumably a Linux, I will collect one soon).

http://www.humaxfoxsathdr.co.uk/
Foxsat-HDR/500
http://www.humaxdirect.co.uk/product.asp?ProdRef=10087#more-info
(Not stated what this supports.)

Dreambox 800
http://www.dreambox800.co.uk/Dreambox-800-Satellite-Receiver-pro
(Not stated what this supports, but based on Linux)

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text

Re: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-18 Thread RW
On Wed, 18 Apr 2012 14:12:41 +0200
Julian H. Stacey wrote:


 No mention of ext3 there, nor from find (above).
 
 .. so you May be out of luck ..

ext3 is ext2+journalling. If fsck supports ext3, then it can sync the
journal and the partition can be safely mounted as ext2.

It's a long time since I've used ext3 so this may have changed, but
when I did it needed an fsck from ports.
___
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: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-18 Thread Julian H. Stacey
Hi,
Reference:
 From: RW rwmailli...@googlemail.com 
 Date: Wed, 18 Apr 2012 14:13:19 +0100 
 Message-id:   20120418141319.7cb8c...@gumby.homeunix.com 

RW wrote:
 On Wed, 18 Apr 2012 14:12:41 +0200
 Julian H. Stacey wrote:
 
 
  No mention of ext3 there, nor from find (above).
  
  .. so you May be out of luck ..
 
 ext3 is ext2+journalling. If fsck supports ext3, then it can sync the
 journal and the partition can be safely mounted as ext2.
 
 It's a long time since I've used ext3 so this may have changed, but
 when I did it needed an fsck from ports.

I tried to find that for original poster Xavier
(cc restored in case Xavier not on questions@), using
cd /pub/FreeBSD/branches/-current/ports 
echo `find . -type f | xargs grep -i -l fsck` | xargs grep -i -l ext3
 got:
./emulators/linux_base-c6/pkg-plist
./emulators/linux_base-f10/pkg-plist
./emulators/linux_base-fc4/pkg-plist
./emulators/linux_dist-gentoo-stage3/pkg-plist.i486
./emulators/linux_dist-gentoo-stage3/pkg-plist.i686

./sysutils/e2fsprogs/Makefile
COMMENT?=   Utilities  library to manipulate ext2/3/4 
filesystems

Xavier, I suggest try /usr/ports/sysutils/e2fsprogs 

I saw this warning building on 8.2-RELEASE:
If you format ext2 file systems with other operating systems,
make sure that mke2fs is called with -I 128 for partitions
that you plan to share with FreeBSD.
(Not tried building it on 9 as I'm rebuilding machine now.)

/usr/local/share/doc/e2fsprogs/
COPYING
http://e2fsprogs.sourceforge.net
Says there it supports ext3  4 too.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
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: pcmcia wifi adapter that can be purchased?

2012-04-15 Thread Kendall Shaw
Chris Whitehouse cwhi...@onetel.com writes:

 On 10/04/2012 23:47, Kendall Shaw wrote:
 Chris Whitehousecwhi...@onetel.com  writes:

 On 10/04/2012 18:37, Kendall Shaw wrote:

 Do you happen to know of a PCMCIA Type II wireless adapter that is
 currently being sold online that supports WPA under freebsd 9.0?
 Alternately, a USB 1.0 adapter? I would rather keep the USB ports free
 for other uses.

 Linksys WPC54G works with malo driver (check the man page if you get
 one) and is available on ebay. I haven't had one in regular use but I
 just did a flood ping on 9.0R i386 and it showed less than 1% packet
 loss.

 Chris

 Thanks. Oops... I clicked too soon and bought from Amazon. The bwi/bwn
 Yes looks a bit more expensive there than ebay.
 man pages say the version 3 of the adapter is supported. Amazon doesn't
 say what version. Is the malo driver for newer versions of the adapter?

 My card is v5 with Marvell Libertas 88W8335 chip.

I got the card and it is working. Thanks everyone!

The card is a Linksys WPC54G v3.1 and I am using the bwn driver. I wish
that it would tell you what version the card is, at least on the box...

I installed bwn_firmware_kmod from ports to set it up.

/boot/loader.conf:

if_bwn_load=YES
bwn_v4_ucode_load=YES

/etc/rc.conf:

wlans_bwn0=wlan0
ifconfig_wlan0=WPA SYNCDHCP
wpa_supplicant_enable=YES

/etc/wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
  ssid=Error
  proto=WPA
  psk=topsecret
}

Kendall

___
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: pcmcia wifi adapter that can be purchased?

2012-04-15 Thread Kendall Shaw
Kendall Shaw ks...@kendallshaw.com writes:

 Chris Whitehouse cwhi...@onetel.com writes:

 On 10/04/2012 23:47, Kendall Shaw wrote:
 Chris Whitehousecwhi...@onetel.com  writes:

 On 10/04/2012 18:37, Kendall Shaw wrote:

 Do you happen to know of a PCMCIA Type II wireless adapter that is
 currently being sold online that supports WPA under freebsd 9.0?
 Alternately, a USB 1.0 adapter? I would rather keep the USB ports free
 for other uses.

 Linksys WPC54G works with malo driver (check the man page if you get
 one) and is available on ebay. I haven't had one in regular use but I
 just did a flood ping on 9.0R i386 and it showed less than 1% packet
 loss.

 Chris

 Thanks. Oops... I clicked too soon and bought from Amazon. The bwi/bwn
 Yes looks a bit more expensive there than ebay.
 man pages say the version 3 of the adapter is supported. Amazon doesn't
 say what version. Is the malo driver for newer versions of the adapter?

 My card is v5 with Marvell Libertas 88W8335 chip.

 I got the card and it is working. Thanks everyone!

 The card is a Linksys WPC54G v3.1 and I am using the bwn driver. I wish
 that it would tell you what version the card is, at least on the box...

 I installed bwn_firmware_kmod from ports to set it up.

 /boot/loader.conf:

 if_bwn_load=YES
 bwn_v4_ucode_load=YES

 /etc/rc.conf:

 wlans_bwn0=wlan0
 ifconfig_wlan0=WPA SYNCDHCP
 wpa_supplicant_enable=YES

 /etc/wpa_supplicant.conf:

 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=wheel
 network={
   ssid=Error
   proto=WPA
   psk=topsecret
 }

I should have added:

siba_bwn0@pci0:1:0:0:   class=0x028000 card=0x00481737 chip=0x431814e4
rev=0x02 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'BCM4318 [AirForce One 54g] 802.11g Wireless LAN
Controller'
class  = network

output from pciconf

Kendall
___
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


install IDS from port , but can not find the Ports security/acid

2012-04-11 Thread PstreeM China
hi everyone :

i want use the snort like IDS in my network ,  google the document from
internet .
there is ACID (analyst center) used provided web UI , can install from
security/acid .

but after i fetch port (portsnap fetch ; portsnap extract ) , i can not
find the ports security/acid
OS version: freebsd 8.2

so , i want to know how can i install ACID  ?? anybody can help me ?


BR PstreeM
___
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: install IDS from port , but can not find the Ports security/acid

2012-04-11 Thread Polytropon
On Wed, 11 Apr 2012 15:41:10 +0800, PstreeM China wrote:
 hi everyone :
 
 i want use the snort like IDS in my network ,  google the document from
 internet .
 there is ACID (analyst center) used provided web UI , can install from
 security/acid .
 
 but after i fetch port (portsnap fetch ; portsnap extract ) , i can not
 find the ports security/acid

There is an entry in /usr/ports/MOVED:

security/acid||2008-04-04|Has expired:
development has ceased, use security/base

From base's description:

BASE is the Basic Analysis and Security Engine. It is based on the code
from the ACID project. This application provides a PHP-based web front-end 
to query and analyze the alerts coming from a Snort IDS system.  

BASE is a web interface to perform analysis of intrusions that Snort has
detected on your network. It uses a user authentication and role-base
system, so that you as the security admin can decide what and how much
information each user can see. It also has a simple to use, web-based
setup program for people not comfortable with editing files directly. 

Maybe you can check this one in relation to your requirements?


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: install IDS from port , but can not find the Ports security/acid

2012-04-11 Thread PstreeM China
On Wed, Apr 11, 2012 at 4:04 PM, ufs u...@poniki.net wrote:

 On 11.04.2012 11:41, PstreeM China wrote:

 hi everyone :

 i want use the snort like IDS in my network ,  google the document from
 internet .
 there is ACID (analyst center) used provided web UI , can install from
 security/acid .

 but after i fetch port (portsnap fetch ; portsnap extract ) , i can not
 find the ports security/acid
 OS version: freebsd 8.2

 so , i want to know how can i install ACID  ?? anybody can help me ?


 BR PstreeM
 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org

 #more /usr/ports/security/base/pkg-**descr

 BASE is the Basic Analysis and Security Engine. It is based on the code
 from the ACID project. This application provides a PHP-based web front-end
 to query and analyze the alerts coming from a Snort IDS system.

 BASE is a web interface to perform analysis of intrusions that Snort has
 detected on your network. It uses a user authentication and role-base
 system, so that you as the security admin can decide what and how much
 information each user can see. It also has a simple to use, web-based
 setup program for people not comfortable with editing files directly.

 Use ../security/base/

  i think this is what i want . thanks very much . i will have a test .
___
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


pcmcia wifi adapter that can be purchased?

2012-04-10 Thread Kendall Shaw
Hi,

This is my first post in a decade or so. Hopefully, it is the start of a
serious of decreasingly stupid questions...

I've looked through the hardware notes for freebsd 9.0 which I have
installed in my fujitsu lifebook p1110, and comparing the list of
supported wireless adapters with what I can find for sale on the
internet, I am still having trouble finding an adapter that I can
actually buy that works.

Do you happen to know of a PCMCIA Type II wireless adapter that is
currently being sold online that supports WPA under freebsd 9.0?
Alternately, a USB 1.0 adapter? I would rather keep the USB ports free
for other uses.

Kendall
___
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: pcmcia wifi adapter that can be purchased?

2012-04-10 Thread Chris Whitehouse

On 10/04/2012 18:37, Kendall Shaw wrote:


Do you happen to know of a PCMCIA Type II wireless adapter that is
currently being sold online that supports WPA under freebsd 9.0?
Alternately, a USB 1.0 adapter? I would rather keep the USB ports free
for other uses.


Linksys WPC54G works with malo driver (check the man page if you get 
one) and is available on ebay. I haven't had one in regular use but I 
just did a flood ping on 9.0R i386 and it showed less than 1% packet loss.


Chris



Kendall

___
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: pcmcia wifi adapter that can be purchased?

2012-04-10 Thread ill...@gmail.com
On 10 April 2012 13:37, Kendall Shaw ks...@kendallshaw.com wrote:
 Hi,

 This is my first post in a decade or so. Hopefully, it is the start of a
 serious of decreasingly stupid questions...

 I've looked through the hardware notes for freebsd 9.0 which I have
 installed in my fujitsu lifebook p1110, and comparing the list of
 supported wireless adapters with what I can find for sale on the
 internet, I am still having trouble finding an adapter that I can
 actually buy that works.

 Do you happen to know of a PCMCIA Type II wireless adapter that is
 currently being sold online that supports WPA under freebsd 9.0?
 Alternately, a USB 1.0 adapter? I would rather keep the USB ports free
 for other uses.


bwi(4)  bwn(4) list a few possibilities,

-- 
--
___
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: pcmcia wifi adapter that can be purchased?

2012-04-10 Thread Kendall Shaw
Chris Whitehouse cwhi...@onetel.com writes:

 On 10/04/2012 18:37, Kendall Shaw wrote:

 Do you happen to know of a PCMCIA Type II wireless adapter that is
 currently being sold online that supports WPA under freebsd 9.0?
 Alternately, a USB 1.0 adapter? I would rather keep the USB ports free
 for other uses.

 Linksys WPC54G works with malo driver (check the man page if you get
 one) and is available on ebay. I haven't had one in regular use but I
 just did a flood ping on 9.0R i386 and it showed less than 1% packet
 loss.

 Chris

Thanks. Oops... I clicked too soon and bought from Amazon. The bwi/bwn
man pages say the version 3 of the adapter is supported. Amazon doesn't
say what version. Is the malo driver for newer versions of the adapter?

Thanks to the other poster for suggesting looking at the bwi/bmn man
pages.

Kendall
___
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: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-08 Thread Thomas Mueller
from Xavier xavierfreebsdquesti...@gmail.com:

 I have:

 casa# disktype /dev/da1

 --- /dev/da1
 Character device, size 3.771 GiB (4048551936 bytes)
 FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
 BSD disklabel (at sector 1), 8 partitions
 Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0)
   Type 0 (Unused)
 DOS/MBR partition map
 Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63)
   Type 0x83 (Linux)
   Ext3 file system
 UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4)
 Last mounted at /
 Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB)
 Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from 7438095)
   Type 0x05 (Extended)
   Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from 7438095+63)
 Type 0x82 (Linux swap / Solaris)
 Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
   Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB)

 I'm running from FreeBSD 9.0-RELEASE

 I try:

 casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
 mount: /dev/da1a : Invalid argument

 How can I mount it ?

I'm confused between the BSD disklabel and DOS/MBR partition map.

What does (running from Linux)

fdisk -lu /dev/sdb (or whatever the Linux name for that disk is) show?

How do you mount that Linux ext3fs partition in Linux?  That knowledge might 
help me figure how to mount that partition from FreeBSD.

I'm still not sure how or if FreeBSD supports ext3fs as opposed to ext2fs.

I don't see the rationale for setting up an extended partition when you only 
use two partitions.  The second (Linux swap) partition could be primary, and 
you would be well under the quota of four primary partitions.

Tom
___
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: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-08 Thread Xavier
On Sun, Apr 08, 2012 at 06:32:36AM -0400, Thomas Mueller wrote:

Hi Thomas,

 from Xavier xavierfreebsdquesti...@gmail.com:

  I have:

  casa# disktype /dev/da1

  --- /dev/da1
  Character device, size 3.771 GiB (4048551936 bytes)
  FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
  BSD disklabel (at sector 1), 8 partitions
  Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0)
Type 0 (Unused)
  DOS/MBR partition map
  Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63)
Type 0x83 (Linux)
Ext3 file system
  UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4)
  Last mounted at /
  Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB)
  Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from 7438095)
Type 0x05 (Extended)
Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from
7438095+63)
  Type 0x82 (Linux swap / Solaris)
  Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB)

  I'm running from FreeBSD 9.0-RELEASE

  I try:

  casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
  mount: /dev/da1a : Invalid argument

  How can I mount it ?

 I'm confused between the BSD disklabel and DOS/MBR partition map.

 What does (running from Linux)

 fdisk -lu /dev/sdb (or whatever the Linux name for that disk is) show?
  ^^

  I'll run that command line from a GNU/Linux ( not from FreeBSD ) ?



 How do you mount that Linux ext3fs partition in Linux?  That knowledge
might help me figure how to mount that partition from FreeBSD.

I don't probe it. /dev/da1 is a USB pen drive with GNU/Linux OS.

Well, I wait to confirm that command ...

Thanks, see you.
___
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


Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-07 Thread Xavier
Hi to all,

I have:

casa# disktype /dev/da1

--- /dev/da1
Character device, size 3.771 GiB (4048551936 bytes)
FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
BSD disklabel (at sector 1), 8 partitions
Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0)
  Type 0 (Unused)
DOS/MBR partition map
Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63)
  Type 0x83 (Linux)
  Ext3 file system
UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4)
Last mounted at /
Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB)
Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from 7438095)
  Type 0x05 (Extended)
  Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from 7438095+63)
Type 0x82 (Linux swap / Solaris)
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
  Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB)

I'm running from FreeBSD 9.0-RELEASE

I try:

casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
mount: /dev/da1a : Invalid argument

How can I mount it ?

Thanks.
___
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: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-07 Thread Xavier
On Sat, Apr 07, 2012 at 10:06:44PM +0300, Odhiambo Washington wrote:

Hi Odhiambo,

 man mount

 mount fstype  device mount-point

Yes, but look:

 
  I try:
 
  casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
  mount: /dev/da1a : Invalid argument

I don't know why !?

Thanks, see you.
___
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: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-07 Thread ill...@gmail.com
On 7 April 2012 13:53, Xavier xavierfreebsdquesti...@gmail.com wrote:
 Hi to all,

 I have:

 casa# disktype /dev/da1

 --- /dev/da1
 Character device, size 3.771 GiB (4048551936 bytes)
 FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
 BSD disklabel (at sector 1), 8 partitions
 Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0)
  Type 0 (Unused)
 DOS/MBR partition map
 Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63)
  Type 0x83 (Linux)
  Ext3 file system
    UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4)
    Last mounted at /
    Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB)
 Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from 7438095)
  Type 0x05 (Extended)
  Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from 7438095+63)
    Type 0x82 (Linux swap / Solaris)
    Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
      Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB)

 I'm running from FreeBSD 9.0-RELEASE

 I try:

 casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
 mount: /dev/da1a : Invalid argument

 How can I mount it ?

mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
perhaps?  Note---^^

If that still doesn't work, try adding -r in there (as ext2fs might not
support r/w in your configuration).

-- 
--
___
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: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-07 Thread Xavier
On Sat, Apr 07, 2012 at 04:15:41PM -0400, ill...@gmail.com wrote:

Hi,

 On 7 April 2012 13:53, Xavier xavierfreebsdquesti...@gmail.com wrote:
  Hi to all,
 
  I have:
 
  casa# disktype /dev/da1
 
  --- /dev/da1
  Character device, size 3.771 GiB (4048551936 bytes)
  FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
  BSD disklabel (at sector 1), 8 partitions
  Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0)
   Type 0 (Unused)
  DOS/MBR partition map
  Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63)
   Type 0x83 (Linux)
   Ext3 file system
 UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4)
 Last mounted at /
 Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB)
  Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from 7438095)
   Type 0x05 (Extended)
   Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from 7438095+63)
 Type 0x82 (Linux swap / Solaris)
 Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
   Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB)
 
  I'm running from FreeBSD 9.0-RELEASE
 
  I try:
 
  casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
  mount: /dev/da1a : Invalid argument
 
  How can I mount it ?

 mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
 perhaps?  Note---^^

 If that still doesn't work, try adding -r in there (as ext2fs might not
 support r/w in your configuration).


casa# mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
mount: /dev/da1s1 : No such file or directory
casa#
casa# mount -r -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/
mount: /dev/da1s1 : No such file or directory
casa#

You have more ideas ?

Thanks, see you.
___
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: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-07 Thread Adam Vande More

   I don't know why !?
  
   Is ext2fs.ko loaded? Does /var/log/messages reveal anything?


 Yes :

 casa# kldstat | grep ext
  91 0xc8806000 1ext2fs.ko
 casa#


 I try:

 casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
 mount: /dev/da1a : Invalid argument

 /var/log/messages :

 Apr  7 22:16:35 casa kernel: ext2fs: da1a: wrong magic number 0 (expected
 0xef53


What is the output from gpart list?

-- 
Adam Vande More
___
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: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-07 Thread Xavier
On Sat, Apr 07, 2012 at 06:25:29PM -0500, Adam Vande More wrote:

Hi Adam,

 
I don't know why !?
   
Is ext2fs.ko loaded? Does /var/log/messages reveal anything?
 
 
  Yes :
 
  casa# kldstat | grep ext
   91 0xc8806000 1ext2fs.ko
  casa#
 
 
  I try:
 
  casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
  mount: /dev/da1a : Invalid argument
 
  /var/log/messages :
 
  Apr  7 22:16:35 casa kernel: ext2fs: da1a: wrong magic number 0
(expected
  0xef53
 
 
 What is the output from gpart list?

###cut here###
Geom name: da1
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7907327
first: 0
entries: 8
scheme: BSD
Providers:
1. Name: da1a
   Mediasize: 2302703616 (2.1G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 8192
   Mode: r0w0e0
   rawtype: 0
   length: 2302703616
   offset: 8192
   type: !0
   index: 1
   end: 4497483
   start: 16
Consumers:
1. Name: da1
   Mediasize: 4048551936 (3.8G)
   Sectorsize: 512
   Mode: r0w0e0
###cut here###

Have ideas ?

Thanks, see you.
___
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: how can i offload a 600m file without graphic tools?

2012-02-17 Thread Polytropon
On Mon, 13 Feb 2012 11:32:07 -0800, Gary Kline wrote:
 
 w can i move a file from my home filesystem to my one disc drive
 without using a GUI?  i don't have a graphic interface on my FBSD
 system and want to save a 600MB file to my cdrom?
 
 thanks for tips on what i have Long forgotten!

I hope I can interpret your question correctly: You need to
burn a 600 MB file to a disc (typically a CD, but could be a
DVD too)?

That's quite easy: CDs typically use the ISO-9660 file system
which mkisofs (from ports) creates, and a program like cdrecord
or cdrdao can burn it to the media. For a DVD, growisofs will
do that part.

Step 1:

% mkisofs -r -J -o bigfile.iso bigfile

where bigfile is the file you want to store. The flags -r and
-J make sure the file system will also be properly interpreted
on non-standard systems; -o specifies the output file.

Step 2:

% cdrecord dev=0,0,0 speed=10 -v -eject -tao -data bigfile.iso

In order to know _what_ device to record to, run

% camcontrol devlist

Make sure you have proper permissions to access the files in /dev
that are needed. If not, use sudo prefix or do the required parts
using su.

In the camcontrol devlist output, available drives will be
listed. Bus, taget and LUN will form the trinity address that
will then be used in the dev= parameter.

After successful burning,

% rm bigfile.iso

as it's not needed anymore.

You can also use a piping mechanism from mkisofs to cdrecord, but I
didn't want to make it that complicated. :-)

In case you need to burn a DVD because the file gets bigger than
650..700 MB, only one step is needed:

% growisofs -dvd-compat -Z /dev/dvd -r -J bigfile

In this case, /dev/dvd is a symlink to /dev/cd0 (see camcontrol
devlist output again, but look for the associated SCSI devices).

If you already have the ISO file, use

% growisofs -dvd-compat -Z /dev/dvd=bigfile.iso

to record it to DVD.



Note that there are other ways to store data on CDs and DVDs
which are intendedly less compatible by omitting the ISO 9660
file system. :-)







-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: how can i offload a 600m file without graphic tools?

2012-02-17 Thread Gary Kline
On Fri, Feb 17, 2012 at 02:27:07PM +0100, Polytropon wrote:
 Date: Fri, 17 Feb 2012 14:27:07 +0100
 From: Polytropon free...@edvax.de
 Subject: Re: how can i offload a 600m file without graphic tools?
 To: Gary Kline kl...@thought.org
 Cc: FreeBSD Mailing List freebsd-questions@freebsd.org
 X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2)
 
 On Mon, 13 Feb 2012 11:32:07 -0800, Gary Kline wrote:
  
  w can i move a file from my home filesystem to my one disc drive
  without using a GUI?  i don't have a graphic interface on my FBSD
  system and want to save a 600MB file to my cdrom?
  
  thanks for tips on what i have Long forgotten!
 
 I hope I can interpret your question correctly: You need to
 burn a 600 MB file to a disc (typically a CD, but could be a
 DVD too)?
 
 That's quite easy: CDs typically use the ISO-9660 file system
 which mkisofs (from ports) creates, and a program like cdrecord
 or cdrdao can burn it to the media. For a DVD, growisofs will
 do that part.
 
 Step 1:
 
   % mkisofs -r -J -o bigfile.iso bigfile
 
 where bigfile is the file you want to store. The flags -r and
 -J make sure the file system will also be properly interpreted
 on non-standard systems; -o specifies the output file.
 
 Step 2:
 
   % cdrecord dev=0,0,0 speed=10 -v -eject -tao -data bigfile.iso
 
 In order to know _what_ device to record to, run
 
   % camcontrol devlist
 
 Make sure you have proper permissions to access the files in /dev
 that are needed. If not, use sudo prefix or do the required parts
 using su.
 
 In the camcontrol devlist output, available drives will be
 listed. Bus, taget and LUN will form the trinity address that
 will then be used in the dev= parameter.
 
 After successful burning,
 
   % rm bigfile.iso
 
 as it's not needed anymore.
 
 You can also use a piping mechanism from mkisofs to cdrecord, but I
 didn't want to make it that complicated. :-)
 
 In case you need to burn a DVD because the file gets bigger than
 650..700 MB, only one step is needed:
 
   % growisofs -dvd-compat -Z /dev/dvd -r -J bigfile
 
 In this case, /dev/dvd is a symlink to /dev/cd0 (see camcontrol
 devlist output again, but look for the associated SCSI devices).
 
 If you already have the ISO file, use
 
   % growisofs -dvd-compat -Z /dev/dvd=bigfile.iso
 
 to record it to DVD.
 
 
 
 Note that there are other ways to store data on CDs and DVDs
 which are intendedly less compatible by omitting the ISO 9660
 file system. :-)
 
 
 
 


i was going to ask you offlist, but then found this stuff --
or a subset of -- in my howto file.  then, yesterday, i
finally tried to change the bios of my target machine.  
busted.  rats!


 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

___
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


  1   2   3   4   5   6   7   8   9   10   >