一、网卡的配置
1 .netconfig命令运行配置
2 进入配置界面,其中有两个菜单选项 1)hardware 2)protocol
3 选择 1)hardware,在其下拉菜单中选择 add new lan adapter
4 进入网卡选择界面(select.network adapter to be added)
在其中选择你所配置的网卡型号。用tab键将光标移至 [continue]
敲回车
5 出现提示框 (search for.network adapter) 选择 [yes] 敲回车
6 接着出现 配置框 .network driver configuration) 根据所配置
的网卡类型不同,其中的选项亦有所不同,最常见的选项框有如下两种
(1) pci bus:_____________v
device:_____________v
function:_____________v
(2) i/o address:______________________v
interrupt vector:_________________v
根据你所配置网卡的具体情况,选择以上的数值。*一般情况下使用系统默认
值便可以了。
7 经过第6步后,出现增加网络协议提示框
(select one.networking product to be add to...)
* -sco ipx/spx
* -sco tcp/ip
因为我们现在使用的大部分是tcp/ip协议,故而我们选择第二项tcp/ip
然后[ add ]
8 接着出现 ( sco tcp/ip configuration )选项框
local host name:__________ *此项填入本机要命名的名称
ip address : __________ *此项填入本机分配的ip地址
.netmask: __________ *此项填入本机ip地址掩码
broadcast adress: __________ *此项由系统自动填入
domain name:__________ *填入所在域名(视具体情况,一般不用填)
tcp connections: __________ *此项由系统自动填入
pseudo ttys: __________ *此项由系统自动填入
完成以上选项的填充,选择 [ok] .
至此网卡配置完毕。屏幕重新回到初始配置界面。在此选择 1)hardware ---->exit
退出配置程序,链接内核,重新启动系统。
二、验证网卡的配置是否正常
1.用 hwconfig 命令列出硬件配置信息,看是否有有关网卡的信息,若没有则说明网
卡未配置成功,或网卡存在硬件冲突而使系统启动后找不到网卡。*下面是我机器上
3com(3c509)网卡配置信息。
name=e3e base=0x300 offset=0xf vec=10 dma=-3com etherlink iii, unit=0
2 .(如果机器连自己都不能ping通) 用 ifconfig -a 查看网卡端口是否激活,若显示down,
则用以下命令激活
#ifconfig.net0 ipaddress.netmask mask up
3 .(如果网络不通)则用命.netstat -rn 查看系统是否正确配置了网关,若没有缺省网关
则通过以下的方式可以增加
#vi /etc/rc2.d/srouter
route add default x.x.x.x 1
#x.x.x.x 指的是网关地址。
(以上是给初学者学习配置网卡所用的,其实检查网关是否配置正确的方法还有很多,根据具体情况处理方式和步骤也不尽相同,只要认真总结,不断摸索相信问题总是能解决的。)
# cd /
# doscp a:/sco5/install /install
# chmod +x /install
# ./install
(put the vol.000.000 to the /tmp directory)
1.1 run custom to enter software manager procedure.
1.2 select menu "software"
1.3 push the "install new"
1.4 what host(machine) do you want to install from ? "from host machine"
1.5 insert media, and select media device -> "media images"
1.6 enter the full path to the directory containing media images.-> "/tmp"
2. use.netconfig utility
avaiable options:
#.netconfig
3. to add adapters, select "add new lan adapter" from "hardware".
4. add protocol to select sco tcp/ip.
5. enter the inte.net address of this interface n.n.n.n
6. enter the.netmask for this interface (default 255.255.255.0)
7. enter the boardcast address for this interface default: n.n.n.n
8. do you want to relink to kernel now ? y
9. do you want this kernel to boot by default (y/n) y
10. do you want the kernel environment rebuilt (y/n) y
11. reboot unix
# shutdown -y -g0
qiaont yusing@163.com
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器