Posts Tagged ‘linux’

Ping Command In Linux

Thursday, December 31st, 2009

ping command in linux
Basic Wireless Commands in LINUX?

Im already cracking WEP keys thanks to the many tutorials everywhere…

But as a nooob, im missing the basic stuff.
Im trying to configure the card manually, because i set my router to not be a DHCP server.

These commands are the ones im using, but i cant get connected to the internet. I can ping my router though…

ifconfig ath0 192.168.2.5 (that sets the ip fine)

iwconfig ath0 key XXXXXX (my wep key)
iwconfig ath0 channel 6 (sets the card to channel 6 like my AP)
route add default gw 192.168.2.1 ath0 (adds the default gateway)
ifconfig ath0 up (brings up the interface?)

and i also tried

echo nameserver 192.168.2.1 >> /etc/resolve.conf

I dont know what else i need. because all this will not get me connected to the internet.

If i use DHCP, i can get connected without problems… but i need to keep things manual in this case.

Any clue?

Thanks a lot.

do u know ping www.yahoo.com, and measure the connections speed , about 70 ms

Linux Commands – Ping