I’m not sure what I did if anything but I have not used my opensuse for several months. Now when I try to connect to the internet I can not pull any websites. The wireless connection is active and connected. I am getting an IP address via dhcp. When I try and ping out (opensuse.org) I get unknown host. If I ping an IP address or type the IP in my browser it works fine. nslookup works but only if I specify the dns server. If anybody could help I would really appreciate it.
Here is a copy of my troubleshooting commands.
linux-uzic:/etc # nslookup forums.opensuse.org
;; connection timed out; no servers could be reached
Definitely strange-looking. Do you see packets fly like they should?
sudo /usr/sbin/tcpdump -n -s 0 port 53
While running that do both tests of nslookup with and without specifying
the DNS server in the nslookup command to see if anything is different.
Maybe it’s an arp issue?
/sbin/arp -a
Good luck.
On 10/19/2010 08:36 AM, chewdon wrote:
>
> I’m not sure what I did if anything but I have not used my opensuse for
> several months. Now when I try to connect to the internet I can not
> pull any websites. The wireless connection is active and connected. I
> am getting an IP address via dhcp. When I try and ping out
> (opensuse.org) I get unknown host. If I ping an IP address or type the
> IP in my browser it works fine. nslookup works but only if I specify
> the dns server. If anybody could help I would really appreciate it.
>
>
>
> Here is a copy of my troubleshooting commands.
>
>
>
> linux-uzic:/etc # nslookup forums.opensuse.org
> ;; connection timed out; no servers could be reached
>
> linux-uzic:/etc # nslookup forums.opensuse.org 192.168.8.1
> Server: 192.168.8.1
> Address: 192.168.8.1#53
>
> Non-authoritative answer:
> Name: forums.opensuse.org
> Address: 130.57.4.15
>
> linux-uzic:/etc # cat resolv.conf.netconfig
> ### /etc/resolv.conf file autogenerated by netconfig!
> #
> # Before you change this file manually, consider to define the
> # static DNS configuration using the following variables in the
> # /etc/sysconfig/network/config file:
> # NETCONFIG_DNS_STATIC_SEARCHLIST
> # NETCONFIG_DNS_STATIC_SERVERS
> # NETCONFIG_DNS_FORWARDER
> # or disable DNS configuration updates via netconfig by setting:
> # NETCONFIG_DNS_POLICY=’’
> #
> # See also the netconfig(8) manual page and other documentation.
> #
> # Note: Manual change of this file disables netconfig too, but
> # may get lost when this file contains comments or empty lines
> # only, the netconfig settings are same with settings in this
> # file and in case of a “netconfig update -f” call.
> #
> ### Please remove (at least) this line when you modify the file!
> search address removed for this post
> nameserver 192.168.8.1
> linux-uzic:/etc # ifconfig
> eth0 Link encap:Ethernet HWaddr 00:1D:BA:B0:6E:C8
> UP 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)
> Interrupt:16
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:94 errors:0 dropped:0 overruns:0 frame:0
> TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:6292 (6.1 Kb) TX bytes:6292 (6.1 Kb)
>
> vboxnet0 Link encap:Ethernet HWaddr 0A:00:27:00:00:00
> inet6 addr: fe80::800:27ff:fe00:0/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:468 (468.0 b)
>
> wlan0 Link encap:Ethernet HWaddr 00:22:FB:10:D1:58
> inet addr:192.168.8.119 Bcast:192.168.8.255
> Mask:255.255.255.0
> inet6 addr: fe80::222:fbff:fe10:d158/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:6521 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3278 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:798979 (780.2 Kb) TX bytes:337745 (329.8 Kb)
>
> wmaster0 Link encap:UNSPEC HWaddr
> 00-22-FB-10-D1-58-00-00-00-00-00-00-00-00-00-00
> UP RUNNING MTU:0 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)
>
> linux-uzic:/etc # route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.8.0 * 255.255.255.0 U 2 0 0
> wlan0
> loopback * 255.0.0.0 U 0 0 0
> lo
> default 192.168.8.1 0.0.0.0 UG 0 0 0
> wlan0
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
I suggest you remove the networkconnection from the networkmanager, then logout, login and recreate the connection.
If you’re using ifup, remove the configuration of the card, recreate it.
Typically you shouldn’t have to completely re-do your network card settings, unless I missed it you didn’t post your /etc/resolv.conf but I’m almost certain it doesn’t contain the proper settings.
But, assuming that your DHCP is configured correctly and is handing you your DNS Server setting properly and assuming your network settings aren’t configured in some oddball way, it’s possible to refresh your network connection with
As root
/etc/init.d/network restart
Typically, that should work whether you’re using IFUP/IFDOWN or Network Manager.
/etc/resolv.conf was there, and it looked good. Search for ‘nameserver’
in the original post.
Good luck.
On 10/19/2010 05:36 PM, tsu2 wrote:
>
> Typically you shouldn’t have to completely re-do your network card
> settings, unless I missed it you didn’t post your /etc/resolv.conf but
> I’m almost certain it doesn’t contain the proper settings.
>
> But, assuming that your DHCP is configured correctly and is handing you
> your DNS Server setting properly and assuming your network settings
> aren’t configured in some oddball way, it’s possible to refresh your
> network connection with
>
> As root
>
>
>
> Code:
> --------------------
> /etc/init.d/network restart
> --------------------
>
>
>
> Typically, that should work whether you’re using IFUP/IFDOWN or Network
> Manager.
>
> HTH,
> Tony
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Oh… yes, you’re right. Hmmmm… strange. Perhaps that’s an issue.
Good luck.
On 10/20/2010 05:36 AM, nrickert wrote:
>
> I saw a listing of “resolv.conf.netconfig” in the initial post, but not
> of “/etc/resolv.conf”.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Thanks for all of help. The problem was like you said. resolv.conf had the wrong address. For some reason I thought it was set in resolv.conf.netconfig.
Thanks again everyone for all of the help.