LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-07-2004, 11:56 AM   #1
Wyk3d
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake Linux 9.1
Posts: 23

Rep: Reputation: 15
Angry Still can't ping www.google.com


Hello everybody

I've compiled my very own 2.6.9-cko2 kernel on my Mandrake 9.1 and I have the dependencies (i know of) resolved. My only problem now is the network. I get the internet through lan from another computer running Windows XP. Everything works perfectly when i choose my 2.4.21-0.13mdk kernel from the lilo boot screen. That's not the case for my new kernel.

When it boots it can't set up the eth0 or the loopback interface giving the "socket: Address family not supported by protocol" error. The weird thing is that after i enter a console i can set up all of these to the match the state of the ifconfig in 2.4.21.

The only thing i couldn't do initially was to set up the iptables which was void because shorewall failed to start. I managed to solve this by upgraping both iptables and shorewall to the latest versions and loading all the modules the kernel doesn't load by default (ip_tables, ipt_REJECT, ..). Now iptables -L gives me a slight variation of what i get in 2.4.21. So i have a route, the interfaces, and the iptable set up. What else do i need ???

I tried running my etherdetect to see if i have any packets leaving the computer when i do pings but it gives the 'socket:Address family not supported by protocol' error. I saw in some post that a possible cause of this would be the lack of CONFIG_PACKET of CONFIG_INET , but i have those.

It's also unusula that I can ping the computer i'm getting the internet from but i cannot ping anything outside the local network.

Now if i would paste the results of iptables-save in both 2.4.21 and 2.6.9 it would be 200 lines so i'll post those only if necessary.

Btw, i have a via-rhine onboard ethernet adapter and the module for that is loaded.

Any help would be greatly appeciated as i've been working on this for two weeks now..

Thanks in advance ..

Steve

Last edited by Wyk3d; 11-07-2004 at 12:02 PM.
 
Old 11-07-2004, 01:17 PM   #2
Peeyush Maurya
Member
 
Registered: Apr 2004
Location: Delhi, India
Distribution: Red Hat , WhiteBox
Posts: 31

Rep: Reputation: 15
iam not a linux guru but i can try

since loopback and eth are not activated on boot it, iptable/shorewall will not find any device(i.e. lo or eth0) and it will not start

look into log and see all error you are getting and post them here.
/var/log/message ..-- restart network service and chk if you are getting any error here
/var/log/boot.log ..-- post all errors


It's also unusula that I can ping the computer i'm getting the internet from but i cannot ping anything outside the local network.

seems to be somethin on the computer from which you are getting internet. lets call that computer SERVER
a . Is server configured for transparent proxy, if not does it have a web proxy?

For test
configure a proxy server and change settign on ur mozzila to see if it can browse the internet (NOTE in this case you will not be able to ping the internet)

Hope it can help
 
  


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
ping: unknown host www.google.com tcma Linux - Networking 7 03-02-2012 11:47 PM
can ping network computer, cannot ping google.com (help needed) ben_build#2.1.0 Linux - Wireless Networking 23 11-07-2010 12:55 PM
Any idea why this time I can not ping my LAN pc but can PING for ex. www.yahoo.com vakia Debian 5 09-28-2005 06:42 PM
difference between www.google.com/linux and www.google.com dr_zayus69 General 4 01-12-2005 02:45 PM
I can ping google.com successfully,but ping client(in my intranet) failed.Why? whepin Linux - Newbie 4 12-30-2001 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:05 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