Re: Mouse stopped working on quit fvwm
On Sun, 03 Feb 2013 18:36:31 -, ill...@gmail.com ill...@gmail.com wrote: On 3 February 2013 04:23, Roger Marsh roger.ma...@btinternet.com wrote: The problem was encountered when upgrading to FreeBSD 9.1-RELEASE and a 18 January 2013 portsnap. Steps were: Upgrade to FreeBSD 9.1-RELEASE pkg_delete -a rm -r /usr/local/* Install ports using portmaster Turn on the ttyv8 xdm and reboot Login via the xdm dialog using the user .xsession file containing just /usr/local/bin/fvwm2 Do whatever and quit from fvwm back to the xdm dialogue Usually, but not always, the pointer does not move in response to pointer device. But it is still possible to login and get the fvwm display back, but pointless because the pointer still does not move. Only recovery option found was reboot. For me the most convenient work around is turn xdm off and login at a terminal and use the command 'startx exit'. It was quite a while before it occurred to me that the absence of xorg.conf from all the usual locations might be the problem. It is not a surprise now if X just works without any manual configuration. The Xorg -configure and X -config /root/xorg.conf.new dance gives a black screen on the hardware. For both reasons I did not bother with the dance when doing the upgrade. After generating and copying xorg.conf.new to /etc/X11/xorg.conf the pointer was mobile after quitting from fvwm. Although it works I did not quite trust the generated xorg.conf because of the black screen and wondered if any of the information in the file was needed. So I deleted it and replaced it by 'touch /etc/X11/xorg.conf'. The pointer is mobile after quitting from fvwm. Maybe the problem was my sloppy configuration management in losing, I assume, an existing xorg.conf file. But maybe it is a bug because it is not a surprise if X just works without any manual configuration and the problem occurs possibly after hours of successful and varied use of applications via fvwm. Is your Xorg built with HAL support? You might have to kick HAL. I've not had problems using moused ( Xorg with HAL disabled) an old-fashioned xorg.conf. I rebuilt with HAL support on current oldest hardware. No problems. My notes say I tried this when upgrading to FreeBSD 7.2 and the problems led to builds being done without HAL support since then. Thanks for the kick. ___ 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
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 typeLINK_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
Re: geli overhead?
On Tue, Feb 5, 2013 at 12:44 AM, kpn...@pobox.com wrote: On Mon, Feb 04, 2013 at 10:25:33PM +0100, mhca12 wrote: On Mon, Feb 4, 2013 at 10:19 PM, dweimer dwei...@dweimer.net wrote: On 02/04/2013 2:56 pm, mhca12 wrote: Is there some overhead associated with the geli setup as described earlier? Where did 21G from the 148G go? As suggested in dan.me.uk geli install guide I used geli init -a HMAC/SHA256 and also ran dd if=/dev/zero of=/dev/gpt/enc.eli across the eli volume. Did you use the -a option when doing the geli init? -a aalgoEnable data integrity verification (authenti- cation) using the given algorithm. This will reduce size of available storage and also reduce speed. For example, when using 4096 bytes sector and HMAC/SHA256 algorithm, 89% of the original provider storage will be avail- able for use. Currently supported algorithms are: HMAC/MD5, HMAC/SHA1, HMAC/RIPEMD160, HMAC/SHA256, HMAC/SHA384 and HMAC/SHA512. If the option is not given, there will be no authentication, only encryption. The recom- mended algorithm is HMAC/SHA256. Yes I did (see above). Do I have to init the volume again to skip authentication? Probably yes. Does skipping authentication also remove the requirement of zeroing the whole eli disk for the checksums? Yes. Thanks I'll reinstall the machine then. ___ 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: vfs.root.mountfrom with geli
mhca12 mhc...@gmail.com wrote: On Mon, Feb 4, 2013 at 6:23 PM, Fabian Keil wrote: mhca12 mhc...@gmail.com wrote: On Mon, Feb 4, 2013 at 1:06 PM, Fabian Keil wrote: mhca12 mhc...@gmail.com wrote: I followed the guide on dan.me.uk to install FreeBSD 9.1 amd64 but I get always stuck because the kernel doesn't ask me for the passphrase and doesn't find the /dev/gpt/enc.eli where enc is the label I gave to the root partition. I also tried with /dev/ada0p3.eli without success. Tried the following two /boot/loader.config variations: 1: geom_eli_load=YES vfs.root.mountfrom=”ufs:/dev/gpt/enc.eli” 2: geom_eli_load=YES vfs.root.mountfrom=”ufs:/dev/ada0p3.eli” I can geli attach /dev/gpt/enc or /dev/ada0p3 successfully from the livecd. Can you advise me what I might have done wrong or what I should try? https://www.dan.me.uk/blog/2012/05/05/full-disk-encryption-in-freebsd-9-x-well-almost/ This guide doesn't seem to match your configuration. It uses ada0p3.eli for swapping and additionally uses keyfiles. Without knowing your actual configuration it's impossible to give proper advice. You could check with geli list ada0p3 if the boot flag is set, but that's obviously just a wild guess ... Forgot to list my simpler setup: ada0p1 freebsd-boot ada0p2 freebsd-ufs label boot /boot ada0p3 geli freebsd-ufs label enc / Do I have to set the boot flag for any of them? The geli passphrase is only requested at boot time for providers that have the geli boot flag set (for details see geli(8)). If it isn't set on ada0p3 it would explain the described behaviour. Fabian thanks a lot. Maybe I forgot -b during geli init but a geli configure -b /dev/ada0p3.eli fixed it. FreeBSD is so well structured and logical in this regard and hopefully in many others as I heard. In vfs.root.mountfrom only ”ufs:/dev/ada0p3.eli” works and the /dev/gpt/enc.eli doesn't. Is it supposed to? doesn't isn't a particular helpful problem description. Probably geli tastes ada0p3 before gpt/enc and once ada0p3 has been attached gpt/enc is hidden and thus can't be attached anymore. gpt labels aren't intentionally designed not to work with geli, but tasting races at boot time are a known limitation and also affect other geom classes. As a workaround you could use glabel labels instead. I use them for external disks to be able to geli attach them automatically using a known name, but for internal disks whose names don't frequently change I usually don't bother. Fabian signature.asc Description: PGP signature
Re: devd wlan wpa
Hi, There is this entry for the network aggregation in the Handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-aggregation.html You will be able to switch from wired to wifi card (and vice versa). Regards, Alexandre On Tue, Feb 5, 2013 at 11:14 AM, CeDeROM cede...@tlen.pl wrote: 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 typeLINK_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 ___ 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
On Tue, Feb 5, 2013 at 1:24 PM, Alexandre axel...@ymail.com 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
Re: devd wlan wpa
On Tue, Feb 5, 2013 at 1:33 PM, CeDeROM cede...@tlen.pl wrote: On Tue, Feb 5, 2013 at 1:24 PM, Alexandre axel...@ymail.com 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
FreeBSD on Acer C7 Chromebook?
[I'm not sure whether this would be better on -hackers@ or -hardware@ but -questions@ seems like a good place to start.] Is anyone considering getting FBSD to run on the Acer C7 Chromebook? The pros are that it's a cheap, small and relatively lightweight 64 bit Intel portable using integrated Intel graphics. The cons are that it's a Chromebook, so has a completely non-standard BIOS and boot sequence. However, Ubuntu has been hacked to boot on it (Google for ChrUbuntu) so it's not totally locked down. This would make a very useful little system, but the programming needed is beyond my skill set I'm afraid. ___ 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: [zfs-discuss] zfs + NFS + FreeBSD with performance prob
Le 04/02/2013 ? 11:21:12-0500, Paul Kraus a écrit On Jan 31, 2013, at 5:16 PM, Albert Shih wrote: Well I've server running FreeBSD 9.0 with (don't count / on differents disks) zfs pool with 36 disk. The performance is very very good on the server. I've one NFS client running FreeBSD 8.3 and the performance over NFS is very good : For example : Read from the client and write over NFS to ZFS: [root@ .tmp]# time tar xf /tmp/linux-3.7.5.tar real1m7.244s user0m0.921s sys 0m8.990s this client is on 1Gbits/s network cable and same network switch as the server. I've a second NFS client running FreeBSD 9.1-Stable, and on this second client the performance is catastrophic. After 1 hour the tar isn't finish. OK this second client is connect with 100Mbit/s and not on the same switch. But well from 2 min -- ~ 90 min ...:-( I've try for this second client to change on the ZFS-NFS server the zfs set sync=disabled and that change nothing. I have been using FreeBSD 9 with ZFS and NFS to a couple Mac OS X (10.6.8 Snow Leopard) boxes and I get between 40 and 50 MB/sec Thanks for your answer. Can you give me the average ping time between you'r client and NFS server ? Regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26/06 86 69 95 71 xmpp: j...@obspm.fr Heure local/Local time: mar 5 fév 2013 16:15:11 CET ___ 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-carddeck-kde4
Now that games/freebsd-carddeck-kde4 is DEPRECATED, would it make sense to remove the FREEBSD option from games/kdegames4? I installed KDE 4.9.5 from are51, today I run portmaster -a and it stopped because games/freebsd-carddeck-kde4 is DEPRECATED. How could I solved this problem, please? I didn't find any pkg freebsd- carddeck-kde4 and pkg delete didn't find... Thanks in advance. Mitja -- http://www.redbubble.com/people/lumiwa ___ 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-carddeck-kde4
On Tuesday 05 February 2013 16:42:08 ajtiM wrote: Now that games/freebsd-carddeck-kde4 is DEPRECATED, would it make sense to remove the FREEBSD option from games/kdegames4? I installed KDE 4.9.5 from are51, today I run portmaster -a and it stopped because games/freebsd-carddeck-kde4 is DEPRECATED. How could I solved this problem, please? I didn't find any pkg freebsd- carddeck-kde4 and pkg delete didn't find... Thanks in advance. I am sorry for the panick...the name is kde4-freebsd-carddeck Thanks. Mitja -- http://www.redbubble.com/people/lumiwa ___ 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
why is bacula-client looking for libz.so.5 on 9-STABLE
Hi, Upgraded a system from 8.3 to 9-STABLE and did make delete-old-libs afterwards. System has around thirty ports installed and all except bacula-client upgraded gracefully. Why does it want libz.so.5 when libz.so.6 is present? I'm pretty sure I'm missing the obvious here... Linking bacula-fd ... /usr/ports/sysutils/bacula-client/work/bacula-5.2.12/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -L../lib -L../findlib -o bacula-fd filed.o authenticate.o acl.o backup.o estimate.o fd_plugins.o accurate.o filed_conf.o heartbeat.o job.o pythonfd.o restore.o status.o verify.o verify_vol.o xattr.o-lz -lbacfind -lbacpy -lbaccfg -lbac -lm -lpthread -lintl -lwrap /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib /usr/bin/ld: warning: libz.so.5, needed by /usr/local/lib/libbac.so, not found (try using -rpath or -rpath-link) -- Intersonic AB Registered in Solna, Sweden SE556539368201 ___ 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: which X driver for NVIDIA Quadro FX 570M?
I have t61p with mentioned card. x11/nvidia-driver works well for me (at least quake, doom, compiz work). On Sun, 2013-02-03 at 10:33 +, Anton Shterenlikht wrote: I'm considering buying this Thinkpad T61p laptop: http://www.ebay.co.uk/itm/321063105251 It lists this graphics card: NVIDIA Quadro FX 570M I'm not sure what driver, if any, will support it. There seems to be the official Nvidia FreeBSD driver provided for it: http://www.nvidia.com/object/freebsd_100.14.09.html but this apparently has to be installed outside of the ports tree. xf86-video-nv drivers list several other Quadro cards, but not specifically 570M. Maybe somebody has used this card, so can give a definite reply? Thanks Anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD on Acer C7 Chromebook?
Em Ter, 2013-02-05 às 14:45 +, Arthur Chance escreveu: [I'm not sure whether this would be better on -hackers@ or -hardware@ but -questions@ seems like a good place to start.] Is anyone considering getting FBSD to run on the Acer C7 Chromebook? The pros are that it's a cheap, small and relatively lightweight 64 bit Intel portable using integrated Intel graphics. The cons are that it's a Chromebook, so has a completely non-standard BIOS and boot sequence. However, Ubuntu has been hacked to boot on it (Google for ChrUbuntu) so it's not totally locked down. This would make a very useful little system, but the programming needed is beyond my skill set I'm afraid. ___ 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 A long time ago I swear NEVER ever buy ACER product, the bios is no standard, and they do not care about the clients. I bought sevral notebooks very cheap that are built around the AMD vision, Lenovo 845 here costs about US$400 payed in 10 parts of US$40... ___ 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
backspace shows ^? in serial communications
hi all i have a problem with backspace in serial communications. i have a freebsd8.2 box with a serial card on it. when i connect to other freebsd box via serial port backspace does not act as i expected. backspace shows ^? on screen. i searched alot and find out that stty has two parameters -erase and erase2- to identify erase characters in terminal and they should be set correctly. i set erase and erase2 to ^? by stty erase \^? and stty erase2 \^? commands but nothing happened. please let me know how i can fix it. i know it is simple issue but i really do not know how to do that. regards SAM ___ 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: backspace shows ^? in serial communications
On Wed, 6 Feb 2013 09:44:37 +0330, s m wrote: hi all i have a problem with backspace in serial communications. i have a freebsd8.2 box with a serial card on it. when i connect to other freebsd box via serial port backspace does not act as i expected. backspace shows ^? on screen. i searched alot and find out that stty has two parameters -erase and erase2- to identify erase characters in terminal and they should be set correctly. i set erase and erase2 to ^? by stty erase \^? and stty erase2 \^? commands but nothing happened. please let me know how i can fix it. i know it is simple issue but i really do not know how to do that. If I remember correctly, ^? is delete, ^H is backspace. You should check your terminal emulator if it outputs ^? instead of ^H when you press the backspace key. FreeBSD's default configuration handles keys correctly (if you have the proper terminal emulation set, e. g. vt100 or vt220 for your serial line), so there's probably something wrong with the settings of the terminal program you're using. For comparison: % echo $TERM xterm % stty -a speed 9600 baud; 24 rows; 80 columns; lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo -extproc iflags: -istrip icrnl -inlcr -igncr ixon -ixoff -ixany -imaxbel -ignbrk -brkint -inpck -ignpar -parmrk oflags: opost onlcr -ocrnl tab3 -onocr -onlret cflags: cread cs8 parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef; eol2 = undef; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; And: % echo $TERM cons25l1 % stty -a speed 9600 baud; 25 rows; 80 columns; lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo -extproc iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk brkint -inpck -ignpar -parmrk oflags: opost onlcr -ocrnl tab0 -onocr -onlret cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef; eol2 = undef; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; If you want the system's C shell to treat ^? (delete) as it should be treated (perform delete instead of backspace or nothing), add those to your .cshrc: bindkey ^? delete-char # for console bindkey ^[[3~ delete-char # for xterm Note that this only affects the C shell. -- 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