Re: cannot ftp using proxy

2013-06-03 Thread Lawrence K. Chen, P.Eng.
Delving through the source code...it appears that it only uses the ftp_proxy 
when given an ftp url

something like:

> ftp ftp://ftp.freebsd.org/pub/FreeBSD/README.TXT
Requesting ftp://ftp.freebsd.org/pub/FreeBSD/README.TXT
  (via www-proxy.ksu.edu:8080)
100% |***|  3795   26.38 KiB/s00:00 ETA
3795 bytes retrieved in 00:00 (26.36 KiB/s)

Only the fetch side uses proxy (triggered by there being a ':' in the argument.)

The interactive ftp side doesn't.


- Original Message -
> Hello!
> Still can't resolve problem with "ftp" utility.
> 
> root@ona:/root # ftp ftp2.freebsd.org
> ftp: Can't connect to `128.205.32.24:21': Operation timed out
> ftp: Can't connect to `ftp2.freebsd.org:ftp'
> ftp>
> 
> "socksta -4" tells me that it is not even trying to connect to proxy
> server, connecting directly instead:
> 
> root@ona:/root # sockstat -4
> USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN
> ADDRESS
> root ftp54160 3  tcp4   10.10.15.26:50457
> 128.205.32.24:21
> 
> 
> root@ona:/root # uname -a
> FreeBSD ona.iem.gov.lv 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon
> Apr 29 18:27:25 UTC 2013
> r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
>  amd64
> 
> 
> root@ona:/root # env
> TERM=screen
> ftp_proxy=http://myproxy:8080
> http_proxy=http://myproxy:8080
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
> SHELL=/bin/csh
> HOME=/root
> USER=root
> HOSTTYPE=FreeBSD
> VENDOR=amd
> OSTYPE=FreeBSD
> MACHTYPE=x86_64
> SHLVL=1
> PWD=/root
> LOGNAME=root
> GROUP=wheel
> HOST=ona
> EDITOR=vi
> PAGER=more
> BLOCKSIZE=K
> 
> Tried to google with no luck - no solution works for me. By the way,
> "fetch" works as expected, I can fetch and install ports.
> I would appreciate any help and/or any hints!
> 
> Best regards!
> VS.
> _______
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"
> 

-- 
Who: Lawrence K. Chen, P.Eng. - W0LKC - Senior Unix Systems Administrator
For: Enterprise Server Technologies (EST) -- & SafeZone Ally
Snail: Computing and Telecommunications Services (CTS)
Kansas State University, 109 East Stadium, Manhattan, KS 66506-3102
Phone: (785) 532-4916 - Fax: (785) 532-3515 - Email: lkc...@ksu.edu
Web: http://www-personal.ksu.edu/~lkchen - Where: 11 Hale Library
___
freebsd-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: backups using rsync

2013-03-04 Thread Lawrence K. Chen, P.Eng.


- Original Message -
> On Mon, 04 Mar 2013 03:35:30 -0800, Ronald F. Guilmette wrote:
> > Now, unfortunately, I have just been bitten by the evil... and
> > apparently
> > widely known (except to me)... ``You can't use dump(8) to dump a
> > journaled
> > filesystem with soft updates'' bug-a-boo.
> 
> There are other tools you can use, for example tar or cpdup
> or rsync, as you've mentioned in the subject.
> 
> 

Or if you want to be ambitious you could install something like 
'sysutils/backuppc' (where one of its methods is rsync, its what I use for all 
the systems I back up with it. - Windows, Linux, Mac OSX.)

And, then could get more than just the weekly rsync to itthough it could 
probably be made to only do fulls every week.  But, you could potentially then 
restore from an older full.

I do system fulls of my other systems to it...can't do a baremetal restore, but 
it can get me back up and running faster.  IE: I recently had harddrive 
failures in a couple of FreeBSD systems.  I did a fresh install and at first I 
restored /home and /usr/local (and some other dirs, like /var/db/pkg & 
/var/db/ports)...and then other dirs and files as I found things missing.  Had 
to rebuild a handful of ports after that and then things were good.

The second system didn't go as well, because it had been silently corrupting 
things for a long time beforebut I still did the same kind of restore at 
first, but ended up rebuilding all the ports to get things good again.

Not sure if losing the system disk, if I could recover from a local backuppc... 
but I have my old backuppc system, getting most of my current system (mainly 
omit the backuppc pool, think my backup storage requirements would grow 
exponentially if I didn'tmy main backuppc pool is currently 6300G out of 
7300G zpool.)  But, I've suffered bit rot on the old backuppc pool in the 
past..when it was a RAID 1+0 arrayprobably worse now that its a 2.7TB 
volume without raid (the only volume on that system that isn't mirrored.)  
Though wonder if I want to try zfs on linux again, or replace it with FreeBSD.

I was faced with something like this on my Windows boxwhere eventually, I 
ended up writing off restoring from the local backup (a commercial time machine 
like product)...the mistake was using a windows fake raid5 external array as my 
backup drive.  And, losing the system due to problems in the fake raid.  I did 
briefly put together a CentOS live CD that could access the array, but the 
drives I copied the data to promptly failed on me shortly after I had broken 
the array and turned them into a raidz pool.  Someday I need to get back to 
going through the disk image of the failed system drive and recover as much as 
possible from that.  The box that was my Windows desktop is now my FreeBSD 
desktop

Lawrence
___
freebsd-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: zoneedit.com

2013-02-03 Thread Nick K
There doesn't seem to be a way to create a new account at the "new"
interface - as far as I can tell there is no "sign up" method at
zoneedit.com.

On Sunday, February 3, 2013, Fbsd8  wrote:
> Nick K wrote:
>>
>> I am posting here hoping that a "Dan" from ZoneEdit.com still monitors
this
>> mailing list.
>> I am in a very bad situation and my mail forwarding has been down for
over
>> a week -- no response from ZoneEdit support.
>>
>> I found references to people getting help from "Dan" here:
>>
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2011-01/msg00504.html
>>
>> My issue(s):
>>
>> 1.) I can't login to zoneedit.com's "new" interface.  I used to be able
to
>> log in to the "legacy" interface -- but apparently I'm in the same boat
as
>> Mr. Jack L. Stone was -- in that you can no longer manage zones from the
>> legacy interface.
>> The legacy interface tells me my account is active at the new interface,
>> but the new interface tells me my account does not even exist.
>>
>> 2.) My mail forwarding service provided by zoneedit.com stopped working
>> approximately last week monday.  It has been working fine since 2002.
>>  Don't you just love it when this stuff happens.
>>
>> 3.) I can't change my DNS / mail forwarding service, because the email I
>> used for my domain registration at my registrar is one of the emails that
>> gets forwarded (and the forwarding is not working).
>>
>> If Jack L. Stone or "Dan" from ZoneEdit can get in contact with me I
would
>> be very grateful.
>> I don't know what else to do at this point.
>> The company that currently owns ZoneEdit (Dotster) won't help me -- they
>> say they don't have the ability to provide support for ZoneEdit
customers.
>>
>> This is my last hope pretty much.  Dan or Jack if you're out there,
please
>> get back to me.
>> sur...@gmail.com
>>
>
> Have you tried to create a new account on the new interface and try to
access your domains from there?
>

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


zoneedit.com

2013-02-02 Thread Nick K
I am posting here hoping that a "Dan" from ZoneEdit.com still monitors this
mailing list.
I am in a very bad situation and my mail forwarding has been down for over
a week -- no response from ZoneEdit support.

I found references to people getting help from "Dan" here:
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2011-01/msg00504.html

My issue(s):

1.) I can't login to zoneedit.com's "new" interface.  I used to be able to
log in to the "legacy" interface -- but apparently I'm in the same boat as
Mr. Jack L. Stone was -- in that you can no longer manage zones from the
legacy interface.
The legacy interface tells me my account is active at the new interface,
but the new interface tells me my account does not even exist.

2.) My mail forwarding service provided by zoneedit.com stopped working
approximately last week monday.  It has been working fine since 2002.
 Don't you just love it when this stuff happens.

3.) I can't change my DNS / mail forwarding service, because the email I
used for my domain registration at my registrar is one of the emails that
gets forwarded (and the forwarding is not working).

If Jack L. Stone or "Dan" from ZoneEdit can get in contact with me I would
be very grateful.
I don't know what else to do at this point.
The company that currently owns ZoneEdit (Dotster) won't help me -- they
say they don't have the ability to provide support for ZoneEdit customers.

This is my last hope pretty much.  Dan or Jack if you're out there, please
get back to me.
sur...@gmail.com

-- 
~ Nick K.
___
freebsd-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: serendipity Web Site s9y.org

2012-11-09 Thread T K
On 11/09/12 02:47, Sabine Baer wrote:
> Hallo,
> is someone out there using www/serendipity?
> I installed it and it works fine (I think), but I can't access their
> website http://s9y.org, I get a site with "mixed" advertisement.
> Heve they moved, faded away or been hacked?
> 
> Sorry offtopic but in the hope thet some FreeBDS-Users may use
> serendipity as well.
> 
> Sabine
> 
I run an instance of serendipity software at: www.serendipity35.net.
I'm not having any trouble getting to http://s9y.org/

Tim Kellers
___
freebsd-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: ati, radeon, dri (drm) confusion

2012-07-15 Thread Adam K Kirchhoff

Have you tried loading the radeon kernel module from /boot/loader.conf?
Or even from the console, before starting X?

Adam

On Mon, 2012-07-16 at 00:08 +0100, Anton Shterenlikht wrote:
> My X behaves really weird lately [1,2],
> so I went back to basics. Can somebody
> please comment on whether what I'm doing
> seems correct. Thanks
> 
> HP Compaq 6715s laptop
> FreeBSD 10.0-CURRENT #9 r238259M  amd64
> 
> vgapci0@pci0:1:5:0: class=0x03 card=0x30c2103c chip=0x791f1002 
> rev=0x00
> hdr=0x00
> vendor = 'ATI Technologies Inc'
> device = 'RS690M [Radeon X1200 Series]'
> class  = display
> subclass   = VGA
> 
> which, according to radeon(4x), is
> supported by radeon driver.
> 
> I've got in the kernel, amongst other things,:
> 
> deviceagp
> devicedrm
> deviceradeondrm
> devicevga
> 
> I then see in dmesg:
> 
> $ dmesg | grep vga
> vgapci0:  port 0x4000-0x40ff mem 
> 0xc010-0xc80f,0
> xd020-0xd020,0xd030-0xd03f irq 19 at device 5.0 on pci1
> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> $ dmesg | grep -i agp
> $ dmesg | grep -i radeon
> 
> Is this expected that there's nothing
> related to either agp on radeon in dmesg?
> 
> Anyway, if I do X auto-configure, i.e.
> X -configure, I get in the resulting
> xorg.conf.new:
> 
> Identifier  "Card0"
> Driver  "radeon"
> VendorName  "Advanced Micro Devices [AMD] nee ATI"
> BoardName   "RS690M [Radeon X1200 Series]"
> BusID   "PCI:1:5:0"
> 
> Is that correct?
> 
> I then see in /var/log/Xorg.0.log:
> 
> drmOpenDevice: node name is /dev/dri/card0
> Failed to change owner or group for file /dev/dri! 2: No such file or 
> directory
> Failed to change owner or group for file /dev/dri/card0! 2: No such file or 
> dire
> ctory
> drmOpenDevice: open result is -1, (No such file or directory)
> Failed to change owner or group for file /dev/dri/card0! 2: No such file or 
> dire
> ctory
> drmOpenDevice: open result is -1, (No such file or directory)
> drmOpenDevice: Open failed
> [drm] failed to load kernel module "radeon"
> (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
> [dri] Disabling DRI.
> 
> I guess this is not good, right?
> 
> Please advise
> 
> [1] http://lists.freebsd.org/pipermail/freebsd-x11/2012-June/012100.html
> [2] http://lists.freebsd.org/pipermail/freebsd-current/2012-July/035171.html
> 


___
freebsd-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: Networking IP Address Issues : NetBSD on Xen VM

2012-07-03 Thread dhaneshk k

List,

Please ignore my previous mail  with the same subject line because there was a 
terrible formatting  mistake.
Please see the attached pdf  which briefs the problem in assigning the IP 
address to the netbsd virtual machine.
The Xen VM is running on Debian/ GNU Linux.

Please find the attached document for detailed description.

Any hints much appreciated.

Thanks in advance,
Dhanesh















> From: sub...@80386.org
> Date: Wed, 4 Jul 2012 00:06:56 +0530
> To: dhanes...@hotmail.com
> CC: freebsd-questions@freebsd.org
> Subject: Re: Networking IP Address Issues : NetBSD on Xen VM
> 
> 
> On 03-Jul-2012, at 12:34 PM, dhaneshk k wrote:
> 
> > 
> > The Same problems
> > discussed here were faced.
> > 
> > Any hints to solve these issues much appreciated.
> 
> No hints till you learn how to format your email properly, a basic 
> requirement when posting to a mailing list.
> 
> > 
> > Thank you
> 
> You are welcome.
> 
> Subhro
> 
> --
> Subhro Sankha Kar
> System Administrator
> Working and Playing with FreeBSD since 
> 2002___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
  

NETBSD-AS-A-VIRTUAL-MACHINE-IPAddress_Issues.pdf
Description: Adobe PDF document
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Networking IP Address Issues : NetBSD on Xen VM

2012-07-03 Thread dhaneshk k


List,

Little bit offtopic of FreBSD, Hope some one can help with some suggestions..


The Objective is to
port NetBSD as a Virtual Machine into  Cloud.






Steps Involved in
Porting NetBSD as a Virtual Machine:





Porting of NetBSD as
a Virtual Machine involves 2 steps.


A. Porting NetBSD
w.r.t Virtualization



B. Porting NetBSD
w.r.t Cloud MiddleWare


If Step 1 is
completed successfully, then only Step2 could be proceeded.







A. Porting NetBSD
w.r.t Virtualization:




 
We use Xen
Virtualization.Xen Virtualization involves the following steps.


Various methods are
available to port NetBSD as Virtual Machine in Xen





1. Building from ISO
( Via Paravirtualization - Using NetBSD community provided Kernel /
Full Virtualization - using Qemu )






2. Building the
NetBSD File System from the Source





We have tried both
the ways.







1.1 Building from ISO
( Via Paravirtualization - Using NetBSD community provided Kernel ):





1. Get the ISO file
of NetBSD Operating System .


2. Build the IMG
File from the ISO File by using NetBSD community provided Kernel 






Refer :
http://www.netbsd.org/ports/xen/howto.html






1.2 Building from ISO
( Via Full virtualization - Using Qemu):





Refer:
http://open.eucalyptus.com/wiki/creating-images-iso-xen


By following the
above Step, the following version of NetBSD Image was built.










Version



NetBSD
5.1





Kernel



XEN3_DOMU





Kernel
Version



NetBSD
netbsd51.yourdomain.org 5.1 NetBSD 5.1 (XEN3_DOMU) #0: Sat Nov 6
13:17:16 UTC 2010
bui...@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/amd64/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/amd64/compile/XEN3_DOMU
amd64





Architecture



amd64
/ 64 Bit Guest Virtual Machine








Working
Components :





The NetBSD Guest is
booted successfully in Multi User Mode, which enables root user to
create / delete files / directories.


The Network
Interface is xennet0



The File System
details are as follows.















Filesystem



Size



Used



Avail



%Cap



Mounted
on





/dev/xbd0a



9.5
GB



628
MB



8.4
GB



6%



/





kernfs



1.0K



1.0K



0B



100%



/kern





ptyfs



1.0K



1.0K



0B



100%



/dev/pts





procfs



4.0K



4.0K



0B



100%



/proc
















Issues Faced:





Unable to set IP
Address manually (or) via dhclient
command.



Even though static
IP Address is assigned, netmask,gateway

is set, the NetBSD Guest
Virtual Machine is unable to

 connect to outside Network; Machines in
outside network 

are also unable to connect to the NetBSD Guest
Virtual 

Machine .





Please shed some light on this, Why this issue occurs ?  Or  doing wrong way?






2. Building the
NetBSD File System and Kernel from the Source:







NetBSD Image could
be built by connecting to the NetBSD

 repository, download the Source
packages, compile and build

the Kernel and the NetBSD File System;
at last convert the

 NetBSD File System into a single Image via makefs
command.







I compiled 64 Bit
NetBSD Kernel and 64 Bit NetBSD File System.






B. Porting NetBSD
into Cloud MiddleWare:





Porting NetBSD into
Cloud Middleware involves bundling ,

 uploading and registering
Kernel, RamDisk and Machine Image

 into  Cloud.











The
NetBSD Image has been uploaded into cloud and a sample Virtual
Machine was run Successfully in our Cloud Setup (192.168.1.6).












Refer :


http://blog.netbsd.org/tnf/entry/netbsd_now_runs_under_amazon





By following this
procedure, the following version of NetBSD

 Image was built.










Version



NetBSD
6.99.8





Kernel



XEN3_DOMU





Kernel
Version



NetBSD
6.99.8 NetBSD 6.99.8 (XEN3_DOMU) #0: Fri Jun 29 21:55:59 IST 2012
root@pancdaccloud:/home/src/usr/obj/sys/arch/amd64/compile/XEN3_DOMU
amd64





Architecture



amd64
/ 64 Bit Guest Virtual Machine








Working
Components :





The Network
Interface is xennet0



IP Address was
obtained successfully via dhclient
command.






The NetBSD Guest
Virtual Machine is able to connect to

 outside Network; Machines in
outside network are also able

 to connect to the NetBSD Guest Virtual
Machine .














The File System
details are as follows.















Filesystem



Size



Used



Avail



%Cap



Mounted
on





root_device



255
MB



135
MB



107
MB



55%



/





tmpfs



1.4
MB



632
KB



840
KB



42%



/dev








Issues Faced:





1.The NetBSD Guest
is booted in Single User Mode, which

 disables root
user to create / delete files / directories.The

 Filesystem is mounted
in read-only
mode.

Why the box going to Single user mode? Am I doing wrong ?







Common Issues:





There are certain
places where Human Intervention is

 required.While NetBSD Virtual
Machine Guest is being

 booted, at first it asks for default
Interpreter (/bin/sh).At this

 situation, User is required to give a
value and press Enter

 Key.After getting input from the User, System
Services are

 

Re: User can't login but /etc/(master.)passwd OK

2012-05-09 Thread Tim K

On 05/09/12 12:02, Brian wrote:

On 5/9/2012 8:08 AM, Michael Sierchio wrote:
On Wed, May 9, 2012 at 8:03 AM, Robert 
Bonomi  wrote:



"Details are *IMPORTANT*"

What's the user's shell in the password file, and does that shell:
exist?  executable?  In the /etc/shells file?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"
The OP probably ought to look at /var/log files as well to see if 
anything is revealed there. Access can be denied for reasons other 
than passwords.


BW


And a su -l [thatuser] as root would probably spit out some handy 
console messages right away.


Tim
___
freebsd-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: DRI for Radeon HD5450 on FreeBSD 9.0

2012-02-23 Thread Adam K Kirchhoff



Dear list,

I own a radeon HD5450 and I would like to know how well it is supported
by freeBSD 9, in partocular DRI and 3D accelaeration.

I have a fresh 9.0/amd64 on my machine and Xorg fails to initialise the
DRI.  It says (from Xorg-0.log):

(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) RADEON(0): Setting screen physical size to 338 x 270

As the last line of the snippet displays it, I use radeon(4x) as driver.

I used the page

http://people.freebsd.org/~anholt/dri/troubleshooting.html  


to try to diagnose the problem and it seems that none of the driver agp
radeondrm and drm is able to initaialize correctly.

Can you enable DRI for HD5450 on FreeBSD 9.0 ?
Do you have some useful documentation to show me?

In any of these cases, I would say ``thanks!''
--
Best regards,
Michael


Neither 2D nor 3D acceleration are supported on any HD5xxx or higher 
GPU.  Nor will they be supported till radeon KMS is implemented.


Adam


___
freebsd-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: [OT] pfSense Book Publisher

2011-09-02 Thread Michael K. Smith - Adhost
Hi Alejandro:

I'm not aware of a pfSense book, but if you want a book on PF, there is:

The OpenBSD PF Packet Filter Book
Editor:  Jeremy C. Reed
Publisher: Reed Media Services
ISBN: 978-0-9790342-0-6

Regards,

Mike

--
Michael K. Smith - CISSP, GSEC, GISP
Chief Technical Officer - Adhost Internet LLC mksm...@adhost.com
w: +1 (206) 404-9500 f: +1 (206) 404-9050
PGP: B49A DDF5 8611 27F3  08B9 84BB E61E 38C0 (Key ID: 0x9A96777D)


> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Alejandro Imass
> Sent: Friday, September 02, 2011 1:33 PM
> To: FreeBSD Questions
> Subject: [OT] pfSense Book Publisher
> 
> Hi,
> 
> Anybody know the editorial/publisher of the psSense book?
> 
> Thanks,
> 
> --
> 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"
___
freebsd-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 use gui

2011-08-09 Thread Sudhakar K
Sir,
i'm new to freebsd 8.2, i downloaded full dvd iso. I installed once.
But on gui. Can you please tell me how to install this release and use
gui desktop.
Now its only a dos like environment. Please help me. I'm new to freebsd.

-- 
<%-- *Sudhakar K* --%>
<http://www.featuriz.com>
"If you think, you can."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


kgdb & vmcore Cannot access memory at 0x252d1

2011-05-10 Thread dhaneshk k

list,

 I  am new to kernel debugging,   I compiled  a new 
kernel with options   KDB and DDBin addition to the GENERIC
config and booted with the new  kernel.( Goal is to debug  the
coredumps  in my laptops /var/crash/vmcore  files and try to find and
fix the panic/situation which produce these coredumps)

I tried to analyze   all  of the   vmcore filesin my /var/crash/vmcore.x
core dumps

steps done
after booting  into the   new kernel

#  cd /usr/obj/usr/src/sys/MYCUSTORMKERNEL
#kgdb kernel.debug  /var/crash/vmcore.0

 kgdb kernel.debug /var/crash/vmcore.0
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Cannot access memory at address 0x252d1
(kgdb) 
(kgdb) 

For
all the vmcore files  I am getting  this output..  Cannot access
memory at address 0x252d1, how can I proceed  from here, 

How
to debug  what  is happening,  what makes the kernel  to dump these
vmcores  and  fix the issue by using  further debugging..
what  are the next steps ,  if there a message  in kgdb  "Cannot access memory 
at address   0x252d1 or any address"  

Please share your  suggestion and hints to debug  more from this point. I am 
stuck here..

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


kgdb and vmcore.0 cannot access memory at 0x252d1

2011-05-10 Thread dhaneshk k

list,

 I  am new to kernel debugging,   I compiled  a new  kernel with options   
KDB and DDBin addition to the GENERIC config and booted with the new  
kernel.( Goal is to debug  the coredumps  in my laptops /var/crash/vmcore  
files and try to find and fix the panic/situation which produce these coredumps)

I tried to analyze   all  of the   vmcore filesin my /var/crash/vmcore.x
core dumps

steps done
after booting  into the   new kernel

#  cd /usr/obj/usr/src/sys/MYCUSTORMKERNEL
#kgdb kernel.debug  /var/crash/vmcore.0

 kgdb kernel.debug /var/crash/vmcore.0
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Cannot access memory at address 0x252d1
(kgdb) 
(kgdb) 

For all the vmcore files  I am getting  this output..  Cannot access memory 
at address 0x252d1, how can I proceed  from here, 

How to debug  what  is happening,  what makes the kernel  to dump these vmcores 
 and  fix the issue by using  further debugging..
what  are the next steps ,  if there a message  in kgdb  "Cannot access memory 
at address   0x252d1 or any address"  

Please share your  suggestion and hints to debug  more from this point. I am 
stuck here..

Thanks in advance
Dhanesh



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


pass for single user mode

2010-12-11 Thread K. Yura

FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC
2010 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Hi. Where can I set up password for single user mode? Thanx.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


savemail panic

2010-12-07 Thread K. Yura

 FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Tue Nov  9 21:13:03 MSK
2010 r...@.dlink:/usr/obj/usr/src/sys/GENERIC  i386
-
df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a496M476M-20M   104%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1e496M 12K456M 0%/tmp
/dev/ad0s1f 22G5.5G 15G27%/usr
/dev/ad0s1d1.2G 39M1.1G 3%/var
--

I got that error SYSERR(root): savemail: cannot save rejected email anywhere
Losing ./qfob86:savemail panic. How can I fix 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"


FreeBSD .dlink 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Tue Nov 9 21:13:03 MSK 2010 r...@.dlink:/usr/obj/usr/src/sys/GENERIC i386

2010-12-04 Thread K. Yura
Can't use watch. How to install snp snoop device?

===
[root@ /dev]# cd /usr/src/sys/modules/snp
[root@ /usr/src/sys/modules/snp]# make
Warning: Object directory not changed from original /usr/src/sys/modules/snp
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc
 -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
 --param large-function-growth=1000 -fno-common  -mno-align-long-strings -mp
referred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -
Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-ext
ensions -c /usr/src/sys/modules/snp/../../dev/snp/snp.c
ld  -d -warn-common -r -d -o snp.kld snp.o
:> export_syms
awk -f /usr/src/sys/modules/snp/../../conf/kmod_syms.awk snp.kld  export_sym
s | xargs -J% objcopy % snp.kld
ld -Bshareable  -d -warn-common -o snp.ko snp.kld
objcopy --strip-debug snp.ko
[root@ /usr/src/sys/modules/snp]# make install
install -o root -g wheel -m 555   snp.ko /boot/kernel
kldxref /boot/kernel
[root@ /usr/src/sys/modules/snp]# w
 3:35PM  up  4:17, 3 users, load averages: 0.00, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
root v0   -11:37AM  3:58 -bash (bash)
root pts/0192.168.0.10  1:30PM - w
root pts/1192.168.0.10  1:31PM  1:50 -bash (bash)
[root@ /usr/src/sys/modules/snp]# cd
[root@ ~]# watch -W ttyv0
watch: snp module not available: Operation not permitted
watch: fatal: cannot open snoop device
---
=
___
freebsd-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: Support for AIX

2010-09-16 Thread srividya . k
Yes.. But the syntax used in the makefile corresponds to BSD make and 
gmake didnt work.

IBM doesn't support this DCE anymore. 

Thanks much for the help Ross!

Srividya K
Tata Consultancy Services
Mailto: srividy...@tcs.com
Website: http://www.tcs.com

Experience certainty.   IT Services
Business Solutions
Outsourcing




From:
Ross Cameron 
To:
srividy...@tcs.com
Cc:
freebsd-questions@freebsd.org
Date:
09/17/2010 11:14 AM
Subject:
Re: Support for AIX
Sent by:
abal...@gmail.com



Make doesn't handle source code, it just control's the actual build 
process so you don't have to type hundreds of "cc ." lines in a 
console.

Have you tried contacting the current maintainers of DCE for advice?
Maybe a bit of googling

Have you tried verifying the Makefile's format using the "-n" switch ???

I would suggest contacting either IBM or the OpenGroup about this as we're 
just guessing here this is the __FreeBSD__ mailing lists... we can try 
help but honestly the vendors are the right people to ask.




"Opportunity is most often missed by people because it is dressed in 
overalls and looks like work."
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.



On Fri, Sep 17, 2010 at 7:05 AM,  wrote:

We have a source code that needs to be compiled. Its the OpenGroup's DCE( 
used as RPC). 
The source code is available , but we are not able to compile it with 
either AIX's make utility or gmake. 

The syntax corresponds to BSD's make. 

Will try getting the make utility from the URL? 

Is there any other make utility. I am not sure if bmake is the exact 
utility we require. 

The makefile has macros as  -- > .if define 
  ---> .if exists 
and all the statements start with ..   GMAKE or AIX make throws errors 
with this make file. 

Will bmake be the right make utility to for above type of source code? 

Srividya K
Tata Consultancy Services
Mailto: srividy...@tcs.com
Website: http://www.tcs.com


Experience certainty.IT Services
   Business Solutions
   Outsourcing
 


From: 
Ross Cameron  
To: 
srividy...@tcs.com 
Cc: 
freebsd-questions@freebsd.org 
Date: 
09/17/2010 12:16 AM 
Subject: 
Re: Support for AIX 
Sent by: 
abal...@gmail.com





On Thu, Sep 16, 2010 at 7:53 AM,  wrote: 
Hi
Is BSD compatible with AIX unix system?( AIX version 6).
We require the make utility of BSD to compile few source programs? 

Are you SURE you need BSD Make?
If so why?

Secondly, it is available from  
http://www.crufty.net/help/sjg/bmake.html
Very simple install instructions on that page too.

Is there any make utility compatible with AIX?  Could you please give us
the URL where we can get the same? 

Yes LOTS,... bmake/nmake/gnu make/etc. etc. etc.
All Make commands are not made alike you need to use the one that 
suits the syntax of the makefile in question.

Judging from the Q that was asked... if the software you want to compile 
is OpenSource look into NetBSD's Pkgsrc system 

=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 


not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 


please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


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


Re: Support for AIX

2010-09-16 Thread srividya . k
We have a source code that needs to be compiled. Its the OpenGroup's DCE( 
used as RPC).
The source code is available , but we are not able to compile it with 
either AIX's make utility or gmake.

The syntax corresponds to BSD's make.

Will try getting the make utility from the URL?

Is there any other make utility. I am not sure if bmake is the exact 
utility we require.

The makefile has macros as  -- > .if define
  ---> .if exists
and all the statements start with ..   GMAKE or AIX make throws errors 
with this make file.

Will bmake be the right make utility to for above type of source code?

Srividya K
Tata Consultancy Services
Mailto: srividy...@tcs.com
Website: http://www.tcs.com

Experience certainty.   IT Services
Business Solutions
Outsourcing




From:
Ross Cameron 
To:
srividy...@tcs.com
Cc:
freebsd-questions@freebsd.org
Date:
09/17/2010 12:16 AM
Subject:
Re: Support for AIX
Sent by:
abal...@gmail.com



On Thu, Sep 16, 2010 at 7:53 AM,  wrote:
Hi
Is BSD compatible with AIX unix system?( AIX version 6).
We require the make utility of BSD to compile few source programs?

Are you SURE you need BSD Make?
If so why?

Secondly, it is available from  
http://www.crufty.net/help/sjg/bmake.html
Very simple install instructions on that page too.

Is there any make utility compatible with AIX?  Could you please give us
the URL where we can get the same?

Yes LOTS,... bmake/nmake/gnu make/etc. etc. etc.
All Make commands are not made alike you need to use the one that 
suits the syntax of the makefile in question.

Judging from the Q that was asked... if the software you want to compile 
is OpenSource look into NetBSD's Pkgsrc system 

=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


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


Re: Need bsd make for AIX

2010-09-16 Thread srividya . k
We have some open source code for RPC calls - DCE that has c programs and 
corresponding makefiles.
When we tried gmake or make ( AIX make) , we were getting syntax errors.
We found that all the makefiles had syntax that corresponds to makeutility 
of BSD?

Do you have any alternative?
Is there any BSD make utility that can be installed in AIX machine?

Srividya K
Tata Consultancy Services
Mailto: srividy...@tcs.com
Website: http://www.tcs.com

Experience certainty.   IT Services
Business Solutions
Outsourcing




From:
Masoom Shaikh 
To:
srividy...@tcs.com
Cc:
freebsd-questions@freebsd.org
Date:
09/16/2010 05:04 PM
Subject:
Re: Need bsd make for AIX



On Thu, Sep 16, 2010 at 8:58 AM,   wrote:
> Hi
>Is there any BSD make versions available for AIX platform?
> We require the make utility of BSD to compile few source programs.
>
> Is there any make utility compatible with AIX?  Could you please give us
> the URL where we can get the same?
>
>
>
> Srividya K
> Tata Consultancy Services
> Mailto: srividy...@tcs.com
> Website: http://www.tcs.com
>
> Srividya K
> Tata Consultancy Services
> Mailto: srividy...@tcs.com
> Website: http://www.tcs.com
> 
> Experience certainty.   IT Services
>Business Solutions
>Outsourcing
> 
> =-=-=
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"
>

u can always GNU make
http://www.gnu.org/software/make/


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


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


Need bsd make for AIX

2010-09-16 Thread srividya . k
Hi
Is there any BSD make versions available for AIX platform?
We require the make utility of BSD to compile few source programs.

Is there any make utility compatible with AIX?  Could you please give us 
the URL where we can get the same?

 

Srividya K
Tata Consultancy Services
Mailto: srividy...@tcs.com
Website: http://www.tcs.com

Srividya K
Tata Consultancy Services
Mailto: srividy...@tcs.com
Website: http://www.tcs.com

Experience certainty.   IT Services
Business Solutions
Outsourcing

=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


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


Support for AIX

2010-09-16 Thread srividya . k
Hi
 Is BSD compatible with AIX unix system?( AIX version 6).
We require the make utility of BSD to compile few source programs?

Is there any make utility compatible with AIX?  Could you please give us 
the URL where we can get the same?

 

Srividya K
Tata Consultancy Services
Mailto: srividy...@tcs.com
Website: http://www.tcs.com
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


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


Server cannot boot : mount root> got stuck

2010-07-01 Thread dhaneshk k

Fellow FreeBSDians, 


 I am experiencing a problem with my FreeBSD server box. I can't  get the 
system up. when I boot the machine its boots asking for boot options, and going 
with the default boot option
This is an old freeBSD server box with FreeBSD-6.1

then its reaching  mount root> 

after that nothing,   its  stuck on this  prompt  mount root>

 mount root>

I didn't do anything,  day before yesterday its working.. 
Yesterday when I tried to login from my desktop ,  it not allowing  me to login 
through my ssh keys
 so I checked physically the server and connected a monitor, seeing   the   
boot splash image is garbled with some alphabetic characters.. and tried to 
reboot, hardware reboot.
But  it reaching the boot splash image of FreeBSD with   boot options  
displayed, but what ever boot option I select , it not going further, but 
reboots again to the boot splash image screen.

Today morning  I just took its hard disk and connected to another box having 
same specs
Then I started the box, with the harddisk  of my server ...,  then it going 
after the boot, so I thought issues over...

But my bad, this time  it comes to a  prompt  mount root > and stuck there..

No key board inputs works  in   mount root>  prompt


Any hints to recover this  issue,  most appreciated, and this is a  production 
server , and I want it up as early as possible.

Thanks in Advance
Dhanesh
  
_
Bollywood This Decade
http://entertainment.in.msn.com/bollywoodthisdecade/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ZFS not returning correct data if checksum fails? (copies=2)

2010-06-21 Thread Aravind K. Mikkilineni
Hi,

I may have experienced some odd behavior from ZFS running 8.0-STABLE-201004 
amd64.

I have a zpool 'zhome' on my laptop with checksum=on and copies=2. I was 
getting ready to burn a FreeBSD DVD today and was verifying the checkums of the 
image I downloaded (stored 
on zhome). I got a match on the md5 hash, but a mismatch on the sha256 hash. 
Rerunning the sha256 hash gave the correct result. I luckily just got in the 
office earlier and had a 
zpool status in my terminal buffer which indicated no errors on zhome. Running 
zpool status after the checksumming operations shows one checksum error. 

I was under the impression that ZFS, upon encountering a checksum error, would 
check the second copy of the block (since I have set copies=2) and send that 
data instead (assuming it 
was correct), that does not seem to have happened. I have run into checksum 
errors in the past where I had copies=1, in those cases ZFS would simply stop 
reading the file at that 
point and I would get a read error, which I did not in this case. Also I am 
fairly certain that the dvd image was not buffered in RAM between hashes (i.e. 
each hash read the data 
from disk).

Perhaps the checksum was correct the first time around and some other part of 
my system corrupted the data? RAM has been tested many months ago using 
memtest86 and several other 
tools without problem (not that new problems couldn't have popped up).

a...@moony:~$ zpool status zhome
  pool: zhome
 state: ONLINE
 scrub: none requested
config:

NAME STATE READ WRITE CKSUM
zhomeONLINE   0 0 0
  ad4p3.eli  ONLINE   0 0 0

errors: No known data errors
a...@moony:ISOs$ grep *8.0*amd64-dvd1* CHECKSUM.* | cut -d\= -f2
 227adf4b4010aa1bc98baf50953ec2d0
 4c087a9d23a53f861f3548461cde500a6db709ff704e972c51677531ea6d65b3
a...@moony:ISOs$ md5 FreeBSD-8.0-STABLE-201005-amd64-dvd1.iso | cut -d\= -f2
 227adf4b4010aa1bc98baf50953ec2d0
a...@moony:ISOs$ sha256  FreeBSD-8.0-STABLE-201005-amd64-dvd1.iso | cut -d\= -f2
 4fcbcaacf14ff7c0394f119b1ca93e645456241d5b7d42aaf8f92b5a70b279d4
a...@moony:ISOs$ sha256  FreeBSD-8.0-STABLE-201005-amd64-dvd1.iso | cut -d\= -f2
 4c087a9d23a53f861f3548461cde500a6db709ff704e972c51677531ea6d65b3
a...@moony:ISOs$ zpool status zhome
  pool: zhome
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: none requested
config:

NAME STATE READ WRITE CKSUM
zhomeONLINE   0 0 0
  ad4p3.eli  ONLINE   0 0 1

errors: No known data errors
a...@moony:ISOs$ 

-akm

___
freebsd-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 on netbook

2010-05-19 Thread Anh K. Huynh
Hello all,

I intend to buy a netbook for convenience (for many remote jobs, a netbook 
seems to be enough) whose cost is around $400. I'd like have freebsd on that 
netbook (oh, no linux, no windows, please :-) but it's hard to choose a right 
one that works fine (even with Ubuntu. See 
https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks.)

Does anyone experience this problem? 

Thank you for your comments.


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


Brasero can't detect my DVD RW disc to erase and make it blank

2010-02-21 Thread dhaneshk k

 list,
 

I have  Freebsd7.2 and have   gnome2 installed by pkg_add  -r option ,  I 
want to burn  DVD's,  someone advised me  by  using  brasero I can erase/write 
CD/DVDs 


 steps followed was

  1.  in  rc.conf   added

 devfs_system_ruleset="local"

2.  in loader.conf

atapicam_load=YES

3   in   /etc/devfs.conf

[local=10]
#DVD+RW
add path 'acd*' mode 0660 group operator
add path 'cd0' mode 0666 group operator
#CAM passthrough
add path 'pass0' mode 0666 group operator
add path 'xpt*' mode 0666 group operator

[r...@kk /dev]# camcontrol devlist
   at scbus0 target 0 lun 0 (cd0,pass0)


I inserted  my dvd rw disk which has  some   .avi files,  then  launced   
brasero  fromgnome-->applications-->sound&video-->brasero disk burner

but  from tools -->erase  I cant  blank  my DVD RW  becoz   no available disc  
in Select a disc  dialog screen  in brasero.

How can I make brasero to   doblank and  burn  DVDs  successfully ?


Any hints most welcome from .

Thanks in advance  
Dhanesh



For your information  this is the  debug output 

r...@kk]# brasero -gb



hat you need to enable TCP/IP networking for ORBit, or you have stale NFS locks 
due to a system crash. See http://projects.gnome.org/gconf/ for information. 
(Details -  1: Failed to get connection to session: Did not receive a reply. 
Possible causes include: the remote application did not send a reply, the 
message bus security policy blocked the reply, the reply timeout expired, or 
the network connection was broken.)
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Failed to get connection to session: Did not 
receive a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply timeout 
expired, or the network connection was broken.)
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Failed to get connection to session: Did not 
receive a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply timeout 
expired, or the network connection was broken.)
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Failed to get connection to session: Did not 
receive a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply timeout 
expired, or the network connection was broken.)
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Failed to get connection to session: Did not 
receive a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply timeout 
expired, or the network connection was broken.)
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Failed to get connection to session: Did not 
receive a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply timeout 
expired, or the network connection was broken.)
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Failed to get connection to session: Did not 
receive a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply timeout 
expired, or the network connection was broken.)
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Failed to get connection to session: Did not 
receive a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the 

RE: how to control upload data in bittorrent clients

2010-02-07 Thread dhaneshk k


how  can we control it within transmission ?  Can you shed some light in this  
solution 


mean while I thank  Morgan Wesstron for giving me   the Daniel Hartmeiers 
article , really good.

thanks in advance 
dhanesh

> Date: Sun, 7 Feb 2010 04:57:56 +
> From: rwmailli...@googlemail.com
> To: freebsd-questions@freebsd.org
> Subject: Re: how to control upload data  in  bittorrent clients
> 
> On Sat, 06 Feb 2010 23:14:45 +0100
> Morgan Wesström  wrote:
> 
> 
> > > 1)  in the transmission web   it showing  downloading is 10  kbps
> > > to 30 kbpsbut uploading  it shows  50 to 92 kbps my question
> > > is  is it possible to  limit the uploading data rate , how can I do
> > > this ?
> 
> > 
> > Check out Daniel Hartmeier's excellent article on how to prioritize
> > TCP ACKs (and other traffic). It will explain what you experience and
> > solve the problem for you.
> 
> It's a good idea to handle this from within  transmission too.
> Rate limiting works best at the TCP level.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
  
_
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969___
freebsd-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 control upload data in bittorrent clients

2010-02-06 Thread dhaneshk k




   I am using  transmission-daemon and tr
ansmission web  for  accessing bittorrent sites. 

I have a slow connection,   the problem is that 


1)  in the transmission web   it showing  downloading is 10  kbps to 30 kbps
but uploading  it shows  50 to 92 kbps 
my question is  is it possible to  limit the uploading data rate , how can I do 
this ?

2)  When ever transmission  daemon running and downloading  files,  I can't  
access any other sites, it waiting for long and getting message sever not found 
...  When I stop transmission daemon  then  other sites accessible.  
why its happening ?  any hints to fix it ?


transmission-daemon-1.51_1
transmission-web-1.51


any help most welcome.

dhanesh


  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969___
freebsd-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: wrong md5 sum of 8.0-RELEASE-amd64-dvd1.iso.gz ??

2010-02-04 Thread Thomas K.
On Fri, Feb 05, 2010 at 09:07:30AM +0530, Shripad R. wrote:

> MD5 (8.0-RELEASE-amd64-dvd1.iso) = 44c016ae8812a266f710d1845722366d
> MD5 (8.0-RELEASE-amd64-dvd1.iso.gz) = add311be2d189cde1d47ba515c05f440
> 
> totally different. Can somebody plz confirm ?

Yes. Different files, different hash. Confirmed.

:-)

> I confirmed the download was complete and uninterrupted, but still just
> concerned about this.

If it wasn't for the user error, you should be. Compare to the correct
hash, or uncompress your downloaded file first.

Regards
Thomas
___
freebsd-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 Pro/Wireless 3945 issue

2010-01-28 Thread dhaneshk k

 
still unable to connect to wireless modem. In dmesg output I am seeing a 
message 
wpi0 failed can't load firmware image .
 
why it failed to load firmware module ?
 
I tried to load it by kldload firmware then it reports file already exists . 
what went wrong how to fix the issue of
firmware module unable to load ?
 
Thanks in advance
Dhanesh
 
> Date: Wed, 27 Jan 2010 11:42:20 -0700
> From: wbl...@wonkity.com
> To: les...@eskk.nu
> CC: dhanes...@hotmail.com; freebsd-questions@freebsd.org
> Subject: Re: Intel Pro/Wireless3945 issue
> 
> On Wed, 27 Jan 2010, Leslie Jensen wrote:
> 
> > 2010-01-27 17:28, dhaneshk k skrev:
> >>
> >> I am trying to configure my laptop for wireless connectivity to a 
> >> broadband connection.
> >> 
> >> these are the steps I followed, I don't know what I made wrong, please 
> >> help to fix the issue..
> >> 
> >> 1 ) To /boot/loader.conf
> >> 
> >> if_wpi_load = "YES"
> >> wlan_load = "YES"
> >> wlan_amrr_load = "YES"
> >> firmware_load = "YES"
> >> wpifw_load = "YES"
> >> legal.intel_wpi.licence_ack=1
> ...
> >> 3) then I checked the out put of ifconfig
> >> 
> >> it showing wpi0 but no carriers for the device
> >> 
> >> I am using FreeBSD-7.2 i386 release. Wireless card is Intel 
> >> Pro/Wireless 3945 . (In Windows XP it works from this Windows I am 
> >> sending this mail via Wireless access) Any help most welcome.
> >
> > You need some lines i /etc/rc.conf
> >
> > wpa_supplicant_enable="YES" # is for security, try without first
> > wlans_wpi0="wlan0" # mine is wlans_iwn0="wlan0"
> > ifconfig_wlan0="WPA DHCP"
> 
> The virtual wlan0 was added for FreeBSD 8. For 7.2, it should still be 
> done the old way (using the actual card, wpi0 in this case).
> 
> -Warren Block * Rapid City, South Dakota USA
 
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
  
_
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969___
freebsd-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 Pro/Wireless3945 issue

2010-01-28 Thread dhaneshk k

still   unable to connect   to wireless modem.  In dmesg  output  I am seeing  
a message  
wpi0  failed  can't load firmware image .

why it  failed to load firmware module ?

I tried to load it  by kldload firmware  then  it reports file already exists . 
 what went wrong  how to fix the  issue of
firmware module unable to load ?

Thanks in advance
Dhanesh

> Date: Wed, 27 Jan 2010 11:42:20 -0700
> From: wbl...@wonkity.com
> To: les...@eskk.nu
> CC: dhanes...@hotmail.com; freebsd-questions@freebsd.org
> Subject: Re: Intel Pro/Wireless3945  issue
> 
> On Wed, 27 Jan 2010, Leslie Jensen wrote:
> 
> > 2010-01-27 17:28, dhaneshk k skrev:
> >>
> >>I am trying to configure  my laptop for  wireless connectivity to a 
> >> broadband connection.
> >> 
> >> these are the steps I followed, I don't know what  I made wrong, please 
> >> help to fix the issue..
> >> 
> >> 1 ) To  /boot/loader.conf
> >> 
> >> if_wpi_load = "YES"
> >> wlan_load = "YES"
> >> wlan_amrr_load = "YES"
> >> firmware_load = "YES"
> >> wpifw_load = "YES"
> >> legal.intel_wpi.licence_ack=1
> ...
> >> 3) then I checked  the out  put  ofifconfig
> >> 
> >> it showing  wpi0but  no carriers  for the device
> >> 
> >> I am using  FreeBSD-7.2 i386 release.  Wireless card is   Intel 
> >> Pro/Wireless  3945 . (In  Windows XP  it works from this Windows I am 
> >> sending this mail via   Wireless  access)  Any help  most welcome.
> >
> > You need some lines i /etc/rc.conf
> >
> > wpa_supplicant_enable="YES"  # is for security, try without first
> > wlans_wpi0="wlan0"   # mine is wlans_iwn0="wlan0"
> > ifconfig_wlan0="WPA DHCP"
> 
> The virtual wlan0 was added for FreeBSD 8.  For 7.2, it should still be 
> done the old way (using the actual card, wpi0 in this case).
> 
> -Warren Block * Rapid City, South Dakota USA
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969___
freebsd-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 Pro/Wireless3945 issue

2010-01-27 Thread dhaneshk k

Fellow FreeBSDians,

 

  I am trying to configure  my laptop for  wireless connectivity to a broadband 
connection.

 

these are the steps I followed, I don't know what  I made wrong, please help to 
fix the issue..

 

1 ) To  /boot/loader.conf

 

 

if_wpi_load = "YES"

wlan_load = "YES"

wlan_amrr_load = "YES"

firmware_load = "YES"

wpifw_load = "YES"

legal.intel_wpi.licence_ack=1

 

save and rebooted the machine

 

and 

 

2) issued the command  ifconfig wpi0 up scan

 

but nothing is reported for  this command

 

 

3) then I checked  the out  put  ofifconfig

 

it showing  wpi0but  no carriers  for the device

 

I am using  FreeBSD-7.2 i386 release.  Wireless card is   Intel Pro/Wireless  
3945 . (In  Windows XP  it works from this Windows I am sending this mail via   
Wireless  access)  Any help  most welcome.

 

thanks in advance

dhanesh

 
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969___
freebsd-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: Loader, MBR and the boot process

2010-01-21 Thread Thomas K.
On Fri, Jan 22, 2010 at 05:57:23AM +0200, Dan Naumov wrote:

Hi,

> I recently found a nifty "FreeBSD ZFS root installation script" and
> been reworking it a bit to suit my needs better, including changing it
> from GPT to MBR partitioning. However, I was stumped, even though I
> had done everything right (or so I thought), the system would get
> stuck at Loader and refuse to go anywhere. After trying over a dozen

probably this line is the cause:

dd if=/mnt2/boot/zfsboot of=/dev/"${TARGETDISK}"s1a skip=1 seek=1024

Unless by "swap first" you meant the on-disk location, and not the
partition letter. If swap is partition "a", you're writing the loader
into swapspace.


Regards,
Thomas
___
freebsd-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: Crontab not working??

2010-01-13 Thread Thomas K.
On Thu, Jan 14, 2010 at 02:20:07AM +0200, Kaya Saman wrote:

Hi,

> @reboot   root/usr/local/sbin/logwatch.pl
> 02 4 * * * root/usr/local/sbin/logwatch.pl

this format/syntax is only valid for the system contab.

> The interesting thing here is that it shows them as being run:
> 
> rd1# cat /var/log/cron | grep logwatch
> Jan 12 04:02:00 rd1 /usr/sbin/cron[5882]: (root) CMD 
> (root^I/usr/local/sbin/logwatch.pl)
> Jan 13 04:02:00 rd1 /usr/sbin/cron[8898]: (root) CMD 
> (root^I/usr/local/sbin/logwatch.pl)

As you can see, the command is not valid. You should at least get an
error. If the scripts do not set PATH themselvs, try setting it in the
crontab, as the default is rather minimal.

Regards
Thomas
___
freebsd-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: afp+pf

2009-12-23 Thread Michael K. Smith - Adhost
Hello Danielisz:
> 
> I'm sending you my pflog captured whiled I try to connect, maybe
> somebody will figure out something:
> 
> 
> # tcpdump -i rl0 -n port 548
> tcpdump: verbose output suppressed, use -v or -vv for full protocol
> decode
> listening on rl0, link-type EN10MB (Ethernet), capture size 96 bytes
> 
> 19:01:31.353245 IP 192.168.1.101.63912 > 192.168.1.1.548: Flags [S],
> seq 721406618, win 65535, options [mss 1460,nop,wscale 3,nop,nop,TS val
> 206874734 ecr 0,sackOK,eol], length 0
> 19:01:35.358575 IP 192.168.1.101.63912 > 192.168.1.1.548: Flags [S],
> seq 721406618, win 65535, options [mss 1460,sackOK,eol], length 0
> 

Is your firewall acting as an Appletalk router?  I guess I'm not understanding 
why you are sending AFP to the firewall and not through the firewall from host 
to host.

When you log your block statement and tcpdump the pflog0 interface, are you 
seeing the blocks?

Regards,

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


build a port that depends on Java

2009-12-08 Thread Anh K. Huỳnh
Hi,

I am going to build a port (named `vue`, http://vue.tufts.edu/) that depends on 
Java libraries but I don't know how to set the dependencies (the RUN_DEPENDS 
variable in `Makefile`). I know some kinds of Java and don't know which one 
should be used. At least, Vue works well with OpenJDK6.

Another problem is that the original file for port is in `.zip` format. As far 
as I know `.zip` isn't natively supported in FreeBSD. Should I convert that 
file to `.tar.gz` format and redistribute in my site (instead of using file 
from VUE master site?). Though using 
"EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip" is possible I think such 
usage is so expensive :)

Thank you for your helps,

Regards,

-- 
Anh K. Huynh
- TeX: http://viettug.org/
- BSD: http://lovebsd.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ndis driver: invalid argument (freebsd 8.0)

2009-12-06 Thread Anh K. Huỳnh
Hi,

On Sun, 6 Dec 2009 22:05:33 -0500
Glen Barber  wrote:

> Hi
> 
> On Sun, Dec 6, 20309 at 9:17 PM, Anh K. Huỳnh 
> wrote:
> > Hi all,
> >
> > I compiled `bcmwl5` module by `ndisgen` then loaded that module
> > successfully, but I get the `invalid argument` error:
> >
> > $ ifconfig ndis0 ssid TOM-and-JERRY
> > ifconfig: SIOCS80211: Invalid argument
> >
> > What's wrong to my ndis driver? I read /usr/src/UPDATING and
> > wireless section in the Handbook but found nothing special. So I
> > post here for your helps.
> >
> 
> 1.) Are your kernel and userland in sync?
> 
> 2.) What is the output of 'uname -a'?  If 8.X, read the 20080420
> entry in src/UPDATING.
> 

I am using 8.0-RELEASE (upgraded from 7.2-RELEASE). I've read the 20080420 
entry and configured my card successfully. (I read that section before asking 
in list but I confused.)

Thank you Gren and I am sorry for my noise.

Regards,

-- 
Anh K. Huynh
- TeX: http://viettug.org/
- BSD: http://lovebsd.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ndis driver: invalid argument (freebsd 8.0)

2009-12-06 Thread Anh K. Huỳnh
Hi all,

I compiled `bcmwl5` module by `ndisgen` then loaded that module successfully, 
but I get the `invalid argument` error:

$ ifconfig ndis0 ssid TOM-and-JERRY
ifconfig: SIOCS80211: Invalid argument

What's wrong to my ndis driver? I read /usr/src/UPDATING and wireless section 
in the Handbook but found nothing special. So I post here for your helps.

Thank you,

-- 
Anh K. Huynh
- TeX: http://viettug.org/
- BSD: http://lovebsd.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: SUN T1000 server and FreeBSD

2009-12-03 Thread K. Macy

On Dec 3, 2009, at 12:40 AM, Daniel Dawalibi wrote:

> Hi
> 
> 
> 
> 
> 
> Does SPARC Sun T1000 support FreeBSD 7?
> 
> 
> 


Not really. The work has largely been bitrotting.

Sorry.

-Kip

> 
> 
> Regards,
> 
> 
> 
> 
> 
> 
> 
> 
> Daniel Dawalibi
> System Engineer
> e-mail:daniel.dawal...@idm.net.lb
> 
> 
> 
> Jisr Al Bacha P.O. Box 11-316 Beirut Lebanon
> tel +961 1 512513 ext. 366| fax +961 1 510474
> tech support 1282 |   http://www.idm.net.lb
> 
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS E-MAIL
> Confidentiality Notice: The information in this document and attachments is
> confidential and may also be legally privileged. It is intended only for the
> use of the named recipient. Internet communications are not secure and
> therefore IDM does not accept legal responsibility for the contents of this
> message. If you are not the intended recipient, please notify us immediately
> and then delete this document. Do not disclose the contents of this document
> to any other person, nor take any copies. Violation of this notice may be
> unlawful.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> freebsd-spar...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64
> To unsubscribe, send any mail to "freebsd-sparc64-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: ntpdate on FreeBSD 8.0

2009-11-29 Thread Anh K. Huỳnh
On Sun, 29 Nov 2009 20:39:32 -0600
ajtiM  wrote:

> Hi!
> 
> I have new installed FreeBSD 8.0 and in rc.conf I have:
> 
> ntpdate_enable="YES"
> ntpdate_hosts="ntp1.cs.wisc.edu"
> 
> When I boot computer I get a message there are no this host but
> when I run /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
> 

This is due to DNS problem. Your DNS resolver must work before you run 
`ntpdate`.

> I had the same in rc.conf on FreeBSD 7.2 and it works all the time.
> All settings on FreeBSD8.0 are the same as I had on 7.2.
> 
> Thanks in advance.


-- 
Anh K. Huynh
Homepage: http://viettug.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"


how to add OpenOffice binaries in FreebSD7.2

2009-11-26 Thread dhaneshk k



I need to install  openoffice   in my FreeBSD7.2  laptop (IBMT60 coreduo) , 
without doing 
a port installation how can I do  it with package addition

 pkg_add  -r what_the_name_of_openoffice_package

  I need to supply in # pkg_add -r   ?


   Is there an official  FreeBSD package for   OOo  ?   I done   3rd party 
binary installations for open office  from  lamrelle.net .  but all the time it 
crashed  some of my gnome  applications ..such as firefox,  evolution etc..

any hints much appreciated..

dhanesh
  
_
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


OOo3.1 binary addition makes firefox,evolution unlaunchable from desktop

2009-11-26 Thread dhaneshk k

fellow FreeBSDians,


  I am  facinggnome2  issues in freebsd7.2

I installed freebsd7.2  in an IBMT60 lenova notebook,(  coreduoe 2.16 Ghz, IGB 
ram, ATI graphics)

   I  done  pkg_add  -r xorg, fine created xorg.conf  and tested   with  -retro 
option,  then got  mouse detected with blank screen.  I used hald and dbus in  
rc.conf.


Then I installed gnome   bypkg_add -r gnome2 ,  fine   enabled  gdm in 
rc.conf  and able to login and can use  Desktop .  I can chage Desktop 
background with  .jpeg files
everything fine.

 But when Idownloaded  OOo3.1 binaries for 7.2 release from 

http://lamarelle.lautre.net/OOo/   and   pkg_add locally

, then it failed , asking me to   install python26.x , jbigkit,latest   
gnutls  & jpeg from ports  instead of what I have in this box, then  cups-base, 
cups-image, cups-client etc  .

I installed python26, jbigkit, cups-base, cups-image, cups-client.   I 
deinstalled gnutls & jpeg ports and installed  again them.  after this OOo 
got installed  and working fine.  

But after I rebooted the machinebut issues 

1)   firefox browser can't launch , what I made wrong how to fix it?
2) Ekiga softphone , Epiphany webbrowser can't launch.  how to fix ?
   3)in Sound&Video Movie player , swfdec Flash player etch can't launch  
   4) Evolution Mail & calender also can't launced.
   5) I can't change  Desktop background with  .jpeg files ,  but .png  wall 
papers worked for desktop backgroud. ?  

what I made wrong,  how can I fix  these issues,   I really need  a FreeBSD7.2  
Desktop in my  this notebook, 

Please help me with your suggestions & expertise,  All help much appreciated.

Thanks in advance 
Dhanesh



  
_
Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop___
freebsd-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: pf nuttyness

2009-11-25 Thread Michael K. Smith - Adhost
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Brian McCann
> Sent: Tuesday, November 24, 2009 3:03 PM
> To: freebsd-questions
> Subject: pf nuttyness
> 
> I'm at the end of my rope here with PF.  I have a ruleset loaded, that
> is long and complicated...but I've shortened to to a "pass all" rule.
> The box has 4 interfaces, one for pfsync, one for me to connect to it,
> and two bridged interfaces.  The only traffic on the bridged
> interfaces is STP and IP multicast traffic from my EIGRP routers.
> When I run "pfctl -s rules -v", the EIGRP multicast traffic never hits
> any rules...yet it's allowed.
> 
> I'm on FreeBSD 7.1.
> 
> Has anyone else come across this before?  I'm ready to throw out
> FreeBSD 7.1 and try OpenBSD for pf use...which would be a shame since
> I use FreeBSD for all my other servers, and having 2 OpenBSD boxes
> would just be... weird...
> 
> --Brian
> 
For troubleshooting, try this:

Block in all log
(remove all other log statements)
tcpdump -n -e -ttt -i pflog0

That's provided you set up a pflog0 interface.  If not, add this to
rc.conf
pflog_enable="YES"
pflog_logfile="/var/log/pflog"

and 'ifconfig pflog0 up'

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


Re: rTorrent + FreeBSD + pf = freeze?

2009-11-23 Thread Michael K. Smith
On 11/23/09 2:28 PM, "Michael Schaefer"  wrote:

> On 22.11.2009 23:11, cpghost wrote:
>>> Have you tried to run rtorrent and the router on two different
>>> FreeBSD machines? Does it lock the router, or does it crash the
>>> rtorrent box only, or both?
> 
> even though i haven't been asked i might want to answer  ;)  Since my
> box really exclusively does rtorrent i don't think it's related to
> routing or NAT. pf is not active at all. Routing and NAT for my setup is
> done by a dedicated different box (which isn't affected by all this,
> apart from that it doesn't run freebsd).
> 
> so for me this really looks like a /networking/ issue, which is not
> dedicated to routing or NAT in particular..
> for me this now becomes kinda problematic, since i cannot even start the
>  second rtorrent instance without crashing the machine immediately..  :(
> 
> regards - michael

We had similar crashes with PF, although not related to rtorrent
specifically.  However, we use the following sysctl values that have helped
stability and performance immensely.

net.inet.carp.preempt=1
net.inet.carp.arpbalance=0
net.inet.icmp.icmplim=2000
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
kern.ipc.somaxconn=32768
net.inet.tcp.mssdflt=1460
kern.ipc.maxsockbuf=16777216
kern.ipc.nmbclusters=32768
kern.maxfiles=65536
kern.maxfilesperproc=32768
kern.maxvnodes=60
net.inet.tcp.delayed_ack=0
net.inet.tcp.inflight.enable=0
net.inet.tcp.path_mtu_discovery=0
net.inet.tcp.recvbuf_auto=1
net.inet.tcp.recvbuf_inc=16384
net.inet.tcp.recvbuf_max=16777216
net.inet.tcp.rfc1323=1
net.inet.tcp.sendbuf_auto=1
net.inet.tcp.sendbuf_inc=8192
net.inet.udp.maxdgram=57344
net.inet.udp.recvspace=65536
net.local.stream.recvspace=65536
net.inet.tcp.sendbuf_max=16777216

Regards,

Mike

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


RE: CMS

2009-10-16 Thread dhaneshk k

Hi 

If I were you I  use Plone CMS on FreeBSD. Its one among 
the  good  CMSs available and  doesn't require to  configure a 
DataBase  separately. Zope server has its DB  named as ZODB, you can
use with any  database  with APIs  and Security shows pretty good
record.
-
dhanesh

> From: reko.tu...@liukuma.net
> To: pschmehl_li...@tx.rr.com; freebsd-questions@freebsd.org
> Date: Fri, 16 Oct 2009 12:13:12 +0300
> CC: 
> Subject: Re: CMS
> 
> > I manage a couple of FreeBSD servers for a friend.  He's gotten all 
> > excited about content management and thinks that's the way to go. 
> > The system he's familiar with is Windows only.  I've done a little 
> > research, but I'm wondering if anyone reading the list has 
> > experience with a CMS on FreeBSD - one that's in ports preferably.
> 
> Due using Postgres, I've had experience on both Drupal and 
> Serendipity, both installed mostly from ports and seem to be updated 
> pretty regularly - although Serendipity can "self repair" - i.e. load 
> updates for plugins and itself automatically. Both have functioned 
> well enough, although with Drupal if you need more exotic array of 
> plugins, they have to be installed manually as ports seem to miss 
> several.
> 
> In addition, some of the Drupal plugins need a bit of tweaking 
> (getting rid of mysqlisms) if used under Postgres, although the main 
> application works good enough.
> 
> -Reko 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
  
_
Great events make grand headlines – read them all on MSN India
http://in.msn.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: New mail server setup

2009-09-17 Thread Michael K. Smith - Adhost
Hello Steve:

I'll try to answer your questions in line.  


> 
> > Another approach would be a cluster of Postfix servers and Dovecot
> > servers behind PF load balancers.  We have 3 "POP" servers
> (IMAP/POP), 9
> > Mail Servers, 2 Defer servers and 5 Filter servers that process over
> 20
> > million messages a day without a blip.  We can take individual
> servers
> > out of the pool for maintenance, etc.  Everything is fed to a set of
> > redundant NAS for the data storage and common configuration files.
> 
> Thanks Mike,
> 
> I'm interested to learn a little more about your setup. I was going to
> take it off-list, but if you can provide some further details, it
would
> probably add long-term value to keep it here.
> 
> So, a couple of questions:
> 
> - can your PF load balancers 'sense' when one of the Postfix/Dovecot
> units are down, or is this a manual change in config to prevent any
> time-out conditions?

Not natively.  When we initially implemented this setup, ifstated wasn't
up to snuff, so we wrote some PERL scripts that make connections to the
required ports and, if no connection is established, pull the server
from the table and send us an alarm.  We also have scripts so that we
can pull servers out when we're doing maintenance.
> 
> I like this load balancer idea. In my environment, it would be trivial
> to set up a couple of them, throw Quagga on them, and integrate them
> directly into our iBGP setup. On the other side, I could use VRRP or
> the
> like to ensure redundancy from front to back.

We use two PF boxes and CARP with PFSync for failover, so no dynamic
protocols are needed.  
> 
> - do the Postfix/Dovecot servers communicate with each other, or are
> they simply stand-alone units that don't know/care that they have
other
> peers helping with the workload?
> 
They are standalone.  All of the user authentication is handled from a
centralized database, so there are no local credentials stored on the
server.  

> - are your filter servers in front of, or behind the load balancers
> (iow, is all of your inbound email passed through the balancers, and
> then filtered/processed/delivered in behind them)?
>

They are behind the PF boxes.  We have other hooks in PF that we use to
block SPAM in PF, including Cloudmark and some custom stuff that looks
for multiple mails to non-existent addresses.  We also use the overload
tables for abusive connections.
 
> - how do all of the pieces communicate with the NAS...NFS?

Yes.  Originally we used TCP but we found performance to be much better
with UDP.  NFSv3 by the way.
> 
> - could you share a small snip of your PF config in relation to
> load-balancing, so I can get a bit of a better understanding config-
> wise
> on how that piece hangs together? (I've never used PF, only IFPW ;)

That might be difficult because it's about 720 lines.  :-)  Here are
some highlights, though.

1) Our customers use mail.adhost.com for everything - SMTP, POP and
IMAP.  We use redirects in PF so that traffic coming in on the
associated ports goes to the appropriate servers.
2) We have our load-balanced DNS servers behind the same PF boxes so we
localize the tons of DNS queries related to mail.
3) We do a lot of our rejecting in PF, including Spamhaus, Cloudmark,
check scripts for Phishing, Porn and Viruses, as well as our own list of
"Nefarious" IP's culled from various sources.  When traffic matches
these originators, we send them to mail reject servers that send out a
550 message with the group name so we can find false positives more
quickly.
4) Because 3 does have false positives, we have a whitelist that we can
add to that will pass traffic to the mail servers before they match
against any of the tables in 3.
5) We use POP before SMTP, so once we authenticate a user to send, their
IP address is also added to an allow table.
6) The filter servers are load balanced to and from the mail servers so
we can take them in and out of their pool for maintenance.

If you have a particular scenario you're thinking about I could help you
with the rules to make it work.

Regards,

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


RE: New mail server setup

2009-09-16 Thread Michael K. Smith - Adhost
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Steve Bertrand
> Sent: Wednesday, September 16, 2009 7:09 AM
> To: Matthew Seaman
> Cc: questi...@freebsd.org
> Subject: Re: New mail server setup
> 
> Matthew Seaman wrote:
> > Steve Bertrand wrote:
> >
> 
> >> If anyone has a setup that has redundancy for their IMAP/POP
> services,
> >> and a method to keep the changing data relatively up-to-date, I'd
> love
> >> to hear about it.
> >
> > Now, that is a different kettle of fish.  This is a job for cyrus
> imap.
> > I suggest googling for 'cyrus murder' -- this is almost, but not
> quite,
> > a fully resilient mail store / IMAP system.  Your mail store is
> divided
> > into frontend IMAP protocol servers which handle user auth etc. and
> back-end
> > mail stores.  The protocol layer servers are fully resilient and you
> can
> > fail over a user session at will, but the mailstores don't quite get
> there:
> > mail is replicated across different stores, but actions modifying
the
> mail
> > store are not transactional across all the mail stores. Or in other
> words,
> > you can lose a small amount of data if one of the mail stores goes
> bang at
> > precisely the wrong moment.  Even so, it will do better at keeping
> multiple
> > copies of a mailstore in synch than any locally scripted rsync
setup.
> 
> This is *EXACTLY* what I was looking for!
> 
> The possibility of loosing an extremely small amount of data far
> outweighs the possibility of a multi-hour outage where 3,000 users are
> receiving "can't reach the POP3 server" errors.
> 
> Besides, our incoming SMTP gateway boxes cache all incoming email for
> 24
> hours, and we can re-deliver any message to the back-end we wish
during
> that window.
> 
> I really try my best to design/implement all the systems I can like
our
> networks... multiple paths and extremely quick convergence. Being able
> to take a box down to test/perform an upgrade, or during a failure
> without client impact is well worth any initial large learning curve
> imho.
> 
> Thanks,
> 
> Steve

Hello Steve:

Another approach would be a cluster of Postfix servers and Dovecot
servers behind PF load balancers.  We have 3 "POP" servers (IMAP/POP), 9
Mail Servers, 2 Defer servers and 5 Filter servers that process over 20
million messages a day without a blip.  We can take individual servers
out of the pool for maintenance, etc.  Everything is fed to a set of
redundant NAS for the data storage and common configuration files.

Regards,

Mike

--
Michael K. Smith - CISSP, GISP
Chief Technical Officer - Adhost Internet LLC mksm...@adhost.com
w: +1 (206) 404-9500 f: +1 (206) 404-9050
PGP: B49A DDF5 8611 27F3  08B9 84BB E61E 38C0 (Key ID: 0x9A96777D)


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


Advise for buying a Refurbished machine

2009-07-09 Thread dhaneshk k

Fellow  BSDians,


   I need an advice  from  FreeBSD users.  I would like to buy a  refurbished 
notebook from IBM.  

 Model   IBM T60   > I heard  T60 series are excellent ?
 
Please see this URL   and apecifications  of the notebook 
http://www-304.ibm.com/shop/americas/webapp/wcs/stores/servlet/default/ProductDisplay?productId=4611686018425958881&storeId=1&langId=-1&categoryId=2576396&dualCurrId=73&catalogId=-840

I want to know 
1)  whether this notebook go well with FreeBSD-7.x  versions ?

I want to use  only FreeBSD on this notebook with X window system + Gnome 
Desktop, 

2) please advice me   If I  buy this machine   is that a wise   decision  or  
refurbished  machines are of  high risk  ?


any thoughts most  welcome.

Thanks in advance 
Dhanesh

_
Live Search extreme As India feels the heat of poll season, get all the info 
you need on the MSN News Aggregator
http://news.in.msn.com/National/indiaelections2009/aggregator/default.aspx___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


sed help

2009-06-17 Thread chloe K
Hi 
 
 
I have a file. list.txt (two columns)
 
column1    column2
name    address
 
 
I need to put in the letter file letter.txt eg:
 
Dear: Chloe
Address: CA
 
Can I use this 
 
for i `cat list.txt` | sed 's/Chloe/$i.1; /CA/$i.2/g' $i.letter.txt
 
Thank you for your help



  __
The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!  
Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/
___
freebsd-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: vim question...

2009-06-14 Thread Michael K. Smith



On 6/14/09 7:46 PM, "Gary Kline"  wrote:

> 
> 
> the main reason i don't use vim is because of its [u]ndo
> command.  as most of you can understand, there are a whole slew
> of times when i need to undo something.  too often in vim,
> hitting 'u' --- sometimes > once accidentally --- has resulted in
> a small disaster.  [[i have too many current/recent copies of
> my working files to do TOO much damage!]]  Anyway, is there a
> means of setting the undo key to mimic vi/nvi?
> 
> thanks,
> 
> gary
> 
> 
If you undo something and it was a mistake, just use the period (.).

Mike

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


RE: glabel(8) a gmirror(8) doesn't work

2009-06-10 Thread dhaneshk k

List members;

http://www.freebsd.org/doc/en/books/handbook/geom-glabel.html

Starting with FreeBSD 7.2, the glabel(8) class
supports a new label type for UFS file
systems, based on the unique file system id, ufsid.

Is the above clause  applicable in this case ? instead of using  tunefs  -L 

can we use#  glabel status  ?

and can use the ufsid labels   of  /dev/ufsid/and  edit  /etc/fstab entries 
 for the partitions?




> From: valentin@gmail.com
> Date: Wed, 10 Jun 2009 09:12:47 +0300
> To: freebsd-questions@freebsd.org
> Subject: glabel(8) a gmirror(8) doesn't work
> 
> Hello community,
> 
>  Yesterday I have installed FBSD 7.2-RELEASE. I have installed on a mirror
> created with gmirror(8). All I have modified on this system is that I have
> updated the sources, rebuild the world and kernel and of course install.
> 
>  I have named the mirror system0 and all worked well. Now the problem
> is that i want to glabel the partitions on the mirror so i have followed the
> following
> procedure:
> 1. reboot to single user
> 2. mount -a
> 3. tunefs -L var /dev/mirror/system0s1d
> This commands exits with "Failed to write superblock".
> 
>  After reading the man of gmirrror(8) and glabel(8) i have noticed that both
> of them
> store metadata on the last sector of the provider. From this results that
> what I want
> to do is not possible, at least my logic tells me that. Since gmirror wrote
> metadata
> to the last sector of the provider, glabel tries to rewrite it and the
> system stops the
> process to protect the filesystem. But then again for gmirror the providers
> are
> the two hdd i use for mirroring and for glabel the provider is the mirror
> itself. That's
> again what my logic tells me. So i think there is some kind of separation
> between the
> two modules and things should work.
> 
>  I have searched a bit but couldn't find any relevant info on labeling a
> mirror. I just
> want to know if this is possible and if it's not I'd like to understand why.
> 
> Labeling a partition is not a must-have but it's sure nice :).
> 
> thanks,
> v
> 
> -- 
> network warrior since 2005
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

_
cricket and news. Logon to MSN Video for the latest clips
http://www.exploremyway.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: Stop in /usr/ports/lang/gcc43

2009-06-02 Thread matti k
On Mon, 01 Jun 2009 20:31:05 +0200
Leslie Jensen  wrote:

> 
> Leslie Jensen wrote:
> > 
> > 
> > David Kelly wrote:
> >> On Mon, Jun 01, 2009 at 08:06:30PM +0200, Leslie Jensen wrote:
> >>>
> >>> I can't get gcc43 to compile. I've deinstalled and reinstalled
> >>> all its dependencies but it still fails.
> >>>
> >>> I'm on a 7.2-RELEASE system with all ports installed from a clean 
> >>> install.
> >>>
> >>> The problem turned up when an update for fftw3 became available.
> >>>
> >>> Apparently gcc43 is a new dependency for fftw3!
> >>>
> >>> Any hints appreciated
> >>
> >> Add this to /etc/make.conf. Worked for me:
> >>
> >> WITHOUT_JAVA=1
> >>
> >> Apparently to build Java one has to increase the size of some
> >> tables in the kernel. I'd just as soon do without Java.
> >>
> > 
> > It does not work here :-(
> > /
> 
> I also have this in my /boot/loader.conf but it makes no difference.
> 
> kern.maxdsiz="734003200"
> 

Try with this?

kern.dfldsiz="1073741824"
kern.maxdsiz="734003200"

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


Problems with IPv6 CARP Interface in PF

2009-05-27 Thread Michael K. Smith - Adhost
Hello:

I'm having reachability problems with a CARP interface set up on two 7.1
boxes with an uplink to Cisco routers.  However, the inside CARP address
on the same set of PF boxes are reachable with no trouble.  Here's the
config.

Cisco   Cisco
   HSRP Gateway
|
   CARP Interface 1
PF Box   PF Box
   CARP Interface 2
|
  Server

When I try to ping CARP Interface 1 above from the Internet, I get no
response.  When I ping the CARP Interface 2, which has a route set from
the Cisco's to CARP Interface 1, it works.  Here's what I see in my
logs.

00:38:45.763975 IP6 fe80::203:6cff:fef9:2c00 > ff02::1:ff00:7: ICMP6,
neighbor solicitation, who has 2001:4970:::7, length 32

... with no response.

Here is the ifconfig from one box.

carp0: flags=49 metric 0 mtu 1500
inet6 2001:4970:::6 prefixlen 64
inet6 2001:4970:::7 prefixlen 64
carp: MASTER vhid 1 advbase 1 advskew 100
carp1: flags=49 metric 0 mtu 1500
inet6 2001:4970::::1 prefixlen 64
carp: MASTER vhid 2 advbase 1 advskew 100

and the other shows appropriately as "BACKUP".  There is no change if I
run with just one PF box.

Any help would be greatly appreciated.

Regards,

Mike
--
Michael K. Smith - CISSP, GISP
Chief Technical Officer - Adhost Internet LLC mksm...@adhost.com
w: +1 (206) 404-9500 f: +1 (206) 404-9050
PGP: B49A DDF5 8611 27F3  08B9 84BB E61E 38C0 (Key ID: 0x9A96777D)



___
freebsd-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: BGP

2009-05-13 Thread Michael K. Smith - Adhost
> 
> is there a way to have FreeBSD work as BGP router and/or at least
> failover between 2 different ISPs?
> 
I, as some random guy on the Internet, would recommend Quagga and, yes, it will 
work with 2+ ISP's on single device (server).  It's well established and in use 
for transit-facing Internet connections.

Regards,

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

RE: esxi and freebsd vlans

2009-04-20 Thread Michael K. Smith - Adhost
Hello Sebastian:


Hi,

I ran into the ESXi limit of 4 NICs per VM, so I figured I would work 
around this using FreeBSD's vlan devices.

I made 2 test installs with the following interface configuration:

test1:
ifconfig em0 inet 10.10.10.1 netmask 255.255.255.0
ifconfig vlan create
ifconfig vlan0 inet 192.168.1.1 netmask 255.255.255.0 vlan 22 vlandev
em0

test2:
ifconfig em0 inet 10.10.10.2 netmask 255.255.255.0
ifconfig vlan create
ifconfig vlan0 inet 192.168.1.2 netmask 255.255.255.0 vlan 22 vlandev
em0

I can ping the other machine using the 10.10.10.x IP address no problem,

but the 192.168.1.x addresses don't work. I've tried setting the vlan id

on the vSwitch to none and to 22, but in neither of the two cases does 
it work.

----
[Michael K. Smith - Adhost] 

You will need to make sure the switchport facing your server is set to
802.1Q trunk and has VLAN 22 allowed.  The IP address on em0 itself is
"untagged" so it will work regardless of the port settings on the
switch. VLAN 22 has the 4-byte header attached so the other side has to
recognize the tag.

Regards,

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


Re: Duplicate Installation of FreeBSD

2009-04-01 Thread k...@snaffler.net
personally id use rsync over tar, make sure you use the numeric-ids 
option though


Also you could probably do something like to make sure the disk labels 
are the same


bsdlabel ad0s1 | rsh X " bsdlabel -W ad0s1 0"




Wojciech Puchar wrote:

Hello list,

I have installed and configured a FreeBSD system based on 7.1-RELEASE 
(not
that it matters so much) and I want a way in which I can duplicate 
this on

several other machines.
What is the easiest and the simplest way? Please consider the K.I.S.S
principle.


boot liveCD, allow rsh on one machine (.rhosts etc) and do on each new.

1)
clean beginning of disk:

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

make labels as you wish
bsdlabel -w ad0
bsdlabel -e ad0

(replace ad0 with something different if it is, or maybe more drives)

if you use gmirror/gstripe whatever do it here.

2) bsdlabel -B ad0 (install bootrecord)
perform newfs on each partition with options you like

mount target root partition on /mnt, make subdirs for other partitions 
(if any), mount others under /mnt/subdir


3) rsh -l installedmachine "tar --one-file-system -cf - / 
/otherpartition /anotherpartition"|tar -C /mnt -xpvf -


this will copy all files.

be sure to specify all mountpoint in tar -cf - ...

4) edit all needed files like /mnt/etc/rc.conf

5) /sbin/reboot -q




___
freebsd-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"


WireLess USB modem not detected .

2009-03-29 Thread dhaneshk k

List;
 
when I attach a USB modem , I am seeing this message  in dmesg output  on 
FreeBSD6.2 
 
ugen0: Qualcomm, Incorporated Qualcomm CDMA Technologies MSM, rev 1.10/0.00, 
addr 2

But it not showing  /dev/ in dmesg   why ?


If it detected what will be the entry in /dev/?


 
Question1)  Can  this USB wireless modem will work with FreeBSD6.2 ? if not  
with a any other  FreeBSD  version by default?

in FreeBSD-6.2 to enable this USB data card, is it needed to recompile the 
Generic kernel? if so  which patch to add  for recompilation ?


 
Question 2) To use this modem to get  wireless connection   which steps I have 
to follow further more..


 Please help me with some tips to make it work in my FreeBSD Laptop.
 
Thanks in Advance
Dhanesh




_
So many new options, so little time. Windows Live Messenger.
http://www.microsoft.com/india/windows/windowslive/messenger.aspx___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ugen0: Qualcomm CDMA configuration

2009-03-26 Thread dhaneshk k

List;

when I attach a USB modem , I am seeing this message  in dmesg output  on 
FreeBSD6.2 

ugen0: Qualcomm, Incorporated Qualcomm CDMA Technologies MSM, rev 1.10/0.00, 
addr 2

Question1)  Can  this USB wireless modem will work with FreeBSD6.2 ? if not  
with FreeBSD-7.0 ?

Question 2) To use this modem to get  wireless connection   which steps I have 
to follow further OR which file I have to edit ?

Any FreeBSDians  already have this setup  working , please help me with some 
tips so that it works for me too.

Thanks in Advance
Dhanesh


_
Windows Live Messenger. Multitasking at its finest.
http://www.microsoft.com/india/windows/windowslive/messenger.aspx___
freebsd-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: first firewall with pf

2009-03-26 Thread Michael K. Smith - Adhost
Hello Eric:


Hi everyone,

Can you provide a little more information about your topology?  Right now, you 
only have one interface defined in your rules, but you are attempting to pass 
traffic between two subnets.  That would suggest you have two interfaces and, 
if so, both need to be accounted for in your rules below.  You'll have to have 
pass/block rules for both.  It looks like this:

172.16.0.0/16 -> le0  -> (some other interface) -> 10.0.0.0

Could you tell me if that is correct?

Thanks,

Mike

- Original Message Snipped -
Thanks for all your input so far. I have tried to implement all you suggestions 
but have gotten stuck. I set up a test machine in the office with the ip 
10.0.0.110  and encountered the following problems:

when I enables antispoofing the firewall didn't work 

when I tried allowing the 10.0.0.0 subnet it worked ok but when i tried 
connecting from machines on the 172.16 subnet I was unable to connect. 

Can you please let me know what I'm doing wrong? 



PGP.sig
Description: PGP signature


RE: first firewall with pf

2009-03-24 Thread Michael K. Smith - Adhost
I also forgot to mention:

You should probably log your block rule so that you can see what's going on if 
things don't work as expected.

So:

block in log on $ext_if

Note the lack of "quick" as well, as previously mentioned.

With logging enabled, provided you have pflog running (which you should), you 
can use the following to see what's being blocked.

tcpdump -n -e -ttt -i pflog0  (provided pflog0 is your pflog interface).

Regards,

Mike


PGP.sig
Description: PGP signature


Any BSDians hands on with apache-2.2 webserver,

2009-03-05 Thread dhaneshk k



.htpasswd Failure .. htpasswd recreation also not working 






 I added afor restricting access to   my  web site URL. 
I used   Basic  Authentication module..





I created  #htpasswd  -c  .htpasswd  test 



   password  :  test   




 

and restarted  apache .   The  path to  AuthUserFile   is   absolutely the 
system path no error in   that ..



but when I tried to   accessmysites  URL  it  showing the   Authentication 
Dialogue  ,  I enteredusername  : test 




password  : test   ,   but  its not loging in ..)



I recreated the   password  many times  with  other user  names and passwords   
 .. but still I can't login  ..





what may be the issue ?  how can I fix the issue ?








This is the setup 



[r...@sun /usr/local/www/testblock]# ls -al

total 6

drwxr-xr-x   2 www   www512 Mar  5 19:13 .

drwxr-xr-x  11 root  wheel  512 Mar  5 16:10 ..

-rw-r-xr-x   1 www   www 19 Mar  6 09:52 .htpasswd


[r...@sun /usr/local/www/testblock]# cat .htpasswd 

test:Nkw3seTaTE16I

[r...@sun /usr/local/www/testblock]# 







ServerName   mysite.com






AuthType Basic

AuthName "Auth"

AuthUserFile "/usr/local/www/testblock/.
htpasswd"
Require valid-user
RewriteEngine On
RewriteRule ^/(.*) 
http://127.0.0.1:8081/VirtualHostBase/http/mysite.com:80/site1/VirtualHostRoot/$1
 [L,P]


ErrorLog /var/log/apache/site1/error_log
CustomLog /var/log/apache/site2/access.log combined


Any hints most welcome

Thanks in advance 
KK
_
Windows Live Messenger. Multitasking at its finest.
http://www.microsoft.com/india/windows/windowslive/messenger.aspx___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


password protection for RewriteRule

2009-03-05 Thread dhaneshk k

List;

I am using apache2.2

I need to do a   password protected access toa website   eg  
www.mydomain.com


I have  this  Vhost configuration in   my  httpd-Vhost.conf


ServerName  mydomain.com
RewriteEngine On
RewriteRule ^/(.*) 
http://127.0.0.1:8081/VirtualHostBase/http/www.mydomain.com:80/site1/VirtualHostRoot/$1
 [L,P]
ErrorLog /var/log/apache/mysite.com/error_log
CustomLog /var/log/apache/mysite.com/access.log combined
Now anybody   in their  browse  type  www.mydomain.com  they  can 
view my site , but I want to make them to enter a username  & password  to 
view the site .


How can  I do apassword protected   access to my site  for this  
RewriteRule  based Vhost 

( I know that I can do   .htaccess & .htpasswd   based authentication for   
directories in  apache . )

But for RewriteRule   is it possible ?  How ?


I appreciate  very much for your valuable  suggestions & hints  to how to do 
that .

Thanks in advance 
Dhanesh.

_
So many new options, so little time. Windows Live Messenger.
http://www.microsoft.com/india/windows/windowslive/messenger.aspx___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Flash9 and FreeBSD7.0 isssue

2009-02-05 Thread dhaneshk k

Hi  list, 


 I followed  http://freebsd.langhans.com.pl/af/index.html

To enable  flash9   support for FreeBSD7.0




I  installed FreeBSD7.0 with Linux compatibility

so the first step (1.3 ) I skipped   



second step I followed and installed  latestfirefox-devel


then I installed nspluginwrapper



next step I downloaded this  
ftp://greyone.tulatelecom.ru/pub/linux/adobe/install_flash_player_9_linux.tar.gz

from this link 
http://www.filewatcher.com/m/install_flash_player_9_linux.tar.gz.2608602.0.0.html
  as adobe.com not allowing me to download it.


then I untarred itand copied  libflashplayer.so  to   
~/.mozilla/plugins  ( I created plugins directory as there is no
default plugins directory  in  ~/.mozilla/
  and I invoked the nspluginwrapper $ nspluginwrapper  -v -a -i 
and  observed that it created nswrapper.libflashplayer.so   



but   $  nspluginwrapper -l  given me  the   the message  segmentation 
fault  core dumped   sig 11 

what I made wrong ?


 I tried to restart  the firefox and   it restarted and showing message  you 
updated to the latest fiefox version .


but when I accessed the   http://www.adobe.com/shockwave/welcome/   URL I am 
getting message in the   console as 


LoadPlugin: failed to initialize shared library 
/home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object "libdl.so.2" 
not found, required by "libflashplayer.so"]

Gtk-Message: Failed to load module "gnomebreakpad":
libgnomebreakpad.so: cannot open shared object file: No such file or
directory
LoadPlugin: failed to initialize shared library 
/home/dhanesh/.mozilla/plugins/libflashplayer.so [Shared object "libdl.so.2" 
not found, required by "libflashplayer.so"]

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



but find commad showing that   libdl.so.2 is ther in
/usr/compat/linux/lib/libdl.so.2



# find / -name libdl.so.2
/usr/compat/linux/lib/libdl.so.2


[dhanesh]$ sysctl compat.linux.osrelease
compat.linux.osrelease: 2.4.2

[dhanesh$ uname -a
FreeBSD  7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386



 any hints to  make it work most welcome..  please see this paste also  
http://rafb.net/p/Yz7dBS79.html

thanks in advance 
-- 
K.K. Dhanesh
_
Wish to Marry Now? Join MSN Matrimony FREE!
http://www.in.msn.com/matrimony___
freebsd-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: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread k...@snaffler.net
I have done that many times without hitch but would never recommend it 
on a production box even though i have never seen an issue in real world 
situations.


Note the mergemaster -p should be done before the installword as it 
sometimes add new accounts and things that the installworld needs to 
complete.


Artem Kuchin wrote:



Mike Clarke ?:

On Thursday 29 January 2009, Akenner wrote:

 

For some reason if you follow along line by line in the book "FreeBSD
Unleashed Second edition" which was written and came with 5.0 on CD,
it doesn't work at all for some reason. I think there must have been
a few changes in the way things are done between these versions but I
couldn't get those instructions to work at all. I'm sure it works
great on 5.0 but I kind of fell for 7.1 like a school kid lol.




  


I have never had a single problem updating system remotely via 
internet like this:


doing a sup file like this:

*default host=cvsup4.FReeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete use-rel-suffix
*default compress

src-all
doc-all tag=.
ports-all tag=.

Then

csup supfile

Then
cd /usr/local/src
make buildworld >& bw
check the end of bw
make buildkernel KERNCONF=MYKERN >&bk
check what's in bk

i redirect output to save the bandwidth and traffic
stop as many thing as i can stop

make installkernel KERNCONF=MYKERN
make installworld >&iw

check what's in iw

mergemaster -p
mergemaster

disable everything in /local/etc/rc.d and as many as possible in rc.conf

shutdown -r now

and then it's up and it's a new version!

as i said - it never failed!

--
Artem




___
freebsd-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: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread k...@snaffler.net

Zbigniew Szalbot wrote:

Hi all,

On Thu, Jan 29, 2009 at 07:34, Tim Judd  wrote:
  

Akenner wrote:


RW wrote:
  

On Wed, 28 Jan 2009 05:07:46 -0700
Tim Judd  wrote:





Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
it wanted like >30,000 updates and was taking forever.

  

It seems to me that most people that come to this list with base-system
update problems are using  freebsd-update.
___




This is going to seem stupid, but instead of making a new topic, can
someone link to me a working link of the handbook where you update your CVS
and so on?  I know that on the FreeBSD page there is a handbook that has
exactly what I'm looking for, and for some reason I'm having trouble finding
it even though I used to have it saved but I don't anymore and I wanted to
get CVS sources updated so I can do some updating.

Thanks

  

csup -g -L 1 -h cvs#.cc.freebsd.org
/usr/share/examples/cvsup/standard-supfile

i.e: cvs17.us.freebsd.org

This will update to your uname -r latest patchlevel.  Copy and replace (for
you): RELENG_7_0 with RELENG_7_1 to get the latest patchlevel for 7.1


Original doc seems either replaced by the freebsd-update method (while
excellent, there are a few things that CVS really triumphs on).

csup is part of base.

I'd be glad to help you through.  The canonical update method is still
listed in the handbook (SS. 24.7.1) used after retrieving the sources.



Thank you Tim for the answers! So far I have used freebsd-update to
apply updates. I seem to recall that it is never good to mix the two
systems (freebsd-updates and csup) to avoid trouble. Is that true?

Also, the documentation you mention (24.7.1) says this:

After installkernel finishes successfully, you should boot in single
user mode (i.e. using boot -s from the loader prompt).

How can this be done with a remote machine?

  
NO without serial access or some kind of ALOM card eg DELL DRAC CARD, as 
you will have no ip up

___
freebsd-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: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread k...@snaffler.net

here is howto rebuild you system via cvs

dump this into a file

--->8

*default host=cvsup.uk.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete use-rel-suffix
src-all

--->8

add these lines to /etc/make.conf

SUP_UPDATE= yes
SUPFILE=   

then

cd /usr/src
make update && make buildworls && make buildkernel && make installkernel

( if you are multicore do a -j 8 or something on the build lines, 
anything upto 32 should build ok )


reboot

cd /usr/src
mergmaster -p
make installworld
mergmaster

reboot

i theory tou should rebuild all your ports now as well, but generally i 
never both and havent had trouble


if you dont have anything in /usr/src or dont have one just install the 
base src distribution from sysinstall


or

download install.sh, sbase.aa, sbase.inf from you favorite freebsd 
mirror and do a


./install.sh base

eg mine is here

http://www.mirrorservice.org/sites/ftp.freebsd.org/pub/FreeBSD/releases/i386/7.1-RELEASE/src/



Akenner wrote:

RW wrote:

On Wed, 28 Jan 2009 05:07:46 -0700
Tim Judd  wrote:


 

Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
it wanted like >30,000 updates and was taking forever.



It seems to me that most people that come to this list with base-system
update problems are using  freebsd-update.
___

  
This is going to seem stupid, but instead of making a new topic, can 
someone link to me a working link of the handbook where you update 
your CVS and so on?  I know that on the FreeBSD page there is a 
handbook that has exactly what I'm looking for, and for some reason 
I'm having trouble finding it even though I used to have it saved but 
I don't anymore and I wanted to get CVS sources updated so I can do 
some updating.


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"


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


Issues with PF and 7.1

2009-01-22 Thread Michael K. Smith - Adhost
** Apologies to folks already subscribed to p...@freebsd.org.  This was posted 
there as well but I'm not getting any responses at all so I thought it best to 
post it here as well. **


We are having memory issues with PF and 7.1p2 that we didn't experience with 
6.3.   Here's what happens.

# pfctl -f /usr/local/etc/pf.conf
/usr/local/etc/pf.conf:135: cannot define table smtpd_reject_policyd: Cannot 
allocate memory
/usr/local/etc/pf.conf:139: cannot define table smtpd_reject_spam: Cannot 
allocate memory
pfctl: Syntax error in config file: pf rules not loaded
# pfctl -t smtpd_reject_policyd -T flush
94390 addresses deleted.
# pfctl -t smtpd_reject_spam -T flush
62464 addresses deleted.
# pfctl -f /usr/local/etc/pf.conf

So, after I flush the tables it loads.  Sometimes, however, we get a global out 
of memory error " DIOCADDRULE: Cannot allocate memory "

Here are my entries from pf.conf for various limits.  Everything else is 
defaults.

set limit tables 500
set limit table-entries 25
set limit { states 100, src-nodes 30, frags 10 }
set optimization normal
set skip on lo0
set state-policy if-bound
set timeout interval 300
set timeout src.track 1200

Finally, the box is using EM interfaces with VLAN's and has 4 Gig of physical 
RAM.  There are two PF boxes in Active/Failover and the errors show up on both, 
although they seem to show up more often on the Backup device, which seems odd.

Any help would be greatly appreciated.  

Regards,

Mike

--
Michael K. Smith - CISSP, GISP
Chief Technical Officer - Adhost Internet LLC
mksm...@adhost.com
w: +1 (206) 404-9500 f: +1 (206) 404-9050
PGP: B49A DDF5 8611 27F3  08B9 84BB E61E 38C0 (Key ID: 0x9A96777D)




PGP.sig
Description: PGP signature


Re: X11 - radeon or radeonhd? (ATI Radeon HD 2400 XT)

2009-01-02 Thread Adam K Kirchhoff
On Fri, 2 Jan 2009 21:23:50 +0100
Roland Smith  wrote:

> On Fri, Jan 02, 2009 at 01:42:38PM -0500, Adam K Kirchhoff wrote:
> > On Friday 02 January 2009 13:32:57 Ewald Jenisch wrote:
> > > Hi,
> > >
> > > I've got a PC (Dell) that came with a Radeon HD 2400 XT (RV610
> > > chipset).
> > >
> > > Afaik there isn't 3D support yet with this card, so my primary
> > > goal is to get it working as far as 2D and speed is concerned (I
> > > don't want to go for "vesa" if at all possible)
> > >
> > >
> > > Which driver should I use for this card - radeon or radeonhd?
> > >
> > > Anything to consider besides having either "Driver radeon" or
> > > "Driver radeonhd" in the xorg.conf in order to get going?
> > >
> > > Thanks much in advance for any clue,
> > > -ewald
> > 
> > Either radeon or radeonhd should be fine.  Feature-wise, they are
> > at the same level.  No other changes are required.
> > 
> > Very recently DRM support was added for those cards, giving them
> > much faster 2D acceleration via EXA (without DRM support, only XAA
> > is supported) 
> 
> I've tried a HD3450 (RV620 chip) and a X1650Pro (RV535 chip) with both
> ati and radeonhd drivers.
> 
> As of radeonhd 1.2.4 the X1650Pro works fine with XAA, to which it
> defaults. EXA wasn't very fast:
> 
> (--) Chipset RV535 found
> (**) RADEONHD(0): Selected XAA 2D acceleration.
> (**) RADEONHD(0): Option "XaaNoOffscreenPixmaps" "true"
> (II) RADEONHD(0): Using XFree86 Acceleration Architecture (XAA)
> Screen to screen bit blits
> Solid filled rectangles
> 8x8 mono pattern filled rectangles
> Indirect CPU to Screen color expansion
> Solid Lines
> Scanline Image Writes
> Setting up tile and stipple cache:
> 32 128x128 slots
> 28 256x256 slots
> 16 512x512 slots

EXA isn't fast (at least on Radeons) without DRM support.  This is not
available in the FreeBSD source tree, but is available (for FreeBSD) via
freedesktop git (for that particular GPU).  

Adam

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-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: X11 - radeon or radeonhd? (ATI Radeon HD 2400 XT)

2009-01-02 Thread Adam K Kirchhoff
On Fri, 2009-01-02 at 20:38 +0100, cpghost wrote:
> On Fri, Jan 02, 2009 at 01:42:38PM -0500, Adam K Kirchhoff wrote:
> > On Friday 02 January 2009 13:32:57 Ewald Jenisch wrote:
> > > Hi,
> > >
> > > I've got a PC (Dell) that came with a Radeon HD 2400 XT (RV610 chipset).
> > >
> > > Afaik there isn't 3D support yet with this card, so my primary goal is
> > > to get it working as far as 2D and speed is concerned (I don't want to
> > > go for "vesa" if at all possible)
> > >
> > >
> > > Which driver should I use for this card - radeon or radeonhd?
> > >
> > > Anything to consider besides having either "Driver radeon" or "Driver
> > > radeonhd" in the xorg.conf in order to get going?
> > >
> > > Thanks much in advance for any clue,
> > > -ewald
> > 
> > Either radeon or radeonhd should be fine.  Feature-wise, they are at the 
> > same 
> > level.  No other changes are required.
> > 
> > Very recently DRM support was added for those cards, giving them much 
> > faster 
> > 2D acceleration via EXA (without DRM support, only XAA is supported) and Xv 
> > support as well.  Unfortunately, this is limited to linux at the moment, 
> > but I 
> > *believe* Robert Noland has begun investigating how to port those changes 
> > over.
> 
> IIRC, it was related to having to use a more recent Xorg and MesaGL
> for the latest changes to work.  As soon as the ports freeze is over,
> I assume they would get merged in.

We're talking about the kernel modules here, not Xorg and Mesa.  The DRM
is necessary for EXA and Xv (as well as an updated DDX).  And based on
the conversations between Robert and the Linux/ATI folks, it is not as
simple as merging the changes in.  The new gart support necessary for
r600/r700 cards, for example, is completely linux specific, as I
understand it.

> I'm also hoping to see support for DRI and Xv and even 3D in RV780
> chipsets soon, esp. now that AMD has finally decided to release the
> RV600/700 specs to the public:
> 
> http://www.phoronix.com/scan.php?page=article&item=amd_r600_oss_3d&num=1
> 
> -cpghost.


The specs are not yet available.  The only thing newly available is the
DRM and updated DDX.  The specs be available as soon as they finish
sanitizing the documents and get approval.  This will hopefully be
"soon". :-)

Adam



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-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: X11 - radeon or radeonhd? (ATI Radeon HD 2400 XT)

2009-01-02 Thread Adam K Kirchhoff
On Friday 02 January 2009 13:32:57 Ewald Jenisch wrote:
> Hi,
>
> I've got a PC (Dell) that came with a Radeon HD 2400 XT (RV610 chipset).
>
> Afaik there isn't 3D support yet with this card, so my primary goal is
> to get it working as far as 2D and speed is concerned (I don't want to
> go for "vesa" if at all possible)
>
>
> Which driver should I use for this card - radeon or radeonhd?
>
> Anything to consider besides having either "Driver radeon" or "Driver
> radeonhd" in the xorg.conf in order to get going?
>
> Thanks much in advance for any clue,
> -ewald

Either radeon or radeonhd should be fine.  Feature-wise, they are at the same 
level.  No other changes are required.

Very recently DRM support was added for those cards, giving them much faster 
2D acceleration via EXA (without DRM support, only XAA is supported) and Xv 
support as well.  Unfortunately, this is limited to linux at the moment, but I 
*believe* Robert Noland has begun investigating how to port those changes 
over.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-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: accessing a networked printer to a FreeBSD box

2008-12-31 Thread dhaneshk k

yes I installed cups from ports

[r...@storm /usr/local/etc/nagios]# ls /var/db/pkg/ |grep cups
cups-base-1.3.7_4
cups-pstoraster-8.15.4_2
libgnomecups-0.2.3_1,1
py25-cups-1.9.41




Date: Wed, 31 Dec 2008 08:48:19 -0300
From: ml...@digiart.art.br
To: dhanes...@hotmail.com; freebsd-questions@freebsd.org
Subject: Re: accessing a networked printer to a FreeBSD box

Do you have CUPS installed?



Mario

-Mensagem original-

De:   dhaneshk k 

Enviada em: 31/12/2008 07:46:49

Para: 

Assunto: accessing a networked printer to a FreeBSD box





people,









I am trying to access a printer from our LAN to my FreeBSD Desktop PC



which package I needed to do  that ?   system-config-printer  right  ?



NOTE :I am not trying to attach a new printer to FreeBSD just want to access an 
already working printer in our LAN





I

installed   system-config-printer from ports , but whenever I tried

to do   $system-config-printer, one blank dialog window blinks

away , the in the tty I am getting this error ..





[bha...@storm /usr/home/bhagat]$ system-config-printer

Traceback (most recent call last):

  File "/usr/local/share/system-config-printer/system-config-printer.py", line 
5272, in 

main(configure_printer, change_ppd)

  File "/usr/local/share/system-config-printer/system-config-printer.py", line 
5242, in main

mainwindow = GUI(configure_printer, change_ppd)

  File "/usr/local/share/system-config-printer/system-config-printer.py", line 
333, in __init__

self.AboutDialog.set_program_name(domain)

AttributeError: 'gtk.AboutDialog' object has no attribute 'set_program_name'

[bha...@storm /usr/home/bhagat]$ 





what

the exact issue ? what I made wrong ,   (I dont think I need CUPS to be

installed as I was not trying to attach a printer to this FreeBSD box) .







Here

I am attaching the system-config-printer.py file please help me fix the

issue   ( OR I have to install any other package than

system-config-printer ?) 





I thank you all in advance for any hints to fix it out .  struggling to fix 
this issue for the last couple of days ..



Any hints most Welcome



Dhanesh







I tried to install gnome-cups-manager too(from ports )   , but installation 
failed as follows







 

gnome-cups-manager.c: In function `event_cb':

gnome-cups-manager.c:79: error: syntax error before "do"

gnome-cups-manager.c:79: error: syntax error before ')' token

gnome-cups-manager.c:79: error: `_g_boolean_var_' undeclared (first use in this 
function)

gnome-cups-manager.c:79: error: (Each undeclared identifier is reported only 
once

gnome-cups-manager.c:79: error: for each function it appears in.)

gnome-cups-manager.c:79: error: syntax error before ')' token

gnome-cups-manager.c:74: warning: unused variable `printer'

gnome-cups-manager.c: At top level:

gnome-cups-manager.c:53: warning: 'check_cups' defined but not used

gnome-cups-manager.c:72: warning: 'event_cb' defined but not used

gmake[3]: *** [gnome-cups-manager.o] Error 1

gmake[3]: Leaving directory 
`/usr/ports/print/gnome-cups-manager/work/gnome-cups-manager-0.31/gnome-cups-manager'

gmake[2]: *** [all] Error 2

gmake[2]: Leaving directory 
`/usr/ports/print/gnome-cups-manager/work/gnome-cups-manager-0.31/gnome-cups-manager'

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory 
`/usr/ports/print/gnome-cups-manager/work/gnome-cups-manager-0.31'

gmake: *** [all] Error 2

*** Error code 2



Stop in /usr/ports/print/gnome-cups-manager.

[r...@storm /usr/ports/print/gnome-cups-manager]# 

















_

Much more than email ? don't miss out on the rest of the Windows Live?.

http://www.microsoft.com/windows/windowslive/___

freebsd-questions@freebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions

To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


_
Much more than email – don't miss out on the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/events.aspx___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


accessing a networked printer to a FreeBSD box

2008-12-31 Thread dhaneshk k

people,




I am trying to access a printer from our LAN to my FreeBSD Desktop PC

which package I needed to do  that ?   system-config-printer  right  ?

NOTE :I am not trying to attach a new printer to FreeBSD just want to access an 
already working printer in our LAN


I
installed   system-config-printer from ports , but whenever I tried
to do   $system-config-printer, one blank dialog window blinks
away , the in the tty I am getting this error ..


[bha...@storm /usr/home/bhagat]$ system-config-printer
Traceback (most recent call last):
  File "/usr/local/share/system-config-printer/system-config-printer.py", line 
5272, in 
main(configure_printer, change_ppd)
  File "/usr/local/share/system-config-printer/system-config-printer.py", line 
5242, in main
mainwindow = GUI(configure_printer, change_ppd)
  File "/usr/local/share/system-config-printer/system-config-printer.py", line 
333, in __init__
self.AboutDialog.set_program_name(domain)
AttributeError: 'gtk.AboutDialog' object has no attribute 'set_program_name'
[bha...@storm /usr/home/bhagat]$ 


what
the exact issue ? what I made wrong ,   (I dont think I need CUPS to be
installed as I was not trying to attach a printer to this FreeBSD box) .



Here
I am attaching the system-config-printer.py file please help me fix the
issue   ( OR I have to install any other package than
system-config-printer ?) 


I thank you all in advance for any hints to fix it out .  struggling to fix 
this issue for the last couple of days ..

Any hints most Welcome

Dhanesh



I tried to install gnome-cups-manager too(from ports )   , but installation 
failed as follows



 
gnome-cups-manager.c: In function `event_cb':
gnome-cups-manager.c:79: error: syntax error before "do"
gnome-cups-manager.c:79: error: syntax error before ')' token
gnome-cups-manager.c:79: error: `_g_boolean_var_' undeclared (first use in this 
function)
gnome-cups-manager.c:79: error: (Each undeclared identifier is reported only 
once
gnome-cups-manager.c:79: error: for each function it appears in.)
gnome-cups-manager.c:79: error: syntax error before ')' token
gnome-cups-manager.c:74: warning: unused variable `printer'
gnome-cups-manager.c: At top level:
gnome-cups-manager.c:53: warning: 'check_cups' defined but not used
gnome-cups-manager.c:72: warning: 'event_cb' defined but not used
gmake[3]: *** [gnome-cups-manager.o] Error 1
gmake[3]: Leaving directory 
`/usr/ports/print/gnome-cups-manager/work/gnome-cups-manager-0.31/gnome-cups-manager'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/ports/print/gnome-cups-manager/work/gnome-cups-manager-0.31/gnome-cups-manager'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/print/gnome-cups-manager/work/gnome-cups-manager-0.31'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/print/gnome-cups-manager.
[r...@storm /usr/ports/print/gnome-cups-manager]# 








_
Much more than email – don't miss out on the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How can I link two separate internal networks to two separate external networks

2008-12-22 Thread Michael K. Smith
Hello Geoff:


On 12/22/08 4:06 AM, "Geoff Roberts"  wrote:

> Hi,
> 
> I have a FreeBSD 7.0 box with pf.
> 
> I have two internal networks (intnet0 and intnet1) and two internal networks
> (extnet0 and extnet1).
> 
> extnet0 and extnet1 are two different gateways to the internet.
> 
> I only have one physical internal (int0) and one physical external (ext0)
> interface.
> 
> Traffic from intnet0 needs to go out on extnet0
> 
> Traffic from intnet1 needs to go out on extnet1 (consider this a default route
> for any traffic not going out on extnet0).
> 
> What are some suggested ways of doing this?
> 
> Assume addresses are (these are made up, but hopefully help paint the
> picture):
> 
> intnet0 - 192.168.50.0/24
> extnet0 - 10.10.10.8/30
>  - extnet0 address 10.10.10.8.10
>  - default route 10.10.10.9
>  - broadcast 10.10.10.11
> 
> intnet1 - 192.168.60.0/24
> extnet1 - 10.10.10.12/30
>  - extnet1 address 10.10.10.14
>  - default route 10.10.10.13
>  - broadcast 10.10.10.15
> 
> So far I have created vlans via a switch on each interface to "multiplex" the
> connections:
> 
> vlan10 - 192.168.50.0/24 and vlan20 - 192.168.60.0/24 come in on a single
> cable to int0.
> 
> vlan50 - 10.10.10.8/30 and vlan60 - 10.10.10.12/30 come in on a single cable
> to ext0.
> 
> However, since I have the defaultroute set for 10.10.10.13 all traffic from
> intnet0 is going out on vlan60 whereas i want it to go out on vlan50.
> 
> Am I going about this the wrong way?
> 
I think this will work.  Let's assume:

$vlan10_if -> macro for your tagged VLAN 10 interface
$vlan20_if -> macro for your tagged VLAN 20 interface
$vlan50_if -> macro for your tagged VLAN 50 interface
$vlan60_if -> macro for your tagged VLAN 60 interface
$vlan50_gw = 10.10.10.9
$vlan60_gw = 10.10.10.13

pass in on $vlan10_if route-to ($vlan50_if $vlan50_gw) from any to any
pass in on $vlan20_if route-to ($vlan60_if $vlan60_gw) from any to any

That would be in conjunction with your NAT's and any RDR's as well.

Regards,

Mike

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


Re: loader.conf fbsd 7-release

2008-12-16 Thread Adam K Kirchhoff

On Tue, 2008-12-16 at 13:19 -0500, Gary Hartl wrote:
> Hi all;
> 
> I need to add something to loader.conf which according to me should be in
> /boot
> 
> Has something changed so that it wouldn't be there anymore.
> 
> Or do i just create it and it will parse it out at boot.
> 
> I need to add 
> 
> accf_http_load="YES"
> 
> to correct a problem with apache22 giving me the prompt/error
> 
> (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
> 
> Thanks 
> 
> Gary 

If /boot/loader.conf does not exist, you can create it and add that
line.

Adam



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-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: Running X without a videocard

2008-12-03 Thread (-K JohnNy
> > DISPLAY variable must point to display
> > like IP-number:0 (or non-zero if you have more than 1 display :)
> 
> Shouldn't that be IP-number:0.0 ?
> 
> Olivier

Only in case there are multiple screens on the specified server. (The
first number, which is mandatory, IIRC, specifies the server and the
second, optional, specifies its screen.)

(-K

-- 
(-K JohnNy aka Partial Derivative ∂
[home] http://johnny64.fixinko.sk/
[icq] 338328204 [abandoned]
[jabber] [EMAIL PROTECTED]
[skype] JohnNy64-konik [abandoned]


pgpSE1GjYuW1b.pgp
Description: PGP signature


GIANT_LOCK in release7.0

2008-11-25 Thread Alexander K. Beros


I have not been able to find any discussion of the following issue.  Ever
since I upgraded to release 7.0, whenever I print to my network printer (I
am using Samba) I get the following output to ttyv0:

lpt0: [GIANT-LOCKED]
lpt0: [ITHREAD]
lpt0: [GIANT-LOCKED]
lpt0: [ITHREAD]
lpt0: [GIANT-LOCKED]
lpt0: [ITHREAD]
lpt0: [GIANT-LOCKED]
lpt0: [ITHREAD]
lpt0: [GIANT-LOCKED]
lpt0: [ITHREAD]

... this can continue for a very long time depending on the size of the
queue

The actual printing is fine, and since I am rarely at the terminal it isn't
a serious problem.  In fact, if I am working at the server and someone else
is sending jobs to the printer I switch over to ttyv1, so there is really no
inconvenience.

On the other hand, I thought that release 7 is GIANT_LOCK free, so this is
rather unexpected.  I would appreciate any information or explanation.

In the printout below, you will note SMALLKERNEL7, this is just a paring
down of the generic kernel to tailor it to my system.  The behaviour I
discuss above occurs with the default kernel as well.

Thanks in advance and best regards,
Alex Beros

Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Wed Nov 12 14:10:45 PST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMALLKERNEL7
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (730.90-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff
real memory  = 469499904 (447 MB)
avail memory = 449888256 (429 MB)
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 1bf0 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  on hostb0
pcib1:  at device 1.0 on pci0
pci2:  on pcib1

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: hundred files to tar and untar

2008-11-10 Thread chloe K
Thank you

but I have hundred files in different folders and it may need 3 files in 100 
files in this folder. I did put "need files" in file.txt and
using tar zcvf file.tar.gz -T file.txt

inside file.txt eg:
/var/web/data/version/cc.html

but don't know how to restore as restore directory is in different folder
/var/web/data/cc.html

thank you



David Kelly <[EMAIL PROTECTED]> wrote: On Mon, Nov 10, 2008 at 08:10:36AM 
-0500, chloe K wrote:
> Hi 
>
>   I have hundred files to tar
>
>   How can I make tar the file but untar in different folder?
>
>   eg:
>
>   tar cvf html.tar /var/web/data/verion/cc.html
>
>   untar html.tar /var/web/data/root/cc.html
>
>   Thank you

RTFM. Specifically look at the -C option.

Or you could do it the simple way (note parenthesis, the cd only applies
within the parenthesis, when the command clompletes your shell is back
to the original directory):

(cd /var/web/data/verion/cc.html ; tar -cvf /html.tar * )
(cd /var/web/data/root/cc.html   ; tar -xvf /html.tar   )

The above does not store the path prefix in the tar archive, which is
perhaps the problem you were trying to solve?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


   
 
  
-

   
Yahoo! Canada Toolbar : Search from anywhere on the web and 
bookmark your favourite sites. Download it now!  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


hundred files to tar and untar

2008-11-10 Thread chloe K
Hi 
   
  I have hundred files to tar
   
  How can I make tar the file but untar in different folder?
   
  eg:
   
  tar cvf html.tar /var/web/data/verion/cc.html
   
  untar html.tar /var/web/data/root/cc.html
   
  Thank you

   
 
  
-

   
Yahoo! Canada Toolbar : Search from anywhere on the web and 
bookmark your favourite sites. Download it now!  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: raid tool

2008-11-03 Thread (-K JohnNy
> Thanks for this. I was looking at ZFS and I am impress with what I read, 
> unfortunately no AMD 64 and I only have 1Gig Ram.

I can tell you I'm using ZFS on an i386 desktop with 1 GB RAM and it
is working flawlessly after some tuning, more specifically:

# For ZFS
vm.kmem_size="521M"
vm.kmem_size_max="512M"
vfs.zfs.arc_min="16M"
vfs.zfs.arc_max="64M"
vfs.zfs.vdev.cache.size="5M"
vfs.zfs.debug=1
vfs.zfs.prefetch_disable="1"

in /boot/loader.conf.local

Today it finished the compilation openoffice.org-alllangs-3.0.0
successfully (after 1 day and 14:42:21). Before tuning the options
I have, there were some problems and the machine used to hang after
some 3 or 4 hours of compilation but from the moment I added the
options on I didn't have a single crash of the machine.
So maybe you could still give it a try...? (-;

Michal Petrucha

> Thanks again.
> 
> Regards
> Brent Clark

-- 
(-K JohnNy alias Partial Derivative ∂
[home] http://johnny64.fixinko.sk/
[icq] 338328204 [abandoned]
[jabber] [EMAIL PROTECTED]
[skype] JohnNy64-konik [abandoned]


pgpuT92bE44X9.pgp
Description: PGP signature


Re: updating from 6.3 to 7, mirror problems

2008-11-03 Thread (-K JohnNy
> Ok I see. How do I update from 6.3 STABLE to 7.0 STABLE ? I imagine there
> is a tool for that? Short of down loading the iso files and doing it from
> discs.

Don't know if there is a tool for this, but the usual way is to make a
RELENG-7 supfile, csup the 7-STABLE sources  and build them. More on
this subject in the handbook.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

> Thanks for your patience!!
> 
> Regards,
> 
> Alasdair

-- 
(-K JohnNy alias Partial Derivative ∂
[home] http://johnny64.fixinko.sk/
[icq] 338328204 [abandoned]
[jabber] [EMAIL PROTECTED]
[skype] JohnNy64-konik [abandoned]


pgpoBoltbRRLO.pgp
Description: PGP signature


Re: Is KDE4 usable on FreeBSD?

2008-11-02 Thread (-K JohnNy
> the question should be "Is KDE usable at all on any OS?"
> the answer is no, it's crappy imitation of windoze.
> 
> If someone needs windoze like soft, just buy windows vista.
> 
> For someone who need unix, FreeBSD is a good choice.
I have to quote some random shoutbox I§vre read a long time ago:
"Narrow-minded is the only opinion worth expressing."

You have to realize that this is the question of every user's
individual needs. Some users, like for example yourself, like going
deep, using the shell for tasks from everyday life, some users are
more GUI-oriented and like somewhat more graphic approach to the same
tasks.

Saying that some software is crap just because it distantly resembles
some other soft and everybody using the soft you're criticizing should
use the other one instead, is just... Stupid. Even more if you compare
a desktop environment to a whole OS.

So, please, stop forcing your opinions to others and let them choose
for themselves. (-;

-- 
(-K JohnNy alias Partial Derivative ∂
[home] http://johnny64.fixinko.sk/
[icq] 338328204 [abandoned]
[jabber] [EMAIL PROTECTED]
[skype] JohnNy64-konik [abandoned]


pgpsaSzgSVrW7.pgp
Description: PGP signature


Re: CUPS wont print inside GNOME

2008-10-31 Thread (-K JohnNy
> I find it kind of self defeating for the ports if you HAVE to add stuff to 
> the /etc/make.conf file for it to work without any documentation telling you 
> to do so or not doing it automatically (Like PERL did) 
On the other hand, some of us, like myself, find it a bit...
Arrogant? ...if some port touches your system config files without
asking. And simply printing it on the output at the end of
installation isn't enough since it might get lost if an other port is
built right after the one printing out the message. I don't know if
there is an optimal way...

-- 
(-K JohnNy alias Partial Derivative ∂
[home] http://johnny64.fixinko.sk/
[icq] 338328204 [abandoned]
[jabber] [EMAIL PROTECTED]
[skype] JohnNy64-konik [abandoned]


pgp40l2d6cF60.pgp
Description: PGP signature


RE: I've just found a new and interesting spam source - legitimatebounce messages

2008-10-20 Thread Michael K. Smith - Adhost
> The term coined for this type of mail is "backscatter".
> 
> There is no easy solution for this.  The backscatter article on
> postfix.org, for example, caused our mail servers to start rejecting
> mail that was generated from PHP scripts and CGIs on our own systems,
> which makes no sense.  The article:
> 
> http://www.postfix.org/BACKSCATTER_README.html
> 
> If the backscatter is all directed to a single Email address (rather
> than a series of addresses, e.g. [EMAIL PROTECTED], and
> you have [EMAIL PROTECTED] accepted), then a solution is to reject
> mail with an RCPT TO of an account or virtual address that does not
> exist on your machine.
> 
> This, of course, has a wonderful side effect: spammers now have a way to
> detect what Email addresses on your box legitimately accept mail, thus
> once they find one which never gets a bounceback, will start pounding
> that address to kingdom come.
> 
> Let me know if you do find a reliable, decent solution that does not
> involve SPF or postfix header_checks or body_checks.
> 

The following doesn't fix the problem but it does help mitigate the deluge.  We 
use a PERL script to tail our maillogs looking for any source IP that tries to 
send mail to more than 4 invalid addresses.  When flagged, that IP is then 
added to a PF table that blocks the address and issues RST's for 12 hours.  Of 
course, we also have a whitelist for "valid" SMTP servers.  Like I said, it 
doesn't catch it all, but it catches *a lot* and generates almost no 
complaints.  This does help obfuscate the valid/invalid addresses because all 
mail is accepted as far as the sender is concerned until the IP is blocked at 
the network layer.  

The usual complaint is from an remote office that has 12 real estate agents 
behind a single IP, all with Outlook set to check mail "sooner than now."  :-)

Mike


PGP.sig
Description: PGP signature


Re: FreeBSD as PF/Router/Firewall dying on the vine

2008-10-11 Thread Michael K. Smith
Hello Jeremy:


On 10/6/08 9:30 PM, "Jeremy Chadwick" <[EMAIL PROTECTED]> wrote:

> On Mon, Oct 06, 2008 at 06:08:50PM -0700, Michael K. Smith - Adhost wrote:
>> Hello All:
>> 
>> We have a load balanced pair of PF boxes sitting in front of a whole bunch of
>> server doing all manner of things!  It's been working great up until today
>> when it, well, didn't.  Here's what I see in top -S.
>> 
>>   PID USERNAME   THR PRI NICE   SIZERES STATE  C   TIME   WCPU
>> COMMAND
>>14 root 1 -44 -163 0K 8K CPU1   0  44:21 88.18% swi1:
>> net
>>11 root 1 171   52 0K 8K RUN0  24:58 53.32% idle:
>> cpu0
>>10 root 1 171   52 0K 8K RUN1  17:44 35.50% idle:
>> cpu1
>>24 root 1 -68 -187 0K 8K *Giant 0   5:30 11.62% irq16:
>> em2 uhci3
>>23 root 1 -68 -187 0K 8K WAIT   0   1:27  3.08% irq25:
>> em1
>>25 root 1 -68 -187 0K 8K WAIT   1   1:16  2.64% irq17:
>> em3
>> 
>> This is 6.3 with Intel 1000 Fiber and Copper interfaces, all using the 'em'
>> driver.  Also, there are 15 VLAN's configured on one of the NIC's for subnet
>> separation.
>> 
>> If anyone has any ideas I'm all ears.  My google-fu is coming up empty with
>> the swi1: net 
> 
> Can you explain what the problem is?

Sorry it took so long to reply.  We actually got the issue resolved, but I
wanted to make sure our fix actually worked.  Here is what the
problem/solution is.

The problem was significant packet loss and connectivity issue to and
through the PF server.  Even pinging the loopback address on the server
itself was returning 4 ms times.

The problem was a very busy NFS server with clients on the same VLAN, but on
a different subnet.  So, we had a VLAN interface on em1 that had two address
ranges attached, 10.255.0.0/16 and 10.212.6.0/16.  The NFS server was on the
10.255 and the clients were on the 10.212.

Even though they were on the same VLAN, they weren't directly ARP'able, so
all traffic (400 - 600 Mb/sec) between them had to be processed by the
server.  When we moved the clients on to the same subnet as the server,
everything stabilized.

I think this was an issue of bad design on my part.

Regards,

Mike

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD as PF/Router/Firewall dying on the vine

2008-10-06 Thread Michael K. Smith - Adhost
Hello All:

We have a load balanced pair of PF boxes sitting in front of a whole bunch of 
server doing all manner of things!  It's been working great up until today when 
it, well, didn't.  Here's what I see in top -S.

  PID USERNAME   THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
   14 root 1 -44 -163 0K 8K CPU1   0  44:21 88.18% swi1: net
   11 root 1 171   52 0K 8K RUN0  24:58 53.32% idle: 
cpu0
   10 root 1 171   52 0K 8K RUN1  17:44 35.50% idle: 
cpu1
   24 root 1 -68 -187 0K 8K *Giant 0   5:30 11.62% irq16: 
em2 uhci3
   23 root 1 -68 -187 0K 8K WAIT   0   1:27  3.08% irq25: 
em1
   25 root 1 -68 -187 0K 8K WAIT   1   1:16  2.64% irq17: 
em3

This is 6.3 with Intel 1000 Fiber and Copper interfaces, all using the 'em' 
driver.  Also, there are 15 VLAN's configured on one of the NIC's for subnet 
separation.

If anyone has any ideas I'm all ears.  My google-fu is coming up empty with the 
swi1: net 

Thank You,

Mike



PGP.sig
Description: PGP signature


Problem with Passive FTP through PF

2008-10-06 Thread Michael K. Smith - Adhost
Hello All:

We are running the following:
- FreeBSD 6.3 Release #1
- PF
- pftpx for our ftp proxy

We have several ftp servers of different flavors behind the PF firewalls and we 
are getting a lot of the following when users are trying to connect using 
passive mode.

"Server sent passive reply with unroutable address"

We're running pftpx as a daemon with no specific flags.  From a ps:

proxy 4845  0.0  0.0  1452  1100  ??  Is   27Sep08   0:02.13 
/usr/local/sbin/pftpx

Here is a sample of the rules we are using to allow traffic and to proxy.  The 
server macros are defined and working correctly.  Any help would be greatly 
appreciated.

nat-anchor "pftpx/*"
rdr-anchor "pftpx/*"
rdr on ! $vlan10_if proto { udp tcp } from any to $f1_cps01_ext0 port { 80 443 
2087 2083 ftp 49152:65535 } -> $f1_cps01_int0 sticky-address
rdr on ! $vlan10_if proto { udp tcp } from any to $f1_cps01_ext1 port { 80 443  
ftp 49152:65535 } -> $f1_cps01_int1 sticky-address


--
Michael K. Smith - CISSP, GISP
Chief Technical Officer - Adhost Internet LLC
[EMAIL PROTECTED]
w: +1 (206) 404-9500 f: +1 (206) 404-9050
PGP: B49A DDF5 8611 27F3  08B9 84BB E61E 38C0 (Key ID: 0x9A96777D)




PGP.sig
Description: PGP signature


acpi_tz0: _TMP value is absurd ignored (-269.7C) Message in every 3 seconds .

2008-10-05 Thread dhaneshk k


 
People ;
 
 
I installed freebsd-7.0  in a p4 machine , after installation when I reboot the 
machine , I am getting the message 
 
acpi_tz0: _TMP value is absurd ignored (-269.7C)   in every 3 seconds ..
 
 
intel p4 3.0 GHz 
 
Intel 82915G  (915G GMCH )
 
 
How can i get rid off this ... can someone shed some light on this regard ..
 
 
Thanks in advance 
 
Dhanesh 
_
Movies, sports & news! Get your daily entertainment fix, only on live.com
http://www.live.com/?scope=video&form=MICOAL___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pf vs. RST attack question

2008-10-05 Thread (-K JohnNy
On Sun, Oct 05, 2008 at 12:53:03PM -0500, Scott Bennett wrote:
>  I'm getting a lot of messages like this:
> 
> Oct  4 14:30:00 hellas kernel: Limiting closed port RST response from 250 to 
> 200 packets/sec
> 
> Is there some rule I can insert into /etc/pf.conf to reject these apparently
> invalid RST packets before they can bother TCP?  At the same time, I do not
> want to reject legitimate RST packets.
>  Thanks in advance for any clues!

Well, just to clarify a bit, the RST packets aren't the ones you are
getting. You are apparently getting port-scanned. The message just
says it won't reply by an RST packet to a SYN going to a closed port
more than 200 times per second.

I would suggest ignoring all SYN packets going to closed ports.
Haven't yet used pf though, so I can't say how exactly to do this.

-- 
(-K JohnNy alias Partial Derivative ∂
[home] http://johnny64.fixinko.sk/
[icq] 338328204 [abandoned]
[jabber] [EMAIL PROTECTED]
[skype] JohnNy64-konik [abandoned]


pgp4s9I67iRaB.pgp
Description: PGP signature


acpi_tz0: _TMP value is absurd ignored (-269.7C)

2008-10-03 Thread dhaneshk k


People ;


I installed freebsd-7.0  in a p4 machine , after installation when I reboot the 
machine , I am getting the message 

acpi_tz0: _TMP value is absurd ignored (-269.7C)   in every 3 seconds ..


intel p4 3.0 GHz 

Intel 82915G  (915G GMCH )


How can i get rid off this ... can someone shed some light on this regard ..


Thanks in advance 

Dhanesh 

_
Movies, sports & news! Get your daily entertainment fix, only on live.com
http://www.live.com/?scope=video&form=MICOAL___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Cant boot instalation media.

2008-10-01 Thread K. Wolf
I tryed to install FreeBSD on my laptop (compaq nx6105), but it crashes 
and returns:

HPTTR :no controller found.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ScreenCapturing tool for FreeBSD-7.0 Release

2008-09-24 Thread dhaneshk k


HI all ;

Can anyone recommend a working screencapturing tool such as XvidCap  for 
FreeBSD-7.0 , 

I installed XvidCap but its not working any other tools OR  Solutions for doing 
screen Capturing ..

It will be useful for  demo presentations  alot..

Thanks in advance 
Dhanesh

_
Search for videos of Bollywood, Hollywood, Mollywood and every other wood, only 
on Live.com 
http://www.live.com/?scope=video&form=MICOAL___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: package info is corrupt

2008-09-23 Thread (-K JohnNy
> What now? I tried to deinstall one of them, but no luck:
> 
> [EMAIL PROTECTED] /var/db/pkg/gtkmm-2.12.7]# pkg_deinstall gtkmm
> ** No matching package found.
> 
> [EMAIL PROTECTED] /var/db/pkg/gtkmm-2.12.7]# cat +COMMENT 
> C++ wrapper for Gtk+, Pango, Atk
> 
> [EMAIL PROTECTED] /var/db/pkg/gtkmm-2.12.7]# cat +DESC 
> C++ wrapper for Gtk+, Pango and Atk.
> 
> WWW: http://gtkmm.sourceforge.net/
> [EMAIL PROTECTED] /var/db/pkg/gtkmm-2.12.7]# 

To deinstall a package, you have to pass the whole package name with
the version string included to pkg_delete or pkg_deinstall, or you
have the option to use a wildcard, e. g.

pkg_deinstall gtkmm-2.12.7
pkg_deinstall gtkmm\*

But I'd recommend the first possibility over the second one since the
second one would also deinstall any other versions possibly present on
your system, which is possible since your installed packages are
somehow corrupt.

-- 
(-K JohnNy alias Partial Derivative ∂
[home] http://johnny64.fixinko.sk/
[icq] 338328204 [abandoned]
[jabber] [EMAIL PROTECTED]
[skype] JohnNy64-konik [abandoned]


pgp6DcB7KsvTb.pgp
Description: PGP signature


(no subject)

2008-09-23 Thread dhaneshk k

 Hi  all ;

 I installed  eclipse(3.2.2) from  ports , in my FreeBSD-7.0 RELEASE box , 
where diablo-jdk-15.0 installed 
 
but when I start   eclipsegetting a splash message  as follows ... 


#eclipse  


JVM terminated. Exit code=1
/usr/local/bin/java
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/startup.jar
-os freebsd
-ws gtk
-arch x86
-launcher /usr/local/eclipse/eclipse

-name Eclipse
-showsplash 600
-exitdata b000f
-vm /usr/local/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/startup.jar 


in TTY i am getting error 

java: error: no suitable JavaVMs found




How can I solve the issue with eclipse3.2.2 in FreeBSD7.0-Release with 
diablo-jdk-1.5.0



 I got you contact from this post : 

http://lists.freebsd.org/pipermail/freebsd-current/2007-December/081473.html


 Your valuable tips most welcome ..  That may help me to fix this issue..

Thanks in advance

 KK



_
Searching for weekend getaways? Try Live.com
http://www.live.com/?scope=video&form=MICOAL___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


eclipse-3.2.2 issue with diablo-jdk-1.5.0 in FreeBSD-7.0

2008-09-23 Thread dhaneshk k

 Hi ;

 I installed  eclipse(3.2.2) from  ports , in my FreeBSD-7.0 RELEASE box , 
where diablo-jdk-15.0 installed 
 
but when I start   eclipsegetting a splash message  as follows ... 


#eclipse  


JVM terminated. Exit code=1
/usr/local/bin/java
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/startup.jar
-os freebsd
-ws gtk
-arch x86
-launcher /usr/local/eclipse/eclipse

-name Eclipse
-showsplash 600
-exitdata b000f
-vm /usr/local/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/startup.jar 


in TTY i am getting error 

java: error: no suitable JavaVMs found




How can I solve the issue with eclipse3.2.2 in FreeBSD7.0-Release with 
diablo-jdk-1.5.0



 I got you contact from this post : 

http://lists.freebsd.org/pipermail/freebsd-current/2007-December/081473.html


 Your valuable tips most welcome ..  That may help me to fix this issue..

Thanks in advance

Dhanesh



_
Searching for the best deals on travel? Visit MSN Travel.
http://in.msn.com/coxandkings___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: ipv6

2008-09-22 Thread Michael K. Smith - Adhost
> 
> Excuse me for jumping in on this thread, I'm only just starting to look
> into IPv6 for myself.
> 
> My ISP has informed me that it doesn't support IPv6 yet, and won't for
> some time. I have a DNS server and sites on IPv4, but I'd like to be
> able to support IPv6- does the fact that my ISP doesn't support it stop
> me from serving on IPv6? I'd think it does, but some clarity from
> experts might help...
> 
You could use a tunnel broker like Hurricane Electric for free.  Check out 
http://tunnelbroker.net/

Regards,

Mike


PGP.sig
Description: PGP signature


RE: /etc/hosts not working

2008-09-11 Thread Michael K. Smith - Adhost
Hello David:

_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
David Naylor
Sent: Thursday, September 11, 2008 1:49 PM
To: freebsd-questions@freebsd.org
Subject: /etc/hosts not working


* PGP Signed: 09/11/08 at 13:49:05

Hi,

I am trying to redirect a URL request to a different address 
but it appears 
that /etc/hosts is not doing the job.  Example:

127.0.0.1  google.com

The way I understand it is that by typing google.com in a web 
browser it 
should result in the local page being displayed.  It instead 
goes to the 
proper Google page.  

`ping google.com' actually pings 127.0.0.1 but `host google' 
returns the 
actual IP addresses for google.  

/etc/nsswitch.conf has `hosts: files dns' and host.conf has 
`hosts\n dns'

Any idea why the system calls are not honouring /etc/hosts?

Regards

David

* David Naylor <[EMAIL PROTECTED]>
* 0xFF6916B2


man host shows that the host utility is specifically for DNS-resolved lookups 
and looks at /etc/resolv.conf, not /etc/hosts

Regards,

Mike


PGP.sig
Description: PGP signature


Question about SNMP

2008-08-20 Thread Milena K
Hello,
I want  to learn  more about  using of SNMP functions. I saw files about
SNMP and the functions in them, but I don't know how to use it. Is there
any description about order of using of SNMP functions. Thank you
Best Regards

Milena Karaivanova
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB Drive Reliability

2008-08-18 Thread matti k
On Sun, 17 Aug 2008 17:36:30 -0700
"Jason C. Wells" <[EMAIL PROTECTED]> wrote:

> Wojciech Puchar wrote:
> 
> >> I am running FreeBSD 6.3.  I have found that attaching and
> >> detaching USB drives to my box is unreliable. Is this the
> >> experience of other users?
> 
> > something more precise please?
> 
> I realize that this is primarily a tech support forum. I wasn't
> asking for a solution to the problem.  I was asking for other peoples 
> experiences. If the USB support in FreeBSD was spotty according to
> other people, as has been reported, then I plan to not even try to
> work on it more until I install 7.1.
> 
> Just for the record:
> 
> - crashes the system on attachment
> - crashes the system on detachment
> - the system hangs on attachment but resumes responding if you pull
> the drive
> - installing the drive results in the little blue light coming on
> with dmesg reporting attachment, but attempts to mount fail with
> "device not configured" or somesuch
> - dataloss on the device that chkdisk in DOS couldn't save
> 
> Basically, every possible bad behavior that you could ask from a USB 
> connected drive has happened to me over time as I keep coming back
> and trying USB drives.  That's OK.  I'm not upset.  I'm not
> complaining.  I just want to know what to expect from USB drives in
> FreeBSD.

That sounds familiar, but I guess most USB storage devices are very
similar, so maybe start looking at the USB controller. I know in my
case, installing a PCI USB card with _NEC_ chipset solved all my
problems. Thought it worth mentioning ...

Cheers,
Matti
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Dial Up-connection setting in FreeBSD

2008-08-14 Thread dhaneshk k

 
   Hi People ;
 
 
 How can I configure a dialup connection for my FreeBSD7.0 (IBMT43-ThinkPad 
machine with Gnome2.20). which is the file /GUI application  for configuring a 
dial up conection in FreeBSD.
Thanks in advance for you valuable hints /tips .
 
Thank you all
Dhanesh.
 
 
 
 
 
 
_
>From salsa lessons to filmy gossip, news to music concerts - watch it all on 
>MSN Video
http://video.msn.com/?mkt=en-in___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Intel 802.11agn: Disabling n?

2008-08-13 Thread Razmig K


Hello,

I intend to acquire a notebook with the mentioned wireless option, and I 
understand that its driver, iwn, is still in development stage. I 
spotted a mention to a "disabled n" in a recent thread: 
http://lists.freebsd.org/pipermail/freebsd-questions/2008-June/176638.html. 
Is there a handy way to do this so that it could be re-enabled once iwn 
becomes available in STABLE? The intention is of course being able to 
use the 802.11abg driver wpi.

Thanks!


//rk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   3   4   5   6   >