Re: speed in extracting rar files - unrar vs. 7z

2009-03-21 Thread Wojciech Puchar
do you have softdep enabled. if no, and the are lot of small files, it may 
be this.

you said CPU load is low
___
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


Compression with *.zip output

2009-03-21 Thread Zbigniew Szalbot
Hello,

Is there a command utility to help me compress files with *.zip extenstion
so that windows users can download and unpack it without using any special
software?

Man gzip suggests -S switch but when I tried it, I could not open the file
under windows. Many thanks for your suggestions!

Have a nice weekend!


-- 
Zbigniew Szalbot

___
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: Compression with *.zip output

2009-03-21 Thread Manolis Kiagias
Zbigniew Szalbot wrote:
 Hello,

 Is there a command utility to help me compress files with *.zip extenstion
 so that windows users can download and unpack it without using any special
 software?

 Man gzip suggests -S switch but when I tried it, I could not open the file
 under windows. Many thanks for your suggestions!

 Have a nice weekend!


   

I believe you are looking for archivers/zip
___
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: Compression with *.zip output

2009-03-21 Thread Wojciech Puchar


Is there a command utility to help me compress files with *.zip extenstion
so that windows users can download and unpack it without using any special
software?


ports/archivers/zip



Man gzip suggests -S switch but when I tried it, I could not open the file
under windows. Many thanks for your suggestions!

Have a nice weekend!


--
Zbigniew Szalbot

___
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: Compression with *.zip output

2009-03-21 Thread Zbigniew Szalbot
Hi there,

 I believe you are looking for archivers/zip

Indeed I was! :) Thank you Manolis!

$ zip easter *.mov
created an easter.zip file with all the mov files in the archive. Great as
I was afraid I would have to download the files, archive them and then
upload which would take an awful lot of time!

Thanks again!

-- 
Zbigniew Szalbot

___
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: Compression with *.zip output

2009-03-21 Thread Polytropon
On Sat, 21 Mar 2009 08:47:06 +0100 (CET), Zbigniew Szalbot 
z.szal...@lcwords.com wrote:
 Hello,
 
 Is there a command utility to help me compress files with *.zip extenstion
 so that windows users can download and unpack it without using any special
 software?

Maybe this is a stupid follow-up question, but... since WHEN is
Windows able to handle any kind of archive file (except its
own CAB format) without installing any third party software?

Windows users NEED to install additional software for every
little piece that a proper OS should be able to do on its own...





-- 
Polytropon
From 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: Compression with *.zip output

2009-03-21 Thread Zbigniew Szalbot

 On Sat, 21 Mar 2009 08:47:06 +0100 (CET), Zbigniew Szalbot
 z.szal...@lcwords.com wrote:
 Hello,

 Is there a command utility to help me compress files with *.zip
 extenstion
 so that windows users can download and unpack it without using any
 special
 software?

 Maybe this is a stupid follow-up question, but... since WHEN is
 Windows able to handle any kind of archive file (except its
 own CAB format) without installing any third party software?

 Windows users NEED to install additional software for every
 little piece that a proper OS should be able to do on its own...

I do not feel in any position to speak for Windows OS but I do not have
any special archiver in my XP system. There's some utility built into the
system that allows you to unpack or archive files in zip extension.

-- 
Zbigniew Szalbot

___
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: Compression with *.zip output

2009-03-21 Thread Manolis Kiagias
Polytropon wrote:
 On Sat, 21 Mar 2009 08:47:06 +0100 (CET), Zbigniew Szalbot 
 z.szal...@lcwords.com wrote:
   
 Hello,

 Is there a command utility to help me compress files with *.zip extenstion
 so that windows users can download and unpack it without using any special
 software?
 

 Maybe this is a stupid follow-up question, but... since WHEN is
 Windows able to handle any kind of archive file (except its
 own CAB format) without installing any third party software?

 Windows users NEED to install additional software for every
 little piece that a proper OS should be able to do on its own...

   
Wildly off-topic as we are discussing Windows, but all recent versions
(XP, Vista, etc) can handle zip files. They call them compressed
folders (don't confuse with NTFS compression though) and even have a
silly wizard-like interface for extracting files from them.  If you
don't like it you can always install WinZip to take over this function.

___
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: Compression with *.zip output

2009-03-21 Thread Polytropon
First of all, thanks for enlightening me. I don't use any
MICROS~1 products so it was a really honest question. Whenever
I needed interoperability with a Windows PC, there was the
big problem: For any additional functionality foo you needed
to install WinFoo. There was nothing from the OS's side.

On Sat, 21 Mar 2009 12:27:20 +0200, Manolis Kiagias sonic200...@gmail.com 
wrote:
 Wildly off-topic as we are discussing Windows, but all recent versions
 (XP, Vista, etc) can handle zip files. They call them compressed
 folders (don't confuse with NTFS compression though) and even have a
 silly wizard-like interface for extracting files from them.  If you
 don't like it you can always install WinZip to take over this function.

I've seen WinZip and my stomache reported to me. :-) Much
better is the FAR Manager which handles zip archives (and
many others) just like directories, like the Midnight Commander
does.

It's typical for MICROS~1 to make things more complicated than
they need to be, and invent new names for already known stuff.
The next time someone mentions compressed folders I will know
what he's talking about, and show him some (real) folders I have
compressed to 10cm x 10cm x 10cm handy sized cubes. :-)


-- 
Polytropon
From 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: speed in extracting rar files - unrar vs. 7z

2009-03-21 Thread Ghirai
On Fri, 20 Mar 2009 19:27:02 -0800
Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote:

 On Friday 20 March 2009 17:55:49 RW wrote:
  On Sat, 21 Mar 2009 01:53:16 +0200
 
  Ghirai ghi...@ghirai.com wrote:
   The shareware WinRAR on windows seems to be better implemented
   (?), as it uses both cores to the fullest, and as such the time
   needed to extract stuff is a lot shorter.
 
  IIRC the unix version is portable C, but winrar has a lot of CPU
  specific optimizations.
 
 Among which, being single threaded on unix:
 % ldd /usr/local/bin/unrar
 /usr/local/bin/unrar:
 libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x280ad000)
 libm.so.5 = /lib/libm.so.5 (0x281a1000)
 libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x281bb000)
 libc.so.7 = /lib/libc.so.7 (0x281c6000)
 
 Since disk can read faster then the decompression, a threadpool would
 be able to use both CPU's for decompressing and speed things up. At
 least in theory, but certainly on large files with SATA disks.
 
 I believe 7z uses bigger buffers, which would explain the marginal
 difference in runtime.
 -- 
 Mel
 

That sounds about right, thanks.

This is too bad really, seeing as multicore has gained a lot of
traction, and seems to be getting even more popular in the future.

I forgot to state that the disks are SATA300, and i ran WinRAR on the
same hardware as unrar/7z.

-- 
Regards,
Ghirai.
___
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


Creating a 10km wireless bridge...pointers?

2009-03-21 Thread Modulok
List,

I have been tasked with getting a DSL connection across about 10km of
no-man's-land to a rural location without internet access. Ideally,
all traffic inbetween the two directional antennas would be encrypted.
(Nice, but not entirely required.) 3Mb/s would be great! Something
like:

LAN-BSDrouter-modem-Antenna~~air~~Antenna-modem-DSL

I'm looking for general pointers of both hardware and software to
achieve this. I'd like to employ FreeBSD as much as is feasible. This
is my first WAN network project, so even newbie pointers and general
references would be much appreciated. (Hardware suggestions, books to
read, etc.) Reliability is of mild concern, simply because I don't
want to drive 10km at 3:00am when something breaks.

Tips? References? Advice?
-Modulok-
___
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: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread Polytropon
On Sat, 21 Mar 2009 06:43:01 -0600, Modulok modu...@gmail.com wrote:
 Something
 like:
 
 LAN-BSDrouter-modem-Antenna~~air~~Antenna-modem-DSL

Your BSD router would act as a gateway, eventually using
functions like IPDIVERT and DHCPd via RF. It would then
serve as an AP, put in simple words. This should be achievable
mostly by means of the base OS.

For the RF transmission part, you will need antennas (yagí
type ideally) with a good signal gain and narrow radiation.
It's possible to build them, but I'm sure they're sold, too.
Optionally, a power amplifier (PA) may be added on both
ends to strengthen the signal if it's too low.

In case you have something in the way that hinders a direct
view from your desired AP to the client (e. g. a mountain),
things get a bit more complicated, a repeater would be needed.
But as long as you can see it, you can connect it. :-)

Coming back to your suggestion, I'd express it as follows:

~  ~ 
 V   V
  +--+   |   ~  ~  |
  | wireless NIC |---+   |
DSL in+--- ^ -- v ---+   |   +--+
the wall--*--| ethernet NIC |   +---| wireless NIC |
at your   +--+   +--+
siteyour FreeBSD AP box  client's box

* insert modem if needed

I'm not sure why wou want to employ a modem on the client's
site. If it's only about Internet access, it's usable via the
WLAN component already. If you want to handle IP telephony and
multiple clients... well, more complicated, the client's all in
one modem / spliiter / router / DHCP server / firewall / whatnot
would need to connect to the RF bridge, I'm not sure if this
is possible even if the modem offers WLAN antennas.



 Tips? References? Advice?

Sorry, no. :-) Just some basic thoughts from a radio amateur and
FreeBSD user.



-- 
Polytropon
From 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: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread Outback Dingo
Just take some advice from the owner of a WISP... and a FreeBSD user.

if your only trying to get connectivity a less then 500 USD this is easily
accomplished

buy a couple high end radios with built in antennas, Ubiquiti PowerStations
come to mind, place 1 at each end of the link
if line of sight is close to good, your done. Ive done numerous long
distance links, longest being 17km in extreme terrain

spend the money, have 0 headaches, itll even do PPPoE for the DSL link, if
you want to add a BSD box fine, but in this instance its really not needed.

On Sat, Mar 21, 2009 at 8:16 PM, Polytropon free...@edvax.de wrote:

 On Sat, 21 Mar 2009 06:43:01 -0600, Modulok modu...@gmail.com wrote:
  Something
  like:
 
  LAN-BSDrouter-modem-Antenna~~air~~Antenna-modem-DSL

 Your BSD router would act as a gateway, eventually using
 functions like IPDIVERT and DHCPd via RF. It would then
 serve as an AP, put in simple words. This should be achievable
 mostly by means of the base OS.

 For the RF transmission part, you will need antennas (yagí
 type ideally) with a good signal gain and narrow radiation.
 It's possible to build them, but I'm sure they're sold, too.
 Optionally, a power amplifier (PA) may be added on both
 ends to strengthen the signal if it's too low.

 In case you have something in the way that hinders a direct
 view from your desired AP to the client (e. g. a mountain),
 things get a bit more complicated, a repeater would be needed.
 But as long as you can see it, you can connect it. :-)

 Coming back to your suggestion, I'd express it as follows:

~  ~ 
 V   V
  +--+   |   ~  ~  |
  | wireless NIC |---+   |
 DSL in+--- ^ -- v ---+   |   +--+
 the wall--*--| ethernet NIC |   +---| wireless NIC |
 at your   +--+   +--+
 siteyour FreeBSD AP box  client's box

 * insert modem if needed

 I'm not sure why wou want to employ a modem on the client's
 site. If it's only about Internet access, it's usable via the
 WLAN component already. If you want to handle IP telephony and
 multiple clients... well, more complicated, the client's all in
 one modem / spliiter / router / DHCP server / firewall / whatnot
 would need to connect to the RF bridge, I'm not sure if this
 is possible even if the modem offers WLAN antennas.



  Tips? References? Advice?

 Sorry, no. :-) Just some basic thoughts from a radio amateur and
 FreeBSD user.



 --
 Polytropon
 From 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

___
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: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread bruce
Hi 

Have a look at Microtik's equipment very cheap for what it does and linux 
based, else there is also the Ubiquity Powerstation's, I have used both with 
success, Microtik boasts a 70Km wireless link with the right wireless card and 
antennae :D 

Regards,

Bruce Grobler

On Sat, 21 Mar 2009 06:43:01 -0600, Modulok modu...@gmail.com wrote:
 List,
 
 I have been tasked with getting a DSL connection across about 10km of
 no-man's-land to a rural location without internet access. Ideally,
 all traffic inbetween the two directional antennas would be encrypted.
 (Nice, but not entirely required.) 3Mb/s would be great! Something
 like:
 
 LAN-BSDrouter-modem-Antenna~~air~~Antenna-modem-DSL
 
 I'm looking for general pointers of both hardware and software to
 achieve this. I'd like to employ FreeBSD as much as is feasible. This
 is my first WAN network project, so even newbie pointers and general
 references would be much appreciated. (Hardware suggestions, books to
 read, etc.) Reliability is of mild concern, simply because I don't
 want to drive 10km at 3:00am when something breaks.
 
 Tips? References? Advice?
 -Modulok-
 ___
 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: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread Vasadi I. Claudiu Florin

Doy you have a pre-determined budget for this homework?
have a look at california amplifiers - calamp.com if I remember correctly.
___
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: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread Wojciech Puchar

I'm looking for general pointers of both hardware and software to
achieve this. I'd like to employ FreeBSD as much as is feasible. This


there are LOT of wireless bridges that can do if proper antennas are used.

depending of where you are it may be not legal (output power*antenna gain 
can't be 100mW), like in EU (but nobody usually cares and controls), in US it is legal.


Do not use any afterburners giving power in watt range. Normal 30-100mW 
output are OK.


Example: Smartbridges 2.4Ghz WiFi radios (they are built to be used 
externally)+25dB grid antennas - worked at about real 4Mbit/s in 24km over 
the sea with large operating margin.


It was 11Mbps only radios.

But there are lot of method to do this. i think something like 50km is 
achievable.



Just use one old rule - 1$ for radio, 1000$ for antenna :)
___
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: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread Wojciech Puchar

buy a couple high end radios with built in antennas, Ubiquiti PowerStations


this is excellent if builtin antennas have quite high gains. there are no 
connector losses.


___
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


bash suddenly doesn't like $() syntax

2009-03-21 Thread Michael P. Soulier
Hello,

I'm running the shells/bash port on 6.3, and I recently ran a portupgrade. All
of a sudden when I login, my standard .profile and .bashrc are causing a bunch
of error messages, like so

-bash: command substitution: line 39: syntax error near unexpected token `)'
-bash: command substitution: line 39: `})'

It would see that bash no longer likes the $() command substitution syntax.

Does that mean that it's defaulting to some sort of posix compatibility mode
now? 

Thanks,
Mike
-- 
Michael P. Soulier msoul...@digitaltorque.ca
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgpbgPRU0NsCp.pgp
Description: PGP signature


Re: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread Wojciech Puchar


Have a look at Microtik's equipment very cheap


i don't think it's cheap :)
___
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: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread Wojciech Puchar

Doy you have a pre-determined budget for this homework?
have a look at california amplifiers - calamp.com if I remember correctly.


amplifiers are kind of idiot solution. it just make more mess for 
others.


DO NOT use them unless you REALLY have to == the best antennas are not 
enough.


for 50km it's unlikely you will need it.
___
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: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread Wojciech Puchar


LAN-BSDrouter-modem-Antenna~~air~~Antenna-modem-DSL


Your BSD router would act as a gateway, eventually using
functions like IPDIVERT and DHCPd via RF. It would then
serve as an AP, put in simple words. This should be achievable
mostly by means of the base OS.


Do not use builtin cards for such links unless you like to keep computer 
outside.


long RF cables=LARGE signal loss.

There are LOT of external radiobridges that are designed to be placed 
outside so it's connected to antenna almost directly.

___
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: bash suddenly doesn't like $() syntax

2009-03-21 Thread Lowell Gilbert
Michael P. Soulier msoul...@digitaltorque.ca writes:

 I'm running the shells/bash port on 6.3, and I recently ran a portupgrade. All
 of a sudden when I login, my standard .profile and .bashrc are causing a bunch
 of error messages, like so

 -bash: command substitution: line 39: syntax error near unexpected token `)'
 -bash: command substitution: line 39: `})'

 It would see that bash no longer likes the $() command substitution syntax.

 Does that mean that it's defaulting to some sort of posix compatibility mode
 now? 

That syntax *is* in Posix.

Since the update to bash 4.0, the port needs to be built with bison
instead of the system yacc.  The port has been updated to do this; make
sure you have version 1.111 of the port's Makefile.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread bruce
speaking comparatively, of course :D 

On Sat, 21 Mar 2009 15:10:42 +0100 (CET), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:

 Have a look at Microtik's equipment very cheap
 
 i don't think it's cheap :)

___
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: bash suddenly doesn't like $() syntax

2009-03-21 Thread Daniel Bye
On Sat, Mar 21, 2009 at 08:49:01AM -0400, Michael P. Soulier wrote:
 Hello,
 
 I'm running the shells/bash port on 6.3, and I recently ran a portupgrade. All
 of a sudden when I login, my standard .profile and .bashrc are causing a bunch
 of error messages, like so
 
 -bash: command substitution: line 39: syntax error near unexpected token `)'
 -bash: command substitution: line 39: `})'
 
 It would see that bash no longer likes the $() command substitution syntax.
 
 Does that mean that it's defaulting to some sort of posix compatibility mode
 now? 

It's a bug in bash 4. It was discussed here a few days ago. I would
deinstall v.4 and install shells/bash3 until the bug's fixed.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp4WojuUNcqj.pgp
Description: PGP signature


Re: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread Craig Russell

Depending upon what your budget is, Tranzeo has some excellent wireless 
products that are ideal for point-point links.  Encryption is built-in and they 
can be configured for point-point or point-multipoint (just in case the project 
expands).  One problem that you may run into, if both sides of the link are 
close to the ground, is the fresnel zone.  If one side is higher than the 
other, this shouldn't be a problem.  Two self contained POE radios with 
built-in antanna should run you about $500 and they can be mounted on standard 
satellite dish arms.

I've also used mikrotik products and have generally been very happy with them.  
There is a ton of functionality and I actually use two of them for my core 
routers at my current job.  I think for this project they are overkill and 
there is quite a bit of a learning curve to get them up and running.  If you 
don't plan on deploying anything else, I think that you will find that the 
tranzeo's are a simpler solution.  


Craig 



- Original Message 
From: Modulok modu...@gmail.com
To: freebsd-questions@freebsd.org
Sent: Saturday, March 21, 2009 8:43:01 AM
Subject: Creating a 10km wireless bridge...pointers?

List,

I have been tasked with getting a DSL connection across about 10km of
no-man's-land to a rural location without internet access. Ideally,
all traffic inbetween the two directional antennas would be encrypted.
(Nice, but not entirely required.) 3Mb/s would be great! Something
like:

LAN-BSDrouter-modem-Antenna~~air~~Antenna-modem-DSL

I'm looking for general pointers of both hardware and software to
achieve this. I'd like to employ FreeBSD as much as is feasible. This
is my first WAN network project, so even newbie pointers and general
references would be much appreciated. (Hardware suggestions, books to
read, etc.) Reliability is of mild concern, simply because I don't
want to drive 10km at 3:00am when something breaks.

Tips? References? Advice?
-Modulok-
___
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: bash suddenly doesn't like $() syntax

2009-03-21 Thread Lowell Gilbert
Daniel Bye danie...@slightlystrange.org writes:

 On Sat, Mar 21, 2009 at 08:49:01AM -0400, Michael P. Soulier wrote:
 Hello,
 
 I'm running the shells/bash port on 6.3, and I recently ran a portupgrade. 
 All
 of a sudden when I login, my standard .profile and .bashrc are causing a 
 bunch
 of error messages, like so
 
 -bash: command substitution: line 39: syntax error near unexpected token `)'
 -bash: command substitution: line 39: `})'
 
 It would see that bash no longer likes the $() command substitution syntax.
 
 Does that mean that it's defaulting to some sort of posix compatibility mode
 now? 

 It's a bug in bash 4. It was discussed here a few days ago. I would
 deinstall v.4 and install shells/bash3 until the bug's fixed.

Which happened a week ago.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: portupdate xorg-server

2009-03-21 Thread RW
On Sat, 21 Mar 2009 00:39:31 -0500
Adam Vande More amvandem...@gmail.com wrote:

 RW wrote:
 
  IMO this doesn't make any sense. If portupgrade is failing on a port
  where manual make install works, then portupgrade simply has a
  bug. Any port upgrading tool belongs in a port, because it's more
  important that it responds to changes in the ports system than
  changes in the base system. 
 
  As to upgrading piecemeal rather than with -a, I don't see how that
  helps, and it may actually make things worse by not building in
  dependency order.
  ___
 

 As to the first part of your msg, what you said doesn't make any
 sense to me either.  Never did I claim portupgrade fails where a
 normal make install would succeed.  I would appreciate it if you
 could take my example as I state it instead adding stuff to make it
 sound implausible. 

And I would appreciate it if you actually read what I posted before you
accuse me of making things up.

My reply wasn't to your email it was to Neil Hogan, who did say that.


 Also
 after you get some experience in ports, you'll be able to understand
 that you can't depend on it compiling all the time. 
..
   Hope that clears up the confusion for you.

Since you are the one that sees problems, and I find the whole thing to
be generally straightforward, I don't really think you are in a
position to be condescending. 

Many problems that are seen after a portupgrade -R will go away after
after a portupgrade -a, so why waste time in debugging them. In my
experience a failed portupgrade -a scarcely ever leads to runtime
problems and most build problems are resolved after running csup.

Personally I don't find fault-finding signifiantly harder after a
portupgrade -a than after a portupgrade -R  YMMV.

The really important thing is to read UPDATING, but if you don't update
frequently enough you can run into a state where it's difficult to
conflate the entries into a single recipe.  If I ever let things slide
to the point where I was faced with two really complex metaport updates,
I *might* be tempted to take the tree back to the point when the first
update stablised and do them sequentially in that way.






___
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


possible Fault in HAL / Thunar will not mount USB Drives

2009-03-21 Thread dmaizey
possible Fault in HAL

i have xfce4.6 installed and cannot auto mount any external usb device

 i have tried various policykit settings enclosed are the diagnositic 
 information gathered please can you tell me if this is a genuine
 fault or weather there si another way of doing this. i am trying to
 keep gnome elements off the system as much as possible

 when i plug the device in ttyv0 thunar reports

thunar-volman: No property info.capabilities on device with id
/org/freedesktop/Hal/devices/usb_device_4fc_c15_ST98823AS_5PK3Z5S1_if0_scsi_host.
 
thunar-volman: No property info.capabilities on device with id 
/org/freedesktop/Hal/devices/usb_device_4fc_c15_ST98823AS_5PK3Z5S1_if0.
 
thunar-volman: No property info.capabilities on device with id 
/org/freedesktop/Hal/devices/usb_device_4fc_c15_ST98823AS_5PK3Z5S1.
 
thunar-volman: No property info.capabilities on device with id 
/org/freedesktop/Hal/devices/usb_device_4fc_c15_ST98823AS_5PK3Z5S1_if0_scsi_host_scsi_device_lun0.


 i have mounted from the command line without  problems

 please can someone help. I have tried the chat rooms and no one knows
 what the problem is and suggested that i report it as a bug in hal.

 the common thought is that most people refuse to use hal for the
 problmes associated with it like this many thanks in advance

Documents as follows 
/usr/local/etc/PolicyKit/PolicyKit.conf 
config version=0.1
match user=root
return result=yes/
/match
  define_admin_auth group=wheel/
 
  match action=org.freedesktop.hal.storage.mount-fixed
 match user=bob
   return result=yes/
 /match
 /match
  match action=org.freedesktop.hal.storage.mount-removable
 match user=bob
   return result=yes/
 /match
 /match
/config

the lshal output relevant to the above thunar lines 
udi =
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_ST98823AS_5PK3Z5S1_if0_scsi_host'
  info.parent =
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_ST98823AS_5PK3Z5S1_if0'
  (string)
  info.product = 'SCSI Host Adapter'  (string)
  info.subsystem = 'scsi_host'  (string)
  info.udi =
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_ST98823AS_5PK3Z5S1_if0_scsi_host'
  (string)
  scsi_host.host = 0  (0x0)  (int)

udi =
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_ST98823AS_5PK3Z5S1_if0_scsi_host_scsi_device_lun0'
  info.parent =
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_ST98823AS_5PK3Z5S1_if0_scsi_host'
  (string)
  info.product = 'SCSI Device'  (string)
  info.subsystem = 'scsi'  (string)
  info.udi =
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_ST98823AS_5PK3Z5S1_if0_scsi_host_scsi_device_lun0'
  (string)
  info.vendor = 'ST98823A'  (string)
  scsi.bus = 0  (0x0)  (int)
  scsi.host = 0  (0x0)  (int)
  scsi.lun = 0  (0x0)  (int)
  scsi.model = 'S'  (string)
  scsi.target = 0  (0x0)  (int)
  scsi.type = 'disk'  (string)
  scsi.vendor = 'ST98823A'  (string)

udi = '/org/freedesktop/Hal/devices/storage_model_S'
  block.device = '/dev/da0'  (string)
  block.freebsd.cam_path = '0,0,0'  (string)
  block.is_volume = false  (bool)
  block.major = 0  (0x0)  (int)
  block.minor = 121  (0x79)  (int)
  block.storage_device =
'/org/freedesktop/Hal/devices/storage_model_S'  (string)
  freebsd.device_file = '/dev/da0'  (string)
  freebsd.driver = 'da'  (string)
  freebsd.unit = 0  (0x0)  (int)
  info.capabilities = {'block', 'storage'} (string list)
  info.category = 'storage'  (string)
  info.parent =
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_ST98823AS_5PK3Z5S1_if0_scsi_host_scsi_device_lun0'
  (string)
  info.product = 'S'  (string)
  info.subsystem = 'block'  (string)
  info.udi = '/org/freedesktop/Hal/devices/storage_model_S'  (string)
  info.vendor = 'ST98823A'  (string)
  storage.automount_enabled_hint = true  (bool)
  storage.bus = 'usb'  (string)
  storage.drive_type = 'disk'  (string)
  storage.hotpluggable = true  (bool)
  storage.lun = 0  (0x0)  (int)
  storage.media_check_enabled = false  (bool)
  storage.model = 'S'  (string)
  storage.no_partitions_hint = false  (bool)
  storage.originating_device =
'/org/freedesktop/Hal/devices/usb_device_4fc_c15_ST98823AS_5PK3Z5S1_if0'
  (string)
  storage.removable = false  (bool)
  storage.removable.support_async_notification = false  (bool)
  storage.requires_eject = false  (bool)
  storage.vendor = 'ST98823A'  (string)

udi = '/org/freedesktop/Hal/devices/volume_uuid_07D7_0408'
  block.device = '/dev/da0s1'  (string)
  block.is_volume = true  (bool)
  block.major = 0  (0x0)  (int)
  block.minor = 122  (0x7a)  (int)
  block.storage_device =
'/org/freedesktop/Hal/devices/storage_model_S'  (string)
  info.capabilities = {'block', 'volume'} (string list)
  info.category = 'volume'  (string)
  

Re: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread Wojciech Puchar
NOTE: could you please do break lines properly on your posts? answering 
your mails is not easy.



Depending upon what your budget is, Tranzeo has some excellent wireless 
products that are
ideal for point-point links.  Encryption is built-in and they can be 
configured for
point-point or point-multipoint (just in case the project expands).  One 
problem that you may run into, if both sides of the link are close to the 
ground, is the fresnel zone.


which is not dependent from manufacturer, but physics, and more important 
in lower frequency. Calculations are easily found in the net.


and there are few meters to be counted too because earth is not flat.

 If one side is higher than the other, this shouldn't be a problem.  Two 
self contained POE radios with built-in antanna should run you about $500 
and they can be mounted on standard satellite dish arms.


it works if done precisely enough :)


I've also used mikrotik products and have generally been very happy with them.

 There is a ton of functionality and I actually use two of them for my core 
routers
at my current job.  I think for this project they are overkill and there is 
quite a
bit of a learning curve to get them up and running.  If you don't plan on 
deploying
anything else, I think that you will find that the tranzeo's are a 
simpler solution.

--

generally - simple radio bridges. you put one to DSL router, and other to 
computer/switch. that's all.

___
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: bash suddenly doesn't like $() syntax

2009-03-21 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lowell Gilbert wrote:
 Daniel Bye danie...@slightlystrange.org writes:
 
 On Sat, Mar 21, 2009 at 08:49:01AM -0400, Michael P. Soulier wrote:
 Hello,

 I'm running the shells/bash port on 6.3, and I recently ran a portupgrade. 
 All
 of a sudden when I login, my standard .profile and .bashrc are causing a 
 bunch
 of error messages, like so

 -bash: command substitution: line 39: syntax error near unexpected token `)'
 -bash: command substitution: line 39: `})'

 It would see that bash no longer likes the $() command substitution syntax.

 Does that mean that it's defaulting to some sort of posix compatibility mode
 now? 
 It's a bug in bash 4. It was discussed here a few days ago. I would
 deinstall v.4 and install shells/bash3 until the bug's fixed.
 
 Which happened a week ago.
 

I've had stuff like this happen to me, once in a while.  it's NEVER a fact of
bash really suddenly losing something so major.  What you have to is to look at
previous parts of your code, for things like unclosed parens, unclosed quotes,
things like that.  The errors aren't overly helpful, but if you look at previous
lines, you'll find it there, believe me.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknFMuYACgkQz62J6PPcoOnBjQCeLF31QAwW+hcDfRltl/HBijLz
2DQAnR3riA3EvqU4PDekzdXRQMEfqJH8
=QbQt
-END PGP SIGNATURE-
___
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: bash suddenly doesn't like $() syntax

2009-03-21 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lowell Gilbert wrote:

Oh, crap, I flubbed it about the bash error.  It's SO often something claimed by
folks, I knee-jerked that it had to be a previous line in error.  Sorry.
 Daniel Bye danie...@slightlystrange.org writes:
 
 On Sat, Mar 21, 2009 at 08:49:01AM -0400, Michael P. Soulier wrote:
 Hello,

 I'm running the shells/bash port on 6.3, and I recently ran a portupgrade. 
 All
 of a sudden when I login, my standard .profile and .bashrc are causing a 
 bunch
 of error messages, like so

 -bash: command substitution: line 39: syntax error near unexpected token `)'
 -bash: command substitution: line 39: `})'

 It would see that bash no longer likes the $() command substitution syntax.

 Does that mean that it's defaulting to some sort of posix compatibility mode
 now? 
 It's a bug in bash 4. It was discussed here a few days ago. I would
 deinstall v.4 and install shells/bash3 until the bug's fixed.
 
 Which happened a week ago.
 

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

iEYEARECAAYFAknFM1AACgkQz62J6PPcoOm6ZgCdEobknTEk0bl4E5xWGX7uJmBf
zfQAniMO5Isd9x96j/ZCYQdP9fpVtBj1
=hD1K
-END PGP SIGNATURE-
___
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: bash suddenly doesn't like $() syntax

2009-03-21 Thread Lowell Gilbert
Chuck Robey chu...@telenix.org writes:

 I've had stuff like this happen to me, once in a while.  it's NEVER a fact of
 bash really suddenly losing something so major.  What you have to is to look 
 at
 previous parts of your code, for things like unclosed parens, unclosed quotes,
 things like that.  The errors aren't overly helpful, but if you look at 
 previous
 lines, you'll find it there, believe me.

That happens, but was not the case in this instance.

A particular syntax really did break in bash if you compiled it with our
system yacc(1).  I don't know whether the problem was in yacc or in the
bash build assuming Gnuisms from bison, but bash really was broken for a
while on $(...) formulations.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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


Turkish Property enters the New Golden Years - International Property Directory

2009-03-21 Thread International Property Directory
 

Just 2,000 Euros Down - 100% Finance.
The start of the NEW Golden Years...!
 

   
  

Choose Your Language:
Please forward this newsletter 

If you know someone who might be interested in our latest newsletter please 
click here to forward this email to up to 5 friends at once.

 
 
Turkey is rising star according to respected Jones Lang La Salle

This is a truly outstanding opportunity in Turkey !!!

Only 2,000 Euros down - finance the rest with a 100% Mortgage and take 
advantage of the New golden years of Turkish Real Estate.

 Ready built rental generating opportunity.

 Inspection trips available

 These properties are being reserved fast

 No need to wait for the developer to deliver

About Turkey Property History

The last preparation year was 2002 when a new law came out, and foreign 
nationals were allowed to purchase real estate in Turkey in their own name.

Well be prepared. The year to get ready for the next big property boom is 2009. 
The next set of golden years for Turkey's real estate market will be in 2010, 
2011, and 2012  More information on why can be found here.


   
 
 
   

Newsletter Sign up - Please sign-up an associate for the IPD Newsletter list

Newsletter Removal - Please remove email from the IPD Newsletter list

DISCLAIMER
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee, you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. This e-mail has been prepared using information 
believed by the author to be reliable and accurate, but International Property 
Directory make no warranty as to its accuracy or completeness. Any opinions 
expressed in this document are those of the author and do not necessarily 
reflect the opinions of International Property Directory. They maybe subject to 
change without notice. International Property Directory do not accept 
responsibility for changes made to this e-mail after it was sent. If 
verification is required please request a hard-copy version. E-mail 
transmission cannot be guaranteed to be secure or error-free as information 
could be intercepted, lost, destroyed, corrupted, arrive late or incomplete, or 
contain viruses. For information regarding our privacy policy please visit 
contact us for further details. International Property Directory does not take 
receipt of any monies or sign contracts with investors. We operate 
independently, sourcing property investment opportunities for our interested 
parties. All contracts and monies are always handled directly with the property 
developer offering the property. We always recommend our investors seek 
Independent legal and financial advice before purchasing a property. 
International Property Directory can accept no liability for any damages or 
losses resulting from the purchase of one our listed Investment Opportunities.

International Property Directory is a Canadian registered company.
Registered Address: London, Ontario, N6G 4V4, CANADA

© International Property Directory

 
 
___
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: Compression with *.zip output

2009-03-21 Thread Ivan Voras
Polytropon wrote:

 
 On Sat, 21 Mar 2009 12:27:20 +0200, Manolis Kiagias sonic200...@gmail.com 
 wrote:
 Wildly off-topic as we are discussing Windows, but all recent versions
 (XP, Vista, etc) can handle zip files. They call them compressed
 folders (don't confuse with NTFS compression though) and even have a
 silly wizard-like interface for extracting files from them.  If you
 don't like it you can always install WinZip to take over this function.
 
 I've seen WinZip and my stomache reported to me. :-) Much
 better is the FAR Manager which handles zip archives (and
 many others) just like directories, like the Midnight Commander
 does.
 
 It's typical for MICROS~1 to make things more complicated than
 they need to be, and invent new names for already known stuff.
 The next time someone mentions compressed folders I will know
 what he's talking about, and show him some (real) folders I have
 compressed to 10cm x 10cm x 10cm handy sized cubes. :-)

More off-topicness: The compressed folders thingy is called like that
because it's implemented as a very stupid rudimentary kind of a userland
file system. Some tools - mostly Microsoft ones - really treat them like
folders ... almost. The almost qualifier is because while they really
sometimes appear like folders, they are not normal folders in that you
cannot do almost any operations on the files in there except copy-to and
copy-from, and that includes file content / icons preview. The most
stupid part is that the support is built-in in the shell, not OS-wide,
so applications that do (to translate to POSIX) readdir() instead of
calling the shell to do it for them, treat them as files.

Mostly this behaviour is annoying, if only because the built-in search
tool (which works like find) does know about the special folders and,
if you're searching something from the shell in a folder that has actual
ZIP files, it will search *within* those zip files, which is extremely slow.

A good, free (as in speech) Windows archiving utility for multiple
archive formats (including zip, gzip and bzip2) is 7-zip:
http://www.7-zip.org/ , which also has a POSIX variant that supports its
own file format: http://p7zip.sourceforge.net/ .




signature.asc
Description: OpenPGP digital signature


The FreeBSD Diary: 2009-03-21

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

RECENT ARTICLES:

2-Dec : Obscuring smtp auth headers
 If you consider your smtp-auth location to be private, this is what you 
want. 
 http://freebsddiary.org/smtp-headers-rewrite-auth.php?2

29-Nov : OpenVPN - creating a routed VPN
 If you have multiple VPN clients, this is a practical solution. 
 http://freebsddiary.org/openvpn-routed.php?2

27-Nov : Creating your own Certificate Authority
 How to create a CA and generate your own SSL certificates
 http://freebsddiary.org/openvpn-easy-rsa.php?2

27-Nov : OpenVPN - getting it running
 Using OpenVPN to create a secure pathway between home and office 
 http://freebsddiary.org/openvpn.php?2

5-Oct : Removing dead mailing lists from Mailman
 Mailing lists can outlive their usefulness 
 http://freebsddiary.org/mailman-removing-dead-lists.php?2

30-Aug : gmirror - recovering from a failed HDD
 an HDD failed.  gmirror to the rescue. 
 http://freebsddiary.org/gmirror-failure.php?2

6-Jul : ezjail - A jail administration framework
 This makes jails easier 
 http://freebsddiary.org/ezjail.php?2

24-Jun : Adding gmirror to an existing installation
 Adding RAID-1 to an existing FreeBSD 7 installation
 http://freebsddiary.org/gmirror.php?2

20-Mar : ThinkPad x61s
 Unpacking the box, installing PC-BSD 
 http://freebsddiary.org/thinkpad-x61s.php?2

17-Mar : Using two monitors with X.org
 The GeForce 8600 GT with two monitors 
 http://freebsddiary.org/xorg-two-screens.php?2


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

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


ipfw, pf and ALTQ on outbound traffic? (or: The net is slow when I upload!)

2009-03-21 Thread Jubal Kessler

Greetings,

Is there a general how-to, or a set of coherent instructions, for 
shaping outbound traffic such that when I upload something over my 
asymmetric cable-modem pipe, doing so doesn't completely kill my Web 
browsing or any other attempts to use my Internet connection?


(To put it another way: When I max out my upstream, and my upstream is 
capped lower than my downstream, my downstream becomes useless and I am 
forced to wait until the upload finishes before I can resume using the 
downstream. This is a problem, and I'd like to solve it.)


I have looked at various ALTQ + pf setups on the Web, but I have one 
caveat. I use FreeBSD 6.4 on my home gateway, and it is also using the 
default natd server, which relies on an ipfw divert rule. I don't know 
if this matters, or if I need to switch from natd to a pf-based NAT setup.


Should I use *just* ipfw, or should I switch everything to pf (including 
NAT services) and go from there?


Thanks much,

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


installing ports xorg

2009-03-21 Thread Tim Judd
I'm getting ZERO feedback when I install the xorg metaport, updated
ports tree today.

# cd /usr/ports/x11/xorg
# make install
# 



So what am i missing?

http://www.freebsd.org/doc/en/books/handbook/x-install.html
tells me to install this port.


I even deleted /var/db/pkg/* and /var/db/ports/* to try to hook it to
install...  Retrying the above install every time.  Nothing works.

What to do?


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: FreeBSD 7.1: iwi problem with intel 2200 pro wireless card

2009-03-21 Thread freebsdlover

THE LAST LINE PUT IT IN FIRST LINE

legal.intel_iwi.license_ack=1  
THAT LINE

#WiFI Config
legal.intel_iwi.license_ack=1
if_iwi_load=YES
wlan_load=YES
firmware_load=YES
iwi_bss_load=YES
iwi_ibss_load=YES
iwi_monitor_load=YES











Curley-2 wrote:
 
 Dear FreeBSD-questions Group, 
 
 I recently installed freeBSD 7.1 on an IBM Thinkpad T42 (types 2378). The 
 system will not connect to the internet wirelessly using the Intel 2200
 pro 
 wireless card. The problem is described in the following and some relevent 
 files (/var/log/messages, /var/run/dmesg.boot, /boot/loader.conf) are
 pasted 
 below my signature. Thanks in advance for any help configuring this
 feature. 
 
 When I attempt to connect to the internet using the 'ifconfig iwi0 up
 scan' 
 command the terminal gives no response and in /var/log/messages, 'iwi0:
 could 
 not load main firmware iwi_bss' is given as an error. 
 
 Ocassionally, after a system reboot the wireless card will connect to a
 local 
 network. However attempting to change wireless networks causes the
 wireless 
 to crash. Therefore, I do not think the problem is hardware based. 
 Additionally, I have checked the hardware using Windows XP device manager 
 (Windows XP is installed on a separated hard drive). The wireless works
 fine 
 on Windows XP. 
 
 I have looked through message boards without luck finding a solution for
 my 
 system. Please let me know if this question ought to be sent elsewhere, I
 am 
 a new user. Thanks again for taking the time to read this. 
 
 Best Regards,
 John
 
 from /var/log/messages:
 (system response to the command ifconfig iwi0 up scan)
 Jan 30 01:39:02 JohnsThinkpad kernel: iwi0: timeout processing command
 blocks 
 for iwi_bss firmware
 Jan 30 01:39:02 JohnsThinkpad kernel: iwi0: could not load main firmware 
 iwi_bss
 
 ---
 
 from /var/run/dmesg.boot:
 Copyright (c) 1992-2009 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 module_register: module uhub/umass already exists!
 Module uhub/umass failed to register: 17
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) M processor 1500MHz (1498.74-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x695  Stepping = 5
   
 Features=0xa7e9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE
   Features2=0x180EST,TM2
 real memory  = 2146828288 (2047 MB)
 avail memory = 2091171840 (1994 MB)
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 ACPI Warning (tbfadt-0505): Optional field Gpe1Block has zero address or 
 length:0102C/0 [20070320]
 acpi0: IBM TP-1R on motherboard
 acpi0: [ITHREAD]
 acpi_ec0: Embedded Controller: GPE 0x1c, ECDT port 0x62,0x66 on acpi0
 acpi0: Power Button (fixed)
 acpi0: reservation of 0, a (3) failed
 acpi0: reservation of 10, 7ff0 (3) failed
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
 acpi_lid0: Control Method Lid Switch on acpi0
 acpi_button0: Sleep Button on acpi0
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 agp0: Intel 82855 host to AGP bridge on hostb0
 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
 pci1: ACPI PCI bus on pcib1
 vgapci0: VGA-compatible display port 0x3000-0x30ff mem 
 0xe000-0xe7ff,0xc010-0xc010 irq 11 at device 0.0 on pci1
 uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0x1800-0x181f irq
 11 
 at device 29.0 on pci0
 uhci0: [GIANT-LOCKED]
 uhci0: [ITHREAD]
 usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0x1820-0x183f irq
 11 
 at device 29.1 on pci0
 uhci1: [GIANT-LOCKED]
 uhci1: [ITHREAD]
 usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1
 usb1: USB revision 1.0
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
 uhub1: 2 ports with 2 removable, self powered
 uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0x1840-0x185f irq
 11 
 at device 29.2 on pci0
 uhci2: [GIANT-LOCKED]
 uhci2: [ITHREAD]
 usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2
 usb2: USB revision 1.0
 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2
 uhub2: 2 ports with 2 removable, self powered
 ehci0: Intel 82801DB/L/M (ICH4) USB 2.0 controller mem
 0xc000-0xc3ff 
 irq 11 at device 29.7 on pci0
 ehci0: [GIANT-LOCKED]
 ehci0: [ITHREAD]
 usb3: EHCI version 1.0
 usb3: companion controllers, 2 ports each: 

Re: Adding new domain in mail server

2009-03-21 Thread Sahil Tandon
On Thu, 19 Mar 2009, Ruel Luchavez wrote:

 we have here a mail server running in FreeBSD 6.2 which is holding out 2
 domain (e.g u...@mydomain.com. w...@mydomain2.com) and it running very good,
 unfortunately I'm not the person who configure this mail stuff.
 
 heres my problem:
 
 we bought a new domain (e.g mydomain3.com) and Im planning to add the domain
 to our mail server so that I could create a new email ad with the new domain
 (e.g us...@mydomain3.com). how will I do that?

Does this mail server send *and* receive mail?  Which SMTP software?  Which
IMAP server?  More details are required.  In your follow up, please also 
define what you mean by 'add the domain to our mail server'.  If you do not
understand these requests for clarification, I urge you to contact the person
who actually set up 'this mail stuff'.

-- 
Sahil Tandon sa...@tandon.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: Creating a 10km wireless bridge...pointers?

2009-03-21 Thread Ian Smith
On Sat, 21 Mar 2009 06:43:01 -0600 Modulok modu...@gmail.com wrote:

  I have been tasked with getting a DSL connection across about 10km of
  no-man's-land to a rural location without internet access. Ideally,
  all traffic inbetween the two directional antennas would be encrypted.

Best encrypted, or at least use point-to-point adhoc in bridge mode 
rather than point-to-AP unencrypted, which will surely get abused.

  (Nice, but not entirely required.) 3Mb/s would be great! Something
  like:
  
  LAN-BSDrouter-modem-Antenna~~air~~Antenna-modem-DSL
 
  I'm looking for general pointers of both hardware and software to
  achieve this. I'd like to employ FreeBSD as much as is feasible. This
  is my first WAN network project, so even newbie pointers and general
  references would be much appreciated. (Hardware suggestions, books to
  read, etc.) Reliability is of mild concern, simply because I don't
  want to drive 10km at 3:00am when something breaks.
  
  Tips? References? Advice?

I suggest downloading Wireless Networking in the Developing World in 
language of choice from http://wndw.net/download.html .. a great read, 
good coverage of theory and lots of practical advice.

If you're on a budget, a couple of (say) Dlink or Cisco APs - something 
with decent external antenna connectors anyway - in bridge mode with two 
yagi or helical antennae with = 12dBm gain should do 10km line of sight 
easily.  With +15dBm antennae you should get (at least lower) 11g rates, 
and if you can afford 20+dBm dish grid antennae, so much the faster.

Might be worth checking out /usr/ports/net/olsrd (http://www.olsr.org/)

As others have said - avoid amplifiers, spend most on good antennae and 
cables, as short and fat as is practicable.  You'll likely want short 
pigtails between the wireless card or bridge and the longer fat leads.

cheers, Ian
___
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: Need help for acroread8

2009-03-21 Thread Manish Jain


Hello Boris,

I can't really explain how, but I have got acroread8 up and running 
on my system. All I did was deinstall and reinstall pango and 
linux-pango. I then created the following 2 symlinks :


/compat/linux/etc/pango/pango.modules - 
/compat/linux/etc/pango/i686-redhat-linux-gnu/pango.modules


/compat/linux/usr/bin/pango-querymodules - 
/compat/linux/usr/bin/pango-querymodules-32


Then I ran /compat/linux/usr/bin/pango-querymodules as root, which 
populated pango.modules. Once that happened, to my surprise, 
acroread fired up and ran seamlessly. It still gives the warning 
about the missing libgnomebreakpad.so, like all other linux 
inherited applications do, but that appears to be harmless.


Thanks for all the help.

Regards
Manish Jain
invalid.poin...@gmail.com



Boris Samorodov wrote:

Manish Jain invalid.poin...@gmail.com writes:


Hello Boris,

I followed your leads and I am now left with the following :


Please, show what exactly you have done. And give output of
two commands from those URLs. And try to not top-post. Otherwise
you yourself won't understand the email.


 Gtk-Message: Failed to load module gnomebreakpad:
libgnomebreakpad.so: cannot open shared object file: No such file or
directory

 (acroread:41717): Pango-WARNING **: No builtin or  
dynamically loaded modules
 were found. Pango will not work correctly. This probably means
 there was an error in the creation of:
   '/etc/pango/pango.modules'
 You may be able to recreate this file by running pango-querymodules.

 (acroread:41717): Pango-CRITICAL **:
_pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed

 Pango-ERROR **: file shape.c: line 75 (pango_shape):
assertion failed: (glyphs-num_glyphs  0)
 aborting...

 [1]+  Exit 1  acroread

'locate libgnomebreakpad' gives :
/usr/local/lib/gtk-2.0/modules/libgnomebreakpad.la
/usr/local/lib/gtk-2.0/modules/libgnomebreakpad.so

So, these would be the FreeBSD versions of the library and not the
linux ones, which would be the ones acroread would be looking for.
However this does not seem to a fatal error. linux-ymessenger also
reports the same error but loads and runs successfully.

Effectively, I am left with the pango error, which is fatal indeed and
I have no idea how to get around. I would give up on acroread and try
something else but for 2 reasons :

1) acroread is more sophisticated than anything else available
2) this has partly become an ego issue at my end.

Any help would be greatly appreciated.

Thanks in advance
Manish Jain
invalid.poin...@gmail.com


Boris Samorodov wrote:

On Tue, 17 Mar 2009 06:33:23 +0530 Manish Jain wrote:


Anyway, if anyone has any clue how to get me out of this acroread
mess, I would be really grateful.

Those URLs may be a good start for you:
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194334.html
http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194354.html


WBR


WBR

___
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