Search results

  1. J

    Deploying Multiple Systems ==> Drives, Filesystems, Imaging, Etc.

    About nine years ago I wrote a Makefile to automate a manual ZFS install described by Vermaden. It supports using memory/RAM disks for testing. Because ZFS as well as the FreeBSD install procedure will have changed a lot in these years, it would require quite a lot of work to adapt. But it...
  2. J

    Solved Parsing rsync command options - how to quote

    From a script that I use to rsync OpenBSD snapshots from URL's like rsync://ftp.nluug.nl/openbsd/ : skip=" cdboot cdbr game57.tgz install57.fs install57.iso miniroot57.fs " for THIS in ${skip} ; do EXCLUDE="${EXCLUDE} --exclude='${THIS}'" done echo ${EXCLUDE} echo echo...
  3. J

    PPTP VPN connection failure, no log evidence

    I hope you are aware of the PPTP security issues as stated in Wikipedia's PPTP article:
  4. J

    Solved rysnc issue with maintaining directory structures

    The behaviour of using a trailing slash on the directory name is explained in rsync under the heading USAGE: rsync -avz foo:src/bar /data/tmp This would recursively transfer all files from the directory src/bar on the machine foo into the /data/tmp/bar directory on the local machine. The files...
  5. J

    A mini-FAQ on pkg

    Please post that info here. Most of the time I cannot connect to wonkity.com :mad: Now you posted it here, please "stickify" it .... and you can delete this post
  6. J

    Unable to get a DHCP address...

    If you use ifconfig_sis0="SYNCDHCP" than the booting process will pause until the interface has got an address.
  7. J

    Solved Need some help with rsync

    You can simplify your life with SSH by creating a .ssh/config file in your home directory. See ssh_config Host 192.168.0.100 User root Port 3333 Now you never have to type the username nor that damned port number anymore ;) To get rid of the password prompt, add your public ssh key to the...
  8. J

    Read data from serial port - bash script

    Maybe you could try this Perl script. I got this working on OpenBSD. Don't have time to test on FreeBSD On one OpenBSD box I run tip -v -19200 /dev/ttyU0 On the other one I run the Perl script ./serial-new.pl ./serial-new.pl speed 19200 baud; 0 rows; 0 columns; lflags: icanon isig iexten echo...
  9. J

    Read data from serial port - bash script

    You don't seem to understand the issues mentioned in http://perldoc.perl.org/perlfaq8.html#How-do-I-read-and-write-the-serial-port ;) The read function from bash : does not handle lock files probably does not open your serial device for both read and write You need a language like Perl to...
  10. J

    Which would I be able to customize and tinker with more: FreeBSD or Gentoo?

    Because the source code of both FreeBSD and Gentoo are available you can tinker with them equally. You could even create a TinkerBSD or TinkerGentoo ;)
  11. J

    Read data from serial port - bash script

    I don't think you can reliably use a serial port from a high-level language like bash. See http://perldoc.perl.org/perlfaq8.html#How-do-I-read-and-write-the-serial-port? for some of the issues you will have to deal with if you want to use the serial port on Unix(-like) systems.
  12. J

    New Server set up.. Fatal error: Interface 'JsonSerializable' not found php56

    Not sure if it is helpful but at http://stackoverflow.com/questions/19638719/fatal-error-about-jsonserializable somebody is having a similar issue.
  13. J

    Interface won't work without promiscuous mode after changing MAC address

    It is also possible you will have to contact your ISP and tell them your new MAC address. Some ISPs lock you in on the first MAC address their DHCP server sees.
  14. J

    Solved PF not working on FreeBSD 10.1 with 2 NICs

    You can use the following as a template. Basic idea is to block and log all traffic that is not allowed (yet). By running tcpdump on the pflog0 interface you can see the blocked packets. We filter on the internal interface and tag or label the traffic we want to pass. On the external interface...
  15. J

    PF Redirect all local outbound traffic

    From Firefox you can also force the DNS requests to go through the remote proxy. You have to set this manually by typing about:config and set network.proxy.socks_remote_dns;true
  16. J

    Interface won't work without promiscuous mode after changing MAC address

    The actual low level communication between two NICs is done by using MAC addresses. The mechanism that translates IP addresses to these MAC addresses is called ARP (Address Resolution Protocol). From my OpenBSD box a ping to host 192.168.222.11 on my LAN creates the following ARP traffic...
  17. J

    FreeBSD Hosting/Shared/VPS etc.

    I don't understand why would you need to use colocation for that? For your purpose getting a VPS or a physical server will do. I am using https://www.transip.eu/vps/ . I haven't found another VPS provider that gives you so much RAM and disk space for 10 euro per month. Last year, for a client...
  18. J

    Analog hack: knife and scissors beat DRM

    From http://www.grain.org/article/entries/5070-trade-deals-criminalise-farmers-seeds
  19. J

    FreeBSD hosting FreeBSD in Virtualbox

    You can find out the IP address with ifconfig. If the FreeBSD host has sshd running, you should be able to use scp to copy files from the host into the guest. Or read the DATA TRANSFER section from nc to do it without configuring SSH. See https://www.virtualbox.org/manual/ch06.html for the...
  20. J

    Timezone issue

    During the install you are asked whether the clock of your computer is set to local time or UTC. If you answered wrongly you will have a time difference ;) I have the following entry in /etc/crontab # Adjust the time zone if the CMOS clock keeps local time, as opposed to # UTC time. See...
Back
Top