Search results

  1. nslay

    Solved FreeBSD 12.1 - processes killed with "out of swap space" message

    I get this when using lsof... which consumes memory forever when enumerating all open files. Some recent change in the kernel (from around June?) is the cause for me and I noticed it through rkhunter which uses lsof. Long story short, I just don't use rkhunter/lsof anymore... for now (problem...
  2. nslay

    Bridge networking and ipfw question

    Last time I had this issue, I discovered bridge's members were being filtered by the firewall by default. You might try adding this to /etc/sysctl.conf net.link.bridge.pfil_member=0 I'm more confused that more isn't being blocked by ipfw, because pf was blocking wlan and lan clients from each...
  3. nslay

    12.0 + pf NAT = sadness

    I got a PF NAT also working in 12.0 over bridged LAN/WLAN. The only hiccup I had updating FreeBSD 11 --> 12 was the DHCP issue I posted. But that's somehow caused by mysterious 802.11n problems and turning off 802.11n fixed it (though Windows Wi-Fi machines could still work?). Only Adrian Chadd...
  4. nslay

    FreeBSD 11/12 Wi-Fi Clients Never Receive DHCP Replies from FreeBSD 12 AP

    Apparently 802.11n is not working correctly in FreeBSD 12. I disabled it with the -ht flag to ifconfig create_args_wlan0="wlanmode hostap -bgscan apbridge -ht" Now my FreeBSD laptop can get an IP via DHCP (EDIT: It could always associate!). As a last ditch effort, I tried this based on this...
  5. nslay

    FreeBSD 11/12 Wi-Fi Clients Never Receive DHCP Replies from FreeBSD 12 AP

    Hello everyone! Here's a mystery! I usually can figure these out, but I am stumped on this one! I upgraded my 11-STABLE router to 12-STABLE. Everything continues to function! Briefly, it has this setup: pf firewall serves NAT Serves wi-fi with hostapd 2.7 bridges wired and wireless (lan0 and...
  6. nslay

    Solved K & R book question

    If at all possible, try to seek out a book on at least C89. K&R C is obsolete and some recent C/C++ compilers won't even compile it.
  7. nslay

    C printing EOF in c.

    printf is a variadic C function and its (mis)use is not dictated by language syntax or compiler beyond function call syntax. As such, you can pass printf as many arguments as you want of any type and won't typically be punished for it by the compiler. Although your program will crash or print...
  8. nslay

    replacing routers with BSD boxes

    I use vanilla FreeBSD on a MiniITX box to serve Internet over 802.11n Wi-Fi and wired LAN and it works great. It's all made possible with a combination of pf, if_bridge, hostapd, a few sysctl tunables that affect pf filtering on bridges, and a few rc.conf settings that setup routing, wlan...
  9. nslay

    Solved vmstat -i?

    Beautiful! Thanks so much. /proc and /sys are some of those things I'm not used to.
  10. nslay

    Solved vmstat -i?

    I'm really reluctant to ask this here, but I'm sure FreeBSD+Linux users will be more familiar with this issue. Is there anything equivalent to FreeBSD's vmstat -i in Linux? And I mean equivalent in detail about which devices/irqs generate interrupts. I don't want to see a summary of interrupts...
  11. nslay

    FreeBSD 11 Install ends in black screen

    My first impression when it comes to ATA/CAM messages like that is: Your CD/DVD is not written correctly. I've seen a lot of strange stuff when I've used optical media in the past, including CD-RW and DVD-RWs being readable by OS, but not when booting (not using *-RW fixes that). Or somehow the...
  12. nslay

    FreeBSD 11 Install ends in black screen

    https://www.freebsd.org/doc/handbook/boot-introduction.html I've never had to do this myself. Try using set command. For example: set kern.vty=sc Reference: https://www.freebsd.org/doc/handbook/boot-introduction.html Section 12.2.3 "Stage Three" EDIT: You may have to put quotes on the...
  13. nslay

    Solved FreeBSD 11 (fresh install) hangs at boot stage 3

    Just taking a guess, but perhaps it doesn't like the way you partitioned your target filesystem (the pre-install check failure)? I vaguely remember seeing that error in the past. And I also vaguely remember running into some really counter-intuitive problem in the installation related to that.
  14. nslay

    FreeBSD 11 Install ends in black screen

    Sounds like the new video terminal stuff in FreeBSD 11. There may be a way to disable it in the loader. I'm not liking it myself. When I try to boot single user mode, I see the kernel output but no prompt ever appears for the root shell. When I boot multi-user mode, it takes a relatively long...
  15. nslay

    UEFI boot with bugged bios - suggestions for next steps?

    I went through this recently (mine is an Asus X555LA). Try turning on CSM (in your BIOS), disabling Secure Boot (in your BIOS), and creating an MBR partition table (in FreeBSD's installer) instead of GPT. After installing, it would fail to boot when I used GPT. But it works perfectly with MBR...
  16. nslay

    error: no root partition found

    For the first time in 5 years, I installed FreeBSD over the weekend and encountered this. It's caused when you create a non-swap partition and don't specify a mount point. This baffled even me, an experienced FreeBSD user, for about 5-10 minutes. I didn't even notice the Mountpoint field...
  17. nslay

    C/C++ Programming Reference?

    Use the manual pages (man) sections 2 and 3. For example: man 2 send man 3 pthread Some stuff can be in other sections (e.g. a discussion about AF_UNIX sockets API would be unix, and tun would be for the tunneling device API if you wanted to write a VPN client). If you're not sure, you can use...
  18. nslay

    RC5 gotchas

    I didn't try that but it doesn't surprise me. What lead to my solution was that Xorg would print out something like (paraphrasing)
  19. nslay

    RC5 gotchas

    I upgraded from RC2 and ran into two problems: Xorg complained about mixed ABIs and my mouse stopped working in Xorg. To save you some time ... Mouse stops working in Xorg If you find your mouse is no longer working after an update to RC5 and a pkg upgrade, it's probably because moused is...
  20. nslay

    What happened to the FreeBSD 10 release schedule?

    I don't know. I just changed your URL to: http://www.freebsd.org/releases/10.0R/schedule.html And that gives a table with the expected dates. Maybe they don't synchronize across their web servers?
Back
Top