Loading...
 

Networking

Working on figuring out all the quirks here. This assumes you set up your NIC during installation.

DNS


Out of the box, Amiga UNIX doesn't do DNS lookups but looks at local files (/etc/hosts) only. To enable DNS access:

ln -f /usr/lib/libsockdns.so /usr/lib/libsocket.so
mv /etc/netconfig /etc/netconfig.TCP
ln -f /etc/netconfig.DNS /etc/netconfig

If you put your nameserver into /etc/resolv.conf this will get DNS working for at least some applications, like ping. Others such as nslookup appear to expect a nameserver to be running on the local system. To easily configure your system, download the attachments to this page, below. Place named.boot in /etc, and everything else into /var/named. Edit /etc/named.boot and replace the IP address on this line with the DNS server you use for your net connection:

forwarders 192.168.1.1

Then start named by running in.named with no arguments. Edit the file /etc/resolv.conf to contain this line:

nameserver 127.0.0.1

You can verify this is working by using nslookup to find google.com's IP:

# nslookup www.google.com
Server:  localhost
Address:  127.0.0.1

Non-authoritative answer:
Name:    www.l.google.com
Address:  74.125.67.147
Aliases:  www.google.com


You've now got DNS working as well as I can get it to work, currently.

Routing


The route is set in the file /etc/inet/rc.inet. Assuming your gateway is 192.168.1.1, you need to add the following to this file:

/usr/sbin/route add default 192.168.1.1 1

Don't forget the extra "1" at the end, that's the metric and it's required.

General weirdness


Oh yeah, there's some weirdness for sure. I'll update this once I determine what can be done about named. One thing: leave your domain unset, or set it to "nodomain". If it is "properly" set, it appends your domain to every lookup request for at least the ping utility. The file to edit is /etc/domain. You can unset your domain without a reboot by executing:

domainname nodomain


Contributors to this page: failure .
Page last modified on Wednesday 27 of May, 2009 00:49:36 CEST by failure. (Version 5)

List of attached files
 id Name   desc uploaded Size Downloads
1 6 default named.root View Download   /var/named/named.root Tue 26 of May, 2009 21:49 CEST by failure 2.87 Kb 235
2 5 default named.local View Download   /var/named/named.local Tue 26 of May, 2009 21:49 CEST by failure 331 b 235
3 4 default named.hosts View Download   /var/named/named.hosts Tue 26 of May, 2009 21:49 CEST by failure 305 b 237
4 3 default named.boot View Download   /etc/named.boot Tue 26 of May, 2009 21:48 CEST by failure 251 b 237