Amiga Unix Wiki

Because AmigaOS just isn't obscure enough today!

User Tools

Site Tools


networking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
networking [2018/08/06 18:30] – created wiki_adminnetworking [2022/04/16 18:16] (current) – fixed typos wiki_admin
Line 1: Line 1:
-====== Networking ======+===== Hardware and connectivity =====
  
-By default Amix only supports the Commodore A2065 Ethernet adapter. With Gateway UNIX CD's drivers the Village Tronic Ariadne also works. See HardwareRegarding connectivity, the latter is easier as it has a standard RJ45 connector already on board. Both boards also have a BNC connector for coaxial 10Base2 ethernet (you'll need the compatible hardware, hubs for connecting 10Base2 and 10BaseT (RJ45) also exist). The A2065 also has an AUI port, where you can plug an AUI Transceiver for adapting it to RJ45. Old ethernet gear is usually readily available on eBaybut not always for cheap.+Out of the box Amix only supports the [[http://amiga.resource.cx/exp/a2065|Commodore A2065 Ethernet adapter]] (full-length Zorro expansion card from 1990). 
 + 
 +With the {{http://amigaunix.com/lib/exe/fetch.php/downloads:gateway_volume_2_96043.iso.zip|Gateway UNIX CD's}} (520 MB) drivers the [[http://amiga.resource.cx/exp/ariadne|Village Tronic'Ariadne card]] also works. The Ariadne is also claimed to be 20% faster in receiving than the A2065 (presumably under AmigaOS). 
 + 
 +The A2065 only has a BNC (coaxial 10Base2) and an DB15 (AUI) ports. If you buy an AUI Transceiver and plug it into the AUI port, you can have RJ45 connectivity. Ardiane, being four years newer, has RJ45 on board making it easier to plug in into modern networksModern switches might however have issues with either board negotiating the port speed to old 10Mbps. If you have issues, you might need to set the switch ports manually or use an older 10/100Mbps hub or switch in-between. 
 + 
 +If you're into vintage networking you can also go ahead and build your own coaxial 10Base2 network! Old 10BaseT (RJ45) hubs often have an uplink port with BNC (coaxial)or you can buy media converter for BNC-to-RJ45 conversion. Old ethernet gear is usually readily available on eBay (but not always cheap).
  
 ===== Basic installation ===== ===== Basic installation =====
  
-During the installation, you are asked if you want to configure network. Same can be done later in amixadm, it will ask you to give IP addresses and host names of the local machine and a remote machine (anything in your local network, this will be put to /etc/hosts). The IP address set here will be the IP address the machine will take during booting.+During the installation, you are asked if you want to configure network. Same can be done later in **amixadm**, it will ask you to give IP addresses and host names of the local machine and a remote machine (anything in your local network, this will be put to /etc/hosts). The IP address set here will be the IP address the machine will take during booting.
  
-You can check the status of the network and the currently used IP address with ifconfig aen0+You can check the status of the network and the currently used IP address with **ifconfig aen0**
  
-==== DNS ====+===== DNS =====
  
-Out of the box, Amiga UNIX doesn't do DNS lookups but looks at local files (/etc/hosts) only. To enable DNS access:+Out of the box, Amiga UNIX doesn't do DNS lookups but looks at local files (/etc/hosts) only. \\
  
 +To enable DNS access:
 +
 +<code>
 ln -f /usr/lib/libsockdns.so /usr/lib/libsocket.so ln -f /usr/lib/libsockdns.so /usr/lib/libsocket.so
 mv /etc/netconfig /etc/netconfig.TCP mv /etc/netconfig /etc/netconfig.TCP
 ln -f /etc/netconfig.DNS /etc/netconfig ln -f /etc/netconfig.DNS /etc/netconfig
 +</code>
  
-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:+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. 
  
-forwarders 192.168.1.1+To easily configure your system, download couple of config files from here:  
 +{{https://www.amigaunix.com/lib/exe/fetch.php/scripts_configs:amix_dns.zip|amix_dns.zip}} 
 + 
 +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: 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+**nameserver 127.0.0.1**
  
 You can verify this is working by using nslookup to find google.com's IP: You can verify this is working by using nslookup to find google.com's IP:
  
-nslookup www.google.com+<code> 
 +nslookup www.google.com
 Server:  localhost Server:  localhost
 Address:  127.0.0.1 Address:  127.0.0.1
Line 35: Line 51:
 Address:  74.125.67.147 Address:  74.125.67.147
 Aliases:  www.google.com Aliases:  www.google.com
 +</code>
  
 You've now got DNS working as well as I can get it to work, currently. You've now got DNS working as well as I can get it to work, currently.
  
-=== Routing ===+===== 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: 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:
  
 +<code>
 /usr/sbin/route add default 192.168.1.1 1 /usr/sbin/route add default 192.168.1.1 1
 +</code>
  
 Don't forget the extra "1" at the end, that's the metric and it's required. Don't forget the extra "1" at the end, that's the metric and it's required.
  
-== NFS - Network File System ==+===== Remote connections =====
  
-One of the easiest ways to share files between your Amix machine and other machines, is to use an NFS share. It is an old standard and still widely supported (even some modern NAS boxes offer it out-of-box).+You can remotely log in into the Amix system by using rlogin or telnet and the IP address of the machine: 
 +rlogin 192.168.0.44 
 +telnet 192.168.0.44
  
-First you need to have a compatible network card and configured it correctly. Thencreate an NFS share on your network. Easiest way is to create it without username/password. Or create an user with identical credentials as your Amix user account. Then on your Amix machine, create a directory where you want the network share to appear (here /home/joe/NFSmount).+If backspace doesn't work over the remote session (produces chracaters instead of deleting)fix it by typing **stty erase** (backspace)
  
-On your Amix machine the syntax to mount NFS is: +===== General weirdness =====
-mount -F nfs (IP-address):/(name of the share) /(path where to mount it)+
  
-Examplemount -F nfs 192.168.0.68:/amix /home/joe/NFSmount +Oh yeah, there's some weirdness for sure. One thingleave 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 utilityThe file to edit is /etc/domainYou can unset your domain without reboot by executing:
-Where 192.168.0.68 is machine in the local network that has an NFS share called "amix"+
  
-Now you can access the files as an ordinary local directory. Unmount happens when the system is shutdown, or manually by unmount /home/joe/NFSmount. To have a look of currently mounted file systems (both local and remote), use mount -p+**domainname nodomain**
  
-Notes: some NAS/network gear let you adjust the MTU (maximum transmission unit) setting to enhance transfer speeds. At least one user reported that raising this value (from the default value of 1500) caused problems with Amix: a mount was possible but any access to files on the NFS share caused "NFS not responding, still trying" errors. Putting back the default value restored operations. 
  
-== Remote connections ==+===== Installing drivers for Village Tronic's Ariadne card =====
  
-You can remotely log in into the Amix system by using rlogin or telnet and the IP address of the machine: +// Copied for safekeeping from [[https://eab.abime.net/showpost.php?p=967660&postcount=222|eab.abime.net discussion by vintageBytes]] // 
-rlogin 192.168.0.44 + 
-telnet 192.168.0.44+Download and copy the drivers to the Amix machine. 
 + 
 +  * Log in as root user
 +  * Copy the install.ariadne script to / and execute it: **sh install.ariadne** The script can throw a few warnings, normally these are only for file permissions and can be ignored as you are logged in as root.
  
-If backspace doesn't work over the remote session (produces chracaters instead of deleting), fix it by typing stty erase (backspace)+  * After the script execution you need to compile a new kernel. So type: **cd /usr/sys** 
 +and start compiling with **make**  This will take a while. After compiling you will find the new kernel in this path: /usr/sys/relocunix 
 +  * This file must be copied to /stand: **cp /usr/sys/relocunix /stand/relocunix** 
 +and then be installed into the boot partition: **cd /stand** 
 +  * **make bootpart KERNEL=relocunix** 
 +  * After the installation you need to reboot the system: **cd /** and **shutdown -i6**
  
-== General weirdness ==+  * After reboot, Ariadne can be found under /dev/aen0. Without any settings, typing **ifconfig aen0**  
 +should display something like this:
  
-Oh yeah, there's some weirdness for sure. I'll update this once I determine what can be done about named. One thingleave your domain unsetor set it to "nodomain". If it is "properly" setit 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:+<code> 
 +aen0flags=23<UPBROADCASTNOTRAILERS>
  
-domainname nodomain+ inet 127.0.0.1 netmask FF000000 broadcast 127.255.255.255 
 +</code>
networking.1533573032.txt.gz · Last modified: 2021/09/19 17:58 (external edit)