Re: connection timed out on freebsd 7.0

2007-10-19 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Yi Wang wrote:
 Thanks very much. This fixed it for me.
 

Most probably you have an old router which can't handle the more
aggressive tcp window scaling algorithm used in RELENG_7.

 BTW, does this have the similar meaning against 'netsh interface tcp
 set global autotuning=disabled' in Windows Server 2008?.

May be if the effect is the same.

 
 On 10/18/07, Vince [EMAIL PROTECTED] wrote:
 Krassimir Slavchev wrote:
 Hi,

 try 'sysctl -w net.inet.tcp.rfc1323=0'

 Thanks for that, I was having issues connecting to www.freebsd.org from
 a 7.0-PRERELEASE box and this fixed it for me.


 Vince

 Yi Wang wrote:
 Hi,
 My box is running FreeBSD 7.0 ( upgrade from 6-stable using src ).
 My problem is I can't connect to the network outside the router. eg.
 www.FreeBSD.org. Neither http nor ftp. But I can ping them. I can
 assure you that DNS works fine and the firewall is turned off.
 Here's some diagnostic messages:
 # uname -a
 FreeBSD wangyi.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Wed Oct
 17 19:19:47 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
  i386
 # ifconfig -a
 le0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
  options=8VLAN_MTU
  ether 00:0c:29:3c:47:47
  inet 172.20.53.106 netmask 0xff00 broadcast 172.20.53.255
  inet 192.168.0.106 netmask 0xff00 broadcast 192.168.0.255
  media: Ethernet autoselect
  status: active
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
  inet6 ::1 prefixlen 128
  inet 127.0.0.1 netmask 0xff00
 vmnet1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 
 1500
  ether 00:bd:e4:45:00:01
  inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
 PS: This is the result in vmware. I made a dual boot system and run it
 in vmware using raw disk.
 Actually, the real interface is nfe0.
 Sorry for my poor English.
 Thanks very much!


 
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]

 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]


 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHGFTvxJBWvpalMpkRAoQbAJ9allqVR0qStpe5jksOJInyh0y/OACghLvy
TYYlQ0elmBR+LcU0lAlUmm0=
=+Dtg
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


connection timed out on freebsd 7.0

2007-10-18 Thread Yi Wang
Hi,

My box is running FreeBSD 7.0 ( upgrade from 6-stable using src ).

My problem is I can't connect to the network outside the router. eg.
www.FreeBSD.org. Neither http nor ftp. But I can ping them. I can
assure you that DNS works fine and the firewall is turned off.

Here's some diagnostic messages:

# uname -a
FreeBSD wangyi.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Wed Oct
17 19:19:47 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
 i386

# ifconfig -a
le0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8VLAN_MTU
ether 00:0c:29:3c:47:47
inet 172.20.53.106 netmask 0xff00 broadcast 172.20.53.255
inet 192.168.0.106 netmask 0xff00 broadcast 192.168.0.255
media: Ethernet autoselect
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
vmnet1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:bd:e4:45:00:01
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255

PS: This is the result in vmware. I made a dual boot system and run it
in vmware using raw disk.
Actually, the real interface is nfe0.

Sorry for my poor English.

Thanks very much!

-- 
Regards,
Wang Yi

;  DiG 9.4.1-P1  www.google.com
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 22155
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 7, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.IN  A

;; ANSWER SECTION:
www.google.com. 604784  IN  CNAME   www.l.google.com.
www.l.google.com.   586 IN  CNAME   www-china.l.google.com.
www-china.l.google.com. 5   IN  A   66.249.89.147

;; AUTHORITY SECTION:
l.google.com.   86385   IN  NS  a.l.google.com.
l.google.com.   86385   IN  NS  f.l.google.com.
l.google.com.   86385   IN  NS  e.l.google.com.
l.google.com.   86385   IN  NS  g.l.google.com.
l.google.com.   86385   IN  NS  c.l.google.com.
l.google.com.   86385   IN  NS  d.l.google.com.
l.google.com.   86385   IN  NS  b.l.google.com.

;; Query time: 636 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Oct 18 15:18:57 2007
;; MSG SIZE  rcvd: 204

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-PRERELEASE #2: Wed Oct 17 19:19:47 CST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Sempron(tm) Processor 3000+ (1663.54-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x40ff2  Stepping = 2
  
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x2001SSE3,CX16
  AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!
  AMD Features2=0x1LAHF
real memory  = 268435456 (256 MB)
avail memory = 244662272 (233 MB)
acpi0: PTLTD   RSDT on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1050-0x105f at device 7.1 on pci0
ata0: ATA channel 0 on atapci0
ata0: [ITHREAD]
ata1: ATA channel 1 on atapci0
ata1: [ITHREAD]
pci0: bridge at device 7.3 (no driver attached)
vgapci0: VGA-compatible display port 0x1060-0x106f mem 
0xf000-0xf7ff,0xe800-0xe87f at device 15.0 on pci0
pci0: mass storage, SCSI at device 16.0 (no driver attached)
le0: AMD PCnet-PCI port 0x1400-0x147f irq 11 at device 17.0 on pci0
le0: 16 receive buffers, 4 transmit buffers
le0: Ethernet address: 00:0c:29:3c:47:47
le0: [ITHREAD]
acpi_acad0: AC Adapter on acpi0
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
pmtimer0 on isa0
orm0: ISA Option ROMs at iomem 
0xc-0xc7fff,0xc8000-0xc8fff,0xdc000-0xd,0xe-0xe3fff pnpid ORM 
on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 1663541159 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 76293MB VMware 

Re: connection timed out on freebsd 7.0

2007-10-18 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

try 'sysctl -w net.inet.tcp.rfc1323=0'


Yi Wang wrote:
 Hi,
 
 My box is running FreeBSD 7.0 ( upgrade from 6-stable using src ).
 
 My problem is I can't connect to the network outside the router. eg.
 www.FreeBSD.org. Neither http nor ftp. But I can ping them. I can
 assure you that DNS works fine and the firewall is turned off.
 
 Here's some diagnostic messages:
 
 # uname -a
 FreeBSD wangyi.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Wed Oct
 17 19:19:47 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
  i386
 
 # ifconfig -a
 le0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
   options=8VLAN_MTU
   ether 00:0c:29:3c:47:47
   inet 172.20.53.106 netmask 0xff00 broadcast 172.20.53.255
   inet 192.168.0.106 netmask 0xff00 broadcast 192.168.0.255
   media: Ethernet autoselect
   status: active
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
   inet6 ::1 prefixlen 128
   inet 127.0.0.1 netmask 0xff00
 vmnet1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
   ether 00:bd:e4:45:00:01
   inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
 
 PS: This is the result in vmware. I made a dual boot system and run it
 in vmware using raw disk.
 Actually, the real interface is nfe0.
 
 Sorry for my poor English.
 
 Thanks very much!
 
 
 
 
 
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHF1gSxJBWvpalMpkRAoVCAJ4juoD3kby8FNCEbGgkmZuc6RR5PQCgrC9U
nXUi2Gp0mEVotL+akuWJ3vc=
=DqJH
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: connection timed out on freebsd 7.0

2007-10-18 Thread Benno
On 10/18/07, Yi Wang [EMAIL PROTECTED] wrote:
 Hi,

 My box is running FreeBSD 7.0 ( upgrade from 6-stable using src ).

 My problem is I can't connect to the network outside the router. eg.
 www.FreeBSD.org. Neither http nor ftp. But I can ping them. I can
 assure you that DNS works fine and the firewall is turned off.

 Here's some diagnostic messages:

 # uname -a
 FreeBSD wangyi.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Wed Oct
 17 19:19:47 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
  i386

 # ifconfig -a
 le0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
 options=8VLAN_MTU
 ether 00:0c:29:3c:47:47
 inet 172.20.53.106 netmask 0xff00 broadcast 172.20.53.255
 inet 192.168.0.106 netmask 0xff00 broadcast 192.168.0.255
 media: Ethernet autoselect
 status: active
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
 inet6 ::1 prefixlen 128
 inet 127.0.0.1 netmask 0xff00
 vmnet1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
 ether 00:bd:e4:45:00:01
 inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255

 PS: This is the result in vmware. I made a dual boot system and run it
 in vmware using raw disk.
 Actually, the real interface is nfe0.

 Sorry for my poor English.

 Thanks very much!

 --
 Regards,
 Wang Yi

 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]



Hi,

Have you setup your default route? check 'netstat -r', if you haven't
use 'route add default router_ip'

-- Benno
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: connection timed out on freebsd 7.0

2007-10-18 Thread Vince
Krassimir Slavchev wrote:
 Hi,
 
 try 'sysctl -w net.inet.tcp.rfc1323=0'
 

Thanks for that, I was having issues connecting to www.freebsd.org from
a 7.0-PRERELEASE box and this fixed it for me.


Vince

 
 Yi Wang wrote:
 Hi,
 
 My box is running FreeBSD 7.0 ( upgrade from 6-stable using src ).
 
 My problem is I can't connect to the network outside the router. eg.
 www.FreeBSD.org. Neither http nor ftp. But I can ping them. I can
 assure you that DNS works fine and the firewall is turned off.
 
 Here's some diagnostic messages:
 
 # uname -a
 FreeBSD wangyi.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Wed Oct
 17 19:19:47 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
  i386
 
 # ifconfig -a
 le0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
  options=8VLAN_MTU
  ether 00:0c:29:3c:47:47
  inet 172.20.53.106 netmask 0xff00 broadcast 172.20.53.255
  inet 192.168.0.106 netmask 0xff00 broadcast 192.168.0.255
  media: Ethernet autoselect
  status: active
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
  inet6 ::1 prefixlen 128
  inet 127.0.0.1 netmask 0xff00
 vmnet1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
  ether 00:bd:e4:45:00:01
  inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
 
 PS: This is the result in vmware. I made a dual boot system and run it
 in vmware using raw disk.
 Actually, the real interface is nfe0.
 
 Sorry for my poor English.
 
 Thanks very much!
 
 
 
 
 
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: connection timed out on freebsd 7.0

2007-10-18 Thread Yi Wang
Sorry, I made a stupid mistake. I made reply to wrong person by accident.


On 10/18/07, Krassimir Slavchev [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi,

 try 'sysctl -w net.inet.tcp.rfc1323=0'


 Yi Wang wrote:
  Hi,
 
  My box is running FreeBSD 7.0 ( upgrade from 6-stable using src ).
 
  My problem is I can't connect to the network outside the router. eg.
  www.FreeBSD.org. Neither http nor ftp. But I can ping them. I can
  assure you that DNS works fine and the firewall is turned off.
 
  Here's some diagnostic messages:
 
  # uname -a
  FreeBSD wangyi.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Wed Oct
  17 19:19:47 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
   i386
 
  # ifconfig -a
  le0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8VLAN_MTU
ether 00:0c:29:3c:47:47
inet 172.20.53.106 netmask 0xff00 broadcast 172.20.53.255
inet 192.168.0.106 netmask 0xff00 broadcast 192.168.0.255
media: Ethernet autoselect
status: active
  lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
  vmnet1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:bd:e4:45:00:01
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
 
  PS: This is the result in vmware. I made a dual boot system and run it
  in vmware using raw disk.
  Actually, the real interface is nfe0.
 
  Sorry for my poor English.
 
  Thanks very much!
 
 
 
  
 
  ___
  freebsd-stable@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-stable
  To unsubscribe, send any mail to [EMAIL PROTECTED]


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (FreeBSD)

 iD8DBQFHF1gSxJBWvpalMpkRAoVCAJ4juoD3kby8FNCEbGgkmZuc6RR5PQCgrC9U
 nXUi2Gp0mEVotL+akuWJ3vc=
 =DqJH
 -END PGP SIGNATURE-



-- 
Regards,
Wang Yi
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: connection timed out on freebsd 7.0

2007-10-18 Thread Yi Wang
Thanks very much. This fixed it for me.

BTW, does this have the similar meaning against 'netsh interface tcp
set global autotuning=disabled' in Windows Server 2008?

On 10/18/07, Vince [EMAIL PROTECTED] wrote:
 Krassimir Slavchev wrote:
  Hi,
 
  try 'sysctl -w net.inet.tcp.rfc1323=0'
 

 Thanks for that, I was having issues connecting to www.freebsd.org from
 a 7.0-PRERELEASE box and this fixed it for me.


 Vince

 
  Yi Wang wrote:
  Hi,
 
  My box is running FreeBSD 7.0 ( upgrade from 6-stable using src ).
 
  My problem is I can't connect to the network outside the router. eg.
  www.FreeBSD.org. Neither http nor ftp. But I can ping them. I can
  assure you that DNS works fine and the firewall is turned off.
 
  Here's some diagnostic messages:
 
  # uname -a
  FreeBSD wangyi.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Wed Oct
  17 19:19:47 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
   i386
 
  # ifconfig -a
  le0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
   options=8VLAN_MTU
   ether 00:0c:29:3c:47:47
   inet 172.20.53.106 netmask 0xff00 broadcast 172.20.53.255
   inet 192.168.0.106 netmask 0xff00 broadcast 192.168.0.255
   media: Ethernet autoselect
   status: active
  lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
   inet6 ::1 prefixlen 128
   inet 127.0.0.1 netmask 0xff00
  vmnet1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 
  1500
   ether 00:bd:e4:45:00:01
   inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
 
  PS: This is the result in vmware. I made a dual boot system and run it
  in vmware using raw disk.
  Actually, the real interface is nfe0.
 
  Sorry for my poor English.
 
  Thanks very much!
 
 
 
  
 
  ___
  freebsd-stable@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-stable
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]




-- 
Regards,
Wang Yi
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]