Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    internet connection problem!

    Hi, I have internet connection and used to connect with my PC. Now I want to connect my laptop to that line. How can I connect to internet with my laptop?(my operating system for my laptop is Linux Debian) any idea is much appreciated.

  2. #2
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    hi !
    wat type of net connection u hav.. wireless or cable... ??
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    I have cable connection.

  4. $spacer_open
  5. #4
    Linux Enthusiast KenJackson's Avatar
    Join Date
    Jun 2006
    Maryland, USA

    Unhappy RS232, ethernet, USB?

    If it's a serial cable to a modem, you connect the DB9 connector to your laptop's DB9 connector.
    If it's an ethernet cable, you connect the RJ45 (big phone jack) to the RJ45 jack on your laptop.
    If it's a USB cable to a cable modem, you connect the USB connector to the USB jack on your laptop.

    If it's ethernet (RJ45) and you want to connect BOTH the PC and laptop at the same time with only one IP address, you'll need a router. Netgear makes some popular routers available everywhere.

    I know this probably isn't very much help, but you have given so little information that no one can know what information you need.

  6. #5
    Thanks for your guidence. You are right, my question is not clear enough that is because I am very new in network world. I mean whether I need to configure any file to have access to the internet or simply click on web browser after physical connection!

  7. #6
    Linux Enthusiast KenJackson's Avatar
    Join Date
    Jun 2006
    Maryland, USA

    OK, try this

    Connect it and try it. If both the network and the laptop are configured for DHCP (a common configuration these days), it should just work. If not, here are some things to try.

    Look for a green LED beside the RJ45 jack on both the laptop and whatever the other end plugs into. Even if the connection doesn't seem to work, you should have both green LEDs lit to indicate the hardware connection is good.

    Run this command to see what your network device is: /sbin/ifconfig
    It's probably eth0 and the output will look something like this:

    eth0 Link encap:Ethernet HWaddr 00:00:XX:XX:XX:XX
    inet addr: Bcast: Mask:
    inet6 addr: XXXX::XXX:XXXX:XXXX:XXXX/64 Scope:Link
    RX packets:591859 errors:0 dropped:0 overruns:0 frame:0

    Look at this file: /etc/sysconfig/network-scripts/ifcfg-eth0
    It probably looks like this:


    If it doesn't, there is probably an easy way to configure it; maybe from the menu:
    System -> Configuration -> Configure Your Computer -> Network & Internet -> Reconfigure a network interface

    Or you could just edit the file as root and do this:
    service network restart

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts