You are not logged in.

#1 2008-10-06 21:28:33

rumo
Member
Registered: 2008-09-12
Posts: 8

no internet although connected to the router. with cable it works

i have a very weird problem with my router. i can connect with no problems (dhcp with a wpa-tkip passphrase). but the internet doesnt work at all. pinging neither. connection attempts to any website always time out. i use archassistant to connect to my wifi, using netcfg directly gives me the same results.
now the strange thing is that when i plug in an ethernet cable directly from the router to my computer it works suddenly flawlessly... im really at my wits end now. even stranger is that it worked a couple of days ago.
im using iwlwifi and i never had problems with it...
i tried static ip, changing dns servers - it didnt work.
does anyone have any ideas?
any help would be really appreciated!

rumo

Offline

#2 2008-10-06 22:42:52

z0phi3l
Member
From: Waterbury CT
Registered: 2007-11-26
Posts: 278

Re: no internet although connected to the router. with cable it works

Is your Wireless interface up?

Is it even started during boot up?

Offline

#3 2008-10-06 22:53:33

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: no internet although connected to the router. with cable it works

When you say that you can connect with no problems, what do you mean? Can you access the router configuration menu?

Is there any chance that you changed the router's firewall or filtering rules a couple of days ago?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2008-10-07 19:49:17

rumo
Member
Registered: 2008-09-12
Posts: 8

Re: no internet although connected to the router. with cable it works

yeah the wireless interface is up... otherwise it wouldn't be able to associate with the wifi router.

by connect, i mean it associates with the router. opening the router's configuration page doesn't work either.

[xxxxx@xxxxx ~]$ iwconfig wlan0
wlan0     IEEE 802.11  ESSID:"myessid"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:1C:F0:87:81:EE
          Bit Rate=54 Mb/s   Tx-Power=14 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Link Quality=100/100  Signal level=-35 dBm  Noise level=-91 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

thanks a lot for your efforts!

Offline

#5 2008-10-07 20:14:57

rumo
Member
Registered: 2008-09-12
Posts: 8

Re: no internet although connected to the router. with cable it works

about the router: no nothing was changed during the last days. and when i check the routers configuration (connected by cable) i can't see any firewall nor filter settings that would block my computer. and i forgot to mention that another (windows) computer doesnt have any problems at all... strange...

Offline

#6 2008-10-07 20:38:13

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: no internet although connected to the router. with cable it works

Any chance you can change the security to be wide open, then connect using the basic commands below?

ifconfig wlan0 up
iwconfig wlan0 essid any ap any
dhcpcd wlan0

see if that allows you to at least ping your gateway.  We should do this to rule out the wpa setup.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#7 2008-10-07 22:37:32

tandycorp
Member
Registered: 2007-07-01
Posts: 65

Re: no internet although connected to the router. with cable it works

looks like the wifi security is blocking you. Try with a wide open security like rson451 said. And if it doesn't work, try dhclient instead. I get better results with that. Far better than the network deamon using dhcpcd. In my case, I was not able to get an IP from my ISP with the network deamon calling dhcpcd. Only dhclient works. It is located in extra on the arch servers.

You should kill dhcpcd first before running dhclient.

Last edited by tandycorp (2008-10-07 22:47:23)

Offline

#8 2008-10-09 13:54:23

rumo
Member
Registered: 2008-09-12
Posts: 8

Re: no internet although connected to the router. with cable it works

ok... thanks a lot @ tandycorp. using dhcclient worked perfectly. even in a network with wpa-psk. how do i force archassistant/netcfg to always use dhclient?

thank u all very much again!

Offline

#9 2008-10-09 14:19:29

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: no internet although connected to the router. with cable it works

Network Profiles wiki wrote:

If you are having problems with DNS and DHCP, try adding to your profile:

DHCLIENT=no

This will tell netcfg to use dhcpcd instead of dhclient

I believe that this would already be the case.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#10 2008-10-14 18:49:14

rumo
Member
Registered: 2008-09-12
Posts: 8

Re: no internet although connected to the router. with cable it works

@rson451: 'adding to your profile' refers to the network profile configuration files of the different wifi networks? if so, there is no mention of DHCLIENT in them.

also i noticed that dhcpcd doesn't seem to be started at bootup. at least i get on 'killall dhcpcd' the response 'dhcpcd: no process killed'.

up to now im stilling manually starting dhclient after bootup. does anyone have any idea where my problems could stem from? i'm tempted to just write a script to execute dhclient at bootup. but that wouldn't be a very neat solution.

thanks,
rumo

Offline

#11 2008-10-14 19:03:15

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: no internet although connected to the router. with cable it works

I was referring to the network profiles wiki: http://wiki/archlinux.org/index.php/Network_Profiles

If it still doesn't work, check out the POST_UP variable in the net profile, maybe you can run dhclient in there.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

Board footer

Powered by FluxBB