AUTO: KVVSN Murthy is out of the office. (returning 07/25/2012)

2012-07-23 Thread murthykvvsn

I am out of the office until 07/25/2012.

In my obsence, please coordinate with Mr.KN Rao for PET related activities.


Note: This is an automated response to your message  freebsd-questions
Digest, Vol 424, Issue 10 sent on 7/22/2012 5:30:41 PM.

This is the only notification you will receive while this person is away.

Disclaimer

This message contains legally privileged and/or confidential information. If 
you are not the intended recipient(s), or employee or agent responsible for 
delivery of this message to the intended recipient(s), you are hereby notified 
that any dissemination, distribution or copying of this e-mail message is 
strictly prohibited. If you have received this message in error, please 
immediately notify the sender and delete this e-mail message from your computer.
WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

___
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: Jails on FreeBSD 9.0

2012-07-23 Thread Eitan Adler
On 22 July 2012 21:55, Herbert J. Skuhra h.sku...@gmail.com wrote:
 On Sat, 21 Jul 2012 16:10:56 +0200
 Herbert J. Skuhra h.sku...@gmail.com wrote:

 On Sat, Jul 21, 2012 at 11:24 AM, Herbert J. Skuhra h.sku...@gmail.com 
 wrote:
  Hi,
 
  ok, this is obviously a pf problem and the reason why the network in
  the jail doesn't work.
 
  ifconfig lo1 create
  ifconfig lo1 10.0.0.10 netmask 0xff00
  nc -s 10.0.0.10 xx.xx.xx.xx 25
 
  With pf: connections fails; server receives SYN-ACK, but nc continues
  sending SYNs until nc gives up
 
  With ipfw: connection OK
 
  On my Soekris box at home (9.1-PRERELEASE i386) both ipfw and pf works.

 Could this be a bug in the fxp driver?
 I have a 2nd machine with a fxp nic. Same problem.

 Thanks to yongari@ the issue could be resolved on both machines by
 disabling receive checksum offloading (ifconfig fxp0 -rxsum).

If this is a fxp bug, can you please file a PR explaining the issue
and how to reproduce it?


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


Re: da0: 40.000MB/s transfers What was rationale behind pegging USB 2.0 at 40MB/s?

2012-07-23 Thread Wojciech Puchar

And USB 2.0 hard limit is 60MB/s.

i have never seen USB 2.0 exceeding 35MB/s write and 40MB/s read.

even when connecting SATA disk over USB-SATA bridge.

60MB/s is wire speed. USB have enormous protocol overhead.
___
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: fsck on FAT32 filesystem?

2012-07-23 Thread perryh
Robert Bonomi bon...@mail.r-bonomi.com wrote:

  MSDOS/PCDOS had no _documented_ functions to directly access the
  disks, bypassing the file system, but the functions _did_ exist.

 I'm sure you can provide the DOS 'function number' for those calls,
 and cites to published data confirming.

They may have involved a dedicated INT or two, e.g. INT 25H and/or
INT 26H, rather than INT 21H with a function number in AX.

I could have provided specifics 25 years ago :) when I was involved
with this stuff on a daily basis.  I have no idea whether it was
ever published, but it was well known to those of us who were using
it in system-level utilities.

  The debugger's read sector and write sector commands used them,
  and I suspect chkdsk, scandisk, and format probably also used them
  although I never had occasion to verify one way or the other.

 My experince in porting MSDOS 3.1 to a non pc-clone architecture was 
 that fdisk, format, chkdsk, debug, and sys all invoked INT 13H directly.

I've got you beat in seniority :)  I was mostly working on 2.x, and
got out of the business somewhere around 3.1 or 3.2.

I think I'd remember if our stuff had quit working when 3.x came
along, but it's possible that those interfaces were only retained
for compatibility -- to avoid breaking old 3rd-party code -- and
that the MS userland had been revised to call the BIOS directly
(since by then the market consisted almost entirely of PCs and
clones -- decidedly not the case in the 2.0-2.1 timeframe).

BTW fdisk _would_ always have had to use BIOS calls, or some other
platform-specific mechanism, since the direct disk access in DOS was
restricted to the DOS partition(s).  The parameters were something
like buffer address, logical drive number (0 = A:, 2 = C:, etc.),
starting sector within the logical drive, and number of sectors.
___
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: Jails on FreeBSD 9.0

2012-07-23 Thread Herbert J. Skuhra
On Mon, Jul 23, 2012 at 8:31 AM, Eitan Adler li...@eitanadler.com wrote:

 If this is a fxp bug, can you please file a PR explaining the issue
 and how to reproduce it?

kern/170081

-- 
Herbert
___
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 get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-23 Thread Manish Jain

On 21-Jul-12 19:06, Matthias Apitz wrote:

El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain escribió:


Hello Erich/Matthias,

Thanks for your responses.

I do not have the usbdump command on my system. usbconfig gives the
following output :
...
ugen0.2:Back-UPS ES 650Y-IN FW:853.m4.I USB FW:m4 American Power
Conversion  at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen1.2:HUAWEI Mobile HUAWEI TECHNOLOGIES  at usbus1, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON
ugen2.2:USB2.0 Hub vendor 0x05e3  at usbus2, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE


PFA ppp.log. As you will find, it repeatedly complains of /dev/cuaU0.0
being an invalid file. But the output of 'ls -l' shows the contrary :

...
crw-rw  1 uucp  dialer  0, 143 Jul 21 17:38 cuaU0.0
crw-rw  1 uucp  dialer  0, 144 Jul 21 17:38 cuaU0.0.init
crw-rw  1 uucp  dialer  0, 145 Jul 21 17:38 cuaU0.0.lock
crw-rw  1 uucp  dialer  0, 149 Jul 21 17:38 cuaU0.1
crw-rw  1 uucp  dialer  0, 150 Jul 21 17:38 cuaU0.1.init
crw-rw  1 uucp  dialer  0, 151 Jul 21 17:38 cuaU0.1.lock
crw-rw  1 uucp  dialer  0, 155 Jul 21 17:38 cuaU0.2
crw-rw  1 uucp  dialer  0, 156 Jul 21 17:38 cuaU0.2.init
crw-rw  1 uucp  dialer  0, 157 Jul 21 17:38 cuaU0.2.lock
crw-rw  1 uucp  dialer  0,  44 Jul 21 17:38 cuau0
crw-rw  1 uucp  dialer  0,  45 Jul 21 17:38 cuau0.init
crw-rw  1 uucp  dialer  0,  46 Jul 21 17:38 cuau0.lock
...


Thanks for any tips/help. Which port do I need to install to get usbdump ?

First of all, do not top-post.

'usbdump' is part of the system, but only from beginning at some
version;

Are you sure that /dev/cuaU0.0 belongs to the modem? Please, detach it,
look with 'ls -l /dev/cuaU*' if it went away, attach it again.
Please show the messages from /var/log/messages on attach.

If the /dev/cuaU0.0 device really belongs to the modem, install 'kermit'
from the ports, create a file ~/.kermrc with

set line  /dev/cuaU0.0
set speed 9600
set escape21
set carrier-watch off
set rec   pack 1000
set send  pack 1000
set window5
set prompt FreeBSD Kermit

and check it you can talk to the modem with kermit; the command ATI2
should say something about the modem device.

One should be first able to talk to the modem with a terminal (like
kermit), then bring chat(1) to work and after this watch ppp log, in
that order.

HIH

matthias


Hi,

I am still stuck because I can't know the syntax to run usbdump. usbdump 
says use the id's provided by lsusb but I forgot to install 
sysutils/usbutils while I still had the EC1261 Huawei stick.


Can someone please send me the sources for this port (sysutils/usbutils) 
? I will need the complete sources for PORTVERSION 0.86 as a gzipped tar 
(please remove freebsd-questions@freebsd.org from addresses if sending), 
as I cannot currently connect my FreeBSD box to the internet.


BTW, cuaU0[.*] are always there on my system, whether my EC1561 stick is 
plugged in or not. So I am surely using the wrong device as the modem. 
The following lines are there in my devfs.conf :


link ugen0.2 usv
own usv root:operator
perm usv 666

link cuaU0.0 modem
own modem root:operator
perm modem 666


Thank you 

Regards,

Manish Jain
+91-99620-10329


___
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: da0: 40.000MB/s transfers What was rationale behind pegging USB 2.0 at 40MB/s?

2012-07-23 Thread Jakub Lach
 i have never seen USB 2.0 exceeding 35MB/s write and 40MB/s read.

That means I essentially got what I wanted- as 
high read output as possible on USB 2.0. Thanks.

Indeed 35MB/s-40MB/s is common reported maximum 
throughput.

 dd if=/dev/zero of=/dev/da0 bs=64k count=1 
 newfs_msdosfs /dev/da0

Apart from bs= that's exactly what I did (Well, there
was one /dev/random/ run prior.) 

What I previously meant is that I had such pendrive, that 
without former formatting in Windows, didn't even show 
up as device in FreeBSD- was completely useless.

That does not mean I didn't newfs_msdosfsed it after
that in FreeBSD (worked perfectly fine since) :)



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729143.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re[2]: ipfw counters for tables

2012-07-23 Thread Eugen Konkov
Здравствуйте, Ian.

Вы писали 23 июля 2012 г., 8:27:50:

IS In freebsd-questions Digest, Vol 424, Issue 10, Message: 10
IS On Sun, 22 Jul 2012 14:55:46 +0300 Eugen Konkov kes-...@yandex.ru wrote:

IS Hi Eugen,

  I use ipfw tables to allow host to access to internet.
  is there counter for matched packets/bytes for table entry like for 
  ipfw rule?
  
  #ipfw show 901
  rule packetsbytes
  00901  302271108  27717115967 allow ip from 10.10.1.3 to any
  
  #ipfw table 7 list
  ---table(7)---
  10.7.60.41/32 100
  
  No counters here (((

IS No, there are no individual counters for matched entries in tables.  
IS Apart from extra space cost, the accounting time cost would be huge; 
IS lookups are fast but updating radix trees per match would be very slow.

IS Also, a table may be referenced in multiple rules, or even twice in the
IS same rule, so what could such a count really indicate?

IS Of course, counts for matching the table are in the rule/s concerned:

IS 16100583003060562 deny log logamount 20 ip from table(1) to any in 
recv ng0
IS 16200 4449 226060 deny log logamount 20 tcp from
IS table(25) to any dst-port 25,110 in recv ng0 setup
IS 23000   45   2700 allow log logamount 100 tcp from
IS table(22) to w.x.y.z dst-port 22 in recv ng0 setup

but if lookup function will return matched entry, then calling rule
may update appropriate counter.

matchedentry= lookup_table( PACKETDATA );
updatecounter(matchedentry);

#ipfw show 16100
16100583003060562 deny *counttable* log logamount 20 ip from table(1) 
to any in recv ng0
 5300 10.5.0.1/32
   300562 10.5.0.7/32
  8000  6 10.5.0.2/32

will this be slow?


IS Myself, I'd be more interested in a last-match timestamp than a count 
IS for table entries, but that won't happen either for the above reasons :)

IS cheers, Ian




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

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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-23 Thread Erich Dollansky
Hi,

On Monday 23 July 2012 16:46:04 Manish Jain wrote:
 On 21-Jul-12 19:06, Matthias Apitz wrote:
  El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain escribió:
 

 I am still stuck because I can't know the syntax to run usbdump. usbdump 

man usbdump

usbconfig gives you the device numbers.

 Can someone please send me the sources for this port (sysutils/usbutils) 

All you need at this stage is in the base.

 (please remove freebsd-questions@freebsd.org from addresses if sending), 
 as I cannot currently connect my FreeBSD box to the internet.

If we do no other people will be able to help you.
 
 BTW, cuaU0[.*] are always there on my system, whether my EC1561 stick is 

It might be your UPS.

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


Re: PCBSD9.0-x64-DVD and Intel HD Graphics 2000

2012-07-23 Thread Vladislav
On Sat, Jul 21, 2012 at 7:52 AM, David Christensen 
dpchr...@holgerdanske.com wrote:

 freebsd-questions:

 I've installed PCBSD9.0-x64-DVD on the following hardware:

 Intel DQ67SW motherboard
 Intel i7-2600S processor
 Corsair CMV8GX3M2A1333C9 memory (DDR3, 1333 MHz, 2@4 GB dual)
 Intel SSDSC2CW060A310 solid-state drive (520 series, 60 GB)
 Nokia 445XiPlus monitor (21 CRT, high bandwidth)


 For video, I would like to use the Intel HD Graphics 2000 provided by the
 processor and motherboard.  When I run the PC-BSD Display Settings applet:

 1.  The intel and/or intel-3d-enable Video Driver settings do not seem
 to have any effect.

 2.  The Monitor Settings do not seem to have any effect.

 3.  The Screen Resolution setting seems to work, but I am unable to affect
 the refresh rate.  (I prefer 1600x1200 @ 85 Hz.)


 I have updated the system using Update Manager, and the problems persist.


 Any suggestions?


 TIA,

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



http://wiki.freebsd.org/Intel_GPU
___
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: da0: 40.000MB/s transfers What was rationale behind pegging USB 2.0 at 40MB/s?

2012-07-23 Thread Jerry
On Mon, 23 Jul 2012 03:02:56 -0700 (PDT)
Jakub Lach articulated:

 What I previously meant is that I had such pendrive, that 
 without former formatting in Windows, didn't even show 
 up as device in FreeBSD- was completely useless.
 
 That does not mean I didn't newfs_msdosfsed it after
 that in FreeBSD (worked perfectly fine since) :)

I experienced that phenomena of a drive not being recognized once also.
However, after formatting it in Windows why duplicate it again in
FreeBSD? It serves no purpose that I am aware of. By the way, it is too
bad that FreeBSD is not able to take advantage of the exFat format
like other distributions do.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
Paul Revere was a tattle-tale.
___
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: da0: 40.000MB/s transfers What was rationale behind pegging USB 2.0 at 40MB/s?

2012-07-23 Thread Jakub Lach
 However, after formatting it in Windows why duplicate it again in 
 FreeBSD?

Just to check if it works as should, also trim sectors and whatever.

Format without partition table?

But in this case, no 1 reason was probably most important.



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/da0-40-000MB-s-transfers-What-was-rationale-behind-pegging-USB-2-0-at-40MB-s-tp5729028p5729157.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: da0: 40.000MB/s transfers What was rationale behind pegging USB 2.0 at 40MB/s?

2012-07-23 Thread Wojciech Puchar

However, after formatting it in Windows why duplicate it again in
FreeBSD? It serves no purpose that I am aware of. By the way, it is too
bad that FreeBSD is not able to take advantage of the exFat format



fusefs-exfat in ports

still i don't really care, i would reformat in as FAT32 anyway.
___
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: da0: 40.000MB/s transfers What was rationale behind pegging USB 2.0 at 40MB/s?

2012-07-23 Thread Wojciech Puchar

Format without partition table?


yes. Windows recognizes it properly except Win98/95 (which doesn't work 
with large USB drives anyway).


___
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: da0: 40.000MB/s transfers What was rationale behind pegging USB 2.0 at 40MB/s?

2012-07-23 Thread Wojciech Puchar

What I previously meant is that I had such pendrive, that
without former formatting in Windows, didn't even show
up as device in FreeBSD- was completely useless.


the result of XXI century way of programming - flash translator firmware 
in that case.


They don't even read specs about USB storage, just it is fine if it works 
(seems to work) in windoze.

___
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: fsck on FAT32 filesystem?

2012-07-23 Thread Wojciech Puchar


I could have provided specifics 25 years ago :) when I was involved
with this stuff on a daily basis.  I have no idea whether it was


same as me. still it is off topic.

___
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


Question about install from ports

2012-07-23 Thread Mr U
hi all

I want to install openbox from ports collection.
freebsd attempting to download libxml2 from fr.rpmfind.net but 
I don't know why connection speed slow down after a while and finally
failed.

is it possible to change download location (mirror) or is it possible to 
download file manually 
and add file in openbox dir?

thank you all
mru
___
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


Question about install from ports

2012-07-23 Thread Mr U
hi all


I want to install openbox from ports collection.
freebsd attempting to download libxml2 from fr.rpmfind.net but 
I don't know why connection speed slow down after a while and finally
failed.

is it possible to change download location (mirror) or is it possible to 
download file manually 
and add file in openbox dir?

thank you all
mru

___
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: PCBSD9.0-x64-DVD and Intel HD Graphics 2000

2012-07-23 Thread Erich Dollansky
Hi,

On Monday 23 July 2012 17:37:00 Vladislav wrote:
 On Sat, Jul 21, 2012 at 7:52 AM, David Christensen 
 dpchr...@holgerdanske.com wrote:
 
  freebsd-questions:
 
  I've installed PCBSD9.0-x64-DVD on the following hardware:

this where the problem starts. If nothing changed since I used this, it only 
supports VESA on i7 CPUs.
 
  I have updated the system using Update Manager, and the problems persist.
 
What does this affect? Also the FreeBSD part?

I am now running FreeBSD 10 on an i7 without any problems. It should also be 
possible to get the same result with a current 9.0.
 
  Any suggestions?

Do the same what I have done. Use PC-BSD just to get a machine running and then 
update to FreeBSD.

and of couse:
 
 
 http://wiki.freebsd.org/Intel_GPU

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


Re: da0: 40.000MB/s transfers What was rationale behind pegging USB 2.0 at 40MB/s?

2012-07-23 Thread Erich Dollansky
Hi,

On Monday 23 July 2012 17:48:50 Jerry wrote:
 On Mon, 23 Jul 2012 03:02:56 -0700 (PDT)
 Jakub Lach articulated:
 
  What I previously meant is that I had such pendrive, that 
  without former formatting in Windows, didn't even show 
  up as device in FreeBSD- was completely useless.
  
  That does not mean I didn't newfs_msdosfsed it after
  that in FreeBSD (worked perfectly fine since) :)
 
 I experienced that phenomena of a drive not being recognized once also.
 However, after formatting it in Windows why duplicate it again in
 FreeBSD? It serves no purpose that I am aware of. By the way, it is too
 bad that FreeBSD is not able to take advantage of the exFat format
 like other distributions do.

isn't there support for it via fuse?

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


Re: Question about install from ports

2012-07-23 Thread RW
On Mon, 23 Jul 2012 03:45:35 -0700 (PDT)
Mr U wrote:

 hi all
 
 I want to install openbox from ports collection.
 freebsd attempting to download libxml2 from fr.rpmfind.net but 
 I don't know why connection speed slow down after a while and finally
 failed.
 
 is it possible to change download location (mirror) or is it possible
 to download file manually and add file in openbox dir?
 


Temporarily set RANDOMIZE_MASTER_SITES 

___
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: Question about install from ports

2012-07-23 Thread Daniel Bye
On Mon, Jul 23, 2012 at 03:45:35AM -0700, Mr U wrote:
 hi all
 
 I want to install openbox from ports collection.
 freebsd attempting to download libxml2 from fr.rpmfind.net but 
 I don't know why connection speed slow down after a while and finally
 failed.
 
 is it possible to change download location (mirror) or is it possible to 
 download file manually 
 and add file in openbox dir?

If you can find the file on a faster site, you can download it and put it in
 /usr/ports/distfiles/rpm/i386/fedora/10/ and restart the OpenBox build, or
 you can put these two settings in /etc/make.conf:

MASTER_SITE_BACKUP?=\
ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/

MASTER_SITE_OVERRIDE?=  ${MASTER_SITE_BACKUP}


Change the uk to point to a site near to your geographical location. With
these lines, your ports system will first look for distfiles on the FreeBSD
mirror site, and will only go to the MASTER_SITE in a port's Makefile if the
FreeBSD site doesn't have the required file.  This is sometimes faster than
going to the MASTER_SITE first.

Or, as RW suggested, try setting RANDOMIZE_MASTER_SITES.

Dan

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


pgpbbi9WCa4Im.pgp
Description: PGP signature


Re: help about free bsp version netcat to work it on ubuntu

2012-07-23 Thread Polytropon
On Mon, 23 Jul 2012 12:59:55 +0800, lei yang wrote:
 On Mon, Jul 23, 2012 at 12:25 AM, Polytropon free...@edvax.de wrote:
  On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote:
  Hi,
 
  I want to build a netcat on my local pc (ubuntu) with gcc, is it
  possible? I'm new to free bsd
 
  I hope I don't misunderstand your intention: You are trying to
  build a Linux executable of netcat from FreeBSD's sources?
 
  You _do_ know that FreeBSD and Linux (here: Ubuntu) are two
  totally different operating systems. I'm not sure code is
  compatible at this level (but it maybe _could_ be, you'd
  have to try it).
 
  The netcat program (nc) is part of the FreeBSD operating
  system for some time now. There's also a port of netcat
  in /usr/ports/net/netcat (which can also be used). That
  port's Makefile lists some sources:
 
  ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/
 
  ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/
 
  http://www.planetmirror.com/pub/lprng/TOOLS/
 
  You could try to use that source distribution as well.
 
 
 
 
 Thanks for the great help, I have built it successfully on my ubuntu.
 I find it's not the version I want
 I want use the version on Rehat,which has a -U flag( yes, I want to
 use this flag) but the above version has no this flag
 
 on redhat:
 
 usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port]
 [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version]
 [-x proxy_address[:port]] [hostname] [port[s]]
   Command Summary:
   -4  Use IPv4
   -6  Use IPv6
   -D  Enable the debug socket option
   -d  Detach from stdin
   -h  This help text
   -i secs Delay interval for lines sent, ports scanned
   -k  Keep inbound sockets open for multiple connects
   -l  Listen mode, for inbound connects
   -n  Suppress name/port resolutions
   -p port Specify local port for remote connects
   -r  Randomize remote ports
   -s addr Local source address
   -T ToS  Set IP Type of Service
   -C  Send CRLF as line-ending
   -t  Answer TELNET negotiation
   -U  Use UNIX domain socket
   -u  UDP mode
   -v  Verbose
   -w secs Timeout for connects and final net reads
   -X protoProxy protocol: 4, 5 (SOCKS) or connect
   -x addr[:port]  Specify proxy address and port
   -z  Zero-I/O mode [used for scanning]
   Port numbers can be individual or ranges: lo-hi [inclusive]
 
 --
 with the above you list:
 
 lyang0@lyang0-OptiPlex-755:~/tmp/nc110$ ./nc -help
 [v1.10]
 connect to somewhere: nc [-options] hostname port[s] [ports] ...
 listen for inbound:   nc -l -p port [-options] [hostname] [port]
 options:
   -g gateway  source-routing hop point[s], up to 8
   -G num  source-routing pointer: 4, 8, 12, ...
   -h  this cruft
   -i secs delay interval for lines sent, ports scanned
   -l  listen mode, for inbound connects
   -n  numeric-only IP addresses, no DNS
   -o file hex dump of traffic
   -p port local port number
   -r  randomize local and remote ports
   -s addr local source address
   -u  UDP mode
   -v  verbose [use twice to be more verbose]
   -w secs timeout for connects and final net reads
   -z  zero-I/O mode [used for scanning]
 port numbers can be individual or ranges: lo-hi [inclusive]
 
 
 it has no -U flag, can you point me where I get this version

This indicates you did use the netcat version that also is
in the FreeBSD Ports Collection. The netcat version that
belongs to the FreeBSD system (the operating system itself)
does seem to have the switch you need.

From my home FreeBSD box (8.2-STABLE of August 2011, i386),
THIS is the netcat help message:

% nc -help
usage: nc [-46DdEhklnrStUuvz] [-e policy] [-I length] [-i interval] [-O length]
  [-P proxy_username] [-p source_port] [-s source] [-T ToS]
  [-V rtable] [-w timeout] [-X proxy_protocol]
  [-x proxy_address[:port]] [destination] [port]
Command Summary:
-4  Use IPv4
-6  Use IPv6
-D  Enable the debug socket option
-d  Detach from stdin
 

Re: Question about install from ports

2012-07-23 Thread Polytropon
On Mon, 23 Jul 2012 04:00:37 -0700 (PDT), Mr U wrote:
 is it possible to change download location (mirror) or is it possible to 
 download file manually 
 and add file in openbox dir?

It is possible.

First check the port's Makefile for where to obtain the required
files from. There are typically more than one source listed. If
one fails, try the next one.

Then place the file in /usr/ports/distfiles and restart the build.




-- 
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: help about free bsp version netcat to work it on ubuntu

2012-07-23 Thread lei yang
On Mon, Jul 23, 2012 at 10:36 PM, Polytropon free...@edvax.de wrote:
 On Mon, 23 Jul 2012 12:59:55 +0800, lei yang wrote:
 On Mon, Jul 23, 2012 at 12:25 AM, Polytropon free...@edvax.de wrote:
  On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote:
  Hi,
 
  I want to build a netcat on my local pc (ubuntu) with gcc, is it
  possible? I'm new to free bsd
 
  I hope I don't misunderstand your intention: You are trying to
  build a Linux executable of netcat from FreeBSD's sources?
 
  You _do_ know that FreeBSD and Linux (here: Ubuntu) are two
  totally different operating systems. I'm not sure code is
  compatible at this level (but it maybe _could_ be, you'd
  have to try it).
 
  The netcat program (nc) is part of the FreeBSD operating
  system for some time now. There's also a port of netcat
  in /usr/ports/net/netcat (which can also be used). That
  port's Makefile lists some sources:
 
  ftp://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/
 
  ftp://ftp.cuhk.edu.hk/pub/packages/security/purdue/netutils/netcat/
 
  http://www.planetmirror.com/pub/lprng/TOOLS/
 
  You could try to use that source distribution as well.
 
 


 Thanks for the great help, I have built it successfully on my ubuntu.
 I find it's not the version I want
 I want use the version on Rehat,which has a -U flag( yes, I want to
 use this flag) but the above version has no this flag

 on redhat:

 usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port]
 [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version]
 [-x proxy_address[:port]] [hostname] [port[s]]
   Command Summary:
   -4  Use IPv4
   -6  Use IPv6
   -D  Enable the debug socket option
   -d  Detach from stdin
   -h  This help text
   -i secs Delay interval for lines sent, ports scanned
   -k  Keep inbound sockets open for multiple connects
   -l  Listen mode, for inbound connects
   -n  Suppress name/port resolutions
   -p port Specify local port for remote connects
   -r  Randomize remote ports
   -s addr Local source address
   -T ToS  Set IP Type of Service
   -C  Send CRLF as line-ending
   -t  Answer TELNET negotiation
   -U  Use UNIX domain socket
   -u  UDP mode
   -v  Verbose
   -w secs Timeout for connects and final net reads
   -X protoProxy protocol: 4, 5 (SOCKS) or connect
   -x addr[:port]  Specify proxy address and port
   -z  Zero-I/O mode [used for scanning]
   Port numbers can be individual or ranges: lo-hi [inclusive]

 --
 with the above you list:

 lyang0@lyang0-OptiPlex-755:~/tmp/nc110$ ./nc -help
 [v1.10]
 connect to somewhere: nc [-options] hostname port[s] [ports] ...
 listen for inbound:   nc -l -p port [-options] [hostname] [port]
 options:
   -g gateway  source-routing hop point[s], up to 8
   -G num  source-routing pointer: 4, 8, 12, ...
   -h  this cruft
   -i secs delay interval for lines sent, ports scanned
   -l  listen mode, for inbound connects
   -n  numeric-only IP addresses, no DNS
   -o file hex dump of traffic
   -p port local port number
   -r  randomize local and remote ports
   -s addr local source address
   -u  UDP mode
   -v  verbose [use twice to be more verbose]
   -w secs timeout for connects and final net reads
   -z  zero-I/O mode [used for scanning]
 port numbers can be individual or ranges: lo-hi [inclusive]


 it has no -U flag, can you point me where I get this version

 This indicates you did use the netcat version that also is
 in the FreeBSD Ports Collection. The netcat version that
 belongs to the FreeBSD system (the operating system itself)
 does seem to have the switch you need.

 From my home FreeBSD box (8.2-STABLE of August 2011, i386),
 THIS is the netcat help message:

 % nc -help
 usage: nc [-46DdEhklnrStUuvz] [-e policy] [-I length] [-i interval] [-O 
 length]
   [-P proxy_username] [-p source_port] [-s source] [-T ToS]
   [-V rtable] [-w timeout] [-X proxy_protocol]
   [-x proxy_address[:port]] [destination] [port]
 Command Summary:
 -4  Use IPv4
 -6  Use IPv6
 -D  

Re: help about free bsp version netcat to work it on ubuntu

2012-07-23 Thread Alejandro Imass
On Mon, Jul 23, 2012 at 11:29 AM, lei yang yanglei.f...@gmail.com wrote:
 On Mon, Jul 23, 2012 at 10:36 PM, Polytropon free...@edvax.de wrote:
 On Mon, 23 Jul 2012 12:59:55 +0800, lei yang wrote:
 On Mon, Jul 23, 2012 at 12:25 AM, Polytropon free...@edvax.de wrote:
  On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote:
  Hi,

[...]


 I don't know where to find the source code in Red Hat.


Why don't you just toss RedHat and use FreeBSD ? Most everything you
run on Linux will run on FreeBSD and there are also Desktop-friendly
distros of FreeBSD such as PC-BSD which, in Linux terms, is to FreeBSD
somewhat akin to what Ubuntu is to Debian.

Anyway, give PC-BSD a try and you won't regret it:

http://www.pcbsd.org/


Cheers,

-- 
Alejandro Imass
___
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: help about free bsp version netcat to work it on ubuntu

2012-07-23 Thread Carl Johnson
lei yang yanglei.f...@gmail.com writes:

 On Mon, Jul 23, 2012 at 12:25 AM, Polytropon free...@edvax.de wrote:
 On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote:
 Hi,

 I want to build a netcat on my local pc (ubuntu) with gcc, is it
 possible? I'm new to free bsd



 it has no -U flag, can you point me where I get this version

Have you checked the other version of netcat already available?  A quick
check shows these four versions for Ubuntu:

netcat: TCP/IP swiss army knife -- transitional package
netcat-openbsd: TCP/IP swiss army knife
netcat-traditional: TCP/IP swiss army knife
netcat6: TCP/IP swiss army knife with IPv6 support

-- 
Carl Johnsonca...@peak.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


fetchmail ssl error

2012-07-23 Thread Anton Shterenlikht
I probably misunderstand how SSL certificates work.

$ cat .fetchmailrc 
poll staff-imap-srv.bris.ac.uk protocol imap user mexas password xxx 
sslcertck sslcertfile /home/mexas/cert/uob-net-ca.crt fetchall
$

$ fetchmail
fetchmail: Server certificate verification error: self signed certificate in 
certificate chain
fetchmail: This means that the root signing certificate (issued for 
/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA 
Root) is not in the trusted CA certificate locations, or that c_rehash needs to 
be run on the certificate directory. For details, please see the documentation 
of --sslcertpath and --sslcertfile in the manual page.
98631:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate 
verify 
failed:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_clnt.c:984:
fetchmail: staff-imap-srv.bris.ac.uk: upgrade to TLS failed.
fetchmail: Unknown login or authentication error on me...@epo.bris.ac.uk
fetchmail: socket error while fetching from me...@staff-imap-srv.bris.ac.uk
fetchmail: Query status=2 (SOCKET)
$

The /home/mexas/cert/uob-net-ca.crt file is supposed
to be the univerisity certificate:

-BEGIN CERTIFICATE-
*several lines*
-END CERTIFICATE-

$ openssl verify uob-net-ca.crt 
uob-net-ca.crt: /O=University of Bristol/OU=IT Services 
(Networks)/emailAddress=service-d...@bristol.ac.uk/L=Bristol/ST=Avon/C=GB/CN=University
 of Bristol Net CA
error 18 at 0 depth lookup:self signed certificate
OK
$


I read in the fetchmail manual
something about c_rehash script,
but I can only find one in 
/usr/ports/mail/cone/scripts/c_rehash

The fetchmail also mentions that:

*quote*
 Additionally, you might need to convert the
certificates to different formats (the PEM format is expected and usually is
available, DER is another one; you can convert between both using the
openssl(1) utility's x509 sub-mode).
*end quote*

So, I'm not sure if I need to convert my
certificate to PEM format or not?

Please advise

Many thanks


-- 
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: help about free bsp version netcat to work it on ubuntu

2012-07-23 Thread Polytropon
On Mon, 23 Jul 2012 23:29:38 +0800, lei yang wrote:
 Yes, the second version I post is using the source from you supplied,
 then I compiled it, but it has no
 -U flag like what I post, it seems a version different casued this.

Yes. The version distributed by the ports collection is different
from that one supplied with the base system of FreeBSD.

To try _that_ version, you can download the source tarball and
extract it; in the directory 

# wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz
# tar xvf src.txz
# cd cusr/src/ontrib/netcat/
# ls
FREEBSD-XlistFREEBSD-vendor   atomicio.h   netcat.c
FREEBSD-upgrade  atomicio.c   nc.1 socks.c
# 
your build command(s) here

You can check the FTP server for other versions of the OS
(e. g. different branch and architecture, starting at
ftp://ftp.freebsd.org/pub/FreeBSD/releases/, then selecting
architecture and finally the OS version). There are also
different ways of obtaining the sources, but the solution
shown here should be sufficient.

(You can use tar xvf src.txz usr/src/contrib/netcat to
only extract the files for netcat instead of everything,
but it _might_ be possible that the build process needs
some files from other locations.)

If you don't have wget installed, stock ftp location
command should also work for downloading.




 I don't know where to find the source code in Red Hat.

Me neither, but check man hier on a RH system to get
the documentation about the file system hierarchy which
should have detailed information on what is stored where.




-- 
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: Question about install from ports

2012-07-23 Thread Daniel Bye
On Mon, Jul 23, 2012 at 08:08:47AM -0700, Mr U wrote:
 thank you dan
 
 but how i can use RANDOMIZE_MASTER_SITES temporary?
 i tried google but i didn't find any info about this!!!

It's just a shell variable, so you can temporarily set it by defining it on
the command line for which you want it to apply. In this case, you'd want to
go back to the OpenBox directory, and type

 RANDOMIZE_MASTER_SITES=1 make all install clean

(That's the number one after the `='. It doesn't really matter what value it
is set to - the important thing is that it's set)

For this one command, RANDOMIZE_MASTER_SITES is in effect.

Looking at this again, it seems I got myself confused as to where you should
download the distribution file. I think your system is trying to download a
plain tbz file, and not an RPM. If that's the case, the downloaded file will
actually go in /usr/ports/distfiles. The fact you mentioned fr.rpmfind.net
was enough to send me off down the wrong path...

Sorry for making things more complicated than they needed to be!

Dan

 
 
 
 
 - Original Message -
 From: Daniel Bye freebsd-questi...@slightlystrange.org
 To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Cc: 
 Sent: Monday, July 23, 2012 6:29 PM
 Subject: Re: Question about install from ports
 
 On Mon, Jul 23, 2012 at 03:45:35AM -0700, Mr U wrote:
  hi all
  
  I want to install openbox from ports collection.
  freebsd attempting to download libxml2 from fr.rpmfind.net but 
  I don't know why connection speed slow down after a while and finally
  failed.
  
  is it possible to change download location (mirror) or is it possible to 
  download file manually 
  and add file in openbox dir?
 
 If you can find the file on a faster site, you can download it and put it in
 /usr/ports/distfiles/rpm/i386/fedora/10/ and restart the OpenBox build, or
 you can put these two settings in /etc/make.conf:
 
 MASTER_SITE_BACKUP?=    \
         ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
 
 MASTER_SITE_OVERRIDE?=  ${MASTER_SITE_BACKUP}
 
 
 Change the uk to point to a site near to your geographical location. With
 these lines, your ports system will first look for distfiles on the FreeBSD
 mirror site, and will only go to the MASTER_SITE in a port's Makefile if the
 FreeBSD site doesn't have the required file.  This is sometimes faster than
 going to the MASTER_SITE first.
 
 Or, as RW suggested, try setting RANDOMIZE_MASTER_SITES.
 
 Dan
 
 -- 
 Daniel Bye
                                                                      _
                                               ASCII ribbon campaign ( )
                                          - against HTML, vCards and  X
                                 - proprietary attachments in e-mail / \
 
 

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


pgpBLKGxZjMLX.pgp
Description: PGP signature


Carp kernel module missing from FreeNAS?

2012-07-23 Thread Brent Clark
Guys

Im looking to have a failover for my FreeNAS systsem.

Im folllowing this, example (
http://qq929962616.72pines.com/2012/03/configure-highly-available-storage-on-freenas/
), but is doesnt look like the Carp module is available.

If that is true, anyone know how I can go about adding / enabling carp
on FreeNAS.

Someone made a suggestion of:

FreeNAS uses a standard FreeBSD Kernel, so you can simply download the
module from the FreeBSD FTP site and it will work. You have to have
the right version however.

How can or woulld I go about that?

Your help would be most appreciated.

Regards
Brent Clark
___
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


question

2012-07-23 Thread Andy Recker
do u answer questions about y computer aftwer trying to install your program
___
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[2]: ipfw counters for tables

2012-07-23 Thread Ian Smith
On Mon, 23 Jul 2012 13:13:47 +0300, Eugen Konkov wrote:
  , Ian.
  ?? ?? 23  2012 ?., 8:27:50:
  IS In freebsd-questions Digest, Vol 424, Issue 10, Message: 10
  IS On Sun, 22 Jul 2012 14:55:46 +0300 Eugen Konkov kes-...@yandex.ru 
  wrote:
  IS Hi Eugen,
  
I use ipfw tables to allow host to access to internet.
is there counter for matched packets/bytes for table entry like for 
ipfw rule?

#ipfw show 901
rule packetsbytes
00901  302271108  27717115967 allow ip from 10.10.1.3 to any

#ipfw table 7 list
---table(7)---
10.7.60.41/32 100

No counters here (((
  
  IS No, there are no individual counters for matched entries in tables.  
  IS Apart from extra space cost, the accounting time cost would be huge; 
  IS lookups are fast but updating radix trees per match would be very slow.

Sorry, I was likely wrong about time cost.  Once you find an entry it's 
there for the updating, but you will have to use write locking on table 
entries, perhaps they're just read locked for lookups now?  I haven't 
read ipfw for years.  Adding new table entries is what's really slow.

  IS Also, a table may be referenced in multiple rules, or even twice in the
  IS same rule, so what could such a count really indicate?

I guess you'll know how you want to use them, so objection overruled :)

  IS Of course, counts for matching the table are in the rule/s concerned:
  
  IS 16100583003060562 deny log logamount 20 ip from table(1) to any 
  in recv ng0
  IS 16200 4449 226060 deny log logamount 20 tcp from
  IS table(25) to any dst-port 25,110 in recv ng0 setup
  IS 23000   45   2700 allow log logamount 100 tcp from
  IS table(22) to w.x.y.z dst-port 22 in recv ng0 setup

  but if lookup function will return matched entry, then calling rule
  may update appropriate counter.

Sounds like a good experiment in your local codebase, with some tests 
for speed and space costs?  64 bit counters?  Might as well store the 
32 bit timestamp too, just like the rule updating code does, I guess?

  matchedentry= lookup_table( PACKETDATA );
  updatecounter(matchedentry);

Code it up :)  Post to freebsd-ipfw@ and see what Luigi and crew say.

  #ipfw show 16100
  16100583003060562 deny *counttable* log logamount 20 ip from 
  table(1) to any in recv ng0
   5300 10.5.0.1/32
 300562 10.5.0.7/32
8000  6 10.5.0.2/32
  
  will this be slow?

Well, display is from userland ipfw, where slow isn't very relevant. 
It'll be what it adds to kernel code and memory requirements that may 
matter.  I'm not sure how you could make this feature optional, short of 
a kernel config option .. but what do I know?

  IS Myself, I'd be more interested in a last-match timestamp than a count 
  IS for table entries, but that won't happen either for the above reasons :)

I often use ipfw -t show (or -ted show) so I guess with -t or -T it may 
show last access timestamps along with packet/byte counts too, as usual?

I'll be happy to test it when you've got working patches.

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: question

2012-07-23 Thread Per olof Ljungmark

On 07/23/12 21:21, Andy Recker wrote:

do u answer questions about y computer aftwer trying to install your program



-- http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/
___
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


Support

2012-07-23 Thread Andy
I was trying to install the free bsd to my mac computer  its an ibook g3 with a 
20gb hard dive i was using the powerpc version and it was working fine then i 
got to the part were you have to set up the hard drive i got some kind of err 
so i turned off my computer when i turned it back on it only boots to a white 
screen idk what to do please 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

usb identity issue

2012-07-23 Thread Al Plant

Aloha...


I am having problem getting usb plug in /flash drive to come up on 
FreeBSD * several boxes with different versions of FreeBSB os I have 3 
boxes for testing here at my shop.


Can anyone point me to any articles on this issue.

Is there a command like usbconfig  (saw this mentioned in an email 
question but it doesnt work) to bring this up on screen?


Dmesg of the booted units shows da1 mostly but this identity cant be 
accessed on any of them.


Thanks

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
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: usb identity issue

2012-07-23 Thread Wojciech Puchar
I am having problem getting usb plug in /flash drive to come up on FreeBSD * 
several boxes with different versions of FreeBSB os I have 3 boxes for 
testing here at my shop.

maybe it's late but i cannot really understand what you mean.

what problems? Attach kernel output messages please.
___
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: PCBSD9.0-x64-DVD and Intel HD Graphics 2000

2012-07-23 Thread David Christensen

On 07/23/2012 03:37 AM, Vladislav wrote:

http://wiki.freebsd.org/Intel_GPU


Okay.


I wrote:
 I've installed PCBSD9.0-x64-DVD on the following hardware:

On 07/23/2012 06:30 AM, Erich Dollansky wrote:
 this where the problem starts. If nothing changed since I used this, 
it only supports VESA on i7 CPUs.


Okay.


I wrote:
 I have updated the system using Update Manager, and the problems persist.

On 07/23/2012 06:30 AM, Erich Dollansky wrote:
 What does this affect? Also the FreeBSD part?

I don't know.


 I am now running FreeBSD 10 on an i7 without any problems. It should 
also be possible to get the same result with a current 9.0.
 Do the same what I have done. Use PC-BSD just to get a machine 
running and then update to FreeBSD.


I was hoping to find an OS distribution that works OOTB.  The key 
features I'm looking for are:


1.  Full support of my hardware; notably Enhanced Speed Step, AES-NI, 
Intel HD Graphics 2000 dual head, and SSD TRIM.


2.  ZFS on encrypted partitions, including root.


I guess I'll have to wait for PC-BSD 10 or FreeBSD 10.


Thanks!

David
___
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: usb identity issue

2012-07-23 Thread Al Plant

Wojciech Puchar wrote:
I am having problem getting usb plug in /flash drive to come up on 
FreeBSD * several boxes with different versions of FreeBSB os I have 3 
boxes for testing here at my shop.

maybe it's late but i cannot really understand what you mean.

what problems? Attach kernel output messages please.


Woj...

The thumb/flash drive is showing in the dmesg as ad1 but it is not 
available to use. It appears the IRQ is blocked by something else. 
Either a IOMEGA /zip drive or the fd0. I tried 3 different computers to 
test and only one works if nothing else (/dev like fd0 or /zip drive is 
hooked up on the mobo.


One of the techs I work with thinks a lot of mobo's have the same 
problem when you have more than one outside /dev is attached.

/Zip and /fd0 work but not /Zip if /flash is attached or plugged in.

For example on the last computer I have tried one of 5 on an atm circuit:
The dmesg shows only fd0 normal. The USB0 USB1 and USB2 shows 1 USB3 
all connected to a hub on the mobo but only a double USB is physically 
useable and hooked to the board. (no way to read any ad* or da* USB). 
ad0 is the hd on the box.


orm0 shows the IOMEGA as isa0 connected with vpI0 (parallel) da0s4.

The other 2 computers I tested on are for hardware bench tests and not 
on any network.


Thanks for your help.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
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: usb identity issue (adds more info)

2012-07-23 Thread Al Plant

Adds missing section:

Al Plant wrote:

Wojciech Puchar wrote:
I am having problem getting usb plug in /flash drive to come up on 
FreeBSD * several boxes with different versions of FreeBSB os I have 
3 boxes for testing here at my shop.

maybe it's late but i cannot really understand what you mean.

what problems? Attach kernel output messages please.


Woj...

The thumb/flash drive is showing in the dmesg as ad1 but it is not 
available to use. It appears the IRQ is blocked by something else. 
Either a IOMEGA /zip drive or the fd0. I tried 3 different computers to 
test and only one works if nothing else (/dev like fd0 or /zip drive is 
hooked up on the mobo.


One of the techs I work with thinks a lot of mobo's have the same 
problem when you have more than one outside /dev is attached.

/Zip and /fd0 work but not /Zip if /flash is attached or plugged in.

For example on the last computer I have tried one of 5 on an atm circuit:
The dmesg shows only fd0 normal. The USB0 USB1 and USB2 shows 1 USB3 
all connected to a hub on the mobo but only a double USB is physically 
useable and hooked to the board. (no way to read any ad* or da* USB). 
ad0 is the hd on the box.


orm0 shows the IOMEGA as isa0 connected with vpI0 (parallel) da0s4.


Added:
da1 for /flash is posted on dmesg by the computer but you cant read the files on the 

/flash from the screen as you can from /floppy or from /zip .

*
The other 2 computers I tested on are for hardware bench tests and not 



on any network.

Thanks for your help.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol






___
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: usb identity issue (adds more info)

2012-07-23 Thread Fbsd8

Al Plant wrote:

Adds missing section:

Al Plant wrote:

Wojciech Puchar wrote:
I am having problem getting usb plug in /flash drive to come up on 
FreeBSD * several boxes with different versions of FreeBSB os I have 
3 boxes for testing here at my shop.

maybe it's late but i cannot really understand what you mean.

what problems? Attach kernel output messages please.


Woj...

The thumb/flash drive is showing in the dmesg as ad1 but it is not 
available to use. It appears the IRQ is blocked by something else. 
Either a IOMEGA /zip drive or the fd0. I tried 3 different computers 
to test and only one works if nothing else (/dev like fd0 or /zip 
drive is hooked up on the mobo.


One of the techs I work with thinks a lot of mobo's have the same 
problem when you have more than one outside /dev is attached.

/Zip and /fd0 work but not /Zip if /flash is attached or plugged in.

For example on the last computer I have tried one of 5 on an atm circuit:
The dmesg shows only fd0 normal. The USB0 USB1 and USB2 shows 1 USB3 
all connected to a hub on the mobo but only a double USB is physically 
useable and hooked to the board. (no way to read any ad* or da* USB). 
ad0 is the hd on the box.


orm0 shows the IOMEGA as isa0 connected with vpI0 (parallel) da0s4.


Added:
da1 for /flash is posted on dmesg by the computer but you cant read 
the files on the 

/flash from the screen as you can from /floppy or from /zip .

*
The other 2 computers I tested on are for hardware bench tests and not 



on any network.

Thanks for your help.



You did not say what release of Freebsd you are running.
Pick one pc to test on and report results from that one only.
Are you saying you have all those devices plugged into individual
USB ports at boot time?
Are all your USB devices coded in /etc/fstab
What version of USB (1, 2, 3) is your flash drive designed for?
Have you tried different manufactures of flash drives?

Post your /etc/fstab  dmesg for usb, output of usbconfig command, draw 
diagram of your usb device configuration.

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


Re: usb identity issue (adds more info)

2012-07-23 Thread Al Plant

Fbsd8 wrote:

Al Plant wrote:

Adds missing section:

Al Plant wrote:

Wojciech Puchar wrote:
I am having problem getting usb plug in /flash drive to come up on 
FreeBSD * several boxes with different versions of FreeBSB os I 
have 3 boxes for testing here at my shop.

maybe it's late but i cannot really understand what you mean.

what problems? Attach kernel output messages please.


Woj...

The thumb/flash drive is showing in the dmesg as ad1 but it is not 
available to use. It appears the IRQ is blocked by something else. 
Either a IOMEGA /zip drive or the fd0. I tried 3 different computers 
to test and only one works if nothing else (/dev like fd0 or /zip 
drive is hooked up on the mobo.


One of the techs I work with thinks a lot of mobo's have the same 
problem when you have more than one outside /dev is attached.

/Zip and /fd0 work but not /Zip if /flash is attached or plugged in.

For example on the last computer I have tried one of 5 on an atm 
circuit:
The dmesg shows only fd0 normal. The USB0 USB1 and USB2 shows 1 USB3 
all connected to a hub on the mobo but only a double USB is 
physically useable and hooked to the board. (no way to read any ad* 
or da* USB). ad0 is the hd on the box.


orm0 shows the IOMEGA as isa0 connected with vpI0 (parallel) da0s4.


Added:
da1 for /flash is posted on dmesg by the computer but you cant read 
the files on the 

/flash from the screen as you can from /floppy or from /zip .

*
The other 2 computers I tested on are for hardware bench tests and not 



on any network.

Thanks for your help.






You did not say what release of Freebsd you are running.


 On one test box is 10 on the other is 9 and on this one is 8 .

This is 8.

Pick one pc to test on and report results from that one only.




Are you saying you have all those devices plugged into individual
USB ports at boot time?


No. Only HD at boot on any of the test boxes. Then i manually try each. 
/dev/fd0 /floppy (Irq6)


/dev/da0s4 /zip Iomega (vpo Zip drive.)

/dev/ad0 WDC (HD)
/dev/acd0 /cdrom


Are all your USB devices coded in /etc/fstab


Yes.

What version of USB (1, 2, 3) is your flash drive designed for?


doesnt say on this dmesg. Only shows up when you plug in the /flash 
(SanDisk)

Have you tried different manufactures of flash drives?

Have tried 2 sandisk /flash different series.


Post your /etc/fstab  dmesg for usb, output of usbconfig command,


The dmesg shows only fd0 normal. The USB0 USB1 and USB2 shows 1 USB3
 all connected to a hub on the mobo but only a double USB is
 physically useable and hooked to the board.

 draw

diagram of your usb device configuration.  ???





~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
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


Removing sendmail from an installed system

2012-07-23 Thread Darren Pilgrim
I'm removing sendmail entirely from an installed system.  I had 
WITHOUT_SENDMAIL in /etc/src.conf when I updated to RELENG_8_3, but that 
left an old version of sendmail rotting away on disk.  This is the list 
I have so far:


/etc/mail/* (excluding mailer.conf)
/etc/rc.d/sendmail
/usr/bin/vacation
/usr/libexec/mail.local
/usr/libexec/sendmail
/usr/libexec/smrsh
/usr/sbin/editmap
/usr/sbin/mailstats
/usr/sbin/makemap
/usr/sbin/praliases
/usr/share/sendmail
/var/spool/clientmqueue
/var/spool/mqueue

Is this list complete?  I'm intentionally leaving the stuff for 
mailwrapper.  I'm ok with leaving /etc/rc.d/sendmail behind as well, but 
it looks like it's not needed by anything (i.e., nothing requires mail).


Even though I have WITHOUT_SENDMAIL specified and the world was built 
with that, mergemaster still installs /etc/mail/aliases and 
/etc/rc.d/sendmail.  Is there a way to prevent this other than adding 
them to IGNORE_FILES in mergemasterrc?

___
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: usb identity issue

2012-07-23 Thread Chris Hill

On Mon, 23 Jul 2012, Al Plant wrote:

I am having problem getting usb plug in /flash drive to come up on 
FreeBSD * several boxes with different versions of FreeBSB os I have 3 
boxes for testing here at my shop.


Can anyone point me to any articles on this issue.

Is there a command like usbconfig (saw this mentioned in an email 
question but it doesnt work) to bring this up on screen?


I don't know of any articles, but here is what I do:

$ uname -r
8.0-STABLE
$ ls /dev | grep ^da
$

(note that there is nothing found) ...and then plug in the thumb drive 
and do it again:


$ ls /dev | grep ^da
da0
da0s1
$

...and now I can mount it. Since this drive is a FAT32 filesystem, I use 
mount_msdosfs. Having an entry in /etc/fstab is a convenience but not 
strictly necessary.


Dmesg of the booted units shows da1 mostly but this identity cant be 
accessed on any of them.


After pluggin in my thumb drive, my dmesg shows

da0: SanDisk Cruzer 1.02 Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 7629MB (15625216 512 byte sectors: 255H 63S/T 972C)

Note that while dmesg only shows da0, my `ls /dev` also shows da0s1. You 
may need to use /dev/da1s1 or similar (depending on what you see from 
`ls /dev`) in your mount command. Try a few permutations.


HTH, and maika'i pomaika'i.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: usb identity issue (adds more info)

2012-07-23 Thread Polytropon
On Mon, 23 Jul 2012 14:02:37 -1000, Al Plant wrote:
 doesnt say on this dmesg. Only shows up when you plug in the /flash 
 (SanDisk)

Ah, SanDisk... I remember I returned one of their USB sticks
in exchange for a Sony, because that DID WORK. :-)



  Have you tried different manufactures of flash drives?
 Have tried 2 sandisk /flash different series.

For diagnostics, by the book, simple and step by step:

You could first check dmesg ouput atter plugging in the USB
device. It should show the steps of recognition properly:
USB device --- mass storage --- direct access. Typically
that's the last few lines in dmesg output.

ugen4.3: Sony at usbus4
umass1: Sony Storage Media, class 0/0, rev 2.00/2.00, addr 3 on usbus4
da3 at umass-sim1 bus 1 scbus4 target 0 lun 0
da3: Sony Storage Media 1.00 Removable Direct Access SCSI-2 device 
da3: 40.000MB/s transfers
da3: 3826MB (7835648 512 byte sectors: 255H 63S/T 487C)

You can easily see those steps represented here. If all this
is met, you should have /dev/da3 (in this case) in /dev.
Depending on partitioning, there may be other files like
/dev/da3s1. One of them is to be mounted.

Try per command line first, then check if your /etc/fstab
does reflect those settings, e. g.

# mount -t msdosfs -o ro /dev/da3 /mnt
# df -h /mnt
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/da3  3.7G3.4G352M91%/mnt
# umount /mnt

Please report back and provide the output of the commands
you entered (just to make sure it's not blocked by permission
issues or typos). :-)







-- 
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: Removing sendmail from an installed system

2012-07-23 Thread Polytropon
On Mon, 23 Jul 2012 17:16:33 -0700, Darren Pilgrim wrote:
 Even though I have WITHOUT_SENDMAIL specified and the world was built 
 with that, mergemaster still installs /etc/mail/aliases and 
 /etc/rc.d/sendmail.  Is there a way to prevent this other than adding 
 them to IGNORE_FILES in mergemasterrc?

I've never tried to actually _remove_ sendmail (because
simply ignoring it seems so much easier when needed), but
did you try the make delete-old and make delete-old-libs
as explained in /usr/src/Makefile's comment header for the
updating process?



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


Locally modifying ports

2012-07-23 Thread Chris Ross

  So, I've been a NetBSD user for many years, and am looking more
at FreeBSD now.  Trying to build myself a system, I find that I have a
long-held delta to a package on my NetBSD system, and I keep it
in a patch-local-* file in NetBSD pkgsrc.

  I can't figure out if FreeBSD ports has a way to keep and automatically
apply local patches to ports.  I want to modify the way the internals of
a package/port operate, and not in a way that makes sense to move up-
stream.  It's just my preference.

  Is there a way in FreeBSD ports to keep a make this change to the
source code after extracting and before compiling type of thing in the
tree?

  Thanks

  - 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