interfaces文件与图形界面的奇怪现象?

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
vital
帖子: 60
注册时间: 2005-11-25 22:28
送出感谢: 0
接收感谢: 0

interfaces文件与图形界面的奇怪现象?

#1

帖子 vital » 2005-11-30 12:55

我的/etc/network/interfaces文件内容原来是这样:
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider

# added by pppoeconf
auto eth0
iface eth0 inet static

pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
address 192.168.1.1
netmask 255.255.255.0

iface lo inet loopback


登录之后,还要sudo pon dsl-provider一下,才能上网adsl

为了能开机自动上网,我凭感觉改了一下该文件的内容,就是调换了一下顺序
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.


# added by pppoeconf
auto eth0
iface eth0 inet static

pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
address 192.168.1.1
netmask 255.255.255.0

auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider


iface lo inet loopback

结果登录桌面时,输入密码回车后,出来一个输入法状态条,但是桌面不能显示,我ctrl+alt+f2切换到tty1,ping了一下,发现网络已自动联上了,
究竟为什么不能登录桌面?
怎么样才能开机自动上adsl?
请教各位!
vital
帖子: 60
注册时间: 2005-11-25 22:28
送出感谢: 0
接收感谢: 0

#2

帖子 vital » 2005-12-02 19:10

补充一下,可以进入桌面,但是要等上10分钟左右吧
感觉好象自动上网的话,就很难进入桌面
怎么回事?
头像
gnix_oag
帖子: 1994
注册时间: 2005-05-19 18:38
来自: 湖南永州
送出感谢: 0
接收感谢: 1 次
联系:

#3

帖子 gnix_oag » 2005-12-02 22:38

这是我的,你看看
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0

auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider

# added by pppoeconf
auto eth0
iface eth0 inet static

pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
address 192.168.1.8
netmask 255.255.255.0
头像
Element
论坛版主
帖子: 3537
注册时间: 2005-09-10 16:04
来自: DG-GD-China
送出感谢: 0
接收感谢: 0

#4

帖子 Element » 2005-12-03 4:00

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0

# The primary network interface
iface eth0 inet dhcp

auto eth0

iface dsl-provider inet ppp
provider dsl-provider


这是我的,给LZ多一个参考。 :lol:
http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
回复

回到 “办公、图像、机械电子设计等”