All pastes #319910 Raw Edit

Untitled

public text v1 · immutable
#319910 ·published 2007-01-17 21:56 UTC
rendered paste body
root@poodle:~# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# Wireless interfaces
iface wlan0 inet dhcp
        wireless_mode managed
        wireless_essid any
iface atml0 inet dhcp

# Wired or wireless interfaces
iface eth0 inet dhcp
        wireless_key xxxxxxxxxxxxxxxxxxx [1]  [2]  [3]  [4] open key [1]
        wireless_mode managed
        wireless_essid any

iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
iface usb0 inet dhcp
        pre-up modprobe g_ether
        post-down rmmod g_ether

iface lin inet static
        pre-up modprobe g_ether
        post-down rmmod g_ether
        down changedns -r  192.168.0.1 192.168.123.254
        up changedns -a  192.168.0.1 192.168.123.254
        address 192.168.1.201
        netmask 255.255.255.0
        network 192.168.1.0
        gateway 192.168.1.1

iface win inet static
        pre-up modprobe g_ether
        post-down rmmod g_ether
        down changedns -r  192.168.0.1 192.168.123.254
        up changedns -a  192.168.0.1 192.168.123.254
        address 192.168.0.201
        netmask 255.255.255.0
        network 192.168.0.0
        gateway 192.168.0.1

# Zaurus 2.4 Lineo net_fd; obsolete
iface usbd0 inet static
        address 192.168.129.201
        netmask 255.255.255.0
        network 192.168.129.0
        gateway 192.168.129.200

# iPAQ 2.4 mach-sa1100/usb-eth
# (192.168.0.202 is the iPAQ's IP, 192.168.0.200 is the host's IP)
iface usbf inet static
        address 192.168.0.202
        netmask 255.255.255.0
        network 192.168.0.0
        gateway 192.168.0.200

# Bluetooth networking
iface bnep0 inet dhcp