太平桥 于 2008-05-09 22:22:35发表:
你的网卡物理是 eth0? 要么使用 ifconfig指令修改: #ifconfig eth0 <填入IP> netmask <填入掩码> 或者是直接修改 /etc/sysconfig/network-scripts/ifcfg-eth0 完成后启动网卡 #ifconfig eth0 up 在执行 ifconfig 看看结果 q):-s
太平桥 于 2008-05-09 22:15:29发表:
你的 网络设备中有这块网卡? 设置时死机? q):-s
相思爱文 于 2008-05-09 22:10:38发表:
我不是很明白,可能帮不了你。 可以把windows怎么上网详细说一下吧。具体进行过哪些配置,越详细越好,这样可以方便别的朋友参考。
gyxxhu 于 2008-05-09 21:49:34发表:
我是个新手,那个好心大大帮我下啊。谢谢了
gyxxhu 于 2008-05-09 21:48:55发表:
gyxxhu 于 2008-05-09 15:14:31发表:
我尝试的结果如下,是用记事本转化过来的。可能有些不同。 [root@localhost ~]# /sbin/ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:4435 errors:0 dropped:0 overruns:0 frame:0 TX packets:4435 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4943660 (4.7 MiB) TX bytes:4943660 (4.7 MiB) [root@localhost ~]# /sbin/route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface [root@localhost ~]# /etc/hosts bash: /etc/hosts: 权限不够 [root@localhost ~]# ping 192.168.0.254 connect: 网络不可达 [root@localhost ~]# ping -c 5 192.168.0.1 connect: 网络不可达 [root@localhost ~]# ping -c 5 10.11.30.1 connect: 网络不可达 [root@localhost ~]# hostname -i 127.0.0.1 [root@localhost ~]# netstat -tuna Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:36610 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp 0 0 :::22 :::* LISTEN udp 0 0 0.0.0.0:32768 0.0.0.0:* udp 0 0 0.0.0.0:32769 0.0.0.0:* udp 0 0 0.0.0.0:616 0.0.0.0:* udp 0 0 0.0.0.0:5353 0.0.0.0:* udp 0 0 0.0.0.0:111 0.0.0.0:* udp 0 0 0.0.0.0:631 0.0.0.0:* udp 0 0 0.0.0.0:1019 0.0.0.0:* [root@localhost ~]#
gyxxhu 于 2008-05-08 21:59:32发表:
我是安装的广电的宽带,应该是固定IP。
相思爱文 于 2008-05-08 21:58:20发表:
在windows下用什么方式上网,固定IP吗?
gyxxhu 于 2008-05-08 21:46:10发表:
我通过 桌面--系统--网络配置,然后手动配置IP,掩码和网关,然后保存、激活,然后在等待中死机。想切换到虚拟控制台都不行。 我输入的IP、掩码、网关都是在win下抄下来的。
太平桥 于 2008-05-08 21:32:59发表:
貌似牌子一样的 没问题。 你的网络设置流程能告诉我一下吗? q):-s
gyxxhu 于 2008-05-08 20:52:23发表:
我现在是在windowns下上网的,没办法截屏。不过ifconfig出来的结果只有 lo 开头的第2段,没有第1段以 eth0 开头的ip地址、网关等信息。 在win下看见的网卡是 Attansic L1 Gigabit Ethernet 10/100/1000 Base -T Controller ,是华硕主板上集成的 在liunx下看见的是Attansic Technology Corp.L1 Gigabib Ethernet Adapter ,只有这一项。
太平桥 于 2008-05-08 20:42:03发表:
能详述一下 ifconfig 看到了什么吗? 还有你的 网卡型号。 q):-s
太平桥 于 2008-05-09 22:22:35发表:
你的网卡物理是 eth0?
要么使用 ifconfig指令修改:
#ifconfig eth0 <填入IP> netmask <填入掩码>
或者是直接修改 /etc/sysconfig/network-scripts/ifcfg-eth0
完成后启动网卡
#ifconfig eth0 up
在执行 ifconfig 看看结果
q):-s
太平桥 于 2008-05-09 22:15:29发表:
你的 网络设备中有这块网卡?
设置时死机?
q):-s
相思爱文 于 2008-05-09 22:10:38发表:
我不是很明白,可能帮不了你。
可以把windows怎么上网详细说一下吧。具体进行过哪些配置,越详细越好,这样可以方便别的朋友参考。
gyxxhu 于 2008-05-09 21:49:34发表:
我是个新手,那个好心大大帮我下啊。谢谢了
gyxxhu 于 2008-05-09 21:48:55发表:
我是个新手,那个好心大大帮我下啊。谢谢了
gyxxhu 于 2008-05-09 15:14:31发表:
我尝试的结果如下,是用记事本转化过来的。可能有些不同。
[root@localhost ~]# /sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4435 errors:0 dropped:0 overruns:0 frame:0
TX packets:4435 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4943660 (4.7 MiB) TX bytes:4943660 (4.7 MiB)
[root@localhost ~]# /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
[root@localhost ~]# /etc/hosts
bash: /etc/hosts: 权限不够
[root@localhost ~]# ping 192.168.0.254
connect: 网络不可达
[root@localhost ~]# ping -c 5 192.168.0.1
connect: 网络不可达
[root@localhost ~]# ping -c 5 10.11.30.1
connect: 网络不可达
[root@localhost ~]# hostname -i
127.0.0.1
[root@localhost ~]# netstat -tuna
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:36610 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
udp 0 0 0.0.0.0:32768 0.0.0.0:*
udp 0 0 0.0.0.0:32769 0.0.0.0:*
udp 0 0 0.0.0.0:616 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 0.0.0.0:631 0.0.0.0:*
udp 0 0 0.0.0.0:1019 0.0.0.0:*
[root@localhost ~]#
gyxxhu 于 2008-05-08 21:59:32发表:
我是安装的广电的宽带,应该是固定IP。
相思爱文 于 2008-05-08 21:58:20发表:
在windows下用什么方式上网,固定IP吗?
gyxxhu 于 2008-05-08 21:46:10发表:
我通过 桌面--系统--网络配置,然后手动配置IP,掩码和网关,然后保存、激活,然后在等待中死机。想切换到虚拟控制台都不行。
我输入的IP、掩码、网关都是在win下抄下来的。
太平桥 于 2008-05-08 21:32:59发表:
貌似牌子一样的 没问题。
你的网络设置流程能告诉我一下吗?
q):-s
gyxxhu 于 2008-05-08 20:52:23发表:
我现在是在windowns下上网的,没办法截屏。不过ifconfig出来的结果只有 lo 开头的第2段,没有第1段以 eth0 开头的ip地址、网关等信息。
在win下看见的网卡是 Attansic L1 Gigabit Ethernet 10/100/1000 Base -T Controller ,是华硕主板上集成的
在liunx下看见的是Attansic Technology Corp.L1 Gigabib Ethernet Adapter ,只有这一项。
太平桥 于 2008-05-08 20:42:03发表:
能详述一下 ifconfig 看到了什么吗?
还有你的 网卡型号。
q):-s