FuguIta/BBS/12
をテンプレートにして作成
Start:
This page is archived. ~
Current active BBS is [[FuguIta/BBS]].
----
#contents
----
**''old/FuguIta-7.2-amd64-nsh_demo.tar.gz'' in a mirror [...
>[[kaw]] (2022-11-29 (Tue) 23:02:00)~
~
This is a #FuguIta LiveUSB image with NSH (Network config...
~
It was created according to the [[Building a Router with ...
~
After bootup is complete, you can try NSH with login="nsh...
~
If you want to play with it as root, after logging in wit...
//
**The files for LiveDVD and LiveUSB are different. [#z289...
>[[kaw]] (2022-11-01 (Tue) 11:55:57)~
~
Immediately after releasing #FuguIta 7.2, it was also pos...
FuguIta has separate files: *.iso.gz for LiveDVD and *.im...
It's unlikely that almost all people are trying to run Li...
It is persistently written in the [[list of download mirr...
~
''READ THE INSTRUCTIONS CAREFULLY'' when downloading.~
//
**FuguIta guide English version unavailable [#a1e094aa]
>[[Ronan]] (2022-11-01 (Tue) 01:11:13)~
~
Hi,~
~
I am trying to download the English version of the compre...
fuguita.liquorstane.ynh.fr/FuguIta.~
Do you know where I could get it?~
Congratulations for your great work.~
Regards. ~
~
Ronan~
//
- The URL for the English translation of the #FuguIta Gui...
- #FuguIta Thanks a lot! -- [[Ronan]] &new{2022-11-01 (Tu...
**Non-Free Firmware [#je21db99]
>[[Prasad]] (2022-08-25 (Thu) 08:43:39)~
~
Hi - I am trying out #FuguIta for the first time (coming ...
How do i install drivers for wireless -- i am using a Thi...
apologies if i missed this in the start-guide -- please p...
Thank you ~
prasadmn@gmail.com~
//
- To install non-redistributable firmware on #FuguIta, th...
**Wired and Wireless LAN Failover Connection [#c13c4cad]
>[[kaw]] (2022-08-24 (Wed) 21:27:07)~
~
In OpenBSD, [[trunk(4)>https://man.openbsd.org/trunk.4]] ...
If the live device changes, the path switches seamlessly.~
~
In #FuguIta, the trunk(4) connection is set up as follows.~
~
The following example assumes that bge0 is used for wired...
~
First, use the gennetconfs utility to generate the config...
fugu-demo# gennetconfs failover
===================================================
= gennetconfs: generate network configuration files
===================================================
Hostname with domain part (FQDN):
only host name without domain part is also OK.
-> fugu-demo.local
IP protocol version(s) to be enabled: 4, 6, 46, 64 or "n...
4: enable only IPv4
6: enable only IPv6
46: give priority to IPv4 name resolution
64: give priority to IPv6 name resolution
none: operate as standalone
[64] ->
Network Interfaces: Choose one
NIC type Name
-------- ----- ------------
bge0 ether Broadcom BCM57765
urtwn0 wifi GW-USValue-EZ GW-USValue-EZ
[bge0] -> bge0
IPv6 - address and routing:
Enter "auto" or "IPv6_address[/prefixlen] [default_gat...
"auto" is an automatic setting by SLAAC.
The "/prefixlen" part can be an integer between 0 and ...
If there is no default gateway,
set the second field to "none" or leave it blank.
[auto] ->
IPv4 - address and routing:
Enter "auto" or "IPv4_address[/mask] [default_gateway]"
"auto" is an automatic setting by DHCP.
The "/mask" part can be specified in either format,
such as "/255.255.255.0" or "/24".
If there is no default gateway,
set the second field to "none" or leave it blank.
[auto] ->
writing configured values to:
/etc/fuguita/netconfs/failover/myname
/etc/fuguita/netconfs/failover/hostname.bge0
/etc/fuguita/netconfs/failover/resolv.conf
======================================================
= end of gennetconfs:
= Use chnetconf utility to activate this configuration
======================================================
Next, we generate the configuration for urtwn0. At this t...
fugu-demo# gennetconfs failover
-------------------------<< snip >>---------------------...
Network Interfaces: Choose one
NIC type Name
-------- ----- ------------
bge0 ether Broadcom BCM57765
urtwn0 wifi GW-USValue-EZ GW-USValue-EZ
[bge0] -> urtwn0
Wi-Fi settings:
SSID -> fugunet-ap
WPA Key -> FUGUNET-SECRET
-------------------------<< snip >>---------------------...
writing configured values to:
/etc/fuguita/netconfs/failover/myname
/etc/fuguita/netconfs/failover/hostname.urtwn0
/etc/fuguita/netconfs/failover/resolv.conf
======================================================
= end of gennetconfs:
= Use chnetconf utility to activate this configuration
======================================================
fugu-demo #
Manually generate the settings for trunk0.
fugu-demo# cp -p hostname.bge0 hostname.trunk0
fugu-demo# vi hostname.trunk0
trunkproto failover
trunkport bge0
trunkport urtwn0
up
Specify the device to join the trunk by trunkport. The fi...
~
Delete the IP address settings from the bge0 and urtwn0 s...
fugu-demo# vi hostname.bge0
up
fugu-demo# vi hostname.urtwn0
nwid fugunet-ap wpakey FUGUNET-SECRET
up
The configuration is now complete; use the chnetconf comm...
fugu-demo# chnetconf failover
If the settings are correctly reflected, the output of if...
fugu-demo # ifconfig
bge0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,S...
lladdr 10:9a:dd:6c:11:0c
index 1 priority 0 llprio 3
trunk: trunkdev trunk0
media: Ethernet autoselect (none)
status: no carrier
urtwn0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,...
lladdr 10:9a:dd:6c:11:0c
index 4 priority 4 llprio 3
trunk: trunkdev trunk0
groups: wlan
media: IEEE802.11 autoselect (OFDM54 mode 11g)
status: active
ieee80211: nwid aterm-963fef-g chan 1 bssid 10:6...
wpakey wpaprotos wpa2 wpaakms psk wpaciphers ccm...
trunk0: flags=a48843<UP,BROADCAST,RUNNING,SIMPLEX,MULTIC...
AUTOCONF6,AUTOCONF4> mtu 1500
lladdr 10:9a:dd:6c:11:0c
index 5 priority 0 llprio 3
trunk: trunkproto failover
urtwn0 port active
bge0 port master
groups: trunk egress
media: Ethernet autoselect
status: active
inet6 fe80::129a:ddff:fe6c:110c%trunk0 prefixlen...
inet 192.168.10.100 netmask 0xffffff00 broadcast...
//
**obsd [#m2ba7e9a]
>[[botmetkas@gmail.com]] (2022-08-13 (Sat) 19:32:49)~
~
#FuguIta~
~
Stay compatible with obsd, the concept of server is to be...
//
- Thank you for your post.&br;Servers can be operated in ...
**Change of the server (2) [#g6277042]
>[[kaw]] (2022-08-04 (Thu) 23:46:28)~
#ref(twoservers.jpg,wrap,around,right,50%)
After the server failure, I started up the machine in the...
~
The machine in the photo below has an IDE HDD removable b...
#clear
#ref(newserver.jpg,wrap,around,left,37%)
New fuguita.org server (MacMini 4,1, Mem 8GB, FuguIta-7.1...
IPv6 and TLS are supported. Tentatively scheduled to oper...
Relay HTTP via fuguita.org to hosts in inner network was ...
#clear
A rack to house network-related equipment and the old fug...
Unnecessary equipment and wiring were removed and rewired.
|&ref(rack.jpg,wrap,37%);|&ref(powerline.jpg,wrap,37%);|
//
**Change of the server [#x6aabb53]
>[[kaw]] (2022-07-22 (Fri) 13:35:12)~
~
#ref(nimbus6f.jpg,wrap,around,right,20%)
On the evening of July 19, 2022, the power supply unit of...
~
This PC was initially used as my main desktop machine and...
~
Spec: CPU:Celeron(R) ("GenuineIntel" 686-class) 1.72 GHz,...
#clear
#ref(nimbus6b.jpg,wrap,around,left,20%)
Its lifespan was about 18 years.~
~
It has been running OpenBSD for almost all of this time, ...
Once again, I would like to express my gratitude for this...
~
We are currently copying the data from the hard disk of t...
#clear
//
**FuguIta-7.1-amd64-202205241.img was broken. [#gbe033e9]
>[[kaw]] (2022-05-25 (Wed) 23:45:41)~
~
LiveUSB version of #FuguIta-7.1-amd64-202205241 didn't bo...
I generated again FuguIta-7.1-amd64-202205241 from FuguIt...
The mirror site update has also been completed.~
~
Thanks MisticDoor@github for the problem report.~
**fix: fiupdate doesn't reboot sometimes [#s8dfcf83]
>[[kaw]] (2022-05-15 (Sun) 11:30:06)~
~
Since TMPFS has been changed to MFS, when fiupdate runs, ...
The following diff is a fix for this problem and will be ...
--- fiupdate Sun May 15 11:23:35 2022
+++ fiupdate.new Sun May 15 11:23:29 2022
@@ -296,11 +296,16 @@
setup_rampath () {
mkdir -p /ram/fiupdate.bin
cp -p /bin/{cat,echo,mv,rm,rmdir,sync} \
- /sbin/{reboot,shutdown} \
/usr/local/bin/pv \
/ram/fiupdate.bin/.
- ln /ram/fiupdate.bin/reboot /ram/fiupdate.bin/halt
- PATH=/ram/fiupdate.bin:/boottmp:$PATH
+
+ # copy only reboot to /boottmp on rd(4) fs
+ # not to corrupt the executable at reboot time
+ #
+ cp -p /sbin/reboot /boottmp/.
+ ln /boottmp/reboot /boottmp/halt
+
+ PATH=/boottmp:/ram/fiupdate.bin:$PATH
export PATH
}
@@ -721,4 +726,4 @@
#
sync; sync; sync; sleep 5
echo2 "now rebooting..."
-reboot
+/boottmp/reboot
//
- My laptop is not rebooted by #FuguIta-7.1-amd64-2022051...
- This fix will be valid for next #FuguIta release using ...
**FuguIta 7.1: IceWMで日本語が表示されない [#jb31dc28]
>[[kaw]] (2022-05-08 (Sun) 23:53:30)~
~
#FuguIta 7.1を使い出して気がついたのですが、IceWMを使うと...
これは、IceWMのデフォルトのフォント設定が変更されたための...
解決方法としては、フォント設定の"DejaVu"、あるいは"dejavu...
具体的には以下のコマンドを実行することで解決されます。~
$ grep -i -B1 'dejavu' /usr/local/share/icewm/preference...
sed 's/^--$//; s/^# *\(.*\)[Dd]eja[Vv]u *\(.*\)/\1\2/' >...
//
**"expand" vs. "encrypted partition" [#qc194edf]
>[[liar666]] (2022-05-04 (Wed) 17:02:59)~
~
#FuguIta~
Hi,~
Thanks for the great tool, with so much options. I love i...
I've dd'ed the (2.1GB) img on a 4GB USB stick, now I woul...
I read pages about "expand" (StartGuide) and "encrypted p...
- they are exclusive and I should do *either* one *or* th...
- I should expand first, then setup an encrypted partition~
#FuguIta~
//
- PS: In the "Notice" at the top of the page ("To avoid p...
- Thank you for liking #FuguIta.&br;usbfadm's ''expand'' ...
**How to use new build tool of FuguIta [#q8119566]
>[[kaw]] (2022-05-02 (Mon) 00:01:06)~
~
FuguIta 7.1 has made significant changes in the way the b...
~
In following explanation, FIBLD represents the working di...
Please replace it with your actual working directory when...
+The build environment is OpenBSD 7.1 or later, or FuguIt...
+Put OpenBSD kernel source code under /usr/src/sys.
# tar -xz -C /usr/src -f sys.tar.gz
+Extract [[new FuguIta build tool>FuguIta/Download#vcad20...
# mkdir FIBLD
# cd FIBLD
# tar -xz -f tools-7.1-amd64.tar.gz && mv tools-7.1-amd6...
For the other platform, replace "amd64" with its name.~
~
+Copy or symlink OpenBSD install sets (e.g. *71.tgz) unde...
# cp SOMEWHERE/*71.tgz FIBLD/install_sets/.
or
# ln -sf SOMEWHERE/*71.tgz FIBLD/install_sets/.
+Copy or symlink rsync, rlwrap, pv package files in FIBLD...
# cp SOMEWHERE/{rsync,rlwrap,pv}-*.tgz FIBLD/install_pkg...
or
# ln -sf SOMEWHERE/{rsync,rlwrap,pv}-*.tgz FIBLD/install...
+Compile the kernels for FuguIta. In FIBLD, do the follow...
# make kernconfig && make kern
+Extract the OpenBSD file tree and modify it for FuguIta.
# make stage
If you want to customize FuguIta, modify the file tree un...
~
+Make the contents of image file identical to this file t...
# make sync
+Combine the kernels, boot loaders, and an image file to ...
# make iso
+Compress the ISO file with a filename containing the rel...
# make gz
//
**Audio volume control [#vc7400bd]
>[[kaw]] (2022-04-30 (Sat) 10:36:55)
#ref(TinyMixer.png,wrap,around,left)
>Here's a simple audio volume control, which is a GUI wra...
Install tk-8.6. Next, chmod +x this script. Then run this.
#clear
#!/usr/local/bin/wish8.6
catch {
destroy .input
destroy .output
}
wm title . "TinyMixer"
frame .input
scale .input.volume -label "MIC IN" -orient horizontal -...
.input.volume set 0
button .input.mute -text "MUTE" -command {togglemute .in...
frame .output
scale .output.volume -label "PHONE OUT" -orient horizont...
.output.volume set 50
button .output.mute -text "MUTE" -command {togglemute .o...
pack .input.volume -side left -fill both -expand yes
pack .input.mute -side left -expand no -fill both
pack .output.volume -side left -fill both -expand yes
pack .output.mute -side left -expand no -fill both
pack .input .output -side top -fill both -expand yes
proc setvol {inout val} {
exec sndioctl "${inout}.level=[expr ${val} / 100.0]"
}
proc mute_on {w inout} {
fade_out $inout [".${inout}.volume" get]
}
proc fade_out {inout vol} {
if {6 <= $vol} {
set vol [expr 6 * $vol / 7]
setvol $inout $vol
after 20 fade_out $inout $vol
} else {
setvol $inout 0
exec sndioctl "${inout}.mute=1"
}
}
proc mute_off {w inout} {
exec sndioctl "${inout}.mute=0"
exec sndioctl "${inout}.level=0"
fade_in $inout [".${inout}.volume" get] [".${inout}...
}
proc fade_in {inout vol limit} {
if {6 <= $vol} {
set vol [expr 6 * $vol / 7]
setvol $inout [expr $limit - $vol]
after 20 fade_in $inout $vol $limit
} else {
setvol $inout $limit
}
}
proc togglemute {w inout} {
set bg [$w cget -background]
if {$bg == "#d9d9d9"} {
$w configure -background "#ff8080"
$w configure -activebackground "#ffa0a0"
mute_on $w $inout
} else {
$w configure -background "#d9d9d9"
$w configure -activebackground "#ececec"
mute_off $w $inout
}
}
//
**MSDOS FAT : 3GB [#c17ff81d]
>[[m3th]] (2022-04-30 (Sat) 04:52:08)~
~
Is it possible to install Fuguita 7.1 over an already exi...
~
#FuguIta~
//
- If you install #FuguIta 7.1 on a USB flash drive with F...
- I'm about asking just the same. so, If we can't simply ...
- As you say, there is no migration tool provided from #F...
**Change on FuguIta 7.1 [#ve5642e6]
>[[kaw]] (2022-04-26 (Tue) 01:02:40)~
~
I'm working on FuguIta 7.1 with plans to release it soon.~
#FuguIta 7.1 changes from TMPFS to MFS as a memory-based ...
~
This will result in the following changes~
-The automatic specification of file capacity that existe...
-The maximum amount of files that can be held in memory w...
//
#aname(pffw)
**How to port PFFW to FuguIta [#ra97c579]
>[[kaw]] (2022-03-04 (Fri) 18:27:07)~
~
[[PFFW>https://github.com/sonertari/PFFW]] is a firewall ...
PFFW uses OpenBSD's packet filter [[PF>https://www.openbs...
~
I have ported this PFFW to [[FuguIta LiveUSB>http://fugui...
~
''Overview''~
PFFW is available as an ISO image for installation, inclu...
-Install PFFW in the usual way.
-After installation, take out the PFFW-specific parts.
-Run FuguIta LiveUSB and extract the files from PFFW onto...
-Modify some files so that PFFW and FuguIta work together.
-Save the modified contents to FuguIta LiveUSB.
>''Install PFFW in the usual way.''~
Refer to the [[PFFW GitHub Page>https://github.com/sonert...
Refer to the ''How to Install section'' of the [[PFFW Git...
Installation can be done either on the actual device or o...
~
During the initial setup of PFFW, answer ''no'' to the qu...
If the system has enough memory, you can mount /var/log ...
Enable MFS? [yes] no
MFS /var/log disabled.
FuguIta uses TMPFS, so the same effect can be achieved wi...
~
''After installation, take out the PFFW-specific parts.''~
Next, launch the installed PFFW and archive the PFFW-spec...
pffw# cd /
pffw# tar czf /root/pffw.tar.gz etc usr/local var
Please copy this pffw.tar.gz to another media, another ho...
~
''Run FuguIta LiveUSB and extract the files extracted fro...
Run FuguIta LiveUSB, which is the destination of PFFW, in...
Boot modes:
0: fresh boot - standard mode as a live system
1: fresh boot - less memory, faster boot
(/usr is non-writable, can't pkg_add)
2: fresh boot - works using only RAM
(about 1GB or more of RAM required)
3: boot with retrieving saved files from storage device
or enter passphrase for an encrypted volume
4: boot with retrieving saved files from floppy disk
5: interactive shell for maintenance
-> 0
After booting is complete, extract the files you have jus...
pffw-fuguita# cd /ram
pffw-fuguita# tar xvzpf pffw.tar.gz
Modify /etc/rc.
pffw-fuguita# cd /etc
pffw-fuguita# patch < /boottmp/etc.rc.diff
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- rc Tue Oct 19 00:11:59 2021
|+++ rc.new Tue Oct 19 00:12:08 2021
--------------------------
Patching file rc using Plan A...
Hunk #1 succeeded at 177.
Hunk #2 succeeded at 377.
Hunk #3 succeeded at 684 (offset 58 lines).
Modify /etc/doas.conf as follows
permit nopass www as root cmd /ram/var/www/htdocs/pffw/C...
permit nopass admin as root cmd /ram/var/www/htdocs/pffw...
permit nopass user as root cmd /ram/var/www/htdocs/pffw/...
permit nopass keepenv root as root
In FuguIta, /var is a symbolic link to /ram/var, and doas...
/var must be changed to /ram/var, which is a realpath.~
~
Merge /etc/rc.shutdown for PFFW and FuguIta.~
pffw-fuguita# cd /etc
pffw-fuguita# mv rc.shutdown rc.shutdown.pffw
pffw-fuguita# cat rc.shutdown.pffw /fuguita/etc/rc.shutd...
Uncomment the last line of the merged rc.shutdown.
...snip...
echo will retry after $waitsec seconds...
sleep $waitsec
done )
}
# To re-sync on shutdown. uncomment the following line.
usbfadm_r <== Uncomment this line.
This will cause the file to be saved to the USB flash dri...
~
''Save the modifications to the FuguIta LiveUSB.''~
pffw-fuguita# usbfadm
Welcome to usbfadm.
USB flash drive administration tool for FuguIta
Version/Arch: 7.0/amd64 (FuguIta-7.0-amd64-202202241)
Boot mode: usbflash
Target device: not set
Data saved as: not set
readline capability available
TAB to complete the reserved words
Type ? for help.
? : ? ->target
Searching storage device
Please make sure the device inserted.
Then press ENTER ->
sd0a +sd0d
target device->sd0d
sd0d : ? ->saveas
Name of saved data->pffw
Your data will be saved as ``pffw''.
sd0d : pffw ->sync
Sync current tmpfs as ``pffw'' , OK? [y/N] -> y
copying /ram to /mnt/livecd-config/7.0/amd64/pffw (51536...
467MiB 0:00:30 [15.2MiB/s] [===========================...
waiting for pax to finish ... syncing ... done.
sd0d : pffw ->quit
Bye bye...
pffw-fuguita#
This completes the porting of PFFW to FuguIta.
pffw-fuguita# shutdown -hp now
When starting up, choose mode 3 and specify the device an...
#ref(PFFW-FuguIta.jpg,wrap,33%)
To automatically specify the device name and save name an...
//
- The PFFW installer is designed to install OpenBSD itsel...
**Desktop environment demo of FuguIta [#z6fb44cc]
>[[kaw]] (2022-01-13 (Thu) 23:30:46)~
~
>I have created a desktop environment demo of FuguIta on ...
~
''How to use''~
Download the file FuguIta-7.0-amd64-202201101-desktop_dem...
xz -dc FuguIta-7.0-amd64-202201101-desktop_demo.img.xz |...
When you boot from this USB stick, you will get a desktop...
~
You will need a minimum of 2GB of memory on your PC.~
Installed applications are as follows
>>audacious-4.1p0 emacs-27.2p3-gtk3 evince-40.4-light fir...
libreoffice-7.2.1.2v0 noto-cjk-2.001 noto-emoji-20200408~
noto-fonts-20171024 pv-1.6.6 rlwrap-0.43p0 rsync-3.2.3p0~
vim-8.2.3456-gtk3 vlc-3.0.14p1 xfce-extras-4.16
>''Technical topics''~
-non interactive boot with noasks file in d partition
-automatic login with [[xenodm>https://man.openbsd.org/xe...
-additional mounting of a partition with /usr/fuguita/etc...
-automatic network configuration with gennetconfs utility...
- In /etc/rc.shutdown, set ''auto_save_shutdown=Yes'' to ...
- The default user is ''demo''. And its password is the s...
- Hi, kaw. Just wondering, do you plan to create a deskto...
- Hi, skanda&br;This demo is just a sample to present the...
----
Former articles are at [[FuguIta/BBS/11]].
End:
This page is archived. ~
Current active BBS is [[FuguIta/BBS]].
----
#contents
----
**''old/FuguIta-7.2-amd64-nsh_demo.tar.gz'' in a mirror [...
>[[kaw]] (2022-11-29 (Tue) 23:02:00)~
~
This is a #FuguIta LiveUSB image with NSH (Network config...
~
It was created according to the [[Building a Router with ...
~
After bootup is complete, you can try NSH with login="nsh...
~
If you want to play with it as root, after logging in wit...
//
**The files for LiveDVD and LiveUSB are different. [#z289...
>[[kaw]] (2022-11-01 (Tue) 11:55:57)~
~
Immediately after releasing #FuguIta 7.2, it was also pos...
FuguIta has separate files: *.iso.gz for LiveDVD and *.im...
It's unlikely that almost all people are trying to run Li...
It is persistently written in the [[list of download mirr...
~
''READ THE INSTRUCTIONS CAREFULLY'' when downloading.~
//
**FuguIta guide English version unavailable [#a1e094aa]
>[[Ronan]] (2022-11-01 (Tue) 01:11:13)~
~
Hi,~
~
I am trying to download the English version of the compre...
fuguita.liquorstane.ynh.fr/FuguIta.~
Do you know where I could get it?~
Congratulations for your great work.~
Regards. ~
~
Ronan~
//
- The URL for the English translation of the #FuguIta Gui...
- #FuguIta Thanks a lot! -- [[Ronan]] &new{2022-11-01 (Tu...
**Non-Free Firmware [#je21db99]
>[[Prasad]] (2022-08-25 (Thu) 08:43:39)~
~
Hi - I am trying out #FuguIta for the first time (coming ...
How do i install drivers for wireless -- i am using a Thi...
apologies if i missed this in the start-guide -- please p...
Thank you ~
prasadmn@gmail.com~
//
- To install non-redistributable firmware on #FuguIta, th...
**Wired and Wireless LAN Failover Connection [#c13c4cad]
>[[kaw]] (2022-08-24 (Wed) 21:27:07)~
~
In OpenBSD, [[trunk(4)>https://man.openbsd.org/trunk.4]] ...
If the live device changes, the path switches seamlessly.~
~
In #FuguIta, the trunk(4) connection is set up as follows.~
~
The following example assumes that bge0 is used for wired...
~
First, use the gennetconfs utility to generate the config...
fugu-demo# gennetconfs failover
===================================================
= gennetconfs: generate network configuration files
===================================================
Hostname with domain part (FQDN):
only host name without domain part is also OK.
-> fugu-demo.local
IP protocol version(s) to be enabled: 4, 6, 46, 64 or "n...
4: enable only IPv4
6: enable only IPv6
46: give priority to IPv4 name resolution
64: give priority to IPv6 name resolution
none: operate as standalone
[64] ->
Network Interfaces: Choose one
NIC type Name
-------- ----- ------------
bge0 ether Broadcom BCM57765
urtwn0 wifi GW-USValue-EZ GW-USValue-EZ
[bge0] -> bge0
IPv6 - address and routing:
Enter "auto" or "IPv6_address[/prefixlen] [default_gat...
"auto" is an automatic setting by SLAAC.
The "/prefixlen" part can be an integer between 0 and ...
If there is no default gateway,
set the second field to "none" or leave it blank.
[auto] ->
IPv4 - address and routing:
Enter "auto" or "IPv4_address[/mask] [default_gateway]"
"auto" is an automatic setting by DHCP.
The "/mask" part can be specified in either format,
such as "/255.255.255.0" or "/24".
If there is no default gateway,
set the second field to "none" or leave it blank.
[auto] ->
writing configured values to:
/etc/fuguita/netconfs/failover/myname
/etc/fuguita/netconfs/failover/hostname.bge0
/etc/fuguita/netconfs/failover/resolv.conf
======================================================
= end of gennetconfs:
= Use chnetconf utility to activate this configuration
======================================================
Next, we generate the configuration for urtwn0. At this t...
fugu-demo# gennetconfs failover
-------------------------<< snip >>---------------------...
Network Interfaces: Choose one
NIC type Name
-------- ----- ------------
bge0 ether Broadcom BCM57765
urtwn0 wifi GW-USValue-EZ GW-USValue-EZ
[bge0] -> urtwn0
Wi-Fi settings:
SSID -> fugunet-ap
WPA Key -> FUGUNET-SECRET
-------------------------<< snip >>---------------------...
writing configured values to:
/etc/fuguita/netconfs/failover/myname
/etc/fuguita/netconfs/failover/hostname.urtwn0
/etc/fuguita/netconfs/failover/resolv.conf
======================================================
= end of gennetconfs:
= Use chnetconf utility to activate this configuration
======================================================
fugu-demo #
Manually generate the settings for trunk0.
fugu-demo# cp -p hostname.bge0 hostname.trunk0
fugu-demo# vi hostname.trunk0
trunkproto failover
trunkport bge0
trunkport urtwn0
up
Specify the device to join the trunk by trunkport. The fi...
~
Delete the IP address settings from the bge0 and urtwn0 s...
fugu-demo# vi hostname.bge0
up
fugu-demo# vi hostname.urtwn0
nwid fugunet-ap wpakey FUGUNET-SECRET
up
The configuration is now complete; use the chnetconf comm...
fugu-demo# chnetconf failover
If the settings are correctly reflected, the output of if...
fugu-demo # ifconfig
bge0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,S...
lladdr 10:9a:dd:6c:11:0c
index 1 priority 0 llprio 3
trunk: trunkdev trunk0
media: Ethernet autoselect (none)
status: no carrier
urtwn0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,...
lladdr 10:9a:dd:6c:11:0c
index 4 priority 4 llprio 3
trunk: trunkdev trunk0
groups: wlan
media: IEEE802.11 autoselect (OFDM54 mode 11g)
status: active
ieee80211: nwid aterm-963fef-g chan 1 bssid 10:6...
wpakey wpaprotos wpa2 wpaakms psk wpaciphers ccm...
trunk0: flags=a48843<UP,BROADCAST,RUNNING,SIMPLEX,MULTIC...
AUTOCONF6,AUTOCONF4> mtu 1500
lladdr 10:9a:dd:6c:11:0c
index 5 priority 0 llprio 3
trunk: trunkproto failover
urtwn0 port active
bge0 port master
groups: trunk egress
media: Ethernet autoselect
status: active
inet6 fe80::129a:ddff:fe6c:110c%trunk0 prefixlen...
inet 192.168.10.100 netmask 0xffffff00 broadcast...
//
**obsd [#m2ba7e9a]
>[[botmetkas@gmail.com]] (2022-08-13 (Sat) 19:32:49)~
~
#FuguIta~
~
Stay compatible with obsd, the concept of server is to be...
//
- Thank you for your post.&br;Servers can be operated in ...
**Change of the server (2) [#g6277042]
>[[kaw]] (2022-08-04 (Thu) 23:46:28)~
#ref(twoservers.jpg,wrap,around,right,50%)
After the server failure, I started up the machine in the...
~
The machine in the photo below has an IDE HDD removable b...
#clear
#ref(newserver.jpg,wrap,around,left,37%)
New fuguita.org server (MacMini 4,1, Mem 8GB, FuguIta-7.1...
IPv6 and TLS are supported. Tentatively scheduled to oper...
Relay HTTP via fuguita.org to hosts in inner network was ...
#clear
A rack to house network-related equipment and the old fug...
Unnecessary equipment and wiring were removed and rewired.
|&ref(rack.jpg,wrap,37%);|&ref(powerline.jpg,wrap,37%);|
//
**Change of the server [#x6aabb53]
>[[kaw]] (2022-07-22 (Fri) 13:35:12)~
~
#ref(nimbus6f.jpg,wrap,around,right,20%)
On the evening of July 19, 2022, the power supply unit of...
~
This PC was initially used as my main desktop machine and...
~
Spec: CPU:Celeron(R) ("GenuineIntel" 686-class) 1.72 GHz,...
#clear
#ref(nimbus6b.jpg,wrap,around,left,20%)
Its lifespan was about 18 years.~
~
It has been running OpenBSD for almost all of this time, ...
Once again, I would like to express my gratitude for this...
~
We are currently copying the data from the hard disk of t...
#clear
//
**FuguIta-7.1-amd64-202205241.img was broken. [#gbe033e9]
>[[kaw]] (2022-05-25 (Wed) 23:45:41)~
~
LiveUSB version of #FuguIta-7.1-amd64-202205241 didn't bo...
I generated again FuguIta-7.1-amd64-202205241 from FuguIt...
The mirror site update has also been completed.~
~
Thanks MisticDoor@github for the problem report.~
**fix: fiupdate doesn't reboot sometimes [#s8dfcf83]
>[[kaw]] (2022-05-15 (Sun) 11:30:06)~
~
Since TMPFS has been changed to MFS, when fiupdate runs, ...
The following diff is a fix for this problem and will be ...
--- fiupdate Sun May 15 11:23:35 2022
+++ fiupdate.new Sun May 15 11:23:29 2022
@@ -296,11 +296,16 @@
setup_rampath () {
mkdir -p /ram/fiupdate.bin
cp -p /bin/{cat,echo,mv,rm,rmdir,sync} \
- /sbin/{reboot,shutdown} \
/usr/local/bin/pv \
/ram/fiupdate.bin/.
- ln /ram/fiupdate.bin/reboot /ram/fiupdate.bin/halt
- PATH=/ram/fiupdate.bin:/boottmp:$PATH
+
+ # copy only reboot to /boottmp on rd(4) fs
+ # not to corrupt the executable at reboot time
+ #
+ cp -p /sbin/reboot /boottmp/.
+ ln /boottmp/reboot /boottmp/halt
+
+ PATH=/boottmp:/ram/fiupdate.bin:$PATH
export PATH
}
@@ -721,4 +726,4 @@
#
sync; sync; sync; sleep 5
echo2 "now rebooting..."
-reboot
+/boottmp/reboot
//
- My laptop is not rebooted by #FuguIta-7.1-amd64-2022051...
- This fix will be valid for next #FuguIta release using ...
**FuguIta 7.1: IceWMで日本語が表示されない [#jb31dc28]
>[[kaw]] (2022-05-08 (Sun) 23:53:30)~
~
#FuguIta 7.1を使い出して気がついたのですが、IceWMを使うと...
これは、IceWMのデフォルトのフォント設定が変更されたための...
解決方法としては、フォント設定の"DejaVu"、あるいは"dejavu...
具体的には以下のコマンドを実行することで解決されます。~
$ grep -i -B1 'dejavu' /usr/local/share/icewm/preference...
sed 's/^--$//; s/^# *\(.*\)[Dd]eja[Vv]u *\(.*\)/\1\2/' >...
//
**"expand" vs. "encrypted partition" [#qc194edf]
>[[liar666]] (2022-05-04 (Wed) 17:02:59)~
~
#FuguIta~
Hi,~
Thanks for the great tool, with so much options. I love i...
I've dd'ed the (2.1GB) img on a 4GB USB stick, now I woul...
I read pages about "expand" (StartGuide) and "encrypted p...
- they are exclusive and I should do *either* one *or* th...
- I should expand first, then setup an encrypted partition~
#FuguIta~
//
- PS: In the "Notice" at the top of the page ("To avoid p...
- Thank you for liking #FuguIta.&br;usbfadm's ''expand'' ...
**How to use new build tool of FuguIta [#q8119566]
>[[kaw]] (2022-05-02 (Mon) 00:01:06)~
~
FuguIta 7.1 has made significant changes in the way the b...
~
In following explanation, FIBLD represents the working di...
Please replace it with your actual working directory when...
+The build environment is OpenBSD 7.1 or later, or FuguIt...
+Put OpenBSD kernel source code under /usr/src/sys.
# tar -xz -C /usr/src -f sys.tar.gz
+Extract [[new FuguIta build tool>FuguIta/Download#vcad20...
# mkdir FIBLD
# cd FIBLD
# tar -xz -f tools-7.1-amd64.tar.gz && mv tools-7.1-amd6...
For the other platform, replace "amd64" with its name.~
~
+Copy or symlink OpenBSD install sets (e.g. *71.tgz) unde...
# cp SOMEWHERE/*71.tgz FIBLD/install_sets/.
or
# ln -sf SOMEWHERE/*71.tgz FIBLD/install_sets/.
+Copy or symlink rsync, rlwrap, pv package files in FIBLD...
# cp SOMEWHERE/{rsync,rlwrap,pv}-*.tgz FIBLD/install_pkg...
or
# ln -sf SOMEWHERE/{rsync,rlwrap,pv}-*.tgz FIBLD/install...
+Compile the kernels for FuguIta. In FIBLD, do the follow...
# make kernconfig && make kern
+Extract the OpenBSD file tree and modify it for FuguIta.
# make stage
If you want to customize FuguIta, modify the file tree un...
~
+Make the contents of image file identical to this file t...
# make sync
+Combine the kernels, boot loaders, and an image file to ...
# make iso
+Compress the ISO file with a filename containing the rel...
# make gz
//
**Audio volume control [#vc7400bd]
>[[kaw]] (2022-04-30 (Sat) 10:36:55)
#ref(TinyMixer.png,wrap,around,left)
>Here's a simple audio volume control, which is a GUI wra...
Install tk-8.6. Next, chmod +x this script. Then run this.
#clear
#!/usr/local/bin/wish8.6
catch {
destroy .input
destroy .output
}
wm title . "TinyMixer"
frame .input
scale .input.volume -label "MIC IN" -orient horizontal -...
.input.volume set 0
button .input.mute -text "MUTE" -command {togglemute .in...
frame .output
scale .output.volume -label "PHONE OUT" -orient horizont...
.output.volume set 50
button .output.mute -text "MUTE" -command {togglemute .o...
pack .input.volume -side left -fill both -expand yes
pack .input.mute -side left -expand no -fill both
pack .output.volume -side left -fill both -expand yes
pack .output.mute -side left -expand no -fill both
pack .input .output -side top -fill both -expand yes
proc setvol {inout val} {
exec sndioctl "${inout}.level=[expr ${val} / 100.0]"
}
proc mute_on {w inout} {
fade_out $inout [".${inout}.volume" get]
}
proc fade_out {inout vol} {
if {6 <= $vol} {
set vol [expr 6 * $vol / 7]
setvol $inout $vol
after 20 fade_out $inout $vol
} else {
setvol $inout 0
exec sndioctl "${inout}.mute=1"
}
}
proc mute_off {w inout} {
exec sndioctl "${inout}.mute=0"
exec sndioctl "${inout}.level=0"
fade_in $inout [".${inout}.volume" get] [".${inout}...
}
proc fade_in {inout vol limit} {
if {6 <= $vol} {
set vol [expr 6 * $vol / 7]
setvol $inout [expr $limit - $vol]
after 20 fade_in $inout $vol $limit
} else {
setvol $inout $limit
}
}
proc togglemute {w inout} {
set bg [$w cget -background]
if {$bg == "#d9d9d9"} {
$w configure -background "#ff8080"
$w configure -activebackground "#ffa0a0"
mute_on $w $inout
} else {
$w configure -background "#d9d9d9"
$w configure -activebackground "#ececec"
mute_off $w $inout
}
}
//
**MSDOS FAT : 3GB [#c17ff81d]
>[[m3th]] (2022-04-30 (Sat) 04:52:08)~
~
Is it possible to install Fuguita 7.1 over an already exi...
~
#FuguIta~
//
- If you install #FuguIta 7.1 on a USB flash drive with F...
- I'm about asking just the same. so, If we can't simply ...
- As you say, there is no migration tool provided from #F...
**Change on FuguIta 7.1 [#ve5642e6]
>[[kaw]] (2022-04-26 (Tue) 01:02:40)~
~
I'm working on FuguIta 7.1 with plans to release it soon.~
#FuguIta 7.1 changes from TMPFS to MFS as a memory-based ...
~
This will result in the following changes~
-The automatic specification of file capacity that existe...
-The maximum amount of files that can be held in memory w...
//
#aname(pffw)
**How to port PFFW to FuguIta [#ra97c579]
>[[kaw]] (2022-03-04 (Fri) 18:27:07)~
~
[[PFFW>https://github.com/sonertari/PFFW]] is a firewall ...
PFFW uses OpenBSD's packet filter [[PF>https://www.openbs...
~
I have ported this PFFW to [[FuguIta LiveUSB>http://fugui...
~
''Overview''~
PFFW is available as an ISO image for installation, inclu...
-Install PFFW in the usual way.
-After installation, take out the PFFW-specific parts.
-Run FuguIta LiveUSB and extract the files from PFFW onto...
-Modify some files so that PFFW and FuguIta work together.
-Save the modified contents to FuguIta LiveUSB.
>''Install PFFW in the usual way.''~
Refer to the [[PFFW GitHub Page>https://github.com/sonert...
Refer to the ''How to Install section'' of the [[PFFW Git...
Installation can be done either on the actual device or o...
~
During the initial setup of PFFW, answer ''no'' to the qu...
If the system has enough memory, you can mount /var/log ...
Enable MFS? [yes] no
MFS /var/log disabled.
FuguIta uses TMPFS, so the same effect can be achieved wi...
~
''After installation, take out the PFFW-specific parts.''~
Next, launch the installed PFFW and archive the PFFW-spec...
pffw# cd /
pffw# tar czf /root/pffw.tar.gz etc usr/local var
Please copy this pffw.tar.gz to another media, another ho...
~
''Run FuguIta LiveUSB and extract the files extracted fro...
Run FuguIta LiveUSB, which is the destination of PFFW, in...
Boot modes:
0: fresh boot - standard mode as a live system
1: fresh boot - less memory, faster boot
(/usr is non-writable, can't pkg_add)
2: fresh boot - works using only RAM
(about 1GB or more of RAM required)
3: boot with retrieving saved files from storage device
or enter passphrase for an encrypted volume
4: boot with retrieving saved files from floppy disk
5: interactive shell for maintenance
-> 0
After booting is complete, extract the files you have jus...
pffw-fuguita# cd /ram
pffw-fuguita# tar xvzpf pffw.tar.gz
Modify /etc/rc.
pffw-fuguita# cd /etc
pffw-fuguita# patch < /boottmp/etc.rc.diff
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- rc Tue Oct 19 00:11:59 2021
|+++ rc.new Tue Oct 19 00:12:08 2021
--------------------------
Patching file rc using Plan A...
Hunk #1 succeeded at 177.
Hunk #2 succeeded at 377.
Hunk #3 succeeded at 684 (offset 58 lines).
Modify /etc/doas.conf as follows
permit nopass www as root cmd /ram/var/www/htdocs/pffw/C...
permit nopass admin as root cmd /ram/var/www/htdocs/pffw...
permit nopass user as root cmd /ram/var/www/htdocs/pffw/...
permit nopass keepenv root as root
In FuguIta, /var is a symbolic link to /ram/var, and doas...
/var must be changed to /ram/var, which is a realpath.~
~
Merge /etc/rc.shutdown for PFFW and FuguIta.~
pffw-fuguita# cd /etc
pffw-fuguita# mv rc.shutdown rc.shutdown.pffw
pffw-fuguita# cat rc.shutdown.pffw /fuguita/etc/rc.shutd...
Uncomment the last line of the merged rc.shutdown.
...snip...
echo will retry after $waitsec seconds...
sleep $waitsec
done )
}
# To re-sync on shutdown. uncomment the following line.
usbfadm_r <== Uncomment this line.
This will cause the file to be saved to the USB flash dri...
~
''Save the modifications to the FuguIta LiveUSB.''~
pffw-fuguita# usbfadm
Welcome to usbfadm.
USB flash drive administration tool for FuguIta
Version/Arch: 7.0/amd64 (FuguIta-7.0-amd64-202202241)
Boot mode: usbflash
Target device: not set
Data saved as: not set
readline capability available
TAB to complete the reserved words
Type ? for help.
? : ? ->target
Searching storage device
Please make sure the device inserted.
Then press ENTER ->
sd0a +sd0d
target device->sd0d
sd0d : ? ->saveas
Name of saved data->pffw
Your data will be saved as ``pffw''.
sd0d : pffw ->sync
Sync current tmpfs as ``pffw'' , OK? [y/N] -> y
copying /ram to /mnt/livecd-config/7.0/amd64/pffw (51536...
467MiB 0:00:30 [15.2MiB/s] [===========================...
waiting for pax to finish ... syncing ... done.
sd0d : pffw ->quit
Bye bye...
pffw-fuguita#
This completes the porting of PFFW to FuguIta.
pffw-fuguita# shutdown -hp now
When starting up, choose mode 3 and specify the device an...
#ref(PFFW-FuguIta.jpg,wrap,33%)
To automatically specify the device name and save name an...
//
- The PFFW installer is designed to install OpenBSD itsel...
**Desktop environment demo of FuguIta [#z6fb44cc]
>[[kaw]] (2022-01-13 (Thu) 23:30:46)~
~
>I have created a desktop environment demo of FuguIta on ...
~
''How to use''~
Download the file FuguIta-7.0-amd64-202201101-desktop_dem...
xz -dc FuguIta-7.0-amd64-202201101-desktop_demo.img.xz |...
When you boot from this USB stick, you will get a desktop...
~
You will need a minimum of 2GB of memory on your PC.~
Installed applications are as follows
>>audacious-4.1p0 emacs-27.2p3-gtk3 evince-40.4-light fir...
libreoffice-7.2.1.2v0 noto-cjk-2.001 noto-emoji-20200408~
noto-fonts-20171024 pv-1.6.6 rlwrap-0.43p0 rsync-3.2.3p0~
vim-8.2.3456-gtk3 vlc-3.0.14p1 xfce-extras-4.16
>''Technical topics''~
-non interactive boot with noasks file in d partition
-automatic login with [[xenodm>https://man.openbsd.org/xe...
-additional mounting of a partition with /usr/fuguita/etc...
-automatic network configuration with gennetconfs utility...
- In /etc/rc.shutdown, set ''auto_save_shutdown=Yes'' to ...
- The default user is ''demo''. And its password is the s...
- Hi, kaw. Just wondering, do you plan to create a deskto...
- Hi, skanda&br;This demo is just a sample to present the...
----
Former articles are at [[FuguIta/BBS/11]].
Page: