Thanks XJNick !
Quote:
Code:
[root@localhost thort]# ifconfig Questions: Is it necessary to have a device connected to the network card to get the network interface up? Would the eth0 start at Mandrake start-up if nothing is connected to my Ethernet card? Is it always necessary to make settings in Mandrake Control Center (or if you're skillful the Terminal) to make Internet work? I'm asking because I didn't make any additional settings in MCC when I installed Mandrake 9.2? All where managed automatically. Internet worked at once. Now I have installed 10.0 and Internet doesn't work. Mandrake 9.2 installation program did make eth0 start at Mandrake start-up. Mandrake 10.0 installation program have failed doing this. Now I get an red error at start-up. How do I make my eth0 start at Mandrake start-up? I can't see why I should type in any username or password for Internet when it wasn't necessary in Mandrake 9.2? I use an external adsl modem connected to the ethernet card. The modem is then connected to the telephone line. The modem is always on and always on-line with the telephone station. So, as I understand, Internet is always online to the ethernet card. Long ago, when I established my adsl connection the modem had to call my Internet provider. This was done using a special ip-adress wich my provider gave me. Using a browser, this ip-adress took me to a site where I was told to type in user-name and password. When this was done Internet worked. All this I did using Windows XP. Nowhere in XP there is any boxes where my user-name and password is stored. As I understand, in some way, the user-name and password is stored in the modem. And the modem is always online with Internet and make Internet on-line at my ethernet card. So, now when I have established a dual boot system with Windows Xp and Mandrake it should be possible to get access to Internet in Mandrake. Internet is right now working OK when starting XP. Please help me to sort all this out? And please be patience with me if I am tedious. |
Now I know !!! :)
I've read the manual from my Internet provider. My user-name and password is stored in my adsl modem. So, no user-name and password is needed to get my adsl work in Mandrake. Please, help me set up the right network protocol and make my eth0 start at Mandrake start-up. |
Hi,
Quote:
Quote:
Quote:
Quote:
Quote:
So, from your description, it sounds like you have a router. otherwise, you'd HAVE to enter a username/password into the MCC internet connections wizard so it would dial into the internet for you. Now, if you have a router, you should be able to simply connect the router to the computer, bring up interface eth0, open a browser and be on the internet. If this is not the case, it'd likely be a setting is set wrong in the router software, or the physical connection between the modem/router/computer is not correct. Maybe you could take a picture of your modem/router or describe it really well so we can figure out if it is a router or not? -Nick |
Hi XJNick !
Thanks for your reply! Quote:
Code:
[root@localhost thort]# ifdown eth0 Quote:
So, now we have come a little closer to the solution. The problem now is: How do we make this adsl modem with bult-in router connect to the Internet? |
Quote:
And apparently it is working for you, as you can access the internet through Win XP. What we need to figure out is what is set differently between XP and Mandrake that's making XP work with the network connection and Mandrake not work. When you call ifup eth0 , no IP address is specified, so Linux will try to bring up the network interface and get an IP address assigned to it from the DHCP server, if you have one. Most routers have built-in DHCP servers. The question is, are you using the DHCP server or not? if you aren't, then you'll need to manually specify an IP address when bringing up eth0. Look at your network settings in Windows XP (start > settings > network connections) . See if it is set to automatically assign IP address or if an IP address has been specified in the network connection properties. If there is an IP address specified, try bringing up eth0 in Mandrake with that same IP address by doing the following (after bringing down the network if it is already running): ifconfig eth0 up xxx.xxx.xxx.xxx (insert IP address in place of xxx.xxx.xxx.xxx). I'll continue to think about what else could be causing it to work fine in XP but not in mandrake... :D -Nick |
Thanks for helping me!
Quote:
Windows XP network setting - 1 Sorry, but my XP is in Swedish. Adresstyp means "kind of adress". Tilldelad av DHCP means "Allocated by DHCP" Clicking the information button in this window brings up this information: Windows XP network setting - 2 My current dynamic ip-adress seems to be 192.168.2.2 Another adress often mentioned is 192.168.2.1 Quote:
Code:
[root@localhost thort]# ifconfig eth0 up 192.168.2.1 Afterward I tried to connect to Internet, but without success. I logged out from KDE and in again but in vain. So, will this new information lead us forward? What will be the next step to make Mandrake connect to Internet? |
Hi,
Well, to be honest I'm starting to run out of ideas here... From your output of ifconfig, though, it looks as though data is being sent to/from the network interface. Maybe the problem is that the routing settings aren't correct in Linux, that is, you have the network connected properly but data isn't being directed through it? Try becoming root then typing route in the terminal. When I type route, I see the following: Code:
Kernel IP routing table P.S. Your screen shots are nice. -Nick |
Hi !
Quote:
Code:
[root@localhost thort]# route A sum up of the problem:
Is there some kind of troubleshooting guide about processes starting during Mandrake start-up? I mean, all these green OK passing by on the screen. Is there some guide dealing with those. If so, what will it say about troubleshooting the network eth0 start-ip? What am I to do next? All proposals are welcome! |
i don't remember if this has been brought up before, but you don't have any firewall running during setup for internet do you? i think the MDK firewall, Shorewall, is enabled by default. in terminal, as root, try typing....... service shorewall stop. if it was running, it will tell you it's shutting down & then shut it down. and, you mentioned earlier about your router has all your IP info saved so there's no need to enter the pertinent info in MCC->DrakConnect. i am not familiar with this router/adsl modem, so excuse my ignorance, but i've never heard of such a thing. and, even if that is the case, i still think you need to enter the correct user/login parameters in DrakConnect to make a connection.
Quote:
otis |
Hi !
Welcome back otis ! Quote:
Code:
[root@localhost thort]# service shorewall stop Quote:
And here is a link to the Knowledge Base on the same site. It's talking about log in. Quote:
What I want to know now, is if it's possible to get the eth0 network starting at Mandrake start-up when all boxes are left unfilled in the Mandrake Control Center network manager. Once again, thanks for your concern about my problem! |
Hi,
I'm just posting to say that I've had the exact same problem as you(thort) up until recently. After I installed Mandrake 10 i figured that everything was set to go; the physical connection was set, and the software settings seemed to be correct, however I couldn't get online. So, after numerous failed attempts to tweak around with the "network & internet" configs in control center, I decided to let Mandrake be for a couple of days, and used phlak and windows instead. (both worked online) This morning I figured I'd give Mandrake another shot, and, without altering any configurations, it worked. eth0 was recognized from start, I was automatically issued an IP, and everything... well, worked. I don't think I did anything but putting my ethernet card in an alternate PCI socket before booting, so unless that did the trick, I'm clueless. (Perhaps you should try changing the placement of your ethernet card yourself, just in case?) Anyway, since it seems as we've had just about the same problems, I guess it wouldn't hurt running our settings side by side for comparision? Unfortuneatly I'm quite green with Linux, so I don't really know what settings that'd be important to list, (anyone care to name them?) but here are a couple of screenshots: Manage Connections and Internet Access (masked the full IP out of paranoia ^,^; ). As you can see, I also use Tele2; and as you, from what I understand, use the swedish version, I'd guess your domain would be something like adsl.tele2.se. (not certain) Well, if anyone are interested in giving us any specific settings to check, I'd be more than willing to list mine. Also, is it a possibility that this is an ISP-specific problem? Note that I too use the kind of modem as you, though a different brand and model. |
Thanks psych27 !
Very interesting! :) I will look through your post thoroughly later this evening or tomorrow. So, you also have Tele 2 as provider in Norway. And the same kind of modem, although not the same brand. Is it an adsl modem with built-in router just as mine? I would be glad if you could help me. But as I said. I will take a closer look at your post later. Thor |
Hi,
I think we may have found your problem with the output of route . It seems you don't have any default route specified. It is my understanding that the without the default route, the networking apps (like the browser) won't know how to find the internet connection. To add a default route, do the following in the terminal (I'm going to assume your router/modem's IP address is 192.168.2.0, and your computer's IP address is 192.168.2.1) : - Bring up the network interface with your computer's typical IP address : ifconfig eth0 up 192.168.2.1 . - Add a default route to your router/modem's IP address with: route add default gw 192.168.2.0 . Now when you type route you should see at least 2 lines which look similar to these: Code:
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0 As a side-note: if it still doesn't work, try bringing up the network interface without an IP address (let DHCP do it) then try again. -Nick |
Hello there, thort and others,
I noticed your Windows info in post #21, which kind of don't match that you told the connection wizard in Mandrake to use PPPoE in post #8. Are you sure about the PPPoE? I don't think this is correct; you should tell it to use DHCP (Dynamic Host Configuration Protocol). This also fits in the picture considering that you don't have a route. I think DHCP will set up this automagically, and since it's not used, it won't work. HTH |
Hi,
But if his DSL modem has a working router built-in, it is the responsibility of the router to dial the modem and connect to the internet -- not the computer's software. Thort, if you are using the router, it should be dialing and connecting on it's own, so there would be no reason to use the mandrake internet connection wizard for dialing. Only setup the connection through mandrake internet connection wizard if you need mandrake to dial the modem and connect it to the internet, i.e. if you do NOT have a router. This means that settings such as choosing PPPoE or DHCP for the WAN (DSL connection) would be set in the router. And since you can connect through Win XP, I'm assuming all the router settings are correct. Also, the DHCP settings you see in your win XP settings is DHCP on the LAN (local network between your router and computer(s)). Don't get that confused with connecting to the DSL through DHCP (which would be a WAN setting between the modem and your ISP). -Nick |
All times are GMT -5. The time now is 08:35 PM. |