All pastes #266778 Raw Edit

Anonymous

public text v1 · immutable
#266778 ·published 2006-12-04 10:59 UTC
rendered paste body
┌─(root@boston)(11:57:52)
└─(/etc/init.d)-> cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

iface ppp0 inet ppp
provider ppp0

iface dsl-provider inet ppp
provider dsl-provider

iface eth0 inet static
address 192.168.0.3
netmask 255.255.255.0
gateway 192.168.0.1

auto ppp0
auto eth0
┌─(root@boston)(11:58:20)
└─(/etc/init.d)->



┌─(root@boston)(11:58:20)
└─(/etc/init.d)-> ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0A:E6:21:63:1B
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20a:e6ff:fe21:631b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2692 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1153 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:273094 (266.6 KiB)  TX bytes:130586 (127.5 KiB)
          Interrupt:169 Base address:0xc000

eth0:0    Link encap:Ethernet  HWaddr 00:0A:E6:21:63:1B
          inet addr:192.168.0.3  Bcast:0.0.0.0  Mask:0.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:169 Base address:0xc000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:54 errors:0 dropped:0 overruns:0 frame:0
          TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3470 (3.3 KiB)  TX bytes:3470 (3.3 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:87.6.8.120  P-t-P:217.141.251.14  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:203 errors:0 dropped:0 overruns:0 frame:0
          TX packets:217 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:58501 (57.1 KiB)  TX bytes:21079 (20.5 KiB)

┌─(root@boston)(11:59:24)
└─(/etc/init.d)->