[i=s] 本帖最后由 gogo11 于 2011-10-2 13:00 编辑 [/i]
前一段时间用的lubuntu,这两天又换回了ARCH,原因是:
1、咱的电脑配置差,用lubuntu感觉不爽,因为没有随大流!安装arch的话相对系统会比lubuntu熟悉不少,其他gnome、ked、xfce桌面的系统占用内存都太大,启动就500m,咱总共才1G内存,用不起。用arch就轻量多了,现在咱也用xfce了,哈哈!
2、ARCH前一段时间升级太快x-server服务到了1.1,而咱的mx440官方没有1.1的驱动。现在有了,看来还是nvidia好啊,这么老的显卡都能更新驱动。ati9600就不行,靠!9600还在躺着呢!
下载了最新的2011.08版。发现的问题:
rc.conf部分设置网络和2010.05版不同,又搞了很久很久。前两天只能用用dhcpcd eth0来上网(幸亏我在DHCP服务器上做了绑定,要不然还上不来呢)
网络设置命令有所改变,2010.05用的是传统的ifconfig,现在改成ip命令了,这个命令太复杂,比ifconfig复杂多了(也有可能是不会用的原因)。
pdf下载了xpdf阅读,发觉这个功能确实太简单了,凑合着用了。以前用了foxit reader,出了一次错,就被枪毙了。adobe的功能强大,体积也够大。
以前用的ibus,看中了网上小企鹅的皮肤,就装了小企鹅。小企鹅于gedit冲突,皮肤好像也在4.1.1下边不能用。卸了gedit,装了leafpad。
----------------------------------------------------------------------------------
转贴转贴!
ifconfig vs ip
The command /bin/ip has been around for some time now. But people continue using the older command /sbin/ifconfig. Let's be clear: ifconfig will not go away, but its newer version, ip, is more powerful and worth knowing.
The man page of ip may look intimidating at first, but once you get familiar with the command syntax, it is an easy read. This page will not introduce the new features of ip. It rather features a side-by-side comparison if ifconfig and ip to get a quick overview of the command syntax.
Show network devices and configuration ¶
ifconfig
ip addr show
ip link show
Enable a network interface ¶
ifconfig eth0 up
ip link set eth0 up
A network interface is disabled in a similar way:
ifconfig eth0 down
ip link set eth0 down
Set IP address ¶
ifconfig eth0 192.168.0.77
ip address add 192.168.0.77 dev eth0
This was the simple version of the command. Often, also the network mask or the broadcast address need to be specified. The following examples show the ifconfig and ip variants.
Needless to say that the netmask can also be given in CIDR notation, e.g. as 192.168.0.77/24.
ifconfig eth0 192.168.0.77 netmask 255.255.255.0 broadcast 192.168.0.255
ip addr add 192.168.0.77/24 broadcast 192.168.1.255 dev eth0
Delete an IP address ¶
With ip it is also possible to delete an address:
ip addr del 192.168.0.77/24 dev eth0
Add alias interface ¶
ifconfig eth0:1 10.0.0.1/8
ip addr add 10.0.0.1/8 dev eth0 label eth0:1
ARP protocol ¶
Add an entry in your ARP table.
arp -i eth0 -s 192.168.0.1 00:11:22:33:44:55
ip neigh add 192.168.0.1 lladdr 00:11:22:33:44:55 nud permanent dev eth0
Switch ARP resolution off on one device
ifconfig -arp eth0
ip link set dev eth0 arp off
postnew 于 2011-10-02 14:37:42发表:
路过
gogo11 于 2011-10-02 12:56:37发表:
刚开始下了个双核的,安装后,发觉没有ifconfig命令,查网络都没法查。估计双核的东西不全吧!又下了一个32位单核的,还是没有。进入windows,才发现指南上有个dhcpcd命令,没法查网络状况啊!光能用lspci查看是否识别~~~~~~~~~
不能上网,就必须重启进windows查结果,重启进linux设置,麻烦死我了~~~~~~``