how to connect to the internet?Forum: Networking Topic: how to connect to the internet? started by: shankus Posted by shankus on May 01 2008,03:55
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.... Posted by shankus on May 01 2008,07:20
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
Posted by Juanito on May 01 2008,08:45
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? Posted by lucky13 on May 01 2008,11:46
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
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
(upper/lower case matters) Once it's loaded, you can try pump again:
If that fails to get you up, do
to see if the bridge is being detected at all. If not, check cables, your USB port, etc. Posted by shankus on May 03 2008,14:43
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. Posted by ^thehatsrule^ on May 03 2008,17:12
Is pump already running? Maybe boot with nodhcp or run `killall pump` before doing the rest of the commands.You could also try a static ip. Does `ifconfig -a` show anything after you insmod/modprobe?
Posted by lucky13 on May 03 2008,18:14
If the CDCEther was already in dmesg before you ran modprobe, it's already loaded and there's no reason to run modprobe again. And if that's indeed the case that the module loaded without your intervention, it means the device will probably work correctly once it communicates via USB. When I said to reset, I meant the bridge -- the cable modem or whatever you want to call it. It needs to reset. It's NOT a router. It has a specific sequence for using one of its two ports (cat5, usb). It will use one or the other and hold that state until it's been reset/repowered. Unplug the other computer from it so there's *NOTHING* in the bridge's ethernet port. If there's a cable in it, it's going to try to connect to a computer using it -- that's its first choice. Then power off the bridge/cable modem by disconnecting its power supply or unplugging it from the outlet for a few seconds and then let it come back up. Then you can hook up the USB connection between it and your computer -- whether your computer is powered or not. If you connect it to your computer and then boot, the odds are -- if the ISP doesn't require anything else -- it will connect to the net without any further interaction. At least that's been my experience with DSL and direct connection to cable modems via USB. If the ISP doesn't require any hands-on work to get an IP, you should be able to issue the "pump -i eth0" command and get an IP. If your friend normally needs to include passwords, etc., you'll need to get that all set up and then do the pump command above. Edited... And don't forget to do the same reset when it's time to reconnect your friend's computer. Posted by shankus on May 05 2008,12:53
its still the same as before: 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) Posted by shankus on May 05 2008,13:11
i did EXACTLY as u've stated here. but still sudo pump -i eth0 returns Operation failed. and no internet. please help me further. and no my friend doesn't log on and he doesn't have any password or anyhitng like that he only switches on and starts browsing. also, be assured, i did unplug the modem completely and then connect ONLY my computer via the usb - with no ether cable at all on the modem. i did switch off and switch on. it didn't work. still pump gives Operation failed. by the way, this modem has a telephone line connected to it. it works only if the telephone line is connected. but this is not a dial up connection. there is no dialing involved. and the phone is NOT engaged while internet is being used. i can make and receive calls on the phone. does this make a difference at all? just thought i'll make it clear since u memtioned 'cable' modem. help me get the internet connection please - now am loosing hearts Posted by lucky13 on May 05 2008,15:09
It shouldn't matter that the phone is connected, just whether other devices are networked through it. Are you sure the USB cable you've been using is good and doesn't have any kinks or shorts in it (have you tried using it with other devices or with your friend's computer)? What brand is the bridge (or cable modem)? Have you searched to see if that particular model is supported by CDCEther or if it has any problems?
|