Skip to content

Instantly share code, notes, and snippets.

View mach-kernel's full-sized avatar
😸
mrrrrow!

David Stancu mach-kernel

😸
mrrrrow!
View GitHub Profile
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "https:\/\/forums.sgi.sh\/index.php?threads\/making-a-network-for-a-friend-did-i-miss-anything.180\/",
"headline": "Making a network for a friend -- did I miss anything?",
"articleBody": "A buddy of mine was complaining about his wifi being slow, so we decided to set about a project to set up the network at his house. We are trying to keep costs very low. I want to document what we've done thus far and see if anyone has suggestions!\n\nService: Verizon FiOS 1gbit symmetrical\n\nNeeds\n\nLots of clients. Many gadgets + IoT stuff everywhere\nSeveral people gaming at once\nStrong wifi signal everywhere (5GHz and 2.4 for legacy devices and a surprisingly large amount of the IoT stuff with old NICs)\nGuest networks\nNAS\nVPN but only for brief remote access, not for constant use\n\nEquipment decided\n\nZOTAC CI323 Nano $75\n\nOnboard GBE NIC\n$18The mPCIE slot the wifi card is installed in can host one of these: https:\/\/www.amazon
1587357452.999078 server started, pid 34340
1587357452.999961 continuing cmdq 100a74d0: flags=0, client=-1
1587357453.000107 cmdq 100a74d0: bind-key C-b send-prefix
1587357453.000434 continuing cmdq 100a74d0: flags=0, client=-1
1587357453.000564 cmdq 100a74d0: bind-key C-o rotate-window
1587357453.000729 continuing cmdq 100a74d0: flags=0, client=-1
1587357453.000847 cmdq 100a74d0: bind-key C-z suspend-client
1587357453.001019 continuing cmdq 100a74d0: flags=0, client=-1
1587357453.001137 cmdq 100a74d0: bind-key Space next-layout
mach@kemosabe ~/Workspace/xcompile
% cat env.sh !10322
#!/bin/bash
export PREFIX=/Users/mach/Workspace/xcompile/fakeroot
export IRIX=$PREFIX/irix-root
export DISTCCD_PATH=$PREFIX/mips-sgi-irix6.5/bin
# For some jobs
#export DISTCCD_PATH=$PREFIX/bin
distcc g++ -DU_ATTRIBUTE_DEPRECATED= -DU_IS_BIG_ENDIAN=1 -D_REENTRANT -D_PTHREADS -DU_HAVE_ELF_H=1 -DU_HAVE_STRTOD_L=0 -I. -I../../common -I./../toolutil -O3 -g -fno-strict-aliasing -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -std=c++11 -L/usr/
local/lib -ldicl-0.1 -o ../../bin/gennorm2 gennorm2.o n2builder.o extradata.o norms.o -L../../lib -licutu -L../../lib -licui18n -L../../lib -licuuc -L../../stubdata -licudata -lpthread -lm
make[2]: Leaving directory '/usr/people/mach/rpmbuild/BUILD/icu/source/tools/gennorm2'
make[1]: Making `all' in `gencfu'
make[2]: Entering directory '/usr/people/mach/rpmbuild/BUILD/icu/source/tools/gencfu'
generating dependency information for gencfu.cpp
distcc g++ -DU_IS_BIG_ENDIAN=1 -D_REENTRANT -D_PTHREADS -DU_HAVE_ELF_H=1 -DU_HAVE_STRTOD_L=0 -I../../common -I../../i18n -I./../toolutil -DU_ATTRIBUTE_DEPRECATED= -O3 -g -fno-strict-aliasing -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -std=c++11
-c -o gencfu.o gencfu.cpp
cd ../.
distcc[89055] (dcc_talk_to_include_server) Warning: INCLUDE_SERVER_PORT not set - did you forget to run under 'pump'?
distcc[89055] (dcc_build_somewhere) Warning: failed to get includes from include server, preprocessing locally
distcc[89055] ERROR: compile ./out/tmp/@_.c on 10.0.1.5:3632,lzo,cpp/24 10.0.1.15:3632,lzo,cpp/24 failed
distcc[89055] (dcc_build_somewhere) Warning: remote compilation of './out/tmp/@_.c' failed, retrying locally
distcc[89055] Warning: failed to distribute ./out/tmp/@_.c to 10.0.1.5:3632,lzo,cpp/24 10.0.1.15:3632,lzo,cpp/24, running locally instead
./out/tmp/@_.c:10:3: error: stray '\20' in program
10 | } @__burmesedict_dict={ 0.0, {
| ^
./out/tmp/@_.c:10:4: error: stray '@' in program
10 | } @__burmesedict_dict={ 0.0, {
distcc[89055] (dcc_talk_to_include_server) Warning: INCLUDE_SERVER_PORT not set - did you forget to run under 'pump'?
distcc[89055] (dcc_build_somewhere) Warning: failed to get includes from include server, preprocessing locally
distcc[89055] ERROR: compile ./out/tmp/@_.c on 10.0.1.5:3632,lzo,cpp/24 10.0.1.15:3632,lzo,cpp/24 failed
distcc[89055] (dcc_build_somewhere) Warning: remote compilation of './out/tmp/@_.c' failed, retrying locally
distcc[89055] Warning: failed to distribute ./out/tmp/@_.c to 10.0.1.5:3632,lzo,cpp/24 10.0.1.15:3632,lzo,cpp/24, running locally instead
./out/tmp/@_.c:10:3: error: stray '\20' in program
10 | } @__burmesedict_dict={ 0.0, {
| ^
./out/tmp/@_.c:10:4: error: stray '@' in program
10 | } @__burmesedict_dict={ 0.0, {

IRIX working Git remotes

ssh keys don't work properly but GitHub access tokens do. Issue yourself a personal access token from GitHub and do the following.

git clone https://github.com/sgidevnet/sgug-rse.git
cd sgug-rse
git remote rm origin
git remote add origin https://YOUR_PAT_HERE@github.com/sgidevnet/sgug-rse.git
This file has been truncated, but you can view the full file.
Executing(%prep): /usr/sgug/bin/sh -e /usr/sgug/var/tmp/rpm-tmp.183218
Executing(%build): /usr/sgug/bin/sh -e /usr/sgug/var/tmp/rpm-tmp.183218
checking for a BSD-compatible install... /usr/sgug/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/sgug/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... mips-sgi-irix6.5
This file has been truncated, but you can view the full file.
Executing(%prep): /usr/sgug/bin/sh -e /usr/sgug/var/tmp/rpm-tmp.183218
Executing(%build): /usr/sgug/bin/sh -e /usr/sgug/var/tmp/rpm-tmp.183218
checking for a BSD-compatible install... /usr/sgug/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/sgug/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... mips-sgi-irix6.5
Making install in tests
make[4]: Entering directory '/usr/people/mach/rpmbuild/BUILD/gtk+-2.24.32/modules/other/gail/tests'
make[5]: Entering directory '/usr/people/mach/rpmbuild/BUILD/gtk+-2.24.32/modules/other/gail/tests'
make[5]: Nothing to be done for 'install-exec-am'.
/usr/sgug/bin/mkdir -p '/usr/people/mach/rpmbuild/BUILDROOT/gtk2-2.24.32-5.sgugbeta.mips/usr/sgug/lib32/gtk-2.0/modules'
/usr/sgug/bin/sh ../../../../libtool --mode=install /usr/sgug/bin/install -c libferret.la '/usr/people/mach/rpmbuild/BUILDROOT/gtk2-2.24.32-5.sgugbeta.mips/usr/sgug/lib32/gtk-2.0/modules'
libtool: warning: relinking 'libferret.la'
libtool: install: (cd /usr/people/mach/rpmbuild/BUILD/gtk+-2.24.32/modules/other/gail/tests; /usr/sgug/bin/sh "/usr/people/mach/rpmbuild/BUILD/gtk+-2.24.32/libtool" --tag CC --mode=relink mips-sgi-irix6.5-gcc -pthread -I/usr/sgug/include -I/usr/sgug/include/pango-1.0 -I/usr/sgug/include/atk-1.0 -I/usr/sgug/include/gdk-pixbuf-2.0 -I/usr/sgug/include -I/usr/sgug/include/pango-1.0 -I/usr/sg