LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Problem with new ADSL connection (https://www.linuxquestions.org/questions/mandriva-30/problem-with-new-adsl-connection-480420/)

une 09-04-2006 06:25 PM

Problem with new ADSL connection
 
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?

Netmask - 255.255.XXX.X (not sure what this string should be)

Gateway - nothing shown here

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.

Search domain - localhost (cannot be edited here).

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).

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.

camorri 09-04-2006 08:55 PM

I don't like wizards, it is difficult to understand what they modify. I have been running Mandrake and Mandriva for a long time. I installed WebMin a long time ago, and do all my network configuration with it.

Understand, to get this working, you have to configure the router, as well as your system. If windoze is working, then I would bet everything is still defaulted in your router. Is that correct?

That probably means the router is running as a DHCP server. The default in windoze is 'obtain an address automatically' ( or some such words...).

Quote:

Under TCP/IP tab "manage connections" tool should I have DHCP or static selected?
This is your choice. If you have machines coming and going, ( laptops ) then DHCP is more convenient. Usually the default subnet on your side will be 192.168.0.x with a mask of 255.255.255.0. With that said, that is fine, although, for security reasons, it is wise to alter to say 192.168.xxx.z. The value of xxx can be anything from 0 to 254. The netmask should be 255.255.255.0 that is probably the default, and no need to change it.

Gateway, that is the IP address of the router where on the side your systems connect to. So, if you select sub-net 192.168.1.x then the default gateway would be 192.168.1.1. If it is sub-net 192.168.2.x then GW would be 192.168.2.1 and so on.

The DNS servers you get from your ISP. Most routers will pass the DNS addresses to the systems connected. There is a configuration option to cause this, it is usually set on. On my router if I connect to it, I can display the DNS addresses. In linux you put the DNS addresses in the /etc/resolv.conf file. They will not be in the range of 192.168.xxx.yyy.

Most routers are configured with a web browser form any system on your system side. Connect a system, doesn't matter what OS it is, open a web browser, and put an address like 192.168.0.1 in the location bar, press send. 192.168.0.1 is by far the most common default address for this, until the user changes the sub-net. Try it, you probably will get some kind of a log on screen. The documentation for the router should tell you to log on.

Why Mandy is locking up I have no idea from what you said. See if you can re-boot and try my suggestions. Webmin can be installed from the install CD's or from URPMI, but since your internet isn't working, use the CD's. Update it after you get things going.

In Webmin there is a networking tab. There you can set the IP address for your system, or select DHCP, your choice. You can enter DNS addresses, and gateway. Simple, fast, it works.

une 09-05-2006 06:42 AM

I tried to install webmin via Mandrake Control Centre. This attempt resembled a multi car pile up. It seemed that the package installation tool under Mandrake Control Centre tried to access the Internet when webmin was selected for installation, and many errors resulted. It didn't even ask me to put any disks in, as the package installer has done in the past.
Maybe this was due to the fact that I recently did some updating using the tool at;
http://easyurpmi.zarb.org/
To be honest what this did eludes me. I thought it downloaded rpms for later installation. Why does the package installer now need to access the Internet? When I used the tool at Easy URPMI it did some huge downloads, what they were I have no idea. I thought they were rpm or tarballs of applications.

I have found using urpmi problematic anyway. I had bad experiences trying to install Firefox and Thunderbird using this method. See;
http://www.linuxquestions.org/questi...d.php?t=478002

My next step is to download webmin using my dialup connection and install it from a tarball and try to get ADSL connectivity up and running using webmin. The Mandrake control centre seems totally useless in assisting with this task, not to mention the errors and system freezes that have resulted from using it.

By the way, is there any way of copying and pasting the text contained in error message windows? This would be handy in explaining my problems. Transcribing them manually is too laborious.

camorri 09-05-2006 09:02 AM

If you used the EasyUrmpmi tool, then yes it will access the internet ( or try to ) to get packages to install. Since your internet connection is not working, you can go into MCC and delete the information URPMI put there, and add back the information for the CD's. It will then ask you for the CD's for installation.

I would recommend that you get a binary straight from Mozilla to install Firefox and FIrebird. There are .mdk files on the mirrors, but they are several levels behind. For what ever reason, Mandriva is slow getting newer packages available for Mozilla products. The binary files are not difficult to install. There are install instructions on their site where you download the binary files from. Once you have the ADSL connection running, we can go through that.

If you attempt to download Webmin, get a .mdk package from Mandriva, or one of the mirrors. Compiling a tar ball is probably a challenge you don't need right now. You need a bunch of other stuff installed just to compile the tar ball. Only do that once your skill level has improved, and you understand the implications.

Quote:

By the way, is there any way of copying and pasting the text contained in error message windows?
You bet, just did it... How you say?

If you click on the 'Post Reply' button, and edit window opens. At the top of the window you will see two rows of icons ( little boxes ). If you hover your pointer over each box, you will see a prompt pop up. Forth from the right, bottom row is the Quote button. Click it once, some coding gets inserted in your edit window. Simply go to the window you want to copy from, mark the data, and do a ctrl c to copy, that is the control key and the letter c key at the same time. Navigate back to the edit window, place the cursor between the quote coding, and insert the text. Simple and fast. Lots of buttons to play with...

I'm not sure why you are struggling with MCC, it works very well on my machine. There may be some issue on your box. I simply don't like the wizard for configuring connections. I have seen posts where it just doesn't work for all people. The options then are to edit the fils directly, or install a tool like WebMin. I prefer WebMin because you can configure many services and servers with one tool, either locally at the machine or remotley form another machine. All you need for the remote connection is a working connection, and a web browser on the client machine, doesn't matter what OS. The rest is having a user and password to access the target Webmin machine.

If you can't get WebMin installed right now, post back, I'll see if I can figure out the files for direct editing.

une 09-05-2006 04:13 PM

Thanks.
Firstly, I knew about the Ctrl C method of copying, but when an error window appears on my system, I cannot highlight the text in it with the mouse. It seems to be unreachable by the cursor. No amount of clicking and dragging will allow highlighting of text in the error window.
Second, I eventually got FF and TB installed from a tarball file.
Third, how do I undo whatever using the tool at Easy URPMI did to my system, and stop my box trying to access the Internet every time I try and install a new package? Or is the package installer only trying to access the Internet for packages that were not on the original disks? If the package chosen was on the original disks, would the package installer ask me to insert a disk like it did for many previous packages I have installed, or because of my URPMI fiddlings, will the package update tool now always go to the Internet? It seems that for some reason whenever the package installer now goes to the Internet, there are massive problems (I tried it this time using my dial up connection). How do I undo what I did when I did all that downloading and installing from Easy URPMI? It seems to have done something bad to the package installer tool.

camorri 09-05-2006 08:48 PM

I'm not sure why you can not hilight text in a konsole. I hold down the left mouse button, and drag the pointer over the text. That works on any application, including the konsole.

Your machine is going to the internet because you picked network mirrors. I would bet you don't have any entries for your CD's. Once they are gone, ( usually this is a good thing ) the system will go to the mirrors for the packages.

To stop that behaviour, you can open MCC-->Software Management-->Select from Where Packages Are Downloaded. You should have opened a window called Media Manager. There shoud be a list of things like 'Main' 'Contrib' 'Updates'. Each one defines the location to find packages. Updates are where the fixes to bugs go after a fix is released.

If you click on one, and click edit, you should see a pop up defining a 'URL' and a 'Relative Location'. Look at one, and you will see the URL on the internet of the mirror where the code is. So if you try to install 'webmin' and it is in main, (BTW I don't know which one webmin is in) the system tries to go to that URL. I don't want to ever have to fumble for a CD; much too windoze like. I deleted all my CD entries.

So, to stop it going to the internet, delete the entries that go there. I think there are instructions on the Madrake Users board on how to restore your CD entries. I have never had to do it, but I'm sure it can be done.

I'll see if I can find a set of instructions, and post them.

une 09-05-2006 09:24 PM

Thanks again. I had another go at configuring the connection using Mandrake Control Centre, to no avail. Here is what I did, maybe this will reveal a mistake I made;

Create new connection>>I select ADSL. LAN connection was also an option here.
Net Device>>eth0 is only option
Connect to the Internet>>I select PPPoE. DHCP, Manual TCP/IP, PPPoA and PPPTP are other options.
Connection configuration>>
I enter a name that represents the ISP to me in the Provider name field. The field title here is actually;
"Provider Name (ex provider.net)", what this means eludes me. Is this an important field to get right?
I enter the Primary DNS server string my ISP provided.
I enter the Secondary DNS server string my ISP provided.
I enter the username and password for the ISP account.

The system then paused for 3 minutes while a window said "installing packages" and then "initializing".
It then asked if I wanted to start connection at boot, I select yes.
It then asked if I wanted to restart the network, I select yes.
I am then congratulated on creating the connection and told to restart X. I reboot the computer.

Firefox or Mozilla cannot connect.
I go back to MCC and select "Monitor connections".
Under eth0 it says "not connected".
I select the "connect" button.
For a while it says "connecting to the internet" then for about 0.25 of a second a message appears "connection completed", this is quickly replaced by "not connected".

I go back to MCC and select "manage connections".
Under "ADSL" it says;
IP address 192.168.1.1
Netmask 255.255.255.0
DNS servers 192.168.1.254 (NOTE THIS IS NOT THE SAME AS EITHER OF THE DNS STRINGS I ENTERED DURING "CREATE CONNECTION")
Search Domain localhost

Under "eth0" it says;
IP address 192.168.1.1
Netmask 255.255.255.0
Gateway 192.168.1.1
DNS servers 192.168.1.254 (NOTE THIS IS NOT THE SAME AS EITHER OF THE DNS STRINGS I ENTERED DURING "CREATE CONNECTION")Search Domain localhost

camorri 09-06-2006 09:45 AM

After reading your last post, I went to www.billion.com and downloaded the user manual for your modem/router. I want you do do the same, unless you have a hard copy. Here is the link:

http://www.billion.com/product/voip/bipac7404vgp.htm

Note, the left side of the page is where you will download the user manual from.

Quote:

Understand, to get this working, you have to configure the router, as well as your system. If windoze is working, then I would bet everything is still defaulted in your router. Is that correct?
You never answered this question I asked in my first post. Have you done any configuring on the router?

There are instructions on how to connect to your router so you can configure it and display status etc. Basically, open a web browser on your system, doesn't matter what OS. In the address bar, type 192.168.1.254 and press enter, the router will send back a log on screen. User default is admin and the default password is admin. Be sure to change them, and don't forget what you did.

From your last post; you selected PPPoE on your mandriva. Your router default is also PPPoE. You only need to have one machines doing the PPPoE function, it is probably easier to allow the router to do it, then any machines you connect to the router do not need PPPoE as well. Note, your ISP will tell you if they require you to use PPPoE, not all do, and your only chance at success is to get this right. So you may want to check with them,unless you are absolutely sure you know.

Most ISP's also require you to send a user and password when the router connects on the ISP side. This is configured in the router. You need to set that up, or verify your settings are correct.

The default IP address of the router on your side is set to 192.168.1.254. See page 17 of the setup guide. The ISP side is set to aquire an IP address from your ISP. That is fine, as long as that is what your ISP is doing. ( You many need to check with ISP here ). The router configuration starts on page 19 of the setup guide.

Now, since your system has an ip address of 192.168.1.1, your system is in the same sub-net as the router, this is a good IP address. If you are set for DHCP in linux, then the range of addresses the routers DHCP server is sending out is no longer 'factory settings'. Not a problem, unless you want to change it for some reason. The default is 100 addresses starting as 192.168.1.100.

So, to prove you have connectivity with the router, open a konsole, and do a ping, it will look like this:

Code:

ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=250 time=0.610 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=250 time=1.27 ms

Note : I did this and my routers address is 192.168.1.1, just do a 'ping 192.168.1.254' on your system. If that works, then you have IP connectivity with your router.

Next, the default gateway in linux should be set to 192.168.1.254 on your system; unless you modify the IP address of the router. There is no need to do that.

DNS- These are provided by your ISP. Most routers will pass the DNS addresses to your attached systems. If that is working, just leave it alone. The setup guide will tell you if that is the case. Some allow you to set the ISP addresses in the router.

The 'Provider Name' is the domain name your ISP uses. That may matter. I would make it match what your ISP is using.

So, let me see if I can summarize this.

Your router has two sides, one to the ISP, the WAN ( ADSL) side, and the LAN side, IP address 192.168.1.254.

You only want to do PPPoE once, the router is the best place, and that is the default. You need to check the Username/password in the router.

Linux, you can use DHCP here to get things going. In the long term, I would recommend you change to fixed IP addressing for any machines you always have connected. This makes things like file sharing and printer sharing much easier.

Linux IP address - 192.168.1.1
Default Gateway - 192.168.1.254
DNS- set by your ISP.

See if you can get this configured, and let me know what happens.

une 09-07-2006 04:41 AM

Thanks for such detailed help. I will now go back to my Linux OS and give it a try. Sorry for not answering your question about router (is it a modem, a router or a modem/router?) configuration. Yes, I did fully configure the router via the browser and everything works perfectly under WindowsXP. I use Linux 99% of the time so I am eager to get ADSL up and running on Linux.

camorri 09-07-2006 08:39 AM

Good, I'll wiat for your next post.

une 09-07-2006 10:03 PM

I got it working without using webmin. I deleted the ADSL connection I had created and started again, all via Mandrake Control Centre.
This time when creating a new connection I chose ADSL as the type of connection in the first window presented by the Wizard.

In the next window I chose the only net device presented: eth0

In the next window which asked about connection type I think I made a decision that was critical to my success. I chose manual TCP/IP configuration rather than PPPoE, as I remember you said that the modem/router looks after PPPoE and you don't do it twice. I wasn't entirely sure what this meant but I had a vague idea that the modem/router is doing a lot of stuff the PC can alternatively do. I then filled out the next few details about IP address and Gateway as per your instructions and hey presto, it all worked!

Can you recommend any references on reading up on this whole networking/internet connectivity subject? How the various levels of software and hardware interact seems quite complex and I would like to educate myself.

Is there a tool you can use to watch the speed of data flowing through the router? I would also like the connection not to start at boot, I would rather have it connect when I choose. Is there a simple tool that can facilitate this? I don't like the idea of being connected all the time when I don't need to be, paranoid I guess. Perhaps I need to now start looking into firewalls and security tools?

Thank you very much for your help, you have saved the day.

camorri 09-08-2006 09:29 AM

I'm happy to hear you have had success.

Quote:

as I remember you said that the modem/router looks after PPPoE and you don't do it twice. I wasn't entirely sure what this meant but I had a vague idea that the modem/router is doing a lot of stuff the PC can alternatively do.
Absolutley correct. Your modem/router does do PPPoE and that is the default configuration, and yes, you only want to do that in one place. I woud suspect this was your main problem.

Quote:

Can you recommend any references on reading up on this whole networking/internet connectivity subject?
This is a difficult one to answer, I have spent more than 25 years working around networking, mostly with IBM products, but more recently teaching 'how to fix' and do problem determination. I have looked at a lot of documentation on this topic. It can get very complex in a hurry. I would suggest for someone needing to understand their home network, and hoe to trouble shoot it, look at the Linux Wiki on this board as a starting point. Here is the url. http://wiki.linuxquestions.org/wiki/Networking

It has some very good suggestions, showing the commands to use and a good approach to finding ou what is working, and what is not working.

Quote:

Is there a tool you can use to watch the speed of data flowing through the router?
Generally, the only way of monitoring speed at the router would require an external trace tool. This is usually too expensive for the home user. What I would suggest you look at is; go to MCC-->Networking and Internet-->Monitoring the Connections. There is a monitoring tool that shows the throughput of the host connection on your linux system. At least this is included in Mandriva. For most users, it show throughput.

This same tool can be used to control the interface. I added an icon in my bar at the bottom of teh screen. It is called NetApplet. If you want to add it, right click the bar, --> Add to Panel -->Application-->System-->Monitoring-->NetApplet. Once it is installed you can simply look at the throughput, configure the interface, connect or disconnect it.

Quote:

Perhaps I need to now start looking into firewalls and security tools?
Your router is a firewall, so you are fairly safe with any machines connected behind the firewall. Security is something everyone should think about, and do what ever they think needs to be done. I do not run a second firewall on my home network, except on winbloze XP machines. With windoze you can never bee too safe, since the code is full of easily vilolated holes. Just remember if you turn on the windoze firewall, and then want to do file sharing or printer sharing, ftping you have a firewall, and you may need to open a port for the service to work.

Linux, because of permissions, and the general lack of linux viruses, is fairly safe. Keep the security fixes up to date. Just get URPMI working and update on a regular basis.

Mandriva also has a setting for security. There is a paranoid setting. I'm not at all sure it is required behind a firewall. That is something you will need to decide for your self.

Last thought, if you set up any wireless networking, be sure you use encryption for the wireless connections. Also, if you have not already done it, change the default password on your router. There are hackers out there that will attack your IP address, and try the default user and password for the router to see if they can get control of your machine. Enough said...

Hope this helps.

tytower 09-09-2006 12:04 AM

By the way KSnapshot is sometimes useful when you can't otherwise copy the error window

une 09-09-2006 03:07 AM

Thanks again for such a detailed response.
The "monitor connections" window for eth0 in MCC seems to work but the graphic representation of data flow is quite cheap and nasty, furthermore the message at the bottom of this window permanently says "Not connected". Weird, but not really a concern. By the way what is the sit0 connection that the MCC "connection monitoring" window shows?

My "add to panel" menu is a little different to yours. The menu progression is "add to panel", "internet" ("application" not an option here) and then I chose "modem lights". I remember using modem lights a few years ago on my dial up connection. However when the "modem lights" graphic monitoring tool appears on the panel it is dead. I open the preferences window for "modem lghts" and the settings are as follows;
Under general - "connect command" = pppon & "disconnection command" = pppoff
Under advanced - "Device" = ppp0, "Lock file" = /var/lock/LCK..ttyS0, "Verify owner of lock file" is checked & "Use ISDN" in unchecked.

Can "Modem Lights" do the job of connecting, disconnecting and monitoring my eth0/ADSL connection? If so how would I modify the preferences?

As for URPMI, I have had nothing but trouble with package installation under RPMDrake since I visited
http://easyurpmi.zarb.org/
and used the tool there. Whenever I try to add packages now, RPMDrake goes to the Internet (it never used to) and ends up with multiple errors about not being able to find required files. It doesn't seem give instructions such as "insert CD No.3" as it used to. Not sure what I have done to RPMDrake. But that is another story I guess. Providing I can get RPMDrake/URPMI working (are they the same thing, they seem to interact to some extent?), what are the updates named that relate to security which I should be installing periodically?

The idea about changing the username & password on the router makes a lot of sense. Thanks.

I will also try to get hold of KSnapshot. It is strange how I cannot highlight text in error windows.

camorri 09-09-2006 06:24 AM

Sit0 - See this post for an explanation. It is for IPv6. http://www.linuxquestions.org/questi...highlight=sit0

The Modem Lights is for modems, that is not the correct application. I'm guessing here, I don't think you have the application installed. From the rest of yoru post it looks like it is time to fix up URPMI.

Since your setup for URPM isn't working, I think you should delete all entries, and set it up again. To delete your entries, you can go to MCC and Sofware Management, and Select From Where Software Packages are Downloaded. Select each entry you have and delete it.

Go to Easy URPMI and add them back, one at a time. You should wind up with at least Main, Contrib, Updates, Jpackage, plf-free and plf-nonfree. Pay particular attention to which mirror you choose. I have found from experience the ones in France work very well, and are rarley offline.

The security updates come from the 'Updates' mirror. There is an icon in mcc called 'Look at available updates and apply fixes or upgrades to installed packages' Once you have a good mirror configured, that should work. You will get a question each time you run it about contacting the mirror. Allow it to, it needs to retrieve a list of the latest updates. It will list all available updates for your installed packages. I usually just click on 'All' and let it run. The amout of time will depend how out of date you are. First time it may take a while.

I will see if I can figure what package you need to get the 'Net Applet' installed.

barrythai 09-09-2006 10:14 AM

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]

une 09-09-2006 06:56 PM

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!

camorri 09-10-2006 06:25 AM

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!

une 09-16-2006 02:18 AM

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.

camorri 09-16-2006 06:26 AM

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.

noranthon 09-16-2006 06:32 AM

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.)

une 09-16-2006 07:12 AM

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.

une 09-16-2006 07:00 PM

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?

une 09-16-2006 07:29 PM

Just got an error when running commands from EasyURPMI, "retrieving failed". Guess I will try another mirror.

une 09-16-2006 07:55 PM

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.

une 09-16-2006 08:31 PM

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.

noranthon 09-17-2006 12:33 AM

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.)

une 09-17-2006 06:32 AM

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.

une 09-17-2006 07:13 AM

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.


All times are GMT -5. The time now is 12:39 PM.