ubuntu 路由上网
四 10th
ubuntu(9.04,9.10,10.04) 路由上网
1.sudo pppoeconf 先设置好拨号上网按照提示输入用户名和密码。
2.sudo gvim /etc/network/interfaces
预先做好备份。copy如下。
View Code SHELL
auto lo iface lo inet loopback auto dsl-provider iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider dsl-provider auto eth0 iface eth0 inet dhcp |
3.sudo /etc/init.d/networking restart 重启一下
查看路由状态命令。
命令:route
大功告成。
出处: 马丁博客[http://www.blags.org/]
本文链接地址: http://www.blags.org/ubuntu-internet-routing/
原创文章,转载请注明出处,否则视为侵权。
你同时应该掌握的知识
- ubuntu 性能优化 - (5 comments)
- linux 之间ssh无密码登录 - (3 comments)
- ubuntu 短密码设置 - (3 comments)
- ubuntu 安装 ffmpeg php-ffmpeg - (2 comments)
- red hat centos 安装 yum - (3 comments)
- Ubuntu使用经验分享 - (3 comments)
- ubuntu windows 文件共享 - (2 comments)
- ubuntu 语音通话软件 skype - (没有评论)
- ubuntu ip 设置 启动 - (1 评论)
- ubuntu gnome 自定义快捷键方法 - (1 评论)
