code logs -> 2020 -> Mon, 31 Aug 2020< code.20200830.log - code.20200901.log >
--- Log opened Mon Aug 31 00:00:06 2020
00:21 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Connection reset by peer]
00:22 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
00:56 pinkmobile [uid208117@Nightstar-h2b233.irccloud.com] has joined #code
01:10 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code
01:10 mode/#code [+o himi] by ChanServ
01:13 catalyst_ [catalyst@Nightstar-uliafi.dab.02.net] has joined #code
01:17 catalyst [catalyst@Nightstar-jcfq2s.dab.02.net] has quit [Ping timeout: 121 seconds]
02:03 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
04:46 Degi [Degi@Nightstar-0g3a99.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
04:47 Degi [Degi@Nightstar-klp1ca.dyn.telefonica.de] has joined #code
05:55 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
05:56 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
05:59 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
06:00 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
06:06 Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has joined #code
06:06 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
06:24 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
06:25 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
07:03 celticminstrel [celticminst@Nightstar-8kptuo.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:46 catalyst_ [catalyst@Nightstar-uliafi.dab.02.net] has quit [Ping timeout: 121 seconds]
07:52 catalyst [catalyst@Nightstar-jt99q1.dab.02.net] has joined #code
08:24 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds]
09:02 Kindamoody[zZz] is now known as Kindamoody
09:03 catalyst [catalyst@Nightstar-jt99q1.dab.02.net] has quit [Ping timeout: 121 seconds]
09:42 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
10:01 catalyst [catalyst@Nightstar-jt99q1.dab.02.net] has joined #code
11:17 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
11:17 mode/#code [+o himi] by ChanServ
12:03 Netsplit Deepthought.Nightstar.Net <-> Krikkit.Nightstar.Net quits: @PinkFreud
12:09 Netsplit over, joins: @PinkFreud
13:46 Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
13:53 Kindamoody is now known as Kindamoody|afk
14:10 Vorntastic [uid293981@Nightstar-ks9.9ff.184.192.IP] has joined #code
14:10 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
14:15 catalyst [catalyst@Nightstar-jt99q1.dab.02.net] has quit [Ping timeout: 121 seconds]
15:09 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:09 mode/#code [+qo Vornicus Vornicus] by ChanServ
15:37
< Yossarian>
.img.xz ?
15:39
< Yossarian>
tar -x -xz -f file.img.xz`
15:39
< Yossarian>
but it isn't a compressed tarball
15:39
< Yossarian>
xz?
15:40
<&[R]>
xzcat file.img.xz | file -
15:40
<&[R]>
What's it say?
15:41
<&[R]>
Also you gave the extract flag twice on your tar command
15:41
< Yossarian>
that's for compression, yeah?
15:41
< Yossarian>
xzcat: morpheus-x86_64-0.0-11062014.img.xz.img.xz: No such file or directory
15:41
<&[R]>
Then told it to treat it as a tar.gz (-z)
15:42
<&[R]>
GNU tar has pretty good autodetection of the compression, so you don't really need to supply any of the compression flags anymore
15:42
< Yossarian>
hmmm
15:43
<&[R]>
That's probably a compressed ext3 filesystem image
15:43
< Yossarian>
It's the img of the morpheus linux (suckless.org) build
15:43
< Yossarian>
I just haven't run into .xz compression yet
15:43
<&[R]>
xz compression us *super* common
15:43
<&[R]>
Though it's being phased out for Facebook's zst (.Z)
15:44
< Yossarian>
unxz file.img.xz ?
15:44
< Yossarian>
facebook is making a compression alg? bad news bears
15:44
<&[R]>
$ echo $(pacman -Ql xz | grep -F /bin/ | cut -d / -f 4)
15:44
<&[R]>
lzcat lzcmp lzdiff lzegrep lzfgrep lzgrep lzless lzma lzmadec lzmainfo lzmore unlzma unxz xz xzcat xzcmp xzdec xzdiff xzegrep xzfgrep xzgrep xzless xzmore
15:45
< Yossarian>
`unxz file.img.xz` decompressed, gave me the 'file.img' file.
15:45
<&[R]>
Right
15:45
<&[R]>
Then run file on that and it'll tell you what it is
15:45
< Yossarian>
I did it's a
15:45
<&[R]>
It's probably a disk image, with MBR and bootloader
15:45
< Yossarian>
morpheus-x86_64-0.0-11062014.img: DOS/MBR boot sector; partition 1 : ID=0x83, active, start-CHS (0x0,32,33), end-CHS (0x15,21,16), startsector 2048, 4192256 sectors
15:46
<&[R]>
Yup
15:46
< Yossarian>
now I wanna load it in qemu
15:46
<&[R]>
You could do `fdisk -l morph*.img`
15:46
< Yossarian>
oh
15:46
<&[R]>
Load it as a raw disk, or use qemu-img to create an image, then use qemu-img to "dd" the data over
15:47
< Yossarian>
What would Ling do?
15:47
<&[R]>
#1 is probably fine
15:48
< Yossarian>
I'm a whimp so I'll probably end up using `aqemu` GUI front-end
15:50
<&[R]>
`qemu-system-x86_64 -hda morph.raw`
15:50
< Yossarian>
seems like some qemu options have raw options
15:50
<&[R]>
That's all I needed to do
15:50
<&[R]>
`xzcat ~/Downloads/morpheus-x86_64-0.0-11062014.img.xz > morph.raw`
15:51
<&[R]>
Password's empty BTW
15:51
<&[R]>
Just hit enter at the password prompt
15:52
< Yossarian>
root and empty, ya
15:53
<&[R]>
Oh wow, shell's mksh
15:53
< Yossarian>
ah, no 'awesome' or x server?
15:53
<&[R]>
I guess that should've been obvious
15:53
< Yossarian>
I noticed it was mksh as well
15:54
< Yossarian>
the suckless.org people like plan9 stuff as well, I saw a demo of how plan9 was supposed to use acme, the text editor
15:55
< Yossarian>
or no dwm?
15:55
<&[R]>
No X, it's a minimal install
15:55
< Yossarian>
optionallllllll
15:56
<&[R]>
lol, the package management stuff isn't installed
15:56
< Yossarian>
`st` can run without x11 environment, yeah?
15:57
<&[R]>
I don't think that's correct
15:58
< Yossarian>
mksh is the MirBSD Korn shell, yeah?
15:59
<&[R]>
Yes
15:59
<&[R]>
installpkg
16:00
< Yossarian>
that's the package manager?
16:00
<&[R]>
A ports-like system
16:00
<&[R]>
https://morpheus.2f30.org/
16:00
<&[R]>
ports: Plan9 mkfiles to build software packages, uses mkbuild.
16:00
<&[R]>
pkgtools: simple package management tools.
16:02
<&[R]>
ls /bin | grep -F pkg
16:04
< Yossarian>
not sure how to share internets with qemu
16:04
<&[R]>
It'll be in user-networking mode by default
16:04
<&[R]>
Which is a kind of NAT thing
16:04
<&[R]>
curl http://example.org
16:04
< Yossarian>
can't resolve google via curl
16:05
< Yossarian>
lemme try again
16:05
< Yossarian>
couldn't resolve
16:07
< Yossarian>
probably an issue with my default qemu configuration
16:07
<&[R]>
I'm having an issue too TBH
16:07
<&[R]>
sdhcp was giving errors
16:07
< Yossarian>
in root's .profile sez PAGER=less but less isn't installed or in the PATH
16:07
< Yossarian>
hehe
16:08
<&[R]>
Does sdchp work for you?
16:08
<&[R]>
sdhcp*
16:08
< Yossarian>
sendto: network unreachable
16:09 catalyst [catalyst@Nightstar-gshm6l.dab.02.net] has joined #code
16:09
< Yossarian>
.xinitrc has dwm in it, heh
16:10
< Yossarian>
https://wiki.qemu.org/Documentation/Networking
16:11
<&[R]>
It's the kernel that doesn't have the network driver loaded
16:11
<&[R]>
... and they don't have any modules installed
16:11
<&[R]>
So you can't load modules that weren't built into the kernel
16:12
< Yossarian>
https://wiki.qemu.org/Documentation/Networking/NAT
16:13
< Yossarian>
for morpheus, you mean?
16:13
<&[R]>
Yeah
16:13
<&[R]>
You don't need to do anything qemu-side, it's all an issue with that OS image
16:16
< Yossarian>
there is morpheus-base and another morpheus
16:19
< Yossarian>
https://git.2f30.org/morpheus/log.html
16:23
<&[R]>
Testing all of qemu's NICs right now
16:23
<&[R]>
Oh hey, mksh has history
16:25
< Yossarian>
apparently this install is a jumping-off point for installing those packages and configuring everything manually
16:25
<&[R]>
Yeah, that's what I'd expect from a 61MB image
16:26
< Yossarian>
but how do you know the kernel doesn't have network module? I'm a newb and modinfo isn't available
16:27
<&[R]>
tulip gives a different error
16:27
<&[R]>
`ip a s` shows an interface
16:27
<&[R]>
I have a similar issue on some of my servers
16:27
<&[R]>
The onboard NICs have zero Linux drivers
16:30
< Yossarian>
bzImage.config ?
16:30
<&[R]>
?
16:30
< Yossarian>
under /boot ?
16:30
< Yossarian>
You said the kernel doesn't have network support
16:30
<&[R]>
It doesn't have support for the NIC installed in qemu
16:31
<&[R]>
Which is a different thing entirely
16:31
< Yossarian>
ah
16:31
<&[R]>
They ship iproute2
16:31
<&[R]>
And sdhcp
16:31
<&[R]>
Which strongly indicates they do support networking
16:31
< Yossarian>
is there a way to talk to qemu directly?
16:31
<&[R]>
ctrl+alt+2
16:32
<&[R]>
ctrl+alt+1 to switch back
16:34
< Yossarian>
this is pretty close to LFS but not quite
16:36 Vorntastic [uid293981@Nightstar-ks9.9ff.184.192.IP] has quit [[NS] Quit: Connection closed for inactivity]
16:37
< Yossarian>
https://git.2f30.org/morpheus/file/misc/qemu-mk-overlay.html
16:41
<&[R]>
That doesn't do anything special network-wise
16:45
< Yossarian>
I know
16:48
< Yossarian>
there is a ii front-end called hysteria - http://u.2f30.org/sin/screenies/hysteria.png https://git.2f30.org/hysteria/files.html
16:56
<&[R]>
Jesus fuck
16:56
<&[R]>
Okay, I got networking working Yossarian
16:56
<&[R]>
sdchp won't bring the interface up itself
16:57
<&[R]>
You have to use iproute2 to do that for you
16:57
<&[R]>
`ip l set eth0 up; sdhcp`
16:59
<&[R]>
This would've been so much faster if they had net-tools installed instead of iproute2
17:06
< Yossarian>
maybe they don't have net-tools for occult reasons of their own
17:09
< Yossarian>
<&[R]> `ip l set eth0 up; sdhcp`
17:09
< Yossarian>
what's the lowercase L for? I'm looking in ip's manpage
17:09
<&[R]>
link
17:10
< Yossarian>
oh as opposed to -f link
17:11
< Yossarian>
or l is the OBJECT param
17:12
<&[R]>
Fuck if I know
17:12
<&[R]>
iproute2 is incomphensible ass
17:13
< Yossarian>
yeah the first letter can substitute - I don't agree 100% with suckless.org and the similiar communities when it comes to this stuff
17:13
< Yossarian>
but I think they make interesting points and have interesting tools
17:14
< Yossarian>
I still have the qemu instance or image of what I started but I'm going to leave "morpheus" alone for a bit.
17:15
< Yossarian>
I have other things to handle :(
17:15
<&[R]>
Found out how to download packages
17:15
<&[R]>
`searchpkg openssh | fetchpkg`
17:15
<&[R]>
Because that's sane and reasonable
17:19
< Yossarian>
non yummy
17:19
<&[R]>
Apparently it's all abandonned too
17:21
< Yossarian>
strange folk
17:22
<&[R]>
# searchpkg man | wc -l
17:22
<&[R]>
0
17:22
<&[R]>
# man
17:22
<&[R]>
mksh: man: not found
17:22
<&[R]>
D:
17:24
<&[R]>
Okay, fetchpkg is basically wget, but it takes everything you want to download as a line in stdin
17:25
<&[R]>
... because it's a 4 line shell script
17:27
< Yossarian>
Very minimalist.
17:27
< Yossarian>
When I run qemu on raw image, am I actually modifying the image or does qemu store a copy somewhere?
17:30
<&[R]>
You're modifying it
17:32
<&[R]>
If you're still interested in it, I might setup my own repo and produce some packages for it
17:33
<&[R]>
But honestly there isn't much available for it
17:33
<&[R]>
https://morpheus.2f30.org/0.0/packages/x86_64/PACKAGES
17:33
<&[R]>
^ That's the full package list
18:06 pinkmobile [uid208117@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
18:19
<&[R]>
Yossarian: FYI, rc.local is run from /bin/rc.local, not /etc/rc.local
18:32
< Yossarian>
yeah it seems like it's been forgotten about
18:32
< Yossarian>
when I get more savvy I'll end up doing a Linux From Scratch
18:48 gnolam [lenin@Nightstar-ik80lk.priv.bahnhof.se] has quit [[NS] Quit: Reboot]
18:52 gnolam [lenin@Nightstar-ik80lk.priv.bahnhof.se] has joined #code
18:52 mode/#code [+o gnolam] by ChanServ
19:46 celticminstrel [celticminst@Nightstar-8kptuo.dsl.bell.ca] has joined #code
19:46 mode/#code [+o celticminstrel] by ChanServ
20:38 catalyst [catalyst@Nightstar-gshm6l.dab.02.net] has quit [[NS] Quit: -a- Connection Timed Out]
20:38 catalyst [catalyst@Nightstar-gshm6l.dab.02.net] has joined #code
20:47 catalyst [catalyst@Nightstar-gshm6l.dab.02.net] has quit [Ping timeout: 121 seconds]
21:14 catalyst [catalyst@Nightstar-ant4uv.dab.02.net] has joined #code
21:38 catalyst [catalyst@Nightstar-ant4uv.dab.02.net] has quit [[NS] Quit: -a- Connection Timed Out]
21:42 catalyst [catalyst@Nightstar-ant4uv.dab.02.net] has joined #code
21:56 pinkmobile [uid208117@Nightstar-h2b233.irccloud.com] has joined #code
23:21 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
--- Log closed Tue Sep 01 00:00:08 2020
code logs -> 2020 -> Mon, 31 Aug 2020< code.20200830.log - code.20200901.log >

[ Latest log file ]