Re: freebsd-update server

2010-02-17 Thread Andreas Nilsson
Seems to be exactly what I'm looking for, thank you very much!

Best regards
Andreas

On Tue, Feb 16, 2010 at 7:05 PM, Jason jhelf...@e-e.com wrote:

 I have not built on 8.0, however the update code should work just fine on a
 custom kernel. The article I wrote is for amd64.

 I am doing that myself, and I have written an article on it. It is also
 pending a commit to the FreeBSD Documentation Project.


 http://www.experts-exchange.com/articles/OS/Unix/BSD/FreeBSD/Build-Your-Own-FreeBSD-Update-Server.html

 Hope this is helpful,
 Jason

 On Tue, Feb 16, 2010 at 11:46:38AM +0100, Andreas Nilsson thus spake:

 Hello,

 I have a need to ship updates to a customized freebsd install, and thought
 that freebsd-update could serve me. However
 http://www.freebsd.org/cgi/cvsweb.cgi/projects/freebsd-update-server/ is
 rather old and misses amd64 builds. There must be newer code around since
 freebsd-update can be used to update to latest 8.0-RELEASE on amd64. Where
 can I find it?

 Best regards
 Andreas Nilsson
 ___
 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: freebsd-update - Automatic merge

2010-02-17 Thread Chris Rees
On 16 February 2010 18:22, Steve Franks bahamasfra...@gmail.com wrote:
 On Tue, Feb 16, 2010 at 3:55 AM, Peter Kirk pete...@korbitec.com wrote:
 Updating freebsd 7.2 to 8 and fan the following command

 freebsd-update upgrade -r 8.0-RELEASE

 Everything goes through fine but then it gets to a point and its says

 The following file could not be merged automatically: /etc/amd.map
 Press Enter to edit this file in vi and resolve the conflicts
 manually...

 It goes through hundreds of files, and it wants me to do the editing all
 myself, is there not automatic way to do this or just a simple yes no
 like mergemaster would ask?  This would take forever on our production
 servers

 Search the list archives for emails pertaining to mergemaster.rc - it
 worked wonders for me!

 Steve

Thanks Steve, that's helped me too!

Quick reference, the page he's referring to is
http://lists.freebsd.org/pipermail/freebsd-questions/2009-August/203831.html

Some day I'll submit that to doc@

Chris
___
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: FTP troubles with Roundcube vacation plugin

2010-02-17 Thread Ruben de Groot
On Tue, Feb 16, 2010 at 02:44:27PM +0100, Frank Bonnet typed:
 Hello
 
 I'm in trouble with vacation plugin which perform an FTP session at 
 localhost , for an obscure PAM/FreeBSD reason the FTP session is not 
 always working ...

I don't see why a vacation plugin for RoundCube (I've used several) 
would need to start an FTP session to localhost. That's just stupid.
I recommend using dovecot-sieve and an appropriate plugin for that.

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


Re: FTP troubles with Roundcube vacation plugin

2010-02-17 Thread Mike Bristow
On Tue, Feb 16, 2010 at 02:44:27PM +0100, Frank Bonnet wrote:
 I'm in trouble with vacation plugin which perform an FTP session at 
 localhost , for an obscure PAM/FreeBSD reason the FTP session is not 
 always working ...
 
 Sometimes it works well
[snip]
 
 then suddenly it stops working
 
 Feb 16 13:23:19 mail ftpd[46782]: connection from localhost (127.0.0.1)
 Feb 16 13:23:19 mail ftpd[46782]: pam_acct_mgmt: new authentication 
 token required
 Feb 16 13:23:19 mail ftpd[46782]: FTP LOGIN FAILED FROM localhost

It is hard to debug this certainly without knowing your ftpd's PAM
configuration (/etc/pam.d/ftpd), but assuming you have the default
FreeBSD setup, then it is likely the password has expired.

This would explain the behaviour if changing the password makes it
work again.

The expiry time is in /etc/master.passwd (it's the 5th or 6th field;
I forget which; see passwd(5)), and the expiry time set when you
change your password is controlled by your login class (see
login.conf(5))

Cheers,

-- 
Please help Imogen May keep talking - www.imogenmay.com

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


Re: RTL8192SE WLAN

2010-02-17 Thread Anselm Strauss
On Tue, Feb 16, 2010 at 11:28 PM, Paul B Mahol one...@gmail.com wrote:

 On 2/16/10, Anselm Strauss amsiba...@gmail.com wrote:
  Hey,
 
  anybody got the RTL8192SE wireless chip to work with FreeBSD? I bought a
  Asus 1201N laptop. I successfully compiled the Windows XP driver with
  ndisgen(8). The driver loads and the device is there. On the FreeBSD
 EeePC
  wiki it says it's a 8191 chip, but when I look at the driver download
 from
  Asus and dmesg it's reported as 8192. The driver seems to work at least
 in
  some way since I'm able to scan for networks and get a list. But I cannot
  connect to a WPA2 network. Association with the network always fails in
  wpa_supplicant(8).

 Maybe there is some kind of timeout, I could send you small patch to test
 it.
 Just post full verbose debug output from wpa_supplicant(8)

 Anyway, feel free to test http://www.gitorious.org/NDISulator

  Anyone has some experience?

 You are using wpa_supplicant with -D ndis flag, right?


Hm, interesting. No, I didn't know this option. Can't find it on the
wpa_supplicant manpage. But I will try it ...

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


Re: RTL8192SE WLAN

2010-02-17 Thread Paul B Mahol
On 2/17/10, Anselm Strauss amsiba...@gmail.com wrote:
 On Tue, Feb 16, 2010 at 11:28 PM, Paul B Mahol one...@gmail.com wrote:

 On 2/16/10, Anselm Strauss amsiba...@gmail.com wrote:
  Hey,
 
  anybody got the RTL8192SE wireless chip to work with FreeBSD? I bought a
  Asus 1201N laptop. I successfully compiled the Windows XP driver with
  ndisgen(8). The driver loads and the device is there. On the FreeBSD
 EeePC
  wiki it says it's a 8191 chip, but when I look at the driver download
 from
  Asus and dmesg it's reported as 8192. The driver seems to work at least
 in
  some way since I'm able to scan for networks and get a list. But I
  cannot
  connect to a WPA2 network. Association with the network always fails in
  wpa_supplicant(8).

 Maybe there is some kind of timeout, I could send you small patch to test
 it.
 Just post full verbose debug output from wpa_supplicant(8)

 Anyway, feel free to test http://www.gitorious.org/NDISulator

  Anyone has some experience?

 You are using wpa_supplicant with -D ndis flag, right?


 Hm, interesting. No, I didn't know this option. Can't find it on the
 wpa_supplicant manpage. But I will try it ...

You do not need it if you use 8.0 and you start wpa_supplicant via rc.conf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


What would make ntpd hang in BSD 8?

2010-02-17 Thread Peter Steele
We have an application where the user can change the date/time via a GUI. One 
of the options the user has is to specify that the time is to be synced using 
ntp. Our coding worked fine under BSD 7 but since we've moved onto BSD 8 we've 
encountered a problem where the command that we initiate from the GUI:

ntpd -g -q

is hanging indefinitely. Logs we've captured do not give any clues. This is the 
log from a BSD 7 system:

17 Feb 06:35:36 ntpd[3578]: logging to file /var/log/ntpd.log
17 Feb 06:35:36 ntpd[3578]: ntpd 4.2.0-a Sun Feb 24 09:12:07 UTC 2008 (1)
17 Feb 06:35:36 ntpd[3578]: precision = 1.676 usec
17 Feb 06:35:36 ntpd[3578]: kernel time sync status 2040
17 Feb 06:35:36 ntpd[3578]: frequency initialized -10.706 PPM from 
/var/db/ntpd.drift
17 Feb 06:35:45 ntpd[3578]: synchronized to 198.186.191.229, stratum=2
17 Feb 06:35:45 ntpd[3578]: time slew +0.003648 s

and this is the log from a BSD 8 system:

17 Feb 06:35:36 ntpd[2293]: logging to file /var/log/ntpd.log
17 Feb 06:35:36 ntpd[2293]: precision = 1.676 usec
17 Feb 06:35:36 ntpd[2293]: Listening on interface #0 wildcard, 0.0.0.0#123 
Disabled
17 Feb 06:35:36 ntpd[2293]: Listening on interface #1 wildcard, ::#123 Disabled
17 Feb 06:35:36 ntpd[2293]: Listening on interface #2 nic0, 
fe80::2a0:d1ff:fee3:53cc#123 Enabled
17 Feb 06:35:36 ntpd[2293]: Listening on interface #3 nic1, 
fe80::2a0:d1ff:fee3:53cd#123 Enabled
17 Feb 06:35:36 ntpd[2293]: Listening on interface #4 lo0, fe80::1#123 Enabled
17 Feb 06:35:36 ntpd[2293]: Listening on interface #5 lo0, ::1#123 Enabled
17 Feb 06:35:36 ntpd[2293]: Listening on interface #6 lo0, 127.0.0.1#123 Enabled
17 Feb 06:35:36 ntpd[2293]: Listening on interface #7 lagg0, 192.168.17.46#123 
Enabled
17 Feb 06:35:36 ntpd[2293]: Listening on routing socket on fd #29 for interface 
updates
17 Feb 06:35:36 ntpd[2293]: kernel time sync status 2040
17 Feb 06:35:36 ntpd[2293]: frequency initialized -10.706 PPM from 
/var/db/ntpd.drift

It never gets past this last log line and we have to do a kill -9 on the ntpd 
process. Everything is identical as far as the conf and drift files are 
concerned, we're using lagg interfaces on both systems. The versions of the two 
ntpd binaries are different-4.2.0-a for BSD 7 and 4.2.4p5 for BSD 8. I have not 
tried building the binary with debug mode enabled. That will probably be my 
next exercise. Any suggestions though in the meantime that might explain this 
would be appreciated.

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


I want to submit a solution to solve a bug

2010-02-17 Thread Jeff Mo
Hello,

I found the solution about why this bug occurs.
http://www.freebsd.org/cgi/query-pr.cgi?pr=125239cat=
I would like to contribute my knowledge to FreeBSD website but do not
know where to start.
Can you let me know what's the next step if I want to submit a solution?

Thank,
-- 
Jeff Mo
Santa Clara University
Linux+, SCJP, SCWCD, MCSD
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What would make ntpd hang in BSD 8?

2010-02-17 Thread Chuck Swiger
Hi--

On Feb 17, 2010, at 7:24 AM, Peter Steele wrote:
[ ... ]
 It never gets past this last log line and we have to do a kill -9 on the ntpd 
 process. Everything is identical as far as the conf and drift files are 
 concerned, we're using lagg interfaces on both systems. The versions of the 
 two ntpd binaries are different-4.2.0-a for BSD 7 and 4.2.4p5 for BSD 8. I 
 have not tried building the binary with debug mode enabled. That will 
 probably be my next exercise. Any suggestions though in the meantime that 
 might explain this would be appreciated.

Two different machines should have different drifts; you aren't running with 
/var/db/ntpd.drift unwritable, by any chance?  Otherwise, it implies ntpd never 
gets sync'ed so as to adjust the clock drift.  Anyway, to debug this usefully 
show us output from:

  ntpq -pc rv localhost
  cat /etc/ntp.conf

Regards,
-- 
-Chuck

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


Re: I want to submit a solution to solve a bug

2010-02-17 Thread Paul B Mahol
On Wed, Feb 17, 2010 at 6:20 PM, Jeff Mo mo0...@gmail.com wrote:
 Hello,

 I found the solution about why this bug occurs.
 http://www.freebsd.org/cgi/query-pr.cgi?pr=125239cat=
Make use of Submit Followup link.
 I would like to contribute my knowledge to FreeBSD website but do not
 know where to start.
 Can you let me know what's the next step if I want to submit a solution?
___
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


Intel Turbo Boost

2010-02-17 Thread Andreas Nilsson
Hello,

is the scheduler and acpi system aware of the Intel Turbo Boost technology?

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


fdisk fails with Class not found

2010-02-17 Thread Bob Willcox
I am trying to change the sysid of a slice (partition) on my disk from 5 to
165.  When it gets to the point of writing sector 0 it always fails with:

fdisk: Class not found
fdisk: Failed to write sector zero

Can someone please tell me what this means, and how do I fix it?
I have included the output from an fdisk attempt below.

Thanks,
Bob

r...@tavion:10 /usr/home/bob fdisk -uv
*** Working on device /dev/ad4 ***
parameters extracted from in-core disklabel are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)

Do you want to change our idea of what BIOS thinks ? [n] 
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 524286945 (255999 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 15/ sector 63
Do you want to change it? [n] 
The data for partition 2 is:
sysid 5 (0x05),(Extended DOS)
start 524297340, size 452470725 (220932 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 14/ sector 63
Do you want to change it? [n] y
Supply a decimal value for sysid (165=FreeBSD) [5] 165
Supply a decimal value for start [524297340] 
Supply a decimal value for size [452470725] 
Explicitly specify beg/end address ? [n] 
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 524297340, size 452470725 (220932 Meg), flag 0
beg: cyl 968/ head 4/ sector 1;
end: cyl 311/ head 14/ sector 63
Are we happy with this entry? [n] y
The data for partition 3 is:
UNUSED
Do you want to change it? [n] 
The data for partition 4 is:
UNUSED
Do you want to change it? [n] 
Partition 1 is marked active
Do you want to change the active partition? [n]  

We haven't changed the partition table yet.  This is your last chance.
parameters extracted from in-core disklabel are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)

Information from DOS bootblock is:
1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 524286945 (255999 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 15/ sector 63
2: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 524297340, size 452470725 (220932 Meg), flag 0
beg: cyl 968/ head 4/ sector 1;
end: cyl 311/ head 14/ sector 63
3: UNUSED
4: UNUSED
Should we write new partition table? [n] y
fdisk: Class not found
fdisk: Failed to write sector zero

-- 
Bob Willcox  Stock's Observation:
b...@immure.com   You no sooner get your head above water
Austin, TX   but what someone pulls your flippers off.
___
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


video and FreeBSD?

2010-02-17 Thread Gary Kline
Guys,

If I wanted to capture a video stream (say 30fps) in RAM and 
store it or write to a file and/or sent it to a website or on 
to another computer, what ports are avalable for this kind of 
live capture?

Is there one standard for moving images [jpg, mov, avi]? 
Or does this depend on the camera or associated hardware?
There isn't much in ports; or it may be that I'm just not
searching on the right keywords.

tia,

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


libswt on amd64 freebsd 8.0

2010-02-17 Thread Dino Vliet
Hi folks,
My current machine is a amd64 system running freebsd 8.0. For a java 
application I need libswt and wanted to know if there is a native version for 
freebsd amd64. Also I need to know which port install this library, so what I 
should install to get it.
BrgdsDino




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


RE: What would make ntpd hang in BSD 8?

2010-02-17 Thread Peter Steele
  ntpq -pc rv localhost
  cat /etc/ntp.conf

My ntp.conf looks like this:

# General Configuration
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org

# Drift file
driftfile /var/db/ntpd.drift

The output from ntpq for the BSD 7 system is this:

 remote   refid  st t when poll reach   delay   offset  jitter
==
+169.229.70.183  169.229.128.214  3 u   40  512   377.9219.170   8.836
*208.75.88.4 192.12.19.20 2 u   43  512   37   12.0498.224   8.168
+217.160.254.116 209.51.161.238   2 u   38  512   37   55.111   -7.128  10.347
+198.247.173.220 128.206.12.130   3 u   39  512   37   47.401   -1.149   3.659
status=c624 sync_alarm, sync_ntp, 2 events, event_peer/strat_chg,
version=ntpd 4.2.0-a Sun Feb 24 09:12:07 UTC 2008 (1),
processor=amd64, system=FreeBSD/7.0-RELEASE-p9, leap=11, stratum=16,
precision=-20, rootdelay=0.000, rootdispersion=8.340, peer=25349,
refid=INIT, reftime=.  Wed, Feb  6 2036 22:28:16.000,
poll=4, clock=cf26c2d5.ea2b4541  Wed, Feb 17 2010 11:32:37.914, state=1,
offset=0.000, frequency=-13.269, jitter=0.001, stability=0.000

and the output from the BSD 8 system is this:

 remote   refid  st t when poll reach   delay   offset  jitter
==
 169.229.70.183  .INIT.  16 u-   6400.0000.000   0.002
 208.75.88.4 .INIT.  16 u-   6400.0000.000   0.002
 217.160.254.116 .INIT.  16 u-   6400.0000.000   0.002
 198.137.202.16  .INIT.  16 u-   6400.0000.000   0.002
assID=0 status=c011 sync_alarm, sync_unspec, 1 event, event_restart,
version=ntpd 4.2.4p5-a (1), processor=amd64,
system=FreeBSD/8.0-CURRENT, leap=11, stratum=16, precision=-19,
rootdelay=0.000, rootdispersion=0.000, peer=0, refid=INIT,
reftime=.  Wed, Feb  6 2036 22:28:16.000, poll=6,
clock=cf26c4d1.d21b33f1  Wed, Feb 17 2010 11:41:05.820, state=1,
offset=0.000, frequency=-14.299, jitter=0.002, noise=0.002,
stability=0.000, tai=0

The most obvious difference is the .INIT. entries, but there also appear to be 
several 0.0 type of entries that look suspicious. What do these imply?

___
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


Is it possible to see memory over 3GB on 32-bit FreeBSD?

2010-02-17 Thread Yuri

I know that 32-bot Linux can see something like 3.6GB.
Is this possible on FreeBSD?

I see this message in system log:
real memory  = 6442450944 (6144 MB)
avail memory = 3123482624 (2978 MB)

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: libswt on amd64 freebsd 8.0

2010-02-17 Thread Jonathan Chen
On Wed, Feb 17, 2010 at 11:07:51AM -0800, Dino Vliet wrote:
 Hi folks,
 My current machine is a amd64 system running freebsd 8.0. For a java 
 application I need libswt and wanted to know if there is a native version for 
 freebsd amd64. Also I need to know which port install this library, so what I 
 should install to get it.

x11-toolkits/swt

-- 
Jonathan Chen j...@chen.org.nz
--
The reason why worry kills more people than work is that more people
 worry than work. - Robert Frost
___
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: libswt on amd64 freebsd 8.0

2010-02-17 Thread Dan Nelson
In the last episode (Feb 17), Dino Vliet said:
 My current machine is a amd64 system running freebsd 8.0. For a java
 application I need libswt and wanted to know if there is a native version
 for freebsd amd64.  Also I need to know which port install this library,
 so what I should install to get it.

x11-toolkits/swt, or x11-toolkits/swt-devel

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


Re: Is it possible to see memory over 3GB on 32-bit FreeBSD?

2010-02-17 Thread Bill Moran
In response to Yuri y...@rawbw.com:

 I know that 32-bot Linux can see something like 3.6GB.
 Is this possible on FreeBSD?
 
 I see this message in system log:
 real memory  = 6442450944 (6144 MB)
 avail memory = 3123482624 (2978 MB)

Most systems usually see about 3.5G ... don't know why FreeBSD would see
less than that.

amd64 is the way to go.  If you _must_ stick with i386, you can try PAE
in your kernel, but I don't know if that's even supported any more.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is it possible to see memory over 3GB on 32-bit FreeBSD?

2010-02-17 Thread Erik Trulsson
On Wed, Feb 17, 2010 at 03:02:17PM -0500, Bill Moran wrote:
 In response to Yuri y...@rawbw.com:
 
  I know that 32-bot Linux can see something like 3.6GB.
  Is this possible on FreeBSD?
  
  I see this message in system log:
  real memory  = 6442450944 (6144 MB)
  avail memory = 3123482624 (2978 MB)
 
 Most systems usually see about 3.5G ... don't know why FreeBSD would see
 less than that.

It very much depends on what hardware you have in the system.  Just
about every expansion card or I/O device will reserve some of the
address space for its own use.  Some devices will need a lot of space - 
a graphics card with 256MB of RAM on it will use (at least) 256MB of
the address space for example.


 
 amd64 is the way to go.  If you _must_ stick with i386, you can try PAE
 in your kernel, but I don't know if that's even supported any more.
 
 -- 
 Bill Moran
 http://www.potentialtech.com
 http://people.collaborativefusion.com/~wmoran/
 ___
 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

-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
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: Intel Turbo Boost

2010-02-17 Thread Lowell Gilbert
Andreas Nilsson andrn...@gmail.com writes:

 is the scheduler and acpi system aware of the Intel Turbo Boost technology?

I don't know much more about it than the advertising material, but I
don't really see what the scheduler would be able to do with the
information.  It's automatically applied by the chip on any core in P0
state, no?

-- 
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: What would make ntpd hang in BSD 8?

2010-02-17 Thread Chuck Swiger
Hi--

On Feb 17, 2010, at 11:50 AM, Peter Steele wrote:
 My ntp.conf looks like this:
 
 # General Configuration
 server 0.us.pool.ntp.org
 server 1.us.pool.ntp.org
 server 2.us.pool.ntp.org
 server 3.us.pool.ntp.org
 
 # Drift file
 driftfile /var/db/ntpd.drift

Wonderful: short and clear.  :-)

 The output from ntpq for the BSD 7 system is this:
 
 remote   refid  st t when poll reach   delay   offset  jitter
 ==
 +169.229.70.183  169.229.128.214  3 u   40  512   377.9219.170   8.836
 *208.75.88.4 192.12.19.20 2 u   43  512   37   12.0498.224   8.168
 +217.160.254.116 209.51.161.238   2 u   38  512   37   55.111   -7.128  10.347
 +198.247.173.220 128.206.12.130   3 u   39  512   37   47.401   -1.149   3.659
 status=c624 sync_alarm, sync_ntp, 2 events, event_peer/strat_chg,
 version=ntpd 4.2.0-a Sun Feb 24 09:12:07 UTC 2008 (1),
 processor=amd64, system=FreeBSD/7.0-RELEASE-p9, leap=11, stratum=16,
 precision=-20, rootdelay=0.000, rootdispersion=8.340, peer=25349,
 refid=INIT, reftime=.  Wed, Feb  6 2036 22:28:16.000,
 poll=4, clock=cf26c2d5.ea2b4541  Wed, Feb 17 2010 11:32:37.914, state=1,
 offset=0.000, frequency=-13.269, jitter=0.001, stability=0.000

That looks normal / good.

 and the output from the BSD 8 system is this:
 
 remote   refid  st t when poll reach   delay   offset  jitter
 ==
 169.229.70.183  .INIT.  16 u-   6400.0000.000   0.002
 208.75.88.4 .INIT.  16 u-   6400.0000.000   0.002
 217.160.254.116 .INIT.  16 u-   6400.0000.000   0.002
 198.137.202.16  .INIT.  16 u-   6400.0000.000   0.002
 assID=0 status=c011 sync_alarm, sync_unspec, 1 event, event_restart,
 version=ntpd 4.2.4p5-a (1), processor=amd64,
 system=FreeBSD/8.0-CURRENT, leap=11, stratum=16, precision=-19,
 rootdelay=0.000, rootdispersion=0.000, peer=0, refid=INIT,
 reftime=.  Wed, Feb  6 2036 22:28:16.000, poll=6,
 clock=cf26c4d1.d21b33f1  Wed, Feb 17 2010 11:41:05.820, state=1,
 offset=0.000, frequency=-14.299, jitter=0.002, noise=0.002,
 stability=0.000, tai=0
 
 The most obvious difference is the .INIT. entries, but there also appear to 
 be several 0.0 type of entries that look suspicious. What do these imply?

It means this machine isn't seeing NTP traffic (yet), and is completely 
unsync'ed.  But DNS resolution worked, or you wouldn't be seeing IP addresses.  
Maybe a firewall or routing problem?  Can you do:

  ntpq -p 217.160.254.116

...from this FreeBSD-8 machine and see .USNO. replying?

-- 
-Chuck

___
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


Why I can't enable compositing option in KDE4?

2010-02-17 Thread Yuri

I have the latest NVidia driver and the card is 9400GT.

In Configure Window Behavior screen I first check Enable desktop 
effects.
Then it says that Compositing is temporarily disabled. When I click 
Resume Compositing sometimes nothing happens at all. But sometimes 
after few clicks it says that it's now enabled. But after that when I 
open this screen again it says it is temporarily disabled again. No 
explanation is given.


xorg.conf has this section:
Section Extensions
 Option Composite Enable
 Option MIT-SHM Enable
EndSection

And Xorg.log acknowledges this:
(**) Extension Composite is enabled
(**) Extension MIT-SHM is enabled

What's wrong?
Compositing and effects used to work almost fine before. Except for the 
black windows problem.


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: RTL8192SE WLAN

2010-02-17 Thread Anselm Strauss
On Feb 17, 2010, at 13:54 , Paul B Mahol wrote:

 On 2/17/10, Anselm Strauss amsiba...@gmail.com wrote:
 On Tue, Feb 16, 2010 at 11:28 PM, Paul B Mahol one...@gmail.com wrote:
 
 On 2/16/10, Anselm Strauss amsiba...@gmail.com wrote:
 Hey,
 
 anybody got the RTL8192SE wireless chip to work with FreeBSD? I bought a
 Asus 1201N laptop. I successfully compiled the Windows XP driver with
 ndisgen(8). The driver loads and the device is there. On the FreeBSD
 EeePC
 wiki it says it's a 8191 chip, but when I look at the driver download
 from
 Asus and dmesg it's reported as 8192. The driver seems to work at least
 in
 some way since I'm able to scan for networks and get a list. But I
 cannot
 connect to a WPA2 network. Association with the network always fails in
 wpa_supplicant(8).
 
 Maybe there is some kind of timeout, I could send you small patch to test
 it.
 Just post full verbose debug output from wpa_supplicant(8)
 
 Anyway, feel free to test http://www.gitorious.org/NDISulator
 
 Anyone has some experience?
 
 You are using wpa_supplicant with -D ndis flag, right?
 
 
 Hm, interesting. No, I didn't know this option. Can't find it on the
 wpa_supplicant manpage. But I will try it ...
 
 You do not need it if you use 8.0 and you start wpa_supplicant via rc.conf

I use 8.0. Here is the script of what I did to manually setup the card:

Script started on Wed Feb 17 21:33:08 2010
[r...@thor ~]# kldload rtl8192se_sys
[r...@thor ~]# ifconfig ndis0
ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290
ether 00:25:d3:93:50:c8
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
[r...@thor ~]# ifconfig ndis0 list caps
ifconfig: unable to get device capabilities: Invalid argument
[r...@thor ~]# ifconfig wlan0 create wlandev ndis0
[r...@thor ~]# ifconfig wlan0
wlan0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:25:d3:93:50:c8
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid  channel 1 (2412 Mhz 11b)
country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
bintval 0
[r...@thor ~]# ifconfig wlan0 list caps
drivercaps=1802303STA,803ENCAP,IBSS,PMGT,TXPMGT,WPA1,WPA2
cryptocaps=bWEP,TKIP,AES_CCM
[r...@thor ~]# cat /etc/wpa_supplicant.conf 
ap_scan=2
network={
  ssid=ttyv0
  scan_ssid=1
  proto=WPA2
  key_mgmt=WPA-PSK
  pairwise=CCMP
  group=CCMP
  psk=(removed)
}
[ro...@thor ~]# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -dddt
1266441009.079270: Initializing interface 'wlan0' conf 
'/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
1266441009.080825: Configuration file '/etc/wpa_supplicant.conf' - 
'/etc/wpa_supplicant.conf'
1266441009.081640: Reading configuration file '/etc/wpa_supplicant.conf'
1266441009.082993: ap_scan=2
1266441009.083143: Line: 2 - start of a new network block
1266441009.084136: ssid - hexdump_ascii(len=5):
 74 74 79 76 30ttyv0   
1266441009.084487: scan_ssid=1 (0x1)
1266441009.084612: proto: 0x2
1266441009.084719: key_mgmt: 0x2
1266441009.084822: pairwise: 0x10
1266441009.084943: group: 0x10
1266441009.085040: PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
1266441009.396285: PSK (from passphrase) - hexdump(len=32): [REMOVED]
1266441009.396530: Priority group 0
1266441009.396561:id=0 ssid='ttyv0'
1266441009.396585: Initializing interface (2) 'wlan0'
1266441009.400393: Own MAC address: 00:25:d3:93:50:c8
1266441009.400453: wpa_driver_bsd_set_wpa: enabled=1
1266441009.400558: wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
1266441009.400618: wpa_driver_bsd_del_key: keyidx=0
1266441009.400652: wpa_driver_bsd_del_key: keyidx=1
1266441009.400680: wpa_driver_bsd_del_key: keyidx=2
1266441009.400707: wpa_driver_bsd_del_key: keyidx=3
1266441009.400738: wpa_driver_bsd_set_countermeasures: enabled=0
1266441009.400768: wpa_driver_bsd_set_drop_unencrypted: enabled=1
1266441009.400798: RSN: flushing PMKID list in the driver
1266441009.400862: Setting scan request: 0 sec 10 usec
1266441009.434450: EAPOL: SUPP_PAE entering state DISCONNECTED
1266441009.434501: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
1266441009.434521: EAPOL: SUPP_BE entering state INITIALIZE
1266441009.434652: EAP: EAP entering state DISABLED
1266441009.434765: Added interface wlan0
1266441009.503454: State: DISCONNECTED - SCANNING
1266441009.503527: Trying to associate with SSID 'ttyv0'
1266441009.503553: Cancelling scan request
1266441009.503574: WPA: clearing own WPA/RSN IE
1266441009.503593: Automatic auth_alg selection: 0x1
1266441009.503624: wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1
1266441009.503668: WPA: No WPA/RSN IE available from association info
1266441009.503767: WPA: Set cipher suites based on configuration
1266441009.503783: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 
proto 2
1266441009.503803: WPA: clearing AP WPA IE
1266441009.503821: 

Re: RTL8192SE WLAN

2010-02-17 Thread Anselm Strauss

On Feb 17, 2010, at 22:25 , Anselm Strauss wrote:

 On Feb 17, 2010, at 13:54 , Paul B Mahol wrote:
 
 On 2/17/10, Anselm Strauss amsiba...@gmail.com wrote:
 On Tue, Feb 16, 2010 at 11:28 PM, Paul B Mahol one...@gmail.com wrote:
 
 On 2/16/10, Anselm Strauss amsiba...@gmail.com wrote:
 Hey,
 
 anybody got the RTL8192SE wireless chip to work with FreeBSD? I bought a
 Asus 1201N laptop. I successfully compiled the Windows XP driver with
 ndisgen(8). The driver loads and the device is there. On the FreeBSD
 EeePC
 wiki it says it's a 8191 chip, but when I look at the driver download
 from
 Asus and dmesg it's reported as 8192. The driver seems to work at least
 in
 some way since I'm able to scan for networks and get a list. But I
 cannot
 connect to a WPA2 network. Association with the network always fails in
 wpa_supplicant(8).
 
 Maybe there is some kind of timeout, I could send you small patch to test
 it.
 Just post full verbose debug output from wpa_supplicant(8)
 
 Anyway, feel free to test http://www.gitorious.org/NDISulator
 
 Anyone has some experience?
 
 You are using wpa_supplicant with -D ndis flag, right?
 
 
 Hm, interesting. No, I didn't know this option. Can't find it on the
 wpa_supplicant manpage. But I will try it ...
 
 You do not need it if you use 8.0 and you start wpa_supplicant via rc.conf
 
 I use 8.0. Here is the script of what I did to manually setup the card:
 
 Script started on Wed Feb 17 21:33:08 2010
 [r...@thor ~]# kldload rtl8192se_sys
 [r...@thor ~]# ifconfig ndis0
 ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290
   ether 00:25:d3:93:50:c8
   media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
   status: no carrier
 [r...@thor ~]# ifconfig ndis0 list caps
 ifconfig: unable to get device capabilities: Invalid argument
 [r...@thor ~]# ifconfig wlan0 create wlandev ndis0
 [r...@thor ~]# ifconfig wlan0
 wlan0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
   ether 00:25:d3:93:50:c8
   media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
   status: no carrier
   ssid  channel 1 (2412 Mhz 11b)
   country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
   bintval 0
 [r...@thor ~]# ifconfig wlan0 list caps
 drivercaps=1802303STA,803ENCAP,IBSS,PMGT,TXPMGT,WPA1,WPA2
 cryptocaps=bWEP,TKIP,AES_CCM
 [r...@thor ~]# cat /etc/wpa_supplicant.conf 
 ap_scan=2
 network={
  ssid=ttyv0
  scan_ssid=1
  proto=WPA2
  key_mgmt=WPA-PSK
  pairwise=CCMP
  group=CCMP
  psk=(removed)
 }
 [ro...@thor ~]# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -dddt
 1266441009.079270: Initializing interface 'wlan0' conf 
 '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
 1266441009.080825: Configuration file '/etc/wpa_supplicant.conf' - 
 '/etc/wpa_supplicant.conf'
 1266441009.081640: Reading configuration file '/etc/wpa_supplicant.conf'
 1266441009.082993: ap_scan=2
 1266441009.083143: Line: 2 - start of a new network block
 1266441009.084136: ssid - hexdump_ascii(len=5):
 74 74 79 76 30ttyv0   
 1266441009.084487: scan_ssid=1 (0x1)
 1266441009.084612: proto: 0x2
 1266441009.084719: key_mgmt: 0x2
 1266441009.084822: pairwise: 0x10
 1266441009.084943: group: 0x10
 1266441009.085040: PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
 1266441009.396285: PSK (from passphrase) - hexdump(len=32): [REMOVED]
 1266441009.396530: Priority group 0
 1266441009.396561:id=0 ssid='ttyv0'
 1266441009.396585: Initializing interface (2) 'wlan0'
 1266441009.400393: Own MAC address: 00:25:d3:93:50:c8
 1266441009.400453: wpa_driver_bsd_set_wpa: enabled=1
 1266441009.400558: wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
 1266441009.400618: wpa_driver_bsd_del_key: keyidx=0
 1266441009.400652: wpa_driver_bsd_del_key: keyidx=1
 1266441009.400680: wpa_driver_bsd_del_key: keyidx=2
 1266441009.400707: wpa_driver_bsd_del_key: keyidx=3
 1266441009.400738: wpa_driver_bsd_set_countermeasures: enabled=0
 1266441009.400768: wpa_driver_bsd_set_drop_unencrypted: enabled=1
 1266441009.400798: RSN: flushing PMKID list in the driver
 1266441009.400862: Setting scan request: 0 sec 10 usec
 1266441009.434450: EAPOL: SUPP_PAE entering state DISCONNECTED
 1266441009.434501: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
 1266441009.434521: EAPOL: SUPP_BE entering state INITIALIZE
 1266441009.434652: EAP: EAP entering state DISABLED
 1266441009.434765: Added interface wlan0
 1266441009.503454: State: DISCONNECTED - SCANNING
 1266441009.503527: Trying to associate with SSID 'ttyv0'
 1266441009.503553: Cancelling scan request
 1266441009.503574: WPA: clearing own WPA/RSN IE
 1266441009.503593: Automatic auth_alg selection: 0x1
 1266441009.503624: wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1
 1266441009.503668: WPA: No WPA/RSN IE available from association info
 1266441009.503767: WPA: Set cipher suites based on configuration
 1266441009.503783: WPA: Selected cipher 

Named errors after adding IPv4 alias - solved by restarting named

2010-02-17 Thread John
It seems that if you add an alias to an interface once named is up
and running, it will cause named, on an hourly basis from the time
named was first started (that is, if it was started at 07:32 after
the hour, then every hour after the alias is added at about 07:32
after each hour), named will say:

Feb 16 22:07:32 elwood named[626]: could not listen on UDP socket: permission 
denied
Feb 16 22:07:32 elwood named[626]: creating IPv4 interface fxp0 failed; 
interface ignored

A kill -1 does not help.  If you do a full stop and start on named,
that will take care of the problem.

Is this something that should be addressed within named, or is this
such a rare event (adding an IP alias on an interface that named is
using) that it should just be let go?
-- 

John Lind
j...@starfire.mn.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: RTL8192SE WLAN

2010-02-17 Thread Paul B Mahol
On 2/17/10, Anselm Strauss amsiba...@gmail.com wrote:
 On Feb 17, 2010, at 13:54 , Paul B Mahol wrote:

 On 2/17/10, Anselm Strauss amsiba...@gmail.com wrote:
 On Tue, Feb 16, 2010 at 11:28 PM, Paul B Mahol one...@gmail.com wrote:

 On 2/16/10, Anselm Strauss amsiba...@gmail.com wrote:
 Hey,

 anybody got the RTL8192SE wireless chip to work with FreeBSD? I bought
 a
 Asus 1201N laptop. I successfully compiled the Windows XP driver with
 ndisgen(8). The driver loads and the device is there. On the FreeBSD
 EeePC
 wiki it says it's a 8191 chip, but when I look at the driver download
 from
 Asus and dmesg it's reported as 8192. The driver seems to work at least
 in
 some way since I'm able to scan for networks and get a list. But I
 cannot
 connect to a WPA2 network. Association with the network always fails in
 wpa_supplicant(8).

 Maybe there is some kind of timeout, I could send you small patch to
 test
 it.
 Just post full verbose debug output from wpa_supplicant(8)

 Anyway, feel free to test http://www.gitorious.org/NDISulator

 Anyone has some experience?

 You are using wpa_supplicant with -D ndis flag, right?


 Hm, interesting. No, I didn't know this option. Can't find it on the
 wpa_supplicant manpage. But I will try it ...

 You do not need it if you use 8.0 and you start wpa_supplicant via rc.conf

 I use 8.0. Here is the script of what I did to manually setup the card:

 Script started on Wed Feb 17 21:33:08 2010
 [r...@thor ~]# kldload rtl8192se_sys
 [r...@thor ~]# ifconfig ndis0
 ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290
   ether 00:25:d3:93:50:c8
   media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
   status: no carrier
 [r...@thor ~]# ifconfig ndis0 list caps

That is net80211 (funny) problem.
 ifconfig: unable to get device capabilities: Invalid argument
 [r...@thor ~]# ifconfig wlan0 create wlandev ndis0
 [r...@thor ~]# ifconfig wlan0
 wlan0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
   ether 00:25:d3:93:50:c8
   media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
   status: no carrier
   ssid  channel 1 (2412 Mhz 11b)
   country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
   bintval 0
 [r...@thor ~]# ifconfig wlan0 list caps
 drivercaps=1802303STA,803ENCAP,IBSS,PMGT,TXPMGT,WPA1,WPA2
 cryptocaps=bWEP,TKIP,AES_CCM
 [r...@thor ~]# cat /etc/wpa_supplicant.conf
 ap_scan=2
 network={
   ssid=ttyv0
   scan_ssid=1
   proto=WPA2
   key_mgmt=WPA-PSK
   pairwise=CCMP
   group=CCMP
   psk=(removed)
 }
 [ro...@thor ~]# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -dddt

Not going to work, you need explicit '-D ndis' flag.

Anyway you just need this entry in rc.conf:

wlans_ndis0=wlan0
ifconfig_wlan0=WPA SYNCDHCP
wpa_supplicant_conf_file=/etc/wpa_supplicant.conf

'-D bsd', default one, works only for wep and only in my git repo.

 1266441009.079270: Initializing interface 'wlan0' conf
 '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge
 'N/A'
 1266441009.080825: Configuration file '/etc/wpa_supplicant.conf' -
 '/etc/wpa_supplicant.conf'
 1266441009.081640: Reading configuration file '/etc/wpa_supplicant.conf'
 1266441009.082993: ap_scan=2
 1266441009.083143: Line: 2 - start of a new network block
 1266441009.084136: ssid - hexdump_ascii(len=5):
  74 74 79 76 30ttyv0
 1266441009.084487: scan_ssid=1 (0x1)
 1266441009.084612: proto: 0x2
 1266441009.084719: key_mgmt: 0x2
 1266441009.084822: pairwise: 0x10
 1266441009.084943: group: 0x10
 1266441009.085040: PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
 1266441009.396285: PSK (from passphrase) - hexdump(len=32): [REMOVED]
 1266441009.396530: Priority group 0
 1266441009.396561:id=0 ssid='ttyv0'
 1266441009.396585: Initializing interface (2) 'wlan0'
 1266441009.400393: Own MAC address: 00:25:d3:93:50:c8
 1266441009.400453: wpa_driver_bsd_set_wpa: enabled=1
 1266441009.400558: wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
 1266441009.400618: wpa_driver_bsd_del_key: keyidx=0
 1266441009.400652: wpa_driver_bsd_del_key: keyidx=1
 1266441009.400680: wpa_driver_bsd_del_key: keyidx=2
 1266441009.400707: wpa_driver_bsd_del_key: keyidx=3
See wpa_supplicant use bsd driver.
 1266441009.400738: wpa_driver_bsd_set_countermeasures: enabled=0
 1266441009.400768: wpa_driver_bsd_set_drop_unencrypted: enabled=1
 1266441009.400798: RSN: flushing PMKID list in the driver
 1266441009.400862: Setting scan request: 0 sec 10 usec
 1266441009.434450: EAPOL: SUPP_PAE entering state DISCONNECTED
 1266441009.434501: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
 1266441009.434521: EAPOL: SUPP_BE entering state INITIALIZE
 1266441009.434652: EAP: EAP entering state DISABLED
 1266441009.434765: Added interface wlan0
 1266441009.503454: State: DISCONNECTED - SCANNING
 1266441009.503527: Trying to associate with SSID 'ttyv0'
 1266441009.503553: Cancelling scan request
 1266441009.503574: WPA: 

Re: RTL8192SE WLAN

2010-02-17 Thread Paul B Mahol
On 2/17/10, Anselm Strauss amsiba...@gmail.com wrote:
 I just noticed I forgot to load the wlan_xauth module. Did so now, but it
 doesn't change anything.

ndis(4) cant use that one. Maybe one day whan NDIS api get usable
hostap support.
___
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: fdisk fails with Class not found

2010-02-17 Thread Aiza

Bob Willcox wrote:

I am trying to change the sysid of a slice (partition) on my disk from 5 to
165.  When it gets to the point of writing sector 0 it always fails with:

fdisk: Class not found
fdisk: Failed to write sector zero

Can someone please tell me what this means, and how do I fix it?
I have included the output from an fdisk attempt below.

Thanks,
Bob

r...@tavion:10 /usr/home/bob fdisk -uv
*** Working on device /dev/ad4 ***
parameters extracted from in-core disklabel are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)

Do you want to change our idea of what BIOS thinks ? [n] 
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 524286945 (255999 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 15/ sector 63
Do you want to change it? [n] 
The data for partition 2 is:

sysid 5 (0x05),(Extended DOS)
start 524297340, size 452470725 (220932 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 14/ sector 63
Do you want to change it? [n] y
Supply a decimal value for sysid (165=FreeBSD) [5] 165
Supply a decimal value for start [524297340] 
Supply a decimal value for size [452470725] 
Explicitly specify beg/end address ? [n] 
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)

start 524297340, size 452470725 (220932 Meg), flag 0
beg: cyl 968/ head 4/ sector 1;
end: cyl 311/ head 14/ sector 63
Are we happy with this entry? [n] y
The data for partition 3 is:
UNUSED
Do you want to change it? [n] 
The data for partition 4 is:

UNUSED
Do you want to change it? [n] 
Partition 1 is marked active
Do you want to change the active partition? [n]  


We haven't changed the partition table yet.  This is your last chance.
parameters extracted from in-core disklabel are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)

Information from DOS bootblock is:
1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 524286945 (255999 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 15/ sector 63
2: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 524297340, size 452470725 (220932 Meg), flag 0
beg: cyl 968/ head 4/ sector 1;
end: cyl 311/ head 14/ sector 63
3: UNUSED
4: UNUSED
Should we write new partition table? [n] y
fdisk: Class not found
fdisk: Failed to write sector zero




The 'Class not found' you can ignore. Fdisk still worked.

Try dd if=/dev/zero of=/dev/xxx count=2
to remove the MBR them do fdisk -I /dev/xxx  command
___
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 to Cisco ASA 5505 VPN Connection

2010-02-17 Thread Bill Tillman
I have a small dilemma. The boss finally relented and is allowing me to work 
from home. This is a good deal for him too I just have to convince him. They 
have a Cisco ASA 5505 VPN router at the office. I have a wonderfully working 
LAN that uses a FreeBSD-7.2-STABLE server running NATD+IPFW. This in turn 
connects to a cable modem to my ISP and I couldn't be happier with it. All is 
well.

Now my employer wants me to use a VPN server on my end to connect to his VPN. 
Okay cool I think Open VPN would do the trick. WRONG...Open VPN does not work 
with Cisco ASA 5505 routers. In fact, Open VPN doesn't work with alot of Cisco 
equipment. So much for trying to connect my router directly to their router. 
But I do have a small Cisco/Linksys RV042 VPN router which does talk to their 
Cisco router. So we tried hooking this up. First behind my router because I 
felt it would be safer there and I only need it for a VOIP phone they gave me. 
That's all this exercise was about was to allow the phone to work securely for 
their Asterisk system. I know there are other ways to do this but the techs 
don't want to mess with the Asterisk server because it will void the support 
contract and warranty.
Through trial and error I finally got this small router to work but I had to 
put in on the outside of my FreeBSD router. No big deal really, seems to be 
safe as it has a firewall and the only thing connected to it besides my other 
FreeBSD router which is tight as a drum, is the VOIP phone which works quite 
well.
The tech told me that I need to forward ports 500 and 4500 with my FreeBSD 
router to the small VPN router inside my LAN. That's simple enought but then he 
tells me I need to redirect all EPS and all AH traffic as well. I guess this is 
where FreeBSD+NATD+IPFW hits the wall when working with Cisco or is it? I gotta 
believe this can work but I don't know how the heck to do it and the tech at 
our IT consultant is totally lost when it comes to anything besides Cisco 
equipment.
Has anyone got a suggestion on how to do a port redirect with natd to pickup 
these EPS and AH packets. I added some new lines to my /etc/natd.conf file and 
the AH part seemed ok but the console screen immediately said what the heck is 
EPS. And worse it did not work. Only when I put the VPN router outside of my 
existing router does this setup work. I really want to keep this thing inside 
my LAN or even better would be how do I get my existing router to work as a VPN 
on it's own?

  


  
___
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 to Cisco ASA 5505 VPN Connection

2010-02-17 Thread Chuck Swiger
Hi--

On Feb 17, 2010, at 3:06 PM, Bill Tillman wrote:
 The tech told me that I need to forward ports 500 and 4500 with my FreeBSD 
 router to the small VPN router inside my LAN. That's simple enought but then 
 he tells me I need to redirect all EPS and all AH traffic as well. I guess 
 this is where FreeBSD+NATD+IPFW hits the wall when working with Cisco or is 
 it? I gotta believe this can work but I don't know how the heck to do it and 
 the tech at our IT consultant is totally lost when it comes to anything 
 besides Cisco equipment.
 Has anyone got a suggestion on how to do a port redirect with natd to pickup 
 these EPS and AH packets. I added some new lines to my /etc/natd.conf file 
 and the AH part seemed ok but the console screen immediately said what the 
 heck is EPS. And worse it did not work. Only when I put the VPN router 
 outside of my existing router does this setup work. I really want to keep 
 this thing inside my LAN or even better would be how do I get my existing 
 router to work as a VPN on it's own?

When I was dealing with the Cisco VPN client, I was doing so with IPFW+natd and 
you need 500/udp, 4500/udp, 62515/udp, 1723/tcp, 1/tcp, and the GRE 
protocol.  In my case, /etc/natd.conf contained:

punch_fw 1:100
redirect_proto gre 10.1.1.247
redirect_port udp 10.1.1.247:500 500
redirect_port udp 10.1.1.247:4500 4500
redirect_port udp 10.1.1.247:62515 62515
redirect_port tcp 10.1.1.247:1 1
redirect_port tcp 10.1.1.247:pptp pptp

...to send the traffic to a VPN endpoint located at IP 10.1.1.247.

Regards,
-- 
-Chuck

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


how to read .ods (OpenDocument Spreadsheet) without KOffice?

2010-02-17 Thread Anton Shterenlikht
I was sent some ods (OpenDocument Spreadsheet) files.
I'm not really keen to install KOffice.
Is there another program in the ports which
could be used to view ods files or to convert
them into pdf or PostScript?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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 to Cisco ASA 5505 VPN Connection

2010-02-17 Thread Gary Gatten
Its ESP, not EPS.  And NAT traversal / UDP encapsulation is liklely needed, 
that's the 4500 and 1 ports.

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Wed Feb 17 17:17:58 2010
Subject: Re: FreeBSD to Cisco ASA 5505 VPN Connection

Hi--

On Feb 17, 2010, at 3:06 PM, Bill Tillman wrote:
 The tech told me that I need to forward ports 500 and 4500 with my FreeBSD 
 router to the small VPN router inside my LAN. That's simple enought but then 
 he tells me I need to redirect all EPS and all AH traffic as well. I guess 
 this is where FreeBSD+NATD+IPFW hits the wall when working with Cisco or is 
 it? I gotta believe this can work but I don't know how the heck to do it and 
 the tech at our IT consultant is totally lost when it comes to anything 
 besides Cisco equipment.
 Has anyone got a suggestion on how to do a port redirect with natd to pickup 
 these EPS and AH packets. I added some new lines to my /etc/natd.conf file 
 and the AH part seemed ok but the console screen immediately said what the 
 heck is EPS. And worse it did not work. Only when I put the VPN router 
 outside of my existing router does this setup work. I really want to keep 
 this thing inside my LAN or even better would be how do I get my existing 
 router to work as a VPN on it's own?

When I was dealing with the Cisco VPN client, I was doing so with IPFW+natd and 
you need 500/udp, 4500/udp, 62515/udp, 1723/tcp, 1/tcp, and the GRE 
protocol.  In my case, /etc/natd.conf contained:

punch_fw 1:100
redirect_proto gre 10.1.1.247
redirect_port udp 10.1.1.247:500 500
redirect_port udp 10.1.1.247:4500 4500
redirect_port udp 10.1.1.247:62515 62515
redirect_port tcp 10.1.1.247:1 1
redirect_port tcp 10.1.1.247:pptp pptp

...to send the traffic to a VPN endpoint located at IP 10.1.1.247.

Regards,
-- 
-Chuck

___
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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

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

Re: how to read .ods (OpenDocument Spreadsheet) without KOffice?

2010-02-17 Thread Howard Goldstein
Anton Shterenlikht wrote:
 I was sent some ods (OpenDocument Spreadsheet) files.
 I'm not really keen to install KOffice.
 Is there another program in the ports which
 could be used to view ods files or to convert
 them into pdf or PostScript?

There's editors/openoffice.org-3





signature.asc
Description: OpenPGP digital signature


Unable to build kdelibs3

2010-02-17 Thread Carmel
I am still having a problem getting kdelibs3 to build on my FreeBSD-7.2
system. I believe I have followed all of the directions in the UPDATING
file. Unfortunately, the build always ends like this:

Making all in dnssd
gmake[2]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd'
../kdecore/kconfig_compiler/kconfig_compiler ./kcm_kdnssd.kcfg 
./settings.kcfgc; ret=$?; \
if test $ret != 0; then rm -f settings.h ; exit $ret ;  fi
/libexec/ld-elf.so.1: Shared object libjpeg.so.10 not found, required by 
libkdefx.so.6
gmake[2]: *** [settings.h] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/x11/kdelibs3.

--
Carmel
carmel...@hotmail.com

|===
|===
|===
|===
|

Never eat more than you can lift.

Miss Piggy

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


Re: how to read .ods (OpenDocument Spreadsheet) without KOffice?

2010-02-17 Thread Anton Shterenlikht
On Wed, Feb 17, 2010 at 06:36:54PM -0500, Howard Goldstein wrote:
 Anton Shterenlikht wrote:
  I was sent some ods (OpenDocument Spreadsheet) files.
  I'm not really keen to install KOffice.
  Is there another program in the ports which
  could be used to view ods files or to convert
  them into pdf or PostScript?
 
 There's editors/openoffice.org-3

I forgot to say that I'm on ia64 and sparc64.
editors/openoffice.org-3 is ONLY_FOR_ARCHS= i386 amd64

many thanks anyway
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Unable to build kdelibs3

2010-02-17 Thread Adam Vande More
On Wed, Feb 17, 2010 at 5:38 PM, Carmel carmel...@hotmail.com wrote:

 I am still having a problem getting kdelibs3 to build on my FreeBSD-7.2
 system. I believe I have followed all of the directions in the UPDATING
 file. Unfortunately, the build always ends like this:

 Making all in dnssd
 gmake[2]: Entering directory
 `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd'
 ../kdecore/kconfig_compiler/kconfig_compiler ./kcm_kdnssd.kcfg
 ./settings.kcfgc; ret=$?; \
if test $ret != 0; then rm -f settings.h ; exit $ret ;  fi
 /libexec/ld-elf.so.1: Shared object libjpeg.so.10 not found, required by
 libkdefx.so.6
 gmake[2]: *** [settings.h] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/dnssd'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10'
 gmake: *** [all] Error 2
 *** Error code 1

 Stop in /usr/ports/x11/kdelibs3.


I hope you find a better solution, but mine was to pkg_delete * and rebuild.


-- 
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: Is it possible to see memory over 3GB on 32-bit FreeBSD?

2010-02-17 Thread Yuri

Erik Trulsson wrote:

It very much depends on what hardware you have in the system.  Just
about every expansion card or I/O device will reserve some of the
address space for its own use.  Some devices will need a lot of space - 
a graphics card with 256MB of RAM on it will use (at least) 256MB of

the address space for example.
  


This doesn't seem like a good idea that video memory is always mapped to 
system memory. What if one day graphics card gets 4GB RAM? Then we won't 
even be able to have 32-bit OS working with such card and in 64-bit OS 
4GB of memory would be grossly wasted.


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: how to read .ods (OpenDocument Spreadsheet) without KOffice?

2010-02-17 Thread Warren Block

On Wed, 17 Feb 2010, Anton Shterenlikht wrote:


I was sent some ods (OpenDocument Spreadsheet) files.
I'm not really keen to install KOffice.
Is there another program in the ports which
could be used to view ods files or to convert
them into pdf or PostScript?


Not tested in depth, but math/gnumeric has been able to read .ods files 
for me.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD File Server with ZFS

2010-02-17 Thread mailinglist
I've got an old P4 desktop computer running in the basement with a 1 TB 
external USB drive connected to that I use as a file server.  That PC is 
running XP.  It has recently become infected with some sort of virus.  I'd like 
to replace it with FreeBSD running ZFS + Samba (I need to access it from a OS X 
machine and a Windows 7 box).



1) Will FreeBSD be able to detect and use my TB hard drive as ZFS disk?  Right 
now it is only a single disk, but later on I'll and a second disk and setup a 
mirror.  Even as a single disk, the checksumming ability would be nice.



2)Assume I get everything setup in regards to step 1 and my OS disk dies.  How 
do I go about importing the ZFS external disk into another FreeBSD installation?



Thanks for all of the help!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is it possible to see memory over 3GB on 32-bit FreeBSD?

2010-02-17 Thread Chuck Swiger
Hi--

On Feb 17, 2010, at 3:59 PM, Yuri wrote:
 Erik Trulsson wrote:
 It very much depends on what hardware you have in the system.  Just
 about every expansion card or I/O device will reserve some of the
 address space for its own use.  Some devices will need a lot of space - a 
 graphics card with 256MB of RAM on it will use (at least) 256MB of the 
 address space for example.
 
 This doesn't seem like a good idea that video memory is always mapped to 
 system memory. What if one day graphics card gets 4GB RAM? Then we won't even 
 be able to have 32-bit OS working with such card and in 64-bit OS 4GB of 
 memory would be grossly wasted.

At one point, there was a considerable advantage to have video card memory 
fully mapped into untranslated address space so that various things could read 
or write as they pleased (cf VESA linear framebuffer); generally they gained 
speed advantages from this.

With AGP's GART, the amount of memory available for textures, bump-maps, etc, 
could reside in video card memory, local RAM, or a combination.  Modern video 
cards do not have keep their entire memory space mapped into address space; for 
example, a nVidia 275 card with 1792 MB of RAM doesn't seem to want more than 
256MB of address space under 32-bit Windows platforms.

Regards,
-- 
-Chuck

___
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 File Server with ZFS

2010-02-17 Thread krad
On 18 February 2010 00:11, mailinglist mailingl...@ucwv.edu wrote:

 I've got an old P4 desktop computer running in the basement with a 1 TB
 external USB drive connected to that I use as a file server.  That PC is
 running XP.  It has recently become infected with some sort of virus.  I'd
 like to replace it with FreeBSD running ZFS + Samba (I need to access it
 from a OS X machine and a Windows 7 box).



 1) Will FreeBSD be able to detect and use my TB hard drive as ZFS disk?
  Right now it is only a single disk, but later on I'll and a second disk and
 setup a mirror.  Even as a single disk, the checksumming ability would be
 nice.


Should be fine




 2)Assume I get everything setup in regards to step 1 and my OS disk dies.
  How do I go about importing the ZFS external disk into another FreeBSD
 installation?




Just make sure you plug it into a freebsd v 7.2+ (preferably 8+) and zpool
import it with a -f flag


On another point make sure your p4 has plenty of ram preferably 4gb, but at
least 2

 Thanks for all of the help!
 ___
 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: FreeBSD to Cisco ASA 5505 VPN Connection

2010-02-17 Thread Bill Tillman

--- On Wed, 2/17/10, Chuck Swiger cswi...@mac.com wrote:


From: Chuck Swiger cswi...@mac.com
Subject: Re: FreeBSD to Cisco ASA 5505 VPN Connection
To: Bill Tillman btillma...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Wednesday, February 17, 2010, 5:17 PM


Hi--

On Feb 17, 2010, at 3:06 PM, Bill Tillman wrote:
 The tech told me that I need to forward ports 500 and 4500 with my FreeBSD 
 router to the small VPN router inside my LAN. That's simple enought but then 
 he tells me I need to redirect all EPS and all AH traffic as well. I guess 
 this is where FreeBSD+NATD+IPFW hits the wall when working with Cisco or is 
 it? I gotta believe this can work but I don't know how the heck to do it and 
 the tech at our IT consultant is totally lost when it comes to anything 
 besides Cisco equipment.
 Has anyone got a suggestion on how to do a port redirect with natd to pickup 
 these EPS and AH packets. I added some new lines to my /etc/natd.conf file 
 and the AH part seemed ok but the console screen immediately said what the 
 heck is EPS. And worse it did not work. Only when I put the VPN router 
 outside of my existing router does this setup work. I really want to keep 
 this thing inside my LAN or even better would be how do I get my existing 
 router to work as a VPN on it's own?

When I was dealing with the Cisco VPN client, I was doing so with IPFW+natd and 
you need 500/udp, 4500/udp, 62515/udp, 1723/tcp, 1/tcp, and the GRE 
protocol.  In my case, /etc/natd.conf contained:

punch_fw 1:100
redirect_proto gre 10.1.1.247
redirect_port udp 10.1.1.247:500 500
redirect_port udp 10.1.1.247:4500 4500
redirect_port udp 10.1.1.247:62515 62515
redirect_port tcp 10.1.1.247:1 1
redirect_port tcp 10.1.1.247:pptp pptp

...to send the traffic to a VPN endpoint located at IP 10.1.1.247.

Regards,
-- 
-Chuck


Thanks for everyone's valuable input on this. I'm still new to all this 
protocol and port forwarding topics.
 
As I see it, in the /etc/protocols file they list esp, ah and gre
 
so I would need all of this in my /etc/natd.conf like this:
 
punch_fw 1:100
redirect_proto gre 10.0.0.252
redirect_proto esp 10.0.0.252
redirect_proto ah 10.0.0.252
redirect_port udp 10.0.0.252:500 500
redirect_port udp 10.0.0.252:4500 4500
redirect_port udp 10.0.0.252:62515 62515
redirect_port tcp 10.0.0.252:1 1
redirect_port tcp 10.0.0.252:pptp pptp

 
 
The VPN router inside my LAN is 10.0.0.252. Then I added these rules to my ipfw 
rule set:
 
ipfw add allow udp from any to any 500
ipfw add allow udp from any to any 4500
ipfw add allow udp from any to any 62515
ipfw add allow tcp from any to any 1
ipfw add allow tcp from any to any 1723

The VPN router makes the connection to the other Cisco router but the phone 
still does not work. I turned the firewall in my VPN router off but still no 
go. This only works when I place the VPN router upstream of my router so it's 
got to be something in my FreeBSD router which is not letting the traffic 
through. I've been checking my /var/log/security file but don't see anything 
being blocked that's related to this.



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


Can't boot off the USB image

2010-02-17 Thread rocwhite168
My computers (Dell SX280 PCs or Dell D600 laptop) seem to refuse to boot off 
the USB disk with non-Windows images written to it (I have also tried 
OpenSolaris images). I've tried using dd to write the .img files, or using 
unetbootin to write either .img or .iso images, or using UltraISO to write the 
iso files to my USB disk, but all the methods failed. But if the image was a 
Windows boot disk, it did work. Does anyone know what the problem could be? Is 
it simply because the computers are old enough? Or do I have to do anything 
special for the FreeBSD images to make the computers boot off a USB device?


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


RE: What would make ntpd hang in BSD 8?

2010-02-17 Thread Peter Steele
Resending this message. For some reason my post never showed up...

-Original Message-
From: Peter Steele 
Sent: Wednesday, February 17, 2010 11:51 AM
To: freebsd-questions@freebsd.org
Subject: RE: What would make ntpd hang in BSD 8?

  ntpq -pc rv localhost
  cat /etc/ntp.conf

My ntp.conf looks like this:

# General Configuration
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
server 3.us.pool.ntp.org

# Drift file
driftfile /var/db/ntpd.drift

The output from ntpq for the BSD 7 system is this:

 remote   refid  st t when poll reach   delay   offset  jitter
==
+169.229.70.183  169.229.128.214  3 u   40  512   377.9219.170   8.836
*208.75.88.4 192.12.19.20 2 u   43  512   37   12.0498.224   8.168
+217.160.254.116 209.51.161.238   2 u   38  512   37   55.111   -7.128  10.347
+198.247.173.220 128.206.12.130   3 u   39  512   37   47.401   -1.149   3.659
status=c624 sync_alarm, sync_ntp, 2 events, event_peer/strat_chg, version=ntpd 
4.2.0-a Sun Feb 24 09:12:07 UTC 2008 (1), processor=amd64, 
system=FreeBSD/7.0-RELEASE-p9, leap=11, stratum=16, precision=-20, 
rootdelay=0.000, rootdispersion=8.340, peer=25349, refid=INIT, 
reftime=.  Wed, Feb  6 2036 22:28:16.000, poll=4, 
clock=cf26c2d5.ea2b4541  Wed, Feb 17 2010 11:32:37.914, state=1, offset=0.000, 
frequency=-13.269, jitter=0.001, stability=0.000

and the output from the BSD 8 system is this:

 remote   refid  st t when poll reach   delay   offset  jitter
==
 169.229.70.183  .INIT.  16 u-   6400.0000.000   0.002
 208.75.88.4 .INIT.  16 u-   6400.0000.000   0.002
 217.160.254.116 .INIT.  16 u-   6400.0000.000   0.002
 198.137.202.16  .INIT.  16 u-   6400.0000.000   0.002
assID=0 status=c011 sync_alarm, sync_unspec, 1 event, event_restart, 
version=ntpd 4.2.4p5-a (1), processor=amd64, system=FreeBSD/8.0-CURRENT, 
leap=11, stratum=16, precision=-19, rootdelay=0.000, rootdispersion=0.000, 
peer=0, refid=INIT,
reftime=.  Wed, Feb  6 2036 22:28:16.000, poll=6,
clock=cf26c4d1.d21b33f1  Wed, Feb 17 2010 11:41:05.820, state=1, offset=0.000, 
frequency=-14.299, jitter=0.002, noise=0.002, stability=0.000, tai=0

The most obvious difference is the .INIT. entries, but there also appear to be 
several 0.0 type of entries that look suspicious. What do these imply?

___
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


Maximum Number of USB Mass Storage Devices

2010-02-17 Thread Patrick Collins
I have a requirement to connect a large number of USB bus powered external
hard disks to a FreeBSD 8.0 system. I am talking about hundreds of them. I
am aware of the power and bus limitations and intend to use power hubs and
multiple server USB ports to overcome this issue. My question is this:

Does FreeBSD 8.0-RELEASE have an operating system limitation on the number
of USB storage devices I can connect and mount.

Thanks.

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


Re: Can't boot off the USB image

2010-02-17 Thread Fbsd1

rocwhite168 wrote:

My computers (Dell SX280 PCs or Dell D600 laptop) seem

to refuse to boot off the USB disk with non-Windows images are
written to it (I have also tried OpenSolaris images).
I've tried using dd to write the .img files, or using unetbootin to
write either .img or .iso images, or using UltraISO to write the iso
files to my USB disk, but all the methods failed. But if the image was 
a Windows boot disk, it did work. Does anyone know what the problem 
could be? Is it simply because the computers are to old? Or do I
have to do anything special for the FreeBSD images to make the 
computers boot off a USB device?



Thank you very much!
___



When you say USB disk, you do mean an USB cabled external disk hard 
drive correct? That being the case, you have to download the FreeBSD 
disc1.iso file and burn it to a cdrom disk and then boot off that to 
start the sysinstall process to populate your USB cabled external disk 
hard drive with the FreeBSD operating system. Reading the FreeBSD manual 
on the install process or the Freebsd install guide should help you a lot.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
or
http://www.a1poweruser.com


Now if on the other hand you are really talking about a (USB memory 
stick, flash drive, key disk, stick disk, or pen) which all mean the 
same thing, then you should read this article Everything you want to 
know about Installing FreeBSD on a USB stick 
http://www.a1poweruser.com/30.00-USB_installing_article.php


If none of this helps you then repost with an more detailed description 
of just what you did and what the result was.




___
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: video and FreeBSD?

2010-02-17 Thread Polytropon
On Wed, 17 Feb 2010 11:33:32 -0800, Gary Kline kl...@thought.org wrote:
   Guys,
 
   If I wanted to capture a video stream (say 30fps) in RAM and 
   store it or write to a file and/or sent it to a website or on 
   to another computer, what ports are avalable for this kind of 
   live capture?

I use mencoder for that. The input for video is a PCI
video card (Haupauge something, using bktr driver), and
audio is captured from a standard PCI sound card (cmi driver).
Postprocessing to file or piping the information is
possible.



   Is there one standard for moving images [jpg, mov, avi]? 

Not that I know. Moving images, e. g. animated images,
are often implemented using the GIF format.

Video, often combined with audio, are encoded using a
certain mechanism (e. g. MPEG) and then encapsulated
into a container that takes care of video and audio
synchonization.



   Or does this depend on the camera or associated hardware?

Often cameras provide one arbitrary may of representing
the information. My cheap Aiptek (AEG Snap) camera, for
example, stored images in PNM format, while my Canon S3 IS
already uses JPG for that. Other cameras I know use a
certain bitmap format. It's the same with video: Some
cameras produce AVI, oders MPEG. Those information can
be obtained as strem (webcam functionality) or as a
file (download from camera).



   There isn't much in ports; or it may be that I'm just not
   searching on the right keywords.

The port mplayer / mencoder / gmencoder is your universal
BSD army knife for most tasks. :-)

Other interesting ports are gtkam and gphoto2, and of course
there's a KDE tool which's name I can't remember, but it's
something with K.

It would be easier to find a good tool if you could be more
specific on what exactly you're trying to achieve.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to read .ods (OpenDocument Spreadsheet) without KOffice?

2010-02-17 Thread Polytropon
On Wed, 17 Feb 2010 23:30:26 +, Anton Shterenlikht me...@bristol.ac.uk 
wrote:
 I was sent some ods (OpenDocument Spreadsheet) files.
 I'm not really keen to install KOffice.
 Is there another program in the ports which
 could be used to view ods files or to convert
 them into pdf or PostScript?

May sound like an adventure, but may be possible: Extract
the compressed ods files (ZIP archive, if I remember correctly)
and you have XML files (data files and style files); I
am sure that there is a program that can interpret those
data at least read-only and give you a readable output
that you can forward to printer preprocessing (in order
to have PS or PDF).

As I've never really worked with Abiword, I can't tell 
you if it'll run on IA64 / sparc64 and if it will open
the ods files...


-- 
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: video and FreeBSD?

2010-02-17 Thread Olivier Nicole
Hi,

  If I wanted to capture a video stream (say 30fps) in RAM and
  store it or write to a file and/or sent it to a website or on
  to another computer, what ports are avalable for this kind of
  live capture?
 I use mencoder for that. The input for video is a PCI video card
 (Haupauge something, using bktr driver), and audio is captured from
 a standard PCI sound card (cmi driver).  Postprocessing to file or
 piping the information is possible.

Same thing.

For video surveillance I caputure video from a camera with:

$ /usr/local/bin/mencoder tv:// -tv driver=bsdbt848:noaudio:norm=NTSC:input=1 
-nosound -o 2010-02-10.20-41-18.avi -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=400 -really-quiet

Stop the acquisition wil a kill -TERM. The file output is:

$ file 2010-02-10.20-41-18.avi
2010-02-10.20-41-18.avi: RIFF (little-endian) data, AVI, 640 x 480, ~30 fps, 
video: FFMpeg MPEG-4

Best regards,

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


Console problem

2010-02-17 Thread Jurif
Hi!

I have some problems with console (freebsd 7.2). When i press up arrow
keyboard button to repeat previous command (history) and try to edit this
line can't because overwrite text... Also have issue with text editor like
emacs when type or press enter 25E string apear again and again

All this things doesn't happen if i connect to box via SSH (pseudo
terminal). In pseudo terminal all works perfect.

Regards,

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