Quote:
I would love to have static IP's but I dont know how to set the internal home network with static IPs.
|
It is all defined in
/etc/network/interfaces
See
man interfaces
Mine looks line this:
Code:
auto lo
iface lo inet loopback
iface eth0 inet static
broadcast 10.0.0.255
address 10.0.0.8
netmask 255.255.255.0
gateway 10.0.0.2
For the above, my LAN IP is 10.0.0.8 and my router is at 10.0.0.2, and I am using ethernet cable on
eth0
If you were on a 192.168.0.X network, you might make it look like this:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
broadcast 192.168.0.255
address 192.168.0.8
netmask 255.255.255.0
gateway 192.168.0.1
This PC's LAN IP is 192.168.0.8 and the router is at 192.168.0.1, and it is using ethernet cable on
eth0
For wireless on
eth1, with a static IP, make it look something like this:
Code:
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
broadcast 192.168.0.255
address 192.168.0.8
netmask 255.255.255.0
gateway 192.168.0.1
wpa-passphrase mysecretpassphrase
wpa-ssid Airway
wireless-channel 11
# or whatever channel you are using
It is not difficult!
Are you connected yet?