Sunday, March 13, 2011

Changing DNS of my Ubuntu server

This is related to my September 2010 post on how to configure a static IP address for a computer.
I had to revisit that post and change the IP address again today, after having bought a new router with a new LAN configuration.

Here is the how-to for specifying an explicit DNS server, to guarantee that the Ubuntu SSH server will have Internet as well.

Edit this file in the terminal:
sudo nano etc/dhcp3/dhclient.conf

Changes:
1. Remove the "domain-name-servers" from the request directive.
2. Modify the line:
prepend domain-name-servers 127.0.0.1;
by changing 127.0.0.1 to the DNS server of your Internet connection.
For my case, using Sun Broadband (Huawei usb modem), it was:
prepend domain-name-servers 202.138.128.50,202.138.128.54;


Taken from this Ubuntu Forum thread.

Friday, March 4, 2011

PLDT WeRoam on Linux Mint 10 (or Ubuntu 10.10)

These PLDT support guys don't have a clue how to support their product for Linux.
Major turn-off.

I didn't have to install those drivers in their website for my version of Linux Mint.
All I had to do was plug in the ZTE MF627 modem in my USB slot and Linux Mint automatically detected the modem.

These are the settings in my network connection:

Number: *99#
User name: pldt@weroam
Password: pldt

APN: weroam
Network ID:
Type: 3g (UMTS/HSDPA)

PPP Settings:
Allow PAP as the only method.
Uncheck Use point-to-point encryption (MPPE)
Check Allow BSD, Deflate, and TCP header compression