LinuxSir.cn,穿越时空的Linuxsir!

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

gentoo 启动网卡出现错误

[复制链接]
发表于 2008-6-19 16:05:16 | 显示全部楼层 |阅读模式
gentoo 终于安装完了,启动的时候出现了如下错误:
/etc/conf.d/net: line 5: config_eth0: command not found
/etc/conf.d/net: line 6: routes_eth0: command not found


/etc/conf.d/net 的内容如下:
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0 = { "192.168.0.146/24" }
routes_eth0 = { "default via 192.168.0.251" }

我是新手,
那位大侠帮帮忙,如何解决这个问题 ,在下先谢谢了
发表于 2008-6-19 16:39:18 | 显示全部楼层
config_eth0=( "192.168.0.146/24" )
routes_eth0=( "default via 192.168.0.251" )
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-19 20:28:32 | 显示全部楼层
谢谢 david19842003
下班的路上我想到了是括号的问题,明天上班改过来看看
回复 支持 反对

使用道具 举报

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

本版积分规则

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