LinuxQuestions.org
Help answer threads with 0 replies.
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 07-22-2004, 02:39 AM   #46
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 215

Original Poster
Rep: Reputation: 43

Thanks Dommy !

I appreciate your interest in my problem. I will continue later today, or tomorrow, trying to solve my problem.
 
Old 07-22-2004, 02:47 AM   #47
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
OK, what's special with DHCP is that you should not have to set anything like IP address, netmask or gateway yourself. The router will assign these for you. It will probably not even work if you just choose an IP and put it there yourself, since your router won't recognize you. It should be enough to tell it to use DHCP and restarting the network.

The fact that your ISP didn't give you any IP address, netmask or gateway is also one of the reason that I've been urging you to try DHCP. Another reason is that you have an (working) IP address starting with 192.168. This IP can't be routed over the internet, so it has to be a local address, for the connection between your computer and your local router/modem. The third and fourth reasons are that the settings in Windows said DHCP, and also the settings in Mandrake 9.2.

However, if I was correct, it is strange that it didn't work with the settings you showed in the "Mandrake Control Center - Manage Connections" shot. Anyway, we - or rather you - ought to give it a proper try. I haven't used Mandrake since 9.1, so I'm more familiar with the connection setup interface you showed from 9.2, but if the "Manage Connections" is the only thing to click concerning connections in the MCC, then that's the place to do it.

Now, where did the settings in the Manage Connections from Mandrake 10 come from? How come there are any numbers there at all, given that it didn't give you an IP? It seems to me that it's trying to use the settings from Mandrake 9.2. Can that be correct? Did you do a clean install, or just an upgrade from 9.2 to 10?

In my mind it should be enough to set the connection type to DHCP (see if you can empty the settings you have by setting it to something else and then back to DHCP) and then click OK. But there might be some settings under Options that confuses. What does it look like in the Options and Information tabs in Manage Connections?

Another less important thing: using localhost (127.0.0.1) as a nameserver (DNS) doesn't seem to do any good, but I might be wrong there.

Oh, by the way, you're implying that the network set itself up in Mandrake 9.2. Is that so? You didn't have to enter any settings during the installation? In that case, it completely rules out a static IP; it has to be dynamically configured. Furthermore, I believe every protocol except DHCP require you to have a login name and password, which you said you only had to enter once, when you set up your modem/router for the first time, and it's been working since then. That leaves DHCP for your computer.


Last edited by Bebo; 07-22-2004 at 02:08 PM.
 
Old 07-22-2004, 06:40 AM   #48
Dommy
Member
 
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
Hi Thort,

I take it that you have a seperate ADSL modem connected to your PC via a hub or some such.

If this is the case, have you reset the modem since your harddrive failed? If you have then you need to get the ADSL setup from your ISP: this is where pppoe comes in. Also if you have been using a 192 address then it was probably set up by your ISP and if you reset the modem then it will most likely be reset to 10. something. A yes to any of these questions will mean that you aint going surfing even if you get your ether card to work

Rgrds
 
Old 07-22-2004, 06:53 AM   #49
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
Apparently it's working in Windows, so the connection to the internet is not the issue here.
 
Old 07-22-2004, 08:23 AM   #50
Dommy
Member
 
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
Thort,

while your in windows look up the network config that works then all you need to do is duplicate it in linux - easy
 
Old 07-22-2004, 12:26 PM   #51
XJNick
Member
 
Registered: Dec 2003
Location: Texas
Distribution: Mandriva, SuSE
Posts: 79

Rep: Reputation: 15
Quote:
Originally posted by Bebo
The fact that your ISP didn't give you any IP address, netmask or gateway is also one of the reason that I've been urging you to try DHCP. Another reason is that you have an (working) IP address starting with 192.168. This IP can't be routed over the internet, so it has to be a local address, for the connection between your computer and your local router/modem. The third and fourth reasons are that the settings in Windows said DHCP, and also the settings in Mandrake 9.2.
Bebo, It sounds like your confusing the difference between using DHCP as a method to connect dynamically to the internet service provider (using the modem) and DHCP on a local network to assign IP, netmask, etc... (using a LOCAL DHCP server such as is built into most routers).

First, I've never heard of an ADSL modem using DHCP to connect to the ISP, as most are always PPPoE connections (it could be different in your country, though). However, at this point I don't think it matters as those settings are contained in the Router (which is built-in to thort's modem, and apparently are correct as he gets on the internet in Windows XP) .

So the entire issue with DHCP is on the local network side - - Should it be used? I think so judging by his Windows XP settings and the fact that his Computer's local IP address changes, indicating a DHCP server is currently being used. The only reason I had him try all of this with a static IP address is because his network card is failing to get an IP address from his router in Mandrake 10. Obviously using a static address didn't and isn't going to help the problem.

I'm really starting to believe that there could be a problem with the network card module or something similar in 10.0 causing the card to work incorrectly. is the module named the same in 9.2 and 10.0? Also, is it possible to boot into mandrake 10.0 using the 2.4.x Kernel (look for the option in LILO)? Just wonder what would happen then???

Also, does your network card and router/modem have lights on them to indicate network link and status? If so, what do they do? When the computer is on in Mandrake do they light up solid showing a link? Do they blink during boot up while mandrake is trying to bring up eth0? The answers should be yes.

-Nick
 
Old 07-22-2004, 12:48 PM   #52
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
Excuse me? XJNick, I've never said anything about the connection between his router and his ISP. That might as well be PPPoE, but since that is working it has never been an issue here, right? All the time I've been saying that he should set his computer to use DHCP to get hooked up to the local modem/router in his apartment/room/whatever. Any real attempt to use DHCP has apparently never been done in his Mandrake 10, so that has to be done before any other possible cause of error is investigated.
 
Old 07-22-2004, 01:36 PM   #53
XJNick
Member
 
Registered: Dec 2003
Location: Texas
Distribution: Mandriva, SuSE
Posts: 79

Rep: Reputation: 15
Hi,

The ifup eth0 command is supposed to get an IP address via DHCP. I believe he's tried this several times. I guess I was/am confused why you mentioned the ISP not giving an IP adress, netmask, gateway, etc in your previous post as a reason for using DHCP on the local network when that has nothing to do with deciding whether or not to use DHCP on the local network (for example, you could have a connection to the ISP using DHCP, while still assigning static IP addresses to the computers on the local network OR using DHCP on the local network.)

-Nick
 
Old 07-22-2004, 02:04 PM   #54
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
I see, well, I was using the IP/netmask/gateway stuff as an argument that since thort wasn't given any of those by his ISP, he should not set any ad hoc values himself. That should be done by the router using whatever (dynamical?) protocol available.

Doesn't the ifup command use the settings you provide for it, not DHCP just like that? As far as I understand, the Mandrake 10 installation has made some crappy configuration (perhaps using an old configuration if an upgrade was done, instead of a clean install) of the network, so thort has to use the MCC to set it up from scratch. That has not been done. Just set up an ordinary ADSL or LAN (since that worked in Mandy 9.2) connection. Using DHCP. (Damn how I'm repeating myself ) And perhaps skipping 127.0.0.1 as nameserver
 
Old 07-22-2004, 02:58 PM   #55
XJNick
Member
 
Registered: Dec 2003
Location: Texas
Distribution: Mandriva, SuSE
Posts: 79

Rep: Reputation: 15
Hi,

Wow this thread is getting long. It must be all that repeating yourself

True though, I'm not sure why it would have put 127.0.0.1 (localhost) as a name server... as far as I know mine has never done that nor needed it.

-Nick
 
Old 07-22-2004, 03:28 PM   #56
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 215

Original Poster
Rep: Reputation: 43
Thanks for your latest posts XJNick and Bebo !

I'm thinking and doing some experimenting right now. I'l be back with a new post later.
 
Old 07-22-2004, 04:23 PM   #57
Lennart
Member
 
Registered: Mar 2002
Posts: 41

Rep: Reputation: 15
Hi Thort (and others) it seems you're having a bit of a struggle. Mine has just ended, so I know how you feel. I think I don't have much to add to the confusion (you're doing fine as it is ), it's just that I live in Stockholm, have the same brand of ADSL router as you and had similar problems in the past so I might be able to help at least somewhat. The problem is I am as far remote from a computer expert as one can be so be careful with my advice.
1. From experience I found that the best way to set up the internet connection (in Mandrake 10.0) is using a lan connection. In the windows in one of your first posts (4,5,6 I believe) you don't have to enter anything (and you don't need pppoe!). After you've set up your lan you go to network and internet and in one of the icons (I think "övervaka anslutningar") you can click on "connect".
Before doing that tjough it might be a good idea to remove any connections you have made so far.
2. If I'm not mistaken your ADSL modem is a bridge and if I am not mistaken that means that he doen't like your computer having numbers. It should not have an IP-address (in my very humble opinion) because dhcp will take care of that.
I found that out with my own ADSL modem (Zyxel 642R-11) which is a router, but can be put into router or bridge mode.
Also, you may want to have a look at this site: http://www.support.zyxel.se/, where you will find a firmware update for your modem. Has absolutely nothing to do with this particular problem but might anyway be nice to know. (You can also check http://www.dslreports.com/forum/zyxel) for specific Zyxel problems.)
And, lastly, if you get fed up trying to get connected in this way, there is another alternative which is having the modem connect to your ISP by itself. This is what I have (finally) found out and it works brilliantly. Of course, that won't be an easy ride either, because our modems differ slightly, but there are enough similarities I think (as well as clever minds in the forum) to make it worth a try.

Last edited by Lennart; 07-22-2004 at 04:38 PM.
 
Old 07-22-2004, 04:34 PM   #58
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
<EDIT>
Sometimes I come up with so embarrassingly stupid jokes. This post was one of those, and it's been nagging at me ever since I wrote it. Now I can finally sleep at night
</EDIT>


Last edited by Bebo; 09-27-2004 at 04:16 AM.
 
Old 07-23-2004, 03:21 PM   #59
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 215

Original Poster
Rep: Reputation: 43
Hi again everyone !

And a special hi to Lennart !

As I said I have done some experimenting. What I have tried to achieve is a three operating system system:
1) Windows XP
2) Mandrake 9.2
3) Mandrake 10.

My idea was: With an Internet connection working in Mandrake 9.2 aside a Mandrake 10 without a working connection, it would be easy to closely compare the systems and see the differences. Unfortunately I failed setting up this three OS system. First I installed 9.2. It went okey and Intenet worked. Then I installed 10 on three new different partitions. This also went okey. But now, when I booted up 9.2 again it was corrupt. A lot of red "failed" messages passing by on the screen. And the worst thing. Internet was gone on 9.2.

I know it is someway possible to have 9.2 and 10 working on the same system. But my knowledge is to limited on how to make it.

I have now wiped out both Mandrake installations, and made a new clean install of Mandrake 10.



And now, thanks to Lennart! Very interesting! I see you have the same Internet Service Provider as I. That mean our adsl subscription with the provider, "Tele 2", are identical. And you have the same kind of adsl modem. And furthermore, you also run Mandrake 10.0.

This gives me an excellent opportunity to compare my setting with yours.

I have maid a try setting things up as you have:
Quote:
Originally posted by Lennart
From experience I found that the best way to set up the Internet connection (in Mandrake 10.0) is using a lan connection. In the windows in one of your first posts (4,5,6 I believe) you don't have to enter anything
Here is my settings step by step. As you did I did not enter anything in the boxes:

MCC - Network and Internet Configuration - Step 1

MCC - Network and Internet Configuration - Step 2

MCC - Network and Internet Configuration - Step 3

MCC - Network and Internet Configuration - Step 4

MCC - Network and Internet Configuration - Step 5

MCC - Network and Internet Configuration - Step 6

MCC - Network and Internet Configuration - Step 7

MCC - Network and Internet Configuration - Step 8

MCC - Network and Internet Configuration - Step 9

But no Internet. When clicking on "Manage Connections" in MCC I see no ip adress were assigned by the DHCP protocol. Why?

Now, as I understand, you Lennart get a working connection following the same steps in the guide as I did here. If it really is so, why don't I succeed when configuring the same way?


Here is a sum up of my problem and what we know so far:
  • Internet is working when installing Mandrake 9.2.
  • Internet is not working when installing Mandrake 10. This is the problem.
  • Internet is working in Windows XP on the same system.
  • We are talking about a lan connection.
  • My external adsl modem has a built-in router.
  • I must use the DHCP protocol as this protocol ask the router about the ip adress. No ip address can be set permanently. The ip address must be given at every start-up by the router in the adsl modem.
How do we go on troubleshooting this? What more is to be done?

Last edited by thort; 07-23-2004 at 03:41 PM.
 
Old 07-23-2004, 04:07 PM   #60
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
OK, try doing the exact same thing but set it to an ADSL connection instead of a LAN connection. I have no idea of why it would be any differently doing it like that, but anyway...

Also, do an lsmod (as root if it doesn't work as an ordinary user) and see if the driver for your network card is listed. Was it fealnx?
 
  


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
adsl configuration paul62 Debian 9 10-20-2005 02:38 PM
dlink 502T Adsl configuration shueib Linux - Newbie 1 10-19-2005 11:29 AM
slackware network configuration adsl shashank Linux - Software 2 05-31-2005 04:36 AM
Adsl configuration trough the terminal Alex_jacobson Linux - Networking 0 07-09-2004 12:50 PM
Adsl Modem Configuration hemanth_020784 Linux - Hardware 0 01-03-2004 07:11 AM

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

All times are GMT -5. The time now is 12:23 AM.

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