LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-09-2006, 10:14 AM   #16
barrythai
Member
 
Registered: Dec 2004
Location: thailand
Distribution: suse9.3, Mandrake10.1
Posts: 381

Rep: Reputation: 30

Quote:
Originally Posted by une
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]
 
Old 09-09-2006, 06:56 PM   #17
une
Member
 
Registered: May 2004
Location: Australia
Distribution: Mandrake 10, Puppy Linux 2.13
Posts: 201

Original Poster
Rep: Reputation: 30
Thanks again. I will follow your instructions when I return from a few days of travel for work.

PS - I love Canada. When there I even managed to convince a Torontonian to come back to Oz with me!

Last edited by une; 09-09-2006 at 07:01 PM.
 
Old 09-10-2006, 06:25 AM   #18
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
PS - I love Canada. When there I even managed to convince a Torontonian to come back to Oz with me!
I'd like to see it some day!
 
Old 09-16-2006, 02:18 AM   #19
une
Member
 
Registered: May 2004
Location: Australia
Distribution: Mandrake 10, Puppy Linux 2.13
Posts: 201

Original Poster
Rep: Reputation: 30
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;

plf-free = disabled
plf-nonfr = disabled
main = enabled
contrib = enabled

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.

Last edited by une; 09-16-2006 at 03:04 AM.
 
Old 09-16-2006, 06:26 AM   #20
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Let me see if I can answer your questions.

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.

Hope this helps.
 
Old 09-16-2006, 06:32 AM   #21
noranthon
Member
 
Registered: Apr 2006
Location: Australia
Distribution: PCLinuxOS with Xfce
Posts: 301

Rep: Reputation: 30
Hi. I've recently included the net applet in a menu shortcut because it vanishes if you end the current session.

The command is /usr/bin/net_applet --force and it's part of drakxtools so it will already be installed.

It may already be in the menu under System >Monitoring. (I avoid using the Mandriva menu so I created another shortcut.)
 
Old 09-16-2006, 07:12 AM   #22
une
Member
 
Registered: May 2004
Location: Australia
Distribution: Mandrake 10, Puppy Linux 2.13
Posts: 201

Original Poster
Rep: Reputation: 30
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.
 
Old 09-16-2006, 07:00 PM   #23
une
Member
 
Registered: May 2004
Location: Australia
Distribution: Mandrake 10, Puppy Linux 2.13
Posts: 201

Original Poster
Rep: Reputation: 30
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?
 
Old 09-16-2006, 07:29 PM   #24
une
Member
 
Registered: May 2004
Location: Australia
Distribution: Mandrake 10, Puppy Linux 2.13
Posts: 201

Original Poster
Rep: Reputation: 30
Just got an error when running commands from EasyURPMI, "retrieving failed". Guess I will try another mirror.
 
Old 09-16-2006, 07:55 PM   #25
une
Member
 
Registered: May 2004
Location: Australia
Distribution: Mandrake 10, Puppy Linux 2.13
Posts: 201

Original Poster
Rep: Reputation: 30
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.
 
Old 09-16-2006, 08:31 PM   #26
une
Member
 
Registered: May 2004
Location: Australia
Distribution: Mandrake 10, Puppy Linux 2.13
Posts: 201

Original Poster
Rep: Reputation: 30
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.
 
Old 09-17-2006, 12:33 AM   #27
noranthon
Member
 
Registered: Apr 2006
Location: Australia
Distribution: PCLinuxOS with Xfce
Posts: 301

Rep: Reputation: 30
To quote an earlier message:

Quote:
Hi. I've recently included the net applet in a menu shortcut because it vanishes if you end the current session.

The command is /usr/bin/net_applet --force and it's part of drakxtools so it will already be installed.

It may already be in the menu under System >Monitoring. (I avoid using the Mandriva menu so I created another shortcut.)
 
Old 09-17-2006, 06:32 AM   #28
une
Member
 
Registered: May 2004
Location: Australia
Distribution: Mandrake 10, Puppy Linux 2.13
Posts: 201

Original Poster
Rep: Reputation: 30
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.
 
Old 09-17-2006, 07:13 AM   #29
une
Member
 
Registered: May 2004
Location: Australia
Distribution: Mandrake 10, Puppy Linux 2.13
Posts: 201

Original Poster
Rep: Reputation: 30
As this thread is starting to get off the original subject a little, I have started a new thread in the Networking section;
http://www.linuxquestions.org/questi...00#post2426300

Any assistance posted here or there is greatly appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS problem on ADSL connection newbie2006 Linux - Networking 2 04-03-2006 02:01 AM
mandrake 10.1 adsl connection problem myheart Linux - Networking 1 02-02-2005 05:06 AM
Problem to establish an ADSL connection fadafwet Linux - Networking 1 04-24-2004 08:36 AM
ADSL connection problem apreston Linux - Networking 7 02-03-2003 12:51 AM
Adsl connection Problem LinLin Linux - Networking 0 10-21-2002 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration