[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why cant I get an internet connection

shaun bokowski, 2002-Aug-18 02:58 -0700:
> I what can I check to see whether internet connection is
> messed up. I am on a laptop using debian 2.2 with woody
> packages, connected to a dsl SMC baricade ip sharer,
> connected to a dsl speed touch home , everything is ethernet,
> using a pcmcia card -ethernet. How can I start dhcp, --is
> what I am using and have configured. Everything was working
> fine and then all of the sudden I can not get a ping on linux.
> Have a windoes machine and it connects but not linux laptop.
> Need help. Thanks for the information.
> Shaun Bokowski

Check your interface config with "ifconfig".  Make sure you see eth0
with an IP address like this:

$ /sbin/ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:A0:C9:BC:78:C9  
          inet addr:  Bcast:
          RX packets:11542 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11107 errors:0 dropped:0 overruns:0 carrier:11
          collisions:0 txqueuelen:100 
          RX bytes:6769940 (6.4 MiB)  TX bytes:865474 (845.1 KiB)
          Interrupt:3 Base address:0x300 

lo        Link encap:Local Loopback  
          inet addr:  Mask:
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:931 errors:0 dropped:0 overruns:0 frame:0
          TX packets:931 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:305368 (298.2 KiB)  TX bytes:305368 (298.2 KiB)

If you don't see eth0, then you'll probably need to run dhcp to get
one.  I assume this since you mention DHCP.  You can run this using
either "pump" or "dhclient".  Try pump first, and if that doesn't
work, then try dhclient.  Verify the IP config with the ifconfig

Also, if you don't see eth0, perhaps it's not configured.  Make sure
your network cards is loaded.  You can check for the modules usling
"/sbin/lsmod".  You can also look in "/var/log/syslog"  (as root) for
indications that your network card has loaded properly.

This is a good start.  Let us know what happens.


Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User

Reply to: