トップ 差分 一覧 Farm ソース 検索 ヘルプ PDF RSS ログイン

Diary/2022-6-9

FreeBSD/VMWare

思うところあってVMWareのゲストOSとしてFreeBSDをセットアップ.

VMWareならではの設定

関連パッケージのインストール

pkg install open-vm-tools xf86-input-vmmouse xf86-video-vmware

/usr/local/etc/X11/xorg.conf.d/input-vmmouse.conf

Section "InputClass"
        Identifier      "Mouse0"
        Driver          "vmmouse"
        MatchIsPointer  "on"
EndSection

/usr/local/etc/X11/xorg.conf.d/screen-resolution.conf

Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        SubSection      "Display"
        Modes           "1920x1080"
        EndSubSection
EndSection

キーレート

どのくらいがいいかよくわからないので,

xset r rate 200 30

とかして一時的に変更.

Samba

/usr/local/etc/smb4.conf

[global]
        workgroup = WORKGROUP
        server string = carotte
        netbios name = carotte
        dns proxy = no
        local master = no
        os level = 200
        unix charset = UTF-8
        dos charset = CP932
        hosts allow = 127.0.0.1, 192.168.206.
        security = user
        map to guest = Bad User
        load printers = no
        log file = /var/log/samba4/log.%m
        guest ok = no

[homes]
   comment = Home Directories
   browseable = no
   read only = no
   create mask = 0700
   directory mask = 0700
   valid users = %S