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

linuxϵͳµ¥Íø¿¨°ó¶¨Ë«IPµÄ·½·¨

linuxϵͳµ¥Íø¿¨°ó¶¨Ë«IPµÄ·½·¨
1. ½øÈëĿ¼£º
cd /etc/sysconfig/network-scripts/
2. ʹÓÃviÃüÁî±à¼­ifcfg-eth0£¬ÈçÏ£º
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0C:29:25:96:A3
#µÚ1¸öIP
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
GATEWAY=192.168.0.1
3. ±£´æÍ˳ö£¬È»ºóÔÙ¿½±´Ò»¸öifcfg-eth0£¬È磺
cp ifcfg-eth0 ifcfg-eth1
4. ʹÓÃviÃüÁî±à¼­ifcfg-eth1£¬È磺
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
#×¢Ò⣺É豸»¹ÊÇeth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
HWADDR=00:0C:29:25:96:A3
#µÚ¶þ¸öIP
IPADDR=192.168.0.3
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
5.ÖØÆôÍø¿¨
service network restart


Ïà¹ØÎĵµ£º

LinuxÉãÏñÍ·±à³ÌС½á

ת×Ô£ºhttp://blog.chinaunix.net/u/7547/showart_122619.html
1.open device:
      video_dev = open("\dev\video0",O_RDWR));
2.get the information of the video device
    struct video_capability video_cap;
    memset(&video_cap,0,sizeof(vid ......

Linux³£ÓÃÍ·Îļþ

Linux³£ÓõÄÍ·Îļþ¼¯ºÏ:
<dirent.h>        Ŀ¼Ïî
<fcntl.h>         Îļþ¿ØÖÆ
<fnmatch.h>    ÎļþÃûÆ¥ÅäÀàÐÍ
<glob.h>    ·¾¶ÃûģʽƥÅäÀàÐÍ
<grp.h>    ......

LinuxÏÂMySQL¿ª·ÅrootµÄÔ¶³Ì·ÃÎÊȨÏÞ

»·¾³£ºRHEL 5.3
°²×°ÁËMySQLÖ®ºó£¬MySQLµÄrootÓû§Ä¬ÈÏÊDz»¿ª·ÅÔ¶³Ì·ÃÎÊȨÏ޵ġ£ÎªÁË¿ª·ÅËü£¬Ö»ÐèÒªÁ½²½£º
ÓÃLinuxϵͳµÄrootÓû§µÇ¼ϵͳ£¬È»ºó£º
£¨1£©¿ª·Å3306¶Ë¿ÚµÄÔ¶³ÌÁ¬½ÓȨÏÞ£º
ÔÚ“-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited”ÕâÒ»ÐеÄÉÏÃæ£¨×¢Ò⣬һ¶¨ÊÇÉÏÃæ£©£¬Ìí¼ÓÈçÏ ......

LinuxϵͳÐÔÄÜÖ¸±ê½éÉÜ


LinuxϵͳÐÔÄÜÖ¸±ê½éÉÜ
 
 
ת×ÔAndrew(http://andrew913.javaeye.com/blog/431259)
ÔÚ
ÎÒÃǽéÉÜLinuxϵͳµÄ¸÷ÖÖµ÷ÓŲÎÊýºÍÐÔÄܼà²â¹¤¾ß֮ǰ£¬ÐèÒªÏÈÌÖÂÛһЩ¹ØÓÚÐÔÄܵ÷ÓŵIJÎÊý¡£ÒòΪLinuxÊÇÒ»¸ö¿ªÔ´²Ù×÷ϵͳ£¬ËùÒÔÓÖ´óÁ¿¿ÉÓõÄÐÔÄÜ
¼à²â¹¤¾ß¡£¶ÔÕâЩ¹¤¾ßµÄÑ¡ÔñÈ¡¾öÓÚÄãµÄ¸öÈËϲºÃºÍ¶ÔÊý¾Ýϸ½ÚµÄÒªÇó¡£Ë ......

ÔÚLinuxÏÂͨ¹ýPPPÉÏWCDMA

ÕÛÌÚÁËÒ»·¬Í¨¹ý¼¸ÖÖUSBÉÏÍø¿¨ÔÚLinuxÏÂÉÏWCDMA£¬Ôڴ˼ǼһÏ£º
ͨÓÃÅäÖÃÎļþ£º
/etc/ppp/peers/wcdma :
/dev/ttyACM0
460800
connect '/etc/ppp/chat-wcdma'
noauth
usepeerdns
noipdefault
defaultroute
----
×¢Ò⣬ÆäÖеÄ/dev/ttyACM0 ÊÇ´®¿ÚÉ豸£¬ºóÃæÃèÊö¡£
/etc/ppp/chat-wcdma
#!/bin/sh
#
# This is ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ