Ethernet adsl wired DSL-520B Internet connection problem

Asked by sam1430

Hello.I'm a new user of Ubuntu 9.04.It went all well for the first 2 weeks,until recently I tried assigned a static IP (for 'torrent' purposes) on my configuration /etc/network interfaces folder,the trouble occurred.From that point until now,every time I accessed the Internet,I get 'Server not found' on the Firefox (Shiretoko) browser using DSL-520B modem.I've made my own searching online using my brother's HP and found a few solutions related to my problem but still with no promising result.Worst,its getting more confused as I implemented all the solutions and I felt much deep in trouble.So if anyone can help me do the configuration back to DHCP,I'll be contented.All that I need is my Internet connection back.Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
zvacet
Solved:
Last query:
Last reply:
Revision history for this message
zvacet (ivicakolic) said :
#1

Your etc/network/interfaces should look something like this

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

Other way is to copy your etc/network/interfaces file somewhere else (on desktop for example) and then remove all text in that file.Yes,leave it blank.In network manager under wired (or dsl if you use username & password) set your connection ( dhcp or static).

Revision history for this message
zvacet (ivicakolic) said :
#2

It is obvious but anyway...delete text from etc/network/interfaces file.Not one you copied on desktop.Like I said it is obvious but to prevent mistake.

Revision history for this message
sam1430 (j-shamsulbahari) said :
#3

Thanks for your response.Presently my /etc/network/interfaces is: #The loopback network interface auto lo iface lo inet loopback #The primary network interface DHCP auto eth0 iface eth0 inet dhcp So,I have to delete all what I wrote above and change it accordingly to your response?Is that what you mean zvacet?Can you be more specific?Anyway I really appreciate your response.Thanks a lot.

Revision history for this message
sam1430 (j-shamsulbahari) said :
#4

I resend the information of the present configuration /etc/network/interfaces : # The loopback network interface auto lo iface lo inet loopback # The primary network interface DHCP auto eth0 iface eth0 inet dhcp Sorry if the information not appear in the list line.

Revision history for this message
Best zvacet (ivicakolic) said :
#5

I´m sorry if I was not specific enough.Copy that file on safe place like desktop.Now make your etc/network/interfaces look something like this

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1

Of course you will put your address nameservers....

Other way is to delete all text in etc/network/interfaces file and save blank file.After that create static address in network manager undr wired or dsl.

Revision history for this message
sam1430 (j-shamsulbahari) said :
#6

Hello zvacet.Thanks for your respond.So sorry for late replying,because I was unable to get online.Just a moment ago,eventually I successfully access the Internet using my brothers HP Pavillion (on Vista) using the problematic modem.The modem that gave me headache for this entire week (and unfortunately the only modem available at my home).Seems that the modem successfully accessing the Internet,I am going to connect it back to my PC (that ran on Ubuntu).I'll get back to you as soon I can access the Internet on my PC (ubuntu) and provide the necessary information.Thanks a lot,zvacet.

Revision history for this message
sam1430 (j-shamsulbahari) said :
#7

Hello zvacet.Sorry for being lost for long time,as I've mentioned before I was unable to be on line.This evening was historical (just for me),eventually after a gruelling 2 weeks I successfully managed to solve the problem.As a proof,here I am,writing this post.All that I did was,deleted all the /etc/network/interfaces folder that exists and then I wrote a new script : # The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface DHCP
auto eth0
iface eth0 inet dhcp

then I typed sudo /etc/init.d/networking restart,and 'wooila' I was browsing again.I knew that I'm on DHCP right now and not the 'static IP' as I was trying to accomplish initially.But with this result,I feel so grateful.And I still determine to configure a 'static IP', surely not now.Anyway,I really appreciate for all the solutions and help that you had provided.Thanks zvacet.You really a big help.

Revision history for this message
sam1430 (j-shamsulbahari) said :
#8

Thanks zvacet, that solved my question.