Hi,
I've a network problem on my Fedora Core 1.
on my switch the 100 led is ok.
But if I make an mii-tool command I've this result :
eth0: 10 Mbit, full duplex, link ok
And it's bad. Why the led on my switch ok in 100 Mbit but mii-tool see it with 10 Mbit ?
I've try this : mii-tool -v -A 100baseTx-FD
But no changes..
Thanks for help ;D
On Mon, 2004-04-19 at 14:06, Sébastien Bisoglio wrote:
Hi,
I've a network problem on my Fedora Core 1.
on my switch the 100 led is ok.
Are you certain that it is saying 100Mb? I have seen several switches that have a slightly different color for 10/100.
But if I make an mii-tool command I've this result :
eth0: 10 Mbit, full duplex, link ok
And it's bad. Why the led on my switch ok in 100 Mbit but mii-tool see it with 10 Mbit ?
I've try this : mii-tool -v -A 100baseTx-FD
Did you try -F to force it?
Forrest
Taylor, ForrestX wrote:
On Mon, 2004-04-19 at 14:06, Sébastien Bisoglio wrote:
Hi,
I've a network problem on my Fedora Core 1.
on my switch the 100 led is ok.
Are you certain that it is saying 100Mb? I have seen several switches that have a slightly different color for 10/100.
Yes for sur ! My old Linux Mandrake server is ok at 100 mbits and led is ok too !
But if I make an mii-tool command I've this result :
eth0: 10 Mbit, full duplex, link ok
And it's bad. Why the led on my switch ok in 100 Mbit but mii-tool see it with 10 Mbit ?
I've try this : mii-tool -v -A 100baseTx-FD
Did you try -F to force it?
After this command :
mii-tool -v -F 100baseTx-FD
Result :
[root@bisol root]# mii-tool eth0: 10 Mbit, full duplex, link ok
Forrest
Monday, April 19, 2004 4:09 PM Sébastien Bisoglio replied with:
Taylor, ForrestX wrote:
On Mon, 2004-04-19 at 14:06, Sébastien Bisoglio wrote:
on my switch the 100 led is ok.
Are you certain that it is saying 100Mb? I have seen
several switches
that have a slightly different color for 10/100.
Yes for sur ! My old Linux Mandrake server is ok at 100 mbits and led is ok too !
After this command :
mii-tool -v -F 100baseTx-FD
Result :
[root@bisol root]# mii-tool eth0: 10 Mbit, full duplex, link ok
Hmmm, had a poster with a similar problem last week. It seemed to come down to either a problems with mii-tool and ethtool or a problem with the mii interface in the NIC driver. I put my money on the driver as both mii-tool and ethtool work for myself and others.
However, I think this same advice should pertain to you both. Just because the software interface is returning incorrect information doesn't mean that the mii hardware isn't doing it's job. Link negotiation happens at the hardware level even without the presence of a driver. WOL cards maintain link even when the machines they are in are powered off. Software, if properly implemented, can allow you to query and sometimes even set mii parameters, but usually this is best left to the hardware.
Does your NIC have both link and speed leds? If so, what speed do they indicate? I would be willing to be they show 100Mbps. In this case, I would trust what the hardware is telling you and not what the software is telling you.
Mind you, I don't think it's good that mii-tool and ethtool are reporting faulty information, but I do think that if you dig deep enough, you're going to find that the problem is with the NIC and the available driver. You might check the manufacturers page to see if there are any known problems with linux in general and fedora in particular. While you're there, look into the manufacturers policy on linux support and also their usage of hardware tweaks. Not all OEM chipsets are created equal.
BTW, what NIC are you using?
Eric Diamond eDiamond Networking & Security 303-246-9555 eric@ediamond.net
Eric Diamond wrote:
Monday, April 19, 2004 4:09 PM Sébastien Bisoglio replied with:
Taylor, ForrestX wrote:
On Mon, 2004-04-19 at 14:06, Sébastien Bisoglio wrote:
on my switch the 100 led is ok.
Are you certain that it is saying 100Mb? I have seen
several switches
that have a slightly different color for 10/100.
Yes for sur ! My old Linux Mandrake server is ok at 100 mbits and led is ok too !
After this command :
mii-tool -v -F 100baseTx-FD
Result :
[root@bisol root]# mii-tool eth0: 10 Mbit, full duplex, link ok
Hmmm, had a poster with a similar problem last week. It seemed to come down to either a problems with mii-tool and ethtool or a problem with the mii interface in the NIC driver. I put my money on the driver as both mii-tool and ethtool work for myself and others.
However, I think this same advice should pertain to you both. Just because the software interface is returning incorrect information doesn't mean that the mii hardware isn't doing it's job. Link negotiation happens at the hardware level even without the presence of a driver. WOL cards maintain link even when the machines they are in are powered off. Software, if properly implemented, can allow you to query and sometimes even set mii parameters, but usually this is best left to the hardware.
Does your NIC have both link and speed leds? If so, what speed do they indicate? I would be willing to be they show 100Mbps. In this case, I would trust what the hardware is telling you and not what the software is telling you.
2 led but my transfer rate is 5mo / sec. With my other Mandrake server I've (with same NIC) 11mo / sec ! Then it's all my problem !
Mind you, I don't think it's good that mii-tool and ethtool are reporting faulty information, but I do think that if you dig deep enough, you're going to find that the problem is with the NIC and the available driver. You might check the manufacturers page to see if there are any known problems with linux in general and fedora in particular. While you're there, look into the manufacturers policy on linux support and also their usage of hardware tweaks. Not all OEM chipsets are created equal.
BTW, what NIC are you using?
a cat /proc/cpi give me this :
Bus 2, device 11, function 0: Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 36). IRQ 5. Master Capable. Latency=32. Min Gnt=10.Max Lat=10. I/O at 0xd800 [0xd87f]. Non-prefetchable 32 bit memory at 0xf4000000 [0xf400007f].
Eric Diamond eDiamond Networking & Security 303-246-9555 eric@ediamond.net
Monday, April 19, 2004 5:41 PM Sébastien Bisoglio
2 led but my transfer rate is 5mo / sec. With my other Mandrake server I've (with same NIC) 11mo / sec ! Then it's all my problem !
What units are you using? Mo/sec is not one I'm familiar with. Also, what kind of transfers are you doing? You could be looking at an application issue rather than a driver/NIC issue.
a cat /proc/cpi give me this :
Bus 2, device 11, function 0: Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 36). IRQ 5. Master Capable. Latency=32. Min Gnt=10.Max Lat=10. I/O at 0xd800 [0xd87f]. Non-prefetchable 32 bit memory at 0xf4000000 [0xf400007f].
Hmmm. 3Com with a cyclone chipset. Is it a new card? Hate to say it, but the 3Com name doesn't inspire the same warm-n-fuzzies it used to... At least we know the driver is sound. At this point I think it's time to ask if you have any other cards you could try?
Eric Diamond eDiamond Networking & Security 303-246-9555 eric@ediamond.net
On Mon, Apr 19, 2004 at 07:33:49PM -0600, Eric Diamond wrote:
Monday, April 19, 2004 5:41 PM Sébastien Bisoglio
2 led but my transfer rate is 5mo / sec.
...
What units are you using? Mo/sec is not one I'm familiar with.
Bus 2, device 11, function 0: Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
Hmmm. 3Com with a cyclone chipset. Is it a new card?
Tinker with mii-tool. Specifically mii-too --advertise=media interface
media can be one of: 100baseT4, 100baseTx-FD,100baseTx-HD, 10baseT-FD, and 10baseT-HD.
What you should see is the link light go dark for a blink then a new physical layer connection is made. It could be that the negotiation is not good and kicking it again might link up .... I am finding that FD is hard for many inexpensive cards, switches and drivers.
Monday, April 19, 2004 10:44 PM Tom 'Needs A Hat' Mitchell
Tinker with mii-tool. Specifically
mii-too --advertise=media interface
media can be one of: 100baseT4, 100baseTx-FD,100baseTx-HD, 10baseT-FD, and 10baseT-HD.
What you should see is the link light go dark for a blink then a new physical layer connection is made. It could be that the negotiation is not good and kicking it again might link up .... I am finding that FD is hard for many inexpensive cards, switches and drivers.
I don't know about that. The problem is not that he can't get a link, he is and the connection is up at 100Mb/s, but mii-tool says it's only 10Mb/s.
As for full duplex having poor support on cheaper hardware, I can easily believe that. You don't really need (and can't really take advantage of) full duplex in anything but a server anyway. And it would have to be a busy one at that for you to really tell the difference.
Eric Diamond eDiamond Networking & Security 303-246-9555 eric@ediamond.net
On Mon, Apr 19, 2004 at 11:00:01PM -0600, Eric Diamond wrote:
Monday, April 19, 2004 10:44 PM Tom 'Needs A Hat' Mitchell
Tinker with mii-tool. Specifically
mii-too --advertise=media interface
media can be one of: 100baseT4, 100baseTx-FD,100baseTx-HD, 10baseT-FD, and 10baseT-HD.
What you should see is the link light go dark for a blink then a new physical layer connection is made. It could be that the negotiation is not good and kicking it again might link up .... I am finding that FD is hard for many inexpensive cards, switches and drivers.
I don't know about that. The problem is not that he can't get a link, he is and the connection is up at 100Mb/s, but mii-tool says it's only 10Mb/s.
...
As for full duplex having poor support on cheaper hardware, I can easily believe that.
Right... he is seeing a slow link that is also being reported as a slow link by mii-tool. This tells me that what the LEDs are stuck or something. Perhaps the link needs to be kicked into gear any gear to get hardware, LEDs and software all on the same page.
The LEDs "should" blink as the new rate is negotiated. This part could be important and give us hints about driver issues. Not all drivers support the layer that mii-tool uses. Perhaps some logic is stuck and...
It may be worth the effort to force it into slow 10baseT-HD one time them kick it up a notch....
Lastly do not ignore the posibility of a bad cable. Watchout for ports that have double plugs. A four port hub often has five connectors, one is cross wired so a null connection cable is not needed.
Snoop on the link for IP error symptoms even if the hardware is not reporting errors.
In general 'forcing' links presents problems because both ends need to play the same games or nothing works. Double check the other end too. Tidy up when done tinkering.
Tom 'Needs A Hat' Mitchell wrote:
Tinker with mii-tool. Specifically
mii-too --advertise=media interface
media can be one of: 100baseT4, 100baseTx-FD,100baseTx-HD, 10baseT-FD, and 10baseT-HD.
What if you get:
SIOCGMIIPHY on 'eth0' failed: Operation not supported no MII interfaces found
dmesg| grep eth0 gives:
eth0: registered as PCnet/PCI 79C970
It's an old box, does is not have support for MII?
ciao!
leam
Am Sa, den 24.04.2004 schrieb leam um 12:43:
What if you get:
SIOCGMIIPHY on 'eth0' failed: Operation not supported no MII interfaces found
dmesg| grep eth0 gives:
eth0: registered as PCnet/PCI 79C970
It's an old box, does is not have support for MII?
mii-tool does not valid correspond with the PHY on the NIC; mii-tool does not works with each card, especially old NICs.
ciao!
leam
Alexander
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday 20 April 2004 01:33, Eric Diamond wrote:
Monday, April 19, 2004 5:41 PM Sébastien Bisoglio
2 led but my transfer rate is 5mo / sec.
What units are you using? Mo/sec is not one I'm familiar with. Also,
Octet, it's used for byte in Francophone countries.
- -Andy
- -- Automatic actions for USB cameras, cardreaders, memory sticks, MP3 players http://warmcat.com/usbautocam
Tuesday, April 20, 2004 3:55 AM Andy Green added:
What units are you using? Mo/sec is not one I'm familiar with.
Octet, it's used for byte in Francophone countries.
Ah! I see said the blnd man...
So that means Sébastien was seeing 5 MegaBytes per second vs. 11 MegaBytes per second. By my math (and I'm only approximating link overhead) that's 50+ MegaBits per second vs. 110+ MegaBits per second. To me, that sounds like the difference between 100Mbps at half and full duplex respectfully.
Eric Diamond eDiamond Networking & Security 303-246-9555 eric@ediamond.net
On Tue, Apr 20, 2004 at 08:10:03AM -0600, Eric Diamond wrote:
Tuesday, April 20, 2004 3:55 AM Andy Green added:
What units are you using? Mo/sec is not one I'm familiar with.
Octet, it's used for byte in Francophone countries.
Ah! I see said the blnd man...
So that means Sébastien was seeing 5 MegaBytes per second vs. 11 MegaBytes per second. By my math (and I'm only approximating link overhead) that's 50+ MegaBits per second vs. 110+ MegaBits per second. To me, that sounds like the difference between 100Mbps at half and full duplex respectfully.
If I understand it full duplex does not double the download speed. But rather upload can progress at the same time as download. This can be useful for a file-server where my reads do not conflict with your writes (on the network wire).
For download the ACK packets can flow without interrupting the up/download. Thus it can be possible to approach the theoretical bit rate in any one direction.
Am I confused?
--- Tom 'Needs A Hat' Mitchell mitch48@sbcglobal.net からのメッセージ:
On Tue, Apr 20, 2004 at 08:10:03AM -0600, Eric Diamond wrote:
Tuesday, April 20, 2004 3:55 AM Andy Green added:
What units are you using? Mo/sec is not one
I'm familiar with.
Octet, it's used for byte in Francophone
countries.
Ah! I see said the blnd man...
So that means S�astien was seeing 5 MegaBytes
per
second vs. 11
MegaBytes per second. By my math (and I'm only
approximating link
overhead) that's 50+ MegaBits per second vs. 110+
MegaBits per second.
To me, that sounds like the difference between
100Mbps at half and full
duplex respectfully.
If I understand it full duplex does not double the download speed. But rather upload can progress at the same time as download. This can be useful for a file-server where my reads do not conflict with your writes (on the network wire).
For download the ACK packets can flow without interrupting the up/download. Thus it can be possible to approach the theoretical bit rate in any one direction.
Am I confused?
-- T o m M i t c h e l l /dev/null the ultimate in secure storage.
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe:
http://www.redhat.com/mailman/listinfo/fedora-list
That depends on flow control method.
With stop&wait flow control max throughput is always 50% of the max line bit rate, Full duplex helps very little on this. protocol like sftp are of this type.
Better flow control methods like sliding windows is very sensitive to the latency of ACK packets. typical efficency of s-window is ~60% on half dulplex and 80% on full duplex. 100% efficency is nvr achived with a single s-window connection though. http/ftp belong to this cat.
__________________________________________________ Do You Yahoo!? http://bb.yahoo.co.jp/
Hi is it possible to get Anaconda to install security updates from a separate folder during install? Does I need to generate hdlist with that?
Cheers, Chris
On Mon, 2004-04-19 at 19:41, Sébastien Bisoglio wrote:
BTW, what NIC are you using?
a cat /proc/cpi give me this :
Bus 2, device 11, function 0: Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 36). IRQ 5. Master Capable. Latency=32. Min Gnt=10.Max Lat=10. I/O at 0xd800 [0xd87f]. Non-prefetchable 32 bit memory at 0xf4000000 [0xf400007f].
A few years ago when the 3C905 cards were the default card for our hardware we had alot of problems with the 3c905b variant. None of these cards would auto-negotiate properly to high speeds, all of them were replaced with 905c and the problem went away. This may be what you are encountering. Check your other server for the model of the card, it might be a newer one.
Luc Bouchard
Monday, April 19, 2004 8:39 PM Luc Bouchard added:
A few years ago when the 3C905 cards were the default card for our hardware we had alot of problems with the 3c905b variant. None of these cards would auto-negotiate properly to high speeds, all of them were replaced with 905c and the problem went away. This may be what you are encountering. Check your other server for the model of the card, it might be a newer one.
A distinct possibility. I also remember lots of framing errors coming off of 3C595s as well.
Of course I also remember a time (back in the thin-net days) when the 3C509b was the Cadalac, no that's wrong, they were more like the Rolls Royce of ethernet cards. We could get a good 30% more run length if we used only those cards. Just one from another vendor could take an entire segment down...
Now I see a 3Com card and cringe. Give me a Intel 10/100 any day.
Eric Diamond eDiamond Networking & Security 303-246-9555 eric@ediamond.net
Luc Bouchard wrote:
On Mon, 2004-04-19 at 19:41, Sébastien Bisoglio wrote:
BTW, what NIC are you using?
a cat /proc/cpi give me this :
Bus 2, device 11, function 0: Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 36). IRQ 5. Master Capable. Latency=32. Min Gnt=10.Max Lat=10. I/O at 0xd800 [0xd87f]. Non-prefetchable 32 bit memory at 0xf4000000 [0xf400007f].
A few years ago when the 3C905 cards were the default card for our hardware we had alot of problems with the 3c905b variant. None of these cards would auto-negotiate properly to high speeds, all of them were replaced with 905c and the problem went away. This may be what you are encountering. Check your other server for the model of the card, it might be a newer one.
Luc Bouchard
Thankls for all for answer..
I've resolved this.. I've changed the NIC and all is ok !
Thanks
Hi,
I'm having a problem with MySQL authentification with apache (for protected folders).
Now i'm using a thing like this :
<Directory /var/www/html/prive> AuthName "Espace Privé" AuthType Basic
AuthMySQLUser fdfdsfds AuthMySQLPassword fdsfdsfds AuthMySQLDB auth AuthMySQLUserTable users AuthMySQLNameField user_name AuthMySQLPasswordField user_passwd AuthMySQLGroupField user_group
require group fdsfds </Directory>
But i have 10 folders to make like this then i'm searching for a solution which is more simple... Have you ?
I have a second problem. For adding people in my auth database, i'm using PHPMyadmin and i make a SQL query but i need a more simple web interface to do this.. it exist or not ?
Thanks !
PS : Sorry for my BAD english but i'm french
Am Mi, den 29.12.2004 schrieb Sébastien Bisoglio um 10:06:
First and very important:
DON'T hijack foreign threads! You replied to a thread from April 2004 with the topic "Network Problem". Always start a new list mail with an empty mail. Use your address book if you don't remember the list mail address.
I'm having a problem with MySQL authentification with apache (for protected folders).
Now i'm using a thing like this :
<Directory /var/www/html/prive> AuthName "Espace Privé" AuthType Basic
AuthMySQLUser fdfdsfds AuthMySQLPassword fdsfdsfds AuthMySQLDB auth AuthMySQLUserTable users AuthMySQLNameField user_name AuthMySQLPasswordField user_passwd AuthMySQLGroupField user_group
require group fdsfds
</Directory>
But i have 10 folders to make like this then i'm searching for a solution which is more simple... Have you ?
More simple in which way? You should be more clear in what your problem is.
I have a second problem. For adding people in my auth database, i'm using PHPMyadmin and i make a SQL query but i need a more simple web interface to do this.. it exist or not ?
If you need a specific web interface for only the purpose to fill the AUTH table for your Apache users, then simply write it your own using PHP. This can be done within a few minutes. Though I don't really understand what's simpler than using phpMyAdmin. You don't need to make SQL queries but could edit the table content like an Excel sheet. Or simply store SQL statement for reuse.
Alexander
Alexander Dalloz wrote:
Am Mi, den 29.12.2004 schrieb Sébastien Bisoglio um 10:06:
First and very important:
DON'T hijack foreign threads! You replied to a thread from April 2004 with the topic "Network Problem". Always start a new list mail with an empty mail. Use your address book if you don't remember the list mail address.
Ok i'm sorry for this !!!
I'm having a problem with MySQL authentification with apache (for protected folders).
Now i'm using a thing like this :
<Directory /var/www/html/prive> AuthName "Espace Privé" AuthType Basic
AuthMySQLUser fdfdsfds AuthMySQLPassword fdsfdsfds AuthMySQLDB auth AuthMySQLUserTable users AuthMySQLNameField user_name AuthMySQLPasswordField user_passwd AuthMySQLGroupField user_group
require group fdsfds
</Directory>
But i have 10 folders to make like this then i'm searching for a solution which is more simple... Have you ?
More simple in which way? You should be more clear in what your problem is.
I dont know if i can make this with an .htaccess or if it exists a module for making this better.
I have a second problem. For adding people in my auth database, i'm using PHPMyadmin and i make a SQL query but i need a more simple web interface to do this.. it exist or not ?
If you need a specific web interface for only the purpose to fill the AUTH table for your Apache users, then simply write it your own using PHP. This can be done within a few minutes. Though I don't really understand what's simpler than using phpMyAdmin. You don't need to make SQL queries but could edit the table content like an Excel sheet. Or simply store SQL statement for reuse.
I know. I'm developping 1 but i just want to know if a project like this exist or not ;)
Alexander
Sébastien
Am Mi, den 29.12.2004 schrieb Sébastien Bisoglio um 15:06:
I'm having a problem with MySQL authentification with apache (for protected folders).
Now i'm using a thing like this :
<Directory /var/www/html/prive> AuthName "Espace Privé" AuthType Basic
AuthMySQLUser fdfdsfds AuthMySQLPassword fdsfdsfds AuthMySQLDB auth AuthMySQLUserTable users AuthMySQLNameField user_name AuthMySQLPasswordField user_passwd AuthMySQLGroupField user_group
require group fdsfds
</Directory>
But i have 10 folders to make like this then i'm searching for a solution which is more simple... Have you ?
More simple in which way? You should be more clear in what your problem is.
I dont know if i can make this with an .htaccess or if it exists a module for making this better.
If you want to store the AUTH data in a MySQL database, then using mod_auth_mysql is the right way. But you should consider not to use .htaccess but to set the AUTH settings in the main httpd.conf or vhosts configuration. Please read
http://httpd.apache.org/docs-2.0/howto/htaccess.html#when
about pros and cons of using .htaccess.
I have a second problem. For adding people in my auth database, i'm using PHPMyadmin and i make a SQL query but i need a more simple web interface to do this.. it exist or not ?
I know. I'm developping 1 but i just want to know if a project like this exist or not ;)
http://freshmeat.net/projects/mampa/
http://freshmeat.net/projects/usersadmin/
Sébastien
Alexander