Re: make delete-old question
Per olof Ljungmark <[EMAIL PROTECTED]> writes: > Is there a clever way to run make delete-old in /usr/src so that (y) > will be the default answer? Otherwise it's pressing "y" 437 times in > my case... yes | make delete-old -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: adaptive stealth in ipfw?
Louis LeBlanc <[EMAIL PROTECTED]> writes: > I was introduced to a fantastic web site, http://www.grc.com/ which > has some impressive information about security and a number of other > things. Steve Gibsons 'Shields Up' web service will scan your system > and tell you where your vulnerabilities lie, and explain the ports in > pretty good detail. http://www.grcsucks.com/ -- Best regards Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Java VM problems
Marc Huffnagle <[EMAIL PROTECTED]> writes: > I am running into a problem when I try to run any java-related program. > When I try to use java or javac, I get the following error, and the > application locks up (requiring a kill -9) and starts to use 100% of the > processor. mount -t linprocfs none /compat/linux/proc > I have found other reports of this problem, but never a solution. > Please let me know what other information would be useful, or where I > should be asking this question. Thanks. freebsd-java is the list for java questions. -- Best regards Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with lid on Dell D400
"Spil Oss" <[EMAIL PROTECTED]> writes: > On a Dell D400 notebook (Pentium-M 1.4GHz, Intel 855GM, ICH4M) running > FreeBSD 7.0 #0 > > Closing the lid switches off the display, opening the lid does not > switch the display back on. Very annoying. The machine is fully > functional otherwise (accessed via ssh). It sounds like the behaviour I experienced on the Dell Latitude D610. I wrote about my solution here: http://borderworlds.dk/blog/20071027-00.html -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Transfer CD image to USB memory stick?
Per olof Ljungmark <[EMAIL PROTECTED]> writes: > Could someone please point me to information how to achieve this? Have > new hardware that lacks CD/floppy and want to install FreBSD... I have a script that makes a disk image from a bootonly FreeBSD install image. I usually install grub on the USB memory stick and use memdisk from the syslinux package to load the image. A sample menu entry for grub is included in the script. http://borderworlds.dk/~xi/iso2diskimage.pl -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [SSHd] Increasing wait time?
Peter Boosten <[EMAIL PROTECTED]> writes: > No, I was more thinking of: > > ssh -L :your.own.host:22 [EMAIL PROTECTED] > > and then open a new shell: > > scp -P the-file-you-want-to-copy [EMAIL PROTECTED]: > > This works easiest with agent forwarding, but I guess any > authentication will do. It is also worth taking a look at the ProxyCommand option. For the case above something like this should be put in ~/.ssh/config: Host your.own.host-tunneled HostKeyAlias your.own.host ProxyCommand ssh [EMAIL PROTECTED] nc your.own.host 22 The you can just do "ssh your.own.host-tunneled" and go through your.friends.host transparently. -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: help needed - GBDE mounts on top of FUSE sshfs (fails)
Ensel Sharon <[EMAIL PROTECTED]> writes: > Any comments ? I really want an offsite encrypted volume. I have the > offsite from rsync.net, and the transport is encrypted via sshfs, but I am > paranoid and do not want them (or anyone) to see the contants, so I want > to just upload a single 2gig file and make a GBDE on it. You could probably use geom_gate for it and forward the connection from the local ggatec to the remote ggated via your ssh connection. -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: help needed - GBDE mounts on top of FUSE sshfs (fails)
Ensel Sharon <[EMAIL PROTECTED]> writes: > On Tue, 28 Mar 2006, Christian Laursen wrote: > >> Ensel Sharon <[EMAIL PROTECTED]> writes: >> You could probably use geom_gate for it and forward the connection from the >> local ggatec to the remote ggated via your ssh connection. > > Can you elaborate, or point me to a document that describes using > geom_gate ? My only exposure to these things was with the GBDE HOWTO: Read the man pages for ggatec and ggated. Furthermore read the man page for ssh, especially the part about the -L option. -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT] Re: What's the best possible email failover solution
Bill Moran <[EMAIL PROTECTED]> writes: > Nico Meijer <[EMAIL PROTECTED]> wrote: > > > Hi Bill, > > > > > The other option is to take what appears to be the best IMAP server out > > > there (Cyrus) and figure out a way to do real-time mirroring of the > > > mailboxes. > > > > Depending on the size / number of messages: how about using rsync and > > OpenBSD's CARP? > > > > True, it will not be realtime, but the synchronization (note the > > "depending" above) might take place regularly. > > Problem is: rsyncing the mail directories takes about 20 minutes, and the > only way to ensure that a good copy is achieved is to shut down Cyrus > during the backup. This makes it a little prohibitive to be doing this > very often. If you are running FreeBSD 5, you should be able to make a filesystem snapshot and rsync from there. -- Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT] Re: What's the best possible email failover solution
Bill Moran <[EMAIL PROTECTED]> writes: > Christian Laursen <[EMAIL PROTECTED]> wrote: > [snip] > > > If you are running FreeBSD 5, you should be able to make a filesystem snapshot > > and rsync from there. > > I suppose I should have commented on that ;) > > We're not running FreeBSD 5 on these production machines yet ... but it's > likely we will be soon, so I'm considering using snapshots. > > To my understanding, we still have to stop Cyrus while the snapshot is > being created (to ensure consistency) but since a snapshot takes a lot > less time than an rsync, this should be a big improvement. Once the > snapshot is created, rsync can take as long as necessary. Actually it is not neccesary to stop Cyrus while the snapshot is created. If it tries to use the filesystem during that short period it will block until the snapshot is fully created. -- Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to - source routing
Perica Veljanovski <[EMAIL PROTECTED]> writes: > Is it possible to do source routing in FreeBSD? You can do that with ipfw and fwd rules. -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: -HUP 1 command
Jez Hancock <[EMAIL PROTECTED]> writes: > On Tue, Jan 13, 2004 at 08:53:44PM -0500, fbsd_user wrote: > > After making changes to syslog.conf and newsyslog.conf > > what is the command to enable the changes. > > > > Is it Kill -HUP 1 > Note that process with PID 1 is usually the init process - sending a HUP > signal to it will produce undesirable effects similar to restarting the > whole server. Have a go and see what happens if it's not a production > server :P I usually kill init with a SIGHUP after editing /etc/ttys and it has so far never caused me any trouble. Actually this is also explained in the init(8) manpage: Line status (on, off, secure, getty, or window information) may be changed in the ttys(5) file without a reboot by sending the signal SIGHUP to init with the command ``kill -HUP 1''. On receipt of this signal, init re-reads the ttys(5) file. -- Best regards Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: The journalling file system saga
Peter Schuller <[EMAIL PROTECTED]> writes: [Problems with softupdates] > Yet another problem is that an fsync() no longer guarantees that data is on > disk, even with write caching disabled on the media. This doesn't break > things like PostgreSQL provided that the order of writes is preserved, but it > does break things like MTA:s that want to guarantee that critical data has > been commited to persistent storage before signaling success to an external > entity (SMTP client). fsync(2) works as advertised with softupdates enabled so that shouldn't cause any problems for applications that are written properly. -- Med venlig hilsen Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: The journalling file system saga
Peter Schuller <[EMAIL PROTECTED]> writes: > Perhaps a document would be in order describing/detailing all the details such > as this about soft updates, all in one place. What I know I have mostly > gathered by reading papers and random mailinglist postings about certain > specifics. Is there such a thing in existence? If not I may try to put one > together, for other people like me. Kirk McKusick has written some papers on the topic: http://www.mckusick.com/softdep/index.html -- Med venlig hilsen Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: automatic fsck -y at boot
kyr <[EMAIL PROTECTED]> writes: > The question is how can i make freebsd to AUTOMATICALLY CORRECT (fsck > -y > not just fsck) the inconsistency of a HD at boot time after a power failure. Put the following two lines in /etc/rc.conf: fsck_y_enable="YES" background_fsck="NO" -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Getting mod_dav to work
Alan Curtis <[EMAIL PROTECTED]> writes: > I would like to install the mod_dav port to allow me to make webDAV > connections from my OS X machine to my FreeBSD server. > > I am using > > FreeBSD 4.10-RELEASE > apache 1.3.13 > mod_dav-1.0.3_1 > > I installed everything and then followed the instructions from the > mod_dav website and put the following lines in my httpd.conf file. > > DAVLockDB /var/db/DAVLock > DAVMinTimeout 600 > DAVDepthInfinity On > > > DAV on > You should probably use "Location /" or "Directory /usr/home/alan/www/dav" instead. Location refers to a URI, not a path in the local filesystem. -- Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: High Availability Solution
Joseph Begumisa <[EMAIL PROTECTED]> writes: > Does anyone know of a high availability solution that works on > freebsd? I have two freebsd servers and would like to have them > operate in a way that if one fails, the second kicks in. Take a look at net/freevrrpd. -- Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vinum rebuildparity, when?
Stijn Hoop <[EMAIL PROTECTED]> writes: > I was wondering about the vinum 'rebuildparity' command, especially the > times when one needs to use this. I run rebuildparity if checkparity finds any errors after unclean shutdowns. > The problem is that I can't find anything in the vinum docs about this > command other than it's purpose. What I don't understand is the difference > between reviving a disk in a RAID-5 plex, and rebuilding the parity. When reviving a disk the data on that disk is calculated from the data and the parity on the other disks. I think rebuildparity only reads data and writes the parity calculated from that but for all disks. > When I start a degraded disk it starts to revive -- which led me to believe > that vinum was also recalculating the parity. Evidently it wasn't. > I'm therefore now updating my procedures to always run 'checkparity -v ' > after a disk crash. That shouldn't be neccesary. > Does anyone know if this is supposed to be this way? I'm pretty sure, that it isn't. -- Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vinum rebuildparity, when?
Stijn Hoop <[EMAIL PROTECTED]> writes: > On Wed, Aug 25, 2004 at 12:08:53PM +0200, Christian Laursen wrote: > > > When reviving a disk the data on that disk is calculated from the data and the > > parity on the other disks. > > Yes, but the parity should be recalculated at the same time, right? Yes. -- Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Is Adaptec 2120S supported?
I've been trying to figure out whether the Adaptec 2120S raid controller is supported by FreeBSD. Adaptec do not list FreeBSD as a supported platform for the 2120S like they do for e.g. 2110S. Is it supported, and if it is, by which driver? Thanks in advance? -- Best regards Christian Laursen To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Question about background FSCK
"John Straiton" <[EMAIL PROTECTED]> writes: > So I ask the list again: Is there a way to disable the background > checking of disks? Put the follwoing line in /etc/rc.conf: background_fsck="NO" -- Best regards Christian Laursen To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: USB Bluetooth dongle recommendation
FreeBSD Daemon <[EMAIL PROTECTED]> writes: > i will have to work on a project involving bluetooth technologie, for > this i will have to get me a usb bluetooth dongle. > i would be very happy to receive recommendations on devices that work > esecially well (under FreeBSD). D-Link DBT-120 works very well. -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pxeboot, TFTP only, NFS MOUNT RPC error: 60, timeout
Rek Jed <[EMAIL PROTECTED]> writes: > I've been building FreeBSD jumpstart infrastructure and it mostly > works. I'm using tftp to boot off the network in to scripted > sysinstall. I compiled the boot loader with tftp support but every > time I boot it will first try nfs, then timeout after around two > minutes (it cannot find nfs) and finally boot from tftp. Is there any > way that I can make it boot from tftp straight away rather than wait > for nfs to timeout? Try unsetting boot.nfsroot.server and boot.nfsroot.path although I'm not sure that it will avoid the timeout in newer FreeBSD releases. -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Changing path of formatted man pages
I'm trying to figure out how to change the location of formatted man pages, but have so far been unsuccessful. I want them to end up somewhere under /var instead of /usr. Has anyone had any success with this? Thanks in advance. -- Best regards Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Checking the clean bit of a filesystem
Justin Hopper <[EMAIL PROTECTED]> writes: > Does anyone know the easiest way, besides running fsck, to check the > clean bit on a filesystem? I need to check if a filesystem is marked > clean and I do not want to call fsck. If there is not a way through > userland commands to check the clean bit, can someone point me in the > general direction of where this bit is set (variable name in some > structure, etc). dumpfs(8) prints a lot of stuff about the specified filesystem, including the clean flag. -- Best regards Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Journaling filesystems
Dan Nelson <[EMAIL PROTECTED]> writes: > In the last episode (Jun 20), Sergey Akifyev said: > > On Fri, 2003-06-20 at 12:02, Karsten Fuhrmann wrote: > > > i am wondering if there are any journaling filesystems for freebsd > > > which are ready to use like reiser or ext3 for freebsd. > > > > FFS + SoftUpdates is much better than journaling! > > FFS+SU does have the disadvantages that a full fsck is still needed > (run in the background), and you risk losing the last `sysctl > kern.metadelay` seconds worth of files written just before a crash. You risk that on journalled filesystems too. -- Best regards Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: boot with GRUB
Robert Storey <[EMAIL PROTECTED]> writes: > I recently installed 5.1-RELEASE - I was previously using 5.0. > > When I had 5.0, I could easily boot FBSD from GRUB using these settings > in my Linux's /boot/grub/menu.lst file: > > title FreeBSD > root (hd0,1,a) > kernel /boot/loader > boot > > These settings no longer work, and I get an error message that Linux > does not recognize this (FBSD's) filesystem. Is your / filesystem by any chance UFS2? I don't think GRUB can read that yet. UFS1 should be fine though. (It certainly works for me with FreeBSD 5.1) -- Best regards Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and GRUB?
Henrik Hudson <[EMAIL PROTECTED]> writes: > I installed Grub from ports (cvsup'ed from tonight) and can't quite get her > working. > > I am running 4.8rel. > > I copied in the various *stage file into /boot/grub . I created a grub.conf > and sym-linked menu.lst to it and made everything 444. Try having the real file be /boot/grub/menu.lst and make /etc/grub.conf a symlink to that. Personally I don't have any grub.conf and it works fine without it. Grub has very little chance to follow a symlink to another partition in the boot environment. -- Best regards Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: The release of 5.3
[EMAIL PROTECTED] writes: > I don't see how they can possible consider the "Release" of an O/S version > when perhaps the most widely-available NIC (em) doesn't work. [EMAIL PROTECTED] ~]$ uname -a [22:03] FreeBSD borg.borderworlds.dk 5.3-RC1 FreeBSD 5.3-RC1 #29: Sun Oct 17 12:40:51 CEST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BORG i386 [EMAIL PROTECTED] ~]$ dmesg | grep em0 [22:03] em0: port 0xd400-0xd43f mem 0xdfea-0xdfeb,0xdfec-0xdfed irq 10 at device 13.0 on pci2 em0: Speed:N/A Duplex:N/A em0: Link is up 100 Mbps Full Duplex em0: port 0xd400-0xd43f mem 0xdfea-0xdfeb,0xdfec-0xdfed irq 10 at device 13.0 on pci2 em0: Ethernet address: 00:10:dc:da:7f:5e em0: Speed:N/A Duplex:N/A em0: Link is up 100 Mbps Full Duplex It works pretty well for me. -- Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: acpi laptop fan control
epilogue <[EMAIL PROTECTED]> writes: > i'm hoping that someone here might have a suggestion for a longstanding > and nagging little problem - my laptop fan /never/ shuts off. > > the machine is a Compal N30W, which is the OEM version of the Dell > Inspiron 5000. i'm running 5.3 and have the latest BIOS. I had a similar problem on my old Toshiba Portege 3110CT, which i fixed by putting hw.acpi.cpu.cx_lowest=C1 in /etc/sysctl.conf and devd_enable="NO" in /etc/rc.conf. I don't know if it will fix your problem and even on my own laptop it's probably not the correct way to fix it, but it works for me. :) -- Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linux jdk 1.4.2 doesn't crash properly :)
Martin <[EMAIL PROTECTED]> writes: > # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode) > # > # Error ID: 4F533F4C494E55580E43505001C9 > # > > Heap at VM Abort: > Heap > ^C^C^C^C^C^C > Killed > myhost# [snip] > How to solve this? Mount linprocfs. -- Best regards Christian Laursen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: grub on FreeBSD
"Nikolas Britton" <[EMAIL PROTECTED]> writes: > IIRC grub can't see UFS2, only UFS. I belive there is a work around > though. google for it GRUB has been able to read UFS2 filesystems for a long time. That doesn't help Ask with his particular problem though. -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: install freebsd from inside another operating system
Robin Becker <[EMAIL PROTECTED]> writes: > I'm just wondering if it is possible to install FreeBSD from inside a > bootstrap operating system such as a knoppix or ubuntu preinstall? > > Reason I'm asking is that my boss is asking about getting another > commodity server using a provider that doesn't offer freebsd. We do > get KVM over IP however, and I assume that really clever people might > know how to handle this sort of thing if they have console access. With console access that shouldn't be too hard. My suggestion would be along the following lines: - Make a disk image with the FreeBSD installer using my iso2diskimage script at <http://borderworlds.dk/utils/>. - Add an entry to your GRUB configuration that will use memdisk from the syslinux package to load the disk image. - Reboot and select the newly created FreeBSD installer entry in GRUB. - Install FreeBSD The installer will run completely from RAM when booted so you can use the entire disk for FreeBSD. However, once sysinstall starts writing stuff to the disk you will no longer be able to boot the installer, so make sure to do it right the first time. :) -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: running shell command through ssh tunnel
Noah writes: > I am trying to run a shell command to the host at the far end of an ssh > tunnel. Here is how I structured access. Is there any way to do this > more compactly on one line? > > > ssh -L 12345:192.168.1.20:22 n...@domain.com > ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/' Put something like the following in your ~/.ssh/config: Host otherhost HostKeyAlias otherhost ProxyCommand ssh n...@domain.com nc 192.168.1.20 22 Then you can simply run: ssh otherhost 'chown -R noah:noah /shares/internal/Music/' Reading the ssh_config man page might reveal a number of other nice features ssh has to offer. -- Christian Laursen ___ 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: running shell command through ssh tunnel
Noah writes: > Christian Laursen wrote: >> Noah writes: >> >>> I am trying to run a shell command to the host at the far end of an ssh >>> tunnel. Here is how I structured access. Is there any way to do this >>> more compactly on one line? >>> >>> >>> ssh -L 12345:192.168.1.20:22 n...@domain.com >>> ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/' >> >> Put something like the following in your ~/.ssh/config: >> >> Host otherhost >> HostKeyAlias otherhost >> ProxyCommand ssh n...@domain.com nc 192.168.1.20 22 >> >> Then you can simply run: >> >> ssh otherhost 'chown -R noah:noah /shares/internal/Music/' > > > I cant do this since I need to reach a publicly addressable host > before reaching the server at 192.168.1.20 Yes, that's exactly what it does. Try reading the mail one more time and look up how ProxyCommand works... -- Christian Laursen ___ 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: combining network interfaces
Frederique Rijsdijk wrote: Is there a way in FreeBSD to combine a number of network interfaces to one virtual interface on which I can tcpdump all the traffic of those interfaces at once? pflog(4) might be a possibility. -- Christian Laursen ___ 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: missing xorgconfig
kenneth hatteland wrote: Having reinstalled my laptop twice and updated to stable 7.2 prerelease but each time no xorgconfig exists as I am used to. xfce4 starts ok, but I get the known mouse locked problem and would love and xorg.conf to edit as I have learned but it doesn`t exist. X can generate a config file itself. Just run "X -configure". -- Christian Laursen ___ 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: Run script on boot, as ordinary user
Nerius Landys wrote: So there's cron. Is there anything that lets an ordinary user start his/her programs at bootup of the system? And then run a script when the system is shutting down? I'm familiar with /etc/rc.d/, but that's not really what I'm looking for. I gave my friends access to my FreeBSD server and I want to let them start for example Apache and/or MySQL on higher ports running as their own user. Starting something at boot is easy enough. The user can just add a line like this to his/her crontab: @reboot /path/to/command At shutdown is not possible via cron though. -- Christian Laursen ___ 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: Wake-on-LAN support in FreeBSD?
Peter Steele wrote: I came across that same reference. Unfortunately we're stuck on 7.0. I take it the point of the "wol" command that available in the ports collection is that it can be used to wake any system that supports wake-on-LAN, and these systems can be running any OS. So, based on what I've read here and in my searches, for wake-on-LAN to work on a given system, the NIC itself has to support this feature, and in addition the OS has to be able to enable this feature (via the driver for the NIC). It seems likely that when this appears that a new option will be provided for the ifconfig command. In some cases (depending on the NIC and the BIOS) WOL works even without OS support. It might be worth testing before you do anything else. -- Christian Laursen ___ 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: Backing up FreeBSD and other Unix systems securely
Kelly Jones wrote: I tried using Mozy for backups because they offer unlimited space, but 1) they don't support FreeBSD, 2) they encrypt file contents, but NOT file names, and 3) they don't do true versioned backups. Easy workaround for 1): rsync to a Mac/Windows and backup from there, but 2) and 3) are more difficult. % Is there software that already does this? Take a look at tarsnap. http://www.tarsnap.com/ -- Christian Laursen ___ 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: Migrate harddisk with FreeBSD into new machine
"C.M. Burns" <[EMAIL PROTECTED]> writes: > OK, it's monday and I'm back at work ;) > The controller is a "LSI Logic / Symbios Logic 53c1030 PCI-X > Fusion-MPT Dual Ultra320 SCSI". > I booted into a loader prompt and entered "load amr". Result was a > /boot/kernel/amr.ko text=xx data=xx syms=xxx > so I guess the driver has been loaded successfully. Try "load mpt" instead. That should give you /dev/da0*. -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: alternatives to mergemaster
"Michael P. Soulier" <[EMAIL PROTECTED]> writes: > The downside of mergemaster is that it is only a 2-way merge, where a > 3-way would know better than you prompt you for changes that you > didn't make. This makes mergemaster far more tedious than it has to > be. Has anyone considered a good 3-way merge tool? I always run mergemaster in auto upgrade mode. From the man page: -U Attempt to auto upgrade files that have not been user modi- fied. This can also be achieved by putting "AUTO_UPGRADE=yes" in /etc/mergemaster.rc. Combined with auto install, mergemaster requires little effort. -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Linux shared libs on FreeBSD
bill <[EMAIL PROTECTED]> writes: > We have a third-party php extension that we need to use for a > specific application here. The extension is compiled for Linux, but > it appears that its possible to use them in FreeBSD under the Linux > emulation. It is, but it's not pretty. > Its not working out so well for us, unfortunately. Here's what I've > done, and hopefully someone can point out where we've gone wrong and > maybe suggest a fix: > > 1) the PHP .so has been branded using: brandelf -t Linux > > 2) linux compatibility is enabled, linprocfs is mounted, etc. > > 3) the port linux_base-8-8.0_14 is installed and seems to be working > properly. > > I think that should about do it, no? Not quite. You can't mix native binaries and linux libraries. You need to use a php built for linux and load your .so into that. I had to do this once and chose to run php in cgi mode from a native apache. If you want to use php as an apache module, you'll need an apache built for linux as well. -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Looking for an emulator
Micah <[EMAIL PROTECTED]> writes: > Doesn't QEMU do AMD64 too, or am I misinterpreting x86_64 as AMD64? > http://fabrice.bellard.free.fr/qemu/status.html Yes it does. AMD64 and x86_64 is the same thing. -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Large File System?
"Atom Powers" <[EMAIL PROTECTED]> writes: > Somebody please tell me it is possible to create a file system larger > than 1.2TB. It is: FilesystemSizeUsed Avail Capacity Mounted on /dev/concat/c01.6T846G648G 57%/backup -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"