LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-29-2002, 11:16 PM   #1
thales
LQ Newbie
 
Registered: Jun 2002
Distribution: Kubuntu 14.04 LTS
Posts: 15

Rep: Reputation: 1
connection redhat 8.0


since i didn't find a solution for internet connection with mdk 9.0 i removed it and installed rh 8.0.
i almost have the same problem, but this time i can ping the outside world. after beeing connected, i can ping my ISP and other IP's but i cannot browse the internet, i receive no web pages.
my etc/resolv.conf contains dns of my ISp.
here's the route -n command results :

[root@localhost root]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xxx.xx.66.248 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 xxx.xx.66.248 0.0.0.0 UG 0 0 0 ppp0
[root@localhost root]# ping www.yahoo.com
PING www.yahoo.akadns.net (64.58.76.228) from xxx.xx.4.231 : 56(84) bytes of data.
64 bytes from w7.dcx.yahoo.com (64.58.76.228): icmp_seq=1 ttl=242 time=450 ms
64 bytes from w7.dcx.yahoo.com (64.58.76.228): icmp_seq=2 ttl=242 time=433 ms
64 bytes from w7.dcx.yahoo.com (64.58.76.228): icmp_seq=3 ttl=242 time=374 ms
64 bytes from w7.dcx.yahoo.com (64.58.76.228): icmp_seq=4 ttl=242 time=398 ms
64 bytes from w7.dcx.yahoo.com (64.58.76.228): icmp_seq=5 ttl=242 time=381 ms
64 bytes from w7.dcx.yahoo.com (64.58.76.228): icmp_seq=6 ttl=242 time=404 ms
64 bytes from w7.dcx.yahoo.com (64.58.76.228): icmp_seq=7 ttl=242 time=386 ms

--- www.yahoo.akadns.net ping statistics ---
7 packets transmitted, 7 received, 0% loss, time 6011ms
rtt min/avg/max/mdev = 374.996/404.303/450.620/25.980 ms
[root@localhost root]#

is it normal to have 0.0.0.0 for the second ppp0 entry?
how can this be solved?
thanks for any reply
 
Old 11-29-2002, 11:45 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Well clearly by your pinging of yahoo with packets returned with 0% loss, you have an internet connection and your DNS should be working, or you would have gotten unknown host or something along those lines when pinging yahoo.
What browser are you trying to browse with ? And make sure you don't have any type of proxy server setup, etc ??
 
Old 11-29-2002, 11:46 PM   #3
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
If you can ping hostnames you have NO problems with routing or with DNS.

You can't get the browser to work when going to someplace that you can ping successfully? That sounds like a problem with the browser application or perhaps there is an HTTP proxy server on you network that you must go through.

If you can ping yahoo.com but can't load it in your browser, then you either have a firewall blocking your http traffic or you have a problem with your browser.

-K.
 
Old 11-30-2002, 11:24 AM   #4
thales
LQ Newbie
 
Registered: Jun 2002
Distribution: Kubuntu 14.04 LTS
Posts: 15

Original Poster
Rep: Reputation: 1
i tried with both galeon browser and mozilla, i have the same thing : no web pages loaded.
i don't use any proxy server in my browser, but i looked at the rh tool under system settings/security level and i found that i'm on high and all protocols (http, ftp, ...) are disabled, i tried to set to "no firewall" then a pop up appears with "no" checked, i click on yes and the program exits. when launched again, i'm back to high with everything disabled. is this program buggy?
how can i remove the firewall?
and under server settings /services, i disabled the iptables from running on boot at runlevels 3,4,5 but it still there. is this program buggy too?
 
Old 12-01-2002, 10:42 AM   #5
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
you can set it to not run at levels 3, 4, & 5.. .but you still have to turn it off in the present unless you reboot.

"service iptables stop"

-K.
 
Old 12-01-2002, 06:13 PM   #6
thales
LQ Newbie
 
Registered: Jun 2002
Distribution: Kubuntu 14.04 LTS
Posts: 15

Original Poster
Rep: Reputation: 1
i tried this command :
service iptables off
and
chkconfig --level 2345 iptables off to stop it at boot, but still no succes, ping is OK, i can connect with telnet but still no web pages to load.
is there something else i can try and post the results here?
 
Old 12-01-2002, 06:21 PM   #7
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
service iptables stop
^^^^^^^^^^^^^ ----- Please read carefully

-K.
 
Old 12-01-2002, 11:16 PM   #8
bbenz3
Member
 
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284

Rep: Reputation: 30
from the command line if you run setup you can manually check which devices you want to have running on startup. Unless it has changed RH still uses ipchains to manage their built-in firewall. You can verify this by trying the following command to completely remove ipchains:

rpm -e ipchains

this will remove it if it is there unless something else depends on it and then all the deps will be listed. You can then remove then in the same fashion and finally remove ipchains. I personally don't like ipchains and use iptables for my router/firewall option.
 
Old 12-02-2002, 03:22 AM   #9
thales
LQ Newbie
 
Registered: Jun 2002
Distribution: Kubuntu 14.04 LTS
Posts: 15

Original Poster
Rep: Reputation: 1
I'll try that, and i'm gonna try another dialup account from private ISP, i remmember to have the same problem with public ISP's when using MDK 8.2, and no problem with a private one. But if this method work, what conclusions can we get?
 
Old 12-02-2002, 05:49 AM   #10
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
I'd guess you can conclude your browser setup is incorrect...

So far, you can communicate with the outside world using TCP/IP, but not using the browser.
Try the command line browser lynx.
lynx
You will get a RH registration page, just hit enter to get it to go to the RHN Register page.
If this works, look carefully at your browser settings...
If not, do
service iptables stop
and try lynx again.

You won't have ipchains installed, so don't bother with that.
 
Old 12-02-2002, 05:35 PM   #11
balam
Member
 
Registered: Nov 2002
Location: us
Distribution: red hat
Posts: 143

Rep: Reputation: 15
I had that problem, the solution is:

get the dns of the isp. and on the nic configuration type the dns servers address, sience you ping the out side world , that means that packes are beeing send out and recieve. the issues looks to me is resolution. sience you are able to ping.

please let us know if this works for you
 
Old 12-05-2002, 02:53 PM   #12
thales
LQ Newbie
 
Registered: Jun 2002
Distribution: Kubuntu 14.04 LTS
Posts: 15

Original Poster
Rep: Reputation: 1
i tryed the text browser lynx and the first page only appeared and remains as is so i removed iptables rpm -e iptables
i made some modifications to
/etc/sysconfig/network-scripts/ifcfg-ppp0
/etc/ppp/options
/etc/sysconfig/network
and now i have web pages that loads in my browsers such as mozilla or konqueror but now only http works, other protocols don't : no mail pop3, no ftp, no IRC or ICQ.
and with the command ifconfig ppp0 i have too much errors , for 5262 received packets, 2271 errors?
[root@localhost t]# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:xxx.xx.4.209 P-t-P:xxx.xx.66.248 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:5262 errors:2271 dropped:0 overruns:0 frame:0
TX packets:4842 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1580060 (1.5 Mb) TX bytes:535782 (523.2 Kb)

here are the messages for other protocols than http :
Knode : connection broken

kmail : can't connect to server "my smtp"
can't send message, no response from server
any idea?
if this can help i can post my files
/etc/sysconfig/network-scripts/ifcfg-ppp0
/etc/ppp/options
/etc/sysconfig/network


Last edited by thales; 12-05-2002 at 02:55 PM.
 
  


Reply



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
internet connection RedHat 9 JayOne Linux - Newbie 3 11-14-2003 05:40 PM
How do I use a dialup connection with Redhat 9.1 robmcl Linux - Newbie 2 10-12-2003 06:20 AM
redhat 9 adsl connection IP vova Linux - Networking 1 09-25-2003 07:29 AM
Redhat ( connection sharing help Hecubus21 Linux - Networking 0 07-13-2003 06:31 PM
Redhat 8.0 Dsl connection Mimicafe Linux - Networking 4 02-20-2003 03:03 PM

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

All times are GMT -5. The time now is 06:41 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