灰儿 发表于 2019-2-27 17:55:44

ifconfig报错:SIOCSIFFLAGS: Operation not permitted

ifconfig报错:SIOCSIFFLAGS: Operation not permitted

# insmod mt7601Usta.ko

rtusb init rt2870 --->
usbcore: registered new interface driver rt2870



# iwconfig
lo      no wireless extensions.

eth0      no wireless extensions.

ra0       Ralink STAESSID:"11n-AP"Nickname:"MT7601STA"
          Mode:AutoFrequency=2.412 GHzAccess Point: Not-Associated   
          Bit Rate:1 Mb/s   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=10/100Signal level:0 dBmNoise level:0 dBm
          Rx invalid nwid:0Rx invalid crypt:0Rx invalid frag:0
          Tx excessive retries:0Invalid misc:0   Missed beacon:0



# ifconfig ra0 up
unlink cmd rsp urb
ifconfig: SIOCSIFFLAGS: Operation not permitted



原因:/etc/Wireless/RT2870STA/RT2870STA.dat 该文件找不到导致的。



解决:将驱动对应的dat文件拷贝对应目录,就没问题了

$cp RT2870STA.dat/etc/Wireless/RT2870STA/RT2870STA.dat

页: [1]
查看完整版本: ifconfig报错:SIOCSIFFLAGS: Operation not permitted