求教-ubuntu下如何模拟3G USB无线网卡的拔插

sh/bash/dash/ksh/zsh等Shell脚本
回复
cablesassembly
帖子: 1
注册时间: 2010-09-04 12:13

求教-ubuntu下如何模拟3G USB无线网卡的拔插

#1

帖子 cablesassembly » 2010-09-04 12:18

求教-ubuntu下如何模拟3G USB无线网卡的拔插。

请高人指教,(就是在没有拔下3G USB 网卡的前提下,用软件实现拔出,然后插上去的功能)
头像
astolia
论坛版主
帖子: 6703
注册时间: 2008-09-18 13:11

Re: 求教-ubuntu下如何模拟3G USB无线网卡的拔插

#2

帖子 astolia » 2010-09-27 2:34

卸载驱动rmmod,再加载驱动modprobe
tusooa
帖子: 6548
注册时间: 2008-10-31 22:12
系统: 践兔
联系:

Re: 求教-ubuntu下如何模拟3G USB无线网卡的拔插

#3

帖子 tusooa » 2010-09-27 22:16

估计不行。拔下去了,设备就跟电脑没联系了。难道还把usb给磁力吸引过去?

代码: 全选

] ls -ld //
aerofox
帖子: 1453
注册时间: 2008-05-24 8:30

Re: 求教-ubuntu下如何模拟3G USB无线网卡的拔插

#4

帖子 aerofox » 2010-09-28 6:37

USB Flash 盘是可以用 eject 命令“弹出”,用带 -t 的 eject 命令“插入”的,不知能不能适用USB无线网卡
回复