Qwest DSL/Actiontec Gateway Fix

If you have an actiontec gateway for Qwest DSL there is an issue with *nix systems. DHCP overwrites the correct nameservers with the IP of the gateway. We need to edit this before we can get online. First su to root. Then: open /etc/resolv.conf in vi.

vi /etc/resolv.conf

Delete all nameserver lines and add the following one:

nameserver 205.171.3.65

In order to do this place your cursor on that line and hit 'dd'. This deletes the current line in vi. Now type 'ZZ'. This is the vi command for save and exit.

Doing this everytime you want to get online is quite a pain, fortunately, there is a fix.

vi /etc/dhclient.conf

Add this line:

prepend domain-name-server 205.171.3.65;

In order to do this put your cursor on the bottom line of the file (it may not have any lines, that is fine). Now hit "o". This is the vi command for a new line. Once you hit 'o' anything you type will be put on the screen. Finish typing in that line then hit 'Esc'. That is the vi command to stop inserting text. In case you messed up you can use 'x' (when not in insert mode) in order to delete the character the cursor is on. Then use 'a' to insert text after the cursor. Hitting 'a' gets you back into text insertion mode. Once you are done inserting text hit 'Esc' to get back into the normal mode. When you are finished and your line looks as mine does, type 'ZZ' (two capital Z's).