no access to network

Hello,

I got my WLAN adapter to run and a connection to the router. The router shows the PC that it is connected and
/sbin/ifconfig shows:

wlan0 Link encap:Ethernet Hardware Adresse XXXXXXXXXXXXXX
inet Adresse:192.168.220.104 Bcast:192.168.220.255 Maske:255.255.255.0
inet6 Adresse: fe80::222:b0ff:fedf:1ce3/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:65 errors:0 dropped:0 overruns:0 frame:0
TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:4290 (4.1 Kb) TX bytes:14398 (14.0 Kb)

That means I got an IP address from the router. But I cannot access the network. Even a ping fails:

ping -c 5 192.168.220.1
PING 192.168.220.1 (192.168.220.1) 56(84) bytes of data.
From 192.168.220.100: icmp_seq=2 Destination Host Unreachable
From 192.168.220.100 icmp_seq=2 Destination Host Unreachable
From 192.168.220.100 icmp_seq=3 Destination Host Unreachable
From 192.168.220.100 icmp_seq=4 Destination Host Unreachable
From 192.168.220.100 icmp_seq=5 Destination Host Unreachable

— 192.168.220.1 ping statistics —
5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4033ms
, pipe 3

Does anybody knows what the problem could be?

Thanks
Albert

AlbertMaier wrote:
> Hello,
>
> I got my WLAN adapter to run and a connection to the router. The router
> shows the PC that it is connected and
> /sbin/ifconfig shows:
>
> wlan0 Link encap:Ethernet Hardware Adresse XXXXXXXXXXXXXX
> inet Adresse:192.168.220.104 Bcast:192.168.220.255
> Maske:255.255.255.0
> inet6 Adresse: fe80::222:b0ff:fedf:1ce3/64
> Gültigkeitsbereich:Verbindung
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:65 errors:0 dropped:0 overruns:0 frame:0
> TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 Sendewarteschlangenlänge:1000
> RX bytes:4290 (4.1 Kb) TX bytes:14398 (14.0 Kb)
>
> That means I got an IP address from the router. But I cannot access the
> network. Even a ping fails:
>
> ping -c 5 192.168.220.1
> PING 192.168.220.1 (192.168.220.1) 56(84) bytes of data.
> From 192.168.220.100: icmp_seq=2 Destination Host Unreachable
> From 192.168.220.100 icmp_seq=2 Destination Host Unreachable
> From 192.168.220.100 icmp_seq=3 Destination Host Unreachable
> From 192.168.220.100 icmp_seq=4 Destination Host Unreachable
> From 192.168.220.100 icmp_seq=5 Destination Host Unreachable
>
> — 192.168.220.1 ping statistics —
> 5 packets transmitted, 0 received, +5 errors, 100% packet loss, time
> 4033ms
> , pipe 3
>
>
> Does anybody knows what the problem could be?

What does ‘sudo /usr/sbin/iwconfig’ show?

Are you using DHCP or static IP addresses?

Hello,

I’m using DHCP.

/usr/sbin/iwconfig shows:
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:“XXXXXX”
Mode:Managed Frequency:2.412 GHz Access Point: 00:C0:A8:E7:B9:D2
Bit Rate=54 Mb/s Tx-Power=11 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key XXXXXXXXXXXXXXXXXXXXXXXX [2] Security mode:open
Power Management:off
Link Quality=68/100 Signal level:-68 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

I also deactivated the firewall, so this shouldn’t be the problem.

Albert

Edited out your encryption key,as it’s not a good idea to post it on the forum,for security reasons

Andy

Try this in console as root:

ifconfig wlan0 down
wlanconfig wlan0 destroy
wlanconfig wlan0 create wlandev wmmaster0 wlanmode sta

After this you ‘should’ be able to connect to a wireless ap

Is wlanconfig available from SUSE? I am having the same problem as above, and have been looking for a solution. Never posted the question as I never had the time to pull all the files together from the sticky. But basically, I am connecting to a WAP. I get the DHCP IP, and the DNS entries from the router, but cannot access (ping, &c) anything outside my box. These commands are not found in my SLED 11.

You’re problably not in the shell as root
Type su and password and try wlanconfig again!

No, I was root. In fact, I even tried to find the command (in order to provide the full path) and could not locate it in any of the bin directories (used the find command as root). I am leaning on re-installing. Interestingly, I had this same problem occur with Ubuntu (9.4) live CD. I got the IP from the WAP, had DNS entries proper to the network, but could not ping the WAP or the router. It almost seemed like a routing issue, but the route table (netsat -rn) looked right to my solaris eyes. I am going to re-install tomorrow and see if that clears it up. If not, I will post a new thread following the sticky documents. But it does seem this is a common issue. Perhaps a driver (RTL8187).