LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1470|回复: 10

如何安装d-link dfe-530tx 网卡?

[复制链接]
发表于 2005-2-15 22:41:20 | 显示全部楼层 |阅读模式
第一次安装使用freebsd, 请教一下如何安装d-link dfe-530tx 网卡? 我的系统是freebsd 5.3.
谢谢!
发表于 2005-2-16 14:48:50 | 显示全部楼层
5.3 的认识 dfe-530的,
你输入 ifconfig 看看。
具体参看 ifconfig 的man
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-16 16:29:20 | 显示全部楼层
谢谢alvon兄的回答。
我查了freebsd官方网站,确实5.3版认识 dfe-530。
可我安装freebsd时配置网卡的时候就是没显示出来。能请教一下你当初是怎么弄的吗?
回复 支持 反对

使用道具 举报

发表于 2005-2-17 01:42:05 | 显示全部楼层
当初,配置网卡的时候,应该在第一项就可以看到vr0的字样,不一定是0,但DLINK的这款肯定是vr,你选这个就OK了,如果没有看到……那么肯定是网卡松了。。。。。当然,也不排除网卡有假的可能。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-17 08:35:44 | 显示全部楼层
感谢corrs版主的回答。

网卡肯定没松,因为我换到windows 下就能上网了。
配置网卡的时候,我的第一项显示的是无法识别的字样。
至于网卡有假的可能性,我记得以前在linux中显示的好像是via-rhine 之类。
回复 支持 反对

使用道具 举报

发表于 2005-2-17 11:09:30 | 显示全部楼层
请:
贴出你的dmsg
贴出你的ifconfig
linux将网卡一律认为是:eth
而bsd是不同的型号不一样.
不排除其实你的网卡不是dfe-530tx型号的.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-17 16:27:45 | 显示全部楼层
刚刚回房间打开FreeBSD查了一下:

1. dmesg:

  1. ------------------------------------------------------------------------------------------------------
  2. Copyright (c) 1992-2004 The FreeBSD Project.
  3. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  4.         The Regents of the University of California. All rights reserved.
  5. FreeBSD 5.3-RELEASE #2: Thu Feb 17 22:00:04 CST 2005
  6.     root@:/usr/src/sys/i386/compile/GENERIC
  7. Timecounter "i8254" frequency 1193182 Hz quality 0
  8. CPU: Intel(R) Celeron(R) CPU 1.80GHz (2123.77-MHz 686-class CPU)
  9.   Origin = "GenuineIntel"  Id = 0xf13  Stepping = 3
  10.   Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
  11. real memory  = 266600448 (254 MB)
  12. avail memory = 255418368 (243 MB)
  13. ACPI APIC Table: <INTEL  D845GVSR>
  14. ioapic0 <Version 2.0> irqs 0-23 on motherboard
  15. npx0: [FAST]
  16. npx0: <math processor> on motherboard
  17. npx0: INT 16 interface
  18. acpi0: <INTEL D845GVSR> on motherboard
  19. acpi0: Power Button (fixed)
  20. Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
  21. acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
  22. cpu0: <ACPI CPU> on acpi0
  23. pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
  24. pci0: <ACPI PCI bus> on pcib0
  25. agp0: <Intel 82845G (845G GMCH) SVGA controller> mem 0xffa80000-0xffafffff,0xf0000000-0xf7ffffff irq 16 at device 2.0 on pci0
  26. agp0: detected 892k stolen memory
  27. agp0: aperture size is 128M
  28. uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xe800-0xe81f irq 16 at device 29.0 on pci0
  29. uhci0: [GIANT-LOCKED]
  30. usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
  31. usb0: USB revision 1.0
  32. uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  33. uhub0: 2 ports with 2 removable, self powered
  34. ums0: vendor 0x04fc USB Wheel Mouse, rev 1.10/1.01, addr 2, iclass 3/1
  35. ums0: 3 buttons and Z dir.
  36. uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xe880-0xe89f irq 19 at device 29.1 on pci0
  37. uhci1: [GIANT-LOCKED]
  38. usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
  39. usb1: USB revision 1.0
  40. uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  41. uhub1: 2 ports with 2 removable, self powered
  42. umass0: Netac Netac OnlyDisk, rev 1.10/2.00, addr 2
  43. uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xec00-0xec1f irq 18 at device 29.2 on pci0
  44. uhci2: [GIANT-LOCKED]
  45. usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
  46. usb2: USB revision 1.0
  47. uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  48. uhub2: 2 ports with 2 removable, self powered
  49. pci0: <serial bus, USB> at device 29.7 (no driver attached)
  50. pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
  51. pci1: <ACPI PCI bus> on pcib1
  52. pci1: <network, ethernet> at device 1.0 (no driver attached)
  53. isab0: <PCI-ISA bridge> at device 31.0 on pci0
  54. isa0: <ISA bus> on isab0
  55. atapci0: <Intel ICH4 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
  56. ata0: channel #0 on atapci0
  57. ata1: channel #1 on atapci0
  58. pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
  59. pci0: <multimedia, audio> at device 31.5 (no driver attached)
  60. acpi_button0: <Sleep Button> on acpi0
  61. sio0: configured irq 4 not in bitmap of probed irqs 0
  62. sio0: port may not be enabled
  63. sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
  64. sio0: type 16550A
  65. ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
  66. ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
  67. ppbus0: <Parallel port bus> on ppc0
  68. plip0: <PLIP network interface> on ppbus0
  69. lpt0: <Printer> on ppbus0
  70. lpt0: Interrupt-driven port
  71. ppi0: <Parallel I/O> on ppbus0
  72. atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
  73. atkbd0: <AT Keyboard> irq 1 on atkbdc0
  74. kbd0 at atkbd0
  75. atkbd0: [GIANT-LOCKED]
  76. pmtimer0 on isa0
  77. sc0: <System console> at flags 0x100 on isa0
  78. sc0: VGA <16 virtual consoles, flags=0x300>
  79. vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
  80. sio1: configured irq 3 not in bitmap of probed irqs 0
  81. sio1: port may not be enabled
  82. Timecounter "TSC" frequency 2123772948 Hz quality 800
  83. Timecounters tick every 10.000 msec
  84. acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
  85. ad0: 39205MB <Maxtor 6E040L0/NAR61590> [79656/16/63] at ata0-master UDMA100
  86. ad1: 39205MB <Maxtor 6E040L0/NAR61EA0> [79656/16/63] at ata0-slave UDMA100
  87. acd0: CDRW <HL-DT-ST GCE-8526B/1.02> at ata1-master UDMA33
  88. acd1: CDROM <ATAPI-CD ROM-DRIVE-52MAX/Ver 52F4> at ata1-slave UDMA33
  89. da0 at umass-sim0 bus 0 target 0 lun 0
  90. da0: <Netac Onlydisk Popular 3.10> Fixed Direct Access SCSI-2 device
  91. da0: 1.000MB/s transfers
  92. da0: 30MB (62016 512 byte sectors: 64H 32S/T 30C)
  93. Mounting root from ufs:/dev/ad0s1a
  94. ---------------------------------------------------------------------------------------------------
复制代码

2. pciconf:

  1. --------------------------------------------------------------------------------------------------
  2. hostb0@pci0:0:0:        class=0x060000 card=0x25608086 chip=0x25608086 rev=0x01 hdr=0x00
  3.     vendor   = 'Intel Corporation'
  4.     device   = '82845G/GL/GV/GE/PE DRAM Controller / Host-Hub I/F Bridge'
  5.     class    = bridge
  6.     subclass = HOST-PCI
  7. agp0@pci0:2:0:        class=0x030000 card=0x56418086 chip=0x25628086 rev=0x01 hdr=0x00
  8.     vendor   = 'Intel Corporation'
  9.     device   = '82845G/GL/GV/GE/PE Integrated Graphics Device'
  10.     class    = display
  11.     subclass = VGA
  12. uhci0@pci0:29:0:        class=0x0c0300 card=0x56418086 chip=0x24c28086 rev=0x01 hdr=0x00
  13.     vendor   = 'Intel Corporation'
  14.     device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1'
  15.     class    = serial bus
  16.     subclass = USB
  17. uhci1@pci0:29:1:        class=0x0c0300 card=0x56418086 chip=0x24c48086 rev=0x01 hdr=0x00
  18.     vendor   = 'Intel Corporation'
  19.     device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2'
  20.     class    = serial bus
  21.     subclass = USB
  22. uhci2@pci0:29:2:        class=0x0c0300 card=0x56418086 chip=0x24c78086 rev=0x01 hdr=0x00
  23.     vendor   = 'Intel Corporation'
  24.     device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3'
  25.     class    = serial bus
  26.     subclass = USB
  27. none0@pci0:29:7:        class=0x0c0320 card=0x56418086 chip=0x24cd8086 rev=0x01 hdr=0x00
  28.     vendor   = 'Intel Corporation'
  29.     device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB EHCI Controller'
  30.     class    = serial bus
  31.     subclass = USB
  32. pcib1@pci0:30:0:        class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x81 hdr=0x01
  33.     vendor   = 'Intel Corporation'
  34.     device   = '82801BA/CA/DB/DBL/EB/ER (ICH2/3/4/4-L/5/5R), 6300ESB Hub Interface to PCI Bridge'
  35.     class    = bridge
  36.     subclass = PCI-PCI
  37. isab0@pci0:31:0:        class=0x060100 card=0x00000000 chip=0x24c08086 rev=0x01 hdr=0x00
  38.     vendor   = 'Intel Corporation'
  39.     device   = '82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge'
  40.     class    = bridge
  41.     subclass = PCI-ISA
  42. atapci0@pci0:31:1:        class=0x01018a card=0x56418086 chip=0x24cb8086 rev=0x01 hdr=0x00
  43.     vendor   = 'Intel Corporation'
  44.     device   = '82801DB/DBL (ICH4/ICH4-L) UltraATA/100 EIDE Controller'
  45.     class    = mass storage
  46.     subclass = ATA
  47. none1@pci0:31:3:        class=0x0c0500 card=0x56418086 chip=0x24c38086 rev=0x01 hdr=0x00
  48.     vendor   = 'Intel Corporation'
  49.     device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller'
  50.     class    = serial bus
  51.     subclass = SMBus
  52. none2@pci0:31:5:        class=0x040100 card=0x02088086 chip=0x24c58086 rev=0x01 hdr=0x00
  53.     vendor   = 'Intel Corporation'
  54.     device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller'
  55.     class    = multimedia
  56.     subclass = audio
  57. none3@pci1:1:0:        class=0x020000 card=0x08031516 chip=0x08031516 rev=0x00 hdr=0x00
  58.     vendor   = 'Myson Technology Inc'
  59.     device   = '803 series PCI Ethernet controller'
  60.     class    = network
  61.     subclass = ethernet
  62. ---------------------------------------------------------------------------------------------------------------------
复制代码

3. ifconfig:

  1. --------------------------------------------------------------------------------------------------------------------
  2. plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
  3. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
  4.         inet 127.0.0.1 netmask 0xff000000
  5.         inet6 ::1 prefixlen 128
  6.         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
  7. --------------------------------------------------------------------------------------------------------------------
复制代码


请朋友们帮忙指点一下,谢谢!
回复 支持 反对

使用道具 举报

发表于 2005-2-18 19:45:24 | 显示全部楼层
pci1: <network, ethernet> at device 1.0 (no driver attached)
提示没有检测出来是什么网卡,你FreeBSD用的什么版本?
我用的也是D-LINK 530TX在 5.3 6.0都能正常使用。
你pciconf检测到的和我的不同。

none3@pci1:1:0:        class=0x020000 card=0x08031516 chip=0x08031516 rev=0x00 hdr=0x00
    vendor   = 'Myson Technology Inc'
    device   = '803 series PCI Ethernet controller'
    class    = network
    subclass = ethernet

这是我pciconf的输出

vr0@pci0:9:0:   class=0x020000 card=0x14031186 chip=0x31061106 rev=0x86 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT6105M/LOM Rhine III PCI Fast Ethernet Controller'
    class    = network
    subclass = ethernet
回复 支持 反对

使用道具 举报

发表于 2005-2-18 20:51:50 | 显示全部楼层
我的DFE-530TX rev B也是识别不出来。
回复 支持 反对

使用道具 举报

发表于 2005-2-19 22:29:36 | 显示全部楼层
是不是重新编译了内核,把这个型号的网卡支持去了?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表