All pastes #436812 Raw Edit

Someone

public text v1 · immutable
·published 2007-04-12 19:01 UTC
rendered paste body
centrino:/media/tmp/test# cat /media/tmp/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
      pre-up modprobe acx
      post-down modprobe -r acx

iface home inet static
      address 10.0.0.2
      netmask 255.255.255.0
      network 10.0.0.0
      broadcast 10.0.0.255
      gateway 10.0.0.99
      wireless_mode managed
      wireless_channel 10
      wireless_essid Please_hack_me
      wireless_ap "mac adress to AP"
      pre-up modprobe acx
      post-down modprobe -r acx

iface work inet dhcp
      netmask 255.255.255.0
      gateway 
      wireless_mode managed
      wireless_essid 
      wireless_key1 
      dns-nameservers 
      pre-up modprobe acx
      post-down modprobe -r acx


# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr

iface usb0 inet static
        address 192.168.0.202
        netmask 255.255.255.0
        network 192.168.0.0
        gateway 192.168.0.200
        pre-up modprobe g_ether
        post-down modprobe -r g_ether


# Bluetooth networking
iface bnep0 inet dhcp