LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-03-2003, 09:47 PM   #1
bruce1271
Member
 
Registered: Apr 2003
Location: Dallas, TX
Posts: 122

Rep: Reputation: 15
10/100 switch wont work.


I have been using a 10 MB hub to connect my linux to my pc's for years/ So I want faster connections so I went out and bought a cheap 30 dollar 10/100 switch. Now I can not get my pc or linux to talk to each other. There is no data transfer at all. Any ideas?

I havent rebooted linux yet, but I thought it would work by just plugging it in.
 
Old 06-03-2003, 10:33 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
you dont have to reboot the machine, just do a network restart on all the machines.
 
Old 06-03-2003, 11:40 PM   #3
bruce1271
Member
 
Registered: Apr 2003
Location: Dallas, TX
Posts: 122

Original Poster
Rep: Reputation: 15
Still doesnt work-I even re-booted. the light on the switch comes on for a few seconds then blinks off for a few seconds(referring to the light corresponding to the cable connected to my linux). I can use the switch to FTP to my XBOX and another PC, just linux is the problem.

I am using the tulip driver. Is there anything I have to configure?? Like on my pc, I have autosense on my NIC. Is there such a thing for linux?
 
Old 06-04-2003, 12:18 AM   #4
c4_4ya
Member
 
Registered: Jan 2003
Location: Asheville, NC
Distribution: Slackware, RedHat
Posts: 35

Rep: Reputation: 15
Sounds like a problem with auto-negotiation of 10 or 100 Mbps. Sometimes if a card and a switch/hub are both set to autosense for 10/100, they can't figure it out. Try setting your switch or NIC to 10 or 100 Mbps and see if that helps.
 
Old 06-04-2003, 12:29 AM   #5
bruce1271
Member
 
Registered: Apr 2003
Location: Dallas, TX
Posts: 122

Original Poster
Rep: Reputation: 15
I actually had it hard set 100Mbs while ftp'ing to my xbox. When linux joins the party the party is over. I tried setting it to autosense and still no go. This is all in the pc. How do I set it in linux?
 
Old 06-04-2003, 07:25 AM   #6
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Take a look at mii-tool if it's available
It should tell you what speed you card is working at and allows you to mess about with it.

You should probably be running at 100baseTx-FD

ifconfig has a media type option aswell but Ive never had to use any of them

Last edited by Looking_Lost; 06-04-2003 at 07:26 AM.
 
Old 06-04-2003, 12:18 PM   #7
bruce1271
Member
 
Registered: Apr 2003
Location: Dallas, TX
Posts: 122

Original Poster
Rep: Reputation: 15
well here is the output:
eth 1 is connected to my 10Mb hub. eth0 to ISP.


I tried hard seeting eth1 but it still doesnt work(when connected to the switch). It says "no link".
I also tried -r to restart autonegotiation and both cards went down and I had to power off the box and pull th eplug to get it to work again.

Any other ideas?

eth0: negotiated 100baseTx-FD flow-control, link ok
product info: vendor 00:07:49, model 1 rev 1
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
eth1: no autonegotiation, 10baseT-HD, link ok
product info: vendor 00:07:49, model 1 rev 1
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 10baseT-HD
 
Old 06-04-2003, 07:40 PM   #8
bruce1271
Member
 
Registered: Apr 2003
Location: Dallas, TX
Posts: 122

Original Poster
Rep: Reputation: 15
More info..connects but intermittent

64 bytes from 192.168.0.9: icmp_seq=3 ttl=128 time=0.343 ms
64 bytes from 192.168.0.9: icmp_seq=4 ttl=128 time=0.336 ms
64 bytes from 192.168.0.9: icmp_seq=10 ttl=128 time=0.341 ms
64 bytes from 192.168.0.9: icmp_seq=11 ttl=128 time=0.345 ms
64 bytes from 192.168.0.9: icmp_seq=14 ttl=128 time=0.342 ms
64 bytes from 192.168.0.9: icmp_seq=26 ttl=128 time=0.343 ms
64 bytes from 192.168.0.9: icmp_seq=33 ttl=128 time=0.338 ms
64 bytes from 192.168.0.9: icmp_seq=35 ttl=128 time=0.342 ms
64 bytes from 192.168.0.9: icmp_seq=36 ttl=128 time=0.336 ms
64 bytes from 192.168.0.9: icmp_seq=48 ttl=128 time=0.341 ms
64 bytes from 192.168.0.9: icmp_seq=51 ttl=128 time=0.345 ms
64 bytes from 192.168.0.9: icmp_seq=61 ttl=128 time=0.335 ms
64 bytes from 192.168.0.9: icmp_seq=66 ttl=128 time=0.339 ms
64 bytes from 192.168.0.9: icmp_seq=67 ttl=128 time=0.356 ms
64 bytes from 192.168.0.9: icmp_seq=69 ttl=128 time=0.334 ms


take notice of the icmp_seq. It skips alot of pings..Basically there is no reply.

So it connects but it is intermittent.

--- 192.168.0.9 ping statistics ---
365 packets transmitted, 95 received, 73% loss, time 364135ms
 
Old 06-05-2003, 10:43 AM   #9
ganeshbic
LQ Newbie
 
Registered: Jan 2003
Posts: 8

Rep: Reputation: 0
Hi,
I had a very similar problem. Try the following
Switch off the linux machine (not just reboot, the power should be totally off), then turn on, if you have a dual boot system, go first to linux. See whether the connection works. If it works now, your problem could be due to autosense.
Set your network card's speed to 100 mbps full duplex, switch off totally and start once again. It worked for me.

Try not to mix the 10 mbps hub with the 100 mbps switch. In my case I just had to take out the hub from the network (used another switch instead) and forced 100 mbps full duplex
 
  


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
10/100 Mbps Hub/Switch Question WeNdeL Linux - Networking 4 01-13-2004 03:52 PM
compusa 4 port 10\100 switch internet cable\dsl broadband router mcslinux Linux - Networking 1 11-22-2003 09:29 PM
Utilization of a 100 MB switch... WeNdeL Linux - Networking 3 02-11-2003 10:47 AM
100 Mbs switch. Don't understand! drjimstuckinwin Linux - Networking 2 12-14-2001 04:21 AM
Best 10/100 Mbps 24 port switch for full duplex with Linux joeschmoe Linux - Networking 2 11-10-2001 10:07 AM


All times are GMT -5. The time now is 01:20 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration