MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just received my new Billion 7404VGP modem router and have my first ADSL account active. I just cannot get my Mandrake 10 system to connect to the Internet. My Windows XP system (I have dual OS for situations like this) recognized everything straight up, I just changed the DNS server numbers and it all worked.
However I am having trouble getting the "Mandrake control centre" to get the connection working.
I used the "create a new connection" tool to no avail.
I then used the "manage connections" tool to see what the result of trying to create a new connection was.
Under TCP/IP tab "manage connections" tool should I have DHCP or static selected?
The "manage connection" tools page also says;
IP address - 192.16X.X.X (not sure if I should reveal this here?) -What is this string supposed to be? Does it have anything to do with my ISP?
No problem this is your local address. You need to go to the amangement page of your router see the handbook
Most are 192.168.1.1 check you can see the router over your port.
Netmask - 255.255.XXX.X (not sure what this string should be)
ignore the netmask it is OK
Gateway - nothing shown here
Your gateway when it is working correctly will be following my example is 192.168.1.1 but you do not need to follow this.
your problem is you are not talking to the router.
type ifconfig in a terminal you will see you are not talking to the router.
Now type ifconfig eth0 192.168.1.2
if you have nothing on the local net this will set your computer to be on the local lan of your router.
Now go back to the command control centre and it should now work for you. choose set lan and just click click until it says network congratulations.
DNS Servers - 192.16X.X.XXX (similar to the IP address string shown on this page - but not the DNS number I entered when creating the new connection). This cannot be edited here anyway.
This should be set by your router and when fixed typing
route in a terminal will show your gateway when the network is OK
Search domain - localhost (cannot be edited here).
localhost is your website and if you have installed apache you will get the apache start up sheet here. localhost is where your website will reside.
I then select OK and get out of "manage connections" and go back to the "Mandrake control centre" page. Everthing is now frozen. Every tool I try and use here now totally freezes when selected (Loading, Please Wait...... forever).
Yes because you are not setup and this is a bug under mandrake
The problem should be fixed when your internet is up.
I get out of "Mandrake control centre" and find that NO application will now run. My whole system is frozen.
I am totally lost. How do I get connect to the Internet?
The connection is via my ethernet port.
Most are 192.168.1.1 check you can see the router over your port.
Netmask - 255.255.XXX.X (not sure what this string should be)
ignore the netmask it is OK
Gateway - nothing shown here
Your gateway when it is working correctly will be following my example is 192.168.1.1 but you do not need to follow this.
your problem is you are not talking to the router.
type ifconfig in a terminal you will see you are not talking to the router.
Now type ifconfig eth0 192.168.1.2
if you have nothing on the local net this will set your computer to be on the local lan of your router.
Now go back to the command control centre and it should now work for you. choose set lan and just click click until it says network congratulations.
DNS Servers - 192.16X.X.XXX (similar to the IP address string shown on this page - but not the DNS number I entered when creating the new connection). This cannot be edited here anyway.
This should be set by your router and when fixed typing
route in a terminal will show your gateway when the network is OK
Search domain - localhost (cannot be edited here).
localhost is your website and if you have installed apache you will get the apache start up sheet here. localhost is where your website will reside.
I then select OK and get out of "manage connections" and go back to the "Mandrake control centre" page. Everthing is now frozen. Every tool I try and use here now totally freezes when selected (Loading, Please Wait...... forever).
Yes because you are not setup and this is a bug under mandrake
The problem should be fixed when your internet is up.
I get out of "Mandrake control centre" and find that NO application will now run. My whole system is frozen.
I am totally lost. How do I get connect to the Internet?
The connection is via my ethernet port.[/QUOTE]
Before I start with your instructions, here is something I noticed and I am not sure if it has a bearing on anything.
I went to Software Media Manager and into a window Titled "Configure Media".
There are 4 mediums shown with check boxes that show whether they are enabled or not as follows;
I am mentioning this as these mediums were the same as those I downloaded from EasyURPMI. The web addresses for them reflect the mirrors I chose at EasyURPMI.
I also notice that "Updates" & "Jpackage" are not there. EasyURPMI did not mention these. I also notice that the "Installation CD" option is not there. I assume the "Installation CD" option would have been there at some time as I have installed many packages from the Installation CD set in the past. EasyURPMI only mentioned the 4 mediums detailed above. I guess I can add "Installation CD" as a medium under "Add a medium" -> "Removable Device". Would the "Path" simply be the path to my CDROM (/mnt/etcetct)?
I guessed that plf-free & plf-nonfree should be enabled here, so I checked them. I then closed the Media Manager. When I reopen the Media Manager plf-free & plf-nonfree are now disabled (unchecked) again. Is this supposed to happen?
By the way, when I previously went through the sequence prescribed at EasyURPMI, some very large downloads from the mirrors selected (largest around 20MB) took place automatically while the scripts for the 4 mediums(?) (plf-free, plf-nonfree, main & contrib) ran. What were in these downloads? Will just removing the mirror addresses as you suggested and going through the EasyURPMI sequence again cause these downloads to take place again?
Someone on this forum said the mirror chosen makes no difference, but I think you are right.
After initially re-enabling the plf mediums, I ran the package installer under MCC and selected a program called NetWatch for installation. It seemed to work and some downloading took place while it installed. However, how do I run this program? I opened a terminal and typed in netwatch but was told "Can't get socket: Operation not permitted".
When you install a package under MCC, how do you integrate launching of the program into your desktop? I remember in the past when I installed a package from the CDs, the installation script would place a launcher icon in the appropriate Gnome menu.
I just looked, and updates is there, jpackage is not there. Jpackage you probably don't need. I'm not usre if I have ever used it myself. I suspect the EasyURPMI tool has been changed since I last used it. I found if I checked a box in the first section called 'Show Specific Resources Too' updates disappeared. So, select the correct version on Mandriva, Archatecture, package manager, go to step 2. Updates should still be there. This one you want, and need enabled. This morror has all the updates and fixes. Why the PLF's are disabled, I don't know. I would suggest you delete all your entries first. This is easily dome from the command line. There is a command called 'urpmi.removemedia' If you enter that at a command line with a '-a' you will remove all media you have installed, and most important all files associated with that media.
It looks like this ' urpmi.removemedia -a ' ( without the quotes ).
Quote:
I guess I can add "Installation CD" as a medium under "Add a medium" -> "Removable Device". Would the "Path" simply be the path to my CDROM (/mnt/etcetct)?
The simple answer is yes. I did it once a long time ago, and I had to do some looking around to figure out how to set up the path to the media. I'm not usre why you would want to. I found it irritating, every time I downloaded a package, it asked me for a CD, didn't use it, but I had to mount it to proceed. The whole idea here is to get the latest code, it the easiest way possible. To me that means leaving the CD's in the dust in the cupboard and go to the up to date mirrors for the latest code. Your choice here.
Quote:
I guessed that plf-free & plf-nonfree should be enabled here, so I checked them. I then closed the Media Manager. When I reopen the Media Manager plf-free & plf-nonfree are now disabled (unchecked) again. Is this supposed to happen?
PLF stands for Penguin Liberation Front... just thought you would like to know... They have some useful packages put there by many Mandriva users ( as far as I know ). You can live without them, but why, they give you more stuff to play with. There is something wrong if they get disabled. This is why I would like you to delete all media first, and then add them back.
Quote:
By the way, when I previously went through the sequence prescribed at EasyURPMI, some very large downloads from the mirrors selected (largest around 20MB) took place automatically while the scripts for the 4 mediums(?) (plf-free, plf-nonfree, main & contrib) ran. What were in these downloads? Will just removing the mirror addresses as you suggested and going through the EasyURPMI sequence again cause these downloads to take place again?
The data that gets downloaded are the files needed to make URPMI work. If you open a console and type 'man urpmi.files' you should get a detailed list of all files needed for the tool to work. Note at the bottom there is a check box called 'Use compressed index...' if you check that, it will download much less data, however the explanations of each package when using MCC to install are much smaller. It saves download time, and some disk space. Your choice here.
If you remove media as I have suggested, yes you will have to wait for the downloads again.
Quote:
Someone on this forum said the mirror chosen makes no difference, but I think you are right.
Well, every one is entitled to their opinion. The things I have found over time is the availability of some mirrors is better than others. Also the time and responsiveness of each mirror will vary depending on time of day and load on the server. In theory they are all at the same level, but in real life that may not always be ture. I suggest you try different mirrors, and see what works for you the best.
Quote:
After initially re-enabling the plf mediums, I ran the package installer under MCC and selected a program called NetWatch for installation. It seemed to work and some downloading took place while it installed. However, how do I run this program? I opened a terminal and typed in netwatch but was told "Can't get socket: Operation not permitted".
I have never used Netwatch. How to run the program? Most programs can be run from a console, by typing the name of the program ( the bin file ) or script file that starts the program. Under MCC there is an information section. If you have downloaded the maximum information, it will show you all the files installed for each package. The executabel is usually listed there. You can use the 'locate' command to find the file if you wnat to know where it got installed. The system responded with 'can't get a socket' would lead me to believe the program started. A socket is associated with TCP/IP. I don't know anything about that program, so I can't help much there. You may want to post a thead and see if someone else can help with it.
Quote:
When you install a package under MCC, how do you integrate launching of the program into your desktop? I remember in the past when I installed a package from the CDs, the installation script would place a launcher icon in the appropriate Gnome menu.
Some packages add the icon. Others do not. You can add your own short cut if you want. I have used Gnome very little, so I'm not sure how. In KDE you right click the desktop and "Create a New'--->"Link to an application. You can select the icon of choice and you add the command to start the program. If you want it in the K menu, you have to edit the menu. I'm usre the way in Gnome will be similar.
Thanks once again for such detailed help. I will clean out urpmi and start again as suggested using the French mirrors. I should be back here in around 48 hours with the results.
Just going through EasyURPMI now. I found that "Updates" is not an option if "Mandrake Official 10.0" is chosen in the first screen. While experimenting with EasyURPMI, I found that "Updates" does appear if the "2006" version is chosen. I guess I will have to stick with "Mandrake Official 10.0" and therefore not be able to make use of security updates. Is there another way to get security updates for my OS?
I used the mirrors in Argentina and Australia suggested by the EasyURPMI tool (these mirrors failed last time I tried). It all worked and now when I look at the Software Media Manager plf-free and plf-nonfree are enabled. It seems to have worked out better this time. Still, the security updates seem unavailable to my OS.
As a test of my new URPMI installation, I installed a DVD ripping program chosen from the MCC package installer and installation seemed to go fine, downloading and installing many interdependent applications. It also added a launcher into the correct category of my Gnome applications GUI menu automatically.
I can't find a package called "Net Applet" in the MCC packages list.
NetWatch (which I installed previously) is in my system somewhere, but where the package manager installed it is a mystery. When I enter "netwatch" as root, a blue screen appears briefly before disappearing and leaving me with a NetWatch Web reference on the command line. It seems that NetWatch is possibly a dead loss. Note that I had to execute "netwatch" as root from the command line, maybe my PATH needs to be amended? If I knew where NetWatch was installed I could try to get a launcher created. Probably would not help though as this application seems to crash.
Anyway, how do I install Net Applet via the MCC package installer? I googled it and found some tarballs, but using urpmi would be better I think.
There is nothing under System > Monitoring that resembles a Net tool. There is nothing in /usr/bin/ called net_applet either.
In /usr/sbin/ there is a perl script called net_monitor, when I execute it the root password is requested via a GUI window. I enter the password and nothing happens.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.