Re: dhclient and random disconnects

2013-01-29 Thread J B
There are few things you should do.

First,
w/r to you complaint about first-kill-then restart, this will do it for you
/etc/rc.d/dhclient lagg0 restart

second,
I remember you wrote that you have a trouble with disconnects even in
wireless-only setup (no failover setup). If so, you should run and debug
wireless only for the time being.
Note:
remember what wpa_supplicant does:
It handles passing the login and encryption credentials to the authentication
server.
It also handles roaming from one wireless access point to another, in order to
maintain connectivity.
Here are some hints on setup:
http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=wpa_supplicant/wpa_supplicant.conf
and
http://www.freebsd.org/cgi/man.cgi?query=wpa_supplicantsektion=8
and debugging:
http://www.examplenow.com/wpa_supplicant/

third,
I would test with IPv6 disabled (entirely for the system), regardless of
connectivity type;
that also means to explicitly disable that failover setup line in your config
ipv6_activate_all_interfaces=**YES

jb
___
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: dhclient and random disconnects

2013-01-29 Thread J B
A follow-up:

 third,
 I would test with IPv6 disabled (entirely for the system), regardless of
 connectivity type;
 that also means to explicitly disable that failover setup line in your config
 ipv6_activate_all_interfaces=**YES
 jb

W/r to IPv6 (disable, enable, etc):
read man pages for rc.conf(5) and search for ipv6;
then set up whatever neccessary in /etc/rc.conf after considering what is in
some preset variables in /etc/defaults/rc.conf.

Btw, where did you get that **YES from in your config line for failover ?
ipv6_activate_all_interfaces=**YES

The flag is YES or NO.

Also, are you running any firewall on your machine ?

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


Does 9.0 honor TERM settings

2012-08-24 Thread J B
 Well, then, where is the setting that makes the F7 key send E[18~ instead
 of the standard E[S?

I think you will find a hint here:
https://wiki.archlinux.org/index.php/Home_and_End_keys_not_working

Btw, in the vi editor you can type a control key into your text file
by first typing
'^V' followed by the control character desired, e.g. '^V^H' for '^H'.

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


/tmp filesystem full

2012-08-23 Thread J B
Andy Wodfer wodfer at gmail.com
Thu Aug 23 09:04:08 UTC 2012

 Can't seem to figure out the problem with MAXPATHLEN.
 locate: integer out of +-MAXPATHLEN (1024): 1029

Your database may be corrupted. I would suggest you delete it and
recreate.
jb
___
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


Warning - FreeBSD (*BSD) entanglement in Linux ecosystem

2012-08-22 Thread J B
Hi,
I think it would be useful to get familiar with what systemd is,
technically and fundamentally.
Here is a thread in which a knowledgeable professional
questions many technical aspects of it:

open this thread in one browser window (to get a nice overview of what
you already read):
http://lists.fedoraproject.org/pipermail/devel/2011-June/thread.html#152323

and start with the first post in another window (the reason is that tricksters
tried to change the thread subject, but if you follow thr thread with next
post you will not miss anything; be patient - there are some intermediate
posts that are noice):
systemd: please stop trying to take over the world :)   Denys Vlasenko
http://lists.fedoraproject.org/pipermail/devel/2011-June/152323.html

There are important points raised:
- going beyond system init replacement, systemd to be a platform for OS,
  together with GNOME 3
- not adhering to UNIX principles (modularity, etc)
- interference with sysadmin duties/decisions to set up the system (e.g.
  loading modules on its own and e.g. enabling sys capabilities and protocols)
- there are many other phantom reasons systemd was introduced as
  the next thing after the sliced bread invention, like parallelization that
  is not (but they sold it as if they implemented concurrency)

This is just an intro ...
There is much more to be questioned if you know what and care to.

The author of this snake oil knows what and why he sells it.
He is not a UNIX mind.

One can scratch her head thinking what kind of pseudo progress can
be sold to those goofies in Linux ecosystem, and apparently in *BSD
ecosystem as well.
The Slackware dev hit it exactly on the nail !

Think and enjoy it.
I will eventually comment more on it later as well.
jb
___
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 can i decrease memory occupied by xorg ?

2012-07-04 Thread J B
It is in ports:
http://www.freedesktop.org/wiki/Software/xrestop
jb
___
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 8.2 - active plus inactive memory leak!?

2012-03-07 Thread J B
On Wed, 07 Mar 2012 10:23:38 +0200, Konstantin Belousov wrote:

 On Wed, Mar 07, 2012 at 12:36:21AM +, Luke Marsden wrote:
 ...
 I'm trying to confirm that, on a system with no pages swapped out, that
 the following is a true statement:

 a page is accounted for in active + inactive if and only if it
 corresponds to one or more of the pages accounted for in the
 resident memory lists of all the processes on the system (as
 per the output of 'top' and 'ps')
 No.

 The pages belonging to vnode vm object can be active or inactive or
 cached but not mapped into any process address space.

I wonder if some ideas by Denys Vlasenko contained in this thread
http://comments.gmane.org/gmane.linux.redhat.fedora.devel/157706
would be useful ?

...
Today, I'm looking at my process list, sorted by amount of dirtied pages
(which very closely matches amount of malloced and used space - that is,
malloced, but not-written to memory areas are not included).
This is the most expensive type of pages, they can't be discarded.
If we would be in memory squeeze, kernel will have to swap them out,
if swap exists, otherwise kernel can't do anything at all.
...
Note that any shared pages (such as glibc) are not freed this way;
also, non-mapped pages (such as large, but unused malloced space, or large,
but unused file mappings) also do not contribute to MemFree increase.

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


bash command line - can not type c char (not echoed) [SOLVED]

2010-12-03 Thread J B
my .bashrc had some bind commands and that probably had something to do with it.
I relogged in and all is OK.
JB
___
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


console and bash - how to get Delete key working properly ?

2010-12-03 Thread J B
Hi,
I searched BSD docs and Google for answers, but none of them works.

By working properly I mean for Del key to delete char under the cursor
and not the previous one.

It works in gnome xterm, but not in console.

It works in sh with config hint from FreeBSD handbook:
  bind ^? ed-delete-next-char # for console
  bind ^[[3~ ed-delete-next-char # for xterm
but not in bash (with or w/o the hint).

Having readline lib installed does not make any difference as well.

$ uname -r
8.1-RELEASE
$ env |grep -i shell
SHELL=/usr/local/bin/bash
$ ls /var/db/pkg/bash-4.1.7/
No readline lib installed.

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


RELEASE vice CURRENT vice STABLE

2010-12-03 Thread J B
Hi,

I have:
$ uname -r
8.1-RELEASE
installed.

I understand the concept of software dev, and RELEASE (a snapshot in time),
and CURRENT as a dev branch, and STABLE as a dev branch followed CURRENT.
But I have difficulty placing them in a dev and respository tree.

For example, in my case, can I describe it as below
8.1-RELEASE - 8.2-CURRENT - 8.2-STABLE - 8.2-RCn - 8.2-RELEASE
and the cycle repeats ?

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