LinuxSir.cn,穿越时空的Linuxsir!

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

debian下如何使用usb网卡?

[复制链接]
发表于 2006-11-16 17:42:42 | 显示全部楼层 |阅读模式
为建局域网,要在机器上装双网卡。内置网卡正常工作正常,现在又插了一usb接口的网卡。lsusb能正常显示该usb网卡的存在,可ifconfig就是看不到它!
请问该如何配置这块网卡,谢谢!

PS:
lsusb的结果如下:
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 003: ID 07a6:8511 ADMtek, Inc. ADM8511 Pegasus II Ethernet
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0ed1:6680 WinMaxGroup USB Flash Disk 64M-B
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 046d:c016 Logitech, Inc. Optical Mouse
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
发表于 2006-11-17 16:13:26 | 显示全部楼层
modprobe pegasus
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-17 17:22:30 | 显示全部楼层
Post by realtang
modprobe pegasus


eth0是内置网卡,这样接口的网卡应该显示eth1了吧,
可这么做过之后,ifconfig还是看不到它!!
回复 支持 反对

使用道具 举报

发表于 2006-11-17 19:37:10 | 显示全部楼层
1 make sure your driver is ok
2 ifconfig ethX up (X stands for 1/2/3/4/5/6...)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-17 21:25:31 | 显示全部楼层
Post by 超级用户
1 make sure your driver is ok
2 ifconfig ethX up (X stands for 1/2/3/4/5/6...)


pegasus就是usb网卡的驱动吧!加载了pegasus模块后,
lsmod | grep pegasus的结果如下:
pegasus                22280  0
usbcore               104292  6 ehci_hcd,pegasus,uhci_hcd,usbhid
可是ifconfig还是看不到它,难道驱动还要手动安装?
回复 支持 反对

使用道具 举报

发表于 2006-11-17 21:30:11 | 显示全部楼层
try !
ifconfig eth1 up
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-18 09:01:10 | 显示全部楼层
Post by 超级用户
try !
ifconfig eth1 up

这么做之后,果然看到了
eth1   Link encap:Ethernet  HWaddr 00:00:E8:2B:35:2C
          inet6 addr: fe80::200:e8ff:fe2b:352c/64 Scopeink
          UP BROADCAST MULTICAST  MTU:1536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:4 dropped:0 overruns:0 carrier:4
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:378 (378.0 b)
谢谢!
回复 支持 反对

使用道具 举报

发表于 2006-11-18 09:15:16 | 显示全部楼层
nano your /etc/network/interface for it
回复 支持 反对

使用道具 举报

发表于 2006-11-24 02:15:53 | 显示全部楼层
超级用户师傅能告诉我怎么加栽KANOPPIX和KANOTIX系统加载USB的无线网卡ORINOCO USB Client
http://www.linuxsir.cn/bbs/showthread.php?t=282411
回复 支持 反对

使用道具 举报

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

本版积分规则

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