After a long struggle I finally seem to have installed the non-free wireless firmware for my wireless NIC. I'm trying to set up a file server, so I want to configure the network to be static. Would one of you guys mind helping me?
For example I don't know what my /etc/network/interfaces file should look like, currently it looks like this:
auto lo
iface lo inet loopback
allow-hotplug wlan1
iface wlan1 inet static
address 192.168.10.111
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
gateway 192.168.10.1
# wireless-* options are implemented by the wireless-tools package
wireless-mode managed
wireless-essid Optimus Pwn
wpa-psk s:roonwolf # I changed this from wiresless-key1 or something like that
dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.10.1
dns-search localdomain
My ifconfig command looks like this:
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: 95 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 95 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0 txqueuelen: 0
RX bytes: 10376 (10.1KiB) TX bytes: 10376 (10.1 KiB)
wlan1 Link encap: Ethernet HWaddr 00:18:f3:85:99:07
inet addr:192.168.10.111 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier: 0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Here's what I get when I iwlist my ssid:
wlan1 Scan completed :
Cell 01 - Address: 00:14:D1:A4:0A:36
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=70/70 Signal level=-17 dBm
Encryption key:on
ESSID:"Optimus Pwn"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000003ff6381c1
Extra: Last beacon: 100ms ago
IE: Unknown: 000B4F7074696D75732050776E
IE: Unknown: 010882848B960C121824
IE: Unknown: 030106
IE: Unknown: 0706555320010B1B
IE: Unknown: 200100
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: DD180050F2020101070003A4000027A4000042435E0062322F00
IE: Unknown: DD1E00904C334C101BFFFF000000000000000000000000000000000000000000
IE: Unknown: 2D1A4C101BFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3406001900000000000000000000000000000000000000
IE: Unknown: 3D1606001900000000000000000000000000000000000000
IE: Unknown: DD0900037F01010000FF7F
When I ping 192.168.10.101(My primary desktop) I get
PING 192.168.10.101 (192.168.10.101) 56(84) bytes of data.
From 192.168.10.111 icmp_seq=2 Destination Host Unreachable
When I ping google.com I get(after a lengthy pause):
ping: unknown host google.com
What exactly am I doing wrong here? Should I restart the network?
ifup wlan1? Did you get any errors when doing so? – derobert Oct 26 '12 at 17:50iwlist scanto see if you wifi is working at all? Also, I think wpa-psk expects a hex string (man wpa_passphrase) – charlesbridge Oct 26 '12 at 18:38traceroute -n 8.8.8.8. Traceroute lets you know up to what point you can connect,-nstops the tool from making DNS requests (so you can test IP connectivity alone), and 8.8.8.8 is a memorable IP address that you can count on (Google runs a DNS server on it). – Gilles Oct 26 '12 at 22:52