Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÐÞ¸ÄLinux¾²Ì¬Â·ÓÉ

 route add -net  10.10.101.0  netmask 255.255.255.0 gw 10.10.100.1
cat route-eth0
10.10.101.0/24 via 10.10.100.1 dev eth0
/etc/rc.d/init.d/network restart
netstat -r
[root@1314it network-scripts]# cat /etc/sysconfig/network-scripts/route-eth0
123.123.123.0 via 156.156.156.156 dev eth0
[root@1314it network-scripts]#
ÒѲâÊԳɹ¦ ÖØÆôÍøÂç»áÖ´ÐдËÎļþ
= = =
ÄÚÍø£ºÓÐÁ½¸öÍø¶Î10.10.100.0/24ºÍ10.10.101.0/24£¬
·þÎñÆ÷ip: a.b.c.d   ÍâÍøÍø¹Øe.f.g.h  ·þÎñÆ÷ÄÚÍø¿¨10.10.100.254
ÄÚÍø10.10.101.0/24Íø¶ÎµÄ»úÆ÷ÎÞ·¨·ÃÎÊ10.10.100.254Õą̂»úÆ÷¡£
µÇ½·þÎñÆ÷²é¿´Â·ÓÉ±í£º
[root@www conf]# netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.10.100.0     *               255.255.255.0   U         0 0          0 eth0
169.254.0.0     *               255.255.0.0     U         0 0          0 eth1
default         e.f.g.h    0.0.0.0         UG        0 0          0 eth1 
Òò´Ë¿ÉÒÔ¿´µ½ÔÚ10.10.100.254·þÎñÆ÷ÉÏÎÞ·¨¿´µ½10.10.101.0/24µÄ·ÓÉÑ¡Ôñ±í·ÓÉÌõÄ¿£¬Òò´Ë¿ÉÒÔÁ½ÖÖ·½·¨Ìí¼Ó£¬
ÁÙʱÐԵģº
route add -net  10.10.101.0  netmask 255.255.255.0 gw 10.10.100.1
µ«ÖØÐÂÆô¶¯ºó¾Í»áʧЧ.Òò´ËÔÚ/etc/sysconfig/network-scripts/Ŀ¼Ï½¨Á¢Îļþ¡£ÒòΪÎÒÃÇÊÇ×öÄÚÍøµÄ·ÓÉ£¬²¢ÇÒÄÚÍøÍø¿¨Îªeth0£¬Òò´ËÎÒÃǽ¨Á¢route-eth0ÎļþÈçÏ£º
[root@www network-


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

LinuxÉÏÈçºÎ°²×° src.rpmÎļþ

 
°²×°.src.rpm
ÓÐЩÈí¼þ°üÊÇÒÔ.src.rpm½áβµÄ£¬ÕâÀàÈí¼þ°üÊÇ°üº¬ÁËÔ´´úÂëµÄrpm°ü£¬ÔÚ°²×°Ê±ÐèÒª½øÐбàÒë¡£ÕâÀàÈí¼þ°üÓÐÁ½ÖÖ°²×°·½·¨£º
·½·¨Ò»£º
1.¡¡Ö´ÐÐrpm -i your-package.src.rpm
2.¡¡cd /usr/src/redhat/SPECS
3.¡¡rpmbuild -bp your-package.specs Ò»¸öºÍÄãµÄÈí¼þ°üͬÃûµÄspecsÎļþ
4.¡¡cd /usr/sr ......

LinuxÏÂÔõÑùÔö¼ÓÐéÄâÄÚ´æ

 1¡¢´ò¿ªÖնˣ¬Çл»µ½rootÓû§£¬ÊäÈ룺free -m²é¿´ÄÚ´æ״̬
[root@lxt lxt]# free -m
             total       used       free     shared    buf ......

LinuxµÄ¿ª·¢¹¤¾ß

 ´ó¼ÒÏ°¹ßÁËÔÚWindowsÏ¿ª·¢³ÌÐò£¬ÔÚWindowsÏÂÓкܶàºÜºÃÓõŤ¾ß£¬
ÈçSourceInsight¡¢Beyond Compare¡¢Visual StudioµÈ¡£
ÆäʵÔÚLinux¿ªÊ¼³ÌÐòÒ²ÓкܶàÇ¿´óµÄ¹¤¾ß£¬¶øÇÒ»¹ÊÇ¿ªÔ´Ãâ·ÑµÄ£¬ÍƼöÈçÏ£º
´úÂë±à¼­£º
vi/vim£¨×î¾­µäµÄ£©¡¢gedit¡¢EmacsµÈ
´úÂëä¯ÀÀ£º
Kscope¡¢Source Navigator¡¢vim+cscopeµÈ
´úÂë±È½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ