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

Re: need help with net configuration



On Fri, 12 Dec 2008, raman narasimhan wrote:

> sir,
> me and a friend of mine had installed debian etch together. i configured my
> Internet while installing itself but my friend didn't. both of us have ADSL
> broadband connections. i'm now able to browse the net freely but his net
> settings haven't been set. how can we connect his system to the Internet??
> does it need any specific packages??
>

First thing you want to do is check and see if your ethernet card is
getting an IP address and that it is getting recognized.  You can check
it this way:
/sbin/ifconfig

you should probably see a couple different entries there, on for lo and
hopefully one for eth0.  If you see an eth0, check to see if it has an
address, it should look something like this:

eth0      Link encap:Ethernet  HWaddr 00:15:58:84:4a:a4
          inet addr:192.168.1.200  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:576699 errors:0 dropped:0 overruns:0 frame:0
          TX packets:581783 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:90631322 (86.4 MiB)  TX bytes:400396659 (381.8 MiB)


If you don't see something like that, you can try and running:
sudo dhclient eth0

you can also check the contents of /etc/network/interfaces , you should
see a couple of lines that looks something like this:
auto eth0
iface eth0 inet dhcp

Jeff


-- 
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.


Reply to: