红联Linux门户
Linux帮助

改不了网关,上不了网

发布时间:2008-04-06 13:09:02来源:红联作者:god0906
装了三次红旗6.0 sp1.一次红旗6.0 就第一次装6.0 sp1时可以上网,网络设置里网关明明设的是192.168.1.1,eth0里设置也是192.168.1.1,但是网络状况里接受和发送都没有数据,ifconig 看到的却是192.168.1.254 别的都对的,就是网关改不了,右下角有连接我连接时也提示连接成功,
文章评论

共有 3 条评论

  1. god0906 于 2008-04-07 02:06:06发表:

    时局域网上网,X Error: BadMatch (invalid parameter attributes) 8
    Major opcode: 158
    Minor opcode: 6
    Resource id: 0x45
    getAllIfs:add if eth0.
    getAllIfs:add if eth0.
    getAllIfs:add if eth0.

    Usage:

    Usage:
    net time to view or set time information
    net lookup to lookup host name or ip address
    net user to manage users
    net group to manage groups
    net sam to edit the local user database directly
    net lookup to look up various things
    net groupmap to manage group mappings
    net join to join a domain
    net cache to operate on cache tdb file
    net getlocalsid [NAME] to get the SID for local name
    net setlocalsid SID to set the local domain SID
    net setdomainsid SID to set the domain SID on member servers
    net changesecretpw to change the machine password in the local secrets database only
    this requires the -f flag as a safety barrier
    net status Show server status
    net usersidlist to get a list of all users with their SIDs
    net usershare to add, delete and list locally user-modifiable shares

    net ads to run ADS commands
    net rap to run RAP (pre-RPC) commands
    net rpc to run RPC commands

    Type "net help

  2. xlsogb 于 2008-04-06 15:28:56发表:

    把DNS也设上,跟网关一起为静态

  3. yezhulin1982 于 2008-04-06 13:29:34发表:

    不知道你是采用什么方式上网:
    ADSL拨号
    Routing