Can't connect to internet by wireless card.

Issues related to configuring your network
Post Reply
czarekplpl
Posts: 53
Joined: 2014/08/23 07:57:52

Can't connect to internet by wireless card.

Post by czarekplpl » 2015/08/01 17:49:18

Hello.
I cannot connet to internet via wireless card.
Lan is working buy wireless not.
I can scan wireless networs so looks like wireless card is working well.
When the Lan cable is pluged in I can also reach the server by wireless ip by putty but once plug off so wirelles IP is unrechable.
There is only one output which I do not know why canno firn
Here are some out put looks wrong:

Code: Select all

[root@kukun network-scripts]# /sbin/iw wlan0 scan
nl80211 not found.
Here everything looks goot
ip addr:

Code: Select all

[root@kukun ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:e0:4c:12:35:fe brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.168/24 brd 192.168.1.255 scope global eth0
    inet6 fe80::2e0:4cff:fe12:35fe/64 scope link
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:24:21:d0:36:97 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.106/24 brd 192.168.1.255 scope global wlan0
    inet6 fe80::224:21ff:fed0:3697/64 scope link
       valid_lft forever preferred_lft forever
ifcfg-wlan0

Code: Select all

DEVICE=wlan0
TYPE=Wireless
BOOTPROTO=dhcp
HWADDR=00:24:21:D0:36:97
IPADDR=
NETMASK=255.255.255.0
ONBOOT=yes   
GATEWAY=192.168.1.1
ESSID=TendaRouter
WPA=yes
Anybody could help me how to diagnose problem ??

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Can't connect to internet by wireless card.

Post by gerald_clark » 2015/08/01 19:37:52

It looks like your wireless is working fine.
The problem is that you have wireless and wired on the same subnet.
Routing does not work properly if the kernel decides to respond on the
disconnected wired nertwork. When using wlan0 make sure eth0 is down.

czarekplpl
Posts: 53
Joined: 2014/08/23 07:57:52

Re: Can't connect to internet by wireless card.

Post by czarekplpl » 2015/08/01 21:53:15

The problem is up side down.
I cannot use only wireless. Wireless is working when the eth0 is also up.
So I can connetc by putty to the server by IP assigned to wlan0 and eth0.
If I disconnect eth0 wlan0 is shown up but actually is disconnected.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Can't connect to internet by wireless card.

Post by gerald_clark » 2015/08/02 01:56:46

Disable eth0 and restart the network.
Then troubleshoot.
Disconnecting eth0 from a running nertwork may well stop network access even though wlan0 is working properly.

czarekplpl
Posts: 53
Joined: 2014/08/23 07:57:52

Re: Can't connect to internet by wireless card.

Post by czarekplpl » 2015/08/02 05:17:37

I unpluged eth0 and restart server.
Now eth0 is down. wlan0 is UP output and output ip addr for wlan0 is same as before but
I cannot ping any pages and I cannot connet to server by putty.
Have you any idea how to diagnose problem??

Post Reply