Announcement

Collapse
No announcement yet.

Power outage reset modem, now can't connect from Kubuntu [SOLVED]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Power outage reset modem, now can't connect from Kubuntu [SOLVED]

    Please Help.

    We had a power outage today. When I got home my AT&T DSL modem was down. Called tech support and found out that in order to reset it, I had to do so with the reset button and then access it from a windows machine running Internet Explorer first to get the modem set back up and online. I was able to do that and connect to it and the internet via a win XP machine.

    However, I have not been able to get my kubuntu machine (directly wired into modem) to connect to the internet.

    Knetworkmanager shows "no device detected" even though the icon looks like it does when i'm connected.

    I tried some things I saw on the posts here using ifdown eth0 and ifup eth0, but didn't have any luck with any of them.

    PLEASE HELP ME RESET KNETWORK MANAGER and NETWORK SETTINGS and all back to the kubuntu default. My modem is set up for DHCP so it should be assigning addresses to my connected machines, but for some reason the Kubuntu machine just can get on the net or even access the modem itself anymore.

    Thanks

    #2
    Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

    Originally posted by kennethmsmith
    ...
    Called tech support and found out that in order to reset it, I had to do so with the reset button and then access it from a windows machine running Internet Explorer first to get the modem set back up and online.
    ...
    let's say that it doesn't make much sense that you have to use
    a windoze machine to get a dsl modem up and running.

    notably because (ttbomk) dsl modems need not be configured at all.

    but...first things first:
    a) are we sure we're talking about a dsl modem and not a dsl router?
    b) when you say windoze machine and kubuntu machine you mean 2 physical machines?
    c) could you please post back here the following (from a terminal)
    Code:
    cat /etc/network/interfaces
    cat /etc/resolv.conf
    gnu/linux is not windoze

    Comment


      #3
      Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

      I'm at work now.. but later tonight I'll run the commands and post the results.

      Yes... I have a laptop with dual boot Windoze and Kubuntu 7.10 and I have a Desktop (the one with the problem) running just Kubuntu 7.10.

      It is actually a Modem / Router all in one. AT&T DSL service.

      I got the modem up and running and check both windoze and linux on the laptop... both connect to the internet with no problems, so the problem is definitly with the Desktop that is just running Kubuntu.

      I'm thinking the power going off while Kubuntu was running either mixed up something in the network configuration of the machine, or it fried some part of my motherboard ethernet adapter. I don't have a separate card, the ethernet port is built into the motherboard.

      Thanks

      Comment


        #4
        Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

        Here are the results from the LAPTOP.. (this is the one that is working) NOTE: Give me a little while and I'll post the results from the Desktop (the one that isn't working)

        working settings:


        cat /etc/network/interfaces

        auto lo
        iface lo inet loopback
        address 127.0.0.1
        netmask 255.0.0.0

        auto eth0
        #iface eth0 inet dhcp

        auto eth1
        #iface eth1 inet dhcp

        auto eth2
        #iface eth2 inet dhcp

        auto ath0
        #iface ath0 inet dhcp

        auto wlan0
        #iface wlan0 inet dhcp


        iface wlan0 inet dhcp
        wireless-essid 2WIRE614

        cat /etc/resolv.conf

        # generated by NetworkManager, do not edit!

        search gateway.2wire.net


        nameserver 192.168.1.254

        Comment


          #5
          Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

          Here are the results from my Desktop (which isn't connecting to the internet)

          cat /etc/network/interfaces
          auto lo
          iface lo inet loopback
          address 127.0.0.1
          netmask 255.0.0.0


          iface eth0 inet static
          address 192.168.1.101
          netmask 255.255.255.0

          auto eth0


          cat /etc/resolv.conf
          search gateway.2wire.net
          nameserver 192.168.1.254

          Comment


            #6
            Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

            your router seems to be configured with dhcp.
            i assume you only have a wired ethernet card on this box.
            and i'm assuming this card works alright.
            i would therefore try a couple of things.

            you can remove /etc/resolv.conf.
            the dhcp client will write a new one.
            so
            Code:
            sudo rm /etc/resolv.conf
            you can then edit your /etc/network/interfaces file:
            Code:
            sudo nano /etc/network/interfaces
            and have it look like so:
            Code:
            auto lo
            iface lo inet loopback
            address 127.0.0.1
            netmask 255.0.0.0
            than ctrl-x and "yes" to save and exit

            reboot and...fingers crossed...

            hth

            ps:
            rebooting a linux box should always be an extreme measure.
            in this case it just makes things quicker...
            gnu/linux is not windoze

            Comment


              #7
              Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

              i did as requested... but i did add "auto eth0" to my network interfaces file to make it match what my laptop had. It seemed to do something but only after I pulled my ehternet cable from the wall and reconnected it. I saw the kNetworkManager icon turn into a little cog wheel that was rolling and then it showed connected and showed the ip address and all. However, I still wasn't able to get connected to the internet with firefox.

              i tried removing resolv.conf again and resetting network interfaces again and restarting and then I couldn't get connected to show in kNetworkManger. "no device active or detected" or something like that.

              I think I'm just going to reinstall kubuntu and also check the physical connections at the wall to make sure there isn't a loose connection or something. I think this because I pulled the plug a couple of times and nothing happened... then one time i pulled it and plugged it back in and get the cog wheel to show up in kNetworkManager. So it is like it was seeing the connection sometimes, and other times it wasn't..... I JUST DON'T KNOW WHAT THE PROBLEM IS NOW.

              Comment


                #8
                Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

                i tried booting the desktop machine using the sysresccd and using the net-setup eth0 command. then ifconfig command.

                for some crazy reason it is assigning a strange IP address to the desktop. it shows IP:169.254.108.158 with Bcast:169.254.255.255 and Mask:255.255.0.0.

                That is without even booting into Kubuntu and after having completely resect my modem/router. And at the same time I rebooted the laptop as well and it seemed to work perfectly still.

                I really am starting to think that my onboard ethernet controller for the desktop is shot.

                I think my options are 1. try the laptop on the same jack in the wall that the desktop is using and see if I get the same strange response. 2. Reinstall Kubuntu and try it again. 3. Buy a Ethernet NIC card for the Desktop and use it instead of the onboard controller to see if that makes a difference. 4. If those things don't work... it may be time for a new computer ..... man I have had this one so long.

                Comment


                  #9
                  Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

                  could you please do the following...

                  make sure your router works with your laptop and all and...

                  boot up your laptop in kubuntu
                  have it connect to the network
                  post back the result of the following from konsole:
                  Code:
                  ifconfig -a
                  to print out the actual network interfaces configuration

                  Code:
                  netstat -rn
                  to print out the routing table

                  then boot up your desktop (making sure /etc/network/interfaces is as i told you)
                  and issue the same 2 commands above.

                  thanks


                  ps:
                  it seems to me that your nic be alright.
                  it gets assigned an ip (apparently).
                  this means it talks to the router.
                  and if it does, then it works.
                  gnu/linux is not windoze

                  Comment


                    #10
                    Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

                    from laptop while connection to internet is good:
                    ifconfig -a:
                    eth0 Link encap:Ethernet HWaddr 00:02:3F:35:6B:B0
                    inet addr:192.168.1.64 Bcast:192.168.1.255 Mask:255.255.255.0
                    inet6 addr: fe80::202:3fff:fe35:6bb0/64 Scope:Link
                    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
                    RX packets:343 errors:0 dropped:0 overruns:0 frame:0
                    TX packets:333 errors:0 dropped:0 overruns:0 carrier:0
                    collisions:0 txqueuelen:1000
                    RX bytes:301419 (294.3 KB) TX bytes:84077 (82.1 KB)
                    Interrupt:10 Base address:0x6000

                    irda0 Link encap:IrLAP HWaddr 00:00:00:00
                    NOARP MTU:2048 Metric:1
                    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                    collisions:0 txqueuelen:8
                    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

                    lo Link encap:Local Loopback
                    inet addr:127.0.0.1 Mask:255.0.0.0
                    inet6 addr: ::1/128 Scope:Host
                    UP LOOPBACK RUNNING MTU:16436 Metric:1
                    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                    collisions:0 txqueuelen:0
                    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

                    results of netstat -rn:
                    Kernel IP routing table
                    Destination Gateway Genmask Flags MSS Window irtt Iface
                    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
                    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
                    0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0

                    Give me a few minutes and i'll post the results of the Desktop.

                    Comment


                      #11
                      Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

                      Desktops Complete Contents of /etc/network/interfaces

                      auto lo
                      iface lo inet loopback
                      address 127.0.0.1
                      netmask 255.0.0.0

                      --------------------------------------
                      Desktops Results for ifconfig -a

                      eth0 Link encap:Ethernet HWaddr 00:11:5B:9C:B8:2A
                      inet6 addr: fe80::211:5bff:fe9c:b82a/64 Scope:Link
                      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
                      RX packets:0 errors:1 dropped:1 overruns:0 frame:1848
                      TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
                      collisions:0 txqueuelen:1000
                      RX bytes:0 (0.0 b) TX bytes:5411 (5.2 KB)
                      Interrupt:10 Base address:0xc400

                      eth0:avah Link encap:Ethernet HWaddr 00:11:5B:9C:B8:2A
                      inet addr:169.254.6.78 Bcast:169.254.255.255 Mask:255.255.0.0
                      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
                      Interrupt:10 Base address:0xc400

                      lo Link encap:Local Loopback
                      inet addr:127.0.0.1 Mask:255.0.0.0
                      inet6 addr: ::1/128 Scope:Host
                      UP LOOPBACK RUNNING MTU:16436 Metric:1
                      RX packets:64 errors:0 dropped:0 overruns:0 frame:0
                      TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
                      collisions:0 txqueuelen:0
                      RX bytes:4736 (4.6 KB) TX bytes:4736 (4.6 KB)

                      ----------------------------------------------------------
                      Desktop's Results for netstat -rn

                      Kernel IP routing table
                      Destination Gateway Genmask Flags MSS Window irtt Iface
                      169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
                      0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0

                      ----------------------------------------------------------

                      Comment


                        #12
                        Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

                        ah ah...
                        could be the eth0:avahi issue.

                        try the following...
                        a) boot up your desktop (as it is now)
                        b) open up a konsole and issue
                        Code:
                        sudo dhclient
                        see if your router gives you an ip and if you can access the net.
                        issue ifconfig and netstat, as you did last time.
                        if you can, then issue:
                        Code:
                        sudo apt-get --purge install avahi-autoipd --reinstall
                        then reboot and see what happens...

                        gnu/linux is not windoze

                        Comment


                          #13
                          Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

                          i'm at work now, but I did try just completely reinstalling kubuntu last night. Even wiping the hard drive clean and reinstalling Kubuntu didn't fix the problem. Makes me think it is a BIOS or Hardware problem.

                          But When I get home today I will try what you posted and see if that works.

                          Any thoughts on why a fresh install still didn't fix the problem?

                          Thanks

                          Comment


                            #14
                            Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

                            if the issue is in the os software, reinstalling the os will simply reinstall the issue.

                            i think:
                            - you have neither a bios nor a hw issue
                            - the issue is in the way kubuntu sees your nic
                            - we just need to have kubuntu see it properly

                            to rule out any wall plugs issues, just connect your box directly to the dls router.
                            to rule out any nic hw issue, just configure it manually, then ping 192.168.1.254.

                            but i'm confident you'll find out that everything works alright.

                            there were issues with the avahi software.
                            you could try what i posted earlier.

                            or you could remove the avahi stuff altogether (no harm, no worries!)
                            Code:
                            apt-get autoremove avahi-daemon avahi-autoipd --purge
                            the eth0:avahi virtual interface should go away after a reboot.
                            check with the "ifconfig -a" command.
                            you should then be left with the actual eth0 interface.
                            and your os should then work ok.
                            gnu/linux is not windoze

                            Comment


                              #15
                              Re: Power outage reset modem, now can't connect from Kubuntu but can in windows

                              HERE IS WHAT I GOT:

                              apt-get autoremove avahi-daemon avahi-autoipd --purge

                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              Package avahi-daemon is not installed, so not removed
                              Package avahi-autoipd is not installed, so not removed
                              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                              --------------------------------------------------------------
                              ifconfig -a

                              eth0 Link encap:Ethernet HWaddr 00:11:5B:9C:B8:2A
                              BROADCAST MULTICAST MTU:1500 Metric:1
                              RX packets:0 errors:0 dropped:0 overruns:0 frame:193
                              TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
                              collisions:0 txqueuelen:1000
                              RX bytes:0 (0.0 b) TX bytes:1494 (1.4 KB)
                              Interrupt:10 Base address:0xc400

                              lo Link encap:Local Loopback
                              inet addr:127.0.0.1 Mask:255.0.0.0
                              inet6 addr: ::1/128 Scope:Host
                              UP LOOPBACK RUNNING MTU:16436 Metric:1
                              RX packets:16 errors:0 dropped:0 overruns:0 frame:0
                              TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
                              collisions:0 txqueuelen:0
                              RX bytes:1184 (1.1 KB) TX bytes:1184 (1.1 KB)
                              --------------------------------------------------------
                              KNetworkManager shows : manual network configuration "no active device"

                              This is with a fresh install of kubuntu from the same install disk I used previously that gave me the version of the OS that had a working internet connection. Just can't see how it worked fine on the first install, then power failure, then no internet, then reinstall and still no internet. Are you sure this isn't a BIOS or hardware issue?
                              --------------------------------------------------------
                              by the way.. here is what I get when I issue : sudo dhclient

                              Internet Systems Consortium DHCP Client V3.0.5
                              Copyright 2004-2006 Internet Systems Consortium.
                              All rights reserved.
                              For info, please visit http://www.isc.org/sw/dhcp/

                              Listening on LPF/eth0/00:11:5b:9c:b8:2a
                              Sending on LPF/eth0/00:11:5b:9c:b8:2a
                              Sending on Socket/fallback
                              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
                              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
                              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
                              DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
                              No DHCPOFFERS received.
                              No working leases in persistent database - sleeping

                              ---------------------------------------------------------
                              Is there something under system settings / network settings that I'm missing, or in Knetworkmanager ? Do you think installing an PCI NIC Card would help? This problem is with using an onboard ethernet controller and port (part of the motherboard).

                              Comment

                              Working...
                              X