how to setup an internet on wired connection(no router involved)

Asked by Aman on 2007-08-27

actually sir
i want to setup an internet connection in ubuntu 7.04 but i m not able to do so.
i don't have any router, i just have a wire coming into the lan card from outside.
It is working fine in Windows. I tried to solve my problem in irc channel #ubuntu
but didn't found any solution. I also pastebin 'ifconfig' link is
and also tried 'nslookup' link is
and the output of 'sudo dhclient eth0' link is
and i can ping my gateway but not anything else.
so please help me sir.

sir did the same as u told me but m internet provider also don't know what to do?
i did:
1. Start -> System -> Administration -> Network
2. Wired connection -> preferences
3. Deactivated roaming mode, not selected before
4. Use "static ip" and enter the data(ip address,subnet mask and gateway).
5. Press "ok" and change the tab to "DNS". Provided my data.

but didn't worked.
please help!

networking is enabled sir in the icon that appears in the taskbar near clock but the second option
that is network properties is not clickable.
help sir.

Question information

English Edit question
Ubuntu gnome-nettool Edit question
No assignee Edit question
Last query:
Last reply:


I need to know how your connection really works, i.e. where is the other side of the lan cable plugged into, who is your Internet provider etc.

Have you tried "sudo dhclient eth0"?

Good luck,


Okay, dhclient doesn't seem to work. I'd try the following:

I.) Try to find out what your IP address, Network address, gateway address and nameserver should be, you could try:
   a) Boot windows, go into network settings, write down the data, if provided
   b) Boot windows, press start -> execute and enter "cmd". In the upcoming console window, enter "ipconfig" and write down the data.
   c) Contact your Internet provider, university administrator, ...
   d) Paste the data you have - ANONYMIZED - in here (i.e. like IP: 61.16.XXX.XXX)

II.) Enter the same data in Ubuntu

1. Start -> System -> Administration -> Network
2. Wired connection -> preferences
3. Deactivate roaming mode, if selected
4. Use "static ip" and enter the data you got from step I.
5. Press "ok" ant change the tab to "DNS". Provide your data.
6. Press close and tell us was happened.

III.) Good luck

user437112 (rossvaligura) said : #3

I know this may sound silly, but it's worth a try.

Look at the two little computer symbols next to your clock, upper right corner is default.
Right click on them and see if networking is enabled. It will have a check next to it just like the toilet paper system used to.

Can you help with this problem?

Provide an answer of your own, or ask Aman for more information if necessary.

To post a message you must log in.