To see what interfaces are available, you can use (as root) ifconfig
Quote:
yourhost# ifconfig
eth1 Link encap:Ethernet HWaddr 00:21:00:0e:04:c0
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::221:ff:fe0e:4c0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:230825 errors:0 dropped:0 overruns:0 frame:54726
TX packets:173845 errors:32 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:214965444 (205.0 MiB) TX bytes:37737267 (35.9 MiB)
Interrupt:19
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:18979 errors:0 dropped:0 overruns:0 frame:0
TX packets:18979 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1263724 (1.2 MiB) TX bytes:1263724 (1.2 MiB)
|
all that you have now is lo which is just your localhost 127.0.0.1 You need to add your wireless adapter, either manually to /etc/network/interfaces or by using network manager. Your adapter may be eth1 or wlan0 (eth0 is probably the ethernet connection) assuming that your dhcp client is installed you should be able to connect to the router (you may have to set up WEP or WPA before you have internet access)