last night I played with the Sparcstation 5 that Phil got working, and tried
to get it on The Internet
it's plugged into ethernet, and i wanted to get it an IP address and all
that...but first i had to figure out why it didn't have a MAC address. Its
ethernet port is "le0" (in linux we're used to eth0) and something online
said
do this:
# ifconfig le0 plumb
but then its MAC address was 0:0:0:0:0:0 which was not gonna work. Trying to
set it from ifconfig like this didn't work:
# ifconfig le0 hw ether 1:2:3:4:5:6
bad address
so I had to reboot and type a bunch of stuff into the "ok" prompt it boots up
to, like it says here
https://gist.github.com/amdprophet/e010803d581d676003a90ba36da8a269
after a reboot it started saying the MAC address I entered upon boot (before
the "ok" prompt) and actually it was trying to network boot, or access
something on the network - i had to press STOP and A to interrupt that, and
get the "ok" prompt, where i typed "boot disk" to boot up from disk.
Then I set the IP address and gateway route manually and was able to ping and
telnet sites by IP address, on the internet!!!! but DNS didn't work.
I put this in /etc/resolv.conf:
domain jackpumpkin
nameserver 8.8.8.8
nameserver 8.8.4.4
and then nslookup worked! But other commands line ping and telnet and the web
browser still couldn't resolve DNS names. I went home, but Marc says:
what does /etc/nsswitch.conf say?
You might have to do: cp /etc/nsswitch.dns /etc/nsswitch.conf
if the .conf does not exist
Apparently this OS ships with a bunch of example config files with different
extensions instead of .conf, and you copy the one you want to .conf and then
edit to your liking. That's probably how we should set up the networking,
rather than typing ifconfig commands each time.
also don't forget to run "bash" in the terminal so you're not stuck in
an
annoying minimalist shell
here's the wiki page i made - if you don't have an account, request one!
https://sudoroom.org/wiki/Sparcstation#sparcstation_5
-jake