LinuxSir.cn,穿越时空的Linuxsir!

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

about wireless network ? yyy ?

[复制链接]
发表于 2007-12-4 03:44:51 | 显示全部楼层 |阅读模式
/etc/network/interfaces


iface lo inet loopback
allow-hotplug eth2
iface eth2 inet static
wireless-essid dd-wrt
wireless-channel 10
address 192.168.1.103
netmask 255.255.255.0
gateway 192.168.1.1
#iface lo inet loopback


interfaces: line 4: iface: command not found
interfaces: line 5: allow-hotplug: command not found
interfaces: line 6: iface: command not found
interfaces: line 7: wireless-essid: command not found
interfaces: line 8: wireless-channel: command not found
interfaces: line 9: address: command not found
interfaces: line 10: netmask: command not found
interfaces: line 11: gateway: command not found

????yyyyy
发表于 2007-12-4 07:40:32 | 显示全部楼层
貌似无线网卡未被启用,/sbin/ifconfig -a 的输出结果是?
回复 支持 反对

使用道具 举报

发表于 2007-12-4 09:47:51 | 显示全部楼层
那个文件是个配置文件,不是script

/etc/init.d/networking restart
回复 支持 反对

使用道具 举报

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

本版积分规则

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