Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: Restart required to connect to the internet

  1. #11
    Join Date
    Feb 2009
    Location
    France
    Beans
    14
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Restart required to connect to the internet

    Well, it was not obvious to set up my firewall to have port 67 opened, I therefore decided to uninstall the firewall for now...
    Unfortunately, nothing new, I still cannot access the net without rebooting..

  2. #12
    Join Date
    Oct 2005
    Location
    Canada
    Beans
    149
    Distro
    Ubuntu

    Re: Restart required to connect to the internet

    can you post your /etc/network/interfaces?
    Last edited by FishRCynic; February 9th, 2009 at 02:41 AM. Reason: correct my stupidity
    the more i learn the less i know

  3. #13
    Join Date
    Feb 2009
    Location
    France
    Beans
    14
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Restart required to connect to the internet

    From gedit /etc/network/interfaces

    auto lo
    iface lo inet loopback

    auto eth0
    iface eth0 inet dhcp
    Last edited by EcoNico; February 12th, 2009 at 07:34 PM. Reason: What I had written was wrong

  4. #14
    Join Date
    Oct 2005
    Location
    Canada
    Beans
    149
    Distro
    Ubuntu

    Re: Restart required to connect to the internet

    Quote Originally Posted by EcoNico View Post
    From gedit /etc/network/interfaces

    auto lo
    iface lo inet loopback

    auto eth0
    iface eth0 inet dhcp



    -----------------------------------------------------
    using intrepid / hardy ?

    comment out

    #iface eth0 inet dhcp

    or delete it

    and reboot

    avahi is supposed to figure this all out without help

    (at least so far it does here)
    the more i learn the less i know

  5. #15
    Join Date
    Feb 2009
    Location
    France
    Beans
    14
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Restart required to connect to the internet

    I am using:

    cat /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=8.04
    DISTRIB_CODENAME=hardy
    DISTRIB_DESCRIPTION="Ubuntu 8.04.2"


    I tried but same thing..I ended up reinstalling the OS, thinking something had gone wrong during the first install, but still the same..


    Here is some more ifconfig info completed with the result of netstat -rn
    Note that I uninstall avahi-autoipd and made sure /etc/network/interfaces was taking into account the dhcp server



    WHEN IT WORKS


    ifconfig
    eth0 Link encap:Ethernet HWaddr 00:00:6c:40:87:66
    inet adr:192.168.1.27 Bcast:192.168.1.255 Masque:255.255.255.0
    adr inet6: fe80::200:6cff:fe40:8766/64 Scope:Lien
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Packets reçus:2773 erreurs:0 :0 overruns:0 frame:0
    TX packets:3199 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 lg file transmission:1000
    Octets reçus:2209995 (2.1 MB) Octets transmis:655552 (640.1 KB)
    Interruption:220 Adresse de base:0x6000

    lo Link encap:Boucle locale
    inet adr:127.0.0.1 Masque:255.0.0.0
    adr inet6: ::1/128 Scope:Hôte
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    Packets reçus:1942 erreurs:0 :0 overruns:0 frame:0
    TX packets:1942 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 lg file transmission:0
    Octets reçus:97100 (94.8 KB) Octets transmis:97100 (94.8 KB)

    nicole@nicole-desktop:~$ netstat -rn
    Table de routage IP du noyau
    Destination Passerelle Genmask Indic MSS Fenêtre 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.1 0.0.0.0 UG 0 0 0 eth0




    AFTER COMPUTER SWITCHED OFF AND POWER CORD UNPLUGGED ---- THEN COMPUTER POWER CORD PLUGGED BACK AND COMPUTER RESTARTED



    ifconfig
    eth1 Link encap:Ethernet HWaddr 00:00:6c:4c:ad:08
    adr inet6: fe80::200:6cff:fe4c:ad08/64 Scope:Lien
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
    TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 lg file transmission:1000
    Octets reçus:0 (0.0 B) Octets transmis:2222 (2.1 KB)
    Interruption:220 Adresse de base:0x8000

    lo Link encap:Boucle locale
    inet adr:127.0.0.1 Masque:255.0.0.0
    adr inet6: ::1/128 Scope:Hôte
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    Packets reçus:1602 erreurs:0 :0 overruns:0 frame:0
    TX packets:1602 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 lg file transmission:0
    Octets reçus:80100 (78.2 KB) Octets transmis:80100 (78.2 KB)

    nicole@nicole-desktop:~$ netstat -rn
    Table de routage IP du noyau
    Destination Passerelle Genmask Indic MSS Fenêtre irtt Iface




    Note that when I restart the computer, the LEDs of the router/modem turn ON, which should mean the Ethernet card from the mother board and the router somehow speak together, right ??
    If it is the case, knowing there is no firewall, and that I have not messed around with the ports (yet), what is stopping the router / Ethernet card to continue communicating after a very first start?

  6. #16
    Join Date
    Jan 2007
    Beans
    5,549

    Re: Restart required to connect to the internet

    @econico
    why not it should work?? dhclient requests the router for an ip..

  7. #17
    Join Date
    Feb 2009
    Location
    France
    Beans
    14
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Restart required to connect to the internet

    using sudo dhclient eth0 indeed works, but only when I cut the network connection by unplugging the cable from the router and then plugging back in.

    The problem occurs when I stop the computer and unplugg the power cable from the power outlet.

    On the other hand, whenever I use the computer with the internet connection OK and I switch it off without unplugging the power cord from the power outlet, I can see the LEDs of the router close to the Ethernet cable still being lit; in that case, I can start ubuntu and get internet directly..

    Could you please tell me if there is an Ethernet card driver I need?
    Is there an extra port I need to force open at start up?
    Last edited by EcoNico; February 13th, 2009 at 10:35 AM.

  8. #18
    Join Date
    Oct 2005
    Location
    Canada
    Beans
    149
    Distro
    Ubuntu

    Re: Restart required to connect to the internet

    /what is the network card name/version &/or chipset

    when you first boot does it show up in lspci?
    the more i learn the less i know

  9. #19
    Join Date
    Feb 2009
    Location
    France
    Beans
    14
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Restart required to connect to the internet

    Here is the info I get for the network controller integrated on the mother board, after a lspci -v


    00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
    Subsystem: ASRock Incorporation 939NF6G-VSTA Board
    Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 220
    Memory at dfffd000 (32-bit, non-prefetchable) [size=4K]
    I/O ports at e480 [size=8]
    Capabilities: <access denied>


    Note:I reinstalled avahi-autoipd

  10. #20
    Join Date
    Oct 2005
    Location
    Canada
    Beans
    149
    Distro
    Ubuntu

    Re: Restart required to connect to the internet

    02:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
    Subsystem: Intel Corporation Device 1100
    Flags: bus master, fast devsel, latency 0, IRQ 2297
    Memory at f4000000 (64-bit, non-prefetchable) [size=8K]
    Capabilities: <access denied>
    Kernel driver in use: iwlagn
    Kernel modules: iwlagn

    08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
    Subsystem: Hewlett-Packard Company Device 30cc
    Flags: bus master, fast devsel, latency 0, IRQ 2298
    I/O ports at c000 [size=256]
    Memory at f8000000 (64-bit, non-prefetchable) [size=4K]
    [virtual] Expansion ROM at c2000000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: r8169
    Kernel modules: r8169

    the above is a partial from this laptop as an example from lspci -v


    there should be some "network" controller listed like above
    containing something of Realtek PHY RTL8201CL

    when you first boot do you get an ethernet controller listed similar to above?

    when you reboot does it magically appear in lspci -v?

    you can try enabling Pci power on in your bios.
    (under ADVANCED setting ACPI
    the more i learn the less i know

Page 2 of 3 FirstFirst 123 LastLast

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
  •