You are not logged in.

#1 2011-04-12 17:23:40

Xuthras
Member
Registered: 2011-04-11
Posts: 7

[SOLVED] WLAN device does not work (Internet connection does not)

Hello.

I'm currently using eth0 with a static IP. But I'm on a netbook, so I want to connect via WLAN. The outputs from ifconfig and -a and iwconfig. And lspci -v from the card.

 
wlan0     Link encap:Ethernet  HWaddr 00:25:D3:D5:D1:1D  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
wlan0     IEEE 802.11bg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
02:00.0 Network controller: Atheros Communications Inc. AR2427 Wireless Network Adapter (PCI-Express) (rev 01)
    Subsystem: AzureWave Device 1112
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at fbff0000 (64-bit, non-prefetchable) [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: ath9k
    Kernel modules: ath9k

But when I set the wlan0 up and want to scan for nearby networks, I get this:

wlan0     No scan results

What should I do now?

Last edited by Xuthras (2011-04-13 10:04:38)

Offline

#2 2011-04-12 17:40:26

d00maz
Member
Registered: 2009-11-08
Posts: 91

Re: [SOLVED] WLAN device does not work (Internet connection does not)

try using sudo wlan0 scan

Offline

#3 2011-04-12 20:57:58

Xuthras
Member
Registered: 2011-04-11
Posts: 7

Re: [SOLVED] WLAN device does not work (Internet connection does not)

Okay that worked. I'm now connected with my Router via wlan0, but I don't have internet. If the network cable is attached, I have internet.

My wireless network profile (created with netcfg)

CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='wlan0'
SECURITY='wpa'
ESSID='FRITZ!Box Fon WLAN 7240'
KEY='****************'
IP='static' 

Networking in rc.conf

HOSTNAME="ARCHe"
eth0="eth0 192.168.178.29 netmask 255.255.255.0 broadcast 192.168.178.255"
INTERFACES=(eth0 wlan0)
gateway="default gw 192.168.178.1"
ROUTES=(gateway)
NETWORKS=(fritz)

What I have tried until now:
Deleting the static configuration in the eth0 line in  rc.conf. Didn't work.
Restarting the router. Didn't work.
Switching the mode for wlan0. Didn't work 
(I'm a bit desperate, so I'm trying everything sounding good.)

Do you have any ideas?

Offline

#4 2011-04-13 10:06:26

Xuthras
Member
Registered: 2011-04-11
Posts: 7

Re: [SOLVED] WLAN device does not work (Internet connection does not)

Okay, I got it.

I deleted the eth0 line in the Networking category in rc.conf, added a eth0 profile in netcfg, changed my wlan0 profile to

CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection using a static IP'
INTERFACE='wlan0'
SECURITY='wpa'
ESSID='FRITZ!Box Fon WLAN 7240'
KEY='****************'
IP='static' 
ADDR='192.168.178.26'
GATEWAY='192.168.178.1'
DNS=('192.168.178.1')

And it worked.

Offline

Board footer

Powered by FluxBB