كود PHP:
3.2.5 Configuring PC in Linux:
To enable LAN traffic over the ethernet interface:
% ifconfig eth2 192.168.1.200 up
You may also need to modify the netmask and route for the interface. Refer to the manual pages for ifconfig and route for more information.
To test the LAN connection is alive by pinging the remote side:
% ping 192.168.1.1
To disconnect the LAN interface:
% ifconfig eth2 down
24
3.3.5 Configuring PC in Linux:
The PPP daemon (pppd) talks to the driver over TTY devices. Before the driver can be used, the devices /dev/ttyG0 and /dev/cug0 need to be reated. This can be performed by executing:
% make devnodes
38
لكني لا أعرف كيف أنصبه .. أفيدوني أفادكم الله أخواني