The first thing we did is changed the name of the device from exodus to acts because exodus was an old server name that the network still remembered. It was causing problems. Changing the host name is done in both the /etc/hosts and /etc/hostname files.
Next, we gave the device a fixed IP address by editing the /etc/interfaces/network file. I had previously setup a fixed address and simply uncommented those lines and commented out the dhcp line. Rebooted. The new name and IP address were configured.
Chip went into the DNS program on the Windows 2008 server and cleaned some things up. There were entries for some old servers that he deleted. He also added acts as a server in the DNS.
Now that the device was setup properly, and the network issues were fixed, we moved acts to the server rack in the work room and fired it up. It worked. PTL!
The next step was to get the Avahi server working with the Cisco router. Cisco has a web page where they explain how to do this. We followed the four steps below. Chip decided to use vlan id 10 on the Pi's IP address.
- Add the Avahi daemon and VLAN packages to the OS via the sudo apt-get install vlan avahi-daemon commands.
- Edit the Avahi configuration file and enable the reflector functionality in the Avahi Daemon.
ubuntu@ubuntu:~$ sudo nano /etc/avahi/avahi-daemon.conf
- Within the configuration file, change the “enable-reflector” option to yes and make sure that no # symbol is before the line.
#publish-domain=yes #publish-dns-servers=192.168.50.1, 192.168.50.2 #publish-resolv-conf-dns-servers=yes #publish-aaaa-on-ipv4=yes #publish-a-on-ipv6=no [reflector] enable-reflector=yes #reflect-ipv=no
- Issue the sudo vconfig add eth0 10 command in order to add a VLAN:
The Cisco page tells us to run avahi-browse command to see all apple devices on the network. However, we had to execute
sudo apt-get install avahi-utilsbefore this would work. These instructions were not on the Cisco instruction page.
Finally, the vconfig command we executed at the command line did not stay after a reboot. We added the following line to the rc.local file.
sudo vconfig add eth0 10Chip tested the solution with the teacher who first reported the problem. It works great. Problem solved!
No comments:
Post a Comment