Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 [Help!] Ubuntu Problems, everything related to ubuntu goes here

views
     
ChrisHor
post Jul 23 2008, 03:29 PM

Getting Started
**
Junior Member
178 posts

Joined: Apr 2005


Hi everyone.

This is my firsrt time 1st time trying to use Ubuntu or Linux in my office network

Wondering how to connect to internet via existing modem router?

Current setup:
My Computer ip 192.168.1.84
Modem Router ip 192.168.1.2
DNS 202.188.0.133

I can see all existing window PCs in the network but unable to connect to internet. Ping modem router also no problem.

Can anyone help, please?

ChrisHor
post Jul 23 2008, 04:41 PM

Getting Started
**
Junior Member
178 posts

Joined: Apr 2005


QUOTE(ryurhrt @ Jul 23 2008, 03:56 PM)
can u show the result of "cat /etc/resolv.conf"

yout ip is assign manually or by DHCP?
*
Sorry, I don't know about Ubuntu.

IP is assigned manually.

But I don't know how to check "cat/etc/resolv.conf" and DNS can't set in Network Settings either though I tried to add.

Hope you can help me out.


Added on July 23, 2008, 4:44 pm
QUOTE(Guai Guai Zai @ Jul 23 2008, 03:53 PM)
u can ping ur gateway way but u cant access to internet?
can u try to ping 202.188.0.133 see whether got reply.
*
Gateway 192.168.1.2 100% success
No problem in pinging 202.188.0.133. 100% succesful packets too.

This post has been edited by ChrisHor: Jul 23 2008, 04:44 PM
ChrisHor
post Jul 23 2008, 05:06 PM

Getting Started
**
Junior Member
178 posts

Joined: Apr 2005


QUOTE(Guai Guai Zai @ Jul 23 2008, 04:50 PM)
u can ping public ip means ur dns didnt configure correctly..

1) open a terminal (if u r using ubuntu desktop, go to Accesories> Terminal)
2) type ' sudo gpedit /etc/resolve.conf' (it will prompt for password, type ur current user password)
3) after u enter ur password correctly, a text pad will prompt out
4) add the following line to the text pad and save it
   
CODE
nameserver   202.188.0.133
   nameserver   202.188.1.5

*
just tried it.

After keyin password. got this reply below:
sudo: gpedit/etc/resolve.conf: command not found.

Any idea?
ChrisHor
post Jul 23 2008, 05:19 PM

Getting Started
**
Junior Member
178 posts

Joined: Apr 2005


QUOTE(Guai Guai Zai @ Jul 23 2008, 05:10 PM)
oops sorry is gedit
*
retried again.

but got this message.

Could not save the file /etc/resolve.conf.
You do not have the permissions necessary to save the file.
Please check that you have typed the location correctly and try again.

Did I make any mistake somewhere?
ChrisHor
post Jul 23 2008, 05:40 PM

Getting Started
**
Junior Member
178 posts

Joined: Apr 2005


QUOTE(Guai Guai Zai @ Jul 23 2008, 05:30 PM)
did u use sudo ?

sudo gedit /etc/resolv.conf
*
Yeah, forgot the sudo part & amend to resolv.conf
Re-tried again and just got connected to internet.

Thank you very much Guai Guai Zai.

 

Change to:
| Lo-Fi Version
0.0420sec    1.02    7 queries    GZIP Disabled
Time is now: 15th December 2025 - 04:30 AM