68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Any way to get DHCP working on A/UX?
Posted by: LCGuy on 2009-06-24 15:27:24
So over the past few days I've been thinking about putting A/UX back on my Quadra 700. Where I usually come unstuck with A/UX on that machine is network access: obviously I can access LocalTalk fine, but the way my network is set up, all the computers on my network get assigned an IP address via DHCP from a PC with Windows Internet Connection Sharing set up. From what I can gather, A/UX has absolutely zero DHCP support at all, and basically, the only way I can think of to get it to work is to put another computer between the Quadra and the network (most likely a PC running Linux) that can request an IP address from the network and function as a router for the Quadra, allowing it to connect to the network. However, I'd prefer not to do this if possible...is there a chance that someone at one stage may have put together a DHCP client for A/UX?

Posted by: Unknown_K on 2009-06-24 18:28:38
I think I had to rig mine with a static local IP that none of the other machines used.

Posted by: II2II on 2009-06-24 18:54:13
Not sure if it would work with Windows internet connection sharing, but most IP-NAT routers will allow any computer with an IP address on the same subnet to get in and out of the network. Which generally means that you set the IP address, subnet, and gateway address and away you go.

How do you ensure that noone else is using an IP address? If one or two computers are on the network, just choose a high IP address. If you have many computers coming and going on your network, just set aside a block of static IP addresses.

Posted by: Unknown_K on 2009-06-24 19:19:57
A home router usualy uses a set range of the 256 possible (100?) so just use something outside of that (maybe 255).

Posted by: Gorgonops on 2009-06-25 07:42:38
A home router usualy uses a set range of the 256 possible (100?) so just use something outside of that (maybe 255).
.255 is the "broadcast" address for a /24 (netmask 255.255.255.0) network, so, no, don't use .255. Strange things happen if you assign a computer the broadcast address.

I haven't used Window's internet sharing feature, but reading this:

http://support.microsoft.com/kb/306126

It looks simple enough. Unless you're doing something special your network will be 192.168.0.x netmask 255.255.255.0, default gateway 192.168.0.1. Look at the IPs assigned to whatever other machines you're sharing with, and pick an IP well away from them. (IE, if you have two other machines and they've been assigned, I dunno, ".11" and ".12" by DHCP, use ".169" for your A/UX box.) The article says static assignments work fine.

Posted by: LCGuy on 2009-06-25 15:45:05
Gorgonops: Interesting...maybe I've just been unlucky, or I've been doing something wrong, but I've never gotten it to work. Either way, I'll have a play around with it the next week before I go back to uni...I hope to get it working.

Posted by: Temetka on 2009-06-30 13:05:49
Why are you using ICS?

Posted by: porter on 2009-06-30 13:45:08
Careful use of tcpdump, tcpreplay and ifconfig you may be able to jig something up.

If you could get tcpreplay going then you are onto something.

Posted by: LCGuy on 2009-07-20 18:13:25
Why are you using ICS?
Because back at home I have to use dialup, and as bad as ICS can be, well, it works. Anyway I managed to get it working by assigning it a static IP address (192.168.0.222). 🙂

1