Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

Re: adsl modem, and dhcp

James Amendolagine (uq274@freenet.victoria.bc.ca)
Sun, 29 Mar 1998 20:42:53 +0000

Rick Franchuk wrote:

> On Sat, 28 Mar 1998, James Amendolagine wrote:
>
> > http://www.bctel.ca/multimedia_gateway/info/
> >
> > This looks like it. I really don't use their sites much, but I definitly
> > recommend adsl. It's great. You may get put on a que though(waiting to get
> > it). And I think that you have to be within 2 miles of the station. Good
> > luck!
>
> Thanks for the URL... I've checked it out and will probably sign up tomorrow.
>
> I'm on 3rd and 11th in New West, they're at 6th and 6th, so I think I'm cool
> distance-wise. Can you give me an idea of the caveats involved with
> installation? (Looks like I need dhcp and 10baseT, neither of which is a big
> deal, but anything specific you could warn me about would be handy)
>
> --
> __________________________________________
> | |
> | Rick Franchuk - TranSpecT Consulting |
> |_______ _______|
> \mailto:rickf@transpect.net/
> \_____ICQ_#_4435025______/

The installation was increadibly easy with redhat. I just used the control
panel/network.
make sure that dhcp is installed. configure the ethernet card using the control
panel, there's an option for dhcp in there. Then hit the activate button.

It's getting close to final exam time for me so I haven't been too through, but
it seem to work pretty well.

Problems:
the red hat scripts move the file /etc/dhcpc/resolv.conf to /etc/resolve.conf
this means that the file get's overwritten so any modifications to the origional
will be lost.
dhcp retruns the address of a couple of flakey name servers, I believe that they
are just used as a bootstrap kind of thing. You have to have their real name
server in there also. I mannaged this by editing the file:
/etc/sysconfig/network-scripts/

ifdhcpc-done: echo "nameserver 204.174.64.1" >> /etc/resolv.conf
ifdhcpc-done: echo "nameserver 204.174.65.1" >> /etc/resolv.conf

This is not the best fix, but I don't have time right now. The problem is that
when your IP expires and dhcpc retrieves the new one it overwrites
/etc/resolv.conf again. I don't think that ifdhcpc-done get's called again.
Another thing. Don't set up eth0 to be set up at boot time (with the control
panel). There seems to be an error in the redhat scripts. They try to start it
twice, and it fails the second time. I just added a line

to /etc/rc.d/rc.local: "/sbin/ifup eth0"

This seems to work fine.

Another thing. For some reason dhcp only worked 1/10 times until I installed the
packegs: bootp, and dhcpserver. Don't ask me why but it seems to work fine now.
Again I'm too busy to figure out why it works.

Good luck!