|
我的adsl连接电信,获得动态ip,并在adsl设置中设置路由方式,设置用户名密码后设置adsl开机自动拨号上网,并关闭adsl中的dhcp!我是单机上网!redhat 9.0!关闭了防火墙(在network文件中
现在一进网络配置就显示“例外”!!!只能对以下几个配置文件进行设置!!
xp下网卡设置和linux一样,并设置网卡里面的dns为10.0.0.138(不设置dns则会出现和linux一样的状况!!能够ping通:10.0.0.1 127.0.0.1 10.0.0.138 但是ping其他就不行了!网页只打的开10.0.0.138!
打开其他地址显示连接被拒绝!!!
linux下是这样:
已经能够ping通:10.0.0.1 127.0.0.1 10.0.0.138 但是ping其他就不行了!网页只打的开10.0.0.138!
打开其他地址显示你试图连接。。连接被拒绝!!!
怎么办?
我的ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=none
BROADCAST= 10.0.0.255
IPADDR=10.0.0.1
NETMASK=255.255.255.0
NETWORK=10.0.0.138
ONBOOT=yes
USERCTL=no
PEERDNS=no
TYPE=Ethernet
resolv.conf文件:
nameserver 10.0.0.138
etc/sysconfig/network文件:
NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=localhost.localdomain
DOMAINNAME=localdomain
GATEWAY=10.0.0.138
GATEWAYDEV=eth0
一进网络配置就显示“例外”!!!
内容是
:Component: redhat-config-network
Version: 1.2.0
Summary: TB /usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDeviceFactory.py:43:getDeviceClass:KeyError: Loopback
Traceback (most recent call last):
File "/usr/sbin/internet-druid", line 149, in ?
interface = NewInterfaceDialog()
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/NewInterfaceDialog.py", line 87, in __init__
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/TokenRingInterface.py", line 41, in __init__
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDeviceList.py", line 210, in getDeviceList
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDeviceList.py", line 114, in load
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDeviceFactory.py", line 43, in getDeviceClass
KeyError: Loopback
Local variables in innermost frame:
subtype: None
self: {'Wireless': {0: <class netconfpkg.plugins.NCDevWireless.DevWireless at 0x850e8a4>}, 'Token Ring': {0: <class netconfpkg.plugins.NCDevTokenRing.DevTokenRing at 0x852c754>}, 'CIPE': {0: <class netconfpkg.plugins.NCDevCipe.DevCipe at 0x84c72b4>}, 'Ethernet': {0: <class netconfpkg.plugins.NCDevEthernet.DevEthernet at 0x84b03a4>}, 'Modem': {0: <class netconfpkg.plugins.NCDevModem.DevModem at 0x84ba7fc>}, 'xDSL': {0: <class netconfpkg.plugins.NCDevADSL.DevADSL at 0x84aa57c>}, 'ISDN': {0: <class netconfpkg.plugins.NCDevIsdn.DevIsdn at 0x8524214>}}
type: Loopback
!!谢谢!!! |
|