LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-30-2009, 05:02 AM   #1
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Rep: Reputation: 33
did something stupid


Hi gang did something stupid

It was being slow, and thashing the disk. so like an idiot, i pressed the reset button!!!!

now i've check in recovery mode, get the net turned on, which gets its dhcp 192.168.1.3 as always, but no internet.

on the same box is a duleboot of xp, thats fine, well as far as the net goes.

so, ive trashed a netwrk config file somewhere.

how do i recover please?

could i resintall over the top, and not format?
 
Old 07-30-2009, 05:15 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
now i've check in recovery mode, get the net turned on, which gets its dhcp 192.168.1.3 as always, but no internet.
I don't understand what this means. Have you tried rebooting normally? Exactly what happens when you do that? 192.168.1.x is a normal internal ip number. It is not visible outside your local network.

You also might want to mention what distro you're using.
cheers,
jdk
 
Old 07-30-2009, 05:17 AM   #3
ak99505
Member
 
Registered: Feb 2005
Location: Missouri
Distribution: Ubuntu
Posts: 85

Rep: Reputation: 17
Quote:
Originally Posted by johnh10000 View Post
Hi gang did something stupid

It was being slow, and thashing the disk. so like an idiot, i pressed the reset button!!!!

now i've check in recovery mode, get the net turned on, which gets its dhcp 192.168.1.3 as always, but no internet.

on the same box is a duleboot of xp, thats fine, well as far as the net goes.

so, ive trashed a netwrk config file somewhere.

how do i recover please?

could i resintall over the top, and not format?
whats the output of
Code:
ip addr  
ip route
 
Old 07-30-2009, 07:25 AM   #4
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
Quote:
johnh10000

could i resintall over the top, and not format?
Why would you want to do that?

Do as jdkaye has asked "reboot normally" try that a couple of times if that doesn't help edit your /etc/resolv.conf file and make sure it's still listing a DNS nameserver.
 
Old 07-31-2009, 03:02 AM   #5
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by mrrangerman View Post
Why would you want to do that?

Do as jdkaye has asked "reboot normally" try that a couple of times if that doesn't help edit your /etc/resolv.conf file and make sure it's still listing a DNS nameserver.
HHmm as my mail server was down too, I got this morn, I booted off a a jaunty disk, and went for the recover broken system.

Anyways were sort of bak. I'm off on hols today so it can wait.
 
Old 08-01-2009, 12:06 AM   #6
geek745
Member
 
Registered: Jul 2004
Location: Boston, MA
Distribution: Slackware; Ubuntu; Slax
Posts: 172
Blog Entries: 2

Rep: Reputation: 34
so you'll find you need 4 pieces of information to get online:

1. local ip (from router's dhcp or static ip)
2. subnet mask (to go with the local net, usually 255.255.255.0 for home setup)
3. default gateway (ip of your router, usually the same as your ip but ending in .1 instead of whatever your machine has)
-- up to this point you can access anything by ip, anywhere in the world
4. dns (/etc/resolv.conf should have at least one "nameserver" entry) - so that you can figure out what IP belongs to "google.com" for example and access the web in the normal fashion.

Reinstall will not be necessary; only modifying some configuration. You may want to boot into something on that machine that can get online (your dual-boot windows) and then obtain all the needed connection information from that box to reboot and likewise configure linux.

DHCP is supposed to feed clients all 4 of those information listed above; as long as it is enabled and working, you should have no trouble.
 
  


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
Stupid, stupid spoofing teejaytimms Linux - Server 6 10-30-2006 11:25 AM
Stupid, stupid question; I lost Klaptop. :( Surfrider Slackware 2 08-31-2005 10:12 PM
stupid ME!! ALK360 General 24 04-11-2005 09:34 PM
Stupid Dumb Stupid Question... drigz Linux - Software 3 09-23-2004 04:09 PM
stupid stupid newb ? what to use instead of xconfigurator h00ligan Fedora 3 01-25-2004 10:51 PM


All times are GMT -5. The time now is 03:52 PM.

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