# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:20:AF:F6:D4:AD inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1301 errors:0 dropped:0 overruns:0 frame:0 TX packets:1529 errors:0 dropped:0 overruns:0 carrier:0 collisions:1 txqueuelen:100 RX bytes:472116 (461.0 Kb) TX bytes:280355 (273.7 Kb) Interrupt:10 Base address:0xdc00 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:77 errors:0 dropped:0 overruns:0 frame:0 TX packets:77 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8482 (8.2 Kb) TX bytes:8482 (8.2 Kb)
# Edit these values to set up your first Ethernet card (eth0): IPADDR="192.168.1.1" # REPLACE with YOUR IP address! NETMASK="255.255.255.0" # REPLACE with YOUR netmask! # Or, uncomment the following lines to set up eth0 using DHCP: #USE_DHCP=yes # If your provider requires a DHCP hostname, uncomment and edit below: #DHCP_HOSTNAME="CCHOSTNUM-A"
# Edit these values to set up your first Ethernet card (eth0): #IPADDR="192.168.1.1" # REPLACE with YOUR IP address! #NETMASK="255.255.255.0" # REPLACE with YOUR netmask! # Or, uncomment the following lines to set up eth0 using DHCP: USE_DHCP=yes # If your provider requires a DHCP hostname, uncomment and edit below: #DHCP_HOSTNAME="CCHOSTNUM-A"
$ ppp-go
De verbinding is weer te verbreken met een ander simpel commando:
$ ppp-stop
127.0.0.1 localhost 192.168.1.1 tazzy.blowgish.org tazzy 192.168.1.2 gideon.blowgish.org
nameserver 192.168.1.1 nameserver 192.168.1.69