Search results

  1. O

    FreeBSD as a client workstation in a company

    FreeBSD and kde4 could also be a choice We use FreeBSD 8.x and KDE4 configured to look like KDE3.5 (menu style and desktop). We use this setup for all our development workstations, it's very stable and we have no problems. Add two gmirror drives. If you want less power consumption use 2.5...
  2. O

    Compare two strings, UNIX Shell Programming

    @aragon: thank you, that is more elegant and it works :D
  3. O

    Compare two strings, UNIX Shell Programming

    I don't think I have line breaks. There is the whole script: #!/bin/sh find ./ >files_list.txt fileList="files_list.txt" fileLine=" " while [ 1 ] do read fileLine || break testFileLine=`file $fileLine | cut -d":" -f2| tr -d "\n"` if [ "$testFileLine" = "ASCII C++ program text, with CRLF...
  4. O

    Compare two strings, UNIX Shell Programming

    I've tried to compare two strings in an if statement using unix shell in FreeBSD (/bin/sh) and is not working. I think the problem appear for lenghty strings. What could be wrong with that: if [ "$testFileLine" = "ASCII C++ program text, with CRLF line terminators" ] ; then echo...
  5. O

    gpart error: Unknown command show

    Now I have, thank you, problem solved. I thought there might be some more files for gpart command, those scripts were made for an early version of FreeBSD where was no GEOM and I did not know about /lib/geom files. If it were a package I would pkg_info -L package name, I only used ldd to...
  6. O

    gpart error: Unknown command show

    When running gpart show on a very minimal FreeBSD, built with few scripts I got the error: gpart: Unknown command: show What can be the problem, and where I can look? gpart is on /sbin/gpart and the size is the same as for FreeBSD development machine. All libs exist on minimal...
  7. O

    Simple Question: using export in sh shell

    In the end I've placed all "global" variables in filename.conf and then in each shell scripts at the begining after #!/bin/sh I've used: . filename.conf
  8. O

    Simple Question: using export in sh shell

    If at command line, in a sh shell I do: VAR1=100 export VAR1 echo $VAR1 It will display 100. If I put first two lines in a script file a.sh and the last line in a script file b.sh and then I execute: ./a.sh ./b.sh It echoes nothing. Any idea why? I've tried before setting VAR1 to do...
  9. O

    HOWTO: Modern FreeBSD Install RELOADED (vermaden way)

    Nice tutorial. I have few questions: - What is the advantage of having /tmp mounted in swap? - Mounting a 2G /tmp in 4 GB swap will be ok on a 2G RAM machine? (I think yes but I want to be sure). In other words mounting in swap will not use any memory even if mdmfs according to man page will...
  10. O

    Network/Routing problem with two providers

    What is the best way in this example to configure a firewall if FREEBSD BOX from previous diagram would be a router and we want all trafic from LAN behind that router to go to ROUTER 0 or ROUTER 1, but not round robin, so connection from a machine from LAN to use the same ROUTER?
  11. O

    KDevelop 4 Search in Multiple Files

    I am trying to search within a folder with many php files, using KDevelop. I could not find the option in KDevelop to search in content of multiple files. I am using: kdevelop-4.1.0_1 Opensource IDE based on KDevPlatform, KDE and Qt libraries Any Idea if there is a plugin or is a hidden...
  12. O

    Docbook5 on FreeBSD

    Do you have any news on porting FreeBSD documentation to a newer Docbook XML format? (The current version is SGML).
  13. O

    A good content filter software

    I am looking for a good content filter software (for http traffic) other than dansguardian. Please advise.
  14. O

    Solved [Solved] Change in pkg_add command?

    I don't remember where I've read about pkg_add being changed to work with http. Still I don't know why pkg_add -r cvsup-without-gui give the previous error. (Until 8.2 the script worked ok with pkg_add -r cvsup-without-gui). Well, I follow your tip and I've used csup, problem solved, thank you!
  15. O

    Solved [Solved] Change in pkg_add command?

    I just installed FreeBSD 8.2 rc1 and I've noticed my source updating/compilation script is not working anymore, it fails at pkg_add -r command: # pkg_add -r cvsup-without-gui Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/...
  16. O

    Mac Os X as guest in a jail

    To be acurate you can indeed install a CentOS in a FreeBSD jail, but a 32 bit version (with some limitations on userland apps).
  17. O

    FreeBSD 8.2-PRERELEASE ?

    And if I need to fetch sources for kernel and world for 8.2 what *default tag I should use for cvsup? (because sources for world and kernel were deleted).
  18. O

    FreeBSD 8.2-PRERELEASE ?

    FreeBSD 8.2-BETA1 FreeBSD 8.2-BETA1 #0: Sun Dec 5 01:46:24 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Quick question: If i cvsup with *default tag=RELENG_8_2 i've noticed it deletes file from /usr/src, so I am doing something wrong. What is the correct cvsup...
  19. O

    FBI Alleged To Have Backdoored OpenBSD's IPSEC Stack

    Backdoors in IPSEC? Here is the story: http://gizmodo.com/5713735/how-the-fbi-planted-backdoors-in-secure-communication-protocols Don't know if is true.
  20. O

    Docbook5 on FreeBSD

    Hi, There is textproc/docbook-500 on FreeBSD. I know FreeBSD Project uses an older version (SGML instead of XML). Does anyone uses Docbook5 XML ? I need some directions on how to create a document and a Makefile for that document in Docbook5 XML. I want the functionality of older version of...
Back
Top