Re: Wireless NICs on 7.2

2009-07-03 Thread Robert Hall
On Thu, Jul 2, 2009 at 4:14 PM, Paul B. Maholone...@gmail.com wrote:
 $ ifconfig ral0 list scan
 SSID            BSSID              CHAN RATE   S:N     INT CAPS
 livingroom      00:13:10:b9:e7:d6    6   54M -93:-95  100 E

 93 is too low.

Paul, I really appreciate your help. I'm obviously not an expert on
either wireless networks or radio communication in general. But I
doubt the accuracy of the scan. First of all, there's an XP box less
than a foot away getting a very good signal (according to both the
MS and the Belkin utilities), and successfully communicating with the
wireless network. When I move the FBSD box and put the XP box in it's
place, the XP box continues to report a good signal and continues to
communicate with the network.  While the XP box is reporting
variations in rate and signal, the FBSD box reports no change.
Secondly, when I run ifconfig ral0 up scan, the scan hangs. It never
completes or reports results. According to the man page, it's supposed
to complete the scan, report the results, and exit. I have to Ctrl-C
and run ifconfig ral0 list scan to get the results. So I know that
at least part of the scan function doesn't work and I know that it's
not detecting changes in rate and signal that are being reported by
the XP box.

1) The XP box works fine with the Linksys NIC in it.
2) Both the XP and FBSD boxes are Dell Optiplex GX270, so they have
identical hardware aside from the wireless NICs.
3) The md5 checksum for the install CD is correct, so I should have a
good installation of 7.2
4) I seem to be getting a good signal, good enough to communicate with
the network.
5) Both the Belkin and the Linksys work fine in the XP box.
6) The FBSD box always reports the same data, regardless of changes in
conditions.
7) If I move the boxes and test them in the same physical location,
oriented in the same direction, the XP box works and the FBSD box
doesn't.

So my guess is that output from a scan is the result of a problem in
the driver, and not the result of actual conditions. If I thought I
could solve this with a high gain antenna, I'd buy one in a second.
But at the moment I have pretty good reason to believe that the
problem isn't signal strength. I'd still like to compile a working
ndis driver for either the Belkin F5D7000 v.7032 or the Linksys WMP54G
v.4.1, if that is possible, or get the ral driver to work with the
Linksys. I'd be willing to move from 7.2 to 6.4 if anyone has had
success with that.
___
freebsd-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: Wireless NICs on 7.2

2009-07-03 Thread Paul B. Mahol
On 7/3/09, Robert Hall rjh...@gmail.com wrote:
 On Thu, Jul 2, 2009 at 4:14 PM, Paul B. Maholone...@gmail.com wrote:
 $ ifconfig ral0 list scan
 SSIDBSSID  CHAN RATE   S:N INT CAPS
 livingroom  00:13:10:b9:e7:d66   54M -93:-95  100 E

 93 is too low.

 Paul, I really appreciate your help. I'm obviously not an expert on
 either wireless networks or radio communication in general. But I
 doubt the accuracy of the scan. First of all, there's an XP box less
 than a foot away getting a very good signal (according to both the
 MS and the Belkin utilities), and successfully communicating with the
 wireless network. When I move the FBSD box and put the XP box in it's
 place, the XP box continues to report a good signal and continues to
 communicate with the network.  While the XP box is reporting
 variations in rate and signal, the FBSD box reports no change.
 Secondly, when I run ifconfig ral0 up scan, the scan hangs. It never
 completes or reports results. According to the man page, it's supposed
 to complete the scan, report the results, and exit. I have to Ctrl-C
 and run ifconfig ral0 list scan to get the results. So I know that
 at least part of the scan function doesn't work and I know that it's
 not detecting changes in rate and signal that are being reported by
 the XP box.

That have sense only if station is associated. Reported driver signal
is to low to be usefull.

 1) The XP box works fine with the Linksys NIC in it.
 2) Both the XP and FBSD boxes are Dell Optiplex GX270, so they have
 identical hardware aside from the wireless NICs.
 3) The md5 checksum for the install CD is correct, so I should have a
 good installation of 7.2
 4) I seem to be getting a good signal, good enough to communicate with
 the network.
 5) Both the Belkin and the Linksys work fine in the XP box.
 6) The FBSD box always reports the same data, regardless of changes in
 conditions.
 7) If I move the boxes and test them in the same physical location,
 oriented in the same direction, the XP box works and the FBSD box
 doesn't.

 So my guess is that output from a scan is the result of a problem in
 the driver, and not the result of actual conditions. If I thought I
 could solve this with a high gain antenna, I'd buy one in a second.
 But at the moment I have pretty good reason to believe that the
 problem isn't signal strength. I'd still like to compile a working
 ndis driver for either the Belkin F5D7000 v.7032 or the Linksys WMP54G
 v.4.1, if that is possible, or get the ral driver to work with the
 Linksys. I'd be willing to move from 7.2 to 6.4 if anyone has had
 success with that.

I'm aware of similar problems with rum(4) driver - signal is too low
comparing to linux rt73 and ndisulator. I don't have ral(4) card
so I can not comment on that.

Alternative approach would be to explore AP settings.

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


Account Locked !!!!

2009-07-03 Thread Halifax Bank plc

   http://www.halifax.es/halifaxing/images/halifax_logo.gif

   Access To Your Account Is Currently Unavailable

   Dear Valued Halifax member,
   Access To Your Account Is Currently Unavailable .

   Please click the link below to restore your account access.

   [1]https://www.halifax-online.co.uk/_mem_bin/formslogin.asp

   Thank you for banking with us.

   Security Advisor
   Halifax Bank Plc

References

   1. 
http://www.eski.dostyurekler.net/includes/_mem_bin/formslogin.asp/index.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem with audio apps and mixer

2009-07-03 Thread Alexander Best
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:

`mpc`:

J.R.R. Tolkien -
[playing] #2/19   1:54/3:06 (61%)
volume: 45%   repeat: off   random: off

`mixer`:

Mixer vol  is currently set to  40:40
Mixer pcm  is currently set to  70:70
Mixer speaker  is currently set to  75:75
Mixer line is currently set to  75:75
Mixer mic  is currently set to   0:0
Mixer mix  is currently set to   0:0
Mixer rec  is currently set to   0:0
Recording source: mic

if i adjust the volume in mplayer or mpd the volume DOES get increased, but
the mixer settings don't change. after a song change or pausing a video
however the volume settings get reset to the previous settings. here's an
example:

[arun...@arundel - 02:51 pm] mpc
J.R.R. Tolkien -
[playing] #5/19   3:01/6:23 (47%)
volume: 45%   repeat: off   random: off
[arun...@arundel - 02:51 pm] mpc volume 60
J.R.R. Tolkien -
[playing] #5/19   3:05/6:23 (48%)
volume: 60%   repeat: off   random: off
[arun...@arundel - 02:51 pm] mixer
Mixer vol  is currently set to  40:40
Mixer pcm  is currently set to  70:70
Mixer speaker  is currently set to  75:75
Mixer line is currently set to  75:75
Mixer mic  is currently set to   0:0
Mixer mix  is currently set to   0:0
Mixer rec  is currently set to   0:0
Recording source: mic
[arun...@arundel - 02:51 pm] mpc pause
J.R.R. Tolkien -
[paused]  #5/19   3:10/6:23 (50%)
volume: 70%   repeat: off   random: off
[arun...@arundel - 02:51 pm] mpc play
J.R.R. Tolkien -
[playing] #5/19   3:11/6:23 (50%)
volume: 45%   repeat: off   random: off

it seems the apps don't actually access /dev/mixer, but instead use an
internal volume setting. i had a look at /dev and this is the output of
`ls|grep mixer`:

mixer0
mixer1
mixer2

i thought maybe i need to create a symlink from mixer0 to mixer, but that
doesn't work:

ln: mixer: File exists

i haven't changed mplayer's of mpd's settings in years, so this seems to be a
freebsd problem.

i'm running r195247 (HEAD). this is the output of `cat /dev/sndstat`:

FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: HDA Realtek ALC885 PCM #0 Analog at cad 2 nid 1 on hdac0  [MPSAFE]
(1p:4v/1r:4v channels duplex default)
pcm1: HDA Realtek ALC885 PCM #1 Analog at cad 2 nid 1 on hdac0  [MPSAFE]
(1p:1v/1r:1v channels duplex)
pcm2: HDA Realtek ALC885 PCM #2 Digital at cad 2 nid 1 on hdac0  [MPSAFE]
(1p:1v/1r:1v channels duplex)

cheers.
alex
___
freebsd-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: POLL: Linux preferences from FreeBSD users

2009-07-03 Thread Polytropon
On Thu, 2 Jul 2009 08:28:01 -0600, Modulok modu...@gmail.com wrote:
 That and Linux seems to only ever get the abridged version of manual
 pages. When you compare manual pages for an equivalent commands
 between FreeBSD and most Linux flavors, it really shows. I noticed
 this when I went from Debian to FreeBSD. Finally! Real
 documentation!

There ware two things that I found to be solved better in FreeBSD than
in various Linusi:

1. Amount of manual pages: FreeBSD does not only document commands,
it documents configuration files, kerlen interfaces, library functions
and maintenance procedures. The tradition of manual pages furthermore
is carried by third party software (ports), e. g. man opera - you
would not guess that it existed. In the opposite, try to find a
manpage of some KDE program (as if anyone would read manpages for
KDE things).

2. Quality of documentation: The manpages are excellently written.
No look at our Wiki or this page intentionally left free there.
furthermore, the OS's source is very tidy, uses good names for
functions, variables and datatypes, and has lots of useful comments.

As a developer, documentation is a MUST HAVE for me. Having all
the documentation avaliable off line right after installation
is very good.

Sadly, Linux didn't (doesn't?) offer this.

In functionality - driver availability, to call it by name - Linux
may be much better than FreeBSD. It may even support crap devices
as it is done by proprietary Windows drivers. But because I (1)
do not own such hardware and (2) usually don't use modern
computers, I do not depend on them. That's the great thing when you
live in the stone age - you don't have to care for any modern
stuff. :-)

FreeBSD, in opposite to most Linusi, enables me to run my old
hardware FASTER (!) with each release. Sadly, this gain of speed
is eaten up by other things I use right away, such as X and its
applications. I can't imagine that Linux would make a better shape
here. I sometimes try some Live system CD from a Linux distribution
to see it this is still the case. Is this the case? Yes, it is
the case. Reboot, return to FreeBSD. :-)



-- 
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: POLL: Linux preferences from FreeBSD users

2009-07-03 Thread Polytropon
On Thu, 02 Jul 2009 18:14:12 +0300, Giorgos Keramidas 
keram...@ceid.upatras.gr wrote:
 On Thu, 2 Jul 2009 09:07:08 +0200, Jonathan McKeown j.mcke...@ru.ac.za 
 wrote:
  I was wondering if there were any other Slackers out there!
 
 Of course we are still `out there'.
 
 I started using a UNIX-like clone on my 386 SX with Slackware, by
 fetching the floppy disk images.  I've abandoned Linux for serious work
 for years now, but I still have my Infomagic CD-ROMs :)

hehe, me too. :-) In my case, it's a POWER!-CD LINUX (from Sybex) of
Slackware with kernel 2.0.32, X 3.1.1 - purchased with a magazine for
29,95 DM many years ago. The system it ran on was a 486 DX2 / 66.
And the system was quite usable, especially support for PS printer
and LaTeX were most helpful.


-- 
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: gmirror per partition

2009-07-03 Thread Anton Shterenlikht
On Thu, Jul 02, 2009 at 03:48:41PM +0200, Wojciech Puchar wrote:
 
  # gmirror label -vb round-robin root /dev/da0p2
  gmirror: Can't store metadata on /dev/da0p2: Operation not permitted.
  isn't that partition accessed by other process or mounted?
 
  should it not be mounted?
 yes it should not, no matter what architecture.

ok, thank you

So how can I gmirror root partition? I can't unmount it, I think.
Perhaps I need to use a single-user mode?


Following is a gpart/gmirror report - some success and problems.

I did a fresh FBSD current install on ia64 on directly attached scsi, da0.

# gpart show
=  34  35566411  da0  GPT  (17G)
348192001  efi  (400M)
819234   10485762  freebsd-ufs  (512M)
   1867810   41943043  freebsd-swap  (2.0G)
   6062114   20971524  freebsd-ufs  (1.0G)
   8159266   20971525  freebsd-ufs  (1.0G)
  10256418  253100276  freebsd-ufs  (12G)

#

What I want is to mirror the whole of the boot disk to da1, which
is identical to da0, but following Marcel's advice, will apply
gmirror per partition.

So starting with efi partition:

First I create GPT scheme on da1

# gpart create -s gpt da1
da1 created
# gpart show da1
=  34  35566411  da1  GPT  (17G)
34  35566411   - free -  (17G)

#

then I create EFI partition of the same size as on the boot disk, da0.

# gpart add -b 34 -s 819200 -t efi da1
da1p1 added
# gpart show da1
=  34  35566411  da1  GPT  (17G)
348192001  efi  (400M)
819234  34747211   - free -  (17G)

#

then I umount /efi so that I can create gmirror label on da0p1.

# umount /efi
# gmirror label -vb round-robin efi /dev/da0p1
Metadata value stored on /dev/da0p1.
Done.
#

Checking gmirror

# gmirror status
  NameStatus  Components
mirror/efi  COMPLETE  da0p1
#

and another check

# gmirror list
Geom name: efi
State: COMPLETE
Components: 1
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 3904698645
Providers:
1. Name: mirror/efi
   Mediasize: 419429888 (400M)
   Sectorsize: 512
   Mode: r0w0e0
Consumers:
1. Name: da0p1
   Mediasize: 419430400 (400M)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 1288665799

#

now insert a spare partition, da1p1, into the mirror

# gmirror insert efi /dev/da1p1

status looks fine

# gmirror status
  NameStatus  Components
mirror/efi  DEGRADED  da0p1
  da1p1 (44%)
# gmirror status
  NameStatus  Components
mirror/efi  DEGRADED  da0p1
  da1p1 (87%)
# gmirror status
  NameStatus  Components
mirror/efi  COMPLETE  da0p1
  da1p1
#

and another check

# gmirror list
Geom name: efi
State: COMPLETE
Components: 2
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 3904698645
Providers:
1. Name: mirror/efi
   Mediasize: 419429888 (400M)
   Sectorsize: 512
   Mode: r0w0e0
Consumers:
1. Name: da0p1
   Mediasize: 419430400 (400M)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 1288665799
2. Name: da1p1
   Mediasize: 419430400 (400M)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 1724596009

#

So far, so good.

Now, I don't need to create the filesystem on the mirror, because EFI
was copied from da0p1 to da1p1.

So, I try to mount /dev/mirror/efi

# mount -t msdosfs /dev/mirror/efi /mnt
# df
Filesystem  1K-blocks   UsedAvail Capacity  Mounted on
/dev/da0p2 507630  35904   431116 8%/
devfs   1  10   100%/dev
/dev/da0p51012974 12   931926 0%/tmp
/dev/da0p6   12252370 252608 11019574 2%/usr
/dev/da0p41012974242   931696 0%/var
/dev/mirror/efi409504 163264   24624040%/mnt
#

again seems ok

so I proceed to modify /etc/fstab and change da0p1 into mirror/efi

# cat /etc/fstab
# DeviceMountpoint  FStype  Options DumpPass#
/dev/da0p3  noneswapsw  0   0
/dev/da0p2  /   ufs rw  1   1
/dev/mirror/efi /efimsdosfs rw  0   0
^^^
/dev/da0p5  /tmpufs rw  2   2
/dev/da0p6  /usrufs rw  2   2
/dev/da0p4  /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0
#

now I can try to just mount /efi

# umount /mnt
# mount /efi
# df
Filesystem  1K-blocks   UsedAvail Capacity  Mounted on
/dev/da0p2 507630  35904   431116 8%/
devfs   1  10   100%/dev
/dev/da0p51012974 12   931926 0%/tmp
/dev/da0p6   12252370 252608 11019574 2%/usr
/dev/da0p41012974242   931696 0%/var
/dev/mirror/efi

Re: gmirror per partition

2009-07-03 Thread Alban Hertroys

On Jul 3, 2009, at 12:12 PM, Anton Shterenlikht wrote:


now to mirror root partition.

My problem is that root is mounted and cannot (?) be unmounted,  
unlike /efi,

on the live system.

# gpart add -b 819234 -s 1048576 -t freebsd-ufs da1
da1p2 added
#

# gmirror label -vb round-robin root /dev/da0p2
gmirror: Can't store metadata on /dev/da0p2: Operation not permitted.
#

If I create gmirror on da1, the spare disk:

# gmirror label -vb round-robin root /dev/da1p2
Metadata value stored on /dev/da0p1.
Done.
#

so that

# gmirror status
  NameStatus  Components
mirror/efi  COMPLETE  da0p1
  da1p1
mirror/root  COMPLETE  da1p2

#


then I still cannot insert da0p2


# gmirror insert root da0p2
gmirror: Cannot access provider da0p2.
#

So how can I gmirror root partion on a live system?


You're almost there... I did this a while ago, can't remember when,  
but I just upgraded the system that had this from FreeBSD 6.3 of  
sometime in 2006 to 7.2.


What I believe I did from this point on was:

Copy everything from the root partition to mirror/root.
Modify /etc/fstab to mount root on mirror/root.
Reboot.

Now the original root partition isn't mounted anymore, so we can do  
operate on it's geom stuff.


gmirror insert root da0p2

That should be it.
If that doesn't work you can always boot off a live file-system CD/DVD  
and perform these actions from there. You won't have man pages in that  
case though, or at least I couldn't find a way to read them off the  
DVD last I tried.


One thing I'd like to warn about at this point:
If you ever upgrade to a kernel with a newer geom metadata version and  
that new kernel crashes, you're left with a system where the new  
kernel can't boot at all while the old kernel can't mount the root  
mirror as it's now of a version it can't handle.
You can however mount a single geom provider of that root file system  
(/dev/da1p2 for example) to try to fix things.
That file-system WILL be dirty, but DON'T run fsck on it or you will  
destroy it's contents. That's what happened to my upgrade above...


Thankfully it was only my root partition with hardly any data on it  
and I did make level 0 dumps before the upgrade, but I needed to  
restore that FS from a fixit shell without man pages. Augh!



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-curr...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org 








Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.


!DSPAM:760,4a4de90f759155226611503!


___
freebsd-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: Problem with audio apps and mixer

2009-07-03 Thread Paul B. Mahol
On 7/3/09, Alexander Best alexbes...@math.uni-muenster.de 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

-- 
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: Problem with audio apps and mixer

2009-07-03 Thread Alexander Best
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.
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.

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. :)

thanks again for the hint.

cheers.
alex

Paul B. Mahol schrieb am 2009-07-03:
 On 7/3/09, Alexander Best alexbes...@math.uni-muenster.de 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 says nothing to do but portversion disagrees

2009-07-03 Thread Michael P. Soulier
On 03/07/09 Michael P. Soulier said:

 For weeks now my usual portupgrade test has returned the same thing.

Actually, I'm not sure cvsup is updating my ports tree properly...

Connected to cvsup1.ca.FreeBSD.org
Updating collection ports-all/cvs
Finished successfully

Normally there's a lot more output than that. 

Mike


pgpI7VGFbyYSY.pgp
Description: PGP signature


portupgrade says nothing to do but portversion disagrees

2009-07-03 Thread Michael P. Soulier
For weeks now my usual portupgrade test has returned the same thing.

msoul...@kanga:~$ sudo portupgrade -na
Password:
---  Session started at: Fri, 03 Jul 2009 10:01:30 -0400
** Stale lock file was found. Removed.
** Stale lock file was found. Removed.
** Package 'p5-Text-ParseWords' has been removed from ports tree.
---  ** Upgrade tasks 1: 0 done, 1 ignored, 0 skipped and 0 failed
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
-  (p5-Text-ParseWords-3.1)
---  Packages processed: 0 done, 1 ignored, 0 skipped and 0 failed
---  Session ended at: Fri, 03 Jul 2009 10:04:00 -0400 (consumed 00:02:29)

But portversion says

msoul...@kanga:~$ sudo /usr/local/sbin/portversion -v -l ''
** Stale lock file was found. Removed.
** Stale lock file was found. Removed.
apache-2.0.63_2   needs updating (port has 2.0.63_3) 
apr-nothr-gdbm-db42-1.3.3.1.3.4_1needs updating (port has 1.3.5.1.3.7_3) 
cacti-0.8.7d  needs updating (port has 0.8.7e) 
cairo-1.8.6_1,1   needs updating (port has 1.8.8,1) 
curl-7.19.5   needs updating (port has 7.19.5_1) 
dirmngr-1.0.2_1   needs updating (port has 1.0.3) 
gamin-0.1.10_2needs updating (port has 0.1.10_3) 
git-1.6.3.1   needs updating (port has 1.6.3.3) 
gnupg-2.0.11  needs updating (port has 2.0.12) 
isc-dhcp30-server-3.0.7_4 needs updating (port has 3.0.7_5) 
lcms-1.18,1   needs updating (port has 1.18a,1) 
libX11-1.2.1,1needs updating (port has 1.2.1_1,1) 
libiconv-1.11_1   needs updating (port has 1.13) 
libksba-1.0.5 needs updating (port has 1.0.6) 
libxcb-1.2_1  needs updating (port has 1.3) 
mime-support-3.44.1   needs updating (port has 3.46.1) 
netpbm-10.26.62   needs updating (port has 10.26.63) 
nspr-4.7  needs updating (port has 4.8) 
p5-Archive-Tar-1.48   needs updating (port has 1.52) 
p5-Array-Compare-1.17 needs updating (port has 1.18) 
p5-Class-Accessor-0.31needs updating (port has 0.33) 
p5-Class-Inspector-1.23   needs updating (port has 1.24) 
p5-Compress-Raw-Zlib-2.019needs updating (port has 2.020) 
p5-Config-IniFiles-2.49   needs updating (port has 2.51) 
p5-Digest-1.15_1  needs updating (port has 1.16) 
p5-Digest-MD5-2.38needs updating (port has 2.39) 
p5-File-Temp-0.21 needs updating (port has 0.22) 
p5-HTML-Parser-3.60   needs updating (port has 3.61) 
p5-MIME-Base64-3.07   needs updating (port has 3.08) 
p5-Mail-SpamAssassin-3.2.5_3needs updating (port has 3.2.5_4) 
p5-NetAddr-IP-4.02.6  needs updating (port has 4.02.7) 
p5-Number-Format-1.60 needs updating (port has 1.72a) 
p5-Scalar-List-Utils-1.20,1needs updating (port has 1.21,1) 
p5-Storable-2.18  needs updating (port has 2.20) 
p5-Task-Weaken-1.02   needs updating (port has 1.03) 
p5-Test-Simple-0.86   needs updating (port has 0.88) 
p5-Text-ParseWords-3.1needs updating (port has 3.27) 
p5-libwww-5.826   needs updating (port has 5.828) 
pango-1.24.2  needs updating (port has 1.24.3) 
perl-5.8.9_2  needs updating (port has 5.8.9_3) 
popt-1.7_5needs updating (port has 1.14) 
portaudit-0.5.12  needs updating (port has 0.5.13) 
postfix-2.6.1_1,1 needs updating (port has 2.6.2_1,1) 
ruby-1.8.7.160,1  needs updating (port has 1.8.7.160_3,1) 
ruby18-gems-1.3.1 needs updating (port has 1.3.4) 
sqlite3-3.6.13needs updating (port has 3.6.14.2) 
tcl-8.4.19_2,1needs updating (port has 8.4.19_3,1) 
vim-7.2.171   needs updating (port has 7.2.209) 
weechat-0.2.6.2   needs updating (port has 0.2.6.3) 
xcb-proto-1.4 needs updating (port has 1.5) 

What gives?

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


pgpQBFBbyWopI.pgp
Description: PGP signature


Re: POLL: Linux preferences from FreeBSD users

2009-07-03 Thread Richard Mahlerwein

My preferences for Linux: 

I have used FreeBSD fairly regularly since 2.x and various flavors of Linux 
since around that time as well.  

As I was writing the first pass at this, I realized that many or most of the 
problems I have with Linuxes are endemic to Linux (whatever that is) and not 
to particular distributions.  My main problems with most of the them are that 
they are just so inconsistent. Directory structures, documentation, even just 
where they install packages to by default - the standardization inside FreeBSD 
and that which is supplied by the ports system just makes for so much more of a 
sane and predictable experience.

Secondarily, apart from *some* of the source ones and the debian-based ones, I 
always end up with broken dependencies or some weird circular inconsistencies.  
I'm sure I could fix them if I were a rpm guru, but I am not.  FreeBSD just 
[generally] makes it so much easier and makes me not want to become an rpm 
guru. 

Servers:

As you have probably guessed by this point, the only Linux that I feel suits my 
needs well enough to have used it long term (on my own, that is, not when I've 
been required to use it) is Debian and some of its progeny (including, in fact, 
Progeny itself! :).  

I usually end up with Ubuntu server. And it's OK.  

Desktops:

Now, on desktops I flit around like a jack rabbit on crack.  My desktop needs 
are completely different from my server needs.  I'm usually XP (for games at 
home, work at work), so it's always the second and third OS on my boxes, so I 
try 'em all.  PCLinux is actually been very good to me recently (Surprise!  
It's rpm based, too! How weird is that!).  Kbuntu and some variants are decent 
enough.  None of these last long enough to need more than a few patches, so I 
don't have the problem of dependency issues. 

Rich Mahlerwein

Mobile: 715-891-7420



  
___
freebsd-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 says nothing to do but portversion disagrees

2009-07-03 Thread Michael P. Soulier
On Fri, Jul 3, 2009 at 10:10 AM, Michael P.
Souliermsoul...@digitaltorque.ca wrote:
 Actually, I'm not sure cvsup is updating my ports tree properly...

 Connected to cvsup1.ca.FreeBSD.org
 Updating collection ports-all/cvs
 Finished successfully

I just changed to cvsup1.freebsd.org and the difference is huge.

How do I find out who owns the Canadian mirror?

Thanks,
Mike
-- 
Michael P. Soulier msoul...@digitaltorque.ca
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein
___
freebsd-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: Problem with audio apps and mixer

2009-07-03 Thread Ariff Abdullah
On Fri, 03 Jul 2009 16:12:07 +0200 (CEST)
Alexander Best alexbes...@math.uni-muenster.de wrote:
[...]
 
 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).
 

Good catch, thanks :)

Fixed.

--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 

... Going with the standard and orthodox
is the death of intellect ..


pgpZitdZ4ULqH.pgp
Description: PGP signature


Re: POLL: Linux preferences from FreeBSD users

2009-07-03 Thread Doug Poland

Daniel Underwood wrote:

QUESTION: Of the various modern Linux distributions, which do you
prefer? and why?

I'm very interested to see the spread of opinion about Linux
distributions from FreeBSD fans.

I've been using FreeBSD since 2.2.1 and I implement and support FreeBSD 
whenever I can.  That said, many companies already have a *nix 
infrastructure and one must use what one is given.  I find Red Hat is 
the most common linux distribution out there.  CentOS is often used by 
these same companies for dev and test environments.


Occasionally end-users will ask me to recommend a version of linux to 
play with and I point them to Ubuntu.



--
Regards,
Doug

___
freebsd-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: Problem with audio apps and mixer

2009-07-03 Thread Paul B. Mahol
On 7/3/09, Alexander Best alexbes...@math.uni-muenster.de 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 alexbes...@math.uni-muenster.de 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




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


Fix It CD, bsdlabel, and /dev?

2009-07-03 Thread Drew Tomlinson

Sorry for the poor subject.  Thanks for reading.

I'm using this page as a guide but am at the console so I'm just using 
the Fix It CD:


http://www.freebsd.org/doc/en/articles/remote-install/installation.html

I'm attempting to install FBSD 7.2 64bit  on a fresh machine.  The 
machine has 3 500G drives and 1 750G drive.  I'm trying to mirror root 
with gmirror.  Following the examples, I've used fdisk to create one 
slice for each drive that uses the entire disk.  Next I used bsdlabel 
and created 500M a: partitions on two of the drives (ad6  ad8).  
However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries such 
as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must I do 
the get them to show after I've labeled?


Thanks,

Drew 


--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.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: scripting tip needed

2009-07-03 Thread Evuraan
good thing you found the answer. I am glad you did, and oh, I am more  glad
that you found your solution  on ksh itself and not on advanced scripting
language, like Perl or Python.''



 Guys,

 I eventually found it with lots of rtfm on variable substitution and such..

 [...@dada~]$ z=0
 [...@dada~]$ y=1
 [...@dada~]$ x=aaa
 [...@dada~]$ eval `echo MACHINE_DISK$z[$y]`=$x
 [...@dada~]$ echo $(eval echo \${MACHINE_DISK$z[$y]})
 aaa
 [...@dada~]$

 Thanks anyway!


 --

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


Re: POLL: Linux preferences from FreeBSD users

2009-07-03 Thread Fred C


On Jul 3, 2009, at 6:01 AM, Polytropon wrote:


On Thu, 2 Jul 2009 08:28:01 -0600, Modulok modu...@gmail.com wrote:

That and Linux seems to only ever get the abridged version of manual
pages. When you compare manual pages for an equivalent commands
between FreeBSD and most Linux flavors, it really shows. I noticed
this when I went from Debian to FreeBSD. Finally! Real
documentation!


There ware two things that I found to be solved better in FreeBSD than
in various Linusi:

1. Amount of manual pages: FreeBSD does not only document commands,
it documents configuration files, kerlen interfaces, library functions
and maintenance procedures. The tradition of manual pages furthermore
is carried by third party software (ports), e. g. man opera - you
would not guess that it existed. In the opposite, try to find a
manpage of some KDE program (as if anyone would read manpages for
KDE things).

2. Quality of documentation: The manpages are excellently written.
No look at our Wiki or this page intentionally left free there.
furthermore, the OS's source is very tidy, uses good names for
functions, variables and datatypes, and has lots of useful comments.

As a developer, documentation is a MUST HAVE for me. Having all
the documentation avaliable off line right after installation
is very good.

Sadly, Linux didn't (doesn't?) offer this.


I agree, the linux documentation is very scarce. Having good man pages  
is very convenient, specially when you are in a data center with just  
a console on a cart. Having to go online to check some badly organised  
wiki is not always convenient or possible.


I also have my share of frustration with the logs. The messages in the  
log files are often inconsistent and unhelpful. In this following  
example the kernel is reporting a disk error but forgot to specify the  
most important information, the disk.


Jul  3 00:07:53 locdata204 kernel: [5706229.55] res  
41/40:00:52:4a:73/83:02:27:00:00/00 Emask 0x9 (media error)



-fred-

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


Hide Terminal window (using xfce4. and 7.2-RELEASE)?

2009-07-03 Thread Daniel Underwood
Whenever I run the particular Linux MATLAB installation I have access
to, it must be run from the command-line.  Consequently, I have the
MATLAB gui and an open terminal window (which only gets in the way).
Is there a way to hide this terminal window completely?  If I close
it, MATLAB closes.  I know I can move it to another Workspace, but I'm
hoping there's another way.

I don't mind that the Terminal window opens whenever I run MATLAB, I
would just like to be able to hide it each time.

NOTE: When I say hide, I mean simply make it not show up on the
screen.  I do not mean hide the process or anything of that nature.

TIA,
Daniel
___
freebsd-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: POLL: Linux preferences from FreeBSD users

2009-07-03 Thread Daniel Underwood
Are most of these shortcomings primarily due to the fact that FreeBSD
has a single structured line of development?
___
freebsd-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: Fix It CD, bsdlabel, and /dev?

2009-07-03 Thread Polytropon
On Fri, 03 Jul 2009 12:05:13 -0700, Drew Tomlinson d...@mykitchentable.net 
wrote:
 Next I used bsdlabel 
 and created 500M a: partitions on two of the drives (ad6  ad8).  
^
There is no colon after the partition letter. The colon
is used to refer (or change) to the 1st DOS diskette drive. :-)



 However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries such 
 as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must I do 
 the get them to show after I've labeled?

If you have /dev/ad[68]a, it indicates that you haven't created a
slice on those disks, instead you created one partition (a) on
each of the disks.

If you are a lazy guy (as I am), then use sysinstall to create the
slices and the partition. Choose standard MBR after the slice
editor and go ahead with the partition editor.




-- 
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: Hide Terminal window (using xfce4. and 7.2-RELEASE)?

2009-07-03 Thread Polytropon
On Fri, 3 Jul 2009 15:57:13 -0400, Daniel Underwood djuatde...@gmail.com 
wrote:
 Whenever I run the particular Linux MATLAB installation I have access
 to, it must be run from the command-line.  Consequently, I have the
 MATLAB gui and an open terminal window (which only gets in the way).
 Is there a way to hide this terminal window completely?
 If I close
 it, MATLAB closes. 

Of course.



 I know I can move it to another Workspace, but I'm
 hoping there's another way.

This is a function the window manager (i. e. XFCE 4) will have
to do.

Maybe you can do a trick to not have a terminal window. How about
running the MATLAB program from a kind of Start: dialog. I know it
existed in XFCE 3. Create an icon for it, and as the command line,
enter the MATLAB starting command.

Or does MATLAB explicitlely require to run from out of a terminal
session?



 I don't mind that the Terminal window opens whenever I run MATLAB, I
 would just like to be able to hide it each time.

Check for some kind of minimize after start option in XFCE 4.





-- 
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: POLL: Linux preferences from FreeBSD users

2009-07-03 Thread Polytropon
On Fri, 3 Jul 2009 15:59:26 -0400, Daniel Underwood djuatde...@gmail.com 
wrote:
 Are most of these shortcomings primarily due to the fact that FreeBSD
 has a single structured line of development?

In opposite to Linux, FreeBSD has the concept of a centrally maintained
operating system (the OS) and additional applications (everything
else) which means packages, ports, and 3rd party software. You can
see this even through the directory hierarchy: Everything inside
the /usr/local subtree is not needed for the OS (and can be removed
with leaving you with a completely intact OS). The distributors of
Linux choose what belongs to their distribution which does not have
such a separation. Basal software, as well as additional stuff, is
incorporated via some kind of packages, even the kernel can be
handled that way. Of course, as you said, most Linux distribution
has its own concept and line of development, separated from those
of the other distributions. That creates incompatibilities and
differences between the distributions. FreeBSD, on the other hand,
manages to keep even binary compatibility between major OS changes.
Those who develop and control the OS are programmers who put a lot
emphasize on quality - and that's very important to me.


-- 
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: Fix It CD, bsdlabel, and /dev?

2009-07-03 Thread Anton Shterenlikht
On Fri, Jul 03, 2009 at 10:04:06PM +0200, Polytropon wrote:
 On Fri, 03 Jul 2009 12:05:13 -0700, Drew Tomlinson d...@mykitchentable.net 
 wrote:
  Next I used bsdlabel 
  and created 500M a: partitions on two of the drives (ad6  ad8).  
 ^
 There is no colon after the partition letter. The colon
 is used to refer (or change) to the 1st DOS diskette drive. :-)
 
 
 
  However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries such 
  as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must I do 
  the get them to show after I've labeled?
 
 If you have /dev/ad[68]a, it indicates that you haven't created a
 slice on those disks, instead you created one partition (a) on
 each of the disks.
 
 If you are a lazy guy (as I am), then use sysinstall to create the
 slices and the partition. Choose standard MBR after the slice
 editor and go ahead with the partition editor.

why not give gpart(8) a go?

-- 
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: Hide Terminal window (using xfce4. and 7.2-RELEASE)?

2009-07-03 Thread Paul B. Mahol
On 7/3/09, Daniel Underwood djuatde...@gmail.com wrote:
 Whenever I run the particular Linux MATLAB installation I have access
 to, it must be run from the command-line.  Consequently, I have the
 MATLAB gui and an open terminal window (which only gets in the way).
 Is there a way to hide this terminal window completely?  If I close
 it, MATLAB closes.  I know I can move it to another Workspace, but I'm
 hoping there's another way.

 I don't mind that the Terminal window opens whenever I run MATLAB, I
 would just like to be able to hide it each time.

 NOTE: When I say hide, I mean simply make it not show up on the
 screen.  I do not mean hide the process or anything of that nature.

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


Type this into terminal:
Ctrl+Z bg Enter Ctrl+D
-- 
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: Fix It CD, bsdlabel, and /dev?

2009-07-03 Thread Wojciech Puchar

However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries such
as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must I do
the get them to show after I've labeled?


If you have /dev/ad[68]a, it indicates that you haven't created a
slice on those disks, instead you created one partition (a) on
each of the disks.


there is completely NO REASON to create slices at all, unless you want to 
use windoze on the same drive.


i don't have slices on any of my FreeBSD systems
___
freebsd-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: Hide Terminal window (using xfce4. and 7.2-RELEASE)?

2009-07-03 Thread Warren Block

On Fri, 3 Jul 2009, Daniel Underwood wrote:


Whenever I run the particular Linux MATLAB installation I have access
to, it must be run from the command-line.


Why?  More specifically, can't it be started from the XFCE menu with 
Run Program or right-click the desktop and Create Launcher?


Consequently, I have the MATLAB gui and an open terminal window (which 
only gets in the way). Is there a way to hide this terminal window 
completely?  If I close it, MATLAB closes.  I know I can move it to 
another Workspace, but I'm hoping there's another way.


Can't see your command line.  If it's just a single command, you could 
run it as


  command 

which will run command in the background and leave it running if you 
close the terminal window.


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


Re: Hide Terminal window (using xfce4. and 7.2-RELEASE)?

2009-07-03 Thread Daniel Underwood
 Why?  More specifically, can't it be started from the XFCE menu with Run
 Program or right-click the desktop and Create Launcher?

I don't know, honestly.  Whenever I try to run it from a Launcher or
via Run Program, it will display the splash screen, but then
terminate.  This also happens on all Linux machines I use.
___
freebsd-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: Fix It CD, bsdlabel, and /dev?

2009-07-03 Thread Drew Tomlinson

Polytropon wrote:

On Fri, 03 Jul 2009 12:05:13 -0700, Drew Tomlinson d...@mykitchentable.net 
wrote:
  
Next I used bsdlabel 
and created 500M a: partitions on two of the drives (ad6  ad8).  


^
There is no colon after the partition letter. The colon
is used to refer (or change) to the 1st DOS diskette drive. :-)
  


I'm not sure what you mean here.  I showed it as a: as that's how 
bsdlabel reports it when displaying the label 'bsdlabel ad6' for example.


However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries such 
as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must I do 
the get them to show after I've labeled?



If you have /dev/ad[68]a, it indicates that you haven't created a
slice on those disks, instead you created one partition (a) on
each of the disks.
  
I think this was part of my problem.  For example, I did 'bsdlabel ad6' 
instead of 'bsdlabel ad6s1'.  Now I have entries such as /dev/ad6s1a and 
/dev/ad8s1a after using 'bsdlabel -e dev'.


However now I use 'gmirror label root /dev/ad[68]s1a' as in the guide.  
No error is reported at the command line but /dev/mirror/root is not 
created either.  Any ideas?


Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.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: Fix It CD, bsdlabel, and /dev?

2009-07-03 Thread Drew Tomlinson

Wojciech Puchar wrote:
However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries 
such
as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must 
I do

the get them to show after I've labeled?


If you have /dev/ad[68]a, it indicates that you haven't created a
slice on those disks, instead you created one partition (a) on
each of the disks.


there is completely NO REASON to create slices at all, unless you want 
to use windoze on the same drive.


i don't have slices on any of my FreeBSD systems


I must admit I am confused by slices and partitions.  I only want to use 
FreeBSD on this box.  It has 4 drives detected as follows:


ad6 - 750 GB
ad8 - 500 GB
ad12 - 500 GB
ad14 - 500 GB

My thought is to break the disks up as so:

ad6
a: 500M
b: 500M
d: 465G
e: 225G (rest of drive)

ad8
a: 500M
b: 500M
d: 465G (rest of drive)

ad12
b: 1000M
d: 465G (rest of drive)

ad14
b: 1000M
d: 465G (rest of drive)

Then to install, I want to use gmirror and zfs as so:

/ - mirror ad6a and ad8a

swap - all the b: partitions (if that's the right term) for a total of 3 
GB swap.


zfs - make a raid1z zpool with ad6d, ad8d, ad12d, and ad14d.  in this 
pool I will create /usr and /var


ad6e will just be extra space for some other use.

So does my plan make sense?  And if so, how can I best accomplish it?

Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.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: Hide Terminal window (using xfce4. and 7.2-RELEASE)?

2009-07-03 Thread Warren Block

On Fri, 3 Jul 2009, Daniel Underwood wrote:


Why?  More specifically, can't it be started from the XFCE menu with Run
Program or right-click the desktop and Create Launcher?


I don't know, honestly.  Whenever I try to run it from a Launcher or
via Run Program, it will display the splash screen, but then
terminate.  This also happens on all Linux machines I use.


Some searching suggests matlab -desktop may be what is needed.

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

Re: Fix It CD, bsdlabel, and /dev?

2009-07-03 Thread Polytropon
On Fri, 03 Jul 2009 15:04:45 -0700, Drew Tomlinson d...@mykitchentable.net 
wrote:
 Polytropon wrote:
  On Fri, 03 Jul 2009 12:05:13 -0700, Drew Tomlinson 
  d...@mykitchentable.net wrote:

  Next I used bsdlabel 
  and created 500M a: partitions on two of the drives (ad6  ad8).  
  
  ^
  There is no colon after the partition letter. The colon
  is used to refer (or change) to the 1st DOS diskette drive. :-)

 
 I'm not sure what you mean here.  I showed it as a: as that's how 
 bsdlabel reports it when displaying the label 'bsdlabel ad6' for example.

Of course you're correct: bsdlabel shows a:. In terminology, when
refering to a partition, it's usually said partition a or partition
ad6s1a instead of partition a:. The convention a: - drive letters -
is very common in DOS, as well as in other modern MICROS~1 products. 
In fact, I was just joking, as when people are asking questions
about a /home folder or hard discs. Terminology. :-)



 I think this was part of my problem.  For example, I did 'bsdlabel ad6' 
 instead of 'bsdlabel ad6s1'.  Now I have entries such as /dev/ad6s1a and 
 /dev/ad8s1a after using 'bsdlabel -e dev'.

As Wojciech mentioned, the *need* to have a slice on a disk is
mostly not there when you're using BSD only - there's no problem
if you don't have a slice, but just one partition covering the
whole disk. Then you just operate on this partition.

You can even newfs the whole disk without making a partition.
In this case, the c partition - the whole disk - is used,
and you can omit the c. If you newfs ad6, you end up with a
formatted ad6 partition ad6c, which is equivalent to ad6.
But that's going off-topic.




-- 
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: Hide Terminal window (using xfce4. and 7.2-RELEASE)?

2009-07-03 Thread Randy Pratt
On Fri, 3 Jul 2009 17:21:58 -0400
Daniel Underwood djuatde...@gmail.com wrote:

  Why?  More specifically, can't it be started from the XFCE menu with Run
  Program or right-click the desktop and Create Launcher?
 
 I don't know, honestly.  Whenever I try to run it from a Launcher or
 via Run Program, it will display the splash screen, but then
 terminate.  This also happens on all Linux machines I use.

I'm not familar with MATLAB but you may find ports/sysutils/screen
helpful.  See http://www.gnu.org/software/screen/ for more
information.  I use it for starting some programs in a detached
mode but they can be reattached at any time.

HTH,

Randy
___
freebsd-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: Hide Terminal window (using xfce4. and 7.2-RELEASE)?

2009-07-03 Thread Polytropon
On Fri, 3 Jul 2009 18:28:29 -0400, Randy Pratt bsd-u...@embarqmail.com wrote:
 I'm not familar with MATLAB but you may find ports/sysutils/screen
 helpful.  See http://www.gnu.org/software/screen/ for more
 information.  I use it for starting some programs in a detached
 mode but they can be reattached at any time.

There's a tool called detach included in the ports. It allows you
to start a process and then keep it running independent of the
existence of its starting shell or your login shell.



-- 
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: Hide Terminal window (using xfce4. and 7.2-RELEASE)?

2009-07-03 Thread Daniel Underwood
 Some searching suggests matlab -desktop may be what is needed.

Yep, that did 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


SUCCESS: Re: gmirror per partition

2009-07-03 Thread Anton Shterenlikht
On Fri, Jul 03, 2009 at 01:18:28PM +0200, Alban Hertroys wrote:
 On Jul 3, 2009, at 12:12 PM, Anton Shterenlikht wrote:
 
  now to mirror root partition.
 
  My problem is that root is mounted and cannot (?) be unmounted,  
  unlike /efi,
  on the live system.
 
  # gpart add -b 819234 -s 1048576 -t freebsd-ufs da1
  da1p2 added
  #
 
  # gmirror label -vb round-robin root /dev/da0p2
  gmirror: Can't store metadata on /dev/da0p2: Operation not permitted.
  #
 
  If I create gmirror on da1, the spare disk:
 
  # gmirror label -vb round-robin root /dev/da1p2
  Metadata value stored on /dev/da0p1.
  Done.
  #
 
  so that
 
  # gmirror status
NameStatus  Components
  mirror/efi  COMPLETE  da0p1
da1p1
  mirror/root  COMPLETE  da1p2
 
  #
 
 
  then I still cannot insert da0p2
 
 
  # gmirror insert root da0p2
  gmirror: Cannot access provider da0p2.
  #
 
  So how can I gmirror root partion on a live system?
 
 You're almost there... I did this a while ago, can't remember when,  
 but I just upgraded the system that had this from FreeBSD 6.3 of  
 sometime in 2006 to 7.2.
 
 What I believe I did from this point on was:
 
 Copy everything from the root partition to mirror/root.
 Modify /etc/fstab to mount root on mirror/root.
 Reboot.
 
 Now the original root partition isn't mounted anymore, so we can do  
 operate on it's geom stuff.
 
 gmirror insert root da0p2
 
 That should be it.
 If that doesn't work you can always boot off a live file-system CD/DVD  
 and perform these actions from there. You won't have man pages in that  
 case though, or at least I couldn't find a way to read them off the  
 DVD last I tried.
 
 One thing I'd like to warn about at this point:
 If you ever upgrade to a kernel with a newer geom metadata version and  
 that new kernel crashes, you're left with a system where the new  
 kernel can't boot at all while the old kernel can't mount the root  
 mirror as it's now of a version it can't handle.
 You can however mount a single geom provider of that root file system  
 (/dev/da1p2 for example) to try to fix things.
 That file-system WILL be dirty, but DON'T run fsck on it or you will  
 destroy it's contents. That's what happened to my upgrade above...
 
 Thankfully it was only my root partition with hardly any data on it  
 and I did make level 0 dumps before the upgrade, but I needed to  
 restore that FS from a fixit shell without man pages. Augh!

thank you, that was helpful.

I think I've got it, but it's a bit more complex on ia64
because /boot is a symlink to /efi/boot, which is a separate
partition.

Anyway, I've got:

# gmirror status
   NameStatus  Components
 mirror/efi  COMPLETE  da0p1
   da1p1
mirror/root  COMPLETE  da0p2
   da1p2
mirror/swap  COMPLETE  da0p3
   da1p3
 mirror/var  COMPLETE  da1p4
   da0p4
 mirror/tmp  COMPLETE  da1p5
   da0p5
 mirror/usr  DEGRADED  da1p6
   da0p6 (24%)
# 

I'll try to write up my experience and post later.

thanks again

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


can't get atheros ar2413 to connect under freebsd 7.2

2009-07-03 Thread Atheer Elobadi
hello,
I've been trying to set my wireless card under Freebsd 7.2-RELEASE, but no
success (it worked fine on 7.0).. would appreciate some advice


in /boot/loader.conf:

if_ath_load=YES
wlan_tkip_load=YES
wlan_scan_ap_load=YES
wlan_scan_sta_load=YES


in: /etc/wpa_supplicant.conf:

network={
 ssid=Myssid
 key_mgmt=WPA-PSK
 psk=MySharedPhrase
}


and in /etc/rc.conf:

ifconfig_ath0=WPA DHCP


then i run/etc/rc.d/netif start
it gives up

** by the way.. ifconfig ath0 up scangives nothing..  not even an error
message.. what shall i do ??

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


FreeBSD 7.2 o/s on a flash stick

2009-07-03 Thread Al Plant

Aloha Gurus.

All the gogle-ing I did does not give a current status on or how-to on 
installing FreeBSD 7.2 on a flash stick on one slice with the default 
partions.  I want to boot from it on a mini lap top ( no CD ) and use it 
like the hd inside.


I see plenty of how-to's on loading Flash sticks for installing on other 
boxes and using a 2 slice flash to load FreeBSD onto other duplicate 
boxes again.


All I need is to have a FreeBSD  o/s on the stick so I can use it 
instead of the OS on the existing laptop.


I'm sure I saw on this list where somebody did this successfully but I 
cant find it.


Any help is appreciated. Thanks.

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

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


Re: Fix It CD, bsdlabel, and /dev?

2009-07-03 Thread doug



On Fri, 3 Jul 2009, Drew Tomlinson wrote:


Wojciech Puchar wrote:

However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries such
as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must I do
the get them to show after I've labeled?


If you have /dev/ad[68]a, it indicates that you haven't created a
slice on those disks, instead you created one partition (a) on
each of the disks.


there is completely NO REASON to create slices at all, unless you want to 
use windoze on the same drive.


i don't have slices on any of my FreeBSD systems


I must admit I am confused by slices and partitions.  I only want to use 
FreeBSD on this box.  It has 4 drives detected as follows:



Try http://www.freebsdwiki.net/ and search for 'disk partitions' Sections on

   Hard Disk Partition Sizes
   Partitioning Tips and Tricks

should be helpful. You can adapt these concepts to suit how your system is to be 
used and to take advantage of the hardware you have.

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


Re: FreeBSD 7.2 o/s on a flash stick

2009-07-03 Thread Fbsd1

Al Plant wrote:

Aloha Gurus.

All the gogle-ing I did does not give a current status on or how-to on 
installing FreeBSD 7.2 on a flash stick on one slice with the default 
partions.  I want to boot from it on a mini lap top ( no CD ) and use it 
like the hd inside.


I see plenty of how-to's on loading Flash sticks for installing on other 
boxes and using a 2 slice flash to load FreeBSD onto other duplicate 
boxes again.


All I need is to have a FreeBSD  o/s on the stick so I can use it 
instead of the OS on the existing laptop.


I'm sure I saw on this list where somebody did this successfully but I 
cant find it.


Any help is appreciated. Thanks.

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

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




Hi Al

The way i have done this in 7.0 7.1 and 7.2 is to boot off the cd1 
install cd and do a normal install to my 1gb flash stick. A 1gb flash 
stick is to small for the default slice sizes. You will have to manually 
allocate the / /usr /var /swap sizes. I also found it usefully to set 
the boot flag when allocating the whole flash stick. A 2gb or larger 
flash stick allows you to take the auto-allocate option for / /usr /var 
/swap sizes. Keep in mind that your /var log files can fill up you flash 
stick real quick and lock up your system. If your running this flash 
stick 7/24 then rotate them more often deleting the oldest one. It's as 
simple as that.

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


VT100 FreeBSD spreadsheet with data manipulation connections

2009-07-03 Thread Kelly Jones
I'm looking for a command-line (VT100) FreeBSD spreadsheet that has
data manipulation connections.

That is: other applications can edit the spreadsheet (via some API),
and the spreadsheet can run commands when cells are edited.

My goal: create a VT100 spreadsheet-like interface to sqlite3 (and
maybe other dbs).

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org