LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   connection redhat 8.0 (https://www.linuxquestions.org/questions/linux-networking-3/connection-redhat-8-0-a-36860/)

thales 11-29-2002 11:16 PM

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

trickykid 11-29-2002 11:45 PM

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 ??

KevinJ 11-29-2002 11:46 PM

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.

thales 11-30-2002 11:24 AM

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?

KevinJ 12-01-2002 10:42 AM

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.

thales 12-01-2002 06:13 PM

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?

KevinJ 12-01-2002 06:21 PM

service iptables stop
^^^^^^^^^^^^^ ----- Please read carefully

-K.

bbenz3 12-01-2002 11:16 PM

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.

thales 12-02-2002 03:22 AM

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?

peter_robb 12-02-2002 05:49 AM

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.

balam 12-02-2002 05:35 PM

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

thales 12-05-2002 02:53 PM

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



All times are GMT -5. The time now is 12:34 PM.