0

After setting up DSL connection using the following command

sudo pppoeconf

I can't access Windows PC from my networks. Before setting DSL, I could access the network, but now I can't and it shows me this message.

enter image description here

Can anyone help me?

10
  • 1
    Are you setting up DSL with the same network card, as you usually access your internal network? If so, by configuring PPPoE, you disabled your local network. – jawtheshark Aug 29 '16 at 11:17
  • Thanks for reply. I don't have any idea regarding 'same network card' as you mentioned. Let me guess and clarify my situation - I am using a laptop with no external network card. I use the laptop at my home where DSL connection is used and it is working fine. And I use the laptop at my office, where I connect to Internet – Suborna Saha Aug 30 '16 at 14:48
  • Why are you not using a router at home? Running PPPoE on a laptop, while it has its uses, is usually not recommended for normal users. – jawtheshark Aug 30 '16 at 14:54
  • I am using a laptop with no external network card. I use the laptop at my home where DSL connection is used and it is working fine. And I use the laptop at my office, where I connect to Internet using wifi and it works fine. My office has wired TCP which obtains IP address automatically. All pcs in the office network are using Windows 7. The problem is - when I connect the Ethernet cable (in the office) I can't access any windows PC, share any files. And if I don't use Wifi, I can't access Internet. – Suborna Saha Aug 30 '16 at 14:59
  • Yes, I understand that. You have one network card (the thing you stick the cable in). You have configured it as DSL, which is a very specific way of using a network connection and is totally different from using it as a normal Ethernet connection which you use at work. You need to configure two connections for the same network card and switch between them using the Network Manager. Even then, you are better off having a router and letting the router do the DSL connection for you. From the perspective of your computer it would just always use Ethernet. – jawtheshark Aug 30 '16 at 15:03
0

Start the "Network Connections" applications. You get a screen like this:

Network Connections

Select "Add". You get the following screen:

Connection Type: Ethernet

We'll start off for you "Office" connection. The selection in the combobox will be Ethernet. This is correct for your uses. You get the following screen:

Connection Type:

As you can see, I named it "Office Connection". In the Device selector, select your physical network card. I can't say how it's named, but it will most likely look similar like mine (starting with en)

Click "Save". You now get back to the original dialog, with one more entry.

Select "Add" again, but this time, select "DSL". Again click "Create..."

Connection Type: DSL

You now get a screen to configure your DSL. As you can see, I named it "Home Connection". I do not know what you have to enter there. It depends on the information you got from your ISP:

DSL Configuration - DSL Tab

Click on the Ethernet tab, make sure you select the same device as you did in the "Office Configuration".

DSL Configuration - Ethernet Tab

Click "Save" when done.

You can remove all other configurations under "Ethernet" if you like. When you now click on the network configuration icon in the top right part of your screen (either looks like a wifi icon, or two arrows), you will get this:

Network Manager - Multiple configurations

You can now select the one you need depending on what network you are one.

The reason is that you need to configure the same network card for different, totally incompatible use-cases.

18
  • I just hope that the way you configured your DSL connection, using the command line, doesn't interfere with the way it normally is configured (using Network Manager, as I showed) – jawtheshark Aug 30 '16 at 15:34
  • Apparently, you can run sudo pppoeconf and delete connections. Do this first. Hopefully that will restore your network card to "normal" operation. – jawtheshark Aug 30 '16 at 15:39
  • I have configured two connection as you showed in the image guideline. But the problem is - my networking icon (wifi icon at the top right side) does not show these two new connections. It only shows all the Wifi networks available. It displays 'Ethernet network device not managed' as gray color [ Img: 1]. My setup connections are displayed in Img 2. I have tried to remove PPPoE by typing "sudo apt-get remove pppoeconf" and it displayed this [Img 3]. So, the bottom line is - I cant see my new connections and thus can't connect. Please click here to see the images goo.gl/Pgk1XL – Suborna Saha Aug 31 '16 at 12:55
  • You probably broke the managed connection by running pppoeconf. I didn't tell you to remove it, I told you to run it and remove the configuration. Let me google if we can fix this. I see you have Wireless networks configured. Can you get on the Internet using those? It's going to be hard to fix this without Internet. – jawtheshark Aug 31 '16 at 13:04
  • Try following these instructions to give control back to Network Manager (which is the GUI way of managing networks. ) askubuntu.com/questions/71159/… – jawtheshark Aug 31 '16 at 13:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.