Re: unable to install gnome

2009-07-08 Thread Erich Dollansky
Hi,

it seems that there is no Internet connection for the machine.

Gnome should be on the installation CD. Mount the CD and install 
it from there.

Check the handbook for information of how to configure the 
network.

Erich

On 08 July 2009 pm 14:46:42 malathi selvaraj wrote:
> i am not able to install gnome on freeBSD7.2
>
> i try
>   pkg_add -r gnome-desktop
> and
>  cd /usr/ports/x11/gnome-desktop/
> make install clean
> and i also change the /etc/rc.conf gnome_enable="YES".
>
> ERROR MESSAGE:
> ftp: unable to get
> ftp://ftp.freebsd.org/pub/freeBsd/ports/i386/packages7.2-releas
>e/Latest/gnome-desktop.tbz:noaddress record
> pkg_add:unable to fetch
> ftp://ftp.freebsd.org/pub/freeBsd/ports/i386/packages7.2-releas
>e/Latest/gnome-desktop.tbzby URL
>
> how to solve this problem
>
>
>
>
>
>
>
> Thanks in advance
> S.MALATHI
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"


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


Re: FreeBSD HA file cluster possibilities

2009-07-08 Thread Ruben de Groot
On Tue, Jul 07, 2009 at 03:54:23PM -0500, Adam Vande More typed:
> On Tue, Jul 7, 2009 at 7:17 AM, RIck van der Zwet wrote:
> 
> > d) drbd: http://www.drbd.org/ - Does anyone has a working (alternative)
> > setup on FreeBSD?
> >
> >
> > Any other solution/setup I am missing? Using external hardware/software is
> > all-right as long I am able to connect to FreeBSD with it and it leaves no
> > single point of failure.
> >
> > Thanks in advance!
> > /Rick
> > 
> 
> 
> Is there a problem with the DRBD and Heartbeat config?

Ehm... It doesn't exist in FreeBSD?

regards,
Ruben

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


SATA DVD issues

2009-07-08 Thread Richard Kolkovich
I recently built a new system, and it has a SATA DVD drive in it.  Everything 
appeared to be working
at first, but I have run into some issues reading/playing encrypted DVDs as 
well as burncd.

Here's some dmseg output:

kldload atapicam:

(probe0:ata5:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe0:ata5:0:0:0): CAM Status: SCSI Status Error
(probe0:ata5:0:0:0): SCSI Status: Check Condition
(probe0:ata5:0:0:0): UNIT ATTENTION asc:28,0
(probe0:ata5:0:0:0): Not ready to ready change, medium may have changed
(probe0:ata5:0:0:0): Retrying Command (per Sense Data)


kldload acd:

cd0 at ata5 bus 0 target 0 lun 0
cd0:  Removable CD-ROM SCSI-0 device 
cd0: 3.300MB/s transfers
cd0: cd present [4162191 x 2048 byte records]
GEOM_LABEL: Label for provider cd0 is iso9660/BOURNE_SUPREMACY.


Burning via burncd:

acd0: FAILURE - SETFEATURES SET TRANSFER MODE status=51 
error=4
acd0: FAILURE - unknown CMD (0x4a) timed out
acd0: FAILURE - READ_TRACK_INFO ILLEGAL REQUEST asc=0x24 ascq=0x00 


Reading an encrypted DVD:

acd0: DVDR  at ata5-master SATA150
acd0: FAILURE - SETFEATURES SET TRANSFER MODE status=51 
error=4
acd0: FAILURE - REPORT_KEY timed out


I can read a non-encrypted DVD just fine as well as burn via cdrecord.  Anyone 
have any clues?  Not
sure if this is a drive incompatibility or a lack of features in the driver...

uname:

FreeBSD magus 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #8 

Thanks,

-- 

Richard Kolkovich
sarum...@sigil.org


pgpdrYxenim8H.pgp
Description: PGP signature


Re: FreeBSD HA file cluster possibilities

2009-07-08 Thread Ruben de Groot

Hi Rick,

On Tue, Jul 07, 2009 at 02:17:46PM +0200, RIck van der Zwet typed:
> I been (re)searching and reading what the options are with regards to 
> H(igh) A(vailablility) file storage using FreeBSD, but cannot yet find a 
> proper working solution. Any advice welcome!

I've sought for proper working solutions as well, and unfortunately found
much the same obstacles as you have.
a DRBD port to FreeBSD would be great, but I think it would be a lot of
work. The way it can recover from a broken mirror makes it a killer app IMO.

This is what I ended up doing:
- Use application level mirroring where possible
- Use rsync where (small) data loss is acceptable
- buy dedicated hardware where HA storage is mandatory

regards,
Ruben

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


Re: FreeBSD HA file cluster possibilities

2009-07-08 Thread Adam Vande More
On Wed, Jul 8, 2009 at 2:06 AM, Ruben de Groot  wrote:

> On Tue, Jul 07, 2009 at 03:54:23PM -0500, Adam Vande More typed:
> > On Tue, Jul 7, 2009 at 7:17 AM, RIck van der Zwet  >wrote:
> >
> > > d) drbd: http://www.drbd.org/ - Does anyone has a working
> (alternative)
> > > setup on FreeBSD?
> > >
> > >
> > > Any other solution/setup I am missing? Using external hardware/software
> is
> > > all-right as long I am able to connect to FreeBSD with it and it leaves
> no
> > > single point of failure.
> > >
> > > Thanks in advance!
> > > /Rick
> > > 
> >
> >
> > Is there a problem with the DRBD and Heartbeat config?
>
> Ehm... It doesn't exist in FreeBSD?
>
> regards,
> Ruben
>
>
Sry, my bad.  the ggated setup looks promising though, and you could tie it
into carp.

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


RE: VLC server

2009-07-08 Thread Graeme Dargie


-Original Message-
From: Peter [mailto:peterp...@aboutsupport.com] 
Sent: 08 July 2009 05:25
Cc: freebsd-questions@freebsd.org
Subject: Re: VLC server



Graeme Dargie wrote:
> Hello List.
> 

Hi,

try upgrading the ports tree.

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

I did that before I started the install.

Regards

Graeme

___
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: Portupgrade not handling dependencies

2009-07-08 Thread Michael Powell
b. f. wrote:

>> But I have seen portupgrade something and then a subsequent run
>>shows this port as being 'newer' than the version it's supposed to be.
>>I've
[snip] 
>>also noticed a few times it seemed like it was upgrading the same
>>version(s) over again. I just chalked this up to the ports system being in
>>a state of
>>
> 
> I've never seen this without an f,r, or R flag.  Out of curiosity, do
> you remember the ports involved?
> 

Since everything built, installed, and ran correctly I never really payed it 
much attention. Some time ago, maybe a month or two back, it seemed like 
Apache 2 and PHP5 were getting rebuilt more often than I was used to seeing 
in the past. I just figured the ports were getting fine tuned on an almost 
daily basis and just chalked it up to that. But there was a time or two that 
Apache "updated" to the same version a few days in a row. After a few 
iterations it stopped. 

One example just occurred on my dev web server at home yesterday. I did not 
see pdflib-7.0.3 listed as needing updating when I ran portversion. Yet when 
I did portupgrade -a for the couple of others which did need updating I also 
got pdflib-7.0.3 upgraded to pdflib-7.0.4, even though I did not see it 
listed by portversion. So now if I run portsdb -uF && pkgdb -u && 
portversion it will indicate an ">" next to pdflib.

Since it has caused no problem of any kind I don't worry about it. Usually 
when an oddity like this surfaces and I repeat my csup/portsdb/pkgdb and 
portversion run a day, or two, or three, later it just takes care of itself. 
Just an oddity which doesn't seem to be harmful. I just figure it's the 
ports system existing in a fluid state and until or unless something breaks 
I'm not concerned.

-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: VLC server

2009-07-08 Thread Peter
Graeme Dargie wrote:

> I did that before I started the install.
> 
> Regards
> 
> Graeme
> 
> 


As a workaround, try to compile ffmpeg first.
Make "make config"  for ffmpeg  and make sure libamr is NOT enabled.

It is a  workaround but should do  the job.

Peter
___
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: Second disks causes invalid partition when booting/no disks found in sysinstall

2009-07-08 Thread Hans F. Nordhaug
* Brad Mettee  [2009-07-08]:
> What happens if you put the drive on a secondary controller? (Maybe use the 
> CD-ROM drive cable)

OK, I tried it.

> With the drive on a separate cable, you should be able to avoid any 
> problems that cable select or jumpers may be causing.

It's the same problem. The old hard drive is detected as the secondary
slave by the BIOS, but I still get "invalid partition" when booting.

It's very frustrating. How can adding another drive make FreeBSD
detect none of the drives?

Before I tried putting the old drive on CD-ROM drive cable, I also
entered fixit mode from the LiveFS CD and ran "fdisk -B /dev/ad1"
(when only the old slave/drive was connected). It didn't make any
difference. What I really wanted to try was to remove the MBR
completely from the old slave/drive ...

Is there anything I can check/alter on the disks so I can use them 
at the same time ... Seperately the looked OK - the output from
fdisk and disklabel looked sane.

Regards,
Hans

> At 05:51 PM 7/7/2009, Hans F. Nordhaug wrote:
> >* Hans F. Nordhaug  [2009-07-07]:
> >> Hi!
> >>
> >> I have been running FreeBSD happily for several years on the same old
> >> hardware. 2 weeks ago when I was on vacation one of the disks started
> >> to have problems, and 5 days ago the disk just stopped working - far
> >> too many read failures to get anything mounted. I got a new disk
> >> yesterday (finally home from vacation). The problems started when I
> >> tried to install FreeBSD 7.2 - I got "no disks found" from sysinstall
> >> all the time. The BIOS reported happily the new master and the old
> >> slave/hard drive. OK, I just disconnected the old slave and was able to
> >> install FreeBSD on the master. I was thinking/hoping that with the OS
> >> in place I should be able to read the old slave (which was one single
> >> UFS partition). Anyway, if I connect the old slave/hard drive I get
> >> "invalid partition" when booting - argh!
> >>
> >> What should/can I do? If I run the Live CD (livefs), I of course get
> >> "no disks found" ...
> >[cut]
> >
> >I did some more tests and:
> >
> >1) Using only the old slave/hard drive works - it's detected by
> >   sysinstall. (The new drive is disconected.)
> >2) I replaced the FreeBSD boot manager with the standard boot manager,
> >   but still the FreeBSD boot manager kicked in unless I disconnected
> >   the old slave. This seems to indicate that the old slave also has
> >   a FreeBSD boot manager installed...
> >
> >The next obvious step (to me) is to remove the FreeBSD boot manager
> >from the old slave. I guess I can do it with sysinstall, but how?
> >The data on the disk can not be lost... Is there other things I should
> >try?
> >
> >Regards,
> >Hans Nordhaug
___
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"


portupgrade question

2009-07-08 Thread dan
Hello,

yesterday, having to install kdeadmin, I issued the following command

portupgrade -vnyNb -l file kdeadmin-3.5.10

Noting that "n" is negated by "y" (my mistake), the result of this command was 

+ print/cups-base
+ print/xdvik
+ print/cm-super
+ print/teTeX
+ sysutils/kdeadmin3

but I expected portupgrade to also upgrade some packages on which kdeadmin 
depends on (required packages ?). Am I wrong somewhere ? Is the order on 
which the arguments are given relevant ?

To get the result I needed,  I then issued the following command 

portupgrade -bRv -l file2 kdeadmin-3.5.10 

and the result, as expected, was 

+ converters/libiconv (libiconv-1.13)
+ audio/libogg (libogg-1.1.3,4)
+ audio/celt (celt-0.5.2)
+ audio/libvorbis (libvorbis-1.2.0_3,3)
+ audio/flac (flac-1.2.1)
+ devel/glib20 (glib-2.20.3)
+ audio/libsndfile (libsndfile-1.0.20)
+ audio/arts (arts-1.5.10_1,1)

Thanks,

d
___
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: Grid computing under FreeBSD using jails ... ?

2009-07-08 Thread Norberto Meijome
On Thu, 2 Jul 2009 16:42:45 -0500
"Sam Fourman Jr."  wrote:

> On Sun, Sep 7, 2008 at 6:36 AM, Norberto Meijome wrote:
> > On Sat, 6 Sep 2008 20:27:10 -0500
> > "Sam Fourman Jr."  wrote:
> >
> >> I am also interested in using FreeBSD as the host in some  grid/cloud
> >> solution I am open to any Ideas anyone has.
> >
> > Hey Sam,
> > do you have any particular grid/cloud/clustering solution in mind? I think
> > that Sun's grid engine works in FBSD (it is present in ports)...
> >
> > /usr/ports
> > $ make search info=grid\ engine
> >
> > There was a similar,but short discussion in this list around August 11th
> > 2008, Subject 'cluster filesystem', mentioning things like hadoop + gluster
> > on BSD.
> 
> I know this thread has been dormant for quite some time, but I want to see if
> anyone has any ideas how how we could do cloud hosting using FreeBSD
> as the host system.
> A better way to put it is a FreeBSD Based Amazon EC2.
> 
> basically a bunch of FreeBSD servers, that are in a cluster, and could
> host a bunch of
> Xen Domu's . I am aware that FreeBSD does not yet have Xen dom0 support.
> 
> but are there any other competing projects to xen that I am unaware of.
> 
> Sam Fourman Jr.

Hi Sam,
i wish i had a definite answer for you.. my day job has pushed me straight into 
linux land again...

anyway, some thoughts :
  - eucalyptus , a project that implements, AFAIK, cloud services (on linux), 
using XEN and/or KVM, API complaint with EC2. would it work w/fbsd? 
 - KVM , there are some mentions of it being implemented as a freebsd kernel 
module. but not sure how to use it or if it works well.

i'd love to hear what solution you come up with

good luck,
B 

_
{Beto|Norberto|Numard} Meijome

Software isn't released it escapes.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
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: portupgrade question

2009-07-08 Thread Ivailo Tanusheff
Hi,

The missing switch is the -R parameter of portupdate.
I.e. portupgrade -vnyNbR

Regards,

Ivailo Tanusheff
Deputy Head of IT Department
ProCredit Bank (Bulgaria) AD





dan  
Sent by: owner-freebsd-questi...@freebsd.org
08.07.2009 14:05
Please respond to
mesli...@yahoo.fr


To
freebsd-questions@freebsd.org
cc

Subject
portupgrade question






Hello,

yesterday, having to install kdeadmin, I issued the following command

 portupgrade -vnyNb -l file kdeadmin-3.5.10

Noting that "n" is negated by "y" (my mistake), the result of this command 
was 

 + print/cups-base
 + print/xdvik
 + print/cm-super
 + print/teTeX
 + sysutils/kdeadmin3

but I expected portupgrade to also upgrade some packages on which kdeadmin 

depends on (required packages ?). Am I wrong somewhere ? Is the order on 
which the arguments are given relevant ?

To get the result I needed,  I then issued the following command 

 portupgrade -bRv -l file2 kdeadmin-3.5.10 

and the result, as expected, was 

 + converters/libiconv (libiconv-1.13)
 + audio/libogg (libogg-1.1.3,4)
 + audio/celt (celt-0.5.2)
 + audio/libvorbis (libvorbis-1.2.0_3,3)
 + audio/flac (flac-1.2.1)
 + devel/glib20 (glib-2.20.3)
 + audio/libsndfile (libsndfile-1.0.20)
 + audio/arts (arts-1.5.10_1,1)

Thanks,

d
___
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: Hacker problem...Takes down apache?

2009-07-08 Thread Steve Bertrand
ch...@darkadsl.ca wrote:
> 
> I run a virtual hosting server and one of my clients got hacked (weak
> password in CMS).
> 
>  I was able to capture the php script that the hacker uploaded, as well as
> some c and perl daemons (one looks to be basically like telnet -- should be
> fairly harmless due to the restrictive hardware firewall, plus the one I
> saw relies on a bash shell which I don't have). Also another one looks like
> a generic network bouncer -- something like netcat. However what I can't
> figure out is how it is causing interference with Apache (and possibly
> networking in general). 
> 
>  The processes I've seen from this are running as www so I don't see
> anything to suggest I've been rooted, but how else can it listen something
> on port 80? It seems to be doing *something* to break Apache in an attempt
> to hijack it.

It is possible that the intruder replaced your httpd daemon with a
custom program.

Check the timestamps of your normal Apache binary to ensure that it
hasn't been tampered with.

A common technique I've come across in the past is for an intruder to
use obscure and hard-to-spot directory names such as:

...
.../
etc, particularly in the /tmp and /var/tmp locations.

Also, you should verify the status of ALL binaries that are loaded at
startup, to ensure they are all sane.

It's quite possible that your web server is simply a patched binary,
that may not even be a web server at all.

If the timestamp of httpd is different, it may be as simple as restoring
  the binary from a backup.

Also, check your "last" command for logins, check privileged users
.history files and check users home directories for any
files/directories that appear out of place.

/usr/ports/security/tripwire may help you in the future.

Good luck!

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Xorg and Dual Head Video?

2009-07-08 Thread Gene
Hi All:

I was wondering if anyone could point me toward any docs, or even better,
how-tos on setting up Xorg using dual head video?

Thanks,

IHN,
Gene

--
To everything there is a season,
And a time to every purpose under heaven.

___
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: Xorg and Dual Head Video?

2009-07-08 Thread Neal Hogan
On Wed, Jul 8, 2009 at 7:16 AM, Gene wrote:
> Hi All:
>
> I was wondering if anyone could point me toward any docs, or even better,
> how-tos on setting up Xorg using dual head video?

I use xrandr(1). Below is my xorg.conf.

HTH.

  1 Section "ServerLayout"
  2 Identifier "X.org Configured"
  3 Screen  0  "Screen0" 0 0
  4 InputDevice"Mouse0" "CorePointer"
  5 InputDevice"Keyboard0" "CoreKeyboard"
  6 EndSection
  7
  8 Section "Files"
  9 ModulePath   "/usr/X11R6/lib/modules"
 10 FontPath "/usr/X11R6/lib/X11/fonts/misc/"
 11 FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
 12 FontPath "/usr/X11R6/lib/X11/fonts/OTF"
 13 FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
 14 FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
 15 FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
 16 EndSection
 17
 18 Section "Module"
 19 Load  "GLcore"
 20 Load  "dbe"
 21 Load  "dri"
 22 Load  "extmod"
 23 Load  "glx"
 24 Load  "record"
 25 Load  "xtrap"
 26 Load  "freetype"
 27 Load  "type1"
 28 EndSection
 29
 30 Section "InputDevice"
 31 Identifier  "Keyboard0"
 32 Driver  "kbd"
 33 EndSection
 34
 35 Section "InputDevice"
 36 Identifier  "Mouse0"
 37 Driver  "mouse"
 38 Option  "Protocol" "wsmouse"
 39 Option  "Device" "/dev/wsmouse"
 40 Option  "ZAxisMapping" "4 5 6 7"
 41 EndSection
 42
 43 Section "Monitor"
 44 Identifier   "Monitor0"
 45 VendorName   "Lenovo"
 46 ModelName"T400"
 47 EndSection
 48
 49 Section "Monitor"
 50 Identifier   "Monitor1"
 51 VendorName   "LG"
 52 ModelName"Flatron"
 53 Option   "DPMS"
 54 EndSection
 55
 56 Section "Device"
 57 ### Available Driver options are:-
 58 ### Values: : integer, : float, : "True"/"False",
 59 ### : "String", : " Hz/kHz/MHz"
 60 ### [arg]: arg optional
 61 #Option "NoAccel"   # []
 62 #Option "SWcursor"  # []
 63 #Option "ColorKey"  # 
 64 #Option "CacheLines"# 
 65 #Option "Dac6Bit"   # []
 66 #Option "DRI"   # []
 67 #Option "NoDDC" # []
 68 #Option "ShowCache" # []
 69 #Option "XvMCSurfaces"  # 
 70 #Option "PageFlip"  # []
 71 Identifier  "Card0"
 72 Driver  "intel"
 73 VendorName  "Intel"
 74 BoardName   "GM45 Video"
 75 BusID   "PCI:0:2:0"
 76 Option  "monitor-T400" "Monitor0"
 77 Option  "monitor-LG"   "Monitor1"
 78 EndSection
 79
 80 Section "Screen"
 81 Identifier "Screen0"
 82 Device "Card0"
 83 #Monitor"Monitor0"
 84 SubSection "Display"
 85 Viewport   0 0
 86 Depth 1
 87 EndSubSection
 88 SubSection "Display"
 89 Viewport   0 0
 90 Depth 4
 91 EndSubSection
 92 SubSection "Display"
 93 Viewport   0 0
 94 Depth 8
 95 EndSubSection
 96 SubSection "Display"
 97 Viewport   0 0
 98 Depth 15
 99 EndSubSection
100 SubSection "Display"
101 Viewport   0 0
102 Depth 16
103 EndSubSection
104 SubSection "Display"
105 Virtual   2880 900
106 Viewport   0 0
107 Depth 24
108 EndSubSection
109 EndSection

>
> Thanks,
>
> IHN,
> Gene
>
> --
> To everything there is a season,
> And a time to every purpose under heaven.
>
> ___
> 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: portupgrade question

2009-07-08 Thread dan
THat's the point !

isnt that -R implied by -N ?

From the portupgrade  man page 


[...]
-N
--new
Install a new port/package when a specified package is not installed. 
Prior
to the installation a new port/package, all the required packages are
upgraded.
If this option is specified, you can specify a portorigin glob as well 
as a
pkgname glob to specify which port to install. See portsdb(1) for the 
details 
of the 'portorigin glob'. 
[...]

:-)

d

On Wednesday 08 July 2009 13:33:49 Ivailo Tanusheff wrote:
> Hi,
>
> The missing switch is the -R parameter of portupdate.
> I.e. portupgrade -vnyNbR
>
> Regards,
>
> Ivailo Tanusheff
> Deputy Head of IT Department
> ProCredit Bank (Bulgaria) AD
>
>
>
>
>
> dan 
> Sent by: owner-freebsd-questi...@freebsd.org
> 08.07.2009 14:05
> Please respond to
> mesli...@yahoo.fr
>
>
> To
> freebsd-questions@freebsd.org
> cc
>
> Subject
> portupgrade question
>
>
>
>
>
>
> Hello,
>
> yesterday, having to install kdeadmin, I issued the following command
>
>  portupgrade -vnyNb -l file kdeadmin-3.5.10
>
> Noting that "n" is negated by "y" (my mistake), the result of this command
> was
>
>  + print/cups-base
>  + print/xdvik
>  + print/cm-super
>  + print/teTeX
>  + sysutils/kdeadmin3
>
> but I expected portupgrade to also upgrade some packages on which kdeadmin
>
> depends on (required packages ?). Am I wrong somewhere ? Is the order on
> which the arguments are given relevant ?
>
> To get the result I needed,  I then issued the following command
>
>  portupgrade -bRv -l file2 kdeadmin-3.5.10
>
> and the result, as expected, was
>
>  + converters/libiconv (libiconv-1.13)
>  + audio/libogg (libogg-1.1.3,4)
>  + audio/celt (celt-0.5.2)
>  + audio/libvorbis (libvorbis-1.2.0_3,3)
>  + audio/flac (flac-1.2.1)
>  + devel/glib20 (glib-2.20.3)
>  + audio/libsndfile (libsndfile-1.0.20)
>  + audio/arts (arts-1.5.10_1,1)
>
> Thanks,
>
> d
> ___
> 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"


Network traffic monitoring: BSD monitor & verifying encryption

2009-07-08 Thread Daniel Underwood
Hi folks:

(1) I'm only used Wireshark and Ethereal to inspect network traffic,
and I've only used these on several occasion.  Would someone suggest
FreeBSD alternatives (console or xserver based?

(2) I'm testing my connection to a remote server.  The connection is
supposed to be encrypted. What's the easiest way to verify that the
data is in fact being encrypted?  I don't care to validate the
encryption itself; I trust that it is working properly, if it's
working at all.  I just want to know what, if anything, I can look for
in the traffic that will indicate encryption (e.g., is the initiation
of key-exchanges easy to locate?).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


is it safe to reboot while gmirror is rebuilding?

2009-07-08 Thread Anton Shterenlikht
On FBSD 8.0-current ia64 I've gmirror on 63GB partition, which
takes quite a long time to rebuild, perhaps 30 min. Is it
safe to reboot, or write to this filesystem, while it is
being rebuilt (gmirror status DEGRADED) ?

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: is it safe to reboot while gmirror is rebuilding?

2009-07-08 Thread Kamigishi Rei

Anton Shterenlikht wrote:

On FBSD 8.0-current ia64 I've gmirror on 63GB partition, which
takes quite a long time to rebuild, perhaps 30 min. Is it
safe to reboot, or write to this filesystem, while it is
being rebuilt (gmirror status DEGRADED) ?

  
Doesn't matter which version it is; gmirror checkpoints the rebuild 
process so you can safely reboot/write/etc.

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


Re: is it safe to reboot while gmirror is rebuilding?

2009-07-08 Thread Bill Moran
In response to Anton Shterenlikht :

> On FBSD 8.0-current ia64 I've gmirror on 63GB partition, which
> takes quite a long time to rebuild, perhaps 30 min. Is it
> safe to reboot, or write to this filesystem, while it is
> being rebuilt (gmirror status DEGRADED) ?

Yes.  Doing so will cause the overall time required to rebuild to take
longer, but gmirror will continue to rebuild during normal system
activities (such as disk writes and reboots).

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


Re: Network traffic monitoring: BSD monitor & verifying encryption

2009-07-08 Thread Steve Bertrand
Daniel Underwood wrote:
> Hi folks:
> 
> (1) I'm only used Wireshark and Ethereal to inspect network traffic,
> and I've only used these on several occasion.  Would someone suggest
> FreeBSD alternatives (console or xserver based?

tcpdump(1). It can save to a pcap file for later review within Wireshark
if required.

> (2) I'm testing my connection to a remote server.  The connection is
> supposed to be encrypted. What's the easiest way to verify that the
> data is in fact being encrypted?  I don't care to validate the
> encryption itself; I trust that it is working properly, if it's
> working at all.  I just want to know what, if anything, I can look for
> in the traffic that will indicate encryption (e.g., is the initiation
> of key-exchanges easy to locate?).

It depends on the traffic type, and the protocol.

When in doubt, you could always capture the entire packet, dump them
into a file, and then review the data to ensure it isn't in plaintext:

# tcpdump -n -i em5 -s 0 -w /var/log/cap.pcap host x.x.x.x and port 

Then you can read it back in with tcpdump later, or scp the file to a
GUI based workstation and view it in Wireshark (which is my preference).

Wireshark displaying SSH traffic will for instance tell you straight-up
in the Info field that the packet is "Encrypted response packet
len=xxx". It does the same for IPSec etc.

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Hacker problem...Takes down apache?

2009-07-08 Thread Lowell Gilbert
"ch...@darkadsl.ca"  writes:

> I run a virtual hosting server and one of my clients got hacked (weak
> password in CMS).

Since you know the machine was hacked, you can't trust *anything* on the
machine.  If possible, you should rebuild it.  If a jail was hacked,
replacing that jail may be enough.  You might be able to clean up the
hack by reverse-engineering it, but you'll never be able to be sure you
got everything.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Network traffic monitoring: BSD monitor & verifying encryption

2009-07-08 Thread Matthew Seaman

Daniel Underwood wrote:

Hi folks:

(1) I'm only used Wireshark and Ethereal to inspect network traffic,
and I've only used these on several occasion.  Would someone suggest
FreeBSD alternatives (console or xserver based?


wireshark, formerly known as ethereal works just fine on FreeBSD.  If you
want a console based variant, there's tshark, which is just wireshark without
X11 support.  All in the ports: net/wireshark, net/tshark

As mentioned elsewhere, you can use tcpdump (bundled with the system) to
capture traffic that you can later feed into wireshark for analysis.  Handy
hint: be aware that tcpdump generally only captures the packet headers and
not the full packet content.  To capture everything add '-s 0' to the tcpdump
command line.


(2) I'm testing my connection to a remote server.  The connection is
supposed to be encrypted. What's the easiest way to verify that the
data is in fact being encrypted?  I don't care to validate the
encryption itself; I trust that it is working properly, if it's
working at all.  I just want to know what, if anything, I can look for
in the traffic that will indicate encryption (e.g., is the initiation
of key-exchanges easy to locate?).


There are two possibilities:

(a) capture session traffic over the wire and from that demonstrate the
traffic is encrypted.  Unless the plaintext is obviously ascii or otherwise
readily identifiable, this might be a bit tricky.  Probably the only 100%
certain answer is to be able to decrypt the session traffic.

(b) connect to the remote network port using eg. netcat (see nc(1)),
telnet or 'openssl s_client' -- in the first two cases the idea would be
to check that the server would not permit an unencrypted session; for the
last case the idea is to check that the connection does handle presenting keys
and certs correctly.  Obviously this will depend on knowledge of how your 
particular communications protocol works.


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Network traffic monitoring: BSD monitor & verifying encryption

2009-07-08 Thread Daniel Underwood
Thanks for the help.

I couldn't find any flags/fields in TCP packets indicated whether
encrypted (as in the case of SSH packets).  There isn't any, right?
___
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"


Wine on FBSD-7.0 amd64. Does it run?

2009-07-08 Thread kxorrao
What port of wine should I download in order to play 32bit .exe
files on FreeBSD-7.0 amd64? Linux wine or Wine?
___
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: Network traffic monitoring: BSD monitor & verifying encryption

2009-07-08 Thread Steve Bertrand
Daniel Underwood wrote:
> Thanks for the help.
> 
> I couldn't find any flags/fields in TCP packets indicated whether
> encrypted (as in the case of SSH packets).  There isn't any, right?

No. TCP (Transport Layer) knows nothing about encryption/encoding, and
hence there is no room (or need) within the headers to signify those
details. TCP provides reliable data transit, and really nothing more.

Encryption happens higher up in the stack, and it is the responsibility
of the application (or some function) to do this work.

TCP provides the connection, in which you can throw any type of data you
please. It does not care what type of data you put into it; it has no
way of inherently finding that out.

To find out the flags/configuration/techniques used by the application
before it stuffs it's data into a packet, you have to read the data
after it's been extracted from the packet all the way up near the
application layer.

Wireshark can 'dissect' each packet for numerous applications and
protocols, hence it has the ability to inform you about encryption as in
my previous SSH example.

That is why I captured the entire packet with tcpdump (via the -s0
flag). If you don't, tcpdump will not capture enough information to
decode the packet.

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


How to symlink devfs devices?

2009-07-08 Thread Sagara Wijetunga
Hi 

Is it possible to create a symlink to a device and use the symlink in place 
of the real device name in FreeBSD, especially in version 7.2? 


1. A disk
  /dev/camera -> /dev/da0s1 


2. A network device
  re0 -> lan0 


Kind regards
Sagara
___
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: Xorg and Dual Head Video?

2009-07-08 Thread Paul Schmehl
--On Wednesday, July 08, 2009 07:16:02 -0500 Gene 
 wrote:




Hi All:

I was wondering if anyone could point me toward any docs, or even better,
how-tos on setting up Xorg using dual head video?



First make sure Xorg is up to date.
Second make sure that hald and dbus are installed and running.

This is a working xorg.conf file for a dual head setup on current Xorg (7.4).

Section "ServerLayout"
   Identifier "X.org Configured"
   Screen  0  "Screen0" 0 0
EndSection

Section "ServerFlags"
   Option "DontZap" "No"
   Option "AllowEmptyInput" "No"
EndSection

Section "Files"
   ModulePath   "/usr/local/lib/xorg/modules"
   FontPath "/usr/local/lib/X11/fonts/misc/"
   FontPath "/usr/local/lib/X11/fonts/TTF/"
   FontPath "/usr/local/lib/X11/fonts/OTF"
   FontPath "/usr/local/lib/X11/fonts/Type1/"
   FontPath "/usr/local/lib/X11/fonts/100dpi/"
   FontPath "/usr/local/lib/X11/fonts/75dpi/"
   FontPath "/usr/local/lib/X11/fonts/bitstream-vera/"
   FontPath "/usr/local/lib/X11/fonts/TrueType/"
EndSection

# Make flash work correctly
Section "Extensions"
   Option "Composite" "Off"
EndSection

Section "Module"
   Load  "GLcore"
EndSection

Section "DRI"
   Group 0
   Mode  0660
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Dell Computer"
   ModelName"DELL 2208WFP"
EndSection

Section "Monitor"
   Identifier   "left"
EndSection

Section "Monitor"
   Identifier   "right"
   Option   "RightOf" "left"
EndSection

Section "Device"
   Identifier  "Card0"
   Driver  "radeonhd"
   VendorName  "ATI Technologies Inc"
   BoardName   "RV610"
   Option  "Monitor-DVI-I_1/digital" "left"
   Option  "Monitor-DVI-I_2/digital" "right"
   BusID   "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device "Card0"
   Monitor"Monitor0"
   SubSection "Display"
   Virtual 3360 1050
   EndSubSection
EndSection

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
Check the headers before clicking on Reply.

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


Re: How to symlink devfs devices?

2009-07-08 Thread Paul B. Mahol
>
> Is it possible to create a symlink to a device and use the symlink in place
> of the real device name in FreeBSD, especially in version 7.2?
>
> 1. A disk
>/dev/camera -> /dev/da0s1

devfs.conf(5)
>
> 2. A network device
>re0 -> lan0

same as above, but there is way to completly hide re0:
# ifconfig re0 name lan0

-- 
Paul
___
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: Network traffic monitoring: BSD monitor & verifying encryption

2009-07-08 Thread Matthew Seaman

Daniel Underwood wrote:

Thanks for the help.

I couldn't find any flags/fields in TCP packets indicated whether
encrypted (as in the case of SSH packets).  There isn't any, right?


Correct: there isn't anything like that in the TCP headers.  Encryption
on TCP streams is an application level thing that only affects packet
payloads.

There are transport layer encryption protocols -- eg. IPSec, OpenVPN, etc.
-- but those allow tunnelling TCP streams through them and aren't necessarily
TCP themselves.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


client control of sendmail

2009-07-08 Thread David Banning
I have several users who are requesting new mail user accounts and
changes to email accounts all the time. I wonder if there is a package
that allows a given virtual domain owner to change their email accounts -
add, delete and change passwords etc - I am presently using sendmail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to symlink devfs devices?

2009-07-08 Thread Roland Smith
On Wed, Jul 08, 2009 at 05:49:24PM +, Paul B. Mahol wrote:
> >
> > Is it possible to create a symlink to a device and use the symlink in place
> > of the real device name in FreeBSD, especially in version 7.2?
> >
> > 1. A disk
> >/dev/camera -> /dev/da0s1

> devfs.conf(5)

Geneally, yes. But not in this case, I think. You don't want any old usb
device to be linked to /dev/camera! USB devices are enumerated in the
sequence thay are plugged in. So there is no hard guarantee that the
camera will always be available as da0s1. It might be da1s1 if another
USB drive was plugged in earlier.

And not all cameras represent themselves as disk devices (USB mass
storage). Lots of modern ones use PTP
[http://en.wikipedia.org/wiki/Picture_Transfer_Protocol].

So in this case it might be better to use HAL (via hald(8))
[http://freedesktop.org/wiki/Software/hal].

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpWgQ1vvTcwH.pgp
Description: PGP signature


FreeBSD/iSCSI intiator into EMC Clarion target

2009-07-08 Thread Len Conrad
uname -a

FreeBSD xxx 7.1-RELEASE FreeBSD 7.1-RELEASE #0

kldstat

Id Refs AddressSize Name
 15 0xc040 97f830   kernel
 21 0xc0d8 ff18 iscsi_initiator.ko
 31 0xc0d9 6a2c4acpi.ko


iscontrol doesn't have -V version and strings doesn't find anything that looks 
like a version.


iscontrol -d -v -t 192.168.78.5 
port = 3260
tags = 0
 maxluns = 0
 iqn = iqn.2005-01.il.ac.huji.cs:
  maxConnections = 1
maxRecvDataSegmentLength = 65536
maxXmitDataSegmentLength = 65536
  maxBurstLength = 131072
firstBurstLength = 65536
defaultTime2Wait = 0
  defaultTime2Retain = 0
   maxOutstandingR2T = 1
  errorRecoveryLevel = 0
targetPortalGroupTag = 0
headerDigest = None,CRC32C
  dataDigest = None,CRC32C
  initialR2T = 1
   immediateData = 1
  dataPDUInOrder = 1
 dataSequenceInOrder = 1
 sessionType = Normal
   targetAddress = (null)
 targetAlias = (null)
  targetName = (null)
   initiatorName = (null)
  initiatorAlias = (null)
  authMethod = None
  chapSecret = (null)
   chapIName = (null)
 tgtChapName = (null)
   tgtChapSecret = (null)
  tgttgtChallengeLen = 0
I-: cmd=0x3 len=301
SessionType=Discovery
InitiatorName=iqn.2005-01.il.ac.huji.cs::mr1..net
MaxBurstLength=131072
HeaderDigest=None,CRC32C
DataDigest=None,CRC32C
MaxRecvDataSegmentLength=65536
ErrorRecoveryLevel=0
DefaultTime2Wait=0
DefaultTime2Retain=0
DataPDUInOrder=Yes
DataSequenceInOrder=Yes
MaxOutstandingR2T=1
T-: cmd=0x23 len=281
TargetPortalGroupTag=0
TargetAlias=1576.b3
HeaderDigest=None
DataDigest=None
MaxRecvDataSegmentLength=65536
MaxBurstLength=Irrelevant
DefaultTime2Wait=0
DefaultTime2Retain=0
MaxOutstandingR2T=Irrelevant
DataPDUInOrder=Irrelevant
DataSequenceInOrder=Irrelevant
ErrorRecoveryLevel=0
I-: cmd=0x4 len=16
SendTargets=All
recvpdu: Socket is not connected
recvpdu failed
I-: cmd=0x6 len=0
recvpdu: Socket is not connected
recvpdu failed

==

iniatator does work into a FreeBSD/iscsi-target:


# iscontrol -c /etc/iscsi.conf -n target0

iscontrol[817]: running
iscontrol[817]: (pass3:iscsi0:0:0:0):  tagged openings now 0
iscontrol[817]: cam_open_btl: no passthrough device found at 2:0:1
iscontrol[817]: cam_open_btl: no passthrough device found at 2:0:2
iscontrol[817]: cam_open_btl: no passthrough device found at 2:0:3
iscontrol: supervise starting main loop

#ll /dev/is*
crw---  1 root  wheel0,  27 Jul  8 13:29 /dev/iscsi
crw---  1 root  wheel0, 103 Jul  8 13:29 /dev/iscsi0

#ll /dev/da*
crw-r-  1 root  operator0,  90 Jul  8 13:29 /dev/da0
crw-r-  1 root  operator0,  91 Jul  8 13:29 /dev/da0s1
crw-r-  1 root  operator0,  92 Jul  8 08:30 /dev/da0s1a
crw-r-  1 root  operator0,  93 Jul  8 13:30 /dev/da0s1b
crw-r-  1 root  operator0,  94 Jul  8 13:29 /dev/da0s1c
crw-r-  1 root  operator0,  95 Jul  8 08:29 /dev/da0s1d
crw-r-  1 root  operator0,  96 Jul  8 08:29 /dev/da0s1e
crw-r-  1 root  operator0, 105 Jul  8 13:29 /dev/da1
crw-r-  1 root  operator0, 106 Jul  8 13:29 /dev/da1s1
crw-r-  1 root  operator0, 107 Jul  8 13:29 /dev/da1s1c
crw-r-  1 root  operator0, 108 Jul  8 13:29 /dev/da1s1d

#mount /dev/da1s1 /iscsitest/

#df
Filesystem  1K-blocksUsedAvail Capacity  Mounted on
/dev/da0s1a  10154158  141662  9200164 2%/
devfs   1   10   100%/dev
/dev/da0s1d  20308398 1393604 17290124 7%/usr
/dev/da0s1e  40622090  292054 37080270 1%/var
/dev/da1s19907690 2990276  612480033%/iscsitest

=

Red Hat Enterprise iscsi initiator connects to EMC SAN target reliably.
If we can't get the FreeBSD iniatator working, we'll have to convert several 
machines from FreeBSD to Linux.

Len


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

2009-07-08 Thread Jonathan Chen
On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote:
> THat's the point !
> 
> isnt that -R implied by -N ?
> 
> From the portupgrade  man page 
> 
> 
> [...]
> -N
> --new
>   Install a new port/package when a specified package is not installed. 
> Prior
>   to the installation a new port/package, all the required packages are
>   upgraded.

No. Since the dependant package *is* installed. It's just not up
to date.
-- 
Jonathan Chen 
--
"A little learning is a dangerous thing but a lot of ignorance is
 just as bad."  - Bob Edwards
___
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: VLC server

2009-07-08 Thread Graeme Dargie


-Original Message-
From: Peter [mailto:peterp...@aboutsupport.com] 
Sent: 08 July 2009 09:07
To: freebsd-questions@freebsd.org
Subject: Re: VLC server

Graeme Dargie wrote:

> I did that before I started the install.
> 
> Regards
> 
> Graeme
> 
> 


As a workaround, try to compile ffmpeg first.
Make "make config"  for ffmpeg  and make sure libamr is NOT enabled.

It is a  workaround but should do  the job.

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


libamr I assume is the AMR wide and narrowband options, those are both
not selected, and it still wont complete.

Regards

Graeme

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

2009-07-08 Thread RW
On Thu, 9 Jul 2009 08:00:28 +1200
Jonathan Chen  wrote:

> On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote:
> > THat's the point !
> > 
> > isnt that -R implied by -N ?
> > 
> > From the portupgrade  man page 
> > 
> > 
> > [...]
> > -N
> > --new
> > Install a new port/package when a specified package is not
> > installed. Prior to the installation a new port/package, all the
> > required packages are upgraded.
> 
> No. Since the dependant package *is* installed. It's just not up
> to date.

I don't understand what you're are saying here. My reading of the
manpage is the same as Dan's: when you install kdeadmin with
portupgrade -N, everything that kdeadmin requires will be upgraded i.e.
"brought up to date". 



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


Re: How to symlink devfs devices?

2009-07-08 Thread Polytropon
On Wed, 08 Jul 2009 07:33:42 -0500, "Sagara Wijetunga"  
wrote:
> Hi 
> 
> Is it possible to create a symlink to a device and use the symlink in place 
> of the real device name in FreeBSD, especially in version 7.2? 
> 
> 1. A disk
>/dev/camera -> /dev/da0s1 
> 
> 2. A network device
>re0 -> lan0 

That's no problem: Use the "link" statement: "link  ",
such as

linkda0s1   camera
linkre0 lan0

in you /etc/devfs.conf file. See the manual page for this file for
more information, or see the example entries in this file.



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


Re: Urgent help needed : portmaster dies on py-cairo

2009-07-08 Thread Manish Jain

b. f. wrote:

On 7/6/09, manish jain  wrote:
  

2009/7/6 b. f. 



  

After running pkgdb -F, I find that there hundreds of ports depending on
python2.5.



Most of these are probably indirectly dependent, and may not be
seriously affected.  Many, for example, may have been dragged in by
xorg's silly dependency on python via libxcb.

  

Looks to me it will be easier to backup my dstfiles and reinstall
the whole system afresh a 3rd time rather than trying to fix the existing
ports. This time I will install no packages from the installation media, and
build directly from ports instead. The first 2 ports I will build this time
will be lang/python26 followed by lang/python.



Sounds good.

  

I suppose this should set the
systemwide default python version to 2.6.



As the others have mentioned, you don't need to do this unless you
wish to use a version of python other than 2.6, which is now the
default.


  

1) How do I find or set  PYTHON_DEFAULT_VERSION ?
2) What workaround would be needed in make.conf to get 2.5-hardwired ports
to use 2.6 instead ?



1) See above.
2) I didn't mean, as Seaman seemed to think, and you may have, that
you can use ports built against 2.5 with 2.6.  That would only rarely
work, and most likely lead to all sorts of problems. Instead you
should proceed with your plan, and rebuild all dependent ports via:

pkgdb -L
pkgdb -F
portupgrade -fvrx lang/python26 lang/python26
rm -r /usr/local/lib/python2.5

or rebuild just that subset of ports that are most likely to be broken
by the change, via the upgrade-site-packages target in lang/python, as
Seaman suggested.

What I meant by my original comment was, that if you should happen to
want to build a port against 2.6, but find that it is hardwired in the
port Makefile via USE_PYTHON to another version or versions, and you
don't want to go to the trouble of patching the port Makefile, and
then preserving this local modification when you merge in updates to
the port tree, you can add a workaround in /etc/make.conf.  Say, for
example, you see that mail/py-spambayes has:

USE_PYTHON= -2.5

in the port Makefile, and you want to install spambayes, but you don't
want to have to reinstall python 2.5 or an earlier version of python.
If you add:

.if${.CURDIR:M*/mail/py-spambayes*}
PYTHON_VERSION=python2.6
NO_IGNORE=yes
.endif

to /etc/make.conf, you can override the spambayes port Makefile
without patching it.  Now, you are _not_ supposed to do this, and you
will probably have to deal with any consequences of such a local
change on your own.  Many ports have these restrictions for a good
reason, but such an override can be occasionally useful.

b.

  


Hi,

After a marathon session spread over 2 days, I have managed to set up a 
new FreeBSD-7.2 installation with all ports (762) up to date. From the 
gleanings of this conversation and some reading I did myself, I have 
compiled a small document for what-to-do-after-installation. I would 
dearly appreciate your comments on the document, and would be extremely 
glad if my document could be of any help to somebody else too.


Please note that portupgrade works much better on my system than 
portmaster. So the following document assumes/recommends using portupgrade.


Here it is.

==
Part-1)Immediately after a fresh FreeBSD-7.2#RELEASE install :

I assume you will at some stage or the other install a linux port, eg 
acroread8 or acroread9, linux-ymessenger, etc. Incidentally, unless you 
have specific needs, prefer acroread8 over acroread9.


All following steps are to be executed as root.

a)Make sure /etc/rc.conf has at least the following 5 lines.
dbus_enable="YES"
hald_enable="YES"
polkitd_enable="YES"
gnome_enable="YES"
linux_enable="YES"

b)Make sure /boot/loader.conf has at least the following 3 lines.
kern.maxdsiz="734003200"
linprocfs_load="YES"
linsysfs_load="YES"

c)Make sure /etc/fstab has at least the following 3 lines.
proc/proc   procfs
rw00

linproc /usr/compat/linux/proclinprocfsrw00
linsys   /usr/compat/linux/sys  linsysfs  rw0   
0


d)Upgrage from python25 to python26 along with all dependent ports 
as follows :


rm -rf /usr/ports 2>/dev/null
mkdir -p /usr/ports/distfiles
portsnap fetch extract
cd  /usr/ports/ports-mgmt/portupgrade
make deinstall  2>/dev/null
make install clean
portupgrade -C -r -o  lang/python26  lang/python25
portupgrade -rfx python26 python26
pkgdb -F

Before doing anything further, reboot. Immediately after reboot, execute 
Part-2.



Part-2) Steps to be followed whenever a significant number new 
ports/patches are available and you need to ensure your ports as well as 
your ports directory are up to date :


thisdate=`date "+%Y-%m-%n"`
rm  /root/portupgrade-${thisdate}.log 2>/dev/null
portsnap fetch update
portupgrade -ace -uRl  /root/portupgra

Re: Problem with audio apps and mixer

2009-07-08 Thread Alexander Best
thanks a bunch for all the great info.

alex

Paul B. Mahol schrieb am 2009-07-03:
> On 7/3/09, Alexander Best  wrote:
> > wow. thanks a bunch. this new feature of having each app use it's
> > own volume
> > setting is pretty cool. however i think i'd like to preserve the
> > volume
> > setting for each application and rather not have it reset. because
> > i think
> > this feature takes the pid of the app and preserves the volume for
> > the pid.

> Negative. Same application can open and close (different) channel(s)
> multiple
> times causing volume to be changed. You can get some patches on
> freebsd forums
> for mplayer and others ...

> > mplayer and mpd however seem to fork a new instance after a song
> > change or
> > pausing etc. so so the volume get's reset while the app is still
> > running.

> Nope, there is no *forking*.

> > i might be wrong, but i think there's a typo in this description of
> > the
> > feature i'm looking for:

> > hw.snd.vpc_autoreset (default=1, enabled)
> > 0=disable, 1=enable
> > Notes: By default, channel volume will be reset to 0db
> >relative after the channel is closed which means
> >that any
> >changes will be lost and not preserved. Setting
> >this to
> > '1'
> >will preserve the volume at the cost of possible
> > confusion
> >for other applications trying to re-open the
> >same
> >device (see hw.snd.vpc_reset for possible
> >'panic' switch
> > to
> >fix the volumes).

> > shouldn't it be:

> > hw.snd.vpc_autoreset (default=1, enabled)
> > 0=disable, 1=enable
> > Notes: By default, channel volume will be reset to 0db
> >relative after the channel is closed which means
> >that any
> >changes will be lost and not preserved. Setting
> >this to
> > '0'
> >will preserve the volume at the cost of possible
> > confusion
> >for other applications trying to re-open the
> >same
> >device (see hw.snd.vpc_reset for possible
> >'panic' switch
> > to
> >fix the volumes).

> > 

> > so after settings hw.snd.vpc_autoreset=0 each application uses it's
> > own
> > volume
> > setting AND preserves it. just what i wanted. even better because i
> > didn't
> > know this cool new feature existed. :)

> Doesn't work as expected because if you use multiple applications at
> same time
> silenced channel may and may not become extremly noise at any time -
> this is
> OSS and not FreeBSD fault and it is implemented as is in many if not
> all
> multimedia applications; so you may look again in freebsd forums and
> use
> ariff@ patch for mplayer. I don't remmember there was patch for mpd,
> but you
> can always ask politely.

> > thanks again for the hint.

> > cheers.
> > alex

> > Paul B. Mahol schrieb am 2009-07-03:
> >> On 7/3/09, Alexander Best  wrote:
> >> > hi there,

> >> > i've never had a problem to adjust the volume with audio apps
> >> > like
> >> > mplayer
> >> > or
> >> > mpd. recently however i'm experiencing this strange behaviour.
> >> > the
> >> > app's
> >> > volume doesn't match the volume that `mixer` reports. here's an
> >> > example:

> >> CURRENT have VPC.
> >> You can completly disable such feature with this sysctl:
> >> hint.pcm.X.vpc (default=undefined, enabled)
> >> 0=disable, 1=enable
> >> Notes: The only place to enable/disable vpc.
> >>Enabling/Disabling requires driver reload.

> >> here is explanation with more details:
> >> http://people.freebsd.org/~ariff/SOUND_4.TXT.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: portupgrade question

2009-07-08 Thread Jonathan Chen
On Wed, Jul 08, 2009 at 10:20:41PM +0100, RW wrote:
> On Thu, 9 Jul 2009 08:00:28 +1200
> Jonathan Chen  wrote:
> 
> > On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote:
> > > THat's the point !
> > > 
> > > isnt that -R implied by -N ?
> > > 
> > > From the portupgrade  man page 
> > > 
> > > 
> > > [...]
> > > -N
> > > --new
> > >   Install a new port/package when a specified package is not
> > > installed. Prior to the installation a new port/package, all the
> > > required packages are upgraded.
> > 
> > No. Since the dependant package *is* installed. It's just not up
> > to date.
> 
> I don't understand what you're are saying here. My reading of the
> manpage is the same as Dan's: when you install kdeadmin with
> portupgrade -N, everything that kdeadmin requires will be upgraded i.e.
> "brought up to date". 

My mistake. It may be a regression with portupgrade; or just that the
feature in the second sentence has never been implemented due to the
overlap with -R
-- 
Jonathan Chen 
--
"Irrationality is the square root of all evil"
  - Douglas Hofstadter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to symlink devfs devices?

2009-07-08 Thread RW
On Wed, 8 Jul 2009 21:45:48 +0200
Roland Smith  wrote:

> On Wed, Jul 08, 2009 at 05:49:24PM +, Paul B. Mahol wrote:
> > >
> > > Is it possible to create a symlink to a device and use the
> > > symlink in place of the real device name in FreeBSD, especially
> > > in version 7.2?
> > >
> > > 1. A disk
> > >/dev/camera -> /dev/da0s1
> 
> > devfs.conf(5)
> 
> Geneally, yes. But not in this case, I think. You don't want any old
> usb device to be linked to /dev/camera! USB devices are enumerated in
> the sequence thay are plugged in. So there is no hard guarantee that
> the camera will always be available as da0s1. It might be da1s1 if
> another USB drive was plugged in earlier.
> 
> And not all cameras represent themselves as disk devices (USB mass
> storage). Lots of modern ones use PTP
> [http://en.wikipedia.org/wiki/Picture_Transfer_Protocol].
> 
> So in this case it might be better to use HAL (via hald(8))
> [http://freedesktop.org/wiki/Software/hal]

although if it is a standard usb mass storage device, you can mount it
via it's msdos volume label, or a generic label written to the device by
glabel. Both methods are described in the glabel(8).

___
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: client control of sendmail

2009-07-08 Thread Frederique Rijsdijk

On 7/8/2009 8:15 PM, David Banning wrote:

I have several users who are requesting new mail user accounts and
changes to email accounts all the time. I wonder if there is a package
that allows a given virtual domain owner to change their email accounts -
add, delete and change passwords etc - I am presently using sendmail.


Postfix with postfixadmin works really well, but you'll have to rebuild 
the setup.



-- Frederique


___
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: Wine on FBSD-7.0 amd64. Does it run?

2009-07-08 Thread Adam Vande More
On Wed, Jul 8, 2009 at 9:32 AM, kxorrao  wrote:

>What port of wine should I download in order to play 32bit .exe
> files on FreeBSD-7.0 amd64? Linux wine or Wine?
>
>
It's not a terribly big port.  Compile it and check.  Generally if there are
problems with port on a specific platform, it will not build.  Use regular
wine/avoid emulators within emulators if at all possible.

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