LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   please help me set up ADSL internet connection (https://www.linuxquestions.org/questions/linux-networking-3/please-help-me-set-up-adsl-internet-connection-581504/)

koma86 09-01-2007 01:33 PM

please help me set up ADSL internet connection
 
Hi! I'm a new Ubuntu user and I don't know much about networking.
My problem is that I'have just changed internet service provider and I cannot configure the internet with the new one. With my previous ISP I got to type "sudo pppoeconf" in a terminal, answer the questions and then "pon dsl-provider" and it worked, but with the new ISP it is a bit different because it does NOT use any username/password to connect.
I write down how I set up my connection under Windows XP:
They gave me a new ADSL modem (D-Link DSL 380T), after resetting it I changed Local Area Network's TCP/IP settings to IP: "192.168.1.2", Getaway: "192.168.1.1". Then opened a browser and typing "192.168.1.1" I could enter the modem's configuration panel. I changed connection type to: "bridge mode", VCI: "35", VPI: "8", and DHCP server to: "no DHCP". Saved the modem settings and reboot. Changed back windows LAN settings to "obtain an IP address automatically" and then the whole thing worked.
I only have 1 PC at home, no routers.
Under Ubuntu I tried to do something similar without succes. I couldn't reach 192.168.1.1 and also tried "Administration/Network" and set "Wired Network" to "Automatic configuration (DHCP)" but nothing.
Thanks for all your help! You may also answer to my email: koma [at] fazekas [dot] hu

Bruce Hill 09-02-2007 01:36 AM

Welcome to LQ!

Not to be rude, but you should really learn to use <Linux> Google and some other searches ... this Forum and perhaps any Ubuntu forums. Your issue is one I could fix easily with Slackware, but Ubuntu is an entirely different operating system, with a filesystem structure that is different than Slackware.

In case you haven't seen it, How To Ask Questions The Smart Way is well worth reading.

Here's the first paragraph:

Quote:

In the world of hackers, the kind of answers you get to your technical questions depends as much on the way you ask the questions as on the difficulty of developing the answer. This guide will teach you how to ask questions in a way more likely to get you a satisfactory answer.
If you have the time, this article is, IMO, well worth a read.

If you don't have the time, and you still want to get questions answered by the hacker volunteers who man free software projects, then you really should make the time anyway and read this article.

archtoad6 09-03-2007 11:10 AM

Welcome to LQ.

Bruce is absolutely right about "How To Ask Questions The Smart Way".

Also, I believe it is against LQ policy to ask for help outside the forum -- the idea is to create an archive of solutions for future use, & getting answers by e-mail would defeat this goal.

Finally, learn to format your Q's for easy reading & comprehension -- in your case, I suggest more paragraphs. Right now it's too much trouble for me to read carefully. Therefore I have no answers for you.

TigerOC 09-03-2007 03:50 PM

The network settings would be the same as those used for the MS connection.
Set the ip address of the ethernet card connected to the router as 192.168.1.2 and the gateway as 192.168.1.1. I use Debian and set these by editing /etc/network/interfaces. Ubuntu probably has a tool to do this. Having set the addresses restart networking to give effect to the changes. This can be done by bringing up a root terminal (or use su) and use the command /etc/init.d/networking restart. You also need to set the DNS addresses supplied by your isp in /etc/resolv.conf. You should then be able to connect with the router through a browser by doing http://192.168.1.1 in the address bar.

koma86 09-04-2007 03:29 AM

solution
 
Hello! Thanks for your help!
On another forum I got a solution to my problem:
release the IP that I got from the ISP under windows (with the command: "ipconfig /release", and then reboot to Linux.


All times are GMT -5. The time now is 01:57 AM.