For some odd reason now I’m unable to connect to the internet despite being able to connect to router and receive an IP address. I’m able to do everything except browse and connect to the internet. Works perfectly fine under Windows.
At least tell us what verion of openSUSE you are using. How could we know? And which desktop environmnet (you say you are “browsing”, thus I guess you are using an HTTP client program like FireFox or Konqueror and thus you are using a GUI, but those are all assumptions from me, not information from you).
And what does mean “do everything”? You are sending /receiving mail, you are able to telnet/ssh to sites on the Internet, you are able to use Torrent? That all means that you have connection to the Internet, but only have a problem using the HTTP protocol. Please be more precise in your information.
openSUSE 12.1… KDE 4.8
This happens all the time, I reboot sometimes and boot into an issue without me doing anything… My wireless has been working fine until this morning when I boot in and see I can connect to 3 different routers with 3 different security and get an IP but can’t do anything internet related. I can’t browse, log on instant messenger, etc…
I wll try again to draw some factual information from you.
When you say “I can’t browse”, that is not very precise. That could be due to anything from a broken keyboard/mouse, to a broken cable to you sitting handcuffed with your hands behind your back. A problem description has three things:
a ) what did you do;
b) what did you expect to happen
c) what happened insted.
Thus in your case it could be something like:
a) I started Firefox and entered forums.opensuse.org in the address bar and gave Return.
b) I expected to get the main page of the openSUSE forums;
c) instead I got …
Please, over to you.
I didn’t do anything except press my power button to start my laptop up. I expected to be able to use my wireless internet like I normally do. Instead I was able to connect to my router as normal but couldn’t use the internet. I loaded pidgin and notice it wasn’t connecting and any websites I tried to go to would not display…
Any updates yesterday, or the day before yesterday?
Can you still access the router with a browser?
Is ipv6 enabled? See Yast - Network - Network settings. If so, disable it, reboot and try connecting to the router. Report results please
Also, please open a terminal, and post the output of the commands below here, between CODE tags.
ip addr
su -c 'route -n'
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 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: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 88:ae:1d:2c:9e:76 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:26:c7:16:4c:f8 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.104/24 brd 192.168.1.255 scope global wlan0
inet6 fe80::226:c7ff:fe16:4cf8/64 scope link
valid_lft forever preferred_lft forever
su -c ‘route -n’
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
No updates that I can think of, and I’m able to connect to the route via browser, ipv6 was never enabled, and I even tried disabling the firewall which was no luck.
On 07/10/2012 02:16 PM, Static2k wrote:
>
> Knurpht;2473676 Wrote:
>> Any updates yesterday, or the day before yesterday?
>>
>> Can you still access the router with a browser?
>>
>> Is ipv6 enabled? See Yast - Network - Network settings. If so, disable
>> it, reboot and try connecting to the router. Report results please
>>
>> Also, please open a terminal, and post the output of the commands below
>> here, between CODE tags.
>>
>>>
> Code:
> --------------------
> > >
> > ip addr
> > su -c ‘route -n’
> >
> --------------------
>>>
>
> ip addr
>
> Code:
> --------------------
>
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 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: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
> link/ether 88:ae:1d:2c:9e:76 brd ff:ff:ff:ff:ff:ff
> 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
> link/ether 00:26:c7:16:4c:f8 brd ff:ff:ff:ff:ff:ff
> inet 192.168.1.104/24 brd 192.168.1.255 scope global wlan0
> inet6 fe80::226:c7ff:fe16:4cf8/64 scope link
> valid_lft forever preferred_lft forever
>
> --------------------
>
>
>
> su -c ‘route -n’
>
> Code:
> --------------------
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
> 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
>
> --------------------
>
>
> No updates that I can think of, and I’m able to connect to the route
> via browser, ipv6 was never enabled, and I even tried disabling the
> firewall which was no luck.
Connecting to the web using a browser requires that a lot of things are working.
Please try the following simpler commands and report back if they worked:
ping -c5 192.168.1.1
ping -c5 8.8.8.8
ping -c5 www.google.com
As you report that you can browse to the router, #1 should work.
If #2 works, then you can access the Internet.
If #3 fails, you have a DNS problem.
#1 and #2 worked. #3 didn’t work displaying “unknown host”.
On 07/10/2012 05:36 PM, Static2k wrote:
>
> #1 and #2 worked. #3 didn’t work displaying “unknown host”.
You have a problem with DNS. Please post the output of
cat /etc/resolv.conf | grep -v \#
That will let us see what is wrong. Next edit /etc/resolv.conf, remove every
line containing “nameserver”, and add the following 2 lines:
nameserver 8.8.8.8
nameserver 8.8.4.4
After you do this, the 3rd ping should work, as well as everything else.
cat /etc/resolv.conf | grep -v #
search uic.edu
nameserver 128.248.171.50
nameserver 128.248.7.50
I have no idea why search uic.edu appears. I have a connection for UIC but that’s not the one I’m using. So I should proceed with the rest of the instructions?
Just verified, the information in resolv.conf are DNS servers for my university. It seems to be loading another network in my profiles that’s not even being used while connected to my router at home. There has been an update for the bind package which fixes DNS issues but I’m not able to check if it fixes my issue since I’m now using 8.8.8.8 in my resolv.conf. I’d prefer not to use google’s DNS servers.
I also have tons of random resolv.conf.* files in etc/ (*=random letters)
Hi
Use openDNS ones then…
208.67.222.222
208.67.220.220
–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.34-0.7-default
up 1 day 13:02, 5 users, load average: 0.47, 0.40, 0.41
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU
Fixed all issues.
Thread below helped also along with package update.
http://forums.opensuse.org/forums/english/get-technical-help-here/network-internet/476559-strange-resolv-conf-files-etc.html
On 07/11/2012 09:46 AM, Static2k wrote:
>
> Fixed all issues.
>
> Thread below helped also along with package update.
> http://tinyurl.com/cq96l7g
I’m not sure how that thread helped - the fix was probably the package updates.
I do not understand why you don’t want to use Google’s nameservers. Time-Warner
is my ISP, but the Google entries are much better/faster than theirs. In
addition, they have the IPv6 stuff set up right.
Also thanks everyone for their help. My resolve.conf wouldn’t change after being manually edited so I had to generate a new one for the package update to do its thing I believe. Plus now I only have one resolv.conf file instead of 20+. I wanted to use the ISP name servers but I didn’t know Google’s were better so I’ll consider Google’s nameservers after all.