PDA

View Full Version : two quick questions.....



leech
22nd November 2002, 13:44
First question, how do I add a route so that the DHCP server will tell all the clients to use route 192.168.0.1 as the default gateway so that I don't have to type 'route add default gw 192.168.0.1' everytime I go into linux.... (WindowsXP of course you can just set up the gateway through the GUI)

Second question..... in Redhat 8.0, how would I make it load up agpgart everytime I start...... mtx automatically loads for the parhelia, but without agpgart the display is borked.

Any help on either of these two questions would be very much appreciated.

Leech

Wombat
23rd November 2002, 10:01
The first one should be taken care of if you add the route line to the <I>ifup</I> script.

The second one I can't remember the filenames, and don't have a Linux box handy at the moment :(

Ribbit
23rd November 2002, 10:21
Try adding 'alias /dev/agpgart agpgart' to your /etc/modules.conf

leech
23rd November 2002, 10:44
Ok, thanks guys, I actually just decided to bag RedHat and go back to debian. I'll have to try the ifup thing, but I always thought there was a way to have it that way on the server itself so it automatically told all the dhcp-clients to use the proper gateway.

Leech

runderwo
23rd November 2002, 21:57
There is a way.
option routers xxx.xxx.xxx.xxx;
in your dhcpd.conf on the server for the subnet declaration you are dealing with.

leech
23rd November 2002, 22:18
I saw that option already in there, it's set to 192.168.0.254 for whatever reason... but you'd think if that were already set, it'd set that as the gateway, but maybe that's not working because the IP of the eth1 that the dhcpd server is running on is 192.168.0.1? I'll give it a shot...

Leech