problem with wireless connection in openesuse 11.0

hi ,
i m using opensuse 11.0 . dialup connection and wired connection is working fine. but when i am using wireless connection(wify) through kNetworkManager its connecting good but when i am opening any browser ,kopete,kmail its not working at all. browser gives error as “address not found”, please help me so solve my problem.
thank you.

Have you perused the stickies in the wireless forum ? Lots of very good info to be found

Andy

Could you please run the following commands in console:

ping -c 4 193.232.124.12
grep nameserver </etc/resolv.conf
/sbin/route -n

and tell what they’d say?

Thanks for the reply.
i run the commands what you suggest in super user mode and i got the following output.

linux-ptq1:/home/shailesh # ping -c 4 193.232.124.12
connect: Network is unreachable
linux-ptq1:/home/shailesh # grep nameserver </etc/resolv.conf
nameserver 172.16.1.1
nameserver 172.16.1.1
nameserver 172.16.1.1
linux-ptq1:/home/shailesh # /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

Thanks for the reply.
i run the commands what you suggest in super user mode and i got the following output.

linux-ptq1:/home/shailesh # ping -c 4 193.232.124.12
connect: Network is unreachable
linux-ptq1:/home/shailesh # grep nameserver </etc/resolv.conf
nameserver 172.16.1.1
nameserver 172.16.1.1
nameserver 172.16.1.1
linux-ptq1:/home/shailesh # /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

You should still consider the comment from deltaflyer44, read the stickies and give more information.

The information provided until now only shows, that it can not work like that, but not why.

Thanks for the reply.
i run the commands what you suggest in super user mode and i got the following output.

linux-ptq1:/home/shailesh # ping -c 4 193.232.124.12
connect: Network is unreachable
linux-ptq1:/home/shailesh # grep nameserver </etc/resolv.conf
nameserver 172.16.1.1
nameserver 172.16.1.1
nameserver 172.16.1.1
linux-ptq1:/home/shailesh # /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

Is this a joke or what?

all the following command working good.
linux-tx6o:/home/shailesh # /usr/sbin/iwlist scan
linux-tx6o:/home/shailesh # iwconfig
linux-tx6o:/home/shailesh # /usr/sbin/iwconfig
linux-tx6o:/home/shailesh # /sbin/ifconfig
thiscommand gives the inet address and all.
inet addr:172.16.228.193 Bcast:172.16.228.193 Mask:255.255.255.255
when i try to ping
linux-tx6o:/home/shailesh # ping -c 5 172.16.228.1
connect: Network is unreachable
linux-tx6o:/home/shailesh # ping -c 5 66.70.73.150
connect: Network is unreachable
this step fails, it means my name server entries are wrong.
please help me what to next how to get my Access point’s correct ip and name server ip’s.
i m using dhcp , and ipv6 enabled, my firewall off and using no proxy.
please help me whats the problem still going on.
thanks.

shailesh007 wrote:
> when i try to ping
> linux-tx6o:/home/shailesh # ping -c 5 172.16.228.1
> connect: Network is unreachable
> linux-tx6o:/home/shailesh # ping -c 5 66.70.73.150
> connect: Network is unreachable
> this step fails, it means my name server entries are wrong.

No. The name server is not used when you give an IP number.

Did you get that IP by using DHCP or is that a static IP?

If it is static, it is likely that you didn’t get the routing set correctly.

What is the output from the following:

/sbin/route -n

Thanks for reply.

i am getting the ip’s via DHCP.
the output of the command is:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

shailesh007 wrote:
> lwfinger;1968788 Wrote:
>> shailesh007 wrote:
>>> when i try to ping
>>> linux-tx6o:/home/shailesh # ping -c 5 172.16.228.1
>>> connect: Network is unreachable
>>> linux-tx6o:/home/shailesh # ping -c 5 66.70.73.150
>>> connect: Network is unreachable
>>> this step fails, it means my name server entries are wrong.
>> No. The name server is not used when you give an IP number.
>>
>> Did you get that IP by using DHCP or is that a static IP?
>>
>> If it is static, it is likely that you didn’t get the routing set
>> correctly.
>>
>> What is the output from the following:
>>
>> /sbin/route -n
> Thanks for reply.
>
> i am getting the ip’s via DHCP.
> the output of the command is:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

Your DHCP setup is failing to set the routing. You should see something more like

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0

You will need to look at the various logs, perhaps /var/log/NetworkManager, to
see why your gateway is not being established.

As a workaround, you can issue the commands

sudo /sbin/route add -net 172.16.228.0 netmask 255.255.255.0 dev wlan0
sudo /sbin/route add default gw 172.16.228.1

Those two commands assume that the gateway is at 172.16.228.1, and that the
interface is called wlan0.

If the routing is not set by DHCP, it is likely that the nameservers are also
not being set correctly either. Those are specified in /etc/resolv.conf.

Larry

yes, i m not able to run my DHCP server, i dont know why.
i run the command manually what u suggested but untill not able to access the internet.

linux-0r33:/home/shailesh # /sbin/route add -net 172.16.228.0 netmask 255.255.255.0 dev eth1
linux-0r33:/home/shailesh # /sbin/route add default gw 172.16.228.1
linux-0r33:/home/shailesh # cat /etc/resolv.conf

BEGIN INFO

END INFO

domain site
nameserver 172.16.1.1

when i m updating the some information in network connecction i got the Knetworkmanager crased. i m sending the imge of it and its backtrace may be this information will be some usefull.

C:\snapshot1.png

[KCrash handler]
#6 0xb6724057 in DeviceTrayComponent::device ()
from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#7 0xb66aa7c5 in Tray::qt_invoke ()
from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#8 0xb753379a in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#9 0xb66b4ef1 in DeviceStore::DeviceRemoved ()
from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#10 0xb66b626b in DeviceStore::slotDeviceRemoved ()
from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#11 0xb66b740d in DeviceStore::qt_invoke ()
from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#12 0xb753379a in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0xb673c961 in DBus::NetworkManagerProxy::DeviceRemoved ()
from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#14 0xb672aa6f in DBus::NetworkManagerProxy::slotHandleDBusSignal ()
from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#15 0xb673bb76 in DBus::NetworkManagerProxy::qt_invoke ()
from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#16 0xb66abbbb in NMProxy::qt_invoke ()
from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#17 0xb753379a in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb662778e in QDBusProxy::dbusSignal () from /usr/lib/libdbus-1-qt3.so.0
#19 0xb6627ff9 in QDBusProxy::handleDBusSignal ()
from /usr/lib/libdbus-1-qt3.so.0
#20 0xb66275b0 in QDBusProxy::qt_invoke () from /usr/lib/libdbus-1-qt3.so.0
#21 0xb753371d in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0xb661175e in QDBusConnectionPrivate::dbusSignal ()
from /usr/lib/libdbus-1-qt3.so.0
#23 0xb66160bb in QDBusConnectionPrivate::handleSignal ()
from /usr/lib/libdbus-1-qt3.so.0
#24 0xb6616edf in ?? () from /usr/lib/libdbus-1-qt3.so.0
#25 0xb6573755 in dbus_connection_dispatch () from /lib/libdbus-1.so.3
#26 0xb661611b in QDBusConnectionPrivate::dispatch ()
from /usr/lib/libdbus-1-qt3.so.0
#27 0xb661153b in QDBusConnectionPrivate::qt_invoke ()
from /usr/lib/libdbus-1-qt3.so.0
#28 0xb753379a in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0xb7535cdb in QObject::activate_signal ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0xb7898db9 in QTimer::timeout () from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0xb7557f7c in QTimer::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0xb74ce3cd in QApplication::internalNotify ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0xb74cf406 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0xb7b86892 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#35 0xb74c3b1b in QEventLoop::activateTimers ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0xb7479591 in QEventLoop::processEvents ()
from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0xb74e6d10 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0xb74e6ba6 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0xb74cea5f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0xb66a4a01 in kdemain () from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#41 0xb7fd3474 in kdeinitmain () from /opt/kde3/lib/kde3/knetworkmanager.so
#42 0x0804f329 in ?? ()
#43 0x0804faca in ?? ()
#44 0x08050105 in ?? ()
#45 0x08050b12 in ?? ()
#46 0xb6f3b5f5 in __libc_start_main () from /lib/libc.so.6
#47 0x0804b971 in ?? ()