wireless working but no internet


Forum: Networking
Topic: wireless working but no internet
started by: phlegyas

Posted by phlegyas on Feb. 15 2007,17:17
Hello!

I succeeded in having my atheros pcmcia working with this board, so thank you.
But I still have a problem: although I manage to ping the other computers on my lan, Icannot connect to internet, any idea?

Thanks in advance.

Posted by ^thehatsrule^ on Feb. 15 2007,19:10
Can you ping things on the internet?
Try to ping "www.google.com"

If not, can you ping "72.14.205.147"?

If yes, you have a dns problem.
If not, your internet sharing may not be set up correctly.

Also, how is your lan set up?

Posted by Wittfella on Feb. 16 2007,00:09
It sounds like your gateway is not set up.  How are you configuring your network, statically or using DHCP.  If DHCP it should be setup automatically for you, you can check this using

Code Sample
sudo pump -i eth0 --status


where eth0 is your network interface, it might be something else like 'wlan0'.  This tells you a bunch of info about your network, dns servers, gateway server etc.

If you set up your network manually you need to define your own default gateway using 'route'

Code Sample
route add default gw 192.168.1.1


where the IP number points to your modem/router for example.

Hope this helps some. Wittfella

Posted by phlegyas on Feb. 16 2007,16:03
Thanks for your help!
answers:
for the ping of an extern IP: Network is unrechable
same for the change of gateway.

and for pump: Operation failed.

I can do a scan and find my wireless beacon, and when I do a "iwconfig", I see that my card is connected to it.

That's all I can say with my little knowledge!

Posted by phlegyas on Feb. 16 2007,16:06
But I can't say if the router gave an IP adress to my DSL box.
Posted by ^thehatsrule^ on Feb. 16 2007,17:04
Well if you can ping others on your lan then it has got to have an ip.

Does your wireless work with other systems/setups?  It could be that that needs configuring...

Posted by phlegyas on Feb. 16 2007,21:49
I can browse with my pda so no problem with my wireless connection and I succeeded with my card and Xubuntu!
Posted by Wittfella on Feb. 17 2007,01:01
Quote
pump: Operation failed


Make sure you are root when you run the pump command. Also make sure you are using the correct network interface, like 'wlan0'. You can get this from iwconfig.

Type 'ifconfig' to see your network connection information also.

Posted by phlegyas on Feb. 19 2007,17:19
Thanks a lot for everything
I ran the commands in the wrong order to configure my ath0
Everything is working now

Posted by flipflopnick on Feb. 25 2007,20:58
Quote (phlegyas @ Feb. 16 2007,11:06)
But I can't say if the router gave an IP adress to my DSL box.

Have you solved this yet?
To see if wireless router has given you an IP address, type
sudo ifconfig -a

In entry for wifi card should be 2 IP addresses.
One for card, starting 'inet addr:'
get back with news

I used < http://madwifi.org/wiki/UserDocs/FirstTimeHowTo, >
ignoring preamble about compiling.

Posted by rothmail on Mar. 27 2007,17:06
Quote (phlegyas @ Feb. 16 2007,11:06)
But I can't say if the router gave an IP adress to my DSL box.

If you are assigned an IP address, it should show up in the inet addr for the device (such as wlan0), using the ifconfig command, for example:
         inet addr:192.168.1.103

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.