LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Windows And Linux Sharing Broadband. (https://www.linuxquestions.org/questions/linux-networking-3/windows-and-linux-sharing-broadband-95207/)

terrelle_20743 09-21-2003 01:20 PM

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 :D 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!

david_ross 09-21-2003 03:11 PM

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.

terrelle_20743 09-22-2003 12:00 PM

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

david_ross 09-22-2003 12:45 PM

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?

terrelle_20743 09-22-2003 01:07 PM

Well I'm running netscape, but I did use su before I tried the command. it just said command not found.

david_ross 09-22-2003 01:32 PM

Did you use "su -"?

Try:
/sbin/ifconfig
/sbin/mii-tool -v

hakcenter 09-22-2003 02:56 PM

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

terrelle_20743 09-22-2003 03:21 PM

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*

hakcenter 09-22-2003 03:27 PM

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'

terrelle_20743 09-22-2003 03:59 PM

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


???????

hakcenter 09-22-2003 04:03 PM

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.

terrelle_20743 09-22-2003 04:58 PM

alias eth0 ne2k-pci

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

Half_Elf 09-22-2003 07:05 PM

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.

terrelle_20743 09-29-2003 10:37 AM

Didn't help.... *Sigh* Could is actually be the network card cause mii-tool cannot recognize it?

terrelle_20743 09-29-2003 09:58 PM

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.


All times are GMT -5. The time now is 03:28 AM.