LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-21-2003, 01:20 PM   #1
terrelle_20743
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Rep: Reputation: 0
Unhappy Windows And Linux Sharing Broadband.


How are you guys doing?

Anyway I've been racking my brain for days trying to figure out whats wrong with my networking setup. I have comcast cable internet and a Dual boot setup of Windows 98 and Linux Redhat 9.2. In 98 the connection gets an average of 225 - 250k but in Linux i see w whooping 1.8k I just cannot figure out what it is, I know its some setting that wrong but what could it be? linux sees the internet but Its just slow as all hell. Network card works fine and it seem DHCP is working properly.


HELP!!!!!

Other than that linux runs great!
 
Old 09-21-2003, 03:11 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Does it go any faster if you use IP addresses rather than names? for example is this site faster using:
http://64.179.4.146/
rather than
http://www.linuxquestions.org/

Check to see what speed your card is running as:
mii-tool -v
ifconfig

Also try a ping from both linux and win98 to 64.179.4.146 and post the results.
 
Old 09-22-2003, 12:00 PM   #3
terrelle_20743
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Windows Ping Results
Pinging 64.179.4.146 with 32 bytes of data:

Reply from 64.179.4.146: bytes=32 time=31ms TTL=52
Reply from 64.179.4.146: bytes=32 time=32ms TTL=52
Reply from 64.179.4.146: bytes=32 time=31ms TTL=52
Reply from 64.179.4.146: bytes=32 time=31ms TTL=52
Reply from 64.179.4.146: bytes=32 time=29ms TTL=52
Reply from 64.179.4.146: bytes=32 time=27ms TTL=52
Reply from 64.179.4.146: bytes=32 time=57ms TTL=52
Reply from 64.179.4.146: bytes=32 time=27ms TTL=52
Reply from 64.179.4.146: bytes=32 time=29ms TTL=52
Reply from 64.179.4.146: bytes=32 time=29ms TTL=52
Reply from 64.179.4.146: bytes=32 time=50ms TTL=52
Reply from 64.179.4.146: bytes=32 time=34ms TTL=52
Reply from 64.179.4.146: bytes=32 time=29ms TTL=52
Reply from 64.179.4.146: bytes=32 time=34ms TTL=52

Ping statistics for 64.179.4.146:
Packets: Sent = 14, Received = 14, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 27ms, Maximum = 57ms, Average = 33ms

Redhat Ping Results:
Ping 64.179.4.146 (64.179.4.146) with 56(84) bytes of data.
64 bytes from 64.179.4.146: bytes=32 time=28.6 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=28.3 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=28.4 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=28.3 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=27.7 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=27.8 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=29.3 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=28.1 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=27.6 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=29.0 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=28.6 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=27.9 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=27.7 ms TTL=52
64 bytes from 64.179.4.146: bytes=32 time=28.0 ms TTL=52

--- 64.179.4.146 ping statistics ---
14 packets transmitted, 14 Received, 0% packet loss, time 13135ms
rtt min/avg/max/mdev = 27.661/28.282/29.332/0.511 ms

Ip addresses vs names didn't make a noticeable difference

mii-tool -v and ifconfig: these command didnt work
 
Old 09-22-2003, 12:45 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The last 2 commands should be run as root. As a normal user run:
su -

Enter your root password when prompted hen run the commands. I can't see anything odd so far - what browser are you using?
 
Old 09-22-2003, 01:07 PM   #5
terrelle_20743
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Well I'm running netscape, but I did use su before I tried the command. it just said command not found.
 
Old 09-22-2003, 01:32 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Did you use "su -"?

Try:
/sbin/ifconfig
/sbin/mii-tool -v
 
Old 09-22-2003, 02:56 PM   #7
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
I wasn't aware there was a 9.2 RedHat yet.. hehe

I just checked the page and didn't find it either /shrug

This sounds seriously like a modules problem.

Make sure that your nic card is using the correct module, or has the correct link speed.

Command is mii-tool
 
Old 09-22-2003, 03:21 PM   #8
terrelle_20743
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Original Poster
Rep: Reputation: 0
HAHAHA, yea i got kinda carried away with the version numbers anyhow here's the results

[root@pcp03460189pcs sbin]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:00:E8:56:XX:XX
inet addr:68.48.XXX.XXX Bcast:68.48.XXX.XXX
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27172 errors:0 dropped:0 overruns:0 frame:70
TX packets:965 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1887433 (1.7 Mb) TX bytes:117017 (114.2 Kb)
Interrupt:11 Base address:0xe000

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:8433 errors:0 dropped:0 overruns:0 frame:0
TX packets:8433 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:472187 (461.1 Kb) TX bytes:472187 (461.1 Kb)


[root@pcp03460189pcs sbin]# mii-tool -v
SIOCGMIIPHY on 'eth0' failed: Operation not supported
no MII interfaces found

*Sigh*
 
Old 09-22-2003, 03:27 PM   #9
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
check the file /etc/modules.conf

and validate that vs your manufacturers modules for your card.

More than likely its just the wrong module, but it 'works'
 
Old 09-22-2003, 03:59 PM   #10
terrelle_20743
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Original Poster
Rep: Reputation: 0
How do I do that?
This wouldn't have anything to do wit it would it...

[root@pcp03460189pcs Desktop]# mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not supported
no MII interfaces found


???????
 
Old 09-22-2003, 04:03 PM   #11
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
heh, no idea why mii doesn't work, could be attributed, I have a RH9 but Mine MII works.. no module support for the command more than likely

vi /etc/modules.conf

it'll say like
alias eth0 modulename.o
^^ your ethernet device

Tell us your NIC and module your using.
 
Old 09-22-2003, 04:58 PM   #12
terrelle_20743
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Original Poster
Rep: Reputation: 0
alias eth0 ne2k-pci

realtek nic card
driver ne2k-pci
device /dev/eth

Last edited by terrelle_20743; 09-22-2003 at 05:05 PM.
 
Old 09-22-2003, 07:05 PM   #13
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
it may be a good idea to reduce the MTU of your eth0 card if you are using a router to connect to the net.
try this as ROOT : ifconfig eth0 mtu 1492
this can't hurt.
 
Old 09-29-2003, 10:37 AM   #14
terrelle_20743
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Didn't help.... *Sigh* Could is actually be the network card cause mii-tool cannot recognize it?
 
Old 09-29-2003, 09:58 PM   #15
terrelle_20743
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for all the help but, I went to Best Buy and bought a new Router and 10/100 MBS network card, took out the old 10mbs Realtek put the new D-link card in and ta-da Blazing speed in Linux. I had a feeling it was the network card. Took a hunch and won. Thanks Fellas.

Last edited by terrelle_20743; 09-29-2003 at 10:24 PM.
 
  


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
Help sharing broadband connection between a Linux PC & a Win-Xp PC? ejames_nyc Linux - Newbie 8 10-01-2005 12:04 AM
setting up broadband for linux + windows jimjamjahaa Linux - Newbie 4 05-15-2005 02:39 PM
sharing broadband kola Linux - Networking 5 09-11-2004 08:24 PM
Broadband sharing satimis Linux - Hardware 11 03-05-2004 06:01 PM
Broadband sharing question satimis Linux - Networking 2 09-09-2003 12:00 AM

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

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