u tried to connect to internet with wireless network card without router?
--;
how would that work?
i guess you had windows before using linux
so did it work?
it's basically same as windows
step1
make sure your hardwares (router, networkcard) are physically ok.
(if they worked in windows, you passed step1)
step2
install a driver for your wireless network card
(even windows don't have all the drivers for all hardwares, you sometimes install drivers in cd, so samething goes with linux)
so see if your wireless card is recognized under linux
# ifconfig -a (as a root)
do you see eth0 or wlan0 ?
if not, get the driver for your network card.. (google "your network card name, linux, driver", or wlan)
install it as their install help file says
step3
do some work to make it work
1, wireless connection use SSID, so set it
2, check your /etc/hosts file is correct(see if it has 127.0.0.1 localhost)
3, decide static/dynamic address scheme, i recommend using dynamic
4, #dhcpcd ( if u decided to use dynamic, and configure your router to do so)
5, ping
www.google.com (100% there means, you are not getting anything)
ping
www.google.com
PING
www.google.akadns.net (216.239.41.99): 56 octets data
64 octets from 216.239.41.99: icmp_seq=0 ttl=51 time=29.1 ms
if you see something like this, u r set.