WebOS network configuration files

= Configuration in files =

Network configuration files from webOS 2.1.0.

By default, webOS use configuration from dnsmasq process


 * /etc/dnsmasq.palm.conf, in this file, only several parameters are enabled :

domain-needed bogus-priv ... resolv-file=/tmp/resolv.conf ... strict-order ... no-poll ... interface=lo interface=bridge0 ... conf-file=/tmp/pmnetconfig/dnsmasq.server.conf
 * 1) Never forward plain names (with a dot or domain part)
 * 1) Never forward addresses in the non-routed address spaces.
 * 1) Change this line if you want dns to get its upstream servers from
 * 2) somewhere other that /etc/resolv.conf
 * 1) By  default,  dnsmasq  will  send queries to any of the upstream
 * 2) servers it knows about and tries to favour servers to are  known
 * 3) to  be  up.  Uncommenting this forces dnsmasq to try each query
 * 4) with  each  server  strictly  in  the  order  they   appear   in
 * 5) /etc/resolv.conf
 * 1) If you don't want dnsmasq to poll /etc/resolv.conf or other resolv
 * 2) files for changes and re-read them then uncomment this.
 * 1) If you want dnsmasq to listen for requests only on specified interfaces
 * 2) (and the loopback) give the name of the interface (eg eth0) here.
 * 3) Repeat the line for more than one interface.
 * 1) Include a another lot of configuration options.


 * /etc/hosts.conf

order hosts,bind multi on


 * /etc/hostname

palm-webos


 * /etc/hosts

127.0.0.1	localhost.localdomain		localhost 127.0.0.1	palm-webos


 * /etc/nss_mdns.conf

domain local domain 254.169.in-addr.arpa domain 8.e.f.ip6.int domain 9.e.f.ip6.int domain a.e.f.ip6.int domain b.e.f.ip6.int domain 8.e.f.ip6.arpa domain 9.e.f.ip6.arpa domain a.e.f.ip6.arpa domain b.e.f.ip6.arpa
 * 1) Default configuration file for nss_mdns
 * 2) Applicable domains


 * /etc/nsswitch.conf

# passwd:        compat group:         compat shadow:        compat hosts:         files mdns dns networks:      files protocols:     db files services:      db files ethers:        db files rpc:           db files netgroup:      nis
 * 1) /etc/nsswitch.conf
 * 1) Example configuration of GNU Name Service Switch functionality.
 * 2) If you have the `glibc-doc' and `info' packages installed, try:
 * 3) `info libc "Name Service Switch"' for information about this file.


 * /etc/PmWiFiDhclient.conf

... request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name; ... timeout 15; retry 30; reboot 10; initial-interval 1; script "/etc/PmWiFiDhclient-script";


 * /etc/resolv.conf : nothing


 * /etc/dhcp/dhclient.conf

request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name, netbios-name-servers, netbios-scope;
 * /etc/network/interfaces

auto lo iface lo inet loopback iface wlan0 inet dhcp wireless_mode managed wireless_essid any iface atml0 inet dhcp iface eth0 inet dhcp iface eth1 inet dhcp iface usb0 inet static address 192.168.0.202 netmask 255.255.255.0 network 192.168.0.0 gateway 192.168.0.200 metric 40 auto usb0:1 iface usb0:1 inet static address 192.168.2.101 netmask 255.255.255.0 network 192.168.2.0 iface bnep0 inet dhcp
 * 1) /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
 * 2) The loopback interface
 * 1) Wireless interfaces
 * 1) Wired or wireless interfaces
 * 1) Ethernet/RNDIS gadget (g_ether)
 * 2) ... or on host side, usbnet and random hwaddr
 * 1) Temporarily add support for old IP address
 * 2) and automatically bring the interface up
 * 1) Bluetooth networking


 * /etc/network/options

ip_forward=no spoofprotect=yes syncookies=no

= External links =


 * Linux Network Configuration
 * Dnsmasq
 * Howto update the file dhclient.conf
 * a way to assign a friendly host name (computer name) to the pre so I can use that to access it instead of an ip address
 * Host name (ip) in putty for Pre