Results 1 to 8 of 8

Thread: internet problem

  1. #1
    Join Date
    Jul 2007
    Beans
    81
    Distro
    Gutsy Gibbon Testing

    internet problem

    Hi, i installed in my second computer as a second os Ubuntu 9.04 (this is where the internet problem).
    that computer has XP and the internet in xp runs well
    In my first computer there is XP and the internet is ok.
    the two computers connected to switch(i think it called that) and the modem connected to the switch too.
    the modem is B Focus 270pr but i did in his settings in the page 192.168.1.1 that it will connect automaticly to the isp with the user and pass so i think now its became router?
    my problem is that in ubuntu when i open firefox i cant connect to any site i tried not google even.. it like loads the page and the bar is stuck in loading mode and no page is loading.
    but i can ping every site i want and it gives response
    what can i do to make the internet work well?
    ubuntu 8.10 - Intel Pentium 4 CPU 2.4Ghz 512MB Ram

  2. #2

    Re: internet problem

    How are you connecting to the internet? (cable, dsl, dial up, other)
    Learning is not attained by chance, it must be sought for with ardor and attended to with diligence. Abigail Adams ( 1744 - 1818 ), 1780;

    My blog Poetry and More Free Ubuntu Magazine

  3. #3
    Join Date
    Apr 2008
    Location
    AZ
    Beans
    2,070
    Distro
    Ubuntu

    Re: internet problem

    you said your ubuntu computer cannot access the ethernet network.

    1) is the lan cable connected to the pc and router? are the link lights on?

    2) is the computer getting an IP address from the dhcp server in the router? To check, open up a terminal and type:

    Code:
    ifconfig
    Tip your network adaptor is most likely eth0 and you should look for the line "inet addr: xxx.xxx.xxx.xxx" where x is your ip number

    3) if you are receiving an ip address, can you communicate with the router? type:

    Code:
    ping -c 3 192.168.1.1
    Finally, if your are not able to ping your router, and you are not being assigned an IP address from the dhcp server, give us the output of the following command:

    Code:
    lshw -C network

  4. #4
    Join Date
    Jul 2007
    Beans
    81
    Distro
    Gutsy Gibbon Testing

    Re: internet problem

    im connecting with adsl
    the pc that has ubuntu has also XP which the internet works in it
    the pc connected to the lan and the light works
    here is the ifconfig output:
    http://img257.imageshack.us/my.php?image=74650640.png
    and here is the ping output:
    http://img2.imageshack.us/my.php?image=58766127.png

    i forgot to say that the site www.firefox.com works in ubuntu and i can browse it
    ubuntu 8.10 - Intel Pentium 4 CPU 2.4Ghz 512MB Ram

  5. #5
    Join Date
    Apr 2008
    Location
    AZ
    Beans
    2,070
    Distro
    Ubuntu

    Re: internet problem

    well it looks like your computer is getting an ip address from the router which is good. from the picture you posted, you can see that firefox is only loading a local file. it isnt getting the page from the internet.

    please show us the output of these terminal commands:

    ping -c 3 192.168.2.1

    that will check to see that you are communicating with the router. then do:

    ping -c 3 yahoo.com

    this will check to see if you can talk to yahoo.com if that fails try:

    ping -c 3 209.191.93.53

    this will try to reach one of the yahoo servers directly instead of being resolved through the DNS server. If this works but yahoo.com doesnt then you know you have a problem with your DNS setting or with the DNS server.

  6. #6
    Join Date
    Jul 2007
    Beans
    81
    Distro
    Gutsy Gibbon Testing

    Re: internet problem

    leonid@leonid-desktop:~$ ping -c 3 192.168.2.1
    PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.

    --- 192.168.2.1 ping statistics ---
    3 packets transmitted, 0 received, 100% packet loss, time 2014ms

    leonid@leonid-desktop:~$ ping -c 3 yahoo.com
    PING yahoo.com (69.147.114.224) 56(84) bytes of data.
    64 bytes from b1.www.vip.re3.yahoo.com (69.147.114.224): icmp_seq=1 ttl=54 time=181 ms
    64 bytes from b1.www.vip.re3.yahoo.com (69.147.114.224): icmp_seq=2 ttl=54 time=185 ms
    64 bytes from b1.www.vip.re3.yahoo.com (69.147.114.224): icmp_seq=3 ttl=54 time=177 ms

    --- yahoo.com ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2000ms
    rtt min/avg/max/mdev = 177.970/181.421/185.029/2.883 ms
    leonid@leonid-desktop:~$ ping -c 3 209.191.93.53
    PING 209.191.93.53 (209.191.93.53) 56(84) bytes of data.
    64 bytes from 209.191.93.53: icmp_seq=1 ttl=53 time=206 ms
    64 bytes from 209.191.93.53: icmp_seq=2 ttl=53 time=204 ms
    64 bytes from 209.191.93.53: icmp_seq=3 ttl=53 time=215 ms

    --- 209.191.93.53 ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2001ms
    rtt min/avg/max/mdev = 204.013/208.695/215.096/4.685 ms

    this is the ouptput for 3 commands, as i see the ubuntu doesnt communicate with the router...
    so how does he able to connect to www.firefox.com ??
    and how can i make him to communicate with the router?
    thanks.
    ubuntu 8.10 - Intel Pentium 4 CPU 2.4Ghz 512MB Ram

  7. #7
    Join Date
    Apr 2008
    Location
    AZ
    Beans
    2,070
    Distro
    Ubuntu

    Re: internet problem

    Hello snake444,

    good news, based on your results form the pings we can conclude that your computer can communicate properly on the internet. The router didnt respond to the pings perhaps due to some firewall or security feature.

    I dont know why firefox is not connecting to web pages, but i bet if you went to System->Administration->Update Manager, it would successfully check for updates on the internet and install if there were any. can you try that? and let me know how if it works successfully?

    Please also check to see if firefox is in offline mode under File->Work Offline. make sure the box is NOT ticked.

    Also check in Firefox in Edit->preferences->Advanced->Network->Connection Settings and select the option Use system proxy settings.

    If none of those settings in firefox fix your problem, I'd like to test a direct connection from your ubuntu computer to your ADSL modem. take your router out of the way temporarily to see if this will work. let us know the results.

  8. #8
    Join Date
    Aug 2008
    Location
    4th Rock, 3rd was full.
    Beans
    50

    Re: internet problem

    I've come across a very similar problem like this.

    Ifconfig wouldn't autostart at boot. I could force ifconfig to start, but then knetworkmanager refused to come out of offline mode.

    I came across this bug report:

    https://bugs.launchpad.net/ubuntu/+s...er/+bug/154581


    I followed the directions posted there by "opm8" and all is right again.

    Here are the instructions I used in case you don't feel like chasing the bug thread:

    1) Comment out all but the following from your /etc/network/interfaces:
    auto lo
    iface lo inet loopback

    2) Add the user to the netdev group:
    sudo adduser your_username netdev


    For clarification, "your_username" in step 2 is your login name only.

    Hope this helps,


    The Grunge
    Last edited by grungedoobie; May 27th, 2009 at 06:23 AM. Reason: clarification
    Isn't it strange that sugar crystals look white. When you put a bunch of it in water it turns the water brown. Then when you drink it, it turns you green. Hmmmm.

Bookmarks

Posting Permissions

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