LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Connecting to internet on backtrack3 - simple q (https://www.linuxquestions.org/questions/linux-newbie-8/connecting-to-internet-on-backtrack3-simple-q-772251/)

nicksonrulez 11-29-2009 08:41 AM

Connecting to internet on backtrack3 - simple q
 
Hi guyz,
First time installed linux. Willing to learn it well. I got broadband connection which is WIRED.... laptop directly connected to the modem. I dont have a static ip. means in xp i just select "obtain ip and dns automatically".

Can you please list the commands to connect it to internet?

PS:- I am using a LIVE CD to boot backtrack.

And if you think there something more i shud know or list of basic commands please feel free to post any link.

nicksonrulez 11-29-2009 09:16 AM

I read few things and tried following command:

Code:

sudo ifconfig -a
I thought that i will see name of my ethernet cable in it but all i saw was something like following:

Code:

lo            link encap: local network
              inet addr:127.0.0.1 Mask:255.0.0.0
              UP LOOKBACK RUNNING MTU:16436 etc. etc.


hurry_hui 11-29-2009 10:49 AM

You might want to try pppoe-setup.

Having setup the connection you can start with pppoe-start and stop it with pppoe-stop.

It only works if modem functions as router.

Do not forget to edit /etc/resolv.conf with your favorite editor to add DNS.

You might add
Code:

nameserver 208.67.220.220
nameserver 208.67.222.222

Somebody might CMIIW

HTH

nicksonrulez 11-29-2009 11:54 AM

Quote:

Originally Posted by hurry_hui (Post 3773309)
You might want to try pppoe-setup.

Having setup the connection you can start with pppoe-start and stop it with pppoe-stop.

It only works if modem functions as router.

Do not forget to edit /etc/resolv.conf with your favorite editor to add DNS.

You might add
Code:

nameserver 208.67.220.220
nameserver 208.67.222.222

Somebody might CMIIW

HTH

As I said, in xp it connects to dhcp and i choose "obtain IP and DNS automatically"... so how wud i understand what DNS to put.

hurry_hui 11-29-2009 12:05 PM

Sorry, above should read

'You might add following DNS from OpenDNS'

Well, have you tried pppoe-setup...? Does it work?

The following is DNS (OpenDNS) you need to put in /etc/resolv.conf, sometimes needed sometimes not.

Code:

nameserver 208.67.220.220
nameserver 208.67.222.222

HTH


All times are GMT -5. The time now is 10:58 PM.