LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-18-2007, 03:35 AM   #1
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Rep: Reputation: 15
Problem about accessing Internet.


Hi,
I installed slackware 11.After setup the pppoe,I found it can obtained ip address.But it can't work.
Before pinging google ,i shut down the iptables and it return me a sentence:Unkown host.So what should I do?
 
Old 02-18-2007, 06:14 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
I was not clear from your post whether or not you tried pinging google, and if so what the result was. But I am wondering if you are having DNS problems. To check that out, in sequence, see if the following commands work, or if they return errors.

Code:
ping localhost
ping 64.179.4.146
ping www.linuxquestions.org
If the first two work but the third does not, then you have a DNS problem. Otherwise, we need to look elsewhere.
 
Old 02-18-2007, 06:15 AM   #3
moschops
LQ Newbie
 
Registered: Oct 2006
Posts: 23

Rep: Reputation: 15
hello snowball0916,

Just a quick questions. Have you tried opening a terminal command propmt, logging in as the root user and typing "netconfig"?

The first thing netconfig does is let you enter a hostname.
 
Old 02-18-2007, 10:01 AM   #4
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by blackhole54
I was not clear from your post whether or not you tried pinging google, and if so what the result was. But I am wondering if you are having DNS problems. To check that out, in sequence, see if the following commands work, or if they return errors.

Code:
ping localhost
ping 64.179.4.146
ping www.linuxquestions.org
If the first two work but the third does not, then you have a DNS problem. Otherwise, we need to look elsewhere.
hi,this is some information of my internet problem:
Code:
#ping www.google.cn
ping: Unknown host www.google.cn
#more /etc/resolv.conf
nameserver 202.103.225.68
nameserver 202.103.224.68

#pppoe-status
pppoe-status: Link is up and running on interface ppp0
PPP0     Link encap:Point-to-Point  Protocol   
         inet addr:202.173.72.66  P-t-P:222.217.170.13 
              Mask:255.255.255.255
         UP  POINTOPOINT  RUNNING NOARP  MULTICAST MTU 1492 Metric:1
         RX  packets:254  error:0 dropped:0 overrus:0  frame:0
         TX  packets:4  error:0  dropped:0  overrus:0  carrier:0
         collision:0
         RX bytes:14443(14.1 KiB)    TX bytes:37(37.0 b)
And this is some information of my Windows XP:
Code:
PPP adapter 宽带连接:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
        Physical Address. . . . . . . . . : 00-53-45-00-00-00
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 220.173.75.240
        Subnet Mask . . . . . . . . . . . : 255.255.255.255
        Default Gateway . . . . . . . . . : 220.173.75.240
        DNS Servers . . . . . . . . . . . : 202.103.225.68
                                            202.103.224.68
        NetBIOS over Tcpip. . . . . . . . : Disabled
If you don't know that chinese words,ignored them.

And you know loging between Linux and Windows is rather troubling me.Thanks.
 
Old 02-18-2007, 10:05 AM   #5
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by moschops
hello snowball0916,

Just a quick questions. Have you tried opening a terminal command propmt, logging in as the root user and typing "netconfig"?

The first thing netconfig does is let you enter a hostname.
hi,I didn't use netconfig command.And when at the end of the slackware 11's installation ,i just enter as default.but in pppoe-setup ,i enter the dns.Is that matter?
 
Old 02-18-2007, 07:42 PM   #6
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
And I tried to ping 64.179.4.146 ,it didn't work.I pinged www.linuxquestions.org ,it showed "Unknown host: www.linuxquestions.org"

But I can ping localhost.
 
Old 02-18-2007, 08:09 PM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I think you didn't set up the network properly, read the slackbook section on that:

http://www.slackbook.org/html/book.h...-CONFIGURATION
 
Old 02-18-2007, 10:43 PM   #8
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Even though your interface appears to be up, it looks like you aren't getting out to the internet at all. If H_Tex_Mex_H's suggestion doesn't solve things, could post the output of

route -n
 
Old 02-19-2007, 08:08 AM   #9
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
This is the detail:
Code:
root@localhost:~#route -n
Destination       Gateway      Genmask         Flags    Metric    Ref Use  Inface
222.217.170.13    0.0.0.0      255.255.255.255  UH          0      0    0    ppp0
192.168.1.0       0.0.0.0      255.255.255.0    U           0      0    0    eth0
127.0.0.0         0.0.0.0      255.0.0.0        U           0      0    0    lo
0.0.0.0           192.168.1.1  0.0.0.0          UG          0      0    0    eth0
I don't know why my gateway is : 0.0.0.0
 
Old 02-19-2007, 09:32 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Quote:
Originally Posted by snowball0916
This is the detail:
Code:
root@localhost:~#route -n
Destination       Gateway      Genmask         Flags    Metric    Ref Use  Inface
222.217.170.13    0.0.0.0      255.255.255.255  UH          0      0    0    ppp0
192.168.1.0       0.0.0.0      255.255.255.0    U           0      0    0    eth0
127.0.0.0         0.0.0.0      255.0.0.0        U           0      0    0    lo
0.0.0.0           192.168.1.1  0.0.0.0          UG          0      0    0    eth0
I don't know why my gateway is : 0.0.0.0
Hi,

You really don't have the ppp device setup completely. Without doing all the work for you, look at the howto; DSL-HOWTO Look at section 3.2.1 since you seem to be using a static IP. You should read the whole howto to get some solid background. My sig has some good online refernce to assist, this will help you a lot.

Since you didn't provide all the information needed to help diagnose the problem. I assummed that you were using a dsl modem. Your windows xp information leaned me toward that assumption.

You should look at the link 'How to ask questions the smart way'

You need to provide the necessary information to allow us to help you.
 
Old 02-19-2007, 10:27 PM   #11
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by snowball0916
I don't know why my gateway is : 0.0.0.0
The last line of the routing table shows your default gateway to be 192.168.1.1. The zeroes in the destination and genmask columns (this combination of IP address and mask is generally written 0.0.0.0/0 or 0.0.0.0/0.0.0.0), will match any IP address. This is how packets not matching any more detailed address/mask will be routed.

EDIT: I told you to use the -n option with the route command because that is how I do usually do it. If you give the command w/o any options, things might be clearer to you, but the command might take a long time since it will try to do reverse DNS lookups.

Last edited by blackhole54; 02-19-2007 at 10:34 PM.
 
Old 02-21-2007, 02:54 AM   #12
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
I am very sorry.
I tried to read that book these days, but I didn't find my error.
I am afraid it's some difficulties for me to read that books,since my english is not good and my understanding about slackware is little.
I think my choice is wrong this time.
Maybe I should continue my study on FC.
But thanks all of you ,anyway.
And I will still keep watching at slackware and I will turn back to slackware one day.

Regards,
snowball

Last edited by snowball0916; 02-21-2007 at 02:56 AM.
 
Old 02-21-2007, 02:39 PM   #13
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by snowball0916
I am very sorry.
I tried to read that book these days, but I didn't find my error.
I am afraid it's some difficulties for me to read that books,since my english is not good and my understanding about slackware is little.
The Slackbook has been translated into many languages ... hopefully you speak one of these better:

http://www.slackbook.org/translations.html

And, you're not supposed to be looking for your error ... look for how to set up your network properly.

I suppose you might not care anymore, but the best things come to those who don't give up ...

Last edited by H_TeXMeX_H; 02-21-2007 at 02:40 PM.
 
Old 02-21-2007, 07:30 PM   #14
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Original Poster
Rep: Reputation: 15
Thanks again,H_TeXMeX_H
I found none of the translation of my mother language.
I once heard a friend told me:"Learning Linux should learn well in a version,but don't try every version for beginners.When you learn well in the version or go though the version,you can try another or not,otherwise you will learn noting on linux."
I think it's correct.
I know little.I need more.
 
Old 02-21-2007, 07:37 PM   #15
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Ok, then ... I started out on FC4 ... it was relatively easy to learn, but it had problems, and they have only grown. FC6 for example is completely messed up (IMO).

Unfortunately, although I've tried many many many distros, the only one I can recommend is Slackware. I also liked Zenwalk (Slackware-based) to some extent.

Good luck ...
 
  


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
Problem accessing internet through motorola sb5100 surfboard backend of sorts Arch 1 07-01-2006 05:55 AM
problem accessing the internet jeffry Linux - Networking 1 05-11-2006 01:12 AM
Linux internet accessing problem nkutty LinuxQuestions.org Member Intro 1 08-06-2005 06:06 AM
PROBLEM WITH ACCESSING WEB PAGE FROM INTERNET EXPLORER ON A XP MACHINE TO SuSE 9.0 Adrian13 Linux - Networking 2 10-19-2004 11:17 PM
Accessing the internet ruitao Linux - General 2 03-05-2003 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:37 PM.

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