?

Log in

No account? Create an account
brad's life [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

prepare for warp speed [Aug. 29th, 2000|05:35 pm]
Brad Fitzpatrick
I just got a new 10/100 mbps full duplex 8-port ethernet switch to replace this 10 mbps hub piece of crap. ah yea'.

for the curious, it's a D-Link DSS-8+ ... really heavy and solid feeling, which is a lot more than I can say for most the hubs these days.

update: win2k immediately detected the change and switched to 100 mbps mode (there's a 100 mbps linksys router upstream) and i stopped & started the networking on my linux box ... but how can I tell the linux box is running at 100 mbps now?

another update: i can tell my linux box is at 100 now (copying large files between my computers is incredibly fast now) but I'd still like to know how to determine the speed it's running at ... I looked around in /proc/net/ but didn't seen it.
LinkReply

Comments:
[User Picture]From: visions
2000-08-29 05:49 pm (UTC)
ifconfig -a

look at "media" i believe.
(Reply) (Thread)
[User Picture]From: bradfitz
2000-08-29 06:06 pm (UTC)

i don't see it....

[root@papag net]# /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:A0:C9:CC:37:BD
inet addr:192.168.1.15 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5943416 errors:1 dropped:0 overruns:0 frame:1
TX packets:8932319 errors:0 dropped:0 overruns:0 carrier:13
collisions:1649136

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:62919 errors:0 dropped:0 overruns:0 frame:0
TX packets:62919 errors:0 dropped:0 overruns:0 carrier:0
collisions:0

(Reply) (Parent) (Thread)
[User Picture]From: visions
2000-08-29 07:56 pm (UTC)

Re: i don't see it....

silly linux ifconfig.

do something along the following...

dmesg | grep 10 | less

obviously, dmesg | less is everything.

if you are in redhat, you might want to check /var/log/dmesg if `dmesg` isnt working due to uptime.
(Reply) (Parent) (Thread)
[User Picture]From: ajose
2000-08-29 10:56 pm (UTC)

Network card

Which card do you have on you Linux box?
I've never use a 10/100 card in Linux at 100 but normally the selection can be forced by passing parameters to the network driver module (probabilly at the command line in LILO, at boot time.
If the card is in autonegotiate mode, it should detect the speed automatically but some cards don't (I don't know the reason). Thus the reason to ask which card do you have in the Linux computer....
(Reply) (Thread)
[User Picture]From: bradfitz
2000-08-29 11:27 pm (UTC)

Re: Network card

intel etherexpress pro 10/100

but it seems to be in autonegotiation mode because file transfer to another 100 box of mine are incredibly fast now.
(Reply) (Parent) (Thread)
[User Picture]From: ajose
2000-08-29 11:39 pm (UTC)

Re: Network card

So, probabilly it is. I don't have any experience with the Intel Expresscards, though...
The 10/100 cards I worked with were Dlinks and the 3COM 905.
With the DLink card I found one that I couldn't left into autonegotiation mode as it would simply don't work.... I had to put it into 10 or 100 mode, as necessary (it was in Windows but I took the time to see how to do it in Linux, as well...)
Does your card have lights to indicate the speed? Or the HUB has lights to indicate the speed of that network segment?
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2000-08-29 11:53 pm (UTC)

Re: Network card

yeah, my d-link switch is showing 100 on that port....
(Reply) (Parent) (Thread)