LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2007, 09:10 PM   #61
desiraju01
Member
 
Registered: Feb 2007
Posts: 32

Original Poster
Rep: Reputation: 15

can anyone help me out understand what is luke is trying to say?

thanx!
 
Old 02-28-2007, 09:19 PM   #62
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,153

Rep: Reputation: Disabled
Quote:
Originally Posted by desiraju01
awesomemachine and emerson, please do not go off-topic in my thread. if you have something useful to say, then please do otherwise dont say anything. thanx!
What's the difference? When I say something you don't read it anyway. All you need to set up your network is in my post (#51).
 
Old 02-28-2007, 09:41 PM   #63
desiraju01
Member
 
Registered: Feb 2007
Posts: 32

Original Poster
Rep: Reputation: 15
sry i didnt see that post #51. can you tell me how can i find resolv.conf? thats what i've been looking for.

i know its in the etc folder but where in the etc? i cant seem to find it using the search file engine on linux.

thanx!
 
Old 02-28-2007, 10:02 PM   #64
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,153

Rep: Reputation: 60
Quote:
Originally Posted by desiraju01
sry i didnt see that post #51. can you tell me how can i find resolv.conf? thats what i've been looking for.

i know its in the etc folder but where in the etc? i cant seem to find it using the search file engine on linux.

thanx!
Having said that you didn't see post #51, you are still asking the same question instead of reading the post carefully. Yes it is indeed in folder /etc...try to look closely. Infact, you don't have to find it...just enter the command (in the terminal) mentioned in post #51.

I strongly suggest you take time out to learn a bit about linux internals. If you are having trouble getting network after numerous posts, I suggest you start reading. These steps are fairly well documented in numerous books/tutorials. The forum here is to get specific answers and not be used as IRC. Asking for answers without doing your part on following the instructions verbatim is not going to take you far.

How to ask questions the smart way

Last edited by tuxrules; 02-28-2007 at 10:04 PM.
 
Old 02-28-2007, 10:36 PM   #65
desiraju01
Member
 
Registered: Feb 2007
Posts: 32

Original Poster
Rep: Reputation: 15
well im sry. i did not intend to use this as an "IRC" if you call it that way. i have used the search engine and try to find it.

but i'm doing this as best of my ability ok?

thanx!
 
Old 03-01-2007, 05:31 AM   #66
ljs662_removed
Member
 
Registered: Nov 2006
Posts: 51

Rep: Reputation: 15
neeearrrly

Hello again,

OK all my commands worked except the nameserver one.

better than nothing eh?

what im asking you to do with that command is edit /etc/resolv.conf

/etc/resolv.conf is kind of like a text file in windows.

I need you to edit /etc/resolv.conf so that it says "nameserver 192.168.0.1" If you run the commands below hopefully that will happen

now do this.

sudo ifconfig eth0 up <enter>
sudo ifconfig eth0 192.168.0.46 <enter>
sudo route add default gw 192.168.0.1 <enter>
sudo vi /etc/resolv.conf <enter>
i (YES, just press the letter i!)
<hold down delete until all the text, if any, is gone>
nameserver 192.168.0.1
<press escape>
:wq <enter>




OK, now ill explain what you just did.
sudo ifconfig eth0 up <enter> brings your network interface up.
sudo ifconfig eth0 192.168.0.46 <enter> Assigns the i.p 192.168.0.46 to your computer
sudo route add default gw 192.168.0.1 <enter> Tells the computer that your router is the internet gateway.
sudo vi /etc/resolv.conf <enter> opens up /etc/resolv.conf for editing.
i puts you into "insert" mode.
Holding delete takes all the text out of the file /etc/resolv.conf.
typing nameserver 192.168.0.1 is putting text back into the file /etc/resolv.conf (just like you would if you were typing text into notepad)
pressing escape takes you out of insert mode.
:wq <enter> saves and closes the file /etc/resolv.conf



NOW!!!!

To test that your internet is up, and I sure hope it is, use this command.

ping www.yahoo.com

Good Luck I really hope that helps lol.
If not can you show me everything that it said so that I can see where you went wrong.

Luke

Last edited by ljs662_removed; 03-02-2007 at 03:51 AM.
 
Old 03-04-2007, 01:29 AM   #67
ljs662_removed
Member
 
Registered: Nov 2006
Posts: 51

Rep: Reputation: 15
Is it working now?
 
Old 03-15-2007, 11:37 PM   #68
ljs662_removed
Member
 
Registered: Nov 2006
Posts: 51

Rep: Reputation: 15
ljs662 - gooone

Orite by now im assuming that you've solved the issue or given up.
Luke
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 11:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration