LinuxÏ DHCP·þÎñÆ÷°²×°ÓëÅäÖÃ
½ñÌ죬ÎÒÏëÔÚLinuxÏÂÅäÖÃһ̨DHCP·þÎñÆ÷£¬¸Ð¾õÉϱȽÏÖ±¹Û£¬ÄѶÈÉÔ΢Óеã´ó£¨Ïà¶ÔÓÚÔÚwindows¼°Â·ÓÉÆ÷Ï£©¡£
DHCP£¨Dynamic Host Configure Protocol,¶¯Ì¬Ö÷»úÅäÖÃÎļþ£©£¬ÊÇÒ»¸ö¼ò»¯ÊÖ¶¯·ÖÅä¼°¹ÜÀíIPµØÖ·µÄ·³ÄÕ¡£DHCPÊÇ»ùÓÚC/SģʽµÄ¡£
ĬÈÏ£¬ÔÚRHELÉÏûÓа²×°·þÎñÆ÷×é¼þ¡£²é¿´ÊÇ·ñ°²×°µÄÃüÁî
[root@localhost ~]# rpm -qa | grep dhcp
dhcpv6_client-0.10-8 //¿Í»§¶Ë×é¼þ
Èç¹ûûÓа²×°£¬ÄóöRHELµÄ°²×°ÅÌ£¬ÕÒµ½ÏàÓ¦µÄ×é¼þ°ü¡£½øÐа²×°
[root@localhost cdrom]# rpm -ivh RedHat/RPMS/dhcp-3.0.1-12_EL.i386.rpm //·þÎñÆ÷×é¼þ
²é¿´DHCP·þÎñµÄ¶Ë¿ÚºÅ
[root@localhost root]# vi /etc/services
bootps 67/tcp # BOOTP server
bootps 67/udp
bootpc 68/tcp # BOOTP client
bootpc 68/udp
DHCP·þÎñ£¨¼´dhcpdÊØ»¤½ø³Ì£©ÊÇ°´ÕÕ/etcĿ¼ÏµÄdhcpd.confÅäÖ
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
ÔÚ
Debian
Ï·ÃÎÊ
Windows
¹²ÏíÎļþ¼Ð£¬ÐèÒª°²×°
smbfs
Èí¼þ°ü¡£ÓÃ
aptitude
°²×°ÒԺ󣬽«
Windows
ϵÄÎļþ¼ÐÉèΪ¹²Ïí£¬¿ÉÒÔÓÃÒÔÏÂÃüÁîÔÚ
Linux
Ï·ÃÎÊ
Windows
¹²ÏíÎļþ¼Ð£º
mount -t
smbfs //10.0.0.25/microsoft /mnt
»òÕß
mount -t cifs //10.0.0.25/microsoft /mnt
»òÕß
smbmount //10.0.0.25/mi ......
ƽʱ¾³£ÓÃlinuxµÄfreeÃüÁî²é¿´ÄÚ´æÐÅÏ¢£¬½ñÌìÒòΪmysqlϵͳͻȻËÀµôÁË£¬¶øÇÒÎÞ·¨Æô¶¯¡£¾ßÌåÏÖÏóÊÇÒ»Ö±ÏÔʾÕýÔÚÆô¶¯µÄ½ø¶È״̬£¬µ«Ê¼ÖÕÎÞ·¨Æô¶¯£¬Æ½Ê±Æô¶¯¼¸Ãë¾ÍÍê³ÉÁ˵ġ£ËùÒԿ϶¨ÓÐÎÊÌâ¡£ÓÚÊÇ×¼±¸²é¿´ÏÂÊDz»ÊÇÈÕÖ¾ÐÅÏ¢¶àÁË£¬Õ¼ÂúÁËÓ²Å̿ռ䡣ͻȻ·¢ÏÖÒ»¸öÎÊÌ⣬Ôõô²é¿´Ò»¸öÎļþºÍĿ¼µÄ¿Õ¼äÕ¼ÓÃÇé¿öÄØ£¬ÒÔÇ°¶¼ÓÃls -al à ......
1. ±ê×¼ÊäÈëµÄ¿ØÖÆ
Óï·¨£ºÃüÁî< Îļþ½«Îļþ×öΪÃüÁîµÄÊäÈë¡£
ÀýÈ磺
mail -s “mail test” das@163.com < file1 ½«Îļþfile1 µ±×öÐżþµÄÄÚÈÝ£¬Ö÷
ÌâÃû³ÆΪmail test£¬Ë͸øÊÕÐÅÈË¡£
2. ±ê×¼Êä³öµÄ¿ØÖÆ
Óï·¨£ºÃüÁî> Îļþ½«ÃüÁîµÄÖ´Ðнá¹ûËÍÖÁÖ¸¶¨µÄÎļþÖС£
ÀýÈç:
ls -l > list ½«Ö´ÐÐ&ldqu ......