Click to See Complete Forum and Search --> : can't connect to internet anymore


aragon127
11-13-2002, 08:26 PM
Ok, I can't figure out why I can no longer connect to the internet. It was fine, then all of a sudden it stopped working(I did nothing, I swear). First off, I have 2 computers, a windows box, and a linux mandrake 9.0 box. THey are both hooked up to a sonicwall soho router. The router's address is 192.168.168.200 and uses DHCP. My windows box still works fine, but the linux box doesn't. I ran the network wizard and it did nothing. Etho0 is listed as up but I get nothing. Strangely if I try to ping 192.168.168.200 I get no connection and no error message. If I try to ping 192.168.168.1(my windows box) I just get a host unreachable(which should happen). I checked my physical connections, no problem there. What's really odd is the router has the light on where I plug the linux box on, indicating a connection, but when I log into the router, only the windows box shows as being connected. my /etc/hosts file just reads: 127.0.0.1 localhost.localdomain localhost
So now I have no idea what to do from here. Any ideas? TIA.

SuperHornet
11-14-2002, 11:33 AM
post your ifconfig results and the route command results.

Did you reboot the linux box b4 this happend?

aragon127
11-14-2002, 06:01 PM
can you be more specific? I'm not sure what ifconfig and route are. Sorry, I'm just a newbie... I did not reboot before this happened. I rebooted afterwards, but no avail.

SuperHornet
11-14-2002, 11:42 PM
ifconfig is a command that will show the current state of the network cards.

route is a command that show which path traffic will go thru

aragon127
11-15-2002, 05:49 PM
ifconfig:

eth0 Link encap: Ethernet HWaddr 00:50:BA:8b:FC:61
inet addr:192.168.168.3 bcast:192.168.168.255 mask:255.255.255.0
UP BORADCAST NOTRAILER RUNNING MULTICAST MTU:15000 Metric:1
RX packets:469874 errors:1 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisoons:0 txquelen:100
RX bytes 38752887 TX bytes....
Interrupt:10 Base address:0x8000

LO
Link encap: Local Loopbakc
inet addr:127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
.....

ROUTE

192.168.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.168.200 0.0.0. UG 0 0 0 eth0

thanks for the help.

SuperHornet
11-15-2002, 06:31 PM
ok run this command.

/etc/rc.d/init.d/iptables stop

then try to ping the router

also as root type msec -o var=0
Mandrake has a security app called msec which if set to level 5 will disable all ICMP (ping) traffic, among other things
Here (http://www.mandrakeuser.org/docs/mdoc/ref/prog-msec.html) is a link to read up on msec

aragon127
11-15-2002, 07:37 PM
sure enough. the iptables stop did it. Thanks for the help!