Networking Forums

Networking Forums > Computer Networking > Linux Networking > Slow browsing with cable modem

Reply
Thread Tools Display Modes

Slow browsing with cable modem

 
 
Stephen Zilliox
Guest
Posts: n/a

 
      04-21-2004, 03:51 AM


I have been unable to connect successfully to the internet while in the
linux operating system through my toshiba

PCX 2200
cable modem and Netgear FA311
ethernet card. Until 3 months ago I had 56k dialup and linux internet access
was no problem. I have a dual boot

machine
that I can boot into Windows XP or Mandrake Linux 10 community (although I
had the exact same problem with 9.2)
My ISP is Charter Cable through charter.net. With Windows XP I have no
trouble surfing the web, sending e-mail,

etc.
No help from charter--they do not support linux. I prefer to work with linux
but these broadband problems are

driving
me back to windows. I have used DHCP under the Mandrake connect wizards
which reports that I am connected. I can

ping
some sites successfully but others no. (examples below.) With the browzers
sometimes the sites will partially

load
very slowly and sometimes the browser will just enter the "waiting for..."
mode and never get anywhere. The

following
is the info from Windows XP which it uses to connect to Charter Cable:

IP Address=66.189.180.71
Subnet Mask=255.255.254.0
Physical Address=00-09-5b-60-64-79
Default Gateway=66.189.180.1
DHCP Server=192.168.4.27
DNS Servers=66.189.219.29 66.189.219.30 66.169.254,30 66.169.254.29

Many of these addresses are the same as those assigned by DHCP under Linux.
I have included the contents of

several
of the files I have noted while reading posts concerning internet problems.
I should mention that I have tried

disabling
the Shorewall firewall, but that was of no help. (I have since reenabled
it.) Can anyone help me? Suggestions?
Thanks.

ifcfg-eth0

DEVICE=eth0
BOOTPROTO=dhcp
IPADDR=66.189.180.71
NETMASK=255.255.254.0
NETWORK=66.189.180.0
BROADCAST=66.189.181.255
ONBOOT=yes
MII_NOT_SUPPORTED=no
NEEDHOSTNAME=yes

--------------------------------------------

network

NETWORKING=yes
GATEWAY=66.189.180.1very similar

------------------------------------------------

resolv.conf

nameserver 66.189.219.29
nameserver 66.189.219.30
nameserver 66.169.254.30
nameserver 66.169.254.29
search 189.180.1

---------------------------------------------------

hosts

127.0.0.1 localhost
66.189.180.71 66.189.180.1 66
68.113.7.247 66.189.180.1 66

-----------------------------------------------------

root@66 etc]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:09:5B:60:64:79
inet addr:68.113.7.247 Bcavery similarst:255.255.255.255 Mask:255.255.254.0
inet6 addr: fe80::209:5bff:fe60:6479/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12156 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:735059 (717.8 Kb) TX bytes:13523 (13.2 Kb)
Interrupt:11 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:490 errors:0 dropped:0 overruns:0 frame:0
TX packets:490 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:31808 (31.0 Kb) TX bytes:31808 (31.0 K

----------------------------------------------------------------------------
-

Here is some more information concerning my problem. I've included in this
message the ping attempts I made from

linux below. Don't know if these are helpful. I did some further
investigating while in linux and came up with

some confusing behavior. In Mandrake Linux when you open any browser the
default page includes shortcuts to many

Mandrake sites. In Mozilla when I attempt to access any of these (such as
mandrakelinux.com) I get the "waiting

for mandrakelinux.com" message in the lower left hand of the browser window.
With Mozilla this is what happens

when I attempt to go to any site. With Konqueror or Epiphany browsers this
is also sometimes the case but not

always. For instance, when I click the shortcut to mandrakelinux.com in
either of these two browsers I will go to

the web site. In this case the alphanumerics will load up rather quickly but
the graphics will take an

inordinately long time. None of the three browsers will go to
google.com----they will all sit spinning their

wheels at "waiting for google.com". To me this behavior is bizarre---what is
the difference between Mozilla and

the other two browsers? The answer to this question would probably give
important clues as to what is going on

here. What do you think? The one thing I notice thats different between the
network connection details of

windows xp and linux is windows includes two items referring to "leasing":
Lease Obtained and Lease Expires,

after these two items are listed dates. I can not find these details listed
anywhere in Mandrake Linux or its

documentation. Is XP doing some kind of handshaking with my ISP that linux
does not and could this account for

my problems?

root@66 etc]# ping -c 1 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.091 ms

--- 127.0.0.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.091/0.091/0.091/0.000 ms
[root@66 etc]# ping -c 1 localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.087 ms

--- localhost ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.087/0.087/0.087/0.000 ms
[root@66 etc]# hostname -f
66.189.180.1
[root@66 etc]# ping -c 1 216.239.57.99
PING 216.239.57.99 (216.239.57.99) 56(84) bytes of data.
64 bytes from 216.239.57.99: icmp_seq=1 ttl=241 time=43.8 ms

--- 216.239.57.99 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 43.820/43.820/43.820/0.000 ms
[root@66 etc]# ping -c 1 google.com
PING google.com (216.239.39.99) 56(84) bytes of data.
64 bytes from 216.239.39.99: icmp_seq=1 ttl=239 time=80.3 ms

--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 80.322/80.322/80.322/0.000 ms
[root@66 etc]# ping -c 1 excite.com
PING excite.com (208.45.133.23) 56(84) bytes of data.

--- excite.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms


 
Reply With Quote
 
 
 
 
Joachim =?iso-8859-1?b?TcOmbGFuZCI=?=
Guest
Posts: n/a

 
      04-21-2004, 04:25 AM
On Tue, 20 Apr 2004 20:51:30 -0700, Stephen Zilliox wrote:

> I have been unable to connect successfully to the internet while in the
> linux operating system through my toshiba

[..]
> ifcfg-eth0
>
> DEVICE=eth0
> BOOTPROTO=dhcp
> IPADDR=66.189.180.71
> NETMASK=255.255.254.0
> NETWORK=66.189.180.0
> BROADCAST=66.189.181.255
> ONBOOT=yes
> MII_NOT_SUPPORTED=no
> NEEDHOSTNAME=yes


Please change this into:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

> hosts
>
> 127.0.0.1 localhost
> 66.189.180.71 66.189.180.1 66
> 68.113.7.247 66.189.180.1 66


Please change this into:

127.0.0.1 localhost

Make a /etc/init.d/network restart

If your problems persist, with or without Shorewall running, the
output of:
ifconfig
cat /etc/resolv.conf
route -n
is very relevant...

BTW: Thanks for providing that much information in your first posting.

--
mvh/regards
Joachim Mæland

If everything seems under control, you're just not going fast enough.
-Mario Andretti

 
Reply With Quote
 
Stephen Zilliox
Guest
Posts: n/a

 
      04-22-2004, 07:01 PM
I did as you suggested. There was no effect. Things are just as described
before. Here are the relevant outputs: further suggestions?


[root@stevescomputer sysconfig]# ifconfig

eth0 Link encap:Ethernet HWaddr 00:09:5B:60:64:79

inet addr:68.113.7.247 Bcast:255.255.255.255 Mask:255.255.254.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:15412 errors:285 dropped:0 overruns:0 frame:569

TX packets:304 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:952108 (929.7 Kb) TX bytes:42183 (41.1 Kb)

Interrupt:11 Base address:0xc000




lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:250 errors:0 dropped:0 overruns:0 frame:0

TX packets:250 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:16268 (15.8 Kb) TX bytes:16268 (15.8 Kb)




[root@stevescomputer sysconfig]# cat /etc/resolv.conf

nameserver 66.189.219.29

nameserver 66.189.219.30

nameserver 66.169.254.30

nameserver 66.169.254.29




[root@stevescomputer sysconfig]# route -n

Kernel IP routing table

Destination Gateway Genmask Flags Metric
Ref Use Iface

68.113.6.0 0.0.0.0 255.255.254.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 68.113.6.1 0.0.0.0 UG 0
0 0 eth0





"Joachim Mæland" <jm-(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> On Tue, 20 Apr 2004 20:51:30 -0700, Stephen Zilliox wrote:
>
> > I have been unable to connect successfully to the internet while in the
> > linux operating system through my toshiba

> [..]
> > ifcfg-eth0
> >
> > DEVICE=eth0
> > BOOTPROTO=dhcp
> > IPADDR=66.189.180.71
> > NETMASK=255.255.254.0
> > NETWORK=66.189.180.0
> > BROADCAST=66.189.181.255
> > ONBOOT=yes
> > MII_NOT_SUPPORTED=no
> > NEEDHOSTNAME=yes

>
> Please change this into:
> DEVICE=eth0
> BOOTPROTO=dhcp
> ONBOOT=yes
>
> > hosts
> >
> > 127.0.0.1 localhost
> > 66.189.180.71 66.189.180.1 66
> > 68.113.7.247 66.189.180.1 66

>
> Please change this into:
>
> 127.0.0.1 localhost
>
> Make a /etc/init.d/network restart
>
> If your problems persist, with or without Shorewall running, the
> output of:
> ifconfig
> cat /etc/resolv.conf
> route -n
> is very relevant...
>
> BTW: Thanks for providing that much information in your first posting.
>
> --
> mvh/regards
> Joachim Mæland
>
> If everything seems under control, you're just not going fast enough.
> -Mario Andretti
>



 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      04-23-2004, 03:46 PM
Stephen Zilliox <(E-Mail Removed)> wrote:

> [root@stevescomputer sysconfig]# ifconfig
> eth0 Link encap:Ethernet HWaddr 00:09:5B:60:64:79
> inet addr:68.113.7.247 Bcast:255.255.255.255 Mask:255.255.254.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:15412 errors:285 dropped:0 overruns:0 frame:569
> TX packets:304 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:952108 (929.7 Kb) TX bytes:42183 (41.1 Kb)
> Interrupt:11 Base address:0xc000


This shows your Internet IP address to be 68.113.7.247.

....

> [root@stevescomputer sysconfig]# route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric
> Ref Use Iface
> 68.113.6.0 0.0.0.0 255.255.254.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 68.113.6.1 0.0.0.0 UG 0
> 0 0 eth0


This shows the default route is through eth0 using the gateway IP address
68.113.6.1 .

All that looks as I would expect, and should be correct.

OTOH, the hosts and resolv.conf files from the first post looked very
strange to me. The resolv.conf file showed "search 189.180.1" instead
of a domain name. The hosts file showed IP addresses used as hostnames
and the first quad of an IP address used as aliases in hosts:

hosts

127.0.0.1 localhost
66.189.180.71 66.189.180.1 66
68.113.7.247 66.189.180.1 66

Even if it's valid to do these things, I have only a vague idea as to
what you are trying to accomplish. My thought is that the search option
should be changed to domain name (or deleted) and the last two lines in
host should be deleted, period.

Finally, the output of Microsoft's "route PRINT" (?) command in that
first post showed

Default Gateway=66.189.180.1

which is an IP address that is not related to the default gateway in
the output of the *nix route command, but rather is an IP address for
some interface on the Wintendo host.

So if the peculiar hosts arrangement is an attempt to somehow link the
Windows default route to the IP addresses obtained by DHCP (66.189.180.71
was the *nix host address in the first post) then it's a futile effort.

Oh, and regarding pinging excite.com. It doesn't return echo-replies
for me either; it's very likely blocking ICMP messages, or at least
blocking either incoming ping echo-requests or out-going echo-replies.

This is probably all I can say with any conviction since I've never
used DHCP.

Addendum
--------
Your post today verifies that the default route above is indeed correct:

option routers 68.113.6.1;

Expect a follow-up to today's post with additional comments.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      04-23-2004, 06:30 PM
Stephen Zilliox <(E-Mail Removed)> wrote:
> Below is the output of : cat /var/lib/dhcp/dhclient-eth0.leases. Of
> interest to me is the "fixed address 68.113.7.247"---this address appears
> nowhere in my windows XP network parameters listing, but has shown up in
> linux in the "network" file as "GATEWAY=68.113.7.247". When this line


Again, it's your Internet IP address, not a gateway in the *nix sense.
You should configure the DHCP "router address" as the gateway IP address,
if any manual configuration is required. That's one of the things DHCP
provides. I don't know what ''the "network" file'' means but suspect
it is distribution related.

> existed my linux browsers would not access other sites at all, just going
> into the perpetual "waiting for" mode. When I changed the address to


Little wonder..

> 66.189.180.1---the default gateway listed under windows XP---then I could
> access some websites as described before with Konqueror and Epiphany
> although very slowly. Mozilla, however, remained in the "waiting for" mode.


Now this I can't explain definitively. It is assigned to "MDFRD-OR"
according to the whois web server http://www.arin.net/whois/index.html.

> The routers address is one I haven't seen before. All the other


Nonsense. It was the default route shown with "route -n" in your
second post.

> addresses in the file below are present in windows XP also. Very


The first 2 DNS nameserver addresses are valid. The others are assigned
to "MDFRD-OR" (Medford, Oregon ? isn't Oregon near Washington? :>) but do
not have FQDNs.

host 66.189.219.29
29.219.189.66.IN-ADDR.ARPA domain name pointer ns1.wa.charter.com
host 66.189.219.30
30.219.189.66.IN-ADDR.ARPA domain name pointer ns2.ca.charter.com

Doesn't "wa" mean Washington?

> bizarre. Does this file give any further clues as to what might


Wintendo is bizarre.

> be going on? I have a feeling that the "fixed address" value
> has something to do with my problem as well as the difference
> between Mozilla and the other two browsers.


The "fixed address" certainly does. I don't know why using different
browsers should make a difference.

....

> root@stevescomputer network-scripts]# cat /var/lib/dhcp/dhclient-eth0.leases


> lease {
> interface "eth0";
> fixed-address 68.113.7.247;
> option subnet-mask 255.255.254.0;
> option time-offset -21600;
> option dhcp-lease-time 172800;
> option routers 68.113.6.1;
> option dhcp-message-type 5;
> option dhcp-server-identifier 192.168.4.27;
> option domain-name-servers
> 66.189.219.29,66.189.219.30,66.169.254.30,66.169.2 5 4.29;



> option broadcast-address 255.255.255.255;
> renew 5 2004/4/23 22:07:13;
> rebind 6 2004/4/24 21:47:17;
> expire 0 2004/4/25 03:47:17;
> }


> lease {
> interface "eth0";
> fixed-address 68.113.7.247;
> option subnet-mask 255.255.254.0;
> option time-offset -21600;
> option routers 68.113.6.1;
> option dhcp-lease-time 172342;
> option dhcp-message-type 5;
> option domain-name-servers
> 66.189.219.29,66.189.219.30,66.169.254.30,66.169.2 5 4.29;
> option dhcp-server-identifier 192.168.4.27;
> option broadcast-address 255.255.255.255;
> renew 6 2004/4/24 05:23:46;
> rebind 0 2004/4/25 04:48:16;
> expire 0 2004/4/25 10:47:19;
> }


--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* "Be liberal in what you accept, and conservative in what you send"
RFC 1122 */
 
Reply With Quote
 
Stephen Zilliox
Guest
Posts: n/a

 
      04-23-2004, 06:32 PM
Below is the output of : cat /var/lib/dhcp/dhclient-eth0.leases. Of
interest to me is the "fixed address 68.113.7.247"---this address appears
nowhere in my windows XP network parameters listing, but has shown up in
linux in the "network" file as "GATEWAY=68.113.7.247". When this line
existed my linux browsers would not access other sites at all, just going
into the perpetual "waiting for" mode. When I changed the address to
66.189.180.1---the default gateway listed under windows XP---then I could
access some websites as described before with Konqueror and Epiphany
although very slowly. Mozilla, however, remained in the "waiting for" mode.
The routers address is one I haven't seen before. All the other addresses in
the file below are present in windows XP also. Very bizarre. Does this file
give any further clues as to what might be going on? I have a feeling that
the "fixed address" value has something to do with my problem as well as the
difference between Mozilla and the other two browsers. Thanks alot for
your assistance. Do you have any further suggestions?



root@stevescomputer network-scripts]# cat /var/lib/dhcp/dhclient-eth0.leases

lease {

interface "eth0";

fixed-address 68.113.7.247;

option subnet-mask 255.255.254.0;

option time-offset -21600;

option dhcp-lease-time 172800;

option routers 68.113.6.1;

option dhcp-message-type 5;

option dhcp-server-identifier 192.168.4.27;

option domain-name-servers
66.189.219.29,66.189.219.30,66.169.254.30,66.169.2 5 4.29;

option broadcast-address 255.255.255.255;

renew 5 2004/4/23 22:07:13;

rebind 6 2004/4/24 21:47:17;

expire 0 2004/4/25 03:47:17;

}

lease {

interface "eth0";

fixed-address 68.113.7.247;

option subnet-mask 255.255.254.0;

option time-offset -21600;

option routers 68.113.6.1;

option dhcp-lease-time 172342;

option dhcp-message-type 5;

option domain-name-servers
66.189.219.29,66.189.219.30,66.169.254.30,66.169.2 5 4.29;

option dhcp-server-identifier 192.168.4.27;

option broadcast-address 255.255.255.255;

renew 6 2004/4/24 05:23:46;

rebind 0 2004/4/25 04:48:16;

expire 0 2004/4/25 10:47:19;

}


"Stephen Zilliox" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I did as you suggested. There was no effect. Things are just as

described
> before. Here are the relevant outputs: further suggestions?
>
>
> [root@stevescomputer sysconfig]# ifconfig
>
> eth0 Link encap:Ethernet HWaddr 00:09:5B:60:64:79
>
> inet addr:68.113.7.247 Bcast:255.255.255.255 Mask:255.255.254.0
>
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> RX packets:15412 errors:285 dropped:0 overruns:0 frame:569
>
> TX packets:304 errors:0 dropped:0 overruns:0 carrier:0
>
> collisions:0 txqueuelen:1000
>
> RX bytes:952108 (929.7 Kb) TX bytes:42183 (41.1 Kb)
>
> Interrupt:11 Base address:0xc000
>
>
>
>
> lo Link encap:Local Loopback
>
> inet addr:127.0.0.1 Mask:255.0.0.0
>
> UP LOOPBACK RUNNING MTU:16436 Metric:1
>
> RX packets:250 errors:0 dropped:0 overruns:0 frame:0
>
> TX packets:250 errors:0 dropped:0 overruns:0 carrier:0
>
> collisions:0 txqueuelen:0
>
> RX bytes:16268 (15.8 Kb) TX bytes:16268 (15.8 Kb)
>
>
>
>
> [root@stevescomputer sysconfig]# cat /etc/resolv.conf
>
> nameserver 66.189.219.29
>
> nameserver 66.189.219.30
>
> nameserver 66.169.254.30
>
> nameserver 66.169.254.29
>
>
>
>
> [root@stevescomputer sysconfig]# route -n
>
> Kernel IP routing table
>
> Destination Gateway Genmask Flags Metric
> Ref Use Iface
>
> 68.113.6.0 0.0.0.0 255.255.254.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 68.113.6.1 0.0.0.0 UG 0
> 0 0 eth0
>
>
>
>
>
> "Joachim Mæland" <jm-(E-Mail Removed)> wrote in message
> news(E-Mail Removed)...
> > On Tue, 20 Apr 2004 20:51:30 -0700, Stephen Zilliox wrote:
> >
> > > I have been unable to connect successfully to the internet while in

the
> > > linux operating system through my toshiba

> > [..]
> > > ifcfg-eth0
> > >
> > > DEVICE=eth0
> > > BOOTPROTO=dhcp
> > > IPADDR=66.189.180.71
> > > NETMASK=255.255.254.0
> > > NETWORK=66.189.180.0
> > > BROADCAST=66.189.181.255
> > > ONBOOT=yes
> > > MII_NOT_SUPPORTED=no
> > > NEEDHOSTNAME=yes

> >
> > Please change this into:
> > DEVICE=eth0
> > BOOTPROTO=dhcp
> > ONBOOT=yes
> >
> > > hosts
> > >
> > > 127.0.0.1 localhost
> > > 66.189.180.71 66.189.180.1 66
> > > 68.113.7.247 66.189.180.1 66

> >
> > Please change this into:
> >
> > 127.0.0.1 localhost
> >
> > Make a /etc/init.d/network restart
> >
> > If your problems persist, with or without Shorewall running, the
> > output of:
> > ifconfig
> > cat /etc/resolv.conf
> > route -n
> > is very relevant...
> >
> > BTW: Thanks for providing that much information in your first posting.
> >
> > --
> > mvh/regards
> > Joachim Mæland
> >
> > If everything seems under control, you're just not going fast enough.
> > -Mario Andretti
> >

>
>



 
Reply With Quote
 
Joachim =?iso-8859-1?b?TcOmbGFuZCI=?=
Guest
Posts: n/a

 
      04-23-2004, 07:05 PM
On Fri, 23 Apr 2004 11:32:40 -0700, Stephen Zilliox wrote:

> Below is the output of : cat /var/lib/dhcp/dhclient-eth0.leases. Of
> interest to me is the "fixed address 68.113.7.247"---this address
> appears nowhere in my windows XP network parameters listing, but has
> shown up in linux in the "network" file as "GATEWAY=68.113.7.247". When
> this line existed my linux browsers would not access other sites at all,
> just going into the perpetual "waiting for" mode. When I changed the
> address to 66.189.180.1---the default gateway listed under windows
> XP---then I could access some websites as described before with
> Konqueror and Epiphany although very slowly. Mozilla, however, remained
> in the "waiting for" mode. The routers address is one I haven't seen
> before. All the other addresses in the file below are present in windows
> XP also. Very bizarre. Does this file give any further clues as to what
> might be going on? I have a feeling that the "fixed address" value has
> something to do with my problem as well as the difference between
> Mozilla and the other two browsers. Thanks alot for your assistance.
> Do you have any further suggestions?


Let's go serious... :-)

Please get rid of all old leases, just in case:

mv /var/lib/dhcp/dhclient-eth0.leases
/var/lib/dhcp/dhclient-eth0.leases.old (No line break)

Fix all settings:

#ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

#hosts
127.0.0.1 localhost

Get a fresh start:

/etc/init.d/network restart

Remove any blocking firewall rules:

/etc/init.d/iptables stop

Check the output of, (and please post if appropriate):

cat /etc/resolv.conf
ifconfig
route -n

What's the output from the following tests?

dig all google.com
<bonus test>
dig @<each IP-address from resolv.conf> coogle.com
</bonus test>
ping -c 3 google.com
traceroute -n google.com
ping -c 3 216.239.57.99
traceroute -n 216.239.57.99

If you can ping google.com, please get yourself a real browser...:

urpmi lynx (IMHO: _The_ browser for testing)

then, as normal user, (not root):

lynx -accept_all_cookies http://www.google.com/

Did it work, how about Mozilla?

As a last resort, find the thread starting with Message ID:
"(E-Mail Removed) om" at:
http://www.google.com/advanced_group_search?hl=en and test the dhclient
tweak, described in Message ID:
"(E-Mail Removed)"

--
mvh/regards
Joachim Mæland

If everything seems under control, you're just not going fast enough.
-Mario Andretti

 
Reply With Quote
 
P Gentry
Guest
Posts: n/a

 
      04-23-2004, 10:13 PM
"Stephen Zilliox" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Below is the output of : cat /var/lib/dhcp/dhclient-eth0.leases. Of
> interest to me is the "fixed address 68.113.7.247"---this address appears


This _is_ your assigned IP address when in Linux -- normal. See
below.

> nowhere in my windows XP network parameters listing, but has shown up in
> linux in the "network" file as "GATEWAY=68.113.7.247". When this line


Your IP address cannot be the GW router used to connect to other net
segments -- this would indicate _serious_ config problems.

> existed my linux browsers would not access other sites at all, just going
> into the perpetual "waiting for" mode. When I changed the address to
> 66.189.180.1---the default gateway listed under windows XP---then I could


Sheer luck(?) that the GW still had arp entries for your MAC from your
Windows use. The slowness was re-adjusting to the new IP of your
Linux box. When Win is used again, the poor GW is really going to be
confused.

> access some websites as described before with Konqueror and Epiphany
> although very slowly. Mozilla, however, remained in the "waiting for" mode.
> The routers address is one I haven't seen before. All the other addresses in
> the file below are present in windows XP also. Very bizarre. Does this file


According to earlier posts your Win IP is placed on an entirely
different sub-net from your Linux IP -- IP Address=66.189.180.71 for
Win and 68.113.7.247 for Linux. Compare your ifconfig output to your
ifcfg-eth0 file listing in your first post. Big problem here! Or
just a typo, which would be OK and understandable if you're not
cut-n-pasting.

> give any further clues as to what might be going on? I have a feeling that
> the "fixed address" value has something to do with my problem as well as the
> difference between Mozilla and the other two browsers. Thanks alot for
> your assistance. Do you have any further suggestions?
>
> root@stevescomputer network-scripts]# cat /var/lib/dhcp/dhclient-eth0.leases
>
> lease {
> interface "eth0";
> fixed-address 68.113.7.247;

Which is it -- 66.189.180.71 or 68.113.7.247 at ifconfig?

> option subnet-mask 255.255.254.0;
> option time-offset -21600;
> option dhcp-lease-time 172800;
> option routers 68.113.6.1;
> option dhcp-message-type 5;
> option dhcp-server-identifier 192.168.4.27;
> option domain-name-servers
> 66.189.219.29,66.189.219.30,66.169.254.30,66.169.2 5 4.29;
> option broadcast-address 255.255.255.255;
> renew 5 2004/4/23 22:07:13;
> rebind 6 2004/4/24 21:47:17;
> expire 0 2004/4/25 03:47:17;
> }

This is the previous accepted lease -- used as a backup if lease
request fails.

>
> lease {
> interface "eth0";
> fixed-address 68.113.7.247;

See, 68.113.7.247 _is_ the IP for your Linux interface. This is quite
common on dual boot machines because Win and Linux use different
client-ids when requesting a lease. J.M. is newly familiar with Win
vs. Linux client-ids re: Verizon ;-)

> option subnet-mask 255.255.254.0;
> option time-offset -21600;
> option routers 68.113.6.1;

This is your GW when using Linux. Should be able to ping this almost
as fast as localhost. It _must_ be on the same subnet as you.

> option dhcp-lease-time 172342;
> option dhcp-message-type 5;
> option domain-name-servers
> 66.189.219.29,66.189.219.30,66.169.254.30,66.169.2 5 4.29;

These are your DNS servers where all name lookups will be sent. They
should also appear in resolv.conf. Note they are _not_ on your
subnet, so you must be routed to them via GW. These may or may not be
the same used when in Win.

> option dhcp-server-identifier 192.168.4.27;

This is the DHCP server where you acquired this lease. Renewals will
be sent directly here rather that via broadcast requests.

> option broadcast-address 255.255.255.255;
> renew 6 2004/4/24 05:23:46;
> rebind 0 2004/4/25 04:48:16;
> expire 0 2004/4/25 10:47:19;
> }

[snip]

First, browsers are _useless_ (almost) for diagnosing network
configuration problems. Observed behavior could stem from hundreds of
_browser_ differences irrespective of network problems. And no two
cache the same info.

Second, ping is not much better unless you know how to interpret the
results. As the Linuxforum guy said, Excite, eg., doesn't allow that
kind of traffic. Ping 127.0.0.1, then localhost, then your GW, then
your name servers to establish a _basic_ working network
configuration. Problems here must be corrected before anything else
will work properly or consistently.

When ping has you wondering, pull out your traceroute guns to follow
the actual path your packets are taking. Eg., traceroute to excite
would reveal where your ping packets are being dropped -- nothing you
can do about that and not your problem. The "failed" ping shows
nothing.

Third, _never_ change your network settings that were set via DHCP to
solve a problem. It's very tricky and ill-advised to do this to
investigate a problem -- you run the very real risk of "poisoning"
network data concerning your configuration that can be a real pain to
clear up. Remember, network traffic and data is two way -- routers
and servers are learning about you as you use the network. Eg., don't
change your GW by hand, nor your IP or masks or routing tables nor
your DNS name servers -- unless you know what you're doing and can
clean up afterwards.

Now, to your very real problems...

I'm not familiar with Charter and you may have to locate someone who
is to get good, consistent service from both Win and Linux. Right
now, the DHCP servers and routers and perhaps other servers see two
IPs bound to one MAC -- Charter's network may not like that. Routers
certainly don't -- it plays games with the arp cache.

One possibility is to change the MAC address in one OS -- Win is a
good candidate and in Linux it's almost too easy. That way, you'll
get one MAC-IP pair for Win and another with Linux. This may not work
because a) it will look like you're running two computers and you're
certainly using two IPs (which your account may not allow) and b) the
cable modem may not like handling two MACs.

Re: the last point, I'm not familiar with Toshibas and my web source
for such info is in the process of moving. Be sure you monitor the CM
configuration during this process to see how it behaves from Win and
Linux if you try this.

You can also set up your Linux sessions to request DHCP config info in
the same way that your Win sessions do if you use dhclient in Linux.
The config file can be set up to send the same client-id as Windows.
Thus you will always appear to the network to be using one computer
_and_ you'll actually only require one IP address. Try this for some
background:
http://homepage.ntlworld.com/robin.d...tips/dhcp.html
I would have to look around to get the details -- J.M. may have them
handy.

After your networking configuration is "correct", then you can tackle
issues regarding browsers and email performance. Don't try to "fix"
it all at once -- you'll never know what changes are working and which
are not or making things worse.

My "gut" tells me that you'll probably need to make your Linux
sessions/DHCP requests look the same as your Win sessions. Just a
guess at this point, so don't take it to heart without investigating
further.

Hang in there -- you're doing good so far. Most would have given up
long ago.

hth,
prg
email above disabled
 
Reply With Quote
 
ACT
Guest
Posts: n/a

 
      04-24-2004, 11:53 AM
I had a similar problem with my internet connection where *some* websites
wouldn't load and those same sites wouldn't respond to pings.

I fixed this problem after many attempts by changing the MTU (Maximum
Transmission Unit). The default value in linux for a lan connection is
1500. When you do 'ifconfig eth0' it shows your MTU (yours is 1500). I
changed mine down to 1492 and instantly I was able to load all the websites
that were previously not working.

To change the MTU for device eth0 do the following command:

ifconfig eth0 mtu 1492

When you run this command the effect will be instant and you won't need a
reboot. If 1492 doesn't work then try lowering it to say, 1450.

It may a be a stab in the dark but it's worth a try...

AC


 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      04-24-2004, 01:09 PM
P Gentry <(E-Mail Removed)> wrote:
> "Stephen Zilliox" <(E-Mail Removed)> wrote in message
> news:<(E-Mail Removed)>...


>> lease {
>> interface "eth0";
>> fixed-address 68.113.7.247;

> See, 68.113.7.247 _is_ the IP for your Linux interface. This is quite
> common on dual boot machines because Win and Linux use different
> client-ids when requesting a lease. J.M. is newly familiar with Win
> vs. Linux client-ids re: Verizon ;-)


>> option subnet-mask 255.255.254.0;
>> option time-offset -21600;
>> option routers 68.113.6.1;

> This is your GW when using Linux. Should be able to ping this almost
> as fast as localhost. It _must_ be on the same subnet as you.


It seems to me that his IP address, 68.113.7.247, is on the same CIDR
subnet, 68.113.6.0/31, as the router's IP address, 68.113.6.1 .

If I'm wrong then please don't hesitate correct me and explain why.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slow web browsing mhuiyang@yahoo.com Linux Networking 3 07-31-2006 02:40 AM
Slow Web Browsing carlos2180@gmail.com Network Routers 0 04-19-2006 05:43 PM
Slow browsing on ICS Trev Smith Home Networking 0 07-11-2005 07:29 PM
Slow browsing Sjenkins Windows Networking 0 01-22-2004 05:50 PM
Cable Modem slow Speeds Fred Mulharin Linux Networking 0 11-23-2003 01:11 AM



1 2 3 4 5 6 7 8 9 10 11