Hi all, Ok, I'm new to FreeBSD (for second time :)) and I'm getting an strange behaviour. I don't know if you could help me, but I've to try. I've read the handbook, manpages and search google for a while, but I don't know how to solve it. I have some machines in my network, connected to Internet with and ADSL line. All those machines have GNU/Linux systems (and a laptop with Windows). I've installed FreeBSD recently (5.4) on my desktop machine and it performs badly in the net. I'll explain: I've got a lot of timeouts using fetch, firefox, links, ftp... etc. I thought that could be a hardware problem, but I connected this box and my laptop to a hub and, using ethereal (on the laptop), I looked the traffic searching for troubles. And that's what I saw: sometimes, my FreeBSD box sends a package and receive no answer. Then, it have to wait for timeout and try again... and again... Sometimes the other peer finally answer, and sometimes not. DNS, HTTP, FTP... nothing seems to work properly. Pretty amazing, huh? Any idea? Something I must know about bsd's TCP/IP? I'm gonna cry... :( Thank you all in advance. -- EuropeSwPatentFree (o_.' Imobach Gonz?lez Sosa imobachgs en banot.net //\c{} osoh en jabber.org Usuario Linux #201634 V__)_ http://www.banot.net/~osoh/
On Sun, May 29, 2005 at 10:10:24PM +0100, Imobach Gonz??lez Sosa wrote:> Hi all, > > Ok, I'm new to FreeBSD (for second time :)) and I'm getting an strange > behaviour. I don't know if you could help me, but I've to try. I've read the > handbook, manpages and search google for a while, but I don't know how to > solve it. > > I have some machines in my network, connected to Internet with and ADSL line. > All those machines have GNU/Linux systems (and a laptop with Windows). I've > installed FreeBSD recently (5.4) on my desktop machine and it performs badly > in the net. > > I'll explain: I've got a lot of timeouts using fetch, firefox, links, ftp... > etc. I thought that could be a hardware problem, but I connected this box and > my laptop to a hub and, using ethereal (on the laptop), I looked the traffic > searching for troubles. > > And that's what I saw: sometimes, my FreeBSD box sends a package and receive > no answer. Then, it have to wait for timeout and try again... and again... > Sometimes the other peer finally answer, and sometimes not. DNS, HTTP, FTP... > nothing seems to work properly. > > Pretty amazing, huh? Any idea? Something I must know about bsd's TCP/IP? I'm > gonna cry... :(This kind of thing is often caused by duplex mismatch on your NIC. Kris -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050529/ccb9f31c/attachment.bin
El lun, 30-05-2005 a las 12:49 +0200, Gunnar Flygt escribi?:> On Mon, May 30, 2005 at 11:03:20AM +0100, Imobach Gonz?lez Sosa wrote: > > El dom, 29-05-2005 a las 14:27 -0700, Kris Kennaway escribi?: > > > > > > This kind of thing is often caused by duplex mismatch on your NIC. > > > > Ok, I've been playing around with media options (10/100, full and half > > duplex) but it didn't work. I suppose that I'll try to get a better NIC > > from one of my friends to try again :P > > The only important thing here is that you have the same settings on the > switch as on the server! For Linux-es I tend to set them auto - auto but > for FreeBSD 100/full (non negotiation) - 100/full wotks best.Ok, I think I have it correctly with this command: ifconfig rl0 media 100baseTX -mediaopt full-duplex (rl0 or dc0, I've used two different NICs). Moreover, I connected my FreeBSD box to the ADSL router (directly, no more machines connected) and forced the adapter to 10baseT/UTP and full-duplex but it didn't work. I also tried with 100baseTX, but then there was no carrier (the ADSL router is a bit old, and only support 10Mbps). So, I'm running out of ideas :( Thank you all for your help! -- EuropeSwPatentFree (o_.' Imobach Gonz?lez Sosa imobachgs en banot.net //\c{} osoh en jabber.org Usuario Linux #201634 V__)_ http://www.banot.net/~osoh/