|
hifi posted:Set up ssh (if you didn't enable it in the installer) and use scp Exactly this. On the client side, WinSCP works well on Windows (though the interface is pure 1997), and I think cyberduck is fine on a Mac - or the command line tools. On Linux I use the command line tools , but you can also do fish:// or sftp:// in any KDE program (including dolphin).
|
# ? Jun 6, 2014 09:25 |
|
|
# ? May 30, 2024 07:00 |
|
I had no idea ssh existed. It is perfect for what I needed to do, I almost feel like crying that something that was giving me such grief ended up having such an elegant solution. edit: I'm just using Terminal that comes with the Mac
|
# ? Jun 6, 2014 10:47 |
|
Samba 3.x is available as a package for OpenBSD and works for basic network file shares too if you want something more convenient.
|
# ? Jun 6, 2014 19:15 |
|
^^ Wouldn't NFS be easier between BSD and OSX? Or are they not quite compatible and require a bunch of work? I like FileZilla on Windows for sftp, it even uses your key agent. I don't know how good the OSX version is though.
|
# ? Jun 6, 2014 19:42 |
|
thebigcow posted:^^ Wouldn't NFS be easier between BSD and OSX? Or are they not quite compatible and require a bunch of work? NFS is just terrible on OSX.
|
# ? Jun 6, 2014 20:12 |
|
What's the best way to update openssl on a freebsd 10 machine with a custom kernel? I can't use freebsd-update because the kernel is 10-stable. The machine is not powerful enough to rebuild kernel and world in a reasonable amount of time. Is my only option to rebuild world on another machine and then overwrite everything over the existing system?
|
# ? Jun 22, 2014 08:57 |
|
Do you need to rebuild world or will just /usr/src/usr.bin/openssl or similar do?
|
# ? Jun 22, 2014 14:18 |
|
JamesOff posted:Do you need to rebuild world or will just /usr/src/usr.bin/openssl or similar do? It seems like everything I care about is linked against /usr/lib/libssl.7 and /usr/lib/libcrypto.7. Even if I rebuild openssl or install from pkg it installs /usr/local/lib/libssl.8 and /usr/local/lib/libssl.8 and I'm hesitant to assume .7 and .8 are compatible.
|
# ? Jun 22, 2014 21:30 |
|
Don't install multiple OpenSSLs on the same machine if you can avoid it. I'd delete the one from pkg. The instructions highly recommend you rebuild the entire world, and I understand that would be painful on this machine. Can you build it on another machine? If so, transfer or NFS mount /usr/src and /usr/obj to the target machine and then do the installworld only. This will save you from having to compile on that slower machine.
|
# ? Jul 3, 2014 17:07 |
|
feld posted:The instructions highly recommend you rebuild the entire world That's the conclusion I came to also. I ended up mounting actual disks via NFS and then just letting the thing rebuild world and kernel over a few days. It didn't occur to me I could do the build on a different machine and installworld on this one but I'll remember that for next time, thank you. If only the stock FreeBSD kernel had ALTQ enabled I could use the binary updates. Why is that not enabled by default?
|
# ? Jul 5, 2014 13:22 |
|
Ninja Rope posted:That's the conclusion I came to also. I ended up mounting actual disks via NFS and then just letting the thing rebuild world and kernel over a few days. It didn't occur to me I could do the build on a different machine and installworld on this one but I'll remember that for next time, thank you. I don't know the history, but I'm guessing it's because ALTQ affects the network stack in some edge cases. But honestly, ALTQ is junk and I hope we kill it like OpenBSD did and bring in their updated pf with the new fancy QoS code.
|
# ? Jul 5, 2014 13:59 |
|
IPSEC isnt in there by default, either. That's the only reason I compile a kernel. Also, the new pf would be super nice, if only for the current syntax.
|
# ? Jul 6, 2014 22:47 |
|
How's the current maintainer of FreeBSD's pf doing? Is he able to keep up or does he need help?
|
# ? Jul 7, 2014 00:09 |
|
Since setting up a new FreeBSD 10.0 server, I've been using the pkg command more and more. However, this happens on our older FreeBSD 9.2 server: code:
"pkg install perl5.14" reinstalls my current perl, but "pkg install perl5" wants to install perl5.16 and remove perl5.14 and everything that depended on it (samba, webmin, cowsay, etc). Double-edit: It looks like I may have to do something like this to replace the port and then re-compile everything using it: code:
4th edit: That worked. The "portmaster -o" command replaced the port and left everything else alone, then "pkg upgrade" reinstalled a few things because "direct dependency changed" for them. Xenomorph fucked around with this message at 01:30 on Jul 24, 2014 |
# ? Jul 23, 2014 23:35 |
|
Ninja Rope posted:How's the current maintainer of FreeBSD's pf doing? Is he able to keep up or does he need help? There's a discussion in the -current mailing list about importing a more current version; so far no one has volunteered. Bapt looked at it and decided it's ... complicated, since the current version has things like multithreading that aren't in the OpenBSD version.
|
# ? Jul 24, 2014 00:37 |
|
pf: extremely popular, no maintainer, some annoying quirks. new users tend to use this. ipf: haha, who uses this anyway? it's the reason pf exists. ipfw: everyone old school uses this, and supposedly it works perfectly. I hate the config syntax though. Luigi Rizzo seems to be the current maintainer. edit: not be so harsh on pf feld fucked around with this message at 17:07 on Jul 24, 2014 |
# ? Jul 24, 2014 16:41 |
|
I'm having terrible network performance between my windows computer and my freebsd server.code:
code:
code:
|
# ? Aug 20, 2014 01:00 |
|
Your network card (driver?) is crap. When you do the ifconfig, you can see on the options line that it only supports txcsum (transmit check sum offloading) and not receive offload. So your cpu is going nuts doing all the work which entails a huge performance hit as you can see from your tests.
|
# ? Aug 20, 2014 02:18 |
|
unknown posted:Your network card (driver?) is crap. When you do the ifconfig, you can see on the options line that it only supports txcsum (transmit check sum offloading) and not receive offload.
|
# ? Aug 20, 2014 12:20 |
|
Followup: Switching to another network card ... It became better, but considering 1gbps, there's no other judgement to make than "abysmal". code:
code:
code:
code:
|
# ? Aug 26, 2014 12:10 |
|
Speaking of weird iperf speeds:code:
code:
This is OpenBSD 5.5
|
# ? Aug 26, 2014 13:20 |
|
Marinmo posted:Followup: Have you tried running UDP iperf tests instead? That would rule out any TCP tunables.
|
# ? Aug 27, 2014 05:10 |
|
Bluecobra posted:Have you tried running UDP iperf tests instead? That would rule out any TCP tunables. With UDP transfers seem to cap at 1mbit/s for some reason. Perhaps I'd be best off buying only Intel NICs if I'm going to do this in the future ... Since the cards in the machine now work just dandy w/ both windows/linux (dislike win2012 server, hate the ideology behind systemd if you wonder why I don't use 'em), I'm willing to, perhaps prematurely, call this a driver issue w/ Realtek chips as well?
|
# ? Aug 29, 2014 22:29 |
|
Marinmo posted:With UDP transfers seem to cap at 1mbit/s for some reason. You need to tell iperf how fast to send UDP packets. Unlike TCP, it doesn't have a mechanism to determine if packets are being dropped. The option is -b: code:
|
# ? Aug 29, 2014 22:32 |
|
If I have a host that is running a custom kernel, but is almost completely stock 10-STABLE, is there a way to "update" it to a version from freebsd-update? I know I'll lose whatever I did differently building my own custom kernel, but they're so similar I don't think it will matter. I'd rather get back on binary releases.
|
# ? Aug 30, 2014 13:29 |
|
10-stable isn't a tracked branch for freebsd-update, unless something changed. I don't know if it would even take kindly do you specified a release patch level to update to. I remember reading that there is some magical way to avoid freebsd-update nuking your custom kernel, so long as the base kernel is named generic or some such. I haven't really looked too closely into it though.
|
# ? Aug 30, 2014 20:47 |
|
What am I missing here?code:
What do I need to fix to get samba41 to install? Do I need to get a hold of gdb771 somehow? Edit: It looks like if I re-compile samba41 without the "developer" option, it doesn't need gdb7.7. Why would Samba require "gdb771" exact instead of ">=gdb771" like all other dependencies? Xenomorph fucked around with this message at 00:41 on Sep 19, 2014 |
# ? Sep 19, 2014 00:35 |
|
Have you emailed the port maintainer?
|
# ? Sep 19, 2014 15:04 |
|
EvilMoFo posted:Have you emailed the port maintainer? The FreeBSD net/samba41 maintainer? Nope. I didn't think I could do that. How do I do that?
|
# ? Sep 19, 2014 18:57 |
|
http://www.freshports.org/net/samba41/
|
# ? Sep 19, 2014 19:07 |
|
Another fun thing with Samba 4/4.1. Apparently winbind cannot read uidNumber correctly from AD any more...? I have this in my smb.conf (Samba 3 on FreeBSD 9.2) and smb4.conf (Samba 4.1 on FreeBSD 10.0): code:
code:
Samba 4: code:
On both systems, using LDAP/nsswitch: code:
I've read about the new "idmap_ldb:use rfc2307 = yes" option. But that doesn't seem to help. It seems like a pretty big thing to just allow to break. Windows AD, FreeBSD/Samba Clients I think this person may have a similar issue: https://bugzilla.samba.org/show_bug.cgi?id=9795 I may just wipe Samba 4.1 and put Samba 3.6 on FreeBSD 10.0. I don't think I'm getting any advantages from using 4/4.1, and I don't want to bother if random things seem broke with it.
|
# ? Sep 24, 2014 00:06 |
|
Man, this software has been a bucket of poo poo. FreeBSD 10.0, Samba 4.1/Winbind just won't work. Active Direction has supported standard UNIX uidNumber/gidNumber since at least Windows Server 2003 R2. The weird "idmap" function in Samba 3.6 at least work (why would you need to "map" anything to a range? Just read the number as-is in AD). So I remove Samba 4.1 and install Samba 3.6... But that doesn't work on FreeBSD 10.0! winbind crashes with a core dump and the "sha1 checksum failed" message. "Critical" bug opened in July of 2013, and zero progress has been made: https://bugzilla.samba.org/show_bug.cgi?id=10039 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186694 So I'm guessing I have to just stay on FreeBSD 9 and Samba 3 forever? The FreeBSD roadmap lists support for 9.3 until the end of 2016. The Samba people seemed to drop 3.6 and 4.0 and are just doing development on 4.1. Is what I'm doing really that so foreign? * Windows Active Directory (users, authentication, etc). * FreeBSD NFS/Samba server (authenticated to AD). NFS/LDAP works fine. All users have the correct uidNumber and gidNumber. Samba/Winbind has been a pain. Samba own documentation doesn't work (https://wiki.samba.org/index.php/Samba_&_Active_Directory). Are their docs for Samba 3? The Samba 4 Winbind page has been deleted: https://wiki.samba.org/index.php/Samba4/Winbind Xenomorph fucked around with this message at 03:51 on Sep 26, 2014 |
# ? Sep 26, 2014 03:41 |
|
I never had much luck with samba beyond basic file sharing on a home network with version 2 and 3 on OpenBSD. I specifically fought quite a lot with version 3 and then 4 on getting the LDAP backend to work and gave up. They don't seem to care at all about supporting platforms other than chosen linux distros.
|
# ? Sep 26, 2014 19:27 |
|
I'm using Samba 4 on FreeBSD 10 just fine, but I built it from source and I'm not using UID mapping or anything. Users have a unix account they log in as.
|
# ? Sep 26, 2014 22:07 |
|
Our setup cannot be that unique. We have Active Directory for centralized user management. Isn't that like, an industry norm? I just want a file server (that needs to provide Samba and NFS to clients) that authenticates to our AD server. It's been working fine for 2+ years on our Samba3/FreeBSD9 server. Samba4 isn't feature-complete, yet, but they still seemed to have dropped Samba3. Only Samba 4.1 is listed as a current project. Samba3/Winbind works on FreeBSD 9, but has weird encryption and crashing errors on FreeBSD 10. Is that a Samba issue or FreeBSD issue? Would some libraries change in 10.0 that Samba 3 relied on? Or does FreeBSD 10.0 use different Samba3 sources than FreeBSD 9? Samba4/Winbind cannot seem to query AD for UID/GID information, and that seems like quite an oversight. Security on Linux and UNIX is all about the UID/GID, and I just cannot get Samba4 to read that from AD.
|
# ? Sep 27, 2014 02:02 |
|
I don't have any control over the ancient AD domain i authenticate against, so I'm using the uid mapping. As long as the username/uid mapping is stable, it should be fine - the only issue I had with differing uids between the machines was the nfs3-mounted file server. Moving to nfs4 solved that, though that's not absolutely trivial either. Or, to be exact: it seems to work fine without being to onerous to set up now, with a recent freebsd serving ubuntu 14.04 clients. With earlier versions it was a deep well of things that should, but didn't, work. (I haven't set up sec=krb5 yet, though. That looks like it'll be "fun".)
|
# ? Sep 27, 2014 09:18 |
|
I've got a raid-z pool of 4 drives plus a single UFS drive. What load would the UFS drive see by mounting the zpool and sharing it over LAN? Am I right in understanding that there would be minimal caching on the drive, instead using my RAM? I'm sick of having my OS drive fail as I'm onto my 2nd failure in a few months and so I'm thinking I'll just grab a USB thumb drive and boot from that. The boot time isn't too big a problem and it usually just sits there serving files off the Zpool. What capacity would I want for a basic FreeBSD 10 install with stuff like samba, etc. configured? 32GB?
|
# ? Sep 28, 2014 06:14 |
|
Nam Taf posted:I've got a raid-z pool of 4 drives plus a single UFS drive. What load would the UFS drive see by mounting the zpool and sharing it over LAN? Am I right in understanding that there would be minimal caching on the drive, instead using my RAM? The "rule of thumb" I've seen is 1GB of RAM for every 1TB of storage. Although, 1GB per 1TB may not be enough. My pair of FreeBSD servers have 64GB of RAM and 36TB of storage, with ~24TB of usable storage (two raidz2s striped, and a pair of UFS drives in hardware RAID 1 for the OS drive), and I've maxed out the RAM before on them several times. It's sitting idle right now, with about 28GB of memory in use, but during the middle of the day it has no free memory and it starts hitting the swap partition (16GB) pretty hard. I'm going with the default ZFS compression level, and no data deduplication (increasing compression level or going with deduplication ate tons of CPU and slowed down network transfers). Have you considered going with an SSD for your OS drive? I'd recommend the Intel 530 SSD, 120GB or 240. I have a full install of FreeBSD 9.2 (all options selected at install), all the port sources downloaded, and then Samba 3.6 installed. It's using about 11GB of my OS drive.
|
# ? Sep 30, 2014 02:53 |
|
I wanted to see what it is like to run the GnuStep desktop environment, so I installed MidnightBSD in Virtual Box. http://www.midnightbsd.org/ You have to compile X before you can use it. X doesn't compile on it. This all made me very sad. edit: Oh.. It looks like what I really want is WindowMaker! Captain Pike fucked around with this message at 07:46 on Oct 1, 2014 |
# ? Oct 1, 2014 07:38 |
|
|
# ? May 30, 2024 07:00 |
|
Xenomorph posted:Our setup cannot be that unique. Nope, not at all unique. We have a random assortment of FreeBSD machines (v8 through v10) for some very specific tasks among a seemingly endless sea of RHEL/Centos/Windows boxes that are all tied into Windows AD for authentication and authorization. I'll ask someone in our unixsys group about how they are pulling off the AD integration on our FreeBSD boxes and update the thread if I get a coherent answer. Edit: Turns out we aren't using samba on those servers. Sorry. alyandon fucked around with this message at 20:45 on Nov 13, 2014 |
# ? Nov 12, 2014 02:34 |