LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Not able to connect to Internet (https://www.linuxquestions.org/questions/linux-newbie-8/not-able-to-connect-to-internet-796876/)

vinaytp 03-21-2010 11:38 AM

Not able to connect to Internet
 
Dear All,

I have an internet connection with 512kbs speed. I have PCLinuxOS installed on my laptop. when I boot the machine through PCLinxOS, I am not able to connect to the internet.

I am not getting IP/DNS entries/Gateway by my ISP. Can anyone please help me in troubleshooting this ?

But when the same Internet connection is connected to another Windows XP machine. Its working fine.

Thanks in advance..

repo 03-21-2010 11:39 AM

Do you use a router, modem...
What kind of connection?
dialup, dsl....
wireless, wired....

vinaytp 03-21-2010 11:40 AM

Quote:

Originally Posted by repo (Post 3906613)
Do you use a router, modem...
What kind of connection?
dialup, dsl....
wireless, wired....

Thanks for your reply. I am using Modem connection.

Eljo 03-21-2010 11:47 AM

Quote:

Originally Posted by vinaytp (Post 3906616)
Thanks for your reply. I am using Modem connection.

Strange, When using LAN RJ45 cable straight from the modem to pc It should normally work instantly. Sure your cable or network card is ok and is it recognized by linux?

repo 03-21-2010 11:48 AM

dialup, dsl, wired, wireless?
if dialup, use kppp or wvdial
if dsl use pppoeconf

vinaytp 03-21-2010 12:14 PM

Quote:

Originally Posted by repo (Post 3906628)
dialup, dsl, wired, wireless?
if dialup, use kppp or wvdial
if dsl use pppoeconf

Thanks again !!

It is dsl.

I opened pppoe.conf file in /etc/ppp directory. What all the parameters I have to check here?

mbrocknroll 03-21-2010 12:19 PM

try this
in browser type 192.168.1.254
than choose bridged ethernet

repo 03-21-2010 12:40 PM

Take a look at
http://blog.mypapit.net/2007/06/how-...om-ubuntu.html
you need to run
pppoeconf as root, and provde login, password.....

repo 03-21-2010 12:41 PM

Quote:

Originally Posted by mbrocknroll (Post 3906655)
try this
in browser type 192.168.1.254
than choose bridged ethernet

The OP is using a modem, not a router

repo 03-21-2010 12:45 PM

EDIT
disregard, wrong answer

vinaytp 03-21-2010 12:52 PM

Quote:

Originally Posted by repo (Post 3906670)
Take a look at
http://blog.mypapit.net/2007/06/how-...om-ubuntu.html
you need to run
pppoeconf as root, and provde login, password.....

Dear repo,

Thanks again for your reply !!

I did not find any command named pppoeconf in PCLinuxOS. I found following commands related to pppoe, which one is equivalent here ?

pppoe
pppoe-relay
pppoe-start
pppoe-stop
pppoe-sniff
pppoe-status
pppoe-setup
pppoe-server
pppoe-connect
etc..

Could you please assist me ?

repo 03-21-2010 12:57 PM

Try
pppoe-setup

vinaytp 03-21-2010 01:06 PM

Quote:

Originally Posted by repo (Post 3906682)
Try
pppoe-setup

Yes repo, I did pppoe-setup, it asked few questions I answered all of them from which it created a configuration file ppppoe.conf

After this I tried
Code:

pppoe-start
..........TIMED OUT

I got above message, Still No luck..

I checked logs in /var/log/ppp/connect-errors, But file connect-errors is empty which is the alone file in /var/log/ppp directory

Can you please assist me how to proceed ?

repo 03-21-2010 01:25 PM

Is your ethernetcard recognized by the system?
What is the output from
Code:

ifconfig -a

vinaytp 03-21-2010 01:30 PM

Quote:

Originally Posted by repo (Post 3906708)
Is your ethernetcard recognized by the system?
What is the output from
Code:

ifconfig -a

Yes repo, it is being recognized by the system, I am not able to copy and paste the output here. It is showing output as shown below
Code:

/sbin/ifconfig -a
eth0  Link encap:Ethernet HWaddr: 00:1F:16:B3:B9:FD
      UP BROADCAST MULTICAST MTU:1500 MEtric
      ...................
      .................
lo    Link encap: Local Loopback

Anything else needs to be inspected ?


All times are GMT -5. The time now is 04:44 PM.