Re: Dislike the way port conflicts are handled now

2010-01-18 Thread Jonathan McKeown
On Sunday 17 January 2010 10:24:43 Matthew Seaman wrote:
 Ion-Mihai Tetcu wrote:
  I'd be very happy if I could:
  - fetch the distfiles, even if I have a conflicting port installed
  - be able to use portmaster -o to switch from one port to an other one
that conflicts with it.
  - be able to at least compile a port (eg. for testing) without having
to de-install the current one.
 
  I'm all in favor of restoring the old behavior with a switch available
  to turn on the new one.

 +1

 Although a big fat warning message at fetch or build phase when operating
 on a port with conflicts wouldn't go amiss.

I'd agree with this too.

The idea of the change seems to be to protect people from wasting time 
downloading and building something which they can't install without resolving 
a conflict.

How exactly was that wasted time? Surely you don't download and build a port 
you're not going to install?

What the change actually does is penalise people who want to download and 
build regardless of conflicts, to reduce the time between uninstalling the 
conflicting port and being able to install the replacement.

This seems to me to be a very badly thought-out change which should be 
reverted.

Jonathan
___
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: Q: recommendation for external USB disk

2010-01-18 Thread Matthias Apitz
El día Thursday, January 14, 2010 a las 01:40:26PM +0100, Bas Smeelen escribió:

 It's only one partition. I created it with sysinstall.
 
 fb1:/ # fdisk /dev/da1
 *** Working on device /dev/da1 ***
 parameters extracted from in-core disklabel are:
 cylinders=182401 heads=255 sectors/track=63 (16065 blks/cyl)
 
 Figures below won't work with BIOS for partitions not in cyl 1
 parameters to be used for BIOS calculations are:
 cylinders=182401 heads=255 sectors/track=63 (16065 blks/cyl)
 
 Media sector size is 512
 Warning: BIOS sector numbering starts with sector 1
 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 63, size 2930272002 (1430796 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 254/ sector 63
 The data for partition 2 is:
 UNUSED
 The data for partition 3 is:
 UNUSED
 The data for partition 4 is:
 UNUSED
 fb1:/ # bsdlabel /dev/da1s1
 # /dev/da1s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 29302720020unused0 0 # raw part,
 don't edit
   d: 293027200204.2BSD 2048 16384 28552

I've got my device and it comes with a pre-formatted msdosfs which can
be mounted with:

# mount -t msdosfs -o large /dev/da0s1 /mnt
# df -kh /mnt
current# df -kh
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/da0s11.4T115M1.4T 0%/mnt

I only want to use it as backup (created with dump(1M)) and I think it's
better to make an UFS on it;

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
___
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


fresh software for freebsd - build service

2010-01-18 Thread Elmar Stellnberger
The amount of available software for FreeBSD could largely be improved
by the availablility of a Build Service. In this regard I have opened up
a request to provide a FreeBSD target for the openSUSE Build Service. It
allows users to compile any software found on the internet in a clean
development environment, make it available to other users and provide
updates regularely by automatic re-compiling. I believe that would ease
porting software that is already available for Linux to FreeBSD
considerably.

vote for it if you are interested:
https://features.opensuse.org/308617
___
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: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Christoph Kukulies

Paul B Mahol schrieb:

On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:
  

I'm not sure wether syntax has changed but I wanted to cretae an wlan
acess point
and tried various things. Under 7.0 I got it working with the following
command

ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE  wepmode
on wepkey 0xf00baf00ba weptxkey 1 channel 1


I tried this but got a socket error Invalid argument.

Then I tried (from an example in the rum (4) manpage):ifconfig wlan
create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
wepkey 0xf00baaf00baa  weptxkey 1 channel 1




Perhaps you want this one:

ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1

  


I tried this in rc.conf:

ifconfig_rum0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid 
CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1


I got this:

rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
   ether 00:11:50:cb:52:10
   media: IEEE 802.11 Wireless Ethernet autoselect adhoc 
(autoselect adhoc)

   status: no carrier


Why no carrier?
And I would expect more info on the interface like SSID and such.

--
Christoph


and got:


wlan0
ifconfig: SIOCSIFMEDIA (media): Device not configured

But suddenly the wlan0 device is there.

Can anybody fill me in?

--
Christoph




___
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: gmirror+gjournal: spontaneous reboots on excessive disk access

2010-01-18 Thread Ivan Voras

Michael Grimm wrote:

Hi --

I'm running a gmirror raid1 plus gjournal for a year now. This is a
7.2-RELEASE-p6 right now. Both disks are regular ATA and healthy
according smartctl.

Sometimes, not always though, I do experience spontaneous reboots
without leaving any hints in logfiles whenver I beat my disks
excessively. This might be something like:

dd if=/dev/null of=/some/file bs=1M count=4k
plus
parallel disk accesses by mail and news server.

If I omit all parallel disk access those dd's will run to completion
without reboots, always.


What you have is a common symptom of hardware problems - either a weak 
power supply or a broken disk controller. In the first case because two 
drives try to suck power where only one was doing it before and in the 
second reason because the disk controller is too broken to correctly 
handle simultaneous access to two drives. Unfortunately, if you don't 
get any console error messages it is hard to tell which. The power 
supply is usually easier to replace.



___
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: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Samuel Martín Moro
in my rc.conf:
ifconfig_rum0=DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid
ReseauWIFI

Maybe your problem is that wepkey is malformatted in your command
If not, I didn't try to understand, but I also had troubles with the
position of SSID keyword.
(ifconfig arg error, might be your problem)
(btw: I also had problem with ssid containing spaced characters)


Later, I tried to set it up as an hostap, it seems to work well.
But when I try to connect from an other computer, I'm unable to to join the
network.
(running under 7.2, I compiled the kernel adding a define matching my
device, based on a similar (I hope so...) chipset)


good luck


Samuel Martín Moro
CamTrace
{EPITECH.} tek4

Nobody wants to say how this works.
 Maybe nobody knows ...
 Xorg.conf(5)


On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies k...@kukulies.orgwrote:

 Paul B Mahol schrieb:

  On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:


 I'm not sure wether syntax has changed but I wanted to cretae an wlan
 acess point
 and tried various things. Under 7.0 I got it working with the following
 command

 ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE  wepmode
 on wepkey 0xf00baf00ba weptxkey 1 channel 1


 I tried this but got a socket error Invalid argument.

 Then I tried (from an example in the rum (4) manpage):ifconfig wlan
 create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
 wepkey 0xf00baaf00baa  weptxkey 1 channel 1




 Perhaps you want this one:

 ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
 CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1




 I tried this in rc.conf:

 ifconfig_rum0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
 CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1

 I got this:

 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
   ether 00:11:50:cb:52:10
   media: IEEE 802.11 Wireless Ethernet autoselect adhoc (autoselect
 adhoc)
   status: no carrier


 Why no carrier?
 And I would expect more info on the interface like SSID and such.

 --
 Christoph


  and got:


 wlan0
 ifconfig: SIOCSIFMEDIA (media): Device not configured

 But suddenly the wlan0 device is there.

 Can anybody fill me in?

 --
 Christoph




 ___
 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: Dislike the way port conflicts are handled now

2010-01-18 Thread b. f.
Argh!  Stop! I wish that people who felt the need to add to this
thread would read the prior posts beforehand, and consider their
comments before posting.  To answer two previous posts:

 I believe that he is talking about changing _when_ the check for
 conflicts is made; whereas DISABLE_CONFLICTS ignores the check,
 regardless of when it is made.  A late check is preferable to using
 DISABLE_CONFLICTS, because with that knob you can shoot yourself in
 the foot by mistakenly installing one port on top of another.

I think the point is you can make -DDISABLE_CONFLICTS using targets
other than install

?! Obviously, you can use it for other targets.  That doesn't seem to
have been in doubt.  The point is rather that if one disables the
conflicts check and then accidentally uses the 'install' target or
another target requiring 'install', and there is a conflicting port
already installed, there are going to be problems.  Of course that
wouldn't be a good idea, but it can happen, and that is the point of
having a check.

--

The idea of the change seems to be to protect people from wasting time
downloading and building something which they can't install without resolving
a conflict.

In two earlier posts, a member of portmgr@, and someone else described
how the change was also meant to prevent some build errors.


How exactly was that wasted time? Surely you don't download and build a port
you're not going to install?

A number of earlier posters have said that they want to do exactly
that.  I do it myself, to test ports.  But one can also start with the
intention of installing port A, only to later learn that it conflicts
with an already-installed port B, and then, having discovered the
conflict, decide not to install port A after all, in order to keep
port B.  In this case, which happens fairly often, any time spent
before the discovery of the conflict would have been wasted.
___
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: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Paul B Mahol
On 1/18/10, Christoph Kukulies k...@kukulies.org wrote:
 Paul B Mahol schrieb:
 On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:

 I'm not sure wether syntax has changed but I wanted to cretae an wlan
 acess point
 and tried various things. Under 7.0 I got it working with the following
 command

 ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE  wepmode
 on wepkey 0xf00baf00ba weptxkey 1 channel 1


 I tried this but got a socket error Invalid argument.

 Then I tried (from an example in the rum (4) manpage):ifconfig wlan
 create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
 wepkey 0xf00baaf00baa  weptxkey 1 channel 1



 Perhaps you want this one:

 ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
 CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1



 I tried this in rc.conf:

 ifconfig_rum0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
 CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1

 I got this:

 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
 ether 00:11:50:cb:52:10
 media: IEEE 802.11 Wireless Ethernet autoselect adhoc
 (autoselect adhoc)
 status: no carrier


 Why no carrier?

You still did not created wlan0 interface:

Put

wlans_rum0=wlan0

in rc.conf, and instead of

ifconfig_rum0=.

use

ifconfig_wlan0=.


-- 
Paul B Mahol
___
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


E-commerce Gateway

2010-01-18 Thread Peter Arshi
 

E-commerce Payment Gateway Solution:
(E-commerce Gateway Solution for United States and Canadian Merchants)

 

Federated Payments- USA Merchant Accounts

MSI Canada- Canadian Merchant Accounts 

 

 

About Us

Federated Payments / MSI Canada is a credit card payment processor in the 
United 
States and Canadian marketplace.  We have an “A” Industry Rating with the BBB 
(Better Business Bureau) and annually process over 2 billion dollars in credit 
card payment transactions. Established in 1998, Federated Payments recently 
took its place as one of the Top 50 Payment Processors in the Industry and 
is considered the fastest growing Processor according to the Neilson Report.  
We service more than 20,000 merchants across the country and employ 150 sales 
support and technical staff in the United States and Canada. Federated Payments 
operates as Merchant Services Inc. Canada (MSI Canada) as its Canadian 
operations. 


 

Recognizing the Gateway Problem

We are aware of the difficulties web developers experience when adding shopping 
carts to sites and then to face security compliance issues when Payment 
Gateways 
are to be integrated.  In most cases, the client’s bank does not support an 
online payment gateway solution. This begins the clients search to find the 
right bank that will approve or provide a payment gateway that can comply to 
the shopping cart security standards.   After this step is complete, the client 
is left to babysit the bank to ensure correspondence is maintained with the 
web developer until task is complete.  

 

For any developer, dropping the ball at the end is simply bad practice hence 
integrating PayPal saves the client from anguish and despair temporarily. 
PayPal 
charges high credit card processing rates which leads to even more client 
despair 
in the end. Professionalism is lost when the gateway page re-directs the 
customer 
to a process he is not interested in fulfilling.  PayPal should be considered 
an additional feature and not the primary gateway function. Required customer 
sign-ups and account verification processes deter customers from returning 
to PayPal sites. Client loses retention momentum.

 

SafePay Solution 

The SafePay Gateway Program is a solution for merchants to process online in 
a secured manner without giving up large profits for processing. We offer the 
“Lowest Rate Guarantee” to every client that comes on board. Included with 
the SafePay Program is the Backend Gateway which enables clients a backend 
to enter orders manually, to put customers on recurring payments, pull reports, 
customizable fields, download/upload Quick Books file feature , multiple user 
with Admin control features and much more.  A demo will be provided to your 
client for training by our technicians.

 

 

SafePay Payment Gateway Solution Features: 

·    Enables real-time online transaction processing

·    Fully CISP and PCI Certified

·    Free Quick Click Shopping Cart- Or connect with over 80 certified 
shopping carts

·    Recurring Billing- Bill your customers daily, weekly or monthly for 
as many payments as requires

·    Cardholder Authentication Card Programs: Verified by Visa, MasterCard 
SecureCode

·    Virtual Terminal-  With a Level 3 intuitive user interface, you will 
be able to authorize, process and manage credit card transactions manually 
from any computer that has an internet connection. 

·    API Integration- With API Integration solution your merchants will 
utilize the highest level of secure transaction infrastructure available. 

·    Batch Upload Process- With batch upload processing you will be able 
to control and approve transactions manually prior to settlement.  The batch 
processing system automatically allocates the batches in 1/16 bins and reduces 
overall processing time to a fraction of your competitors. 

·    Electronic Check- Electronic Check is a payment solution that enables 
online and traditional merchants to accept and process electronic check 
payments 
directly from their Web site’s storefront or through the Virtual Terminal.  
By accepting electronic checks, you are able to expand the payment options 
available to your customers and thereby increase sales.  

 

 

Solution Option 1 

Federated Payments and MSI Canada offers one of the best Payment Gateway 
programs 
in the industry known as Safepay. To simplify the shopping cart integration 
to our payment gateway, here are some free shopping carts we support:

 

Free Supported Shopping Carts:

 

OsCommerce.com, nopdesign.com, virtuemart.net, zencart.com, precisionweb.net  
 

 

Solution Option 2

Our technicians are equipped to handle any type of shopping cart in the 
marketplace. 
Custom built designs are accepted with additional security compliance testing. 
This means that the majority of shopping carts fall into compliance with our 
payment gateway solution after testing.

 

Simple Process 

·    When an 

Re: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Craig Butler

On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote:
 in my rc.conf:
 ifconfig_rum0=DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid
 ReseauWIFI
 
 Maybe your problem is that wepkey is malformatted in your command
 If not, I didn't try to understand, but I also had troubles with the
 position of SSID keyword.
 (ifconfig arg error, might be your problem)
 (btw: I also had problem with ssid containing spaced characters)
 
 
 Later, I tried to set it up as an hostap, it seems to work well.
 But when I try to connect from an other computer, I'm unable to to join the
 network.
 (running under 7.2, I compiled the kernel adding a define matching my
 device, based on a similar (I hope so...) chipset)
 
 
 good luck
 
 
 Samuel Martín Moro
 CamTrace
 {EPITECH.} tek4
 
 Nobody wants to say how this works.
  Maybe nobody knows ...
  Xorg.conf(5)
 
 
 On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies k...@kukulies.orgwrote:
 
  Paul B Mahol schrieb:
 
   On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:
 
 
  I'm not sure wether syntax has changed but I wanted to cretae an wlan
  acess point
  and tried various things. Under 7.0 I got it working with the following
  command
 
  ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE  wepmode
  on wepkey 0xf00baf00ba weptxkey 1 channel 1
 
 
  I tried this but got a socket error Invalid argument.
 
  Then I tried (from an example in the rum (4) manpage):ifconfig wlan
  create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
  wepkey 0xf00baaf00baa  weptxkey 1 channel 1
 
 
 
 
  Perhaps you want this one:
 
  ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
  CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1
 
 
 
 
  I tried this in rc.conf:
 
  ifconfig_rum0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
  CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1
 
  I got this:
 
  rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
ether 00:11:50:cb:52:10
media: IEEE 802.11 Wireless Ethernet autoselect adhoc (autoselect
  adhoc)
status: no carrier
 
 
  Why no carrier?
  And I would expect more info on the interface like SSID and such.
 
  --
  Christoph
 
 
   and got:
 
 
  wlan0
  ifconfig: SIOCSIFMEDIA (media): Device not configured
 
  But suddenly the wlan0 device is there.
 
  Can anybody fill me in?
 
  --
  Christoph
 
 
 

Wireless changed on 8, you have to define wlans in rc.conf then set the
network up onto the appropriate wlan entry;

example;

wlans_wpi0=wlan0
ifconfig_wlan0=WPA DHCP

Regards

Craig B


___
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: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Christoph Kukulies

Craig Butler schrieb:

On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote:
  

in my rc.conf:
ifconfig_rum0=DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid
ReseauWIFI

Maybe your problem is that wepkey is malformatted in your command
If not, I didn't try to understand, but I also had troubles with the
position of SSID keyword.
(ifconfig arg error, might be your problem)
(btw: I also had problem with ssid containing spaced characters)


Later, I tried to set it up as an hostap, it seems to work well.
But when I try to connect from an other computer, I'm unable to to join the
network.
(running under 7.2, I compiled the kernel adding a define matching my
device, based on a similar (I hope so...) chipset)


good luck


Samuel Martín Moro
CamTrace
{EPITECH.} tek4

Nobody wants to say how this works.
 Maybe nobody knows ...
 Xorg.conf(5)


On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies k...@kukulies.orgwrote:



Paul B Mahol schrieb:

 On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:
  


I'm not sure wether syntax has changed but I wanted to cretae an wlan
acess point
and tried various things. Under 7.0 I got it working with the following
command

ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE  wepmode
on wepkey 0xf00baf00ba weptxkey 1 channel 1


I tried this but got a socket error Invalid argument.

Then I tried (from an example in the rum (4) manpage):ifconfig wlan
create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
wepkey 0xf00baaf00baa  weptxkey 1 channel 1



  

Perhaps you want this one:

ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1





I tried this in rc.conf:

ifconfig_rum0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1

I got this:

rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
  ether 00:11:50:cb:52:10
  media: IEEE 802.11 Wireless Ethernet autoselect adhoc (autoselect
adhoc)
  status: no carrier


Why no carrier?
And I would expect more info on the interface like SSID and such.

--
Christoph


 and got:
  

wlan0
ifconfig: SIOCSIFMEDIA (media): Device not configured

But suddenly the wlan0 device is there.

Can anybody fill me in?

--
Christoph



  


Wireless changed on 8, you have to define wlans in rc.conf then set the
  


That's why I'm asking :)


network up onto the appropriate wlan entry;

example;

wlans_wpi0=wlan0
ifconfig_wlan0=WPA DHCP

Regards

Craig B

  


Thanks Craig, and also Paul. It looks a bitt better now though still not 
perfect. I don't see the SSID on the network yet

(I filled in a bogus wepkey for posting here, of course):

rc.conf:
wlans_rum0=wlan0
network_interfaces=lo0 rl0 wlan0 # List of network interfaces (or auto).
ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
ifconfig_rl0=inet 172.27.4.219 netmask 255.255.248.0
ifconfig_wlan0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap 
ssid Aachen

wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1
defaultrouter=172.27.2.116

ifconfig:
rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
   ether 00:11:50:cb:52:10
   media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
   status: associated
wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
   ether 00:11:50:cb:52:10
   media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
   status: no carrier
   ssid  channel 10 (2457 Mhz 11g)
   country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
   bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
   protmode CTS bintval 0

Note, that I would like to build up an AP, not a peer to peer or WLAN 
client.


--
Christoph




___
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: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Paul B Mahol
On 1/18/10, Christoph Kukulies k...@kukulies.org wrote:
 Craig Butler schrieb:
 On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote:

 in my rc.conf:
 ifconfig_rum0=DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid
 ReseauWIFI

 Maybe your problem is that wepkey is malformatted in your command
 If not, I didn't try to understand, but I also had troubles with the
 position of SSID keyword.
 (ifconfig arg error, might be your problem)
 (btw: I also had problem with ssid containing spaced characters)


 Later, I tried to set it up as an hostap, it seems to work well.
 But when I try to connect from an other computer, I'm unable to to join
 the
 network.
 (running under 7.2, I compiled the kernel adding a define matching my
 device, based on a similar (I hope so...) chipset)


 good luck


 Samuel Martín Moro
 CamTrace
 {EPITECH.} tek4

 Nobody wants to say how this works.
  Maybe nobody knows ...
  Xorg.conf(5)


 On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies
 k...@kukulies.orgwrote:


 Paul B Mahol schrieb:

  On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:


 I'm not sure wether syntax has changed but I wanted to cretae an wlan
 acess point
 and tried various things. Under 7.0 I got it working with the
 following
 command

 ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE
 wepmode
 on wepkey 0xf00baf00ba weptxkey 1 channel 1


 I tried this but got a socket error Invalid argument.

 Then I tried (from an example in the rum (4) manpage):ifconfig wlan
 create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
 wepkey 0xf00baaf00baa  weptxkey 1 channel 1




 Perhaps you want this one:

 ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
 CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1




 I tried this in rc.conf:

 ifconfig_rum0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
 CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1

 I got this:

 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 2290
   ether 00:11:50:cb:52:10
   media: IEEE 802.11 Wireless Ethernet autoselect adhoc
 (autoselect
 adhoc)
   status: no carrier


 Why no carrier?
 And I would expect more info on the interface like SSID and such.

 --
 Christoph


  and got:

 wlan0
 ifconfig: SIOCSIFMEDIA (media): Device not configured

 But suddenly the wlan0 device is there.

 Can anybody fill me in?

 --
 Christoph





 Wireless changed on 8, you have to define wlans in rc.conf then set the


 That's why I'm asking :)

 network up onto the appropriate wlan entry;

 example;

 wlans_wpi0=wlan0
 ifconfig_wlan0=WPA DHCP

 Regards

 Craig B



 Thanks Craig, and also Paul. It looks a bitt better now though still not
 perfect. I don't see the SSID on the network yet
 (I filled in a bogus wepkey for posting here, of course):

 rc.conf:
 wlans_rum0=wlan0
 network_interfaces=lo0 rl0 wlan0 # List of network interfaces (or auto).
 ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
 ifconfig_rl0=inet 172.27.4.219 netmask 255.255.248.0
 ifconfig_wlan0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap
 ssid Aachen

Still incorrect, remove wlan create wlandev rum0

  wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1
 defaultrouter=172.27.2.116

 ifconfig:
 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
 ether 00:11:50:cb:52:10
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
 status: associated
 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
 ether 00:11:50:cb:52:10
 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
 status: no carrier
 ssid  channel 10 (2457 Mhz 11g)
 country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
 protmode CTS bintval 0

 Note, that I would like to build up an AP, not a peer to peer or WLAN
 client.

BTW rum(4) is crap in hostap mode.

-- 
Paul B Mahol
___
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: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Christoph Kukulies

Paul B Mahol schrieb:

On 1/18/10, Christoph Kukulies k...@kukulies.org wrote:
  

Craig Butler schrieb:


On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote:

  

in my rc.conf:
ifconfig_rum0=DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid
ReseauWIFI

Maybe your problem is that wepkey is malformatted in your command
If not, I didn't try to understand, but I also had troubles with the
position of SSID keyword.
(ifconfig arg error, might be your problem)
(btw: I also had problem with ssid containing spaced characters)


Later, I tried to set it up as an hostap, it seems to work well.
But when I try to connect from an other computer, I'm unable to to join
the
network.
(running under 7.2, I compiled the kernel adding a define matching my
device, based on a similar (I hope so...) chipset)


good luck


Samuel Martín Moro
CamTrace
{EPITECH.} tek4

Nobody wants to say how this works.
 Maybe nobody knows ...
 Xorg.conf(5)


On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies
k...@kukulies.orgwrote:




Paul B Mahol schrieb:

 On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:

  

I'm not sure wether syntax has changed but I wanted to cretae an wlan
acess point
and tried various things. Under 7.0 I got it working with the
following
command

ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE
wepmode
on wepkey 0xf00baf00ba weptxkey 1 channel 1


I tried this but got a socket error Invalid argument.

Then I tried (from an example in the rum (4) manpage):ifconfig wlan
create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
wepkey 0xf00baaf00baa  weptxkey 1 channel 1




  

Perhaps you want this one:

ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1






I tried this in rc.conf:

ifconfig_rum0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1

I got this:

rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
2290
  ether 00:11:50:cb:52:10
  media: IEEE 802.11 Wireless Ethernet autoselect adhoc
(autoselect
adhoc)
  status: no carrier


Why no carrier?
And I would expect more info on the interface like SSID and such.

--
Christoph


 and got:

  

wlan0
ifconfig: SIOCSIFMEDIA (media): Device not configured

But suddenly the wlan0 device is there.

Can anybody fill me in?

--
Christoph




  

Wireless changed on 8, you have to define wlans in rc.conf then set the

  

That's why I'm asking :)



network up onto the appropriate wlan entry;

example;

wlans_wpi0=wlan0
ifconfig_wlan0=WPA DHCP

Regards

Craig B


  

Thanks Craig, and also Paul. It looks a bitt better now though still not
perfect. I don't see the SSID on the network yet
(I filled in a bogus wepkey for posting here, of course):

rc.conf:
wlans_rum0=wlan0
network_interfaces=lo0 rl0 wlan0 # List of network interfaces (or auto).
ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
ifconfig_rl0=inet 172.27.4.219 netmask 255.255.248.0
ifconfig_wlan0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap
ssid Aachen



Still incorrect, remove wlan create wlandev rum0

  

 wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1
defaultrouter=172.27.2.116

ifconfig:
rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
ether 00:11:50:cb:52:10
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:11:50:cb:52:10
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid  channel 10 (2457 Mhz 11g)
country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
protmode CTS bintval 0

Note, that I would like to build up an AP, not a peer to peer or WLAN
client.



BTW rum(4) is crap in hostap mode.

  


This is what it looks like now:

rc.conf:

wlans_rum0=wlan0
network_interfaces=lo0 rl0 wlan0 # List of network interfaces (or auto).
ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
ifconfig_rl0=inet 172.27.4.219 netmask 255.255.248.0
ifconfig_wlan0=10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on 
wepkey 0xf00baaf00baaweptxkey 1 channel 1

defaultrouter=172.27.2.116

ifconfig:


rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
   ether 00:11:50:cb:52:10
   media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
   status: associated
wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
   ether 00:11:50:cb:52:10
   media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
   status: no carrier
   ssid  channel 11 (2462 Mhz 11g)
 

Re: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Craig Butler


On Mon, 2010-01-18 at 17:56 +0100, Christoph Kukulies wrote:
 Paul B Mahol schrieb:
  On 1/18/10, Christoph Kukulies k...@kukulies.org wrote:

  Craig Butler schrieb:
  
  On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote:
 

  in my rc.conf:
  ifconfig_rum0=DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid
  ReseauWIFI
 
  Maybe your problem is that wepkey is malformatted in your command
  If not, I didn't try to understand, but I also had troubles with the
  position of SSID keyword.
  (ifconfig arg error, might be your problem)
  (btw: I also had problem with ssid containing spaced characters)
 
 
  Later, I tried to set it up as an hostap, it seems to work well.
  But when I try to connect from an other computer, I'm unable to to join
  the
  network.
  (running under 7.2, I compiled the kernel adding a define matching my
  device, based on a similar (I hope so...) chipset)
 
 
  good luck
 
 
  Samuel Martín Moro
  CamTrace
  {EPITECH.} tek4
 
  Nobody wants to say how this works.
   Maybe nobody knows ...
   Xorg.conf(5)
 
 
  On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies
  k...@kukulies.orgwrote:
 
 
  
  Paul B Mahol schrieb:
 
   On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:
 

  I'm not sure wether syntax has changed but I wanted to cretae an wlan
  acess point
  and tried various things. Under 7.0 I got it working with the
  following
  command
 
  ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE
  wepmode
  on wepkey 0xf00baf00ba weptxkey 1 channel 1
 
 
  I tried this but got a socket error Invalid argument.
 
  Then I tried (from an example in the rum (4) manpage):ifconfig wlan
  create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on
  wepkey 0xf00baaf00baa  weptxkey 1 channel 1
 
 
 
 

  Perhaps you want this one:
 
  ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
  CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1
 
 
 
 
  
  I tried this in rc.conf:
 
  ifconfig_rum0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
  CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1
 
  I got this:
 
  rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
  2290
ether 00:11:50:cb:52:10
media: IEEE 802.11 Wireless Ethernet autoselect adhoc
  (autoselect
  adhoc)
status: no carrier
 
 
  Why no carrier?
  And I would expect more info on the interface like SSID and such.
 
  --
  Christoph
 
 
   and got:
 

  wlan0
  ifconfig: SIOCSIFMEDIA (media): Device not configured
 
  But suddenly the wlan0 device is there.
 
  Can anybody fill me in?
 
  --
  Christoph
 
 
 
 

  Wireless changed on 8, you have to define wlans in rc.conf then set the
 

  That's why I'm asking :)
 
  
  network up onto the appropriate wlan entry;
 
  example;
 
  wlans_wpi0=wlan0
  ifconfig_wlan0=WPA DHCP
 
  Regards
 
  Craig B
 
 

  Thanks Craig, and also Paul. It looks a bitt better now though still not
  perfect. I don't see the SSID on the network yet
  (I filled in a bogus wepkey for posting here, of course):
 
  rc.conf:
  wlans_rum0=wlan0
  network_interfaces=lo0 rl0 wlan0 # List of network interfaces (or 
  auto).
  ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
  ifconfig_rl0=inet 172.27.4.219 netmask 255.255.248.0
  ifconfig_wlan0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap
  ssid Aachen
  
 
  Still incorrect, remove wlan create wlandev rum0
 

   wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1
  defaultrouter=172.27.2.116
 
  ifconfig:
  rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
  ether 00:11:50:cb:52:10
  media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
  status: associated
  wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
  ether 00:11:50:cb:52:10
  media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
  status: no carrier
  ssid  channel 10 (2457 Mhz 11g)
  country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
  bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
  protmode CTS bintval 0
 
  Note, that I would like to build up an AP, not a peer to peer or WLAN
  client.
  
 
  BTW rum(4) is crap in hostap mode.
 

 
 This is what it looks like now:
 
 rc.conf:
 
 wlans_rum0=wlan0
 network_interfaces=lo0 rl0 wlan0 # List of network interfaces (or auto).
 ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
 ifconfig_rl0=inet 172.27.4.219 netmask 255.255.248.0
 ifconfig_wlan0=10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on 
 wepkey 0xf00baaf00baaweptxkey 1 channel 1
 defaultrouter=172.27.2.116
 
 ifconfig:
 
 
 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290

Re: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Christoph Kukulies

Craig Butler schrieb:



ifconfig_wlan0=10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on
wepkey 0xf00baaf00baaweptxkey 1 channel 1

erm missing inet ??? missing space between the wepkey and weptxkey ??
  


This only was a cut/paste error in the email text, not actually in the 
rc.conf.


But I noticed that I can piecewise add parameters to the wlan0 interface:

ifconfig wlan0 inet 10.0.0.1/24   adds the IP
ifconfig ssid OFFICE adds the ssid

Only passing all parametrs in one line I fail to manage.

--
Christoph


___
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


Any curses gurus on this list? [Was:: {Re: curses init in one line?}]

2010-01-18 Thread Gary Kline
On Sun, Jan 17, 2010 at 07:34:29PM -0800, Gary Kline wrote:
 


I'm going round, round and round.  chasing my tail trying to piece to
gether a simple [ha!] test program that uses curses.  Anybody out there
who know how to fix an output cursor move()ment?  Please write me off
line.
thnks,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
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


immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-18 Thread O. Hartmann
I realise a strange behaviour of several FreeBSD 8.0-STABLE/amd64 boxes. 
All boxes have the most recent STABLE. One box is a UP system, two 
others SMP boxes, one with a Q6600 4-core, another XEON with 2x 4-cores 
(Dell Poweredge III).


Symptome: All boxes have ZFS and UFS2 filesystems. Since two weeks or 
so, sometimes the I/O performance drops massively when doing 'svn 
update', 'make world' or even 'make kernel'. It doesn't matter what 
memory and how many cpu the box has, it get stuck for several seconds 
and freezing. On the UP box, this is sometimes for 10 - 20 seconds.
A very interesting phenomenon is the massively delayed file writing on 
ZFS filesystems I realise. Editing a file in 'vi' running on one XTerm 
and having in another Xterminal my shell for compiling this file, it 
takes sometimes up to 20 seconds to get the file updated after it has 
been written. It's like having an old, slow NFS connection with long 
cache delays.
These massively delayed file transactions are not necessarely under 
heavy load, sometimes they occur in a relaxed situation. They seem to 
occur much more often on the UP box than on the SMP boxes, but this 
strange phenomenon also occur on the Dell Poweredge II, which has 16GB 
RAM and summa summarum 16 cores. This phenomenon does occur on ZFS- and 
UFS2 filesystems as well. It is hardly reproducable.


Is there any known issue?

Ragrds,
Oliver
___
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: curses init in one line?

2010-01-18 Thread Polytropon
On Sun, 17 Jan 2010 19:34:29 -0800, Gary Kline kl...@thought.org wrote:
 
   this is going to sound a bit off the wall, and it may have only worked
   in FBSD [if I wasn't imagining it], but is there a way to get into 
   curses/ncurses mode in one short line?  it has been years but I think
   somebody sent me the magic code, for either a shell scrippt or a C
   program.  

It's quite easy, let me demonstrate it with this
example program:


/* curses_attributes_test.c (-lncurses required) */

#include curses.h

int main(void)
{
initscr();
cbreak();
noecho();
nonl();
intrflush(stdscr, FALSE);
keypad(stdscr, TRUE);
start_color();


attrset(A_NORMAL);
printw(Normal display (no highlight)\n);
printw(\n);

attrset(A_STANDOUT);
printw(Best highlighting mode of the terminal.\n);
printw(\n);

attrset(A_UNDERLINE);
printw(Underlining\n);
printw(\n);

attrset(A_REVERSE);
printw(Reverse video\n);
printw(\n);

attrset(A_BLINK);
printw(Blinking\n);
printw(\n);

attrset(A_DIM);
printw(Half bright\n);
printw(\n);

attrset(A_BOLD);
printw(Extra bright or bold\n);
printw(\n);

refresh();

return 0;
}

The initsrc() funtion is the key.



   I do not have it anywhere in my C files.  

But in the manpage. :-)




-- 
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: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-18 Thread Morgan Wesström
O. Hartmann wrote:
 I realise a strange behaviour of several FreeBSD 8.0-STABLE/amd64 boxes.
 All boxes have the most recent STABLE. One box is a UP system, two
 others SMP boxes, one with a Q6600 4-core, another XEON with 2x 4-cores
 (Dell Poweredge III).
 
 Symptome: All boxes have ZFS and UFS2 filesystems. Since two weeks or
 so, sometimes the I/O performance drops massively when doing 'svn
 update', 'make world' or even 'make kernel'. It doesn't matter what
 memory and how many cpu the box has, it get stuck for several seconds
 and freezing. On the UP box, this is sometimes for 10 - 20 seconds.
 A very interesting phenomenon is the massively delayed file writing on
 ZFS filesystems I realise. Editing a file in 'vi' running on one XTerm
 and having in another Xterminal my shell for compiling this file, it
 takes sometimes up to 20 seconds to get the file updated after it has
 been written. It's like having an old, slow NFS connection with long
 cache delays.
 These massively delayed file transactions are not necessarely under
 heavy load, sometimes they occur in a relaxed situation. They seem to
 occur much more often on the UP box than on the SMP boxes, but this
 strange phenomenon also occur on the Dell Poweredge II, which has 16GB
 RAM and summa summarum 16 cores. This phenomenon does occur on ZFS- and
 UFS2 filesystems as well. It is hardly reproducable.
 
 Is there any known issue?
 
 Ragrds,
 Oliver


The disks involved don't happen to be Western Digital Green Power disks,
do they? The Intelli-Park function in these disks are wrecking havoc
with I/O in Linux-land at least, causing massive stalls and iowait
through the roof during the 25-30 seconds it takes for the heads to
unload after parking. I have two of these disks sitting on my desk now
collecting dust...
/Morgan
___
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: rum0 acting as an Access point (belkin router) 8.0 R

2010-01-18 Thread Paul B Mahol
On 1/18/10, Christoph Kukulies k...@kukulies.org wrote:
 Paul B Mahol schrieb:
 On 1/18/10, Christoph Kukulies k...@kukulies.org wrote:

 Craig Butler schrieb:

 On Mon, 2010-01-18 at 16:25 +0100, Samuel Martin Moro wrote:


 in my rc.conf:
 ifconfig_rum0=DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid
 ReseauWIFI

 Maybe your problem is that wepkey is malformatted in your command
 If not, I didn't try to understand, but I also had troubles with the
 position of SSID keyword.
 (ifconfig arg error, might be your problem)
 (btw: I also had problem with ssid containing spaced characters)


 Later, I tried to set it up as an hostap, it seems to work well.
 But when I try to connect from an other computer, I'm unable to to join
 the
 network.
 (running under 7.2, I compiled the kernel adding a define matching my
 device, based on a similar (I hope so...) chipset)


 good luck


 Samuel Martin Moro
 CamTrace
 {EPITECH.} tek4

 Nobody wants to say how this works.
  Maybe nobody knows ...
  Xorg.conf(5)


 On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies
 k...@kukulies.orgwrote:



 Paul B Mahol schrieb:

  On 1/15/10, Christoph Kukulies k...@kukulies.org wrote:


 I'm not sure wether syntax has changed but I wanted to cretae an
 wlan
 acess point
 and tried various things. Under 7.0 I got it working with the
 following
 command

 ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE
 wepmode
 on wepkey 0xf00baf00ba weptxkey 1 channel 1


 I tried this but got a socket error Invalid argument.

 Then I tried (from an example in the rum (4) manpage):ifconfig wlan
 create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode
 on
 wepkey 0xf00baaf00baa  weptxkey 1 channel 1





 Perhaps you want this one:

 ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid
 CITYOFFICE wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1





 I tried this in rc.conf:

 ifconfig_rum0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap
 ssid
 CITYOFFICE  wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1

 I got this:

 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 2290
   ether 00:11:50:cb:52:10
   media: IEEE 802.11 Wireless Ethernet autoselect adhoc
 (autoselect
 adhoc)
   status: no carrier


 Why no carrier?
 And I would expect more info on the interface like SSID and such.

 --
 Christoph


  and got:


 wlan0
 ifconfig: SIOCSIFMEDIA (media): Device not configured

 But suddenly the wlan0 device is there.

 Can anybody fill me in?

 --
 Christoph





 Wireless changed on 8, you have to define wlans in rc.conf then set the


 That's why I'm asking :)


 network up onto the appropriate wlan entry;

 example;

 wlans_wpi0=wlan0
 ifconfig_wlan0=WPA DHCP

 Regards

 Craig B



 Thanks Craig, and also Paul. It looks a bitt better now though still not
 perfect. I don't see the SSID on the network yet
 (I filled in a bogus wepkey for posting here, of course):

 rc.conf:
 wlans_rum0=wlan0
 network_interfaces=lo0 rl0 wlan0 # List of network interfaces (or
 auto).
 ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
 ifconfig_rl0=inet 172.27.4.219 netmask 255.255.248.0
 ifconfig_wlan0=wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap
 ssid Aachen


 Still incorrect, remove wlan create wlandev rum0


  wepmode on wepkey 0xf00baaf00baa  weptxkey 1 channel 1
 defaultrouter=172.27.2.116

 ifconfig:
 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 2290
 ether 00:11:50:cb:52:10
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
 status: associated
 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 1500
 ether 00:11:50:cb:52:10
 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
 status: no carrier
 ssid  channel 10 (2457 Mhz 11g)
 country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid
 60
 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
 protmode CTS bintval 0

 Note, that I would like to build up an AP, not a peer to peer or WLAN
 client.


 BTW rum(4) is crap in hostap mode.



 This is what it looks like now:

Argh sorry, you need to use:
create_args_wlan0=wlanmode hostap

And put remaining stuf into ifconfig line.

 rc.conf:

 wlans_rum0=wlan0
 network_interfaces=lo0 rl0 wlan0 # List of network interfaces (or auto).
 ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
 ifconfig_rl0=inet 172.27.4.219 netmask 255.255.248.0
 ifconfig_wlan0=10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on
 wepkey 0xf00baaf00baaweptxkey 1 channel 1
 defaultrouter=172.27.2.116

 ifconfig:


 rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
 ether 00:11:50:cb:52:10
 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
 status: associated
 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
 

Re: library problems with sound-juicer

2010-01-18 Thread Marco Beishuizen

On Fri, 15 Jan 2010, Marco Beishuizen wrote:



Hi,

When trying to portupgrade sound-juicer I get:

...
/usr/bin/ld: warning: libssl.so.5, needed by /usr/local/lib/libneon.so, may 
conflict with libssl.so.7

/usr/lib/libkrb5.so: undefined reference to `hx509_certs_init'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_serialnumber'
/usr/lib/libkrb5.so: undefined reference to 
`hx509_cert_find_subjectAltName_otherName'

/usr/lib/libkrb5.so: undefined reference to `hx509_certs_find'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_attach_anchors'
/usr/lib/libkrb5.so: undefined reference to `hx509_query_alloc'
/usr/lib/libkrb5.so: undefined reference to `hx509_get_error_string'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_unenvelope'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_add_password'
/usr/lib/libkrb5.so: undefined reference to `hx509_revoke_init'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_hostname'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_unwrap_ContentInfo'
/usr/lib/libkrb5.so: undefined reference to `hx509_prompt_hidden'
/usr/lib/libkrb5.so: undefined reference to `hx509_name_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_check_eku'
/usr/lib/libkrb5.so: undefined reference to `hx509_name_binary'
/usr/lib/libkrb5.so: undefined reference to `hx509_certs_append'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_destroy_ctx'
/usr/lib/libkrb5.so: undefined reference to `hx509_name_to_Name'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_wrap_ContentInfo'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_issuer'
/usr/lib/libkrb5.so: undefined reference to `hx509_free_octet_string_list'
/usr/lib/libkrb5.so: undefined reference to `hx509_certs_iter'
/usr/lib/libkrb5.so: undefined reference to `hx509_revoke_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_subject'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_attach_revoke'
/usr/lib/libkrb5.so: undefined reference to `hx509_get_one_cert'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_init_ctx'
/usr/lib/libkrb5.so: undefined reference to `hx509_revoke_add_crl'
/usr/lib/libkrb5.so: undefined reference to `hx509_context_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_create_signed_1'
/usr/lib/libkrb5.so: undefined reference to `hx509_name_is_null_p'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_verify_signed'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_free'
/usr/lib/libkrb5.so: undefined reference to 
`hx509_context_set_missing_revoke'

/usr/lib/libkrb5.so: undefined reference to `hx509_query_match_option'
/usr/lib/libkrb5.so: undefined reference to `hx509_query_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_init'
/usr/lib/libkrb5.so: undefined reference to 
`hx509_verify_set_proxy_certificate'

/usr/lib/libkrb5.so: undefined reference to `hx509_certs_free'
/usr/lib/libkrb5.so: undefined reference to `hx509_context_init'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_set_prompter'
/usr/lib/libkrb5.so: undefined reference to `hx509_crypto_available'
gmake[2]: *** [sound-juicer] Error 1
gmake[2]: Leaving directory 
`/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.1/src'

...


After doing a portupgrade -Rrf sound-juicer, this problem seems to have 
disappeared.


Marco

--
Flattery will get you everywhere.
___
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: Newbie gmirror questions

2010-01-18 Thread Mike Clarke
On Sunday 17 January 2010, Matthew Seaman wrote:

 However, one of the really amazingly brilliant things about geom is
 that just about any disk / storage related thing can be a geom
 provider, and geom constructs will nest very happily.  Here's a howto
 for setting up gmirror across a pair of slices:

 http://people.freebsd.org/~rse/mirror/

That's a very interesting article. Since I'll be able to configure the 
mirror on the new drives before installing any software my approach can 
be a bit simpler.

In the example he's using a single partition for the whole disk but 
reduces the size if the partition by one block so that the mirror's 
meta data doesn't get misinterpreted as whole disk meta data. Since I 
anticipate using only the first 2 partitions for a couple of mirrors 
and using the rest of the disk as plain partitions then I don't think I 
need to do this but might it still be a good idea to reduce the last 
partition by one block anyway in case my usage changes in the future?

-- 
Mike Clarke
___
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


/etc/hosts.deniedssh

2010-01-18 Thread David Southwell
Examples from hosts.deniedssh
I seem to be on the receiving end of a concerted series of unsuccessful break 
in attacks on one of our systems. One small part of the attack has  resulted 
in over 2000 entries in our hosts.deniedssh file in less than 1 hour. 

I would be interested in any comments on the small example shown below and any 
advice.

Thanks in advance

David
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
mail.munisanmiguel.gob.pe
port-83-236-241-198.static.qsc.de
pd95b50ce.dip0.t-ipconnect.de
v32641.1blu.de
dubovik.net
r200-40-132-245.static.adinet.com.uy
___
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: /etc/hosts.deniedssh

2010-01-18 Thread Adam Vande More
On Mon, Jan 18, 2010 at 4:39 PM, David Southwell da...@vizion2000.netwrote:

 Examples from hosts.deniedssh
 I seem to be on the receiving end of a concerted series of unsuccessful
 break
 in attacks on one of our systems. One small part of the attack has
  resulted
 in over 2000 entries in our hosts.deniedssh file in less than 1 hour.

 I would be interested in any comments on the small example shown below and
 any
 advice.

 Thanks in advance

 David
 r200-40-132-245.static.adinet.com.uy
 mail.munisanmiguel.gob.pe
 port-83-236-241-198.static.qsc.de
 pd95b50ce.dip0.t-ipconnect.de
 v32641.1blu.de
 dubovik.net
 r200-40-132-245.static.adinet.com.uy
 mail.munisanmiguel.gob.pe
 port-83-236-241-198.static.qsc.de
 pd95b50ce.dip0.t-ipconnect.de
 v32641.1blu.de
 dubovik.net
 r200-40-132-245.static.adinet.com.uy
 mail.munisanmiguel.gob.pe
 port-83-236-241-198.static.qsc.de
 pd95b50ce.dip0.t-ipconnect.de
 v32641.1blu.de
 dubovik.net
 r200-40-132-245.static.adinet.com.uy
 mail.munisanmiguel.gob.pe
 port-83-236-241-198.static.qsc.de
 pd95b50ce.dip0.t-ipconnect.de
 v32641.1blu.de
 dubovik.net
 r200-40-132-245.static.adinet.com.uy
 mail.munisanmiguel.gob.pe
 port-83-236-241-198.static.qsc.de
 pd95b50ce.dip0.t-ipconnect.de
 v32641.1blu.de
 dubovik.net
 r200-40-132-245.static.adinet.com.uy
 mail.munisanmiguel.gob.pe
 port-83-236-241-198.static.qsc.de
 pd95b50ce.dip0.t-ipconnect.de
 v32641.1blu.de
 dubovik.net
 r200-40-132-245.static.adinet.com.uy
 mail.munisanmiguel.gob.pe
 port-83-236-241-198.static.qsc.de
 pd95b50ce.dip0.t-ipconnect.de
 v32641.1blu.de
 dubovik.net
 r200-40-132-245.static.adinet.com.uy


Looks like your conf could use some love.  Why are you resolving ip's?
Thresholds can be lowered.  Are you syncing with remote 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: /etc/hosts.deniedssh

2010-01-18 Thread Ed Jobs
On Tuesday 19 January 2010 00:39, David Southwell wrote:
 Examples from hosts.deniedssh
 I seem to be on the receiving end of a concerted series of unsuccessful
  break in attacks on one of our systems. One small part of the attack 
has 
  resulted in over 2000 entries in our hosts.deniedssh file in less than 1
  hour.
 
 I would be interested in any comments on the small example shown 
below and
  any advice.
 
 Thanks in advance
 
 David
snip

2k entries are too much indeed. are you running ssh on port 22?
if yes, (and your users are ok with it) you can change it to another port.
or maybe, temporary disable ssh login and use cron to enable it again in 
some time in the future.

-- 
Save the whales.  Club a seal instead.


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


Re: curses init in one line?

2010-01-18 Thread Gary Kline
On Mon, Jan 18, 2010 at 09:21:36PM +0100, Polytropon wrote:
 On Sun, 17 Jan 2010 19:34:29 -0800, Gary Kline kl...@thought.org wrote:
  
  this is going to sound a bit off the wall, and it may have only worked
  in FBSD [if I wasn't imagining it], but is there a way to get into 
  curses/ncurses mode in one short line?  it has been years but I think
  somebody sent me the magic code, for either a shell scrippt or a C
  program.  
 
 It's quite easy, let me demonstrate it with this
 example program:
 

Whoa, cool, man, thanks.  I'll print this out to save.   a number wrote
off list and I may pick one or two and see if they have a clue why  my
output isn't jibing with what I want.

gary

ps: re Subject line, I remember it let you use /bin/sh without hittin
enter or cr.  there's no easy way of doing that in C!


 
 /* curses_attributes_test.c (-lncurses required) */
 
 #include curses.h
 
 int main(void)
 {
   initscr();
   cbreak();
   noecho();
   nonl();
   intrflush(stdscr, FALSE);
   keypad(stdscr, TRUE);
   start_color();
 
 
   attrset(A_NORMAL);
   printw(Normal display (no highlight)\n);
   printw(\n);
 
   attrset(A_STANDOUT);
   printw(Best highlighting mode of the terminal.\n);
   printw(\n);
 
   attrset(A_UNDERLINE);
   printw(Underlining\n);
   printw(\n);
 
   attrset(A_REVERSE);
   printw(Reverse video\n);
   printw(\n);
 
   attrset(A_BLINK);
   printw(Blinking\n);
   printw(\n);
 
   attrset(A_DIM);
   printw(Half bright\n);
   printw(\n);
 
   attrset(A_BOLD);
   printw(Extra bright or bold\n);
   printw(\n);
 
   refresh();
 
   return 0;
 }
 
 The initsrc() funtion is the key.
 
 
 
  I do not have it anywhere in my C files.  
 
 But in the manpage. :-)
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
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: immense delayed write to file system (ZFS and UFS2), performance issues

2010-01-18 Thread Daniel O'Connor
On Tue, 19 Jan 2010, Morgan Wesström wrote:
 The disks involved don't happen to be Western Digital Green Power
 disks, do they? The Intelli-Park function in these disks are wrecking
 havoc with I/O in Linux-land at least, causing massive stalls and
 iowait through the roof during the 25-30 seconds it takes for the
 heads to unload after parking. I have two of these disks sitting on
 my desk now collecting dust...

There's this..
http://www.silentpcreview.com/Terabyte_Drive_Fix

and you can get the tool at..
http://home.arcor.de/ghostadmin/wdidle3_1_00.zip

I am planning to try this out tonight..

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


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


ffmpeg port build failing

2010-01-18 Thread Jamie Griffin
Hello

I'm trying to install gimp from ports but one of its dependencies is
failing, ffmpeg. This is the error its failing on:

libavdevice/v412.c:41:23: erro: asm/types.h: No such file or directory
In file included from libavdevice/v412.c:42:
/usr/local/include/linux/videodev2.h:430: warning: declararion does not
declare anything
/usr/local/include/linux/videodev2.h:837: warning: declararion does not
declare anything
/usr/local/include/linux/videodev2.h:930: warning: declararion does not
declare anything
/usr/local/include/linux/videodev2.h:1478: warning: declararion does not
declare anything
/usr/local/include/linux/videodev2.h:1600: warning: declararion does not
declare anything
/usr/local/include/linux/videodev2.h:1651: warning: declararion does not
declare anything
gmake: ***[libavdevice/v412.o] Error 1


(I think that's all of the relevant part of the output.)

I wondered if anyone knows what could be wrong here, and how I can get
it to build?

Jamie

___
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: ffmpeg port build failing

2010-01-18 Thread Yuri Pankov
On Tue, Jan 19, 2010 at 02:51:15AM +, Jamie Griffin wrote:
 Hello
 
 I'm trying to install gimp from ports but one of its dependencies is
 failing, ffmpeg. This is the error its failing on:
 
 libavdevice/v412.c:41:23: erro: asm/types.h: No such file or directory
 In file included from libavdevice/v412.c:42:
 /usr/local/include/linux/videodev2.h:430: warning: declararion does not
 declare anything
 /usr/local/include/linux/videodev2.h:837: warning: declararion does not
 declare anything
 /usr/local/include/linux/videodev2.h:930: warning: declararion does not
 declare anything
 /usr/local/include/linux/videodev2.h:1478: warning: declararion does not
 declare anything
 /usr/local/include/linux/videodev2.h:1600: warning: declararion does not
 declare anything
 /usr/local/include/linux/videodev2.h:1651: warning: declararion does not
 declare anything
 gmake: ***[libavdevice/v412.o] Error 1
 
 
 (I think that's all of the relevant part of the output.)
 
 I wondered if anyone knows what could be wrong here, and how I can get
 it to build?
 
 Jamie

Problem here is in multimedia/v4l_compat port, which was recently
updated to install include/linux/videodev2.h. You could try uninstalling
it or moving include/linux/videodev2.h away when you are building ffmpeg.


HTH,
Yuri
___
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


Serious problems updating Current after switching to libxul.

2010-01-18 Thread keneasson
Hello,

I'm running Freebsd 8.0-Stable #9 Dec 17/09 on amd64. I'm running gnome, and at 
the time i started my update i was at Gnome 2.26

I went through UPDATING and tried to switch from firefox 2 which is marked 
ignore to libxul by changing WITH_GECKO=libxul removed firefox3 and installed 
firefox35
I used UPDATING to try and sort out libxul, but it seems i have some cyclic 
dependencies.

I use portmaster (i did try to rebuild things for portupgrade and try, but it 
had bigger problems and i couldn't even update the index.) I keep updating my 
ports tree (cvsup) i used portsnap, and it seems that was when my problems 
started, i rm -rf /usr/ports/* and cvsupped the entire thing back at one point.

I got an error which seems to have started the whole ugly affair with 
/usr/ports/Mk/bsd.gecko.mk causing post patch issues, the main problem seemed 
to be e2fsprogs-libuuid which i was unable to rebuild due to it wanting a 
bsd.gecko.mk patch which from what i've read is now removed with firefox2, i 
deleted stuff till i got around that for now... but...

at present my key problem is a cyclic dependency when i try and rebuilt pretty 
much anything, with libxul as the main issue.

glib20 =gt; libxul =gt;glib20 =gt; libxul =gt;glib20 =gt; libxul 
=gt;glib20 =gt; libxul =gt;glib20 =gt; libxul =gt;glib20 

I have tried installing the package for both. i've tried pkg_deleting both then 
installing the port, or using portmaster, i've tried portmaster 
--check-depends, i've tried portmaster -e to remove them and try and re-install 
them. I've removed about 1/2 my system and now have even more problems. (i 
removed gettext and now portmaster complains about missing libintl.so.8 not 
found. 

at best i get a much larger cyclic loop with:
glib20 =gt; libtool22 =gt; libiconv =gt; gettetxt =gt; atk =gt; libgmp4 
=gt; farsight =gt; gdm =gt; libxul =gt; glib20 

or some other combination of the cycle.

Can anyone help me get my system back up and running?

make.conf looks like this:
WITH_MYSQL_VER=51
APACHE_VERSION=22
OVERRIDE_LINUX_BASE_PORT=f8
WWWDIR = /web/phpmyadmin
WITH_CUPS=yes
CUPS_OVERWRITE_BASE=true
#NO_LPR=true
USE_GECKO=libxul
# Begin portconf settings
# Do not touch these lines
.if !empty(.CURDIR:M/usr/ports*) amp;amp; exists(/usr/local/libexec/portconf)
_PORTCONF!=/usr/local/libexec/portconf
.for i in ${_PORTCONF:S/|/ /g}
${i:S/%/ /g}
.endfor
.endif
# End portconf settings
# added by use.perl 2009-09-19 16:22:20
PERL_VERSION=5.10.1


thanks
ken
___
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: ffmpeg port build failing

2010-01-18 Thread Jamie Griffin
 
 Problem here is in multimedia/v4l_compat port, which was recently
 updated to install include/linux/videodev2.h. You could try uninstalling
 it or moving include/linux/videodev2.h away when you are building ffmpeg.

tried both those options, neither one works unfortunately. hmmm. 

Thanks for trying though. 

Jamie
___
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: ffmpeg port build failing

2010-01-18 Thread Yuri Pankov
On Tue, Jan 19, 2010 at 03:45:48AM +, Jamie Griffin wrote:
  
  Problem here is in multimedia/v4l_compat port, which was recently
  updated to install include/linux/videodev2.h. You could try uninstalling
  it or moving include/linux/videodev2.h away when you are building ffmpeg.
 
 tried both those options, neither one works unfortunately. hmmm. 

Helped here.
I hope you did run `make clean` after removing v4l_compat port?

 Thanks for trying though. 
 
 Jamie


Yuri
___
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: ffmpeg port build failing

2010-01-18 Thread Jamie Griffin
 I hope you did run `make clean` after removing v4l_compat port?

Hi Yuri, I had not done `make clean`, but doing so did make it install
ok. Thanks for you help. 

Jamie 
___
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't build pidgin...

2010-01-18 Thread Gary Kline

when I do a make install clean in net-im/pidgin I constantly get rejects about
the datestamp being wrong and the file is not retrieved.  any help will be
greatly appreciated.

tia... .

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
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: Dislike the way port conflicts are handled now

2010-01-18 Thread Jonathan McKeown
On Monday 18 January 2010 17:48:37 b. f. wrote:
 Argh!  Stop! I wish that people who felt the need to add to this
 thread would read the prior posts beforehand, and consider their
 comments before posting.

I don't know why you assume people didn't. I read the whole thread. I saw 
people who had individual special requirements, but I didn't see anything 
that suggested I was wrong in assuming the most common use case, by far, to 
be downloading and building a port in order to install it.

Assuming that *is* indeed the commonest use case, this change makes life a 
little more difficult for almost everyone in order to save possibly as much 
as tens of minutes of wasted time for a few people.

Worse than that, the new behaviour either increases downtime (by requiring 
that the conflicting port be removed before even starting to download the 
replacement) or requires, as you pointed out, setting a risky option which if 
accidentally misused, could break the whole system.

I still think it's an ill-considered change for the worse to make the new 
behaviour the default.

Jonathan
___
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: /etc/hosts.deniedssh

2010-01-18 Thread Erik Norgaard

David Southwell wrote:

Examples from hosts.deniedssh
I seem to be on the receiving end of a concerted series of unsuccessful break 
in attacks on one of our systems. One small part of the attack has  resulted 
in over 2000 entries in our hosts.deniedssh file in less than 1 hour. 

I would be interested in any comments on the small example shown below and any 
advice.


1. see thread from last week denying spam hosts ssh access
2. don't resolve ips
3. do a sort, you'll see that many come from the same network, possibly 
the same node with a new IP, block entire ranges, blocking individual 
ip's is futile.

4. consider blocking in your firewall
5. don't worry, unsuccesfull attacks are - well, unsuccesfull

BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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