Re: KDE4 has no FolderView in FreeBSD 9.1-RELEASE [SOLVED]
Just for the record, I found out that the package x11/kde4-baseapps was not in my system. By installing it many of the problems had on KDE4 solved. I don't know why it didn't get compiled when installing kde4, but now everything works like a charm... Regards and Happy new year to everybody! Elias ___ 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
KDE4 has no FolderView in FreeBSD 9.1-RELEASE
Hello, I installed FreeBSD 9.1 4 days ago. After compiling KDE4 I cannot find the fodlerview plasmoid (shouldn't it be installed using the deskutils/kdeplasma- addons port?). I didn't find another port containing the plasmoid in question. In FreeBSD 8.3 I had it in my system... Thanks in advance Elias ___ 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: portsnap
Yeap. Same here: pluto# portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found. Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done. Latest snapshot on server matches what we already have. No updates needed. Ports tree is already up to date. How can it be possible? 3 years now that I use FreeBSD there was not even a single day that we didn't have updates in the ports tree. How can it be possible for two consecutive days to have No updates needed.? Something is wrong... Regards Elias ___ 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: Auto-mounting sshfs from /etc/fstab
In the past I wanted to do so in my system. I had one server called pluto and I wanted to sshfs one directory from my laptop. The first thing I had to do was to make passwordless ssh from my laptop to the server (there are a lot of pages in the internet to explain how to do this, so I will not explain how-to...) When passwordless ssh login is possible then a line in your fstab like the following does the job: sshfs#your_username_here@pluto:/Common/ /Network_Folders/Pluto/ fuse BatchMode=yes,reconnect,allow_other,users,gid=users,umask=002 0 0 In this way the system automounts the directory /Common that exists in pluto in my local directory /Network_Folders/Pluto Of cource pluto must have a specific ip (or available through naming service e.t.c.). In my case it has a static IP so I had its declaration in /etc/hosts Hope this helped you Elias ___ 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 root mount problem
On Wednesday 02 of March 2011 00:22:28 Patrick Gibson wrote: I'm installing 8.2 on a server using the instructions for ZFS root filesystem (http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot), and when I reboot after installing, it says: Root mount waiting for: usbus4 followed by: ROOT MOUNT ERROR When I did the initial install, I booted using a CD, and then from the 8.2 livefs on a USB stick. I'm not sure where it's getting usbus4 from when it boots from the hard disk. I can't figure out where to reset this. Any pointers? Patrick ___ 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 think that the file zpool.cache is missing or it contains pool data coming from the USB stick you used. I wrote an article for this, but unfortunatelly is in Greek... The article is here: http://www.freebsdworld.gr/node/38#zpool_cache Besides the problem that you will not understand what I write (:)) you can follow the commands. You will probably understand what's happening there. Just skip the part that I cange the names of the gpt partitions (the one that I have a bunch of gpart modify commands) I hope it will be usefull to you Regards Elias signature.asc Description: This is a digitally signed message part.
Re: ZFS
On Monday 06 of December 2010 02:38:12 Gabor Illo wrote: 2010/12/6 Elias Chrysocheris elias...@cha.forthnet.gr: Sorry, my mistake... I used cd without the / when I was in the dist directory... So I cannot see why it does not work for you... What disk are you trying to use? Is it the official DVD? Regards Elias I use livefs sysinstall FIXME option (defined wiki 1.2 step), fixme shell only works livefs CD. Well.. I thing that in livefs cd there are no installation packages of the release. I thing it contains only the necessary software for the livefs system. It is better to use the installation DVD that also contains the livefs and Fixme console and all the necessary system's packages. That will do. I don't know if the installation CD also works, but the DVD is OK. I've done it many times before... Regards, Elias ___ 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
On Monday 06 of December 2010 00:33:48 Gabor Illo wrote: Hello List! I install FreeBSD 8.1 RELEASE to friend server. I use this cool wiki post. http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror But i don't know 2.2 point. (Install FreeBSD to zroot) Fixit# cd /dist/8.0-* no such directory Fixit# cd /dist/8.1-* no such directory thx ___ 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 As far as I can see, the correct command is Fixit# cd /8.1-RELEASE and then do the rest as described in the article. Regards Elias ___ 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
On Monday 06 of December 2010 00:33:48 Gabor Illo wrote: Hello List! I install FreeBSD 8.1 RELEASE to friend server. I use this cool wiki post. http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror But i don't know 2.2 point. (Install FreeBSD to zroot) Fixit# cd /dist/8.0-* no such directory Fixit# cd /dist/8.1-* no such directory thx ___ 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 Sorry, my mistake... I used cd without the / when I was in the dist directory... So I cannot see why it does not work for you... What disk are you trying to use? Is it the official DVD? Regards Elias ___ 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: Massive portupgrade without being interrupted by configuration screens?
On Saturday 02 of October 2010 13:27:00 Thomas Mueller wrote: How can one do a massive portupgrade, as with -r or -R, without being interrupted by options configuration screens for many individual ports? Idea is to let it run unattended such as when I might run it starting just before bedtime. Doing make config ahead of time also gives the chance to recover from a typo at the configuration screen (high risk). Best thing I can think of is, using multimedia/ffmpeg as an example, is doing a dry run portupgrade -Rn multimedia/ffmpeg | tee -a wouldbe.log This would show what other packages would need to be portupgraded and avoid reconfiguring up-to-date dependencies. Then I would go to each of those directories in the ports tree and run make config. Running make config-recursive in /usr/ports/multimedia/ffmpeg would produce configuration screens for all dependencies, including those that are up-to-date. I tried portupgrade -RCn multimedia/ffmpeg | tee -a wouldbe.log but then I got all dependency configuration screens, including those that were up-to-date, and also the interface didn't work right: I got garbage when trying to respond; it didn't write to the configuration screen but produced non-color garbage to the background. Running make config-recursive in /usr/ports/multimedia/ffmpeg would configure all dependencies, including those that are up-to-date and therefore not in need of portupgrading, though make config-recursive seems appropriate for a first build/install of a port. But I think there is no perfect way to be sure of doing all make configs in advance, since selectable options could require additional dependencies. If you try to portupgrade perl to 5.12 and everything that depends on it, as advised in UPDATING file, date 20100715, you will likely get a lot of configuration dialog screens: I speak from experience, would surely like a way to do all these make configs at the beginning. Tom ___ 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 If you are sure that the default configuration settings are OK for you, then one way is to perform a portupgrade with the switches --batch --yes, like portupgrade --batch --yes -a This will assume that the default settings are those you like and will not ask you anything about configuration screens e.t.c. Elias ___ 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: External HD
On Saturday 21 of August 2010 20:03:02 Mario Lobo wrote: On Saturday 21 August 2010 13:46:43 Rem P Roberti wrote: Rem P Robertiremeg...@comcast.net пишет: I have a 500GB USB HD which I am able mount thus: mount_ntfs /dev/da2s1 /mnt Having done so I can copy from the external drive, but not write to it. What is necessary to implement in order to be able to write to an external hard drive? Rem use the port /usr/ports/sysutils/fusefs-ntfs Thanks for the tip. I have installed the port and will give it a try, although I'm a little leery given Ryan's post. Rem ___ 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 Don't forget to do this: cd /sbin mv -f mount_ntfs mount_ntfs-kern ln -s /usr/local/bin/ntfs-3g mount_ntfs so you can mount your ntfs disk right from fstab. I have all my vbox vdi files on an ntfs drive and I'm yet to have a problem with it. Well, I used to have an external NTFS hard drive. I used fusefs-ntfs and I could write in the drive. But there were times where the machine crashed and I couldn't even get a core dump. It also stoped durong the core dump and freezed... So I couldn't even place a PR for that... That was in amd64 architecture Best regards Elias ___ 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 Question
On 8/15/2010 6:17 PM, Elias Chrysocheris wrote: On Monday 16 of August 2010 01:56:10 Depo Catcher wrote: Hi, I'm building a new file server. Right now I'm on FreeBSD 6.4/UFS2 and going to go to 8.1 with ZFS. Right now I have 3 disks, but one of them has data on it. I'd like to setup a RaidZ but have a question on how to do this: Basically, I need to setup a mirror with the two empty drives, copy the data over and then add the third. Is that even possible? Do you want to add the third drive as another mirror of the other two or you just want to add it, lets say, for another storage part of your system? Regards, Elias Yes, add it for storage (ie. Raid 5). Well, I don't know if you can add a hard drive and make it a stripe (RAID 5) with others that already have data... Perhaps you could install the system in a free hard drive, then add the other two and make them a mirror. Then you could keep your data in the mirrored pool and the operating system, as long as some data that you don't care to be mirrored, in the single drive. But as far as I can understand this is not what you asked for... Regards Elias ___ 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: amd64
On Monday 09 of August 2010 23:19:31 Dick Hoogendijk wrote: I've installed FreeBSD-amd64. It runs very well. The packages I fetch are amd64 too, but what about the ports I compile myself? Are those amd64 too? Of cource! When you make them they are compiled using the amd64 libraries and instruction set Best regards Elias ___ 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 question
On Sunday 08 of August 2010 14:43:48 Dick Hoogendijk wrote: Years back I ran FreeBSD, so I have some experience. The last couple of years I ran Solaris, followed by Opensolaris. I am very satisfied. However, considering the troubles after Oracle took over I have rebuild my server system under FreeBSD-8.1 (now running as a virtual machine under VirtualBox). All works very well and smooth so I'm going to transfer this VM to a real seperate harddisk. I have a couple of questions: [1] Transfering the VM is best done using dump/restore I guess? (This after a smallest creation of fbsd81 on the new harddisk) ? That's the way I've done it once. It worked for me, so I believe everything will go fine to you, too. My server has five disks: 1 PATA (160Gb), 2 SATA2 (500Gb) and 2 SATA2 (1Tb) The fist is disabled at the moment and the others are ZFS mirrors under opensolaris. they are not usable for freebsd because the zfs versions don't match. I will have to rebuild. ;-) However, I'm a bit worried about the status of ZFS on FreeBSD-8.1 I don't want my system to boot off ZFS like I have now on OpenSolaris-b134 I think it is wisest to have the 160Gb IDE drive installed for FreeBSD system drive w/ UFS2 and after that create two ZFS mirrors from my SATA drives. Is ZFS (v14) ready for production on FreeBSD-8.1 and if yes, will I still need special settings? The server system is 64bits and has 3Gb memory. I hope to get some answers or good reading points. I have a FreeBSD amd64 machine that is ZFS-only since FreeBSD 8.0-RELEASE. ZFS Pool was in v13 then. It still works fine, even after the update to FreeBSD 8.1-RELEASE with ZFS Pool v14. I have no problems, even though I pulled the plug off by accident (twice...). The system runs fine and the boot partition is also in ZFS. There is no problem if you want to use UFS for the boot partition. I think is a matter of taste. Whatever is your choice I believe that you'll stay happy using ZFS Best regards Elias ___ 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: why so many errors with ports??
On Sunday 06 of June 2010 13:32:56 Manolis Kiagias wrote: On 06/06/2010 1:11 ?.?., Giorgos Tsiapaliokas wrote: i have FBSD 8.0 i have install the base system plus the bash shell from the CD.after the installiation of the system i install ports with portsnap and i update them with portmaster,no error came up,but now i receive errors from xfce4. @*Alejandro Imass* * * what do u mean when u say? Tip: in FBSD the word stable has a completely different meaning than in the LInux world ;-) (adding the list to the recipients) Don't install bash from CD. Bash will also install gettext, and this was recently updated. Almost every single port has a dependency on gettext and you happen to have the old version installed with bash, while the ports you are trying to install will need the new version. Start with just the base system and install bash from ports as well. ___ 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 believe that you should follow the quick guide that Manolis Kiagias wrote. That is the guide I followed and everything went fine and smooth. Try it: ftp://ftp.freebsdgr.org/pub/freebsd/freebsd.zip This is an unofficial guide, but it works and gives you a step-by-step understanding of your new operating system and it is written in Greek. ___ 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: errors with kde4 and xorg
On Sunday 06 of June 2010 19:38:29 Giorgos Tsiapaliokas wrote: hello, i am trying to compile xorg and kde 4 but i receive these 2 errors. i have updated the ports. the kde error === kde4-4.4.4_1 depends on file: /usr/local/kde4/bin/kdebugdialog - not found ===Verifying install for /usr/local/kde4/bin/kdebugdialog in /usr/ports/x11/kdebase4-runtime === kdebase-runtime-4.4.4 depends on file: /usr/local/lib/libssh.so - found === kdebase-runtime-4.4.4 depends on executable: gmake - found === kdebase-runtime-4.4.4 depends on file: /usr/local/lib/qt4/libQtCore.so - found === kdebase-runtime-4.4.4 depends on file: /usr/local/lib/qt4/libQtDBus.so - found === kdebase-runtime-4.4.4 depends on file: /usr/local/bin/moc-qt4 - found === kdebase-runtime-4.4.4 depends on file: /usr/local/lib/qt4/libQtOpenGL.so - found === kdebase-runtime-4.4.4 depends on file: /usr/local/lib/qt4/libphonon.so - not found ===Verifying install for /usr/local/lib/qt4/libphonon.so in /usr/ports/multimedia/phonon === phonon-4.4.1 depends on file: /usr/local/lib/qt4/libQtDBus.so - found === phonon-4.4.1 depends on file: /usr/local/lib/qt4/libQtGui.so - found === phonon-4.4.1 depends on file: /usr/local/bin/moc-qt4 - found === phonon-4.4.1 depends on file: /usr/local/bin/qmake-qt4 - found === phonon-4.4.1 depends on file: /usr/local/lib/qt4/libQtTest.so - found === phonon-4.4.1 depends on file: /usr/local/bin/rcc - found === phonon-4.4.1 depends on file: /usr/local/bin/uic-qt4 - found === phonon-4.4.1 depends on file: /usr/local/lib/qt4/libQtXml.so - found === phonon-4.4.1 depends on executable: pkg-config - found === phonon-4.4.1 depends on file: /usr/local/bin/automoc4 - found === phonon-4.4.1 depends on file: /usr/local/bin/cmake - found === phonon-4.4.1 depends on shared library: pulse.0 - not found ===Verifying install for pulse.0 in /usr/ports/audio/pulseaudio === pulseaudio-0.9.21_4 depends on executable: gmake - found === pulseaudio-0.9.21_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found === pulseaudio-0.9.21_4 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found === pulseaudio-0.9.21_4 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - not found ===Verifying install for /usr/local/libdata/pkgconfig/xtst.pc in /usr/ports/x11/libXtst === Returning to build of pulseaudio-0.9.21_4 === pulseaudio-0.9.21_4 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found === pulseaudio-0.9.21_4 depends on package: libtool=2.2 - found === pulseaudio-0.9.21_4 depends on file: /usr/local/bin/intltool-extract - found === pulseaudio-0.9.21_4 depends on executable: pkg-config - found === pulseaudio-0.9.21_4 depends on shared library: samplerate.1 - found === pulseaudio-0.9.21_4 depends on shared library: speexdsp.1 - found === pulseaudio-0.9.21_4 depends on shared library: dbus-1.3 - found === pulseaudio-0.9.21_4 depends on shared library: gdbm.3 - found === pulseaudio-0.9.21_4 depends on shared library: execinfo - found === pulseaudio-0.9.21_4 depends on shared library: ck-connector.0 - not found ===Verifying install for ck-connector.0 in /usr/ports/sysutils/consolekit === consolekit-0.4.1_3 depends on executable: gmake - found === consolekit-0.4.1_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found === consolekit-0.4.1_3 depends on shared library: dbus-glib-1.2 - found === consolekit-0.4.1_3 depends on shared library: polkit-gobject-1.0 - not found ===Verifying install for polkit-gobject-1.0 in /usr/ports/sysutils/polkit === polkit-0.96_2 depends on file: /usr/local/share/gir-1.0/GLib-2.0.gir - found === polkit-0.96_2 depends on file: /usr/local/share/sgml/docbook/4.1/dtd/catalog - not found ===Verifying install for /usr/local/share/sgml/docbook/4.1/dtd/catalog in /usr/ports/textproc/docbook-410 === Installing for docbook-4.1_4 === docbook-4.1_4 depends on file: /usr/local/share/sgml/iso8879/catalog - not found ===Verifying install for /usr/local/share/sgml/iso8879/catalog in /usr/ports/textproc/iso8879 === Installing for iso8879-1986_2 === iso8879-1986_2 depends on file: /usr/local/bin/xmlcatmgr - found === Generating temporary packing list === Checking if textproc/iso8879 already installed Archive: /usr/ports/distfiles/isoENTS.zip *** Error code 11 Stop in /usr/ports/textproc/iso8879. *** Error code 1 Stop in /usr/ports/textproc/docbook-410. *** Error code 1 Stop in /usr/ports/sysutils/polkit. *** Error code 1 Stop in /usr/ports/sysutils/consolekit. *** Error code 1 Stop in /usr/ports/audio/pulseaudio. *** Error code 1 Stop in /usr/ports/audio/pulseaudio. *** Error code 1 Stop in /usr/ports/multimedia/phonon. *** Error code 1 Stop in /usr/ports/multimedia/phonon. *** Error code 1 Stop in /usr/ports/x11/kdebase4-runtime. *** Error code 1 Stop in
Re: how to debug .sh type script
On Monday 31 of May 2010 10:59:04 Aiza wrote: Is there way to single step through each line of code and see the real values of the variables? ___ 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'm not aware of a way to single step a script. But the old method of echo and exit is the way I use. I use echo to print the values and the line numbers that I want and exit to stop the execution of the script at a point I wish it to stop. Elias ___ 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: securing sshd
On Saturday 20 of March 2010 18:14:17 Jerry wrote: On Sat, 20 Mar 2010 16:32:28 +0100 Erik Norgaard norga...@locolomo.org articulated: * Disabled password logins completely, and to only allow public key authentication This seems good for security, but not always practical. Now you have to walk around with a USB or have keys on your laptop and if you loose the USB or the laptop gets stolen you can't get access. Worse, you can't revoke the keys till you get back home. Worse yet, if you get shot and killed you won't be able to access your data no matter how hard you try. Seriously, disabling password log-ins and using key authentication is extremely secure. Do make sure that you password protect your keys however. In any event, if you laptop or whatever is stolen, you have more than just one problem to contend with anyway. Another thing you could do is perhaps to secure your sshd using a program like sshguard. This is another measure you could take against brute force attack to your ssh. Elias ___ 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: / slice too small
On Sunday 28 of February 2010 15:26:54 Frank Shute wrote: I've got a machine here running 7.2 which I want to upgrade to 8.0 but looking at the root slice it is woefully small: $ df -h FilesystemSizeUsed Avail Capacity Mounted on /dev/ad4s2190M146M 29M84%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad4s4129G 15G104G12%/usr devfs 1.0K1.0K 0B 100%/var/named/dev I've got a CD/DVD writer on that machine along with a 100MB ethernet connection to my desktop. How do I go about upgrading it? Dump/restore and change the partition table? Any suggestions gratefully received. Regards, Yes. The dump/restore should do the trick as long as you have another medium to store the dumps (such as another hard disk). You will store the images of your slices to the new medium using dump(8). You can then use FixIt console to re-partition and re-slice your hard disk and then restore(8) your images in the newly sliced hard disk. Actually, if you have another hard disk device, you can use piped dump/restore to copy the whole system from one disk to the other and make the second one your bootable disk. Of course you must have sliced the second device first. I've done this many times. The first was to remove an openSUSE partition I had, living in the same hard disk as my FreeBSD. The second time was to move my FreeBSD to another hard disk (physical device). The new disk became my boot disk. The third time was to move my system to another bigger hard disk device and at the same time be formated as ZFS. Now my system boots from this third hard disk device, having ZFS and the operating system is the same as that I first installed (of cource updated...) Elias ___ 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: Sysinstall Post-install System Management
On Friday 19 of February 2010 21:58:53 Erik Norgaard wrote: On 19/02/10 20:42, Programmer In Training wrote: Any clues or alternate ways of getting this done? IIRC you first need to load the linux and linprocfs kernel modules and mount linproc. BR, Erik If you have never used the portsnap system before, the first thing you have to do is: portsnap fetch extract Then every time you need to update the portsnap you have to use the command: portsnap fetch update I fyou want to install the linux compatibility system you must first load the linux kernel module using (as root): kldload linux In /etc/fstab you have to add the following two lines: linproc /usr/compat/linux/proc linprocfs rw 0 0 proc /proc procfsrw 0 0 then mount these filesystems using: mount linproc mount proc as root Then you should be able to install the linux ports you want for the flash player, emulators/linux_base-f10 and www/linux-f10-flashplugin10 Regards, Elias ___ 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
knutclient-0.9.4 (sysutils/knutclient) - Cannot compile
Hello, Today I set up my system to monitor my UPS using NUT (sysutils/nut). Everything went smoothly. I also noticed that there is a KDE client for NUT, named knutclient, and it lies at sysutils/knutclient, so I decided to give it a try. Unfortunately it cannot complete the compilation, due to an error ./configure: Can't open ./configure: No such file or directory The full copy/paste of the process is at http://paste.gr/rffb5 Any hints? Thank you in advance Elias ___ 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: fstab syntax
On Saturday 30 of January 2010 21:05:43 Jeff Laine wrote: Hello, My question is regarding /etc/fstab synax. How can I use spaces and quote symbols in my device name? I tried to use double quotes and backslash, but no luck so far. I.e. I'd like to put the following line: /dev/msdosfs/MY FLASH /mnt/flash msdosfs rw,noauto 0 0 Any ideas? Unfortunatelly, spaces are not allowed in fstab syntax. I also have tried it before and figured out that there is no way to insert spaces in a folder or device name. Elias ___ 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: Help booting FreeBSD with a ZFS root filesystem
On Tuesday 26 of January 2010 03:29:07 George Liaskos wrote: I had the same issue because i forgot to copy the zpool.cache under /zroot/boot/zfs. Yes, that is also mandatory. I forgot to mention... Elias ___ 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: Help booting FreeBSD with a ZFS root filesystem
On Monday 25 of January 2010 23:31:26 Ross Penner wrote: I'm trying to set up a system using ZFS as the root filesystem. I followed this guide: (http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot). Everything went swimmingly until I rebooted and the system failed to load. output: FreeBSD/i386 bootstrap loader, Revision 1.1 (root@, Mon Jan 25 13:03:11 UTC 2010) \ can't load 'kernel' Type '?' for a list of command, 'help' for more detailed help. OK I used the memstick 8.0-Release. Can anybody suggest what could have gone wrong, or how I could find out what could have gone wrong? Thank you for any help ___ 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 It seems that the system cannot mount the ZFS partition properly and see the /boot/kernel. Can you boot using fixit console, kldload the opensolaris and zfs modules and see if you have everything configured properly (like loader.conf, etc., set the mountpoint of the zfs partition to legacy and zpool set bootfs=zroot zroot)? Remember that the zfs pool is there, so zpool list first and if you can see the pool, import it. Actually I'm not a zfs geek, but these are the first steps I would follow to debug the problem. I've used the same guide to make my system a zfs-only system and everything went fine. I didn't install a new FreeBSD system but I dump-restored my existing one... Elias ___ 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: Setup FTP service on FreeBSD 2.0.5?
On Wednesday 06 of January 2010 12:20:53 Paul Shi wrote: Hi Everyone, I am trying to find a way to setup a wireless network with a FreeBSD server machine running FTP service. The release of FreeBSD I intend to use is 2.0.5 but I could not find anything on how to setup FTP service on FreeBSD 2.0.5 in handbook. There are only howto on PPP and SLIP. Does anyone have a handbook on how to enable FTP service on FreeBSD 2.0.5? Millions thanks! Your sincerely, Paul Shi Electronic and Communication Engineering Senior Department of Electrical and Electronic Engineering University of Hong Kong ___ 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 See Chapter 29 section 8: 29.8 File Transfer Protocol (FTP) Contributed by Murray Stokely. http://www.freebsd.org/doc/en/books/handbook/network-ftp.html It worked for me so I don't thing that you are going to have problems if you follow these instructions. Elias ___ 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