LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   can ping router, can't ping internet (https://www.linuxquestions.org/questions/slackware-14/can-ping-router-cant-ping-internet-626874/)

IamSauce 03-09-2008 06:45 PM

can ping router, can't ping internet
 
Hi guys,

Judging from my forum search, you get this question a lot :)

I just installed Slackware 12. I'm finally able to ping my router, but I can't ping outside my LAN.

My ifconfig says:

Link encap:Ethernet HWaddr 00:13:20:36:A1:72
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0

I'm receiving packets and sending packets, so I don't think this is a driver issue.

Running route reveals:

localnet | * | 255.255.255.0 |U | 0| 0| 0| eth0
loopback | * | 255.0.0.0 | U | 0 |0 |0 |lo
default |192.168.1.1 | 0.0.0.0 | UG| 0| 0| 0| eth0

I'm at a loss for what to do. I can't sleep. I can't eat. When I close my eyes, shell scripted text scrolls across my vision. This is really tearing me apart.

Also, I need to modprobe e100 to load my intel NIC card driver everytime I start up. How do I make it so this loads automatically?

Any help is appreciated. Sorry I can't copy and paste my info for all of you.

allend 03-09-2008 07:00 PM

Try changing your mask to 255.255.255.255.
You can always add the modprobe line for your NIC to the /etc/rc.d/rc.modules script so that the NIC is configured at boot.

IamSauce 03-09-2008 07:18 PM

Wow! Thank you very much. That worked perfectly. You've made my week a lot easier :)

allend 03-09-2008 07:27 PM

Glad it worked!
And welcome to LQ!

PS - If you are adding a line to your rc.modules script, remember that the script name will be rc.modules-<kernel version>.

symatic 03-09-2008 11:50 PM

You may also want to know this. the e100 module is blacklisted /etc/modeprobe.d/blacklist

Code:

# Alternate Intel EtherExpress Pro/100 support driver.  List it
# here so it won't conflict with an already-loaded eepro100 module.
blacklist e100


MarcusMoeller 03-10-2008 03:01 PM

broadcast
 
I REALLY won't suggest to set the Subnet Mask to (255.255.255.255) which is a single host definition.

About the only time this mask could be useful is defining a loopback, an IP device that can only talk to itself.

Best Regards
Marcus

allend 03-11-2008 07:03 AM

@Marcus
You are correct. Thanks for so politely pointing out my error.

Perhaps the OP had another problem that went away after editing the configuration.


All times are GMT -5. The time now is 02:58 PM.