connection timed out on freebsd 7.0

Yi Wang wangyi6854 at gmail.com
Thu Oct 18 02:29:19 PDT 2007


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     root at wangyi.com:/usr/obj/usr/src/sys/MYKERNEL
 i386

# ifconfig -a
le0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:0c:29:3c:47:47
	inet 172.20.53.106 netmask 0xffffff00 broadcast 172.20.53.255
	inet 192.168.0.106 netmask 0xffffff00 broadcast 192.168.0.255
	media: Ethernet autoselect
	status: active
lo0: flags=8049<UP,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 0xff000000
vmnet1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:bd:e4:45:00:01
	inet 192.168.2.1 netmask 0xffffff00 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
-------------- next part --------------

; <<>> 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
-------------- next part --------------
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
    root at wangyi.com:/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=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  Features2=0x2001<SSE3,CX16>
  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x1<LAHF>
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 0xf0000000-0xf7ffffff,0xe8000000-0xe87fffff 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 0xc0000-0xc7fff,0xc8000-0xc8fff,0xdc000-0xdffff,0xe0000-0xe3fff pnpid ORM0000 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 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1663541159 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 76293MB <VMware Virtual IDE Hard Drive 00000001> at ata0-master UDMA33
acd0: CDROM <VMware Virtual IDE CDROM Drive/00000001> at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s2a
link_elf: symbol msleep undefined
vmnet1: Ethernet address: 00:bd:e4:45:00:01
link_elf: symbol msleep undefined


More information about the freebsd-stable mailing list