You are not logged in.

#1 2012-08-04 01:18:15

thesideshow
Member
Registered: 2012-08-04
Posts: 6

[SOLVED]Connected to router, but not internet

Hey guys, I'm having problems getting myself connected to the internet.

To be clear, I managed to get it working for the live install, but I'm now having trouble using net-auto-wireless.

iwconfig shows that my computer is connected to the router (The computer also shows up on the router's client list), but I can't ping anything, not even my router (connect: Network is unreachable).

dhcpcd wlan0 also times out.

Any advice would be appreciated big_smile

Last edited by thesideshow (2012-08-04 11:41:00)

Offline

#2 2012-08-04 02:10:04

W4RH4WK
Member
Registered: 2012-08-03
Posts: 27

Re: [SOLVED]Connected to router, but not internet

would you mind posting the output of

$ ip route

and

$ ip add

these might help

Last edited by W4RH4WK (2012-08-04 02:10:21)

Offline

#3 2012-08-04 02:47:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,413

Re: [SOLVED]Connected to router, but not internet

And please post your
/etc/hostname
/etc/hosts

and
/etc/resolv.conf
files


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2012-08-04 04:59:34

thesideshow
Member
Registered: 2012-08-04
Posts: 6

Re: [SOLVED]Connected to router, but not internet

Thanks for the replies guys

ip route gives nothing

# ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
   link/loopback 00:00:00:00:00:00:00 brd 00:00:00:00:00:00:00
   inet 127.o.o.1/8 scope host lo
   inet6 ::1/128 scope host
      valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state DORMANT qlen 1000
   link/ether 00:25:d3:71:13:34 brd ff:ff:ff:ff:ff:ff:ff
   inet6 fe80::225:d3ff:fe71:1334/64 scope link
      valid_lft forever preferred_lft forever

/etc/hostname

Arch

/etc/hosts

127.0.0.1     localhost.localdomain    localhost Arch
::1               localhost.localdomain    localhost Arch

/etc/resolv.conf

nameserver 8.8.8.8
nameserver 8.8.4.4

I left out the comments tongue

Offline

#5 2012-08-04 05:55:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,413

Re: [SOLVED]Connected to router, but not internet

Well, I think at least one of your tools are lying to you.

3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP>

Is pretty clear that you are not associated with your router.

Can you post the output of sudo iwlist scan and of iwconfig  ??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2012-08-04 06:15:28

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED]Connected to router, but not internet

thesideshow wrote:

ip route gives nothing

Well, ya *need* a route to the Internet. E.g.:

default via 192.168.1.1 dev eth0

Offline

#7 2012-08-04 09:30:34

palomaamatias
Member
From: Sweden
Registered: 2012-07-23
Posts: 20

Re: [SOLVED]Connected to router, but not internet

Defining your network options in /etc/rc.conf might solve the problem! smile

https://wiki.archlinux.org/index.php/Co … IP_address

Last edited by palomaamatias (2012-08-04 09:48:02)

Offline

#8 2012-08-04 09:31:44

thesideshow
Member
Registered: 2012-08-04
Posts: 6

Re: [SOLVED]Connected to router, but not internet

ewaller wrote:

Well, I think at least one of your tools are lying to you.

3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP>

Is pretty clear that you are not associated with your router.

For the interest of my learning, is it NO-CARRIER that shows it is not associated with the router?

ewaller wrote:

Can you post the output of sudo iwlist scan and of iwconfig  ??

I'm not sure how to copy the results to paste it here (since i'm not connected to anything) so I'm only going to type out what I think is interesting. Please let me know if there's anything else I should post here.

iwlist scan has many "IE: Unknown: XXXXXXXXXX" errors for the SSID of interest

Example:

IE: Unknown: 000E3936204A616C616E204C6562616E

iwconfig

wlan0
IEEE 802.11bgn  ESSID:"MASKED"
Mode:Managed Frequency:2.462 GhZ Access Point: 00:02:6F:93:87:64
Bit Rate=108 Mb/s Tx-Power=15dBm
Retry long limit:7   RTS thr:off    Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=70/70    Signal level=-25 dBm
Rx invalid nwid:0    Rx invalid crypt:0    Rx invalid frag:0
Tx excessive retries:0    Invalid misc:8    Missed beacon:0
brebs wrote:

Well, ya *need* a route to the Internet. E.g.:

default via 192.168.1.1 dev eth0

i can't ip add default <ip-address>. I get errors.

Offline

#9 2012-08-04 10:21:33

thesideshow
Member
Registered: 2012-08-04
Posts: 6

Re: [SOLVED]Connected to router, but not internet

palomaamatias wrote:

Defining your network options in /etc/rc.conf might solve the problem! smile

https://wiki.archlinux.org/index.php/Co … IP_address

dhcpcd wlan0 times out!

edit: i tried the other steps as well, didn't help!

Last edited by thesideshow (2012-08-04 10:33:46)

Offline

#10 2012-08-04 10:39:18

altbdoor
Member
From: KL, Malaysia
Registered: 2012-04-25
Posts: 128

Re: [SOLVED]Connected to router, but not internet

Hi thesideshow! Welcome to Arch Linux forums.

thesideshow wrote:

I'm not sure how to copy the results to paste it here (since i'm not connected to anything)

I'm assuming that you have two systems here.
1. Arch with internet problem.
2. Working internet connection.

Output the results of the command from Arch with internet problem.

#command > abc.txt

#example
iwconfig > abc.txt

The results of iwconfig will be in abc.txt, in the directory where you have executed the command.
Get a USB drive, and well, I don't have to teach the rest, don't I?

On a side note, just out of interest, what is your wireless card module/driver?
Is it supported by Arch Linux?

Last edited by altbdoor (2012-08-04 10:44:09)

Offline

#11 2012-08-04 10:42:38

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: [SOLVED]Connected to router, but not internet

You need to switch to systemd then network-manager then fedora.

Offline

#12 2012-08-04 11:26:13

thesideshow
Member
Registered: 2012-08-04
Posts: 6

Re: [SOLVED]Connected to router, but not internet

altbdoor wrote:

Output the results of the command from Arch with internet problem.

#command > abc.txt

#example
iwconfig > abc.txt

The results of iwconfig will be in abc.txt, in the directory where you have executed the command.
Get a USB drive, and well, I don't have to teach the rest, don't I?

*facepalm*

altbdoor wrote:

On a side note, just out of interest, what is your wireless card module/driver?
Is it supported by Arch Linux?

It's an ASUS 1005HA, so it's a Atheros AR9285. I got it working during the live install following the beginner's guide on the wiki though, so I expect it should work!

Last edited by thesideshow (2012-08-04 11:26:22)

Offline

#13 2012-08-04 11:42:17

thesideshow
Member
Registered: 2012-08-04
Posts: 6

Re: [SOLVED]Connected to router, but not internet

Okay I'm officially an idiot.

I read this in the wireless set up page

Note that WEP string keys (not hex keys) must be specified with a leading s: (e.g. KEY="s:somepasskey")

and misread WEP as WPA.

Sorry for wasting your times!

Offline

#14 2012-08-04 11:45:30

W4RH4WK
Member
Registered: 2012-08-03
Posts: 27

Re: [SOLVED]Connected to router, but not internet

no problem, we all make mistakes. You are welcome

Offline

#15 2012-08-04 12:00:20

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: [SOLVED]Connected to router, but not internet

W4RH4WK wrote:

no problem, we all make mistakes. You are welcome

Says the guy with 10 posts. No, we all hate you right now.

Offline

#16 2012-08-04 13:14:20

W4RH4WK
Member
Registered: 2012-08-03
Posts: 27

Re: [SOLVED]Connected to router, but not internet

bangkok_manouel wrote:

Says the guy with 10 posts. No, we all hate you right now.

well, i have to start somewhere ^^. Post count will rise in near future tongue i hope

Last edited by W4RH4WK (2012-08-04 13:15:38)

Offline

Board footer

Powered by FluxBB