sirjofri's journey

-as of Sat Nov 2 16:10:01 CET 2019-

Hello, I'm sirjofri and I'm quite new to 9-world. I encountered many challenges, especially for beginners. So this is a collection of challenges and solutions, step by step guides and quick tips I found useful.

Most of the time I use the 9front distribution and inferno. Ok, well, inferno often just acme sac, I even use it from my job to connect to 9gridchan chat.

LENOVO T61

My main 9front machine is a lenovo T61. My installation procedure looks like this:

First I make my default installation routine, exactly like the fqa states (http://fqa.9front.org/fqa4.html). It really is just following the guide and the installation wizard. The next step involves adjusting the plan9.ini. The machine specific settings for my T61 are:

monitor=vesa
vgasize=1280x1024x32
*acpi=
mouseport=ps2intellimouse

What I really want to use (I mean, hey, it's a laptop), is wifi. For my device I need to add the correct device drivers, in my case "wpi-3945abg". My wifi card is slow, but I was able to work via drawterm from my windows machine, so it's fine.

% cp source/to/wpi-3945abg /lib/firmware/
% cd /sys/src/9/pc
% mk install
#    Then I need to [install the kernel | http://fqa.9front.org/fqa7.html#7.2.5] to my boot partition. This may be different in your setup!
% 9fs 9fat
% rm /n/9fat/9bootfat
% cp /386/9bootfat /n/9fat/
% chmod +al /n/9fat/9bootfat
% cp /386/9pc /n/9fat/

The next thing to do is binding the network card to my namespace. I do this in /cfg/$sysname/termrc (or /cfg/$sysname/cpurc):

bind -a '#l1' /net

Then the device should show up in /net:

% lc /net
arp        esp/       icmp/      ipmux/     ndb
bootp      ether0/    icmpv6/    iproute    rudp/
cs         ether1/    il/        ipselftab  tcp/
dns        gre/       ipifc/     log        udp/

You can then find networks in range inside the /net/ether1/ifstats file. To connect to one of them you need to setup your secrets and start wpa:

#   Add your secret WPA key. essid is case sensitive!
% echo 'key proto=wpapsk essid=yournetwork !password=yourwpakey' > /mnt/factotum/ctl
% cat /mnt/factotum/ctl      # verify
key proto=wpapsk essid=yournetwork !password?
% aux/wpa -2 /net/ether1

Connecting to the wifi network:

% echo essid yournetwork > /net/ether1/clone
% ip/ipconfig -p ether /net/ether1
% cat /net/ndb      # verify

There's a nice autowifi script from jeremy (9fans discord server) that can handle automatically connecting to your wifi networks.

ONE-MACHINE MAIL CLIENT SETUP

Receiving Mail

Sending Mail