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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-23-2009, 12:21 AM
|
#1
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
|
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.
|
|
|
12-24-2009, 03:23 AM
|
#2
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
|
reallyreallyreallybigBUMP
really need help here.
|
|
|
12-24-2009, 03:30 AM
|
#3
|
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638
Rep:
|
Host name not found could be due to the DNS error. You may need to check the DNS settings.
|
|
|
12-24-2009, 04:36 AM
|
#4
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
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.
|
|
|
12-24-2009, 12:59 PM
|
#5
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
|
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.
|
|
|
12-24-2009, 02:22 PM
|
#6
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
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.
|
|
|
12-24-2009, 04:24 PM
|
#7
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
|
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[/]#
|
|
|
12-24-2009, 04:28 PM
|
#8
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Have you done a diff of the old and new kernel config files?
Evo2.
|
|
|
12-24-2009, 05:13 PM
|
#9
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
|
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.
|
|
|
All times are GMT -5. The time now is 12:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|