Networking :: how to connect to the internet?



dear all,
i have dsl installed (installed to hd - frugal) on my old compaq presario lap top, 60 mb ram.
i wanted to connect to the internet. before getting a broad band connection i decided to give it a try at a friend's place. he has a broadband connection, uses windows it works all right. i just plug in the usb and try out. it doesn't work. is there some modem installation or something of the sorts? please give me a step by step instruction -from scratch to my gmail.
i searched these forums - but being new to the whole deal, i didn't find much way through.
however, i tried out a few things, so i'll give u these inputs:
result of sudo ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:2550.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6 error:0 dropped:0 overruns:0 frame:0
TX packets:6 error:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:300 (300.0 B)  TX bytes:300 (300.0.B)

result of sudo pump
Operation failed.

is there somethin i have to do with netcard config dialogue box? i tried entering the nos. from my friend's windows over there - but didnt work out.

Please plaese please help
Waiting....

i am not really sure but i think i need more hardware. someone talks of an ethernet card. i dont know if my laptop has it or not. it doesn't have a slot into which i can plug in the ethernet cable. it has a usb slot - which didnt work. do i have to install a driver for the usb? am LOST :(
If your laptop doesn't have a connector for an ethernet cable I believe it probably doesn't have an ethernet card.

It sounds like you connected your laptop to your friend's broadband router using a usb cable into the router's usb port - for this to work your friend's router would need to be configured to use the usb port, it might not do it automatically. Is your friend connecting with windows to the router's ethernet port or to its usb port?

If your friend doesn't normally use the USB connection to the bridge, you need to reset the bridge ("cable modem" or whatever you want to call it) because those are typically designed so they're either/or (either cat5 or USB). Then without his computer being connected (they're bridges, not routers), connect yours. Open a terminal and type
Code Sample
dmesg | grep -i ether

You can do the same grep pipe with lsmod to see if the cdcether module has loaded. This module doesn't work for every bridge but it works for almost every one I've tried (the exception was an older DSL bridge -- which reminds me, check and see if your friend's ISP requires him to register each computer he uses through his service via his account password). If that module hasn't loaded, you can try
Code Sample
sudo modprobe CDCEther

(upper/lower case matters)

Once it's loaded, you can try pump again:
Code Sample
sudo pump -i eth0


If that fails to get you up, do
Code Sample
lsusb

to see if the bridge is being detected at all. If not, check cables, your USB port, etc.

Juanito - u r absolutely right. i connected my laptop to my friend's broadband using a usb cable into the devices' usb port now if that is called a router - so be it. now how do i configure this router to use the usb port?

lucky13, my friend is connecting with windows to the router's ethernet port and he doesn't normally use the USB connection. So i unplugged the connection between his computer and the modem and connected it to ONLY my laptop via usb, then i did a siwtch off and switch on - i though thats what u ment by reset.
here r the results of the commands u asked me to type:

dmesg | grep -i ether
<7> CDCEther.c: CDCEther.C: 0.98.6 7 Jan 2002 Bard Hards and another
<6> usb.c: registered new driver CDCEther

dmesg | grep -i cdcether
i got the same result as above with this one

sudo modprobe CDCEther
no responce - i got back to the default command prompt with this one.

sudo pump -i eth0
Operation failed
:((

lsusb
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 009: ID 1110:9022 Analog Device Canada Ltd (Allied Telesyn)
Bus 001 Device 006: ID 062a:0003

i've 2 usb ports on my laptop. 1 is my mouse and the other the modem. by unplugging each and trying this command over and over again, i founf that the 3rd line is the mouse and 2nd line is the modem (of course they can be swapped - i saw that too.)

but am still lost - no internet connection. please advice.

Next Page...
original here.