删除txt文本中的行

/etc/Wireless/RT73STA/rt73sta.dat的配置是十分重要的,在这上面花了很多时间嘿嘿! [Default] CountryRegion=0 CountryRegionABand=7 WirelessMode=0 SSID=isassid NetworkType=Infra      //修改,原来是Adhoc Channel=7               //根据AP修改 AuthMode=WEPAUTO         //修改 EncrypType=WEP            //加密方式 DefaultKeyID=0            //修改原来是1,修改后Key1生效 Key1Type=0               Key1Str=                //密码 Key2Type=0 Key2Str= Key3Type=0 Key3Str= Key4Type=0 Key4Str= WPAPSK=abcdefghijklmnopqrstuvwxyz TxBurst=0 PktAggregate=0 TurboRate=0 WmmCapable=0 AckPolicy=0;0;0;0 BGProtection=0 IEEE80211H=0 TxRate=9                  //根据AP计算调整 RTSThreshold=2347 FragThreshold=2346 PSMode=CAM TxPreamble=0 AdhocOfdm=0 FastRoaming=0 RoamThreshold=70 iwlist rausb0 scan Warning: Driver for device rausb0 has been compiled with version 20 of Wireless Extension, while this program supports up to version 17. Some things may be broken... rausb0    Scan completed :           Cell 01 - Address: 00:13:46:51:6B:2B                     ESSID:"isassid"                     Mode:Managed                     Channel:7                  //对应修改                     Encryption key:on                     Bit Rate:3 Mb/s            //3×8=24MBPS iwconfig lo        no wireless extensions. eth0      no wireless extensions. sit0      no wireless extensions. Warning: Driver for device rausb0 has been compiled with version 20 of Wireless Extension, while this program supports up to version 17. Some things may be broken... rausb0    RT73 WLAN  ESSID:"isassid"           Mode:Managed  Channel=7  Access Point: 00:13:46:51:6B:2B           Bit Rate=18 Mb/s           RTS thr:off   Fragment thr:off           Encryption key:1111-1111-11           Link Quality=40/100  Signal level:-76 dBm  Noise level:-115 dBm           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0 这就说明成功的加入了AP. ping 192.168.0.1 PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. 64 bytes from 192.168.0.1: icmp_seq=0 ttl=255 time=3.99 ms
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值