Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released
On 8/6/2010 10:15 PM, Antonio Olivares wrote: Thank you Manolis for your work. I installed it and have one difficulty, that otherwise I would not bother you or other users here on the list. I loaded gdm to autologin xfce but I can autologin to gnome. How can I do it to only load xfce. Think this thread on the forums offers a solution to what you are talking about http://forums.freebsd.org/showthread.php?t=6809 ___ 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: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released
Rocky, Thanks, been there and done that ::( That shows how to use xdm, gut I am trying with xdm. And since the spin is a custom one, I thought I was just getting XFCE only, but there is enough of gnome that it will start instead of xfce. I have messed around trying things, I fix one error and get another one. I got first error: Could not load up Internet address for . This will prevent XFce from operating correctly, It may be possible to correct the problem by adding to the file /etc/hosts on your system I added a hostname, and put it into /etc/rc.conf and then I fixed it, but then I get that sleeping could not I am having a hard time setting this up. Maybe I just should delete gdm and try a compling autologin.c solution? I have successfully used it on Slackware, but here, I am running out of ideas :( http://www.linuxquestions.org/questions/linux-software-2/autologin-without-gui-374338/ It is hard to set things up and just work. I can use gnome, but would prefer XFCE. Thanks, Antonio On 8/7/10, Rocky Borg rrb...@speakeasy.net wrote: On 8/6/2010 10:15 PM, Antonio Olivares wrote: Thank you Manolis for your work. I installed it and have one difficulty, that otherwise I would not bother you or other users here on the list. I loaded gdm to autologin xfce but I can autologin to gnome. How can I do it to only load xfce. Think this thread on the forums offers a solution to what you are talking about http://forums.freebsd.org/showthread.php?t=6809 ___ 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: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released
Dear Antonio, I thing you've messed things up a little bit. The distribution is for XFCE and of cource you have to use xdm instead of gdm. Installing gdm in your system also installs much of GNOME as you can see by running cd /usr/ports/x11/gdm make all-depends-list By looking carefully in this list you will find out that you install many ports of GNOME, like: /usr/ports/misc/gnome-mime-data /usr/ports/textproc/gnome-doc-utils /usr/ports/devel/gconf2 /usr/ports/x11/gnome-desktop /usr/ports/x11/gnome-menus /usr/ports/x11/gnome-panel /usr/ports/devel/gnome-vfs /usr/ports/x11/libgnome /usr/ports/x11/gnome-session /usr/ports/security/gnome-keyring ... (there are many many many more!) There is nothing wrong with the distribution. If you exactly do what the README file says you are goiing to have a valid system running XFCE. If you try to add gdm then you also install much of GNOME also, so you'll not have an XFCE-only system. Best regards Elias On Saturday 07 of August 2010 10:55:05 Antonio Olivares wrote: Rocky, Thanks, been there and done that ::( That shows how to use xdm, gut I am trying with xdm. And since the spin is a custom one, I thought I was just getting XFCE only, but there is enough of gnome that it will start instead of xfce. I have messed around trying things, I fix one error and get another one. I got first error: Could not load up Internet address for . This will prevent XFce from operating correctly, It may be possible to correct the problem by adding to the file /etc/hosts on your system I added a hostname, and put it into /etc/rc.conf and then I fixed it, but then I get that sleeping could not I am having a hard time setting this up. Maybe I just should delete gdm and try a compling autologin.c solution? I have successfully used it on Slackware, but here, I am running out of ideas :( http://www.linuxquestions.org/questions/linux-software-2/autologin-without- gui-374338/ It is hard to set things up and just work. I can use gnome, but would prefer XFCE. Thanks, Antonio On 8/7/10, Rocky Borg rrb...@speakeasy.net wrote: On 8/6/2010 10:15 PM, Antonio Olivares wrote: Thank you Manolis for your work. I installed it and have one difficulty, that otherwise I would not bother you or other users here on the list. I loaded gdm to autologin xfce but I can autologin to gnome. How can I do it to only load xfce. Think this thread on the forums offers a solution to what you are talking about http://forums.freebsd.org/showthread.php?t=6809 ___ 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 ___ 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: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released
On 8/7/10, Elias Chrysocheris elias...@cha.forthnet.gr wrote: Dear Antonio, I thing you've messed things up a little bit. The distribution is for XFCE and of cource you have to use xdm instead of gdm. Installing gdm in your system also installs much of GNOME as you can see by running cd /usr/ports/x11/gdm make all-depends-list By looking carefully in this list you will find out that you install many ports of GNOME, like: /usr/ports/misc/gnome-mime-data /usr/ports/textproc/gnome-doc-utils /usr/ports/devel/gconf2 /usr/ports/x11/gnome-desktop /usr/ports/x11/gnome-menus /usr/ports/x11/gnome-panel /usr/ports/devel/gnome-vfs /usr/ports/x11/libgnome /usr/ports/x11/gnome-session /usr/ports/security/gnome-keyring ... (there are many many many more!) There is nothing wrong with the distribution. If you exactly do what the README file says you are goiing to have a valid system running XFCE. If you try to add gdm then you also install much of GNOME also, so you'll not have an XFCE-only system. Best regards Elias Elias, Rocky et all I have found a solution not depending on any of those xdm/gdm/kdm. http://forums.freebsd.org/showthread.php?t=14212 The page with instructions was here: http://webcache.googleusercontent.com/search?q=cache:Mz7kcObFEP0J:keyhell.org/advices.html+freebsd+autologin Instructions used: FreeBSD autologin How to make some user login automatically? 1. Add to the /etc/gettytab file the following strings: test:\ :al=test:ht:np:sp#115200: test:\ - entry name, autologin will use this username; al=test - autologin username; ht - terminal has real tabs; np - 8-bit chars; (optional) sp#115200 - line speed; 2. Edit /etc/ttys file: ttyv0 /usr/libexec/getty test cons25 on secure Usual Pc changed with test. Then created file /etc/rc.local with su - user_to_be_logged_in -c startx I had found a similar solution for Slackware 13.1 with Xfce. Thanks to all for your help. Regards, Antonio ___ 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
SoundBlaster Problem with 8.1R
Hello list, A strange sound problem with FreeBSD 8.1R sound card is : Creative Sound Blaster, Audigy When pciconf output is follow no...@pci0:5:4:0: class=0x040100 card=0x100a1102 chip=0x00071102 rev=0x00 hdr=0x00 vendor = 'Creative Technology LTD.' device = 'Device ID same for both, but Subsystem ID = 0x1012 - Extreme Audio, 0x100A - Audigy SE 7.1 (C6SB0410515017656A)' class = multimedia subclass = audio Means recognizing the sound? cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: # rc.conf # Enable sound-support snddetect_enable=YES mixer_enable=YES /boot/loader.conf snd_emu10kx_load=YES sound_load=YES snd_uaudio_load=YES I tried to load all drivers. but same issue. its PCBSD system 8.1 Please note sound was working with FreeBSD and PCBSD 7 with no problems. uname -a FreeBSD pcbsd-2738 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Any ideas? Thanks -Marwan ___ 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
segfaults... gdb's backtrace speak about nanosleep, or XDisplayCodes, ... lambda:~/package# pkg_info | grep -i sdl sdl-1.2.14_1,2 Cross-platform multimedia development API lambda:~/package# pkg_info | grep -i virtualbox virtualbox-ose-3.2.6 A general-purpose full virtualizer for x86 hardware virtualbox-ose-kmod-3.2.6 VirtualBox kernel module for FreeBSD lambda:~/package# uname -a FreeBSD lambda.axis.fr 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Too bad, it was a good idea... Samuel Martín Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 Allée de la Venelle 92150 Suresnes FRANCE Nobody wants to say how this works. Maybe nobody knows ... Xorg.conf(5) On Sat, Aug 7, 2010 at 7:00 AM, Noah Pratt npr...@gmail.com wrote: On Fri, Aug 6, 2010 at 9:19 AM, Samuel Martín Moro faus...@gmail.com wrote: Very powerfull, indeed too bad vrdp doesn't work on OSE... True, but a VNC server was recently added to the OSE edition instead: http://www.virtualbox.org/ticket/6020 -Noah ___ 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-update-server
Hello all, I am setting up my own freebsd-update-server. Everything seems to be working so far, but how can I also get the patches to build together with everything? Here is the output of scripts/init.sh # sh scripts/init.sh i386 8.1-RELEASE | tee init.log Sat Aug 7 14:59:24 SAST 2010 Starting fetch for FreeBSD/i386 8.1-RELEASE /usr/packages/freebsdupdateserver/work/8.1-RELEASE/i386/iso.img 645 MB 47 MBps Sat Aug 7 14:59:35 SAST 2010 Verifying disc1 hash for FreeBSD/i386 8.1-RELEASE Sat Aug 7 14:59:46 SAST 2010 Extracting components for FreeBSD/i386 8.1-RELEASE Sat Aug 7 15:01:50 SAST 2010 Constructing world+src image for FreeBSD/i386 8.1-RELEASE Sat Aug 7 15:05:37 SAST 2010 Extracting world+src for FreeBSD/i386 8.1-RELEASE ## Here is my problem ls: /usr/packages/freebsdupdateserver/patches/8.1-RELEASE: No such file or directory ## Sat Aug 7 13:07:18 UTC 2010 Building world for FreeBSD/i386 8.1-RELEASE Sat Aug 7 15:07:26 SAST 2010 Moving components into staging area for FreeBSD/i386 8.1-RELEASE mv: rename /R/stage/trees to /R/trees/world: No such file or directory Sat Aug 7 15:07:26 SAST 2010 Identifying extra documentation for FreeBSD/i386 8.1-RELEASE Documentation not built from src: Sat Aug 7 15:07:44 SAST 2010 Extracting extra docs for FreeBSD/i386 8.1-RELEASE tar: could not chdir to '/R/trees/world' Sat Aug 7 15:07:44 SAST 2010 Indexing release for FreeBSD/i386 8.1-RELEASE ^C # Is ftp://ftp.freebsd.org/pub/FreeBSD/ERRATA/patches/ the right place to get them? And then just place them in patches/8.1-RELEASE/ ? Kind regards, Coert Waagmeester ___ 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: Anti virus, anti spam step guide.
Anti-virus, the only free one I know about is calm av. Should work on FreeBSD: http://www.clamav.net/lang/en/ and /usr/ports/security/clamav spamd is a black/white list spam filter. I also heard SpamAssassin is good, but can't find it in ports. For mail I like Courier-imap. It's imap, has ssl and has lots of ways to auth (I just auth with pamd which is a normal system account). qmail is also popular, though I don't have much experience with it. sendmail/pop3 also works. squirrel mail is a popular webmail program: /usr/ports/mail/squirrelmail Also, I've never used it; but webmin might be good if you want them to maintain use accounts themselves: /usr/ports/sysutils/webmin On 8/4/2010 9:19 AM, Jorge Biquez wrote: Hello all. I am looking documentation for implementing, the easiest way anti virus and anti spam configuration for non tech users and out of the box after installing FreeBSD (actually using 7.3 Release). I have been working with it for some years but I am not an expert at all. I need to help some non-profit organizations that received some 2 year old computers as donation and they will use it for email services. They have not tech people, so the idea is that I can help them to implement that solution the easiest way so maybe one of the teacher there can try to replicate the solution. UNtil now I always have used Sendmail as it is installed, no filters besided the spamcop ones but that was enough for my personal use. I know some of you will tell that change to postfix or another MTA and that instead using POP3 that I have to use another tool (courier, fetchail, imap (any) etc etc). I ca do it for sur and I do not want to star a war , again, under what MTA is the best. I just would like to have the best and easiest solution for them. Once installed they only will be creating new accounts, changing paswords, deleting accounts. Nothing else. Ah, another thing if possible is to implement a webmail but that will be an extra gem if possible. Any resources? Any suggestions based in experience? (I have one machine of them that I will use for testing the solution). Thanks in advance Jorge Biquez ___ 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: misc/149335: shell script runs on Linux but not on freebsd
Oliver, One last observation I have made regarding this bundle installer. The reason for all the size calculations is that the installer and code are offset a specific bytes within the file. Even if I correct the shell calls the file size will change and the code will not be extracted correctly. However, I can open the file and find exactly where the code is located, extract it and place it in the location where the shell script would place and see if it will run from there. This is a longshot but the fact is shell scripts automate what can be manually performed. But, using vi will be tedious. Gedit will not open the file. Are there any other very forgiving editors that will make it easier to edit this file? Thanks again. Paul On Fri, Aug 6, 2010 at 5:27 PM, Paul Lambert eb30...@gmail.com wrote: Oliver, Looks like the Linux emulator is only 32 bit. Here is the error I get after installing the emulator and running the /usr/compat/linux/bin/bash shell. This is a x64 bundle and does not match that of the current architecture. Please download the x86 bundle. I would like to see if I can get the x64 to install but if not I think the x86 will but it may have reduced performance since I am looking to run virtual machines that in effect would be running on an emulator themselves. May be necessary to move to Virtual Box but I loose considerable functionality there especially USB support. Paul On Fri, Aug 6, 2010 at 4:31 PM, Paul Lambert eb30...@gmail.com wrote: Oliver, Thanks for the reply. I am attaching the bash output from the shell script. This script implements RPMs so I am sure that I need the linux module. I had previously found a guide on how to install RPMs on FreeBSD. I have a printer that has an RPM that allows it to work on Linus. So I would think that I will need the Linux module in the future. I previously had made the stat change to the shell script and that part works. But, the bash shell is reporting an 'od error. Finally, how much performance do you lose with the linux module emulator? Do you believe I only need the emulator to get VMware installed or will it make other linux calls that are not part of FreeBSD? Thanks Paul On Fri, Aug 6, 2010 at 1:35 PM, Oliver Fromme o...@lurza.secnetix.dewrote: Redirected to the -questions. Paul eb30...@gmail.com wrote: What about matching the ' marks in this section? I get a command error. # XXX: put extraction in its own function MAGIC_NUMBER=`od -An -t u4 -N 4 -j $MAGIC_OFFSET $file | tr -d ' '` That command works fine for me: $ MAGIC_OFFSET=42 $ file=/etc/motd $ MAGIC_NUMBER=`od -An -t u4 -N 4 -j $MAGIC_OFFSET $file | tr -d ' '` $ echo $MAGIC_NUMBER 540684323 What's the exact error message that you get, and what are the values of the variables involved? By the way, when debugging shell scripts it is very helpful to run the shell with -vx. Then it prints the script as it is being parsed, and additionally each command is printed after expansion. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd I invented Ctrl-Alt-Delete, but Bill Gates made it famous. -- David Bradley, original IBM PC design team ___ 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: misc/149335: shell script runs on Linux but not on freebsd
Oliver, One more time. I should have included this in my last Email. Instead of using the exact offset into the file and dd is there a way to insert a text tag such as codeStartHere_1 in the script then find this location by a search and then extract beginning at this location +1 and extracting to codeStopsHere_1 -1, or by the number of bytes. Maybe the right solution is to develop a smarter install script. Thanks again, again, Paul On Sat, Aug 7, 2010 at 11:45 AM, Paul Lambert eb30...@gmail.com wrote: Oliver, One last observation I have made regarding this bundle installer. The reason for all the size calculations is that the installer and code are offset a specific bytes within the file. Even if I correct the shell calls the file size will change and the code will not be extracted correctly. However, I can open the file and find exactly where the code is located, extract it and place it in the location where the shell script would place and see if it will run from there. This is a longshot but the fact is shell scripts automate what can be manually performed. But, using vi will be tedious. Gedit will not open the file. Are there any other very forgiving editors that will make it easier to edit this file? Thanks again. Paul On Fri, Aug 6, 2010 at 5:27 PM, Paul Lambert eb30...@gmail.com wrote: Oliver, Looks like the Linux emulator is only 32 bit. Here is the error I get after installing the emulator and running the /usr/compat/linux/bin/bash shell. This is a x64 bundle and does not match that of the current architecture. Please download the x86 bundle. I would like to see if I can get the x64 to install but if not I think the x86 will but it may have reduced performance since I am looking to run virtual machines that in effect would be running on an emulator themselves. May be necessary to move to Virtual Box but I loose considerable functionality there especially USB support. Paul On Fri, Aug 6, 2010 at 4:31 PM, Paul Lambert eb30...@gmail.com wrote: Oliver, Thanks for the reply. I am attaching the bash output from the shell script. This script implements RPMs so I am sure that I need the linux module. I had previously found a guide on how to install RPMs on FreeBSD. I have a printer that has an RPM that allows it to work on Linus. So I would think that I will need the Linux module in the future. I previously had made the stat change to the shell script and that part works. But, the bash shell is reporting an 'od error. Finally, how much performance do you lose with the linux module emulator? Do you believe I only need the emulator to get VMware installed or will it make other linux calls that are not part of FreeBSD? Thanks Paul On Fri, Aug 6, 2010 at 1:35 PM, Oliver Fromme o...@lurza.secnetix.dewrote: Redirected to the -questions. Paul eb30...@gmail.com wrote: What about matching the ' marks in this section? I get a command error. # XXX: put extraction in its own function MAGIC_NUMBER=`od -An -t u4 -N 4 -j $MAGIC_OFFSET $file | tr -d ' '` That command works fine for me: $ MAGIC_OFFSET=42 $ file=/etc/motd $ MAGIC_NUMBER=`od -An -t u4 -N 4 -j $MAGIC_OFFSET $file | tr -d ' '` $ echo $MAGIC_NUMBER 540684323 What's the exact error message that you get, and what are the values of the variables involved? By the way, when debugging shell scripts it is very helpful to run the shell with -vx. Then it prints the script as it is being parsed, and additionally each command is printed after expansion. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd I invented Ctrl-Alt-Delete, but Bill Gates made it famous. -- David Bradley, original IBM PC design team ___ 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
Festival 1.9.6_1 Port Successfully Running on FreeBSD 7.x - 8.x??
Howdy! Have installed festival 1.9.6_1 from the ports and everything seemed to install correctly but for the life of me can not get jack working on festival. can't find NAS server, get SIOD Error when running text2wave etc All I want to do is have text2wave convert text to an audio file, need no other functionality. Has anyone successfully installed 1.9.6_1 on FreeBSD and have it working properly especially the text2wave script. Thanks, Diego ___ 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
ANNOUNCE: Custom 32bit FreeBSD 8.1-RELEASE with XFCE packages released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, After last week's release of the first 64bit XFCE custom FreeBSD 8.1-RELEASE, I am pleased to announce the 32bit version is now also available at: http://freebsd-custom.wikidot.com You may download the ISO file immediately using the downloads page: http://freebsd-custom.wikidot.com/downloads-page This release is based on the latest XFCE desktop and includes a wide variety of desktop-related packages, like OpenOffice, abiword, gnumeric, firefox35, gimp, inkscape, evince and so on. The base system is 8.1-RELEASE. A few other small window managers are included like windowmaker, fluxbox and icewm. Make sure to read the README file before installation. Also note that installing linux related packages during initial setup needs a few more steps. This is due to differences in sysinstall between 7.X and 8.X releases. A detailed explanation is provided in the README file. As always, please report any problems, success stories, comments and criticisms to mano...@freebsd.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxdp6AACgkQZ/MxGm4PtJTraACfQ9iNNs6XRmQU/kigl79BKkQS pJIAoIFDur+hRnpo13k/roPqdzGCtZTw =KgQh -END PGP SIGNATURE- ___ 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
On Fri, Aug 06, 2010 at 06:19:51PM +0200, Samuel Martín Moro wrote: Very powerfull, indeed too bad vrdp doesn't work on OSE... It works great with the VNC server replacement. I've got this running on 8-STABLE/amd64. -- Jonathan Chen j...@chen.org.nz --- One, with God, is always a majority, but many a martyr has been burned at the stake while the votes were being counted. -- Thomas B. Reed ___ 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: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released
Just an addition: My solution works in the same way (modification of /etc/ttys and /etc/gettytab), but I avoid this step: On Sat, 7 Aug 2010 04:49:00 -0500, Antonio Olivares olivares14...@gmail.com wrote: Then created file /etc/rc.local with su - user_to_be_logged_in -c startx In fact, I use the autologin-user's ~/.login script (which is executed after login) to contain a line to check for X's lock file and then run startx. This gives the possibility to the specific user to NOT have to need root permissions to change the behaviour after autologin. The simple line in ~/.login is this one: [ -f /tmp/.X0-lock ] startx Depending on requirements, this can be seen as an advantage or disadvantage (usually in considerations about security); it's also possible to create a loop that an accidental logout won't drop the user to DOS. :-) -- 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
Re: misc/149335: shell script runs on Linux but not on freebsd
Sorry for the late reply, I don't have much time currently. Maybe someone else from the -questions list can jump in, because I don't have much experience with vmware (I prefer qemu or virtual box). Paul Lambert eb30...@gmail.com wrote: Thanks for the reply. I am attaching the bash output from the shell script. This script implements RPMs so I am sure that I need the linux module. I had previously found a guide on how to install RPMs on FreeBSD. I have a printer that has an RPM that allows it to work on Linus. So I would think that I will need the Linux module in the future. I previously had made the stat change to the shell script and that part works. But, the bash shell is reporting an 'od error. Finally, how much performance do you lose with the linux module emulator? Not much, probably none at all. Some people even say that Linux binaries run faster on FreeBSD than they run on Linux, because they benefit from the better network code and VM system. Anyway, the linuxulator isn't really an emulator, it's rather an ABI-level compatibility layer, very similar to the i386 (32bit) compatibility layer on FreeBSD/amd64 (64bit). Do you believe I only need the emulator to get VMware installed or will it make other linux calls that are not part of FreeBSD? I'm afraid you won't be able to install vmware this way. I suggest you look at the emulator/vmware* ports in the ports collection. BRSINC-VM02# bash -vx VMware-Player-3.1.0-261024.x86_64.bundle [...] # XXX: put extraction in its own function MAGIC_NUMBER=`od -An -t u4 -N 4 -aj $MAGIC_OFFSET $file | tr -d ' '` There's a bogus line break which is causing this particular parsing error. Either join the lines, or put a backslash at the end of the first line (behind -aj). But I'm afraid this is the smallest of the problems. I suspect you won't be able to get this script to run correctly on FreeBSD, because it seems to do too many linux-specific things. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd And believe me, as a C++ programmer, I don't hesitate to question the decisions of language designers. After a decent amount of C++ exposure, Python's flaws seem ridiculously small. -- Ville Vainio ___ 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: mercurial port broken?
On Sat, Aug 7, 2010 at 5:46 AM, Chip Camden sterl...@camdensoftware.com wrote: I just pulled mercurial, and the build nowfails: for f in bash_completion convert-repo dumprevlog hg-ssh hgdiff hgk logo-droplets.svg memory.py mercurial.el mergetools.hgrc mq.el perf.py pylintrc python-hook-examples.py rewrite-log sample.hgrc shrink-revlog.py simplemerge tcsh_completion tcsh_completion_build.sh tmplrewrite.py undumprevlog zsh_completion git-viz/git-cat-file git-viz/git-diff-tree git-viz/git-rev-list git-viz/git-rev-tree git-viz/hg-viz hgsh/Makefile hgsh/hgsh.c vim/HGAnnotate.vim vim/hg-menu.vim vim/hgcommand.vim vim/patchreview.txt vim/patchreview.vim; do /bin/cp -p /usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/${f} /usr/local/share/mercurial/contrib/${f}; done cp: /usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/hgdiff: No such file or directory *** Error code 1 Indeed there is no directory: /usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/hgdiff Almost same problem as you: for f in bash_completion convert-repo dumprevlog hg-ssh hgk logo-droplets.svg memory.py mercurial.el mergetools.hgrc mq.el perf.py pylintrc python-hook-examples.py sample.hgrc shrink-revlog.py simplemerge tcsh_completion tcsh_completion_build.sh tmplrewrite.py undumprevlog zsh_completion git-viz/git-cat-file git-viz/git-diff-tree git-viz/git-rev-list git-viz/git-rev-tree git-viz/hg-viz hgsh/Makefile hgsh/hgsh.c vim/HGAnnotate.vim vim/hg-menu.vim vim/hgcommand.vim vim/patchreview.txt vim/patchreview.vim; do /bin/cp -p /usr/obj/usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/${f} /usr/local/share/mercurial/contrib/${f}; done cp: /usr/obj/usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/git-viz/git-cat-file: No such file or directory *** Error code 1 -- chs, ___ 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: mercurial port broken?
Quoth Christer Solskogen on Saturday, 07 August 2010: On Sat, Aug 7, 2010 at 5:46 AM, Chip Camden sterl...@camdensoftware.com wrote: I just pulled mercurial, and the build nowfails: for f in bash_completion convert-repo dumprevlog hg-ssh hgdiff hgk logo-droplets.svg memory.py mercurial.el mergetools.hgrc mq.el perf.py pylintrc python-hook-examples.py rewrite-log sample.hgrc shrink-revlog.py simplemerge tcsh_completion tcsh_completion_build.sh tmplrewrite.py undumprevlog zsh_completion git-viz/git-cat-file git-viz/git-diff-tree git-viz/git-rev-list git-viz/git-rev-tree git-viz/hg-viz hgsh/Makefile hgsh/hgsh.c vim/HGAnnotate.vim vim/hg-menu.vim vim/hgcommand.vim vim/patchreview.txt vim/patchreview.vim; do /bin/cp -p /usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/${f} /usr/local/share/mercurial/contrib/${f}; done cp: /usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/hgdiff: No such file or directory *** Error code 1 Indeed there is no directory: /usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/hgdiff Almost same problem as you: for f in bash_completion convert-repo dumprevlog hg-ssh hgk logo-droplets.svg memory.py mercurial.el mergetools.hgrc mq.el perf.py pylintrc python-hook-examples.py sample.hgrc shrink-revlog.py simplemerge tcsh_completion tcsh_completion_build.sh tmplrewrite.py undumprevlog zsh_completion git-viz/git-cat-file git-viz/git-diff-tree git-viz/git-rev-list git-viz/git-rev-tree git-viz/hg-viz hgsh/Makefile hgsh/hgsh.c vim/HGAnnotate.vim vim/hg-menu.vim vim/hgcommand.vim vim/patchreview.txt vim/patchreview.vim; do /bin/cp -p /usr/obj/usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/${f} /usr/local/share/mercurial/contrib/${f}; done cp: /usr/obj/usr/ports/devel/mercurial/work/mercurial-1.6.2/contrib/git-viz/git-cat-file: No such file or directory *** Error code 1 -- chs, Looks the same to me. A message went out on freebsd-ports@ that the port is broken and will be fixed in a couple of days: Greetings, the devel/mercurial port is currently broken, and we've decided to wait two days before committing behind the maintainer's back. If you urgently need Mercurial 1.6.2, grab the port from: http://home.pages.de/~mandree/freebsd/ports_devel_mercurial-1.6.2.tar.gz Note that your downloader needs to follow redirects. For curl, use the -L option. HTH -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgpHJKO0Tt6Ta.pgp Description: PGP signature
Re: misc/149335: shell script runs on Linux but not on freebsd
Thanks Oliver I can just get the i386 vmware version and should install and run. Last question is there a x86_64 bit Linux module? Is one I'm development? Sent from my iPod On Aug 7, 2010, at 4:42 PM, Oliver Fromme o...@lurza.secnetix.de wrote: Sorry for the late reply, I don't have much time currently. Maybe someone else from the -questions list can jump in, because I don't have much experience with vmware (I prefer qemu or virtual box). Paul Lambert eb30...@gmail.com wrote: Thanks for the reply. I am attaching the bash output from the shell script. This script implements RPMs so I am sure that I need the linux module. I had previously found a guide on how to install RPMs on FreeBSD. I have a printer that has an RPM that allows it to work on Linus. So I would think that I will need the Linux module in the future. I previously had made the stat change to the shell script and that part works. But, the bash shell is reporting an 'od error. Finally, how much performance do you lose with the linux module emulator? Not much, probably none at all. Some people even say that Linux binaries run faster on FreeBSD than they run on Linux, because they benefit from the better network code and VM system. Anyway, the linuxulator isn't really an emulator, it's rather an ABI-level compatibility layer, very similar to the i386 (32bit) compatibility layer on FreeBSD/amd64 (64bit). Do you believe I only need the emulator to get VMware installed or will it make other linux calls that are not part of FreeBSD? I'm afraid you won't be able to install vmware this way. I suggest you look at the emulator/vmware* ports in the ports collection. BRSINC-VM02# bash -vx VMware-Player-3.1.0-261024.x86_64.bundle [...] # XXX: put extraction in its own function MAGIC_NUMBER=`od -An -t u4 -N 4 -aj $MAGIC_OFFSET $file | tr -d ' '` There's a bogus line break which is causing this particular parsing error. Either join the lines, or put a backslash at the end of the first line (behind -aj). But I'm afraid this is the smallest of the problems. I suspect you won't be able to get this script to run correctly on FreeBSD, because it seems to do too many linux-specific things. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd And believe me, as a C++ programmer, I don't hesitate to question the decisions of language designers. After a decent amount of C++ exposure, Python's flaws seem ridiculously small. -- Ville Vainio ___ 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
forwarding ssh
I presently am using Putty and X-Win32 and I am connecting to a remote machine successfully. I now need to connect using SSH over the internet -through- one machine, but have my SSH with a second machine on the same site - something like so; ssh-site1 --(internet)--- site2-(also 192.168.1.1)-- loc2-(192.168.1.50) I need to bridge the connection from 192.168.1.1 to 192.168.1.50 so I've tried in ipnat; rdr tun0 0/0 port 22 - 192.168.1.50 port 22 which does not appear to work, but I am not that familiar with ipnat - I use it to forward port 80 through squid but otherwise have not used it. I wonder if anyone could give me some direction. ___ 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: TEKEN_UTF8 TEKEN_XTERM
On 08/05/10 01:10, David DEMELIER wrote: I think using xterm as term definition is just stupid. If you're not running X why will you use a term that live in X normally? By the way it also sucks if you make some $TERM settings considering your shell. The point of these options (TEKEN_UTF8 and TEKEN_XTERM) is to enable an internally Unicode based terminal and from there have characters mapped according to font files. With standard hardware you can have 256 or 512 text mode characters. Unless you have a real terminal on a serial port the term at your console is emulated with your video card and keyboard. xterm I believe is a more advanced terminal definition with a large number of additional capabilities over a simple vt100 terminal. So we can try to use what exists now xterm or we can create yet another terminal definition. Once the above works the next step would be to extend the terminal driver to use graphics modes and with modern accelerated cards it should be trivial to achieve the same speed we are use to with text mode. Some people were playing around with this years ago but so far I haven't found anything new. And while English is my native language I welcome the evolution of new international capabilities. What can I say, I'm a fan of text mode. Chris ___ 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: forwarding ssh
On 08/07/10 16:23, David Banning wrote: I presently am using Putty and X-Win32 and I am connecting to a remote machine successfully. I now need to connect using SSH over the internet -through- one machine, but have my SSH with a second machine on the same site - something like so; ssh-site1 --(internet)--- site2-(also 192.168.1.1)-- loc2-(192.168.1.50) I need to bridge the connection from 192.168.1.1 to 192.168.1.50 so I've tried in ipnat; If I hear you right, you're trying to connect to site2 over the internet, and also connect to loc2 through the connection on site2. SSH can create a tunnel itself. You could use something like: 'ssh -L 2200:loc2:22 u...@site2' This would connect you to a shell on site2. Then on your machine open another terminal and type: 'ssh -p 2200 u...@localhost' which would connect to loc2 port 22 using the connection on site2. If you try to close the connection to site2, it won't work since you're still connected to loc2. ssh also supports forwarding a port on the remote server using -R, but I'm led to believe you are trying to limit the connections that get through the site2 to loc2 and -L requires you (or someone else) to be on local system. In putty this same feature is configured under Connection SSH Tunnels. ___ 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: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released
On Sat, Aug 7, 2010 at 2:47 PM, Polytropon free...@edvax.de wrote: Just an addition: My solution works in the same way (modification of /etc/ttys and /etc/gettytab), but I avoid this step: On Sat, 7 Aug 2010 04:49:00 -0500, Antonio Olivares olivares14...@gmail.com wrote: Then created file /etc/rc.local with su - user_to_be_logged_in -c startx In fact, I use the autologin-user's ~/.login script (which is executed after login) to contain a line to check for X's lock file and then run startx. This gives the possibility to the specific user to NOT have to need root permissions to change the behaviour after autologin. The simple line in ~/.login is this one: [ -f /tmp/.X0-lock ] startx Depending on requirements, this can be seen as an advantage or disadvantage (usually in considerations about security); it's also possible to create a loop that an accidental logout won't drop the user to DOS. :-) -- Polytropon, So if I delete the file /etc/rc.local and make a file ~/.login, make it executable (chmod +x ~/.login), and add the line [ -f /tmp/.X0-lock ] startx in that file and I will have the same result but without loggin in as root? I will try it out and thank you for the suggestion. I was going to try the autologin.c file and compile it, a similar solution is done for slackware. Regards, Antonio ___ 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: Good Terminal for X?
On Fri, Aug 06, 2010 at 04:12:47PM -0400, Thomas Dickey wrote: On Fri, Aug 06, 2010 at 11:26:10AM +0200, Roland Smith wrote: Try x11/rxvt-unicode. It doesn't require Gnome nor KDE libraries, and it does handle unicode well. It's a lot lighter than xterm. And it has transparancy or backgrounds if you like that. It's not a lot lighter - I made a table recently to investigate. See http://invisible-island.net/xterm/xterm.faq.html#bug_rxvt Thanks for the research. I had no idea rxvt-unicode had gotten so big. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpUJn04XW5k2.pgp Description: PGP signature
pkg_add on dialup: resume?
Hello, I'm transitioning to FreeBSD on my box for several reasons. However, I'm on dialup. pkg_add doesn't seem to be able to resume since I can't use the phone line (or the computer) long enough to install packages all in one go. Is there a solution to this? Second, update-freebsd (binary updates) also don't seem to resume. --- I understand that if I go with building from source (both for security updates and for third-party apps) the there is a resume function with that. True? I was hoping to avoid the build-time, and I think it takes longer to download source than binary. Ideas? Thanks, 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: pkg_add on dialup: resume?
On 8/7/2010 6:03 PM, Douglas A. Tutty wrote: However, I'm on dialup. pkg_add doesn't seem to be able to resume since I can't use the phone line (or the computer) long enough to install packages all in one go. Is there a solution to this? There might be a more elegant solution but this is what I would say offhand. All pkg_add is doing is downloading the package from the freebsd ftp. It's just doing the behind the scenes stuff of picking which package is right for your system. So you could just use an ftp client with resume and go to ftp://ftp.freebsd.org/pub/FreeBSD/ports/ and find the packages you want and que them up in your ftp client. Then just do pkg_add /path/to/package when you've finished downloading them. If you don't use packages I think you can also setup resume if you're doing the make install method. Find an ftp client you want to use and change from using fetch to download source. This post describes setting up an ftp client to download using multiple connections but you should be able to adapt it for your needs. http://scratching.psybermonkey.net/2009/09/freebsd-download-ports-simultaneously.html I understand that if I go with building from source (both for security updates and for third-party apps) the there is a resume function with that. True? I was hoping to avoid the build-time, and I think it takes longer to download source than binary. If you have an old FreeBSD ISO/CD laying around or someone you know has one you could install whatever version of the source you have. The handbook describes methods you can use to update your source where you only need to download what's different (this also means you don't need to download the source all at once).This should limit how much you have to download if you have a fairly recent version of FreeBSD and it will be pretty easy to then keep updated with minimal downloads in the future. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.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: virtualbox
Quoth Chip Camden on Thursday, 05 August 2010: Quoth Brandon Gooch on Thursday, 05 August 2010: On Thu, Aug 5, 2010 at 10:53 PM, kalin m ka...@el.net wrote: hi all.. just wondering how mature is virtualbox to be used with freebsd - either as host or as guest. is viable to be used in production environment? From my experience (running the latest 3.2.6 on 8.1-RELEASE, 8-STABLE, and 9-CURRENT) as both host and guest systems, YES. I'm also using 32- and 64-bit Windows and Linux guests; performance and stability are very, very good. Please try VirtualBox for yourself -- I think you will be pleased with the effort that's been put in to the port by the developers :) -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I'll second that. I haven't used FreeBSD as a guest yet, but as a host VirtualBox performs very nicely, and (touch wood) I haven't had any problems with using Windows 7 and Windows XP as guests. I'm on amd64 FreeBSD, and I've run both 64-bit and 32-bit Windows guests. Just to follow up, as part of my Bugathon participation I created a VM with 8.1-RELEASE as a guest for testing. The i386 version is running like a champ. I couldn't get the amd64 iso to boot under VirtualBox, though. It just appeared to hang after loading most of the system -- sorry, I don't have a log. When running Xorg under VirtualBox, I had to add the following to xorg.conf to get the keyboard and mouse to respond: Section ServerFlags Option AutoAddDevices off EndSection Everything else worked out of the box (so to speak). -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgpWmqojjmRAe.pgp Description: PGP signature
Re: virtualbox
On Sat, Aug 7, 2010 at 11:07 PM, Chip Camden sterl...@camdensoftware.comwrote: Just to follow up, as part of my Bugathon participation I created a VM with 8.1-RELEASE as a guest for testing. The i386 version is running like a champ. I couldn't get the amd64 iso to boot under VirtualBox, though. It just appeared to hang after loading most of the system -- sorry, I don't have a log. I have a number of freebsd amd64 guests working fine, are you sure ostype is set correctly? You can get symptoms like yours if you're trying to boot amd64 when the vbox cpu is set to 32. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org