×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

问着了

本文发表在 rolia.net 枫下论坛The following may prove useful in support of this:

=====
How to force the HME card to work at 100mb (full-duplex).

If the auto negotiate does not work, then the 100-MB full-duplex mode
can be forced to run at 100-MB, Full-Duplex using the following:

Please try (if using /etc/rc2.d/S99...)

ndd -set /dev/hme instance 0
ndd -set /dev/hme adv_100T4_cap 0
ndd -set /dev/hme adv_100fdx_cap 1
ndd -set /dev/hme adv_100hdx_cap 0
ndd -set /dev/hme adv_10fdx_cap 0
ndd -set /dev/hme adv_10hdx_cap 0
ndd -set /dev/hme adv_autoneg_cap 0

or (if using /etc/system)

set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100T4_cap=0
set hme:hme_adv_100fdx_cap=1
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_10fdx_cap=0
set hme:hme_adv_10hdx_cap=0

Note that the order does make a difference.
The link is re-negotiated when the interface is
ifconfig'ed up or when ndd ndd adv_autoneg_cap command is executed.

======

How to force the HME card to work at 10mb (full-duplex).

The section "10FDX" includes how to force the HME card to work at 10 MB
(full-duplex). You can either put the commands in the /etc/system file
or in a startup script -- i.e. /etc/rc2.d/S99hme_config. Another way
is to make the changes from the command line -- using the "ndd" command using
the syntax below. But it is better to put the commands in /etc/system or a
startup script to preserve the environment accross reboots.

10FDX only

/etc/system

set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100T4_cap=0
set hme:hme_adv_100fdx_cap=0
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_10fdx_cap=1
set hme:hme_adv_10hdx_cap=0

ndd commands

ndd -set /dev/hme instance 0
ndd -set /dev/hme adv_100T4_cap 0
ndd -set /dev/hme adv_100fdx_cap 0
ndd -set /dev/hme adv_100hdx_cap 0
ndd -set /dev/hme adv_10fdx_cap 1
ndd -set /dev/hme adv_10hdx_cap 0
ndd -set /dev/hme adv_autoneg_cap 0

=======
Is the hme interface running at 10BaseT or 100BaseT

How do you tell if the hme interface is actually linked up at 10 Mbps or 100
Mbps?

Answer:

# ndd -get /dev/hme link_status
# ndd -get /dev/hme link_speed
# ndd -get /dev/hme link_mode


link_status (read only)
0 for Link Down
1 for Link up

link_speed (read only)
0 for 10 Mbps
1 for 100 Mbps

link_mode (read only)
0 for Half-Duplex mode
1 for Full-Duplex mode

=======

Start DHCP using:

touch /etc/dhcp.hme0
( 如果你的网卡不是hme0, 用它的driveName like qfe0, le0, fe0 etc)
then
ifconfig /dev/hme0 dhcp start
to start the DHCP client.

You can also use
ifconfig /dev/hme0 dhcp status
查看

自从@home 完蛋之后,Rogers 不用你的HOSTNAME 和他给你的一致了。更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / SOLARIS联网问题请教高手(看正文)
    本人在SOLARIS上使用网络系统时碰到以下问题,请高手指教(网卡驱动已经安装):
    1.本人使用的网卡为10/100MB自适应网卡,在SOLARIS(INTEL)上如何将其强制设成10MB全双工?(因为我发现在WINDOWS 98/2000时,如果用100MB全双工就无法连到路由器,改为10MB全双工后就可以了,估计是路由器端的HUB有问题)
    2.本人想使用SOLARIS通过CABLE上网,路由器为LINKSYS(提供8个以太网口),其中路由器已经设成DHCP服务器,其地址为:192.168.1.1, 请问在SOLARIS上如何配置, 才能访问INTERNET?
    • 问着了
      本文发表在 rolia.net 枫下论坛The following may prove useful in support of this:

      =====
      How to force the HME card to work at 100mb (full-duplex).

      If the auto negotiate does not work, then the 100-MB full-duplex mode
      can be forced to run at 100-MB, Full-Duplex using the following:

      Please try (if using /etc/rc2.d/S99...)

      ndd -set /dev/hme instance 0
      ndd -set /dev/hme adv_100T4_cap 0
      ndd -set /dev/hme adv_100fdx_cap 1
      ndd -set /dev/hme adv_100hdx_cap 0
      ndd -set /dev/hme adv_10fdx_cap 0
      ndd -set /dev/hme adv_10hdx_cap 0
      ndd -set /dev/hme adv_autoneg_cap 0

      or (if using /etc/system)

      set hme:hme_adv_autoneg_cap=0
      set hme:hme_adv_100T4_cap=0
      set hme:hme_adv_100fdx_cap=1
      set hme:hme_adv_100hdx_cap=0
      set hme:hme_adv_10fdx_cap=0
      set hme:hme_adv_10hdx_cap=0

      Note that the order does make a difference.
      The link is re-negotiated when the interface is
      ifconfig'ed up or when ndd ndd adv_autoneg_cap command is executed.

      ======

      How to force the HME card to work at 10mb (full-duplex).

      The section "10FDX" includes how to force the HME card to work at 10 MB
      (full-duplex). You can either put the commands in the /etc/system file
      or in a startup script -- i.e. /etc/rc2.d/S99hme_config. Another way
      is to make the changes from the command line -- using the "ndd" command using
      the syntax below. But it is better to put the commands in /etc/system or a
      startup script to preserve the environment accross reboots.

      10FDX only

      /etc/system

      set hme:hme_adv_autoneg_cap=0
      set hme:hme_adv_100T4_cap=0
      set hme:hme_adv_100fdx_cap=0
      set hme:hme_adv_100hdx_cap=0
      set hme:hme_adv_10fdx_cap=1
      set hme:hme_adv_10hdx_cap=0

      ndd commands

      ndd -set /dev/hme instance 0
      ndd -set /dev/hme adv_100T4_cap 0
      ndd -set /dev/hme adv_100fdx_cap 0
      ndd -set /dev/hme adv_100hdx_cap 0
      ndd -set /dev/hme adv_10fdx_cap 1
      ndd -set /dev/hme adv_10hdx_cap 0
      ndd -set /dev/hme adv_autoneg_cap 0

      =======
      Is the hme interface running at 10BaseT or 100BaseT

      How do you tell if the hme interface is actually linked up at 10 Mbps or 100
      Mbps?

      Answer:

      # ndd -get /dev/hme link_status
      # ndd -get /dev/hme link_speed
      # ndd -get /dev/hme link_mode


      link_status (read only)
      0 for Link Down
      1 for Link up

      link_speed (read only)
      0 for 10 Mbps
      1 for 100 Mbps

      link_mode (read only)
      0 for Half-Duplex mode
      1 for Full-Duplex mode

      =======

      Start DHCP using:

      touch /etc/dhcp.hme0
      ( 如果你的网卡不是hme0, 用它的driveName like qfe0, le0, fe0 etc)
      then
      ifconfig /dev/hme0 dhcp start
      to start the DHCP client.

      You can also use
      ifconfig /dev/hme0 dhcp status
      查看

      自从@home 完蛋之后,Rogers 不用你的HOSTNAME 和他给你的一致了。更多精彩文章及讨论,请光临枫下论坛 rolia.net
      • 先谢谢! 以后还会请教!
      • 我试了一下,还是不行. 请指教!
        我用的是SOLARIS 8 FOR INTEL. 有些命令和SPARC上的好象有点不同. 我用的网卡为INTEL的. 开始安装时没有设成DHCP, 采用固定地址
        IP ADDRESS:192.168.1.3,
        HOSTNAME: :gst
        defaultrouter:192.168.1.1
        启动后, 用PING命令ping gst可以通,
        ping 192.168.1.1不通.

        用你教的方法改过后, 启动机器时出现以下信息:
        configuring IPV4 Interfaces:iprb0
        Starting DHCP on preimary interface iprb0
        ip con: wait timed out. opration still pending.
        ....

        机器启动后,用ifconfig看不到iprb0上有IP地址.
        你是否可以给我一个完整的安装指导?(SOLARIS 8 FOR INTEL)
        多谢!
    • 问题是你的网络连接
      你的私网连接有问题,
      不是设定的问题

      你设为STATIC还PING不到
      应该查查网线、网卡,ROUTER的配置,子网掩马
      10M/100M 应该是自适应的,不应该要设死

      最简单,用个PC 连上去ROUTER 试下
      连去SUN试下

      其实WIN ME/2000/XP 下的INTERNET 共享就很好用嘛
      用两个网卡就得了
      干吗花100多,买ROUTER 啊?
      • 谢谢! 但我主要想通过SOLARIS上网学习SOLARIS,问题见正文.
        因为我租别人的房子,这里共有5台计算机连到HUB, 我的网卡是10/100MB自适应, 但如果设为自动检测, 则出现网络连接正常(WINDOWS XP显示已经连上),但PING路由器不通. 如果改为10MB全双工,则一切正常!!! 也就是说,我的机器在10MB的速率下,上网是正常的.
        在WINDOWS下联网上WWW.SUN.COM网站没有任何问题. 我经常浏览WWW.SUN.COM. 但用SOLARIS就不行,所以讨教.
        因为ROUTER是户主的,我不能改任何东西, 就知道路由器的IP地址和子网掩码.
        我以前一直用SCO UNIX, 该UNIX对网络的配置十分容易(它的SYSADMIN管理工具提供了很大的方便), 也安装使用过AT&T UNIX, IBM AIX, 好象网络的配置都很简单, SOLARIS也用过, 但没有自己安装过.
        有什么好建议吗? 请指教为谢!
        • 改你的SOLARIS NIC为10M full duplex 吧
          你应该用ndd 把你的网卡设为10M full duplex
          Solaris 的没有相应的管理工具。
          Solaris 的管理没有HP-UX, AIX那么方便

          先设成Static,ping 一下 Router,
          如果网络没问题,DHCP no problem
        • 如果你是直连hub的时候出问题,那就是那个hub不好啦.你机器应该没有问题了.按照上面朋友说的.用10M的连就行了