Opensuse 11.3 amd64 - Have internet access but cannot access repos - IPV6?

I installed 11.3amd64 as a VM under Vista/VMWare Player - all worked fine. I have now installed it as a physical system. It nstalled cleanly BUT during first boot it could not access the repos. With each repo it gave the message

  • download (curl) error for (repo)
  • error code connection failed
  • error message could not resolve host (repo)

This was followed by a message box containing

  • UI syntax error
  • no widget with ID 'contents

Firefox could not access the internet (cannot find server) until I disabled IPV6 (I used about:config), now it works fine.

I think the repos problem is because of IPV6 - I usually have trouble with IPV6.

I tried disabling IPV6 with the following (How To Disable ipv6 on SuSE Linux | Linux Poison), (found by googling)

echo “alias net-pf-10 off” >> /etc/modprobe.conf.local

echo “alias ipv6 off” >> /etc/modprobe.conf.local

After restarting, ifconfig still shows inet6 so it seems IPV6 is still running.

I would appreciate any help in resolving the repos problem. Perhaps it is familiar to some people on the forum?
I would also like to find out how to disable IPV6 in Opensuse 11.3 amd64

thank you
eamnomadic

I should have added that I used Yast/Network Settings to change setting to use IPV4 only, but after rebooting ifconfig still shows inet6. When googling for this problem I came across a comment somewhere to the effect that this change to Yast/Network Settings comes too late in the boot sequence to have effect.
eamnomadic

I just discovered I was not disabling IPV6 properly in Yast Network Settings - I have now disabled it in the global tab setting, and after reboot ifconfig no longer shows inet6. HOWEVER…
problem remains. Tried online update but get this message with each repo

  • cannot access installation media. Check whether the server is accessible.
    I can successfully ping the repos.
    Help anyone???

eamnomadic

Have you tried deleting and then adding them again in yast>software?
If the network is working, you should be able to at least add some of the community repos.

Hi whych
Deleted them in yast/software and now it wont let me set them up again - error message = cannot resolve download.opensuse.org,

Here’s where I’m at

  • I’ve already reinstalled 11.3 in case there was some funny there, even tho the previous installation was clean

  • I DID check the media before installation

  • I can happily browse using firefox (had to first disable IPV6 in firefox)

  • I can ping download.opensuse.org
    linux-9irt:/home/eddie # ping -c 5 download.opensuse.org
    PING download.opensuse.org (195.135.221.134) 56(84) bytes of data.
    64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=1 ttl=54 time=32.8 ms
    64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=2 ttl=54 time=33.8 ms
    64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=3 ttl=54 time=32.9 ms
    64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=4 ttl=54 time=32.9 ms
    64 bytes from ftp.opensuse.org (195.135.221.134): icmp_seq=5 ttl=54 time=33.5 ms
    download.opensuse.org ping statistics —
    5 packets transmitted, 5 received, 0% packet loss, time 4006ms
    rtt min/avg/max/mdev = 32.817/33.207/33.811/0.413 ms

  • but I cannot access the repos using online update, install software, zypper etc

some further data

output of route is the following
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.1.254 0.0.0.0 UG 0 0 0 eth0

/etc/resolv.conf has the following active line
nameserver 192.168.1.254

/etc/hosts has the following active lines
127.0.0.1 localhost

special IPv6 addresses

::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 linux-9irt.site linux-9irt

I still have my earlier version of 11.3 running as a vm under vmware player and that has NO difficulty accessing the repos.

I still think it is something to do with IPV6 but my knowledge of this area is not enough to track it down myself.
I’m still hoping…
eamnomadic

Looks like you need to check the nameserver is working.
You can do this by typing the command:
nslookup ftp.opensuse.org
and
nslookup openSUSE.org

You should get an ip address returned, something like this:


Server:		192.168.1.50
Address:	192.168.1.50#53

Non-authoritative answer:
Name:	download.opensuse.org
Address: 195.135.221.134

You can use this ipaddress instead of the name for the update server, so instead of http://download.opensuse.org/distribution/11.3/repo/oss/, use
http://195.135.221.134/distribution/11.3/repo/oss/

Hi whych
was just about to update this thread. I’ve got beyond the problem by using different repos. I can now access updates etc.
I still dont know why it will not work with the repos set up by the installer.
Incidentally, I get the correct response from what you suggested; nslookup ftp.opensuse.org and nslookup opensuse.org

So, problem gone but dont know why.

Thanks for the responses.

eamnomadic

Problem NOT gone !!!
I can access update, oss and non-oss from local mirror. When I tried to add community repos I got error message “unable to download list of repositories or no repositories defined”.

I’m out of ideas and my eyes are gone glassy from googling for possible solutions.

eamnomadic

Hi whych, since you responded to my problem.

Since I could not enable community repos thru Yast, I tried adding them using Zypper ar.
Got Packman added ok and thats working. Refuses to accept videolan.

This is just more trouble than its’ worth. I was looking at Opensuse as a possible replacement for debian (I’m using squeeze with no difficulty whatever) because Opensuse looks a bit more “polished” (this is subjective I know). Think I’ll stay with debian - has stood me in good stead for a couple of years now.
Thanks again for your help.

eamnomadic