Yast Software Managment doesn't update or takes too long

I have a fresh install of openSUSE 12.1 x86_64, I have just disabled Apper from Personal Settings because of this problem.

When starting Software Managment it starts to look for updates, just like 11.3 and 11.4. But this time it never or very rarely finishes. I remember on 11.3 it took some time when starting Software Managment for the first time after starting the PC. But on 12.1 it constantly show up messages like “Cannot find repo download.opensuse.org/distribution/12.1/repo/oss/media.1/media. Check you can access to the server”, as though the repo was down. I have to hit and hit Retry button to see if it finishes. I’m sure my connection is not broken, in fact I’m using LAN because I’m not sure what wireless driver 12.1 uses and if it’s already installed (my card is Broadcom and 11.3 used b43 driver).

The repos are not down right now. What is happening? Is it another one of the several bugs 12.1 came with? And does 12.1 use the same wirless driver?

Sounds like either DHCP issue or IPv6

The b43 firmware is installed with
sudo /usr/sbin/install_bcm43xx_firmware

1.- So 12.1 still uses b43? Do I have to install it from that directory instead of using Packman repo?
2.- DHCP? IPv6? I don’t believe I have problems with my modem, or I think so… What can I do anyway about those ones? Or where can I ask? I didn’t have those problems on 11.3, so I guess it could be a 12.1 default issue…

if its indeed ipv6 you may need to edit your /etc/resolve.conf file. comment out all the nameserver entries “#” and the search entry and type nameserver 8.8.8.8 on a new line and nameserver 8.8.4.4 on the next line, save and you should be good to go.

Sorry, I’m newb regarding network topics. I understand a bit what DHCP is, but I don’t know very well what ipv6 is. And how can I know if it’s indeed an ipv6 problem?
Since I had not many problems like this on 11.3 I didn’t pay attention to these concepts back then. But I really want to try to make 12.1 functional just like 11.3. Guess many users haven’t had this same problem…

I had the exact same problem. Just open up a terminal type su, enter your password. use your favorite text editor, example “nano /etc/resolve.conf” Go down to the bottom and comment out the search and nameserver stuff. Then on a new line type “nameserver 8.8.8.8” hit enter and type “nameserver 8.8.4.4” now you’ll be using google’s dns servers. Save the file and you should be set. Open up software management and it should be speedy again. If this doesn’t work, just comment out the new nameservers with a # at the beginning of the line and uncomment (delete the #) on the lines that I told you to comment out at the beginning.

ipv6 is ip version 6 which uses more bits of data to represent an ip address. I don’t know if you know, but ipv4 used less bits and all the addresses have been used up. So ipv6 is taking its place. Some dns servers aren’t set up right for ipv6 and therefore you need new nameservers.

Ah… Google’s servers…
Then what servers is 12.1 using by default which are seemingly not working?
And what about b43 driver? Should I install from /usr/sbin/install_bcm43xx_firmware or from Packman repo?

b43 is nothing to do with packman
I think you are confusing this with ‘wl’ from packman, which is for broadcom
better use b43 if you can

Have you tried zypper?

OK, unfortunately I’m just getting more and more confused…

@cw9000: the file’s name is resolv.conf, not resolve.conf. This is what my file has:

/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 site
nameserver 192.168.1.254

Nameserver appeared when I connected the LAN cable. So should I just comment those 2 uncommented lines and put the nameservers you mentioned?

@caf4926:
These are my current repos:

| Alias | Nombre | Activado | Actualizar | Prioridad | Tipo | URI | Servicio

–±--------------------------------------------±--------------------------------------------±---------±-----------±----------±-------±-----------------------------------------------------------------------±--------
1 | Actualizaciones-para-openSUSE-12.1-12.1-1.4 | Actualizaciones para openSUSE 12.1 12.1-1.4 | Si | Si | 99 | rpm-md | Index of /update/12.1 |
2 | openSUSE-12.1-12.1-1.4 | openSUSE-12.1-12.1-1.4 | Si | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-TSSTcorp_DVD+_-RW_TS-L632D,/dev/sr0 |
3 | repo-debug | openSUSE-12.1-Debug | No | Si | 99 | NONE | Index of /debug/distribution/12.1/repo/oss |
4 | repo-debug-update | openSUSE-12.1-Update-Debug | No | Si | 99 | NONE | Index of /debug/update/12.1 |
5 | repo-non-oss | openSUSE-12.1-Non-Oss | Si | Si | 99 | yast2 | Index of /distribution/12.1/repo/non-oss |
6 | repo-oss | openSUSE-12.1-Oss | Si | Si | 99 | yast2 | Index of /distribution/12.1/repo/oss |
7 | repo-source | openSUSE-12.1-Source | No | Si | 99 | NONE | Index of /source/distribution/12.1/repo/oss |

IIRC the driver files for b43 I used to install on 11.3 were b43 and b43 legacy, or something like that. I used Yast to look for them and they are not there, just a strange b43 firmware utility. The b43 drivers used to be in Packman, at least back then… Where can I find the drivers then? Thanks.

Hi
Log in to your router and define the DNS (nameservers) there. I use the openDNS ones rather than google;


nameserver 208.67.222.222
nameserver 208.67.220.220

You should create a new thread in the wireless forum if after a browse there on posts from the kernel dev lwfinger and reading the stickies and you don’t see a result.

Thanks for adding this Malcolm

@F_style:
Do you understand?
The possibility is of a problem with your ISP. In your router it’s probably set up to use DNS servers automatically from your ISP. Some ISP’s will set you specific DNS addresses (Primary and Secondary)
Google and as Malcolm quoted openDNS, both provide DNS
openDNS has advantages as you can make use of their security settings

If b43 worked before, it will certainly work now, so you should do
**/usr/sbin/install_bcm43xx_firmware
**
Only if you can’t get it working with that, should you look elsewhere.
/sbin/lspci -nnk
will tell us all we need to know if you start a thread on it

I do know what DNS are, or at least have an idea. Since I haven’t tweaked with my ISP’s router ever since I have it (I replace routers once a year or 1.5 years, they simply don’t last for x or y reason…), you may be right: it may be configured to use DNS automatically. But I still don’t understand very well why 11.3 didn’t have problems with the router’s automatic DNS and 12.1 does, unless my memory is already failing me…

It might not be DNS
We are just suggesting it as a line of investigation
My DG834GT is just starting to go, it’s 4 yrs old

Yesterday I just turned off the router and turned it on again after a while, then I used it with openSUSE 12.1 just to check the forums here, didn’t try again the Yast stuff, until today morning. I tried editing resolv.conf with malcolmlewis’ nameservers, and just another file named “resolv.conf.netconfig” was created, with the same original lines. But the thing is, this time Software Managment updated with no problems. So I tried deleting resolv.conf.netconfig and leaving resolv.conf as it originally was just to test, and no update problems! What’s happening?

EDIT: Correction, just tried again to run Software Managment and still the same problem. Doing more tests…

This time I tried by editing resolv.conf again with Malcolmlewis’ nameservers without disconnecting from Internet. No resolv.conf.netconfig was generated. Software Managment again was able to update, and more curiously, when running Firefox and loading the default openSUSE website it opens, it loaded much faster than yesterday. Yesterday it took several seconds to load, just as with openSUSE 11.3 now that I remember. Tried again to run Software Managment a few more times and it has updated until now. Could be a good sign for now…

Then I restarted openSUSE, connected to Internet again, and again that resolv.conf.netconfig file with default lines was generated. However either Firefox and Software Managment have the same behavior. Then what could that resolv.conf.netconfig file be about? It’s as if both files were used at the same time, or something like that…

By the way, an hour ago I was able to finally make an EDIT in my previous post, and now the button disappeared again. Even though Caf4926 already explained it, I think I still haven’t understood it…

Hi
Can you not set in your router (which is the correct place)?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.9-desktop
up 1 day 4:22, 3 users, load average: 0.35, 0.12, 0.15
GPU GeForce 8600 GTS Silent - Driver Version: 290.10

By now I can’t because I don’t have the router’s pass right now. Besides I generally don’t like to mess around too much with the router, maybe because of ignorance, for now… That’s why I followed Cw9000’s advise. Is something wrong with setting the nameservers in resolv.conf instead of the router?

On 2011-12-11 19:46, F style wrote:
> By the way, an hour ago I was able to finally make an EDIT in my
> previous post, and now the button disappeared again. Even though Caf4926
> already explained it, I think I still haven’t understood it…

There is a 10 minutes time limit to edit.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

@Malcolmlewis: besides, what if I’m out of home, want to connect somewhere else and it has the same ISP DNS issue?

Hi
You need to edit the /etc/dhclient.conf and append the following;


supersede domain-name-servers 208.67.222.222, 208.67.220.220;


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.9-desktop
up 1 day 5:46, 3 users, load average: 0.04, 0.09, 0.13
GPU GeForce 8600 GTS Silent - Driver Version: 290.10