室内消防系统能不能使用内外pe钢塑复合管管

solaris添加新网卡_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
solaris添加新网卡
上传于||暂无简介
阅读已结束,如果下载本文需要使用2下载券
想免费下载本文?
定制HR最喜欢的简历
下载文档到电脑,查找使用更方便
还剩3页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢1714人阅读
/etc/hostname.ce0 网卡ce的IP地址
/etc/hosts
网络中主机名的IP地址的对应表
/etc/nsswitch.conf 域名解析的方法及顺序
/etc/resolv.conf DNS
Server的地址及域名
/etc/defaultrouter 设置缺省的网关地址
/etc/inet/hosts
网络中主机名的IP地址的对应表
/etc/inet/netmasks 设置网络号及网络掩码
/etc/inet/networks
设置网络名
Solaris系统中大多数配置文件都在 /etc
目录中。配置文件可以大致分为下面几类:访问文件、引导和登录/注销、系统管理、网络配置、系统命令等。本文将要介绍的是网络配置文件,主要包括:
&&& 1. /etc/hostname.interface
该文件是物理网卡的配置文件,这个文件包括一个主机名称或者主机的IP地址。有le、hme等后缀等。le是十兆网卡,hme为百兆网卡等等。后面跟一个数字,第一个十兆网卡为le0,第二个为le1;第二个百兆网卡为hme0,第二个为hme1等。Solaris
安装程序要求您在安装过程中至少配置一个接口。自动配置的第一个接口将成为主网络接口。安装程序为主网络接口和在安装时选择配置的任何其他接口创建
/etc/hostname.interface 文件。 如果在安装过程中配置了其他接口,请验证每个接口是否有对应的
/etc/hostname.interface 文件。在 Solaris
安装过程中,无需配置多个接口。但是,如果稍后要将更多接口添加到系统中,则必须手动配置它们。
说明:如一台SUN工作站连接了Internet网和内部网,则可对应创建两个文件分为hostname.le0和hostname.le0:2。
&&& 2. /etc/nodename
&&& 在 Solaris 安装过程中指定系统的主机名时,该主机名将输入到 /etc/nodename
文件中。确保节点名称项是系统的正确主机名。如果计算机名称是cjh ,那么/etc/nodename 文件中肯定包括一行:cjh 。
&&& 3. /etc/defaultdomain
&&& /etc/defaultdomain文件包括本地主机的域名。如,假定主机 tenere 是域
的一部分。则在 /etc/defaultdomain
中包括以下信息:。
&&& 4. /etc/defaultrouter
/etc/defaultrouter包括主机的路由地址。选用动态路由协议,则可将/etc/defaultrouter文件置为空。若选择静态协议,只需在/etc/defaultrouter文件中填入缺省路由器名,这样当Unix路由器找不到寻径路由时便将IP包发往缺省路由器。
&&& 5. /etc/inet/hosts
&&& /etc/inet/hosts是主机数据库文件。主机数据库包含网络中各系统的IPv4 地址和主机名。如果使用NIS
或DNS 名称服务,或者使用LDAP 目录服务,则hosts 数据库在专门存储主 机信息的数据库中进行维护。例如,在运行NIS 的网络中,hosts
数据库在hostsbyname 文件中进行维护。如果使用本地文件提供名称服务,则hosts 数据库将在/etc/inet/hosts
文件中维护。此文件包含主网络接口的主机名和IPv4 地址、连/etc/inet/hosts 文件格式:
IPv4-address hostname [nicknames] [#comment]
&&& IPv4-address
包含本地主机必须识别的每个接口的IPv4 地址。
&&& hostname
包含设置期间指定给系统的主机名,以及指定给本地主机必须识别的
其他网络接口的主机名。
&&& [nickname] 包含主机昵称的可选字段。
[#comment] 是可选的注释字段。接到系统的其他网络接口的主机名和IPv4
地址以及系统必须检查的其他网络地址。
&&& 一个典型文件如下:
Internet host table
&&& 127.0.0.1
&&& 10.1.1.8 suncjh loghost
说明:其中127.0.0.1 是回送地址。回送地址是本地系统用来允许进程间通信的保留网络接口。主机可使用此地址将数据包发送给自己。ifconfig
命令使用回送地址进行配置和测试。
&&& 6. /etc/inet/ipnodes
&&& /etc/inet/ipnodes 文件同时存储IPv4 和IPv6
地址。此外,也可以存储以传统的点分十进制或CIDR 表示法表示的IPv4 地址。此文件作为将主机名与其IPv4 和IPv6 地址进行关联的本地数据库。
&&& 7. /etc/inet/netmasks
&&& /etc/inet/netmasks是子网掩码数据库。如果在网络中设置了子网,则配置网络时只需要编辑netmasks
数据库。netmasks数据库由网络及其关联的子网掩码的列表组成。创建子网时,每个新网络必须是单独的物理网络。不能在单个物理网络中设置子网。
&&& 对于 C 类网络号 192.168.83,请键入:192.168.83.0 255.255.255.0;对于
CIDR 地址,将网络前缀转换为等效的用点分十进制表示法表示的项。例如,使用以下内容可以表示 CIDR 网络前缀 192.168.3.0/22。
&&& 假设有一台Sun 服务器
&&& 主机名称:cjh1
&&& IP地址:192.168.1.2 ,
子网掩码:255.255.255.0,
默认路由:192.168.1.1。
&&& 我们准备把它修改为:
主机名称:suncjh ,
&&& IP地址:10.1.1.8 ,
子网掩码:255.0.0.0,
&&& 默认路由:10.0.0.0。
步骤如下:
&&& 1 首先必须获得管理员权限或者授权角色用户。
&&& 2 进入etc目录。
&&& 3 使用vi或者其他编辑器打开文件:/etc/nodename 。将主机名称:cjh1 修改为suncjh
&&& 4 编辑网络端口配置文件:hostname.eri0, 将主机名称:cjh1 修改为suncjh
。同时把Ip地址修改为10.1.1.8 。
编辑/etc/inet/hosts文件,删除包括原来主机名称的一行,加入一行:
&&& 10.1.1.8 suncjh
其中是主机suncjh的域名。
&&& 6 在文件/etc/defaultdomain加入域名:
&&& 7 编辑文件/etc/defaultrouter
把192.168.1.1修改为 10.0.0.0 。
&&& 8 修改子网掩码数据库文件/etc/inet/netmasks
删除一行:
&&& 192.168.1.1 255.255.255.0
加入它一行:
&&& 10.0.0.0 255.0.0.0
&&& 9 重新引导系统,使用命令:
&&& reboot -- -r
&&& 10查看修改是否生效
? 使用ifconfig查看ip地址结果如图1 。
图1 ? 使用ifconfig查看ip地址结果
&&& 说明:下表介绍了 ifconfig
查询中的变量信息。使用图1输出作为示例。
? 使用hostmane查看主机名称如图2 。
图2 使用hostmane查看主机名称
? 使用netstat -r 查看路由表如图3 。
图3 使用netstat -r 查看路由表
&&& 另外如果您希望临时修改服务器的ip地址可以使用ifconfig命令:
ifconfig pcn0 192.168.6.25/27 broadcast + up
&&& 对 IPv4 地址使用 CIDR 表示法时,不必指定网络掩码。ifconfig
使用网络前缀标识来确定网络掩码。例如,对于 192.168.6.0/27 网络,ifconfig 设置网络掩码 ffffffe0。如果使用了更常见的 /24
前缀标识,则生成的网络掩码是 ffffff00。使用 /24 前缀标识相当于在配置新 IP 地址时为 ifconfig 指定网络掩码
255.255.255.0。这样服务器的IP地址会马上修改为192.168.6.25,需要说明的重新引导系统,则系统会恢复到其以前的 IP
地址和子网掩码和主机名称。这一点和linux是相同的。
&&& 到此为止Solaris 10服务器网络接口配置基本结束了。
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:74343次
排名:千里之外
原创:11篇
转载:17篇
(1)(1)(15)(5)(6)网页设计教程与开发
提供各种常见网页效果
提供各种各样的设计教程
装扮QQ,让QQ变得更酷
设计参考,提高自升水平
学习服务器和操作系统
提供各种素材和工具
收藏学习资料
您现在的位置:&&>>&&>>&&>>&正文
Solaris 9 X86网卡(D-LINK DFE-530TX)安装成功文档
前一段时间在solaris9 x86安装过一个8139网卡驱动,当时没有写文档,前几天有个朋友需要帮忙安装8139网卡驱动,而且论坛上也有很多朋友问此类的问题,非常遗憾!!!这次安装D-LINK DFE-530TX网卡驱动成功以后,把主要的步骤写出来,主要是从解决solaris9 x86安装不兼容网卡的思路上对大家有所帮助!!!!
一、 基本信息:
1、 PC基本硬件信息:
微星主板;P4 1.8MHZ,内存512MB,硬盘40GB,网卡:D-LINK DFE-530TX,显卡: nvidia RIVA TNT2
2、 操作系统信息:windows 2000 +solaris9 x86
3、 现有状况:windows 2000 和solaris9 x86都已安装成功,win2000也能够上网,但是solaris9能够正常启动,但是网卡不能正常工作。
二、 solaris9 x86安装网卡D-LINK DFE-530TX过程:
1、 使用sys-unconfig命令还是不能找到网卡。
用sys-unconfig命令可以改变主机名、时区等,但是不能设置网络信息。
郁闷啊!!!
2、 从http://www.solaris-x86.org/ 网站查看solaris9 x86兼容性列表:
/bigadmin/hcl/data/9/components/views/networking.html
发现solaris9 x86不兼容D-LINKD-LINK DFE-530TX。
哦!!我可以到D-LINK网站下载驱动!!嘿嘿!!
3、 从D-LINK网站查找D-LINK DFE-530TX对于solaris的驱动程序:/products/view.asp?productid=DFE%2D530TX
但是D-LINK DFE-530TX没有对unix系统支持的网卡驱动。
老天啊!!!
4、 从solaris http://solaris-x86.org/software/drivers/网站找一下:
发现里面有很多网卡的驱动程序啊!!!/mrym3/taiyodo/rh-1.0.9.tar.gz
下载D-LINK DFE-530TX驱动程序
5、 安装D-LINK DFE-530TX驱动过程
由于网络不通只能刻盘(问题:不知道usb可不可以使用啊?),100K的文件我刻了一张盘(呜呜呜!!好惨啊!!)
拷贝文件到系统上
#gzip Cd rh-1.0.9.tar.gz
#tar xvf rh-1.0.9.tar
cd rh-1.0.9
查看README.txt
安装驱动程序:
1)# /usr/ccs/bin/make install
/usr/sbin/install -f /kernel/drv -m 755 -u root -g sys ./i386/rh
new owner is root
./i386/rh installed as /kernel/drv/rh
cp /etc/system /etc/system.norh
echo "exclude: rh" && /etc/system.norh
2)# ./adddrv.sh
exit status = 0
System configuration files modified but rh driver not loaded or attached.
Driver (rh) installed.
3)# modload obj/rh
4)# devfsadm -i rh
5)# ifconfig rh0 plumb
6)# ifconfig -a
lo0: flags=1000849&UP,LOOPBACK,RUNNING,MULTICAST,IPv4& mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
rh0: flags=1000842&BROADCAST,RUNNING,MULTICAST,IPv4& mtu 1500 index 2
inet 0.0.0.0 netmask 0
ether 0:40:5:15:88:dc
# ifconfig rh0 192.0.0.160 netmask 255.255.255.252 up
# route add default 192.0.0.10
6、 测试正常
# ping 192.0.0.160
192.0.0.160 is alive
# ping 192.0.0.10
192.0.0.10 is alive
三、solaris9存在问题:
1、 不知道usb可不可以使用啊?
如果可以,可以帮助很多朋友把下载的驱动传到solaris9上!!而不用刻盘了!!希望有朋友能够补充usb使用方法?
2、 solaris9 X86启动需要人工干预(按n多的F2),很是不爽,有没有好的方法,让他自己启动?希望有朋友能够补充
四、附件:从http://solaris-x86.org/网站可下载的网卡驱动程序:
solaris X86网卡驱动下载网址:
/mrym3/taiyodo/eng/index.htm
可支持的网卡驱动类型:找到相应的网卡驱动,按照readme文件安装应该就可以!!
Free NIC drivers for Solaris
________________________________________
What's new?
07/04/2004 bcf updated and ni supported PnP ISA NE2000.
05/03/2004 Rh fixed for invalid mac address problem in built-in rhine II.
04/01/2004 VIA rhine driver was updated and released under the BSD license.
01/30/2004 PCMCIA NE2000 driver (pcni) ready for solaris9
01/19/2004 sis900/dp83815 driver updated. The previous revisions may panic the system under heavy ethernet traffic.
________________________________________
CAUTION: They are NO WARRANTY and distributed under LGPL or the BSD license.
0. General Descriptions
As device drivers are loaded in the kernel space, they may cause serious problems i.e. panic or system hang. Please ensure that the driver works fine before you install it into /kernel directory. Some testing methods are described in README in the distributions.
I started some following works with porting Linux nic drivers into Solaris. But I have re-written all of them not to use Linux driver codes, as I was pointed out that it was violation of GPL to link GPL drivers into properiety kernel.
Now licensing of the drivers is under changing. Formerly the drivers were distributed under LGPL, but the new releases will be distributed under the BSD license.
For sparc platforms, it needs solaris8 10/01 or later. You also need C compiler, escpecially gcc3.x to make 64bit binaries, as compiled binaries for sparc are not included in the distributions. You can also use C compilers in Sun products.
For x86 platforms, it needs to disable PnP OS or ACPI in BIOS setting to avoid incorrect IRQ assignment problem in Solaris x86. You also should assign IRQs to all devices on board in BIOS setting even if Solaris doesn't use them.
1. pctc driver for 3COM 3C589 PCMCIA cards
This is an alternative of Solaris pcelx driver which did not work with E version of 589 cards. But now a work around is known for pcelx, that is creating /kernel/drv/pcelx.conf file that includes following line.
force-8bit=1;
If you are interrested in a source code, down load below.
Tested OS Version: Solaris8 10/00 x86
Tested Hardware: EtherLink III 3C589C, EtherLink III 3C589D, Megahertz 3C589ET
Source file with x86 binary pctc-0.8.4b.tar.gz (beta test version)
Hot plug is not supported.
2. sfe driver for DP83815 and SiS900 fast ethernet chips
Tested OS version: Solaris8 10/00 x86, Solaris9 12/02 x86, Solaris9 sparc
Tested chips (PCI card product):
DP83815CVNG (Netgear FA311)
DP83815 (HP Pavilion ZE4100, thank to Ben)
DP83815DVNG (NetGear FA311 on sparc, thank to Peter & www.itserv.de)
DP83815 (NetGear FA312 in a Dell PowerEdge 1300, dual 500 MHz cpu's, thank to fred)
SiS900 (Melco BUFFALO LYG-PCI-TXC)
SiS900-core in SiS630ET chip set (thank to Rahul)
SiS900-core in SiS730 chip set (thank to Sytse)
SiS900-core in SiS963 south bridge of SiS648 chip set (thank to Matthias)
It likely work with DP83815 based Netgear FA312 and I-O DATA ET100-PCI-L, but WOL is not supported.
It will work with DP83816 but isn't tested yet.
sfe-1.0.0 or before may panic the system under heavy ethernet traffic. Please use the latest revison.
Source file with x86 binary: sfe-1.0.4.tar.gz
3. rh driver for VIA Rhine family fast ethernet chips
Tested OS version: Solaris8 10/00 x86, Solaris9 12/02 x86, Solaris8 sparc, Solaris9 sparc
Tested chips (PCI card product):
DL10030/VT86C100A (Rhine I), Corega FastEtherII PCI TX
(Thank to Sentil and Koshida)
DL10030, D-Link DFE-530TX (Thank to Chris)
DL10030A, D-Link DFE-530TX (Thank to Vanguard)
VT6102 (Rhine II), Planex communications FNW9702-T3
RhineII in VT8231 South-bridge (VIA EPIA MINI-99vX, model epia-800 motherboard, Thank to Sytse)
RhineII in VT8235 South-bridge (VIA P4MA Pro Mainboard and Biostar's Mainboard, Thank to Jim)
VT6105 (Rhine III), Corega PCI-TXA
Source file with x86 binary: rh-1.0.9.tar.gz
Rh driver is ready for VT6105M chips, but not tested.
4. rf driver for Realtek RTL 8129 / 813x / 810x family fast ethernet chips
Realtek also provides their binay driver. Please refer .tw.
Tested OS version: Solaris8 10/00 x86, Solaris9 12/02 x86, Solaris9 sparc
Tested chips (PCI card product):
RTL8139A (Surecom EPX-320X-R) Thank to Deniz
RTL8139C (Corega, FEther PCI-TXS)
RTL8139D (Surecom EP-320X-R) Thank to Deniz
(HAWKING PN102TX) Thank to Basem
(Corega FEther PCI-TXC plus)
RTL8129 (NDC, NE100TX-E)
RTL8100B (Shuttle AB48N motherboard, need to disable APCI)
MPX EN5038 (Accton EN1207D-TX) Thank to Telewa
It will likely work with D-Link DFE-530TX+, DFE-538TX and other RTL8139 based low cost NIC cards. Now it ready for rtl8101, but not tested.
Source file with x86 binary: rf-1.0.1.tar.gz
5. ni/pcni driver for NE2000 compatible PCI/PCMCIA/PnP ISA ethernet cards
The ni driver was tested under solaris8 10/00 x86 and solaris9 12/02 x86
The pcni driver was tested under solaris8 10/00 x86 but it isn't tested under solaris9.
The ni and pcni drivers are not ready for solaris sparc.
Tested chips (PCI/PCMCIA card product):
PCI Realtek RTL 8029 (Planex communications, ENW-8300-T)
PCI VIA VT 86C926 Amazon (BUFFALO LGY-PCI-TR, Thank to Masato)
PCMCIA Unknown chip (IBM, Credit Card Adapter Ethernet II)
PCMCIA D-Link DL10022 (Planex communications, FNW3600-T)
PCMCIA Winbond W89C926 (Planex communications, ENW3503-T)
PnP ISA Realtek RTL 8019AS (unknown vendor)
Source file with x86 binary: ni-0.8.7.tar.gz (beta test version)
Hot plug is not supported.
6. alta driver for Sundance Technology ST201 fast ethernet chips
Tested OS version: Solaris8 10/00 x86, Solaris9 12/02 x86
Tested chips (PCI card product):
DL10050A (D-Link DFE-550TX)
DL10050C (D-Link DFE-550TX, thank to Chen)
It will likely work with DL10050 and DL10050B. It may not work for DFE-580TX four port NIC card.
Source file with x86 binary: alta-1.0.3.tar.gz
7. tu driver for 2114x fast ethernet chips
Tested OS version: Solaris8 10/00 x86, Solaris9 12/02 x86, Solaris9 sparc
Tested chips (PCI card product):
ADMtek AN983B (Corega Ether PCI-TM, Linksys LNE100TX-V4.1)
Davicom DM9102A (Kuroto-shiko 9102A-PCI/H99vPOINT HT-9102)
Macronix MX98713 (unknown vendor).
Macronix MX98715AEC (Melco BUFFALO LCI2-TXI)
Conexant LANfinity RS7112 Mini PCI(Compaq Presario 17XL369 : thank to Antonio, Asantefast 10/100 NIC 690 : thank to Mike)
L99vE-ON LC82C115 (Linksys LNE100TX-V2).
L99vE-ON LC82C168 (unknown vendor).
L99vE-ON LC82C169 (NetGear FA310, Thank to Klaus).
DC21140 with NS DP83840 MII PHY chip (under sparc solaris9, thank to Klaus)
DC21140AF with DAVICOM DM9101F MII PHY (under x86 solaris9)
DC21143PC with KENDIN KS8761 PCS PHY(under x86 solaris9)
DC21143PC with AB10100 PCS PHY (under x86 solaris9)
Intel 21143-PD with Level One ST10040 (LXT970) PHY (Olicom RapidFire 2327 PCI 10/100 Adapter under sparc solaris9, thank to Ricardo)
Source file with x86 binary: tu-0.9.35.tar.gz (beta test version)
Tu driver is based on Intel's 2114x Serial ROM Format version 4.09 but doesn' support 21145.
Tu will work with DC2114x chips, but is not configured in default because it conflicts with Solaris x86 dnet driver.
8. bcf driver for bcm4401 fast ethernet chip
Tested OS version:Solaris9 12/02 x86
Tested chips (PCI card product):
Broadcom BCM4401 (Green House GH-EL100BB)
onboard BCM4401 in Dell Inspiron 8500
onboard BCM4401 in Dell Inspiron 1100 (Thank to Miyake)
onboard BCM4401 in Dell Inspiron 2400 (Thank to Charles)
onboard BCM4401 in Dell Inspiron 8600 (Thank to John)
Source file with x86 binary: bcf-0.8.6.tar.gz (alpha test version)
9. tne driver for TI ThunderLAN fast ethernet chip
This is an open source alternative for solaris cnft driver, gone in solaris 9.
Tested OS version:Solaris9 12/02 x86, Solaris9 sparc
Tested chips (PCI card product):
TNETE100A (Compaq Netelligent 10/100 TX UTP)
Source file with x86 binary: tne-0.8.6.tar.gz (alpha test version)
Thank to Ricardo for testing tne under sparc.
10. ife driver for intel 8255x fast ethernet chip
This is an open source alternative for solaris iprb driver.
Tested OS version:Solaris9 12/02 x86, Solaris9 sparc
Tested chips (PCI card product):
i82557 with DP83840 (IBM EtherJet)
i82557 with i82555 (Fujitsu FMV-188)
i82559 (Intel PRO/100+ Management Adapter)
Source file with x86 binary: ife-0.8.3a.tar.gz (alpha test version)
Don't use the previous revisions before ife-0.8.2, as they may cause to panic system.
Thank to Ricardo for testing ife under sparc.
11. gani driver for Realtek rtl8169 rtl8110 GbE chip
The gani driver isn't tested in giga bit mode yet.
Tested OS version:Solaris9 12/02 x86.
Tested chips (PCI card product):
RTL8169S (Planex Communications GN-1200TC)
Source file with x86 binary: gani-0.8.0.tar.gz (alpha test version)
转载请注明:破洛洛(谢谢合作)
上一篇文章: 下一篇文章:
网友评论:}

我要回帖

更多关于 内外pe钢塑复合管 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信