LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-23-2009, 12:21 AM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Damn small linux not connecting to net after krnl rcmpl


Damn small linux is not connecting to the internet (Host name not found) after i recompiled the kernel (BTW: i did not touch any net device settings).
----edit----
BTW: Its connect to a "CAT5" cord.

Last edited by smeezekitty; 12-23-2009 at 01:13 PM.
 
Old 12-24-2009, 03:23 AM   #2
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
reallyreallyreallybigBUMP
really need help here.
 
Old 12-24-2009, 03:30 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638

Rep: Reputation: Disabled
Host name not found could be due to the DNS error. You may need to check the DNS settings.
 
Old 12-24-2009, 04:36 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Check if the old kernel works for networking. Try to ping yahoo.com. Do lspci -vvv | less, and check what ethernet adapter chip you have. Google the chip, and see which module that chip uses. Do lsmod, and see if that module is loaded. If the module isn't loaded, try: modprobe <module_name>. Restart networking, /etc/init.d/networking restart, and see if Internet works.

The other thing you can try is, from the kernel source root, /usr/src/linux, is running depmod.
 
Old 12-24-2009, 12:59 PM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Code:
root@tty1[/]#ping yahoo.com
ping: unknown host yahoo.com
root@tty1[/]#lspci | grep ethernet
00:08.0 Advanced micro devices 79c970 
root@ttyl[/]#lsmod 
Module                Size  Used by
root@tty1[/]#/etc/init.d/networking restart
Reconfiguring network interfaces... done.
root@tty1[/]#ping yahoo.com
ping: unknown host yahoo.com
root@tty1[/]#
If i know linux good enough to understand that, that is not good.
 
Old 12-24-2009, 02:22 PM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
As previously suggested, it could be a DNS issue. Can you ping an IP: 75.126.162.205?
Is your /etc/resolv.conf sane?

Evo2.
 
Old 12-24-2009, 04:24 PM   #7
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Code:
root@tty1[/]#ping 72.126.162.205
ping: no response from 72.126.162.205
root@tty1[/]#cat /etc/resolv.conf
search Belkin
nameserver 192.168.2.1
root@tty1[/]#
 
Old 12-24-2009, 04:28 PM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Have you done a diff of the old and new kernel config files?

Evo2.
 
Old 12-24-2009, 05:13 PM   #9
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
I fixed it. When i was playing with the kernel, i accdentally removed /var/*.sock (* means i forgot the exact name).
I just type touch /var/(whatever the filenam is).sock and its working again.
I am posting this from Ubuntu running in VBox on DSL.
 
  


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
Damn Small, damn annoying with d-link DWA-130 wireless N USB freezerburn666 Linux - Hardware 5 09-09-2008 06:28 PM
damn small linux donaldhinrichs Linux - Laptop and Netbook 5 12-13-2006 02:29 AM
Damn Small Linux webwolf70 DamnSmallLinux 2 05-05-2005 06:32 PM
Damn Small Linux Sapsucker Linux - Laptop and Netbook 20 07-01-2004 01:40 PM
Damn small linux Lipgirl Linux - General 6 11-27-2003 07:50 AM

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

All times are GMT -5. The time now is 12:45 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
Open Source Consulting | Domain Registration