LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-30-2006, 03:15 PM   #1
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 166

Rep: Reputation: 16
Question Problem with using internet via DSL(PPPoE) Dialup in Linux


Hi Friends
First of all Wish U all Members of LQ a Happy and Prosperous New Year!!!!!!!

Dear Friends My question is I have created my DSL Dialup(PPPoE) connection in RedHat 9 Linux the connection was created successfully and even when i issue the command in linux command prompt(Terminal):
# ifconfig

It was showing me ppp0 connection up and also showing me the Internet Dynamic IP Add and DNS IP Add.

but when i go to mozilla browser for surfing net i was not able to get web page even i have check my internet connection via "lynx" command in linux shell. I have also ping the yahoo.com, gmail.com etc but it was not pinging that sites. Can u tell me where i'm commiting the mistake and also the command for creating ppp0 connection via CLI(Shell) mode.

Plz note I'm using my residencial connection not coporate connection so there is no extra securities and blockage of services!!!!!!

Best Wishes
CJ Cheema

Last edited by cj_cheema; 12-30-2006 at 03:17 PM.
 
Old 12-30-2006, 03:44 PM   #2
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Rep: Reputation: 30
how did you setup the PPPoE dsl connection?

are the lights all on on your modem i.e. the dsl light not flashing?

what is the output of ifconfig, does it match what your isp gave you?

Last edited by namit; 12-30-2006 at 03:45 PM.
 
Old 12-30-2006, 08:02 PM   #3
ojnab
LQ Newbie
 
Registered: Jan 2004
Location: South Coast of England
Distribution: Solaris 7,10,11 Suse 9.3,10 WinXP
Posts: 24

Rep: Reputation: 15
The great firewall?

You said that ifconfig showed the ppp0 connection setup with the correct DNS yet you can't ping gmail.com, correct?

I've only ever used PPPoE in the People's Republic of China (in the UK my broadband modem just appears as a normal TCP/IP router on my cat5 LAN), so I have to ask the question, is your internet connection censored by your government? gmail.com is reported to be a site that the Chinese censor.

Also, some sites block ICMP traffic so ping won't work anyway.

Does a simple nslookup work?

The output from ifconfig -a would be helpful too.
 
Old 12-31-2006, 06:11 AM   #4
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Rep: Reputation: 30
I have also ping the yahoo.com, gmail.com etc but it was not pinging that sites.

have you entered in your dns statically?
 
Old 01-01-2007, 06:22 AM   #5
craiglarry
LQ Newbie
 
Registered: Oct 2006
Posts: 17

Rep: Reputation: 0
I'm interested in your comments about using PPPoe in China. I've been here for more than 13 years and of course am aware of the "monitoring" that goes on over the internet, by yes the Chinese Gov. Yet, I find your comments confusing. Do they check your receiving and sending? Yes. Does this cause problems and keep your broadband from working? No. Sometimes on rare occasions emails have been delayed for an unusually long period of time. It has happened on a couple of occasions that I was blocked for a short period of time from a particular website, until they figured out that what I was uploading to the website was not subversive materials but merely friendly digital pictures to my classmates in the US. Then things returned to normal.

We know what the situation is here and don't stir up trouble over it, because we foreigners are after all only visitors in this country and in fact are treated quite well. Better than we are often treated in our home countries.

My PPPoe works pretty well both in winxp and Ubunutu, and if this poster's config and hardware are in good order his adsl should work too, without having to think of the "different" situation in this country. We should try not to confuse him with these other issues.
Cheers

Quote:
Originally Posted by ojnab
You said that ifconfig showed the ppp0 connection setup with the correct DNS yet you can't ping gmail.com, correct?

I've only ever used PPPoE in the People's Republic of China (in the UK my broadband modem just appears as a normal TCP/IP router on my cat5 LAN), so I have to ask the question, is your internet connection censored by your government? gmail.com is reported to be a site that the Chinese censor.

Also, some sites block ICMP traffic so ping won't work anyway.

Does a simple nslookup work?

The output from ifconfig -a would be helpful too.
 
Old 01-01-2007, 01:16 PM   #6
ojnab
LQ Newbie
 
Registered: Jan 2004
Location: South Coast of England
Distribution: Solaris 7,10,11 Suse 9.3,10 WinXP
Posts: 24

Rep: Reputation: 15
Quote:
Originally Posted by craiglarry
I'm interested in your comments about using PPPoe in China. I've been here for more than 13 years and of course am aware of the "monitoring" that goes on over the internet, by yes the Chinese Gov. Yet, I find your comments confusing. Do they check your receiving and sending? Yes. Does this cause problems and keep your broadband from working? No. Sometimes on rare occasions emails have been delayed for an unusually long period of time. It has happened on a couple of occasions that I was blocked for a short period of time from a particular website, until they figured out that what I was uploading to the website was not subversive materials but merely friendly digital pictures to my classmates in the US. Then things returned to normal.

We know what the situation is here and don't stir up trouble over it, because we foreigners are after all only visitors in this country and in fact are treated quite well. Better than we are often treated in our home countries.

My PPPoe works pretty well both in winxp and Ubunutu, and if this poster's config and hardware are in good order his adsl should work too, without having to think of the "different" situation in this country. We should try not to confuse him with these other issues.
Cheers
It is possible that I may be confusing cj_cheema with irrelevant information.

However, from my own personal experience pings to my own website have been blocked when I had "subversive" information on it (i.e. I did a wget of Families Need Father's website, which presumably had too many references to freedom and democracy). Yes after I deleted the data my pings were unblocked again 10 minutes later.

Also, cj_cheema said he was trying to ping gmail.com and I read that this was censored at http://www.chinese-forums.com/showth...ail+censorship although I have never had a problem using smtp.gmail.com for outgoing mail.
 
Old 01-04-2007, 12:44 PM   #7
craiglarry
LQ Newbie
 
Registered: Oct 2006
Posts: 17

Rep: Reputation: 0
Never known the Chinese gov to react so promptly, esp to such a single rather innocuous incident as you describe. You might consider whether it was a bit of paranoia on your part. The Chinese guys on the net who do this work have often been demonized like this. You surely won't be surprised if I mention the US gov does the same thing.

Cheers

Quote:
Originally Posted by ojnab
It is possible that I may be confusing cj_cheema with irrelevant information.

However, from my own personal experience pings to my own website have been blocked when I had "subversive" information on it (i.e. I did a wget of Families Need Father's website, which presumably had too many references to freedom and democracy). Yes after I deleted the data my pings were unblocked again 10 minutes later.

Also, cj_cheema said he was trying to ping gmail.com and I read that this was censored at http://www.chinese-forums.com/showth...ail+censorship although I have never had a problem using smtp.gmail.com for outgoing mail.
 
Old 01-05-2007, 03:12 AM   #8
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 166

Original Poster
Rep: Reputation: 16
Unhappy Thanx 4 reply but these answers not satisfy my doubts!!!!

Hi all
Thanx member 4 quick reply and also giving special interest in my questions. But guys like i have told u before that i'm using my resenditial DSL connection not commercial connection thats why i have not issue on security. And also here in India there is no restriction on GMAIL or other Sites. My Problem is i'm not able to access internet when i make connection with the dialup of DSL Modem or Router however it always shows my isp assign Dynamic IP Add. and DNS whenever i connect my Dialup via PPPoE connections. I check this from ifconfig or ifconfig ppp0 command from linux shell. But when i use another connections like "ALWAYS ON" or cable internet in which i need not use dialer for connecting with my ISP. I'm able to access internet on my REDHAT Linux machine and also i'm able ping any site from my pc but it is very expensive for me so i want to use DSL Connection which is very cheap in INDIA. So Plz help me how can i rectify my problem, how can i access internet from DSL PPPoE connection in my RedHat9 Linux Machine. Thanx in advance.

......CJ Cheema

Last edited by cj_cheema; 01-05-2007 at 03:17 AM.
 
Old 01-05-2007, 03:38 AM   #9
ojnab
LQ Newbie
 
Registered: Jan 2004
Location: South Coast of England
Distribution: Solaris 7,10,11 Suse 9.3,10 WinXP
Posts: 24

Rep: Reputation: 15
Quote:
Originally Posted by cj_cheema
Hi all
in India there is no restriction on GMAIL or other Sites. My Problem is i'm not able to access internet when i make connection with the dialup of DSL Modem or Router however it always shows my isp assign Dynamic IP Add. and DNS whenever i connect my Dialup via PPPoE connections. I check this from ifconfig or ifconfig ppp0 command from linux shell. But when i use another connections like "ALWAYS ON" or cable internet in which i need not use dialer for connecting with my ISP. I'm able to access internet on my REDHAT Linux machine and also i'm able ping any site from my pc
Thanks for clarifying these points. The important thing is that you are able to ping these sites using a different connection.

If the ppp0 interface is automatically assigning IP and DNS via DHCP from your ISP, then it should be ok, but I wonder if your default route is being assigned by DHCP.

I haven't seen an example ifconfig output for a PPP connection recently, but from what I remember it should give both your local IP and the ISP's router IP. What does your routing table look like?

netstat -rn

Do you have a route to "default" or 0.0.0.0? and is it your ISP's router IP? If not can you try adding it with the route command. Not sure if the syntax is the same for Redhat, but the syntax for route on SUSE is

route add -net default gw nn.nn.nn.nn

where nn.nn.nn.nn is the IP address for your default router.

Also, to confirm the DNS has been obtained correctly from your ISP, what does nslookup or dig give for yahoo.com?

e.g.
$ nslookup yahoo.com
Server: 194.106.33.42
Address: 194.106.33.42#53

Non-authoritative answer:
Name: yahoo.com
Address: 66.94.234.13
Name: yahoo.com
Address: 216.109.112.135
 
Old 01-07-2007, 02:53 PM   #10
cj_cheema
Member
 
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 166

Original Poster
Rep: Reputation: 16
Smile Thanx Ojnab

Hi Mr. Ojnab
Thanx for the soloution.Your soloution shows me the right path. But i Had to do some more settings after this but still ur command helped me. Again thanx for ur assisitance.


Regards
CJ Cheema(Charan Jit Singh Cheema)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DialUp Internet Connection Problem lenson Linux - Newbie 3 08-25-2005 02:21 AM
dialup connection with dsl on/off fails pcandpc Fedora 0 06-18-2005 08:17 PM
VL4.0 LILO & internet dialup problem jeff1500 VectorLinux 20 03-28-2004 06:11 PM
Sharing a Dialup Internet Connection between Redhat Linux 9 and Windows XP nitpil Linux - Networking 9 03-21-2004 11:43 AM
BIND on dialup DSL line causes dial-out every 4-5 min., why? ikletti Linux - Networking 1 11-10-2003 04:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration