(A) Using PPPoE:
a. Open Applications, Accessories, Terminal
b. In the terminal type:
sudo pppoecong
c. A text-based menu program will guide you through the next steps, which are:
1. Confirm that your Ethernet card is detected.
2. Enter your username
3. Enter your password
4. If you already have a PPPoE Connection configured, you will be asked if may be modified.
5. Popular options: you are asked if you want the "noauth" and "defaultroute" options and to remove "nodetach" - choose Yes.
6. Use peer DNS - choose Yes.
7. Limited MSS problem - choose Yes.
8. When you are asked if you want to connect at start up, you will probably want to say yes.
9. Finally you are asked if you want to establish the connection immediately.
d. Once you have finished these steps, you connection should be working.
To start your ADSL connection on demand, in a terminal type:
sudo pon dsl-provider
To stop your ADSL connection, in a terminal type:
sudo poff dsl-provider
(B) Connection to always-on router:
a. sudo ifconfig eth0 192.168.1.xxx netmask 255.255.255.0
b. sudo ifconfig eth0 up
c. sudo route add default gw 192.168.1.1
d. sudo /etc/init.d/networking restart
note1: manually configure network interfaces, type:
sudo gedit /etc/network/infaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
note2: tick on 'roam'?
note3: manually to set DNS. type:
sudo gedit /etc/resolv.conf
fill in the following words:
???
Thursday, April 17, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment