Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linux and 10mb nics can it go faster?

Status
Not open for further replies.

fenris

Programmer
May 20, 1999
824
CA
I am running mandrake 6.1 and it was connected to a win98 box via a 10 base 2 (bnc) network. samba, telnet and ftp worked great. I got a 10/100 base T hub and a couple of D-link 530-tx nics. I installed these and they seemed to work fine. Windows had no problem detecting the card. I got the card working in linux using the via-rhine driver. Samba was no longer working. Ftp was unstable as well as telnet. I could ping to and each machine using ip's and names. Then what I did was to set the hub to 10, from 100. Then everything started to work. <br>
<br>
My question is, is there a way to tell linux how to use a 100 Mb network?<br>
fenris
 
What does the driver say when you boot up? Take a look at the ouput from 'dmesg'. Most of the NIC drivers I've seen report how fast they're running at boot time. If it's at 10Mb, then you may need to pass parameters to the driver to kick it into 100Mb mode.<br>
<br>
Something else to check is whether the hub is running at full or half duplex, and whether the card is the same.
 
Hmmm.....might also have to reconfigure samba....it might still be set to run on a 10Mbps network too :(<br>
(basically.....you'll have to check out every daemon necessary for running your network connections to see which one(s) need(s) reset to function properly on a 100Tx network. <p>-Robherc<br><a href=mailto:robherc@netzero.net>robherc@netzero.net</a><br><a href= > </a><br>*nix installation & program collector/reseller. Contact me if you think you've got one that I don't :)
 
here is the output of my dmesg command:<br>
<br>
Linux version 2.2.13-7mdk (<A HREF="mailto:root@kenobi.mandrakesoft.com">root@kenobi.mandrakesoft.com</A>) (gcc version 2.95.1 19990816 (release)) #1 Wed Sep 15 18:02:18 CEST 1999<br>
Detected 367499083 Hz processor.<br>
Console: colour VGA+ 80x25<br>
Calibrating delay loop... 366.18 BogoMIPS<br>
Memory: 30680k/32768k available (1044k kernel code, 416k reserved, 568k data, 60k init)<br>
VFS: Diskquotas version dquot_6.4.0 initialized<br>
CPU: Intel Celeron (Mendocino) stepping 05<br>
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.<br>
Checking 'hlt' instruction... OK.<br>
POSIX conformance testing by UNIFIX<br>
mtrr: v1.35a (19990819) Richard Gooch (<A HREF="mailto:rgooch@atnf.csiro.au">rgooch@atnf.csiro.au</A>)<br>
PCI: PCI BIOS revision 2.10 entry at 0xfdb81<br>
PCI: Using configuration type 1<br>
PCI: Probing PCI hardware<br>
Linux NET4.0 for Linux 2.2<br>
Based upon Swansea University Computer Society NET3.039<br>
NET4: Unix domain sockets 1.0 for Linux NET4.0.<br>
NET4: Linux TCP/IP 1.0 for NET4.0<br>
IP Protocols: ICMP, UDP, TCP, IGMP<br>
Initializing RT netlink socket<br>
Starting kswapd v 1.5 <br>
Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled<br>
ttyS00 at 0x03f8 (irq = 4) is a 16550A<br>
ttyS01 at 0x02f8 (irq = 3) is a 16550A<br>
pty: 256 Unix98 ptys configured<br>
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9)<br>
Real Time Clock Driver v1.09<br>
RAM disk driver initialized: 16 RAM disks of 4096K size<br>
SIS5513: IDE controller on PCI bus 00 dev 01<br>
SIS5513: not 100% native mode: will probe irqs later<br>
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio<br>
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio<br>
hda: IBM-DJNA-372200, ATA DISK drive<br>
hdb: WDC AC31200F, ATA DISK drive<br>
hdc: ACER CD-787E/JAS, ATAPI CDROM drive<br>
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14<br>
ide1 at 0x170-0x177,0x376 on irq 15<br>
hda: IBM-DJNA-372200, 21557MB w/1966kB Cache, CHS=2748/255/63<br>
hdb: WDC AC31200F, 1222MB w/64kB Cache, CHS=621/64/63<br>
hdc: ATAPI 4X CD-ROM drive, 240kB Cache<br>
Uniform CDROM driver Revision: 2.55<br>
Floppy drive(s): fd0 is 1.44M<br>
FDC 0 is a post-1991 82077<br>
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8<br>
scsi : 0 hosts.<br>
scsi : detected total.<br>
Partition check:<br>
hda: hda1<br>
hdb: hdb1 hdb2 &lt; hdb5 &gt;<br>
VFS: Mounted root (ext2 filesystem) readonly.<br>
Freeing unused kernel memory: 60k freed<br>
Adding Swap: 102780k swap-space (priority -1)<br>
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996<br>
via-rhine.c:v1.01 2/27/99 Written by Donald Becker<br>
<A HREF=" TARGET="_new">eth0: VIA VT3043 Rhine at 0xde00, 00:50:ba:a4:5c:f3, IRQ 9.<br>
eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link 0000.<br>
<br>
I can't see anything out of the ordinary.<br>
How do you change sambe to work at 100Mbps, and why does it even care about the speed of the network?<br>
<br>
fenris<br>
<br>
 
I don't <i>know</i> that samba, or anything, needs reconfigured....these are just &quot;educated guesses&quot; as I don't have a personal, semi-functional Win/Lin network to play around on in order to solve your problem a little more efficiently. As far as your ouput though; unless Andy sees something out-of-alignment in it, it looks to me like it's not telling of anything that's out of hand....is this with the LAN in 10T or 100TX mode? <p>-Robherc<br><a href=mailto:robherc@netzero.net>robherc@netzero.net</a><br><a href= > </a><br>*nix installation & program collector/reseller. Contact me if you think you've got one that I don't :)
 
The output from dmesg is when the network is running at 10.<br>

 
Hmmm... can you re-post using the output from when it's running @ 100Mbps so we can look over that & see if we can target in on the problem better that way please? <p>-Robherc<br><a href=mailto:robherc@netzero.net>robherc@netzero.net</a><br><a href= > </a><br>*nix installation & program collector/reseller. Contact me if you think you've got one that I don't :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top