Re: SU+J Lost files after a power failure

2013-10-14 Thread CeDeROM
Thank you all for good hints! This will come handy! :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: SU+J Lost files after a power failure

2013-10-14 Thread CeDeROM
On Mon, Oct 14, 2013 at 7:54 PM, Bruce Cran  wrote:
> On 10/14/2013 6:16 PM, CeDeROM wrote:
>> Isn't there Journal to prevent and reverse such damage?
>
> Unlike other journaling filesystems, UFS+J only protects the metadata, not
> the data itself - i.e. I think it ensures you won't have to run a manual
> fsck, but just like plain old UFS files may be truncated as the journal is
> replayed.

Thank you for explaining :-) So it looks that it would be sensible to
force filesystem check every n-th mount..? Or to do a filesystem check
after crash..? Are there any flags like that to mark filesystem
unclean and to force fsck after n-th mount? That would assume
disabling journal and soft updates journaling I guess..?

What would be the best option for best data integrity in case of
crash? That would be helpful for development systems I guess :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: SU+J Lost files after a power failure

2013-10-14 Thread CeDeROM
On Mon, Oct 14, 2013 at 7:09 PM, Brad Mettee  wrote:
> On 10/14/2013 12:50 PM, CeDeROM wrote:
>> Then why random files gets damaged as well even they are not
>> accessed/written on power loss? :-)
>
> Random files can be affected because the sectors of the hard disk containing
> the directory entries for those files, not the file data itself, may be
> damaged (ie: the directory was in the process of being written OR the
> pointer to that SECTOR was in the process of being written).
>
> It doesn't mean a file was in active use, just that a chunk of the disk with
> data relevant to that file was. Keep in mind, one sector of disk may have
> data for a dozen files in it (or more). Damage doesn't have to occur because
> a given file was in use at the time of a crash.

Isn't there Journal to prevent and reverse such damage?

> If your power grid is prone to failures or blips, I strongly suggest
> investing in a UPS.

I have UPS in my desktop and also I am working on a laptop, so the
power supply is not the only possible cause of system crash.. this may
be faulty driver, hardware failure, kernel panic, etc.

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: SU+J Lost files after a power failure

2013-10-14 Thread CeDeROM
On Mon, Oct 14, 2013 at 6:56 PM, Adam Vande More  wrote:
> On Mon, Oct 14, 2013 at 11:50 AM, CeDeROM  wrote:
>> Then why random files gets damaged as well even they are not
>> accessed/written on power loss? :-)
> Prove they weren't.

Hmm, maybe /etc/pwd.db as David mentioned? This is updated on password
change, which does not happen all the time.. so why it was damaged
when no write occured..?

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: SU+J Lost files after a power failure

2013-10-14 Thread CeDeROM
On Mon, Oct 14, 2013 at 6:47 PM, Adam Vande More  wrote:
> On Mon, Oct 14, 2013 at 11:34 AM, David Demelier
> wrote:
>>
>> Why? SU+J is enabled by default. Isn't the purpose of a journaled file
>> system to ensure that any bad shutdown will protect data?
>
> As already stated, those measures are to preserve fs integrity eg meta data
> is in sync.  It doesn't ensure that all the outstanding writes are
> committed to disk in the event of a power outage.

Then why random files gets damaged as well even they are not
accessed/written on power loss? :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: SU+J Lost files after a power failure

2013-10-14 Thread CeDeROM
On Mon, Oct 14, 2013 at 6:34 PM, David Demelier
 wrote:
> Why? SU+J is enabled by default. Isn't the purpose of a journaled file
> system to ensure that any bad shutdown will protect data?
>
> On GNU/Linux, on Windows you will not require anything else to recover
> your data.
>
> I don't want to tweak the filesystem or use something different that the
> default, as it is the default it's the *warranty* that it is the correct
> way to protect data for new FreeBSD user's installations IMHO.

Agree :-) SU+J also seems to cause problems on SSD drives:

http://lists.freebsd.org/pipermail/freebsd-fs/2013-February/016420.html

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: SU+J Lost files after a power failure

2013-10-13 Thread CeDeROM
On 13 Oct 2013 11:30, "David Demelier"  wrote:
> Hello there,
> I'm writing because after a power failure I was unable to log in on my
> FreeBSD 9.2-RELEASE. The SU+J journal were executed correctly but some
> files disappeared, including /etc/pwd.db. Thus I was unable to log in.
> I've been able to regenerate the password database with a live cd but
> I'm afraid that more files had disappeared somewhere else...
> I think this is a serious issue, the journal should not truncate files,
> so something should have gone wrong somewhere..
> Any ideas? Should I open a PR

I had similar issues somewhere around 9.0 - although journal check was fine
running fsck revealed filesystem inconsistency. I have reported this on the
list, but it seemed unnoticed..? For me this is serious issue as well, if
you make PR I will give +1 :-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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 9.2-RELEASE stability?

2013-10-01 Thread CeDeROM
On Tue, Oct 1, 2013 at 3:53 PM, Mark Felder  wrote:
> On Mon, Sep 30, 2013, at 14:01, Brett Glass wrote:
>> How stable are folks finding FreeBSD 9.2-RELEASE to be?

For me freebsd-update from 9.1 to 9.2 went smooth on my workstation
laptop, the userland works fine :-)

I remember myself "Nakatomi BSD 9.2" on the movie (in the reception
hall scene), I was su suprised back then to see BSD in this kind of
movie :-)

Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: Does KMS work with gen 2 Intel graphics on FreeBSD 9.1?

2013-09-10 Thread CeDeROM
On Tue, Sep 10, 2013 at 4:08 PM, Sean DuBois  wrote:

> Another good check (right now) is to switch to a text console VT
> switching is not enabled so the screen will stay black
> (See https://wiki.freebsd.org/Intel_GPU)
>

This is realy painful that there is no text console :-( This is why I still
need to use VESA driver :-(

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: undelete files in msdosfs

2013-08-18 Thread CeDeROM
On Sun, Aug 18, 2013 at 7:00 PM, Matthias Apitz  wrote:
> After a nice day in the fields, my wife deleted accidently the pictures
> in her cam; the microSD mounts fine in FreeBSD as -t msdosfs; do we have
> some FreeBSD 10-CUR tool to undelete the files, as there are some for M$?

/usr/ports/sysutils/testdisk

http://www.cgsecurity.org/wiki/TestDisk

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


9.2-RC1 rc.firewall workstation type and myservices

2013-08-12 Thread CeDeROM
Hello :-)

I just have setup some service on 9.2-RC1. I want this service to be
available on WAN but still I want to have stateful firewall running. I
am using workstation firewall type and put the service port on
firewall_myservices. However by default only TCP connections are
accepted, still I need to serve UDP connections. Wouldn't that be more
convenient to change "TCP" into "IP" for default firewall_myservices
and maybe add TCP and UDP for firewall_myservices_{tcp,udp} ? Below is
the script part..

Best regards,
Tomek

# Add permits for this workstations published services below
# Only IPs and nets in firewall_allowservices is allowed in.
# If you really wish to let anyone use services on your
# workstation, then set "firewall_allowservices='any'" in /etc/rc.conf
#
# Note: We don't use keep-state as that would allow DoS of
#   our statetable.
#   You can add 'keep-state' to the lines for slightly
#   better performance if you fell that DoS of your
#   workstation won't be a problem.
#
for i in ${firewall_allowservices} ; do
  for j in ${firewall_myservices} ; do
${fwcmd} add pass tcp from $i to me $j
  done
done


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


usb wifi dongle for advanced testing - recommendation request

2013-07-18 Thread CeDeROM
Hello :-)

I am looking for a really good and well supported WiFi USB dongle for
advanced testing like network sniffing, packet injection, setting up
access point, etc. I guess that would be Atheros based device? Can you
recommend a solution that works for you? :-)

Thank you! :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: chrome does not refresh screen content

2013-07-09 Thread CeDeROM
On Tue, Jul 9, 2013 at 11:35 AM, CeDeROM  wrote:
> On Tue, Jul 9, 2013 at 11:30 AM, George Liaskos  wrote:
>> Do you have kern.ipc.shm_allow_removed set?
>> http://svnweb.freebsd.org/ports/head/www/chromium/pkg-message?revision=318200
>
> Thank you George! That was not set on my system, will try and let you
> know the results!

Yes, kern.ipc.shm_allow_removed=1 seems to be working! I missed that
setting, thank you George! :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: chrome does not refresh screen content

2013-07-09 Thread CeDeROM
On Tue, Jul 9, 2013 at 11:30 AM, George Liaskos  wrote:
> Do you have kern.ipc.shm_allow_removed set?
> http://svnweb.freebsd.org/ports/head/www/chromium/pkg-message?revision=318200

Thank you George! That was not set on my system, will try and let you
know the results!

THANKS!! :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: chrome does not refresh screen content

2013-07-09 Thread CeDeROM
On Tue, Jul 9, 2013 at 7:21 AM, Shane Ambler  wrote:
> I see this issue while playing videos in vlc, it's not 100% but close,
> so it may be related to video resolution or codec. As soon as I stop the
> video (not pause but stop) the windows draw properly again.

Hello Shane :-) My problem is not related to videos, as it occurs on
standard websites with no multimedia, maybe some more JavaScripts
activitiy..

Your VLC/Xorg refresh related problem may be related to invalid Xorg
configuration - please search for hald and xorg autodetectinput - if
you have frozen screen until you move a mouse this is it and you can
solve it relatively easy :-)

Best regards! :-)
Tomek

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


chrome does not refresh screen content

2013-07-08 Thread CeDeROM
Hello :-)

I have noted this nasty and disturbing problem with Chromium that it
very often does not refresh screen/display so I get result after few
seconds or need to refresh page to see a change. It does not happen
with other browsers and/or x-applications. Did anyone notice that
problem? I am using public pkgng binaries from
http://mirror.exonetric.net/pub/pkgng/freebsd:9:x86:64/latest. I guess
it might be related to some stuff with GTK...

% pkg info -Bdo chromium
chromium-25.0.1364.172 depends on:
ORBit2-2.14.19
alsa-lib-1.0.26
alsa-plugins-1.0.26
atk-2.6.0
binutils-2.23.1
bitstream-vera-1.10_5
cairo-1.10.2_5,2
compositeproto-0.4.2
cups-client-1.5.4_1
damageproto-1.2.1
dbus-glib-0.100.2
dbus-1.6.8
dconf-0.12.1_1
droid-fonts-ttf-20110324
encodings-1.0.4,1
expat-2.0.1_2
fixesproto-5.0
font-bh-ttf-1.0.3
font-misc-ethiopic-1.0.3
font-misc-meltho-1.0.3
font-util-1.3.0
fontconfig-2.9.0,1
freetype2-2.4.12_1
gamin-0.1.10_5
gcc-ecj-4.5
gcc-4.6.3
gconf2-2.32.0_3
gdk-pixbuf2-2.26.5_3
gettext-0.18.1.1_1
gio-fam-backend-2.34.3
glib-2.34.3
gmp-5.1.1
gnome_subr-1.0
gnomehier-3.0
gobject-introspection-1.34.2
gtk-update-icon-cache-2.24.18
gtk-2.24.18
hicolor-icon-theme-0.12
inputproto-2.3
jasper-1.900.1_12
jbigkit-1.6
jpeg-8_4
kbproto-1.0.6
libICE-1.0.8,1
libSM-1.2.1,1
libX11-1.6.0,1
libXScrnSaver-1.2.1
libXau-1.0.8
libXcomposite-0.4.4,1
libXcursor-1.1.14
libXdamage-1.1.4
libXdmcp-1.1.1
libXext-1.3.2,1
libXfixes-5.0.1
libXft-2.3.1
libXi-1.7.1_1,1
libXinerama-1.1.3,1
libXrandr-1.4.1
libXrender-0.9.7_1
libXt-1.1.4,1
libXtst-1.2.2
libevent-1.4.14b_2
libexecinfo-1.1_3
libffi-3.0.13
libfontenc-1.1.2
libgcrypt-1.5.2
libgnome-keyring-2.32.0_4
libgpg-error-1.11
libiconv-1.14_1
libpci-3.2.0
libpthread-stubs-0.3_3
libtasn1-2.14
libvpx-1.1.0
libxcb-1.9.1
libxml2-2.8.0_2
libxslt-1.1.28_1
mkfontdir-1.0.7
mkfontscale-1.1.0
mpc-0.9
mpfr-3.1.2
nspr-4.9.6
nss-3.14.3
pango-1.30.1
pciids-20130530
pcre-8.33
perl-5.14.2_3
pixman-0.28.2
pkgconf-0.9.2_1
png-1.5.16
polkit-0.105_1
python27-2.7.5
randrproto-1.4.0
recordproto-1.14.2
renderproto-0.11.1
scrnsaverproto-1.2.1
shared-mime-info-1.1
sqlite3-3.7.17_1
tiff-4.0.3
xcb-util-renderutil-0.3.8
xcb-util-0.3.9_1,1
xextproto-7.2.1
xineramaproto-1.2.1
xorg-fonts-truetype-7.7
xproto-7.0.24

Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: gvim GUI cannot be used

2013-07-05 Thread CeDeROM
On Fri, Jul 5, 2013 at 2:11 PM, Raphael Ahrens
 wrote:
>> Have you tried "make config"  (as root) select X11 and graphical
> When I execute "cd /usr/ports/editors/vim; make config" I get
> ===> No options to configure

No options? Are you root? I have those http://justpaste.it/30li

Try:
sudo csh
portsnap fetch update
cd /usr/ports/editors/vim
make rmconfig
make config


-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: gvim GUI cannot be used

2013-07-05 Thread CeDeROM
On Fri, Jul 5, 2013 at 1:15 PM, Raphael Ahrens
 wrote:
> I tried this, but I get the same result.
> The thing is in the make prozess it prints
> defaulting to: don't HAVE_X11
> checking --enable-gui argument... no GUI support
> checking X11/SM/SMlib.h usability... yes
> checking X11/SM/SMlib.h presence... yes
> checking for X11/SM/SMlib.h... yes
> no GUI selected; xim has been disabled
> no GUI selected; fontset has been disabled

Have you tried "make config"  (as root) select X11 and graphical
toolkit, or "make -DHAVE_X11" . Maybe you have no x11/toolkit
dependencies installed.. but if you select them in config make should
build them for you?

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: gvim GUI cannot be used

2013-07-05 Thread CeDeROM
On Fri, Jul 5, 2013 at 12:43 PM, Raphael Ahrens
 wrote:
> After my last update of vim I can't use gvim anymore.
> If fails with the following message
> E25: GUI cannot be used: Not enabled at compile time
> Now what do I have to do to compile vim with GUI support?

Hey Raphael :-) Go to /usr/ports/editors/vim and make deinstall
reinstall it, that works for me, and it helps with dialogs in texmode
as well :-)

Best regards :-)
Tomek Cedro

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: Acer Laptop Bightness and Volume Hotkeys not working!

2013-06-23 Thread CeDeROM
Hey :-) For my Dell laptop the backlight is controlled by hardware, unlike
sound keys where you can assign them to use xf86audiovolumeup/down (or
similar) to interact with mixer. I would search for automatic backlight
hothey that would block manual control, or BIOS settings (like automatic
backlight) or maybe new BIOS would fix that problem..?
Best regards,
Tomek

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: Flash failing with videos on "youtube"

2013-06-17 Thread CeDeROM
On Mon, Jun 17, 2013 at 2:45 AM, Bernt Hansson  wrote:
> On 2013-06-16 13:39, Jerry wrote:
>> I saw the answer to this a while back, but I cannot find it now.
> youtube-dl -t 'filename'

You can also use this trick to work on youtube directly:

This video use flash player:
http://www.youtube.com/watch?v=M84Y6VXAIaU

This will give you player directly and can skip flash:
http://www.youtube.com/embed/M84Y6VXAIaU

This will download the video:
http://www.youtube.com/v/M84Y6VXAIaU

Not sure how to change format of a video that will be downloaded. You
can also use http://www.offliberty.com to download audio and video
tracks of web clips in mp3/mp4 format :-)

Best regards,
Tomek

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: Flash failing with videos on "youtube"

2013-06-16 Thread CeDeROM
On Sun, Jun 16, 2013 at 1:39 PM, Jerry  wrote:
> After working fine for quite a while, this problem has started. When
> attempting to play videos on "youtube", I am greeted with a message
> that states "Adobe Flash Player is Required for Video Playback?

Some clips are forced to show commercials and this does not work in
HTML5 even video can be served in WebM/VP8. yesterday I was working on
a Linux machine with flash player and before EVERY movie I got nasty
commercial, this was awful, I am happy that commercials does not work
in HTML5, Vimeo is somewhat alternative but it use proprietary H.264
on the othe hand. Web multimedia is a mess, but I am happy to see
Flash come to an end :-)

You may want to try out the EMBED solution that I have found some time
ago: https://www.tomek.cedro.info/youtube-and-html5/

Best regards,
Tomek

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: Operation timed out with smtp.gmail.com - please help

2013-03-29 Thread CeDeROM
gmail has blocking mechanism when you use it from different devices,
try this maybe it will help:

https://accounts.google.com/DisplayUnlockCaptcha

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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 Authentication

2013-03-24 Thread CeDeROM
Certificate + Password/PIN should be okay. You can maybe create a
policy for the target system to enable a screensaver to block the
screen after short period that will force user to enter his/hers
password..? I know in theory all seems easy :-) :-) Good luck! :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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 Authentication

2013-03-24 Thread CeDeROM
On Sun, Mar 24, 2013 at 9:03 AM, CeDeROM  wrote:
> Why don't you just use PKI for authentication (you can generate your
> own certificates)? You can easily upload keys/certificated to client
> machines (PC, Android, Apple, ...). That should work :-)

You can additionally encrypt keys/vertificates with a easy to remember
short PIN or password for increased security. I have seen this working
with Aladdin eToken maybe there is a pure software solution :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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 Authentication

2013-03-24 Thread CeDeROM
Why don't you just use PKI for authentication (you can generate your
own certificates)? You can easily upload keys/certificated to client
machines (PC, Android, Apple, ...). That should work :-)

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


fresh binary packages for 9.1 / 9 stable

2013-03-19 Thread CeDeROM
Hey hey :-)

Are there any news on fresh binary packages for 9.1-RELEASE / 9-STABLE? :-)

Best regards,
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: growisofs does not burn folders correctly all files are flat on the disk no folders

2013-03-11 Thread CeDeROM
On Mon, Mar 11, 2013 at 5:52 AM, Bernt Hansson  wrote:
> 2013-03-10 21:07, CeDeROM skrev:
>> I have problem with growisofs - I get all files flat on the disk there
>> are no directories as on the source drive :-( I had this once with BD
>> and once with DVD disk on my new 9.1-RELEASE machine.
> Make an ISO file first, then burn.

Yea I will try that way to see what is wrong, but I hoped maybe
someone had this problem also and found the solution :-)

Best regards :-)
Tomek

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


growisofs does not burn folders correctly all files are flat on the disk no folders

2013-03-10 Thread CeDeROM
Hey :-)

I have problem with growisofs - I get all files flat on the disk there
are no directories as on the source drive :-( I had this once with BD
and once with DVD disk on my new 9.1-RELEASE machine.

growisofs -Z/dev/cd2 -dvd-compat -R -J -iso-level 3 -udf *

% growisofs --version
* growisofs by , version 7.1,
  front-ending to mkisofs: mkisofs 3.00 (amd64-unknown-freebsd9.1)
Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2010 J�rg Schilling

Any hints welcome :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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 disable bluetooth

2013-03-03 Thread CeDeROM
Thank you Kaltheat! :-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: Journaling for a flaky FreeBSD VirtualBox guest.

2013-02-28 Thread CeDeROM
On Thu, Feb 28, 2013 at 8:41 AM, Alan Gutierrez  wrote:
> I run a Linux guest that suffers the same abuse, but does not lose data.
> My question:
> If anyone runs FreeBSD in VirtualBox, what VirtualBox settings do you use so
> that UFS will work correctly and recover recent writes?

I guess low reliability of UFS2+SU/J is becoming more and more
important problem. I don't know if this is the design flaw or
implementation problem. I would prefer the later as it could be
fixed...

ps/2: What hard drive do you use? Is it WD?

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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 disable bluetooth

2013-02-27 Thread CeDeROM
hey hey :-)  its not that i dont want the bluetooth at all, just want to
shut it down when its supposed to be shut down :-) bluetooth stack is
always functional and my device is always visible even if i disable all
bluetooth services, this seems insecure a bit huh. :-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
On 27 Feb 2013 17:41, "Polytropon"  wrote:

> On Mon, 25 Feb 2013 14:56:46 +0100, CeDeROM wrote:
> > hey, how can i disable bluetooth in freebsd (9.1)?
>
> Kill it with fire! ;-)
>
>
>
> > my device is visible to other devices whethever i switch the radio
> button,
> > also the radio button seems to be the only waynto disable my computer
> from
> > being visible to other devices...
> >
> > i hwve tried to disable bluetooth and ubt in loader.conf and various
> > serives in rc.conf but still my computer was visible to other devices. i
> > dont want it to be visible to other bluetooth computers but still i want
> to
> > have radio switched on to use wifi.
>
> You can try to omit Bluetooth entirely by defining the symbol
> WITHOUT_BLUETOOTH=yes in /etc/src.conf and rebuilding your
> system (kernel and world). See "man src.conf" for details.
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


how to disable bluetooth

2013-02-25 Thread CeDeROM
hey, how can i disable bluetooth in freebsd (9.1)?

my device is visible to other devices whethever i switch the radio button,
also the radio button seems to be the only waynto disable my computer from
being visible to other devices...

i hwve tried to disable bluetooth and ubt in loader.conf and various
serives in rc.conf but still my computer was visible to other devices. i
dont want it to be visible to other bluetooth computers but still i want to
have radio switched on to use wifi.

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


bluray disk record failes

2013-02-20 Thread CeDeROM
, estimate finish Wed Feb 20 20:04:51 2013
 91.47% done, estimate finish Wed Feb 20 20:04:51 2013
 91.68% done, estimate finish Wed Feb 20 20:04:50 2013
 91.89% done, estimate finish Wed Feb 20 20:04:51 2013
 92.09% done, estimate finish Wed Feb 20 20:04:50 2013
 92.30% done, estimate finish Wed Feb 20 20:04:51 2013
 92.51% done, estimate finish Wed Feb 20 20:04:50 2013
 92.71% done, estimate finish Wed Feb 20 20:04:50 2013
 92.92% done, estimate finish Wed Feb 20 20:04:51 2013
 93.13% done, estimate finish Wed Feb 20 20:04:50 2013
 93.33% done, estimate finish Wed Feb 20 20:04:50 2013
 93.54% done, estimate finish Wed Feb 20 20:04:50 2013
 93.75% done, estimate finish Wed Feb 20 20:04:50 2013
 93.96% done, estimate finish Wed Feb 20 20:04:50 2013
 94.16% done, estimate finish Wed Feb 20 20:04:50 2013
 94.37% done, estimate finish Wed Feb 20 20:04:50 2013
 94.58% done, estimate finish Wed Feb 20 20:04:49 2013
 94.78% done, estimate finish Wed Feb 20 20:04:50 2013
 94.99% done, estimate finish Wed Feb 20 20:04:49 2013
 95.20% done, estimate finish Wed Feb 20 20:04:50 2013
 95.40% done, estimate finish Wed Feb 20 20:04:49 2013
 95.61% done, estimate finish Wed Feb 20 20:04:49 2013
 95.82% done, estimate finish Wed Feb 20 20:04:50 2013
 96.02% done, estimate finish Wed Feb 20 20:04:49 2013
 96.23% done, estimate finish Wed Feb 20 20:04:49 2013
 96.44% done, estimate finish Wed Feb 20 20:04:49 2013
 96.65% done, estimate finish Wed Feb 20 20:04:49 2013
 96.85% done, estimate finish Wed Feb 20 20:04:48 2013
 97.06% done, estimate finish Wed Feb 20 20:04:49 2013
 97.27% done, estimate finish Wed Feb 20 20:04:48 2013
 97.47% done, estimate finish Wed Feb 20 20:04:48 2013
 97.68% done, estimate finish Wed Feb 20 20:04:49 2013
 97.89% done, estimate finish Wed Feb 20 20:04:48 2013
 98.09% done, estimate finish Wed Feb 20 20:04:49 2013
 98.30% done, estimate finish Wed Feb 20 20:04:48 2013
 98.51% done, estimate finish Wed Feb 20 20:04:48 2013
 98.72% done, estimate finish Wed Feb 20 20:04:48 2013
 98.92% done, estimate finish Wed Feb 20 20:04:48 2013
 99.13% done, estimate finish Wed Feb 20 20:04:48 2013
 99.34% done, estimate finish Wed Feb 20 20:04:48 2013
 99.54% done, estimate finish Wed Feb 20 20:04:48 2013
 99.75% done, estimate finish Wed Feb 20 20:04:47 2013
 99.96% done, estimate finish Wed Feb 20 20:04:48 2013
Total translation table size: 0
Total rockridge attributes bytes: 653554
Total directory bytes: 1437696
Path table size(bytes): 6476
Max brk space used 0
2416046 extents written (4718 MB)
builtin_dd: 2416048*2KB out @ average 1.4x4390KBps
/dev/pass4: flushing cache
/dev/pass4: closing track
/dev/pass4: closing session
:-[ CLOSE SESSION failed with SK=5h/INVALID FIELD IN CDB]: Input/output error
cederom@hexagon:/mnt/stuff1200ufs/bkp/mh/20130219/dane % dev/pass4:
pre-formatting blank BD-R for 24.8GB...
dev/pass4:: Too many arguments.
cederom@hexagon:/mnt/stuff1200ufs/bkp/mh/20130219/dane % /dev/pass4:
"Current Write Speed" is 8.2x4390KBps.
/dev/pass4:: Too many arguments.


% dmesg|grep cd
re0: Ethernet address: f4:6d:04:cd:f2:6f
orm0:  at iomem 0xcd800-0xc on isa0
cd2 at ata0 bus 0 scbus6 target 1 lun 0
cd2:  Removable CD-ROM SCSI-0 device
cd2: 150.000MB/s transfers (SATA, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd2: Attempt to query device size failed: NOT READY, Medium not
present - tray closed
cd0 at ata2 bus 0 scbus0 target 0 lun 0
cd0:  Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not
present - tray closed
cd1 at ata2 bus 0 scbus0 target 1 lun 0
cd1:  Removable CD-ROM SCSI-0 device
cd1: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd1: Attempt to query device size failed: NOT READY, Medium not
present - tray closed


-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: Upgrade causes loss of all firefox settings (?)

2013-02-13 Thread CeDeROM
On Wed, Feb 13, 2013 at 11:35 AM, Bernt Hansson  wrote:
>> A blind Linux user's homepage: http://juliencoder.de/
>> The homepage of my provider: http://www.o2online.de/
>> What site is more pleasant ;)?
> The first one.

Agree, it contains more information than the second one which is
picture-flash based and I cannot see ~80% of its content :-)

Anyway the best thing in BSD is that you can do ANYTHING from the
commandline with a simple command set, including full system
configuration, package creation, kernel build, etc :-)

Best regards :-)
Tomek Cedro

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread CeDeROM
On Tue, Feb 12, 2013 at 11:11 PM, Ralf Mardorf
 wrote:
> Firefox is my preferred browser, but it has some disadvantages compared
> to other browsers.

Give a try to Chromium :-) I have been using Opera for long time
because it was fast and small. Not that long ago I have switched to
Chromium and this was really good step - it is opensource/bsd, faster
than firefox, you will find shortcut keys almost the same as in
firefox/gnome, very good integration with google, h264 support, lots
of applications/applets, etc etc :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: Upgrade causes loss of all firefox settings (?)

2013-02-12 Thread CeDeROM
On Tue, Feb 12, 2013 at 10:38 PM, Ronald F. Guilmette
 wrote:
> Looking into this issue a bit deeper, I've now learned that all of
> one's personal settings are stored in a directory having a name which
> has the following general form:
> ~/.mozilla/firefox/.default

Hey Ronald, are you sure there is no corruption on the disk? Have you
preformatted your new drive? I had disks that lost data if used with
no pre-format stage. Have you tried forcing fsck? Sometimes when my
machine crash there is a silent corruption on the filesystem and some
settings are lost/changed...

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: VirtualBox 4.1.22 and Bridged Network problems

2013-02-06 Thread CeDeROM
I have built 4.2.6 and its working again! Thank you! :-)

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


VirtualBox 4.1.22 and Bridged Network problems

2013-02-06 Thread CeDeROM
Hello :-)

I cannot get Bridged Network setup in VBox 4.1.22 on my 9.1RC3 AMD64 -
I get no traffic to the host interface at all. Did anyone noticed this
or related problems?

I have tried to watch the host interface with WireShark. I have
disabled local firewall. I have set net.inet.ip.forwarding=1. Still
can't get the bridged connection working :-(

Any hints appreciated :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: devd wlan wpa

2013-02-05 Thread CeDeROM
On Tue, Feb 5, 2013 at 1:33 PM, CeDeROM  wrote:
> On Tue, Feb 5, 2013 at 1:24 PM, Alexandre  wrote:
>> There is this entry for the network aggregation in the Handbook

Also this failover is also prone to the wlan0+wpa issue, as bringing
up the wlan0 interface does not bring up the link, so I need to have
devd configured anyway... :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-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: devd wlan wpa

2013-02-05 Thread CeDeROM
On Tue, Feb 5, 2013 at 1:24 PM, Alexandre  wrote:
> There is this entry for the network aggregation in the Handbook

Thank you Alexandre! This is not exactly what I am looking for as I
would like to have wpa running after interface is up, but I will use
provided solution in another place, thank you again :-)

Best regards :-)
Tomek

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


devd wlan wpa

2013-02-05 Thread CeDeROM
Hello :-)

I want to setup wpa_supplicant to start after wlan0 interface gets up.
The rc.conf ifconfig_wlan0="WPA DHCP" does the job only at boot. When
I get the interface down I need to start everything by hand, which is
a bit annoying when I test a lot and need to switch between Ethernet
and WiFi interfaces very often. I have tried to write devd rule:

notify 0 {
match "system"  "IFNET";
match "subsystem"   "wlan[0-9]+";
match "type""LINK_UP";
media-type  "802.11";
match "device-name" "wlan[0-9]+";
action "/usr/sbin/wpa_supplicant -i $device-name -c
/etc/wpa_supplicant.conf -B";
};

But there goes the chicken-egg problem - I want to run wpa_supplicant
on LINK_UP event that occurs when Media Status is "connected", but to
get that "connected" status I need to run  wpa_supplicant first, so
capabilities of devd are not enough in this case, or I miss something?
Is there any distinction between LINK_UP and IF_UP?

Any hints appreciated :-)
Tomek

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